[03:00:23]OFD Sender: No OFD packet to send [03:00:28]OFD Sender: No OFD packet to send [03:00:33]OFD Sender: No OFD packet to send [03:00:38]OFD Sender: No OFD packet to send [03:00:43]OFD Sender: No OFD packet to send [03:00:48]OFD Sender: No OFD packet to send [03:00:53]OFD Sender: No OFD packet to send [03:00:58]OFD Sender: No OFD packet to send [03:01:03]OFD Sender: No OFD packet to send [03:01:08]OFD Sender: No OFD packet to send [03:01:13]OFD Sender: No OFD packet to send [03:01:18]OFD Sender: No OFD packet to send [03:01:23]OFD Sender: No OFD packet to send [03:01:28]OFD Sender: No OFD packet to send [03:01:33]OFD Sender: No OFD packet to send [03:01:38]OFD Sender: No OFD packet to send [03:01:43]OFD Sender: No OFD packet to send [03:01:48]OFD Sender: No OFD packet to send [03:01:53]OFD Sender: No OFD packet to send [03:01:58]OFD Sender: No OFD packet to send [03:02:03]OFD Sender: No OFD packet to send [03:02:08]OFD Sender: No OFD packet to send [03:02:13]OFD Sender: No OFD packet to send [03:02:18]OFD Sender: No OFD packet to send [03:02:23]OFD Sender: No OFD packet to send [03:02:28]OFD Sender: No OFD packet to send [03:02:31]ConnectInit Can't connect to host [03:02:33]OFD Sender: No OFD packet to send [03:02:38]OFD Sender: No OFD packet to send [03:02:43]OFD Sender: No OFD packet to send [03:02:48]OFD Sender: No OFD packet to send [03:02:53]OFD Sender: No OFD packet to send [03:02:58]OFD Sender: No OFD packet to send [03:03:03]OFD Sender: No OFD packet to send [03:03:08]OFD Sender: No OFD packet to send [03:03:13]OFD Sender: No OFD packet to send [03:03:18]OFD Sender: No OFD packet to send [03:03:23]OFD Sender: No OFD packet to send [03:03:28]OFD Sender: No OFD packet to send [03:03:33]OFD Sender: No OFD packet to send [03:03:38]OFD Sender: No OFD packet to send [03:03:43]OFD Sender: No OFD packet to send [03:03:48]OFD Sender: No OFD packet to send [03:03:53]OFD Sender: No OFD packet to send [03:03:58]OFD Sender: No OFD packet to send [03:04:03]OFD Sender: No OFD packet to send [03:04:08]OFD Sender: No OFD packet to send [03:04:13]OFD Sender: No OFD packet to send [03:04:18]OFD Sender: No OFD packet to send [03:04:23]OFD Sender: No OFD packet to send [03:04:28]OFD Sender: No OFD packet to send [03:04:33]OFD Sender: No OFD packet to send [03:04:38]OFD Sender: No OFD packet to send [03:04:43]OFD Sender: No OFD packet to send [03:04:48]OFD Sender: No OFD packet to send [03:04:53]OFD Sender: No OFD packet to send [03:04:58]OFD Sender: No OFD packet to send [03:05:03]OFD Sender: No OFD packet to send [03:05:08]OFD Sender: No OFD packet to send [03:05:13]OFD Sender: No OFD packet to send [03:05:18]OFD Sender: No OFD packet to send [03:05:23]OFD Sender: No OFD packet to send [03:05:28]OFD Sender: No OFD packet to send [03:05:33]OFD Sender: No OFD packet to send [03:05:38]OFD Sender: No OFD packet to send [03:05:43]OFD Sender: No OFD packet to send [03:05:48]OFD Sender: No OFD packet to send [03:05:53]OFD Sender: No OFD packet to send [03:05:58]OFD Sender: No OFD packet to send [03:06:03]OFD Sender: No OFD packet to send [03:06:08]OFD Sender: No OFD packet to send [03:06:13]OFD Sender: No OFD packet to send [03:06:18]OFD Sender: No OFD packet to send [03:06:23]OFD Sender: No OFD packet to send [03:06:28]OFD Sender: No OFD packet to send [03:06:33]OFD Sender: No OFD packet to send [03:06:38]OFD Sender: No OFD packet to send [03:06:43]OFD Sender: No OFD packet to send [03:06:48]OFD Sender: No OFD packet to send [03:06:53]OFD Sender: No OFD packet to send [03:06:58]OFD Sender: No OFD packet to send [03:07:03]OFD Sender: No OFD packet to send [03:07:08]OFD Sender: No OFD packet to send [03:07:13]OFD Sender: No OFD packet to send [03:07:18]OFD Sender: No OFD packet to send [03:07:23]OFD Sender: No OFD packet to send [03:07:28]OFD Sender: No OFD packet to send [03:07:33]OFD Sender: No OFD packet to send [03:07:38]OFD Sender: No OFD packet to send [03:07:43]OFD Sender: No OFD packet to send [03:07:48]OFD Sender: No OFD packet to send [03:07:53]OFD Sender: No OFD packet to send [03:07:58]OFD Sender: No OFD packet to send [03:08:03]OFD Sender: No OFD packet to send [03:08:08]OFD Sender: No OFD packet to send [03:08:13]OFD Sender: No OFD packet to send [03:08:18]OFD Sender: No OFD packet to send [03:08:23]OFD Sender: No OFD packet to send [03:08:28]OFD Sender: No OFD packet to send [03:08:33]OFD Sender: No OFD packet to send [03:08:38]OFD Sender: No OFD packet to send [03:08:43]OFD Sender: No OFD packet to send [03:08:48]OFD Sender: No OFD packet to send [03:08:53]OFD Sender: No OFD packet to send [03:08:58]OFD Sender: No OFD packet to send [03:09:03]OFD Sender: No OFD packet to send [03:09:08]OFD Sender: No OFD packet to send [03:09:13]OFD Sender: No OFD packet to send [03:09:18]OFD Sender: No OFD packet to send [03:09:23]OFD Sender: No OFD packet to send [03:09:28]OFD Sender: No OFD packet to send [03:09:33]OFD Sender: No OFD packet to send [03:09:38]OFD Sender: No OFD packet to send [03:09:43]OFD Sender: No OFD packet to send [03:09:48]OFD Sender: No OFD packet to send [03:09:53]OFD Sender: No OFD packet to send [03:09:58]OFD Sender: No OFD packet to send [03:10:03]OFD Sender: No OFD packet to send [03:10:08]OFD Sender: No OFD packet to send [03:10:13]OFD Sender: No OFD packet to send [03:10:18]OFD Sender: No OFD packet to send [03:10:23]OFD Sender: No OFD packet to send [03:10:28]OFD Sender: No OFD packet to send [03:10:33]OFD Sender: No OFD packet to send [03:10:38]OFD Sender: No OFD packet to send [03:10:43]OFD Sender: No OFD packet to send [03:10:48]OFD Sender: No OFD packet to send [03:10:53]OFD Sender: No OFD packet to send [03:10:58]OFD Sender: No OFD packet to send [03:11:03]OFD Sender: No OFD packet to send [03:11:08]OFD Sender: No OFD packet to send [03:11:13]OFD Sender: No OFD packet to send [03:11:18]OFD Sender: No OFD packet to send [03:11:23]OFD Sender: No OFD packet to send [03:11:28]OFD Sender: No OFD packet to send [03:11:33]OFD Sender: No OFD packet to send [03:11:38]OFD Sender: No OFD packet to send [03:11:43]OFD Sender: No OFD packet to send [03:11:48]OFD Sender: No OFD packet to send [03:11:53]OFD Sender: No OFD packet to send [03:11:58]OFD Sender: No OFD packet to send [03:12:03]OFD Sender: No OFD packet to send [03:12:08]OFD Sender: No OFD packet to send [03:12:13]OFD Sender: No OFD packet to send [03:12:18]OFD Sender: No OFD packet to send [03:12:23]OFD Sender: No OFD packet to send [03:12:28]OFD Sender: No OFD packet to send [03:12:33]OFD Sender: No OFD packet to send [03:12:38]OFD Sender: No OFD packet to send [03:12:43]OFD Sender: No OFD packet to send [03:12:48]OFD Sender: No OFD packet to send [03:12:53]OFD Sender: No OFD packet to send [03:12:58]OFD Sender: No OFD packet to send [03:13:03]OFD Sender: No OFD packet to send [03:13:08]OFD Sender: No OFD packet to send [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:39]OFD Sender: No OFD packet to send [03:17:44]OFD Sender: No OFD packet to send [03:17:49]OFD Sender: No OFD packet to send [03:17:54]OFD Sender: No OFD packet to send [03:17:59]OFD Sender: No OFD packet to send [03:18:04]OFD Sender: No OFD packet to send [03:18:09]OFD Sender: No OFD packet to send [03:18:14]OFD Sender: No OFD packet to send [03:18:19]OFD Sender: No OFD packet to send [03:18:24]OFD Sender: No OFD packet to send [03:18:29]OFD Sender: No OFD packet to send [03:18:34]OFD Sender: No OFD packet to send [03:18:39]OFD Sender: No OFD packet to send [03:18:44]OFD Sender: No OFD packet to send [03:18:49]OFD Sender: No OFD packet to send [03:18:54]OFD Sender: No OFD packet to send [03:18:59]OFD Sender: No OFD packet to send [03:19:04]OFD Sender: No OFD packet to send [03:19:09]OFD Sender: No OFD packet to send [03:19:14]OFD Sender: No OFD packet to send [03:19:19]OFD Sender: No OFD packet to send [03:19:24]OFD Sender: No OFD packet to send [03:19:29]OFD Sender: No OFD packet to send [03:19:34]OFD Sender: No OFD packet to send [03:19:39]OFD Sender: No OFD packet to send [03:19:44]OFD Sender: No OFD packet to send [03:19:49]OFD Sender: No OFD packet to send [03:19:54]OFD Sender: No OFD packet to send [03:19:59]OFD Sender: No OFD packet to send [03:20:04]OFD Sender: No OFD packet to send [03:20:09]OFD Sender: No OFD packet to send [03:20:14]OFD Sender: No OFD packet to send [03:20:19]OFD Sender: No OFD packet to send [03:20:24]OFD Sender: No OFD packet to send [03:20:29]OFD Sender: No OFD packet to send [03:20:34]OFD Sender: No OFD packet to send [03:20:39]OFD Sender: No OFD packet to send [03:20:44]OFD Sender: No OFD packet to send [03:20:49]OFD Sender: No OFD packet to send [03:20:54]OFD Sender: No OFD packet to send [03:20:59]OFD Sender: No OFD packet to send [03:21:04]OFD Sender: No OFD packet to send [03:21:09]OFD Sender: No OFD packet to send [03:21:14]OFD Sender: No OFD packet to send [03:21:19]OFD Sender: No OFD packet to send [03:21:24]OFD Sender: No OFD packet to send [03:21:29]OFD Sender: No OFD packet to send [03:21:34]OFD Sender: No OFD packet to send [03:21:39]OFD Sender: No OFD packet to send [03:21:44]OFD Sender: No OFD packet to send [03:21:49]OFD Sender: No OFD packet to send [03:21:54]OFD Sender: No OFD packet to send [03:21:59]OFD Sender: No OFD packet to send [03:22:04]OFD Sender: No OFD packet to send [03:22:09]OFD Sender: No OFD packet to send [03:22:14]OFD Sender: No OFD packet to send [03:22:19]OFD Sender: No OFD packet to send [03:22:24]OFD Sender: No OFD packet to send [03:22:29]OFD Sender: No OFD packet to send [03:22:34]OFD Sender: No OFD packet to send [03:22:39]OFD Sender: No OFD packet to send [03:22:44]OFD Sender: No OFD packet to send [03:22:49]OFD Sender: No OFD packet to send [03:22:54]OFD Sender: No OFD packet to send [03:22:59]OFD Sender: No OFD packet to send [03:23:04]OFD Sender: No OFD packet to send [03:23:09]OFD Sender: No OFD packet to send [03:23:14]OFD Sender: No OFD packet to send [03:23:19]OFD Sender: No OFD packet to send [03:23:24]OFD Sender: No OFD packet to send [03:23:29]OFD Sender: No OFD packet to send [03:23:34]OFD Sender: No OFD packet to send [03:23:39]OFD Sender: No OFD packet to send [03:23:44]OFD Sender: No OFD packet to send [03:23:49]OFD Sender: No OFD packet to send [03:23:54]OFD Sender: No OFD packet to send [03:23:59]OFD Sender: No OFD packet to send [03:24:04]OFD Sender: No OFD packet to send [03:24:09]OFD Sender: No OFD packet to send [03:24:14]OFD Sender: No OFD packet to send [03:24:19]OFD Sender: No OFD packet to send [03:24:24]OFD Sender: No OFD packet to send [03:24:29]OFD Sender: No OFD packet to send [03:24:34]OFD Sender: No OFD packet to send [03:24:39]OFD Sender: No OFD packet to send [03:24:44]OFD Sender: No OFD packet to send [03:24:49]OFD Sender: No OFD packet to send [03:24:54]OFD Sender: No OFD packet to send [03:24:59]OFD Sender: No OFD packet to send [03:25:04]OFD Sender: No OFD packet to send [03:25:09]OFD Sender: No OFD packet to send [03:25:14]OFD Sender: No OFD packet to send [03:25:19]OFD Sender: No OFD packet to send [03:25:24]OFD Sender: No OFD packet to send [03:25:29]OFD Sender: No OFD packet to send [03:25:34]OFD Sender: No OFD packet to send [03:25:39]OFD Sender: No OFD packet to send [03:25:44]OFD Sender: No OFD packet to send [03:25:49]OFD Sender: No OFD packet to send [03:25:54]OFD Sender: No OFD packet to send [03:25:59]OFD Sender: No OFD packet to send [03:26:04]OFD Sender: No OFD packet to send [03:26:09]OFD Sender: No OFD packet to send [03:26:14]OFD Sender: No OFD packet to send [03:26:19]OFD Sender: No OFD packet to send [03:26:24]OFD Sender: No OFD packet to send [03:26:29]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:20]OFD Sender: No OFD packet to send [03:36:25]OFD Sender: No OFD packet to send [03:36:30]OFD Sender: No OFD packet to send [03:36:35]OFD Sender: No OFD packet to send [03:36:40]OFD Sender: No OFD packet to send [03:36:45]OFD Sender: No OFD packet to send [03:36:50]OFD Sender: No OFD packet to send [03:36:55]OFD Sender: No OFD packet to send [03:37:00]OFD Sender: No OFD packet to send [03:37:05]OFD Sender: No OFD packet to send [03:37:10]OFD Sender: No OFD packet to send [03:37:15]OFD Sender: No OFD packet to send [03:37:20]OFD Sender: No OFD packet to send [03:37:25]OFD Sender: No OFD packet to send [03:37:30]OFD Sender: No OFD packet to send [03:37:35]OFD Sender: No OFD packet to send [03:37:40]OFD Sender: No OFD packet to send [03:37:45]OFD Sender: No OFD packet to send [03:37:50]OFD Sender: No OFD packet to send [03:37:55]OFD Sender: No OFD packet to send [03:38:00]OFD Sender: No OFD packet to send [03:38:05]OFD Sender: No OFD packet to send [03:38:10]OFD Sender: No OFD packet to send [03:38:15]OFD Sender: No OFD packet to send [03:38:20]OFD Sender: No OFD packet to send [03:38:25]OFD Sender: No OFD packet to send [03:38:30]OFD Sender: No OFD packet to send [03:38:35]OFD Sender: No OFD packet to send [03:38:40]OFD Sender: No OFD packet to send [03:38:45]OFD Sender: No OFD packet to send [03:38:50]OFD Sender: No OFD packet to send [03:38:55]OFD Sender: No OFD packet to send [03:39:00]OFD Sender: No OFD packet to send [03:39:05]OFD Sender: No OFD packet to send [03:39:10]OFD Sender: No OFD packet to send [03:39:15]OFD Sender: No OFD packet to send [03:39:20]OFD Sender: No OFD packet to send [03:39:25]OFD Sender: No OFD packet to send [03:39:30]OFD Sender: No OFD packet to send [03:39:35]OFD Sender: No OFD packet to send [03:39:40]OFD Sender: No OFD packet to send [03:39:45]OFD Sender: No OFD packet to send [03:39:50]OFD Sender: No OFD packet to send [03:39:55]OFD Sender: No OFD packet to send [03:40:00]OFD Sender: No OFD packet to send [03:40:05]OFD Sender: No OFD packet to send [03:40:10]OFD Sender: No OFD packet to send [03:40:15]OFD Sender: No OFD packet to send [03:40:20]OFD Sender: No OFD packet to send [03:40:25]OFD Sender: No OFD packet to send [03:40:30]OFD Sender: No OFD packet to send [03:40:35]OFD Sender: No OFD packet to send [03:40:40]OFD Sender: No OFD packet to send [03:40:45]OFD Sender: No OFD packet to send [03:40:50]OFD Sender: No OFD packet to send [03:40:55]OFD Sender: No OFD packet to send [03:41:00]OFD Sender: No OFD packet to send [03:41:05]OFD Sender: No OFD packet to send [03:41:10]OFD Sender: No OFD packet to send [03:41:15]OFD Sender: No OFD packet to send [03:41:20]OFD Sender: No OFD packet to send [03:41:25]OFD Sender: No OFD packet to send [03:41:30]OFD Sender: No OFD packet to send [03:41:35]OFD Sender: No OFD packet to send [03:41:40]OFD Sender: No OFD packet to send [03:41:45]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:03]accept exits with 9 [03:49:03]New connection [03:49:03]New thread 3067207012 created [03:49:03]Thread 3067063652 joined [03:49:03]Waiting for new connection... [03:49:03] Sock 9.Parse request [03:49:03]Sock 9.Check first char [03:49:03]Sock 9.First char is OK [03:49:03]request: POST /json_proto HTTP/1.0 [03:49:03]Method: POST [03:49:03]URL: /json_proto [03:49:03]Method is POST - this is cgi request [03:49:03]url: /json_proto [03:49:03]query_string will be loaded in cgi processing [03:49:03]execute_cgi json_proto POST (null) [03:49:03]execute_cgi path=json_proto method=POST [03:49:03]POST find Content-Length [03:49:03]Host: 172.17.40.196:8080 [03:49:03]Content-Length: 1223 [03:49:03]Content-Type: application/json [03:49:03] [03:49:03]POST finish read [03:49:03]Found Content-Length = 1223 [03:49:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35222", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521285", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u043E\u0432\u044B\u0439 \u043D\u0435\u0433\u0430\u0437 0,45\u043B", "price" : 70.00, "quantity" : 3.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173822", "name": "\u0420/\u0436 Orbit \u0431/\u0441\u0430\u0445 \u043C\u044F\u0442\u0430 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" : 304.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:49:03]execute_script... [03:49: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)35222", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521285", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u043E\u0432\u044B\u0439 \u043D\u0435\u0433\u0430\u0437 0,45\u043B", "price" : 70.00, "quantity" : 3.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173822", "name": "\u0420/\u0436 Orbit \u0431/\u0441\u0430\u0445 \u043C\u044F\u0442\u0430 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" : 304.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:49:03]POST & json_proto [03:49:03]process_json_proto [03:49:03]json parsed OK: [03:49:03]protocol is kg_v1.0 [03:49:03]action value=close_receipt [03:49:03]process_action close_receipt [03:49:03]cmd_close_receipt [03:49:03]MH_GetDate [03:49:03]Write to MH i2c: F0 00 00 F4 07 EA [03:49:03]Write i2c OK [03:49:03]MH_I2C_Read... [03:49:03]Read from MH i2c: F0 [03:49:03]MH_I2C_Read... [03:49:03]Read from MH i2c: F0 09 00 [03:49:03]MH_I2C_Read... [03:49:03]Read from MH i2c: F0 09 00 F4 07 00 B2 AC 21 67 5B 68 A1 66 A3 [03:49:03]GetLastDocTimeStamp 1730251961 [03:49:03]current date 1730260146 [03:49:03]FM_GetShiftState [03:49:03]SAM_PROTO_GetShiftState [03:49:03]wFMCommunicate request_size=4 [03:49:03]MH_SAM_APDU [03:49:03]CAPDU: 80 13 01 00 [03:49:03]Write to MH i2c: E2 08 00 F5 07 80 13 01 00 00 00 00 00 79 [03:49:03]Write i2c OK [03:49:03]MH_I2C_Read... [03:49:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:49:03]Read from MH i2c: E2 [03:49:03]MH_I2C_Read... [03:49:03]Read from MH i2c: E2 0E 00 [03:49:03]MH_I2C_Read... [03:49:03]Read from MH i2c: E2 0E 00 F5 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 3A [03:49:03]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [03:49:03]wFMCommunicate OK [03:49:03]SAM_PROTO_GetShiftState done [03:49:03]FM_GetShiftState done [03:49:03]opened in 1730246837 [03:49:03]opened+sec_in_day 1730333237 [03:49:03]quantity*price = 4900 [03:49:03]sum+1 = 4901 [03:49:03]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202521285 Напиток Сок березовый негаз 0,45л 3.000 * 70.00 = 210.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 50173822 Р/ж Orbit б/сах мята 13,6г 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 304.00 НСП 1% : 2.69 НДС 12% : 32.28 Наличными: 304.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 5 30.10.2024 03:49 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37923 ФПД: 130576394775735 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T034906&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37923&fm=130576394775735&tin=02508201610067®Number=0000000000091684&sum=30400 0 [03:49:04]StoreToDocumentArchive [03:49:04]shift 553 fd 37923 [03:49:04]save to /storage/0553/doc_00037923 [03:49:04]save last doc name /storage/0553/doc_00037923 to /storage/kkm_last_doc_name [03:49:04]save OK [03:49:04]Clear old archive folders... [03:49:04]ProcessDocumentItem done err = 0, tmpTLVsize=509 [03:49:04]tlvbuf is 019C69A0 [03:49:04]SAM_PROTO_ClearQueue [03:49:04]wFMCommunicate request_size=4 [03:49:04]MH_SAM_APDU [03:49:04]CAPDU: 80 09 00 00 [03:49:04]Write to MH i2c: E2 08 00 02 08 80 09 00 00 00 00 00 00 7C [03:49:04]Write i2c OK [03:49:04]MH_I2C_Read... [03:49:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:49:04]Read from MH i2c: E2 [03:49:04]MH_I2C_Read... [03:49:04]Read from MH i2c: E2 03 00 [03:49:04]MH_I2C_Read... [03:49:04]Read from MH i2c: E2 03 00 02 08 00 90 00 7E [03:49:04]RAPDU: 90 00 [03:49:04]wFMCommunicate OK [03:49:04]SAM_PROTO_ClearQueue done [03:49:04]KKMCreateOFDPacket [03:49:04]OFDProtocolAddRootSTLVToBuf [03:49:04]FM_MakeSignedData [03:49:04]FM_MakeSignedData [03:49:04]SAM_PROTO_SignData [03:49:04]wFMCommunicate request_size=4 [03:49:04]MH_SAM_APDU [03:49:04]CAPDU: 80 0D 01 02 [03:49:04]Write to MH i2c: E2 08 00 03 08 80 0D 01 02 00 00 00 00 84 [03:49:04]Write i2c OK [03:49:04]MH_I2C_Read... [03:49:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:49:04]Read from MH i2c: E2 [03:49:04]MH_I2C_Read... [03:49:04]Read from MH i2c: E2 03 00 [03:49:04]MH_I2C_Read... [03:49:04]Read from MH i2c: E2 03 00 03 08 00 90 00 7F [03:49:04]RAPDU: 90 00 [03:49:04]wFMCommunicate OK [03:49:04]wFMCommunicate request_size=255 [03:49:04]MH_SAM_APDU [03:49:04]CAPDU: 80 0D 02 02 FA 03 00 FD 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 38 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D0 BE D0 B2 D1 8B D0 B9 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 30 2C 34 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 1B 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 23 04 64 00 8A 04 [03:49:05]Write to MH i2c: E2 02 01 04 08 80 0D 02 02 FA 00 03 00 FD 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 38 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D0 BE D0 B2 D1 8B D0 B9 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 30 2C 34 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 1B 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 23 04 64 00 8A 04 00 00 37 [03:49:05]Write i2c OK [03:49:05]MH_I2C_Read... [03:49:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:49:05]Read from MH i2c: E2 [03:49:05]MH_I2C_Read... [03:49:05]Read from MH i2c: E2 03 00 [03:49:05]MH_I2C_Read... [03:49:05]Read from MH i2c: E2 03 00 04 08 00 90 00 80 [03:49:05]RAPDU: 90 00 [03:49:05]wFMCommunicate OK [03:49:05]wFMCommunicate request_size=255 [03:49:05]MH_SAM_APDU [03:49:05]CAPDU: 80 0D 02 02 FA 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 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 C0 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 0C 00 00 00 00 07 04 06 00 C0 76 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 B2 AC 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 23 [03:49:05]Write to MH i2c: E2 02 01 05 08 80 0D 02 02 FA 00 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 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 C0 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 0C 00 00 00 00 07 04 06 00 C0 76 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 B2 AC 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 23 00 00 86 [03:49:05]Write i2c OK [03:49:05]MH_I2C_Read... [03:49:05]OFD Sender: No OFD packet to send [03:49:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:49:05]Read from MH i2c: E2 [03:49:05]MH_I2C_Read... [03:49:05]Read from MH i2c: E2 03 00 [03:49:05]MH_I2C_Read... [03:49:05]Read from MH i2c: E2 03 00 05 08 00 90 00 81 [03:49:05]RAPDU: 90 00 [03:49:05]wFMCommunicate OK [03:49:05]wFMCommunicate request_size=18 [03:49:05]MH_SAM_APDU [03:49:05]CAPDU: 80 0D 02 02 0D 94 00 00 35 04 06 00 76 C2 2F A0 6C B7 [03:49:05]Write to MH i2c: E2 15 00 06 08 80 0D 02 02 0D 00 94 00 00 35 04 06 00 76 C2 2F A0 6C B7 00 00 9F [03:49:05]Write i2c OK [03:49:05]MH_I2C_Read... [03:49:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:49:05]Read from MH i2c: E2 [03:49:05]MH_I2C_Read... [03:49:05]Read from MH i2c: E2 03 00 [03:49:05]MH_I2C_Read... [03:49:05]Read from MH i2c: E2 03 00 06 08 00 90 00 82 [03:49:05]RAPDU: 90 00 [03:49:05]wFMCommunicate OK [03:49:05]wFMCommunicate request_size=4 [03:49:05]MH_SAM_APDU [03:49:05]CAPDU: 80 0D 03 02 [03:49:05]Write to MH i2c: E2 08 00 07 08 80 0D 03 02 00 00 00 00 8A [03:49:05]Write i2c OK [03:49:05]MH_I2C_Read... [03:49:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:49:05]Read from MH i2c: E2 [03:49:05]MH_I2C_Read... [03:49:05]Read from MH i2c: E2 0B 00 [03:49:05]MH_I2C_Read... [03:49:05]Read from MH i2c: E2 0B 00 07 08 00 30 70 10 08 D3 DD 7C FB 90 00 6A [03:49:05]RAPDU: 30 70 10 08 D3 DD 7C FB 90 00 [03:49:05]wFMCommunicate OK [03:49:05]SAM_PROTO_SignData done [03:49:05]FM_MakeSignedData done [03:49:05]CreateOFDProtocolMessage [03:49:05]wFMCommunicate request_size=4 [03:49:05]MH_SAM_APDU [03:49:05]CAPDU: 80 11 00 00 [03:49:05]Write to MH i2c: E2 08 00 08 08 80 11 00 00 00 00 00 00 8A [03:49:05]Write i2c OK [03:49:05]MH_I2C_Read... [03:49:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:49:05]Read from MH i2c: E2 [03:49:05]MH_I2C_Read... [03:49:05]Read from MH i2c: E2 17 00 [03:49:05]MH_I2C_Read... [03:49:05]Read from MH i2c: E2 17 00 08 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DA [03:49:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [03:49:05]wFMCommunicate OK [03:49:05]CreateOFDProtocolMessage done [03:49:05]OFDSenderStorePacket 37923 [03:49:05]StoreOFDPacket docnum=37923 [03:49:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 11 02 00 00 C3 22 09 02 A0 DD 5A 03 01 00 03 00 FD 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 38 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D0 BE D0 B2 D1 8B D0 B9 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 30 2C 34 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 1B 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 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 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 C0 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 0C 00 00 00 00 07 04 06 00 C0 76 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 B2 AC 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 23 94 00 00 35 04 06 00 76 C2 2F A0 6C B7 30 70 10 08 D3 DD 7C FB [03:49:05]CheckFolder [03:49:05]dirname=/storage/ofd_packets [03:49:05]CheckFolder done [03:49:05]ProducePacketName [03:49:05]name=ofd_packets/00037923 [03:49:05]NVStorageSaveData ofd_packets/00037923 [03:49:05]File name is /storage/ofd_packets/00037923 [03:49:05]Write 559 bytes [03:49:05]NVStorageSaveData done [03:49:05]OFDSenderStorePacket done [03:49:05]KKMCreateOFDPacket done [03:49:05]NVStorageSaveData kkm_last_timestamp [03:49:05]File name is /storage/kkm_last_timestamp [03:49:05]Write 4 bytes [03:49:05]NVStorageSaveData done [03:49:05]ExternCall_PrintAddStr [03:49:05]wPrintStart [03:49:05]Write to MH i2c: 01 00 00 09 08 11 [03:49:05]Write i2c OK [03:49:05]MH_I2C_Read... [03:49:05]Read from MH i2c: 01 [03:49:05]MH_I2C_Read... [03:49:05]Read from MH i2c: 01 07 00 [03:49:05]MH_I2C_Read... [03:49:05]Read from MH i2c: 01 07 00 09 08 00 00 00 00 00 FF 0F 26 [03:49:05]RasterBufferAndPrint [03:49:05]line Счет N : (3)35222 [03:49:05]line ИНН: 02508201610067 [03:49:05]line Контрольно-Кассовый Чек [03:49:05]line ПРОДАЖА [03:49:05]line Товар: 4700000310326 [03:49:05]line Вода Адыгене 1л б/г [03:49:05]line 1.000 * 49.00 [03:49:05]line = 49.00 [03:49:05]line НДС 12% НСП 1% [03:49:05]line > о реализуемом товаре [03:49:05]line Товар: 4870202521285 [03:49:05]line Напиток Сок березовый негаз 0,45л [03:49:05]line 3.000 * 70.00 [03:49:05]line = 210.00 [03:49:05]line НДС 12% НСП 1% [03:49:05]line > о реализуемом товаре [03:49:05]line Товар: 50173822 [03:49:05]line Р/ж Orbit б/сах мята 13,6г [03:49:05]line 1.000 * 45.00 [03:49:05]line = 45.00 [03:49:05]line НДС 12% НСП 1% [03:49:05]line > о реализуемом товаре [03:49:05]line ИТОГО: 304.00 [03:49:05]line НСП 1% : 2.69 [03:49:05]line НДС 12% : 32.28 [03:49:05]line Наличными: 304.00 [03:49:05]line Безнал.: 0.00 [03:49:05]line Место: АЗС № 126 "Партнер Нефть" [03:49:05]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [03:49:05]line СНО: Общий режим [03:49:05]line Чек 5 30.10.2024 03:49 [03:49:05]line Смена: 553 ФФД: 1.0 [03:49:05]line ЗНМ: 0300000092 [03:49:05]line РНМ: 0000000000091684 [03:49:05]line Версия ККМ: 001 [03:49:05]line ФМ: 0000000000871841 [03:49:05]line ФД: 37923 [03:49:05]line ФПД: 130576394775735 [03:49:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T034906&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37923&fm=130576394775735&tin=02508201610067®Number=0000000000091684&sum=30400 [03:49:06]OFD Sender: Processing packet 37923 [packets to send 42, broken 41] [03:49:06]ProducePacketName [03:49:06]name=ofd_packets/00037923 [03:49:06]OFD Sender: To server: pG, [03:49:06]CommunicateWithHost lk.salyk.kg:30040 [03:49:06]ConnectInit lk.salyk.kg [03:49:06]line 0 [03:49:06]written 0, free lines is 4095 [03:49:06]Connected sock=11 [03:49:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 11 02 00 00 C3 22 09 02 A0 DD 5A 03 01 00 03 00 FD 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 38 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D0 BE D0 B2 D1 8B D0 B9 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 30 2C 34 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 1B 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 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 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 C0 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 0C 00 00 00 00 07 04 06 00 C0 76 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 B2 AC 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 23 94 00 00 35 04 06 00 76 C2 2F A0 6C B7 30 70 10 08 D3 DD 7C FB [03:49:06]Write to MH i2c: 01 00 00 3E 08 46 [03:49:06]Write i2c OK [03:49:06]MH_I2C_Read... [03:49:06]Read from MH i2c: 01 [03:49:06]MH_I2C_Read... [03:49:06]Read from MH i2c: 01 07 00 [03:49:06]MH_I2C_Read... [03:49:06]Read from MH i2c: 01 07 00 3E 08 00 00 00 00 00 08 0C 61 [03:49:06]RasterBufferAndPrint [03:49:06]line [03:49:06]line [03:49:06]line [03:49:06]line [03:49:06]line [03:49:06]written 0, free lines is 3085 [03:49:06]MH_Cut [03:49:06]Write to MH i2c: D1 01 00 45 08 01 1F [03:49:06]Write i2c OK [03:49:06]MH_I2C_Read... [03:49:06]Read from MH i2c: D1 [03:49:06]MH_I2C_Read... [03:49:06]Read from MH i2c: D1 01 00 [03:49:06]MH_I2C_Read... [03:49:06]Read from MH i2c: D1 01 00 45 08 00 1E [03:49:06]Write to MH i2c: 01 00 00 46 08 4E [03:49:06]Write i2c OK [03:49:06]MH_I2C_Read... [03:49:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 22 C0 47 00 FB 61 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 23 94 00 00 F4 03 04 00 A2 57 21 67 B6 04 01 00 00 66 30 1A C7 9D 65 39 0A [03:49:07]CommunicateWithHost err = 0 [03:49:07]CheckOFDResponse [03:49:07]1017 (14) - 77093643461234 [03:49:07]1041 (16) - 0000000000871841 [03:49:07]1040 (4) - 37923 [03:49:07]1012 (4) - 29.10.2024 21:46 [03:49:07]1206 (1) - 0 [03:49:07]OFD Sender: Remove packet 37923 [03:49:07]ProducePacketName [03:49:07]name=ofd_packets/00037923 [03:49:07]NVStorageDeleteData [03:49:07]OFD Sender: No OFD packet to send [03:49:07]*** Cut start [03:49:07]*** Partial cut [03:49:07]*** CUTSNS_PIN = 1 [03:49:07]*** CUTSNS_PIN = 0 [03:49:08]*** Brake cut motor [03:49:08]Read from MH i2c: 01 [03:49:08]MH_I2C_Read... [03:49:08]*** Stop cut motor [03:49:08]*** Cut end [03:49:08]Read from MH i2c: 01 07 00 [03:49:08]MH_I2C_Read... [03:49:08]Read from MH i2c: 01 07 00 46 08 00 00 00 00 00 FF 0F 63 [03:49:08]process_action close_receipt done [03:49:08]requested_data is exist [03:49:08]produce_requested_data [03:49:08]requested_item fm.sn is exist - process it [03:49:08]wFMCommunicate request_size=4 [03:49:08]MH_SAM_APDU [03:49:08]CAPDU: 80 11 00 00 [03:49:08]Write to MH i2c: E2 08 00 47 08 80 11 00 00 00 00 00 00 C9 [03:49:08]Write i2c OK [03:49:08]MH_I2C_Read... [03:49:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:49:08]Read from MH i2c: E2 [03:49:08]MH_I2C_Read... [03:49:08]Read from MH i2c: E2 17 00 [03:49:08]MH_I2C_Read... [03:49:08]Read from MH i2c: E2 17 00 47 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 19 [03:49:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [03:49:08]wFMCommunicate OK [03:49:08]requested_item fd.num is exist - process it [03:49:08]SAM_PROTO_GetFieldsCounters [03:49:08]wFMCommunicate request_size=4 [03:49:08]MH_SAM_APDU [03:49:08]CAPDU: 80 13 00 00 [03:49:08]Write to MH i2c: E2 08 00 48 08 80 13 00 00 00 00 00 00 CC [03:49:08]Write i2c OK [03:49:08]MH_I2C_Read... [03:49:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:49:08]Read from MH i2c: E2 [03:49:08]MH_I2C_Read... [03:49:08]Read from MH i2c: E2 62 00 [03:49:08]MH_I2C_Read... [03:49:08]Read from MH i2c: E2 62 00 48 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 23 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 DE [03:49:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 23 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:49:08]wFMCommunicate OK [03:49:08]SAM_PROTO_GetFieldsCounters done [03:49:08]requested_item shift.num is exist - process it [03:49:08]requested_item shift.opened is exist - process it [03:49:08]req_shift_opened [03:49:08]FM_GetShiftState [03:49:08]SAM_PROTO_GetShiftState [03:49:08]wFMCommunicate request_size=4 [03:49:08]MH_SAM_APDU [03:49:08]CAPDU: 80 13 01 00 [03:49:08]Write to MH i2c: E2 08 00 49 08 80 13 01 00 00 00 00 00 CE [03:49:08]Write i2c OK [03:49:08]MH_I2C_Read... [03:49:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:49:08]Read from MH i2c: E2 [03:49:08]MH_I2C_Read... [03:49:08]Read from MH i2c: E2 0E 00 [03:49:08]MH_I2C_Read... [03:49:08]Read from MH i2c: E2 0E 00 49 08 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 8F [03:49:08]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [03:49:08]wFMCommunicate OK [03:49:08]SAM_PROTO_GetShiftState done [03:49:08]FM_GetShiftState done [03:49:08]req_shift_opened done [03:49:08]requested_item shift.open_date is exist - process it [03:49:08]req_shift_open_date [03:49:08]req_shift_open_date done [03:49:08]produce_requested_data done [03:49:08]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37923,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [03:49:08]process_action_free close_receipt [03:49:08]json_value_free [03:49:08]json_value_free done [03:49:08]process_json_proto returns [03:49:08]Send response to host [03:49:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37923,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [03:49:08]free response buf [03:49:08]execute_script done [03:49:08]execute_script returns [03:49:08]free content buf [03:49:08]Sock 9.Close socket [03:49:08]Sock 9.Thread stoped [03:49:12]OFD Sender: No OFD packet to send [03:49:17]OFD Sender: No OFD packet to send [03:49:22]OFD Sender: No OFD packet to send [03:49:27]OFD Sender: No OFD packet to send [03:49:32]OFD Sender: No OFD packet to send [03:49:37]OFD Sender: No OFD packet to send [03:49:42]OFD Sender: No OFD packet to send [03:49:47]OFD Sender: No OFD packet to send [03:49:52]OFD Sender: No OFD packet to send [03:49:57]OFD Sender: No OFD packet to send [03:50:02]OFD Sender: No OFD packet to send [03:50:07]OFD Sender: No OFD packet to send [03:50:12]OFD Sender: No OFD packet to send [03:50:17]OFD Sender: No OFD packet to send [03:50:22]OFD Sender: No OFD packet to send [03:50:27]OFD Sender: No OFD packet to send [03:50:32]OFD Sender: No OFD packet to send [03:50:37]OFD Sender: No OFD packet to send [03:50:42]OFD Sender: No OFD packet to send [03:50:47]OFD Sender: No OFD packet to send [03:50:52]OFD Sender: No OFD packet to send [03:50:57]OFD Sender: No OFD packet to send [03:51:02]OFD Sender: No OFD packet to send [03:51:07]OFD Sender: No OFD packet to send [03:51:12]OFD Sender: No OFD packet to send [03:51:17]OFD Sender: No OFD packet to send [03:51:22]OFD Sender: No OFD packet to send [03:51:27]OFD Sender: No OFD packet to send [03:51:32]OFD Sender: No OFD packet to send [03:51:37]OFD Sender: No OFD packet to send [03:51:42]OFD Sender: No OFD packet to send [03:51:47]OFD Sender: No OFD packet to send [03:51:52]OFD Sender: No OFD packet to send [03:51:57]OFD Sender: No OFD packet to send [03:52:02]OFD Sender: No OFD packet to send [03:52:07]OFD Sender: No OFD packet to send [03:52:12]OFD Sender: No OFD packet to send [03:52:17]OFD Sender: No OFD packet to send [03:52:22]OFD Sender: No OFD packet to send [03:52:27]OFD Sender: No OFD packet to send [03:52:32]OFD Sender: No OFD packet to send [03:52:37]OFD Sender: No OFD packet to send [03:52:42]OFD Sender: No OFD packet to send [03:52:47]OFD Sender: No OFD packet to send [03:52:52]OFD Sender: No OFD packet to send [03:52:57]OFD Sender: No OFD packet to send [03:53:02]OFD Sender: No OFD packet to send [03:53:07]OFD Sender: No OFD packet to send [03:53:12]OFD Sender: No OFD packet to send [03:53:17]OFD Sender: No OFD packet to send [03:53:22]OFD Sender: No OFD packet to send [03:53:27]OFD Sender: No OFD packet to send [03:53:32]OFD Sender: No OFD packet to send [03:53:37]OFD Sender: No OFD packet to send [03:53:42]OFD Sender: No OFD packet to send [03:53:47]OFD Sender: No OFD packet to send [03:53:52]OFD Sender: No OFD packet to send [03:53:57]OFD Sender: No OFD packet to send [03:54:02]OFD Sender: No OFD packet to send [03:54:07]OFD Sender: No OFD packet to send [03:54:12]OFD Sender: No OFD packet to send [03:54:17]OFD Sender: No OFD packet to send [03:54:22]OFD Sender: No OFD packet to send [03:54:27]OFD Sender: No OFD packet to send [03:54:32]OFD Sender: No OFD packet to send [03:54:37]OFD Sender: No OFD packet to send [03:54:42]OFD Sender: No OFD packet to send [03:54:47]OFD Sender: No OFD packet to send [03:54:52]OFD Sender: No OFD packet to send [03:54:57]OFD Sender: No OFD packet to send [03:55:02]OFD Sender: No OFD packet to send [03:55:07]OFD Sender: No OFD packet to send [03:55:12]OFD Sender: No OFD packet to send [03:55:17]OFD Sender: No OFD packet to send [03:55:22]OFD Sender: No OFD packet to send [03:55:27]OFD Sender: No OFD packet to send [03:55:32]OFD Sender: No OFD packet to send [03:55:37]OFD Sender: No OFD packet to send [03:55:42]OFD Sender: No OFD packet to send [03:55:48]OFD Sender: No OFD packet to send [03:55:53]OFD Sender: No OFD packet to send [03:55:58]OFD Sender: No OFD packet to send [03:56:03]OFD Sender: No OFD packet to send [03:56:08]OFD Sender: No OFD packet to send [03:56:13]OFD Sender: No OFD packet to send [03:56:18]OFD Sender: No OFD packet to send [03:56:23]OFD Sender: No OFD packet to send [03:56:28]OFD Sender: No OFD packet to send [03:56:33]OFD Sender: No OFD packet to send [03:56:38]OFD Sender: No OFD packet to send [03:56:43]OFD Sender: No OFD packet to send [03:56:48]OFD Sender: No OFD packet to send [03:56:53]OFD Sender: No OFD packet to send [03:56:58]OFD Sender: No OFD packet to send [03:57:03]OFD Sender: No OFD packet to send [03:57:08]OFD Sender: No OFD packet to send [03:57:13]OFD Sender: No OFD packet to send [03:57:18]OFD Sender: No OFD packet to send [03:57:23]OFD Sender: No OFD packet to send [03:57:28]OFD Sender: No OFD packet to send [03:57:33]OFD Sender: No OFD packet to send [03:57:38]OFD Sender: No OFD packet to send [03:57:43]OFD Sender: No OFD packet to send [03:57:48]OFD Sender: No OFD packet to send [03:57:53]OFD Sender: No OFD packet to send [03:57:58]OFD Sender: No OFD packet to send [03:58:03]OFD Sender: No OFD packet to send [03:58:08]OFD Sender: No OFD packet to send [03:58:13]OFD Sender: No OFD packet to send [03:58:18]OFD Sender: No OFD packet to send [03:58:23]OFD Sender: No OFD packet to send [03:58:28]OFD Sender: No OFD packet to send [03:58:33]OFD Sender: No OFD packet to send [03:58:38]OFD Sender: No OFD packet to send [03:58:43]OFD Sender: No OFD packet to send [03:58:48]OFD Sender: No OFD packet to send [03:58:53]OFD Sender: No OFD packet to send [03:58:58]OFD Sender: No OFD packet to send [03:59:03]OFD Sender: No OFD packet to send [03:59:08]OFD Sender: No OFD packet to send [03:59:13]OFD Sender: No OFD packet to send [03:59:18]OFD Sender: No OFD packet to send [03:59:23]OFD Sender: No OFD packet to send [03:59:28]OFD Sender: No OFD packet to send [03:59:33]OFD Sender: No OFD packet to send [03:59:38]OFD Sender: No OFD packet to send [03:59:43]OFD Sender: No OFD packet to send [03:59:48]OFD Sender: No OFD packet to send [03:59:53]OFD Sender: No OFD packet to send [03:59:58]OFD Sender: No OFD packet to send [04:00:03]OFD Sender: No OFD packet to send [04:00:08]OFD Sender: No OFD packet to send [04:00:13]OFD Sender: No OFD packet to send [04:00:18]OFD Sender: No OFD packet to send [04:00:23]OFD Sender: No OFD packet to send [04:00:28]OFD Sender: No OFD packet to send [04:00:33]OFD Sender: No OFD packet to send [04:00:38]OFD Sender: No OFD packet to send [04:00:43]OFD Sender: No OFD packet to send [04:00:48]OFD Sender: No OFD packet to send [04:00:53]OFD Sender: No OFD packet to send [04:00:58]OFD Sender: No OFD packet to send [04:01:03]OFD Sender: No OFD packet to send [04:01:08]OFD Sender: No OFD packet to send [04:01:13]OFD Sender: No OFD packet to send [04:01:18]OFD Sender: No OFD packet to send [04:01:23]OFD Sender: No OFD packet to send [04:01:28]OFD Sender: No OFD packet to send [04:01:33]OFD Sender: No OFD packet to send [04:01:38]OFD Sender: No OFD packet to send [04:01:43]OFD Sender: No OFD packet to send [04:01:48]OFD Sender: No OFD packet to send [04:01:53]OFD Sender: No OFD packet to send [04:01:58]OFD Sender: No OFD packet to send [04:02:03]OFD Sender: No OFD packet to send [04:02:08]OFD Sender: No OFD packet to send [04:02:13]OFD Sender: No OFD packet to send [04:02:18]OFD Sender: No OFD packet to send [04:02:23]OFD Sender: No OFD packet to send [04:02:28]OFD Sender: No OFD packet to send [04:02:33]OFD Sender: No OFD packet to send [04:02:38]OFD Sender: No OFD packet to send [04:02:43]OFD Sender: No OFD packet to send [04:02:48]OFD Sender: No OFD packet to send [04:02:53]OFD Sender: No OFD packet to send [04:02:58]OFD Sender: No OFD packet to send [04:03:03]OFD Sender: No OFD packet to send [04:03:08]OFD Sender: No OFD packet to send [04:03:13]OFD Sender: No OFD packet to send [04:03:18]OFD Sender: No OFD packet to send [04:03:23]OFD Sender: No OFD packet to send [04:03:28]OFD Sender: No OFD packet to send [04:03:33]OFD Sender: No OFD packet to send [04:03:38]OFD Sender: No OFD packet to send [04:03:43]OFD Sender: No OFD packet to send [04:03:48]OFD Sender: No OFD packet to send [04:03:53]OFD Sender: No OFD packet to send [04:03:58]OFD Sender: No OFD packet to send [04:04:03]OFD Sender: No OFD packet to send [04:04:08]OFD Sender: No OFD packet to send [04:04:13]OFD Sender: No OFD packet to send [04:04:18]OFD Sender: No OFD packet to send [04:04:23]OFD Sender: No OFD packet to send [04:04:28]OFD Sender: No OFD packet to send [04:04:33]OFD Sender: No OFD packet to send [04:04:38]OFD Sender: No OFD packet to send [04:04:43]OFD Sender: No OFD packet to send [04:04:48]OFD Sender: No OFD packet to send [04:04:53]OFD Sender: No OFD packet to send [04:04:58]OFD Sender: No OFD packet to send [04:05:03]OFD Sender: No OFD packet to send [04:05:08]OFD Sender: No OFD packet to send [04:05:13]OFD Sender: No OFD packet to send [04:05:18]OFD Sender: No OFD packet to send [04:05:23]OFD Sender: No OFD packet to send [04:05:28]OFD Sender: No OFD packet to send [04:05:33]OFD Sender: No OFD packet to send [04:05:38]OFD Sender: No OFD packet to send [04:05:43]OFD Sender: No OFD packet to send [04:05:48]OFD Sender: No OFD packet to send [04:05:53]OFD Sender: No OFD packet to send [04:05:58]OFD Sender: No OFD packet to send [04:06:03]OFD Sender: No OFD packet to send [04:06:08]OFD Sender: No OFD packet to send [04:06:13]OFD Sender: No OFD packet to send [04:06:18]OFD Sender: No OFD packet to send [04:06:23]OFD Sender: No OFD packet to send [04:06:28]OFD Sender: No OFD packet to send [04:06:33]OFD Sender: No OFD packet to send [04:06:38]OFD Sender: No OFD packet to send [04:06:43]OFD Sender: No OFD packet to send [04:06:48]OFD Sender: No OFD packet to send [04:06:53]OFD Sender: No OFD packet to send [04:06:58]OFD Sender: No OFD packet to send [04:07:03]OFD Sender: No OFD packet to send [04:07:08]OFD Sender: No OFD packet to send [04:07:13]OFD Sender: No OFD packet to send [04:07:18]OFD Sender: No OFD packet to send [04:07:23]OFD Sender: No OFD packet to send [04:07:28]OFD Sender: No OFD packet to send [04:07:33]OFD Sender: No OFD packet to send [04:07:38]OFD Sender: No OFD packet to send [04:07:43]OFD Sender: No OFD packet to send [04:07:48]OFD Sender: No OFD packet to send [04:07:53]OFD Sender: No OFD packet to send [04:07:58]OFD Sender: No OFD packet to send [04:08:03]OFD Sender: No OFD packet to send [04:08:08]OFD Sender: No OFD packet to send [04:08:13]OFD Sender: No OFD packet to send [04:08:18]OFD Sender: No OFD packet to send [04:08:23]OFD Sender: No OFD packet to send [04:08:28]OFD Sender: No OFD packet to send [04:08:33]OFD Sender: No OFD packet to send [04:08:38]OFD Sender: No OFD packet to send [04:08:43]OFD Sender: No OFD packet to send [04:08:48]OFD Sender: No OFD packet to send [04:08:53]OFD Sender: No OFD packet to send [04:08:58]OFD Sender: No OFD packet to send [04:09:03]OFD Sender: No OFD packet to send [04:09:08]OFD Sender: No OFD packet to send [04:09:13]OFD Sender: No OFD packet to send [04:09:18]OFD Sender: No OFD packet to send [04:09:23]OFD Sender: No OFD packet to send [04:09:28]OFD Sender: No OFD packet to send [04:09:33]OFD Sender: No OFD packet to send [04:09:38]OFD Sender: No OFD packet to send [04:09:43]OFD Sender: No OFD packet to send [04:09:48]OFD Sender: No OFD packet to send [04:09:53]OFD Sender: No OFD packet to send [04:09:58]OFD Sender: No OFD packet to send [04:10:03]OFD Sender: No OFD packet to send [04:10:08]OFD Sender: No OFD packet to send [04:10:13]OFD Sender: No OFD packet to send [04:10:18]OFD Sender: No OFD packet to send [04:10:23]OFD Sender: No OFD packet to send [04:10:28]OFD Sender: No OFD packet to send [04:10:33]OFD Sender: No OFD packet to send [04:10:38]OFD Sender: No OFD packet to send [04:10:43]OFD Sender: No OFD packet to send [04:10:48]OFD Sender: No OFD packet to send [04:10:53]OFD Sender: No OFD packet to send [04:10:58]OFD Sender: No OFD packet to send [04:11:03]OFD Sender: No OFD packet to send [04:11:08]OFD Sender: No OFD packet to send [04:11:13]OFD Sender: No OFD packet to send [04:11:18]OFD Sender: No OFD packet to send [04:11:23]OFD Sender: No OFD packet to send [04:11:28]OFD Sender: No OFD packet to send [04:11:33]OFD Sender: No OFD packet to send [04:11:38]OFD Sender: No OFD packet to send [04:11:43]OFD Sender: No OFD packet to send [04:11:48]OFD Sender: No OFD packet to send [04:11:53]OFD Sender: No OFD packet to send [04:11:58]OFD Sender: No OFD packet to send [04:12:03]OFD Sender: No OFD packet to send [04:12:08]OFD Sender: No OFD packet to send [04:12:13]OFD Sender: No OFD packet to send [04:12:18]OFD Sender: No OFD packet to send [04:12:23]OFD Sender: No OFD packet to send [04:12:28]OFD Sender: No OFD packet to send [04:12:33]OFD Sender: No OFD packet to send [04:12:38]OFD Sender: No OFD packet to send [04:12:43]OFD Sender: No OFD packet to send [04:12:48]OFD Sender: No OFD packet to send [04:12:53]OFD Sender: No OFD packet to send [04:12:58]OFD Sender: No OFD packet to send [04:13:03]OFD Sender: No OFD packet to send [04:13:08]OFD Sender: No OFD packet to send [04:13:13]OFD Sender: No OFD packet to send [04:13:18]OFD Sender: No OFD packet to send [04:13:23]OFD Sender: No OFD packet to send [04:13:28]OFD Sender: No OFD packet to send [04:13:33]OFD Sender: No OFD packet to send [04:13:38]OFD Sender: No OFD packet to send [04:13:43]OFD Sender: No OFD packet to send [04:13:48]OFD Sender: No OFD packet to send [04:13:53]OFD Sender: No OFD packet to send [04:13:58]OFD Sender: No OFD packet to send [04:14:03]OFD Sender: No OFD packet to send [04:14:09]OFD Sender: No OFD packet to send [04:14:14]OFD Sender: No OFD packet to send [04:14:19]OFD Sender: No OFD packet to send [04:14:24]OFD Sender: No OFD packet to send [04:14:29]OFD Sender: No OFD packet to send [04:14:34]OFD Sender: No OFD packet to send [04:14:39]OFD Sender: No OFD packet to send [04:14:44]OFD Sender: No OFD packet to send [04:14:49]OFD Sender: No OFD packet to send [04:14:54]OFD Sender: No OFD packet to send [04:14:59]OFD Sender: No OFD packet to send [04:15:04]OFD Sender: No OFD packet to send [04:15:09]OFD Sender: No OFD packet to send [04:15:14]OFD Sender: No OFD packet to send [04:15:19]OFD Sender: No OFD packet to send [04:15:24]OFD Sender: No OFD packet to send [04:15:29]OFD Sender: No OFD packet to send [04:15:34]OFD Sender: No OFD packet to send [04:15:39]OFD Sender: No OFD packet to send [04:15:44]OFD Sender: No OFD packet to send [04:15:49]OFD Sender: No OFD packet to send [04:15:54]OFD Sender: No OFD packet to send [04:15:59]OFD Sender: No OFD packet to send [04:16:04]OFD Sender: No OFD packet to send [04:16:09]OFD Sender: No OFD packet to send [04:16:14]OFD Sender: No OFD packet to send [04:16:19]OFD Sender: No OFD packet to send [04:16:24]OFD Sender: No OFD packet to send [04:16:29]OFD Sender: No OFD packet to send [04:16:34]OFD Sender: No OFD packet to send [04:16:39]OFD Sender: No OFD packet to send [04:16:44]OFD Sender: No OFD packet to send [04:16:49]OFD Sender: No OFD packet to send [04:16:54]OFD Sender: No OFD packet to send [04:16:59]OFD Sender: No OFD packet to send [04:17:04]OFD Sender: No OFD packet to send [04:17:09]OFD Sender: No OFD packet to send [04:17:14]OFD Sender: No OFD packet to send [04:17:19]OFD Sender: No OFD packet to send [04:17:24]OFD Sender: No OFD packet to send [04:17:29]OFD Sender: No OFD packet to send [04:17:34]OFD Sender: No OFD packet to send [04:17:39]OFD Sender: No OFD packet to send [04:17:44]OFD Sender: No OFD packet to send [04:17:49]OFD Sender: No OFD packet to send [04:17:54]OFD Sender: No OFD packet to send [04:17:59]OFD Sender: No OFD packet to send [04:18:04]OFD Sender: No OFD packet to send [04:18:09]OFD Sender: No OFD packet to send [04:18:14]OFD Sender: No OFD packet to send [04:18:19]OFD Sender: No OFD packet to send [04:18:24]OFD Sender: No OFD packet to send [04:18:29]OFD Sender: No OFD packet to send [04:18:34]OFD Sender: No OFD packet to send [04:18:39]OFD Sender: No OFD packet to send [04:18:44]OFD Sender: No OFD packet to send [04:18:49]OFD Sender: No OFD packet to send [04:18:54]OFD Sender: No OFD packet to send [04:18:59]OFD Sender: No OFD packet to send [04:19:04]OFD Sender: No OFD packet to send [04:19:09]OFD Sender: No OFD packet to send [04:19:14]OFD Sender: No OFD packet to send [04:19:19]OFD Sender: No OFD packet to send [04:19:24]OFD Sender: No OFD packet to send [04:19:29]OFD Sender: No OFD packet to send [04:19:34]OFD Sender: No OFD packet to send [04:19:39]OFD Sender: No OFD packet to send [04:19:44]OFD Sender: No OFD packet to send [04:19:49]OFD Sender: No OFD packet to send [04:19:54]OFD Sender: No OFD packet to send [04:19:59]OFD Sender: No OFD packet to send [04:20:04]OFD Sender: No OFD packet to send [04:20:09]OFD Sender: No OFD packet to send [04:20:14]OFD Sender: No OFD packet to send [04:20:19]OFD Sender: No OFD packet to send [04:20:24]OFD Sender: No OFD packet to send [04:20:29]OFD Sender: No OFD packet to send [04:20:34]OFD Sender: No OFD packet to send [04:20:39]OFD Sender: No OFD packet to send [04:20:44]OFD Sender: No OFD packet to send [04:20:49]OFD Sender: No OFD packet to send [04:20:54]OFD Sender: No OFD packet to send [04:20:59]OFD Sender: No OFD packet to send [04:21:04]OFD Sender: No OFD packet to send [04:21:09]OFD Sender: No OFD packet to send [04:21:14]OFD Sender: No OFD packet to send [04:21:19]OFD Sender: No OFD packet to send [04:21:24]OFD Sender: No OFD packet to send [04:21:29]OFD Sender: No OFD packet to send [04:21:34]OFD Sender: No OFD packet to send [04:21:39]OFD Sender: No OFD packet to send [04:21:44]OFD Sender: No OFD packet to send [04:21:49]OFD Sender: No OFD packet to send [04:21:54]OFD Sender: No OFD packet to send [04:21:59]OFD Sender: No OFD packet to send [04:22:04]OFD Sender: No OFD packet to send [04:22:09]OFD Sender: No OFD packet to send [04:22:14]OFD Sender: No OFD packet to send [04:22:19]OFD Sender: No OFD packet to send [04:22:24]OFD Sender: No OFD packet to send [04:22:29]OFD Sender: No OFD packet to send [04:22:34]OFD Sender: No OFD packet to send [04:22:39]OFD Sender: No OFD packet to send [04:22:44]OFD Sender: No OFD packet to send [04:22:49]OFD Sender: No OFD packet to send [04:22:54]OFD Sender: No OFD packet to send [04:22:59]OFD Sender: No OFD packet to send [04:23:04]OFD Sender: No OFD packet to send [04:23:09]OFD Sender: No OFD packet to send [04:23:14]OFD Sender: No OFD packet to send [04:23:19]OFD Sender: No OFD packet to send [04:23:24]OFD Sender: No OFD packet to send [04:23:29]OFD Sender: No OFD packet to send [04:23:34]OFD Sender: No OFD packet to send [04:23:39]OFD Sender: No OFD packet to send [04:23:44]OFD Sender: No OFD packet to send [04:23:49]OFD Sender: No OFD packet to send [04:23:54]OFD Sender: No OFD packet to send [04:23:59]OFD Sender: No OFD packet to send [04:24:04]OFD Sender: No OFD packet to send [04:24:09]OFD Sender: No OFD packet to send [04:24:14]OFD Sender: No OFD packet to send [04:24:19]OFD Sender: No OFD packet to send [04:24:24]OFD Sender: No OFD packet to send [04:24:29]OFD Sender: No OFD packet to send [04:24:34]OFD Sender: No OFD packet to send [04:24:39]OFD Sender: No OFD packet to send [04:24:49]OFD Sender: No OFD packet to send [04:24:54]OFD Sender: No OFD packet to send [04:24:59]OFD Sender: No OFD packet to send [04:25:04]OFD Sender: No OFD packet to send [04:25:09]OFD Sender: No OFD packet to send [04:25:14]OFD Sender: No OFD packet to send [04:25:19]OFD Sender: No OFD packet to send [04:25:24]OFD Sender: No OFD packet to send [04:25:29]OFD Sender: No OFD packet to send [04:25:34]OFD Sender: No OFD packet to send [04:25:39]OFD Sender: No OFD packet to send [04:25:44]OFD Sender: No OFD packet to send [04:25:49]OFD Sender: No OFD packet to send [04:25:54]OFD Sender: No OFD packet to send [04:25:59]OFD Sender: No OFD packet to send [04:26:04]OFD Sender: No OFD packet to send [04:26:09]OFD Sender: No OFD packet to send [04:26:14]OFD Sender: No OFD packet to send [04:26:19]OFD Sender: No OFD packet to send [04:26:24]OFD Sender: No OFD packet to send [04:26:29]OFD Sender: No OFD packet to send [04:26:34]OFD Sender: No OFD packet to send [04:26:39]OFD Sender: No OFD packet to send [04:26:44]OFD Sender: No OFD packet to send [04:26:49]OFD Sender: No OFD packet to send [04:26:54]OFD Sender: No OFD packet to send [04:26:59]OFD Sender: No OFD packet to send [04:27:00]ConnectInit Can't connect to host [04:27:04]OFD Sender: No OFD packet to send [04:27:09]OFD Sender: No OFD packet to send [04:27:19]OFD Sender: No OFD packet to send [04:27:24]OFD Sender: No OFD packet to send [04:27:29]OFD Sender: No OFD packet to send [04:27:34]OFD Sender: No OFD packet to send [04:27:39]OFD Sender: No OFD packet to send [04:27:44]OFD Sender: No OFD packet to send [04:27:49]OFD Sender: No OFD packet to send [04:27:54]OFD Sender: No OFD packet to send [04:27:59]OFD Sender: No OFD packet to send [04:28:04]OFD Sender: No OFD packet to send [04:28:09]OFD Sender: No OFD packet to send [04:28:14]OFD Sender: No OFD packet to send [04:28:19]OFD Sender: No OFD packet to send [04:28:24]OFD Sender: No OFD packet to send [04:28:29]OFD Sender: No OFD packet to send [04:28:34]OFD Sender: No OFD packet to send [04:28:39]OFD Sender: No OFD packet to send [04:28:44]OFD Sender: No OFD packet to send [04:28:49]OFD Sender: No OFD packet to send [04:28:54]OFD Sender: No OFD packet to send [04:28:59]OFD Sender: No OFD packet to send [04:29:04]OFD Sender: No OFD packet to send [04:29:09]OFD Sender: No OFD packet to send [04:29:14]OFD Sender: No OFD packet to send [04:29:19]OFD Sender: No OFD packet to send [04:29:24]OFD Sender: No OFD packet to send [04:29:29]ConnectInit Can't connect to host [04:29:29]OFD Sender: No OFD packet to send [04:29:34]OFD Sender: No OFD packet to send [04:29:39]OFD Sender: No OFD packet to send [04:29:44]OFD Sender: No OFD packet to send [04:29:49]OFD Sender: No OFD packet to send [04:29:54]OFD Sender: No OFD packet to send [04:29:59]OFD Sender: No OFD packet to send [04:30:04]OFD Sender: No OFD packet to send [04:30:09]OFD Sender: No OFD packet to send [04:30:14]OFD Sender: No OFD packet to send [04:30:19]OFD Sender: No OFD packet to send [04:30:24]OFD Sender: No OFD packet to send [04:30:29]OFD Sender: No OFD packet to send [04:30:34]OFD Sender: No OFD packet to send [04:30:39]OFD Sender: No OFD packet to send [04:30:44]OFD Sender: No OFD packet to send [04:30:49]OFD Sender: No OFD packet to send [04:30:54]OFD Sender: No OFD packet to send [04:30:59]OFD Sender: No OFD packet to send [04:31:04]OFD Sender: No OFD packet to send [04:31:09]OFD Sender: No OFD packet to send [04:31:14]OFD Sender: No OFD packet to send [04:31:19]OFD Sender: No OFD packet to send [04:31:24]OFD Sender: No OFD packet to send [04:31:29]OFD Sender: No OFD packet to send [04:31:34]OFD Sender: No OFD packet to send [04:31:39]OFD Sender: No OFD packet to send [04:31:44]OFD Sender: No OFD packet to send [04:31:49]OFD Sender: No OFD packet to send [04:31:54]OFD Sender: No OFD packet to send [04:31:59]OFD Sender: No OFD packet to send [04:32:04]OFD Sender: No OFD packet to send [04:32:09]OFD Sender: No OFD packet to send [04:32:14]OFD Sender: No OFD packet to send [04:32:19]OFD Sender: No OFD packet to send [04:32:24]OFD Sender: No OFD packet to send [04:32:29]OFD Sender: No OFD packet to send [04:32:34]OFD Sender: No OFD packet to send [04:32:39]OFD Sender: No OFD packet to send [04:32:45]OFD Sender: No OFD packet to send [04:32:50]OFD Sender: No OFD packet to send [04:32:55]OFD Sender: No OFD packet to send [04:33:00]OFD Sender: No OFD packet to send [04:33:05]OFD Sender: No OFD packet to send [04:33:10]OFD Sender: No OFD packet to send [04:33:15]OFD Sender: No OFD packet to send [04:33:20]OFD Sender: No OFD packet to send [04:33:25]OFD Sender: No OFD packet to send [04:33:30]OFD Sender: No OFD packet to send [04:33:35]OFD Sender: No OFD packet to send [04:33:40]OFD Sender: No OFD packet to send [04:33:45]OFD Sender: No OFD packet to send [04:33:50]OFD Sender: No OFD packet to send [04:33:55]OFD Sender: No OFD packet to send [04:34:00]OFD Sender: No OFD packet to send [04:34:05]OFD Sender: No OFD packet to send [04:34:10]OFD Sender: No OFD packet to send [04:34:15]OFD Sender: No OFD packet to send [04:34:20]OFD Sender: No OFD packet to send [04:34:25]OFD Sender: No OFD packet to send [04:34:30]OFD Sender: No OFD packet to send [04:34:35]OFD Sender: No OFD packet to send [04:34:40]OFD Sender: No OFD packet to send [04:34:45]OFD Sender: No OFD packet to send [04:34:50]OFD Sender: No OFD packet to send [04:34:55]OFD Sender: No OFD packet to send [04:35:00]OFD Sender: No OFD packet to send [04:35:05]OFD Sender: No OFD packet to send [04:35:10]OFD Sender: No OFD packet to send [04:35:15]OFD Sender: No OFD packet to send [04:35:20]OFD Sender: No OFD packet to send [04:35:25]OFD Sender: No OFD packet to send [04:35:30]OFD Sender: No OFD packet to send [04:35:35]OFD Sender: No OFD packet to send [04:35:40]OFD Sender: No OFD packet to send [04:35:45]OFD Sender: No OFD packet to send [04:35:50]OFD Sender: No OFD packet to send [04:35:55]OFD Sender: No OFD packet to send [04:36:00]OFD Sender: No OFD packet to send [04:36:05]OFD Sender: No OFD packet to send [04:36:10]OFD Sender: No OFD packet to send [04:36:15]OFD Sender: No OFD packet to send [04:36:20]OFD Sender: No OFD packet to send [04:36:25]OFD Sender: No OFD packet to send [04:36:30]OFD Sender: No OFD packet to send [04:36:35]OFD Sender: No OFD packet to send [04:36:40]OFD Sender: No OFD packet to send [04:36:45]OFD Sender: No OFD packet to send [04:36:50]OFD Sender: No OFD packet to send [04:36:55]OFD Sender: No OFD packet to send [04:37:00]OFD Sender: No OFD packet to send [04:37:05]OFD Sender: No OFD packet to send [04:37:10]OFD Sender: No OFD packet to send [04:37:15]OFD Sender: No OFD packet to send [04:37:20]OFD Sender: No OFD packet to send [04:37:25]OFD Sender: No OFD packet to send [04:37:30]OFD Sender: No OFD packet to send [04:37:35]OFD Sender: No OFD packet to send [04:37:40]OFD Sender: No OFD packet to send [04:37:45]OFD Sender: No OFD packet to send [04:37:50]OFD Sender: No OFD packet to send [04:37:55]OFD Sender: No OFD packet to send [04:38:00]OFD Sender: No OFD packet to send [04:38:05]OFD Sender: No OFD packet to send [04:38:10]OFD Sender: No OFD packet to send [04:38:15]OFD Sender: No OFD packet to send [04:38:20]OFD Sender: No OFD packet to send [04:38:25]OFD Sender: No OFD packet to send [04:38:30]OFD Sender: No OFD packet to send [04:38:35]OFD Sender: No OFD packet to send [04:38:40]OFD Sender: No OFD packet to send [04:38:45]OFD Sender: No OFD packet to send [04:38:50]OFD Sender: No OFD packet to send [04:38:55]OFD Sender: No OFD packet to send [04:39:00]OFD Sender: No OFD packet to send [04:39:05]OFD Sender: No OFD packet to send [04:39:10]OFD Sender: No OFD packet to send [04:39:15]OFD Sender: No OFD packet to send [04:39:20]OFD Sender: No OFD packet to send [04:39:25]OFD Sender: No OFD packet to send [04:39:30]OFD Sender: No OFD packet to send [04:39:35]OFD Sender: No OFD packet to send [04:39:40]OFD Sender: No OFD packet to send [04:39:45]OFD Sender: No OFD packet to send [04:39:50]OFD Sender: No OFD packet to send [04:39:55]OFD Sender: No OFD packet to send [04:40:00]OFD Sender: No OFD packet to send [04:40:05]OFD Sender: No OFD packet to send [04:40:10]OFD Sender: No OFD packet to send [04:40:15]OFD Sender: No OFD packet to send [04:40:20]OFD Sender: No OFD packet to send [04:40:25]OFD Sender: No OFD packet to send [04:40:30]OFD Sender: No OFD packet to send [04:40:35]OFD Sender: No OFD packet to send [04:40:40]OFD Sender: No OFD packet to send [04:40:45]OFD Sender: No OFD packet to send [04:40:50]OFD Sender: No OFD packet to send [04:40:55]OFD Sender: No OFD packet to send [04:41:00]OFD Sender: No OFD packet to send [04:41:05]OFD Sender: No OFD packet to send [04:41:10]OFD Sender: No OFD packet to send [04:41:15]OFD Sender: No OFD packet to send [04:41:20]OFD Sender: No OFD packet to send [04:41:25]OFD Sender: No OFD packet to send [04:41:30]OFD Sender: No OFD packet to send [04:41:35]OFD Sender: No OFD packet to send [04:41:40]OFD Sender: No OFD packet to send [04:41:45]OFD Sender: No OFD packet to send [04:41:50]OFD Sender: No OFD packet to send [04:41:55]OFD Sender: No OFD packet to send [04:42:00]OFD Sender: No OFD packet to send [04:42:05]OFD Sender: No OFD packet to send [04:42:10]OFD Sender: No OFD packet to send [04:42:15]OFD Sender: No OFD packet to send [04:42:20]OFD Sender: No OFD packet to send [04:42:25]OFD Sender: No OFD packet to send [04:42:30]OFD Sender: No OFD packet to send [04:42:35]OFD Sender: No OFD packet to send [04:42:40]OFD Sender: No OFD packet to send [04:42:45]OFD Sender: No OFD packet to send [04:42:50]OFD Sender: No OFD packet to send [04:42:55]OFD Sender: No OFD packet to send [04:43:00]OFD Sender: No OFD packet to send [04:43:05]OFD Sender: No OFD packet to send [04:43:10]OFD Sender: No OFD packet to send [04:43:15]OFD Sender: No OFD packet to send [04:43:20]OFD Sender: No OFD packet to send [04:43:25]OFD Sender: No OFD packet to send [04:43:30]OFD Sender: No OFD packet to send [04:43:35]OFD Sender: No OFD packet to send [04:43:40]OFD Sender: No OFD packet to send [04:43:45]OFD Sender: No OFD packet to send [04:43:50]OFD Sender: No OFD packet to send [04:43:55]OFD Sender: No OFD packet to send [04:44:00]OFD Sender: No OFD packet to send [04:44:05]OFD Sender: No OFD packet to send [04:44:10]OFD Sender: No OFD packet to send [04:44:15]OFD Sender: No OFD packet to send [04:44:20]OFD Sender: No OFD packet to send [04:44:25]OFD Sender: No OFD packet to send [04:44:30]OFD Sender: No OFD packet to send [04:44:35]OFD Sender: No OFD packet to send [04:44:40]OFD Sender: No OFD packet to send [04:44:45]OFD Sender: No OFD packet to send [04:44:50]OFD Sender: No OFD packet to send [04:44:55]OFD Sender: No OFD packet to send [04:45:00]OFD Sender: No OFD packet to send [04:45:05]OFD Sender: No OFD packet to send [04:45:10]OFD Sender: No OFD packet to send [04:45:15]OFD Sender: No OFD packet to send [04:45:20]OFD Sender: No OFD packet to send [04:45:25]OFD Sender: No OFD packet to send [04:45:30]OFD Sender: No OFD packet to send [04:45:35]OFD Sender: No OFD packet to send [04:45:40]OFD Sender: No OFD packet to send [04:45:45]OFD Sender: No OFD packet to send [04:45:50]OFD Sender: No OFD packet to send [04:45:55]OFD Sender: No OFD packet to send [04:46:00]OFD Sender: No OFD packet to send [04:46:05]OFD Sender: No OFD packet to send [04:46:10]OFD Sender: No OFD packet to send [04:46:15]OFD Sender: No OFD packet to send [04:46:20]OFD Sender: No OFD packet to send [04:46:25]OFD Sender: No OFD packet to send [04:46:30]OFD Sender: No OFD packet to send [04:46:35]OFD Sender: No OFD packet to send [04:46:40]OFD Sender: No OFD packet to send [04:46:45]OFD Sender: No OFD packet to send [04:46:50]OFD Sender: No OFD packet to send [04:46:55]OFD Sender: No OFD packet to send [04:47:00]OFD Sender: No OFD packet to send [04:47:05]OFD Sender: No OFD packet to send [04:47:10]OFD Sender: No OFD packet to send [04:47:15]OFD Sender: No OFD packet to send [04:47:20]OFD Sender: No OFD packet to send [04:47:25]OFD Sender: No OFD packet to send [04:47:30]OFD Sender: No OFD packet to send [04:47:35]OFD Sender: No OFD packet to send [04:47:40]OFD Sender: No OFD packet to send [04:47:45]OFD Sender: No OFD packet to send [04:47:50]OFD Sender: No OFD packet to send [04:47:55]OFD Sender: No OFD packet to send [04:48:00]OFD Sender: No OFD packet to send [04:48:05]OFD Sender: No OFD packet to send [04:48:10]OFD Sender: No OFD packet to send [04:48:15]OFD Sender: No OFD packet to send [04:48:20]OFD Sender: No OFD packet to send [04:48:25]OFD Sender: No OFD packet to send [04:48:30]OFD Sender: No OFD packet to send [04:48:35]OFD Sender: No OFD packet to send [04:48:40]OFD Sender: No OFD packet to send [04:48:45]OFD Sender: No OFD packet to send [04:48:50]OFD Sender: No OFD packet to send [04:48:55]OFD Sender: No OFD packet to send [04:49:00]OFD Sender: No OFD packet to send [04:49:05]OFD Sender: No OFD packet to send [04:49:10]OFD Sender: No OFD packet to send [04:49:15]OFD Sender: No OFD packet to send [04:49:20]OFD Sender: No OFD packet to send [04:49:25]OFD Sender: No OFD packet to send [04:49:30]OFD Sender: No OFD packet to send [04:49:35]OFD Sender: No OFD packet to send [04:49:40]OFD Sender: No OFD packet to send [04:49:45]OFD Sender: No OFD packet to send [04:49:50]OFD Sender: No OFD packet to send [04:49:55]OFD Sender: No OFD packet to send [04:50:00]OFD Sender: No OFD packet to send [04:50:05]OFD Sender: No OFD packet to send [04:50:10]OFD Sender: No OFD packet to send [04:50:15]OFD Sender: No OFD packet to send [04:50:20]OFD Sender: No OFD packet to send [04:50:25]OFD Sender: No OFD packet to send [04:50:30]OFD Sender: No OFD packet to send [04:50:35]OFD Sender: No OFD packet to send [04:50:40]OFD Sender: No OFD packet to send [04:50:45]OFD Sender: No OFD packet to send [04:50:50]OFD Sender: No OFD packet to send [04:50:55]OFD Sender: No OFD packet to send [04:51:00]OFD Sender: No OFD packet to send [04:51:05]OFD Sender: No OFD packet to send [04:51:10]OFD Sender: No OFD packet to send [04:51:15]OFD Sender: No OFD packet to send [04:51:21]OFD Sender: No OFD packet to send [04:51:26]OFD Sender: No OFD packet to send [04:51:31]OFD Sender: No OFD packet to send [04:51:36]OFD Sender: No OFD packet to send [04:51:41]OFD Sender: No OFD packet to send [04:51:46]OFD Sender: No OFD packet to send [04:51:51]OFD Sender: No OFD packet to send [04:51:56]OFD Sender: No OFD packet to send [04:52:01]OFD Sender: No OFD packet to send [04:52:06]OFD Sender: No OFD packet to send [04:52:11]OFD Sender: No OFD packet to send [04:52:16]OFD Sender: No OFD packet to send [04:52:21]OFD Sender: No OFD packet to send [04:52:26]OFD Sender: No OFD packet to send [04:52:31]OFD Sender: No OFD packet to send [04:52:36]OFD Sender: No OFD packet to send [04:52:41]OFD Sender: No OFD packet to send [04:52:46]OFD Sender: No OFD packet to send [04:52:51]OFD Sender: No OFD packet to send [04:52:56]OFD Sender: No OFD packet to send [04:53:01]OFD Sender: No OFD packet to send [04:53:06]OFD Sender: No OFD packet to send [04:53:11]OFD Sender: No OFD packet to send [04:53:16]OFD Sender: No OFD packet to send [04:53:21]OFD Sender: No OFD packet to send [04:53:26]OFD Sender: No OFD packet to send [04:53:31]OFD Sender: No OFD packet to send [04:53:36]OFD Sender: No OFD packet to send [04:53:41]OFD Sender: No OFD packet to send [04:53:46]OFD Sender: No OFD packet to send [04:53:51]OFD Sender: No OFD packet to send [04:53:56]OFD Sender: No OFD packet to send [04:54:01]OFD Sender: No OFD packet to send [04:54:06]OFD Sender: No OFD packet to send [04:54:11]OFD Sender: No OFD packet to send [04:54:16]OFD Sender: No OFD packet to send [04:54:21]OFD Sender: No OFD packet to send [04:54:26]OFD Sender: No OFD packet to send [04:54:31]OFD Sender: No OFD packet to send [04:54:36]OFD Sender: No OFD packet to send [04:54:41]OFD Sender: No OFD packet to send [04:54:46]OFD Sender: No OFD packet to send [04:54:51]OFD Sender: No OFD packet to send [04:54:56]OFD Sender: No OFD packet to send [04:55:01]OFD Sender: No OFD packet to send [04:55:06]OFD Sender: No OFD packet to send [04:55:11]OFD Sender: No OFD packet to send [04:55:16]OFD Sender: No OFD packet to send [04:55:21]OFD Sender: No OFD packet to send [04:55:26]OFD Sender: No OFD packet to send [04:55:31]OFD Sender: No OFD packet to send [04:55:36]OFD Sender: No OFD packet to send [04:55:41]OFD Sender: No OFD packet to send [04:55:46]OFD Sender: No OFD packet to send [04:55:51]OFD Sender: No OFD packet to send [04:55:56]OFD Sender: No OFD packet to send [04:56:01]OFD Sender: No OFD packet to send [04:56:06]OFD Sender: No OFD packet to send [04:56:11]OFD Sender: No OFD packet to send [04:56:16]OFD Sender: No OFD packet to send [04:56:21]OFD Sender: No OFD packet to send [04:56:26]OFD Sender: No OFD packet to send [04:56:31]OFD Sender: No OFD packet to send [04:56:36]OFD Sender: No OFD packet to send [04:56:41]OFD Sender: No OFD packet to send [04:56:46]OFD Sender: No OFD packet to send [04:56:51]OFD Sender: No OFD packet to send [04:56:56]OFD Sender: No OFD packet to send [04:57:01]OFD Sender: No OFD packet to send [04:57:06]OFD Sender: No OFD packet to send [04:57:11]OFD Sender: No OFD packet to send [04:57:16]OFD Sender: No OFD packet to send [04:57:21]OFD Sender: No OFD packet to send [04:57:26]OFD Sender: No OFD packet to send [04:57:31]OFD Sender: No OFD packet to send [04:57:36]OFD Sender: No OFD packet to send [04:57:41]OFD Sender: No OFD packet to send [04:57:46]OFD Sender: No OFD packet to send [04:57:51]OFD Sender: No OFD packet to send [04:57:56]OFD Sender: No OFD packet to send [04:58:01]OFD Sender: No OFD packet to send [04:58:06]OFD Sender: No OFD packet to send [04:58:11]OFD Sender: No OFD packet to send [04:58:16]OFD Sender: No OFD packet to send [04:58:21]OFD Sender: No OFD packet to send [04:58:26]OFD Sender: No OFD packet to send [04:58:31]OFD Sender: No OFD packet to send [04:58:36]OFD Sender: No OFD packet to send [04:58:41]OFD Sender: No OFD packet to send [04:58:46]OFD Sender: No OFD packet to send [04:58:51]OFD Sender: No OFD packet to send [04:58:56]OFD Sender: No OFD packet to send [04:59:01]OFD Sender: No OFD packet to send [04:59:06]OFD Sender: No OFD packet to send [04:59:11]OFD Sender: No OFD packet to send [04:59:16]OFD Sender: No OFD packet to send [04:59:21]OFD Sender: No OFD packet to send [04:59:26]OFD Sender: No OFD packet to send [04:59:31]OFD Sender: No OFD packet to send [04:59:36]OFD Sender: No OFD packet to send [04:59:41]OFD Sender: No OFD packet to send [04:59:46]OFD Sender: No OFD packet to send [04:59:51]OFD Sender: No OFD packet to send [04:59:56]OFD Sender: No OFD packet to send [05:00:01]OFD Sender: No OFD packet to send [05:00:06]OFD Sender: No OFD packet to send [05:00:11]OFD Sender: No OFD packet to send [05:00:16]OFD Sender: No OFD packet to send [05:00:21]OFD Sender: No OFD packet to send [05:00:26]OFD Sender: No OFD packet to send [05:00:31]OFD Sender: No OFD packet to send [05:00:36]OFD Sender: No OFD packet to send [05:00:41]OFD Sender: No OFD packet to send [05:00:46]OFD Sender: No OFD packet to send [05:00:51]OFD Sender: No OFD packet to send [05:00:56]OFD Sender: No OFD packet to send [05:01:01]OFD Sender: No OFD packet to send [05:01:06]OFD Sender: No OFD packet to send [05:01:11]OFD Sender: No OFD packet to send [05:01:16]OFD Sender: No OFD packet to send [05:01:21]OFD Sender: No OFD packet to send [05:01:26]OFD Sender: No OFD packet to send [05:01:31]OFD Sender: No OFD packet to send [05:01:36]OFD Sender: No OFD packet to send [05:01:41]OFD Sender: No OFD packet to send [05:01:46]OFD Sender: No OFD packet to send [05:01:51]OFD Sender: No OFD packet to send [05:01:56]OFD Sender: No OFD packet to send [05:02:01]OFD Sender: No OFD packet to send [05:02:06]OFD Sender: No OFD packet to send [05:02:11]OFD Sender: No OFD packet to send [05:02:16]OFD Sender: No OFD packet to send [05:02:21]OFD Sender: No OFD packet to send [05:02:26]OFD Sender: No OFD packet to send [05:02:31]OFD Sender: No OFD packet to send [05:02:36]OFD Sender: No OFD packet to send [05:02:41]OFD Sender: No OFD packet to send [05:02:46]OFD Sender: No OFD packet to send [05:02:51]OFD Sender: No OFD packet to send [05:02:56]OFD Sender: No OFD packet to send [05:03:01]OFD Sender: No OFD packet to send [05:03:06]OFD Sender: No OFD packet to send [05:03:11]OFD Sender: No OFD packet to send [05:03:16]OFD Sender: No OFD packet to send [05:03:21]OFD Sender: No OFD packet to send [05:03:26]OFD Sender: No OFD packet to send [05:03:31]OFD Sender: No OFD packet to send [05:03:36]OFD Sender: No OFD packet to send [05:03:41]OFD Sender: No OFD packet to send [05:03:46]OFD Sender: No OFD packet to send [05:03:51]OFD Sender: No OFD packet to send [05:03:56]OFD Sender: No OFD packet to send [05:04:01]OFD Sender: No OFD packet to send [05:04:06]OFD Sender: No OFD packet to send [05:04:11]OFD Sender: No OFD packet to send [05:04:16]OFD Sender: No OFD packet to send [05:04:21]OFD Sender: No OFD packet to send [05:04:26]OFD Sender: No OFD packet to send [05:04:31]OFD Sender: No OFD packet to send [05:04:36]OFD Sender: No OFD packet to send [05:04:41]OFD Sender: No OFD packet to send [05:04:46]OFD Sender: No OFD packet to send [05:04:51]OFD Sender: No OFD packet to send [05:04:56]OFD Sender: No OFD packet to send [05:05:01]OFD Sender: No OFD packet to send [05:05:06]OFD Sender: No OFD packet to send [05:05:11]OFD Sender: No OFD packet to send [05:05:16]OFD Sender: No OFD packet to send [05:05:21]OFD Sender: No OFD packet to send [05:05:26]OFD Sender: No OFD packet to send [05:05:31]OFD Sender: No OFD packet to send [05:05:36]OFD Sender: No OFD packet to send [05:05:41]OFD Sender: No OFD packet to send [05:05:46]OFD Sender: No OFD packet to send [05:05:51]OFD Sender: No OFD packet to send [05:05:56]OFD Sender: No OFD packet to send [05:06:01]OFD Sender: No OFD packet to send [05:06:06]OFD Sender: No OFD packet to send [05:06:11]OFD Sender: No OFD packet to send [05:06:16]OFD Sender: No OFD packet to send [05:06:21]OFD Sender: No OFD packet to send [05:06:26]OFD Sender: No OFD packet to send [05:06:31]OFD Sender: No OFD packet to send [05:06:36]OFD Sender: No OFD packet to send [05:06:41]OFD Sender: No OFD packet to send [05:06:46]OFD Sender: No OFD packet to send [05:06:51]OFD Sender: No OFD packet to send [05:06:56]OFD Sender: No OFD packet to send [05:07:01]OFD Sender: No OFD packet to send [05:07:06]OFD Sender: No OFD packet to send [05:07:11]OFD Sender: No OFD packet to send [05:07:16]OFD Sender: No OFD packet to send [05:07:21]OFD Sender: No OFD packet to send [05:07:26]OFD Sender: No OFD packet to send [05:07:31]OFD Sender: No OFD packet to send [05:07:36]OFD Sender: No OFD packet to send [05:07:41]OFD Sender: No OFD packet to send [05:07:46]OFD Sender: No OFD packet to send [05:07:51]OFD Sender: No OFD packet to send [05:07:56]OFD Sender: No OFD packet to send [05:08:01]OFD Sender: No OFD packet to send [05:08:06]OFD Sender: No OFD packet to send [05:08:11]OFD Sender: No OFD packet to send [05:08:16]OFD Sender: No OFD packet to send [05:08:21]OFD Sender: No OFD packet to send [05:08:26]OFD Sender: No OFD packet to send [05:08:31]OFD Sender: No OFD packet to send [05:08:36]OFD Sender: No OFD packet to send [05:08:41]OFD Sender: No OFD packet to send [05:08:46]OFD Sender: No OFD packet to send [05:08:51]OFD Sender: No OFD packet to send [05:08:56]OFD Sender: No OFD packet to send [05:09:01]OFD Sender: No OFD packet to send [05:09:06]OFD Sender: No OFD packet to send [05:09:11]OFD Sender: No OFD packet to send [05:09:16]OFD Sender: No OFD packet to send [05:09:21]OFD Sender: No OFD packet to send [05:09:26]OFD Sender: No OFD packet to send [05:09:31]OFD Sender: No OFD packet to send [05:09:36]OFD Sender: No OFD packet to send [05:09:41]OFD Sender: No OFD packet to send [05:09:46]OFD Sender: No OFD packet to send [05:09:51]OFD Sender: No OFD packet to send [05:09:56]OFD Sender: No OFD packet to send [05:10:01]OFD Sender: No OFD packet to send [05:10:06]OFD Sender: No OFD packet to send [05:10:12]OFD Sender: No OFD packet to send [05:10:17]OFD Sender: No OFD packet to send [05:10:22]OFD Sender: No OFD packet to send [05:10:27]OFD Sender: No OFD packet to send [05:10:32]OFD Sender: No OFD packet to send [05:10:37]OFD Sender: No OFD packet to send [05:10:42]OFD Sender: No OFD packet to send [05:10:47]OFD Sender: No OFD packet to send [05:10:52]OFD Sender: No OFD packet to send [05:10:57]OFD Sender: No OFD packet to send [05:11:02]OFD Sender: No OFD packet to send [05:11:07]OFD Sender: No OFD packet to send [05:11:12]OFD Sender: No OFD packet to send [05:11:17]OFD Sender: No OFD packet to send [05:11:22]OFD Sender: No OFD packet to send [05:11:27]OFD Sender: No OFD packet to send [05:11:32]OFD Sender: No OFD packet to send [05:11:37]OFD Sender: No OFD packet to send [05:11:42]OFD Sender: No OFD packet to send [05:11:47]OFD Sender: No OFD packet to send [05:11:52]OFD Sender: No OFD packet to send [05:11:57]OFD Sender: No OFD packet to send [05:12:02]OFD Sender: No OFD packet to send [05:12:07]OFD Sender: No OFD packet to send [05:12:12]OFD Sender: No OFD packet to send [05:12:17]OFD Sender: No OFD packet to send [05:12:22]OFD Sender: No OFD packet to send [05:12:27]OFD Sender: No OFD packet to send [05:12:32]OFD Sender: No OFD packet to send [05:12:37]OFD Sender: No OFD packet to send [05:12:42]OFD Sender: No OFD packet to send [05:12:47]OFD Sender: No OFD packet to send [05:12:52]OFD Sender: No OFD packet to send [05:12:57]OFD Sender: No OFD packet to send [05:13:02]OFD Sender: No OFD packet to send [05:13:07]OFD Sender: No OFD packet to send [05:13:12]OFD Sender: No OFD packet to send [05:13:17]OFD Sender: No OFD packet to send [05:13:22]OFD Sender: No OFD packet to send [05:13:27]OFD Sender: No OFD packet to send [05:13:32]OFD Sender: No OFD packet to send [05:13:37]OFD Sender: No OFD packet to send [05:13:42]OFD Sender: No OFD packet to send [05:13:47]OFD Sender: No OFD packet to send [05:13:52]OFD Sender: No OFD packet to send [05:13:57]OFD Sender: No OFD packet to send [05:14:02]OFD Sender: No OFD packet to send [05:14:07]OFD Sender: No OFD packet to send [05:14:12]OFD Sender: No OFD packet to send [05:14:17]OFD Sender: No OFD packet to send [05:14:22]OFD Sender: No OFD packet to send [05:14:27]OFD Sender: No OFD packet to send [05:14:32]OFD Sender: No OFD packet to send [05:14:37]OFD Sender: No OFD packet to send [05:14:42]OFD Sender: No OFD packet to send [05:14:47]OFD Sender: No OFD packet to send [05:14:52]OFD Sender: No OFD packet to send [05:14:57]OFD Sender: No OFD packet to send [05:15:02]OFD Sender: No OFD packet to send [05:15:07]OFD Sender: No OFD packet to send [05:15:12]OFD Sender: No OFD packet to send [05:15:17]OFD Sender: No OFD packet to send [05:15:22]OFD Sender: No OFD packet to send [05:15:27]OFD Sender: No OFD packet to send [05:15:32]OFD Sender: No OFD packet to send [05:15:37]OFD Sender: No OFD packet to send [05:15:42]OFD Sender: No OFD packet to send [05:15:47]OFD Sender: No OFD packet to send [05:15:52]OFD Sender: No OFD packet to send [05:15:57]OFD Sender: No OFD packet to send [05:16:02]OFD Sender: No OFD packet to send [05:16:07]OFD Sender: No OFD packet to send [05:16:12]OFD Sender: No OFD packet to send [05:16:17]OFD Sender: No OFD packet to send [05:16:22]OFD Sender: No OFD packet to send [05:16:27]OFD Sender: No OFD packet to send [05:16:32]OFD Sender: No OFD packet to send [05:16:37]OFD Sender: No OFD packet to send [05:16:42]OFD Sender: No OFD packet to send [05:16:47]OFD Sender: No OFD packet to send [05:16:52]OFD Sender: No OFD packet to send [05:16:57]OFD Sender: No OFD packet to send [05:17:02]OFD Sender: No OFD packet to send [05:17:07]OFD Sender: No OFD packet to send [05:17:12]OFD Sender: No OFD packet to send [05:17:17]OFD Sender: No OFD packet to send [05:17:22]OFD Sender: No OFD packet to send [05:17:27]OFD Sender: No OFD packet to send [05:17:32]OFD Sender: No OFD packet to send [05:17:37]OFD Sender: No OFD packet to send [05:17:42]OFD Sender: No OFD packet to send [05:17:47]OFD Sender: No OFD packet to send [05:17:52]OFD Sender: No OFD packet to send [05:17:57]OFD Sender: No OFD packet to send [05:18:02]OFD Sender: No OFD packet to send [05:18:07]OFD Sender: No OFD packet to send [05:18:12]OFD Sender: No OFD packet to send [05:18:17]OFD Sender: No OFD packet to send [05:18:22]OFD Sender: No OFD packet to send [05:18:27]OFD Sender: No OFD packet to send [05:18:32]OFD Sender: No OFD packet to send [05:18:37]OFD Sender: No OFD packet to send [05:18:42]OFD Sender: No OFD packet to send [05:18:47]OFD Sender: No OFD packet to send [05:18:52]OFD Sender: No OFD packet to send [05:18:57]OFD Sender: No OFD packet to send [05:19:02]OFD Sender: No OFD packet to send [05:19:07]OFD Sender: No OFD packet to send [05:19:12]OFD Sender: No OFD packet to send [05:19:17]OFD Sender: No OFD packet to send [05:19:22]OFD Sender: No OFD packet to send [05:19:27]OFD Sender: No OFD packet to send [05:19:32]OFD Sender: No OFD packet to send [05:19:37]OFD Sender: No OFD packet to send [05:19:42]OFD Sender: No OFD packet to send [05:19:47]OFD Sender: No OFD packet to send [05:19:52]OFD Sender: No OFD packet to send [05:19:57]OFD Sender: No OFD packet to send [05:20:02]OFD Sender: No OFD packet to send [05:20:07]OFD Sender: No OFD packet to send [05:20:12]OFD Sender: No OFD packet to send [05:20:17]OFD Sender: No OFD packet to send [05:20:22]OFD Sender: No OFD packet to send [05:20:27]OFD Sender: No OFD packet to send [05:20:32]OFD Sender: No OFD packet to send [05:20:37]OFD Sender: No OFD packet to send [05:20:42]OFD Sender: No OFD packet to send [05:20:47]OFD Sender: No OFD packet to send [05:20:52]OFD Sender: No OFD packet to send [05:20:57]OFD Sender: No OFD packet to send [05:21:02]OFD Sender: No OFD packet to send [05:21:07]OFD Sender: No OFD packet to send [05:21:12]OFD Sender: No OFD packet to send [05:21:17]OFD Sender: No OFD packet to send [05:21:22]OFD Sender: No OFD packet to send [05:21:27]OFD Sender: No OFD packet to send [05:21:32]OFD Sender: No OFD packet to send [05:21:37]OFD Sender: No OFD packet to send [05:21:42]OFD Sender: No OFD packet to send [05:21:47]OFD Sender: No OFD packet to send [05:21:52]OFD Sender: No OFD packet to send [05:21:57]OFD Sender: No OFD packet to send [05:22:02]OFD Sender: No OFD packet to send [05:22:07]OFD Sender: No OFD packet to send [05:22:12]OFD Sender: No OFD packet to send [05:22:17]OFD Sender: No OFD packet to send [05:22:22]OFD Sender: No OFD packet to send [05:22:27]OFD Sender: No OFD packet to send [05:22:32]OFD Sender: No OFD packet to send [05:22:37]OFD Sender: No OFD packet to send [05:22:42]OFD Sender: No OFD packet to send [05:22:47]OFD Sender: No OFD packet to send [05:22:52]OFD Sender: No OFD packet to send [05:22:57]OFD Sender: No OFD packet to send [05:23:02]OFD Sender: No OFD packet to send [05:23:07]OFD Sender: No OFD packet to send [05:23:12]OFD Sender: No OFD packet to send [05:23:17]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:08]OFD Sender: No OFD packet to send [05:29:13]OFD Sender: No OFD packet to send [05:29:18]OFD Sender: No OFD packet to send [05:29:23]OFD Sender: No OFD packet to send [05:29:28]OFD Sender: No OFD packet to send [05:29:33]OFD Sender: No OFD packet to send [05:29:38]OFD Sender: No OFD packet to send [05:29:43]OFD Sender: No OFD packet to send [05:29:48]OFD Sender: No OFD packet to send [05:29:53]OFD Sender: No OFD packet to send [05:29:58]OFD Sender: No OFD packet to send [05:30:03]OFD Sender: No OFD packet to send [05:30:08]OFD Sender: No OFD packet to send [05:30:13]OFD Sender: No OFD packet to send [05:30:18]OFD Sender: No OFD packet to send [05:30:23]OFD Sender: No OFD packet to send [05:30:28]OFD Sender: No OFD packet to send [05:30:33]OFD Sender: No OFD packet to send [05:30:38]OFD Sender: No OFD packet to send [05:30:43]OFD Sender: No OFD packet to send [05:30:48]OFD Sender: No OFD packet to send [05:30:53]OFD Sender: No OFD packet to send [05:30:58]OFD Sender: No OFD packet to send [05:31:03]OFD Sender: No OFD packet to send [05:31:08]OFD Sender: No OFD packet to send [05:31:13]OFD Sender: No OFD packet to send [05:31:18]OFD Sender: No OFD packet to send [05:31:23]OFD Sender: No OFD packet to send [05:31:28]OFD Sender: No OFD packet to send [05:31:33]OFD Sender: No OFD packet to send [05:31:38]OFD Sender: No OFD packet to send [05:31:43]OFD Sender: No OFD packet to send [05:31:48]OFD Sender: No OFD packet to send [05:31:53]OFD Sender: No OFD packet to send [05:31:58]OFD Sender: No OFD packet to send [05:32:03]OFD Sender: No OFD packet to send [05:32:08]OFD Sender: No OFD packet to send [05:32:13]OFD Sender: No OFD packet to send [05:32:18]OFD Sender: No OFD packet to send [05:32:23]OFD Sender: No OFD packet to send [05:32:28]OFD Sender: No OFD packet to send [05:32:33]OFD Sender: No OFD packet to send [05:32:38]OFD Sender: No OFD packet to send [05:32:43]OFD Sender: No OFD packet to send [05:32:48]OFD Sender: No OFD packet to send [05:32:53]OFD Sender: No OFD packet to send [05:32:58]OFD Sender: No OFD packet to send [05:33:03]OFD Sender: No OFD packet to send [05:33:08]OFD Sender: No OFD packet to send [05:33:13]OFD Sender: No OFD packet to send [05:33:18]OFD Sender: No OFD packet to send [05:33:23]OFD Sender: No OFD packet to send [05:33:28]OFD Sender: No OFD packet to send [05:33:33]OFD Sender: No OFD packet to send [05:33:38]OFD Sender: No OFD packet to send [05:33:43]OFD Sender: No OFD packet to send [05:33:48]OFD Sender: No OFD packet to send [05:33:53]OFD Sender: No OFD packet to send [05:33:58]OFD Sender: No OFD packet to send [05:34:03]OFD Sender: No OFD packet to send [05:34:08]OFD Sender: No OFD packet to send [05:34:13]OFD Sender: No OFD packet to send [05:34:18]OFD Sender: No OFD packet to send [05:34:23]OFD Sender: No OFD packet to send [05:34:28]OFD Sender: No OFD packet to send [05:34:33]OFD Sender: No OFD packet to send [05:34:38]OFD Sender: No OFD packet to send [05:34:43]OFD Sender: No OFD packet to send [05:34:48]OFD Sender: No OFD packet to send [05:34:53]OFD Sender: No OFD packet to send [05:34:58]OFD Sender: No OFD packet to send [05:35:03]OFD Sender: No OFD packet to send [05:35:08]OFD Sender: No OFD packet to send [05:35:13]OFD Sender: No OFD packet to send [05:35:18]OFD Sender: No OFD packet to send [05:35:23]OFD Sender: No OFD packet to send [05:35:28]OFD Sender: No OFD packet to send [05:35:33]OFD Sender: No OFD packet to send [05:35:38]OFD Sender: No OFD packet to send [05:35:43]OFD Sender: No OFD packet to send [05:35:48]OFD Sender: No OFD packet to send [05:35:53]OFD Sender: No OFD packet to send [05:35:58]OFD Sender: No OFD packet to send [05:36:03]OFD Sender: No OFD packet to send [05:36:08]OFD Sender: No OFD packet to send [05:36:13]OFD Sender: No OFD packet to send [05:36:18]OFD Sender: No OFD packet to send [05:36:23]OFD Sender: No OFD packet to send [05:36:28]OFD Sender: No OFD packet to send [05:36:33]OFD Sender: No OFD packet to send [05:36:38]OFD Sender: No OFD packet to send [05:36:43]OFD Sender: No OFD packet to send [05:36:48]OFD Sender: No OFD packet to send [05:36:53]OFD Sender: No OFD packet to send [05:36:58]OFD Sender: No OFD packet to send [05:37:03]OFD Sender: No OFD packet to send [05:37:08]OFD Sender: No OFD packet to send [05:37:13]OFD Sender: No OFD packet to send [05:37:18]OFD Sender: No OFD packet to send [05:37:23]OFD Sender: No OFD packet to send [05:37:28]OFD Sender: No OFD packet to send [05:37:33]OFD Sender: No OFD packet to send [05:37:38]OFD Sender: No OFD packet to send [05:37:43]OFD Sender: No OFD packet to send [05:37:48]OFD Sender: No OFD packet to send [05:37:53]OFD Sender: No OFD packet to send [05:37:58]OFD Sender: No OFD packet to send [05:38:03]OFD Sender: No OFD packet to send [05:38:08]OFD Sender: No OFD packet to send [05:38:13]OFD Sender: No OFD packet to send [05:38:18]OFD Sender: No OFD packet to send [05:38:23]OFD Sender: No OFD packet to send [05:38:28]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:54]OFD Sender: No OFD packet to send [05:47:59]OFD Sender: No OFD packet to send [05:48:04]OFD Sender: No OFD packet to send [05:48:09]OFD Sender: No OFD packet to send [05:48:14]OFD Sender: No OFD packet to send [05:48:19]OFD Sender: No OFD packet to send [05:48:24]OFD Sender: No OFD packet to send [05:48:29]OFD Sender: No OFD packet to send [05:48:34]OFD Sender: No OFD packet to send [05:48:39]OFD Sender: No OFD packet to send [05:48:44]OFD Sender: No OFD packet to send [05:48:49]OFD Sender: No OFD packet to send [05:48:54]OFD Sender: No OFD packet to send [05:48:59]OFD Sender: No OFD packet to send [05:49:04]OFD Sender: No OFD packet to send [05:49:09]OFD Sender: No OFD packet to send [05:49:14]OFD Sender: No OFD packet to send [05:49:19]OFD Sender: No OFD packet to send [05:49:24]OFD Sender: No OFD packet to send [05:49:29]OFD Sender: No OFD packet to send [05:49:34]OFD Sender: No OFD packet to send [05:49:39]OFD Sender: No OFD packet to send [05:49:44]OFD Sender: No OFD packet to send [05:52:09]OFD Sender: No OFD packet to send [05:52:14]OFD Sender: No OFD packet to send [05:52:19]OFD Sender: No OFD packet to send [05:52:24]OFD Sender: No OFD packet to send [05:52:29]OFD Sender: No OFD packet to send [05:52:34]OFD Sender: No OFD packet to send [05:52:39]OFD Sender: No OFD packet to send [05:52:44]OFD Sender: No OFD packet to send [05:52:49]OFD Sender: No OFD packet to send [05:52:54]OFD Sender: No OFD packet to send [05:52:59]OFD Sender: No OFD packet to send [05:53:04]OFD Sender: No OFD packet to send [05:53:09]OFD Sender: No OFD packet to send [05:53:14]OFD Sender: No OFD packet to send [05:53:19]OFD Sender: No OFD packet to send [05:53:24]OFD Sender: No OFD packet to send [05:53:29]OFD Sender: No OFD packet to send [05:53:34]OFD Sender: No OFD packet to send [05:53:39]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:18]ConnectInit Can't connect to host [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: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:05]ConnectInit Can't connect to host [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]accept exits with 7 [06:00:19]New connection [06:00:19]New thread 3067063652 created [06:00:19]Thread 3067207012 joined [06:00:19]Waiting for new connection... [06:00:19] Sock 7.Parse request [06:00:19]Sock 7.Check first char [06:00:19]Sock 7.First char is OK [06:00:19]request: POST /json_proto HTTP/1.0 [06:00:19]Method: POST [06:00:19]URL: /json_proto [06:00:19]Method is POST - this is cgi request [06:00:19]url: /json_proto [06:00:19]query_string will be loaded in cgi processing [06:00:19]execute_cgi json_proto POST (null) [06:00:19]execute_cgi path=json_proto method=POST [06:00:19]POST find Content-Length [06:00:19]Host: 172.17.40.196:8080 [06:00:19]Content-Length: 1202 [06:00:19]Content-Type: application/json [06:00:19] [06:00:19]POST finish read [06:00:19]Found Content-Length = 1202 [06:00:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35223", "tax_sys" : 0, "items" : [ { "code": "4700003150844", "name": "\u0412\u043E\u0434\u043A\u0430 \u041C\u0430\u0430\u043D\u0430\u0439 40% 0,7 \u043B", "price" : 695.00, "quantity" : 1.000, "sum" : 695.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 771.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:00:19]execute_script... [06:00:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35223", "tax_sys" : 0, "items" : [ { "code": "4700003150844", "name": "\u0412\u043E\u0434\u043A\u0430 \u041C\u0430\u0430\u043D\u0430\u0439 40% 0,7 \u043B", "price" : 695.00, "quantity" : 1.000, "sum" : 695.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 771.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:00:19]POST & json_proto [06:00:19]process_json_proto [06:00:19]json parsed OK: [06:00:19]protocol is kg_v1.0 [06:00:19]action value=close_receipt [06:00:19]process_action close_receipt [06:00:19]cmd_close_receipt [06:00:19]MH_GetDate [06:00:19]Write to MH i2c: F0 00 00 4A 08 41 [06:00:19]Write i2c OK [06:00:19]MH_I2C_Read... [06:00:19]Read from MH i2c: F0 [06:00:19]MH_I2C_Read... [06:00:19]Read from MH i2c: F0 09 00 [06:00:19]MH_I2C_Read... [06:00:19]Read from MH i2c: F0 09 00 4A 08 00 76 CB 21 67 5B 68 A1 66 DD [06:00:19]GetLastDocTimeStamp 1730260146 [06:00:19]current date 1730268022 [06:00:19]FM_GetShiftState [06:00:19]SAM_PROTO_GetShiftState [06:00:19]wFMCommunicate request_size=4 [06:00:19]MH_SAM_APDU [06:00:19]CAPDU: 80 13 01 00 [06:00:19]Write to MH i2c: E2 08 00 4B 08 80 13 01 00 00 00 00 00 D0 [06:00:19]Write i2c OK [06:00:19]MH_I2C_Read... [06:00:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:00:19]Read from MH i2c: E2 [06:00:19]MH_I2C_Read... [06:00:19]Read from MH i2c: E2 0E 00 [06:00:19]MH_I2C_Read... [06:00:19]Read from MH i2c: E2 0E 00 4B 08 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 91 [06:00:19]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [06:00:19]wFMCommunicate OK [06:00:19]SAM_PROTO_GetShiftState done [06:00:19]FM_GetShiftState done [06:00:19]opened in 1730246837 [06:00:19]opened+sec_in_day 1730333237 [06:00:19]quantity*price = 69500 [06:00:19]sum+1 = 69501 [06:00:19]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 1.000 * 69.00 = 69.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 1.000 * 7.00 = 7.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 771.00 НСП 1% : 6.82 НДС 12% : 81.87 Наличными: 771.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 6 30.10.2024 06:00 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37924 ФПД: 144035315475318 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T060022&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37924&fm=144035315475318&tin=02508201610067®Number=0000000000091684&sum=77100 0 [06:00:20]StoreToDocumentArchive [06:00:20]shift 553 fd 37924 [06:00:20]save to /storage/0553/doc_00037924 [06:00:20]save last doc name /storage/0553/doc_00037924 to /storage/kkm_last_doc_name [06:00:20]save OK [06:00:20]Clear old archive folders... [06:00:20]ProcessDocumentItem done err = 0, tmpTLVsize=517 [06:00:20]tlvbuf is 01900670 [06:00:20]SAM_PROTO_ClearQueue [06:00:20]wFMCommunicate request_size=4 [06:00:20]MH_SAM_APDU [06:00:20]CAPDU: 80 09 00 00 [06:00:20]Write to MH i2c: E2 08 00 58 08 80 09 00 00 00 00 00 00 D2 [06:00:20]Write i2c OK [06:00:20]MH_I2C_Read... [06:00:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:00:20]Read from MH i2c: E2 [06:00:20]MH_I2C_Read... [06:00:20]Read from MH i2c: E2 03 00 [06:00:20]MH_I2C_Read... [06:00:20]Read from MH i2c: E2 03 00 58 08 00 90 00 D4 [06:00:20]RAPDU: 90 00 [06:00:20]wFMCommunicate OK [06:00:20]SAM_PROTO_ClearQueue done [06:00:20]KKMCreateOFDPacket [06:00:20]OFDProtocolAddRootSTLVToBuf [06:00:20]FM_MakeSignedData [06:00:20]FM_MakeSignedData [06:00:20]SAM_PROTO_SignData [06:00:20]wFMCommunicate request_size=4 [06:00:20]MH_SAM_APDU [06:00:20]CAPDU: 80 0D 01 02 [06:00:20]Write to MH i2c: E2 08 00 59 08 80 0D 01 02 00 00 00 00 DA [06:00:20]Write i2c OK [06:00:20]MH_I2C_Read... [06:00:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:00:20]Read from MH i2c: E2 [06:00:20]MH_I2C_Read... [06:00:20]Read from MH i2c: E2 03 00 [06:00:20]MH_I2C_Read... [06:00:20]Read from MH i2c: E2 03 00 59 08 00 90 00 D5 [06:00:20]RAPDU: 90 00 [06:00:20]wFMCommunicate OK [06:00:20]wFMCommunicate request_size=255 [06:00:20]MH_SAM_APDU [06:00:20]CAPDU: 80 0D 02 02 FA 03 00 05 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 38 34 34 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9C D0 B0 D0 B0 D0 BD D0 B0 D0 B9 20 34 30 25 20 30 2C 37 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 0F 01 00 00 00 13 04 06 00 7C 0F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 [06:00:20]Write to MH i2c: E2 02 01 5A 08 80 0D 02 02 FA 00 03 00 05 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 38 34 34 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9C D0 B0 D0 B0 D0 BD D0 B0 D0 B9 20 34 30 25 20 30 2C 37 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 0F 01 00 00 00 13 04 06 00 7C 0F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 00 00 5A [06:00:20]Write i2c OK [06:00:20]MH_I2C_Read... [06:00:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:00:21]Read from MH i2c: E2 [06:00:21]MH_I2C_Read... [06:00:21]Read from MH i2c: E2 03 00 [06:00:21]MH_I2C_Read... [06:00:21]Read from MH i2c: E2 03 00 5A 08 00 90 00 D6 [06:00:21]RAPDU: 90 00 [06:00:21]wFMCommunicate OK [06:00:21]wFMCommunicate request_size=255 [06:00:21]MH_SAM_APDU [06:00:21]CAPDU: 80 0D 02 02 FA 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 2D 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 1F 00 00 00 00 07 04 06 00 2C 2D 01 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 76 CB 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 [06:00:21]Write to MH i2c: E2 02 01 5B 08 80 0D 02 02 FA 00 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 2D 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 1F 00 00 00 00 07 04 06 00 2C 2D 01 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 76 CB 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 00 00 F9 [06:00:21]Write i2c OK [06:00:21]MH_I2C_Read... [06:00:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:00:21]Read from MH i2c: E2 [06:00:21]MH_I2C_Read... [06:00:21]Read from MH i2c: E2 03 00 [06:00:21]MH_I2C_Read... [06:00:21]Read from MH i2c: E2 03 00 5B 08 00 90 00 D7 [06:00:21]RAPDU: 90 00 [06:00:21]wFMCommunicate OK [06:00:21]wFMCommunicate request_size=26 [06:00:21]MH_SAM_APDU [06:00:21]CAPDU: 80 0D 02 02 15 38 34 31 10 04 04 00 24 94 00 00 35 04 06 00 82 FF D5 D0 63 76 [06:00:21]Write to MH i2c: E2 1D 00 5C 08 80 0D 02 02 15 00 38 34 31 10 04 04 00 24 94 00 00 35 04 06 00 82 FF D5 D0 63 76 00 00 B3 [06:00:21]Write i2c OK [06:00:21]MH_I2C_Read... [06:00:21]Read from MH i2c: E2 [06:00:21]MH_I2C_Read... [06:00:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:00:21]Read from MH i2c: E2 03 00 [06:00:21]MH_I2C_Read... [06:00:21]Read from MH i2c: E2 03 00 5C 08 00 90 00 D8 [06:00:21]RAPDU: 90 00 [06:00:21]wFMCommunicate OK [06:00:21]wFMCommunicate request_size=4 [06:00:21]MH_SAM_APDU [06:00:21]CAPDU: 80 0D 03 02 [06:00:21]Write to MH i2c: E2 08 00 5D 08 80 0D 03 02 00 00 00 00 E0 [06:00:21]Write i2c OK [06:00:21]MH_I2C_Read... [06:00:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:00:21]Read from MH i2c: E2 [06:00:21]MH_I2C_Read... [06:00:21]Read from MH i2c: E2 0B 00 [06:00:21]MH_I2C_Read... [06:00:21]Read from MH i2c: E2 0B 00 5D 08 00 AC CE 57 38 04 78 B3 59 90 00 72 [06:00:21]RAPDU: AC CE 57 38 04 78 B3 59 90 00 [06:00:21]wFMCommunicate OK [06:00:21]SAM_PROTO_SignData done [06:00:21]FM_MakeSignedData done [06:00:21]CreateOFDProtocolMessage [06:00:21]wFMCommunicate request_size=4 [06:00:21]MH_SAM_APDU [06:00:21]CAPDU: 80 11 00 00 [06:00:21]Write to MH i2c: E2 08 00 5E 08 80 11 00 00 00 00 00 00 E0 [06:00:21]Write i2c OK [06:00:21]MH_I2C_Read... [06:00:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:00:21]Read from MH i2c: E2 [06:00:21]MH_I2C_Read... [06:00:21]Read from MH i2c: E2 17 00 [06:00:21]MH_I2C_Read... [06:00:21]Read from MH i2c: E2 17 00 5E 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 30 [06:00:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:00:21]wFMCommunicate OK [06:00:21]CreateOFDProtocolMessage done [06:00:21]OFDSenderStorePacket 37924 [06:00:21]StoreOFDPacket docnum=37924 [06:00:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 19 02 00 00 B4 29 11 02 BA 07 5A 03 01 00 03 00 05 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 38 34 34 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9C D0 B0 D0 B0 D0 BD D0 B0 D0 B9 20 34 30 25 20 30 2C 37 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 0F 01 00 00 00 13 04 06 00 7C 0F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 2D 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 1F 00 00 00 00 07 04 06 00 2C 2D 01 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 76 CB 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 24 94 00 00 35 04 06 00 82 FF D5 D0 63 76 AC CE 57 38 04 78 B3 59 [06:00:21]CheckFolder [06:00:21]dirname=/storage/ofd_packets [06:00:21]CheckFolder done [06:00:21]ProducePacketName [06:00:21]name=ofd_packets/00037924 [06:00:21]NVStorageSaveData ofd_packets/00037924 [06:00:21]File name is /storage/ofd_packets/00037924 [06:00:21]Write 567 bytes [06:00:21]NVStorageSaveData done [06:00:21]OFDSenderStorePacket done [06:00:21]KKMCreateOFDPacket done [06:00:21]NVStorageSaveData kkm_last_timestamp [06:00:21]File name is /storage/kkm_last_timestamp [06:00:21]Write 4 bytes [06:00:21]NVStorageSaveData done [06:00:21]ExternCall_PrintAddStr [06:00:21]wPrintStart [06:00:21]Write to MH i2c: 01 00 00 5F 08 67 [06:00:21]Write i2c OK [06:00:21]MH_I2C_Read... [06:00:21]Read from MH i2c: 01 [06:00:21]MH_I2C_Read... [06:00:21]Read from MH i2c: 01 07 00 [06:00:21]MH_I2C_Read... [06:00:21]Read from MH i2c: 01 07 00 5F 08 00 00 00 00 00 FF 0F 7C [06:00:21]RasterBufferAndPrint [06:00:21]line Счет N : (3)35223 [06:00:21]line ИНН: 02508201610067 [06:00:21]line Контрольно-Кассовый Чек [06:00:21]line ПРОДАЖА [06:00:21]line Товар: 4700003150844 [06:00:21]line Водка Маанай 40% 0,7 л [06:00:21]line 1.000 * 695.00 [06:00:21]line = 695.00 [06:00:21]line НДС 12% НСП 1% [06:00:21]line > о реализуемом товаре [06:00:21]line Товар: 4600682557456 [06:00:21]line Напиток FLash up energy эн ж/б 0,5/0,45л [06:00:21]line 1.000 * 69.00 [06:00:21]line = 69.00 [06:00:21]line НДС 12% НСП 1% [06:00:21]line > о реализуемом товаре [06:00:21]line Товар: 2000053020015 [06:00:21]line Бумажные стаканы 250мл 1шт [06:00:21]line 1.000 * 7.00 [06:00:21]line = 7.00 [06:00:21]line НДС 12% НСП 1% [06:00:21]line > о реализуемом товаре [06:00:21]line ИТОГО: 771.00 [06:00:21]line НСП 1% : 6.82 [06:00:21]line НДС 12% : 81.87 [06:00:21]line Наличными: 771.00 [06:00:21]line Безнал.: 0.00 [06:00:21]line Место: АЗС № 126 "Партнер Нефть" [06:00:21]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [06:00:21]line СНО: Общий режим [06:00:21]line Чек 6 30.10.2024 06:00 [06:00:21]line Смена: 553 ФФД: 1.0 [06:00:21]line ЗНМ: 0300000092 [06:00:21]line РНМ: 0000000000091684 [06:00:21]line Версия ККМ: 001 [06:00:21]line ФМ: 0000000000871841 [06:00:21]line ФД: 37924 [06:00:21]line ФПД: 144035315475318 [06:00:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T060022&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37924&fm=144035315475318&tin=02508201610067®Number=0000000000091684&sum=77100 [06:00:21]line 0 [06:00:21]OFD Sender: Processing packet 37924 [packets to send 42, broken 41] [06:00:21]ProducePacketName [06:00:21]name=ofd_packets/00037924 [06:00:21]OFD Sender: To server: pG, [06:00:21]CommunicateWithHost lk.salyk.kg:30040 [06:00:21]ConnectInit lk.salyk.kg [06:00:21]written 0, free lines is 4095 [06:00:22]Connected sock=11 [06:00:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 19 02 00 00 B4 29 11 02 BA 07 5A 03 01 00 03 00 05 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 38 34 34 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9C D0 B0 D0 B0 D0 BD D0 B0 D0 B9 20 34 30 25 20 30 2C 37 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 0F 01 00 00 00 13 04 06 00 7C 0F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 2D 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 1F 00 00 00 00 07 04 06 00 2C 2D 01 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 76 CB 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 24 94 00 00 35 04 06 00 82 FF D5 D0 63 76 AC CE 57 38 04 78 B3 59 [06:00:22]Write to MH i2c: 01 00 00 95 08 9D [06:00:22]Write i2c OK [06:00:22]MH_I2C_Read... [06:00:22]Read from MH i2c: 01 [06:00:22]MH_I2C_Read... [06:00:22]Read from MH i2c: 01 07 00 [06:00:22]MH_I2C_Read... [06:00:22]Read from MH i2c: 01 07 00 95 08 00 00 00 00 00 E8 0B 97 [06:00:22]RasterBufferAndPrint [06:00:22]line [06:00:22]line [06:00:22]line [06:00:22]line [06:00:22]line [06:00:22]written 0, free lines is 3054 [06:00:22]MH_Cut [06:00:22]Write to MH i2c: D1 01 00 9C 08 01 76 [06:00:22]Write i2c OK [06:00:22]MH_I2C_Read... [06:00:22]Read from MH i2c: D1 [06:00:22]MH_I2C_Read... [06:00:22]Read from MH i2c: D1 01 00 [06:00:22]MH_I2C_Read... [06:00:22]Read from MH i2c: D1 01 00 9C 08 00 75 [06:00:22]Write to MH i2c: 01 00 00 9D 08 A5 [06:00:22]Write i2c OK [06:00:22]MH_I2C_Read... [06:00:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 6D F4 47 00 DA 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 24 94 00 00 F4 03 04 00 66 76 21 67 B6 04 01 00 00 24 62 11 60 23 46 5D 32 [06:00:22]CommunicateWithHost err = 0 [06:00:22]CheckOFDResponse [06:00:22]1017 (14) - 77093643461234 [06:00:22]1041 (16) - 0000000000871841 [06:00:22]1040 (4) - 37924 [06:00:22]1012 (4) - 29.10.2024 23:57 [06:00:22]1206 (1) - 0 [06:00:22]OFD Sender: Remove packet 37924 [06:00:22]ProducePacketName [06:00:22]name=ofd_packets/00037924 [06:00:22]NVStorageDeleteData [06:00:23]OFD Sender: No OFD packet to send [06:00:23]*** Cut start [06:00:23]*** Partial cut [06:00:23]*** CUTSNS_PIN = 1 [06:00:23]*** CUTSNS_PIN = 0 [06:00:23]*** Brake cut motor [06:00:24]Read from MH i2c: 01 [06:00:24]MH_I2C_Read... [06:00:24]*** Stop cut motor [06:00:24]*** Cut end [06:00:24]Read from MH i2c: 01 07 00 [06:00:24]MH_I2C_Read... [06:00:24]Read from MH i2c: 01 07 00 9D 08 00 00 00 00 00 FF 0F BA [06:00:24]process_action close_receipt done [06:00:24]requested_data is exist [06:00:24]produce_requested_data [06:00:24]requested_item fm.sn is exist - process it [06:00:24]wFMCommunicate request_size=4 [06:00:24]MH_SAM_APDU [06:00:24]CAPDU: 80 11 00 00 [06:00:24]Write to MH i2c: E2 08 00 9E 08 80 11 00 00 00 00 00 00 20 [06:00:24]Write i2c OK [06:00:24]MH_I2C_Read... [06:00:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:00:24]Read from MH i2c: E2 [06:00:24]MH_I2C_Read... [06:00:24]Read from MH i2c: E2 17 00 [06:00:24]MH_I2C_Read... [06:00:24]Read from MH i2c: E2 17 00 9E 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 70 [06:00:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:00:24]wFMCommunicate OK [06:00:24]requested_item fd.num is exist - process it [06:00:24]SAM_PROTO_GetFieldsCounters [06:00:24]wFMCommunicate request_size=4 [06:00:24]MH_SAM_APDU [06:00:24]CAPDU: 80 13 00 00 [06:00:24]Write to MH i2c: E2 08 00 9F 08 80 13 00 00 00 00 00 00 23 [06:00:24]Write i2c OK [06:00:24]MH_I2C_Read... [06:00:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:00:24]Read from MH i2c: E2 [06:00:24]MH_I2C_Read... [06:00:24]Read from MH i2c: E2 62 00 [06:00:24]MH_I2C_Read... [06:00:24]Read from MH i2c: E2 62 00 9F 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 24 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 39 [06:00:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 24 94 00 00 0E 04 04 00 29 02 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 [06:00:24]wFMCommunicate OK [06:00:24]SAM_PROTO_GetFieldsCounters done [06:00:24]requested_item shift.num is exist - process it [06:00:24]requested_item shift.opened is exist - process it [06:00:24]req_shift_opened [06:00:24]FM_GetShiftState [06:00:24]SAM_PROTO_GetShiftState [06:00:24]wFMCommunicate request_size=4 [06:00:24]MH_SAM_APDU [06:00:24]CAPDU: 80 13 01 00 [06:00:24]Write to MH i2c: E2 08 00 A0 08 80 13 01 00 00 00 00 00 25 [06:00:24]Write i2c OK [06:00:24]MH_I2C_Read... [06:00:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:00:24]Read from MH i2c: E2 [06:00:24]MH_I2C_Read... [06:00:24]Read from MH i2c: E2 0E 00 [06:00:24]MH_I2C_Read... [06:00:24]Read from MH i2c: E2 0E 00 A0 08 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 E6 [06:00:24]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [06:00:24]wFMCommunicate OK [06:00:24]SAM_PROTO_GetShiftState done [06:00:24]FM_GetShiftState done [06:00:24]req_shift_opened done [06:00:24]requested_item shift.open_date is exist - process it [06:00:24]req_shift_open_date [06:00:24]req_shift_open_date done [06:00:24]produce_requested_data done [06:00:24]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37924,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [06:00:24]process_action_free close_receipt [06:00:24]json_value_free [06:00:24]json_value_free done [06:00:24]process_json_proto returns [06:00:24]Send response to host [06:00:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37924,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [06:00:24]free response buf [06:00:24]execute_script done [06:00:24]execute_script returns [06:00:24]free content buf [06:00:24]Sock 7.Close socket [06:00:24]Sock 7.Thread stoped [06:00:28]OFD Sender: No OFD packet to send [06:00:33]OFD Sender: No OFD packet to send [06:00:38]OFD Sender: No OFD packet to send [06:00:43]OFD Sender: No OFD packet to send [06:00:48]OFD Sender: No OFD packet to send [06:00:53]OFD Sender: No OFD packet to send [06:00:58]OFD Sender: No OFD packet to send [06:01:03]OFD Sender: No OFD packet to send [06:01:08]OFD Sender: No OFD packet to send [06:01:13]OFD Sender: No OFD packet to send [06:01:18]OFD Sender: No OFD packet to send [06:01:23]OFD Sender: No OFD packet to send [06:01:28]OFD Sender: No OFD packet to send [06:01:33]OFD Sender: No OFD packet to send [06:01:38]OFD Sender: No OFD packet to send [06:01:43]OFD Sender: No OFD packet to send [06:01:48]OFD Sender: No OFD packet to send [06:01:53]OFD Sender: No OFD packet to send [06:01:58]OFD Sender: No OFD packet to send [06:02:03]OFD Sender: No OFD packet to send [06:02:08]OFD Sender: No OFD packet to send [06:02:13]OFD Sender: No OFD packet to send [06:02:18]OFD Sender: No OFD packet to send [06:02:23]OFD Sender: No OFD packet to send [06:02:28]OFD Sender: No OFD packet to send [06:02:33]OFD Sender: No OFD packet to send [06:02:38]OFD Sender: No OFD packet to send [06:02:43]OFD Sender: No OFD packet to send [06:02:48]OFD Sender: No OFD packet to send [06:02:53]OFD Sender: No OFD packet to send [06:02:58]OFD Sender: No OFD packet to send [06:03:03]OFD Sender: No OFD packet to send [06:03:08]OFD Sender: No OFD packet to send [06:03:13]OFD Sender: No OFD packet to send [06:03:18]OFD Sender: No OFD packet to send [06:03:23]OFD Sender: No OFD packet to send [06:03:28]OFD Sender: No OFD packet to send [06:03:33]OFD Sender: No OFD packet to send [06:03:38]OFD Sender: No OFD packet to send [06:03:43]OFD Sender: No OFD packet to send [06:03:48]OFD Sender: No OFD packet to send [06:03:53]OFD Sender: No OFD packet to send [06:03:58]OFD Sender: No OFD packet to send [06:04:03]OFD Sender: No OFD packet to send [06:04:08]OFD Sender: No OFD packet to send [06:04:13]OFD Sender: No OFD packet to send [06:04:18]OFD Sender: No OFD packet to send [06:04:23]OFD Sender: No OFD packet to send [06:04:28]OFD Sender: No OFD packet to send [06:04:33]OFD Sender: No OFD packet to send [06:04:38]OFD Sender: No OFD packet to send [06:04:43]OFD Sender: No OFD packet to send [06:04:48]OFD Sender: No OFD packet to send [06:04:53]OFD Sender: No OFD packet to send [06:04:58]OFD Sender: No OFD packet to send [06:05:03]OFD Sender: No OFD packet to send [06:05:08]OFD Sender: No OFD packet to send [06:05:13]OFD Sender: No OFD packet to send [06:05:18]OFD Sender: No OFD packet to send [06:05:23]OFD Sender: No OFD packet to send [06:05:28]OFD Sender: No OFD packet to send [06:05:33]OFD Sender: No OFD packet to send [06:05:38]OFD Sender: No OFD packet to send [06:05:43]OFD Sender: No OFD packet to send [06:05:48]OFD Sender: No OFD packet to send [06:05:53]OFD Sender: No OFD packet to send [06:05:58]OFD Sender: No OFD packet to send [06:06:03]OFD Sender: No OFD packet to send [06:06:08]OFD Sender: No OFD packet to send [06:06:13]OFD Sender: No OFD packet to send [06:06:18]OFD Sender: No OFD packet to send [06:06:23]OFD Sender: No OFD packet to send [06:06:28]OFD Sender: No OFD packet to send [06:06:33]OFD Sender: No OFD packet to send [06:06:38]OFD Sender: No OFD packet to send [06:06:43]OFD Sender: No OFD packet to send [06:06:48]OFD Sender: No OFD packet to send [06:06:53]OFD Sender: No OFD packet to send [06:06:58]OFD Sender: No OFD packet to send [06:07:03]OFD Sender: No OFD packet to send [06:07:08]OFD Sender: No OFD packet to send [06:07:13]OFD Sender: No OFD packet to send [06:07:18]OFD Sender: No OFD packet to send [06:07:23]OFD Sender: No OFD packet to send [06:07:28]OFD Sender: No OFD packet to send [06:07:33]OFD Sender: No OFD packet to send [06:07:38]OFD Sender: No OFD packet to send [06:07:43]OFD Sender: No OFD packet to send [06:07:48]OFD Sender: No OFD packet to send [06:07:53]OFD Sender: No OFD packet to send [06:07:58]OFD Sender: No OFD packet to send [06:08:03]OFD Sender: No OFD packet to send [06:08:08]OFD Sender: No OFD packet to send [06:08:13]OFD Sender: No OFD packet to send [06:08:18]OFD Sender: No OFD packet to send [06:08:23]OFD Sender: No OFD packet to send [06:08:28]OFD Sender: No OFD packet to send [06:08:33]OFD Sender: No OFD packet to send [06:08:38]OFD Sender: No OFD packet to send [06:08:43]OFD Sender: No OFD packet to send [06:08:48]OFD Sender: No OFD packet to send [06:08:53]OFD Sender: No OFD packet to send [06:08:58]OFD Sender: No OFD packet to send [06:09:03]OFD Sender: No OFD packet to send [06:09:08]OFD Sender: No OFD packet to send [06:09:13]OFD Sender: No OFD packet to send [06:09:18]OFD Sender: No OFD packet to send [06:09:23]OFD Sender: No OFD packet to send [06:09:28]OFD Sender: No OFD packet to send [06:09:33]OFD Sender: No OFD packet to send [06:09:38]OFD Sender: No OFD packet to send [06:09:43]OFD Sender: No OFD packet to send [06:09:48]OFD Sender: No OFD packet to send [06:09:53]OFD Sender: No OFD packet to send [06:09:58]OFD Sender: No OFD packet to send [06:10:03]OFD Sender: No OFD packet to send [06:10:08]OFD Sender: No OFD packet to send [06:10:13]OFD Sender: No OFD packet to send [06:10:18]OFD Sender: No OFD packet to send [06:10:23]OFD Sender: No OFD packet to send [06:10:28]OFD Sender: No OFD packet to send [06:10:33]OFD Sender: No OFD packet to send [06:10:38]OFD Sender: No OFD packet to send [06:10:43]OFD Sender: No OFD packet to send [06:10:48]OFD Sender: No OFD packet to send [06:10:53]OFD Sender: No OFD packet to send [06:10:58]OFD Sender: No OFD packet to send [06:11:03]OFD Sender: No OFD packet to send [06:11:08]OFD Sender: No OFD packet to send [06:11:13]OFD Sender: No OFD packet to send [06:11:18]OFD Sender: No OFD packet to send [06:11:23]OFD Sender: No OFD packet to send [06:11:28]OFD Sender: No OFD packet to send [06:11:33]OFD Sender: No OFD packet to send [06:11:38]OFD Sender: No OFD packet to send [06:11:43]OFD Sender: No OFD packet to send [06:11:48]OFD Sender: No OFD packet to send [06:11:53]OFD Sender: No OFD packet to send [06:11:58]OFD Sender: No OFD packet to send [06:12:03]OFD Sender: No OFD packet to send [06:12:08]OFD Sender: No OFD packet to send [06:12:13]OFD Sender: No OFD packet to send [06:12:18]OFD Sender: No OFD packet to send [06:12:23]OFD Sender: No OFD packet to send [06:12:28]OFD Sender: No OFD packet to send [06:12:33]OFD Sender: No OFD packet to send [06:12:38]OFD Sender: No OFD packet to send [06:12:43]OFD Sender: No OFD packet to send [06:12:48]OFD Sender: No OFD packet to send [06:12:53]OFD Sender: No OFD packet to send [06:12:58]OFD Sender: No OFD packet to send [06:13:03]OFD Sender: No OFD packet to send [06:13:08]OFD Sender: No OFD packet to send [06:13:13]OFD Sender: No OFD packet to send [06:13:18]OFD Sender: No OFD packet to send [06:13:23]OFD Sender: No OFD packet to send [06:13:28]OFD Sender: No OFD packet to send [06:13:33]OFD Sender: No OFD packet to send [06:13:38]OFD Sender: No OFD packet to send [06:13:43]OFD Sender: No OFD packet to send [06:13:48]OFD Sender: No OFD packet to send [06:13:53]OFD Sender: No OFD packet to send [06:13:58]OFD Sender: No OFD packet to send [06:13:59]accept exits with 9 [06:13:59]New connection [06:13:59]New thread 3067207012 created [06:13:59]Thread 3067063652 joined [06:13:59]Waiting for new connection... [06:13:59] Sock 9.Parse request [06:13:59]Sock 9.Check first char [06:13:59]Sock 9.First char is OK [06:13:59]request: POST /json_proto HTTP/1.0 [06:13:59]Method: POST [06:13:59]URL: /json_proto [06:13:59]Method is POST - this is cgi request [06:13:59]url: /json_proto [06:13:59]query_string will be loaded in cgi processing [06:13:59]execute_cgi json_proto POST (null) [06:13:59]execute_cgi path=json_proto method=POST [06:13:59]POST find Content-Length [06:13:59]Host: 172.17.40.196:8080 [06:13:59]Content-Length: 613 [06:13:59]Content-Type: application/json [06:13:59] [06:13:59]POST finish read [06:13:59]Found Content-Length = 613 [06:13:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35224", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:13:59]execute_script... [06:13:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35224", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:13:59]POST & json_proto [06:13:59]process_json_proto [06:13:59]json parsed OK: [06:13:59]protocol is kg_v1.0 [06:13:59]action value=close_receipt [06:13:59]process_action close_receipt [06:13:59]cmd_close_receipt [06:13:59]MH_GetDate [06:13:59]Write to MH i2c: F0 00 00 A1 08 98 [06:13:59]Write i2c OK [06:13:59]MH_I2C_Read... [06:13:59]Read from MH i2c: F0 [06:13:59]MH_I2C_Read... [06:13:59]Read from MH i2c: F0 09 00 [06:13:59]MH_I2C_Read... [06:13:59]Read from MH i2c: F0 09 00 A1 08 00 AA CE 21 67 5B 68 A1 66 6B [06:13:59]GetLastDocTimeStamp 1730268022 [06:13:59]current date 1730268842 [06:13:59]FM_GetShiftState [06:13:59]SAM_PROTO_GetShiftState [06:13:59]wFMCommunicate request_size=4 [06:13:59]MH_SAM_APDU [06:13:59]CAPDU: 80 13 01 00 [06:13:59]Write to MH i2c: E2 08 00 A2 08 80 13 01 00 00 00 00 00 27 [06:13:59]Write i2c OK [06:13:59]MH_I2C_Read... [06:13:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:13:59]Read from MH i2c: E2 [06:13:59]MH_I2C_Read... [06:13:59]Read from MH i2c: E2 0E 00 [06:13:59]MH_I2C_Read... [06:13:59]Read from MH i2c: E2 0E 00 A2 08 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 E8 [06:13:59]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [06:13:59]wFMCommunicate OK [06:13:59]SAM_PROTO_GetShiftState done [06:13:59]FM_GetShiftState done [06:13:59]opened in 1730246837 [06:13:59]opened+sec_in_day 1730333237 [06:13:59]quantity*price = 11900 [06:13:59]sum+1 = 11901 [06:13:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 119.00 НСП 1% : 1.05 НДС 12% : 12.64 Наличными: 119.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 7 30.10.2024 06:14 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37925 ФПД: 220947700128151 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T061402&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37925&fm=220947700128151&tin=02508201610067®Number=0000000000091684&sum=11900 0 [06:14:01]StoreToDocumentArchive [06:14:01]shift 553 fd 37925 [06:14:01]save to /storage/0553/doc_00037925 [06:14:01]save last doc name /storage/0553/doc_00037925 to /storage/kkm_last_doc_name [06:14:01]save OK [06:14:01]Clear old archive folders... [06:14:01]ProcessDocumentItem done err = 0, tmpTLVsize=266 [06:14:01]tlvbuf is 019C7120 [06:14:01]SAM_PROTO_ClearQueue [06:14:01]wFMCommunicate request_size=4 [06:14:01]MH_SAM_APDU [06:14:01]CAPDU: 80 09 00 00 [06:14:01]Write to MH i2c: E2 08 00 AF 08 80 09 00 00 00 00 00 00 29 [06:14:01]Write i2c OK [06:14:01]MH_I2C_Read... [06:14:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:14:01]Read from MH i2c: E2 [06:14:01]MH_I2C_Read... [06:14:01]Read from MH i2c: E2 03 00 [06:14:01]MH_I2C_Read... [06:14:01]Read from MH i2c: E2 03 00 AF 08 00 90 00 2B [06:14:01]RAPDU: 90 00 [06:14:01]wFMCommunicate OK [06:14:01]SAM_PROTO_ClearQueue done [06:14:01]KKMCreateOFDPacket [06:14:01]OFDProtocolAddRootSTLVToBuf [06:14:01]FM_MakeSignedData [06:14:01]FM_MakeSignedData [06:14:01]SAM_PROTO_SignData [06:14:01]wFMCommunicate request_size=4 [06:14:01]MH_SAM_APDU [06:14:01]CAPDU: 80 0D 01 02 [06:14:01]Write to MH i2c: E2 08 00 B0 08 80 0D 01 02 00 00 00 00 31 [06:14:01]Write i2c OK [06:14:01]MH_I2C_Read... [06:14:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:14:01]Read from MH i2c: E2 [06:14:01]MH_I2C_Read... [06:14:01]Read from MH i2c: E2 03 00 [06:14:01]MH_I2C_Read... [06:14:01]Read from MH i2c: E2 03 00 B0 08 00 90 00 2C [06:14:01]RAPDU: 90 00 [06:14:01]wFMCommunicate OK [06:14:01]wFMCommunicate request_size=255 [06:14:01]MH_SAM_APDU [06:14:01]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 AA CE 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 [06:14:01]Write to MH i2c: E2 02 01 B1 08 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 AA CE 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 00 00 65 [06:14:01]Write i2c OK [06:14:01]MH_I2C_Read... [06:14:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:14:01]Read from MH i2c: E2 [06:14:01]MH_I2C_Read... [06:14:01]Read from MH i2c: E2 03 00 [06:14:01]MH_I2C_Read... [06:14:01]Read from MH i2c: E2 03 00 B1 08 00 90 00 2D [06:14:01]RAPDU: 90 00 [06:14:01]wFMCommunicate OK [06:14:01]wFMCommunicate request_size=25 [06:14:01]MH_SAM_APDU [06:14:01]CAPDU: 80 0D 02 02 14 34 31 10 04 04 00 25 94 00 00 35 04 06 00 C8 F3 65 2E 19 97 [06:14:01]Write to MH i2c: E2 1C 00 B2 08 80 0D 02 02 14 00 34 31 10 04 04 00 25 94 00 00 35 04 06 00 C8 F3 65 2E 19 97 00 00 CF [06:14:01]Write i2c OK [06:14:01]MH_I2C_Read... [06:14:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:14:01]Read from MH i2c: E2 [06:14:01]MH_I2C_Read... [06:14:01]Read from MH i2c: E2 03 00 [06:14:01]MH_I2C_Read... [06:14:01]Read from MH i2c: E2 03 00 B2 08 00 90 00 2E [06:14:01]RAPDU: 90 00 [06:14:01]wFMCommunicate OK [06:14:01]wFMCommunicate request_size=4 [06:14:01]MH_SAM_APDU [06:14:01]CAPDU: 80 0D 03 02 [06:14:01]Write to MH i2c: E2 08 00 B3 08 80 0D 03 02 00 00 00 00 36 [06:14:01]Write i2c OK [06:14:01]MH_I2C_Read... [06:14:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:14:01]Read from MH i2c: E2 [06:14:01]MH_I2C_Read... [06:14:01]Read from MH i2c: E2 0B 00 [06:14:01]MH_I2C_Read... [06:14:01]Read from MH i2c: E2 0B 00 B3 08 00 EC FB FC 60 2E 9E 30 1C 90 00 92 [06:14:01]RAPDU: EC FB FC 60 2E 9E 30 1C 90 00 [06:14:01]wFMCommunicate OK [06:14:01]SAM_PROTO_SignData done [06:14:01]FM_MakeSignedData done [06:14:01]CreateOFDProtocolMessage [06:14:01]wFMCommunicate request_size=4 [06:14:01]MH_SAM_APDU [06:14:01]CAPDU: 80 11 00 00 [06:14:01]Write to MH i2c: E2 08 00 B4 08 80 11 00 00 00 00 00 00 36 [06:14:01]Write i2c OK [06:14:01]MH_I2C_Read... [06:14:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:14:01]Read from MH i2c: E2 [06:14:01]MH_I2C_Read... [06:14:01]Read from MH i2c: E2 17 00 [06:14:01]MH_I2C_Read... [06:14:01]Read from MH i2c: E2 17 00 B4 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 86 [06:14:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:14:01]wFMCommunicate OK [06:14:01]CreateOFDProtocolMessage done [06:14:01]OFDSenderStorePacket 37925 [06:14:01]StoreOFDPacket docnum=37925 [06:14:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1E 01 00 00 13 37 16 01 DF F6 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 AA CE 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 25 94 00 00 35 04 06 00 C8 F3 65 2E 19 97 EC FB FC 60 2E 9E 30 1C [06:14:01]CheckFolder [06:14:01]dirname=/storage/ofd_packets [06:14:01]CheckFolder done [06:14:01]ProducePacketName [06:14:01]name=ofd_packets/00037925 [06:14:01]NVStorageSaveData ofd_packets/00037925 [06:14:01]File name is /storage/ofd_packets/00037925 [06:14:01]Write 316 bytes [06:14:01]NVStorageSaveData done [06:14:01]OFDSenderStorePacket done [06:14:01]KKMCreateOFDPacket done [06:14:01]NVStorageSaveData kkm_last_timestamp [06:14:01]File name is /storage/kkm_last_timestamp [06:14:01]Write 4 bytes [06:14:01]NVStorageSaveData done [06:14:01]ExternCall_PrintAddStr [06:14:01]wPrintStart [06:14:01]Write to MH i2c: 01 00 00 B5 08 BD [06:14:01]Write i2c OK [06:14:01]MH_I2C_Read... [06:14:01]Read from MH i2c: 01 [06:14:01]MH_I2C_Read... [06:14:01]Read from MH i2c: 01 07 00 [06:14:01]MH_I2C_Read... [06:14:01]Read from MH i2c: 01 07 00 B5 08 00 00 00 00 00 FF 0F D2 [06:14:01]RasterBufferAndPrint [06:14:01]line Счет N : (3)35224 [06:14:01]line ИНН: 02508201610067 [06:14:01]line Контрольно-Кассовый Чек [06:14:01]line ПРОДАЖА [06:14:01]line Товар: 4870001570071 [06:14:01]line Напиток Pepsi 1л [06:14:01]line 1.000 * 119.00 [06:14:01]line = 119.00 [06:14:01]line НДС 12% НСП 1% [06:14:01]line > о реализуемом товаре [06:14:01]line ИТОГО: 119.00 [06:14:01]line НСП 1% : 1.05 [06:14:01]line НДС 12% : 12.64 [06:14:01]line Наличными: 119.00 [06:14:01]line Безнал.: 0.00 [06:14:01]line Место: АЗС № 126 "Партнер Нефть" [06:14:01]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [06:14:01]line СНО: Общий режим [06:14:01]line Чек 7 30.10.2024 06:14 [06:14:01]line Смена: 553 ФФД: 1.0 [06:14:01]line ЗНМ: 0300000092 [06:14:01]line РНМ: 0000000000091684 [06:14:01]line Версия ККМ: 001 [06:14:01]line ФМ: 0000000000871841 [06:14:01]line ФД: 37925 [06:14:01]line ФПД: 220947700128151 [06:14:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T061402&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37925&fm=220947700128151&tin=02508201610067®Number=0000000000091684&sum=11900 [06:14:01]OFD Sender: Processing packet 37925 [packets to send 42, broken 41] [06:14:01]ProducePacketName [06:14:01]name=ofd_packets/00037925 [06:14:01]OFD Sender: To server: pG, [06:14:01]CommunicateWithHost lk.salyk.kg:30040 [06:14:01]ConnectInit lk.salyk.kg [06:14:01]line 0 [06:14:01]written 0, free lines is 4095 [06:14:02]Connected sock=10 [06:14:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1E 01 00 00 13 37 16 01 DF F6 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 AA CE 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 25 94 00 00 35 04 06 00 C8 F3 65 2E 19 97 EC FB FC 60 2E 9E 30 1C [06:14:02]Write to MH i2c: 01 00 00 DD 08 E5 [06:14:02]Write i2c OK [06:14:02]MH_I2C_Read... [06:14:02]Read from MH i2c: 01 [06:14:02]MH_I2C_Read... [06:14:02]Read from MH i2c: 01 07 00 [06:14:02]MH_I2C_Read... [06:14:02]Read from MH i2c: 01 07 00 DD 08 00 00 00 00 00 DB 0C D3 [06:14:02]RasterBufferAndPrint [06:14:02]line [06:14:02]line [06:14:02]line [06:14:02]line [06:14:02]line [06:14:02]written 0, free lines is 3297 [06:14:02]MH_Cut [06:14:02]Write to MH i2c: D1 01 00 E4 08 01 BE [06:14:02]Write i2c OK [06:14:02]MH_I2C_Read... [06:14:02]Read from MH i2c: D1 [06:14:02]MH_I2C_Read... [06:14:02]Read from MH i2c: D1 01 00 [06:14:02]MH_I2C_Read... [06:14:02]Read from MH i2c: D1 01 00 E4 08 00 BD [06:14:02]Write to MH i2c: 01 00 00 E5 08 ED [06:14:02]Write i2c OK [06:14:02]MH_I2C_Read... [06:14:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 D9 5D 47 00 6E 88 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 25 94 00 00 F4 03 04 00 9A 79 21 67 B6 04 01 00 00 1D A6 C4 84 FF DA BC 2D [06:14:02]CommunicateWithHost err = 0 [06:14:02]CheckOFDResponse [06:14:02]1017 (14) - 77093643461234 [06:14:02]1041 (16) - 0000000000871841 [06:14:02]1040 (4) - 37925 [06:14:02]1012 (4) - 30.10.2024 00:11 [06:14:02]1206 (1) - 0 [06:14:02]OFD Sender: Remove packet 37925 [06:14:02]ProducePacketName [06:14:02]name=ofd_packets/00037925 [06:14:02]NVStorageDeleteData [06:14:03]*** Cut start [06:14:03]*** Partial cut [06:14:03]*** CUTSNS_PIN = 1 [06:14:03]OFD Sender: No OFD packet to send [06:14:03]*** CUTSNS_PIN = 0 [06:14:03]*** Brake cut motor [06:14:03]Read from MH i2c: 01 [06:14:03]MH_I2C_Read... [06:14:03]*** Stop cut motor [06:14:03]*** Cut end [06:14:03]Read from MH i2c: 01 07 00 [06:14:03]MH_I2C_Read... [06:14:03]Read from MH i2c: 01 07 00 E5 08 00 00 00 00 00 FF 0F 02 [06:14:03]process_action close_receipt done [06:14:03]requested_data is exist [06:14:03]produce_requested_data [06:14:03]requested_item fm.sn is exist - process it [06:14:03]wFMCommunicate request_size=4 [06:14:03]MH_SAM_APDU [06:14:03]CAPDU: 80 11 00 00 [06:14:03]Write to MH i2c: E2 08 00 E6 08 80 11 00 00 00 00 00 00 68 [06:14:03]Write i2c OK [06:14:03]MH_I2C_Read... [06:14:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:14:03]Read from MH i2c: E2 [06:14:03]MH_I2C_Read... [06:14:03]Read from MH i2c: E2 17 00 [06:14:03]MH_I2C_Read... [06:14:03]Read from MH i2c: E2 17 00 E6 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B8 [06:14:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:14:03]wFMCommunicate OK [06:14:03]requested_item fd.num is exist - process it [06:14:03]SAM_PROTO_GetFieldsCounters [06:14:03]wFMCommunicate request_size=4 [06:14:03]MH_SAM_APDU [06:14:03]CAPDU: 80 13 00 00 [06:14:03]Write to MH i2c: E2 08 00 E7 08 80 13 00 00 00 00 00 00 6B [06:14:03]Write i2c OK [06:14:03]MH_I2C_Read... [06:14:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:14:03]Read from MH i2c: E2 [06:14:03]MH_I2C_Read... [06:14:03]Read from MH i2c: E2 62 00 [06:14:03]MH_I2C_Read... [06:14:03]Read from MH i2c: E2 62 00 E7 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 25 94 00 00 0E 04 04 00 29 02 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 85 [06:14:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 25 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:14:03]wFMCommunicate OK [06:14:03]SAM_PROTO_GetFieldsCounters done [06:14:03]requested_item shift.num is exist - process it [06:14:03]requested_item shift.opened is exist - process it [06:14:03]req_shift_opened [06:14:03]FM_GetShiftState [06:14:03]SAM_PROTO_GetShiftState [06:14:03]wFMCommunicate request_size=4 [06:14:03]MH_SAM_APDU [06:14:03]CAPDU: 80 13 01 00 [06:14:03]Write to MH i2c: E2 08 00 E8 08 80 13 01 00 00 00 00 00 6D [06:14:03]Write i2c OK [06:14:03]MH_I2C_Read... [06:14:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:14:04]Read from MH i2c: E2 [06:14:04]MH_I2C_Read... [06:14:04]Read from MH i2c: E2 0E 00 [06:14:04]MH_I2C_Read... [06:14:04]Read from MH i2c: E2 0E 00 E8 08 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 2E [06:14:04]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [06:14:04]wFMCommunicate OK [06:14:04]SAM_PROTO_GetShiftState done [06:14:04]FM_GetShiftState done [06:14:04]req_shift_opened done [06:14:04]requested_item shift.open_date is exist - process it [06:14:04]req_shift_open_date [06:14:04]req_shift_open_date done [06:14:04]produce_requested_data done [06:14:04]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37925,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [06:14:04]process_action_free close_receipt [06:14:04]json_value_free [06:14:04]json_value_free done [06:14:04]process_json_proto returns [06:14:04]Send response to host [06:14:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37925,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [06:14:04]free response buf [06:14:04]execute_script done [06:14:04]execute_script returns [06:14:04]free content buf [06:14:04]Sock 9.Close socket [06:14:04]Sock 9.Thread stoped [06:14:08]OFD Sender: No OFD packet to send [06:14:13]OFD Sender: No OFD packet to send [06:14:18]OFD Sender: No OFD packet to send [06:14:23]OFD Sender: No OFD packet to send [06:14:28]OFD Sender: No OFD packet to send [06:14:33]OFD Sender: No OFD packet to send [06:14:38]OFD Sender: No OFD packet to send [06:14:43]OFD Sender: No OFD packet to send [06:14:48]OFD Sender: No OFD packet to send [06:14:53]OFD Sender: No OFD packet to send [06:14:58]OFD Sender: No OFD packet to send [06:15:03]OFD Sender: No OFD packet to send [06:15:08]OFD Sender: No OFD packet to send [06:15:13]OFD Sender: No OFD packet to send [06:15:18]OFD Sender: No OFD packet to send [06:15:23]OFD Sender: No OFD packet to send [06:15:28]OFD Sender: No OFD packet to send [06:15:33]OFD Sender: No OFD packet to send [06:15:38]OFD Sender: No OFD packet to send [06:15:43]OFD Sender: No OFD packet to send [06:15:48]OFD Sender: No OFD packet to send [06:15:53]OFD Sender: No OFD packet to send [06:15:58]OFD Sender: No OFD packet to send [06:16:03]OFD Sender: No OFD packet to send [06:16:05]accept exits with 7 [06:16:05]New connection [06:16:05]New thread 3067063652 created [06:16:05]Thread 3067207012 joined [06:16:05]Waiting for new connection... [06:16:05] Sock 7.Parse request [06:16:05]Sock 7.Check first char [06:16:05]Sock 7.First char is OK [06:16:05]request: POST /json_proto HTTP/1.0 [06:16:05]Method: POST [06:16:05]URL: /json_proto [06:16:05]Method is POST - this is cgi request [06:16:05]url: /json_proto [06:16:05]query_string will be loaded in cgi processing [06:16:05]execute_cgi json_proto POST (null) [06:16:05]execute_cgi path=json_proto method=POST [06:16:05]POST find Content-Length [06:16:05]Host: 172.17.40.196:8080 [06:16:05]Content-Length: 853 [06:16:05]Content-Type: application/json [06:16:05] [06:16:05]POST finish read [06:16:05]Found Content-Length = 853 [06:16:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35225", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 304.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:16:05]execute_script... [06:16: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)35225", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 304.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:16:05]POST & json_proto [06:16:05]process_json_proto [06:16:05]json parsed OK: [06:16:05]protocol is kg_v1.0 [06:16:05]action value=close_receipt [06:16:05]process_action close_receipt [06:16:05]cmd_close_receipt [06:16:05]MH_GetDate [06:16:05]Write to MH i2c: F0 00 00 E9 08 E0 [06:16:05]Write i2c OK [06:16:05]MH_I2C_Read... [06:16:05]Read from MH i2c: F0 [06:16:05]MH_I2C_Read... [06:16:05]Read from MH i2c: F0 09 00 [06:16:05]MH_I2C_Read... [06:16:05]Read from MH i2c: F0 09 00 E9 08 00 28 CF 21 67 5B 68 A1 66 32 [06:16:05]GetLastDocTimeStamp 1730268842 [06:16:05]current date 1730268968 [06:16:05]FM_GetShiftState [06:16:05]SAM_PROTO_GetShiftState [06:16:05]wFMCommunicate request_size=4 [06:16:05]MH_SAM_APDU [06:16:05]CAPDU: 80 13 01 00 [06:16:05]Write to MH i2c: E2 08 00 EA 08 80 13 01 00 00 00 00 00 6F [06:16:05]Write i2c OK [06:16:05]MH_I2C_Read... [06:16:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:16:05]Read from MH i2c: E2 [06:16:05]MH_I2C_Read... [06:16:05]Read from MH i2c: E2 0E 00 [06:16:05]MH_I2C_Read... [06:16:05]Read from MH i2c: E2 0E 00 EA 08 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 30 [06:16:05]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [06:16:05]wFMCommunicate OK [06:16:05]SAM_PROTO_GetShiftState done [06:16:05]FM_GetShiftState done [06:16:05]opened in 1730246837 [06:16:05]opened+sec_in_day 1730333237 [06:16:05]quantity*price = 17000 [06:16:05]sum+1 = 17001 [06:16:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48744539 LD Compact Blue 1.000 * 134.00 = 134.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 304.00 НСП 1% : 2.69 НДС 12% : 32.28 Наличными: 304.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 8 30.10.2024 06:16 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37926 ФПД: 19526063520146 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T061608&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37926&fm=19526063520146&tin=02508201610067®Number=0000000000091684&sum=30400 0 [06:16:06]StoreToDocumentArchive [06:16:06]shift 553 fd 37926 [06:16:06]save to /storage/0553/doc_00037926 [06:16:06]save last doc name /storage/0553/doc_00037926 to /storage/kkm_last_doc_name [06:16:06]save OK [06:16:06]Clear old archive folders... [06:16:06]ProcessDocumentItem done err = 0, tmpTLVsize=364 [06:16:06]tlvbuf is 018F7D20 [06:16:06]SAM_PROTO_ClearQueue [06:16:06]wFMCommunicate request_size=4 [06:16:06]MH_SAM_APDU [06:16:06]CAPDU: 80 09 00 00 [06:16:06]Write to MH i2c: E2 08 00 F7 08 80 09 00 00 00 00 00 00 71 [06:16:06]Write i2c OK [06:16:06]MH_I2C_Read... [06:16:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:16:06]Read from MH i2c: E2 [06:16:06]MH_I2C_Read... [06:16:06]Read from MH i2c: E2 03 00 [06:16:06]MH_I2C_Read... [06:16:06]Read from MH i2c: E2 03 00 F7 08 00 90 00 73 [06:16:06]RAPDU: 90 00 [06:16:06]wFMCommunicate OK [06:16:06]SAM_PROTO_ClearQueue done [06:16:06]KKMCreateOFDPacket [06:16:06]OFDProtocolAddRootSTLVToBuf [06:16:06]FM_MakeSignedData [06:16:06]FM_MakeSignedData [06:16:06]SAM_PROTO_SignData [06:16:06]wFMCommunicate request_size=4 [06:16:06]MH_SAM_APDU [06:16:06]CAPDU: 80 0D 01 02 [06:16:06]Write to MH i2c: E2 08 00 F8 08 80 0D 01 02 00 00 00 00 79 [06:16:06]Write i2c OK [06:16:06]MH_I2C_Read... [06:16:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:16:06]Read from MH i2c: E2 [06:16:06]MH_I2C_Read... [06:16:06]Read from MH i2c: E2 03 00 [06:16:06]MH_I2C_Read... [06:16:06]Read from MH i2c: E2 03 00 F8 08 00 90 00 74 [06:16:06]RAPDU: 90 00 [06:16:06]wFMCommunicate OK [06:16:06]wFMCommunicate request_size=255 [06:16:06]MH_SAM_APDU [06:16:06]CAPDU: 80 0D 02 02 FA 03 00 6C 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C [06:16:06]Write to MH i2c: E2 02 01 F9 08 80 0D 02 02 FA 00 03 00 6C 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 00 00 19 [06:16:06]Write i2c OK [06:16:06]MH_I2C_Read... [06:16:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:16:06]Read from MH i2c: E2 [06:16:06]MH_I2C_Read... [06:16:06]Read from MH i2c: E2 03 00 [06:16:06]MH_I2C_Read... [06:16:06]Read from MH i2c: E2 03 00 F9 08 00 90 00 75 [06:16:06]RAPDU: 90 00 [06:16:06]wFMCommunicate OK [06:16:06]wFMCommunicate request_size=123 [06:16:06]MH_SAM_APDU [06:16:06]CAPDU: 80 0D 02 02 76 0C 00 00 00 00 07 04 06 00 C0 76 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 28 CF 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 26 94 00 00 35 04 06 00 11 C2 44 14 79 92 [06:16:06]Write to MH i2c: E2 7E 00 FA 08 80 0D 02 02 76 00 0C 00 00 00 00 07 04 06 00 C0 76 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 28 CF 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 26 94 00 00 35 04 06 00 11 C2 44 14 79 92 00 00 86 [06:16:06]Write i2c OK [06:16:06]MH_I2C_Read... [06:16:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:16:06]Read from MH i2c: E2 [06:16:06]MH_I2C_Read... [06:16:06]Read from MH i2c: E2 03 00 [06:16:06]MH_I2C_Read... [06:16:06]Read from MH i2c: E2 03 00 FA 08 00 90 00 76 [06:16:06]RAPDU: 90 00 [06:16:06]wFMCommunicate OK [06:16:06]wFMCommunicate request_size=4 [06:16:06]MH_SAM_APDU [06:16:06]CAPDU: 80 0D 03 02 [06:16:06]Write to MH i2c: E2 08 00 FB 08 80 0D 03 02 00 00 00 00 7E [06:16:06]Write i2c OK [06:16:06]MH_I2C_Read... [06:16:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:16:07]Read from MH i2c: E2 [06:16:07]MH_I2C_Read... [06:16:07]Read from MH i2c: E2 0B 00 [06:16:07]MH_I2C_Read... [06:16:07]Read from MH i2c: E2 0B 00 FB 08 00 AB 28 47 B4 B6 DD 66 7B 90 00 C1 [06:16:07]RAPDU: AB 28 47 B4 B6 DD 66 7B 90 00 [06:16:07]wFMCommunicate OK [06:16:07]SAM_PROTO_SignData done [06:16:07]FM_MakeSignedData done [06:16:07]CreateOFDProtocolMessage [06:16:07]wFMCommunicate request_size=4 [06:16:07]MH_SAM_APDU [06:16:07]CAPDU: 80 11 00 00 [06:16:07]Write to MH i2c: E2 08 00 FC 08 80 11 00 00 00 00 00 00 7E [06:16:07]Write i2c OK [06:16:07]MH_I2C_Read... [06:16:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:16:07]Read from MH i2c: E2 [06:16:07]MH_I2C_Read... [06:16:07]Read from MH i2c: E2 17 00 [06:16:07]MH_I2C_Read... [06:16:07]Read from MH i2c: E2 17 00 FC 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 CE [06:16:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:16:07]wFMCommunicate OK [06:16:07]CreateOFDProtocolMessage done [06:16:07]OFDSenderStorePacket 37926 [06:16:07]StoreOFDPacket docnum=37926 [06:16:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 80 01 00 00 AF 49 78 01 A3 99 5A 03 01 00 03 00 6C 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 0C 00 00 00 00 07 04 06 00 C0 76 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 28 CF 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 26 94 00 00 35 04 06 00 11 C2 44 14 79 92 AB 28 47 B4 B6 DD 66 7B [06:16:07]CheckFolder [06:16:07]dirname=/storage/ofd_packets [06:16:07]CheckFolder done [06:16:07]ProducePacketName [06:16:07]name=ofd_packets/00037926 [06:16:07]NVStorageSaveData ofd_packets/00037926 [06:16:07]File name is /storage/ofd_packets/00037926 [06:16:07]Write 414 bytes [06:16:07]NVStorageSaveData done [06:16:07]OFDSenderStorePacket done [06:16:07]KKMCreateOFDPacket done [06:16:07]NVStorageSaveData kkm_last_timestamp [06:16:07]File name is /storage/kkm_last_timestamp [06:16:07]Write 4 bytes [06:16:07]NVStorageSaveData done [06:16:07]ExternCall_PrintAddStr [06:16:07]wPrintStart [06:16:07]Write to MH i2c: 01 00 00 FD 08 05 [06:16:07]Write i2c OK [06:16:07]MH_I2C_Read... [06:16:07]Read from MH i2c: 01 [06:16:07]MH_I2C_Read... [06:16:07]Read from MH i2c: 01 07 00 [06:16:07]MH_I2C_Read... [06:16:07]Read from MH i2c: 01 07 00 FD 08 00 00 00 00 00 FF 0F 1A [06:16:07]RasterBufferAndPrint [06:16:07]line Счет N : (3)35225 [06:16:07]line ИНН: 02508201610067 [06:16:07]line Контрольно-Кассовый Чек [06:16:07]line ПРОДАЖА [06:16:07]line Товар: 4700000480357 [06:16:07]line Пиво шахтерское 1л ПЭТ [06:16:07]line 1.000 * 170.00 [06:16:07]line = 170.00 [06:16:07]line НДС 12% НСП 1% [06:16:07]line > о реализуемом товаре [06:16:07]line Товар: 48744539 [06:16:07]line LD Compact Blue [06:16:07]line 1.000 * 134.00 [06:16:07]line = 134.00 [06:16:07]line НДС 12% НСП 1% [06:16:07]line > о реализуемом товаре [06:16:07]line ИТОГО: 304.00 [06:16:07]line НСП 1% : 2.69 [06:16:07]line НДС 12% : 32.28 [06:16:07]line Наличными: 304.00 [06:16:07]line Безнал.: 0.00 [06:16:07]line Место: АЗС № 126 "Партнер Нефть" [06:16:07]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [06:16:07]line СНО: Общий режим [06:16:07]line Чек 8 30.10.2024 06:16 [06:16:07]line Смена: 553 ФФД: 1.0 [06:16:07]line ЗНМ: 0300000092 [06:16:07]line РНМ: 0000000000091684 [06:16:07]line Версия ККМ: 001 [06:16:07]line ФМ: 0000000000871841 [06:16:07]line ФД: 37926 [06:16:07]line ФПД: 19526063520146 [06:16:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T061608&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37926&fm=19526063520146&tin=02508201610067®Number=0000000000091684&sum=30400 [06:16:07]line 0 [06:16:07]OFD Sender: Processing packet 37926 [packets to send 42, broken 41] [06:16:07]ProducePacketName [06:16:07]name=ofd_packets/00037926 [06:16:07]OFD Sender: To server: pG, [06:16:07]CommunicateWithHost lk.salyk.kg:30040 [06:16:07]ConnectInit lk.salyk.kg [06:16:07]written 0, free lines is 4095 [06:16:07]Write to MH i2c: 01 00 00 2B 09 34 [06:16:07]Write i2c OK [06:16:07]MH_I2C_Read... [06:16:07]Read from MH i2c: 01 [06:16:07]MH_I2C_Read... [06:16:07]Read from MH i2c: 01 07 00 [06:16:07]MH_I2C_Read... [06:16:07]Read from MH i2c: 01 07 00 2B 09 00 00 00 00 00 6D 0C B4 [06:16:07]RasterBufferAndPrint [06:16:07]line [06:16:07]line [06:16:07]line [06:16:07]line [06:16:07]line [06:16:07]written 0, free lines is 3186 [06:16:07]MH_Cut [06:16:07]Write to MH i2c: D1 01 00 32 09 01 0D [06:16:07]Write i2c OK [06:16:07]MH_I2C_Read... [06:16:07]Read from MH i2c: D1 [06:16:07]MH_I2C_Read... [06:16:07]Read from MH i2c: D1 01 00 [06:16:07]MH_I2C_Read... [06:16:07]Read from MH i2c: D1 01 00 32 09 00 0C [06:16:07]Write to MH i2c: 01 00 00 33 09 3C [06:16:07]Write i2c OK [06:16:07]MH_I2C_Read... [06:16:08]*** Cut start [06:16:08]*** Partial cut [06:16:08]*** CUTSNS_PIN = 1 [06:16:08]*** CUTSNS_PIN = 0 [06:16:09]*** Brake cut motor [06:16:09]Read from MH i2c: 01 [06:16:09]MH_I2C_Read... [06:16:09]*** Stop cut motor [06:16:09]*** Cut end [06:16:09]Read from MH i2c: 01 07 00 [06:16:09]MH_I2C_Read... [06:16:09]Read from MH i2c: 01 07 00 33 09 00 00 00 00 00 FF 0F 51 [06:16:09]process_action close_receipt done [06:16:09]requested_data is exist [06:16:09]produce_requested_data [06:16:09]requested_item fm.sn is exist - process it [06:16:09]wFMCommunicate request_size=4 [06:16:09]MH_SAM_APDU [06:16:09]CAPDU: 80 11 00 00 [06:16:09]Write to MH i2c: E2 08 00 34 09 80 11 00 00 00 00 00 00 B7 [06:16:09]Write i2c OK [06:16:09]MH_I2C_Read... [06:16:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:16:09]Read from MH i2c: E2 [06:16:09]MH_I2C_Read... [06:16:09]Read from MH i2c: E2 17 00 [06:16:09]MH_I2C_Read... [06:16:09]Read from MH i2c: E2 17 00 34 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 07 [06:16:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:16:09]wFMCommunicate OK [06:16:09]requested_item fd.num is exist - process it [06:16:09]SAM_PROTO_GetFieldsCounters [06:16:09]wFMCommunicate request_size=4 [06:16:09]MH_SAM_APDU [06:16:09]CAPDU: 80 13 00 00 [06:16:09]Write to MH i2c: E2 08 00 35 09 80 13 00 00 00 00 00 00 BA [06:16:09]Connected sock=11 [06:16:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 80 01 00 00 AF 49 78 01 A3 99 5A 03 01 00 03 00 6C 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 0C 00 00 00 00 07 04 06 00 C0 76 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 28 CF 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 26 94 00 00 35 04 06 00 11 C2 44 14 79 92 AB 28 47 B4 B6 DD 66 7B [06:16:09]Write i2c OK [06:16:09]MH_I2C_Read... [06:16:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:16:09]Read from MH i2c: E2 [06:16:09]MH_I2C_Read... [06:16:09]Read from MH i2c: E2 62 00 [06:16:09]MH_I2C_Read... [06:16:09]Read from MH i2c: E2 62 00 35 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 26 94 00 00 0E 04 04 00 29 02 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 D8 [06:16:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 26 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:16:09]wFMCommunicate OK [06:16:09]SAM_PROTO_GetFieldsCounters done [06:16:09]requested_item shift.num is exist - process it [06:16:09]requested_item shift.opened is exist - process it [06:16:09]req_shift_opened [06:16:09]FM_GetShiftState [06:16:09]SAM_PROTO_GetShiftState [06:16:09]wFMCommunicate request_size=4 [06:16:09]MH_SAM_APDU [06:16:09]CAPDU: 80 13 01 00 [06:16:09]Write to MH i2c: E2 08 00 36 09 80 13 01 00 00 00 00 00 BC [06:16:09]Write i2c OK [06:16:09]MH_I2C_Read... [06:16:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:16:09]Read from MH i2c: E2 [06:16:09]MH_I2C_Read... [06:16:09]Read from MH i2c: E2 0E 00 [06:16:09]MH_I2C_Read... [06:16:09]Read from MH i2c: E2 0E 00 36 09 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 7D [06:16:09]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [06:16:09]wFMCommunicate OK [06:16:09]SAM_PROTO_GetShiftState done [06:16:09]FM_GetShiftState done [06:16:09]req_shift_opened done [06:16:09]requested_item shift.open_date is exist - process it [06:16:09]req_shift_open_date [06:16:09]req_shift_open_date done [06:16:09]produce_requested_data done [06:16:09]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37926,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [06:16:09]process_action_free close_receipt [06:16:09]json_value_free [06:16:09]json_value_free done [06:16:09]process_json_proto returns [06:16:09]Send response to host [06:16:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37926,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [06:16:09]free response buf [06:16:09]execute_script done [06:16:09]execute_script returns [06:16:09]free content buf [06:16:09]Sock 7.Close socket [06:16:09]Sock 7.Thread stoped [06:16:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 AC 53 47 00 32 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 38 37 31 38 34 31 10 04 04 00 26 94 00 00 F4 03 04 00 19 7A 21 67 B6 04 01 00 00 E2 27 12 3E 63 7B 80 25 [06:16:09]CommunicateWithHost err = 0 [06:16:09]CheckOFDResponse [06:16:09]1017 (14) - 77093643461234 [06:16:09]1041 (16) - 0000000000871841 [06:16:09]1040 (4) - 37926 [06:16:09]1012 (4) - 30.10.2024 00:13 [06:16:09]1206 (1) - 0 [06:16:09]OFD Sender: Remove packet 37926 [06:16:09]ProducePacketName [06:16:09]name=ofd_packets/00037926 [06:16:09]NVStorageDeleteData [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:16:58]int [06:16:58]Write to MH i2c: 01 00 00 37 09 40 [06:16:58]*** FLAG_PRN_PAP1 set [06:16:58]Write i2c OK [06:16:58]MH_I2C_Read... [06:16:58]Read from MH i2c: 01 [06:16:58]MH_I2C_Read... [06:16:58]Read from MH i2c: 01 07 00 [06:16:58]MH_I2C_Read... [06:16:58]Read from MH i2c: 01 07 00 37 09 00 01 00 00 00 FF 0F 56 [06:16:58]state=0 [06:16:58]No paper [06:16:58]int [06:16:58]Write to MH i2c: 01 00 00 38 09 41 [06:16:58]*** FLAG_PRN_PAP2 set [06:16:58]Write i2c OK [06:16:58]MH_I2C_Read... [06:16:58]Read from MH i2c: 01 [06:16:58]MH_I2C_Read... [06:16:58]Read from MH i2c: 01 07 00 [06:16:58]MH_I2C_Read... [06:16:58]Read from MH i2c: 01 07 00 38 09 00 03 00 00 00 FF 0F 59 [06:16:58]state=0 [06:16:58]No paper [06:16:58]Cover opened [06:17:00]int [06:17:00]Write to MH i2c: 01 00 00 39 09 42 [06:17:00]*** FLAG_PRN_PAP2 reset [06:17:00]Write i2c OK [06:17:00]MH_I2C_Read... [06:17:00]Read from MH i2c: 01 [06:17:00]MH_I2C_Read... [06:17:00]Read from MH i2c: 01 07 00 [06:17:00]MH_I2C_Read... [06:17:00]Read from MH i2c: 01 07 00 39 09 00 01 00 00 00 FF 0F 58 [06:17:00]state=3 [06:17:00]No paper [06:17:00]Cover closed [06:17:00]int [06:17:00]Write to MH i2c: 01 00 00 3A 09 43 [06:17:00]*** FLAG_PRN_PAP2 set [06:17:00]Write i2c OK [06:17:00]MH_I2C_Read... [06:17:00]Read from MH i2c: 01 [06:17:00]MH_I2C_Read... [06:17:00]Read from MH i2c: 01 07 00 [06:17:00]MH_I2C_Read... [06:17:00]Read from MH i2c: 01 07 00 3A 09 00 03 00 00 00 FF 0F 5B [06:17:00]state=0 [06:17:00]No paper [06:17:00]Cover opened [06:17:00]OFD Sender: No OFD packet to send [06:17:02]int [06:17:02]Write to MH i2c: 01 00 00 3B 09 44 [06:17:02]*** FLAG_PRN_PAP2 reset [06:17:02]Write i2c OK [06:17:02]MH_I2C_Read... [06:17:02]Read from MH i2c: 01 [06:17:02]MH_I2C_Read... [06:17:02]Read from MH i2c: 01 07 00 [06:17:02]MH_I2C_Read... [06:17:02]Read from MH i2c: 01 07 00 3B 09 00 01 00 00 00 FF 0F 5A [06:17:02]state=3 [06:17:02]No paper [06:17:02]Cover closed [06:17:02]int [06:17:02]Write to MH i2c: 01 00 00 3C 09 45 [06:17:02]*** FLAG_PRN_PAP1 reset [06:17:02]Write i2c OK [06:17:02]MH_I2C_Read... [06:17:02]Read from MH i2c: 01 [06:17:02]MH_I2C_Read... [06:17:02]Read from MH i2c: 01 07 00 [06:17:02]MH_I2C_Read... [06:17:02]Read from MH i2c: 01 07 00 3C 09 00 00 00 00 00 FF 0F 5A [06:17:02]state=0 [06:17:02]int [06:17:02]Write to MH i2c: 01 00 00 3D 09 46 [06:17:02]*** FLAG_PRN_KEY set [06:17:02]Write i2c OK [06:17:02]MH_I2C_Read... [06:17:02]Read from MH i2c: 01 [06:17:02]MH_I2C_Read... [06:17:02]Read from MH i2c: 01 07 00 [06:17:02]MH_I2C_Read... [06:17:02]Read from MH i2c: 01 07 00 3D 09 00 08 00 00 00 FF 0F 63 [06:17:02]state=0 [06:17:02]Key pressed [06:17:02]Feed [06:17:02]Write to MH i2c: D8 00 00 3E 09 1E [06:17:02]Write i2c OK [06:17:02]MH_I2C_Read... [06:17:02]Read from MH i2c: D8 [06:17:02]MH_I2C_Read... [06:17:02]Read from MH i2c: D8 01 00 [06:17:02]MH_I2C_Read... [06:17:02]Read from MH i2c: D8 01 00 3E 09 00 1F [06:17:02]int [06:17:02]Write to MH i2c: 01 00 00 3F 09 48 [06:17:02]Write i2c OK [06:17:02]MH_I2C_Read... [06:17:03]Read from MH i2c: 01 [06:17:03]MH_I2C_Read... [06:17:03]Read from MH i2c: 01 07 00 [06:17:03]MH_I2C_Read... [06:17:03]Read from MH i2c: 01 07 00 3F 09 00 48 00 00 00 3C 00 D3 [06:17:03]state=2 [06:17:03]Key pressed [06:17:03]int [06:17:03]Write to MH i2c: 01 00 00 40 09 49 [06:17:03]*** FLAG_PRN_KEY reset [06:17:03]Write i2c OK [06:17:03]MH_I2C_Read... [06:17:03]Read from MH i2c: 01 [06:17:03]MH_I2C_Read... [06:17:03]Read from MH i2c: 01 07 00 [06:17:03]MH_I2C_Read... [06:17:03]Read from MH i2c: 01 07 00 40 09 00 00 00 00 00 FE 0F 5D [06:17:03]state=2 [06:17:03]Stop feed [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:05]OFD Sender: No OFD packet to send [06:24:10]OFD Sender: No OFD packet to send [06:24:15]OFD Sender: No OFD packet to send [06:24:20]OFD Sender: No OFD packet to send [06:24:25]OFD Sender: No OFD packet to send [06:24:30]OFD Sender: No OFD packet to send [06:24:35]OFD Sender: No OFD packet to send [06:24:40]OFD Sender: No OFD packet to send [06:24:45]OFD Sender: No OFD packet to send [06:24:50]OFD Sender: No OFD packet to send [06:24:55]OFD Sender: No OFD packet to send [06:25:00]OFD Sender: No OFD packet to send [06:25:05]OFD Sender: No OFD packet to send [06:25:10]OFD Sender: No OFD packet to send [06:25:15]OFD Sender: No OFD packet to send [06:25:20]OFD Sender: No OFD packet to send [06:25:25]OFD Sender: No OFD packet to send [06:25:30]OFD Sender: No OFD packet to send [06:25:35]OFD Sender: No OFD packet to send [06:25:40]OFD Sender: No OFD packet to send [06:25:45]OFD Sender: No OFD packet to send [06:25:50]OFD Sender: No OFD packet to send [06:25:55]OFD Sender: No OFD packet to send [06:26:00]OFD Sender: No OFD packet to send [06:26:05]OFD Sender: No OFD packet to send [06:26:10]OFD Sender: No OFD packet to send [06:26:15]OFD Sender: No OFD packet to send [06:26:20]OFD Sender: No OFD packet to send [06:26:25]OFD Sender: No OFD packet to send [06:26:30]OFD Sender: No OFD packet to send [06:26:35]OFD Sender: No OFD packet to send [06:26:40]OFD Sender: No OFD packet to send [06:26:45]OFD Sender: No OFD packet to send [06:26:50]OFD Sender: No OFD packet to send [06:26:55]OFD Sender: No OFD packet to send [06:27:00]OFD Sender: No OFD packet to send [06:27:05]OFD Sender: No OFD packet to send [06:27:10]OFD Sender: No OFD packet to send [06:27:15]OFD Sender: No OFD packet to send [06:27:20]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:21]OFD Sender: No OFD packet to send [06:39:26]OFD Sender: No OFD packet to send [06:39:31]OFD Sender: No OFD packet to send [06:39:36]OFD Sender: No OFD packet to send [06:39:41]OFD Sender: No OFD packet to send [06:39:46]OFD Sender: No OFD packet to send [06:39:51]OFD Sender: No OFD packet to send [06:39:56]OFD Sender: No OFD packet to send [06:40:01]OFD Sender: No OFD packet to send [06:40:06]OFD Sender: No OFD packet to send [06:40:11]OFD Sender: No OFD packet to send [06:40:16]OFD Sender: No OFD packet to send [06:40:21]OFD Sender: No OFD packet to send [06:40:26]OFD Sender: No OFD packet to send [06:40:31]OFD Sender: No OFD packet to send [06:40:36]OFD Sender: No OFD packet to send [06:40:41]OFD Sender: No OFD packet to send [06:40:46]OFD Sender: No OFD packet to send [06:40:51]OFD Sender: No OFD packet to send [06:40:56]OFD Sender: No OFD packet to send [06:41:01]OFD Sender: No OFD packet to send [06:41:06]OFD Sender: No OFD packet to send [06:41:11]OFD Sender: No OFD packet to send [06:41:16]OFD Sender: No OFD packet to send [06:41:21]OFD Sender: No OFD packet to send [06:41:26]OFD Sender: No OFD packet to send [06:41:31]OFD Sender: No OFD packet to send [06:41:36]OFD Sender: No OFD packet to send [06:41:41]OFD Sender: No OFD packet to send [06:41:46]OFD Sender: No OFD packet to send [06:41:51]OFD Sender: No OFD packet to send [06:41:56]OFD Sender: No OFD packet to send [06:42:01]OFD Sender: No OFD packet to send [06:42:06]OFD Sender: No OFD packet to send [06:42:11]OFD Sender: No OFD packet to send [06:42:16]OFD Sender: No OFD packet to send [06:42:21]OFD Sender: No OFD packet to send [06:42:26]OFD Sender: No OFD packet to send [06:42:31]OFD Sender: No OFD packet to send [06:42:36]OFD Sender: No OFD packet to send [06:42:41]OFD Sender: No OFD packet to send [06:42:46]OFD Sender: No OFD packet to send [06:42:51]OFD Sender: No OFD packet to send [06:42:56]OFD Sender: No OFD packet to send [06:43:01]OFD Sender: No OFD packet to send [06:43:06]OFD Sender: No OFD packet to send [06:43:11]OFD Sender: No OFD packet to send [06:43:16]OFD Sender: No OFD packet to send [06:43:21]OFD Sender: No OFD packet to send [06:43:26]OFD Sender: No OFD packet to send [06:43:31]OFD Sender: No OFD packet to send [06:43:36]OFD Sender: No OFD packet to send [06:43:41]OFD Sender: No OFD packet to send [06:43:46]OFD Sender: No OFD packet to send [06:43:51]OFD Sender: No OFD packet to send [06:43:56]OFD Sender: No OFD packet to send [06:44:01]OFD Sender: No OFD packet to send [06:44:06]OFD Sender: No OFD packet to send [06:44:11]OFD Sender: No OFD packet to send [06:44:16]OFD Sender: No OFD packet to send [06:44:21]OFD Sender: No OFD packet to send [06:44:26]OFD Sender: No OFD packet to send [06:44:31]OFD Sender: No OFD packet to send [06:44:36]OFD Sender: No OFD packet to send [06:44:41]OFD Sender: No OFD packet to send [06:44:46]OFD Sender: No OFD packet to send [06:44:51]OFD Sender: No OFD packet to send [06:44:56]OFD Sender: No OFD packet to send [06:45:01]OFD Sender: No OFD packet to send [06:45:06]OFD Sender: No OFD packet to send [06:45:11]OFD Sender: No OFD packet to send [06:45:16]OFD Sender: No OFD packet to send [06:45:21]OFD Sender: No OFD packet to send [06:45:26]OFD Sender: No OFD packet to send [06:45:31]OFD Sender: No OFD packet to send [06:45:36]OFD Sender: No OFD packet to send [06:45:41]OFD Sender: No OFD packet to send [06:45:46]OFD Sender: No OFD packet to send [06:45:51]OFD Sender: No OFD packet to send [06:45:56]OFD Sender: No OFD packet to send [06:46:01]OFD Sender: No OFD packet to send [06:46:07]OFD Sender: No OFD packet to send [06:46:12]OFD Sender: No OFD packet to send [06:46:17]OFD Sender: No OFD packet to send [06:46:22]OFD Sender: No OFD packet to send [06:46:27]OFD Sender: No OFD packet to send [06:46:32]OFD Sender: No OFD packet to send [06:46:37]OFD Sender: No OFD packet to send [06:46:42]OFD Sender: No OFD packet to send [06:46:47]OFD Sender: No OFD packet to send [06:46:52]OFD Sender: No OFD packet to send [06:46:57]OFD Sender: No OFD packet to send [06:47:02]OFD Sender: No OFD packet to send [06:47:07]OFD Sender: No OFD packet to send [06:47:12]OFD Sender: No OFD packet to send [06:47:17]OFD Sender: No OFD packet to send [06:47:22]OFD Sender: No OFD packet to send [06:47:27]OFD Sender: No OFD packet to send [06:47:32]OFD Sender: No OFD packet to send [06:47:37]OFD Sender: No OFD packet to send [06:47:42]OFD Sender: No OFD packet to send [06:47:47]OFD Sender: No OFD packet to send [06:47:52]OFD Sender: No OFD packet to send [06:47:57]OFD Sender: No OFD packet to send [06:48:02]OFD Sender: No OFD packet to send [06:48:07]OFD Sender: No OFD packet to send [06:48:12]OFD Sender: No OFD packet to send [06:48:17]OFD Sender: No OFD packet to send [06:48:22]OFD Sender: No OFD packet to send [06:48:27]OFD Sender: No OFD packet to send [06:48:32]OFD Sender: No OFD packet to send [06:48:37]OFD Sender: No OFD packet to send [06:48:42]OFD Sender: No OFD packet to send [06:48:47]OFD Sender: No OFD packet to send [06:48:52]OFD Sender: No OFD packet to send [06:48:57]OFD Sender: No OFD packet to send [06:49:02]OFD Sender: No OFD packet to send [06:49:07]OFD Sender: No OFD packet to send [06:49:12]OFD Sender: No OFD packet to send [06:49:17]OFD Sender: No OFD packet to send [06:49:22]OFD Sender: No OFD packet to send [06:49:27]OFD Sender: No OFD packet to send [06:49:32]OFD Sender: No OFD packet to send [06:49:37]OFD Sender: No OFD packet to send [06:49:42]OFD Sender: No OFD packet to send [06:49:47]OFD Sender: No OFD packet to send [06:49:52]OFD Sender: No OFD packet to send [06:49:57]OFD Sender: No OFD packet to send [06:50:02]OFD Sender: No OFD packet to send [06:50:07]OFD Sender: No OFD packet to send [06:50:12]OFD Sender: No OFD packet to send [06:50:17]OFD Sender: No OFD packet to send [06:50:22]OFD Sender: No OFD packet to send [06:50:27]OFD Sender: No OFD packet to send [06:50:32]OFD Sender: No OFD packet to send [06:50:37]OFD Sender: No OFD packet to send [06:50:42]OFD Sender: No OFD packet to send [06:50:47]OFD Sender: No OFD packet to send [06:50:52]OFD Sender: No OFD packet to send [06:50:57]OFD Sender: No OFD packet to send [06:51:02]OFD Sender: No OFD packet to send [06:51:07]OFD Sender: No OFD packet to send [06:51:12]OFD Sender: No OFD packet to send [06:51:17]OFD Sender: No OFD packet to send [06:51:22]OFD Sender: No OFD packet to send [06:51:27]OFD Sender: No OFD packet to send [06:51:32]OFD Sender: No OFD packet to send [06:51:37]OFD Sender: No OFD packet to send [06:51:42]OFD Sender: No OFD packet to send [06:51:47]OFD Sender: No OFD packet to send [06:51:52]OFD Sender: No OFD packet to send [06:51:57]OFD Sender: No OFD packet to send [06:52:02]OFD Sender: No OFD packet to send [06:52:07]OFD Sender: No OFD packet to send [06:52:12]OFD Sender: No OFD packet to send [06:52:17]OFD Sender: No OFD packet to send [06:52:22]OFD Sender: No OFD packet to send [06:52:27]OFD Sender: No OFD packet to send [06:52:32]OFD Sender: No OFD packet to send [06:52:37]OFD Sender: No OFD packet to send [06:52:42]OFD Sender: No OFD packet to send [06:52:47]OFD Sender: No OFD packet to send [06:52:52]OFD Sender: No OFD packet to send [06:52:57]OFD Sender: No OFD packet to send [06:53:02]OFD Sender: No OFD packet to send [06:53:07]OFD Sender: No OFD packet to send [06:53:12]OFD Sender: No OFD packet to send [06:53:17]OFD Sender: No OFD packet to send [06:53:22]OFD Sender: No OFD packet to send [06:53:27]OFD Sender: No OFD packet to send [06:53:32]OFD Sender: No OFD packet to send [06:53:37]OFD Sender: No OFD packet to send [06:53:42]OFD Sender: No OFD packet to send [06:53:47]OFD Sender: No OFD packet to send [06:53:52]OFD Sender: No OFD packet to send [06:53:57]OFD Sender: No OFD packet to send [06:54:02]OFD Sender: No OFD packet to send [06:54:07]OFD Sender: No OFD packet to send [06:54:12]OFD Sender: No OFD packet to send [06:54:17]OFD Sender: No OFD packet to send [06:54:22]OFD Sender: No OFD packet to send [06:54:27]OFD Sender: No OFD packet to send [06:54:32]OFD Sender: No OFD packet to send [06:54:37]OFD Sender: No OFD packet to send [06:54:42]OFD Sender: No OFD packet to send [06:54:47]OFD Sender: No OFD packet to send [06:54:52]OFD Sender: No OFD packet to send [06:54:57]OFD Sender: No OFD packet to send [06:55:02]OFD Sender: No OFD packet to send [06:55:07]OFD Sender: No OFD packet to send [06:55:12]OFD Sender: No OFD packet to send [06:55:17]OFD Sender: No OFD packet to send [06:55:22]OFD Sender: No OFD packet to send [06:55:27]OFD Sender: No OFD packet to send [06:55:32]OFD Sender: No OFD packet to send [06:55:37]OFD Sender: No OFD packet to send [06:55:42]OFD Sender: No OFD packet to send [06:55:47]OFD Sender: No OFD packet to send [06:55:52]OFD Sender: No OFD packet to send [06:55:57]OFD Sender: No OFD packet to send [06:56:02]OFD Sender: No OFD packet to send [06:56:07]OFD Sender: No OFD packet to send [06:56:12]OFD Sender: No OFD packet to send [06:56:17]OFD Sender: No OFD packet to send [06:56:22]OFD Sender: No OFD packet to send [06:56:27]OFD Sender: No OFD packet to send [06:56:32]OFD Sender: No OFD packet to send [06:56:37]OFD Sender: No OFD packet to send [06:56:42]OFD Sender: No OFD packet to send [06:56:47]OFD Sender: No OFD packet to send [06:56:52]OFD Sender: No OFD packet to send [06:56:57]OFD Sender: No OFD packet to send [06:57:02]OFD Sender: No OFD packet to send [06:57:07]OFD Sender: No OFD packet to send [06:57:12]OFD Sender: No OFD packet to send [06:57:17]OFD Sender: No OFD packet to send [06:57:22]OFD Sender: No OFD packet to send [06:57:27]OFD Sender: No OFD packet to send [06:57:32]OFD Sender: No OFD packet to send [06:57:37]OFD Sender: No OFD packet to send [06:57:42]OFD Sender: No OFD packet to send [06:57:47]OFD Sender: No OFD packet to send [06:57:52]OFD Sender: No OFD packet to send [06:57:57]OFD Sender: No OFD packet to send [06:58:02]OFD Sender: No OFD packet to send [06:58:07]OFD Sender: No OFD packet to send [06:58:12]OFD Sender: No OFD packet to send [06:58:17]OFD Sender: No OFD packet to send [06:58:22]OFD Sender: No OFD packet to send [06:58:27]OFD Sender: No OFD packet to send [06:58:32]OFD Sender: No OFD packet to send [06:58:37]OFD Sender: No OFD packet to send [06:58:42]OFD Sender: No OFD packet to send [06:58:47]OFD Sender: No OFD packet to send [06:58:52]OFD Sender: No OFD packet to send [06:58:57]OFD Sender: No OFD packet to send [06:59:02]OFD Sender: No OFD packet to send [06:59:07]OFD Sender: No OFD packet to send [06:59:12]OFD Sender: No OFD packet to send [06:59:17]OFD Sender: No OFD packet to send [06:59:22]OFD Sender: No OFD packet to send [06:59:27]OFD Sender: No OFD packet to send [06:59:32]OFD Sender: No OFD packet to send [06:59:37]OFD Sender: No OFD packet to send [06:59:42]OFD Sender: No OFD packet to send [06:59:47]OFD Sender: No OFD packet to send [06:59:52]OFD Sender: No OFD packet to send [06:59:57]OFD Sender: No OFD packet to send [07:00:02]OFD Sender: No OFD packet to send [07:00:07]OFD Sender: No OFD packet to send [07:00:12]OFD Sender: No OFD packet to send [07:00:17]OFD Sender: No OFD packet to send [07:00:22]OFD Sender: No OFD packet to send [07:00:27]OFD Sender: No OFD packet to send [07:00:32]OFD Sender: No OFD packet to send [07:00:37]OFD Sender: No OFD packet to send [07:00:42]OFD Sender: No OFD packet to send [07:00:47]OFD Sender: No OFD packet to send [07:00:52]OFD Sender: No OFD packet to send [07:00:57]OFD Sender: No OFD packet to send [07:01:02]OFD Sender: No OFD packet to send [07:01:07]OFD Sender: No OFD packet to send [07:01:12]OFD Sender: No OFD packet to send [07:01:17]OFD Sender: No OFD packet to send [07:01:22]OFD Sender: No OFD packet to send [07:01:27]OFD Sender: No OFD packet to send [07:01:32]OFD Sender: No OFD packet to send [07:01:37]OFD Sender: No OFD packet to send [07:01:42]OFD Sender: No OFD packet to send [07:01:47]OFD Sender: No OFD packet to send [07:01:52]OFD Sender: No OFD packet to send [07:01:57]OFD Sender: No OFD packet to send [07:02:02]OFD Sender: No OFD packet to send [07:02:07]OFD Sender: No OFD packet to send [07:02:12]OFD Sender: No OFD packet to send [07:02:17]OFD Sender: No OFD packet to send [07:02:22]OFD Sender: No OFD packet to send [07:02:27]OFD Sender: No OFD packet to send [07:02:32]OFD Sender: No OFD packet to send [07:02:37]OFD Sender: No OFD packet to send [07:02:42]OFD Sender: No OFD packet to send [07:02:47]OFD Sender: No OFD packet to send [07:02:52]OFD Sender: No OFD packet to send [07:02:57]OFD Sender: No OFD packet to send [07:03:02]OFD Sender: No OFD packet to send [07:03:07]OFD Sender: No OFD packet to send [07:03:12]OFD Sender: No OFD packet to send [07:03:17]OFD Sender: No OFD packet to send [07:03:22]OFD Sender: No OFD packet to send [07:03:27]OFD Sender: No OFD packet to send [07:03:32]OFD Sender: No OFD packet to send [07:03:37]OFD Sender: No OFD packet to send [07:03:42]OFD Sender: No OFD packet to send [07:03:47]OFD Sender: No OFD packet to send [07:03:52]OFD Sender: No OFD packet to send [07:03:57]OFD Sender: No OFD packet to send [07:04:02]OFD Sender: No OFD packet to send [07:04:07]OFD Sender: No OFD packet to send [07:04:12]OFD Sender: No OFD packet to send [07:04:17]OFD Sender: No OFD packet to send [07:04:22]OFD Sender: No OFD packet to send [07:04:27]OFD Sender: No OFD packet to send [07:04:32]OFD Sender: No OFD packet to send [07:04:37]OFD Sender: No OFD packet to send [07:04:43]OFD Sender: No OFD packet to send [07:04:48]OFD Sender: No OFD packet to send [07:04:53]OFD Sender: No OFD packet to send [07:04:58]OFD Sender: No OFD packet to send [07:05:03]OFD Sender: No OFD packet to send [07:05:08]OFD Sender: No OFD packet to send [07:05:13]OFD Sender: No OFD packet to send [07:05:18]OFD Sender: No OFD packet to send [07:05:23]OFD Sender: No OFD packet to send [07:05:28]OFD Sender: No OFD packet to send [07:05:33]OFD Sender: No OFD packet to send [07:05:38]OFD Sender: No OFD packet to send [07:05:43]OFD Sender: No OFD packet to send [07:05:48]OFD Sender: No OFD packet to send [07:05:53]OFD Sender: No OFD packet to send [07:05:58]OFD Sender: No OFD packet to send [07:06:03]OFD Sender: No OFD packet to send [07:06:08]OFD Sender: No OFD packet to send [07:06:13]OFD Sender: No OFD packet to send [07:06:18]OFD Sender: No OFD packet to send [07:06:23]OFD Sender: No OFD packet to send [07:06:28]OFD Sender: No OFD packet to send [07:06:33]OFD Sender: No OFD packet to send [07:06:38]OFD Sender: No OFD packet to send [07:06:43]OFD Sender: No OFD packet to send [07:06:48]OFD Sender: No OFD packet to send [07:06:53]OFD Sender: No OFD packet to send [07:06:58]OFD Sender: No OFD packet to send [07:07:03]OFD Sender: No OFD packet to send [07:07:08]OFD Sender: No OFD packet to send [07:07:13]OFD Sender: No OFD packet to send [07:07:18]OFD Sender: No OFD packet to send [07:07:23]OFD Sender: No OFD packet to send [07:07:28]OFD Sender: No OFD packet to send [07:07:33]OFD Sender: No OFD packet to send [07:07:38]OFD Sender: No OFD packet to send [07:07:43]OFD Sender: No OFD packet to send [07:07:48]OFD Sender: No OFD packet to send [07:07:53]OFD Sender: No OFD packet to send [07:07:58]OFD Sender: No OFD packet to send [07:08:03]OFD Sender: No OFD packet to send [07:08:08]OFD Sender: No OFD packet to send [07:08:13]OFD Sender: No OFD packet to send [07:08:18]OFD Sender: No OFD packet to send [07:08:23]OFD Sender: No OFD packet to send [07:08:28]OFD Sender: No OFD packet to send [07:08:33]OFD Sender: No OFD packet to send [07:08:38]OFD Sender: No OFD packet to send [07:08:43]OFD Sender: No OFD packet to send [07:08:48]OFD Sender: No OFD packet to send [07:08:53]OFD Sender: No OFD packet to send [07:08:58]OFD Sender: No OFD packet to send [07:09:03]OFD Sender: No OFD packet to send [07:09:08]OFD Sender: No OFD packet to send [07:09:13]OFD Sender: No OFD packet to send [07:09:18]OFD Sender: No OFD packet to send [07:09:23]OFD Sender: No OFD packet to send [07:09:28]OFD Sender: No OFD packet to send [07:09:33]OFD Sender: No OFD packet to send [07:09:38]OFD Sender: No OFD packet to send [07:09:43]OFD Sender: No OFD packet to send [07:09:48]OFD Sender: No OFD packet to send [07:09:53]OFD Sender: No OFD packet to send [07:09:58]OFD Sender: No OFD packet to send [07:10:03]OFD Sender: No OFD packet to send [07:10:08]OFD Sender: No OFD packet to send [07:10:13]OFD Sender: No OFD packet to send [07:10:18]OFD Sender: No OFD packet to send [07:10:23]OFD Sender: No OFD packet to send [07:10:28]OFD Sender: No OFD packet to send [07:10:33]OFD Sender: No OFD packet to send [07:10:38]OFD Sender: No OFD packet to send [07:10:43]OFD Sender: No OFD packet to send [07:10:48]OFD Sender: No OFD packet to send [07:10:53]OFD Sender: No OFD packet to send [07:10:58]OFD Sender: No OFD packet to send [07:11:03]OFD Sender: No OFD packet to send [07:11:08]OFD Sender: No OFD packet to send [07:11:13]OFD Sender: No OFD packet to send [07:11:18]OFD Sender: No OFD packet to send [07:11:23]OFD Sender: No OFD packet to send [07:11:28]OFD Sender: No OFD packet to send [07:11:33]OFD Sender: No OFD packet to send [07:11:38]OFD Sender: No OFD packet to send [07:11:43]OFD Sender: No OFD packet to send [07:11:48]OFD Sender: No OFD packet to send [07:11:53]OFD Sender: No OFD packet to send [07:11:58]OFD Sender: No OFD packet to send [07:12:03]OFD Sender: No OFD packet to send [07:12:08]OFD Sender: No OFD packet to send [07:12:13]OFD Sender: No OFD packet to send [07:12:18]OFD Sender: No OFD packet to send [07:12:23]OFD Sender: No OFD packet to send [07:12:28]OFD Sender: No OFD packet to send [07:12:33]OFD Sender: No OFD packet to send [07:12:38]OFD Sender: No OFD packet to send [07:12:43]OFD Sender: No OFD packet to send [07:12:48]OFD Sender: No OFD packet to send [07:12:53]OFD Sender: No OFD packet to send [07:12:58]OFD Sender: No OFD packet to send [07:13:03]OFD Sender: No OFD packet to send [07:13:08]OFD Sender: No OFD packet to send [07:13:13]OFD Sender: No OFD packet to send [07:13:18]OFD Sender: No OFD packet to send [07:13:23]OFD Sender: No OFD packet to send [07:13:28]OFD Sender: No OFD packet to send [07:13:33]OFD Sender: No OFD packet to send [07:13:38]OFD Sender: No OFD packet to send [07:13:43]OFD Sender: No OFD packet to send [07:13:48]OFD Sender: No OFD packet to send [07:13:53]OFD Sender: No OFD packet to send [07:13:58]OFD Sender: No OFD packet to send [07:14:03]OFD Sender: No OFD packet to send [07:14:08]OFD Sender: No OFD packet to send [07:14:13]OFD Sender: No OFD packet to send [07:14:18]OFD Sender: No OFD packet to send [07:14:23]OFD Sender: No OFD packet to send [07:14:28]OFD Sender: No OFD packet to send [07:14:33]OFD Sender: No OFD packet to send [07:14:38]OFD Sender: No OFD packet to send [07:14:43]OFD Sender: No OFD packet to send [07:14:48]OFD Sender: No OFD packet to send [07:14:53]OFD Sender: No OFD packet to send [07:14:58]OFD Sender: No OFD packet to send [07:15:03]OFD Sender: No OFD packet to send [07:15:08]OFD Sender: No OFD packet to send [07:15:13]OFD Sender: No OFD packet to send [07:15:18]OFD Sender: No OFD packet to send [07:15:23]OFD Sender: No OFD packet to send [07:15:28]OFD Sender: No OFD packet to send [07:15:33]OFD Sender: No OFD packet to send [07:15:38]OFD Sender: No OFD packet to send [07:15:43]OFD Sender: No OFD packet to send [07:15:48]OFD Sender: No OFD packet to send [07:15:53]OFD Sender: No OFD packet to send [07:15:58]OFD Sender: No OFD packet to send [07:16:03]OFD Sender: No OFD packet to send [07:16:08]OFD Sender: No OFD packet to send [07:16:13]OFD Sender: No OFD packet to send [07:16:18]OFD Sender: No OFD packet to send [07:16:23]OFD Sender: No OFD packet to send [07:16:28]OFD Sender: No OFD packet to send [07:16:33]OFD Sender: No OFD packet to send [07:16:38]OFD Sender: No OFD packet to send [07:16:43]OFD Sender: No OFD packet to send [07:16:48]OFD Sender: No OFD packet to send [07:16:53]OFD Sender: No OFD packet to send [07:16:58]OFD Sender: No OFD packet to send [07:17:03]OFD Sender: No OFD packet to send [07:17:08]OFD Sender: No OFD packet to send [07:17:13]OFD Sender: No OFD packet to send [07:17:18]OFD Sender: No OFD packet to send [07:17:23]OFD Sender: No OFD packet to send [07:17:28]OFD Sender: No OFD packet to send [07:17:33]OFD Sender: No OFD packet to send [07:17:38]OFD Sender: No OFD packet to send [07:17:43]OFD Sender: No OFD packet to send [07:17:48]OFD Sender: No OFD packet to send [07:17:53]OFD Sender: No OFD packet to send [07:17:58]OFD Sender: No OFD packet to send [07:18:03]OFD Sender: No OFD packet to send [07:18:08]OFD Sender: No OFD packet to send [07:18:13]OFD Sender: No OFD packet to send [07:18:18]OFD Sender: No OFD packet to send [07:18:23]OFD Sender: No OFD packet to send [07:18:28]OFD Sender: No OFD packet to send [07:18:33]OFD Sender: No OFD packet to send [07:18:38]OFD Sender: No OFD packet to send [07:18:43]OFD Sender: No OFD packet to send [07:18:48]OFD Sender: No OFD packet to send [07:18:53]OFD Sender: No OFD packet to send [07:18:58]OFD Sender: No OFD packet to send [07:19:03]OFD Sender: No OFD packet to send [07:19:08]OFD Sender: No OFD packet to send [07:19:13]OFD Sender: No OFD packet to send [07:19:18]OFD Sender: No OFD packet to send [07:19:23]OFD Sender: No OFD packet to send [07:19:28]OFD Sender: No OFD packet to send [07:19:33]OFD Sender: No OFD packet to send [07:19:38]OFD Sender: No OFD packet to send [07:19:43]OFD Sender: No OFD packet to send [07:19:48]OFD Sender: No OFD packet to send [07:19:53]OFD Sender: No OFD packet to send [07:19:58]OFD Sender: No OFD packet to send [07:20:03]OFD Sender: No OFD packet to send [07:20:08]OFD Sender: No OFD packet to send [07:20:13]OFD Sender: No OFD packet to send [07:20:18]OFD Sender: No OFD packet to send [07:20:23]OFD Sender: No OFD packet to send [07:20:28]OFD Sender: No OFD packet to send [07:20:33]OFD Sender: No OFD packet to send [07:20:38]OFD Sender: No OFD packet to send [07:20:43]OFD Sender: No OFD packet to send [07:20:48]OFD Sender: No OFD packet to send [07:20:53]OFD Sender: No OFD packet to send [07:20:58]OFD Sender: No OFD packet to send [07:21:03]OFD Sender: No OFD packet to send [07:21:08]OFD Sender: No OFD packet to send [07:21:13]OFD Sender: No OFD packet to send [07:21:18]OFD Sender: No OFD packet to send [07:21:23]OFD Sender: No OFD packet to send [07:21:28]OFD Sender: No OFD packet to send [07:21:33]OFD Sender: No OFD packet to send [07:21:38]OFD Sender: No OFD packet to send [07:21:43]OFD Sender: No OFD packet to send [07:21:48]OFD Sender: No OFD packet to send [07:21:53]OFD Sender: No OFD packet to send [07:21:58]OFD Sender: No OFD packet to send [07:22:03]OFD Sender: No OFD packet to send [07:22:08]OFD Sender: No OFD packet to send [07:22:13]OFD Sender: No OFD packet to send [07:22:18]OFD Sender: No OFD packet to send [07:22:23]OFD Sender: No OFD packet to send [07:22:28]OFD Sender: No OFD packet to send [07:22:33]OFD Sender: No OFD packet to send [07:22:38]OFD Sender: No OFD packet to send [07:22:43]OFD Sender: No OFD packet to send [07:22:48]OFD Sender: No OFD packet to send [07:22:53]OFD Sender: No OFD packet to send [07:22:58]OFD Sender: No OFD packet to send [07:23:03]OFD Sender: No OFD packet to send [07:23:08]OFD Sender: No OFD packet to send [07:23:13]OFD Sender: No OFD packet to send [07:23: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:49]OFD Sender: No OFD packet to send [07:24:54]OFD Sender: No OFD packet to send [07:24:59]OFD Sender: No OFD packet to send [07:25:04]OFD Sender: No OFD packet to send [07:25:09]OFD Sender: No OFD packet to send [07:25:14]OFD Sender: No OFD packet to send [07:25:19]OFD Sender: No OFD packet to send [07:25:24]OFD Sender: No OFD packet to send [07:25:29]OFD Sender: No OFD packet to send [07:25:34]OFD Sender: No OFD packet to send [07:25:39]OFD Sender: No OFD packet to send [07:25:44]OFD Sender: No OFD packet to send [07:25:49]OFD Sender: No OFD packet to send [07:25:54]OFD Sender: No OFD packet to send [07:25:59]OFD Sender: No OFD packet to send [07:26:04]OFD Sender: No OFD packet to send [07:26:09]OFD Sender: No OFD packet to send [07:26:14]OFD Sender: No OFD packet to send [07:26:19]OFD Sender: No OFD packet to send [07:26:24]OFD Sender: No OFD packet to send [07:26:29]OFD Sender: No OFD packet to send [07:26:34]OFD Sender: No OFD packet to send [07:26:39]OFD Sender: No OFD packet to send [07:26:44]OFD Sender: No OFD packet to send [07:26:49]OFD Sender: No OFD packet to send [07:26:54]OFD Sender: No OFD packet to send [07:26:59]OFD Sender: No OFD packet to send [07:27:04]OFD Sender: No OFD packet to send [07:27:09]OFD Sender: No OFD packet to send [07:27:14]OFD Sender: No OFD packet to send [07:27:19]OFD Sender: No OFD packet to send [07:27:24]OFD Sender: No OFD packet to send [07:27:29]OFD Sender: No OFD packet to send [07:27:34]OFD Sender: No OFD packet to send [07:27:39]OFD Sender: No OFD packet to send [07:27:44]OFD Sender: No OFD packet to send [07:27:49]OFD Sender: No OFD packet to send [07:27:54]OFD Sender: No OFD packet to send [07:27:59]OFD Sender: No OFD packet to send [07:28:04]OFD Sender: No OFD packet to send [07:28:09]OFD Sender: No OFD packet to send [07:28:14]OFD Sender: No OFD packet to send [07:28:19]OFD Sender: No OFD packet to send [07:28:24]OFD Sender: No OFD packet to send [07:28:29]OFD Sender: No OFD packet to send [07:28:34]OFD Sender: No OFD packet to send [07:28:39]OFD Sender: No OFD packet to send [07:28:44]OFD Sender: No OFD packet to send [07:28:49]OFD Sender: No OFD packet to send [07:28:54]OFD Sender: No OFD packet to send [07:28:59]OFD Sender: No OFD packet to send [07:29:04]OFD Sender: No OFD packet to send [07:29:09]OFD Sender: No OFD packet to send [07:29:14]OFD Sender: No OFD packet to send [07:29:19]OFD Sender: No OFD packet to send [07:29:24]OFD Sender: No OFD packet to send [07:29:29]OFD Sender: No OFD packet to send [07:29:34]OFD Sender: No OFD packet to send [07:29:39]OFD Sender: No OFD packet to send [07:29:44]OFD Sender: No OFD packet to send [07:29:49]OFD Sender: No OFD packet to send [07:29:54]OFD Sender: No OFD packet to send [07:29:59]OFD Sender: No OFD packet to send [07:30:04]OFD Sender: No OFD packet to send [07:30:09]OFD Sender: No OFD packet to send [07:30:14]OFD Sender: No OFD packet to send [07:30:19]OFD Sender: No OFD packet to send [07:30:24]OFD Sender: No OFD packet to send [07:30:29]OFD Sender: No OFD packet to send [07:30:34]OFD Sender: No OFD packet to send [07:30:39]OFD Sender: No OFD packet to send [07:30:44]OFD Sender: No OFD packet to send [07:30:49]OFD Sender: No OFD packet to send [07:30:54]OFD Sender: No OFD packet to send [07:30:59]OFD Sender: No OFD packet to send [07:31:04]OFD Sender: No OFD packet to send [07:31:09]OFD Sender: No OFD packet to send [07:31:14]OFD Sender: No OFD packet to send [07:31:19]OFD Sender: No OFD packet to send [07:31:24]OFD Sender: No OFD packet to send [07:31:29]OFD Sender: No OFD packet to send [07:31:34]OFD Sender: No OFD packet to send [07:31:39]OFD Sender: No OFD packet to send [07:31:44]OFD Sender: No OFD packet to send [07:31:49]OFD Sender: No OFD packet to send [07:31:54]OFD Sender: No OFD packet to send [07:31:59]OFD Sender: No OFD packet to send [07:32:04]OFD Sender: No OFD packet to send [07:32:09]OFD Sender: No OFD packet to send [07:32:14]OFD Sender: No OFD packet to send [07:32:19]OFD Sender: No OFD packet to send [07:32:24]OFD Sender: No OFD packet to send [07:32:29]OFD Sender: No OFD packet to send [07:32:34]OFD Sender: No OFD packet to send [07:32:39]OFD Sender: No OFD packet to send [07:32:44]OFD Sender: No OFD packet to send [07:32:49]OFD Sender: No OFD packet to send [07:32:54]OFD Sender: No OFD packet to send [07:32:59]OFD Sender: No OFD packet to send [07:33:04]OFD Sender: No OFD packet to send [07:33:09]OFD Sender: No OFD packet to send [07:33:14]OFD Sender: No OFD packet to send [07:33:19]OFD Sender: No OFD packet to send [07:33:24]OFD Sender: No OFD packet to send [07:33:29]OFD Sender: No OFD packet to send [07:33:34]OFD Sender: No OFD packet to send [07:33:39]OFD Sender: No OFD packet to send [07:33:44]OFD Sender: No OFD packet to send [07:33:49]OFD Sender: No OFD packet to send [07:33:54]OFD Sender: No OFD packet to send [07:33:59]OFD Sender: No OFD packet to send [07:34:04]OFD Sender: No OFD packet to send [07:34:09]OFD Sender: No OFD packet to send [07:34:14]OFD Sender: No OFD packet to send [07:34:19]OFD Sender: No OFD packet to send [07:34:24]OFD Sender: No OFD packet to send [07:34:29]OFD Sender: No OFD packet to send [07:34:34]OFD Sender: No OFD packet to send [07:34:39]OFD Sender: No OFD packet to send [07:34:44]OFD Sender: No OFD packet to send [07:34:49]OFD Sender: No OFD packet to send [07:34:54]OFD Sender: No OFD packet to send [07:34:59]OFD Sender: No OFD packet to send [07:35:04]OFD Sender: No OFD packet to send [07:35:09]OFD Sender: No OFD packet to send [07:35:14]OFD Sender: No OFD packet to send [07:35:19]OFD Sender: No OFD packet to send [07:35:24]OFD Sender: No OFD packet to send [07:35:29]OFD Sender: No OFD packet to send [07:35:34]OFD Sender: No OFD packet to send [07:35:39]OFD Sender: No OFD packet to send [07:35:44]OFD Sender: No OFD packet to send [07:35:49]OFD Sender: No OFD packet to send [07:35:54]OFD Sender: No OFD packet to send [07:35:59]OFD Sender: No OFD packet to send [07:36:04]OFD Sender: No OFD packet to send [07:36:09]OFD Sender: No OFD packet to send [07:36:14]OFD Sender: No OFD packet to send [07:36:19]OFD Sender: No OFD packet to send [07:36:24]OFD Sender: No OFD packet to send [07:36:29]OFD Sender: No OFD packet to send [07:36:34]OFD Sender: No OFD packet to send [07:36:39]OFD Sender: No OFD packet to send [07:36:44]OFD Sender: No OFD packet to send [07:36:49]OFD Sender: No OFD packet to send [07:36:54]OFD Sender: No OFD packet to send [07:36:59]OFD Sender: No OFD packet to send [07:37:04]OFD Sender: No OFD packet to send [07:37:09]OFD Sender: No OFD packet to send [07:37:14]OFD Sender: No OFD packet to send [07:37:19]OFD Sender: No OFD packet to send [07:37:24]OFD Sender: No OFD packet to send [07:37:29]OFD Sender: No OFD packet to send [07:37:34]OFD Sender: No OFD packet to send [07:37:39]OFD Sender: No OFD packet to send [07:37:44]OFD Sender: No OFD packet to send [07:37:49]OFD Sender: No OFD packet to send [07:37:54]OFD Sender: No OFD packet to send [07:37:59]OFD Sender: No OFD packet to send [07:38:04]OFD Sender: No OFD packet to send [07:38:09]OFD Sender: No OFD packet to send [07:38:14]OFD Sender: No OFD packet to send [07:38:19]OFD Sender: No OFD packet to send [07:38:24]OFD Sender: No OFD packet to send [07:38:29]OFD Sender: No OFD packet to send [07:38:34]OFD Sender: No OFD packet to send [07:38:39]OFD Sender: No OFD packet to send [07:38:44]OFD Sender: No OFD packet to send [07:38:49]OFD Sender: No OFD packet to send [07:38:54]OFD Sender: No OFD packet to send [07:38:59]OFD Sender: No OFD packet to send [07:39:04]OFD Sender: No OFD packet to send [07:39:09]OFD Sender: No OFD packet to send [07:39:14]OFD Sender: No OFD packet to send [07:39:19]OFD Sender: No OFD packet to send [07:39:24]OFD Sender: No OFD packet to send [07:39:29]OFD Sender: No OFD packet to send [07:39:34]OFD Sender: No OFD packet to send [07:39:39]OFD Sender: No OFD packet to send [07:39:44]OFD Sender: No OFD packet to send [07:39:49]OFD Sender: No OFD packet to send [07:39:54]OFD Sender: No OFD packet to send [07:39:59]OFD Sender: No OFD packet to send [07:40:04]OFD Sender: No OFD packet to send [07:40:09]OFD Sender: No OFD packet to send [07:40:14]OFD Sender: No OFD packet to send [07:40:19]OFD Sender: No OFD packet to send [07:40:24]OFD Sender: No OFD packet to send [07:40:29]OFD Sender: No OFD packet to send [07:40:34]OFD Sender: No OFD packet to send [07:40:39]OFD Sender: No OFD packet to send [07:40:44]OFD Sender: No OFD packet to send [07:40:49]OFD Sender: No OFD packet to send [07:40:50]accept exits with 9 [07:40:50]New connection [07:40:50]New thread 3067207012 created [07:40:50]Thread 3067063652 joined [07:40:50]Waiting for new connection... [07:40:50] Sock 9.Parse request [07:40:50]Sock 9.Check first char [07:40:50]Sock 9.First char is OK [07:40:50]request: POST /json_proto HTTP/1.0 [07:40:50]Method: POST [07:40:50]URL: /json_proto [07:40:50]Method is POST - this is cgi request [07:40:50]url: /json_proto [07:40:50]query_string will be loaded in cgi processing [07:40:50]execute_cgi json_proto POST (null) [07:40:50]execute_cgi path=json_proto method=POST [07:40:50]POST find Content-Length [07:40:50]Host: 172.17.40.196:8080 [07:40:50]Content-Length: 623 [07:40:50]Content-Type: application/json [07:40:50] [07:40:50]POST finish read [07:40:50]Found Content-Length = 623 [07:40:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35226", "tax_sys" : 0, "items" : [ { "code": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:40:50]execute_script... [07:40: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)35226", "tax_sys" : 0, "items" : [ { "code": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:40:50]POST & json_proto [07:40:50]process_json_proto [07:40:50]json parsed OK: [07:40:50]protocol is kg_v1.0 [07:40:50]action value=close_receipt [07:40:50]process_action close_receipt [07:40:50]cmd_close_receipt [07:40:50]MH_GetDate [07:40:50]Write to MH i2c: F0 00 00 41 09 39 [07:40:50]Write i2c OK [07:40:50]MH_I2C_Read... [07:40:50]Read from MH i2c: F0 [07:40:50]MH_I2C_Read... [07:40:50]Read from MH i2c: F0 09 00 [07:40:50]MH_I2C_Read... [07:40:50]Read from MH i2c: F0 09 00 41 09 00 06 E3 21 67 5B 68 A1 66 7D [07:40:50]GetLastDocTimeStamp 1730268968 [07:40:50]current date 1730274054 [07:40:50]FM_GetShiftState [07:40:50]SAM_PROTO_GetShiftState [07:40:50]wFMCommunicate request_size=4 [07:40:50]MH_SAM_APDU [07:40:50]CAPDU: 80 13 01 00 [07:40:50]Write to MH i2c: E2 08 00 42 09 80 13 01 00 00 00 00 00 C8 [07:40:50]Write i2c OK [07:40:50]MH_I2C_Read... [07:40:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:40:50]Read from MH i2c: E2 [07:40:50]MH_I2C_Read... [07:40:50]Read from MH i2c: E2 0E 00 [07:40:50]MH_I2C_Read... [07:40:50]Read from MH i2c: E2 0E 00 42 09 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 89 [07:40:50]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [07:40:50]wFMCommunicate OK [07:40:50]SAM_PROTO_GetShiftState done [07:40:50]FM_GetShiftState done [07:40:50]opened in 1730246837 [07:40:50]opened+sec_in_day 1730333237 [07:40:50]quantity*price = 5000 [07:40:50]sum+1 = 5001 [07:40:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 9 30.10.2024 07:40 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37927 ФПД: 176201180350081 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T074054&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37927&fm=176201180350081&tin=02508201610067®Number=0000000000091684&sum=5000 0 [07:40:51]StoreToDocumentArchive [07:40:51]shift 553 fd 37927 [07:40:51]save to /storage/0553/doc_00037927 [07:40:51]save last doc name /storage/0553/doc_00037927 to /storage/kkm_last_doc_name [07:40:51]save OK [07:40:51]Clear old archive folders... [07:40:51]ProcessDocumentItem done err = 0, tmpTLVsize=267 [07:40:51]tlvbuf is 018E72B0 [07:40:51]SAM_PROTO_ClearQueue [07:40:51]wFMCommunicate request_size=4 [07:40:51]MH_SAM_APDU [07:40:51]CAPDU: 80 09 00 00 [07:40:51]Write to MH i2c: E2 08 00 4F 09 80 09 00 00 00 00 00 00 CA [07:40:51]Write i2c OK [07:40:51]MH_I2C_Read... [07:40:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:40:51]Read from MH i2c: E2 [07:40:51]MH_I2C_Read... [07:40:51]Read from MH i2c: E2 03 00 [07:40:51]MH_I2C_Read... [07:40:51]Read from MH i2c: E2 03 00 4F 09 00 90 00 CC [07:40:51]RAPDU: 90 00 [07:40:51]wFMCommunicate OK [07:40:51]SAM_PROTO_ClearQueue done [07:40:51]KKMCreateOFDPacket [07:40:51]OFDProtocolAddRootSTLVToBuf [07:40:51]FM_MakeSignedData [07:40:51]FM_MakeSignedData [07:40:51]SAM_PROTO_SignData [07:40:51]wFMCommunicate request_size=4 [07:40:51]MH_SAM_APDU [07:40:51]CAPDU: 80 0D 01 02 [07:40:51]Write to MH i2c: E2 08 00 50 09 80 0D 01 02 00 00 00 00 D2 [07:40:51]Write i2c OK [07:40:51]MH_I2C_Read... [07:40:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:40:51]Read from MH i2c: E2 [07:40:51]MH_I2C_Read... [07:40:51]Read from MH i2c: E2 03 00 [07:40:51]MH_I2C_Read... [07:40:51]Read from MH i2c: E2 03 00 50 09 00 90 00 CD [07:40:51]RAPDU: 90 00 [07:40:51]wFMCommunicate OK [07:40:51]wFMCommunicate request_size=255 [07:40:51]MH_SAM_APDU [07:40:51]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 06 E3 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 [07:40:52]Write to MH i2c: E2 02 01 51 09 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 06 E3 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 00 00 33 [07:40:52]Write i2c OK [07:40:52]MH_I2C_Read... [07:40:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:40:52]Read from MH i2c: E2 [07:40:52]MH_I2C_Read... [07:40:52]Read from MH i2c: E2 03 00 [07:40:52]MH_I2C_Read... [07:40:52]Read from MH i2c: E2 03 00 51 09 00 90 00 CE [07:40:52]RAPDU: 90 00 [07:40:52]wFMCommunicate OK [07:40:52]wFMCommunicate request_size=26 [07:40:52]MH_SAM_APDU [07:40:52]CAPDU: 80 0D 02 02 15 38 34 31 10 04 04 00 27 94 00 00 35 04 06 00 A0 41 08 C3 86 81 [07:40:52]Write to MH i2c: E2 1D 00 52 09 80 0D 02 02 15 00 38 34 31 10 04 04 00 27 94 00 00 35 04 06 00 A0 41 08 C3 86 81 00 00 61 [07:40:52]Write i2c OK [07:40:52]MH_I2C_Read... [07:40:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:40:52]Read from MH i2c: E2 [07:40:52]MH_I2C_Read... [07:40:52]Read from MH i2c: E2 03 00 [07:40:52]MH_I2C_Read... [07:40:52]Read from MH i2c: E2 03 00 52 09 00 90 00 CF [07:40:52]RAPDU: 90 00 [07:40:52]wFMCommunicate OK [07:40:52]wFMCommunicate request_size=4 [07:40:52]MH_SAM_APDU [07:40:52]CAPDU: 80 0D 03 02 [07:40:52]Write to MH i2c: E2 08 00 53 09 80 0D 03 02 00 00 00 00 D7 [07:40:52]Write i2c OK [07:40:52]MH_I2C_Read... [07:40:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:40:52]Read from MH i2c: E2 [07:40:52]MH_I2C_Read... [07:40:52]Read from MH i2c: E2 0B 00 [07:40:52]MH_I2C_Read... [07:40:52]Read from MH i2c: E2 0B 00 53 09 00 99 6C AB 9E 1C 65 B1 7C 90 00 D4 [07:40:52]RAPDU: 99 6C AB 9E 1C 65 B1 7C 90 00 [07:40:52]wFMCommunicate OK [07:40:52]SAM_PROTO_SignData done [07:40:52]FM_MakeSignedData done [07:40:52]CreateOFDProtocolMessage [07:40:52]wFMCommunicate request_size=4 [07:40:52]MH_SAM_APDU [07:40:52]CAPDU: 80 11 00 00 [07:40:52]Write to MH i2c: E2 08 00 54 09 80 11 00 00 00 00 00 00 D7 [07:40:52]Write i2c OK [07:40:52]MH_I2C_Read... [07:40:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:40:52]Read from MH i2c: E2 [07:40:52]MH_I2C_Read... [07:40:52]Read from MH i2c: E2 17 00 [07:40:52]MH_I2C_Read... [07:40:52]Read from MH i2c: E2 17 00 54 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 27 [07:40:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:40:52]wFMCommunicate OK [07:40:52]CreateOFDProtocolMessage done [07:40:52]OFDSenderStorePacket 37927 [07:40:52]StoreOFDPacket docnum=37927 [07:40:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1F 01 00 00 D3 6C 17 01 51 D5 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 06 E3 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 27 94 00 00 35 04 06 00 A0 41 08 C3 86 81 99 6C AB 9E 1C 65 B1 7C [07:40:52]CheckFolder [07:40:52]dirname=/storage/ofd_packets [07:40:52]CheckFolder done [07:40:52]ProducePacketName [07:40:52]name=ofd_packets/00037927 [07:40:52]NVStorageSaveData ofd_packets/00037927 [07:40:52]File name is /storage/ofd_packets/00037927 [07:40:52]Write 317 bytes [07:40:52]NVStorageSaveData done [07:40:52]OFDSenderStorePacket done [07:40:52]KKMCreateOFDPacket done [07:40:52]NVStorageSaveData kkm_last_timestamp [07:40:52]File name is /storage/kkm_last_timestamp [07:40:52]Write 4 bytes [07:40:52]NVStorageSaveData done [07:40:52]ExternCall_PrintAddStr [07:40:52]wPrintStart [07:40:52]Write to MH i2c: 01 00 00 55 09 5E [07:40:52]Write i2c OK [07:40:52]MH_I2C_Read... [07:40:52]Read from MH i2c: 01 [07:40:52]MH_I2C_Read... [07:40:52]Read from MH i2c: 01 07 00 [07:40:52]MH_I2C_Read... [07:40:52]Read from MH i2c: 01 07 00 55 09 00 00 00 00 00 FF 0F 73 [07:40:52]RasterBufferAndPrint [07:40:52]line Счет N : (3)35226 [07:40:52]line ИНН: 02508201610067 [07:40:52]line Контрольно-Кассовый Чек [07:40:52]line ПРОДАЖА [07:40:52]line Товар: 4700000160181 [07:40:52]line Вода Байтик 1л [07:40:52]line 1.000 * 50.00 [07:40:52]line = 50.00 [07:40:52]line НДС 12% НСП 1% [07:40:52]line > о реализуемом товаре [07:40:52]line ИТОГО: 50.00 [07:40:52]line НСП 1% : 0.44 [07:40:52]line НДС 12% : 5.31 [07:40:52]line Наличными: 50.00 [07:40:52]line Безнал.: 0.00 [07:40:52]line Место: АЗС № 126 "Партнер Нефть" [07:40:52]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [07:40:52]line СНО: Общий режим [07:40:52]line Чек 9 30.10.2024 07:40 [07:40:52]line Смена: 553 ФФД: 1.0 [07:40:52]line ЗНМ: 0300000092 [07:40:52]line РНМ: 0000000000091684 [07:40:52]line Версия ККМ: 001 [07:40:52]line ФМ: 0000000000871841 [07:40:52]line ФД: 37927 [07:40:52]line ФПД: 176201180350081 [07:40:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T074054&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37927&fm=176201180350081&tin=02508201610067®Number=0000000000091684&sum=5000 [07:40:52]OFD Sender: Processing packet 37927 [packets to send 42, broken 41] [07:40:52]ProducePacketName [07:40:52]name=ofd_packets/00037927 [07:40:52]OFD Sender: To server: pG, [07:40:52]CommunicateWithHost lk.salyk.kg:30040 [07:40:52]ConnectInit lk.salyk.kg [07:40:52]line 0 [07:40:52]written 0, free lines is 4095 [07:40:53]Write to MH i2c: 01 00 00 7D 09 86 [07:40:53]Write i2c OK [07:40:53]MH_I2C_Read... [07:40:53]Read from MH i2c: 01 [07:40:53]MH_I2C_Read... [07:40:53]Read from MH i2c: 01 07 00 [07:40:53]MH_I2C_Read... [07:40:53]Read from MH i2c: 01 07 00 7D 09 00 00 00 00 00 CB 0C 64 [07:40:53]RasterBufferAndPrint [07:40:53]line [07:40:53]line [07:40:53]line [07:40:53]line [07:40:53]line [07:40:53]written 0, free lines is 3279 [07:40:53]Connected sock=10 [07:40:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1F 01 00 00 D3 6C 17 01 51 D5 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 06 E3 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 27 94 00 00 35 04 06 00 A0 41 08 C3 86 81 99 6C AB 9E 1C 65 B1 7C [07:40:53]MH_Cut [07:40:53]Write to MH i2c: D1 01 00 84 09 01 5F [07:40:53]Write i2c OK [07:40:53]MH_I2C_Read... [07:40:53]Read from MH i2c: D1 [07:40:53]MH_I2C_Read... [07:40:53]Read from MH i2c: D1 01 00 [07:40:53]MH_I2C_Read... [07:40:53]Read from MH i2c: D1 01 00 84 09 00 5E [07:40:53]Write to MH i2c: 01 00 00 85 09 8E [07:40:53]Write i2c OK [07:40:53]MH_I2C_Read... [07:40:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 CE E9 47 00 F7 85 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 27 94 00 00 F4 03 04 00 F5 8D 21 67 B6 04 01 00 00 32 F7 1C A4 19 36 E0 7B [07:40:53]CommunicateWithHost err = 0 [07:40:53]CheckOFDResponse [07:40:53]1017 (14) - 77093643461234 [07:40:53]1041 (16) - 0000000000871841 [07:40:53]1040 (4) - 37927 [07:40:53]1012 (4) - 30.10.2024 01:37 [07:40:53]1206 (1) - 0 [07:40:53]OFD Sender: Remove packet 37927 [07:40:53]ProducePacketName [07:40:53]name=ofd_packets/00037927 [07:40:53]NVStorageDeleteData [07:40:53]*** Cut start [07:40:53]*** Partial cut [07:40:53]*** CUTSNS_PIN = 1 [07:40:54]*** CUTSNS_PIN = 0 [07:40:54]*** Brake cut motor [07:40:54]OFD Sender: No OFD packet to send [07:40:54]Read from MH i2c: 01 [07:40:54]MH_I2C_Read... [07:40:54]*** Stop cut motor [07:40:54]*** Cut end [07:40:54]Read from MH i2c: 01 07 00 [07:40:54]MH_I2C_Read... [07:40:54]Read from MH i2c: 01 07 00 85 09 00 00 00 00 00 FF 0F A3 [07:40:54]process_action close_receipt done [07:40:54]requested_data is exist [07:40:54]produce_requested_data [07:40:54]requested_item fm.sn is exist - process it [07:40:54]wFMCommunicate request_size=4 [07:40:54]MH_SAM_APDU [07:40:54]CAPDU: 80 11 00 00 [07:40:54]Write to MH i2c: E2 08 00 86 09 80 11 00 00 00 00 00 00 09 [07:40:54]Write i2c OK [07:40:54]MH_I2C_Read... [07:40:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:40:54]Read from MH i2c: E2 [07:40:54]MH_I2C_Read... [07:40:54]Read from MH i2c: E2 17 00 [07:40:54]MH_I2C_Read... [07:40:54]Read from MH i2c: E2 17 00 86 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 59 [07:40:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:40:54]wFMCommunicate OK [07:40:54]requested_item fd.num is exist - process it [07:40:54]SAM_PROTO_GetFieldsCounters [07:40:54]wFMCommunicate request_size=4 [07:40:54]MH_SAM_APDU [07:40:54]CAPDU: 80 13 00 00 [07:40:54]Write to MH i2c: E2 08 00 87 09 80 13 00 00 00 00 00 00 0C [07:40:54]Write i2c OK [07:40:54]MH_I2C_Read... [07:40:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:40:54]Read from MH i2c: E2 [07:40:54]MH_I2C_Read... [07:40:54]Read from MH i2c: E2 62 00 [07:40:54]MH_I2C_Read... [07:40:54]Read from MH i2c: E2 62 00 87 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 27 94 00 00 0E 04 04 00 29 02 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 2E [07:40:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 27 94 00 00 0E 04 04 00 29 02 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:40:54]wFMCommunicate OK [07:40:54]SAM_PROTO_GetFieldsCounters done [07:40:54]requested_item shift.num is exist - process it [07:40:54]requested_item shift.opened is exist - process it [07:40:54]req_shift_opened [07:40:54]FM_GetShiftState [07:40:54]SAM_PROTO_GetShiftState [07:40:54]wFMCommunicate request_size=4 [07:40:54]MH_SAM_APDU [07:40:54]CAPDU: 80 13 01 00 [07:40:54]Write to MH i2c: E2 08 00 88 09 80 13 01 00 00 00 00 00 0E [07:40:54]Write i2c OK [07:40:54]MH_I2C_Read... [07:40:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:40:54]Read from MH i2c: E2 [07:40:54]MH_I2C_Read... [07:40:54]Read from MH i2c: E2 0E 00 [07:40:54]MH_I2C_Read... [07:40:54]Read from MH i2c: E2 0E 00 88 09 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 CF [07:40:54]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [07:40:54]wFMCommunicate OK [07:40:54]SAM_PROTO_GetShiftState done [07:40:54]FM_GetShiftState done [07:40:54]req_shift_opened done [07:40:54]requested_item shift.open_date is exist - process it [07:40:54]req_shift_open_date [07:40:54]req_shift_open_date done [07:40:54]produce_requested_data done [07:40:54]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37927,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [07:40:54]process_action_free close_receipt [07:40:54]json_value_free [07:40:54]json_value_free done [07:40:54]process_json_proto returns [07:40:54]Send response to host [07:40:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37927,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [07:40:54]free response buf [07:40:54]execute_script done [07:40:54]execute_script returns [07:40:54]free content buf [07:40:54]Sock 9.Close socket [07:40:54]Sock 9.Thread stoped [07:40:59]OFD Sender: No OFD packet to send [07:41:04]OFD Sender: No OFD packet to send [07:41:09]OFD Sender: No OFD packet to send [07:41:14]OFD Sender: No OFD packet to send [07:41:19]OFD Sender: No OFD packet to send [07:41:24]OFD Sender: No OFD packet to send [07:41:29]OFD Sender: No OFD packet to send [07:41:34]OFD Sender: No OFD packet to send [07:41:39]OFD Sender: No OFD packet to send [07:41:44]OFD Sender: No OFD packet to send [07:41:49]OFD Sender: No OFD packet to send [07:41:54]OFD Sender: No OFD packet to send [07:41:59]OFD Sender: No OFD packet to send [07:42:04]OFD Sender: No OFD packet to send [07:42:09]OFD Sender: No OFD packet to send [07:42:14]OFD Sender: No OFD packet to send [07:42:19]OFD Sender: No OFD packet to send [07:42:24]OFD Sender: No OFD packet to send [07:42:29]OFD Sender: No OFD packet to send [07:42:34]OFD Sender: No OFD packet to send [07:42:39]OFD Sender: No OFD packet to send [07:42:44]OFD Sender: No OFD packet to send [07:42:49]OFD Sender: No OFD packet to send [07:42:54]OFD Sender: No OFD packet to send [07:42:59]OFD Sender: No OFD packet to send [07:43:04]OFD Sender: No OFD packet to send [07:43:09]OFD Sender: No OFD packet to send [07:43:14]OFD Sender: No OFD packet to send [07:43:19]OFD Sender: No OFD packet to send [07:43:24]OFD Sender: No OFD packet to send [07:43:29]OFD Sender: No OFD packet to send [07:43:34]OFD Sender: No OFD packet to send [07:43:39]OFD Sender: No OFD packet to send [07:43:44]OFD Sender: No OFD packet to send [07:43:49]OFD Sender: No OFD packet to send [07:43:54]OFD Sender: No OFD packet to send [07:43:59]OFD Sender: No OFD packet to send [07:44:04]OFD Sender: No OFD packet to send [07:44:09]OFD Sender: No OFD packet to send [07:44:14]OFD Sender: No OFD packet to send [07:44:19]OFD Sender: No OFD packet to send [07:44:24]OFD Sender: No OFD packet to send [07:44:29]OFD Sender: No OFD packet to send [07:44:34]OFD Sender: No OFD packet to send [07:44:39]OFD Sender: No OFD packet to send [07:44:44]OFD Sender: No OFD packet to send [07:44:49]OFD Sender: No OFD packet to send [07:44:54]OFD Sender: No OFD packet to send [07:44:59]OFD Sender: No OFD packet to send [07:45:04]OFD Sender: No OFD packet to send [07:45:09]OFD Sender: No OFD packet to send [07:45:14]OFD Sender: No OFD packet to send [07:45:19]OFD Sender: No OFD packet to send [07:45:24]OFD Sender: No OFD packet to send [07:45:29]OFD Sender: No OFD packet to send [07:45:34]OFD Sender: No OFD packet to send [07:45:39]OFD Sender: No OFD packet to send [07:45:44]OFD Sender: No OFD packet to send [07:45:49]OFD Sender: No OFD packet to send [07:45:54]OFD Sender: No OFD packet to send [07:45:59]OFD Sender: No OFD packet to send [07:46:04]OFD Sender: No OFD packet to send [07:46:09]OFD Sender: No OFD packet to send [07:46:14]OFD Sender: No OFD packet to send [07:46:19]OFD Sender: No OFD packet to send [07:46:24]OFD Sender: No OFD packet to send [07:46:29]OFD Sender: No OFD packet to send [07:46:34]OFD Sender: No OFD packet to send [07:46:39]OFD Sender: No OFD packet to send [07:46:44]OFD Sender: No OFD packet to send [07:46:49]OFD Sender: No OFD packet to send [07:46:54]OFD Sender: No OFD packet to send [07:46:59]OFD Sender: No OFD packet to send [07:47:04]OFD Sender: No OFD packet to send [07:47:09]OFD Sender: No OFD packet to send [07:47:14]OFD Sender: No OFD packet to send [07:47:19]OFD Sender: No OFD packet to send [07:47:24]OFD Sender: No OFD packet to send [07:47:29]OFD Sender: No OFD packet to send [07:47:34]OFD Sender: No OFD packet to send [07:47:39]OFD Sender: No OFD packet to send [07:47:44]OFD Sender: No OFD packet to send [07:47:49]OFD Sender: No OFD packet to send [07:47:54]OFD Sender: No OFD packet to send [07:47:59]OFD Sender: No OFD packet to send [07:48:04]OFD Sender: No OFD packet to send [07:48:09]OFD Sender: No OFD packet to send [07:48:14]OFD Sender: No OFD packet to send [07:48:19]OFD Sender: No OFD packet to send [07:48:24]OFD Sender: No OFD packet to send [07:48:29]OFD Sender: No OFD packet to send [07:48:34]OFD Sender: No OFD packet to send [07:48:39]OFD Sender: No OFD packet to send [07:48:44]OFD Sender: No OFD packet to send [07:48:49]OFD Sender: No OFD packet to send [07:48:54]OFD Sender: No OFD packet to send [07:48:59]OFD Sender: No OFD packet to send [07:49:04]OFD Sender: No OFD packet to send [07:49:09]OFD Sender: No OFD packet to send [07:49:14]OFD Sender: No OFD packet to send [07:49:19]OFD Sender: No OFD packet to send [07:49:24]OFD Sender: No OFD packet to send [07:49:29]OFD Sender: No OFD packet to send [07:49:34]OFD Sender: No OFD packet to send [07:49:39]OFD Sender: No OFD packet to send [07:49:44]OFD Sender: No OFD packet to send [07:49:49]OFD Sender: No OFD packet to send [07:49:54]OFD Sender: No OFD packet to send [07:49:59]OFD Sender: No OFD packet to send [07:50:04]OFD Sender: No OFD packet to send [07:50:09]OFD Sender: No OFD packet to send [07:50:14]OFD Sender: No OFD packet to send [07:50:19]OFD Sender: No OFD packet to send [07:50:24]OFD Sender: No OFD packet to send [07:50:29]OFD Sender: No OFD packet to send [07:50:34]OFD Sender: No OFD packet to send [07:50:39]OFD Sender: No OFD packet to send [07:50:44]OFD Sender: No OFD packet to send [07:50:49]OFD Sender: No OFD packet to send [07:50:54]OFD Sender: No OFD packet to send [07:50:59]OFD Sender: No OFD packet to send [07:51:04]OFD Sender: No OFD packet to send [07:51:09]OFD Sender: No OFD packet to send [07:51:14]OFD Sender: No OFD packet to send [07:51:19]OFD Sender: No OFD packet to send [07:51:24]OFD Sender: No OFD packet to send [07:51:29]OFD Sender: No OFD packet to send [07:51:34]OFD Sender: No OFD packet to send [07:51:39]OFD Sender: No OFD packet to send [07:51:44]OFD Sender: No OFD packet to send [07:51:49]OFD Sender: No OFD packet to send [07:51:54]OFD Sender: No OFD packet to send [07:51:59]OFD Sender: No OFD packet to send [07:52:04]OFD Sender: No OFD packet to send [07:52:09]OFD Sender: No OFD packet to send [07:52:14]OFD Sender: No OFD packet to send [07:52:19]OFD Sender: No OFD packet to send [07:52:24]OFD Sender: No OFD packet to send [07:52:29]OFD Sender: No OFD packet to send [07:52:34]OFD Sender: No OFD packet to send [07:52:39]OFD Sender: No OFD packet to send [07:52:44]OFD Sender: No OFD packet to send [07:52:49]OFD Sender: No OFD packet to send [07:52:54]OFD Sender: No OFD packet to send [07:52:59]OFD Sender: No OFD packet to send [07:53:04]OFD Sender: No OFD packet to send [07:53:09]OFD Sender: No OFD packet to send [07:53:14]OFD Sender: No OFD packet to send [07:53:19]OFD Sender: No OFD packet to send [07:53:24]OFD Sender: No OFD packet to send [07:53:29]OFD Sender: No OFD packet to send [07:53:34]OFD Sender: No OFD packet to send [07:53:39]OFD Sender: No OFD packet to send [07:53:44]OFD Sender: No OFD packet to send [07:53:49]OFD Sender: No OFD packet to send [07:53:54]OFD Sender: No OFD packet to send [07:54:00]OFD Sender: No OFD packet to send [07:54:05]OFD Sender: No OFD packet to send [07:54:10]OFD Sender: No OFD packet to send [07:54:15]OFD Sender: No OFD packet to send [07:54:20]OFD Sender: No OFD packet to send [07:54:25]OFD Sender: No OFD packet to send [07:54:30]OFD Sender: No OFD packet to send [07:54:35]OFD Sender: No OFD packet to send [07:54:40]OFD Sender: No OFD packet to send [07:54:45]OFD Sender: No OFD packet to send [07:54:50]OFD Sender: No OFD packet to send [07:54:55]OFD Sender: No OFD packet to send [07:55:00]OFD Sender: No OFD packet to send [07:55:05]OFD Sender: No OFD packet to send [07:55:10]OFD Sender: No OFD packet to send [07:55:15]OFD Sender: No OFD packet to send [07:55:20]OFD Sender: No OFD packet to send [07:55:25]OFD Sender: No OFD packet to send [07:55:30]OFD Sender: No OFD packet to send [07:55:35]OFD Sender: No OFD packet to send [07:55:40]OFD Sender: No OFD packet to send [07:55:45]OFD Sender: No OFD packet to send [07:55:50]OFD Sender: No OFD packet to send [07:55:55]OFD Sender: No OFD packet to send [07:56:00]OFD Sender: No OFD packet to send [07:56:05]OFD Sender: No OFD packet to send [07:56:10]OFD Sender: No OFD packet to send [07:56:15]OFD Sender: No OFD packet to send [07:56:20]OFD Sender: No OFD packet to send [07:56:25]OFD Sender: No OFD packet to send [07:56:30]OFD Sender: No OFD packet to send [07:56:35]OFD Sender: No OFD packet to send [07:56:40]OFD Sender: No OFD packet to send [07:56:45]OFD Sender: No OFD packet to send [07:56:50]OFD Sender: No OFD packet to send [07:56:55]OFD Sender: No OFD packet to send [07:57:00]OFD Sender: No OFD packet to send [07:57:05]OFD Sender: No OFD packet to send [07:57:10]OFD Sender: No OFD packet to send [07:57:15]OFD Sender: No OFD packet to send [07:57:20]OFD Sender: No OFD packet to send [07:57:25]OFD Sender: No OFD packet to send [07:57:30]OFD Sender: No OFD packet to send [07:57:35]OFD Sender: No OFD packet to send [07:57:40]OFD Sender: No OFD packet to send [07:57:45]OFD Sender: No OFD packet to send [07:57:50]OFD Sender: No OFD packet to send [07:57:55]OFD Sender: No OFD packet to send [07:58:00]OFD Sender: No OFD packet to send [07:58:05]OFD Sender: No OFD packet to send [07:58:10]OFD Sender: No OFD packet to send [07:58:15]OFD Sender: No OFD packet to send [07:58:20]OFD Sender: No OFD packet to send [07:58:25]OFD Sender: No OFD packet to send [07:58:30]OFD Sender: No OFD packet to send [07:58:35]OFD Sender: No OFD packet to send [07:58:40]OFD Sender: No OFD packet to send [07:58:45]OFD Sender: No OFD packet to send [07:58:50]OFD Sender: No OFD packet to send [07:58:55]OFD Sender: No OFD packet to send [07:59:00]OFD Sender: No OFD packet to send [07:59:05]OFD Sender: No OFD packet to send [07:59:10]OFD Sender: No OFD packet to send [07:59:15]OFD Sender: No OFD packet to send [07:59:20]OFD Sender: No OFD packet to send [07:59:25]OFD Sender: No OFD packet to send [07:59:30]OFD Sender: No OFD packet to send [07:59:35]OFD Sender: No OFD packet to send [07:59:40]OFD Sender: No OFD packet to send [07:59:45]OFD Sender: No OFD packet to send [07:59:50]OFD Sender: No OFD packet to send [07:59:55]OFD Sender: No OFD packet to send [08:00:00]OFD Sender: No OFD packet to send [08:00:05]OFD Sender: No OFD packet to send [08:00:10]OFD Sender: No OFD packet to send [08:00:15]OFD Sender: No OFD packet to send [08:00:20]OFD Sender: No OFD packet to send [08:00:25]OFD Sender: No OFD packet to send [08:00:30]OFD Sender: No OFD packet to send [08:00:35]OFD Sender: No OFD packet to send [08:00:40]OFD Sender: No OFD packet to send [08:00:45]OFD Sender: No OFD packet to send [08:00:50]OFD Sender: No OFD packet to send [08:00:55]OFD Sender: No OFD packet to send [08:01:00]OFD Sender: No OFD packet to send [08:01:05]OFD Sender: No OFD packet to send [08:01:10]OFD Sender: No OFD packet to send [08:01:15]OFD Sender: No OFD packet to send [08:01:20]OFD Sender: No OFD packet to send [08:01:25]OFD Sender: No OFD packet to send [08:01:30]OFD Sender: No OFD packet to send [08:01:35]OFD Sender: No OFD packet to send [08:01:40]OFD Sender: No OFD packet to send [08:01:45]OFD Sender: No OFD packet to send [08:01:50]OFD Sender: No OFD packet to send [08:01:55]OFD Sender: No OFD packet to send [08:02:00]OFD Sender: No OFD packet to send [08:02:05]OFD Sender: No OFD packet to send [08:02:10]OFD Sender: No OFD packet to send [08:02:15]OFD Sender: No OFD packet to send [08:02:20]OFD Sender: No OFD packet to send [08:02:25]OFD Sender: No OFD packet to send [08:02:30]OFD Sender: No OFD packet to send [08:02:35]OFD Sender: No OFD packet to send [08:02:40]OFD Sender: No OFD packet to send [08:02:45]OFD Sender: No OFD packet to send [08:02:50]OFD Sender: No OFD packet to send [08:02:55]OFD Sender: No OFD packet to send [08:03:00]OFD Sender: No OFD packet to send [08:03:05]OFD Sender: No OFD packet to send [08:03:10]OFD Sender: No OFD packet to send [08:03:15]OFD Sender: No OFD packet to send [08:03:20]OFD Sender: No OFD packet to send [08:03:25]OFD Sender: No OFD packet to send [08:03:30]OFD Sender: No OFD packet to send [08:03:35]OFD Sender: No OFD packet to send [08:03:50]OFD Sender: No OFD packet to send [08:03:55]OFD Sender: No OFD packet to send [08:04:00]OFD Sender: No OFD packet to send [08:04:05]OFD Sender: No OFD packet to send [08:04:10]OFD Sender: No OFD packet to send [08:04:15]OFD Sender: No OFD packet to send [08:04:20]OFD Sender: No OFD packet to send [08:04:25]OFD Sender: No OFD packet to send [08:04:30]OFD Sender: No OFD packet to send [08:04:35]OFD Sender: No OFD packet to send [08:04:40]OFD Sender: No OFD packet to send [08:04:45]OFD Sender: No OFD packet to send [08:04:50]OFD Sender: No OFD packet to send [08:04:55]OFD Sender: No OFD packet to send [08:05:00]OFD Sender: No OFD packet to send [08:05:05]OFD Sender: No OFD packet to send [08:05:10]OFD Sender: No OFD packet to send [08:05:15]OFD Sender: No OFD packet to send [08:05:20]OFD Sender: No OFD packet to send [08:05:25]OFD Sender: No OFD packet to send [08:05:30]OFD Sender: No OFD packet to send [08:05:35]OFD Sender: No OFD packet to send [08:05:40]OFD Sender: No OFD packet to send [08:05:45]OFD Sender: No OFD packet to send [08:05:50]OFD Sender: No OFD packet to send [08:05:55]OFD Sender: No OFD packet to send [08:05:58]ConnectInit Can't connect to host [08:06:00]OFD Sender: No OFD packet to send [08:06:05]OFD Sender: No OFD packet to send [08:06:10]OFD Sender: No OFD packet to send [08:06:20]OFD Sender: No OFD packet to send [08:06:25]OFD Sender: No OFD packet to send [08:06:30]OFD Sender: No OFD packet to send [08:06:35]OFD Sender: No OFD packet to send [08:06:40]OFD Sender: No OFD packet to send [08:06:45]OFD Sender: No OFD packet to send [08:06:50]OFD Sender: No OFD packet to send [08:06:55]OFD Sender: No OFD packet to send [08:07:00]OFD Sender: No OFD packet to send [08:07:05]OFD Sender: No OFD packet to send [08:07:10]OFD Sender: No OFD packet to send [08:07:15]OFD Sender: No OFD packet to send [08:07:20]OFD Sender: No OFD packet to send [08:07:25]OFD Sender: No OFD packet to send [08:07:30]OFD Sender: No OFD packet to send [08:07:35]OFD Sender: No OFD packet to send [08:07:40]OFD Sender: No OFD packet to send [08:07:45]OFD Sender: No OFD packet to send [08:07:50]OFD Sender: No OFD packet to send [08:07:55]OFD Sender: No OFD packet to send [08:08:00]OFD Sender: No OFD packet to send [08:08:05]OFD Sender: No OFD packet to send [08:08:10]OFD Sender: No OFD packet to send [08:08:15]OFD Sender: No OFD packet to send [08:08:20]OFD Sender: No OFD packet to send [08:08:25]OFD Sender: No OFD packet to send [08:08:30]OFD Sender: No OFD packet to send [08:08:32]ConnectInit Can't connect to host [08:08:35]OFD Sender: No OFD packet to send [08:08:40]OFD Sender: No OFD packet to send [08:08:45]OFD Sender: No OFD packet to send [08:08:50]OFD Sender: No OFD packet to send [08:08:55]OFD Sender: No OFD packet to send [08:09:00]OFD Sender: No OFD packet to send [08:09:05]OFD Sender: No OFD packet to send [08:09:10]OFD Sender: No OFD packet to send [08:09:15]OFD Sender: No OFD packet to send [08:09:20]OFD Sender: No OFD packet to send [08:09:25]OFD Sender: No OFD packet to send [08:09:30]OFD Sender: No OFD packet to send [08:09:35]OFD Sender: No OFD packet to send [08:09:40]OFD Sender: No OFD packet to send [08:09:45]OFD Sender: No OFD packet to send [08:09:50]OFD Sender: No OFD packet to send [08:09:55]OFD Sender: No OFD packet to send [08:10:00]OFD Sender: No OFD packet to send [08:10:05]OFD Sender: No OFD packet to send [08:10:10]OFD Sender: No OFD packet to send [08:10:15]OFD Sender: No OFD packet to send [08:10:20]OFD Sender: No OFD packet to send [08:10:25]OFD Sender: No OFD packet to send [08:10:30]OFD Sender: No OFD packet to send [08:10:35]OFD Sender: No OFD packet to send [08:10:40]OFD Sender: No OFD packet to send [08:10:45]OFD Sender: No OFD packet to send [08:10:50]OFD Sender: No OFD packet to send [08:10:55]OFD Sender: No OFD packet to send [08:11:00]OFD Sender: No OFD packet to send [08:11:05]OFD Sender: No OFD packet to send [08:11:10]OFD Sender: No OFD packet to send [08:11:15]OFD Sender: No OFD packet to send [08:11:20]OFD Sender: No OFD packet to send [08:11:25]OFD Sender: No OFD packet to send [08:11:30]OFD Sender: No OFD packet to send [08:11:35]OFD Sender: No OFD packet to send [08:11:40]OFD Sender: No OFD packet to send [08:11:45]OFD Sender: No OFD packet to send [08:11:50]OFD Sender: No OFD packet to send [08:11:55]OFD Sender: No OFD packet to send [08:12:00]OFD Sender: No OFD packet to send [08:12:05]OFD Sender: No OFD packet to send [08:12:10]OFD Sender: No OFD packet to send [08:12:15]OFD Sender: No OFD packet to send [08:12:20]OFD Sender: No OFD packet to send [08:12:25]OFD Sender: No OFD packet to send [08:12:30]OFD Sender: No OFD packet to send [08:12:35]OFD Sender: No OFD packet to send [08:12:40]OFD Sender: No OFD packet to send [08:12:45]OFD Sender: No OFD packet to send [08:12:50]OFD Sender: No OFD packet to send [08:12:56]OFD Sender: No OFD packet to send [08:13:01]OFD Sender: No OFD packet to send [08:13:06]OFD Sender: No OFD packet to send [08:13:11]OFD Sender: No OFD packet to send [08:13:16]OFD Sender: No OFD packet to send [08:13:21]OFD Sender: No OFD packet to send [08:13:26]OFD Sender: No OFD packet to send [08:13:31]OFD Sender: No OFD packet to send [08:13:36]OFD Sender: No OFD packet to send [08:13:41]OFD Sender: No OFD packet to send [08:13:46]OFD Sender: No OFD packet to send [08:13:51]OFD Sender: No OFD packet to send [08:13:56]OFD Sender: No OFD packet to send [08:14:01]OFD Sender: No OFD packet to send [08:14:06]OFD Sender: No OFD packet to send [08:14:11]OFD Sender: No OFD packet to send [08:14:16]OFD Sender: No OFD packet to send [08:14:21]OFD Sender: No OFD packet to send [08:14:26]OFD Sender: No OFD packet to send [08:14:31]OFD Sender: No OFD packet to send [08:14:36]OFD Sender: No OFD packet to send [08:14:41]OFD Sender: No OFD packet to send [08:14:46]OFD Sender: No OFD packet to send [08:14:51]OFD Sender: No OFD packet to send [08:14:56]OFD Sender: No OFD packet to send [08:15:01]OFD Sender: No OFD packet to send [08:15:06]OFD Sender: No OFD packet to send [08:15:11]OFD Sender: No OFD packet to send [08:15:16]OFD Sender: No OFD packet to send [08:15:21]OFD Sender: No OFD packet to send [08:15:26]OFD Sender: No OFD packet to send [08:15:31]OFD Sender: No OFD packet to send [08:15:36]OFD Sender: No OFD packet to send [08:15:41]OFD Sender: No OFD packet to send [08:15:46]OFD Sender: No OFD packet to send [08:15:51]OFD Sender: No OFD packet to send [08:15:56]OFD Sender: No OFD packet to send [08:16:01]OFD Sender: No OFD packet to send [08:16:06]OFD Sender: No OFD packet to send [08:16:11]OFD Sender: No OFD packet to send [08:16:16]OFD Sender: No OFD packet to send [08:16:21]OFD Sender: No OFD packet to send [08:16:26]OFD Sender: No OFD packet to send [08:16:31]OFD Sender: No OFD packet to send [08:16:36]OFD Sender: No OFD packet to send [08:16:41]OFD Sender: No OFD packet to send [08:16:46]OFD Sender: No OFD packet to send [08:16:51]OFD Sender: No OFD packet to send [08:16:56]OFD Sender: No OFD packet to send [08:17:01]OFD Sender: No OFD packet to send [08:17:06]OFD Sender: No OFD packet to send [08:17:11]OFD Sender: No OFD packet to send [08:17:16]OFD Sender: No OFD packet to send [08:17:21]OFD Sender: No OFD packet to send [08:17:26]OFD Sender: No OFD packet to send [08:17:31]OFD Sender: No OFD packet to send [08:17:36]OFD Sender: No OFD packet to send [08:17:41]OFD Sender: No OFD packet to send [08:17:46]OFD Sender: No OFD packet to send [08:17:51]OFD Sender: No OFD packet to send [08:17:56]OFD Sender: No OFD packet to send [08:18:01]OFD Sender: No OFD packet to send [08:18:06]OFD Sender: No OFD packet to send [08:18:11]OFD Sender: No OFD packet to send [08:18:16]OFD Sender: No OFD packet to send [08:18:21]OFD Sender: No OFD packet to send [08:18:26]OFD Sender: No OFD packet to send [08:18:31]OFD Sender: No OFD packet to send [08:18:36]OFD Sender: No OFD packet to send [08:18:41]OFD Sender: No OFD packet to send [08:18:46]OFD Sender: No OFD packet to send [08:18:51]OFD Sender: No OFD packet to send [08:18:56]OFD Sender: No OFD packet to send [08:19:01]OFD Sender: No OFD packet to send [08:19:06]OFD Sender: No OFD packet to send [08:19:11]OFD Sender: No OFD packet to send [08:19:16]OFD Sender: No OFD packet to send [08:19:21]OFD Sender: No OFD packet to send [08:19:26]OFD Sender: No OFD packet to send [08:19:31]OFD Sender: No OFD packet to send [08:19:36]OFD Sender: No OFD packet to send [08:19:41]OFD Sender: No OFD packet to send [08:19:46]OFD Sender: No OFD packet to send [08:19:51]OFD Sender: No OFD packet to send [08:19:56]OFD Sender: No OFD packet to send [08:20:01]OFD Sender: No OFD packet to send [08:20:06]OFD Sender: No OFD packet to send [08:20:11]OFD Sender: No OFD packet to send [08:20:16]OFD Sender: No OFD packet to send [08:20:21]OFD Sender: No OFD packet to send [08:20:26]OFD Sender: No OFD packet to send [08:20:31]OFD Sender: No OFD packet to send [08:20:36]OFD Sender: No OFD packet to send [08:20:41]OFD Sender: No OFD packet to send [08:20:46]OFD Sender: No OFD packet to send [08:20:51]OFD Sender: No OFD packet to send [08:20:56]OFD Sender: No OFD packet to send [08:21:01]OFD Sender: No OFD packet to send [08:21:06]OFD Sender: No OFD packet to send [08:21:11]OFD Sender: No OFD packet to send [08:21:16]OFD Sender: No OFD packet to send [08:21:21]OFD Sender: No OFD packet to send [08:21:26]OFD Sender: No OFD packet to send [08:21:31]OFD Sender: No OFD packet to send [08:21:36]OFD Sender: No OFD packet to send [08:21:41]OFD Sender: No OFD packet to send [08:21:46]OFD Sender: No OFD packet to send [08:21:51]OFD Sender: No OFD packet to send [08:21:56]OFD Sender: No OFD packet to send [08:22:01]OFD Sender: No OFD packet to send [08:22:06]OFD Sender: No OFD packet to send [08:22:11]OFD Sender: No OFD packet to send [08:22:16]OFD Sender: No OFD packet to send [08:22:21]OFD Sender: No OFD packet to send [08:22:26]OFD Sender: No OFD packet to send [08:22:31]OFD Sender: No OFD packet to send [08:22:36]OFD Sender: No OFD packet to send [08:22:41]OFD Sender: No OFD packet to send [08:22:46]OFD Sender: No OFD packet to send [08:22:51]OFD Sender: No OFD packet to send [08:22:56]OFD Sender: No OFD packet to send [08:23:01]OFD Sender: No OFD packet to send [08:23:06]OFD Sender: No OFD packet to send [08:23:11]OFD Sender: No OFD packet to send [08:23:16]OFD Sender: No OFD packet to send [08:23:21]OFD Sender: No OFD packet to send [08:23:26]OFD Sender: No OFD packet to send [08:23:31]OFD Sender: No OFD packet to send [08:23:36]OFD Sender: No OFD packet to send [08:23:41]OFD Sender: No OFD packet to send [08:23:46]OFD Sender: No OFD packet to send [08:23:51]OFD Sender: No OFD packet to send [08:23:56]OFD Sender: No OFD packet to send [08:24:01]OFD Sender: No OFD packet to send [08:24:06]OFD Sender: No OFD packet to send [08:24:11]OFD Sender: No OFD packet to send [08:24:16]OFD Sender: No OFD packet to send [08:24:21]OFD Sender: No OFD packet to send [08:24:26]OFD Sender: No OFD packet to send [08:24:31]OFD Sender: No OFD packet to send [08:24:36]OFD Sender: No OFD packet to send [08:24:41]OFD Sender: No OFD packet to send [08:24:46]OFD Sender: No OFD packet to send [08:24:51]OFD Sender: No OFD packet to send [08:24:56]OFD Sender: No OFD packet to send [08:25:01]OFD Sender: No OFD packet to send [08:25:06]OFD Sender: No OFD packet to send [08:25:11]OFD Sender: No OFD packet to send [08:25:16]OFD Sender: No OFD packet to send [08:25:21]OFD Sender: No OFD packet to send [08:25:26]OFD Sender: No OFD packet to send [08:25:31]OFD Sender: No OFD packet to send [08:25:36]OFD Sender: No OFD packet to send [08:25:41]OFD Sender: No OFD packet to send [08:25:46]OFD Sender: No OFD packet to send [08:25:51]OFD Sender: No OFD packet to send [08:25:56]OFD Sender: No OFD packet to send [08:26:01]OFD Sender: No OFD packet to send [08:26:06]OFD Sender: No OFD packet to send [08:26:11]OFD Sender: No OFD packet to send [08:26:16]OFD Sender: No OFD packet to send [08:26:21]OFD Sender: No OFD packet to send [08:26:26]OFD Sender: No OFD packet to send [08:26:31]OFD Sender: No OFD packet to send [08:26:36]OFD Sender: No OFD packet to send [08:26:41]OFD Sender: No OFD packet to send [08:26:46]OFD Sender: No OFD packet to send [08:26:51]OFD Sender: No OFD packet to send [08:26:56]OFD Sender: No OFD packet to send [08:27:01]OFD Sender: No OFD packet to send [08:27:06]OFD Sender: No OFD packet to send [08:27:11]OFD Sender: No OFD packet to send [08:27:16]OFD Sender: No OFD packet to send [08:27:21]OFD Sender: No OFD packet to send [08:27:26]OFD Sender: No OFD packet to send [08:27:31]OFD Sender: No OFD packet to send [08:27:36]OFD Sender: No OFD packet to send [08:27:41]OFD Sender: No OFD packet to send [08:27:46]OFD Sender: No OFD packet to send [08:27:51]OFD Sender: No OFD packet to send [08:27:56]OFD Sender: No OFD packet to send [08:28:01]OFD Sender: No OFD packet to send [08:28:06]OFD Sender: No OFD packet to send [08:28:11]OFD Sender: No OFD packet to send [08:28:16]OFD Sender: No OFD packet to send [08:28:21]OFD Sender: No OFD packet to send [08:28:26]OFD Sender: No OFD packet to send [08:28:31]OFD Sender: No OFD packet to send [08:28:36]OFD Sender: No OFD packet to send [08:28:41]OFD Sender: No OFD packet to send [08:28:46]OFD Sender: No OFD packet to send [08:28:51]OFD Sender: No OFD packet to send [08:28:56]OFD Sender: No OFD packet to send [08:29:01]OFD Sender: No OFD packet to send [08:29:06]OFD Sender: No OFD packet to send [08:29:11]OFD Sender: No OFD packet to send [08:29:16]OFD Sender: No OFD packet to send [08:29:21]OFD Sender: No OFD packet to send [08:29:26]OFD Sender: No OFD packet to send [08:29:31]OFD Sender: No OFD packet to send [08:29:36]OFD Sender: No OFD packet to send [08:29:41]OFD Sender: No OFD packet to send [08:29:46]OFD Sender: No OFD packet to send [08:29:51]OFD Sender: No OFD packet to send [08:29:56]OFD Sender: No OFD packet to send [08:30:01]OFD Sender: No OFD packet to send [08:30:06]OFD Sender: No OFD packet to send [08:30:11]OFD Sender: No OFD packet to send [08:30:16]OFD Sender: No OFD packet to send [08:30:21]OFD Sender: No OFD packet to send [08:30:26]OFD Sender: No OFD packet to send [08:30:31]OFD Sender: No OFD packet to send [08:30:36]OFD Sender: No OFD packet to send [08:30:41]OFD Sender: No OFD packet to send [08:30:46]OFD Sender: No OFD packet to send [08:30:51]OFD Sender: No OFD packet to send [08:30:56]OFD Sender: No OFD packet to send [08:31:01]OFD Sender: No OFD packet to send [08:31:06]OFD Sender: No OFD packet to send [08:31:11]OFD Sender: No OFD packet to send [08:31:16]OFD Sender: No OFD packet to send [08:31:21]OFD Sender: No OFD packet to send [08:31:26]OFD Sender: No OFD packet to send [08:31:31]OFD Sender: No OFD packet to send [08:31:37]OFD Sender: No OFD packet to send [08:31:42]OFD Sender: No OFD packet to send [08:31:47]OFD Sender: No OFD packet to send [08:31:52]OFD Sender: No OFD packet to send [08:31:57]OFD Sender: No OFD packet to send [08:32:02]OFD Sender: No OFD packet to send [08:32:07]OFD Sender: No OFD packet to send [08:32:12]OFD Sender: No OFD packet to send [08:32:17]OFD Sender: No OFD packet to send [08:32:22]OFD Sender: No OFD packet to send [08:32:27]OFD Sender: No OFD packet to send [08:32:32]OFD Sender: No OFD packet to send [08:32:37]OFD Sender: No OFD packet to send [08:32:42]OFD Sender: No OFD packet to send [08:32:47]OFD Sender: No OFD packet to send [08:32:52]OFD Sender: No OFD packet to send [08:32:57]OFD Sender: No OFD packet to send [08:33:02]OFD Sender: No OFD packet to send [08:33:07]OFD Sender: No OFD packet to send [08:33:12]OFD Sender: No OFD packet to send [08:33:17]OFD Sender: No OFD packet to send [08:33:22]OFD Sender: No OFD packet to send [08:33:27]OFD Sender: No OFD packet to send [08:33:32]OFD Sender: No OFD packet to send [08:33:37]OFD Sender: No OFD packet to send [08:33:42]OFD Sender: No OFD packet to send [08:33:47]OFD Sender: No OFD packet to send [08:33:52]OFD Sender: No OFD packet to send [08:33:57]OFD Sender: No OFD packet to send [08:34:02]OFD Sender: No OFD packet to send [08:34:07]OFD Sender: No OFD packet to send [08:34:12]OFD Sender: No OFD packet to send [08:34:17]OFD Sender: No OFD packet to send [08:34:22]OFD Sender: No OFD packet to send [08:34:27]OFD Sender: No OFD packet to send [08:34:32]OFD Sender: No OFD packet to send [08:34:37]OFD Sender: No OFD packet to send [08:34:42]OFD Sender: No OFD packet to send [08:34:47]OFD Sender: No OFD packet to send [08:34:52]OFD Sender: No OFD packet to send [08:34:57]OFD Sender: No OFD packet to send [08:35:02]OFD Sender: No OFD packet to send [08:35:07]OFD Sender: No OFD packet to send [08:35:12]OFD Sender: No OFD packet to send [08:35:17]OFD Sender: No OFD packet to send [08:35:22]OFD Sender: No OFD packet to send [08:35:27]OFD Sender: No OFD packet to send [08:35:32]OFD Sender: No OFD packet to send [08:35:37]OFD Sender: No OFD packet to send [08:35:42]OFD Sender: No OFD packet to send [08:35:47]OFD Sender: No OFD packet to send [08:35:52]OFD Sender: No OFD packet to send [08:35: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:22]accept exits with 7 [08:36:22]New connection [08:36:22]New thread 3067063652 created [08:36:22]Thread 3067207012 joined [08:36:22]Waiting for new connection... [08:36:22] Sock 7.Parse request [08:36:22]Sock 7.Check first char [08:36:22]Sock 7.First char is OK [08:36:22]request: POST /json_proto HTTP/1.0 [08:36:22]Method: POST [08:36:22]URL: /json_proto [08:36:22]Method is POST - this is cgi request [08:36:22]url: /json_proto [08:36:22]query_string will be loaded in cgi processing [08:36:22]execute_cgi json_proto POST (null) [08:36:22]execute_cgi path=json_proto method=POST [08:36:22]POST find Content-Length [08:36:22]Host: 172.17.40.196:8080 [08:36:22]Content-Length: 625 [08:36:22]Content-Type: application/json [08:36:22] [08:36:22]POST finish read [08:36:22]Found Content-Length = 625 [08:36:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35227", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:36:22]execute_script... [08:36: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 : (3)35227", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:36:22]POST & json_proto [08:36:22]process_json_proto [08:36:22]json parsed OK: [08:36:22]protocol is kg_v1.0 [08:36:22]action value=close_receipt [08:36:22]process_action close_receipt [08:36:22]cmd_close_receipt [08:36:22]MH_GetDate [08:36:22]Write to MH i2c: F0 00 00 89 09 81 [08:36:22]Write i2c OK [08:36:22]MH_I2C_Read... [08:36:22]Read from MH i2c: F0 [08:36:22]MH_I2C_Read... [08:36:22]Read from MH i2c: F0 09 00 [08:36:22]MH_I2C_Read... [08:36:22]Read from MH i2c: F0 09 00 89 09 00 0A F0 21 67 5B 68 A1 66 D6 [08:36:22]GetLastDocTimeStamp 1730274054 [08:36:22]current date 1730277386 [08:36:22]FM_GetShiftState [08:36:22]SAM_PROTO_GetShiftState [08:36:22]wFMCommunicate request_size=4 [08:36:22]MH_SAM_APDU [08:36:22]CAPDU: 80 13 01 00 [08:36:22]Write to MH i2c: E2 08 00 8A 09 80 13 01 00 00 00 00 00 10 [08:36:22]Write i2c OK [08:36:22]MH_I2C_Read... [08:36:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:36:22]Read from MH i2c: E2 [08:36:22]MH_I2C_Read... [08:36:22]Read from MH i2c: E2 0E 00 [08:36:22]MH_I2C_Read... [08:36:22]Read from MH i2c: E2 0E 00 8A 09 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 D1 [08:36:22]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [08:36:22]wFMCommunicate OK [08:36:22]SAM_PROTO_GetShiftState done [08:36:22]FM_GetShiftState done [08:36:22]opened in 1730246837 [08:36:22]opened+sec_in_day 1730333237 [08:36:22]quantity*price = 11500 [08:36:22]sum+1 = 11501 [08:36:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 10 30.10.2024 08:36 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37928 ФПД: 31230865862497 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T083626&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37928&fm=31230865862497&tin=02508201610067®Number=0000000000091684&sum=11500 0 [08:36:23]StoreToDocumentArchive [08:36:23]shift 553 fd 37928 [08:36:23]save to /storage/0553/doc_00037928 [08:36:23]save last doc name /storage/0553/doc_00037928 to /storage/kkm_last_doc_name [08:36:23]save OK [08:36:23]Clear old archive folders... [08:36:23]ProcessDocumentItem done err = 0, tmpTLVsize=274 [08:36:23]tlvbuf is 019C6B00 [08:36:23]SAM_PROTO_ClearQueue [08:36:23]wFMCommunicate request_size=4 [08:36:23]MH_SAM_APDU [08:36:23]CAPDU: 80 09 00 00 [08:36:23]Write to MH i2c: E2 08 00 97 09 80 09 00 00 00 00 00 00 12 [08:36:23]Write i2c OK [08:36:23]MH_I2C_Read... [08:36:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:36:23]Read from MH i2c: E2 [08:36:23]MH_I2C_Read... [08:36:23]Read from MH i2c: E2 03 00 [08:36:23]MH_I2C_Read... [08:36:23]Read from MH i2c: E2 03 00 97 09 00 90 00 14 [08:36:23]RAPDU: 90 00 [08:36:23]wFMCommunicate OK [08:36:23]SAM_PROTO_ClearQueue done [08:36:23]KKMCreateOFDPacket [08:36:23]OFDProtocolAddRootSTLVToBuf [08:36:23]FM_MakeSignedData [08:36:23]FM_MakeSignedData [08:36:23]SAM_PROTO_SignData [08:36:23]wFMCommunicate request_size=4 [08:36:23]MH_SAM_APDU [08:36:23]CAPDU: 80 0D 01 02 [08:36:23]Write to MH i2c: E2 08 00 98 09 80 0D 01 02 00 00 00 00 1A [08:36:23]Write i2c OK [08:36:23]MH_I2C_Read... [08:36:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:36:24]Read from MH i2c: E2 [08:36:24]MH_I2C_Read... [08:36:24]Read from MH i2c: E2 03 00 [08:36:24]MH_I2C_Read... [08:36:24]Read from MH i2c: E2 03 00 98 09 00 90 00 15 [08:36:24]RAPDU: 90 00 [08:36:24]wFMCommunicate OK [08:36:24]wFMCommunicate request_size=255 [08:36:24]MH_SAM_APDU [08:36:24]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 0A F0 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [08:36:24]Write to MH i2c: E2 02 01 99 09 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 0A F0 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 70 [08:36:24]Write i2c OK [08:36:24]MH_I2C_Read... [08:36:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:36:24]Read from MH i2c: E2 [08:36:24]MH_I2C_Read... [08:36:24]Read from MH i2c: E2 03 00 [08:36:24]MH_I2C_Read... [08:36:24]Read from MH i2c: E2 03 00 99 09 00 90 00 16 [08:36:24]RAPDU: 90 00 [08:36:24]wFMCommunicate OK [08:36:24]wFMCommunicate request_size=33 [08:36:24]MH_SAM_APDU [08:36:24]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 28 94 00 00 35 04 06 00 1C 67 80 AA 6F 61 [08:36:24]Write to MH i2c: E2 24 00 9A 09 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 28 94 00 00 35 04 06 00 1C 67 80 AA 6F 61 00 00 E2 [08:36:24]Write i2c OK [08:36:24]MH_I2C_Read... [08:36:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:36:24]Read from MH i2c: E2 [08:36:24]MH_I2C_Read... [08:36:24]Read from MH i2c: E2 03 00 [08:36:24]MH_I2C_Read... [08:36:24]Read from MH i2c: E2 03 00 9A 09 00 90 00 17 [08:36:24]RAPDU: 90 00 [08:36:24]wFMCommunicate OK [08:36:24]wFMCommunicate request_size=4 [08:36:24]MH_SAM_APDU [08:36:24]CAPDU: 80 0D 03 02 [08:36:24]Write to MH i2c: E2 08 00 9B 09 80 0D 03 02 00 00 00 00 1F [08:36:24]Write i2c OK [08:36:24]MH_I2C_Read... [08:36:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:36:24]Read from MH i2c: E2 [08:36:24]MH_I2C_Read... [08:36:24]Read from MH i2c: E2 0B 00 [08:36:24]MH_I2C_Read... [08:36:24]Read from MH i2c: E2 0B 00 9B 09 00 AF AF 45 FC 49 FE 99 34 90 00 D3 [08:36:24]RAPDU: AF AF 45 FC 49 FE 99 34 90 00 [08:36:24]wFMCommunicate OK [08:36:24]SAM_PROTO_SignData done [08:36:24]FM_MakeSignedData done [08:36:24]CreateOFDProtocolMessage [08:36:24]wFMCommunicate request_size=4 [08:36:24]MH_SAM_APDU [08:36:24]CAPDU: 80 11 00 00 [08:36:24]Write to MH i2c: E2 08 00 9C 09 80 11 00 00 00 00 00 00 1F [08:36:24]Write i2c OK [08:36:24]MH_I2C_Read... [08:36:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:36:24]Read from MH i2c: E2 [08:36:24]MH_I2C_Read... [08:36:24]Read from MH i2c: E2 17 00 [08:36:24]MH_I2C_Read... [08:36:24]Read from MH i2c: E2 17 00 9C 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 6F [08:36:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:36:24]wFMCommunicate OK [08:36:24]CreateOFDProtocolMessage done [08:36:24]OFDSenderStorePacket 37928 [08:36:24]StoreOFDPacket docnum=37928 [08:36:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 1C E8 1E 01 A0 65 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 0A F0 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 28 94 00 00 35 04 06 00 1C 67 80 AA 6F 61 AF AF 45 FC 49 FE 99 34 [08:36:24]CheckFolder [08:36:24]dirname=/storage/ofd_packets [08:36:24]CheckFolder done [08:36:24]ProducePacketName [08:36:24]name=ofd_packets/00037928 [08:36:24]NVStorageSaveData ofd_packets/00037928 [08:36:24]File name is /storage/ofd_packets/00037928 [08:36:24]Write 324 bytes [08:36:24]NVStorageSaveData done [08:36:24]OFDSenderStorePacket done [08:36:24]KKMCreateOFDPacket done [08:36:24]NVStorageSaveData kkm_last_timestamp [08:36:24]File name is /storage/kkm_last_timestamp [08:36:24]Write 4 bytes [08:36:24]NVStorageSaveData done [08:36:24]ExternCall_PrintAddStr [08:36:24]wPrintStart [08:36:24]Write to MH i2c: 01 00 00 9D 09 A6 [08:36:24]Write i2c OK [08:36:24]MH_I2C_Read... [08:36:24]Read from MH i2c: 01 [08:36:24]MH_I2C_Read... [08:36:24]Read from MH i2c: 01 07 00 [08:36:24]MH_I2C_Read... [08:36:24]Read from MH i2c: 01 07 00 9D 09 00 00 00 00 00 FF 0F BB [08:36:24]RasterBufferAndPrint [08:36:24]line Счет N : (3)35227 [08:36:24]line ИНН: 02508201610067 [08:36:24]line Контрольно-Кассовый Чек [08:36:24]line ПРОДАЖА [08:36:24]line Товар: 2000036240010 [08:36:24]line Кофе Латте (GABB TRADE) [08:36:24]line 1.000 * 115.00 [08:36:24]line = 115.00 [08:36:24]line НДС 12% НСП 1% [08:36:24]line > о реализуемом товаре [08:36:24]line ИТОГО: 115.00 [08:36:24]line НСП 1% : 1.02 [08:36:24]line НДС 12% : 12.21 [08:36:24]line Наличными: 115.00 [08:36:24]line Безнал.: 0.00 [08:36:24]line Место: АЗС № 126 "Партнер Нефть" [08:36:24]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [08:36:24]line СНО: Общий режим [08:36:24]line Чек 10 30.10.2024 08:36 [08:36:24]line Смена: 553 ФФД: 1.0 [08:36:24]line ЗНМ: 0300000092 [08:36:24]line РНМ: 0000000000091684 [08:36:24]line Версия ККМ: 001 [08:36:24]line ФМ: 0000000000871841 [08:36:24]line ФД: 37928 [08:36:24]line ФПД: 31230865862497 [08:36:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T083626&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37928&fm=31230865862497&tin=02508201610067®Number=0000000000091684&sum=11500 [08:36:24]line 0 [08:36:24]OFD Sender: Processing packet 37928 [packets to send 42, broken 41] [08:36:24]ProducePacketName [08:36:24]name=ofd_packets/00037928 [08:36:24]OFD Sender: To server: pG, [08:36:24]CommunicateWithHost lk.salyk.kg:30040 [08:36:24]ConnectInit lk.salyk.kg [08:36:24]written 0, free lines is 4095 [08:36:25]Connected sock=10 [08:36:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 1C E8 1E 01 A0 65 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 0A F0 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 28 94 00 00 35 04 06 00 1C 67 80 AA 6F 61 AF AF 45 FC 49 FE 99 34 [08:36:25]Write to MH i2c: 01 00 00 C5 09 CE [08:36:25]Write i2c OK [08:36:25]MH_I2C_Read... [08:36:25]Read from MH i2c: 01 [08:36:25]MH_I2C_Read... [08:36:25]Read from MH i2c: 01 07 00 [08:36:25]MH_I2C_Read... [08:36:25]Read from MH i2c: 01 07 00 C5 09 00 00 00 00 00 DC 0C BD [08:36:25]RasterBufferAndPrint [08:36:25]line [08:36:25]line [08:36:25]line [08:36:25]line [08:36:25]line [08:36:25]written 0, free lines is 3297 [08:36:25]MH_Cut [08:36:25]Write to MH i2c: D1 01 00 CC 09 01 A7 [08:36:25]Write i2c OK [08:36:25]MH_I2C_Read... [08:36:25]Read from MH i2c: D1 [08:36:25]MH_I2C_Read... [08:36:25]Read from MH i2c: D1 01 00 [08:36:25]MH_I2C_Read... [08:36:25]Read from MH i2c: D1 01 00 CC 09 00 A6 [08:36:25]Write to MH i2c: 01 00 00 CD 09 D6 [08:36:25]Write i2c OK [08:36:25]MH_I2C_Read... [08:36:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 2E CA 47 00 FC C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 28 94 00 00 F4 03 04 00 F9 9A 21 67 B6 04 01 00 00 D1 E6 EE F4 92 68 19 95 [08:36:25]CommunicateWithHost err = 0 [08:36:25]CheckOFDResponse [08:36:25]1017 (14) - 77093643461234 [08:36:25]1041 (16) - 0000000000871841 [08:36:25]1040 (4) - 37928 [08:36:25]1012 (4) - 30.10.2024 02:33 [08:36:25]1206 (1) - 0 [08:36:25]OFD Sender: Remove packet 37928 [08:36:25]ProducePacketName [08:36:25]name=ofd_packets/00037928 [08:36:25]NVStorageDeleteData [08:36:26]OFD Sender: No OFD packet to send [08:36:26]*** Cut start [08:36:26]*** Partial cut [08:36:26]*** CUTSNS_PIN = 1 [08:36:26]*** CUTSNS_PIN = 0 [08:36:26]*** Brake cut motor [08:36:26]Read from MH i2c: 01 [08:36:26]MH_I2C_Read... [08:36:26]*** Stop cut motor [08:36:26]*** Cut end [08:36:26]Read from MH i2c: 01 07 00 [08:36:26]MH_I2C_Read... [08:36:26]Read from MH i2c: 01 07 00 CD 09 00 00 00 00 00 FF 0F EB [08:36:26]process_action close_receipt done [08:36:26]requested_data is exist [08:36:26]produce_requested_data [08:36:26]requested_item fm.sn is exist - process it [08:36:26]wFMCommunicate request_size=4 [08:36:26]MH_SAM_APDU [08:36:26]CAPDU: 80 11 00 00 [08:36:26]Write to MH i2c: E2 08 00 CE 09 80 11 00 00 00 00 00 00 51 [08:36:26]Write i2c OK [08:36:26]MH_I2C_Read... [08:36:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:36:26]Read from MH i2c: E2 [08:36:26]MH_I2C_Read... [08:36:26]Read from MH i2c: E2 17 00 [08:36:26]MH_I2C_Read... [08:36:26]Read from MH i2c: E2 17 00 CE 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A1 [08:36:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:36:26]wFMCommunicate OK [08:36:26]requested_item fd.num is exist - process it [08:36:26]SAM_PROTO_GetFieldsCounters [08:36:26]wFMCommunicate request_size=4 [08:36:26]MH_SAM_APDU [08:36:26]CAPDU: 80 13 00 00 [08:36:26]Write to MH i2c: E2 08 00 CF 09 80 13 00 00 00 00 00 00 54 [08:36:26]Write i2c OK [08:36:26]MH_I2C_Read... [08:36:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:36:26]Read from MH i2c: E2 [08:36:26]MH_I2C_Read... [08:36:26]Read from MH i2c: E2 62 00 [08:36:26]MH_I2C_Read... [08:36:26]Read from MH i2c: E2 62 00 CF 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 28 94 00 00 0E 04 04 00 29 02 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 7A [08:36:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 28 94 00 00 0E 04 04 00 29 02 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:36:26]wFMCommunicate OK [08:36:26]SAM_PROTO_GetFieldsCounters done [08:36:26]requested_item shift.num is exist - process it [08:36:26]requested_item shift.opened is exist - process it [08:36:26]req_shift_opened [08:36:26]FM_GetShiftState [08:36:26]SAM_PROTO_GetShiftState [08:36:26]wFMCommunicate request_size=4 [08:36:26]MH_SAM_APDU [08:36:26]CAPDU: 80 13 01 00 [08:36:26]Write to MH i2c: E2 08 00 D0 09 80 13 01 00 00 00 00 00 56 [08:36:26]Write i2c OK [08:36:26]MH_I2C_Read... [08:36:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:36:26]Read from MH i2c: E2 [08:36:26]MH_I2C_Read... [08:36:26]Read from MH i2c: E2 0E 00 [08:36:26]MH_I2C_Read... [08:36:26]Read from MH i2c: E2 0E 00 D0 09 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 17 [08:36:26]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [08:36:26]wFMCommunicate OK [08:36:26]SAM_PROTO_GetShiftState done [08:36:26]FM_GetShiftState done [08:36:26]req_shift_opened done [08:36:26]requested_item shift.open_date is exist - process it [08:36:26]req_shift_open_date [08:36:26]req_shift_open_date done [08:36:26]produce_requested_data done [08:36:26]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37928,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [08:36:26]process_action_free close_receipt [08:36:26]json_value_free [08:36:26]json_value_free done [08:36:26]process_json_proto returns [08:36:26]Send response to host [08:36:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37928,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [08:36:26]free response buf [08:36:26]execute_script done [08:36:26]execute_script returns [08:36:26]free content buf [08:36:26]Sock 7.Close socket [08:36:26]Sock 7.Thread stoped [08:36:31]OFD Sender: No OFD packet to send [08:36:36]OFD Sender: No OFD packet to send [08:36:41]OFD Sender: No OFD packet to send [08:36:46]OFD Sender: No OFD packet to send [08:36:51]OFD Sender: No OFD packet to send [08:36:56]OFD Sender: No OFD packet to send [08:37:01]OFD Sender: No OFD packet to send [08:37:06]OFD Sender: No OFD packet to send [08:37:11]OFD Sender: No OFD packet to send [08:37:16]OFD Sender: No OFD packet to send [08:37:21]OFD Sender: No OFD packet to send [08:37:26]OFD Sender: No OFD packet to send [08:37:31]OFD Sender: No OFD packet to send [08:37:36]OFD Sender: No OFD packet to send [08:37:41]OFD Sender: No OFD packet to send [08:37:46]OFD Sender: No OFD packet to send [08:37:51]OFD Sender: No OFD packet to send [08:37:56]OFD Sender: No OFD packet to send [08:38:01]OFD Sender: No OFD packet to send [08:38:06]OFD Sender: No OFD packet to send [08:38:11]OFD Sender: No OFD packet to send [08:38:16]OFD Sender: No OFD packet to send [08:38:21]OFD Sender: No OFD packet to send [08:38:26]OFD Sender: No OFD packet to send [08:38:31]OFD Sender: No OFD packet to send [08:38:36]OFD Sender: No OFD packet to send [08:38:41]OFD Sender: No OFD packet to send [08:38:46]OFD Sender: No OFD packet to send [08:38:51]OFD Sender: No OFD packet to send [08:38:56]OFD Sender: No OFD packet to send [08:39:01]OFD Sender: No OFD packet to send [08:39:06]OFD Sender: No OFD packet to send [08:39:11]OFD Sender: No OFD packet to send [08:39:16]OFD Sender: No OFD packet to send [08:39:21]OFD Sender: No OFD packet to send [08:39:26]OFD Sender: No OFD packet to send [08:39:31]OFD Sender: No OFD packet to send [08:39:36]OFD Sender: No OFD packet to send [08:39:41]OFD Sender: No OFD packet to send [08:39:46]OFD Sender: No OFD packet to send [08:39:51]OFD Sender: No OFD packet to send [08:39:56]OFD Sender: No OFD packet to send [08:40:01]OFD Sender: No OFD packet to send [08:40:06]OFD Sender: No OFD packet to send [08:40:11]OFD Sender: No OFD packet to send [08:40:16]OFD Sender: No OFD packet to send [08:40:21]OFD Sender: No OFD packet to send [08:40:26]OFD Sender: No OFD packet to send [08:40:31]OFD Sender: No OFD packet to send [08:40:36]OFD Sender: No OFD packet to send [08:40:41]OFD Sender: No OFD packet to send [08:40:46]OFD Sender: No OFD packet to send [08:40:51]OFD Sender: No OFD packet to send [08:40:56]OFD Sender: No OFD packet to send [08:41:01]OFD Sender: No OFD packet to send [08:41:06]OFD Sender: No OFD packet to send [08:41:11]OFD Sender: No OFD packet to send [08:41:16]OFD Sender: No OFD packet to send [08:41:21]OFD Sender: No OFD packet to send [08:41:26]OFD Sender: No OFD packet to send [08:41:31]OFD Sender: No OFD packet to send [08:41:36]OFD Sender: No OFD packet to send [08:41:41]OFD Sender: No OFD packet to send [08:41:46]OFD Sender: No OFD packet to send [08:41:51]OFD Sender: No OFD packet to send [08:41:56]OFD Sender: No OFD packet to send [08:42:01]OFD Sender: No OFD packet to send [08:42:06]OFD Sender: No OFD packet to send [08:42:11]OFD Sender: No OFD packet to send [08:42:16]OFD Sender: No OFD packet to send [08:42:21]OFD Sender: No OFD packet to send [08:42:26]OFD Sender: No OFD packet to send [08:42:31]OFD Sender: No OFD packet to send [08:42:36]OFD Sender: No OFD packet to send [08:42:41]OFD Sender: No OFD packet to send [08:42:46]OFD Sender: No OFD packet to send [08:42:51]OFD Sender: No OFD packet to send [08:42:56]OFD Sender: No OFD packet to send [08:43:01]OFD Sender: No OFD packet to send [08:43:06]OFD Sender: No OFD packet to send [08:43:11]OFD Sender: No OFD packet to send [08:43:16]OFD Sender: No OFD packet to send [08:43:21]OFD Sender: No OFD packet to send [08:43:26]OFD Sender: No OFD packet to send [08:43:31]OFD Sender: No OFD packet to send [08:43:36]OFD Sender: No OFD packet to send [08:43:41]OFD Sender: No OFD packet to send [08:43:46]OFD Sender: No OFD packet to send [08:43:51]OFD Sender: No OFD packet to send [08:43:56]OFD Sender: No OFD packet to send [08:44:01]OFD Sender: No OFD packet to send [08:44:06]OFD Sender: No OFD packet to send [08:44:11]OFD Sender: No OFD packet to send [08:44:16]OFD Sender: No OFD packet to send [08:44:21]OFD Sender: No OFD packet to send [08:44:26]OFD Sender: No OFD packet to send [08:44:31]OFD Sender: No OFD packet to send [08:44:36]OFD Sender: No OFD packet to send [08:44:41]OFD Sender: No OFD packet to send [08:44:46]OFD Sender: No OFD packet to send [08:44:51]OFD Sender: No OFD packet to send [08:44:56]OFD Sender: No OFD packet to send [08:45:01]OFD Sender: No OFD packet to send [08:45:06]OFD Sender: No OFD packet to send [08:45:11]OFD Sender: No OFD packet to send [08:45:16]OFD Sender: No OFD packet to send [08:45:21]OFD Sender: No OFD packet to send [08:45:26]OFD Sender: No OFD packet to send [08:45:31]OFD Sender: No OFD packet to send [08:45:36]OFD Sender: No OFD packet to send [08:45:41]OFD Sender: No OFD packet to send [08:45:46]OFD Sender: No OFD packet to send [08:45:51]OFD Sender: No OFD packet to send [08:45:56]OFD Sender: No OFD packet to send [08:46:01]OFD Sender: No OFD packet to send [08:46:06]OFD Sender: No OFD packet to send [08:46:11]OFD Sender: No OFD packet to send [08:46:16]OFD Sender: No OFD packet to send [08:46:21]OFD Sender: No OFD packet to send [08:46:26]OFD Sender: No OFD packet to send [08:46:31]OFD Sender: No OFD packet to send [08:46:36]OFD Sender: No OFD packet to send [08:46:41]OFD Sender: No OFD packet to send [08:46:46]OFD Sender: No OFD packet to send [08:46:51]OFD Sender: No OFD packet to send [08:46:56]OFD Sender: No OFD packet to send [08:47:01]OFD Sender: No OFD packet to send [08:47:06]OFD Sender: No OFD packet to send [08:47:11]OFD Sender: No OFD packet to send [08:47:16]OFD Sender: No OFD packet to send [08:47:21]OFD Sender: No OFD packet to send [08:47:26]OFD Sender: No OFD packet to send [08:47:31]OFD Sender: No OFD packet to send [08:47:36]OFD Sender: No OFD packet to send [08:47:41]OFD Sender: No OFD packet to send [08:47:46]OFD Sender: No OFD packet to send [08:47:51]OFD Sender: No OFD packet to send [08:47:56]OFD Sender: No OFD packet to send [08:48:01]OFD Sender: No OFD packet to send [08:48:06]OFD Sender: No OFD packet to send [08:48:11]OFD Sender: No OFD packet to send [08:48:16]OFD Sender: No OFD packet to send [08:48:21]OFD Sender: No OFD packet to send [08:48:26]OFD Sender: No OFD packet to send [08:48:31]OFD Sender: No OFD packet to send [08:48:36]OFD Sender: No OFD packet to send [08:48:41]OFD Sender: No OFD packet to send [08:48:46]OFD Sender: No OFD packet to send [08:48:51]OFD Sender: No OFD packet to send [08:48:56]OFD Sender: No OFD packet to send [08:49:01]OFD Sender: No OFD packet to send [08:49:06]OFD Sender: No OFD packet to send [08:49:11]OFD Sender: No OFD packet to send [08:49:16]OFD Sender: No OFD packet to send [08:49:21]OFD Sender: No OFD packet to send [08:49:26]OFD Sender: No OFD packet to send [08:49:31]OFD Sender: No OFD packet to send [08:49:36]OFD Sender: No OFD packet to send [08:49:41]OFD Sender: No OFD packet to send [08:49:46]OFD Sender: No OFD packet to send [08:49:51]OFD Sender: No OFD packet to send [08:49:56]OFD Sender: No OFD packet to send [08:50:01]OFD Sender: No OFD packet to send [08:50:06]OFD Sender: No OFD packet to send [08:50:11]OFD Sender: No OFD packet to send [08:50:16]OFD Sender: No OFD packet to send [08:50:21]OFD Sender: No OFD packet to send [08:50:26]OFD Sender: No OFD packet to send [08:50:31]OFD Sender: No OFD packet to send [08:50:36]OFD Sender: No OFD packet to send [08:50:41]OFD Sender: No OFD packet to send [08:50:46]OFD Sender: No OFD packet to send [08:50:51]OFD Sender: No OFD packet to send [08:50:56]OFD Sender: No OFD packet to send [08:51:01]OFD Sender: No OFD packet to send [08:51:06]OFD Sender: No OFD packet to send [08:51:11]OFD Sender: No OFD packet to send [08:51:16]OFD Sender: No OFD packet to send [08:51:21]OFD Sender: No OFD packet to send [08:51:26]OFD Sender: No OFD packet to send [08:51:31]OFD Sender: No OFD packet to send [08:51:36]OFD Sender: No OFD packet to send [08:51:41]OFD Sender: No OFD packet to send [08:51:46]OFD Sender: No OFD packet to send [08:51:51]OFD Sender: No OFD packet to send [08:51:56]OFD Sender: No OFD packet to send [08:52:01]OFD Sender: No OFD packet to send [08:52:06]OFD Sender: No OFD packet to send [08:52:11]OFD Sender: No OFD packet to send [08:52:16]OFD Sender: No OFD packet to send [08:52:21]OFD Sender: No OFD packet to send [08:52:26]OFD Sender: No OFD packet to send [08:52:31]OFD Sender: No OFD packet to send [08:52:36]OFD Sender: No OFD packet to send [08:52:41]OFD Sender: No OFD packet to send [08:52:46]OFD Sender: No OFD packet to send [08:52:51]OFD Sender: No OFD packet to send [08:52:56]OFD Sender: No OFD packet to send [08:53:01]OFD Sender: No OFD packet to send [08:53:06]OFD Sender: No OFD packet to send [08:53:11]OFD Sender: No OFD packet to send [08:53:16]OFD Sender: No OFD packet to send [08:53:21]OFD Sender: No OFD packet to send [08:53:26]OFD Sender: No OFD packet to send [08:53:31]OFD Sender: No OFD packet to send [08:53:36]OFD Sender: No OFD packet to send [08:53:41]OFD Sender: No OFD packet to send [08:53:46]OFD Sender: No OFD packet to send [08:53: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:12]OFD Sender: No OFD packet to send [08:56:17]OFD Sender: No OFD packet to send [08:56:22]OFD Sender: No OFD packet to send [08:56:27]OFD Sender: No OFD packet to send [08:56:32]OFD Sender: No OFD packet to send [08:56:37]OFD Sender: No OFD packet to send [08:56:42]OFD Sender: No OFD packet to send [08:56:47]OFD Sender: No OFD packet to send [08:56:52]OFD Sender: No OFD packet to send [08:56:57]OFD Sender: No OFD packet to send [08:57:02]OFD Sender: No OFD packet to send [08:57:07]OFD Sender: No OFD packet to send [08:57:12]OFD Sender: No OFD packet to send [08:57:17]OFD Sender: No OFD packet to send [08:57:22]OFD Sender: No OFD packet to send [08:57:27]OFD Sender: No OFD packet to send [08:57:32]OFD Sender: No OFD packet to send [08:57:37]OFD Sender: No OFD packet to send [08:57:42]OFD Sender: No OFD packet to send [08:57:47]OFD Sender: No OFD packet to send [08:57:52]OFD Sender: No OFD packet to send [08:57:57]OFD Sender: No OFD packet to send [08:58:02]OFD Sender: No OFD packet to send [08:58:07]OFD Sender: No OFD packet to send [08:58:12]OFD Sender: No OFD packet to send [08:58:17]OFD Sender: No OFD packet to send [08:58:22]OFD Sender: No OFD packet to send [08:58:27]OFD Sender: No OFD packet to send [08:58:32]OFD Sender: No OFD packet to send [08:58:37]OFD Sender: No OFD packet to send [08:58:42]OFD Sender: No OFD packet to send [08:58:47]OFD Sender: No OFD packet to send [08:58:52]OFD Sender: No OFD packet to send [08:58:57]OFD Sender: No OFD packet to send [08:59:02]OFD Sender: No OFD packet to send [08:59:07]OFD Sender: No OFD packet to send [08:59:12]OFD Sender: No OFD packet to send [08:59:17]OFD Sender: No OFD packet to send [08:59:22]OFD Sender: No OFD packet to send [09:01:47]OFD Sender: No OFD packet to send [09:01:52]OFD Sender: No OFD packet to send [09:01:57]OFD Sender: No OFD packet to send [09:02:02]OFD Sender: No OFD packet to send [09:02:07]OFD Sender: No OFD packet to send [09:02:12]OFD Sender: No OFD packet to send [09:02:17]OFD Sender: No OFD packet to send [09:02:22]OFD Sender: No OFD packet to send [09:02:27]OFD Sender: No OFD packet to send [09:02:28]accept exits with 9 [09:02:28]New connection [09:02:28]New thread 3067207012 created [09:02:28]Thread 3067063652 joined [09:02:28]Waiting for new connection... [09:02:28] Sock 9.Parse request [09:02:28]Sock 9.Check first char [09:02:28]Sock 9.First char is OK [09:02:28]request: POST /json_proto HTTP/1.0 [09:02:28]Method: POST [09:02:28]URL: /json_proto [09:02:28]Method is POST - this is cgi request [09:02:28]url: /json_proto [09:02:28]query_string will be loaded in cgi processing [09:02:28]execute_cgi json_proto POST (null) [09:02:28]execute_cgi path=json_proto method=POST [09:02:28]POST find Content-Length [09:02:28]Host: 172.17.40.196:8080 [09:02:28]Content-Length: 741 [09:02:28]Content-Type: application/json [09:02:28] [09:02:28]POST finish read [09:02:28]Found Content-Length = 741 [09:02:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35228", "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" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:02:28]execute_script... [09:02: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)35228", "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" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:02:28]POST & json_proto [09:02:28]process_json_proto [09:02:28]json parsed OK: [09:02:28]protocol is kg_v1.0 [09:02:28]action value=close_receipt [09:02:28]process_action close_receipt [09:02:28]cmd_close_receipt [09:02:28]MH_GetDate [09:02:28]Write to MH i2c: F0 00 00 D1 09 C9 [09:02:28]Write i2c OK [09:02:28]MH_I2C_Read... [09:02:28]Read from MH i2c: F0 [09:02:28]MH_I2C_Read... [09:02:28]Read from MH i2c: F0 09 00 [09:02:28]MH_I2C_Read... [09:02:28]Read from MH i2c: F0 09 00 D1 09 00 28 F6 21 67 5B 68 A1 66 42 [09:02:28]GetLastDocTimeStamp 1730277386 [09:02:28]current date 1730278952 [09:02:28]FM_GetShiftState [09:02:28]SAM_PROTO_GetShiftState [09:02:28]wFMCommunicate request_size=4 [09:02:28]MH_SAM_APDU [09:02:28]CAPDU: 80 13 01 00 [09:02:28]Write to MH i2c: E2 08 00 D2 09 80 13 01 00 00 00 00 00 58 [09:02:28]Write i2c OK [09:02:28]MH_I2C_Read... [09:02:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:02:28]Read from MH i2c: E2 [09:02:28]MH_I2C_Read... [09:02:28]Read from MH i2c: E2 0E 00 [09:02:28]MH_I2C_Read... [09:02:28]Read from MH i2c: E2 0E 00 D2 09 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 19 [09:02:28]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [09:02:28]wFMCommunicate OK [09:02:28]SAM_PROTO_GetShiftState done [09:02:28]FM_GetShiftState done [09:02:28]opened in 1730246837 [09:02:28]opened+sec_in_day 1730333237 [09:02:28]quantity*price = 5900 [09:02:28]sum+1 = 5901 [09:02:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 59.00 НСП 1% : 0.52 НДС 12% : 6.26 Наличными: 59.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 11 30.10.2024 09:02 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37929 ФПД: 189796532906200 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T090232&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37929&fm=189796532906200&tin=02508201610067®Number=0000000000091684&sum=5900 0 [09:02:29]StoreToDocumentArchive [09:02:29]shift 553 fd 37929 [09:02:29]save to /storage/0553/doc_00037929 [09:02:29]save last doc name /storage/0553/doc_00037929 to /storage/kkm_last_doc_name [09:02:29]save OK [09:02:29]Clear old archive folders... [09:02:29]ProcessDocumentItem done err = 0, tmpTLVsize=309 [09:02:29]tlvbuf is 01901570 [09:02:29]SAM_PROTO_ClearQueue [09:02:29]wFMCommunicate request_size=4 [09:02:29]MH_SAM_APDU [09:02:29]CAPDU: 80 09 00 00 [09:02:29]Write to MH i2c: E2 08 00 DF 09 80 09 00 00 00 00 00 00 5A [09:02:29]Write i2c OK [09:02:29]MH_I2C_Read... [09:02:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:02:29]Read from MH i2c: E2 [09:02:29]MH_I2C_Read... [09:02:29]Read from MH i2c: E2 03 00 [09:02:29]MH_I2C_Read... [09:02:29]Read from MH i2c: E2 03 00 DF 09 00 90 00 5C [09:02:29]RAPDU: 90 00 [09:02:29]wFMCommunicate OK [09:02:29]SAM_PROTO_ClearQueue done [09:02:29]KKMCreateOFDPacket [09:02:29]OFDProtocolAddRootSTLVToBuf [09:02:29]FM_MakeSignedData [09:02:29]FM_MakeSignedData [09:02:29]SAM_PROTO_SignData [09:02:29]wFMCommunicate request_size=4 [09:02:29]MH_SAM_APDU [09:02:29]CAPDU: 80 0D 01 02 [09:02:29]Write to MH i2c: E2 08 00 E0 09 80 0D 01 02 00 00 00 00 62 [09:02:29]Write i2c OK [09:02:29]MH_I2C_Read... [09:02:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:02:29]Read from MH i2c: E2 [09:02:29]MH_I2C_Read... [09:02:29]Read from MH i2c: E2 03 00 [09:02:29]MH_I2C_Read... [09:02:29]Read from MH i2c: E2 03 00 E0 09 00 90 00 5D [09:02:29]RAPDU: 90 00 [09:02:29]wFMCommunicate OK [09:02:29]wFMCommunicate request_size=255 [09:02:29]MH_SAM_APDU [09:02:29]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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 28 F6 21 67 0E 04 04 00 29 02 00 00 [09:02:29]Write to MH i2c: E2 02 01 E1 09 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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 28 F6 21 67 0E 04 04 00 29 02 00 00 00 00 97 [09:02:29]Write i2c OK [09:02:29]MH_I2C_Read... [09:02:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:02:30]Read from MH i2c: E2 [09:02:30]MH_I2C_Read... [09:02:30]Read from MH i2c: E2 03 00 [09:02:30]MH_I2C_Read... [09:02:30]Read from MH i2c: E2 03 00 E1 09 00 90 00 5E [09:02:30]RAPDU: 90 00 [09:02:30]wFMCommunicate OK [09:02:30]wFMCommunicate request_size=68 [09:02:30]MH_SAM_APDU [09:02:30]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 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 29 94 00 00 35 04 06 00 AC 9E 72 EC 68 D8 [09:02:30]Write to MH i2c: E2 47 00 E2 09 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 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 29 94 00 00 35 04 06 00 AC 9E 72 EC 68 D8 00 00 1D [09:02:30]Write i2c OK [09:02:30]MH_I2C_Read... [09:02:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:02:30]Read from MH i2c: E2 [09:02:30]MH_I2C_Read... [09:02:30]Read from MH i2c: E2 03 00 [09:02:30]MH_I2C_Read... [09:02:30]Read from MH i2c: E2 03 00 E2 09 00 90 00 5F [09:02:30]RAPDU: 90 00 [09:02:30]wFMCommunicate OK [09:02:30]wFMCommunicate request_size=4 [09:02:30]MH_SAM_APDU [09:02:30]CAPDU: 80 0D 03 02 [09:02:30]Write to MH i2c: E2 08 00 E3 09 80 0D 03 02 00 00 00 00 67 [09:02:30]Write i2c OK [09:02:30]MH_I2C_Read... [09:02:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:02:30]Read from MH i2c: E2 [09:02:30]MH_I2C_Read... [09:02:30]Read from MH i2c: E2 0B 00 [09:02:30]MH_I2C_Read... [09:02:30]Read from MH i2c: E2 0B 00 E3 09 00 78 52 81 55 41 B8 CF 2A 90 00 FA [09:02:30]RAPDU: 78 52 81 55 41 B8 CF 2A 90 00 [09:02:30]wFMCommunicate OK [09:02:30]SAM_PROTO_SignData done [09:02:30]FM_MakeSignedData done [09:02:30]CreateOFDProtocolMessage [09:02:30]wFMCommunicate request_size=4 [09:02:30]MH_SAM_APDU [09:02:30]CAPDU: 80 11 00 00 [09:02:30]Write to MH i2c: E2 08 00 E4 09 80 11 00 00 00 00 00 00 67 [09:02:30]Write i2c OK [09:02:30]MH_I2C_Read... [09:02:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:02:30]Read from MH i2c: E2 [09:02:30]MH_I2C_Read... [09:02:30]Read from MH i2c: E2 17 00 [09:02:30]MH_I2C_Read... [09:02:30]Read from MH i2c: E2 17 00 E4 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B7 [09:02:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:02:30]wFMCommunicate OK [09:02:30]CreateOFDProtocolMessage done [09:02:30]OFDSenderStorePacket 37929 [09:02:30]StoreOFDPacket docnum=37929 [09:02:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 49 01 00 00 D7 BC 41 01 03 25 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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 28 F6 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 29 94 00 00 35 04 06 00 AC 9E 72 EC 68 D8 78 52 81 55 41 B8 CF 2A [09:02:30]CheckFolder [09:02:30]dirname=/storage/ofd_packets [09:02:30]CheckFolder done [09:02:30]ProducePacketName [09:02:30]name=ofd_packets/00037929 [09:02:30]NVStorageSaveData ofd_packets/00037929 [09:02:30]File name is /storage/ofd_packets/00037929 [09:02:30]Write 359 bytes [09:02:30]NVStorageSaveData done [09:02:30]OFDSenderStorePacket done [09:02:30]KKMCreateOFDPacket done [09:02:30]NVStorageSaveData kkm_last_timestamp [09:02:30]File name is /storage/kkm_last_timestamp [09:02:30]Write 4 bytes [09:02:30]NVStorageSaveData done [09:02:30]ExternCall_PrintAddStr [09:02:30]wPrintStart [09:02:30]Write to MH i2c: 01 00 00 E5 09 EE [09:02:30]Write i2c OK [09:02:30]MH_I2C_Read... [09:02:30]Read from MH i2c: 01 [09:02:30]MH_I2C_Read... [09:02:30]Read from MH i2c: 01 07 00 [09:02:30]MH_I2C_Read... [09:02:30]Read from MH i2c: 01 07 00 E5 09 00 00 00 00 00 FF 0F 03 [09:02:30]RasterBufferAndPrint [09:02:30]line Счет N : (3)35228 [09:02:30]line ИНН: 02508201610067 [09:02:30]line Контрольно-Кассовый Чек [09:02:30]line ПРОДАЖА [09:02:30]line Товар: 4630056952563 [09:02:30]line Печ Юбилейное Торжество молочное 120г [09:02:30]line 1.000 * 59.00 [09:02:30]line = 59.00 [09:02:30]line НДС 12% НСП 1% [09:02:30]line > о реализуемом товаре [09:02:30]line ИТОГО: 59.00 [09:02:30]line НСП 1% : 0.52 [09:02:30]line НДС 12% : 6.26 [09:02:30]line Наличными: 59.00 [09:02:30]line Безнал.: 0.00 [09:02:30]line Место: АЗС № 126 "Партнер Нефть" [09:02:30]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:02:30]line СНО: Общий режим [09:02:30]line Чек 11 30.10.2024 09:02 [09:02:30]line Смена: 553 ФФД: 1.0 [09:02:30]line ЗНМ: 0300000092 [09:02:30]line РНМ: 0000000000091684 [09:02:30]line Версия ККМ: 001 [09:02:30]line ФМ: 0000000000871841 [09:02:30]line ФД: 37929 [09:02:30]line ФПД: 189796532906200 [09:02:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T090232&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37929&fm=189796532906200&tin=02508201610067®Number=0000000000091684&sum=5900 [09:02:30]OFD Sender: Processing packet 37929 [packets to send 42, broken 41] [09:02:30]ProducePacketName [09:02:30]name=ofd_packets/00037929 [09:02:30]OFD Sender: To server: pG, [09:02:30]CommunicateWithHost lk.salyk.kg:30040 [09:02:30]ConnectInit lk.salyk.kg [09:02:30]line 0 [09:02:30]written 0, free lines is 4095 [09:02:31]Connected sock=11 [09:02:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 49 01 00 00 D7 BC 41 01 03 25 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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 28 F6 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 29 94 00 00 35 04 06 00 AC 9E 72 EC 68 D8 78 52 81 55 41 B8 CF 2A [09:02:31]Write to MH i2c: 01 00 00 0E 0A 18 [09:02:31]Write i2c OK [09:02:31]MH_I2C_Read... [09:02:31]Read from MH i2c: 01 [09:02:31]MH_I2C_Read... [09:02:31]Read from MH i2c: 01 07 00 [09:02:31]MH_I2C_Read... [09:02:31]Read from MH i2c: 01 07 00 0E 0A 00 00 00 00 00 B6 0C E1 [09:02:31]RasterBufferAndPrint [09:02:31]line [09:02:31]line [09:02:31]line [09:02:31]line [09:02:31]line [09:02:31]written 0, free lines is 3260 [09:02:31]MH_Cut [09:02:31]Write to MH i2c: D1 01 00 15 0A 01 F1 [09:02:31]Write i2c OK [09:02:31]MH_I2C_Read... [09:02:31]Read from MH i2c: D1 [09:02:31]MH_I2C_Read... [09:02:31]Read from MH i2c: D1 01 00 [09:02:31]MH_I2C_Read... [09:02:31]Read from MH i2c: D1 01 00 15 0A 00 F0 [09:02:31]Write to MH i2c: 01 00 00 16 0A 20 [09:02:31]Write i2c OK [09:02:31]MH_I2C_Read... [09:02:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 24 AA 47 00 98 C7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 29 94 00 00 F4 03 04 00 17 A1 21 67 B6 04 01 00 00 CD E4 E8 12 8D 0A D8 07 [09:02:31]CommunicateWithHost err = 0 [09:02:31]CheckOFDResponse [09:02:31]1017 (14) - 77093643461234 [09:02:31]1041 (16) - 0000000000871841 [09:02:31]1040 (4) - 37929 [09:02:31]1012 (4) - 30.10.2024 02:59 [09:02:31]1206 (1) - 0 [09:02:31]OFD Sender: Remove packet 37929 [09:02:31]ProducePacketName [09:02:31]name=ofd_packets/00037929 [09:02:31]NVStorageDeleteData [09:02:31]*** Cut start [09:02:31]*** Partial cut [09:02:31]*** CUTSNS_PIN = 1 [09:02:31]OFD Sender: No OFD packet to send [09:02:32]*** CUTSNS_PIN = 0 [09:02:32]*** Brake cut motor [09:02:32]Read from MH i2c: 01 [09:02:32]MH_I2C_Read... [09:02:32]*** Stop cut motor [09:02:32]*** Cut end [09:02:32]Read from MH i2c: 01 07 00 [09:02:32]MH_I2C_Read... [09:02:32]Read from MH i2c: 01 07 00 16 0A 00 00 00 00 00 FF 0F 35 [09:02:32]process_action close_receipt done [09:02:32]requested_data is exist [09:02:32]produce_requested_data [09:02:32]requested_item fm.sn is exist - process it [09:02:32]wFMCommunicate request_size=4 [09:02:32]MH_SAM_APDU [09:02:32]CAPDU: 80 11 00 00 [09:02:32]Write to MH i2c: E2 08 00 17 0A 80 11 00 00 00 00 00 00 9B [09:02:32]Write i2c OK [09:02:32]MH_I2C_Read... [09:02:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:02:32]Read from MH i2c: E2 [09:02:32]MH_I2C_Read... [09:02:32]Read from MH i2c: E2 17 00 [09:02:32]MH_I2C_Read... [09:02:32]Read from MH i2c: E2 17 00 17 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 EB [09:02:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:02:32]wFMCommunicate OK [09:02:32]requested_item fd.num is exist - process it [09:02:32]SAM_PROTO_GetFieldsCounters [09:02:32]wFMCommunicate request_size=4 [09:02:32]MH_SAM_APDU [09:02:32]CAPDU: 80 13 00 00 [09:02:32]Write to MH i2c: E2 08 00 18 0A 80 13 00 00 00 00 00 00 9E [09:02:32]Write i2c OK [09:02:32]MH_I2C_Read... [09:02:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:02:32]Read from MH i2c: E2 [09:02:32]MH_I2C_Read... [09:02:32]Read from MH i2c: E2 62 00 [09:02:32]MH_I2C_Read... [09:02:32]Read from MH i2c: E2 62 00 18 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 29 94 00 00 0E 04 04 00 29 02 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 C8 [09:02:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 29 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:02:32]wFMCommunicate OK [09:02:32]SAM_PROTO_GetFieldsCounters done [09:02:32]requested_item shift.num is exist - process it [09:02:32]requested_item shift.opened is exist - process it [09:02:32]req_shift_opened [09:02:32]FM_GetShiftState [09:02:32]SAM_PROTO_GetShiftState [09:02:32]wFMCommunicate request_size=4 [09:02:32]MH_SAM_APDU [09:02:32]CAPDU: 80 13 01 00 [09:02:32]Write to MH i2c: E2 08 00 19 0A 80 13 01 00 00 00 00 00 A0 [09:02:32]Write i2c OK [09:02:32]MH_I2C_Read... [09:02:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:02:32]Read from MH i2c: E2 [09:02:32]MH_I2C_Read... [09:02:32]Read from MH i2c: E2 0E 00 [09:02:32]MH_I2C_Read... [09:02:32]Read from MH i2c: E2 0E 00 [09:02:44]wFMCommunicate request_size=15 [09:02:44]MH_SAM_APDU [09:02:44]CAPDU: 80 15 02 00 0A 39 04 06 00 EC 2C 00 00 00 00 [09:02:44]Write to MH i2c: E2 12 00 22 0A 80 15 02 00 0A 00 39 04 06 00 EC 2C 00 00 00 00 00 00 1B [09:02:44]Write i2c OK [09:02:44]MH_I2C_Read... [09:02:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [09:02:44]Read from MH i2c: E2 [09:02:44]MH_I2C_Read... [09:02:44]Read from MH i2c: E2 03 00 [09:02:44]MH_I2C_Read... [09:02:44]Read from MH i2c: E2 03 00 22 0A 00 90 00 A0 [09:02:44]RAPDU: 90 00 [09:02:44]wFMCommunicate OK [09:02:44]wFMCommunicate request_size=11 [09:02:44]MH_SAM_APDU [09:02:44]CAPDU: 80 15 02 00 06 1F 04 02 00 01 00 [09:02:44]Write to MH i2c: E2 0E 00 23 0A 80 15 02 00 06 00 1F 04 02 00 01 00 00 00 DF [09:02:44]Write i2c OK [09:02:44]MH_I2C_Read... [09:02:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [09:02:44]Read from MH i2c: E2 [09:02:44]MH_I2C_Read... [09:02:44]Read from MH i2c: E2 03 00 [09:02:44]MH_I2C_Read... [09:02:44]Read from MH i2c: E2 03 00 23 0A 00 90 00 A1 [09:02:44]RAPDU: 90 00 [09:02:44]wFMCommunicate OK [09:02:44]wFMCommunicate request_size=13 [09:02:44]MH_SAM_APDU [09:02:44]CAPDU: 80 15 02 00 08 F4 03 04 00 37 F6 21 67 [09:02:44]Write to MH i2c: E2 10 00 24 0A 80 15 02 00 08 00 F4 03 04 00 37 F6 21 67 00 00 6E [09:02:44]Write i2c OK [09:02:44]MH_I2C_Read... [09:02:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [09:02:44]Read from MH i2c: E2 [09:02:44]MH_I2C_Read... [09:02:44]Read from MH i2c: E2 03 00 [09:02:44]MH_I2C_Read... [09:02:44]Read from MH i2c: E2 03 00 24 0A 00 90 00 A2 [09:02:44]RAPDU: 90 00 [09:02:44]wFMCommunicate OK [09:02:44]wFMCommunicate request_size=25 [09:02:44]MH_SAM_APDU [09:02:44]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 [09:02:44]Write to MH i2c: E2 1C 00 25 0A 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 00 00 14 [09:02:44]Write i2c OK [09:02:44]MH_I2C_Read... [09:02:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [09:02:44]Read from MH i2c: E2 [09:02:44]MH_I2C_Read... [09:02:44]Read from MH i2c: E2 03 00 [09:02:44]MH_I2C_Read... [09:02:44]Read from MH i2c: E2 03 00 25 0A 00 90 00 A3 [09:02:44]RAPDU: 90 00 [09:02:44]wFMCommunicate OK [09:02:44]wFMCommunicate request_size=4 [09:02:44]MH_SAM_APDU [09:02:44]CAPDU: 80 15 03 00 [09:02:44]Write to MH i2c: E2 08 00 26 0A 80 15 03 00 00 00 00 00 B1 [09:02:44]Write i2c OK [09:02:44]MH_I2C_Read... [09:02:44]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 61! [09:02:44]Read from MH i2c: E2 [09:02:44]MH_I2C_Read... [09:02:44]Read from MH i2c: E2 40 00 [09:02:44]MH_I2C_Read... [09:02:44]Read from MH i2c: E2 40 00 26 0A 00 3B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2A 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 0C 00 00 00 35 04 06 00 99 DD 9B 03 F5 D5 90 00 77 [09:02:44]RAPDU: 3B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2A 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 0C 00 00 00 35 04 06 00 99 DD 9B 03 F5 D5 90 00 [09:02:44]wFMCommunicate OK [09:02:44]SAM_PROTO_ProcessDocument answer len = 59 [09:02:44]SAM_PROTO_ProcessDocument done [09:02:44]SetTLVBufToDocument [09:02:44]Processing tag 1209 (04B9) [09:02:44]Malloc new data [09:02:44]Processing tag 1041 (0411) [09:02:44]Processing tag 1040 (0410) [09:02:44]Malloc new data [09:02:44]Processing tag 1038 (040E) [09:02:44]Malloc new data [09:02:44]Processing tag 1042 (0412) [09:02:44]Malloc new data [09:02:44]Processing tag 1077 (0435) [09:02:44]Malloc new data [09:02:44]SetTLVBufToDocument err=0 [09:02:44]KKMLoadAndSignReceiptData store KKM data [09:02:44]KKMLoadAndSignReceiptData err=0 [09:02:44]wFMCommunicate request_size=4 [09:02:44]MH_SAM_APDU [09:02:44]CAPDU: 80 11 00 00 [09:02:44]Write to MH i2c: E2 08 00 27 0A 80 11 00 00 00 00 00 00 AB [09:02:44]Write i2c OK [09:02:44]MH_I2C_Read... [09:02:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:02:44]Read from MH i2c: E2 [09:02:44]MH_I2C_Read... [09:02:44]Read from MH i2c: E2 17 00 [09:02:44]MH_I2C_Read... [09:02:44]Read from MH i2c: E2 17 00 27 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 FB [09:02:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:02:44]wFMCommunicate OK [09:02:44]Счет N : (3)35229 ИНН: 02508201610067 Контрольно-Кассовый Чек ПРОДАЖА Товар: 2000036240010 Кофе Латте (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 12 30.10.2024 09:02 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37930 ФПД: 169177067550165 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T090247&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37930&fm=169177067550165&tin=02508201610067®Number=0000000000091684&sum=11500 0 [09:02:44]StoreToDocumentArchive [09:02:44]shift 553 fd 37930 [09:02:44]save to /storage/0553/doc_00037930 [09:02:44]save last doc name /storage/0553/doc_00037930 to /storage/kkm_last_doc_name [09:02:44]save OK [09:02:44]Clear old archive folders... [09:02:44]ProcessDocumentItem done err = 0, tmpTLVsize=274 [09:02:44]tlvbuf is 019411E0 [09:02:44]SAM_PROTO_ClearQueue [09:02:44]wFMCommunicate request_size=4 [09:02:44]MH_SAM_APDU [09:02:44]CAPDU: 80 09 00 00 [09:02:44]Write to MH i2c: E2 08 00 28 0A 80 09 00 00 00 00 00 00 A4 [09:02:44]Write i2c OK [09:02:44]MH_I2C_Read... [09:02:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:02:45]Read from MH i2c: E2 [09:02:45]MH_I2C_Read... [09:02:45]Read from MH i2c: E2 03 00 [09:02:45]MH_I2C_Read... [09:02:45]Read from MH i2c: E2 03 00 28 0A 00 90 00 A6 [09:02:45]RAPDU: 90 00 [09:02:45]wFMCommunicate OK [09:02:45]SAM_PROTO_ClearQueue done [09:02:45]KKMCreateOFDPacket [09:02:45]OFDProtocolAddRootSTLVToBuf [09:02:45]FM_MakeSignedData [09:02:45]FM_MakeSignedData [09:02:45]SAM_PROTO_SignData [09:02:45]wFMCommunicate request_size=4 [09:02:45]MH_SAM_APDU [09:02:45]CAPDU: 80 0D 01 02 [09:02:45]Write to MH i2c: E2 08 00 29 0A 80 0D 01 02 00 00 00 00 AC [09:02:45]Write i2c OK [09:02:45]MH_I2C_Read... [09:02:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:02:45]Read from MH i2c: E2 [09:02:45]MH_I2C_Read... [09:02:45]Read from MH i2c: E2 03 00 [09:02:45]MH_I2C_Read... [09:02:45]Read from MH i2c: E2 03 00 29 0A 00 90 00 A7 [09:02:45]RAPDU: 90 00 [09:02:45]wFMCommunicate OK [09:02:45]wFMCommunicate request_size=255 [09:02:45]MH_SAM_APDU [09:02:45]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 37 F6 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [09:02:45]Write to MH i2c: E2 02 01 2A 0A 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 37 F6 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 37 [09:02:45]Write i2c OK [09:02:45]MH_I2C_Read... [09:02:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:02:45]Read from MH i2c: E2 [09:02:45]MH_I2C_Read... [09:02:45]Read from MH i2c: E2 03 00 [09:02:45]MH_I2C_Read... [09:02:45]Read from MH i2c: E2 03 00 2A 0A 00 90 00 A8 [09:02:45]RAPDU: 90 00 [09:02:45]wFMCommunicate OK [09:02:45]wFMCommunicate request_size=33 [09:02:45]MH_SAM_APDU [09:02:45]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2A 94 00 00 35 04 06 00 99 DD 9B 03 F5 D5 [09:02:45]Write to MH i2c: E2 24 00 2B 0A 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2A 94 00 00 35 04 06 00 99 DD 9B 03 F5 D5 00 00 D7 [09:02:45]Write i2c OK [09:02:45]MH_I2C_Read... [09:02:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:02:45]Read from MH i2c: E2 [09:02:45]MH_I2C_Read... [09:02:45]Read from MH i2c: E2 03 00 [09:02:45]MH_I2C_Read... [09:02:45]Read from MH i2c: E2 03 00 2B 0A 00 90 00 A9 [09:02:45]RAPDU: 90 00 [09:02:45]wFMCommunicate OK [09:02:45]wFMCommunicate request_size=4 [09:02:45]MH_SAM_APDU [09:02:45]CAPDU: 80 0D 03 02 [09:02:45]Write to MH i2c: E2 08 00 2C 0A 80 0D 03 02 00 00 00 00 B1 [09:02:45]Write i2c OK [09:02:45]MH_I2C_Read... [09:02:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:02:45]Read from MH i2c: E2 [09:02:45]MH_I2C_Read... [09:02:45]Read from MH i2c: E2 0B 00 [09:02:45]MH_I2C_Read... [09:02:45]Read from MH i2c: E2 0B 00 2C 0A 00 7C 2A 3B 2A D7 EB 30 DE 90 00 8D [09:02:45]RAPDU: 7C 2A 3B 2A D7 EB 30 DE 90 00 [09:02:45]wFMCommunicate OK [09:02:45]SAM_PROTO_SignData done [09:02:45]FM_MakeSignedData done [09:02:45]CreateOFDProtocolMessage [09:02:45]wFMCommunicate request_size=4 [09:02:45]MH_SAM_APDU [09:02:45]CAPDU: 80 11 00 00 [09:02:45]Write to MH i2c: E2 08 00 2D 0A 80 11 00 00 00 00 00 00 B1 [09:02:45]Write i2c OK [09:02:45]MH_I2C_Read... [09:02:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:02:45]Read from MH i2c: E2 [09:02:45]MH_I2C_Read... [09:02:45]Read from MH i2c: E2 17 00 [09:02:45]MH_I2C_Read... [09:02:45]Read from MH i2c: E2 17 00 2D 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 01 [09:02:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:02:45]wFMCommunicate OK [09:02:45]CreateOFDProtocolMessage done [09:02:45]OFDSenderStorePacket 37930 [09:02:45]StoreOFDPacket docnum=37930 [09:02:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 1E BF 1E 01 73 19 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 37 F6 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2A 94 00 00 35 04 06 00 99 DD 9B 03 F5 D5 7C 2A 3B 2A D7 EB 30 DE [09:02:45]CheckFolder [09:02:45]dirname=/storage/ofd_packets [09:02:45]CheckFolder done [09:02:45]ProducePacketName [09:02:45]name=ofd_packets/00037930 [09:02:45]NVStorageSaveData ofd_packets/00037930 [09:02:45]File name is /storage/ofd_packets/00037930 [09:02:45]Write 324 bytes [09:02:45]NVStorageSaveData done [09:02:45]OFDSenderStorePacket done [09:02:45]KKMCreateOFDPacket done [09:02:45]NVStorageSaveData kkm_last_timestamp [09:02:45]File name is /storage/kkm_last_timestamp [09:02:45]Write 4 bytes [09:02:45]NVStorageSaveData done [09:02:45]ExternCall_PrintAddStr [09:02:45]wPrintStart [09:02:45]Write to MH i2c: 01 00 00 2E 0A 38 [09:02:45]Write i2c OK [09:02:45]MH_I2C_Read... [09:02:45]Read from MH i2c: 01 [09:02:45]MH_I2C_Read... [09:02:45]Read from MH i2c: 01 07 00 [09:02:45]MH_I2C_Read... [09:02:45]Read from MH i2c: 01 07 00 2E 0A 00 00 00 00 00 FF 0F 4D [09:02:45]RasterBufferAndPrint [09:02:45]line Счет N : (3)35229 [09:02:45]line ИНН: 02508201610067 [09:02:45]line Контрольно-Кассовый Чек [09:02:45]line ПРОДАЖА [09:02:45]line Товар: 2000036240010 [09:02:45]line Кофе Латте (GABB TRADE) [09:02:45]line 1.000 * 115.00 [09:02:45]line = 115.00 [09:02:45]line НДС 12% НСП 1% [09:02:45]line > о реализуемом товаре [09:02:45]line ИТОГО: 115.00 [09:02:45]line НСП 1% : 1.02 [09:02:45]line НДС 12% : 12.21 [09:02:45]line Наличными: 0.00 [09:02:45]line Безнал.: 115.00 [09:02:45]line Место: АЗС № 126 "Партнер Нефть" [09:02:45]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:02:45]line СНО: Общий режим [09:02:45]line Чек 12 30.10.2024 09:02 [09:02:45]line Смена: 553 ФФД: 1.0 [09:02:45]line ЗНМ: 0300000092 [09:02:45]line РНМ: 0000000000091684 [09:02:45]line Версия ККМ: 001 [09:02:45]line Платежная система: Mbank [09:02:45]line ФМ: 0000000000871841 [09:02:45]line ФД: 37930 [09:02:45]line ФПД: 169177067550165 [09:02:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T090247&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37930&fm=169177067550165&tin=02508201610067®Number=0000000000091684&sum=11500 [09:02:45]line 0 [09:02:45]written 0, free lines is 4095 [09:02:45]OFD Sender: Processing packet 37930 [packets to send 42, broken 41] [09:02:45]ProducePacketName [09:02:45]name=ofd_packets/00037930 [09:02:45]OFD Sender: To server: pG, [09:02:45]CommunicateWithHost lk.salyk.kg:30040 [09:02:45]ConnectInit lk.salyk.kg [09:02:46]Connected sock=11 [09:02:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 1E BF 1E 01 73 19 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 37 F6 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2A 94 00 00 35 04 06 00 99 DD 9B 03 F5 D5 7C 2A 3B 2A D7 EB 30 DE [09:02:46]Write to MH i2c: 01 00 00 57 0A 61 [09:02:46]Write i2c OK [09:02:46]MH_I2C_Read... [09:02:46]Read from MH i2c: 01 [09:02:46]MH_I2C_Read... [09:02:46]Read from MH i2c: 01 07 00 [09:02:46]MH_I2C_Read... [09:02:46]Read from MH i2c: 01 07 00 57 0A 00 00 00 00 00 D8 0C 4C [09:02:46]RasterBufferAndPrint [09:02:46]line [09:02:46]line [09:02:46]line [09:02:46]line [09:02:46]line [09:02:46]written 0, free lines is 3304 [09:02:46]MH_Cut [09:02:46]Write to MH i2c: D1 01 00 5E 0A 01 3A [09:02:46]Write i2c OK [09:02:46]MH_I2C_Read... [09:02:46]Read from MH i2c: D1 [09:02:46]MH_I2C_Read... [09:02:46]Read from MH i2c: D1 01 00 [09:02:46]MH_I2C_Read... [09:02:46]Read from MH i2c: D1 01 00 5E 0A 00 39 [09:02:46]Write to MH i2c: 01 00 00 5F 0A 69 [09:02:46]Write i2c OK [09:02:46]MH_I2C_Read... [09:02:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 A3 B8 47 00 3A 1F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2A 94 00 00 F4 03 04 00 26 A1 21 67 B6 04 01 00 00 1C 24 25 35 61 0D 16 38 [09:02:46]CommunicateWithHost err = 0 [09:02:46]CheckOFDResponse [09:02:46]1017 (14) - 77093643461234 [09:02:46]1041 (16) - 0000000000871841 [09:02:46]1040 (4) - 37930 [09:02:46]1012 (4) - 30.10.2024 02:59 [09:02:46]1206 (1) - 0 [09:02:46]OFD Sender: Remove packet 37930 [09:02:46]ProducePacketName [09:02:46]name=ofd_packets/00037930 [09:02:46]NVStorageDeleteData [09:02:46]*** Cut start [09:02:46]*** Partial cut [09:02:46]*** CUTSNS_PIN = 1 [09:02:46]*** CUTSNS_PIN = 0 [09:02:47]OFD Sender: No OFD packet to send [09:02:47]*** Brake cut motor [09:02:47]Read from MH i2c: 01 [09:02:47]MH_I2C_Read... [09:02:47]*** Stop cut motor [09:02:47]*** Cut end [09:02:47]Read from MH i2c: 01 07 00 [09:02:47]MH_I2C_Read... [09:02:47]Read from MH i2c: 01 07 00 5F 0A 00 00 00 00 00 FF 0F 7E [09:02:47]process_action close_receipt done [09:02:47]requested_data is exist [09:02:47]produce_requested_data [09:02:47]requested_item fm.sn is exist - process it [09:02:47]wFMCommunicate request_size=4 [09:02:47]MH_SAM_APDU [09:02:47]CAPDU: 80 11 00 00 [09:02:47]Write to MH i2c: E2 08 00 60 0A 80 11 00 00 00 00 00 00 E4 [09:02:47]Write i2c OK [09:02:47]MH_I2C_Read... [09:02:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:02:47]Read from MH i2c: E2 [09:02:47]MH_I2C_Read... [09:02:47]Read from MH i2c: E2 17 00 [09:02:47]MH_I2C_Read... [09:02:47]Read from MH i2c: E2 17 00 60 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 34 [09:02:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:02:47]wFMCommunicate OK [09:02:47]requested_item fd.num is exist - process it [09:02:47]SAM_PROTO_GetFieldsCounters [09:02:47]wFMCommunicate request_size=4 [09:02:47]MH_SAM_APDU [09:02:47]CAPDU: 80 13 00 00 [09:02:47]Write to MH i2c: E2 08 00 61 0A 80 13 00 00 00 00 00 00 E7 [09:02:47]Write i2c OK [09:02:47]MH_I2C_Read... [09:02:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:02:47]Read from MH i2c: E2 [09:02:47]MH_I2C_Read... [09:02:47]Read from MH i2c: E2 62 00 [09:02:47]MH_I2C_Read... [09:02:47]Read from MH i2c: E2 62 00 61 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 2A 94 00 00 0E 04 04 00 29 02 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 15 [09:02:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 2A 94 00 00 0E 04 04 00 29 02 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 [09:02:47]wFMCommunicate OK [09:02:47]SAM_PROTO_GetFieldsCounters done [09:02:47]requested_item shift.num is exist - process it [09:02:47]requested_item shift.opened is exist - process it [09:02:47]req_shift_opened [09:02:47]FM_GetShiftState [09:02:47]SAM_PROTO_GetShiftState [09:02:47]wFMCommunicate request_size=4 [09:02:47]MH_SAM_APDU [09:02:47]CAPDU: 80 13 01 00 [09:02:47]Write to MH i2c: E2 08 00 62 0A 80 13 01 00 00 00 00 00 E9 [09:02:47]Write i2c OK [09:02:47]MH_I2C_Read... [09:02:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:02:47]Read from MH i2c: E2 [09:02:47]MH_I2C_Read... [09:02:47]Read from MH i2c: E2 0E 00 [09:02:47]MH_I2C_Read... [09:02:47]Read from MH i2c: E2 0E 00 62 0A 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 AA [09:02:47]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [09:02:47]wFMCommunicate OK [09:02:47]SAM_PROTO_GetShiftState done [09:02:47]FM_GetShiftState done [09:02:47]req_shift_opened done [09:02:47]requested_item shift.open_date is exist - process it [09:02:47]req_shift_open_date [09:02:47]req_shift_open_date done [09:02:47]produce_requested_data done [09:02:47]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37930,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [09:02:47]process_action_free close_receipt [09:02:47]json_value_free [09:02:47]json_value_free done [09:02:47]process_json_proto returns [09:02:47]Send response to host [09:02:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37930,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [09:02:47]free response buf [09:02:47]execute_script done [09:02:47]execute_script returns [09:02:47]free content buf [09:02:47]Sock 10.Close socket [09:02:47]Sock 10.Thread stoped [09:02:52]OFD Sender: No OFD packet to send [09:02:57]OFD Sender: No OFD packet to send [09:03:02]OFD Sender: No OFD packet to send [09:03:07]OFD Sender: No OFD packet to send [09:03:12]OFD Sender: No OFD packet to send [09:03:17]OFD Sender: No OFD packet to send [09:03:22]OFD Sender: No OFD packet to send [09:03:27]OFD Sender: No OFD packet to send [09:03:32]OFD Sender: No OFD packet to send [09:03:37]OFD Sender: No OFD packet to send [09:03:42]OFD Sender: No OFD packet to send [09:03:47]OFD Sender: No OFD packet to send [09:03:52]OFD Sender: No OFD packet to send [09:03:57]OFD Sender: No OFD packet to send [09:04:00]ConnectInit Can't connect to host [09:04:02]OFD Sender: No OFD packet to send [09:04:07]OFD Sender: No OFD packet to send [09:04:12]OFD Sender: No OFD packet to send [09:04:17]OFD Sender: No OFD packet to send [09:04:22]OFD Sender: No OFD packet to send [09:04:27]OFD Sender: No OFD packet to send [09:04:32]OFD Sender: No OFD packet to send [09:04:37]OFD Sender: No OFD packet to send [09:04:42]OFD Sender: No OFD packet to send [09:04:47]OFD Sender: No OFD packet to send [09:04:52]OFD Sender: No OFD packet to send [09:04:57]OFD Sender: No OFD packet to send [09:05:02]OFD Sender: No OFD packet to send [09:05:07]OFD Sender: No OFD packet to send [09:05:12]OFD Sender: No OFD packet to send [09:05:17]OFD Sender: No OFD packet to send [09:05:22]OFD Sender: No OFD packet to send [09:05:27]OFD Sender: No OFD packet to send [09:05:32]OFD Sender: No OFD packet to send [09:05:37]OFD Sender: No OFD packet to send [09:05:42]OFD Sender: No OFD packet to send [09:05:47]OFD Sender: No OFD packet to send [09:05:52]OFD Sender: No OFD packet to send [09:05:57]OFD Sender: No OFD packet to send [09:06:02]OFD Sender: No OFD packet to send [09:06:07]OFD Sender: No OFD packet to send [09:06:12]OFD Sender: No OFD packet to send [09:06:17]OFD Sender: No OFD packet to send [09:06:22]OFD Sender: No OFD packet to send [09:06:27]OFD Sender: No OFD packet to send [09:06:32]OFD Sender: No OFD packet to send [09:06:37]OFD Sender: No OFD packet to send [09:06:38]ConnectInit Can't connect to host [09:06:42]OFD Sender: No OFD packet to send [09:06:47]OFD Sender: No OFD packet to send [09:06:52]OFD Sender: No OFD packet to send [09:06:57]OFD Sender: No OFD packet to send [09:07:02]OFD Sender: No OFD packet to send [09:07:07]OFD Sender: No OFD packet to send [09:07:12]OFD Sender: No OFD packet to send [09:07:17]OFD Sender: No OFD packet to send [09:07:22]OFD Sender: No OFD packet to send [09:07:27]OFD Sender: No OFD packet to send [09:07:32]OFD Sender: No OFD packet to send [09:07:37]OFD Sender: No OFD packet to send [09:07:42]OFD Sender: No OFD packet to send [09:07:47]OFD Sender: No OFD packet to send [09:07:52]OFD Sender: No OFD packet to send [09:07:57]OFD Sender: No OFD packet to send [09:08:02]OFD Sender: No OFD packet to send [09:08:07]OFD Sender: No OFD packet to send [09:08:12]OFD Sender: No OFD packet to send [09:08:17]OFD Sender: No OFD packet to send [09:08:22]OFD Sender: No OFD packet to send [09:08:27]OFD Sender: No OFD packet to send [09:08:32]OFD Sender: No OFD packet to send [09:08:37]OFD Sender: No OFD packet to send [09:08:42]OFD Sender: No OFD packet to send [09:08:47]OFD Sender: No OFD packet to send [09:08:52]OFD Sender: No OFD packet to send [09:08:57]OFD Sender: No OFD packet to send [09:09:02]OFD Sender: No OFD packet to send [09:09:07]OFD Sender: No OFD packet to send [09:09:12]OFD Sender: No OFD packet to send [09:09:17]OFD Sender: No OFD packet to send [09:09:22]OFD Sender: No OFD packet to send [09:09:27]OFD Sender: No OFD packet to send [09:09:32]OFD Sender: No OFD packet to send [09:09:37]OFD Sender: No OFD packet to send [09:09:42]OFD Sender: No OFD packet to send [09:09:47]OFD Sender: No OFD packet to send [09:09:52]OFD Sender: No OFD packet to send [09:09:57]OFD Sender: No OFD packet to send [09:10:02]OFD Sender: No OFD packet to send [09:10:07]OFD Sender: No OFD packet to send [09:10:12]OFD Sender: No OFD packet to send [09:10:17]OFD Sender: No OFD packet to send [09:10:22]OFD Sender: No OFD packet to send [09:10:27]OFD Sender: No OFD packet to send [09:10:32]OFD Sender: No OFD packet to send [09:10:37]OFD Sender: No OFD packet to send [09:10:42]OFD Sender: No OFD packet to send [09:10:47]OFD Sender: No OFD packet to send [09:10:52]OFD Sender: No OFD packet to send [09:10:57]OFD Sender: No OFD packet to send [09:11:02]OFD Sender: No OFD packet to send [09:11:07]OFD Sender: No OFD packet to send [09:11:12]OFD Sender: No OFD packet to send [09:11:17]OFD Sender: No OFD packet to send [09:11:22]OFD Sender: No OFD packet to send [09:11:27]OFD Sender: No OFD packet to send [09:11:32]OFD Sender: No OFD packet to send [09:11:37]OFD Sender: No OFD packet to send [09:11:42]OFD Sender: No OFD packet to send [09:11:47]OFD Sender: No OFD packet to send [09:11:52]OFD Sender: No OFD packet to send [09:11:57]OFD Sender: No OFD packet to send [09:12:02]OFD Sender: No OFD packet to send [09:12:07]OFD Sender: No OFD packet to send [09:12:12]OFD Sender: No OFD packet to send [09:12:17]OFD Sender: No OFD packet to send [09:12:22]OFD Sender: No OFD packet to send [09:12:27]OFD Sender: No OFD packet to send [09:12:32]OFD Sender: No OFD packet to send [09:12:37]OFD Sender: No OFD packet to send [09:12:42]OFD Sender: No OFD packet to send [09:12:47]OFD Sender: No OFD packet to send [09:12:52]OFD Sender: No OFD packet to send [09:12:57]OFD Sender: No OFD packet to send [09:13:02]OFD Sender: No OFD packet to send [09:13:07]OFD Sender: No OFD packet to send [09:13:12]OFD Sender: No OFD packet to send [09:13:17]OFD Sender: No OFD packet to send [09:13:22]OFD Sender: No OFD packet to send [09:13:27]OFD Sender: No OFD packet to send [09:13:32]OFD Sender: No OFD packet to send [09:13:37]OFD Sender: No OFD packet to send [09:13:42]OFD Sender: No OFD packet to send [09:13:47]OFD Sender: No OFD packet to send [09:13:52]OFD Sender: No OFD packet to send [09:13:57]OFD Sender: No OFD packet to send [09:14:02]OFD Sender: No OFD packet to send [09:14:07]OFD Sender: No OFD packet to send [09:14:12]OFD Sender: No OFD packet to send [09:14:17]OFD Sender: No OFD packet to send [09:14:22]OFD Sender: No OFD packet to send [09:14:27]OFD Sender: No OFD packet to send [09:14:32]OFD Sender: No OFD packet to send [09:14:37]OFD Sender: No OFD packet to send [09:14:42]OFD Sender: No OFD packet to send [09:14:47]OFD Sender: No OFD packet to send [09:14:52]OFD Sender: No OFD packet to send [09:14:57]OFD Sender: No OFD packet to send [09:15:02]OFD Sender: No OFD packet to send [09:15:07]OFD Sender: No OFD packet to send [09:15:12]OFD Sender: No OFD packet to send [09:15:17]OFD Sender: No OFD packet to send [09:15:22]OFD Sender: No OFD packet to send [09:15:27]OFD Sender: No OFD packet to send [09:15:32]OFD Sender: No OFD packet to send [09:15:37]OFD Sender: No OFD packet to send [09:15:42]OFD Sender: No OFD packet to send [09:15:47]OFD Sender: No OFD packet to send [09:15:52]OFD Sender: No OFD packet to send [09:15:57]OFD Sender: No OFD packet to send [09:16:02]OFD Sender: No OFD packet to send [09:16:07]OFD Sender: No OFD packet to send [09:16:12]OFD Sender: No OFD packet to send [09:16:17]OFD Sender: No OFD packet to send [09:16:22]OFD Sender: No OFD packet to send [09:16:27]OFD Sender: No OFD packet to send [09:16:32]OFD Sender: No OFD packet to send [09:16:37]OFD Sender: No OFD packet to send [09:16:42]OFD Sender: No OFD packet to send [09:16:47]OFD Sender: No OFD packet to send [09:16:52]OFD Sender: No OFD packet to send [09:16:57]OFD Sender: No OFD packet to send [09:17:02]OFD Sender: No OFD packet to send [09:17:07]OFD Sender: No OFD packet to send [09:17:12]OFD Sender: No OFD packet to send [09:17:17]OFD Sender: No OFD packet to send [09:17:22]OFD Sender: No OFD packet to send [09:17:27]OFD Sender: No OFD packet to send [09:17:32]OFD Sender: No OFD packet to send [09:17:37]OFD Sender: No OFD packet to send [09:17:42]OFD Sender: No OFD packet to send [09:17:46]accept exits with 9 [09:17:46]New connection [09:17:46]New thread 3067207012 created [09:17:46]Thread 3067063652 joined [09:17:46]Waiting for new connection... [09:17:46] Sock 9.Parse request [09:17:46]Sock 9.Check first char [09:17:46]Sock 9.First char is OK [09:17:46]request: POST /json_proto HTTP/1.0 [09:17:46]Method: POST [09:17:46]URL: /json_proto [09:17:46]Method is POST - this is cgi request [09:17:46]url: /json_proto [09:17:46]query_string will be loaded in cgi processing [09:17:46]execute_cgi json_proto POST (null) [09:17:46]execute_cgi path=json_proto method=POST [09:17:46]POST find Content-Length [09:17:46]Host: 172.17.40.196:8080 [09:17:46]Content-Length: 619 [09:17:46]Content-Type: application/json [09:17:46] [09:17:46]POST finish read [09:17:46]Found Content-Length = 619 [09:17:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35230", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "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" ] } } [09:17:46]execute_script... [09:17:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35230", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "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" ] } } [09:17:46]POST & json_proto [09:17:46]process_json_proto [09:17:46]json parsed OK: [09:17:46]protocol is kg_v1.0 [09:17:46]action value=close_receipt [09:17:46]process_action close_receipt [09:17:46]cmd_close_receipt [09:17:46]MH_GetDate [09:17:46]Write to MH i2c: F0 00 00 63 0A 5C [09:17:46]Write i2c OK [09:17:46]MH_I2C_Read... [09:17:46]Read from MH i2c: F0 [09:17:46]MH_I2C_Read... [09:17:46]Read from MH i2c: F0 09 00 [09:17:46]MH_I2C_Read... [09:17:46]Read from MH i2c: F0 09 00 63 0A 00 BE F9 21 67 5B 68 A1 66 6E [09:17:46]GetLastDocTimeStamp 1730278967 [09:17:46]current date 1730279870 [09:17:46]FM_GetShiftState [09:17:46]SAM_PROTO_GetShiftState [09:17:46]wFMCommunicate request_size=4 [09:17:46]MH_SAM_APDU [09:17:46]CAPDU: 80 13 01 00 [09:17:46]Write to MH i2c: E2 08 00 64 0A 80 13 01 00 00 00 00 00 EB [09:17:46]Write i2c OK [09:17:46]MH_I2C_Read... [09:17:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:17:46]Read from MH i2c: E2 [09:17:46]MH_I2C_Read... [09:17:46]Read from MH i2c: E2 0E 00 [09:17:46]MH_I2C_Read... [09:17:46]Read from MH i2c: E2 0E 00 64 0A 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 AC [09:17:46]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [09:17:46]wFMCommunicate OK [09:17:46]SAM_PROTO_GetShiftState done [09:17:46]FM_GetShiftState done [09:17:46]opened in 1730246837 [09:17:46]opened+sec_in_day 1730333237 [09:17:46]quantity*price = 13900 [09:17:46]sum+1 = 13901 [09:17:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 13 30.10.2024 09:17 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37931 ФПД: 18818067875211 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T091750&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37931&fm=18818067875211&tin=02508201610067®Number=0000000000091684&sum=13900 0 [09:17:47]StoreToDocumentArchive [09:17:47]shift 553 fd 37931 [09:17:47]save to /storage/0553/doc_00037931 [09:17:47]save last doc name /storage/0553/doc_00037931 to /storage/kkm_last_doc_name [09:17:47]save OK [09:17:47]Clear old archive folders... [09:17:47]ProcessDocumentItem done err = 0, tmpTLVsize=272 [09:17:47]tlvbuf is 018D20F0 [09:17:47]SAM_PROTO_ClearQueue [09:17:47]wFMCommunicate request_size=4 [09:17:47]MH_SAM_APDU [09:17:47]CAPDU: 80 09 00 00 [09:17:47]Write to MH i2c: E2 08 00 71 0A 80 09 00 00 00 00 00 00 ED [09:17:47]Write i2c OK [09:17:47]MH_I2C_Read... [09:17:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:17:47]Read from MH i2c: E2 [09:17:47]MH_I2C_Read... [09:17:47]Read from MH i2c: E2 03 00 [09:17:47]MH_I2C_Read... [09:17:47]Read from MH i2c: E2 03 00 71 0A 00 90 00 EF [09:17:47]RAPDU: 90 00 [09:17:47]wFMCommunicate OK [09:17:47]SAM_PROTO_ClearQueue done [09:17:47]KKMCreateOFDPacket [09:17:47]OFDProtocolAddRootSTLVToBuf [09:17:47]FM_MakeSignedData [09:17:47]FM_MakeSignedData [09:17:47]SAM_PROTO_SignData [09:17:47]wFMCommunicate request_size=4 [09:17:47]MH_SAM_APDU [09:17:47]CAPDU: 80 0D 01 02 [09:17:47]Write to MH i2c: E2 08 00 72 0A 80 0D 01 02 00 00 00 00 F5 [09:17:47]Write i2c OK [09:17:47]MH_I2C_Read... [09:17:47]OFD Sender: No OFD packet to send [09:17:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:17:47]Read from MH i2c: E2 [09:17:47]MH_I2C_Read... [09:17:47]Read from MH i2c: E2 03 00 [09:17:47]MH_I2C_Read... [09:17:47]Read from MH i2c: E2 03 00 72 0A 00 90 00 F0 [09:17:47]RAPDU: 90 00 [09:17:47]wFMCommunicate OK [09:17:47]wFMCommunicate request_size=255 [09:17:47]MH_SAM_APDU [09:17:47]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 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 0D 00 00 00 F4 03 04 00 BE F9 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [09:17:47]Write to MH i2c: E2 02 01 73 0A 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 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 0D 00 00 00 F4 03 04 00 BE F9 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 A0 [09:17:47]Write i2c OK [09:17:47]MH_I2C_Read... [09:17:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:17:48]Read from MH i2c: E2 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: E2 03 00 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: E2 03 00 73 0A 00 90 00 F1 [09:17:48]RAPDU: 90 00 [09:17:48]wFMCommunicate OK [09:17:48]wFMCommunicate request_size=31 [09:17:48]MH_SAM_APDU [09:17:48]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 2B 94 00 00 35 04 06 00 11 1D 6C 40 45 8B [09:17:48]Write to MH i2c: E2 22 00 74 0A 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 2B 94 00 00 35 04 06 00 11 1D 6C 40 45 8B 00 00 89 [09:17:48]Write i2c OK [09:17:48]MH_I2C_Read... [09:17:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:17:48]Read from MH i2c: E2 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: E2 03 00 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: E2 03 00 74 0A 00 90 00 F2 [09:17:48]RAPDU: 90 00 [09:17:48]wFMCommunicate OK [09:17:48]wFMCommunicate request_size=4 [09:17:48]MH_SAM_APDU [09:17:48]CAPDU: 80 0D 03 02 [09:17:48]Write to MH i2c: E2 08 00 75 0A 80 0D 03 02 00 00 00 00 FA [09:17:48]Write i2c OK [09:17:48]MH_I2C_Read... [09:17:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:17:48]Read from MH i2c: E2 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: E2 0B 00 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: E2 0B 00 75 0A 00 E0 1A 44 FD DA 6F 8B 25 90 00 2F [09:17:48]RAPDU: E0 1A 44 FD DA 6F 8B 25 90 00 [09:17:48]wFMCommunicate OK [09:17:48]SAM_PROTO_SignData done [09:17:48]FM_MakeSignedData done [09:17:48]CreateOFDProtocolMessage [09:17:48]wFMCommunicate request_size=4 [09:17:48]MH_SAM_APDU [09:17:48]CAPDU: 80 11 00 00 [09:17:48]Write to MH i2c: E2 08 00 76 0A 80 11 00 00 00 00 00 00 FA [09:17:48]Write i2c OK [09:17:48]MH_I2C_Read... [09:17:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:17:48]Read from MH i2c: E2 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: E2 17 00 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: E2 17 00 76 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4A [09:17:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:17:48]wFMCommunicate OK [09:17:48]CreateOFDProtocolMessage done [09:17:48]OFDSenderStorePacket 37931 [09:17:48]StoreOFDPacket docnum=37931 [09:17:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 B9 1C 1C 01 FA 18 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 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 0D 00 00 00 F4 03 04 00 BE F9 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2B 94 00 00 35 04 06 00 11 1D 6C 40 45 8B E0 1A 44 FD DA 6F 8B 25 [09:17:48]CheckFolder [09:17:48]dirname=/storage/ofd_packets [09:17:48]CheckFolder done [09:17:48]ProducePacketName [09:17:48]name=ofd_packets/00037931 [09:17:48]NVStorageSaveData ofd_packets/00037931 [09:17:48]File name is /storage/ofd_packets/00037931 [09:17:48]Write 322 bytes [09:17:48]NVStorageSaveData done [09:17:48]OFDSenderStorePacket done [09:17:48]KKMCreateOFDPacket done [09:17:48]NVStorageSaveData kkm_last_timestamp [09:17:48]File name is /storage/kkm_last_timestamp [09:17:48]Write 4 bytes [09:17:48]NVStorageSaveData done [09:17:48]ExternCall_PrintAddStr [09:17:48]wPrintStart [09:17:48]Write to MH i2c: 01 00 00 77 0A 81 [09:17:48]Write i2c OK [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: 01 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: 01 07 00 [09:17:48]MH_I2C_Read... [09:17:48]Read from MH i2c: 01 07 00 77 0A 00 00 00 00 00 FF 0F 96 [09:17:48]RasterBufferAndPrint [09:17:48]line Счет N : (3)35230 [09:17:48]line ИНН: 02508201610067 [09:17:48]line Контрольно-Кассовый Чек [09:17:48]line ПРОДАЖА [09:17:48]line Товар: 48745000 [09:17:48]line Сигареты Winston Purple Mix [09:17:48]line 1.000 * 139.00 [09:17:48]line = 139.00 [09:17:48]line НДС 12% НСП 1% [09:17:48]line > о реализуемом товаре [09:17:48]line ИТОГО: 139.00 [09:17:48]line НСП 1% : 1.23 [09:17:48]line НДС 12% : 14.76 [09:17:48]line Наличными: 139.00 [09:17:48]line Безнал.: 0.00 [09:17:48]line Место: АЗС № 126 "Партнер Нефть" [09:17:48]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:17:48]line СНО: Общий режим [09:17:48]line Чек 13 30.10.2024 09:17 [09:17:48]line Смена: 553 ФФД: 1.0 [09:17:48]line ЗНМ: 0300000092 [09:17:48]line РНМ: 0000000000091684 [09:17:48]line Версия ККМ: 001 [09:17:48]line ФМ: 0000000000871841 [09:17:48]line ФД: 37931 [09:17:48]line ФПД: 18818067875211 [09:17:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T091750&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37931&fm=18818067875211&tin=02508201610067®Number=0000000000091684&sum=13900 [09:17:48]line 0 [09:17:48]written 0, free lines is 4095 [09:17:48]OFD Sender: Processing packet 37931 [packets to send 42, broken 41] [09:17:48]ProducePacketName [09:17:48]name=ofd_packets/00037931 [09:17:48]OFD Sender: To server: pG, [09:17:48]CommunicateWithHost lk.salyk.kg:30040 [09:17:48]ConnectInit lk.salyk.kg [09:17:48]Connected sock=10 [09:17:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 B9 1C 1C 01 FA 18 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 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 0D 00 00 00 F4 03 04 00 BE F9 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2B 94 00 00 35 04 06 00 11 1D 6C 40 45 8B E0 1A 44 FD DA 6F 8B 25 [09:17:49]Write to MH i2c: 01 00 00 9F 0A A9 [09:17:49]Write i2c OK [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: 01 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: 01 07 00 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: 01 07 00 9F 0A 00 00 00 00 00 CD 0C 89 [09:17:49]RasterBufferAndPrint [09:17:49]line [09:17:49]line [09:17:49]line [09:17:49]line [09:17:49]line [09:17:49]written 0, free lines is 3284 [09:17:49]MH_Cut [09:17:49]Write to MH i2c: D1 01 00 A6 0A 01 82 [09:17:49]Write i2c OK [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: D1 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: D1 01 00 [09:17:49]MH_I2C_Read... [09:17:49]Read from MH i2c: D1 01 00 A6 0A 00 81 [09:17:49]Write to MH i2c: 01 00 00 A7 0A B1 [09:17:49]Write i2c OK [09:17:49]MH_I2C_Read... [09:17:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 9B DF 47 00 5F 8F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2B 94 00 00 F4 03 04 00 AD A4 21 67 B6 04 01 00 00 85 A7 E3 B2 F4 09 77 FE [09:17:49]CommunicateWithHost err = 0 [09:17:49]CheckOFDResponse [09:17:49]1017 (14) - 77093643461234 [09:17:49]1041 (16) - 0000000000871841 [09:17:49]1040 (4) - 37931 [09:17:49]1012 (4) - 30.10.2024 03:14 [09:17:49]1206 (1) - 0 [09:17:49]OFD Sender: Remove packet 37931 [09:17:49]ProducePacketName [09:17:49]name=ofd_packets/00037931 [09:17:49]NVStorageDeleteData [09:17:49]*** Cut start [09:17:49]*** Partial cut [09:17:49]*** CUTSNS_PIN = 1 [09:17:49]OFD Sender: No OFD packet to send [09:17:49]*** CUTSNS_PIN = 0 [09:17:50]*** Brake cut motor [09:17:50]Read from MH i2c: 01 [09:17:50]MH_I2C_Read... [09:17:50]*** Stop cut motor [09:17:50]*** Cut end [09:17:50]Read from MH i2c: 01 07 00 [09:17:50]MH_I2C_Read... [09:17:50]Read from MH i2c: 01 07 00 A7 0A 00 00 00 00 00 FF 0F C6 [09:17:50]process_action close_receipt done [09:17:50]requested_data is exist [09:17:50]produce_requested_data [09:17:50]requested_item fm.sn is exist - process it [09:17:50]wFMCommunicate request_size=4 [09:17:50]MH_SAM_APDU [09:17:50]CAPDU: 80 11 00 00 [09:17:50]Write to MH i2c: E2 08 00 A8 0A 80 11 00 00 00 00 00 00 2C [09:17:50]Write i2c OK [09:17:50]MH_I2C_Read... [09:17:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:17:50]Read from MH i2c: E2 [09:17:50]MH_I2C_Read... [09:17:50]Read from MH i2c: E2 17 00 [09:17:50]MH_I2C_Read... [09:17:50]Read from MH i2c: E2 17 00 A8 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7C [09:17:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:17:50]wFMCommunicate OK [09:17:50]requested_item fd.num is exist - process it [09:17:50]SAM_PROTO_GetFieldsCounters [09:17:50]wFMCommunicate request_size=4 [09:17:50]MH_SAM_APDU [09:17:50]CAPDU: 80 13 00 00 [09:17:50]Write to MH i2c: E2 08 00 A9 0A 80 13 00 00 00 00 00 00 2F [09:17:50]Write i2c OK [09:17:50]MH_I2C_Read... [09:17:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:17:50]Read from MH i2c: E2 [09:17:50]MH_I2C_Read... [09:17:50]Read from MH i2c: E2 62 00 [09:17:50]MH_I2C_Read... [09:17:50]Read from MH i2c: E2 62 00 A9 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 2B 94 00 00 0E 04 04 00 29 02 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 61 [09:17:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 2B 94 00 00 0E 04 04 00 29 02 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:17:50]wFMCommunicate OK [09:17:50]SAM_PROTO_GetFieldsCounters done [09:17:50]requested_item shift.num is exist - process it [09:17:50]requested_item shift.opened is exist - process it [09:17:50]req_shift_opened [09:17:50]FM_GetShiftState [09:17:50]SAM_PROTO_GetShiftState [09:17:50]wFMCommunicate request_size=4 [09:17:50]MH_SAM_APDU [09:17:50]CAPDU: 80 13 01 00 [09:17:50]Write to MH i2c: E2 08 00 AA 0A 80 13 01 00 00 00 00 00 31 [09:17:50]Write i2c OK [09:17:50]MH_I2C_Read... [09:17:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:17:50]Read from MH i2c: E2 [09:17:50]MH_I2C_Read... [09:17:50]Read from MH i2c: E2 0E 00 [09:17:50]MH_I2C_Read... [09:17:50]Read from MH i2c: E2 0E 00 AA 0A 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 F2 [09:17:50]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [09:17:50]wFMCommunicate OK [09:17:50]SAM_PROTO_GetShiftState done [09:17:50]FM_GetShiftState done [09:17:50]req_shift_opened done [09:17:50]requested_item shift.open_date is exist - process it [09:17:50]req_shift_open_date [09:17:50]req_shift_open_date done [09:17:50]produce_requested_data done [09:17:50]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37931,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [09:17:50]process_action_free close_receipt [09:17:50]json_value_free [09:17:50]json_value_free done [09:17:50]process_json_proto returns [09:17:50]Send response to host [09:17:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37931,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [09:17:50]free response buf [09:17:50]execute_script done [09:17:50]execute_script returns [09:17:50]free content buf [09:17:50]Sock 9.Close socket [09:17:50]Sock 9.Thread stoped [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:20]OFD Sender: No OFD packet to send [09:18:25]OFD Sender: No OFD packet to send [09:18:30]OFD Sender: No OFD packet to send [09:18:35]OFD Sender: No OFD packet to send [09:18:40]OFD Sender: No OFD packet to send [09:18:45]OFD Sender: No OFD packet to send [09:18:50]OFD Sender: No OFD packet to send [09:18:55]OFD Sender: No OFD packet to send [09:19:00]OFD Sender: No OFD packet to send [09:19:05]OFD Sender: No OFD packet to send [09:19:10]OFD Sender: No OFD packet to send [09:19:15]OFD Sender: No OFD packet to send [09:19:20]OFD Sender: No OFD packet to send [09:19:25]OFD Sender: No OFD packet to send [09:19:30]OFD Sender: No OFD packet to send [09:19:35]OFD Sender: No OFD packet to send [09:19:40]OFD Sender: No OFD packet to send [09:19:45]OFD Sender: No OFD packet to send [09:19:50]OFD Sender: No OFD packet to send [09:19:55]OFD Sender: No OFD packet to send [09:20:00]OFD Sender: No OFD packet to send [09:20:05]OFD Sender: No OFD packet to send [09:20:10]OFD Sender: No OFD packet to send [09:20:15]OFD Sender: No OFD packet to send [09:20:20]OFD Sender: No OFD packet to send [09:20:25]OFD Sender: No OFD packet to send [09:20:30]OFD Sender: No OFD packet to send [09:20:35]OFD Sender: No OFD packet to send [09:20:40]OFD Sender: No OFD packet to send [09:20:45]OFD Sender: No OFD packet to send [09:20:50]OFD Sender: No OFD packet to send [09:20:55]OFD Sender: No OFD packet to send [09:21:00]OFD Sender: No OFD packet to send [09:21:05]OFD Sender: No OFD packet to send [09:21:10]OFD Sender: No OFD packet to send [09:21:15]OFD Sender: No OFD packet to send [09:21:20]OFD Sender: No OFD packet to send [09:21:25]OFD Sender: No OFD packet to send [09:21:30]OFD Sender: No OFD packet to send [09:21:35]OFD Sender: No OFD packet to send [09:21:40]OFD Sender: No OFD packet to send [09:21:45]OFD Sender: No OFD packet to send [09:21:50]OFD Sender: No OFD packet to send [09:21:55]OFD Sender: No OFD packet to send [09:22:00]OFD Sender: No OFD packet to send [09:22:05]OFD Sender: No OFD packet to send [09:22:10]OFD Sender: No OFD packet to send [09:22:15]OFD Sender: No OFD packet to send [09:22:20]OFD Sender: No OFD packet to send [09:22:25]OFD Sender: No OFD packet to send [09:22:30]OFD Sender: No OFD packet to send [09:22:35]OFD Sender: No OFD packet to send [09:22:40]OFD Sender: No OFD packet to send [09:22:45]OFD Sender: No OFD packet to send [09:22:50]OFD Sender: No OFD packet to send [09:22:55]OFD Sender: No OFD packet to send [09:23:00]OFD Sender: No OFD packet to send [09:23:05]OFD Sender: No OFD packet to send [09:23:10]OFD Sender: No OFD packet to send [09:23:15]OFD Sender: No OFD packet to send [09:23:20]OFD Sender: No OFD packet to send [09:23:25]OFD Sender: No OFD packet to send [09:23:30]OFD Sender: No OFD packet to send [09:23:35]OFD Sender: No OFD packet to send [09:23:40]OFD Sender: No OFD packet to send [09:23:45]OFD Sender: No OFD packet to send [09:23:50]OFD Sender: No OFD packet to send [09:23:55]OFD Sender: No OFD packet to send [09:24:00]OFD Sender: No OFD packet to send [09:24:05]OFD Sender: No OFD packet to send [09:24:10]OFD Sender: No OFD packet to send [09:24:15]OFD Sender: No OFD packet to send [09:24:20]OFD Sender: No OFD packet to send [09:24:25]OFD Sender: No OFD packet to send [09:24:30]OFD Sender: No OFD packet to send [09:24:35]OFD Sender: No OFD packet to send [09:24:40]OFD Sender: No OFD packet to send [09:24:45]OFD Sender: No OFD packet to send [09:24:50]OFD Sender: No OFD packet to send [09:24:55]OFD Sender: No OFD packet to send [09:25:00]OFD Sender: No OFD packet to send [09:25:05]OFD Sender: No OFD packet to send [09:25:10]OFD Sender: No OFD packet to send [09:25:15]OFD Sender: No OFD packet to send [09:25:20]OFD Sender: No OFD packet to send [09:25:25]OFD Sender: No OFD packet to send [09:25:30]OFD Sender: No OFD packet to send [09:25:35]OFD Sender: No OFD packet to send [09:25:40]OFD Sender: No OFD packet to send [09:25:45]OFD Sender: No OFD packet to send [09:25:50]OFD Sender: No OFD packet to send [09:25:55]OFD Sender: No OFD packet to send [09:26:00]OFD Sender: No OFD packet to send [09:26:05]OFD Sender: No OFD packet to send [09:26:10]OFD Sender: No OFD packet to send [09:26:15]OFD Sender: No OFD packet to send [09:26:20]OFD Sender: No OFD packet to send [09:26:25]OFD Sender: No OFD packet to send [09:26:30]OFD Sender: No OFD packet to send [09:26:35]OFD Sender: No OFD packet to send [09:26:40]OFD Sender: No OFD packet to send [09:26:45]OFD Sender: No OFD packet to send [09:26:50]OFD Sender: No OFD packet to send [09:26:55]OFD Sender: No OFD packet to send [09:27:00]OFD Sender: No OFD packet to send [09:27:05]OFD Sender: No OFD packet to send [09:27:10]OFD Sender: No OFD packet to send [09:27:15]OFD Sender: No OFD packet to send [09:27:20]OFD Sender: No OFD packet to send [09:27:25]OFD Sender: No OFD packet to send [09:27:30]OFD Sender: No OFD packet to send [09:27:35]OFD Sender: No OFD packet to send [09:27:40]OFD Sender: No OFD packet to send [09:27:45]OFD Sender: No OFD packet to send [09:27:50]OFD Sender: No OFD packet to send [09:27:55]OFD Sender: No OFD packet to send [09:28:00]OFD Sender: No OFD packet to send [09:28:05]OFD Sender: No OFD packet to send [09:28:10]OFD Sender: No OFD packet to send [09:28:15]OFD Sender: No OFD packet to send [09:28:20]OFD Sender: No OFD packet to send [09:28:25]OFD Sender: No OFD packet to send [09:28:30]OFD Sender: No OFD packet to send [09:28:35]OFD Sender: No OFD packet to send [09:28:40]OFD Sender: No OFD packet to send [09:28:45]OFD Sender: No OFD packet to send [09:28:50]OFD Sender: No OFD packet to send [09:28:55]OFD Sender: No OFD packet to send [09:29:00]OFD Sender: No OFD packet to send [09:29:05]OFD Sender: No OFD packet to send [09:29:10]OFD Sender: No OFD packet to send [09:29:15]OFD Sender: No OFD packet to send [09:29:20]OFD Sender: No OFD packet to send [09:29:25]OFD Sender: No OFD packet to send [09:29:30]OFD Sender: No OFD packet to send [09:29:35]OFD Sender: No OFD packet to send [09:29:40]OFD Sender: No OFD packet to send [09:29:45]OFD Sender: No OFD packet to send [09:29:50]OFD Sender: No OFD packet to send [09:29:55]OFD Sender: No OFD packet to send [09:30:00]OFD Sender: No OFD packet to send [09:30:05]OFD Sender: No OFD packet to send [09:30:10]OFD Sender: No OFD packet to send [09:30:15]OFD Sender: No OFD packet to send [09:30:20]OFD Sender: No OFD packet to send [09:30:25]OFD Sender: No OFD packet to send [09:30:30]OFD Sender: No OFD packet to send [09:30:35]OFD Sender: No OFD packet to send [09:30:40]OFD Sender: No OFD packet to send [09:30:45]OFD Sender: No OFD packet to send [09:30:50]OFD Sender: No OFD packet to send [09:30:55]OFD Sender: No OFD packet to send [09:31:00]OFD Sender: No OFD packet to send [09:31:05]OFD Sender: No OFD packet to send [09:31:10]OFD Sender: No OFD packet to send [09:31:15]OFD Sender: No OFD packet to send [09:31:20]OFD Sender: No OFD packet to send [09:31:25]OFD Sender: No OFD packet to send [09:31:30]OFD Sender: No OFD packet to send [09:31:35]OFD Sender: No OFD packet to send [09:31:40]OFD Sender: No OFD packet to send [09:31:45]OFD Sender: No OFD packet to send [09:31:50]OFD Sender: No OFD packet to send [09:31:55]OFD Sender: No OFD packet to send [09:32:00]OFD Sender: No OFD packet to send [09:32:05]OFD Sender: No OFD packet to send [09:32:10]OFD Sender: No OFD packet to send [09:32:15]OFD Sender: No OFD packet to send [09:32:20]OFD Sender: No OFD packet to send [09:32:25]OFD Sender: No OFD packet to send [09:32:30]OFD Sender: No OFD packet to send [09:32:35]OFD Sender: No OFD packet to send [09:32:40]OFD Sender: No OFD packet to send [09:32:45]OFD Sender: No OFD packet to send [09:32:50]OFD Sender: No OFD packet to send [09:32:55]OFD Sender: No OFD packet to send [09:33:00]OFD Sender: No OFD packet to send [09:33:05]OFD Sender: No OFD packet to send [09:33:10]OFD Sender: No OFD packet to send [09:33:15]OFD Sender: No OFD packet to send [09:33:20]OFD Sender: No OFD packet to send [09:33:25]OFD Sender: No OFD packet to send [09:33:30]OFD Sender: No OFD packet to send [09:33:35]OFD Sender: No OFD packet to send [09:33:40]OFD Sender: No OFD packet to send [09:33:45]OFD Sender: No OFD packet to send [09:33:50]OFD Sender: No OFD packet to send [09:33:55]OFD Sender: No OFD packet to send [09:34:00]OFD Sender: No OFD packet to send [09:34:05]OFD Sender: No OFD packet to send [09:34:10]OFD Sender: No OFD packet to send [09:34:15]OFD Sender: No OFD packet to send [09:34:20]OFD Sender: No OFD packet to send [09:34:25]OFD Sender: No OFD packet to send [09:34:30]OFD Sender: No OFD packet to send [09:34:35]OFD Sender: No OFD packet to send [09:34:40]OFD Sender: No OFD packet to send [09:34:45]OFD Sender: No OFD packet to send [09:34:50]OFD Sender: No OFD packet to send [09:34:55]OFD Sender: No OFD packet to send [09:35:00]OFD Sender: No OFD packet to send [09:35:05]OFD Sender: No OFD packet to send [09:35:10]OFD Sender: No OFD packet to send [09:35:15]OFD Sender: No OFD packet to send [09:35:20]OFD Sender: No OFD packet to send [09:35:25]OFD Sender: No OFD packet to send [09:35:30]OFD Sender: No OFD packet to send [09:35:35]OFD Sender: No OFD packet to send [09:35:40]OFD Sender: No OFD packet to send [09:35:45]OFD Sender: No OFD packet to send [09:35:50]OFD Sender: No OFD packet to send [09:35:55]OFD Sender: No OFD packet to send [09:36:00]OFD Sender: No OFD packet to send [09:36:05]OFD Sender: No OFD packet to send [09:36:10]OFD Sender: No OFD packet to send [09:36:15]OFD Sender: No OFD packet to send [09:36:20]OFD Sender: No OFD packet to send [09:36:25]OFD Sender: No OFD packet to send [09:36:30]OFD Sender: No OFD packet to send [09:36:35]OFD Sender: No OFD packet to send [09:36:40]OFD Sender: No OFD packet to send [09:36:45]OFD Sender: No OFD packet to send [09:36:50]OFD Sender: No OFD packet to send [09:36:55]OFD Sender: No OFD packet to send [09:37:01]OFD Sender: No OFD packet to send [09:37:06]OFD Sender: No OFD packet to send [09:37:11]OFD Sender: No OFD packet to send [09:37:16]OFD Sender: No OFD packet to send [09:37:21]OFD Sender: No OFD packet to send [09:37:26]OFD Sender: No OFD packet to send [09:37:31]OFD Sender: No OFD packet to send [09:37:36]OFD Sender: No OFD packet to send [09:37:41]OFD Sender: No OFD packet to send [09:37:46]OFD Sender: No OFD packet to send [09:37:51]OFD Sender: No OFD packet to send [09:37:56]OFD Sender: No OFD packet to send [09:38:01]OFD Sender: No OFD packet to send [09:38:06]OFD Sender: No OFD packet to send [09:38:11]OFD Sender: No OFD packet to send [09:38:16]OFD Sender: No OFD packet to send [09:38:21]OFD Sender: No OFD packet to send [09:38:26]OFD Sender: No OFD packet to send [09:38:31]OFD Sender: No OFD packet to send [09:38:36]OFD Sender: No OFD packet to send [09:38:41]OFD Sender: No OFD packet to send [09:38:46]OFD Sender: No OFD packet to send [09:38:51]OFD Sender: No OFD packet to send [09:38:56]OFD Sender: No OFD packet to send [09:39:01]OFD Sender: No OFD packet to send [09:39:06]OFD Sender: No OFD packet to send [09:39:11]OFD Sender: No OFD packet to send [09:39:16]OFD Sender: No OFD packet to send [09:39:21]OFD Sender: No OFD packet to send [09:39:26]OFD Sender: No OFD packet to send [09:39:31]OFD Sender: No OFD packet to send [09:39:36]OFD Sender: No OFD packet to send [09:39:41]OFD Sender: No OFD packet to send [09:39:46]OFD Sender: No OFD packet to send [09:39:51]OFD Sender: No OFD packet to send [09:39:56]OFD Sender: No OFD packet to send [09:40:01]OFD Sender: No OFD packet to send [09:40:06]OFD Sender: No OFD packet to send [09:40:11]OFD Sender: No OFD packet to send [09:40:16]OFD Sender: No OFD packet to send [09:40:21]OFD Sender: No OFD packet to send [09:40:26]OFD Sender: No OFD packet to send [09:40:31]OFD Sender: No OFD packet to send [09:40:36]OFD Sender: No OFD packet to send [09:40:41]OFD Sender: No OFD packet to send [09:40:46]OFD Sender: No OFD packet to send [09:40:51]OFD Sender: No OFD packet to send [09:40:56]OFD Sender: No OFD packet to send [09:41:01]OFD Sender: No OFD packet to send [09:41:06]OFD Sender: No OFD packet to send [09:41:11]OFD Sender: No OFD packet to send [09:41:16]OFD Sender: No OFD packet to send [09:41:21]OFD Sender: No OFD packet to send [09:41:26]OFD Sender: No OFD packet to send [09:41:31]OFD Sender: No OFD packet to send [09:41:36]OFD Sender: No OFD packet to send [09:41:41]OFD Sender: No OFD packet to send [09:41:46]OFD Sender: No OFD packet to send [09:41:51]OFD Sender: No OFD packet to send [09:41:56]OFD Sender: No OFD packet to send [09:42:01]OFD Sender: No OFD packet to send [09:42:06]OFD Sender: No OFD packet to send [09:42:11]OFD Sender: No OFD packet to send [09:42:16]OFD Sender: No OFD packet to send [09:42:21]OFD Sender: No OFD packet to send [09:42:26]OFD Sender: No OFD packet to send [09:42:31]OFD Sender: No OFD packet to send [09:42:36]OFD Sender: No OFD packet to send [09:42:41]OFD Sender: No OFD packet to send [09:42:46]OFD Sender: No OFD packet to send [09:42:51]OFD Sender: No OFD packet to send [09:42:56]OFD Sender: No OFD packet to send [09:43:01]OFD Sender: No OFD packet to send [09:43:06]OFD Sender: No OFD packet to send [09:43:11]OFD Sender: No OFD packet to send [09:43:16]OFD Sender: No OFD packet to send [09:43:21]OFD Sender: No OFD packet to send [09:43:26]OFD Sender: No OFD packet to send [09:43:31]OFD Sender: No OFD packet to send [09:43:36]OFD Sender: No OFD packet to send [09:43:41]OFD Sender: No OFD packet to send [09:43:46]OFD Sender: No OFD packet to send [09:43:51]OFD Sender: No OFD packet to send [09:43:56]OFD Sender: No OFD packet to send [09:44:01]OFD Sender: No OFD packet to send [09:44:06]OFD Sender: No OFD packet to send [09:44:11]OFD Sender: No OFD packet to send [09:44:16]OFD Sender: No OFD packet to send [09:44:21]OFD Sender: No OFD packet to send [09:44:26]OFD Sender: No OFD packet to send [09:44:31]OFD Sender: No OFD packet to send [09:44:36]OFD Sender: No OFD packet to send [09:44:41]OFD Sender: No OFD packet to send [09:44:46]OFD Sender: No OFD packet to send [09:44:51]OFD Sender: No OFD packet to send [09:44:56]OFD Sender: No OFD packet to send [09:45:01]OFD Sender: No OFD packet to send [09:45:06]OFD Sender: No OFD packet to send [09:45:11]OFD Sender: No OFD packet to send [09:45:16]OFD Sender: No OFD packet to send [09:45:21]OFD Sender: No OFD packet to send [09:45:26]OFD Sender: No OFD packet to send [09:45:31]OFD Sender: No OFD packet to send [09:45:36]OFD Sender: No OFD packet to send [09:45:41]OFD Sender: No OFD packet to send [09:45:46]OFD Sender: No OFD packet to send [09:45:51]OFD Sender: No OFD packet to send [09:45:56]OFD Sender: No OFD packet to send [09:46:01]OFD Sender: No OFD packet to send [09:46:06]OFD Sender: No OFD packet to send [09:46:11]OFD Sender: No OFD packet to send [09:46:16]OFD Sender: No OFD packet to send [09:46:21]OFD Sender: No OFD packet to send [09:46:26]OFD Sender: No OFD packet to send [09:46:31]OFD Sender: No OFD packet to send [09:46:36]OFD Sender: No OFD packet to send [09:46:41]OFD Sender: No OFD packet to send [09:46:46]OFD Sender: No OFD packet to send [09:46:51]OFD Sender: No OFD packet to send [09:46:56]OFD Sender: No OFD packet to send [09:47:01]OFD Sender: No OFD packet to send [09:47:06]OFD Sender: No OFD packet to send [09:47:11]OFD Sender: No OFD packet to send [09:47:16]OFD Sender: No OFD packet to send [09:47:21]OFD Sender: No OFD packet to send [09:47:26]OFD Sender: No OFD packet to send [09:47:31]OFD Sender: No OFD packet to send [09:47:36]OFD Sender: No OFD packet to send [09:47:41]OFD Sender: No OFD packet to send [09:47:46]OFD Sender: No OFD packet to send [09:47:51]OFD Sender: No OFD packet to send [09:47:56]OFD Sender: No OFD packet to send [09:48:01]OFD Sender: No OFD packet to send [09:48:06]OFD Sender: No OFD packet to send [09:48:11]OFD Sender: No OFD packet to send [09:48:16]OFD Sender: No OFD packet to send [09:48:21]OFD Sender: No OFD packet to send [09:48:26]OFD Sender: No OFD packet to send [09:48:31]OFD Sender: No OFD packet to send [09:48:36]OFD Sender: No OFD packet to send [09:48:41]OFD Sender: No OFD packet to send [09:48:46]OFD Sender: No OFD packet to send [09:48:51]OFD Sender: No OFD packet to send [09:48:56]OFD Sender: No OFD packet to send [09:49:01]OFD Sender: No OFD packet to send [09:49:06]OFD Sender: No OFD packet to send [09:49:11]OFD Sender: No OFD packet to send [09:49:16]OFD Sender: No OFD packet to send [09:49:21]OFD Sender: No OFD packet to send [09:49:26]OFD Sender: No OFD packet to send [09:49:31]OFD Sender: No OFD packet to send [09:49:36]OFD Sender: No OFD packet to send [09:49:41]OFD Sender: No OFD packet to send [09:49:46]OFD Sender: No OFD packet to send [09:49:51]OFD Sender: No OFD packet to send [09:49:56]OFD Sender: No OFD packet to send [09:50:01]OFD Sender: No OFD packet to send [09:50:06]OFD Sender: No OFD packet to send [09:50:11]OFD Sender: No OFD packet to send [09:50:16]OFD Sender: No OFD packet to send [09:50:21]OFD Sender: No OFD packet to send [09:50:26]OFD Sender: No OFD packet to send [09:50:31]OFD Sender: No OFD packet to send [09:50:36]OFD Sender: No OFD packet to send [09:50:41]OFD Sender: No OFD packet to send [09:50:46]OFD Sender: No OFD packet to send [09:50:51]OFD Sender: No OFD packet to send [09:50:56]OFD Sender: No OFD packet to send [09:51:01]OFD Sender: No OFD packet to send [09:51:06]OFD Sender: No OFD packet to send [09:51:11]OFD Sender: No OFD packet to send [09:51:16]OFD Sender: No OFD packet to send [09:51:21]OFD Sender: No OFD packet to send [09:51:26]OFD Sender: No OFD packet to send [09:51:31]OFD Sender: No OFD packet to send [09:51:36]OFD Sender: No OFD packet to send [09:51:41]OFD Sender: No OFD packet to send [09:51:46]OFD Sender: No OFD packet to send [09:51:51]OFD Sender: No OFD packet to send [09:51:56]OFD Sender: No OFD packet to send [09:52:01]OFD Sender: No OFD packet to send [09:52:06]OFD Sender: No OFD packet to send [09:52:11]OFD Sender: No OFD packet to send [09:52:16]OFD Sender: No OFD packet to send [09:52:21]OFD Sender: No OFD packet to send [09:52:26]OFD Sender: No OFD packet to send [09:52:31]OFD Sender: No OFD packet to send [09:52:36]OFD Sender: No OFD packet to send [09:52:41]OFD Sender: No OFD packet to send [09:52:46]OFD Sender: No OFD packet to send [09:52:51]OFD Sender: No OFD packet to send [09:52:56]OFD Sender: No OFD packet to send [09:53:01]OFD Sender: No OFD packet to send [09:53:06]OFD Sender: No OFD packet to send [09:53:11]OFD Sender: No OFD packet to send [09:53:16]OFD Sender: No OFD packet to send [09:53:21]OFD Sender: No OFD packet to send [09:53:26]OFD Sender: No OFD packet to send [09:53:31]OFD Sender: No OFD packet to send [09:53:36]OFD Sender: No OFD packet to send [09:53:41]OFD Sender: No OFD packet to send [09:53:46]OFD Sender: No OFD packet to send [09:53:51]OFD Sender: No OFD packet to send [09:53:56]OFD Sender: No OFD packet to send [09:54:01]OFD Sender: No OFD packet to send [09:54:06]OFD Sender: No OFD packet to send [09:54:11]OFD Sender: No OFD packet to send [09:54:16]OFD Sender: No OFD packet to send [09:54:21]OFD Sender: No OFD packet to send [09:54:26]OFD Sender: No OFD packet to send [09:54:31]OFD Sender: No OFD packet to send [09:54:36]OFD Sender: No OFD packet to send [09:54:41]OFD Sender: No OFD packet to send [09:54:46]OFD Sender: No OFD packet to send [09:54:51]OFD Sender: No OFD packet to send [09:54:56]OFD Sender: No OFD packet to send [09:55:01]OFD Sender: No OFD packet to send [09:55:06]OFD Sender: No OFD packet to send [09:55:11]OFD Sender: No OFD packet to send [09:55:16]OFD Sender: No OFD packet to send [09:55:21]OFD Sender: No OFD packet to send [09:55:27]OFD Sender: No OFD packet to send [09:55:32]OFD Sender: No OFD packet to send [09:55:37]OFD Sender: No OFD packet to send [09:55:42]OFD Sender: No OFD packet to send [09:55:47]OFD Sender: No OFD packet to send [09:55:52]OFD Sender: No OFD packet to send [09:55:57]OFD Sender: No OFD packet to send [09:56:02]OFD Sender: No OFD packet to send [09:56:07]OFD Sender: No OFD packet to send [09:56:12]OFD Sender: No OFD packet to send [09:56:17]OFD Sender: No OFD packet to send [09:56:22]OFD Sender: No OFD packet to send [09:56:27]OFD Sender: No OFD packet to send [09:56:32]OFD Sender: No OFD packet to send [09:56:37]OFD Sender: No OFD packet to send [09:56:42]OFD Sender: No OFD packet to send [09:56:47]OFD Sender: No OFD packet to send [09:56:52]OFD Sender: No OFD packet to send [09:56:57]OFD Sender: No OFD packet to send [09:57:02]OFD Sender: No OFD packet to send [09:57:07]OFD Sender: No OFD packet to send [09:57:12]OFD Sender: No OFD packet to send [09:57:17]OFD Sender: No OFD packet to send [09:57:22]OFD Sender: No OFD packet to send [09:57:27]OFD Sender: No OFD packet to send [09:57:32]OFD Sender: No OFD packet to send [09:57:37]OFD Sender: No OFD packet to send [09:57:42]OFD Sender: No OFD packet to send [09:57:47]OFD Sender: No OFD packet to send [09:57:52]OFD Sender: No OFD packet to send [09:57:57]OFD Sender: No OFD packet to send [09:58:02]OFD Sender: No OFD packet to send [09:58:07]OFD Sender: No OFD packet to send [09:58:12]OFD Sender: No OFD packet to send [09:58:17]OFD Sender: No OFD packet to send [09:58:22]OFD Sender: No OFD packet to send [09:58:27]OFD Sender: No OFD packet to send [09:58:32]OFD Sender: No OFD packet to send [09:58:37]OFD Sender: No OFD packet to send [09:58:42]OFD Sender: No OFD packet to send [09:58:47]OFD Sender: No OFD packet to send [09:58:52]OFD Sender: No OFD packet to send [09:58:57]OFD Sender: No OFD packet to send [09:59:02]OFD Sender: No OFD packet to send [09:59:07]OFD Sender: No OFD packet to send [09:59:12]OFD Sender: No OFD packet to send [09:59:17]OFD Sender: No OFD packet to send [09:59:22]OFD Sender: No OFD packet to send [09:59:27]OFD Sender: No OFD packet to send [09:59:32]OFD Sender: No OFD packet to send [09:59:37]OFD Sender: No OFD packet to send [09:59:42]OFD Sender: No OFD packet to send [09:59:47]OFD Sender: No OFD packet to send [09:59:52]OFD Sender: No OFD packet to send [09:59:57]OFD Sender: No OFD packet to send [10:00:02]OFD Sender: No OFD packet to send [10:00:07]OFD Sender: No OFD packet to send [10:00:12]OFD Sender: No OFD packet to send [10:00:17]OFD Sender: No OFD packet to send [10:00:22]OFD Sender: No OFD packet to send [10:00:27]OFD Sender: No OFD packet to send [10:00:32]OFD Sender: No OFD packet to send [10:00:37]OFD Sender: No OFD packet to send [10:00:42]OFD Sender: No OFD packet to send [10:00:47]OFD Sender: No OFD packet to send [10:00:52]OFD Sender: No OFD packet to send [10:00:57]OFD Sender: No OFD packet to send [10:01:02]OFD Sender: No OFD packet to send [10:01:07]OFD Sender: No OFD packet to send [10:01:12]OFD Sender: No OFD packet to send [10:01:17]OFD Sender: No OFD packet to send [10:01:22]OFD Sender: No OFD packet to send [10:01:27]OFD Sender: No OFD packet to send [10:01:32]OFD Sender: No OFD packet to send [10:01:37]OFD Sender: No OFD packet to send [10:01:42]OFD Sender: No OFD packet to send [10:01:47]OFD Sender: No OFD packet to send [10:01:52]OFD Sender: No OFD packet to send [10:01:57]OFD Sender: No OFD packet to send [10:02:02]OFD Sender: No OFD packet to send [10:02:07]OFD Sender: No OFD packet to send [10:02:12]OFD Sender: No OFD packet to send [10:02:17]OFD Sender: No OFD packet to send [10:02:22]OFD Sender: No OFD packet to send [10:02:27]OFD Sender: No OFD packet to send [10:02:32]OFD Sender: No OFD packet to send [10:02:37]OFD Sender: No OFD packet to send [10:02:42]OFD Sender: No OFD packet to send [10:02:47]OFD Sender: No OFD packet to send [10:02:52]OFD Sender: No OFD packet to send [10:02:57]OFD Sender: No OFD packet to send [10:03:02]OFD Sender: No OFD packet to send [10:03:07]OFD Sender: No OFD packet to send [10:03:12]OFD Sender: No OFD packet to send [10:03:17]OFD Sender: No OFD packet to send [10:03:22]OFD Sender: No OFD packet to send [10:03:27]OFD Sender: No OFD packet to send [10:03:32]OFD Sender: No OFD packet to send [10:03:37]OFD Sender: No OFD packet to send [10:03:42]OFD Sender: No OFD packet to send [10:03:47]OFD Sender: No OFD packet to send [10:03:52]OFD Sender: No OFD packet to send [10:03:57]OFD Sender: No OFD packet to send [10:04:02]OFD Sender: No OFD packet to send [10:04:07]OFD Sender: No OFD packet to send [10:04:12]OFD Sender: No OFD packet to send [10:04:17]OFD Sender: No OFD packet to send [10:04:22]OFD Sender: No OFD packet to send [10:04:27]OFD Sender: No OFD packet to send [10:04:32]OFD Sender: No OFD packet to send [10:04:37]OFD Sender: No OFD packet to send [10:04:42]OFD Sender: No OFD packet to send [10:04:47]OFD Sender: No OFD packet to send [10:04:52]OFD Sender: No OFD packet to send [10:04:57]OFD Sender: No OFD packet to send [10:05:02]OFD Sender: No OFD packet to send [10:05:07]OFD Sender: No OFD packet to send [10:05:12]OFD Sender: No OFD packet to send [10:05:17]OFD Sender: No OFD packet to send [10:05:22]OFD Sender: No OFD packet to send [10:05:27]OFD Sender: No OFD packet to send [10:05:32]OFD Sender: No OFD packet to send [10:05:37]OFD Sender: No OFD packet to send [10:05:42]OFD Sender: No OFD packet to send [10:05:47]OFD Sender: No OFD packet to send [10:05:52]OFD Sender: No OFD packet to send [10:05:57]OFD Sender: No OFD packet to send [10:06:02]OFD Sender: No OFD packet to send [10:06:07]OFD Sender: No OFD packet to send [10:06:12]OFD Sender: No OFD packet to send [10:06:17]OFD Sender: No OFD packet to send [10:06:22]OFD Sender: No OFD packet to send [10:06:27]OFD Sender: No OFD packet to send [10:06:32]OFD Sender: No OFD packet to send [10:06:37]OFD Sender: No OFD packet to send [10:06:42]OFD Sender: No OFD packet to send [10:06:47]OFD Sender: No OFD packet to send [10:06:52]OFD Sender: No OFD packet to send [10:06:57]OFD Sender: No OFD packet to send [10:07:02]OFD Sender: No OFD packet to send [10:07:07]OFD Sender: No OFD packet to send [10:07:12]OFD Sender: No OFD packet to send [10:07:17]OFD Sender: No OFD packet to send [10:07:22]OFD Sender: No OFD packet to send [10:07:27]OFD Sender: No OFD packet to send [10:07:32]OFD Sender: No OFD packet to send [10:07:37]OFD Sender: No OFD packet to send [10:07:42]OFD Sender: No OFD packet to send [10:07:47]OFD Sender: No OFD packet to send [10:07:52]OFD Sender: No OFD packet to send [10:07:57]OFD Sender: No OFD packet to send [10:08:02]OFD Sender: No OFD packet to send [10:08:07]OFD Sender: No OFD packet to send [10:08:12]OFD Sender: No OFD packet to send [10:08:17]OFD Sender: No OFD packet to send [10:08:22]OFD Sender: No OFD packet to send [10:08:27]OFD Sender: No OFD packet to send [10:08:32]OFD Sender: No OFD packet to send [10:08:37]OFD Sender: No OFD packet to send [10:08:42]OFD Sender: No OFD packet to send [10:08:47]OFD Sender: No OFD packet to send [10:08:52]OFD Sender: No OFD packet to send [10:08:57]OFD Sender: No OFD packet to send [10:09:02]OFD Sender: No OFD packet to send [10:09:07]OFD Sender: No OFD packet to send [10:09:12]OFD Sender: No OFD packet to send [10:09:17]OFD Sender: No OFD packet to send [10:09:22]OFD Sender: No OFD packet to send [10:09:27]OFD Sender: No OFD packet to send [10:09:32]OFD Sender: No OFD packet to send [10:09:37]OFD Sender: No OFD packet to send [10:09:42]OFD Sender: No OFD packet to send [10:09:47]OFD Sender: No OFD packet to send [10:09:52]OFD Sender: No OFD packet to send [10:09:57]OFD Sender: No OFD packet to send [10:10:02]OFD Sender: No OFD packet to send [10:10:07]OFD Sender: No OFD packet to send [10:10:12]OFD Sender: No OFD packet to send [10:10:17]OFD Sender: No OFD packet to send [10:10:22]OFD Sender: No OFD packet to send [10:10:27]OFD Sender: No OFD packet to send [10:10:32]OFD Sender: No OFD packet to send [10:10:37]OFD Sender: No OFD packet to send [10:10:42]OFD Sender: No OFD packet to send [10:10:47]OFD Sender: No OFD packet to send [10:10:52]OFD Sender: No OFD packet to send [10:10:57]OFD Sender: No OFD packet to send [10:11:02]OFD Sender: No OFD packet to send [10:11:07]OFD Sender: No OFD packet to send [10:11:12]OFD Sender: No OFD packet to send [10:11:17]OFD Sender: No OFD packet to send [10:11:22]OFD Sender: No OFD packet to send [10:11:27]OFD Sender: No OFD packet to send [10:11:32]OFD Sender: No OFD packet to send [10:11:37]OFD Sender: No OFD packet to send [10:11:42]OFD Sender: No OFD packet to send [10:11:47]OFD Sender: No OFD packet to send [10:11:52]OFD Sender: No OFD packet to send [10:11:57]OFD Sender: No OFD packet to send [10:12:02]OFD Sender: No OFD packet to send [10:12:07]OFD Sender: No OFD packet to send [10:12:12]OFD Sender: No OFD packet to send [10:12:17]OFD Sender: No OFD packet to send [10:12:22]OFD Sender: No OFD packet to send [10:12:27]OFD Sender: No OFD packet to send [10:12:32]OFD Sender: No OFD packet to send [10:12:37]OFD Sender: No OFD packet to send [10:12:42]OFD Sender: No OFD packet to send [10:12:47]OFD Sender: No OFD packet to send [10:12:51]accept exits with 7 [10:12:51]New connection [10:12:51]New thread 3067063652 created [10:12:51]Thread 3067207012 joined [10:12:51]Waiting for new connection... [10:12:51] Sock 7.Parse request [10:12:51]Sock 7.Check first char [10:12:51]Sock 7.First char is OK [10:12:51]request: POST /json_proto HTTP/1.0 [10:12:51]Method: POST [10:12:51]URL: /json_proto [10:12:51]Method is POST - this is cgi request [10:12:51]url: /json_proto [10:12:51]query_string will be loaded in cgi processing [10:12:51]execute_cgi json_proto POST (null) [10:12:51]execute_cgi path=json_proto method=POST [10:12:51]POST find Content-Length [10:12:51]Host: 172.17.40.196:8080 [10:12:51]Content-Length: 705 [10:12:51]Content-Type: application/json [10:12:51] [10:12:51]POST finish read [10:12:51]Found Content-Length = 705 [10:12:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35231", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:12:51]execute_script... [10:12:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35231", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:12:51]POST & json_proto [10:12:51]process_json_proto [10:12:51]json parsed OK: [10:12:51]protocol is kg_v1.0 [10:12:51]action value=close_receipt [10:12:51]process_action close_receipt [10:12:51]cmd_close_receipt [10:12:51]MH_GetDate [10:12:51]Write to MH i2c: F0 00 00 AB 0A A4 [10:12:51]Write i2c OK [10:12:51]MH_I2C_Read... [10:12:51]Read from MH i2c: F0 [10:12:51]MH_I2C_Read... [10:12:51]Read from MH i2c: F0 09 00 [10:12:51]MH_I2C_Read... [10:12:51]Read from MH i2c: F0 09 00 AB 0A 00 A7 06 22 67 5B 68 A1 66 AD [10:12:51]GetLastDocTimeStamp 1730279870 [10:12:51]current date 1730283175 [10:12:51]FM_GetShiftState [10:12:51]SAM_PROTO_GetShiftState [10:12:51]wFMCommunicate request_size=4 [10:12:51]MH_SAM_APDU [10:12:51]CAPDU: 80 13 01 00 [10:12:51]Write to MH i2c: E2 08 00 AC 0A 80 13 01 00 00 00 00 00 33 [10:12:51]Write i2c OK [10:12:51]MH_I2C_Read... [10:12:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:12:51]Read from MH i2c: E2 [10:12:51]MH_I2C_Read... [10:12:51]Read from MH i2c: E2 0E 00 [10:12:51]MH_I2C_Read... [10:12:51]Read from MH i2c: E2 0E 00 AC 0A 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 F4 [10:12:51]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [10:12:51]wFMCommunicate OK [10:12:51]SAM_PROTO_GetShiftState done [10:12:51]FM_GetShiftState done [10:12:51]opened in 1730246837 [10:12:51]opened+sec_in_day 1730333237 [10:12:51]quantity*price = 17500 [10:12:51]sum+1 = 17501 [10:12:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 175.00 НСП 1% : 1.55 НДС 12% : 18.58 Наличными: 175.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 14 30.10.2024 10:12 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37932 ФПД: 14285631415649 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T101255&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37932&fm=14285631415649&tin=02508201610067®Number=0000000000091684&sum=17500 0 [10:12:52]StoreToDocumentArchive [10:12:52]shift 553 fd 37932 [10:12:52]save to /storage/0553/doc_00037932 [10:12:52]save last doc name /storage/0553/doc_00037932 to /storage/kkm_last_doc_name [10:12:52]save OK [10:12:52]Clear old archive folders... [10:12:52]ProcessDocumentItem done err = 0, tmpTLVsize=302 [10:12:52]tlvbuf is 018D2DC0 [10:12:52]SAM_PROTO_ClearQueue [10:12:52]wFMCommunicate request_size=4 [10:12:52]MH_SAM_APDU [10:12:52]CAPDU: 80 09 00 00 [10:12:52]Write to MH i2c: E2 08 00 B9 0A 80 09 00 00 00 00 00 00 35 [10:12:52]Write i2c OK [10:12:52]MH_I2C_Read... [10:12:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:12:52]Read from MH i2c: E2 [10:12:52]MH_I2C_Read... [10:12:52]Read from MH i2c: E2 03 00 [10:12:52]MH_I2C_Read... [10:12:52]Read from MH i2c: E2 03 00 B9 0A 00 90 00 37 [10:12:52]RAPDU: 90 00 [10:12:52]wFMCommunicate OK [10:12:52]SAM_PROTO_ClearQueue done [10:12:52]KKMCreateOFDPacket [10:12:52]OFDProtocolAddRootSTLVToBuf [10:12:52]FM_MakeSignedData [10:12:52]FM_MakeSignedData [10:12:52]SAM_PROTO_SignData [10:12:52]wFMCommunicate request_size=4 [10:12:52]MH_SAM_APDU [10:12:52]CAPDU: 80 0D 01 02 [10:12:52]Write to MH i2c: E2 08 00 BA 0A 80 0D 01 02 00 00 00 00 3D [10:12:52]Write i2c OK [10:12:52]MH_I2C_Read... [10:12:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:12:52]Read from MH i2c: E2 [10:12:52]MH_I2C_Read... [10:12:52]Read from MH i2c: E2 03 00 [10:12:52]MH_I2C_Read... [10:12:52]Read from MH i2c: E2 03 00 BA 0A 00 90 00 38 [10:12:52]RAPDU: 90 00 [10:12:52]wFMCommunicate OK [10:12:52]wFMCommunicate request_size=255 [10:12:52]MH_SAM_APDU [10:12:52]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 A7 06 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 [10:12:52]Write to MH i2c: E2 02 01 BB 0A 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 A7 06 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 00 00 3A [10:12:52]Write i2c OK [10:12:52]MH_I2C_Read... [10:12:52]OFD Sender: No OFD packet to send [10:12:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:12:53]Read from MH i2c: E2 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 03 00 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 03 00 BB 0A 00 90 00 39 [10:12:53]RAPDU: 90 00 [10:12:53]wFMCommunicate OK [10:12:53]wFMCommunicate request_size=61 [10:12:53]MH_SAM_APDU [10:12:53]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2C 94 00 00 35 04 06 00 0C FE 21 FC 65 61 [10:12:53]Write to MH i2c: E2 40 00 BC 0A 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2C 94 00 00 35 04 06 00 0C FE 21 FC 65 61 00 00 22 [10:12:53]Write i2c OK [10:12:53]MH_I2C_Read... [10:12:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:12:53]Read from MH i2c: E2 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 03 00 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 03 00 BC 0A 00 90 00 3A [10:12:53]RAPDU: 90 00 [10:12:53]wFMCommunicate OK [10:12:53]wFMCommunicate request_size=4 [10:12:53]MH_SAM_APDU [10:12:53]CAPDU: 80 0D 03 02 [10:12:53]Write to MH i2c: E2 08 00 BD 0A 80 0D 03 02 00 00 00 00 42 [10:12:53]Write i2c OK [10:12:53]MH_I2C_Read... [10:12:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:12:53]Read from MH i2c: E2 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 0B 00 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 0B 00 BD 0A 00 04 AD 28 30 50 9E 50 22 90 00 AC [10:12:53]RAPDU: 04 AD 28 30 50 9E 50 22 90 00 [10:12:53]wFMCommunicate OK [10:12:53]SAM_PROTO_SignData done [10:12:53]FM_MakeSignedData done [10:12:53]CreateOFDProtocolMessage [10:12:53]wFMCommunicate request_size=4 [10:12:53]MH_SAM_APDU [10:12:53]CAPDU: 80 11 00 00 [10:12:53]Write to MH i2c: E2 08 00 BE 0A 80 11 00 00 00 00 00 00 42 [10:12:53]Write i2c OK [10:12:53]MH_I2C_Read... [10:12:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:12:53]Read from MH i2c: E2 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 17 00 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 17 00 BE 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 92 [10:12:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:12:53]wFMCommunicate OK [10:12:53]CreateOFDProtocolMessage done [10:12:53]OFDSenderStorePacket 37932 [10:12:53]StoreOFDPacket docnum=37932 [10:12:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 42 01 00 00 9A 14 3A 01 C0 35 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 A7 06 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2C 94 00 00 35 04 06 00 0C FE 21 FC 65 61 04 AD 28 30 50 9E 50 22 [10:12:53]CheckFolder [10:12:53]dirname=/storage/ofd_packets [10:12:53]CheckFolder done [10:12:53]ProducePacketName [10:12:53]name=ofd_packets/00037932 [10:12:53]NVStorageSaveData ofd_packets/00037932 [10:12:53]File name is /storage/ofd_packets/00037932 [10:12:53]Write 352 bytes [10:12:53]NVStorageSaveData done [10:12:53]OFDSenderStorePacket done [10:12:53]KKMCreateOFDPacket done [10:12:53]NVStorageSaveData kkm_last_timestamp [10:12:53]File name is /storage/kkm_last_timestamp [10:12:53]Write 4 bytes [10:12:53]NVStorageSaveData done [10:12:53]ExternCall_PrintAddStr [10:12:53]wPrintStart [10:12:53]Write to MH i2c: 01 00 00 BF 0A C9 [10:12:53]Write i2c OK [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: 01 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: 01 07 00 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: 01 07 00 BF 0A 00 00 00 00 00 FF 0F DE [10:12:53]RasterBufferAndPrint [10:12:53]line Счет N : (3)35231 [10:12:53]line ИНН: 02508201610067 [10:12:53]line Контрольно-Кассовый Чек [10:12:53]line ПРОДАЖА [10:12:53]line Товар: 5449000273673 [10:12:53]line Сок Piko Pulpy красный виноград ПЭТ 1л [10:12:53]line 1.000 * 175.00 [10:12:53]line = 175.00 [10:12:53]line НДС 12% НСП 1% [10:12:53]line > о реализуемом товаре [10:12:53]line ИТОГО: 175.00 [10:12:53]line НСП 1% : 1.55 [10:12:53]line НДС 12% : 18.58 [10:12:53]line Наличными: 175.00 [10:12:53]line Безнал.: 0.00 [10:12:53]line Место: АЗС № 126 "Партнер Нефть" [10:12:53]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:12:53]line СНО: Общий режим [10:12:53]line Чек 14 30.10.2024 10:12 [10:12:53]line Смена: 553 ФФД: 1.0 [10:12:53]line ЗНМ: 0300000092 [10:12:53]line РНМ: 0000000000091684 [10:12:53]line Версия ККМ: 001 [10:12:53]line ФМ: 0000000000871841 [10:12:53]line ФД: 37932 [10:12:53]line ФПД: 14285631415649 [10:12:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T101255&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37932&fm=14285631415649&tin=02508201610067®Number=0000000000091684&sum=17500 [10:12:53]line 0 [10:12:53]OFD Sender: Processing packet 37932 [packets to send 42, broken 41] [10:12:53]ProducePacketName [10:12:53]name=ofd_packets/00037932 [10:12:53]OFD Sender: To server: pG, [10:12:53]CommunicateWithHost lk.salyk.kg:30040 [10:12:53]ConnectInit lk.salyk.kg [10:12:53]written 0, free lines is 4095 [10:12:53]Connected sock=9 [10:12:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 42 01 00 00 9A 14 3A 01 C0 35 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 A7 06 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2C 94 00 00 35 04 06 00 0C FE 21 FC 65 61 04 AD 28 30 50 9E 50 22 [10:12:54]Write to MH i2c: 01 00 00 E8 0A F2 [10:12:54]Write i2c OK [10:12:54]MH_I2C_Read... [10:12:54]Read from MH i2c: 01 [10:12:54]MH_I2C_Read... [10:12:54]Read from MH i2c: 01 07 00 [10:12:54]MH_I2C_Read... [10:12:54]Read from MH i2c: 01 07 00 E8 0A 00 00 00 00 00 B3 0C B8 [10:12:54]RasterBufferAndPrint [10:12:54]line [10:12:54]line [10:12:54]line [10:12:54]line [10:12:54]line [10:12:54]written 0, free lines is 3255 [10:12:54]MH_Cut [10:12:54]Write to MH i2c: D1 01 00 EF 0A 01 CB [10:12:54]Write i2c OK [10:12:54]MH_I2C_Read... [10:12:54]Read from MH i2c: D1 [10:12:54]MH_I2C_Read... [10:12:54]Read from MH i2c: D1 01 00 [10:12:54]MH_I2C_Read... [10:12:54]Read from MH i2c: D1 01 00 EF 0A 00 CA [10:12:54]Write to MH i2c: 01 00 00 F0 0A FA [10:12:54]Write i2c OK [10:12:54]MH_I2C_Read... [10:12:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 BC 25 47 00 F2 3E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2C 94 00 00 F4 03 04 00 96 B1 21 67 B6 04 01 00 00 4B A2 F9 32 3A 7B 53 3E [10:12:54]CommunicateWithHost err = 0 [10:12:54]CheckOFDResponse [10:12:54]1017 (14) - 77093643461234 [10:12:54]1041 (16) - 0000000000871841 [10:12:54]1040 (4) - 37932 [10:12:54]1012 (4) - 30.10.2024 04:09 [10:12:54]1206 (1) - 0 [10:12:54]OFD Sender: Remove packet 37932 [10:12:54]ProducePacketName [10:12:54]name=ofd_packets/00037932 [10:12:54]NVStorageDeleteData [10:12:54]OFD Sender: No OFD packet to send [10:12:54]*** Cut start [10:12:54]*** Partial cut [10:12:54]*** CUTSNS_PIN = 1 [10:12:54]*** CUTSNS_PIN = 0 [10:12:55]*** Brake cut motor [10:12:55]Read from MH i2c: 01 [10:12:55]MH_I2C_Read... [10:12:55]*** Stop cut motor [10:12:55]*** Cut end [10:12:55]Read from MH i2c: 01 07 00 [10:12:55]MH_I2C_Read... [10:12:55]Read from MH i2c: 01 07 00 F0 0A 00 00 00 00 00 FF 0F 0F [10:12:55]process_action close_receipt done [10:12:55]requested_data is exist [10:12:55]produce_requested_data [10:12:55]requested_item fm.sn is exist - process it [10:12:55]wFMCommunicate request_size=4 [10:12:55]MH_SAM_APDU [10:12:55]CAPDU: 80 11 00 00 [10:12:55]Write to MH i2c: E2 08 00 F1 0A 80 11 00 00 00 00 00 00 75 [10:12:55]Write i2c OK [10:12:55]MH_I2C_Read... [10:12:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:12:55]Read from MH i2c: E2 [10:12:55]MH_I2C_Read... [10:12:55]Read from MH i2c: E2 17 00 [10:12:55]MH_I2C_Read... [10:12:55]Read from MH i2c: E2 17 00 F1 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C5 [10:12:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:12:55]wFMCommunicate OK [10:12:55]requested_item fd.num is exist - process it [10:12:55]SAM_PROTO_GetFieldsCounters [10:12:55]wFMCommunicate request_size=4 [10:12:55]MH_SAM_APDU [10:12:55]CAPDU: 80 13 00 00 [10:12:55]Write to MH i2c: E2 08 00 F2 0A 80 13 00 00 00 00 00 00 78 [10:12:55]Write i2c OK [10:12:55]MH_I2C_Read... [10:12:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:12:55]Read from MH i2c: E2 [10:12:55]MH_I2C_Read... [10:12:55]Read from MH i2c: E2 62 00 [10:12:55]MH_I2C_Read... [10:12:55]Read from MH i2c: E2 62 00 F2 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 2C 94 00 00 0E 04 04 00 29 02 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 AE [10:12:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 2C 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:12:55]wFMCommunicate OK [10:12:55]SAM_PROTO_GetFieldsCounters done [10:12:55]requested_item shift.num is exist - process it [10:12:55]requested_item shift.opened is exist - process it [10:12:55]req_shift_opened [10:12:55]FM_GetShiftState [10:12:55]SAM_PROTO_GetShiftState [10:12:55]wFMCommunicate request_size=4 [10:12:55]MH_SAM_APDU [10:12:55]CAPDU: 80 13 01 00 [10:12:55]Write to MH i2c: E2 08 00 F3 0A 80 13 01 00 00 00 00 00 7A [10:12:55]Write i2c OK [10:12:55]MH_I2C_Read... [10:12:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:12:55]Read from MH i2c: E2 [10:12:55]MH_I2C_Read... [10:12:55]Read from MH i2c: E2 0E 00 [10:12:55]MH_I2C_Read... [10:12:55]Read from MH i2c: E2 0E 00 F3 0A 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 3B [10:12:55]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [10:12:55]wFMCommunicate OK [10:12:55]SAM_PROTO_GetShiftState done [10:12:55]FM_GetShiftState done [10:12:55]req_shift_opened done [10:12:55]requested_item shift.open_date is exist - process it [10:12:55]req_shift_open_date [10:12:55]req_shift_open_date done [10:12:55]produce_requested_data done [10:12:55]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37932,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [10:12:55]process_action_free close_receipt [10:12:55]json_value_free [10:12:55]json_value_free done [10:12:55]process_json_proto returns [10:12:55]Send response to host [10:12:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37932,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [10:12:55]free response buf [10:12:55]execute_script done [10:12:55]execute_script returns [10:12:55]free content buf [10:12:55]Sock 7.Close socket [10:12:55]Sock 7.Thread stoped [10:12:59]OFD Sender: No OFD packet to send [10:13:04]OFD Sender: No OFD packet to send [10:13:09]OFD Sender: No OFD packet to send [10:13:14]OFD Sender: No OFD packet to send [10:13:19]OFD Sender: No OFD packet to send [10:13:24]OFD Sender: No OFD packet to send [10:13:29]OFD Sender: No OFD packet to send [10:13:34]OFD Sender: No OFD packet to send [10:13:39]OFD Sender: No OFD packet to send [10:13:44]OFD Sender: No OFD packet to send [10:13:49]OFD Sender: No OFD packet to send [10:13:54]OFD Sender: No OFD packet to send [10:13:59]OFD Sender: No OFD packet to send [10:14:04]OFD Sender: No OFD packet to send [10:14:09]OFD Sender: No OFD packet to send [10:14:14]OFD Sender: No OFD packet to send [10:14:19]OFD Sender: No OFD packet to send [10:14:24]OFD Sender: No OFD packet to send [10:14:29]OFD Sender: No OFD packet to send [10:14:34]OFD Sender: No OFD packet to send [10:14:39]OFD Sender: No OFD packet to send [10:14:44]OFD Sender: No OFD packet to send [10:14:49]OFD Sender: No OFD packet to send [10:14:54]OFD Sender: No OFD packet to send [10:14:59]OFD Sender: No OFD packet to send [10:15:05]OFD Sender: No OFD packet to send [10:15:10]OFD Sender: No OFD packet to send [10:15:15]OFD Sender: No OFD packet to send [10:15:20]OFD Sender: No OFD packet to send [10:15:25]OFD Sender: No OFD packet to send [10:15:30]OFD Sender: No OFD packet to send [10:15:35]OFD Sender: No OFD packet to send [10:15:36]int [10:15:36]Write to MH i2c: 01 00 00 F4 0A FE [10:15:36]*** FLAG_PRN_PAP1 set [10:15:36]Write i2c OK [10:15:36]MH_I2C_Read... [10:15:36]Read from MH i2c: 01 [10:15:36]MH_I2C_Read... [10:15:36]Read from MH i2c: 01 07 00 [10:15:36]MH_I2C_Read... [10:15:36]Read from MH i2c: 01 07 00 F4 0A 00 01 00 00 00 FF 0F 14 [10:15:36]state=0 [10:15:36]No paper [10:15:36]int [10:15:36]Write to MH i2c: 01 00 00 F5 0A FF [10:15:36]*** FLAG_PRN_PAP2 set [10:15:36]Write i2c OK [10:15:36]MH_I2C_Read... [10:15:36]Read from MH i2c: 01 [10:15:36]MH_I2C_Read... [10:15:36]Read from MH i2c: 01 07 00 [10:15:36]MH_I2C_Read... [10:15:36]Read from MH i2c: 01 07 00 F5 0A 00 03 00 00 00 FF 0F 17 [10:15:36]state=0 [10:15:36]No paper [10:15:36]Cover opened [10:15:37]int [10:15:37]Write to MH i2c: 01 00 00 F6 0A 00 [10:15:37]*** FLAG_PRN_PAP2 reset [10:15:37]Write i2c OK [10:15:37]MH_I2C_Read... [10:15:37]Read from MH i2c: 01 [10:15:37]MH_I2C_Read... [10:15:37]Read from MH i2c: 01 07 00 [10:15:37]MH_I2C_Read... [10:15:37]Read from MH i2c: 01 07 00 F6 0A 00 01 00 00 00 FF 0F 16 [10:15:37]state=3 [10:15:37]No paper [10:15:37]Cover closed [10:15:37]int [10:15:37]Write to MH i2c: 01 00 00 F7 0A 01 [10:15:37]*** FLAG_PRN_PAP2 set [10:15:37]Write i2c OK [10:15:37]MH_I2C_Read... [10:15:37]Read from MH i2c: 01 [10:15:37]MH_I2C_Read... [10:15:37]Read from MH i2c: 01 07 00 [10:15:37]MH_I2C_Read... [10:15:37]Read from MH i2c: 01 07 00 F7 0A 00 03 00 00 00 FF 0F 19 [10:15:37]state=0 [10:15:37]No paper [10:15:37]Cover opened [10:15:37]int [10:15:37]Write to MH i2c: 01 00 00 F8 0A 02 [10:15:37]*** FLAG_PRN_PAP2 reset [10:15:37]Write i2c OK [10:15:37]MH_I2C_Read... [10:15:37]Read from MH i2c: 01 [10:15:37]MH_I2C_Read... [10:15:37]Read from MH i2c: 01 07 00 [10:15:37]MH_I2C_Read... [10:15:37]Read from MH i2c: 01 07 00 F8 0A 00 01 00 00 00 FF 0F 18 [10:15:37]state=3 [10:15:37]No paper [10:15:37]Cover closed [10:15:37]int [10:15:37]Write to MH i2c: 01 00 00 F9 0A 03 [10:15:37]*** FLAG_PRN_PAP2 set [10:15:37]Write i2c OK [10:15:37]MH_I2C_Read... [10:15:37]Read from MH i2c: 01 [10:15:37]MH_I2C_Read... [10:15:37]Read from MH i2c: 01 07 00 [10:15:37]MH_I2C_Read... [10:15:37]Read from MH i2c: 01 07 00 F9 0A 00 03 00 00 00 FF 0F 1B [10:15:37]state=0 [10:15:37]No paper [10:15:37]Cover opened [10:15:40]OFD Sender: No OFD packet to send [10:15:42]Write to MH i2c: 01 00 00 FA 0A 04 [10:15:42]Write i2c OK [10:15:42]MH_I2C_Read... [10:15:42]Read from MH i2c: 01 [10:15:42]MH_I2C_Read... [10:15:42]Read from MH i2c: 01 07 00 [10:15:42]MH_I2C_Read... [10:15:42]Read from MH i2c: 01 07 00 FA 0A 00 03 00 00 00 FF 0F 1C [10:15:42]state=3 [10:15:42]No paper [10:15:42]Cover opened [10:15:45]OFD Sender: No OFD packet to send [10:15:47]Write to MH i2c: 01 00 00 FB 0A 05 [10:15:47]Write i2c OK [10:15:47]MH_I2C_Read... [10:15:47]Read from MH i2c: 01 [10:15:47]MH_I2C_Read... [10:15:47]Read from MH i2c: 01 07 00 [10:15:47]MH_I2C_Read... [10:15:47]Read from MH i2c: 01 07 00 FB 0A 00 03 00 00 00 FF 0F 1D [10:15:47]state=3 [10:15:47]No paper [10:15:47]Cover opened [10:15:50]OFD Sender: No OFD packet to send [10:15:52]Write to MH i2c: 01 00 00 FC 0A 06 [10:15:52]Write i2c OK [10:15:52]MH_I2C_Read... [10:15:52]Read from MH i2c: 01 [10:15:52]MH_I2C_Read... [10:15:52]Read from MH i2c: 01 07 00 [10:15:52]MH_I2C_Read... [10:15:52]Read from MH i2c: 01 07 00 FC 0A 00 03 00 00 00 FF 0F 1E [10:15:52]state=3 [10:15:52]No paper [10:15:52]Cover opened [10:15:55]OFD Sender: No OFD packet to send [10:15:57]Write to MH i2c: 01 00 00 FD 0A 07 [10:15:57]Write i2c OK [10:15:57]MH_I2C_Read... [10:15:57]Read from MH i2c: 01 [10:15:57]MH_I2C_Read... [10:15:57]Read from MH i2c: 01 07 00 [10:15:57]MH_I2C_Read... [10:15:57]Read from MH i2c: 01 07 00 FD 0A 00 03 00 00 00 FF 0F 1F [10:15:57]state=3 [10:15:57]No paper [10:15:57]Cover opened [10:16:00]OFD Sender: No OFD packet to send [10:16:02]Write to MH i2c: 01 00 00 FE 0A 08 [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 FE 0A 00 03 00 00 00 FF 0F 20 [10:16:02]state=3 [10:16:02]No paper [10:16:02]Cover opened [10:16:05]OFD Sender: No OFD packet to send [10:16:07]Write to MH i2c: 01 00 00 FF 0A 09 [10:16:07]Write i2c OK [10:16:07]MH_I2C_Read... [10:16:07]Read from MH i2c: 01 [10:16:07]MH_I2C_Read... [10:16:07]Read from MH i2c: 01 07 00 [10:16:07]MH_I2C_Read... [10:16:07]Read from MH i2c: 01 07 00 FF 0A 00 03 00 00 00 FF 0F 21 [10:16:07]state=3 [10:16:07]No paper [10:16:07]Cover opened [10:16:10]OFD Sender: No OFD packet to send [10:16:12]Write to MH i2c: 01 00 00 00 0B 0B [10:16:12]Write i2c OK [10:16:12]MH_I2C_Read... [10:16:12]Read from MH i2c: 01 [10:16:12]MH_I2C_Read... [10:16:12]Read from MH i2c: 01 07 00 [10:16:12]MH_I2C_Read... [10:16:12]Read from MH i2c: 01 07 00 00 0B 00 03 00 00 00 FF 0F 23 [10:16:12]state=3 [10:16:12]No paper [10:16:12]Cover opened [10:16:15]OFD Sender: No OFD packet to send [10:16:17]Write to MH i2c: 01 00 00 01 0B 0C [10:16:17]Write i2c OK [10:16:17]MH_I2C_Read... [10:16:17]Read from MH i2c: 01 [10:16:17]MH_I2C_Read... [10:16:17]Read from MH i2c: 01 07 00 [10:16:17]MH_I2C_Read... [10:16:17]Read from MH i2c: 01 07 00 01 0B 00 03 00 00 00 FF 0F 24 [10:16:17]state=3 [10:16:17]No paper [10:16:17]Cover opened [10:16:20]OFD Sender: No OFD packet to send [10:16:22]Write to MH i2c: 01 00 00 02 0B 0D [10:16:22]Write i2c OK [10:16:22]MH_I2C_Read... [10:16:22]Read from MH i2c: 01 [10:16:22]MH_I2C_Read... [10:16:22]Read from MH i2c: 01 07 00 [10:16:22]MH_I2C_Read... [10:16:22]Read from MH i2c: 01 07 00 02 0B 00 03 00 00 00 FF 0F 25 [10:16:22]state=3 [10:16:22]No paper [10:16:22]Cover opened [10:16:25]OFD Sender: No OFD packet to send [10:16:27]Write to MH i2c: 01 00 00 03 0B 0E [10:16:27]Write i2c OK [10:16:27]MH_I2C_Read... [10:16:27]Read from MH i2c: 01 [10:16:27]MH_I2C_Read... [10:16:27]Read from MH i2c: 01 07 00 [10:16:27]MH_I2C_Read... [10:16:27]Read from MH i2c: 01 07 00 03 0B 00 03 00 00 00 FF 0F 26 [10:16:27]state=3 [10:16:27]No paper [10:16:27]Cover opened [10:16:30]OFD Sender: No OFD packet to send [10:16:32]Write to MH i2c: 01 00 00 04 0B 0F [10:16:32]Write i2c OK [10:16:32]MH_I2C_Read... [10:16:32]Read from MH i2c: 01 [10:16:32]MH_I2C_Read... [10:16:32]Read from MH i2c: 01 07 00 [10:16:32]MH_I2C_Read... [10:16:32]Read from MH i2c: 01 07 00 04 0B 00 03 00 00 00 FF 0F 27 [10:16:32]state=3 [10:16:32]No paper [10:16:32]Cover opened [10:16:35]OFD Sender: No OFD packet to send [10:16:37]Write to MH i2c: 01 00 00 05 0B 10 [10:16:37]Write i2c OK [10:16:37]MH_I2C_Read... [10:16:37]Read from MH i2c: 01 [10:16:37]MH_I2C_Read... [10:16:37]Read from MH i2c: 01 07 00 [10:16:37]MH_I2C_Read... [10:16:37]Read from MH i2c: 01 07 00 05 0B 00 03 00 00 00 FF 0F 28 [10:16:37]state=3 [10:16:37]No paper [10:16:37]Cover opened [10:16:40]OFD Sender: No OFD packet to send [10:16:42]Write to MH i2c: 01 00 00 06 0B 11 [10:16:42]Write i2c OK [10:16:42]MH_I2C_Read... [10:16:42]Read from MH i2c: 01 [10:16:42]MH_I2C_Read... [10:16:42]Read from MH i2c: 01 07 00 [10:16:42]MH_I2C_Read... [10:16:42]Read from MH i2c: 01 07 00 06 0B 00 03 00 00 00 FF 0F 29 [10:16:42]state=3 [10:16:42]No paper [10:16:42]Cover opened [10:16:45]OFD Sender: No OFD packet to send [10:16:46]int [10:16:46]Write to MH i2c: 01 00 00 07 0B 12 [10:16:46]*** FLAG_PRN_PAP2 reset [10:16:46]Write i2c OK [10:16:46]MH_I2C_Read... [10:16:46]Read from MH i2c: 01 [10:16:46]MH_I2C_Read... [10:16:46]Read from MH i2c: 01 07 00 [10:16:46]MH_I2C_Read... [10:16:46]Read from MH i2c: 01 07 00 07 0B 00 01 00 00 00 FF 0F 28 [10:16:46]state=3 [10:16:46]No paper [10:16:46]Cover closed [10:16:46]int [10:16:46]Write to MH i2c: 01 00 00 08 0B 13 [10:16:46]*** FLAG_PRN_PAP1 reset [10:16:46]Write i2c OK [10:16:46]MH_I2C_Read... [10:16:46]Read from MH i2c: 01 [10:16:46]MH_I2C_Read... [10:16:46]Read from MH i2c: 01 07 00 [10:16:46]MH_I2C_Read... [10:16:46]Read from MH i2c: 01 07 00 08 0B 00 00 00 00 00 FF 0F 28 [10:16:46]state=0 [10:16:47]int [10:16:47]Write to MH i2c: 01 00 00 09 0B 14 [10:16:47]*** FLAG_PRN_KEY set [10:16:47]Write i2c OK [10:16:47]MH_I2C_Read... [10:16:47]Read from MH i2c: 01 [10:16:47]MH_I2C_Read... [10:16:47]Read from MH i2c: 01 07 00 [10:16:47]MH_I2C_Read... [10:16:47]Read from MH i2c: 01 07 00 09 0B 00 08 00 00 00 FF 0F 31 [10:16:47]state=0 [10:16:47]Key pressed [10:16:47]Feed [10:16:47]Write to MH i2c: D8 00 00 0A 0B EC [10:16:47]Write i2c OK [10:16:47]MH_I2C_Read... [10:16:47]Read from MH i2c: D8 [10:16:47]MH_I2C_Read... [10:16:47]Read from MH i2c: D8 01 00 [10:16:47]MH_I2C_Read... [10:16:47]Read from MH i2c: D8 01 00 0A 0B 00 ED [10:16:47]int [10:16:47]Write to MH i2c: 01 00 00 0B 0B 16 [10:16:47]Write i2c OK [10:16:47]MH_I2C_Read... [10:16:47]Read from MH i2c: 01 [10:16:47]MH_I2C_Read... [10:16:47]Read from MH i2c: 01 07 00 [10:16:47]MH_I2C_Read... [10:16:47]Read from MH i2c: 01 07 00 0B 0B 00 48 00 00 00 3C 00 A1 [10:16:47]state=2 [10:16:47]Key pressed [10:16:47]int [10:16:47]Write to MH i2c: 01 00 00 0C 0B 17 [10:16:47]*** FLAG_PRN_KEY reset [10:16:47]Write i2c OK [10:16:47]MH_I2C_Read... [10:16:47]Read from MH i2c: 01 [10:16:47]MH_I2C_Read... [10:16:47]Read from MH i2c: 01 07 00 [10:16:47]MH_I2C_Read... [10:16:47]Read from MH i2c: 01 07 00 0C 0B 00 00 00 00 00 F7 0F 24 [10:16:47]state=2 [10:16:47]Stop feed [10:16:50]OFD Sender: No OFD packet to send [10:16:55]OFD Sender: No OFD packet to send [10:17:00]OFD Sender: No OFD packet to send [10:17:05]OFD Sender: No OFD packet to send [10:17:05]accept exits with 10 [10:17:05]New connection [10:17:05]New thread 3067207012 created [10:17:05]Thread 3067063652 joined [10:17:05]Waiting for new connection... [10:17:05] Sock 10.Parse request [10:17:05]Sock 10.Check first char [10:17:05]Sock 10.First char is OK [10:17:05]request: POST /json_proto HTTP/1.0 [10:17:05]Method: POST [10:17:05]URL: /json_proto [10:17:05]Method is POST - this is cgi request [10:17:05]url: /json_proto [10:17:05]query_string will be loaded in cgi processing [10:17:05]execute_cgi json_proto POST (null) [10:17:05]execute_cgi path=json_proto method=POST [10:17:05]POST find Content-Length [10:17:05]Host: 172.17.40.196:8080 [10:17:05]Content-Length: 627 [10:17:05]Content-Type: application/json [10:17:05] [10:17:05]POST finish read [10:17:05]Found Content-Length = 627 [10:17:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35232", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:17:05]execute_script... [10: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 : (3)35232", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:17:05]POST & json_proto [10:17:05]process_json_proto [10:17:05]json parsed OK: [10:17:05]protocol is kg_v1.0 [10:17:05]action value=close_receipt [10:17:05]process_action close_receipt [10:17:05]cmd_close_receipt [10:17:05]MH_GetDate [10:17:05]Write to MH i2c: F0 00 00 0D 0B 07 [10:17:05]Write i2c OK [10:17:05]MH_I2C_Read... [10:17:05]Read from MH i2c: F0 [10:17:05]MH_I2C_Read... [10:17:05]Read from MH i2c: F0 09 00 [10:17:05]MH_I2C_Read... [10:17:05]Read from MH i2c: F0 09 00 0D 0B 00 A5 07 22 67 5B 68 A1 66 0F [10:17:05]GetLastDocTimeStamp 1730283175 [10:17:05]current date 1730283429 [10:17:05]FM_GetShiftState [10:17:05]SAM_PROTO_GetShiftState [10:17:05]wFMCommunicate request_size=4 [10:17:05]MH_SAM_APDU [10:17:05]CAPDU: 80 13 01 00 [10:17:05]Write to MH i2c: E2 08 00 0E 0B 80 13 01 00 00 00 00 00 96 [10:17:05]Write i2c OK [10:17:05]MH_I2C_Read... [10:17:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:17:05]Read from MH i2c: E2 [10:17:05]MH_I2C_Read... [10:17:05]Read from MH i2c: E2 0E 00 [10:17:05]MH_I2C_Read... [10:17:05]Read from MH i2c: E2 0E 00 0E 0B 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 57 [10:17:05]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [10:17:05]wFMCommunicate OK [10:17:05]SAM_PROTO_GetShiftState done [10:17:05]FM_GetShiftState done [10:17:05]opened in 1730246837 [10:17:05]opened+sec_in_day 1730333237 [10:17:05]quantity*price = 13000 [10:17:05]sum+1 = 13001 [10:17:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 15 30.10.2024 10:17 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37933 ФПД: 84618597928183 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T101709&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37933&fm=84618597928183&tin=02508201610067®Number=0000000000091684&sum=13000 0 [10:17:06]StoreToDocumentArchive [10:17:06]shift 553 fd 37933 [10:17:06]save to /storage/0553/doc_00037933 [10:17:06]save last doc name /storage/0553/doc_00037933 to /storage/kkm_last_doc_name [10:17:06]save OK [10:17:06]Clear old archive folders... [10:17:06]ProcessDocumentItem done err = 0, tmpTLVsize=276 [10:17:06]tlvbuf is 018D3A40 [10:17:06]SAM_PROTO_ClearQueue [10:17:06]wFMCommunicate request_size=4 [10:17:06]MH_SAM_APDU [10:17:06]CAPDU: 80 09 00 00 [10:17:06]Write to MH i2c: E2 08 00 1B 0B 80 09 00 00 00 00 00 00 98 [10:17:06]Write i2c OK [10:17:06]MH_I2C_Read... [10:17:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:17:06]Read from MH i2c: E2 [10:17:06]MH_I2C_Read... [10:17:06]Read from MH i2c: E2 03 00 [10:17:06]MH_I2C_Read... [10:17:06]Read from MH i2c: E2 03 00 1B 0B 00 90 00 9A [10:17:06]RAPDU: 90 00 [10:17:06]wFMCommunicate OK [10:17:06]SAM_PROTO_ClearQueue done [10:17:06]KKMCreateOFDPacket [10:17:06]OFDProtocolAddRootSTLVToBuf [10:17:06]FM_MakeSignedData [10:17:06]FM_MakeSignedData [10:17:06]SAM_PROTO_SignData [10:17:06]wFMCommunicate request_size=4 [10:17:06]MH_SAM_APDU [10:17:06]CAPDU: 80 0D 01 02 [10:17:06]Write to MH i2c: E2 08 00 1C 0B 80 0D 01 02 00 00 00 00 A0 [10:17:06]Write i2c OK [10:17:06]MH_I2C_Read... [10:17:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:17:06]Read from MH i2c: E2 [10:17:06]MH_I2C_Read... [10:17:06]Read from MH i2c: E2 03 00 [10:17:06]MH_I2C_Read... [10:17:06]Read from MH i2c: E2 03 00 1C 0B 00 90 00 9B [10:17:06]RAPDU: 90 00 [10:17:06]wFMCommunicate OK [10:17:06]wFMCommunicate request_size=255 [10:17:06]MH_SAM_APDU [10:17:06]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 A5 07 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 [10:17:06]Write to MH i2c: E2 02 01 1D 0B 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 A5 07 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 00 00 2D [10:17:06]Write i2c OK [10:17:06]MH_I2C_Read... [10:17:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:17:06]Read from MH i2c: E2 [10:17:06]MH_I2C_Read... [10:17:06]Read from MH i2c: E2 03 00 [10:17:06]MH_I2C_Read... [10:17:06]Read from MH i2c: E2 03 00 1D 0B 00 90 00 9C [10:17:06]RAPDU: 90 00 [10:17:06]wFMCommunicate OK [10:17:06]wFMCommunicate request_size=35 [10:17:06]MH_SAM_APDU [10:17:06]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2D 94 00 00 35 04 06 00 4C F5 CD 78 8C F7 [10:17:06]Write to MH i2c: E2 26 00 1E 0B 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2D 94 00 00 35 04 06 00 4C F5 CD 78 8C F7 00 00 5D [10:17:06]Write i2c OK [10:17:06]MH_I2C_Read... [10:17:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:17:07]Read from MH i2c: E2 [10:17:07]MH_I2C_Read... [10:17:07]Read from MH i2c: E2 03 00 [10:17:07]MH_I2C_Read... [10:17:07]Read from MH i2c: E2 03 00 1E 0B 00 90 00 9D [10:17:07]RAPDU: 90 00 [10:17:07]wFMCommunicate OK [10:17:07]wFMCommunicate request_size=4 [10:17:07]MH_SAM_APDU [10:17:07]CAPDU: 80 0D 03 02 [10:17:07]Write to MH i2c: E2 08 00 1F 0B 80 0D 03 02 00 00 00 00 A5 [10:17:07]Write i2c OK [10:17:07]MH_I2C_Read... [10:17:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:17:07]Read from MH i2c: E2 [10:17:07]MH_I2C_Read... [10:17:07]Read from MH i2c: E2 0B 00 [10:17:07]MH_I2C_Read... [10:17:07]Read from MH i2c: E2 0B 00 1F 0B 00 A0 D5 5B 46 59 E7 F8 EE 90 00 E2 [10:17:07]RAPDU: A0 D5 5B 46 59 E7 F8 EE 90 00 [10:17:07]wFMCommunicate OK [10:17:07]SAM_PROTO_SignData done [10:17:07]FM_MakeSignedData done [10:17:07]CreateOFDProtocolMessage [10:17:07]wFMCommunicate request_size=4 [10:17:07]MH_SAM_APDU [10:17:07]CAPDU: 80 11 00 00 [10:17:07]Write to MH i2c: E2 08 00 20 0B 80 11 00 00 00 00 00 00 A5 [10:17:07]Write i2c OK [10:17:07]MH_I2C_Read... [10:17:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:17:07]Read from MH i2c: E2 [10:17:07]MH_I2C_Read... [10:17:07]Read from MH i2c: E2 17 00 [10:17:07]MH_I2C_Read... [10:17:07]Read from MH i2c: E2 17 00 20 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F5 [10:17:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:17:07]wFMCommunicate OK [10:17:07]CreateOFDProtocolMessage done [10:17:07]OFDSenderStorePacket 37933 [10:17:07]StoreOFDPacket docnum=37933 [10:17:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 1F 64 20 01 FB 8E 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 A5 07 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2D 94 00 00 35 04 06 00 4C F5 CD 78 8C F7 A0 D5 5B 46 59 E7 F8 EE [10:17:07]CheckFolder [10:17:07]dirname=/storage/ofd_packets [10:17:07]CheckFolder done [10:17:07]ProducePacketName [10:17:07]name=ofd_packets/00037933 [10:17:07]NVStorageSaveData ofd_packets/00037933 [10:17:07]File name is /storage/ofd_packets/00037933 [10:17:07]Write 326 bytes [10:17:07]NVStorageSaveData done [10:17:07]OFDSenderStorePacket done [10:17:07]KKMCreateOFDPacket done [10:17:07]NVStorageSaveData kkm_last_timestamp [10:17:07]File name is /storage/kkm_last_timestamp [10:17:07]Write 4 bytes [10:17:07]NVStorageSaveData done [10:17:07]ExternCall_PrintAddStr [10:17:07]wPrintStart [10:17:07]Write to MH i2c: 01 00 00 21 0B 2C [10:17:07]Write i2c OK [10:17:07]MH_I2C_Read... [10:17:07]Read from MH i2c: 01 [10:17:07]MH_I2C_Read... [10:17:07]Read from MH i2c: 01 07 00 [10:17:07]MH_I2C_Read... [10:17:07]Read from MH i2c: 01 07 00 21 0B 00 00 00 00 00 FF 0F 41 [10:17:07]RasterBufferAndPrint [10:17:07]line Счет N : (3)35232 [10:17:07]line ИНН: 02508201610067 [10:17:07]line Контрольно-Кассовый Чек [10:17:07]line ПРОДАЖА [10:17:07]line Товар: 2000036230011 [10:17:07]line Кофе Латте XL(GABB TRADE) [10:17:07]line 1.000 * 130.00 [10:17:07]line = 130.00 [10:17:07]line НДС 12% НСП 1% [10:17:07]line > о реализуемом товаре [10:17:07]line ИТОГО: 130.00 [10:17:07]line НСП 1% : 1.15 [10:17:07]line НДС 12% : 13.80 [10:17:07]line Наличными: 130.00 [10:17:07]line Безнал.: 0.00 [10:17:07]line Место: АЗС № 126 "Партнер Нефть" [10:17:07]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:17:07]line СНО: Общий режим [10:17:07]line Чек 15 30.10.2024 10:17 [10:17:07]line Смена: 553 ФФД: 1.0 [10:17:07]line ЗНМ: 0300000092 [10:17:07]line РНМ: 0000000000091684 [10:17:07]line Версия ККМ: 001 [10:17:07]line ФМ: 0000000000871841 [10:17:07]line ФД: 37933 [10:17:07]line ФПД: 84618597928183 [10:17:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T101709&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37933&fm=84618597928183&tin=02508201610067®Number=0000000000091684&sum=13000 [10:17:07]line 0 [10:17:07]OFD Sender: Processing packet 37933 [packets to send 42, broken 41] [10:17:07]ProducePacketName [10:17:07]name=ofd_packets/00037933 [10:17:07]OFD Sender: To server: pG, [10:17:07]CommunicateWithHost lk.salyk.kg:30040 [10:17:07]ConnectInit lk.salyk.kg [10:17:07]written 0, free lines is 4095 [10:17:07]Connected sock=7 [10:17:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 1F 64 20 01 FB 8E 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 A5 07 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2D 94 00 00 35 04 06 00 4C F5 CD 78 8C F7 A0 D5 5B 46 59 E7 F8 EE [10:17:07]Write to MH i2c: 01 00 00 49 0B 54 [10:17:07]Write i2c OK [10:17:07]MH_I2C_Read... [10:17:07]Read from MH i2c: 01 [10:17:07]MH_I2C_Read... [10:17:07]Read from MH i2c: 01 07 00 [10:17:07]MH_I2C_Read... [10:17:07]Read from MH i2c: 01 07 00 49 0B 00 00 00 00 00 CA 0C 31 [10:17:07]RasterBufferAndPrint [10:17:07]line [10:17:07]line [10:17:07]line [10:17:07]line [10:17:07]line [10:17:07]written 0, free lines is 3281 [10:17:07]MH_Cut [10:17:07]Write to MH i2c: D1 01 00 50 0B 01 2D [10:17:07]Write i2c OK [10:17:07]MH_I2C_Read... [10:17:07]Read from MH i2c: D1 [10:17:07]MH_I2C_Read... [10:17:07]Read from MH i2c: D1 01 00 [10:17:07]MH_I2C_Read... [10:17:07]Read from MH i2c: D1 01 00 50 0B 00 2C [10:17:07]Write to MH i2c: 01 00 00 51 0B 5C [10:17:07]Write i2c OK [10:17:07]MH_I2C_Read... [10:17:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 E3 7C 47 00 F2 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2D 94 00 00 F4 03 04 00 94 B2 21 67 B6 04 01 00 00 81 92 AE A1 D7 D6 85 0D [10:17:08]CommunicateWithHost err = 0 [10:17:08]CheckOFDResponse [10:17:08]1017 (14) - 77093643461234 [10:17:08]1041 (16) - 0000000000871841 [10:17:08]1040 (4) - 37933 [10:17:08]1012 (4) - 30.10.2024 04:14 [10:17:08]1206 (1) - 0 [10:17:08]OFD Sender: Remove packet 37933 [10:17:08]ProducePacketName [10:17:08]name=ofd_packets/00037933 [10:17:08]NVStorageDeleteData [10:17:08]OFD Sender: No OFD packet to send [10:17:08]*** Cut start [10:17:08]*** Partial cut [10:17:08]*** CUTSNS_PIN = 1 [10:17:08]*** CUTSNS_PIN = 0 [10:17:09]*** Brake cut motor [10:17:09]Read from MH i2c: 01 [10:17:09]MH_I2C_Read... [10:17:09]*** Stop cut motor [10:17:09]*** Cut end [10:17:09]Read from MH i2c: 01 07 00 [10:17:09]MH_I2C_Read... [10:17:09]Read from MH i2c: 01 07 00 51 0B 00 00 00 00 00 FF 0F 71 [10:17:09]process_action close_receipt done [10:17:09]requested_data is exist [10:17:09]produce_requested_data [10:17:09]requested_item fm.sn is exist - process it [10:17:09]wFMCommunicate request_size=4 [10:17:09]MH_SAM_APDU [10:17:09]CAPDU: 80 11 00 00 [10:17:09]Write to MH i2c: E2 08 00 52 0B 80 11 00 00 00 00 00 00 D7 [10:17:09]Write i2c OK [10:17:09]MH_I2C_Read... [10:17:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:17:09]Read from MH i2c: E2 [10:17:09]MH_I2C_Read... [10:17:09]Read from MH i2c: E2 17 00 [10:17:09]MH_I2C_Read... [10:17:09]Read from MH i2c: E2 17 00 52 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 27 [10:17:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:17:09]wFMCommunicate OK [10:17:09]requested_item fd.num is exist - process it [10:17:09]SAM_PROTO_GetFieldsCounters [10:17:09]wFMCommunicate request_size=4 [10:17:09]MH_SAM_APDU [10:17:09]CAPDU: 80 13 00 00 [10:17:09]Write to MH i2c: E2 08 00 53 0B 80 13 00 00 00 00 00 00 DA [10:17:09]Write i2c OK [10:17:09]MH_I2C_Read... [10:17:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:17:09]Read from MH i2c: E2 [10:17:09]MH_I2C_Read... [10:17:09]Read from MH i2c: E2 62 00 [10:17:09]MH_I2C_Read... [10:17:09]Read from MH i2c: E2 62 00 53 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 2D 94 00 00 0E 04 04 00 29 02 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 14 [10:17:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 2D 94 00 00 0E 04 04 00 29 02 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 [10:17:09]wFMCommunicate OK [10:17:09]SAM_PROTO_GetFieldsCounters done [10:17:09]requested_item shift.num is exist - process it [10:17:09]requested_item shift.opened is exist - process it [10:17:09]req_shift_opened [10:17:09]FM_GetShiftState [10:17:09]SAM_PROTO_GetShiftState [10:17:09]wFMCommunicate request_size=4 [10:17:09]MH_SAM_APDU [10:17:09]CAPDU: 80 13 01 00 [10:17:09]Write to MH i2c: E2 08 00 54 0B 80 13 01 00 00 00 00 00 DC [10:17:09]Write i2c OK [10:17:09]MH_I2C_Read... [10:17:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:17:09]Read from MH i2c: E2 [10:17:09]MH_I2C_Read... [10:17:09]Read from MH i2c: E2 0E 00 [10:17:09]MH_I2C_Read... [10:17:09]Read from MH i2c: E2 0E 00 54 0B 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 9D [10:17:09]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [10:17:09]wFMCommunicate OK [10:17:09]SAM_PROTO_GetShiftState done [10:17:09]FM_GetShiftState done [10:17:09]req_shift_opened done [10:17:09]requested_item shift.open_date is exist - process it [10:17:09]req_shift_open_date [10:17:09]req_shift_open_date done [10:17:09]produce_requested_data done [10:17:09]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37933,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [10:17:09]process_action_free close_receipt [10:17:09]json_value_free [10:17:09]json_value_free done [10:17:09]process_json_proto returns [10:17:09]Send response to host [10:17:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37933,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [10:17:09]free response buf [10:17:09]execute_script done [10:17:09]execute_script returns [10:17:09]free content buf [10:17:09]Sock 10.Close socket [10:17:09]Sock 10.Thread stoped [10:17:13]OFD Sender: No OFD packet to send [10:17:18]OFD Sender: No OFD packet to send [10:17:23]OFD Sender: No OFD packet to send [10:17:28]OFD Sender: No OFD packet to send [10:17:33]OFD Sender: No OFD packet to send [10:17:38]OFD Sender: No OFD packet to send [10:17:43]OFD Sender: No OFD packet to send [10:17:48]OFD Sender: No OFD packet to send [10:17:53]OFD Sender: No OFD packet to send [10:17:58]OFD Sender: No OFD packet to send [10:18:03]OFD Sender: No OFD packet to send [10:18:08]OFD Sender: No OFD packet to send [10:18:13]OFD Sender: No OFD packet to send [10:18:18]OFD Sender: No OFD packet to send [10:18:23]OFD Sender: No OFD packet to send [10:18:28]OFD Sender: No OFD packet to send [10:18:33]OFD Sender: No OFD packet to send [10:18:38]OFD Sender: No OFD packet to send [10:18:43]OFD Sender: No OFD packet to send [10:18:48]OFD Sender: No OFD packet to send [10:18:53]OFD Sender: No OFD packet to send [10:18:58]OFD Sender: No OFD packet to send [10:19:03]OFD Sender: No OFD packet to send [10:19:08]OFD Sender: No OFD packet to send [10:19:13]OFD Sender: No OFD packet to send [10:19:18]OFD Sender: No OFD packet to send [10:19:23]OFD Sender: No OFD packet to send [10:19:28]OFD Sender: No OFD packet to send [10:19:33]OFD Sender: No OFD packet to send [10:19:38]OFD Sender: No OFD packet to send [10:19:43]OFD Sender: No OFD packet to send [10:19:48]OFD Sender: No OFD packet to send [10:19:53]OFD Sender: No OFD packet to send [10:19:58]OFD Sender: No OFD packet to send [10:20:03]OFD Sender: No OFD packet to send [10:20:08]OFD Sender: No OFD packet to send [10:20:13]OFD Sender: No OFD packet to send [10:20:18]OFD Sender: No OFD packet to send [10:20:23]OFD Sender: No OFD packet to send [10:20:28]OFD Sender: No OFD packet to send [10:20:33]OFD Sender: No OFD packet to send [10:20:38]OFD Sender: No OFD packet to send [10:20:43]OFD Sender: No OFD packet to send [10:20:48]OFD Sender: No OFD packet to send [10:20:53]OFD Sender: No OFD packet to send [10:20:58]OFD Sender: No OFD packet to send [10:21:03]OFD Sender: No OFD packet to send [10:21:08]OFD Sender: No OFD packet to send [10:21:13]OFD Sender: No OFD packet to send [10:21:18]OFD Sender: No OFD packet to send [10:21:23]OFD Sender: No OFD packet to send [10:21:28]OFD Sender: No OFD packet to send [10:21:33]OFD Sender: No OFD packet to send [10:21:38]OFD Sender: No OFD packet to send [10:21:43]OFD Sender: No OFD packet to send [10:21:48]OFD Sender: No OFD packet to send [10:21:53]OFD Sender: No OFD packet to send [10:21:58]OFD Sender: No OFD packet to send [10:22:03]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:04]OFD Sender: No OFD packet to send [10:25:09]OFD Sender: No OFD packet to send [10:25:14]OFD Sender: No OFD packet to send [10:25:19]OFD Sender: No OFD packet to send [10:25:24]OFD Sender: No OFD packet to send [10:25:29]OFD Sender: No OFD packet to send [10:25:34]OFD Sender: No OFD packet to send [10:25:39]OFD Sender: No OFD packet to send [10:25:44]OFD Sender: No OFD packet to send [10:25:49]OFD Sender: No OFD packet to send [10:25:54]OFD Sender: No OFD packet to send [10:25:59]OFD Sender: No OFD packet to send [10:26:04]OFD Sender: No OFD packet to send [10:26:09]OFD Sender: No OFD packet to send [10:26:14]OFD Sender: No OFD packet to send [10:26:19]OFD Sender: No OFD packet to send [10:26:24]OFD Sender: No OFD packet to send [10:26:29]OFD Sender: No OFD packet to send [10:26:34]OFD Sender: No OFD packet to send [10:26:39]OFD Sender: No OFD packet to send [10:26:44]OFD Sender: No OFD packet to send [10:26:49]OFD Sender: No OFD packet to send [10:26:54]OFD Sender: No OFD packet to send [10:26:59]OFD Sender: No OFD packet to send [10:27:04]OFD Sender: No OFD packet to send [10:27:09]OFD Sender: No OFD packet to send [10:27:14]OFD Sender: No OFD packet to send [10:27:19]OFD Sender: No OFD packet to send [10:27:24]OFD Sender: No OFD packet to send [10:27:29]OFD Sender: No OFD packet to send [10:27:34]OFD Sender: No OFD packet to send [10:27:39]OFD Sender: No OFD packet to send [10:27:44]OFD Sender: No OFD packet to send [10:27:49]OFD Sender: No OFD packet to send [10:27:54]OFD Sender: No OFD packet to send [10:27:59]OFD Sender: No OFD packet to send [10:28:04]OFD Sender: No OFD packet to send [10:28:09]OFD Sender: No OFD packet to send [10:28:14]OFD Sender: No OFD packet to send [10:28:19]OFD Sender: No OFD packet to send [10:28:24]OFD Sender: No OFD packet to send [10:28:29]OFD Sender: No OFD packet to send [10:28:34]OFD Sender: No OFD packet to send [10:28:39]OFD Sender: No OFD packet to send [10:28:44]OFD Sender: No OFD packet to send [10:28:49]OFD Sender: No OFD packet to send [10:28:54]OFD Sender: No OFD packet to send [10:28:59]OFD Sender: No OFD packet to send [10:29:04]OFD Sender: No OFD packet to send [10:29:09]OFD Sender: No OFD packet to send [10:29:14]OFD Sender: No OFD packet to send [10:29:19]OFD Sender: No OFD packet to send [10:29:24]OFD Sender: No OFD packet to send [10:29:29]OFD Sender: No OFD packet to send [10:29:34]OFD Sender: No OFD packet to send [10:29:39]OFD Sender: No OFD packet to send [10:29:44]OFD Sender: No OFD packet to send [10:29:49]OFD Sender: No OFD packet to send [10:29:54]OFD Sender: No OFD packet to send [10:29:59]OFD Sender: No OFD packet to send [10:30:04]OFD Sender: No OFD packet to send [10:30:09]OFD Sender: No OFD packet to send [10:30:14]OFD Sender: No OFD packet to send [10:30:19]OFD Sender: No OFD packet to send [10:30:24]OFD Sender: No OFD packet to send [10:30:29]OFD Sender: No OFD packet to send [10:30:34]OFD Sender: No OFD packet to send [10:30:39]OFD Sender: No OFD packet to send [10:30:44]OFD Sender: No OFD packet to send [10:30:49]OFD Sender: No OFD packet to send [10:30:54]OFD Sender: No OFD packet to send [10:30:59]OFD Sender: No OFD packet to send [10:31:04]OFD Sender: No OFD packet to send [10:31:09]OFD Sender: No OFD packet to send [10:31:14]OFD Sender: No OFD packet to send [10:31:19]OFD Sender: No OFD packet to send [10:31:24]OFD Sender: No OFD packet to send [10:31:29]OFD Sender: No OFD packet to send [10:31:34]OFD Sender: No OFD packet to send [10:31:39]OFD Sender: No OFD packet to send [10:31:44]OFD Sender: No OFD packet to send [10:31:49]OFD Sender: No OFD packet to send [10:31:54]OFD Sender: No OFD packet to send [10:31:59]OFD Sender: No OFD packet to send [10:32:04]OFD Sender: No OFD packet to send [10:32:09]OFD Sender: No OFD packet to send [10:32:14]OFD Sender: No OFD packet to send [10:32:19]OFD Sender: No OFD packet to send [10:32:24]OFD Sender: No OFD packet to send [10:32:29]OFD Sender: No OFD packet to send [10:32:34]OFD Sender: No OFD packet to send [10:32:39]OFD Sender: No OFD packet to send [10:32:44]OFD Sender: No OFD packet to send [10:32:49]OFD Sender: No OFD packet to send [10:32:54]OFD Sender: No OFD packet to send [10:32:59]OFD Sender: No OFD packet to send [10:33:04]OFD Sender: No OFD packet to send [10:33:09]OFD Sender: No OFD packet to send [10:33:14]OFD Sender: No OFD packet to send [10:33:19]OFD Sender: No OFD packet to send [10:33:24]OFD Sender: No OFD packet to send [10:33:29]OFD Sender: No OFD packet to send [10:33:34]OFD Sender: No OFD packet to send [10:33:39]OFD Sender: No OFD packet to send [10:33:44]OFD Sender: No OFD packet to send [10:33:49]OFD Sender: No OFD packet to send [10:33:54]OFD Sender: No OFD packet to send [10:33:59]OFD Sender: No OFD packet to send [10:34:04]OFD Sender: No OFD packet to send [10:34:09]OFD Sender: No OFD packet to send [10:34:14]OFD Sender: No OFD packet to send [10:34:19]OFD Sender: No OFD packet to send [10:34:24]OFD Sender: No OFD packet to send [10:34:29]OFD Sender: No OFD packet to send [10:34:34]OFD Sender: No OFD packet to send [10:34:39]OFD Sender: No OFD packet to send [10:34:44]OFD Sender: No OFD packet to send [10:34:49]OFD Sender: No OFD packet to send [10:34:54]OFD Sender: No OFD packet to send [10:34:59]OFD Sender: No OFD packet to send [10:35:04]OFD Sender: No OFD packet to send [10:35:09]OFD Sender: No OFD packet to send [10:35:14]OFD Sender: No OFD packet to send [10:35:19]OFD Sender: No OFD packet to send [10:35:24]OFD Sender: No OFD packet to send [10:35:29]OFD Sender: No OFD packet to send [10:35:34]OFD Sender: No OFD packet to send [10:35:39]OFD Sender: No OFD packet to send [10:35:44]OFD Sender: No OFD packet to send [10:35:49]OFD Sender: No OFD packet to send [10:35:54]OFD Sender: No OFD packet to send [10:35:59]OFD Sender: No OFD packet to send [10:36:04]OFD Sender: No OFD packet to send [10:36:09]OFD Sender: No OFD packet to send [10:36:14]OFD Sender: No OFD packet to send [10:36:19]OFD Sender: No OFD packet to send [10:36:24]OFD Sender: No OFD packet to send [10:36:29]OFD Sender: No OFD packet to send [10:36:34]OFD Sender: No OFD packet to send [10:36:39]accept exits with 9 [10:36:39]New connection [10:36:39]New thread 3067063652 created [10:36:39]Thread 3067207012 joined [10:36:39]Waiting for new connection... [10:36:39] Sock 9.Parse request [10:36:39]Sock 9.Check first char [10:36:39]Sock 9.First char is OK [10:36:39]request: POST /json_proto HTTP/1.0 [10:36:39]Method: POST [10:36:39]URL: /json_proto [10:36:39]Method is POST - this is cgi request [10:36:39]url: /json_proto [10:36:39]query_string will be loaded in cgi processing [10:36:39]execute_cgi json_proto POST (null) [10:36:39]execute_cgi path=json_proto method=POST [10:36:39]POST find Content-Length [10:36:39]Host: 172.17.40.196:8080 [10:36:39]Content-Length: 980 [10:36:39]Content-Type: application/json [10:36:39] [10:36:39]POST finish read [10:36:39]Found Content-Length = 980 [10:36:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35233", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:36:39]execute_script... [10:36:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35233", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:36:39]POST & json_proto [10:36:39]process_json_proto [10:36:39]json parsed OK: [10:36:39]protocol is kg_v1.0 [10:36:39]action value=close_receipt [10:36:39]process_action close_receipt [10:36:39]cmd_close_receipt [10:36:39]MH_GetDate [10:36:39]Write to MH i2c: F0 00 00 55 0B 4F [10:36:39]Write i2c OK [10:36:39]MH_I2C_Read... [10:36:39]Read from MH i2c: F0 [10:36:39]MH_I2C_Read... [10:36:39]Read from MH i2c: F0 09 00 [10:36:39]MH_I2C_Read... [10:36:39]Read from MH i2c: F0 09 00 55 0B 00 3B 0C 22 67 5B 68 A1 66 F2 [10:36:39]OFD Sender: No OFD packet to send [10:36:39]GetLastDocTimeStamp 1730283429 [10:36:39]current date 1730284603 [10:36:39]FM_GetShiftState [10:36:39]SAM_PROTO_GetShiftState [10:36:39]wFMCommunicate request_size=4 [10:36:39]MH_SAM_APDU [10:36:39]CAPDU: 80 13 01 00 [10:36:39]Write to MH i2c: E2 08 00 56 0B 80 13 01 00 00 00 00 00 DE [10:36:39]Write i2c OK [10:36:39]MH_I2C_Read... [10:36:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:36:39]Read from MH i2c: E2 [10:36:39]MH_I2C_Read... [10:36:39]Read from MH i2c: E2 0E 00 [10:36:39]MH_I2C_Read... [10:36:39]Read from MH i2c: E2 0E 00 56 0B 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 9F [10:36:39]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [10:36:39]wFMCommunicate OK [10:36:39]SAM_PROTO_GetShiftState done [10:36:39]FM_GetShiftState done [10:36:39]opened in 1730246837 [10:36:39]opened+sec_in_day 1730333237 [10:36:39]quantity*price = 13000 [10:36:39]sum+1 = 13001 [10:36:39]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 42113164 Жев Orbit White Spearmint 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 175.00 НСП 1% : 1.55 НДС 12% : 18.58 Наличными: 0.00 Безнал.: 175.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 16 30.10.2024 10:36 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37934 ФПД: 129117587970030 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T103643&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37934&fm=129117587970030&tin=02508201610067®Number=0000000000091684&sum=17500 0 [10:36:40]StoreToDocumentArchive [10:36:40]shift 553 fd 37934 [10:36:40]save to /storage/0553/doc_00037934 [10:36:40]save last doc name /storage/0553/doc_00037934 to /storage/kkm_last_doc_name [10:36:40]save OK [10:36:40]Clear old archive folders... [10:36:40]ProcessDocumentItem done err = 0, tmpTLVsize=367 [10:36:40]tlvbuf is 01906820 [10:36:40]SAM_PROTO_ClearQueue [10:36:40]wFMCommunicate request_size=4 [10:36:40]MH_SAM_APDU [10:36:40]CAPDU: 80 09 00 00 [10:36:40]Write to MH i2c: E2 08 00 63 0B 80 09 00 00 00 00 00 00 E0 [10:36:40]Write i2c OK [10:36:40]MH_I2C_Read... [10:36:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:36:40]Read from MH i2c: E2 [10:36:40]MH_I2C_Read... [10:36:40]Read from MH i2c: E2 03 00 [10:36:40]MH_I2C_Read... [10:36:40]Read from MH i2c: E2 03 00 63 0B 00 90 00 E2 [10:36:40]RAPDU: 90 00 [10:36:40]wFMCommunicate OK [10:36:40]SAM_PROTO_ClearQueue done [10:36:40]KKMCreateOFDPacket [10:36:40]OFDProtocolAddRootSTLVToBuf [10:36:40]FM_MakeSignedData [10:36:40]FM_MakeSignedData [10:36:40]SAM_PROTO_SignData [10:36:40]wFMCommunicate request_size=4 [10:36:40]MH_SAM_APDU [10:36:40]CAPDU: 80 0D 01 02 [10:36:40]Write to MH i2c: E2 08 00 64 0B 80 0D 01 02 00 00 00 00 E8 [10:36:40]Write i2c OK [10:36:40]MH_I2C_Read... [10:36:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:36:41]Read from MH i2c: E2 [10:36:41]MH_I2C_Read... [10:36:41]Read from MH i2c: E2 03 00 [10:36:41]MH_I2C_Read... [10:36:41]Read from MH i2c: E2 03 00 64 0B 00 90 00 E3 [10:36:41]RAPDU: 90 00 [10:36:41]wFMCommunicate OK [10:36:41]wFMCommunicate request_size=255 [10:36:41]MH_SAM_APDU [10:36:41]CAPDU: 80 0D 02 02 FA 03 00 6F 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 [10:36:41]Write to MH i2c: E2 02 01 65 0B 80 0D 02 02 FA 00 03 00 6F 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 00 00 B0 [10:36:41]Write i2c OK [10:36:41]MH_I2C_Read... [10:36:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:36:41]Read from MH i2c: E2 [10:36:41]MH_I2C_Read... [10:36:41]Read from MH i2c: E2 03 00 [10:36:41]MH_I2C_Read... [10:36:41]Read from MH i2c: E2 03 00 65 0B 00 90 00 E4 [10:36:41]RAPDU: 90 00 [10:36:41]wFMCommunicate OK [10:36:41]wFMCommunicate request_size=126 [10:36:41]MH_SAM_APDU [10:36:41]CAPDU: 80 0D 02 02 79 06 00 42 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 44 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 3B 0C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2E 94 00 00 35 04 06 00 75 6E 87 F7 17 EE [10:36:41]Write to MH i2c: E2 81 00 66 0B 80 0D 02 02 79 00 06 00 42 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 44 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 3B 0C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2E 94 00 00 35 04 06 00 75 6E 87 F7 17 EE 00 00 39 [10:36:41]Write i2c OK [10:36:41]MH_I2C_Read... [10:36:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:36:41]Read from MH i2c: E2 [10:36:41]MH_I2C_Read... [10:36:41]Read from MH i2c: E2 03 00 [10:36:41]MH_I2C_Read... [10:36:41]Read from MH i2c: E2 03 00 66 0B 00 90 00 E5 [10:36:41]RAPDU: 90 00 [10:36:41]wFMCommunicate OK [10:36:41]wFMCommunicate request_size=4 [10:36:41]MH_SAM_APDU [10:36:41]CAPDU: 80 0D 03 02 [10:36:41]Write to MH i2c: E2 08 00 67 0B 80 0D 03 02 00 00 00 00 ED [10:36:41]Write i2c OK [10:36:41]MH_I2C_Read... [10:36:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:36:41]Read from MH i2c: E2 [10:36:41]MH_I2C_Read... [10:36:41]Read from MH i2c: E2 0B 00 [10:36:41]MH_I2C_Read... [10:36:41]Read from MH i2c: E2 0B 00 67 0B 00 0D C0 DC F1 5A 48 2C 04 90 00 5A [10:36:41]RAPDU: 0D C0 DC F1 5A 48 2C 04 90 00 [10:36:41]wFMCommunicate OK [10:36:41]SAM_PROTO_SignData done [10:36:41]FM_MakeSignedData done [10:36:41]CreateOFDProtocolMessage [10:36:41]wFMCommunicate request_size=4 [10:36:41]MH_SAM_APDU [10:36:41]CAPDU: 80 11 00 00 [10:36:41]Write to MH i2c: E2 08 00 68 0B 80 11 00 00 00 00 00 00 ED [10:36:41]Write i2c OK [10:36:41]MH_I2C_Read... [10:36:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:41]Read from MH i2c: E2 [10:36:41]MH_I2C_Read... [10:36:41]Read from MH i2c: E2 17 00 [10:36:41]MH_I2C_Read... [10:36:41]Read from MH i2c: E2 17 00 68 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3D [10:36:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:36:41]wFMCommunicate OK [10:36:41]CreateOFDProtocolMessage done [10:36:41]OFDSenderStorePacket 37934 [10:36:41]StoreOFDPacket docnum=37934 [10:36:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 83 01 00 00 1F F3 7B 01 44 E5 5A 03 01 00 03 00 6F 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 44 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 3B 0C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2E 94 00 00 35 04 06 00 75 6E 87 F7 17 EE 0D C0 DC F1 5A 48 2C 04 [10:36:41]CheckFolder [10:36:41]dirname=/storage/ofd_packets [10:36:41]CheckFolder done [10:36:41]ProducePacketName [10:36:41]name=ofd_packets/00037934 [10:36:41]NVStorageSaveData ofd_packets/00037934 [10:36:41]File name is /storage/ofd_packets/00037934 [10:36:41]Write 417 bytes [10:36:41]NVStorageSaveData done [10:36:41]OFDSenderStorePacket done [10:36:41]KKMCreateOFDPacket done [10:36:41]NVStorageSaveData kkm_last_timestamp [10:36:41]File name is /storage/kkm_last_timestamp [10:36:41]Write 4 bytes [10:36:41]NVStorageSaveData done [10:36:41]ExternCall_PrintAddStr [10:36:41]wPrintStart [10:36:41]Write to MH i2c: 01 00 00 69 0B 74 [10:36:41]Write i2c OK [10:36:41]MH_I2C_Read... [10:36:41]Read from MH i2c: 01 [10:36:41]MH_I2C_Read... [10:36:41]Read from MH i2c: 01 07 00 [10:36:41]MH_I2C_Read... [10:36:41]Read from MH i2c: 01 07 00 69 0B 00 00 00 00 00 FF 0F 89 [10:36:41]RasterBufferAndPrint [10:36:41]line Счет N : (3)35233 [10:36:41]line ИНН: 02508201610067 [10:36:41]line Контрольно-Кассовый Чек [10:36:41]line ПРОДАЖА [10:36:41]line Товар: 47011656 [10:36:41]line Водка Пшеничная 0,1л [10:36:41]line 2.000 * 65.00 [10:36:41]line = 130.00 [10:36:41]line НДС 12% НСП 1% [10:36:41]line > о реализуемом товаре [10:36:41]line Товар: 42113164 [10:36:41]line Жев Orbit White Spearmint [10:36:41]line 1.000 * 45.00 [10:36:41]line = 45.00 [10:36:41]line НДС 12% НСП 1% [10:36:41]line > о реализуемом товаре [10:36:41]line ИТОГО: 175.00 [10:36:41]line НСП 1% : 1.55 [10:36:41]line НДС 12% : 18.58 [10:36:41]line Наличными: 0.00 [10:36:41]line Безнал.: 175.00 [10:36:41]line Место: АЗС № 126 "Партнер Нефть" [10:36:41]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:36:41]line СНО: Общий режим [10:36:41]line Чек 16 30.10.2024 10:36 [10:36:41]line Смена: 553 ФФД: 1.0 [10:36:41]line ЗНМ: 0300000092 [10:36:41]line РНМ: 0000000000091684 [10:36:41]line Версия ККМ: 001 [10:36:41]line Платежная система: Mbank [10:36:41]line ФМ: 0000000000871841 [10:36:41]line ФД: 37934 [10:36:41]line ФПД: 129117587970030 [10:36:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T103643&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37934&fm=129117587970030&tin=02508201610067®Number=0000000000091684&sum=17500 [10:36:41]OFD Sender: Processing packet 37934 [packets to send 42, broken 41] [10:36:41]ProducePacketName [10:36:41]name=ofd_packets/00037934 [10:36:41]OFD Sender: To server: pG, [10:36:41]CommunicateWithHost lk.salyk.kg:30040 [10:36:41]ConnectInit lk.salyk.kg [10:36:41]line 0 [10:36:41]written 0, free lines is 4095 [10:36:42]Write to MH i2c: 01 00 00 98 0B A3 [10:36:42]Write i2c OK [10:36:42]MH_I2C_Read... [10:36:42]Read from MH i2c: 01 [10:36:42]MH_I2C_Read... [10:36:42]Read from MH i2c: 01 07 00 [10:36:42]MH_I2C_Read... [10:36:42]Read from MH i2c: 01 07 00 98 0B 00 00 00 00 00 57 0C 0D [10:36:42]RasterBufferAndPrint [10:36:42]line [10:36:42]line [10:36:42]line [10:36:42]line [10:36:42]line [10:36:42]written 0, free lines is 3164 [10:36:42]MH_Cut [10:36:42]Write to MH i2c: D1 01 00 9F 0B 01 7C [10:36:42]Write i2c OK [10:36:42]MH_I2C_Read... [10:36:42]Read from MH i2c: D1 [10:36:42]MH_I2C_Read... [10:36:42]Read from MH i2c: D1 01 00 [10:36:42]MH_I2C_Read... [10:36:42]Read from MH i2c: D1 01 00 9F 0B 00 7B [10:36:42]Write to MH i2c: 01 00 00 A0 0B AB [10:36:42]Write i2c OK [10:36:42]MH_I2C_Read... [10:36:43]*** Cut start [10:36:43]*** Partial cut [10:36:43]*** CUTSNS_PIN = 1 [10:36:43]*** CUTSNS_PIN = 0 [10:36:43]*** Brake cut motor [10:36:43]Read from MH i2c: 01 [10:36:43]MH_I2C_Read... [10:36:43]Read from MH i2c: 01 07 00 [10:36:43]MH_I2C_Read... [10:36:43]*** Stop cut motor [10:36:43]*** Cut end [10:36:43]Read from MH i2c: 01 07 00 A0 0B 00 00 00 00 00 FF 0F C0 [10:36:43]process_action close_receipt done [10:36:43]requested_data is exist [10:36:43]produce_requested_data [10:36:43]requested_item fm.sn is exist - process it [10:36:43]wFMCommunicate request_size=4 [10:36:43]MH_SAM_APDU [10:36:43]CAPDU: 80 11 00 00 [10:36:43]Write to MH i2c: E2 08 00 A1 0B 80 11 00 00 00 00 00 00 26 [10:36:43]Write i2c OK [10:36:43]MH_I2C_Read... [10:36:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:44]Read from MH i2c: E2 [10:36:44]MH_I2C_Read... [10:36:44]Read from MH i2c: E2 17 00 [10:36:44]MH_I2C_Read... [10:36:44]Read from MH i2c: E2 17 00 A1 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 76 [10:36:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:36:44]wFMCommunicate OK [10:36:44]requested_item fd.num is exist - process it [10:36:44]SAM_PROTO_GetFieldsCounters [10:36:44]wFMCommunicate request_size=4 [10:36:44]MH_SAM_APDU [10:36:44]CAPDU: 80 13 00 00 [10:36:44]Write to MH i2c: E2 08 00 A2 0B 80 13 00 00 00 00 00 00 29 [10:36:44]Write i2c OK [10:36:44]MH_I2C_Read... [10:36:44]Connected sock=11 [10:36:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 83 01 00 00 1F F3 7B 01 44 E5 5A 03 01 00 03 00 6F 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 44 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 3B 0C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2E 94 00 00 35 04 06 00 75 6E 87 F7 17 EE 0D C0 DC F1 5A 48 2C 04 [10:36:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:36:44]Read from MH i2c: E2 [10:36:44]MH_I2C_Read... [10:36:44]Read from MH i2c: E2 62 00 [10:36:44]MH_I2C_Read... [10:36:44]Read from MH i2c: E2 62 00 A2 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 2E 94 00 00 0E 04 04 00 29 02 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 67 [10:36:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 2E 94 00 00 0E 04 04 00 29 02 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 [10:36:44]wFMCommunicate OK [10:36:44]SAM_PROTO_GetFieldsCounters done [10:36:44]requested_item shift.num is exist - process it [10:36:44]requested_item shift.opened is exist - process it [10:36:44]req_shift_opened [10:36:44]FM_GetShiftState [10:36:44]SAM_PROTO_GetShiftState [10:36:44]wFMCommunicate request_size=4 [10:36:44]MH_SAM_APDU [10:36:44]CAPDU: 80 13 01 00 [10:36:44]Write to MH i2c: E2 08 00 A3 0B 80 13 01 00 00 00 00 00 2B [10:36:44]Write i2c OK [10:36:44]MH_I2C_Read... [10:36:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:36:44]Read from MH i2c: E2 [10:36:44]MH_I2C_Read... [10:36:44]Read from MH i2c: E2 0E 00 [10:36:44]MH_I2C_Read... [10:36:44]Read from MH i2c: E2 0E 00 A3 0B 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 EC [10:36:44]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [10:36:44]wFMCommunicate OK [10:36:44]SAM_PROTO_GetShiftState done [10:36:44]FM_GetShiftState done [10:36:44]req_shift_opened done [10:36:44]requested_item shift.open_date is exist - process it [10:36:44]req_shift_open_date [10:36:44]req_shift_open_date done [10:36:44]produce_requested_data done [10:36:44]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37934,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [10:36:44]process_action_free close_receipt [10:36:44]json_value_free [10:36:44]json_value_free done [10:36:44]process_json_proto returns [10:36:44]Send response to host [10:36:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37934,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [10:36:44]free response buf [10:36:44]execute_script done [10:36:44]execute_script returns [10:36:44]free content buf [10:36:44]Sock 9.Close socket [10:36:44]Sock 9.Thread stoped [10:36:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 22 7E 47 00 28 06 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2E 94 00 00 F4 03 04 00 2C B7 21 67 B6 04 01 00 00 63 1F D8 24 32 4A B2 8D [10:36:44]CommunicateWithHost err = 0 [10:36:44]CheckOFDResponse [10:36:44]1017 (14) - 77093643461234 [10:36:44]1041 (16) - 0000000000871841 [10:36:44]1040 (4) - 37934 [10:36:44]1012 (4) - 30.10.2024 04:33 [10:36:44]1206 (1) - 0 [10:36:44]OFD Sender: Remove packet 37934 [10:36:44]ProducePacketName [10:36:44]name=ofd_packets/00037934 [10:36:44]NVStorageDeleteData [10:36:45]OFD Sender: No OFD packet to send [10:36:50]OFD Sender: No OFD packet to send [10:36:55]OFD Sender: No OFD packet to send [10:37:00]OFD Sender: No OFD packet to send [10:37:05]OFD Sender: No OFD packet to send [10:37:10]OFD Sender: No OFD packet to send [10:37:15]OFD Sender: No OFD packet to send [10:37:20]OFD Sender: No OFD packet to send [10:37:25]OFD Sender: No OFD packet to send [10:37:30]OFD Sender: No OFD packet to send [10:37:35]OFD Sender: No OFD packet to send [10:37:40]OFD Sender: No OFD packet to send [10:37:45]OFD Sender: No OFD packet to send [10:37:50]OFD Sender: No OFD packet to send [10:37:55]OFD Sender: No OFD packet to send [10:38:00]OFD Sender: No OFD packet to send [10:38:05]OFD Sender: No OFD packet to send [10:38:10]OFD Sender: No OFD packet to send [10:38:15]OFD Sender: No OFD packet to send [10:38:20]OFD Sender: No OFD packet to send [10:38:25]OFD Sender: No OFD packet to send [10:38:30]OFD Sender: No OFD packet to send [10:38:35]OFD Sender: No OFD packet to send [10:38:40]OFD Sender: No OFD packet to send [10:38:45]OFD Sender: No OFD packet to send [10:38:50]OFD Sender: No OFD packet to send [10:38:55]OFD Sender: No OFD packet to send [10:39:00]OFD Sender: No OFD packet to send [10:39:05]OFD Sender: No OFD packet to send [10:39:10]OFD Sender: No OFD packet to send [10:39:15]OFD Sender: No OFD packet to send [10:39:20]OFD Sender: No OFD packet to send [10:39:25]OFD Sender: No OFD packet to send [10:39:30]OFD Sender: No OFD packet to send [10:39:35]OFD Sender: No OFD packet to send [10:39:40]OFD Sender: No OFD packet to send [10:39:45]OFD Sender: No OFD packet to send [10:39:50]OFD Sender: No OFD packet to send [10:39:55]OFD Sender: No OFD packet to send [10:40:00]OFD Sender: No OFD packet to send [10:40:05]OFD Sender: No OFD packet to send [10:40:10]OFD Sender: No OFD packet to send [10:40:15]OFD Sender: No OFD packet to send [10:40:20]OFD Sender: No OFD packet to send [10:40:25]OFD Sender: No OFD packet to send [10:40:30]OFD Sender: No OFD packet to send [10:40:35]OFD Sender: No OFD packet to send [10:40:40]OFD Sender: No OFD packet to send [10:40:45]OFD Sender: No OFD packet to send [10:40:50]OFD Sender: No OFD packet to send [10:40:55]OFD Sender: No OFD packet to send [10:41:00]OFD Sender: No OFD packet to send [10:41:05]OFD Sender: No OFD packet to send [10:41:10]OFD Sender: No OFD packet to send [10:41:15]OFD Sender: No OFD packet to send [10:41:20]OFD Sender: No OFD packet to send [10:41:25]OFD Sender: No OFD packet to send [10:41:30]OFD Sender: No OFD packet to send [10:41:35]OFD Sender: No OFD packet to send [10:41:40]OFD Sender: No OFD packet to send [10:41:45]OFD Sender: No OFD packet to send [10:41:50]OFD Sender: No OFD packet to send [10:41:55]OFD Sender: No OFD packet to send [10:42:00]OFD Sender: No OFD packet to send [10:42:05]OFD Sender: No OFD packet to send [10:42:10]OFD Sender: No OFD packet to send [10:42:15]OFD Sender: No OFD packet to send [10:42:20]OFD Sender: No OFD packet to send [10:42:25]OFD Sender: No OFD packet to send [10:42:30]OFD Sender: No OFD packet to send [10:42:35]OFD Sender: No OFD packet to send [10:42:40]OFD Sender: No OFD packet to send [10:42:45]OFD Sender: No OFD packet to send [10:42:50]OFD Sender: No OFD packet to send [10:42:55]OFD Sender: No OFD packet to send [10:43:00]OFD Sender: No OFD packet to send [10:43:05]OFD Sender: No OFD packet to send [10:43:10]OFD Sender: No OFD packet to send [10:43:15]OFD Sender: No OFD packet to send [10:43:20]OFD Sender: No OFD packet to send [10:43:25]OFD Sender: No OFD packet to send [10:43:30]OFD Sender: No OFD packet to send [10:43:35]OFD Sender: No OFD packet to send [10:43:40]OFD Sender: No OFD packet to send [10:43:45]OFD Sender: No OFD packet to send [10:43:50]OFD Sender: No OFD packet to send [10:43:55]OFD Sender: No OFD packet to send [10:44:00]OFD Sender: No OFD packet to send [10:44:05]OFD Sender: No OFD packet to send [10:44:10]OFD Sender: No OFD packet to send [10:44:15]OFD Sender: No OFD packet to send [10:44:20]OFD Sender: No OFD packet to send [10:44:25]OFD Sender: No OFD packet to send [10:44:30]OFD Sender: No OFD packet to send [10:44:35]OFD Sender: No OFD packet to send [10:44:40]OFD Sender: No OFD packet to send [10:44:45]OFD Sender: No OFD packet to send [10:44:50]OFD Sender: No OFD packet to send [10:44:55]OFD Sender: No OFD packet to send [10:45:00]OFD Sender: No OFD packet to send [10:45:05]OFD Sender: No OFD packet to send [10:45:10]OFD Sender: No OFD packet to send [10:45:15]OFD Sender: No OFD packet to send [10:45:20]OFD Sender: No OFD packet to send [10:45:25]OFD Sender: No OFD packet to send [10:45:30]OFD Sender: No OFD packet to send [10:45:35]OFD Sender: No OFD packet to send [10:45:40]OFD Sender: No OFD packet to send [10:45:45]OFD Sender: No OFD packet to send [10:45:50]OFD Sender: No OFD packet to send [10:45:55]OFD Sender: No OFD packet to send [10:46:00]OFD Sender: No OFD packet to send [10:46:05]OFD Sender: No OFD packet to send [10:46:10]OFD Sender: No OFD packet to send [10:46:15]OFD Sender: No OFD packet to send [10:46:20]OFD Sender: No OFD packet to send [10:46:25]OFD Sender: No OFD packet to send [10:46:30]OFD Sender: No OFD packet to send [10:46:35]OFD Sender: No OFD packet to send [10:46:40]OFD Sender: No OFD packet to send [10:46:44]accept exits with 7 [10:46:44]New connection [10:46:44]New thread 3067207012 created [10:46:44]Thread 3067063652 joined [10:46:44]Waiting for new connection... [10:46:44] Sock 7.Parse request [10:46:44]Sock 7.Check first char [10:46:44]Sock 7.First char is OK [10:46:44]request: POST /json_proto HTTP/1.0 [10:46:44]Method: POST [10:46:44]URL: /json_proto [10:46:44]Method is POST - this is cgi request [10:46:44]url: /json_proto [10:46:44]query_string will be loaded in cgi processing [10:46:44]execute_cgi json_proto POST (null) [10:46:44]execute_cgi path=json_proto method=POST [10:46:44]POST find Content-Length [10:46:44]Host: 172.17.40.196:8080 [10:46:44]Content-Length: 1130 [10:46:44]Content-Type: application/json [10:46:44] [10:46:44]POST finish read [10:46:44]Found Content-Length = 1130 [10:46:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35234", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522671", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 1,20 \u041F\u042D", "price" : 104.00, "quantity" : 1.000, "sum" : 104.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" : 243.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:46:44]execute_script... [10:46: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)35234", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522671", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 1,20 \u041F\u042D", "price" : 104.00, "quantity" : 1.000, "sum" : 104.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" : 243.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:46:44]POST & json_proto [10:46:44]process_json_proto [10:46:44]json parsed OK: [10:46:44]protocol is kg_v1.0 [10:46:44]action value=close_receipt [10:46:44]process_action close_receipt [10:46:44]cmd_close_receipt [10:46:44]MH_GetDate [10:46:44]Write to MH i2c: F0 00 00 A4 0B 9E [10:46:44]Write i2c OK [10:46:44]MH_I2C_Read... [10:46:44]Read from MH i2c: F0 [10:46:44]MH_I2C_Read... [10:46:44]Read from MH i2c: F0 09 00 [10:46:44]MH_I2C_Read... [10:46:44]Read from MH i2c: F0 09 00 A4 0B 00 98 0E 22 67 5B 68 A1 66 A0 [10:46:44]GetLastDocTimeStamp 1730284603 [10:46:44]current date 1730285208 [10:46:44]FM_GetShiftState [10:46:44]SAM_PROTO_GetShiftState [10:46:44]wFMCommunicate request_size=4 [10:46:44]MH_SAM_APDU [10:46:44]CAPDU: 80 13 01 00 [10:46:44]Write to MH i2c: E2 08 00 A5 0B 80 13 01 00 00 00 00 00 2D [10:46:44]Write i2c OK [10:46:44]MH_I2C_Read... [10:46:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:46:44]Read from MH i2c: E2 [10:46:44]MH_I2C_Read... [10:46:44]Read from MH i2c: E2 0E 00 [10:46:44]MH_I2C_Read... [10:46:44]Read from MH i2c: E2 0E 00 A5 0B 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 EE [10:46:44]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [10:46:44]wFMCommunicate OK [10:46:44]SAM_PROTO_GetShiftState done [10:46:44]FM_GetShiftState done [10:46:44]opened in 1730246837 [10:46:44]opened+sec_in_day 1730333237 [10:46:44]quantity*price = 13900 [10:46:44]sum+1 = 13901 [10:46:44]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202522671 Garden напиток со вкусом граната 1,20 ПЭ 1.000 * 104.00 = 104.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 243.00 НСП 1% : 2.15 НДС 12% : 25.80 Наличными: 0.00 Безнал.: 243.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 17 30.10.2024 10:46 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000871841 ФД: 37935 ФПД: 244161527780583 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T104648&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37935&fm=244161527780583&tin=02508201610067®Number=0000000000091684&sum=24300 0 [10:46:45]StoreToDocumentArchive [10:46:45]shift 553 fd 37935 [10:46:45]save to /storage/0553/doc_00037935 [10:46:45]save last doc name /storage/0553/doc_00037935 to /storage/kkm_last_doc_name [10:46:45]save OK [10:46:45]Clear old archive folders... [10:46:45]ProcessDocumentItem done err = 0, tmpTLVsize=408 [10:46:45]tlvbuf is 019B5E90 [10:46:45]SAM_PROTO_ClearQueue [10:46:45]wFMCommunicate request_size=4 [10:46:45]MH_SAM_APDU [10:46:45]CAPDU: 80 09 00 00 [10:46:45]Write to MH i2c: E2 08 00 B2 0B 80 09 00 00 00 00 00 00 2F [10:46:45]Write i2c OK [10:46:45]MH_I2C_Read... [10:46:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:46:45]Read from MH i2c: E2 [10:46:45]MH_I2C_Read... [10:46:45]Read from MH i2c: E2 03 00 [10:46:45]MH_I2C_Read... [10:46:45]Read from MH i2c: E2 03 00 B2 0B 00 90 00 31 [10:46:45]RAPDU: 90 00 [10:46:45]wFMCommunicate OK [10:46:45]SAM_PROTO_ClearQueue done [10:46:45]KKMCreateOFDPacket [10:46:45]OFDProtocolAddRootSTLVToBuf [10:46:45]FM_MakeSignedData [10:46:45]FM_MakeSignedData [10:46:45]SAM_PROTO_SignData [10:46:45]wFMCommunicate request_size=4 [10:46:45]MH_SAM_APDU [10:46:45]CAPDU: 80 0D 01 02 [10:46:45]Write to MH i2c: E2 08 00 B3 0B 80 0D 01 02 00 00 00 00 37 [10:46:45]Write i2c OK [10:46:45]MH_I2C_Read... [10:46:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:46:45]Read from MH i2c: E2 [10:46:45]MH_I2C_Read... [10:46:45]Read from MH i2c: E2 03 00 [10:46:45]MH_I2C_Read... [10:46:45]Read from MH i2c: E2 03 00 B3 0B 00 90 00 32 [10:46:45]RAPDU: 90 00 [10:46:45]wFMCommunicate OK [10:46:45]wFMCommunicate request_size=255 [10:46:45]MH_SAM_APDU [10:46:45]CAPDU: 80 0D 02 02 FA 03 00 98 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 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 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 37 31 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 31 2C 32 30 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 [10:46:45]Write to MH i2c: E2 02 01 B4 0B 80 0D 02 02 FA 00 03 00 98 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 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 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 37 31 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 31 2C 32 30 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 55 [10:46:45]Write i2c OK [10:46:45]MH_I2C_Read... [10:46:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:46:46]Read from MH i2c: E2 [10:46:46]MH_I2C_Read... [10:46:46]Read from MH i2c: E2 03 00 [10:46:46]MH_I2C_Read... [10:46:46]Read from MH i2c: E2 03 00 B4 0B 00 90 00 33 [10:46:46]RAPDU: 90 00 [10:46:46]wFMCommunicate OK [10:46:46]wFMCommunicate request_size=167 [10:46:46]MH_SAM_APDU [10:46:46]CAPDU: 80 0D 02 02 A2 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 5E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 98 0E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2F 94 00 00 35 04 06 00 DE 10 49 21 94 E7 [10:46:46]Write to MH i2c: E2 AA 00 B5 0B 80 0D 02 02 A2 00 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 5E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 98 0E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2F 94 00 00 35 04 06 00 DE 10 49 21 94 E7 00 00 45 [10:46:46]Write i2c OK [10:46:46]MH_I2C_Read... [10:46:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:46:46]Read from MH i2c: E2 [10:46:46]MH_I2C_Read... [10:46:46]Read from MH i2c: E2 03 00 [10:46:46]MH_I2C_Read... [10:46:46]Read from MH i2c: E2 03 00 B5 0B 00 90 00 34 [10:46:46]RAPDU: 90 00 [10:46:46]wFMCommunicate OK [10:46:46]wFMCommunicate request_size=4 [10:46:46]MH_SAM_APDU [10:46:46]CAPDU: 80 0D 03 02 [10:46:46]Write to MH i2c: E2 08 00 B6 0B 80 0D 03 02 00 00 00 00 3C [10:46:46]Write i2c OK [10:46:46]MH_I2C_Read... [10:46:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:46:46]Read from MH i2c: E2 [10:46:46]MH_I2C_Read... [10:46:46]Read from MH i2c: E2 0B 00 [10:46:46]MH_I2C_Read... [10:46:46]Read from MH i2c: E2 0B 00 B6 0B 00 94 3F 84 3D 77 D0 65 22 90 00 9F [10:46:46]RAPDU: 94 3F 84 3D 77 D0 65 22 90 00 [10:46:46]wFMCommunicate OK [10:46:46]SAM_PROTO_SignData done [10:46:46]FM_MakeSignedData done [10:46:46]CreateOFDProtocolMessage [10:46:46]wFMCommunicate request_size=4 [10:46:46]MH_SAM_APDU [10:46:46]CAPDU: 80 11 00 00 [10:46:46]Write to MH i2c: E2 08 00 B7 0B 80 11 00 00 00 00 00 00 3C [10:46:46]Write i2c OK [10:46:46]MH_I2C_Read... [10:46:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:46:46]Read from MH i2c: E2 [10:46:46]MH_I2C_Read... [10:46:46]Read from MH i2c: E2 17 00 [10:46:46]MH_I2C_Read... [10:46:46]Read from MH i2c: E2 17 00 B7 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8C [10:46:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:46:46]wFMCommunicate OK [10:46:46]CreateOFDProtocolMessage done [10:46:46]OFDSenderStorePacket 37935 [10:46:46]StoreOFDPacket docnum=37935 [10:46:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 AC 01 00 00 43 9E A4 01 F9 33 5A 03 01 00 03 00 98 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 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 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 37 31 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 31 2C 32 30 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 5E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 98 0E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2F 94 00 00 35 04 06 00 DE 10 49 21 94 E7 94 3F 84 3D 77 D0 65 22 [10:46:46]CheckFolder [10:46:46]dirname=/storage/ofd_packets [10:46:46]CheckFolder done [10:46:46]ProducePacketName [10:46:46]name=ofd_packets/00037935 [10:46:46]NVStorageSaveData ofd_packets/00037935 [10:46:46]File name is /storage/ofd_packets/00037935 [10:46:46]Write 458 bytes [10:46:46]NVStorageSaveData done [10:46:46]OFDSenderStorePacket done [10:46:46]KKMCreateOFDPacket done [10:46:46]NVStorageSaveData kkm_last_timestamp [10:46:46]File name is /storage/kkm_last_timestamp [10:46:46]Write 4 bytes [10:46:46]NVStorageSaveData done [10:46:46]ExternCall_PrintAddStr [10:46:46]wPrintStart [10:46:46]Write to MH i2c: 01 00 00 B8 0B C3 [10:46:46]OFD Sender: Processing packet 37935 [packets to send 42, broken 41] [10:46:46]ProducePacketName [10:46:46]name=ofd_packets/00037935 [10:46:46]OFD Sender: To server: pG, [10:46:46]CommunicateWithHost lk.salyk.kg:30040 [10:46:46]ConnectInit lk.salyk.kg [10:46:46]Write i2c OK [10:46:46]MH_I2C_Read... [10:46:46]Read from MH i2c: 01 [10:46:46]MH_I2C_Read... [10:46:46]Read from MH i2c: 01 07 00 [10:46:46]MH_I2C_Read... [10:46:46]Read from MH i2c: 01 07 00 B8 0B 00 00 00 00 00 FF 0F D8 [10:46:46]RasterBufferAndPrint [10:46:46]line Счет N : (3)35234 [10:46:46]line ИНН: 02508201610067 [10:46:46]line Контрольно-Кассовый Чек [10:46:46]line ПРОДАЖА [10:46:46]line Товар: 48745000 [10:46:46]line Сигареты Winston Purple Mix [10:46:46]line 1.000 * 139.00 [10:46:46]line = 139.00 [10:46:46]line НДС 12% НСП 1% [10:46:46]line > о реализуемом товаре [10:46:46]line Товар: 4870202522671 [10:46:46]line Garden напиток со вкусом граната 1,20 ПЭ [10:46:46]line 1.000 * 104.00 [10:46:46]line = 104.00 [10:46:46]line НДС 12% НСП 1% [10:46:46]line > о реализуемом товаре [10:46:46]line ИТОГО: 243.00 [10:46:46]line НСП 1% : 2.15 [10:46:46]line НДС 12% : 25.80 [10:46:46]line Наличными: 0.00 [10:46:46]line Безнал.: 243.00 [10:46:46]line Место: АЗС № 126 "Партнер Нефть" [10:46:46]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:46:46]line СНО: Общий режим [10:46:46]line Чек 17 30.10.2024 10:46 [10:46:46]line Смена: 553 ФФД: 1.0 [10:46:46]line ЗНМ: 0300000092 [10:46:46]line РНМ: 0000000000091684 [10:46:46]line Версия ККМ: 001 [10:46:46]line Платежная система: Бакай Банк [10:46:46]line ФМ: 0000000000871841 [10:46:46]line ФД: 37935 [10:46:46]line ФПД: 244161527780583 [10:46:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T104648&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37935&fm=244161527780583&tin=02508201610067®Number=0000000000091684&sum=24300 [10:46:46]line 0 [10:46:46]written 0, free lines is 4095 [10:46:47]Write to MH i2c: 01 00 00 E9 0B F4 [10:46:47]Write i2c OK [10:46:47]MH_I2C_Read... [10:46:47]Read from MH i2c: 01 [10:46:47]MH_I2C_Read... [10:46:47]Read from MH i2c: 01 07 00 [10:46:47]MH_I2C_Read... [10:46:47]Read from MH i2c: 01 07 00 E9 0B 00 00 00 00 00 18 0C 1F [10:46:47]RasterBufferAndPrint [10:46:47]line [10:46:47]line [10:46:47]line [10:46:47]line [10:46:47]line [10:46:47]written 0, free lines is 3102 [10:46:47]MH_Cut [10:46:47]Write to MH i2c: D1 01 00 F0 0B 01 CD [10:46:47]Write i2c OK [10:46:47]MH_I2C_Read... [10:46:47]Read from MH i2c: D1 [10:46:47]MH_I2C_Read... [10:46:47]Read from MH i2c: D1 01 00 [10:46:47]MH_I2C_Read... [10:46:47]Read from MH i2c: D1 01 00 F0 0B 00 CC [10:46:47]Write to MH i2c: 01 00 00 F1 0B FC [10:46:47]Write i2c OK [10:46:47]MH_I2C_Read... [10:46:48]*** Cut start [10:46:48]*** Partial cut [10:46:48]*** CUTSNS_PIN = 1 [10:46:48]*** CUTSNS_PIN = 0 [10:46:48]*** Brake cut motor [10:46:48]Read from MH i2c: 01 [10:46:49]MH_I2C_Read... [10:46:49]*** Stop cut motor [10:46:49]*** Cut end [10:46:49]Read from MH i2c: 01 07 00 [10:46:49]MH_I2C_Read... [10:46:49]Read from MH i2c: 01 07 00 F1 0B 00 00 00 00 00 FF 0F 11 [10:46:49]process_action close_receipt done [10:46:49]requested_data is exist [10:46:49]produce_requested_data [10:46:49]requested_item fm.sn is exist - process it [10:46:49]wFMCommunicate request_size=4 [10:46:49]MH_SAM_APDU [10:46:49]CAPDU: 80 11 00 00 [10:46:49]Write to MH i2c: E2 08 00 F2 0B 80 11 00 00 00 00 00 00 77 [10:46:49]Write i2c OK [10:46:49]MH_I2C_Read... [10:46:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:46:49]Read from MH i2c: E2 [10:46:49]MH_I2C_Read... [10:46:49]Read from MH i2c: E2 17 00 [10:46:49]MH_I2C_Read... [10:46:49]Read from MH i2c: E2 17 00 F2 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C7 [10:46:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:46:49]wFMCommunicate OK [10:46:49]requested_item fd.num is exist - process it [10:46:49]SAM_PROTO_GetFieldsCounters [10:46:49]wFMCommunicate request_size=4 [10:46:49]MH_SAM_APDU [10:46:49]CAPDU: 80 13 00 00 [10:46:49]Write to MH i2c: E2 08 00 F3 0B 80 13 00 00 00 00 00 00 7A [10:46:49]Write i2c OK [10:46:49]MH_I2C_Read... [10:46:49]Connected sock=11 [10:46:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 AC 01 00 00 43 9E A4 01 F9 33 5A 03 01 00 03 00 98 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 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 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 37 31 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 31 2C 32 30 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 5E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 98 0E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 2F 94 00 00 35 04 06 00 DE 10 49 21 94 E7 94 3F 84 3D 77 D0 65 22 [10:46:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:46:49]Read from MH i2c: E2 [10:46:49]MH_I2C_Read... [10:46:49]Read from MH i2c: E2 62 00 [10:46:49]MH_I2C_Read... [10:46:49]Read from MH i2c: E2 62 00 F3 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 2F 94 00 00 0E 04 04 00 29 02 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 BC [10:46:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 2F 94 00 00 0E 04 04 00 29 02 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:46:49]wFMCommunicate OK [10:46:49]SAM_PROTO_GetFieldsCounters done [10:46:49]requested_item shift.num is exist - process it [10:46:49]requested_item shift.opened is exist - process it [10:46:49]req_shift_opened [10:46:49]FM_GetShiftState [10:46:49]SAM_PROTO_GetShiftState [10:46:49]wFMCommunicate request_size=4 [10:46:49]MH_SAM_APDU [10:46:49]CAPDU: 80 13 01 00 [10:46:49]Write to MH i2c: E2 08 00 F4 0B 80 13 01 00 00 00 00 00 7C [10:46:49]Write i2c OK [10:46:49]MH_I2C_Read... [10:46:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:46:49]Read from MH i2c: E2 [10:46:49]MH_I2C_Read... [10:46:49]Read from MH i2c: E2 0E 00 [10:46:49]MH_I2C_Read... [10:46:49]Read from MH i2c: E2 0E 00 F4 0B 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 3D [10:46:49]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [10:46:49]wFMCommunicate OK [10:46:49]SAM_PROTO_GetShiftState done [10:46:49]FM_GetShiftState done [10:46:49]req_shift_opened done [10:46:49]requested_item shift.open_date is exist - process it [10:46:49]req_shift_open_date [10:46:49]req_shift_open_date done [10:46:49]produce_requested_data done [10:46:49]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37935,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [10:46:49]process_action_free close_receipt [10:46:49]json_value_free [10:46:49]json_value_free done [10:46:49]process_json_proto returns [10:46:49]Send response to host [10:46:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37935,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [10:46:49]free response buf [10:46:49]execute_script done [10:46:49]execute_script returns [10:46:49]free content buf [10:46:49]Sock 7.Close socket [10:46:49]Sock 7.Thread stoped [10:46:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 07 DA 47 00 4A 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 38 37 31 38 34 31 10 04 04 00 2F 94 00 00 F4 03 04 00 89 B9 21 67 B6 04 01 00 00 BD CE CF D5 CF 38 6B 80 [10:46:49]CommunicateWithHost err = 0 [10:46:49]CheckOFDResponse [10:46:49]1017 (14) - 77093643461234 [10:46:49]1041 (16) - 0000000000871841 [10:46:49]1040 (4) - 37935 [10:46:49]1012 (4) - 30.10.2024 04:43 [10:46:49]1206 (1) - 0 [10:46:49]OFD Sender: Remove packet 37935 [10:46:49]ProducePacketName [10:46:49]name=ofd_packets/00037935 [10:46:49]NVStorageDeleteData [10:46:50]OFD Sender: No OFD packet to send [10:46:55]OFD Sender: No OFD packet to send [10:47:00]OFD Sender: No OFD packet to send [10:47:05]OFD Sender: No OFD packet to send [10:47:10]OFD Sender: No OFD packet to send [10:47:15]OFD Sender: No OFD packet to send [10:47:20]OFD Sender: No OFD packet to send [10:47:25]OFD Sender: No OFD packet to send [10:47:30]OFD Sender: No OFD packet to send [10:47:35]OFD Sender: No OFD packet to send [10:47:40]OFD Sender: No OFD packet to send [10:47:45]OFD Sender: No OFD packet to send [10:47:50]OFD Sender: No OFD packet to send [10:47:55]OFD Sender: No OFD packet to send [10:48:00]OFD Sender: No OFD packet to send [10:48:05]OFD Sender: No OFD packet to send [10:48:10]OFD Sender: No OFD packet to send [10:48:15]OFD Sender: No OFD packet to send [10:48:20]OFD Sender: No OFD packet to send [10:48:25]OFD Sender: No OFD packet to send [10:48:30]OFD Sender: No OFD packet to send [10:48:35]OFD Sender: No OFD packet to send [10:48:40]OFD Sender: No OFD packet to send [10:48:45]OFD Sender: No OFD packet to send [10:48:50]OFD Sender: No OFD packet to send [10:48:55]OFD Sender: No OFD packet to send [10:49:00]OFD Sender: No OFD packet to send [10:49:05]OFD Sender: No OFD packet to send [10:49:10]OFD Sender: No OFD packet to send [10:49:15]OFD Sender: No OFD packet to send [10:49:20]OFD Sender: No OFD packet to send [10:49:25]OFD Sender: No OFD packet to send [10:49:30]OFD Sender: No OFD packet to send [10:49:35]OFD Sender: No OFD packet to send [10:49:40]OFD Sender: No OFD packet to send [10:49:45]OFD Sender: No OFD packet to send [10:49:50]OFD Sender: No OFD packet to send [10:49:55]OFD Sender: No OFD packet to send [10:50:00]OFD Sender: No OFD packet to send [10:50:05]OFD Sender: No OFD packet to send [10:50:10]OFD Sender: No OFD packet to send [10:50:15]OFD Sender: No OFD packet to send [10:50:20]OFD Sender: No OFD packet to send [10:50:25]OFD Sender: No OFD packet to send [10:50:30]OFD Sender: No OFD packet to send [10:50:35]OFD Sender: No OFD packet to send [10:50:40]OFD Sender: No OFD packet to send [10:50:45]OFD Sender: No OFD packet to send [10:50:50]OFD Sender: No OFD packet to send [10:50:55]OFD Sender: No OFD packet to send [10:51:00]OFD Sender: No OFD packet to send [10:51:05]OFD Sender: No OFD packet to send [10:51:10]OFD Sender: No OFD packet to send [10:51:15]OFD Sender: No OFD packet to send [10:51:20]OFD Sender: No OFD packet to send [10:51:25]OFD Sender: No OFD packet to send [10:51:30]OFD Sender: No OFD packet to send [10:51:35]OFD Sender: No OFD packet to send [10:51:40]OFD Sender: No OFD packet to send [10:51:45]OFD Sender: No OFD packet to send [10:51:50]OFD Sender: No OFD packet to send [10:51:55]OFD Sender: No OFD packet to send [10:52:00]OFD Sender: No OFD packet to send [10:52:00]accept exits with 9 [10:52:00]New connection [10:52:00]New thread 3067063652 created [10:52:00]Thread 3067207012 joined [10:52:00]Waiting for new connection... [10:52:00] Sock 9.Parse request [10:52:00]Sock 9.Check first char [10:52:00]Sock 9.First char is OK [10:52:00]request: POST /json_proto HTTP/1.0 [10:52:00]Method: POST [10:52:00]URL: /json_proto [10:52:00]Method is POST - this is cgi request [10:52:00]url: /json_proto [10:52:00]query_string will be loaded in cgi processing [10:52:00]execute_cgi json_proto POST (null) [10:52:00]execute_cgi path=json_proto method=POST [10:52:00]POST find Content-Length [10:52:00]Host: 172.17.40.196:8080 [10:52:00]Content-Length: 1206 [10:52:00]Content-Type: application/json [10:52:00] [10:52:00]POST finish read [10:52:00]Found Content-Length = 1206 [10:52:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35235", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 2.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159381178", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 \u0422\u0440\u0438\u043E 82,5\u0433", "price" : 89.00, "quantity" : 2.000, "sum" : 178.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4006396053848", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B CHAPMAN RED SSL", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 628.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:52:00]execute_script... [10:52:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35235", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 2.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159381178", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 \u0422\u0440\u0438\u043E 82,5\u0433", "price" : 89.00, "quantity" : 2.000, "sum" : 178.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4006396053848", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B CHAPMAN RED SSL", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 628.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:52:00]POST & json_proto [10:52:00]process_json_proto [10:52:00]json parsed OK: [10:52:00]protocol is kg_v1.0 [10:52:00]action value=close_receipt [10:52:00]process_action close_receipt [10:52:00]cmd_close_receipt [10:52:00]MH_GetDate [10:52:00]Write to MH i2c: F0 00 00 F5 0B EF [10:52:00]Write i2c OK [10:52:00]MH_I2C_Read... [10:52:00]Read from MH i2c: F0 [10:52:00]MH_I2C_Read... [10:52:00]Read from MH i2c: F0 09 00 [10:52:00]MH_I2C_Read... [10:52:00]Read from MH i2c: F0 09 00 F5 0B 00 D4 0F 22 67 5B 68 A1 66 2E [10:52:00]GetLastDocTimeStamp 1730285208 [10:52:00]current date 1730285524 [10:52:00]FM_GetShiftState [10:52:00]SAM_PROTO_GetShiftState [10:52:00]wFMCommunicate request_size=4 [10:52:00]MH_SAM_APDU [10:52:00]CAPDU: 80 13 01 00 [10:52:00]Write to MH i2c: E2 08 00 F6 0B 80 13 01 00 00 00 00 00 7E [10:52:00]Write i2c OK [10:52:00]MH_I2C_Read... [10:52:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:52:00]Read from MH i2c: E2 [10:52:00]MH_I2C_Read... [10:52:00]Read from MH i2c: E2 0E 00 [10:52:00]MH_I2C_Read... [10:52:00]Read from MH i2c: E2 0E 00 F6 0B 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 3F [10:52:00]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [10:52:00]wFMCommunicate OK [10:52:00]SAM_PROTO_GetShiftState done [10:52:00]FM_GetShiftState done [10:52:00]opened in 1730246837 [10:52:00]opened+sec_in_day 1730333237 [10:52:00]quantity*price = 24000 [10:52:00]sum+1 = 24001 [10:52:00]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5000159381178 Шок Батончик Баунти Трио 82,5г 2.000 * 89.00 = 178.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4006396053848 Сигареты CHAPMAN RED SSL 1.000 * 210.00 = 210.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 628.00 НСП 1% : 5.55 НДС 12% : 66.69 Наличными: 628.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 18 30.10.2024 10:52 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37936 ФПД: 67841475230915 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T105205&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37936&fm=67841475230915&tin=02508201610067®Number=0000000000091684&sum=62800 0 [10:52:02]StoreToDocumentArchive [10:52:02]shift 553 fd 37936 [10:52:02]save to /storage/0553/doc_00037936 [10:52:02]save last doc name /storage/0553/doc_00037936 to /storage/kkm_last_doc_name [10:52:02]save OK [10:52:02]Clear old archive folders... [10:52:02]ProcessDocumentItem done err = 0, tmpTLVsize=512 [10:52:02]tlvbuf is 01933480 [10:52:02]SAM_PROTO_ClearQueue [10:52:02]wFMCommunicate request_size=4 [10:52:02]MH_SAM_APDU [10:52:02]CAPDU: 80 09 00 00 [10:52:02]Write to MH i2c: E2 08 00 03 0C 80 09 00 00 00 00 00 00 81 [10:52:02]Write i2c OK [10:52:02]MH_I2C_Read... [10:52:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:52:02]Read from MH i2c: E2 [10:52:02]MH_I2C_Read... [10:52:02]Read from MH i2c: E2 03 00 [10:52:02]MH_I2C_Read... [10:52:02]Read from MH i2c: E2 03 00 03 0C 00 90 00 83 [10:52:02]RAPDU: 90 00 [10:52:02]wFMCommunicate OK [10:52:02]SAM_PROTO_ClearQueue done [10:52:02]KKMCreateOFDPacket [10:52:02]OFDProtocolAddRootSTLVToBuf [10:52:02]FM_MakeSignedData [10:52:02]FM_MakeSignedData [10:52:02]SAM_PROTO_SignData [10:52:02]wFMCommunicate request_size=4 [10:52:02]MH_SAM_APDU [10:52:02]CAPDU: 80 0D 01 02 [10:52:02]Write to MH i2c: E2 08 00 04 0C 80 0D 01 02 00 00 00 00 89 [10:52:02]Write i2c OK [10:52:02]MH_I2C_Read... [10:52:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:52:02]Read from MH i2c: E2 [10:52:02]MH_I2C_Read... [10:52:02]Read from MH i2c: E2 03 00 [10:52:02]MH_I2C_Read... [10:52:02]Read from MH i2c: E2 03 00 04 0C 00 90 00 84 [10:52:02]RAPDU: 90 00 [10:52:02]wFMCommunicate OK [10:52:02]wFMCommunicate request_size=255 [10:52:02]MH_SAM_APDU [10:52:02]CAPDU: 80 0D 02 02 FA 03 00 00 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 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 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 [10:52:02]Write to MH i2c: E2 02 01 05 0C 80 0D 02 02 FA 00 03 00 00 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 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 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 00 EF [10:52:02]Write i2c OK [10:52:02]MH_I2C_Read... [10:52:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:52:02]Read from MH i2c: E2 [10:52:02]MH_I2C_Read... [10:52:02]Read from MH i2c: E2 03 00 [10:52:02]MH_I2C_Read... [10:52:02]Read from MH i2c: E2 03 00 05 0C 00 90 00 85 [10:52:02]RAPDU: 90 00 [10:52:02]wFMCommunicate OK [10:52:02]wFMCommunicate request_size=255 [10:52:02]MH_SAM_APDU [10:52:02]CAPDU: 80 0D 02 02 FA 00 8A 04 0D 00 34 30 30 36 33 39 36 30 35 33 38 34 38 06 04 20 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 52 45 44 20 53 53 4C 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 50 F5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 1A 00 00 00 00 07 04 06 00 50 F5 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 D5 0F 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 [10:52:02]Write to MH i2c: E2 02 01 06 0C 80 0D 02 02 FA 00 00 8A 04 0D 00 34 30 30 36 33 39 36 30 35 33 38 34 38 06 04 20 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 52 45 44 20 53 53 4C 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 50 F5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 1A 00 00 00 00 07 04 06 00 50 F5 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 D5 0F 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 00 00 D9 [10:52:02]Write i2c OK [10:52:02]MH_I2C_Read... [10:52:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:52:03]Read from MH i2c: E2 [10:52:03]MH_I2C_Read... [10:52:03]Read from MH i2c: E2 03 00 [10:52:03]MH_I2C_Read... [10:52:03]Read from MH i2c: E2 03 00 06 0C 00 90 00 86 [10:52:03]RAPDU: 90 00 [10:52:03]wFMCommunicate OK [10:52:03]wFMCommunicate request_size=21 [10:52:03]MH_SAM_APDU [10:52:03]CAPDU: 80 0D 02 02 10 04 00 30 94 00 00 35 04 06 00 3D B3 93 08 3C C3 [10:52:03]Write to MH i2c: E2 18 00 07 0C 80 0D 02 02 10 00 04 00 30 94 00 00 35 04 06 00 3D B3 93 08 3C C3 00 00 3E [10:52:03]Write i2c OK [10:52:03]MH_I2C_Read... [10:52:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:52:03]Read from MH i2c: E2 [10:52:03]MH_I2C_Read... [10:52:03]Read from MH i2c: E2 03 00 [10:52:03]MH_I2C_Read... [10:52:03]Read from MH i2c: E2 03 00 07 0C 00 90 00 87 [10:52:03]RAPDU: 90 00 [10:52:03]wFMCommunicate OK [10:52:03]wFMCommunicate request_size=4 [10:52:03]MH_SAM_APDU [10:52:03]CAPDU: 80 0D 03 02 [10:52:03]Write to MH i2c: E2 08 00 08 0C 80 0D 03 02 00 00 00 00 8F [10:52:03]Write i2c OK [10:52:03]MH_I2C_Read... [10:52:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:52:03]Read from MH i2c: E2 [10:52:03]MH_I2C_Read... [10:52:03]Read from MH i2c: E2 0B 00 [10:52:03]MH_I2C_Read... [10:52:03]Read from MH i2c: E2 0B 00 08 0C 00 7B 65 F1 46 75 B3 80 FA 90 00 49 [10:52:03]RAPDU: 7B 65 F1 46 75 B3 80 FA 90 00 [10:52:03]wFMCommunicate OK [10:52:03]SAM_PROTO_SignData done [10:52:03]FM_MakeSignedData done [10:52:03]CreateOFDProtocolMessage [10:52:03]wFMCommunicate request_size=4 [10:52:03]MH_SAM_APDU [10:52:03]CAPDU: 80 11 00 00 [10:52:03]Write to MH i2c: E2 08 00 09 0C 80 11 00 00 00 00 00 00 8F [10:52:03]Write i2c OK [10:52:03]MH_I2C_Read... [10:52:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:52:03]Read from MH i2c: E2 [10:52:03]MH_I2C_Read... [10:52:03]Read from MH i2c: E2 17 00 [10:52:03]MH_I2C_Read... [10:52:03]Read from MH i2c: E2 17 00 09 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DF [10:52:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:52:03]wFMCommunicate OK [10:52:03]CreateOFDProtocolMessage done [10:52:03]OFDSenderStorePacket 37936 [10:52:03]StoreOFDPacket docnum=37936 [10:52:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 14 02 00 00 FD B0 0C 02 E4 AB 5A 03 01 00 03 00 00 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 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 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 30 30 36 33 39 36 30 35 33 38 34 38 06 04 20 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 52 45 44 20 53 53 4C 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 50 F5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 1A 00 00 00 00 07 04 06 00 50 F5 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 D5 0F 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 30 94 00 00 35 04 06 00 3D B3 93 08 3C C3 7B 65 F1 46 75 B3 80 FA [10:52:03]CheckFolder [10:52:03]dirname=/storage/ofd_packets [10:52:03]CheckFolder done [10:52:03]ProducePacketName [10:52:03]name=ofd_packets/00037936 [10:52:03]NVStorageSaveData ofd_packets/00037936 [10:52:03]File name is /storage/ofd_packets/00037936 [10:52:03]Write 562 bytes [10:52:03]NVStorageSaveData done [10:52:03]OFDSenderStorePacket done [10:52:03]KKMCreateOFDPacket done [10:52:03]NVStorageSaveData kkm_last_timestamp [10:52:03]File name is /storage/kkm_last_timestamp [10:52:03]Write 4 bytes [10:52:03]NVStorageSaveData done [10:52:03]ExternCall_PrintAddStr [10:52:03]wPrintStart [10:52:03]Write to MH i2c: 01 00 00 0A 0C 16 [10:52:03]Write i2c OK [10:52:03]MH_I2C_Read... [10:52:03]Read from MH i2c: 01 [10:52:03]MH_I2C_Read... [10:52:03]Read from MH i2c: 01 07 00 [10:52:03]MH_I2C_Read... [10:52:03]Read from MH i2c: 01 07 00 0A 0C 00 00 00 00 00 FF 0F 2B [10:52:03]RasterBufferAndPrint [10:52:03]line Счет N : (3)35235 [10:52:03]line ИНН: 02508201610067 [10:52:03]line Контрольно-Кассовый Чек [10:52:03]line ПРОДАЖА [10:52:03]line Товар: 2000034250011 [10:52:03]line Горячий шоколад (GABB trade) [10:52:03]line 2.000 * 120.00 [10:52:03]line = 240.00 [10:52:03]line НДС 12% НСП 1% [10:52:03]line > о реализуемом товаре [10:52:03]line Товар: 5000159381178 [10:52:03]line Шок Батончик Баунти Трио 82,5г [10:52:03]line 2.000 * 89.00 [10:52:03]line = 178.00 [10:52:03]line НДС 12% НСП 1% [10:52:03]line > о реализуемом товаре [10:52:03]line Товар: 4006396053848 [10:52:03]line Сигареты CHAPMAN RED SSL [10:52:03]line 1.000 * 210.00 [10:52:03]line = 210.00 [10:52:03]line НДС 12% НСП 1% [10:52:03]line > о реализуемом товаре [10:52:03]line ИТОГО: 628.00 [10:52:03]line НСП 1% : 5.55 [10:52:03]line НДС 12% : 66.69 [10:52:03]line Наличными: 628.00 [10:52:03]line Безнал.: 0.00 [10:52:03]line Место: АЗС № 126 "Партнер Нефть" [10:52:03]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:52:03]line СНО: Общий режим [10:52:03]line Чек 18 30.10.2024 10:52 [10:52:03]line Смена: 553 ФФД: 1.0 [10:52:03]line ЗНМ: 0300000092 [10:52:03]line РНМ: 0000000000091684 [10:52:03]line Версия ККМ: 001 [10:52:03]line ФМ: 0000000000871841 [10:52:03]line ФД: 37936 [10:52:03]line ФПД: 67841475230915 [10:52:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T105205&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37936&fm=67841475230915&tin=02508201610067®Number=0000000000091684&sum=62800 [10:52:03]OFD Sender: Processing packet 37936 [packets to send 42, broken 41] [10:52:03]ProducePacketName [10:52:03]name=ofd_packets/00037936 [10:52:03]OFD Sender: To server: pG, [10:52:03]CommunicateWithHost lk.salyk.kg:30040 [10:52:03]ConnectInit lk.salyk.kg [10:52:03]line 0 [10:52:03]written 0, free lines is 4095 [10:52:04]Write to MH i2c: 01 00 00 40 0C 4C [10:52:04]Write i2c OK [10:52:04]MH_I2C_Read... [10:52:04]Read from MH i2c: 01 [10:52:04]MH_I2C_Read... [10:52:04]Read from MH i2c: 01 07 00 [10:52:04]MH_I2C_Read... [10:52:04]Read from MH i2c: 01 07 00 40 0C 00 00 00 00 00 D4 0B 32 [10:52:04]RasterBufferAndPrint [10:52:04]line [10:52:04]line [10:52:04]line [10:52:04]line [10:52:04]line [10:52:04]written 0, free lines is 3032 [10:52:04]MH_Cut [10:52:04]Write to MH i2c: D1 01 00 47 0C 01 25 [10:52:04]Write i2c OK [10:52:04]MH_I2C_Read... [10:52:04]Read from MH i2c: D1 [10:52:04]MH_I2C_Read... [10:52:04]Read from MH i2c: D1 01 00 [10:52:04]MH_I2C_Read... [10:52:04]Read from MH i2c: D1 01 00 47 0C 00 24 [10:52:04]Write to MH i2c: 01 00 00 48 0C 54 [10:52:04]Write i2c OK [10:52:04]MH_I2C_Read... [10:52:04]Connected sock=11 [10:52:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 14 02 00 00 FD B0 0C 02 E4 AB 5A 03 01 00 03 00 00 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 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 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 30 30 36 33 39 36 30 35 33 38 34 38 06 04 20 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 52 45 44 20 53 53 4C 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 50 F5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 1A 00 00 00 00 07 04 06 00 50 F5 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 D5 0F 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 30 94 00 00 35 04 06 00 3D B3 93 08 3C C3 7B 65 F1 46 75 B3 80 FA [10:52:05]*** Cut start [10:52:05]*** Partial cut [10:52:05]*** CUTSNS_PIN = 1 [10:52:05]*** CUTSNS_PIN = 0 [10:52:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 68 EA 47 00 E8 A0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 30 94 00 00 F4 03 04 00 C5 BA 21 67 B6 04 01 00 00 5B B1 EA 29 30 A3 E4 56 [10:52:05]CommunicateWithHost err = 0 [10:52:05]CheckOFDResponse [10:52:05]1017 (14) - 77093643461234 [10:52:05]1041 (16) - 0000000000871841 [10:52:05]1040 (4) - 37936 [10:52:05]1012 (4) - 30.10.2024 04:49 [10:52:05]1206 (1) - 0 [10:52:05]OFD Sender: Remove packet 37936 [10:52:05]ProducePacketName [10:52:05]name=ofd_packets/00037936 [10:52:05]NVStorageDeleteData [10:52:05]*** Brake cut motor [10:52:05]Read from MH i2c: 01 [10:52:05]MH_I2C_Read... [10:52:05]*** Stop cut motor [10:52:05]*** Cut end [10:52:05]Read from MH i2c: 01 07 00 [10:52:05]MH_I2C_Read... [10:52:05]Read from MH i2c: 01 07 00 48 0C 00 00 00 00 00 FF 0F 69 [10:52:05]process_action close_receipt done [10:52:05]requested_data is exist [10:52:05]produce_requested_data [10:52:05]requested_item fm.sn is exist - process it [10:52:05]wFMCommunicate request_size=4 [10:52:05]MH_SAM_APDU [10:52:05]CAPDU: 80 11 00 00 [10:52:05]Write to MH i2c: E2 08 00 49 0C 80 11 00 00 00 00 00 00 CF [10:52:05]Write i2c OK [10:52:05]MH_I2C_Read... [10:52:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:52:05]Read from MH i2c: E2 [10:52:05]MH_I2C_Read... [10:52:05]Read from MH i2c: E2 17 00 [10:52:05]MH_I2C_Read... [10:52:05]Read from MH i2c: E2 17 00 49 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1F [10:52:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:52:05]wFMCommunicate OK [10:52:05]requested_item fd.num is exist - process it [10:52:05]SAM_PROTO_GetFieldsCounters [10:52:05]wFMCommunicate request_size=4 [10:52:05]MH_SAM_APDU [10:52:05]CAPDU: 80 13 00 00 [10:52:05]Write to MH i2c: E2 08 00 4A 0C 80 13 00 00 00 00 00 00 D2 [10:52:05]Write i2c OK [10:52:05]MH_I2C_Read... [10:52:05]OFD Sender: No OFD packet to send [10:52:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:52:06]Read from MH i2c: E2 [10:52:06]MH_I2C_Read... [10:52:06]Read from MH i2c: E2 62 00 [10:52:06]MH_I2C_Read... [10:52:06]Read from MH i2c: E2 62 00 4A 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 30 94 00 00 0E 04 04 00 29 02 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 18 [10:52:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 30 94 00 00 0E 04 04 00 29 02 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:52:06]wFMCommunicate OK [10:52:06]SAM_PROTO_GetFieldsCounters done [10:52:06]requested_item shift.num is exist - process it [10:52:06]requested_item shift.opened is exist - process it [10:52:06]req_shift_opened [10:52:06]FM_GetShiftState [10:52:06]SAM_PROTO_GetShiftState [10:52:06]wFMCommunicate request_size=4 [10:52:06]MH_SAM_APDU [10:52:06]CAPDU: 80 13 01 00 [10:52:06]Write to MH i2c: E2 08 00 4B 0C 80 13 01 00 00 00 00 00 D4 [10:52:06]Write i2c OK [10:52:06]MH_I2C_Read... [10:52:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:52:06]Read from MH i2c: E2 [10:52:06]MH_I2C_Read... [10:52:06]Read from MH i2c: E2 0E 00 [10:52:06]MH_I2C_Read... [10:52:06]Read from MH i2c: E2 0E 00 4B 0C 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 95 [10:52:06]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [10:52:06]wFMCommunicate OK [10:52:06]SAM_PROTO_GetShiftState done [10:52:06]FM_GetShiftState done [10:52:06]req_shift_opened done [10:52:06]requested_item shift.open_date is exist - process it [10:52:06]req_shift_open_date [10:52:06]req_shift_open_date done [10:52:06]produce_requested_data done [10:52:06]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37936,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [10:52:06]process_action_free close_receipt [10:52:06]json_value_free [10:52:06]json_value_free done [10:52:06]process_json_proto returns [10:52:06]Send response to host [10:52:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37936,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [10:52:06]free response buf [10:52:06]execute_script done [10:52:06]execute_script returns [10:52:06]free content buf [10:52:06]Sock 9.Close socket [10:52:06]Sock 9.Thread stoped [10:52:10]OFD Sender: No OFD packet to send [10:52:15]OFD Sender: No OFD packet to send [10:52:20]OFD Sender: No OFD packet to send [10:52:25]OFD Sender: No OFD packet to send [10:52:30]OFD Sender: No OFD packet to send [10:52:35]OFD Sender: No OFD packet to send [10:52:40]OFD Sender: No OFD packet to send [10:52:45]OFD Sender: No OFD packet to send [10:52:50]OFD Sender: No OFD packet to send [10:52:55]OFD Sender: No OFD packet to send [10:53:00]OFD Sender: No OFD packet to send [10:53:05]OFD Sender: No OFD packet to send [10:53:10]OFD Sender: No OFD packet to send [10:53:15]OFD Sender: No OFD packet to send [10:53:20]OFD Sender: No OFD packet to send [10:53:25]OFD Sender: No OFD packet to send [10:53:31]OFD Sender: No OFD packet to send [10:53:36]OFD Sender: No OFD packet to send [10:53:41]OFD Sender: No OFD packet to send [10:53:46]OFD Sender: No OFD packet to send [10:53:51]OFD Sender: No OFD packet to send [10:53:56]OFD Sender: No OFD packet to send [10:54:01]OFD Sender: No OFD packet to send [10:54:06]OFD Sender: No OFD packet to send [10:54:11]OFD Sender: No OFD packet to send [10:54:16]OFD Sender: No OFD packet to send [10:54:21]OFD Sender: No OFD packet to send [10:54:26]OFD Sender: No OFD packet to send [10:54:31]OFD Sender: No OFD packet to send [10:54:36]OFD Sender: No OFD packet to send [10:54:41]OFD Sender: No OFD packet to send [10:54:46]OFD Sender: No OFD packet to send [10:54:51]OFD Sender: No OFD packet to send [10:54:56]OFD Sender: No OFD packet to send [10:55:01]OFD Sender: No OFD packet to send [10:55:06]OFD Sender: No OFD packet to send [10:55:11]OFD Sender: No OFD packet to send [10:55:16]OFD Sender: No OFD packet to send [10:55:21]OFD Sender: No OFD packet to send [10:55:26]OFD Sender: No OFD packet to send [10:55:31]OFD Sender: No OFD packet to send [10:55:36]OFD Sender: No OFD packet to send [10:55:41]OFD Sender: No OFD packet to send [10:55:46]OFD Sender: No OFD packet to send [10:55:51]OFD Sender: No OFD packet to send [10:55:56]OFD Sender: No OFD packet to send [10:56:01]OFD Sender: No OFD packet to send [10:56:06]OFD Sender: No OFD packet to send [10:56:11]OFD Sender: No OFD packet to send [10:56:16]OFD Sender: No OFD packet to send [10:56:21]OFD Sender: No OFD packet to send [10:56:26]OFD Sender: No OFD packet to send [10:56:31]OFD Sender: No OFD packet to send [10:56:36]OFD Sender: No OFD packet to send [10:56:41]OFD Sender: No OFD packet to send [10:56:46]OFD Sender: No OFD packet to send [10:56:51]OFD Sender: No OFD packet to send [10:56:56]OFD Sender: No OFD packet to send [10:57:01]OFD Sender: No OFD packet to send [10:57:06]OFD Sender: No OFD packet to send [10:57:11]OFD Sender: No OFD packet to send [10:57:16]OFD Sender: No OFD packet to send [10:57:21]OFD Sender: No OFD packet to send [10:57:26]OFD Sender: No OFD packet to send [10:57:31]OFD Sender: No OFD packet to send [10:57:36]OFD Sender: No OFD packet to send [10:57:41]OFD Sender: No OFD packet to send [10:57:46]OFD Sender: No OFD packet to send [10:57:51]OFD Sender: No OFD packet to send [10:57:56]OFD Sender: No OFD packet to send [10:58:01]OFD Sender: No OFD packet to send [10:58:06]OFD Sender: No OFD packet to send [10:58:11]OFD Sender: No OFD packet to send [10:58:16]OFD Sender: No OFD packet to send [10:58:21]OFD Sender: No OFD packet to send [10:58:26]OFD Sender: No OFD packet to send [10:58:31]OFD Sender: No OFD packet to send [10:58:36]OFD Sender: No OFD packet to send [10:58:41]OFD Sender: No OFD packet to send [10:58:46]OFD Sender: No OFD packet to send [10:58:51]OFD Sender: No OFD packet to send [10:58:56]OFD Sender: No OFD packet to send [10:59:01]OFD Sender: No OFD packet to send [10:59:06]OFD Sender: No OFD packet to send [10:59:11]OFD Sender: No OFD packet to send [10:59:16]OFD Sender: No OFD packet to send [10:59:21]OFD Sender: No OFD packet to send [10:59:26]OFD Sender: No OFD packet to send [10:59:31]OFD Sender: No OFD packet to send [10:59:36]OFD Sender: No OFD packet to send [10:59:41]OFD Sender: No OFD packet to send [10:59:46]OFD Sender: No OFD packet to send [10:59:51]OFD Sender: No OFD packet to send [10:59:56]OFD Sender: No OFD packet to send [11:00:01]OFD Sender: No OFD packet to send [11:00:06]OFD Sender: No OFD packet to send [11:00:11]OFD Sender: No OFD packet to send [11:00:16]OFD Sender: No OFD packet to send [11:00:21]OFD Sender: No OFD packet to send [11:00:26]OFD Sender: No OFD packet to send [11:00:31]OFD Sender: No OFD packet to send [11:00:36]OFD Sender: No OFD packet to send [11:00:41]OFD Sender: No OFD packet to send [11:00:46]OFD Sender: No OFD packet to send [11:00:51]OFD Sender: No OFD packet to send [11:00:56]OFD Sender: No OFD packet to send [11:01:01]OFD Sender: No OFD packet to send [11:01:06]OFD Sender: No OFD packet to send [11:01:11]OFD Sender: No OFD packet to send [11:01:16]OFD Sender: No OFD packet to send [11:01:21]OFD Sender: No OFD packet to send [11:01:26]OFD Sender: No OFD packet to send [11:01:31]OFD Sender: No OFD packet to send [11:01:36]OFD Sender: No OFD packet to send [11:01:41]OFD Sender: No OFD packet to send [11:01:46]OFD Sender: No OFD packet to send [11:01:51]OFD Sender: No OFD packet to send [11:01:56]OFD Sender: No OFD packet to send [11:02:01]OFD Sender: No OFD packet to send [11:02:06]OFD Sender: No OFD packet to send [11:02:11]OFD Sender: No OFD packet to send [11:02:16]OFD Sender: No OFD packet to send [11:02:21]OFD Sender: No OFD packet to send [11:02:26]OFD Sender: No OFD packet to send [11:02:31]OFD Sender: No OFD packet to send [11:02:36]OFD Sender: No OFD packet to send [11:02:41]OFD Sender: No OFD packet to send [11:02:46]OFD Sender: No OFD packet to send [11:02:51]OFD Sender: No OFD packet to send [11:02:56]OFD Sender: No OFD packet to send [11:03:01]OFD Sender: No OFD packet to send [11:03:06]OFD Sender: No OFD packet to send [11:03:11]OFD Sender: No OFD packet to send [11:03:16]OFD Sender: No OFD packet to send [11:03:21]OFD Sender: No OFD packet to send [11:03:26]OFD Sender: No OFD packet to send [11:03:31]OFD Sender: No OFD packet to send [11:03:36]OFD Sender: No OFD packet to send [11:03:41]OFD Sender: No OFD packet to send [11:03:46]OFD Sender: No OFD packet to send [11:03:51]OFD Sender: No OFD packet to send [11:03:56]OFD Sender: No OFD packet to send [11:04:01]OFD Sender: No OFD packet to send [11:04:06]OFD Sender: No OFD packet to send [11:04:11]OFD Sender: No OFD packet to send [11:04:16]OFD Sender: No OFD packet to send [11:04:21]OFD Sender: No OFD packet to send [11:04:26]OFD Sender: No OFD packet to send [11:04:31]OFD Sender: No OFD packet to send [11:04:36]OFD Sender: No OFD packet to send [11:04:41]OFD Sender: No OFD packet to send [11:04:46]OFD Sender: No OFD packet to send [11:04:51]OFD Sender: No OFD packet to send [11:04:56]OFD Sender: No OFD packet to send [11:05:01]OFD Sender: No OFD packet to send [11:05:06]OFD Sender: No OFD packet to send [11:05:11]OFD Sender: No OFD packet to send [11:05:16]OFD Sender: No OFD packet to send [11:05:21]OFD Sender: No OFD packet to send [11:05:26]OFD Sender: No OFD packet to send [11:05:31]OFD Sender: No OFD packet to send [11:05:36]OFD Sender: No OFD packet to send [11:05:41]OFD Sender: No OFD packet to send [11:05:46]OFD Sender: No OFD packet to send [11:05:51]OFD Sender: No OFD packet to send [11:05:56]OFD Sender: No OFD packet to send [11:06:01]OFD Sender: No OFD packet to send [11:06:06]OFD Sender: No OFD packet to send [11:06:11]accept exits with 7 [11:06:11]New connection [11:06:11]New thread 3067207012 created [11:06:11]Thread 3067063652 joined [11:06:11]Waiting for new connection... [11:06:11] Sock 7.Parse request [11:06:11]Sock 7.Check first char [11:06:11]Sock 7.First char is OK [11:06:11]request: POST /json_proto HTTP/1.0 [11:06:11]Method: POST [11:06:11]URL: /json_proto [11:06:11]Method is POST - this is cgi request [11:06:11]url: /json_proto [11:06:11]query_string will be loaded in cgi processing [11:06:11]execute_cgi json_proto POST (null) [11:06:11]execute_cgi path=json_proto method=POST [11:06:11]POST find Content-Length [11:06:11]Host: 172.17.40.196:8080 [11:06:11]Content-Length: 620 [11:06:11]Content-Type: application/json [11:06:11] [11:06:11]POST finish read [11:06:11]Found Content-Length = 620 [11:06:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35236", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:06:11]execute_script... [11:06:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35236", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:06:11]POST & json_proto [11:06:11]process_json_proto [11:06:11]json parsed OK: [11:06:11]protocol is kg_v1.0 [11:06:11]action value=close_receipt [11:06:11]process_action close_receipt [11:06:11]cmd_close_receipt [11:06:11]MH_GetDate [11:06:11]Write to MH i2c: F0 00 00 4C 0C 47 [11:06:11]Write i2c OK [11:06:11]MH_I2C_Read... [11:06:11]Read from MH i2c: F0 [11:06:11]MH_I2C_Read... [11:06:11]Read from MH i2c: F0 09 00 [11:06:11]MH_I2C_Read... [11:06:11]Read from MH i2c: F0 09 00 4C 0C 00 27 13 22 67 5B 68 A1 66 DD [11:06:11]GetLastDocTimeStamp 1730285525 [11:06:11]current date 1730286375 [11:06:11]FM_GetShiftState [11:06:11]SAM_PROTO_GetShiftState [11:06:11]wFMCommunicate request_size=4 [11:06:11]MH_SAM_APDU [11:06:11]CAPDU: 80 13 01 00 [11:06:11]Write to MH i2c: E2 08 00 4D 0C 80 13 01 00 00 00 00 00 D6 [11:06:11]Write i2c OK [11:06:11]MH_I2C_Read... [11:06:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:06:11]Read from MH i2c: E2 [11:06:11]MH_I2C_Read... [11:06:11]Read from MH i2c: E2 0E 00 [11:06:11]MH_I2C_Read... [11:06:11]Read from MH i2c: E2 0E 00 4D 0C 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 97 [11:06:11]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [11:06:11]wFMCommunicate OK [11:06:11]SAM_PROTO_GetShiftState done [11:06:11]FM_GetShiftState done [11:06:11]opened in 1730246837 [11:06:11]opened+sec_in_day 1730333237 [11:06:11]quantity*price = 14400 [11:06:11]sum+1 = 14401 [11:06:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 19 30.10.2024 11:06 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37937 ФПД: 109047648573914 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T110615&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37937&fm=109047648573914&tin=02508201610067®Number=0000000000091684&sum=14400 0 [11:06:12]StoreToDocumentArchive [11:06:12]shift 553 fd 37937 [11:06:12]save to /storage/0553/doc_00037937 [11:06:12]save last doc name /storage/0553/doc_00037937 to /storage/kkm_last_doc_name [11:06:12]save OK [11:06:12]Clear old archive folders... [11:06:12]ProcessDocumentItem done err = 0, tmpTLVsize=273 [11:06:12]tlvbuf is 019328A0 [11:06:12]SAM_PROTO_ClearQueue [11:06:12]wFMCommunicate request_size=4 [11:06:12]MH_SAM_APDU [11:06:12]CAPDU: 80 09 00 00 [11:06:12]Write to MH i2c: E2 08 00 5A 0C 80 09 00 00 00 00 00 00 D8 [11:06:12]Write i2c OK [11:06:12]MH_I2C_Read... [11:06:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:06:12]Read from MH i2c: E2 [11:06:12]MH_I2C_Read... [11:06:12]Read from MH i2c: E2 03 00 [11:06:12]MH_I2C_Read... [11:06:12]Read from MH i2c: E2 03 00 5A 0C 00 90 00 DA [11:06:12]RAPDU: 90 00 [11:06:12]wFMCommunicate OK [11:06:12]SAM_PROTO_ClearQueue done [11:06:12]KKMCreateOFDPacket [11:06:12]OFDProtocolAddRootSTLVToBuf [11:06:12]FM_MakeSignedData [11:06:12]FM_MakeSignedData [11:06:12]SAM_PROTO_SignData [11:06:12]wFMCommunicate request_size=4 [11:06:12]MH_SAM_APDU [11:06:12]CAPDU: 80 0D 01 02 [11:06:12]Write to MH i2c: E2 08 00 5B 0C 80 0D 01 02 00 00 00 00 E0 [11:06:12]Write i2c OK [11:06:12]MH_I2C_Read... [11:06:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:06:12]Read from MH i2c: E2 [11:06:12]MH_I2C_Read... [11:06:12]Read from MH i2c: E2 03 00 [11:06:12]MH_I2C_Read... [11:06:12]Read from MH i2c: E2 03 00 5B 0C 00 90 00 DB [11:06:12]RAPDU: 90 00 [11:06:12]wFMCommunicate OK [11:06:12]wFMCommunicate request_size=255 [11:06:12]MH_SAM_APDU [11:06:12]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 27 13 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [11:06:12]Write to MH i2c: E2 02 01 5C 0C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 27 13 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 3A [11:06:12]Write i2c OK [11:06:12]MH_I2C_Read... [11:06:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:06:12]Read from MH i2c: E2 [11:06:12]MH_I2C_Read... [11:06:12]Read from MH i2c: E2 03 00 [11:06:12]MH_I2C_Read... [11:06:12]Read from MH i2c: E2 03 00 5C 0C 00 90 00 DC [11:06:12]RAPDU: 90 00 [11:06:12]wFMCommunicate OK [11:06:12]wFMCommunicate request_size=32 [11:06:12]MH_SAM_APDU [11:06:12]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 31 94 00 00 35 04 06 00 63 2D A2 5B 59 DA [11:06:12]Write to MH i2c: E2 23 00 5D 0C 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 31 94 00 00 35 04 06 00 63 2D A2 5B 59 DA 00 00 C2 [11:06:12]Write i2c OK [11:06:12]MH_I2C_Read... [11:06:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:06:12]Read from MH i2c: E2 [11:06:12]MH_I2C_Read... [11:06:12]Read from MH i2c: E2 03 00 [11:06:12]MH_I2C_Read... [11:06:12]Read from MH i2c: E2 03 00 5D 0C 00 90 00 DD [11:06:12]RAPDU: 90 00 [11:06:12]wFMCommunicate OK [11:06:12]wFMCommunicate request_size=4 [11:06:12]MH_SAM_APDU [11:06:12]CAPDU: 80 0D 03 02 [11:06:12]Write to MH i2c: E2 08 00 5E 0C 80 0D 03 02 00 00 00 00 E5 [11:06:12]Write i2c OK [11:06:12]MH_I2C_Read... [11:06:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:06:12]Read from MH i2c: E2 [11:06:12]MH_I2C_Read... [11:06:12]Read from MH i2c: E2 0B 00 [11:06:12]MH_I2C_Read... [11:06:12]Read from MH i2c: E2 0B 00 5E 0C 00 A5 B8 B0 B6 51 D2 4C 49 90 00 61 [11:06:12]RAPDU: A5 B8 B0 B6 51 D2 4C 49 90 00 [11:06:12]wFMCommunicate OK [11:06:12]SAM_PROTO_SignData done [11:06:12]FM_MakeSignedData done [11:06:12]CreateOFDProtocolMessage [11:06:12]wFMCommunicate request_size=4 [11:06:12]MH_SAM_APDU [11:06:12]CAPDU: 80 11 00 00 [11:06:12]Write to MH i2c: E2 08 00 5F 0C 80 11 00 00 00 00 00 00 E5 [11:06:12]Write i2c OK [11:06:12]MH_I2C_Read... [11:06:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:06:13]Read from MH i2c: E2 [11:06:13]MH_I2C_Read... [11:06:13]Read from MH i2c: E2 17 00 [11:06:13]MH_I2C_Read... [11:06:13]Read from MH i2c: E2 17 00 5F 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 35 [11:06:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:06:13]wFMCommunicate OK [11:06:13]CreateOFDProtocolMessage done [11:06:13]OFDSenderStorePacket 37937 [11:06:13]StoreOFDPacket docnum=37937 [11:06:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 68 A5 1D 01 12 E5 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 27 13 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 31 94 00 00 35 04 06 00 63 2D A2 5B 59 DA A5 B8 B0 B6 51 D2 4C 49 [11:06:13]CheckFolder [11:06:13]dirname=/storage/ofd_packets [11:06:13]CheckFolder done [11:06:13]ProducePacketName [11:06:13]name=ofd_packets/00037937 [11:06:13]NVStorageSaveData ofd_packets/00037937 [11:06:13]File name is /storage/ofd_packets/00037937 [11:06:13]Write 323 bytes [11:06:13]NVStorageSaveData done [11:06:13]OFDSenderStorePacket done [11:06:13]KKMCreateOFDPacket done [11:06:13]NVStorageSaveData kkm_last_timestamp [11:06:13]File name is /storage/kkm_last_timestamp [11:06:13]Write 4 bytes [11:06:13]NVStorageSaveData done [11:06:13]OFD Sender: Processing packet 37937 [packets to send 42, broken 41] [11:06:13]ProducePacketName [11:06:13]name=ofd_packets/00037937 [11:06:13]OFD Sender: To server: pG, [11:06:13]CommunicateWithHost lk.salyk.kg:30040 [11:06:13]ConnectInit lk.salyk.kg [11:06:13]ExternCall_PrintAddStr [11:06:13]wPrintStart [11:06:13]Write to MH i2c: 01 00 00 60 0C 6C [11:06:13]Write i2c OK [11:06:13]MH_I2C_Read... [11:06:13]Read from MH i2c: 01 [11:06:13]MH_I2C_Read... [11:06:13]Read from MH i2c: 01 07 00 [11:06:13]MH_I2C_Read... [11:06:13]Read from MH i2c: 01 07 00 60 0C 00 00 00 00 00 FF 0F 81 [11:06:13]RasterBufferAndPrint [11:06:13]line Счет N : (3)35236 [11:06:13]line ИНН: 02508201610067 [11:06:13]line Контрольно-Кассовый Чек [11:06:13]line ПРОДАЖА [11:06:13]line Товар: 48747059 [11:06:13]line Сигареты Winston Legend Blue [11:06:13]line 1.000 * 144.00 [11:06:13]line = 144.00 [11:06:13]line НДС 12% НСП 1% [11:06:13]line > о реализуемом товаре [11:06:13]line ИТОГО: 144.00 [11:06:13]line НСП 1% : 1.27 [11:06:13]line НДС 12% : 15.29 [11:06:13]line Наличными: 144.00 [11:06:13]line Безнал.: 0.00 [11:06:13]line Место: АЗС № 126 "Партнер Нефть" [11:06:13]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:06:13]line СНО: Общий режим [11:06:13]line Чек 19 30.10.2024 11:06 [11:06:13]line Смена: 553 ФФД: 1.0 [11:06:13]line ЗНМ: 0300000092 [11:06:13]line РНМ: 0000000000091684 [11:06:13]line Версия ККМ: 001 [11:06:13]line ФМ: 0000000000871841 [11:06:13]line ФД: 37937 [11:06:13]line ФПД: 109047648573914 [11:06:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T110615&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37937&fm=109047648573914&tin=02508201610067®Number=0000000000091684&sum=14400 [11:06:13]line 0 [11:06:13]Connected sock=11 [11:06:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 68 A5 1D 01 12 E5 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 27 13 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 31 94 00 00 35 04 06 00 63 2D A2 5B 59 DA A5 B8 B0 B6 51 D2 4C 49 [11:06:13]written 0, free lines is 4095 [11:06:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 85 7F 47 00 96 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 31 94 00 00 F4 03 04 00 15 BE 21 67 B6 04 01 00 00 7E 02 1F 67 DE 01 62 2B [11:06:13]CommunicateWithHost err = 0 [11:06:13]CheckOFDResponse [11:06:13]1017 (14) - 77093643461234 [11:06:13]1041 (16) - 0000000000871841 [11:06:13]1040 (4) - 37937 [11:06:13]1012 (4) - 30.10.2024 05:03 [11:06:13]1206 (1) - 0 [11:06:13]OFD Sender: Remove packet 37937 [11:06:13]ProducePacketName [11:06:13]name=ofd_packets/00037937 [11:06:13]NVStorageDeleteData [11:06:13]Write to MH i2c: 01 00 00 89 0C 95 [11:06:13]Write i2c OK [11:06:13]MH_I2C_Read... [11:06:13]Read from MH i2c: 01 [11:06:13]MH_I2C_Read... [11:06:13]Read from MH i2c: 01 07 00 [11:06:13]MH_I2C_Read... [11:06:13]Read from MH i2c: 01 07 00 89 0C 00 00 00 00 00 AD 0C 55 [11:06:13]RasterBufferAndPrint [11:06:13]line [11:06:13]line [11:06:13]line [11:06:13]line [11:06:13]line [11:06:13]written 0, free lines is 3248 [11:06:13]MH_Cut [11:06:13]Write to MH i2c: D1 01 00 90 0C 01 6E [11:06:13]Write i2c OK [11:06:13]MH_I2C_Read... [11:06:13]Read from MH i2c: D1 [11:06:13]MH_I2C_Read... [11:06:13]Read from MH i2c: D1 01 00 [11:06:13]MH_I2C_Read... [11:06:13]Read from MH i2c: D1 01 00 90 0C 00 6D [11:06:13]Write to MH i2c: 01 00 00 91 0C 9D [11:06:13]Write i2c OK [11:06:13]MH_I2C_Read... [11:06:14]OFD Sender: No OFD packet to send [11:06:14]*** Cut start [11:06:14]*** Partial cut [11:06:14]*** CUTSNS_PIN = 1 [11:06:14]*** CUTSNS_PIN = 0 [11:06:14]*** Brake cut motor [11:06:15]Read from MH i2c: 01 [11:06:15]MH_I2C_Read... [11:06:15]*** Stop cut motor [11:06:15]*** Cut end [11:06:15]Read from MH i2c: 01 07 00 [11:06:15]MH_I2C_Read... [11:06:15]Read from MH i2c: 01 07 00 91 0C 00 00 00 00 00 FF 0F B2 [11:06:15]process_action close_receipt done [11:06:15]requested_data is exist [11:06:15]produce_requested_data [11:06:15]requested_item fm.sn is exist - process it [11:06:15]wFMCommunicate request_size=4 [11:06:15]MH_SAM_APDU [11:06:15]CAPDU: 80 11 00 00 [11:06:15]Write to MH i2c: E2 08 00 92 0C 80 11 00 00 00 00 00 00 18 [11:06:15]Write i2c OK [11:06:15]MH_I2C_Read... [11:06:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:06:15]Read from MH i2c: E2 [11:06:15]MH_I2C_Read... [11:06:15]Read from MH i2c: E2 17 00 [11:06:15]MH_I2C_Read... [11:06:15]Read from MH i2c: E2 17 00 92 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 68 [11:06:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:06:15]wFMCommunicate OK [11:06:15]requested_item fd.num is exist - process it [11:06:15]SAM_PROTO_GetFieldsCounters [11:06:15]wFMCommunicate request_size=4 [11:06:15]MH_SAM_APDU [11:06:15]CAPDU: 80 13 00 00 [11:06:15]Write to MH i2c: E2 08 00 93 0C 80 13 00 00 00 00 00 00 1B [11:06:15]Write i2c OK [11:06:15]MH_I2C_Read... [11:06:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:06:15]Read from MH i2c: E2 [11:06:15]MH_I2C_Read... [11:06:15]Read from MH i2c: E2 62 00 [11:06:15]MH_I2C_Read... [11:06:15]Read from MH i2c: E2 62 00 93 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 31 94 00 00 0E 04 04 00 29 02 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 65 [11:06:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 31 94 00 00 0E 04 04 00 29 02 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 [11:06:15]wFMCommunicate OK [11:06:15]SAM_PROTO_GetFieldsCounters done [11:06:15]requested_item shift.num is exist - process it [11:06:15]requested_item shift.opened is exist - process it [11:06:15]req_shift_opened [11:06:15]FM_GetShiftState [11:06:15]SAM_PROTO_GetShiftState [11:06:15]wFMCommunicate request_size=4 [11:06:15]MH_SAM_APDU [11:06:15]CAPDU: 80 13 01 00 [11:06:15]Write to MH i2c: E2 08 00 94 0C 80 13 01 00 00 00 00 00 1D [11:06:15]Write i2c OK [11:06:15]MH_I2C_Read... [11:06:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:06:15]Read from MH i2c: E2 [11:06:15]MH_I2C_Read... [11:06:15]Read from MH i2c: E2 0E 00 [11:06:15]MH_I2C_Read... [11:06:15]Read from MH i2c: E2 0E 00 94 0C 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 DE [11:06:15]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [11:06:15]wFMCommunicate OK [11:06:15]SAM_PROTO_GetShiftState done [11:06:15]FM_GetShiftState done [11:06:15]req_shift_opened done [11:06:15]requested_item shift.open_date is exist - process it [11:06:15]req_shift_open_date [11:06:15]req_shift_open_date done [11:06:15]produce_requested_data done [11:06:15]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37937,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [11:06:15]process_action_free close_receipt [11:06:15]json_value_free [11:06:15]json_value_free done [11:06:15]process_json_proto returns [11:06:15]Send response to host [11:06:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37937,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [11:06:15]free response buf [11:06:15]execute_script done [11:06:15]execute_script returns [11:06:15]free content buf [11:06:15]Sock 7.Close socket [11:06:15]Sock 7.Thread stoped [11:06:19]OFD Sender: No OFD packet to send [11:06:24]OFD Sender: No OFD packet to send [11:06:29]OFD Sender: No OFD packet to send [11:06:34]OFD Sender: No OFD packet to send [11:06:39]OFD Sender: No OFD packet to send [11:06:44]OFD Sender: No OFD packet to send [11:06:49]OFD Sender: No OFD packet to send [11:06:54]OFD Sender: No OFD packet to send [11:06:59]OFD Sender: No OFD packet to send [11:07:04]OFD Sender: No OFD packet to send [11:07:09]OFD Sender: No OFD packet to send [11:07:14]OFD Sender: No OFD packet to send [11:07:19]OFD Sender: No OFD packet to send [11:07:24]OFD Sender: No OFD packet to send [11:07:29]OFD Sender: No OFD packet to send [11:07:34]OFD Sender: No OFD packet to send [11:07:39]OFD Sender: No OFD packet to send [11:07:43]accept exits with 9 [11:07:43]New connection [11:07:43]New thread 3067063652 created [11:07:43]Thread 3067207012 joined [11:07:43]Waiting for new connection... [11:07:43] Sock 9.Parse request [11:07:43]Sock 9.Check first char [11:07:43]Sock 9.First char is OK [11:07:43]request: POST /json_proto HTTP/1.0 [11:07:43]Method: POST [11:07:43]URL: /json_proto [11:07:43]Method is POST - this is cgi request [11:07:43]url: /json_proto [11:07:43]query_string will be loaded in cgi processing [11:07:43]execute_cgi json_proto POST (null) [11:07:43]execute_cgi path=json_proto method=POST [11:07:43]POST find Content-Length [11:07:43]Host: 172.17.40.196:8080 [11:07:43]Content-Length: 830 [11:07:43]Content-Type: application/json [11:07:43] [11:07:43]POST finish read [11:07:43]Found Content-Length = 830 [11:07:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35237", "tax_sys" : 0, "items" : [ { "code": "4600721021566", "name": "\u041F\u0438\u0432\u043E \u0425\u0443\u0433\u0430\u0440\u0434\u0435\u043D \u0431\u0435\u043B \u043D\u0435\u0444\u0438\u043B 0,5\u043B \u0441\u0442", "price" : 213.00, "quantity" : 1.000, "sum" : 213.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 213.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:07:43]execute_script... [11:07: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)35237", "tax_sys" : 0, "items" : [ { "code": "4600721021566", "name": "\u041F\u0438\u0432\u043E \u0425\u0443\u0433\u0430\u0440\u0434\u0435\u043D \u0431\u0435\u043B \u043D\u0435\u0444\u0438\u043B 0,5\u043B \u0441\u0442", "price" : 213.00, "quantity" : 1.000, "sum" : 213.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 213.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:07:43]POST & json_proto [11:07:43]process_json_proto [11:07:43]json parsed OK: [11:07:43]protocol is kg_v1.0 [11:07:43]action value=close_receipt [11:07:43]process_action close_receipt [11:07:43]cmd_close_receipt [11:07:43]MH_GetDate [11:07:43]Write to MH i2c: F0 00 00 95 0C 90 [11:07:43]Write i2c OK [11:07:43]MH_I2C_Read... [11:07:43]Read from MH i2c: F0 [11:07:43]MH_I2C_Read... [11:07:43]Read from MH i2c: F0 09 00 [11:07:43]MH_I2C_Read... [11:07:43]Read from MH i2c: F0 09 00 95 0C 00 83 13 22 67 5B 68 A1 66 82 [11:07:43]GetLastDocTimeStamp 1730286375 [11:07:43]current date 1730286467 [11:07:43]FM_GetShiftState [11:07:43]SAM_PROTO_GetShiftState [11:07:43]wFMCommunicate request_size=4 [11:07:43]MH_SAM_APDU [11:07:43]CAPDU: 80 13 01 00 [11:07:43]Write to MH i2c: E2 08 00 96 0C 80 13 01 00 00 00 00 00 1F [11:07:43]Write i2c OK [11:07:43]MH_I2C_Read... [11:07:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:07:43]Read from MH i2c: E2 [11:07:43]MH_I2C_Read... [11:07:43]Read from MH i2c: E2 0E 00 [11:07:43]MH_I2C_Read... [11:07:43]Read from MH i2c: E2 0E 00 96 0C 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 E0 [11:07:43]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [11:07:43]wFMCommunicate OK [11:07:43]SAM_PROTO_GetShiftState done [11:07:43]FM_GetShiftState done [11:07:43]opened in 1730246837 [11:07:43]opened+sec_in_day 1730333237 [11:07:43]quantity*price = 21300 [11:07:43]sum+1 = 21301 [11:07:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 213.00 НСП 1% : 1.88 НДС 12% : 22.62 Наличными: 0.00 Безнал.: 213.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 20 30.10.2024 11:07 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37938 ФПД: 148706884922112 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T110747&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37938&fm=148706884922112&tin=02508201610067®Number=0000000000091684&sum=21300 0 [11:07:44]StoreToDocumentArchive [11:07:44]shift 553 fd 37938 [11:07:44]save to /storage/0553/doc_00037938 [11:07:44]save last doc name /storage/0553/doc_00037938 to /storage/kkm_last_doc_name [11:07:44]save OK [11:07:44]Clear old archive folders... [11:07:44]ProcessDocumentItem done err = 0, tmpTLVsize=296 [11:07:44]tlvbuf is 018C3C20 [11:07:44]SAM_PROTO_ClearQueue [11:07:44]wFMCommunicate request_size=4 [11:07:44]MH_SAM_APDU [11:07:44]CAPDU: 80 09 00 00 [11:07:44]Write to MH i2c: E2 08 00 A3 0C 80 09 00 00 00 00 00 00 21 [11:07:44]Write i2c OK [11:07:44]MH_I2C_Read... [11:07:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:07:44]Read from MH i2c: E2 [11:07:44]MH_I2C_Read... [11:07:44]Read from MH i2c: E2 03 00 [11:07:44]MH_I2C_Read... [11:07:44]Read from MH i2c: E2 03 00 A3 0C 00 90 00 23 [11:07:44]RAPDU: 90 00 [11:07:44]wFMCommunicate OK [11:07:44]SAM_PROTO_ClearQueue done [11:07:44]KKMCreateOFDPacket [11:07:44]OFDProtocolAddRootSTLVToBuf [11:07:44]FM_MakeSignedData [11:07:44]FM_MakeSignedData [11:07:44]SAM_PROTO_SignData [11:07:44]wFMCommunicate request_size=4 [11:07:44]MH_SAM_APDU [11:07:44]CAPDU: 80 0D 01 02 [11:07:44]Write to MH i2c: E2 08 00 A4 0C 80 0D 01 02 00 00 00 00 29 [11:07:44]Write i2c OK [11:07:44]MH_I2C_Read... [11:07:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:07:44]Read from MH i2c: E2 [11:07:44]MH_I2C_Read... [11:07:44]Read from MH i2c: E2 03 00 [11:07:44]MH_I2C_Read... [11:07:44]Read from MH i2c: E2 03 00 A4 0C 00 90 00 24 [11:07:44]RAPDU: 90 00 [11:07:44]wFMCommunicate OK [11:07:44]wFMCommunicate request_size=255 [11:07:44]MH_SAM_APDU [11:07:44]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 53 00 00 00 00 13 04 06 00 34 53 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 83 13 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [11:07:44]Write to MH i2c: E2 02 01 A5 0C 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 53 00 00 00 00 13 04 06 00 34 53 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 83 13 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 15 [11:07:44]Write i2c OK [11:07:44]MH_I2C_Read... [11:07:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:07:45]Read from MH i2c: E2 [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: E2 03 00 [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: E2 03 00 A5 0C 00 90 00 25 [11:07:45]RAPDU: 90 00 [11:07:45]wFMCommunicate OK [11:07:45]wFMCommunicate request_size=55 [11:07:45]MH_SAM_APDU [11:07:45]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 32 94 00 00 35 04 06 00 87 3F 85 0D 2B 00 [11:07:45]Write to MH i2c: E2 3A 00 A6 0C 80 0D 02 02 32 00 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 32 94 00 00 35 04 06 00 87 3F 85 0D 2B 00 00 00 CE [11:07:45]Write i2c OK [11:07:45]MH_I2C_Read... [11:07:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:07:45]Read from MH i2c: E2 [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: E2 03 00 [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: E2 03 00 A6 0C 00 90 00 26 [11:07:45]RAPDU: 90 00 [11:07:45]wFMCommunicate OK [11:07:45]wFMCommunicate request_size=4 [11:07:45]MH_SAM_APDU [11:07:45]CAPDU: 80 0D 03 02 [11:07:45]Write to MH i2c: E2 08 00 A7 0C 80 0D 03 02 00 00 00 00 2E [11:07:45]Write i2c OK [11:07:45]MH_I2C_Read... [11:07:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:07:45]Read from MH i2c: E2 [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: E2 0B 00 [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: E2 0B 00 A7 0C 00 7E 05 1F 79 19 A5 9B A9 90 00 4C [11:07:45]RAPDU: 7E 05 1F 79 19 A5 9B A9 90 00 [11:07:45]wFMCommunicate OK [11:07:45]SAM_PROTO_SignData done [11:07:45]FM_MakeSignedData done [11:07:45]CreateOFDProtocolMessage [11:07:45]wFMCommunicate request_size=4 [11:07:45]MH_SAM_APDU [11:07:45]CAPDU: 80 11 00 00 [11:07:45]Write to MH i2c: E2 08 00 A8 0C 80 11 00 00 00 00 00 00 2E [11:07:45]Write i2c OK [11:07:45]MH_I2C_Read... [11:07:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:07:45]Read from MH i2c: E2 [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: E2 17 00 [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: E2 17 00 A8 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7E [11:07:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:07:45]wFMCommunicate OK [11:07:45]CreateOFDProtocolMessage done [11:07:45]OFDSenderStorePacket 37938 [11:07:45]StoreOFDPacket docnum=37938 [11:07:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3C 01 00 00 90 E4 34 01 D0 FC 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 53 00 00 00 00 13 04 06 00 34 53 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 83 13 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 32 94 00 00 35 04 06 00 87 3F 85 0D 2B 00 7E 05 1F 79 19 A5 9B A9 [11:07:45]CheckFolder [11:07:45]dirname=/storage/ofd_packets [11:07:45]CheckFolder done [11:07:45]ProducePacketName [11:07:45]name=ofd_packets/00037938 [11:07:45]NVStorageSaveData ofd_packets/00037938 [11:07:45]File name is /storage/ofd_packets/00037938 [11:07:45]Write 346 bytes [11:07:45]NVStorageSaveData done [11:07:45]OFDSenderStorePacket done [11:07:45]KKMCreateOFDPacket done [11:07:45]NVStorageSaveData kkm_last_timestamp [11:07:45]File name is /storage/kkm_last_timestamp [11:07:45]Write 4 bytes [11:07:45]NVStorageSaveData done [11:07:45]ExternCall_PrintAddStr [11:07:45]wPrintStart [11:07:45]Write to MH i2c: 01 00 00 A9 0C B5 [11:07:45]Write i2c OK [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: 01 [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: 01 07 00 [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: 01 07 00 A9 0C 00 00 00 00 00 FF 0F CA [11:07:45]RasterBufferAndPrint [11:07:45]line Счет N : (3)35237 [11:07:45]line ИНН: 02508201610067 [11:07:45]line Контрольно-Кассовый Чек [11:07:45]line ПРОДАЖА [11:07:45]line Товар: 4600721021566 [11:07:45]line Пиво Хугарден бел нефил 0,5л ст [11:07:45]line 1.000 * 213.00 [11:07:45]line = 213.00 [11:07:45]line НДС 12% НСП 1% [11:07:45]line > о реализуемом товаре [11:07:45]line ИТОГО: 213.00 [11:07:45]line НСП 1% : 1.88 [11:07:45]line НДС 12% : 22.62 [11:07:45]line Наличными: 0.00 [11:07:45]line Безнал.: 213.00 [11:07:45]line Место: АЗС № 126 "Партнер Нефть" [11:07:45]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:07:45]line СНО: Общий режим [11:07:45]line Чек 20 30.10.2024 11:07 [11:07:45]line Смена: 553 ФФД: 1.0 [11:07:45]line ЗНМ: 0300000092 [11:07:45]line РНМ: 0000000000091684 [11:07:45]line Версия ККМ: 001 [11:07:45]line Платежная система: Mbank [11:07:45]line ФМ: 0000000000871841 [11:07:45]line ФД: 37938 [11:07:45]line ФПД: 148706884922112 [11:07:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T110747&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37938&fm=148706884922112&tin=02508201610067®Number=0000000000091684&sum=21300 [11:07:45]line 0 [11:07:45]OFD Sender: Processing packet 37938 [packets to send 42, broken 41] [11:07:45]ProducePacketName [11:07:45]name=ofd_packets/00037938 [11:07:45]OFD Sender: To server: pG, [11:07:45]CommunicateWithHost lk.salyk.kg:30040 [11:07:45]ConnectInit lk.salyk.kg [11:07:45]written 0, free lines is 4095 [11:07:45]Write to MH i2c: 01 00 00 D3 0C DF [11:07:45]Write i2c OK [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: 01 [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: 01 07 00 [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: 01 07 00 D3 0C 00 00 00 00 00 A9 0C 9B [11:07:45]RasterBufferAndPrint [11:07:45]line [11:07:45]line [11:07:45]line [11:07:45]line [11:07:45]line [11:07:45]written 0, free lines is 3245 [11:07:45]MH_Cut [11:07:45]Write to MH i2c: D1 01 00 DA 0C 01 B8 [11:07:45]Write i2c OK [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: D1 [11:07:45]MH_I2C_Read... [11:07:45]Read from MH i2c: D1 01 00 [11:07:46]MH_I2C_Read... [11:07:46]Read from MH i2c: D1 01 00 DA 0C 00 B7 [11:07:46]Write to MH i2c: 01 00 00 DB 0C E7 [11:07:46]Write i2c OK [11:07:46]MH_I2C_Read... [11:07:46]Connected sock=11 [11:07:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3C 01 00 00 90 E4 34 01 D0 FC 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 53 00 00 00 00 13 04 06 00 34 53 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 83 13 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 32 94 00 00 35 04 06 00 87 3F 85 0D 2B 00 7E 05 1F 79 19 A5 9B A9 [11:07:46]*** Cut start [11:07:46]*** Partial cut [11:07:46]*** CUTSNS_PIN = 1 [11:07:46]*** CUTSNS_PIN = 0 [11:07:47]*** Brake cut motor [11:07:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 84 CC 47 00 6E 73 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 32 94 00 00 F4 03 04 00 73 BE 21 67 B6 04 01 00 00 76 7A C5 3F 16 9E A9 3A [11:07:47]CommunicateWithHost err = 0 [11:07:47]CheckOFDResponse [11:07:47]1017 (14) - 77093643461234 [11:07:47]1041 (16) - 0000000000871841 [11:07:47]1040 (4) - 37938 [11:07:47]1012 (4) - 30.10.2024 05:04 [11:07:47]1206 (1) - 0 [11:07:47]OFD Sender: Remove packet 37938 [11:07:47]ProducePacketName [11:07:47]name=ofd_packets/00037938 [11:07:47]NVStorageDeleteData [11:07:47]Read from MH i2c: 01 [11:07:47]MH_I2C_Read... [11:07:47]*** Stop cut motor [11:07:47]*** Cut end [11:07:47]Read from MH i2c: 01 07 00 [11:07:47]MH_I2C_Read... [11:07:47]Read from MH i2c: 01 07 00 DB 0C 00 00 00 00 00 FF 0F FC [11:07:47]process_action close_receipt done [11:07:47]requested_data is exist [11:07:47]produce_requested_data [11:07:47]requested_item fm.sn is exist - process it [11:07:47]wFMCommunicate request_size=4 [11:07:47]MH_SAM_APDU [11:07:47]CAPDU: 80 11 00 00 [11:07:47]Write to MH i2c: E2 08 00 DC 0C 80 11 00 00 00 00 00 00 62 [11:07:47]Write i2c OK [11:07:47]MH_I2C_Read... [11:07:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:07:47]Read from MH i2c: E2 [11:07:47]MH_I2C_Read... [11:07:47]Read from MH i2c: E2 17 00 [11:07:47]MH_I2C_Read... [11:07:47]Read from MH i2c: E2 17 00 DC 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B2 [11:07:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:07:47]wFMCommunicate OK [11:07:47]requested_item fd.num is exist - process it [11:07:47]SAM_PROTO_GetFieldsCounters [11:07:47]wFMCommunicate request_size=4 [11:07:47]MH_SAM_APDU [11:07:47]CAPDU: 80 13 00 00 [11:07:47]Write to MH i2c: E2 08 00 DD 0C 80 13 00 00 00 00 00 00 65 [11:07:47]Write i2c OK [11:07:47]MH_I2C_Read... [11:07:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:07:47]Read from MH i2c: E2 [11:07:47]MH_I2C_Read... [11:07:47]Read from MH i2c: E2 62 00 [11:07:47]MH_I2C_Read... [11:07:47]Read from MH i2c: E2 62 00 DD 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 32 94 00 00 0E 04 04 00 29 02 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 B3 [11:07:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 32 94 00 00 0E 04 04 00 29 02 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 [11:07:47]wFMCommunicate OK [11:07:47]SAM_PROTO_GetFieldsCounters done [11:07:47]requested_item shift.num is exist - process it [11:07:47]requested_item shift.opened is exist - process it [11:07:47]req_shift_opened [11:07:47]FM_GetShiftState [11:07:47]SAM_PROTO_GetShiftState [11:07:47]wFMCommunicate request_size=4 [11:07:47]MH_SAM_APDU [11:07:47]CAPDU: 80 13 01 00 [11:07:47]Write to MH i2c: E2 08 00 DE 0C 80 13 01 00 00 00 00 00 67 [11:07:47]Write i2c OK [11:07:47]MH_I2C_Read... [11:07:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:07:47]Read from MH i2c: E2 [11:07:47]MH_I2C_Read... [11:07:47]Read from MH i2c: E2 0E 00 [11:07:47]MH_I2C_Read... [11:07:47]Read from MH i2c: E2 0E 00 DE 0C 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 28 [11:07:47]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [11:07:47]wFMCommunicate OK [11:07:47]SAM_PROTO_GetShiftState done [11:07:47]FM_GetShiftState done [11:07:47]req_shift_opened done [11:07:47]requested_item shift.open_date is exist - process it [11:07:47]req_shift_open_date [11:07:47]req_shift_open_date done [11:07:47]produce_requested_data done [11:07:47]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37938,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [11:07:47]process_action_free close_receipt [11:07:47]json_value_free [11:07:47]json_value_free done [11:07:47]process_json_proto returns [11:07:47]Send response to host [11:07:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37938,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [11:07:47]free response buf [11:07:47]execute_script done [11:07:47]execute_script returns [11:07:47]free content buf [11:07:47]Sock 9.Close socket [11:07:47]Sock 9.Thread stoped [11:07:47]OFD Sender: No OFD packet to send [11:07:52]OFD Sender: No OFD packet to send [11:07:57]OFD Sender: No OFD packet to send [11:08:02]OFD Sender: No OFD packet to send [11:08:07]OFD Sender: No OFD packet to send [11:08:12]OFD Sender: No OFD packet to send [11:08:17]OFD Sender: No OFD packet to send [11:08:22]OFD Sender: No OFD packet to send [11:08:27]OFD Sender: No OFD packet to send [11:08:32]OFD Sender: No OFD packet to send [11:08:37]OFD Sender: No OFD packet to send [11:08:42]OFD Sender: No OFD packet to send [11:08:47]OFD Sender: No OFD packet to send [11:08:52]OFD Sender: No OFD packet to send [11:08:57]OFD Sender: No OFD packet to send [11:09:02]OFD Sender: No OFD packet to send [11:09:07]OFD Sender: No OFD packet to send [11:09:12]OFD Sender: No OFD packet to send [11:09:17]OFD Sender: No OFD packet to send [11:09:22]OFD Sender: No OFD packet to send [11:09:27]OFD Sender: No OFD packet to send [11:09:32]OFD Sender: No OFD packet to send [11:09:37]OFD Sender: No OFD packet to send [11:09:42]OFD Sender: No OFD packet to send [11:09:47]OFD Sender: No OFD packet to send [11:09:52]OFD Sender: No OFD packet to send [11:09:57]OFD Sender: No OFD packet to send [11:10:02]OFD Sender: No OFD packet to send [11:10:07]OFD Sender: No OFD packet to send [11:10:12]OFD Sender: No OFD packet to send [11:10:17]OFD Sender: No OFD packet to send [11:10:23]OFD Sender: No OFD packet to send [11:10:28]OFD Sender: No OFD packet to send [11:10:33]OFD Sender: No OFD packet to send [11:10:38]OFD Sender: No OFD packet to send [11:10:43]OFD Sender: No OFD packet to send [11:10:48]OFD Sender: No OFD packet to send [11:10:53]OFD Sender: No OFD packet to send [11:10:58]OFD Sender: No OFD packet to send [11:11:03]OFD Sender: No OFD packet to send [11:11:08]OFD Sender: No OFD packet to send [11:11:13]OFD Sender: No OFD packet to send [11:11:18]OFD Sender: No OFD packet to send [11:11:23]OFD Sender: No OFD packet to send [11:11:28]OFD Sender: No OFD packet to send [11:11:33]OFD Sender: No OFD packet to send [11:11:38]OFD Sender: No OFD packet to send [11:11:43]OFD Sender: No OFD packet to send [11:11:48]OFD Sender: No OFD packet to send [11:11:53]OFD Sender: No OFD packet to send [11:11:58]OFD Sender: No OFD packet to send [11:12:03]OFD Sender: No OFD packet to send [11:12:08]OFD Sender: No OFD packet to send [11:12:13]OFD Sender: No OFD packet to send [11:12:18]OFD Sender: No OFD packet to send [11:12:23]OFD Sender: No OFD packet to send [11:12:28]OFD Sender: No OFD packet to send [11:12:33]OFD Sender: No OFD packet to send [11:12:38]OFD Sender: No OFD packet to send [11:12:43]OFD Sender: No OFD packet to send [11:12:48]OFD Sender: No OFD packet to send [11:12:53]OFD Sender: No OFD packet to send [11:12:58]OFD Sender: No OFD packet to send [11:13:03]OFD Sender: No OFD packet to send [11:13:08]OFD Sender: No OFD packet to send [11:13:13]OFD Sender: No OFD packet to send [11:13:18]OFD Sender: No OFD packet to send [11:13:23]OFD Sender: No OFD packet to send [11:13:28]OFD Sender: No OFD packet to send [11:13:33]OFD Sender: No OFD packet to send [11:13:38]OFD Sender: No OFD packet to send [11:13:43]OFD Sender: No OFD packet to send [11:13:48]OFD Sender: No OFD packet to send [11:13:53]OFD Sender: No OFD packet to send [11:13:58]OFD Sender: No OFD packet to send [11:14:03]OFD Sender: No OFD packet to send [11:14:08]OFD Sender: No OFD packet to send [11:14:13]OFD Sender: No OFD packet to send [11:14:18]OFD Sender: No OFD packet to send [11:14:23]OFD Sender: No OFD packet to send [11:14:28]OFD Sender: No OFD packet to send [11:14:33]OFD Sender: No OFD packet to send [11:14:38]OFD Sender: No OFD packet to send [11:14:43]OFD Sender: No OFD packet to send [11:14:48]OFD Sender: No OFD packet to send [11:14:53]OFD Sender: No OFD packet to send [11:14:58]OFD Sender: No OFD packet to send [11:15:00]accept exits with 7 [11:15:00]New connection [11:15:00]New thread 3067207012 created [11:15:00]Thread 3067063652 joined [11:15:00]Waiting for new connection... [11:15:00] Sock 7.Parse request [11:15:00]Sock 7.Check first char [11:15:00]Sock 7.First char is OK [11:15:00]request: POST /json_proto HTTP/1.0 [11:15:00]Method: POST [11:15:00]URL: /json_proto [11:15:00]Method is POST - this is cgi request [11:15:00]url: /json_proto [11:15:00]query_string will be loaded in cgi processing [11:15:00]execute_cgi json_proto POST (null) [11:15:00]execute_cgi path=json_proto method=POST [11:15:00]POST find Content-Length [11:15:00]Host: 172.17.40.196:8080 [11:15:00]Content-Length: 694 [11:15:00]Content-Type: application/json [11:15:00] [11:15:00]POST finish read [11:15:00]Found Content-Length = 694 [11:15:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35238", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 5.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:15:00]execute_script... [11:15:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35238", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 5.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:15:00]POST & json_proto [11:15:00]process_json_proto [11:15:00]json parsed OK: [11:15:00]protocol is kg_v1.0 [11:15:00]action value=close_receipt [11:15:00]process_action close_receipt [11:15:00]cmd_close_receipt [11:15:00]MH_GetDate [11:15:00]Write to MH i2c: F0 00 00 DF 0C DA [11:15:00]Write i2c OK [11:15:00]MH_I2C_Read... [11:15:00]Read from MH i2c: F0 [11:15:00]MH_I2C_Read... [11:15:00]Read from MH i2c: F0 09 00 [11:15:00]MH_I2C_Read... [11:15:00]Read from MH i2c: F0 09 00 DF 0C 00 38 15 22 67 5B 68 A1 66 83 [11:15:00]GetLastDocTimeStamp 1730286467 [11:15:00]current date 1730286904 [11:15:00]FM_GetShiftState [11:15:00]SAM_PROTO_GetShiftState [11:15:00]wFMCommunicate request_size=4 [11:15:00]MH_SAM_APDU [11:15:00]CAPDU: 80 13 01 00 [11:15:00]Write to MH i2c: E2 08 00 E0 0C 80 13 01 00 00 00 00 00 69 [11:15:00]Write i2c OK [11:15:00]MH_I2C_Read... [11:15:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:15:00]Read from MH i2c: E2 [11:15:00]MH_I2C_Read... [11:15:00]Read from MH i2c: E2 0E 00 [11:15:00]MH_I2C_Read... [11:15:00]Read from MH i2c: E2 0E 00 E0 0C 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 2A [11:15:00]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [11:15:00]wFMCommunicate OK [11:15:00]SAM_PROTO_GetShiftState done [11:15:00]FM_GetShiftState done [11:15:00]opened in 1730246837 [11:15:00]opened+sec_in_day 1730333237 [11:15:00]quantity*price = 7500 [11:15:00]sum+1 = 7501 [11:15:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 21 30.10.2024 11:15 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37939 ФПД: 157002095610597 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T111504&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37939&fm=157002095610597&tin=02508201610067®Number=0000000000091684&sum=7500 0 [11:15:01]StoreToDocumentArchive [11:15:01]shift 553 fd 37939 [11:15:01]save to /storage/0553/doc_00037939 [11:15:01]save last doc name /storage/0553/doc_00037939 to /storage/kkm_last_doc_name [11:15:01]save OK [11:15:01]Clear old archive folders... [11:15:01]ProcessDocumentItem done err = 0, tmpTLVsize=290 [11:15:01]tlvbuf is 018F75D0 [11:15:01]SAM_PROTO_ClearQueue [11:15:01]wFMCommunicate request_size=4 [11:15:01]MH_SAM_APDU [11:15:01]CAPDU: 80 09 00 00 [11:15:01]Write to MH i2c: E2 08 00 ED 0C 80 09 00 00 00 00 00 00 6B [11:15:01]Write i2c OK [11:15:01]MH_I2C_Read... [11:15:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:15:01]Read from MH i2c: E2 [11:15:01]MH_I2C_Read... [11:15:01]Read from MH i2c: E2 03 00 [11:15:01]MH_I2C_Read... [11:15:01]Read from MH i2c: E2 03 00 ED 0C 00 90 00 6D [11:15:01]RAPDU: 90 00 [11:15:01]wFMCommunicate OK [11:15:01]SAM_PROTO_ClearQueue done [11:15:01]KKMCreateOFDPacket [11:15:01]OFDProtocolAddRootSTLVToBuf [11:15:01]FM_MakeSignedData [11:15:01]FM_MakeSignedData [11:15:01]SAM_PROTO_SignData [11:15:01]wFMCommunicate request_size=4 [11:15:01]MH_SAM_APDU [11:15:01]CAPDU: 80 0D 01 02 [11:15:01]Write to MH i2c: E2 08 00 EE 0C 80 0D 01 02 00 00 00 00 73 [11:15:01]Write i2c OK [11:15:01]MH_I2C_Read... [11:15:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:15:01]Read from MH i2c: E2 [11:15:01]MH_I2C_Read... [11:15:01]Read from MH i2c: E2 03 00 [11:15:01]MH_I2C_Read... [11:15:01]Read from MH i2c: E2 03 00 EE 0C 00 90 00 6E [11:15:01]RAPDU: 90 00 [11:15:01]wFMCommunicate OK [11:15:01]wFMCommunicate request_size=255 [11:15:01]MH_SAM_APDU [11:15:01]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 38 15 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [11:15:01]Write to MH i2c: E2 02 01 EF 0C 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 38 15 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 44 [11:15:01]Write i2c OK [11:15:01]MH_I2C_Read... [11:15:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:15:01]Read from MH i2c: E2 [11:15:01]MH_I2C_Read... [11:15:01]Read from MH i2c: E2 03 00 [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: E2 03 00 EF 0C 00 90 00 6F [11:15:02]RAPDU: 90 00 [11:15:02]wFMCommunicate OK [11:15:02]wFMCommunicate request_size=49 [11:15:02]MH_SAM_APDU [11:15:02]CAPDU: 80 0D 02 02 2C 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 33 94 00 00 35 04 06 00 8E CA E6 23 4A E5 [11:15:02]Write to MH i2c: E2 34 00 F0 0C 80 0D 02 02 2C 00 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 33 94 00 00 35 04 06 00 8E CA E6 23 4A E5 00 00 FA [11:15:02]Write i2c OK [11:15:02]MH_I2C_Read... [11:15:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:15:02]Read from MH i2c: E2 [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: E2 03 00 [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: E2 03 00 F0 0C 00 90 00 70 [11:15:02]RAPDU: 90 00 [11:15:02]wFMCommunicate OK [11:15:02]wFMCommunicate request_size=4 [11:15:02]MH_SAM_APDU [11:15:02]CAPDU: 80 0D 03 02 [11:15:02]Write to MH i2c: E2 08 00 F1 0C 80 0D 03 02 00 00 00 00 78 [11:15:02]Write i2c OK [11:15:02]MH_I2C_Read... [11:15:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:15:02]Read from MH i2c: E2 [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: E2 0B 00 [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: E2 0B 00 F1 0C 00 EE CC 67 37 32 B2 4A 06 90 00 05 [11:15:02]RAPDU: EE CC 67 37 32 B2 4A 06 90 00 [11:15:02]wFMCommunicate OK [11:15:02]SAM_PROTO_SignData done [11:15:02]FM_MakeSignedData done [11:15:02]CreateOFDProtocolMessage [11:15:02]wFMCommunicate request_size=4 [11:15:02]MH_SAM_APDU [11:15:02]CAPDU: 80 11 00 00 [11:15:02]Write to MH i2c: E2 08 00 F2 0C 80 11 00 00 00 00 00 00 78 [11:15:02]Write i2c OK [11:15:02]MH_I2C_Read... [11:15:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:15:02]Read from MH i2c: E2 [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: E2 17 00 [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: E2 17 00 F2 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C8 [11:15:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:15:02]wFMCommunicate OK [11:15:02]CreateOFDProtocolMessage done [11:15:02]OFDSenderStorePacket 37939 [11:15:02]StoreOFDPacket docnum=37939 [11:15:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 36 01 00 00 CA 3A 2E 01 A1 F6 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 38 15 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 33 94 00 00 35 04 06 00 8E CA E6 23 4A E5 EE CC 67 37 32 B2 4A 06 [11:15:02]CheckFolder [11:15:02]dirname=/storage/ofd_packets [11:15:02]CheckFolder done [11:15:02]ProducePacketName [11:15:02]name=ofd_packets/00037939 [11:15:02]NVStorageSaveData ofd_packets/00037939 [11:15:02]File name is /storage/ofd_packets/00037939 [11:15:02]Write 340 bytes [11:15:02]NVStorageSaveData done [11:15:02]OFDSenderStorePacket done [11:15:02]KKMCreateOFDPacket done [11:15:02]NVStorageSaveData kkm_last_timestamp [11:15:02]File name is /storage/kkm_last_timestamp [11:15:02]Write 4 bytes [11:15:02]NVStorageSaveData done [11:15:02]ExternCall_PrintAddStr [11:15:02]wPrintStart [11:15:02]Write to MH i2c: 01 00 00 F3 0C FF [11:15:02]OFD Sender: Processing packet 37939 [packets to send 42, broken 41] [11:15:02]ProducePacketName [11:15:02]name=ofd_packets/00037939 [11:15:02]OFD Sender: To server: pG, [11:15:02]CommunicateWithHost lk.salyk.kg:30040 [11:15:02]ConnectInit lk.salyk.kg [11:15:02]Write i2c OK [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: 01 [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: 01 07 00 [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: 01 07 00 F3 0C 00 00 00 00 00 FF 0F 14 [11:15:02]RasterBufferAndPrint [11:15:02]line Счет N : (3)35238 [11:15:02]line ИНН: 02508201610067 [11:15:02]line Контрольно-Кассовый Чек [11:15:02]line ПРОДАЖА [11:15:02]line Товар: 4700000160013 [11:15:02]line Снек Курут индивидуальный [11:15:02]line 5.000 * 15.00 [11:15:02]line = 75.00 [11:15:02]line НДС 12% НСП 1% [11:15:02]line > о реализуемом товаре [11:15:02]line ИТОГО: 75.00 [11:15:02]line НСП 1% : 0.66 [11:15:02]line НДС 12% : 7.96 [11:15:02]line Наличными: 75.00 [11:15:02]line Безнал.: 0.00 [11:15:02]line Место: АЗС № 126 "Партнер Нефть" [11:15:02]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:15:02]line СНО: Общий режим [11:15:02]line Чек 21 30.10.2024 11:15 [11:15:02]line Смена: 553 ФФД: 1.0 [11:15:02]line ЗНМ: 0300000092 [11:15:02]line РНМ: 0000000000091684 [11:15:02]line Версия ККМ: 001 [11:15:02]line ФМ: 0000000000871841 [11:15:02]line ФД: 37939 [11:15:02]line ФПД: 157002095610597 [11:15:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T111504&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37939&fm=157002095610597&tin=02508201610067®Number=0000000000091684&sum=7500 [11:15:02]line 0 [11:15:02]written 0, free lines is 4095 [11:15:02]Write to MH i2c: 01 00 00 1B 0D 28 [11:15:02]Write i2c OK [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: 01 [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: 01 07 00 [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: 01 07 00 1B 0D 00 00 00 00 00 BB 0C F6 [11:15:02]RasterBufferAndPrint [11:15:02]line [11:15:02]line [11:15:02]line [11:15:02]line [11:15:02]line [11:15:02]written 0, free lines is 3263 [11:15:02]MH_Cut [11:15:02]Write to MH i2c: D1 01 00 22 0D 01 01 [11:15:02]Write i2c OK [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: D1 [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: D1 01 00 [11:15:02]MH_I2C_Read... [11:15:02]Read from MH i2c: D1 01 00 22 0D 00 00 [11:15:02]Write to MH i2c: 01 00 00 23 0D 30 [11:15:02]Write i2c OK [11:15:02]MH_I2C_Read... [11:15:03]*** Cut start [11:15:03]*** Partial cut [11:15:03]*** CUTSNS_PIN = 1 [11:15:03]*** CUTSNS_PIN = 0 [11:15:04]*** Brake cut motor [11:15:04]Read from MH i2c: 01 [11:15:04]MH_I2C_Read... [11:15:04]*** Stop cut motor [11:15:04]*** Cut end [11:15:04]Read from MH i2c: 01 07 00 [11:15:04]MH_I2C_Read... [11:15:04]Read from MH i2c: 01 07 00 23 0D 00 00 00 00 00 FF 0F 45 [11:15:04]process_action close_receipt done [11:15:04]requested_data is exist [11:15:04]produce_requested_data [11:15:04]requested_item fm.sn is exist - process it [11:15:04]wFMCommunicate request_size=4 [11:15:04]MH_SAM_APDU [11:15:04]CAPDU: 80 11 00 00 [11:15:04]Write to MH i2c: E2 08 00 24 0D 80 11 00 00 00 00 00 00 AB [11:15:04]Write i2c OK [11:15:04]MH_I2C_Read... [11:15:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:15:04]Read from MH i2c: E2 [11:15:04]MH_I2C_Read... [11:15:04]Read from MH i2c: E2 17 00 [11:15:04]MH_I2C_Read... [11:15:04]Read from MH i2c: E2 17 00 24 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 FB [11:15:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:15:04]wFMCommunicate OK [11:15:04]requested_item fd.num is exist - process it [11:15:04]SAM_PROTO_GetFieldsCounters [11:15:04]wFMCommunicate request_size=4 [11:15:04]MH_SAM_APDU [11:15:04]CAPDU: 80 13 00 00 [11:15:04]Write to MH i2c: E2 08 00 25 0D 80 13 00 00 00 00 00 00 AE [11:15:04]Write i2c OK [11:15:04]MH_I2C_Read... [11:15:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:15:04]Read from MH i2c: E2 [11:15:04]MH_I2C_Read... [11:15:04]Read from MH i2c: E2 62 00 [11:15:04]MH_I2C_Read... [11:15:04]Read from MH i2c: E2 62 00 25 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 33 94 00 00 0E 04 04 00 29 02 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 00 [11:15:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 33 94 00 00 0E 04 04 00 29 02 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 [11:15:04]wFMCommunicate OK [11:15:04]SAM_PROTO_GetFieldsCounters done [11:15:04]requested_item shift.num is exist - process it [11:15:04]requested_item shift.opened is exist - process it [11:15:04]req_shift_opened [11:15:04]FM_GetShiftState [11:15:04]SAM_PROTO_GetShiftState [11:15:04]wFMCommunicate request_size=4 [11:15:04]MH_SAM_APDU [11:15:04]CAPDU: 80 13 01 00 [11:15:04]Write to MH i2c: E2 08 00 26 0D 80 13 01 00 00 00 00 00 B0 [11:15:04]Write i2c OK [11:15:04]MH_I2C_Read... [11:15:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:15:04]Read from MH i2c: E2 [11:15:04]MH_I2C_Read... [11:15:04]Read from MH i2c: E2 0E 00 [11:15:04]MH_I2C_Read... [11:15:04]Read from MH i2c: E2 0E 00 26 0D 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 71 [11:15:04]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [11:15:04]wFMCommunicate OK [11:15:04]SAM_PROTO_GetShiftState done [11:15:04]FM_GetShiftState done [11:15:04]req_shift_opened done [11:15:04]requested_item shift.open_date is exist - process it [11:15:04]req_shift_open_date [11:15:04]req_shift_open_date done [11:15:04]produce_requested_data done [11:15:04]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37939,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [11:15:04]process_action_free close_receipt [11:15:04]json_value_free [11:15:04]json_value_free done [11:15:04]process_json_proto returns [11:15:04]Send response to host [11:15:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37939,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [11:15:04]free response buf [11:15:04]execute_script done [11:15:04]execute_script returns [11:15:04]free content buf [11:15:04]Sock 7.Close socket [11:15:04]Sock 7.Thread stoped [11:17:12]ConnectInit Can't connect to host [11:17:12]CommunicateWithHost connect error [11:17:12]CommunicateWithHost err = -1 [11:17:12]OFD Sender: Server communicate error [11:17:17]OFD Sender: Processing packet 37939 [packets to send 42, broken 41] [11:17:17]ProducePacketName [11:17:17]name=ofd_packets/00037939 [11:17:17]OFD Sender: To server: pG, [11:17:17]CommunicateWithHost lk.salyk.kg:30040 [11:17:17]ConnectInit lk.salyk.kg [11:17:18]Connected sock=7 [11:17:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 36 01 00 00 CA 3A 2E 01 A1 F6 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 38 15 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 33 94 00 00 35 04 06 00 8E CA E6 23 4A E5 EE CC 67 37 32 B2 4A 06 [11:17:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 44 E8 47 00 77 AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 33 94 00 00 F4 03 04 00 AE C0 21 67 B6 04 01 00 00 10 31 6D A2 50 2B 18 34 [11:17:18]CommunicateWithHost err = 0 [11:17:18]CheckOFDResponse [11:17:18]1017 (14) - 77093643461234 [11:17:18]1041 (16) - 0000000000871841 [11:17:18]1040 (4) - 37939 [11:17:18]1012 (4) - 30.10.2024 05:14 [11:17:18]1206 (1) - 0 [11:17:18]OFD Sender: Remove packet 37939 [11:17:18]ProducePacketName [11:17:18]name=ofd_packets/00037939 [11:17:18]NVStorageDeleteData [11:17:19]OFD Sender: No OFD packet to send [11:17:24]OFD Sender: No OFD packet to send [11:17:29]OFD Sender: No OFD packet to send [11:17:34]OFD Sender: No OFD packet to send [11:17:39]OFD Sender: No OFD packet to send [11:17:44]OFD Sender: No OFD packet to send [11:17:49]OFD Sender: No OFD packet to send [11:17:54]OFD Sender: No OFD packet to send [11:17:59]OFD Sender: No OFD packet to send [11:18:04]OFD Sender: No OFD packet to send [11:18:09]OFD Sender: No OFD packet to send [11:18:14]OFD Sender: No OFD packet to send [11:18:19]OFD Sender: No OFD packet to send [11:18:24]OFD Sender: No OFD packet to send [11:18:29]OFD Sender: No OFD packet to send [11:18:34]OFD Sender: No OFD packet to send [11:18:39]OFD Sender: No OFD packet to send [11:18:44]OFD Sender: No OFD packet to send [11:18:49]OFD Sender: No OFD packet to send [11:18:54]OFD Sender: No OFD packet to send [11:18:59]OFD Sender: No OFD packet to send [11:19:04]OFD Sender: No OFD packet to send [11:19:09]OFD Sender: No OFD packet to send [11:19:14]OFD Sender: No OFD packet to send [11:19:19]OFD Sender: No OFD packet to send [11:19:24]OFD Sender: No OFD packet to send [11:19:29]OFD Sender: No OFD packet to send [11:19:34]OFD Sender: No OFD packet to send [11:19:39]OFD Sender: No OFD packet to send [11:19:44]OFD Sender: No OFD packet to send [11:19:49]OFD Sender: No OFD packet to send [11:19:54]OFD Sender: No OFD packet to send [11:19:59]OFD Sender: No OFD packet to send [11:20:04]OFD Sender: No OFD packet to send [11:20:09]OFD Sender: No OFD packet to send [11:20:14]OFD Sender: No OFD packet to send [11:20:19]OFD Sender: No OFD packet to send [11:20:24]OFD Sender: No OFD packet to send [11:20:29]OFD Sender: No OFD packet to send [11:20:34]OFD Sender: No OFD packet to send [11:20:39]OFD Sender: No OFD packet to send [11:20:44]OFD Sender: No OFD packet to send [11:20:49]OFD Sender: No OFD packet to send [11:20:54]OFD Sender: No OFD packet to send [11:20:59]OFD Sender: No OFD packet to send [11:21:04]OFD Sender: No OFD packet to send [11:21:09]OFD Sender: No OFD packet to send [11:21:14]OFD Sender: No OFD packet to send [11:21:19]OFD Sender: No OFD packet to send [11:21:24]OFD Sender: No OFD packet to send [11:21:29]OFD Sender: No OFD packet to send [11:21:34]OFD Sender: No OFD packet to send [11:21:39]OFD Sender: No OFD packet to send [11:21:44]OFD Sender: No OFD packet to send [11:21:49]OFD Sender: No OFD packet to send [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:24]OFD Sender: No OFD packet to send [11:22:29]OFD Sender: No OFD packet to send [11:22:34]OFD Sender: No OFD packet to send [11:22:39]OFD Sender: No OFD packet to send [11:22:44]OFD Sender: No OFD packet to send [11:22:49]OFD Sender: No OFD packet to send [11:22:54]OFD Sender: No OFD packet to send [11:22:59]OFD Sender: No OFD packet to send [11:23:04]OFD Sender: No OFD packet to send [11:23:09]OFD Sender: No OFD packet to send [11:23:14]OFD Sender: No OFD packet to send [11:23:19]OFD Sender: No OFD packet to send [11:23:24]OFD Sender: No OFD packet to send [11:23:29]OFD Sender: No OFD packet to send [11:23:34]OFD Sender: No OFD packet to send [11:23:39]OFD Sender: No OFD packet to send [11:23:44]OFD Sender: No OFD packet to send [11:23:49]OFD Sender: No OFD packet to send [11:23:54]OFD Sender: No OFD packet to send [11:23:59]OFD Sender: No OFD packet to send [11:24:04]OFD Sender: No OFD packet to send [11:24:09]OFD Sender: No OFD packet to send [11:24:14]OFD Sender: No OFD packet to send [11:24:19]OFD Sender: No OFD packet to send [11:24:24]OFD Sender: No OFD packet to send [11:24:29]OFD Sender: No OFD packet to send [11:24:34]OFD Sender: No OFD packet to send [11:24:39]OFD Sender: No OFD packet to send [11:24:44]OFD Sender: No OFD packet to send [11:24:49]OFD Sender: No OFD packet to send [11:24:54]OFD Sender: No OFD packet to send [11:24:59]OFD Sender: No OFD packet to send [11:25:04]OFD Sender: No OFD packet to send [11:25:09]OFD Sender: No OFD packet to send [11:25:14]OFD Sender: No OFD packet to send [11:25:19]OFD Sender: No OFD packet to send [11:25:24]OFD Sender: No OFD packet to send [11:25:29]OFD Sender: No OFD packet to send [11:25:34]OFD Sender: No OFD packet to send [11:25:39]OFD Sender: No OFD packet to send [11:25:44]OFD Sender: No OFD packet to send [11:25:49]OFD Sender: No OFD packet to send [11:25:54]OFD Sender: No OFD packet to send [11:25:59]OFD Sender: No OFD packet to send [11:26:04]OFD Sender: No OFD packet to send [11:26:09]OFD Sender: No OFD packet to send [11:26:14]OFD Sender: No OFD packet to send [11:26:19]OFD Sender: No OFD packet to send [11:26:24]OFD Sender: No OFD packet to send [11:26:29]OFD Sender: No OFD packet to send [11:26:34]OFD Sender: No OFD packet to send [11:26:39]OFD Sender: No OFD packet to send [11:26:44]OFD Sender: No OFD packet to send [11:26:49]OFD Sender: No OFD packet to send [11:26:54]OFD Sender: No OFD packet to send [11:26:59]OFD Sender: No OFD packet to send [11:27:04]OFD Sender: No OFD packet to send [11:27:09]OFD Sender: No OFD packet to send [11:27:14]OFD Sender: No OFD packet to send [11:27:19]OFD Sender: No OFD packet to send [11:27:24]OFD Sender: No OFD packet to send [11:27:29]OFD Sender: No OFD packet to send [11:27:34]OFD Sender: No OFD packet to send [11:27:39]OFD Sender: No OFD packet to send [11:27:44]OFD Sender: No OFD packet to send [11:27:49]OFD Sender: No OFD packet to send [11:27:54]OFD Sender: No OFD packet to send [11:27:59]OFD Sender: No OFD packet to send [11:28:04]OFD Sender: No OFD packet to send [11:28:09]OFD Sender: No OFD packet to send [11:28:14]OFD Sender: No OFD packet to send [11:28:19]OFD Sender: No OFD packet to send [11:28:24]OFD Sender: No OFD packet to send [11:28:29]OFD Sender: No OFD packet to send [11:28:34]OFD Sender: No OFD packet to send [11:28:39]OFD Sender: No OFD packet to send [11:28:44]OFD Sender: No OFD packet to send [11:28:49]OFD Sender: No OFD packet to send [11:28:54]OFD Sender: No OFD packet to send [11:28:59]OFD Sender: No OFD packet to send [11:29:04]OFD Sender: No OFD packet to send [11:29:09]OFD Sender: No OFD packet to send [11:29:14]OFD Sender: No OFD packet to send [11:29:19]OFD Sender: No OFD packet to send [11:29:24]OFD Sender: No OFD packet to send [11:29:29]OFD Sender: No OFD packet to send [11:29:34]OFD Sender: No OFD packet to send [11:29:39]OFD Sender: No OFD packet to send [11:29:44]OFD Sender: No OFD packet to send [11:29:49]OFD Sender: No OFD packet to send [11:29:54]OFD Sender: No OFD packet to send [11:29:59]OFD Sender: No OFD packet to send [11:30:04]OFD Sender: No OFD packet to send [11:30:09]OFD Sender: No OFD packet to send [11:30:14]OFD Sender: No OFD packet to send [11:30:19]OFD Sender: No OFD packet to send [11:30:24]OFD Sender: No OFD packet to send [11:30:29]OFD Sender: No OFD packet to send [11:30:34]OFD Sender: No OFD packet to send [11:30:39]OFD Sender: No OFD packet to send [11:30:44]OFD Sender: No OFD packet to send [11:30:49]OFD Sender: No OFD packet to send [11:30:54]OFD Sender: No OFD packet to send [11:30:59]OFD Sender: No OFD packet to send [11:31:04]OFD Sender: No OFD packet to send [11:31:09]OFD Sender: No OFD packet to send [11:31:14]OFD Sender: No OFD packet to send [11:31:19]OFD Sender: No OFD packet to send [11:31:24]OFD Sender: No OFD packet to send [11:31:29]OFD Sender: No OFD packet to send [11:31:34]OFD Sender: No OFD packet to send [11:31:39]OFD Sender: No OFD packet to send [11:31:44]OFD Sender: No OFD packet to send [11:31:49]OFD Sender: No OFD packet to send [11:31:54]OFD Sender: No OFD packet to send [11:31:59]OFD Sender: No OFD packet to send [11:32:04]OFD Sender: No OFD packet to send [11:32:09]OFD Sender: No OFD packet to send [11:32:14]OFD Sender: No OFD packet to send [11:32:19]OFD Sender: No OFD packet to send [11:32:24]OFD Sender: No OFD packet to send [11:32:29]OFD Sender: No OFD packet to send [11:32:34]OFD Sender: No OFD packet to send [11:32:39]OFD Sender: No OFD packet to send [11:32:44]OFD Sender: No OFD packet to send [11:32:49]OFD Sender: No OFD packet to send [11:32:54]OFD Sender: No OFD packet to send [11:32:59]OFD Sender: No OFD packet to send [11:33:04]OFD Sender: No OFD packet to send [11:33:09]OFD Sender: No OFD packet to send [11:33:14]OFD Sender: No OFD packet to send [11:33:19]OFD Sender: No OFD packet to send [11:33:24]OFD Sender: No OFD packet to send [11:33:29]OFD Sender: No OFD packet to send [11:33:34]OFD Sender: No OFD packet to send [11:33:39]OFD Sender: No OFD packet to send [11:33:44]OFD Sender: No OFD packet to send [11:33:49]OFD Sender: No OFD packet to send [11:33:54]OFD Sender: No OFD packet to send [11:33:59]OFD Sender: No OFD packet to send [11:34:04]OFD Sender: No OFD packet to send [11:34:09]OFD Sender: No OFD packet to send [11:34:14]OFD Sender: No OFD packet to send [11:34:19]OFD Sender: No OFD packet to send [11:34:24]OFD Sender: No OFD packet to send [11:34:30]OFD Sender: No OFD packet to send [11:34:35]OFD Sender: No OFD packet to send [11:34:40]OFD Sender: No OFD packet to send [11:34:45]OFD Sender: No OFD packet to send [11:34:50]OFD Sender: No OFD packet to send [11:34:55]OFD Sender: No OFD packet to send [11:35:00]OFD Sender: No OFD packet to send [11:35:05]OFD Sender: No OFD packet to send [11:35:10]OFD Sender: No OFD packet to send [11:35:15]OFD Sender: No OFD packet to send [11:35:20]OFD Sender: No OFD packet to send [11:35:25]OFD Sender: No OFD packet to send [11:35:30]OFD Sender: No OFD packet to send [11:35:35]OFD Sender: No OFD packet to send [11:35:40]OFD Sender: No OFD packet to send [11:35:45]OFD Sender: No OFD packet to send [11:35:50]OFD Sender: No OFD packet to send [11:35:55]OFD Sender: No OFD packet to send [11:36:00]OFD Sender: No OFD packet to send [11:36:05]OFD Sender: No OFD packet to send [11:36:10]OFD Sender: No OFD packet to send [11:36:15]OFD Sender: No OFD packet to send [11:36:20]OFD Sender: No OFD packet to send [11:36:21]accept exits with 9 [11:36:21]New connection [11:36:21]New thread 3067063652 created [11:36:21]Thread 3067207012 joined [11:36:21]Waiting for new connection... [11:36:21] Sock 9.Parse request [11:36:21]Sock 9.Check first char [11:36:21]Sock 9.First char is OK [11:36:21]request: POST /json_proto HTTP/1.0 [11:36:21]Method: POST [11:36:21]URL: /json_proto [11:36:21]Method is POST - this is cgi request [11:36:21]url: /json_proto [11:36:21]query_string will be loaded in cgi processing [11:36:21]execute_cgi json_proto POST (null) [11:36:21]execute_cgi path=json_proto method=POST [11:36:21]POST find Content-Length [11:36:21]Host: 172.17.40.196:8080 [11:36:21]Content-Length: 621 [11:36:21]Content-Type: application/json [11:36:21] [11:36:21]POST finish read [11:36:21]Found Content-Length = 621 [11:36:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35239", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:36:21]execute_script... [11:36:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35239", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:36:21]POST & json_proto [11:36:21]process_json_proto [11:36:21]json parsed OK: [11:36:21]protocol is kg_v1.0 [11:36:21]action value=close_receipt [11:36:21]process_action close_receipt [11:36:21]cmd_close_receipt [11:36:21]MH_GetDate [11:36:21]Write to MH i2c: F0 00 00 27 0D 23 [11:36:21]Write i2c OK [11:36:21]MH_I2C_Read... [11:36:21]Read from MH i2c: F0 [11:36:21]MH_I2C_Read... [11:36:21]Read from MH i2c: F0 09 00 [11:36:21]MH_I2C_Read... [11:36:21]Read from MH i2c: F0 09 00 27 0D 00 39 1A 22 67 5B 68 A1 66 D2 [11:36:21]GetLastDocTimeStamp 1730286904 [11:36:21]current date 1730288185 [11:36:21]FM_GetShiftState [11:36:21]SAM_PROTO_GetShiftState [11:36:21]wFMCommunicate request_size=4 [11:36:21]MH_SAM_APDU [11:36:21]CAPDU: 80 13 01 00 [11:36:21]Write to MH i2c: E2 08 00 28 0D 80 13 01 00 00 00 00 00 B2 [11:36:21]Write i2c OK [11:36:21]MH_I2C_Read... [11:36:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:21]Read from MH i2c: E2 [11:36:21]MH_I2C_Read... [11:36:21]Read from MH i2c: E2 0E 00 [11:36:21]MH_I2C_Read... [11:36:21]Read from MH i2c: E2 0E 00 28 0D 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 73 [11:36:21]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [11:36:21]wFMCommunicate OK [11:36:21]SAM_PROTO_GetShiftState done [11:36:21]FM_GetShiftState done [11:36:21]opened in 1730246837 [11:36:21]opened+sec_in_day 1730333237 [11:36:21]quantity*price = 16000 [11:36:21]sum+1 = 16001 [11:36:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 22 30.10.2024 11:36 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37940 ФПД: 156669310134254 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T113625&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37940&fm=156669310134254&tin=02508201610067®Number=0000000000091684&sum=16000 0 [11:36:22]StoreToDocumentArchive [11:36:22]shift 553 fd 37940 [11:36:22]save to /storage/0553/doc_00037940 [11:36:22]save last doc name /storage/0553/doc_00037940 to /storage/kkm_last_doc_name [11:36:22]save OK [11:36:22]Clear old archive folders... [11:36:22]ProcessDocumentItem done err = 0, tmpTLVsize=274 [11:36:22]tlvbuf is 018F7520 [11:36:22]SAM_PROTO_ClearQueue [11:36:22]wFMCommunicate request_size=4 [11:36:22]MH_SAM_APDU [11:36:22]CAPDU: 80 09 00 00 [11:36:22]Write to MH i2c: E2 08 00 35 0D 80 09 00 00 00 00 00 00 B4 [11:36:22]Write i2c OK [11:36:22]MH_I2C_Read... [11:36:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:36:22]Read from MH i2c: E2 [11:36:22]MH_I2C_Read... [11:36:22]Read from MH i2c: E2 03 00 [11:36:22]MH_I2C_Read... [11:36:22]Read from MH i2c: E2 03 00 35 0D 00 90 00 B6 [11:36:22]RAPDU: 90 00 [11:36:22]wFMCommunicate OK [11:36:22]SAM_PROTO_ClearQueue done [11:36:22]KKMCreateOFDPacket [11:36:22]OFDProtocolAddRootSTLVToBuf [11:36:22]FM_MakeSignedData [11:36:22]FM_MakeSignedData [11:36:22]SAM_PROTO_SignData [11:36:22]wFMCommunicate request_size=4 [11:36:22]MH_SAM_APDU [11:36:22]CAPDU: 80 0D 01 02 [11:36:22]Write to MH i2c: E2 08 00 36 0D 80 0D 01 02 00 00 00 00 BC [11:36:22]Write i2c OK [11:36:22]MH_I2C_Read... [11:36:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:36:22]Read from MH i2c: E2 [11:36:22]MH_I2C_Read... [11:36:22]Read from MH i2c: E2 03 00 [11:36:22]MH_I2C_Read... [11:36:22]Read from MH i2c: E2 03 00 36 0D 00 90 00 B7 [11:36:22]RAPDU: 90 00 [11:36:22]wFMCommunicate OK [11:36:22]wFMCommunicate request_size=255 [11:36:22]MH_SAM_APDU [11:36:22]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 39 1A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [11:36:22]Write to MH i2c: E2 02 01 37 0D 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 39 1A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 2D [11:36:22]Write i2c OK [11:36:22]MH_I2C_Read... [11:36:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:22]Read from MH i2c: E2 [11:36:22]MH_I2C_Read... [11:36:22]Read from MH i2c: E2 03 00 [11:36:22]MH_I2C_Read... [11:36:22]Read from MH i2c: E2 03 00 37 0D 00 90 00 B8 [11:36:22]RAPDU: 90 00 [11:36:22]wFMCommunicate OK [11:36:22]wFMCommunicate request_size=33 [11:36:22]MH_SAM_APDU [11:36:22]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 34 94 00 00 35 04 06 00 8E 7D 6A 93 E7 EE [11:36:22]Write to MH i2c: E2 24 00 38 0D 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 34 94 00 00 35 04 06 00 8E 7D 6A 93 E7 EE 00 00 F0 [11:36:22]Write i2c OK [11:36:22]MH_I2C_Read... [11:36:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:22]Read from MH i2c: E2 [11:36:22]MH_I2C_Read... [11:36:22]Read from MH i2c: E2 03 00 [11:36:22]MH_I2C_Read... [11:36:22]Read from MH i2c: E2 03 00 38 0D 00 90 00 B9 [11:36:22]RAPDU: 90 00 [11:36:22]wFMCommunicate OK [11:36:22]wFMCommunicate request_size=4 [11:36:22]MH_SAM_APDU [11:36:22]CAPDU: 80 0D 03 02 [11:36:22]Write to MH i2c: E2 08 00 39 0D 80 0D 03 02 00 00 00 00 C1 [11:36:22]Write i2c OK [11:36:22]MH_I2C_Read... [11:36:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:36:22]Read from MH i2c: E2 [11:36:22]MH_I2C_Read... [11:36:22]Read from MH i2c: E2 0B 00 [11:36:22]MH_I2C_Read... [11:36:22]Read from MH i2c: E2 0B 00 39 0D 00 29 41 D8 3E 1B 47 F7 7F 90 00 1A [11:36:23]RAPDU: 29 41 D8 3E 1B 47 F7 7F 90 00 [11:36:23]wFMCommunicate OK [11:36:23]SAM_PROTO_SignData done [11:36:23]FM_MakeSignedData done [11:36:23]CreateOFDProtocolMessage [11:36:23]wFMCommunicate request_size=4 [11:36:23]MH_SAM_APDU [11:36:23]CAPDU: 80 11 00 00 [11:36:23]Write to MH i2c: E2 08 00 3A 0D 80 11 00 00 00 00 00 00 C1 [11:36:23]Write i2c OK [11:36:23]MH_I2C_Read... [11:36:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:23]Read from MH i2c: E2 [11:36:23]MH_I2C_Read... [11:36:23]Read from MH i2c: E2 17 00 [11:36:23]MH_I2C_Read... [11:36:23]Read from MH i2c: E2 17 00 3A 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 11 [11:36:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:36:23]wFMCommunicate OK [11:36:23]CreateOFDProtocolMessage done [11:36:23]OFDSenderStorePacket 37940 [11:36:23]StoreOFDPacket docnum=37940 [11:36:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 B5 72 1E 01 C5 67 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 39 1A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 34 94 00 00 35 04 06 00 8E 7D 6A 93 E7 EE 29 41 D8 3E 1B 47 F7 7F [11:36:23]CheckFolder [11:36:23]dirname=/storage/ofd_packets [11:36:23]CheckFolder done [11:36:23]ProducePacketName [11:36:23]name=ofd_packets/00037940 [11:36:23]NVStorageSaveData ofd_packets/00037940 [11:36:23]File name is /storage/ofd_packets/00037940 [11:36:23]Write 324 bytes [11:36:23]NVStorageSaveData done [11:36:23]OFDSenderStorePacket done [11:36:23]KKMCreateOFDPacket done [11:36:23]NVStorageSaveData kkm_last_timestamp [11:36:23]File name is /storage/kkm_last_timestamp [11:36:23]Write 4 bytes [11:36:23]NVStorageSaveData done [11:36:23]ExternCall_PrintAddStr [11:36:23]wPrintStart [11:36:23]Write to MH i2c: 01 00 00 3B 0D 48 [11:36:23]Write i2c OK [11:36:23]MH_I2C_Read... [11:36:23]Read from MH i2c: 01 [11:36:23]MH_I2C_Read... [11:36:23]Read from MH i2c: 01 07 00 [11:36:23]MH_I2C_Read... [11:36:23]Read from MH i2c: 01 07 00 3B 0D 00 00 00 00 00 FF 0F 5D [11:36:23]RasterBufferAndPrint [11:36:23]line Счет N : (3)35239 [11:36:23]line ИНН: 02508201610067 [11:36:23]line Контрольно-Кассовый Чек [11:36:23]line ПРОДАЖА [11:36:23]line Товар: 48741958 [11:36:23]line Сигареты Parliament Aqua Blue [11:36:23]line 1.000 * 160.00 [11:36:23]line = 160.00 [11:36:23]line НДС 12% НСП 1% [11:36:23]line > о реализуемом товаре [11:36:23]line ИТОГО: 160.00 [11:36:23]line НСП 1% : 1.42 [11:36:23]line НДС 12% : 16.99 [11:36:23]line Наличными: 160.00 [11:36:23]line Безнал.: 0.00 [11:36:23]line Место: АЗС № 126 "Партнер Нефть" [11:36:23]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:36:23]line СНО: Общий режим [11:36:23]line Чек 22 30.10.2024 11:36 [11:36:23]line Смена: 553 ФФД: 1.0 [11:36:23]line ЗНМ: 0300000092 [11:36:23]line РНМ: 0000000000091684 [11:36:23]line Версия ККМ: 001 [11:36:23]line ФМ: 0000000000871841 [11:36:23]line ФД: 37940 [11:36:23]line ФПД: 156669310134254 [11:36:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T113625&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37940&fm=156669310134254&tin=02508201610067®Number=0000000000091684&sum=16000 [11:36:23]line 0 [11:36:23]written 0, free lines is 4095 [11:36:23]OFD Sender: Processing packet 37940 [packets to send 42, broken 41] [11:36:23]ProducePacketName [11:36:23]name=ofd_packets/00037940 [11:36:23]OFD Sender: To server: pG, [11:36:23]CommunicateWithHost lk.salyk.kg:30040 [11:36:23]ConnectInit lk.salyk.kg [11:36:23]Connected sock=10 [11:36:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 B5 72 1E 01 C5 67 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 39 1A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 34 94 00 00 35 04 06 00 8E 7D 6A 93 E7 EE 29 41 D8 3E 1B 47 F7 7F [11:36:23]Write to MH i2c: 01 00 00 64 0D 71 [11:36:23]Write i2c OK [11:36:23]MH_I2C_Read... [11:36:23]Read from MH i2c: 01 [11:36:23]MH_I2C_Read... [11:36:23]Read from MH i2c: 01 07 00 [11:36:23]MH_I2C_Read... [11:36:23]Read from MH i2c: 01 07 00 64 0D 00 00 00 00 00 BB 0C 3F [11:36:23]RasterBufferAndPrint [11:36:23]line [11:36:23]line [11:36:23]line [11:36:23]line [11:36:23]line [11:36:23]written 0, free lines is 3264 [11:36:23]MH_Cut [11:36:23]Write to MH i2c: D1 01 00 6B 0D 01 4A [11:36:23]Write i2c OK [11:36:23]MH_I2C_Read... [11:36:23]Read from MH i2c: D1 [11:36:23]MH_I2C_Read... [11:36:23]Read from MH i2c: D1 01 00 [11:36:23]MH_I2C_Read... [11:36:23]Read from MH i2c: D1 01 00 6B 0D 00 49 [11:36:23]Write to MH i2c: 01 00 00 6C 0D 79 [11:36:23]Write i2c OK [11:36:23]MH_I2C_Read... [11:36:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 8F 86 47 00 D2 43 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 34 94 00 00 F4 03 04 00 28 C5 21 67 B6 04 01 00 00 A8 84 DD 94 E9 57 0B BA [11:36:23]CommunicateWithHost err = 0 [11:36:23]CheckOFDResponse [11:36:23]1017 (14) - 77093643461234 [11:36:23]1041 (16) - 0000000000871841 [11:36:23]1040 (4) - 37940 [11:36:23]1012 (4) - 30.10.2024 05:33 [11:36:23]1206 (1) - 0 [11:36:23]OFD Sender: Remove packet 37940 [11:36:23]ProducePacketName [11:36:23]name=ofd_packets/00037940 [11:36:23]NVStorageDeleteData [11:36:24]*** Cut start [11:36:24]*** Partial cut [11:36:24]*** CUTSNS_PIN = 1 [11:36:24]OFD Sender: No OFD packet to send [11:36:24]*** CUTSNS_PIN = 0 [11:36:24]*** Brake cut motor [11:36:24]Read from MH i2c: 01 [11:36:24]MH_I2C_Read... [11:36:24]*** Stop cut motor [11:36:24]*** Cut end [11:36:24]Read from MH i2c: 01 07 00 [11:36:24]MH_I2C_Read... [11:36:24]Read from MH i2c: 01 07 00 6C 0D 00 00 00 00 00 FF 0F 8E [11:36:24]process_action close_receipt done [11:36:24]requested_data is exist [11:36:25]produce_requested_data [11:36:25]requested_item fm.sn is exist - process it [11:36:25]wFMCommunicate request_size=4 [11:36:25]MH_SAM_APDU [11:36:25]CAPDU: 80 11 00 00 [11:36:25]Write to MH i2c: E2 08 00 6D 0D 80 11 00 00 00 00 00 00 F4 [11:36:25]Write i2c OK [11:36:25]MH_I2C_Read... [11:36:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:25]Read from MH i2c: E2 [11:36:25]MH_I2C_Read... [11:36:25]Read from MH i2c: E2 17 00 [11:36:25]MH_I2C_Read... [11:36:25]Read from MH i2c: E2 17 00 6D 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 44 [11:36:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:36:25]wFMCommunicate OK [11:36:25]requested_item fd.num is exist - process it [11:36:25]SAM_PROTO_GetFieldsCounters [11:36:25]wFMCommunicate request_size=4 [11:36:25]MH_SAM_APDU [11:36:25]CAPDU: 80 13 00 00 [11:36:25]Write to MH i2c: E2 08 00 6E 0D 80 13 00 00 00 00 00 00 F7 [11:36:25]Write i2c OK [11:36:25]MH_I2C_Read... [11:36:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:36:25]Read from MH i2c: E2 [11:36:25]MH_I2C_Read... [11:36:25]Read from MH i2c: E2 62 00 [11:36:25]MH_I2C_Read... [11:36:25]Read from MH i2c: E2 62 00 6E 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 34 94 00 00 0E 04 04 00 29 02 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 4D [11:36:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 34 94 00 00 0E 04 04 00 29 02 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:36:25]wFMCommunicate OK [11:36:25]SAM_PROTO_GetFieldsCounters done [11:36:25]requested_item shift.num is exist - process it [11:36:25]requested_item shift.opened is exist - process it [11:36:25]req_shift_opened [11:36:25]FM_GetShiftState [11:36:25]SAM_PROTO_GetShiftState [11:36:25]wFMCommunicate request_size=4 [11:36:25]MH_SAM_APDU [11:36:25]CAPDU: 80 13 01 00 [11:36:25]Write to MH i2c: E2 08 00 6F 0D 80 13 01 00 00 00 00 00 F9 [11:36:25]Write i2c OK [11:36:25]MH_I2C_Read... [11:36:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:25]Read from MH i2c: E2 [11:36:25]MH_I2C_Read... [11:36:25]Read from MH i2c: E2 0E 00 [11:36:25]MH_I2C_Read... [11:36:25]Read from MH i2c: E2 0E 00 6F 0D 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 BA [11:36:25]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [11:36:25]wFMCommunicate OK [11:36:25]SAM_PROTO_GetShiftState done [11:36:25]FM_GetShiftState done [11:36:25]req_shift_opened done [11:36:25]requested_item shift.open_date is exist - process it [11:36:25]req_shift_open_date [11:36:25]req_shift_open_date done [11:36:25]produce_requested_data done [11:36:25]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37940,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [11:36:25]process_action_free close_receipt [11:36:25]json_value_free [11:36:25]json_value_free done [11:36:25]process_json_proto returns [11:36:25]Send response to host [11:36:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37940,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [11:36:25]free response buf [11:36:25]execute_script done [11:36:25]execute_script returns [11:36:25]free content buf [11:36:25]Sock 9.Close socket [11:36:25]Sock 9.Thread stoped [11:36:29]OFD Sender: No OFD packet to send [11:36:34]OFD Sender: No OFD packet to send [11:36:39]OFD Sender: No OFD packet to send [11:36:44]OFD Sender: No OFD packet to send [11:36:49]OFD Sender: No OFD packet to send [11:36:54]OFD Sender: No OFD packet to send [11:36:59]OFD Sender: No OFD packet to send [11:37:04]OFD Sender: No OFD packet to send [11:37:09]OFD Sender: No OFD packet to send [11:37:14]OFD Sender: No OFD packet to send [11:37:19]OFD Sender: No OFD packet to send [11:37:24]OFD Sender: No OFD packet to send [11:37:29]OFD Sender: No OFD packet to send [11:37:34]OFD Sender: No OFD packet to send [11:37:39]OFD Sender: No OFD packet to send [11:37:44]OFD Sender: No OFD packet to send [11:37:49]OFD Sender: No OFD packet to send [11:37:54]OFD Sender: No OFD packet to send [11:37:59]OFD Sender: No OFD packet to send [11:38:04]OFD Sender: No OFD packet to send [11:38:09]OFD Sender: No OFD packet to send [11:38:14]OFD Sender: No OFD packet to send [11:38:19]OFD Sender: No OFD packet to send [11:38:24]OFD Sender: No OFD packet to send [11:38:29]OFD Sender: No OFD packet to send [11:38:34]OFD Sender: No OFD packet to send [11:38:39]OFD Sender: No OFD packet to send [11:38:44]OFD Sender: No OFD packet to send [11:38:49]OFD Sender: No OFD packet to send [11:38:54]OFD Sender: No OFD packet to send [11:38:59]OFD Sender: No OFD packet to send [11:39:04]OFD Sender: No OFD packet to send [11:39:09]OFD Sender: No OFD packet to send [11:39:14]OFD Sender: No OFD packet to send [11:39:19]OFD Sender: No OFD packet to send [11:39:24]OFD Sender: No OFD packet to send [11:39:29]OFD Sender: No OFD packet to send [11:39:34]OFD Sender: No OFD packet to send [11:39:39]OFD Sender: No OFD packet to send [11:39:44]OFD Sender: No OFD packet to send [11:39:49]OFD Sender: No OFD packet to send [11:39:54]OFD Sender: No OFD packet to send [11:39:59]OFD Sender: No OFD packet to send [11:40:04]OFD Sender: No OFD packet to send [11:40:09]OFD Sender: No OFD packet to send [11:40:14]OFD Sender: No OFD packet to send [11:40:19]OFD Sender: No OFD packet to send [11:40:24]OFD Sender: No OFD packet to send [11:40:29]OFD Sender: No OFD packet to send [11:40:34]OFD Sender: No OFD packet to send [11:40:39]OFD Sender: No OFD packet to send [11:40:44]OFD Sender: No OFD packet to send [11:40:49]OFD Sender: No OFD packet to send [11:40:54]OFD Sender: No OFD packet to send [11:40:59]OFD Sender: No OFD packet to send [11:41:04]OFD Sender: No OFD packet to send [11:41:09]OFD Sender: No OFD packet to send [11:41:14]OFD Sender: No OFD packet to send [11:41:19]OFD Sender: No OFD packet to send [11:41:24]OFD Sender: No OFD packet to send [11:41:29]OFD Sender: No OFD packet to send [11:41:34]OFD Sender: No OFD packet to send [11:41:39]OFD Sender: No OFD packet to send [11:41:44]OFD Sender: No OFD packet to send [11:41:49]OFD Sender: No OFD packet to send [11:41:54]OFD Sender: No OFD packet to send [11:41:59]OFD Sender: No OFD packet to send [11:42:04]OFD Sender: No OFD packet to send [11:42:09]OFD Sender: No OFD packet to send [11:42:14]OFD Sender: No OFD packet to send [11:42:19]OFD Sender: No OFD packet to send [11:42:24]OFD Sender: No OFD packet to send [11:42:29]OFD Sender: No OFD packet to send [11:42:34]OFD Sender: No OFD packet to send [11:42:39]OFD Sender: No OFD packet to send [11:42:44]OFD Sender: No OFD packet to send [11:42: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]accept exits with 7 [11:47:24]New connection [11:47:24]New thread 3067207012 created [11:47:24]Thread 3067063652 joined [11:47:24]Waiting for new connection... [11:47:24] Sock 7.Parse request [11:47:24]Sock 7.Check first char [11:47:24]Sock 7.First char is OK [11:47:24]request: POST /json_proto HTTP/1.0 [11:47:24]Method: POST [11:47:24]URL: /json_proto [11:47:24]Method is POST - this is cgi request [11:47:24]url: /json_proto [11:47:24]query_string will be loaded in cgi processing [11:47:24]execute_cgi json_proto POST (null) [11:47:24]execute_cgi path=json_proto method=POST [11:47:24]POST find Content-Length [11:47:24]Host: 172.17.40.196:8080 [11:47:24]Content-Length: 881 [11:47:24]Content-Type: application/json [11:47:24] [11:47:24]POST finish read [11:47:24]Found Content-Length = 881 [11:47:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35240", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "3800020453407", "name": "Nestle KIT-KAT \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A chunky 36x40\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:47:24]execute_script... [11:47:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35240", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "3800020453407", "name": "Nestle KIT-KAT \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A chunky 36x40\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:47:24]POST & json_proto [11:47:24]process_json_proto [11:47:24]json parsed OK: [11:47:24]protocol is kg_v1.0 [11:47:24]action value=close_receipt [11:47:24]process_action close_receipt [11:47:24]cmd_close_receipt [11:47:24]MH_GetDate [11:47:24]Write to MH i2c: F0 00 00 70 0D 6C [11:47:24]Write i2c OK [11:47:24]MH_I2C_Read... [11:47:24]Read from MH i2c: F0 [11:47:24]MH_I2C_Read... [11:47:24]Read from MH i2c: F0 09 00 [11:47:24]MH_I2C_Read... [11:47:24]Read from MH i2c: F0 09 00 70 0D 00 D0 1C 22 67 5B 68 A1 66 B4 [11:47:24]GetLastDocTimeStamp 1730288185 [11:47:24]current date 1730288848 [11:47:24]FM_GetShiftState [11:47:24]SAM_PROTO_GetShiftState [11:47:24]wFMCommunicate request_size=4 [11:47:24]MH_SAM_APDU [11:47:24]CAPDU: 80 13 01 00 [11:47:24]Write to MH i2c: E2 08 00 71 0D 80 13 01 00 00 00 00 00 FB [11:47:24]Write i2c OK [11:47:24]MH_I2C_Read... [11:47:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:47:24]Read from MH i2c: E2 [11:47:24]MH_I2C_Read... [11:47:24]Read from MH i2c: E2 0E 00 [11:47:24]MH_I2C_Read... [11:47:24]Read from MH i2c: E2 0E 00 71 0D 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 BC [11:47:24]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [11:47:24]wFMCommunicate OK [11:47:24]SAM_PROTO_GetShiftState done [11:47:24]FM_GetShiftState done [11:47:24]opened in 1730246837 [11:47:24]opened+sec_in_day 1730333237 [11:47:24]quantity*price = 13000 [11:47:24]sum+1 = 13001 [11:47:24]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 3800020453407 Nestle KIT-KAT батончик chunky 36x40г 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.30 Наличными: 210.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 23 30.10.2024 11:47 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37941 ФПД: 4859834734091 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T114728&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37941&fm=4859834734091&tin=02508201610067®Number=0000000000091684&sum=21000 0 [11:47:25]StoreToDocumentArchive [11:47:25]shift 553 fd 37941 [11:47:25]save to /storage/0553/doc_00037941 [11:47:25]save last doc name /storage/0553/doc_00037941 to /storage/kkm_last_doc_name [11:47:25]save OK [11:47:25]Clear old archive folders... [11:47:25]ProcessDocumentItem done err = 0, tmpTLVsize=394 [11:47:25]tlvbuf is 018EE4C0 [11:47:25]SAM_PROTO_ClearQueue [11:47:25]wFMCommunicate request_size=4 [11:47:25]MH_SAM_APDU [11:47:25]CAPDU: 80 09 00 00 [11:47:25]Write to MH i2c: E2 08 00 7E 0D 80 09 00 00 00 00 00 00 FD [11:47:25]Write i2c OK [11:47:25]MH_I2C_Read... [11:47:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:47:25]Read from MH i2c: E2 [11:47:25]MH_I2C_Read... [11:47:25]Read from MH i2c: E2 03 00 [11:47:25]MH_I2C_Read... [11:47:25]Read from MH i2c: E2 03 00 7E 0D 00 90 00 FF [11:47:25]RAPDU: 90 00 [11:47:25]wFMCommunicate OK [11:47:25]SAM_PROTO_ClearQueue done [11:47:25]KKMCreateOFDPacket [11:47:25]OFDProtocolAddRootSTLVToBuf [11:47:25]FM_MakeSignedData [11:47:25]FM_MakeSignedData [11:47:25]SAM_PROTO_SignData [11:47:25]wFMCommunicate request_size=4 [11:47:25]MH_SAM_APDU [11:47:25]CAPDU: 80 0D 01 02 [11:47:25]Write to MH i2c: E2 08 00 7F 0D 80 0D 01 02 00 00 00 00 05 [11:47:25]Write i2c OK [11:47:25]MH_I2C_Read... [11:47:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:47:25]Read from MH i2c: E2 [11:47:25]MH_I2C_Read... [11:47:25]Read from MH i2c: E2 03 00 [11:47:25]MH_I2C_Read... [11:47:25]Read from MH i2c: E2 03 00 7F 0D 00 90 00 00 [11:47:25]RAPDU: 90 00 [11:47:25]wFMCommunicate OK [11:47:25]wFMCommunicate request_size=255 [11:47:25]MH_SAM_APDU [11:47:25]CAPDU: 80 0D 02 02 FA 03 00 8A 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F [11:47:25]Write to MH i2c: E2 02 01 80 0D 80 0D 02 02 FA 00 03 00 8A 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 8A [11:47:25]Write i2c OK [11:47:25]MH_I2C_Read... [11:47:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:47:26]Read from MH i2c: E2 [11:47:26]MH_I2C_Read... [11:47:26]Read from MH i2c: E2 03 00 [11:47:26]MH_I2C_Read... [11:47:26]Read from MH i2c: E2 03 00 80 0D 00 90 00 01 [11:47:26]RAPDU: 90 00 [11:47:26]wFMCommunicate OK [11:47:26]wFMCommunicate request_size=153 [11:47:26]MH_SAM_APDU [11:47:26]CAPDU: 80 0D 02 02 94 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 17 00 00 00 F4 03 04 00 D0 1C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 35 94 00 00 35 04 06 00 04 6B 84 B9 16 0B [11:47:26]Write to MH i2c: E2 9C 00 81 0D 80 0D 02 02 94 00 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 17 00 00 00 F4 03 04 00 D0 1C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 35 94 00 00 35 04 06 00 04 6B 84 B9 16 0B 00 00 77 [11:47:26]Write i2c OK [11:47:26]MH_I2C_Read... [11:47:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:47:26]Read from MH i2c: E2 [11:47:26]MH_I2C_Read... [11:47:26]Read from MH i2c: E2 03 00 [11:47:26]MH_I2C_Read... [11:47:26]Read from MH i2c: E2 03 00 81 0D 00 90 00 02 [11:47:26]RAPDU: 90 00 [11:47:26]wFMCommunicate OK [11:47:26]wFMCommunicate request_size=4 [11:47:26]MH_SAM_APDU [11:47:26]CAPDU: 80 0D 03 02 [11:47:26]Write to MH i2c: E2 08 00 82 0D 80 0D 03 02 00 00 00 00 0A [11:47:26]Write i2c OK [11:47:26]MH_I2C_Read... [11:47:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:47:26]Read from MH i2c: E2 [11:47:26]MH_I2C_Read... [11:47:26]Read from MH i2c: E2 0B 00 [11:47:26]MH_I2C_Read... [11:47:26]Read from MH i2c: E2 0B 00 82 0D 00 5D 5D 0F 14 04 43 A6 23 90 00 F8 [11:47:26]RAPDU: 5D 5D 0F 14 04 43 A6 23 90 00 [11:47:26]wFMCommunicate OK [11:47:26]SAM_PROTO_SignData done [11:47:26]FM_MakeSignedData done [11:47:26]CreateOFDProtocolMessage [11:47:26]wFMCommunicate request_size=4 [11:47:26]MH_SAM_APDU [11:47:26]CAPDU: 80 11 00 00 [11:47:26]Write to MH i2c: E2 08 00 83 0D 80 11 00 00 00 00 00 00 0A [11:47:26]Write i2c OK [11:47:26]MH_I2C_Read... [11:47:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:47:26]Read from MH i2c: E2 [11:47:26]MH_I2C_Read... [11:47:26]Read from MH i2c: E2 17 00 [11:47:26]MH_I2C_Read... [11:47:26]Read from MH i2c: E2 17 00 83 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 5A [11:47:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:47:26]wFMCommunicate OK [11:47:26]CreateOFDProtocolMessage done [11:47:26]OFDSenderStorePacket 37941 [11:47:26]StoreOFDPacket docnum=37941 [11:47:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 9E 01 00 00 35 9E 96 01 A8 E3 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 17 00 00 00 F4 03 04 00 D0 1C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 35 94 00 00 35 04 06 00 04 6B 84 B9 16 0B 5D 5D 0F 14 04 43 A6 23 [11:47:26]CheckFolder [11:47:26]dirname=/storage/ofd_packets [11:47:26]CheckFolder done [11:47:26]ProducePacketName [11:47:26]name=ofd_packets/00037941 [11:47:26]NVStorageSaveData ofd_packets/00037941 [11:47:26]File name is /storage/ofd_packets/00037941 [11:47:26]Write 444 bytes [11:47:26]NVStorageSaveData done [11:47:26]OFDSenderStorePacket done [11:47:26]KKMCreateOFDPacket done [11:47:26]NVStorageSaveData kkm_last_timestamp [11:47:26]File name is /storage/kkm_last_timestamp [11:47:26]Write 4 bytes [11:47:26]NVStorageSaveData done [11:47:26]ExternCall_PrintAddStr [11:47:26]wPrintStart [11:47:26]Write to MH i2c: 01 00 00 84 0D 91 [11:47:26]Write i2c OK [11:47:26]MH_I2C_Read... [11:47:26]Read from MH i2c: 01 [11:47:26]MH_I2C_Read... [11:47:26]Read from MH i2c: 01 07 00 [11:47:26]MH_I2C_Read... [11:47:26]Read from MH i2c: 01 07 00 84 0D 00 00 00 00 00 FF 0F A6 [11:47:26]RasterBufferAndPrint [11:47:26]line Счет N : (3)35240 [11:47:26]line ИНН: 02508201610067 [11:47:26]line Контрольно-Кассовый Чек [11:47:26]line ПРОДАЖА [11:47:26]line Товар: 2000036230011 [11:47:26]line Кофе Латте XL(GABB TRADE) [11:47:26]line 1.000 * 130.00 [11:47:26]line = 130.00 [11:47:26]line НДС 12% НСП 1% [11:47:26]line > о реализуемом товаре [11:47:26]line Товар: 3800020453407 [11:47:26]line Nestle KIT-KAT батончик chunky 36x40г [11:47:26]line 1.000 * 80.00 [11:47:26]line = 80.00 [11:47:26]line НДС 12% НСП 1% [11:47:26]line > о реализуемом товаре [11:47:26]line ИТОГО: 210.00 [11:47:26]line НСП 1% : 1.86 [11:47:26]line НДС 12% : 22.30 [11:47:26]line Наличными: 210.00 [11:47:26]line Безнал.: 0.00 [11:47:26]line Место: АЗС № 126 "Партнер Нефть" [11:47:26]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:47:26]line СНО: Общий режим [11:47:26]line Чек 23 30.10.2024 11:47 [11:47:26]line Смена: 553 ФФД: 1.0 [11:47:26]line ЗНМ: 0300000092 [11:47:26]line РНМ: 0000000000091684 [11:47:26]line Версия ККМ: 001 [11:47:26]line ФМ: 0000000000871841 [11:47:26]line ФД: 37941 [11:47:26]line ФПД: 4859834734091 [11:47:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T114728&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37941&fm=4859834734091&tin=02508201610067®Number=0000000000091684&sum=21000 [11:47:26]line 0 [11:47:26]OFD Sender: Processing packet 37941 [packets to send 42, broken 41] [11:47:26]ProducePacketName [11:47:26]name=ofd_packets/00037941 [11:47:26]OFD Sender: To server: pG, [11:47:26]CommunicateWithHost lk.salyk.kg:30040 [11:47:26]ConnectInit lk.salyk.kg [11:47:26]written 0, free lines is 4095 [11:47:27]Connected sock=10 [11:47:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 9E 01 00 00 35 9E 96 01 A8 E3 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 17 00 00 00 F4 03 04 00 D0 1C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 35 94 00 00 35 04 06 00 04 6B 84 B9 16 0B 5D 5D 0F 14 04 43 A6 23 [11:47:27]Write to MH i2c: 01 00 00 B3 0D C0 [11:47:27]Write i2c OK [11:47:27]MH_I2C_Read... [11:47:27]Read from MH i2c: 01 [11:47:27]MH_I2C_Read... [11:47:27]Read from MH i2c: 01 07 00 [11:47:27]MH_I2C_Read... [11:47:27]Read from MH i2c: 01 07 00 B3 0D 00 00 00 00 00 48 0C 1B [11:47:27]RasterBufferAndPrint [11:47:27]line [11:47:27]line [11:47:27]line [11:47:27]line [11:47:27]line [11:47:27]written 0, free lines is 3153 [11:47:27]MH_Cut [11:47:27]Write to MH i2c: D1 01 00 BA 0D 01 99 [11:47:27]Write i2c OK [11:47:27]MH_I2C_Read... [11:47:27]Read from MH i2c: D1 [11:47:27]MH_I2C_Read... [11:47:27]Read from MH i2c: D1 01 00 [11:47:27]MH_I2C_Read... [11:47:27]Read from MH i2c: D1 01 00 BA 0D 00 98 [11:47:27]Write to MH i2c: 01 00 00 BB 0D C8 [11:47:27]Write i2c OK [11:47:27]MH_I2C_Read... [11:47:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 0B 8C 47 00 A4 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 35 94 00 00 F4 03 04 00 BF C7 21 67 B6 04 01 00 00 0B 3F 70 83 82 48 1B 30 [11:47:27]CommunicateWithHost err = 0 [11:47:27]CheckOFDResponse [11:47:27]1017 (14) - 77093643461234 [11:47:27]1041 (16) - 0000000000871841 [11:47:27]1040 (4) - 37941 [11:47:27]1012 (4) - 30.10.2024 05:44 [11:47:27]1206 (1) - 0 [11:47:27]OFD Sender: Remove packet 37941 [11:47:27]ProducePacketName [11:47:27]name=ofd_packets/00037941 [11:47:27]NVStorageDeleteData [11:47:28]OFD Sender: No OFD packet to send [11:47:28]*** Cut start [11:47:28]*** Partial cut [11:47:28]*** CUTSNS_PIN = 1 [11:47:28]*** CUTSNS_PIN = 0 [11:47:28]*** Brake cut motor [11:47:28]Read from MH i2c: 01 [11:47:28]MH_I2C_Read... [11:47:28]*** Stop cut motor [11:47:28]*** Cut end [11:47:28]Read from MH i2c: 01 07 00 [11:47:28]MH_I2C_Read... [11:47:28]Read from MH i2c: 01 07 00 BB 0D 00 00 00 00 00 FF 0F DD [11:47:28]process_action close_receipt done [11:47:28]requested_data is exist [11:47:28]produce_requested_data [11:47:28]requested_item fm.sn is exist - process it [11:47:28]wFMCommunicate request_size=4 [11:47:28]MH_SAM_APDU [11:47:28]CAPDU: 80 11 00 00 [11:47:28]Write to MH i2c: E2 08 00 BC 0D 80 11 00 00 00 00 00 00 43 [11:47:28]Write i2c OK [11:47:28]MH_I2C_Read... [11:47:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:47:28]Read from MH i2c: E2 [11:47:28]MH_I2C_Read... [11:47:28]Read from MH i2c: E2 17 00 [11:47:28]MH_I2C_Read... [11:47:28]Read from MH i2c: E2 17 00 BC 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 93 [11:47:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:47:28]wFMCommunicate OK [11:47:28]requested_item fd.num is exist - process it [11:47:28]SAM_PROTO_GetFieldsCounters [11:47:28]wFMCommunicate request_size=4 [11:47:28]MH_SAM_APDU [11:47:28]CAPDU: 80 13 00 00 [11:47:28]Write to MH i2c: E2 08 00 BD 0D 80 13 00 00 00 00 00 00 46 [11:47:28]Write i2c OK [11:47:28]MH_I2C_Read... [11:47:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:47:29]Read from MH i2c: E2 [11:47:29]MH_I2C_Read... [11:47:29]Read from MH i2c: E2 62 00 [11:47:29]MH_I2C_Read... [11:47:29]Read from MH i2c: E2 62 00 BD 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 35 94 00 00 0E 04 04 00 29 02 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 A0 [11:47:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 35 94 00 00 0E 04 04 00 29 02 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:47:29]wFMCommunicate OK [11:47:29]SAM_PROTO_GetFieldsCounters done [11:47:29]requested_item shift.num is exist - process it [11:47:29]requested_item shift.opened is exist - process it [11:47:29]req_shift_opened [11:47:29]FM_GetShiftState [11:47:29]SAM_PROTO_GetShiftState [11:47:29]wFMCommunicate request_size=4 [11:47:29]MH_SAM_APDU [11:47:29]CAPDU: 80 13 01 00 [11:47:29]Write to MH i2c: E2 08 00 BE 0D 80 13 01 00 00 00 00 00 48 [11:47:29]Write i2c OK [11:47:29]MH_I2C_Read... [11:47:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:47:29]Read from MH i2c: E2 [11:47:29]MH_I2C_Read... [11:47:29]Read from MH i2c: E2 0E 00 [11:47:29]MH_I2C_Read... [11:47:29]Read from MH i2c: E2 0E 00 BE 0D 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 09 [11:47:29]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [11:47:29]wFMCommunicate OK [11:47:29]SAM_PROTO_GetShiftState done [11:47:29]FM_GetShiftState done [11:47:29]req_shift_opened done [11:47:29]requested_item shift.open_date is exist - process it [11:47:29]req_shift_open_date [11:47:29]req_shift_open_date done [11:47:29]produce_requested_data done [11:47:29]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37941,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [11:47:29]process_action_free close_receipt [11:47:29]json_value_free [11:47:29]json_value_free done [11:47:29]process_json_proto returns [11:47:29]Send response to host [11:47:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37941,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [11:47:29]free response buf [11:47:29]execute_script done [11:47:29]execute_script returns [11:47:29]free content buf [11:47:29]Sock 7.Close socket [11:47:29]Sock 7.Thread stoped [11:47:33]OFD Sender: No OFD packet to send [11:47:38]OFD Sender: No OFD packet to send [11:47:43]OFD Sender: No OFD packet to send [11:47:48]OFD Sender: No OFD packet to send [11:47:53]OFD Sender: No OFD packet to send [11:47:58]OFD Sender: No OFD packet to send [11:48:03]OFD Sender: No OFD packet to send [11:48:08]OFD Sender: No OFD packet to send [11:48:13]OFD Sender: No OFD packet to send [11:48:18]OFD Sender: No OFD packet to send [11:48:23]OFD Sender: No OFD packet to send [11:48:28]OFD Sender: No OFD packet to send [11:48:33]OFD Sender: No OFD packet to send [11:48:38]OFD Sender: No OFD packet to send [11:48:43]OFD Sender: No OFD packet to send [11:48:48]OFD Sender: No OFD packet to send [11:48:53]OFD Sender: No OFD packet to send [11:48:58]OFD Sender: No OFD packet to send [11:49:03]OFD Sender: No OFD packet to send [11:49:08]OFD Sender: No OFD packet to send [11:49:13]OFD Sender: No OFD packet to send [11:49:18]OFD Sender: No OFD packet to send [11:49:23]OFD Sender: No OFD packet to send [11:49:28]OFD Sender: No OFD packet to send [11:49:33]OFD Sender: No OFD packet to send [11:49:38]OFD Sender: No OFD packet to send [11:49:43]OFD Sender: No OFD packet to send [11:49:48]OFD Sender: No OFD packet to send [11:49:53]OFD Sender: No OFD packet to send [11:49:58]OFD Sender: No OFD packet to send [11:50:03]OFD Sender: No OFD packet to send [11:50:08]OFD Sender: No OFD packet to send [11:50:13]OFD Sender: No OFD packet to send [11:50:18]OFD Sender: No OFD packet to send [11:50:23]OFD Sender: No OFD packet to send [11:50:28]OFD Sender: No OFD packet to send [11:50:33]OFD Sender: No OFD packet to send [11:50:38]OFD Sender: No OFD packet to send [11:50:43]OFD Sender: No OFD packet to send [11:50:48]OFD Sender: No OFD packet to send [11:50:53]OFD Sender: No OFD packet to send [11:50:58]OFD Sender: No OFD packet to send [11:51:03]OFD Sender: No OFD packet to send [11:51:08]OFD Sender: No OFD packet to send [11:51:13]OFD Sender: No OFD packet to send [11:51:18]OFD Sender: No OFD packet to send [11:51:23]OFD Sender: No OFD packet to send [11:51:28]OFD Sender: No OFD packet to send [11:51:33]OFD Sender: No OFD packet to send [11:51:38]OFD Sender: No OFD packet to send [11:51:43]OFD Sender: No OFD packet to send [11:51:48]OFD Sender: No OFD packet to send [11:51:53]OFD Sender: No OFD packet to send [11:51:58]OFD Sender: No OFD packet to send [11:52:03]OFD Sender: No OFD packet to send [11:52:08]OFD Sender: No OFD packet to send [11:52:13]OFD Sender: No OFD packet to send [11:52:18]OFD Sender: No OFD packet to send [11:52:23]OFD Sender: No OFD packet to send [11:52:28]OFD Sender: No OFD packet to send [11:52:33]OFD Sender: No OFD packet to send [11:52:38]OFD Sender: No OFD packet to send [11:52:43]OFD Sender: No OFD packet to send [11:52:48]OFD Sender: No OFD packet to send [11:52:53]OFD Sender: No OFD packet to send [11:52:58]OFD Sender: No OFD packet to send [11:53:03]OFD Sender: No OFD packet to send [11:53:08]OFD Sender: No OFD packet to send [11:53:13]OFD Sender: No OFD packet to send [11:53:18]OFD Sender: No OFD packet to send [11:53:23]OFD Sender: No OFD packet to send [11:53:28]OFD Sender: No OFD packet to send [11:53:33]OFD Sender: No OFD packet to send [11:53:38]OFD Sender: No OFD packet to send [11:53:43]OFD Sender: No OFD packet to send [11:53:48]OFD Sender: No OFD packet to send [11:53:53]OFD Sender: No OFD packet to send [11:53:58]OFD Sender: No OFD packet to send [11:54:03]OFD Sender: No OFD packet to send [11:54:08]OFD Sender: No OFD packet to send [11:54:13]OFD Sender: No OFD packet to send [11:54:18]OFD Sender: No OFD packet to send [11:54:23]OFD Sender: No OFD packet to send [11:54:28]OFD Sender: No OFD packet to send [11:54:33]OFD Sender: No OFD packet to send [11:54:38]OFD Sender: No OFD packet to send [11:54:43]OFD Sender: No OFD packet to send [11:54:48]OFD Sender: No OFD packet to send [11:54:53]OFD Sender: No OFD packet to send [11:54:58]OFD Sender: No OFD packet to send [11:55:03]OFD Sender: No OFD packet to send [11:55:08]OFD Sender: No OFD packet to send [11:55:13]OFD Sender: No OFD packet to send [11:55:18]OFD Sender: No OFD packet to send [11:55:23]OFD Sender: No OFD packet to send [11:55:28]OFD Sender: No OFD packet to send [11:55:33]OFD Sender: No OFD packet to send [11:55:38]OFD Sender: No OFD packet to send [11:55:43]OFD Sender: No OFD packet to send [11:55:48]OFD Sender: No OFD packet to send [11:55:53]OFD Sender: No OFD packet to send [11:55:58]OFD Sender: No OFD packet to send [11:56:03]OFD Sender: No OFD packet to send [11:56:08]OFD Sender: No OFD packet to send [11:56:13]OFD Sender: No OFD packet to send [11:56:18]OFD Sender: No OFD packet to send [11:56:23]OFD Sender: No OFD packet to send [11:56:28]OFD Sender: No OFD packet to send [11:56:33]OFD Sender: No OFD packet to send [11:56:38]OFD Sender: No OFD packet to send [11:56:43]OFD Sender: No OFD packet to send [11:56:48]OFD Sender: No OFD packet to send [11:56:53]OFD Sender: No OFD packet to send [11:56:58]OFD Sender: No OFD packet to send [11:57:03]OFD Sender: No OFD packet to send [11:57:08]OFD Sender: No OFD packet to send [11:57:13]OFD Sender: No OFD packet to send [11:57:18]OFD Sender: No OFD packet to send [11:57:23]OFD Sender: No OFD packet to send [11:57:28]OFD Sender: No OFD packet to send [11:57:33]OFD Sender: No OFD packet to send [11:57:38]OFD Sender: No OFD packet to send [11:57:43]OFD Sender: No OFD packet to send [11:57:48]OFD Sender: No OFD packet to send [11:57:53]OFD Sender: No OFD packet to send [11:57:58]OFD Sender: No OFD packet to send [11:58:03]OFD Sender: No OFD packet to send [11:58:08]OFD Sender: No OFD packet to send [11:58:13]OFD Sender: No OFD packet to send [11:58:18]OFD Sender: No OFD packet to send [11:58:23]OFD Sender: No OFD packet to send [11:58:28]OFD Sender: No OFD packet to send [11:58:33]OFD Sender: No OFD packet to send [11:58:38]OFD Sender: No OFD packet to send [11:58:43]OFD Sender: No OFD packet to send [11:58:48]OFD Sender: No OFD packet to send [11:58:53]OFD Sender: No OFD packet to send [11:58:58]OFD Sender: No OFD packet to send [11:59:03]OFD Sender: No OFD packet to send [11:59:08]OFD Sender: No OFD packet to send [11:59:13]OFD Sender: No OFD packet to send [11:59:18]OFD Sender: No OFD packet to send [11:59:23]OFD Sender: No OFD packet to send [11:59:28]OFD Sender: No OFD packet to send [11:59:33]OFD Sender: No OFD packet to send [11:59:38]OFD Sender: No OFD packet to send [11:59:43]OFD Sender: No OFD packet to send [11:59:48]OFD Sender: No OFD packet to send [11:59:53]OFD Sender: No OFD packet to send [11:59:58]OFD Sender: No OFD packet to send [12:00:03]OFD Sender: No OFD packet to send [12:00:08]OFD Sender: No OFD packet to send [12:00:13]OFD Sender: No OFD packet to send [12:00:18]OFD Sender: No OFD packet to send [12:00:23]OFD Sender: No OFD packet to send [12:00:28]OFD Sender: No OFD packet to send [12:00:33]OFD Sender: No OFD packet to send [12:00:38]OFD Sender: No OFD packet to send [12:00:43]OFD Sender: No OFD packet to send [12:00:48]OFD Sender: No OFD packet to send [12:00:53]OFD Sender: No OFD packet to send [12:00:58]OFD Sender: No OFD packet to send [12:01:03]OFD Sender: No OFD packet to send [12:01:08]OFD Sender: No OFD packet to send [12:01:13]OFD Sender: No OFD packet to send [12:01:18]OFD Sender: No OFD packet to send [12:01:23]OFD Sender: No OFD packet to send [12:01:28]OFD Sender: No OFD packet to send [12:01:33]OFD Sender: No OFD packet to send [12:01:38]OFD Sender: No OFD packet to send [12:01:43]OFD Sender: No OFD packet to send [12:01:48]OFD Sender: No OFD packet to send [12:01:53]OFD Sender: No OFD packet to send [12:01:58]OFD Sender: No OFD packet to send [12:02:03]OFD Sender: No OFD packet to send [12:02:08]OFD Sender: No OFD packet to send [12:02:13]OFD Sender: No OFD packet to send [12:02:18]OFD Sender: No OFD packet to send [12:02:23]OFD Sender: No OFD packet to send [12:02:28]OFD Sender: No OFD packet to send [12:02:33]OFD Sender: No OFD packet to send [12:02:38]OFD Sender: No OFD packet to send [12:02:43]OFD Sender: No OFD packet to send [12:02:48]OFD Sender: No OFD packet to send [12:02:53]OFD Sender: No OFD packet to send [12:02:58]OFD Sender: No OFD packet to send [12:03:03]OFD Sender: No OFD packet to send [12:03:08]OFD Sender: No OFD packet to send [12:03:13]OFD Sender: No OFD packet to send [12:03:19]OFD Sender: No OFD packet to send [12:03:24]OFD Sender: No OFD packet to send [12:03:29]OFD Sender: No OFD packet to send [12:03:34]OFD Sender: No OFD packet to send [12:03:39]OFD Sender: No OFD packet to send [12:03:44]OFD Sender: No OFD packet to send [12:03:49]OFD Sender: No OFD packet to send [12:03:54]OFD Sender: No OFD packet to send [12:03:59]OFD Sender: No OFD packet to send [12:04:04]OFD Sender: No OFD packet to send [12:04:09]OFD Sender: No OFD packet to send [12:04:14]OFD Sender: No OFD packet to send [12:04:19]OFD Sender: No OFD packet to send [12:04:24]OFD Sender: No OFD packet to send [12:04:29]OFD Sender: No OFD packet to send [12:04:34]OFD Sender: No OFD packet to send [12:04:39]OFD Sender: No OFD packet to send [12:04:44]OFD Sender: No OFD packet to send [12:04:49]OFD Sender: No OFD packet to send [12:04:54]OFD Sender: No OFD packet to send [12:04:59]OFD Sender: No OFD packet to send [12:05:04]OFD Sender: No OFD packet to send [12:05:09]OFD Sender: No OFD packet to send [12:05:14]OFD Sender: No OFD packet to send [12:05:19]OFD Sender: No OFD packet to send [12:05:24]OFD Sender: No OFD packet to send [12:05:29]OFD Sender: No OFD packet to send [12:05:34]OFD Sender: No OFD packet to send [12:05:39]OFD Sender: No OFD packet to send [12:05:44]OFD Sender: No OFD packet to send [12:05:49]OFD Sender: No OFD packet to send [12:05:54]OFD Sender: No OFD packet to send [12:05:59]OFD Sender: No OFD packet to send [12:06:04]OFD Sender: No OFD packet to send [12:06:09]OFD Sender: No OFD packet to send [12:06:14]OFD Sender: No OFD packet to send [12:06:19]OFD Sender: No OFD packet to send [12:06:24]OFD Sender: No OFD packet to send [12:06:29]OFD Sender: No OFD packet to send [12:06:34]OFD Sender: No OFD packet to send [12:06:39]OFD Sender: No OFD packet to send [12:06:44]OFD Sender: No OFD packet to send [12:06:49]OFD Sender: No OFD packet to send [12:06:54]OFD Sender: No OFD packet to send [12:06:59]OFD Sender: No OFD packet to send [12:07:04]OFD Sender: No OFD packet to send [12:07:09]OFD Sender: No OFD packet to send [12:07:14]OFD Sender: No OFD packet to send [12:07:19]OFD Sender: No OFD packet to send [12:07:24]OFD Sender: No OFD packet to send [12:07:29]OFD Sender: No OFD packet to send [12:07:34]OFD Sender: No OFD packet to send [12:07:39]OFD Sender: No OFD packet to send [12:07:44]OFD Sender: No OFD packet to send [12:07:49]OFD Sender: No OFD packet to send [12:07:54]OFD Sender: No OFD packet to send [12:07:59]OFD Sender: No OFD packet to send [12:08:04]OFD Sender: No OFD packet to send [12:08:09]OFD Sender: No OFD packet to send [12:08:14]OFD Sender: No OFD packet to send [12:08:19]OFD Sender: No OFD packet to send [12:08:24]OFD Sender: No OFD packet to send [12:08:29]OFD Sender: No OFD packet to send [12:08:34]OFD Sender: No OFD packet to send [12:08:39]OFD Sender: No OFD packet to send [12:08:44]OFD Sender: No OFD packet to send [12:08:49]OFD Sender: No OFD packet to send [12:08:54]OFD Sender: No OFD packet to send [12:08:59]OFD Sender: No OFD packet to send [12:09:04]OFD Sender: No OFD packet to send [12:09:09]OFD Sender: No OFD packet to send [12:09:14]OFD Sender: No OFD packet to send [12:09:19]OFD Sender: No OFD packet to send [12:09:24]OFD Sender: No OFD packet to send [12:09:29]OFD Sender: No OFD packet to send [12:09:34]OFD Sender: No OFD packet to send [12:09:39]OFD Sender: No OFD packet to send [12:09:44]OFD Sender: No OFD packet to send [12:09:49]OFD Sender: No OFD packet to send [12:09:54]OFD Sender: No OFD packet to send [12:09:59]OFD Sender: No OFD packet to send [12:10:04]OFD Sender: No OFD packet to send [12:10:09]OFD Sender: No OFD packet to send [12:10:14]OFD Sender: No OFD packet to send [12:10:19]OFD Sender: No OFD packet to send [12:10:24]OFD Sender: No OFD packet to send [12:10:29]OFD Sender: No OFD packet to send [12:10:34]OFD Sender: No OFD packet to send [12:10:39]OFD Sender: No OFD packet to send [12:10:44]OFD Sender: No OFD packet to send [12:10:49]OFD Sender: No OFD packet to send [12:10:54]OFD Sender: No OFD packet to send [12:10:59]OFD Sender: No OFD packet to send [12:11:04]OFD Sender: No OFD packet to send [12:11:09]OFD Sender: No OFD packet to send [12:11:14]OFD Sender: No OFD packet to send [12:11:19]OFD Sender: No OFD packet to send [12:11:24]OFD Sender: No OFD packet to send [12:11:29]OFD Sender: No OFD packet to send [12:11:34]OFD Sender: No OFD packet to send [12:11:39]OFD Sender: No OFD packet to send [12:11:44]OFD Sender: No OFD packet to send [12:11:49]OFD Sender: No OFD packet to send [12:11:54]OFD Sender: No OFD packet to send [12:11:59]OFD Sender: No OFD packet to send [12:12:04]OFD Sender: No OFD packet to send [12:12:09]OFD Sender: No OFD packet to send [12:12:14]OFD Sender: No OFD packet to send [12:12:19]OFD Sender: No OFD packet to send [12:12:24]OFD Sender: No OFD packet to send [12:12:29]OFD Sender: No OFD packet to send [12:12:34]OFD Sender: No OFD packet to send [12:12:39]OFD Sender: No OFD packet to send [12:12:44]OFD Sender: No OFD packet to send [12:12:49]OFD Sender: No OFD packet to send [12:12:54]OFD Sender: No OFD packet to send [12:12:59]OFD Sender: No OFD packet to send [12:13:04]OFD Sender: No OFD packet to send [12:13:09]OFD Sender: No OFD packet to send [12:13:14]OFD Sender: No OFD packet to send [12:13:19]OFD Sender: No OFD packet to send [12:13:24]OFD Sender: No OFD packet to send [12:13:29]OFD Sender: No OFD packet to send [12:13:34]OFD Sender: No OFD packet to send [12:13:39]OFD Sender: No OFD packet to send [12:13:44]OFD Sender: No OFD packet to send [12:13:49]OFD Sender: No OFD packet to send [12:13:54]OFD Sender: No OFD packet to send [12:13:59]OFD Sender: No OFD packet to send [12:14:04]OFD Sender: No OFD packet to send [12:14:09]OFD Sender: No OFD packet to send [12:14:14]OFD Sender: No OFD packet to send [12:14:19]OFD Sender: No OFD packet to send [12:14:24]OFD Sender: No OFD packet to send [12:14:29]OFD Sender: No OFD packet to send [12:14:34]OFD Sender: No OFD packet to send [12:14:39]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]accept exits with 9 [12:15:29]New connection [12:15:29]New thread 3067063652 created [12:15:29]Thread 3067207012 joined [12:15:29]Waiting for new connection... [12:15:29] Sock 9.Parse request [12:15:29]Sock 9.Check first char [12:15:29]Sock 9.First char is OK [12:15:29]request: POST /json_proto HTTP/1.0 [12:15:29]Method: POST [12:15:29]URL: /json_proto [12:15:29]Method is POST - this is cgi request [12:15:29]url: /json_proto [12:15:29]query_string will be loaded in cgi processing [12:15:29]execute_cgi json_proto POST (null) [12:15:29]execute_cgi path=json_proto method=POST [12:15:29]POST find Content-Length [12:15:29]Host: 172.17.40.196:8080 [12:15:29]Content-Length: 920 [12:15:29]Content-Type: application/json [12:15:29] [12:15:29]POST finish read [12:15:29]Found Content-Length = 920 [12:15:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35241", "tax_sys" : 0, "items" : [ { "code": "4700041420084", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST ANTIBACTERIAL 100 \u0448\u0442", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 234.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:15:29]execute_script... [12:15:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35241", "tax_sys" : 0, "items" : [ { "code": "4700041420084", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST ANTIBACTERIAL 100 \u0448\u0442", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 234.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:15:29]POST & json_proto [12:15:29]process_json_proto [12:15:29]json parsed OK: [12:15:29]protocol is kg_v1.0 [12:15:29]action value=close_receipt [12:15:29]process_action close_receipt [12:15:29]cmd_close_receipt [12:15:29]MH_GetDate [12:15:29]Write to MH i2c: F0 00 00 BF 0D BB [12:15:29]Write i2c OK [12:15:29]MH_I2C_Read... [12:15:29]Read from MH i2c: F0 [12:15:29]MH_I2C_Read... [12:15:29]Read from MH i2c: F0 09 00 [12:15:29]MH_I2C_Read... [12:15:29]Read from MH i2c: F0 09 00 BF 0D 00 65 23 22 67 5B 68 A1 66 9F [12:15:29]GetLastDocTimeStamp 1730288848 [12:15:29]current date 1730290533 [12:15:29]FM_GetShiftState [12:15:29]SAM_PROTO_GetShiftState [12:15:29]wFMCommunicate request_size=4 [12:15:29]MH_SAM_APDU [12:15:29]CAPDU: 80 13 01 00 [12:15:29]Write to MH i2c: E2 08 00 C0 0D 80 13 01 00 00 00 00 00 4A [12:15:29]Write i2c OK [12:15:29]MH_I2C_Read... [12:15:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:15:29]Read from MH i2c: E2 [12:15:29]MH_I2C_Read... [12:15:29]Read from MH i2c: E2 0E 00 [12:15:29]MH_I2C_Read... [12:15:29]Read from MH i2c: E2 0E 00 C0 0D 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 0B [12:15:29]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [12:15:29]wFMCommunicate OK [12:15:29]SAM_PROTO_GetShiftState done [12:15:29]FM_GetShiftState done [12:15:29]opened in 1730246837 [12:15:29]opened+sec_in_day 1730333237 [12:15:29]quantity*price = 13400 [12:15:29]sum+1 = 13401 [12:15:29]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 2.000 * 50.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 234.00 НСП 1% : 2.07 НДС 12% : 24.85 Наличными: 234.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 24 30.10.2024 12:15 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37942 ФПД: 133747794774229 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T121533&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37942&fm=133747794774229&tin=02508201610067®Number=0000000000091684&sum=23400 0 [12:15:30]StoreToDocumentArchive [12:15:30]shift 553 fd 37942 [12:15:30]save to /storage/0553/doc_00037942 [12:15:30]save last doc name /storage/0553/doc_00037942 to /storage/kkm_last_doc_name [12:15:30]save OK [12:15:30]Clear old archive folders... [12:15:30]ProcessDocumentItem done err = 0, tmpTLVsize=396 [12:15:30]tlvbuf is 0190A9F0 [12:15:30]SAM_PROTO_ClearQueue [12:15:30]wFMCommunicate request_size=4 [12:15:30]MH_SAM_APDU [12:15:30]CAPDU: 80 09 00 00 [12:15:30]Write to MH i2c: E2 08 00 CD 0D 80 09 00 00 00 00 00 00 4C [12:15:30]Write i2c OK [12:15:30]MH_I2C_Read... [12:15:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:15:30]Read from MH i2c: E2 [12:15:30]MH_I2C_Read... [12:15:30]Read from MH i2c: E2 03 00 [12:15:30]MH_I2C_Read... [12:15:30]Read from MH i2c: E2 03 00 CD 0D 00 90 00 4E [12:15:30]RAPDU: 90 00 [12:15:30]wFMCommunicate OK [12:15:30]SAM_PROTO_ClearQueue done [12:15:30]KKMCreateOFDPacket [12:15:30]OFDProtocolAddRootSTLVToBuf [12:15:30]FM_MakeSignedData [12:15:30]FM_MakeSignedData [12:15:30]SAM_PROTO_SignData [12:15:30]wFMCommunicate request_size=4 [12:15:30]MH_SAM_APDU [12:15:30]CAPDU: 80 0D 01 02 [12:15:30]Write to MH i2c: E2 08 00 CE 0D 80 0D 01 02 00 00 00 00 54 [12:15:30]Write i2c OK [12:15:30]MH_I2C_Read... [12:15:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:15:30]Read from MH i2c: E2 [12:15:30]MH_I2C_Read... [12:15:30]Read from MH i2c: E2 03 00 [12:15:30]MH_I2C_Read... [12:15:30]Read from MH i2c: E2 03 00 CE 0D 00 90 00 4F [12:15:30]RAPDU: 90 00 [12:15:30]wFMCommunicate OK [12:15:30]wFMCommunicate request_size=255 [12:15:30]MH_SAM_APDU [12:15:30]CAPDU: 80 0D 02 02 FA 03 00 8C 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 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 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 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 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF [12:15:30]Write to MH i2c: E2 02 01 CF 0D 80 0D 02 02 FA 00 03 00 8C 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 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 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 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 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF 00 00 2E [12:15:30]Write i2c OK [12:15:30]MH_I2C_Read... [12:15:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:15:30]Read from MH i2c: E2 [12:15:30]MH_I2C_Read... [12:15:30]Read from MH i2c: E2 03 00 [12:15:30]MH_I2C_Read... [12:15:30]Read from MH i2c: E2 03 00 CF 0D 00 90 00 50 [12:15:30]RAPDU: 90 00 [12:15:30]wFMCommunicate OK [12:15:30]wFMCommunicate request_size=155 [12:15:30]MH_SAM_APDU [12:15:30]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 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 65 23 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 36 94 00 00 35 04 06 00 79 A4 95 CC 08 D5 [12:15:30]Write to MH i2c: E2 9E 00 D0 0D 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 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 65 23 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 36 94 00 00 35 04 06 00 79 A4 95 CC 08 D5 00 00 86 [12:15:31]Write i2c OK [12:15:31]MH_I2C_Read... [12:15:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:15:31]Read from MH i2c: E2 [12:15:31]MH_I2C_Read... [12:15:31]Read from MH i2c: E2 03 00 [12:15:31]MH_I2C_Read... [12:15:31]Read from MH i2c: E2 03 00 D0 0D 00 90 00 51 [12:15:31]RAPDU: 90 00 [12:15:31]wFMCommunicate OK [12:15:31]wFMCommunicate request_size=4 [12:15:31]MH_SAM_APDU [12:15:31]CAPDU: 80 0D 03 02 [12:15:31]Write to MH i2c: E2 08 00 D1 0D 80 0D 03 02 00 00 00 00 59 [12:15:31]Write i2c OK [12:15:31]MH_I2C_Read... [12:15:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:15:31]Read from MH i2c: E2 [12:15:31]MH_I2C_Read... [12:15:31]Read from MH i2c: E2 0B 00 [12:15:31]MH_I2C_Read... [12:15:31]Read from MH i2c: E2 0B 00 D1 0D 00 EB 51 31 C2 03 CB 74 A1 90 00 6C [12:15:31]RAPDU: EB 51 31 C2 03 CB 74 A1 90 00 [12:15:31]wFMCommunicate OK [12:15:31]SAM_PROTO_SignData done [12:15:31]FM_MakeSignedData done [12:15:31]CreateOFDProtocolMessage [12:15:31]wFMCommunicate request_size=4 [12:15:31]MH_SAM_APDU [12:15:31]CAPDU: 80 11 00 00 [12:15:31]Write to MH i2c: E2 08 00 D2 0D 80 11 00 00 00 00 00 00 59 [12:15:31]Write i2c OK [12:15:31]MH_I2C_Read... [12:15:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:15:31]Read from MH i2c: E2 [12:15:31]MH_I2C_Read... [12:15:31]Read from MH i2c: E2 17 00 [12:15:31]MH_I2C_Read... [12:15:31]Read from MH i2c: E2 17 00 D2 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A9 [12:15:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:15:31]wFMCommunicate OK [12:15:31]CreateOFDProtocolMessage done [12:15:31]OFDSenderStorePacket 37942 [12:15:31]StoreOFDPacket docnum=37942 [12:15:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 A0 01 00 00 C6 28 98 01 CA FE 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 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 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 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 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 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 65 23 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 36 94 00 00 35 04 06 00 79 A4 95 CC 08 D5 EB 51 31 C2 03 CB 74 A1 [12:15:31]CheckFolder [12:15:31]dirname=/storage/ofd_packets [12:15:31]CheckFolder done [12:15:31]ProducePacketName [12:15:31]name=ofd_packets/00037942 [12:15:31]NVStorageSaveData ofd_packets/00037942 [12:15:31]File name is /storage/ofd_packets/00037942 [12:15:31]Write 446 bytes [12:15:31]NVStorageSaveData done [12:15:31]OFDSenderStorePacket done [12:15:31]KKMCreateOFDPacket done [12:15:31]NVStorageSaveData kkm_last_timestamp [12:15:31]File name is /storage/kkm_last_timestamp [12:15:31]Write 4 bytes [12:15:31]NVStorageSaveData done [12:15:31]ExternCall_PrintAddStr [12:15:31]wPrintStart [12:15:31]Write to MH i2c: 01 00 00 D3 0D E0 [12:15:31]Write i2c OK [12:15:31]MH_I2C_Read... [12:15:31]Read from MH i2c: 01 [12:15:31]MH_I2C_Read... [12:15:31]Read from MH i2c: 01 07 00 [12:15:31]MH_I2C_Read... [12:15:31]Read from MH i2c: 01 07 00 D3 0D 00 00 00 00 00 FF 0F F5 [12:15:31]RasterBufferAndPrint [12:15:31]line Счет N : (3)35241 [12:15:31]line ИНН: 02508201610067 [12:15:31]line Контрольно-Кассовый Чек [12:15:31]line ПРОДАЖА [12:15:31]line Товар: 4700041420084 [12:15:31]line Салфетки влажн BEST ANTIBACTERIAL 100 шт [12:15:31]line 1.000 * 134.00 [12:15:31]line = 134.00 [12:15:31]line НДС 12% НСП 1% [12:15:31]line > о реализуемом товаре [12:15:31]line Товар: 4700000160358 [12:15:31]line Вода Легенда 1л [12:15:31]line 2.000 * 50.00 [12:15:31]line = 100.00 [12:15:31]line НДС 12% НСП 1% [12:15:31]line > о реализуемом товаре [12:15:31]line ИТОГО: 234.00 [12:15:31]line НСП 1% : 2.07 [12:15:31]line НДС 12% : 24.85 [12:15:31]line Наличными: 234.00 [12:15:31]line Безнал.: 0.00 [12:15:31]line Место: АЗС № 126 "Партнер Нефть" [12:15:31]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [12:15:31]line СНО: Общий режим [12:15:31]line Чек 24 30.10.2024 12:15 [12:15:31]line Смена: 553 ФФД: 1.0 [12:15:31]line ЗНМ: 0300000092 [12:15:31]line РНМ: 0000000000091684 [12:15:31]line Версия ККМ: 001 [12:15:31]line ФМ: 0000000000871841 [12:15:31]line ФД: 37942 [12:15:31]line ФПД: 133747794774229 [12:15:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T121533&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37942&fm=133747794774229&tin=02508201610067®Number=0000000000091684&sum=23400 [12:15:31]line 0 [12:15:31]OFD Sender: Processing packet 37942 [packets to send 42, broken 41] [12:15:31]ProducePacketName [12:15:31]name=ofd_packets/00037942 [12:15:31]OFD Sender: To server: pG, [12:15:31]CommunicateWithHost lk.salyk.kg:30040 [12:15:31]ConnectInit lk.salyk.kg [12:15:31]written 0, free lines is 4095 [12:15:31]Connected sock=10 [12:15:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 A0 01 00 00 C6 28 98 01 CA FE 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 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 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 D1 82 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 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 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 65 23 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 36 94 00 00 35 04 06 00 79 A4 95 CC 08 D5 EB 51 31 C2 03 CB 74 A1 [12:15:32]Write to MH i2c: 01 00 00 02 0E 10 [12:15:32]Write i2c OK [12:15:32]MH_I2C_Read... [12:15:32]Read from MH i2c: 01 [12:15:32]MH_I2C_Read... [12:15:32]Read from MH i2c: 01 07 00 [12:15:32]MH_I2C_Read... [12:15:32]Read from MH i2c: 01 07 00 02 0E 00 00 00 00 00 5B 0C 7E [12:15:32]RasterBufferAndPrint [12:15:32]line [12:15:32]line [12:15:32]line [12:15:32]line [12:15:32]line [12:15:32]written 0, free lines is 3169 [12:15:32]MH_Cut [12:15:32]Write to MH i2c: D1 01 00 09 0E 01 E9 [12:15:32]Write i2c OK [12:15:32]MH_I2C_Read... [12:15:32]Read from MH i2c: D1 [12:15:32]MH_I2C_Read... [12:15:32]Read from MH i2c: D1 01 00 [12:15:32]MH_I2C_Read... [12:15:32]Read from MH i2c: D1 01 00 09 0E 00 E8 [12:15:32]Write to MH i2c: 01 00 00 0A 0E 18 [12:15:32]Write i2c OK [12:15:32]MH_I2C_Read... [12:15:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 E0 40 47 00 02 6C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 36 94 00 00 F4 03 04 00 54 CE 21 67 B6 04 01 00 00 FA AC 75 E9 59 2B DB 2C [12:15:32]CommunicateWithHost err = 0 [12:15:32]CheckOFDResponse [12:15:32]1017 (14) - 77093643461234 [12:15:32]1041 (16) - 0000000000871841 [12:15:32]1040 (4) - 37942 [12:15:32]1012 (4) - 30.10.2024 06:12 [12:15:32]1206 (1) - 0 [12:15:32]OFD Sender: Remove packet 37942 [12:15:32]ProducePacketName [12:15:32]name=ofd_packets/00037942 [12:15:32]NVStorageDeleteData [12:15:32]OFD Sender: No OFD packet to send [12:15:33]*** Cut start [12:15:33]*** Partial cut [12:15:33]*** CUTSNS_PIN = 1 [12:15:33]*** CUTSNS_PIN = 0 [12:15:33]*** Brake cut motor [12:15:33]Read from MH i2c: 01 [12:15:33]MH_I2C_Read... [12:15:33]*** Stop cut motor [12:15:33]*** Cut end [12:15:33]Read from MH i2c: 01 07 00 [12:15:33]MH_I2C_Read... [12:15:33]Read from MH i2c: 01 07 00 0A 0E 00 00 00 00 00 FF 0F 2D [12:15:33]process_action close_receipt done [12:15:33]requested_data is exist [12:15:33]produce_requested_data [12:15:33]requested_item fm.sn is exist - process it [12:15:33]wFMCommunicate request_size=4 [12:15:33]MH_SAM_APDU [12:15:33]CAPDU: 80 11 00 00 [12:15:33]Write to MH i2c: E2 08 00 0B 0E 80 11 00 00 00 00 00 00 93 [12:15:33]Write i2c OK [12:15:33]MH_I2C_Read... [12:15:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:15:33]Read from MH i2c: E2 [12:15:33]MH_I2C_Read... [12:15:33]Read from MH i2c: E2 17 00 [12:15:33]MH_I2C_Read... [12:15:33]Read from MH i2c: E2 17 00 0B 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E3 [12:15:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:15:33]wFMCommunicate OK [12:15:33]requested_item fd.num is exist - process it [12:15:33]SAM_PROTO_GetFieldsCounters [12:15:33]wFMCommunicate request_size=4 [12:15:33]MH_SAM_APDU [12:15:33]CAPDU: 80 13 00 00 [12:15:33]Write to MH i2c: E2 08 00 0C 0E 80 13 00 00 00 00 00 00 96 [12:15:33]Write i2c OK [12:15:33]MH_I2C_Read... [12:15:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:15:33]Read from MH i2c: E2 [12:15:33]MH_I2C_Read... [12:15:33]Read from MH i2c: E2 62 00 [12:15:33]MH_I2C_Read... [12:15:33]Read from MH i2c: E2 62 00 0C 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 36 94 00 00 0E 04 04 00 29 02 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 F4 [12:15:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 36 94 00 00 0E 04 04 00 29 02 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 [12:15:33]wFMCommunicate OK [12:15:33]SAM_PROTO_GetFieldsCounters done [12:15:33]requested_item shift.num is exist - process it [12:15:33]requested_item shift.opened is exist - process it [12:15:33]req_shift_opened [12:15:33]FM_GetShiftState [12:15:33]SAM_PROTO_GetShiftState [12:15:33]wFMCommunicate request_size=4 [12:15:33]MH_SAM_APDU [12:15:33]CAPDU: 80 13 01 00 [12:15:33]Write to MH i2c: E2 08 00 0D 0E 80 13 01 00 00 00 00 00 98 [12:15:33]Write i2c OK [12:15:33]MH_I2C_Read... [12:15:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:15:33]Read from MH i2c: E2 [12:15:33]MH_I2C_Read... [12:15:33]Read from MH i2c: E2 0E 00 [12:15:33]MH_I2C_Read... [12:15:33]Read from MH i2c: E2 0E 00 0D 0E 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 59 [12:15:33]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [12:15:33]wFMCommunicate OK [12:15:33]SAM_PROTO_GetShiftState done [12:15:33]FM_GetShiftState done [12:15:33]req_shift_opened done [12:15:33]requested_item shift.open_date is exist - process it [12:15:33]req_shift_open_date [12:15:33]req_shift_open_date done [12:15:33]produce_requested_data done [12:15:33]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37942,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [12:15:33]process_action_free close_receipt [12:15:33]json_value_free [12:15:33]json_value_free done [12:15:33]process_json_proto returns [12:15:33]Send response to host [12:15:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37942,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [12:15:33]free response buf [12:15:33]execute_script done [12:15:33]execute_script returns [12:15:33]free content buf [12:15:33]Sock 9.Close socket [12:15:33]Sock 9.Thread stoped [12:15:37]OFD Sender: No OFD packet to send [12:15:42]OFD Sender: No OFD packet to send [12:15:47]OFD Sender: No OFD packet to send [12:15:52]OFD Sender: No OFD packet to send [12:15:57]OFD Sender: No OFD packet to send [12:16:02]OFD Sender: No OFD packet to send [12:16:07]OFD Sender: No OFD packet to send [12:16:12]OFD Sender: No OFD packet to send [12:16:17]OFD Sender: No OFD packet to send [12:16:22]OFD Sender: No OFD packet to send [12:16:27]OFD Sender: No OFD packet to send [12:16:32]OFD Sender: No OFD packet to send [12:16:37]OFD Sender: No OFD packet to send [12:16:42]OFD Sender: No OFD packet to send [12:16:47]OFD Sender: No OFD packet to send [12:16:52]OFD Sender: No OFD packet to send [12:16:57]OFD Sender: No OFD packet to send [12:17:02]OFD Sender: No OFD packet to send [12:17:07]OFD Sender: No OFD packet to send [12:17:12]OFD Sender: No OFD packet to send [12:17:17]OFD Sender: No OFD packet to send [12:17:23]OFD Sender: No OFD packet to send [12:17:28]OFD Sender: No OFD packet to send [12:17:33]OFD Sender: No OFD packet to send [12:17:38]OFD Sender: No OFD packet to send [12:17:43]OFD Sender: No OFD packet to send [12:17:48]OFD Sender: No OFD packet to send [12:17:53]OFD Sender: No OFD packet to send [12:17:58]OFD Sender: No OFD packet to send [12:18:03]OFD Sender: No OFD packet to send [12:18:08]OFD Sender: No OFD packet to send [12:18:13]OFD Sender: No OFD packet to send [12:18:18]OFD Sender: No OFD packet to send [12:18:23]OFD Sender: No OFD packet to send [12:18:28]OFD Sender: No OFD packet to send [12:18:33]OFD Sender: No OFD packet to send [12:18:38]OFD Sender: No OFD packet to send [12:18:43]OFD Sender: No OFD packet to send [12:18:48]OFD Sender: No OFD packet to send [12:18:53]OFD Sender: No OFD packet to send [12:18:58]OFD Sender: No OFD packet to send [12:19:03]OFD Sender: No OFD packet to send [12:19:08]OFD Sender: No OFD packet to send [12:19:13]OFD Sender: No OFD packet to send [12:19:18]OFD Sender: No OFD packet to send [12:19:23]OFD Sender: No OFD packet to send [12:19:28]OFD Sender: No OFD packet to send [12:19:33]OFD Sender: No OFD packet to send [12:19:38]OFD Sender: No OFD packet to send [12:19:43]OFD Sender: No OFD packet to send [12:19:48]OFD Sender: No OFD packet to send [12:19:53]OFD Sender: No OFD packet to send [12:19:58]OFD Sender: No OFD packet to send [12:20:03]OFD Sender: No OFD packet to send [12:20:08]OFD Sender: No OFD packet to send [12:20:13]OFD Sender: No OFD packet to send [12:20:18]OFD Sender: No OFD packet to send [12:20:23]OFD Sender: No OFD packet to send [12:20:28]OFD Sender: No OFD packet to send [12:20:33]OFD Sender: No OFD packet to send [12:20:38]OFD Sender: No OFD packet to send [12:20:43]OFD Sender: No OFD packet to send [12:20:48]OFD Sender: No OFD packet to send [12:20:53]OFD Sender: No OFD packet to send [12:20:58]OFD Sender: No OFD packet to send [12:21:03]OFD Sender: No OFD packet to send [12:21:08]OFD Sender: No OFD packet to send [12:21:13]OFD Sender: No OFD packet to send [12:21:18]OFD Sender: No OFD packet to send [12:21:23]OFD Sender: No OFD packet to send [12:21:28]OFD Sender: No OFD packet to send [12:21:33]OFD Sender: No OFD packet to send [12:21:38]OFD Sender: No OFD packet to send [12:21:43]OFD Sender: No OFD packet to send [12:21:48]OFD Sender: No OFD packet to send [12:21:53]OFD Sender: No OFD packet to send [12:21:58]OFD Sender: No OFD packet to send [12:22:03]OFD Sender: No OFD packet to send [12:22:08]OFD Sender: No OFD packet to send [12:22:13]OFD Sender: No OFD packet to send [12:22:18]OFD Sender: No OFD packet to send [12:22:23]OFD Sender: No OFD packet to send [12:22:28]OFD Sender: No OFD packet to send [12:22:33]OFD Sender: No OFD packet to send [12:22:38]OFD Sender: No OFD packet to send [12:22:43]OFD Sender: No OFD packet to send [12:22:48]OFD Sender: No OFD packet to send [12:22:53]OFD Sender: No OFD packet to send [12:22:58]OFD Sender: No OFD packet to send [12:23:03]OFD Sender: No OFD packet to send [12:23:08]OFD Sender: No OFD packet to send [12:23:13]OFD Sender: No OFD packet to send [12:23:18]OFD Sender: No OFD packet to send [12:23:23]OFD Sender: No OFD packet to send [12:23:28]OFD Sender: No OFD packet to send [12:23:33]OFD Sender: No OFD packet to send [12:23:38]OFD Sender: No OFD packet to send [12:23:43]OFD Sender: No OFD packet to send [12:23:48]OFD Sender: No OFD packet to send [12:23:53]OFD Sender: No OFD packet to send [12:23:58]OFD Sender: No OFD packet to send [12:24:03]OFD Sender: No OFD packet to send [12:24:08]OFD Sender: No OFD packet to send [12:24:13]OFD Sender: No OFD packet to send [12:24:18]OFD Sender: No OFD packet to send [12:24:23]OFD Sender: No OFD packet to send [12:24:28]OFD Sender: No OFD packet to send [12:24:33]OFD Sender: No OFD packet to send [12:24:38]OFD Sender: No OFD packet to send [12:24:43]OFD Sender: No OFD packet to send [12:24:48]OFD Sender: No OFD packet to send [12:24:53]OFD Sender: No OFD packet to send [12:24:58]OFD Sender: No OFD packet to send [12:25:03]OFD Sender: No OFD packet to send [12:25:08]OFD Sender: No OFD packet to send [12:25:13]OFD Sender: No OFD packet to send [12:25:18]OFD Sender: No OFD packet to send [12:25:23]OFD Sender: No OFD packet to send [12:25:28]OFD Sender: No OFD packet to send [12:25:33]OFD Sender: No OFD packet to send [12:25:38]OFD Sender: No OFD packet to send [12:25:43]OFD Sender: No OFD packet to send [12:25:48]OFD Sender: No OFD packet to send [12:25:53]OFD Sender: No OFD packet to send [12:25:58]OFD Sender: No OFD packet to send [12:26:03]OFD Sender: No OFD packet to send [12:26:08]OFD Sender: No OFD packet to send [12:26:13]OFD Sender: No OFD packet to send [12:26:18]OFD Sender: No OFD packet to send [12:26:23]OFD Sender: No OFD packet to send [12:26:28]OFD Sender: No OFD packet to send [12:26:33]OFD Sender: No OFD packet to send [12:26:38]OFD Sender: No OFD packet to send [12:26:43]OFD Sender: No OFD packet to send [12:26:48]OFD Sender: No OFD packet to send [12:26:53]OFD Sender: No OFD packet to send [12:26:58]OFD Sender: No OFD packet to send [12:27:03]OFD Sender: No OFD packet to send [12:27:08]OFD Sender: No OFD packet to send [12:27:13]OFD Sender: No OFD packet to send [12:27:18]OFD Sender: No OFD packet to send [12:27:23]OFD Sender: No OFD packet to send [12:27:28]OFD Sender: No OFD packet to send [12:27:33]OFD Sender: No OFD packet to send [12:27:38]OFD Sender: No OFD packet to send [12:27:43]OFD Sender: No OFD packet to send [12:27:48]OFD Sender: No OFD packet to send [12:27:53]OFD Sender: No OFD packet to send [12:27:58]OFD Sender: No OFD packet to send [12:28:03]OFD Sender: No OFD packet to send [12:28:08]OFD Sender: No OFD packet to send [12:28:13]OFD Sender: No OFD packet to send [12:28:18]OFD Sender: No OFD packet to send [12:28:23]OFD Sender: No OFD packet to send [12:28:28]OFD Sender: No OFD packet to send [12:28:33]OFD Sender: No OFD packet to send [12:28:38]OFD Sender: No OFD packet to send [12:28:43]OFD Sender: No OFD packet to send [12:28:48]OFD Sender: No OFD packet to send [12:28:53]OFD Sender: No OFD packet to send [12:28:58]OFD Sender: No OFD packet to send [12:29:03]OFD Sender: No OFD packet to send [12:29:08]OFD Sender: No OFD packet to send [12:29:13]OFD Sender: No OFD packet to send [12:29:18]OFD Sender: No OFD packet to send [12:29:23]OFD Sender: No OFD packet to send [12:29:28]OFD Sender: No OFD packet to send [12:29:33]OFD Sender: No OFD packet to send [12:29:38]OFD Sender: No OFD packet to send [12:29:43]OFD Sender: No OFD packet to send [12:29:48]OFD Sender: No OFD packet to send [12:29:53]OFD Sender: No OFD packet to send [12:29:58]OFD Sender: No OFD packet to send [12:30:03]OFD Sender: No OFD packet to send [12:30:08]OFD Sender: No OFD packet to send [12:30:13]OFD Sender: No OFD packet to send [12:30:18]OFD Sender: No OFD packet to send [12:30:23]OFD Sender: No OFD packet to send [12:30:28]OFD Sender: No OFD packet to send [12:30:33]OFD Sender: No OFD packet to send [12:30:38]OFD Sender: No OFD packet to send [12:30:43]OFD Sender: No OFD packet to send [12:30:48]OFD Sender: No OFD packet to send [12:30:53]OFD Sender: No OFD packet to send [12:30:58]OFD Sender: No OFD packet to send [12:31:03]OFD Sender: No OFD packet to send [12:31:08]OFD Sender: No OFD packet to send [12:31:13]OFD Sender: No OFD packet to send [12:31:18]OFD Sender: No OFD packet to send [12:31:23]OFD Sender: No OFD packet to send [12:31:28]OFD Sender: No OFD packet to send [12:31:33]OFD Sender: No OFD packet to send [12:31:38]OFD Sender: No OFD packet to send [12:31:43]OFD Sender: No OFD packet to send [12:31:48]OFD Sender: No OFD packet to send [12:31:53]OFD Sender: No OFD packet to send [12:31:58]OFD Sender: No OFD packet to send [12:32:03]OFD Sender: No OFD packet to send [12:32:08]OFD Sender: No OFD packet to send [12:32:13]OFD Sender: No OFD packet to send [12:32:18]OFD Sender: No OFD packet to send [12:32:23]OFD Sender: No OFD packet to send [12:32:28]OFD Sender: No OFD packet to send [12:32:33]OFD Sender: No OFD packet to send [12:32:38]OFD Sender: No OFD packet to send [12:32:43]OFD Sender: No OFD packet to send [12:32:48]OFD Sender: No OFD packet to send [12:32:53]OFD Sender: No OFD packet to send [12:32:58]OFD Sender: No OFD packet to send [12:33:03]OFD Sender: No OFD packet to send [12:33:08]OFD Sender: No OFD packet to send [12:33:13]OFD Sender: No OFD packet to send [12:33:18]OFD Sender: No OFD packet to send [12:33:23]OFD Sender: No OFD packet to send [12:33:28]OFD Sender: No OFD packet to send [12:33:33]OFD Sender: No OFD packet to send [12:33:38]OFD Sender: No OFD packet to send [12:33:43]OFD Sender: No OFD packet to send [12:33:48]OFD Sender: No OFD packet to send [12:33:53]OFD Sender: No OFD packet to send [12:33:58]OFD Sender: No OFD packet to send [12:34:03]OFD Sender: No OFD packet to send [12:34:08]OFD Sender: No OFD packet to send [12:34:13]OFD Sender: No OFD packet to send [12:34:18]OFD Sender: No OFD packet to send [12:34:23]OFD Sender: No OFD packet to send [12:34:28]OFD Sender: No OFD packet to send [12:34:33]OFD Sender: No OFD packet to send [12:34:38]OFD Sender: No OFD packet to send [12:34:43]OFD Sender: No OFD packet to send [12:34:48]OFD Sender: No OFD packet to send [12:34:53]OFD Sender: No OFD packet to send [12:34:58]OFD Sender: No OFD packet to send [12:35:03]OFD Sender: No OFD packet to send [12:35:08]OFD Sender: No OFD packet to send [12:35:13]OFD Sender: No OFD packet to send [12:35:18]OFD Sender: No OFD packet to send [12:35:23]OFD Sender: No OFD packet to send [12:35:28]OFD Sender: No OFD packet to send [12:35:33]OFD Sender: No OFD packet to send [12:35:38]OFD Sender: No OFD packet to send [12:35:43]OFD Sender: No OFD packet to send [12:35:48]OFD Sender: No OFD packet to send [12:35:53]OFD Sender: No OFD packet to send [12:35:58]OFD Sender: No OFD packet to send [12:36:04]OFD Sender: No OFD packet to send [12:36:09]OFD Sender: No OFD packet to send [12:36:14]OFD Sender: No OFD packet to send [12:36:19]OFD Sender: No OFD packet to send [12:36:24]OFD Sender: No OFD packet to send [12:36:29]OFD Sender: No OFD packet to send [12:36:34]OFD Sender: No OFD packet to send [12:36:39]OFD Sender: No OFD packet to send [12:36:44]OFD Sender: No OFD packet to send [12:36:49]OFD Sender: No OFD packet to send [12:36:54]OFD Sender: No OFD packet to send [12:36:59]OFD Sender: No OFD packet to send [12:37:04]OFD Sender: No OFD packet to send [12:37:09]OFD Sender: No OFD packet to send [12:37:14]OFD Sender: No OFD packet to send [12:37:19]OFD Sender: No OFD packet to send [12:37:24]OFD Sender: No OFD packet to send [12:37:29]OFD Sender: No OFD packet to send [12:37:34]OFD Sender: No OFD packet to send [12:37:39]OFD Sender: No OFD packet to send [12:37:44]OFD Sender: No OFD packet to send [12:37:49]OFD Sender: No OFD packet to send [12:37:54]OFD Sender: No OFD packet to send [12:37:59]OFD Sender: No OFD packet to send [12:38:04]OFD Sender: No OFD packet to send [12:38:09]OFD Sender: No OFD packet to send [12:38:14]OFD Sender: No OFD packet to send [12:38:19]OFD Sender: No OFD packet to send [12:38:24]OFD Sender: No OFD packet to send [12:38:29]OFD Sender: No OFD packet to send [12:38:34]OFD Sender: No OFD packet to send [12:38:39]OFD Sender: No OFD packet to send [12:38:44]OFD Sender: No OFD packet to send [12:38:49]OFD Sender: No OFD packet to send [12:38:54]OFD Sender: No OFD packet to send [12:38:59]OFD Sender: No OFD packet to send [12:39:04]OFD Sender: No OFD packet to send [12:39:09]OFD Sender: No OFD packet to send [12:39:14]OFD Sender: No OFD packet to send [12:39:19]OFD Sender: No OFD packet to send [12:39:24]OFD Sender: No OFD packet to send [12:39:29]OFD Sender: No OFD packet to send [12:39:34]OFD Sender: No OFD packet to send [12:39:39]OFD Sender: No OFD packet to send [12:39:44]OFD Sender: No OFD packet to send [12:39:49]OFD Sender: No OFD packet to send [12:39:54]OFD Sender: No OFD packet to send [12:39:59]OFD Sender: No OFD packet to send [12:40:04]OFD Sender: No OFD packet to send [12:40:09]OFD Sender: No OFD packet to send [12:40:14]OFD Sender: No OFD packet to send [12:40:19]OFD Sender: No OFD packet to send [12:40:24]OFD Sender: No OFD packet to send [12:40:29]OFD Sender: No OFD packet to send [12:40:34]OFD Sender: No OFD packet to send [12:40:39]OFD Sender: No OFD packet to send [12:40:44]OFD Sender: No OFD packet to send [12:40:49]OFD Sender: No OFD packet to send [12:40:54]OFD Sender: No OFD packet to send [12:40:59]OFD Sender: No OFD packet to send [12:41:04]OFD Sender: No OFD packet to send [12:41:09]OFD Sender: No OFD packet to send [12:41:14]OFD Sender: No OFD packet to send [12:41:19]OFD Sender: No OFD packet to send [12:41:24]OFD Sender: No OFD packet to send [12:41:29]OFD Sender: No OFD packet to send [12:41:34]OFD Sender: No OFD packet to send [12:41:39]OFD Sender: No OFD packet to send [12:41:44]OFD Sender: No OFD packet to send [12:41:49]OFD Sender: No OFD packet to send [12:41:54]OFD Sender: No OFD packet to send [12:41:59]OFD Sender: No OFD packet to send [12:42:04]OFD Sender: No OFD packet to send [12:42:09]OFD Sender: No OFD packet to send [12:42:14]OFD Sender: No OFD packet to send [12:42:19]OFD Sender: No OFD packet to send [12:42:24]OFD Sender: No OFD packet to send [12:42:29]OFD Sender: No OFD packet to send [12:42:34]OFD Sender: No OFD packet to send [12:42:39]OFD Sender: No OFD packet to send [12:42:44]OFD Sender: No OFD packet to send [12:42:49]OFD Sender: No OFD packet to send [12:42:54]OFD Sender: No OFD packet to send [12:42:59]OFD Sender: No OFD packet to send [12:43:04]OFD Sender: No OFD packet to send [12:43:09]OFD Sender: No OFD packet to send [12:43:14]OFD Sender: No OFD packet to send [12:43:19]OFD Sender: No OFD packet to send [12:43:24]OFD Sender: No OFD packet to send [12:43:29]OFD Sender: No OFD packet to send [12:43:34]OFD Sender: No OFD packet to send [12:43:39]OFD Sender: No OFD packet to send [12:43:44]OFD Sender: No OFD packet to send [12:43:49]OFD Sender: No OFD packet to send [12:43:54]OFD Sender: No OFD packet to send [12:43:59]OFD Sender: No OFD packet to send [12:44:04]OFD Sender: No OFD packet to send [12:44:09]OFD Sender: No OFD packet to send [12:44:14]OFD Sender: No OFD packet to send [12:44:19]OFD Sender: No OFD packet to send [12:44:24]OFD Sender: No OFD packet to send [12:44:29]OFD Sender: No OFD packet to send [12:44:34]OFD Sender: No OFD packet to send [12:44:39]OFD Sender: No OFD packet to send [12:44:44]OFD Sender: No OFD packet to send [12:44:49]OFD Sender: No OFD packet to send [12:44:54]OFD Sender: No OFD packet to send [12:44:59]OFD Sender: No OFD packet to send [12:45:04]OFD Sender: No OFD packet to send [12:45:09]OFD Sender: No OFD packet to send [12:45:14]OFD Sender: No OFD packet to send [12:45:19]OFD Sender: No OFD packet to send [12:45:24]OFD Sender: No OFD packet to send [12:45:29]OFD Sender: No OFD packet to send [12:45:34]OFD Sender: No OFD packet to send [12:45:39]OFD Sender: No OFD packet to send [12:45:44]OFD Sender: No OFD packet to send [12:45:49]OFD Sender: No OFD packet to send [12:45:54]OFD Sender: No OFD packet to send [12:45:59]OFD Sender: No OFD packet to send [12:46:04]OFD Sender: No OFD packet to send [12:46:09]OFD Sender: No OFD packet to send [12:46:14]OFD Sender: No OFD packet to send [12:46:19]OFD Sender: No OFD packet to send [12:46:24]OFD Sender: No OFD packet to send [12:46:29]OFD Sender: No OFD packet to send [12:46:34]OFD Sender: No OFD packet to send [12:46:39]OFD Sender: No OFD packet to send [12:46:44]OFD Sender: No OFD packet to send [12:46:49]OFD Sender: No OFD packet to send [12:46:54]OFD Sender: No OFD packet to send [12:46:59]OFD Sender: No OFD packet to send [12:47:04]OFD Sender: No OFD packet to send [12:47:09]OFD Sender: No OFD packet to send [12:47:14]OFD Sender: No OFD packet to send [12:47:19]OFD Sender: No OFD packet to send [12:47:24]OFD Sender: No OFD packet to send [12:47:29]OFD Sender: No OFD packet to send [12:47:34]OFD Sender: No OFD packet to send [12:47:39]OFD Sender: No OFD packet to send [12:47:44]OFD Sender: No OFD packet to send [12:47:49]OFD Sender: No OFD packet to send [12:47:54]OFD Sender: No OFD packet to send [12:47:59]OFD Sender: No OFD packet to send [12:48:04]OFD Sender: No OFD packet to send [12:48:09]OFD Sender: No OFD packet to send [12:48:14]OFD Sender: No OFD packet to send [12:48:19]OFD Sender: No OFD packet to send [12:48:24]OFD Sender: No OFD packet to send [12:48:29]OFD Sender: No OFD packet to send [12:48:34]OFD Sender: No OFD packet to send [12:48:39]OFD Sender: No OFD packet to send [12:48:44]OFD Sender: No OFD packet to send [12:48:49]OFD Sender: No OFD packet to send [12:48:54]OFD Sender: No OFD packet to send [12:48:59]OFD Sender: No OFD packet to send [12:49:04]OFD Sender: No OFD packet to send [12:49:09]OFD Sender: No OFD packet to send [12:49:14]OFD Sender: No OFD packet to send [12:49:16]accept exits with 7 [12:49:16]New connection [12:49:16]New thread 3067207012 created [12:49:16]Thread 3067063652 joined [12:49:16]Waiting for new connection... [12:49:16] Sock 7.Parse request [12:49:16]Sock 7.Check first char [12:49:16]Sock 7.First char is OK [12:49:16]request: POST /json_proto HTTP/1.0 [12:49:16]Method: POST [12:49:16]URL: /json_proto [12:49:16]Method is POST - this is cgi request [12:49:16]url: /json_proto [12:49:16]query_string will be loaded in cgi processing [12:49:16]execute_cgi json_proto POST (null) [12:49:16]execute_cgi path=json_proto method=POST [12:49:16]POST find Content-Length [12:49:16]Host: 172.17.40.196:8080 [12:49:16]Content-Length: 643 [12:49:16]Content-Type: application/json [12:49:16] [12:49:16]POST finish read [12:49:16]Found Content-Length = 643 [12:49:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35242", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:49:16]execute_script... [12:49:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35242", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:49:16]POST & json_proto [12:49:16]process_json_proto [12:49:16]json parsed OK: [12:49:16]protocol is kg_v1.0 [12:49:16]action value=close_receipt [12:49:16]process_action close_receipt [12:49:16]cmd_close_receipt [12:49:16]MH_GetDate [12:49:16]Write to MH i2c: F0 00 00 0E 0E 0B [12:49:16]Write i2c OK [12:49:16]MH_I2C_Read... [12:49:16]Read from MH i2c: F0 [12:49:16]MH_I2C_Read... [12:49:16]Read from MH i2c: F0 09 00 [12:49:16]MH_I2C_Read... [12:49:16]Read from MH i2c: F0 09 00 0E 0E 00 50 2B 22 67 5B 68 A1 66 E2 [12:49:16]GetLastDocTimeStamp 1730290533 [12:49:16]current date 1730292560 [12:49:16]FM_GetShiftState [12:49:16]SAM_PROTO_GetShiftState [12:49:16]wFMCommunicate request_size=4 [12:49:16]MH_SAM_APDU [12:49:16]CAPDU: 80 13 01 00 [12:49:16]Write to MH i2c: E2 08 00 0F 0E 80 13 01 00 00 00 00 00 9A [12:49:16]Write i2c OK [12:49:16]MH_I2C_Read... [12:49:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:49:16]Read from MH i2c: E2 [12:49:16]MH_I2C_Read... [12:49:16]Read from MH i2c: E2 0E 00 [12:49:16]MH_I2C_Read... [12:49:16]Read from MH i2c: E2 0E 00 0F 0E 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 5B [12:49:16]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [12:49:16]wFMCommunicate OK [12:49:16]SAM_PROTO_GetShiftState done [12:49:16]FM_GetShiftState done [12:49:16]opened in 1730246837 [12:49:16]opened+sec_in_day 1730333237 [12:49:16]quantity*price = 5000 [12:49:16]sum+1 = 5001 [12:49:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 25 30.10.2024 12:49 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37943 ФПД: 36951085334359 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T124920&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37943&fm=36951085334359&tin=02508201610067®Number=0000000000091684&sum=5000 0 [12:49:17]StoreToDocumentArchive [12:49:17]shift 553 fd 37943 [12:49:17]save to /storage/0553/doc_00037943 [12:49:17]save last doc name /storage/0553/doc_00037943 to /storage/kkm_last_doc_name [12:49:17]save OK [12:49:17]Clear old archive folders... [12:49:17]ProcessDocumentItem done err = 0, tmpTLVsize=275 [12:49:17]tlvbuf is 018565F0 [12:49:17]SAM_PROTO_ClearQueue [12:49:17]wFMCommunicate request_size=4 [12:49:17]MH_SAM_APDU [12:49:17]CAPDU: 80 09 00 00 [12:49:17]Write to MH i2c: E2 08 00 1C 0E 80 09 00 00 00 00 00 00 9C [12:49:17]Write i2c OK [12:49:17]MH_I2C_Read... [12:49:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:49:17]Read from MH i2c: E2 [12:49:17]MH_I2C_Read... [12:49:17]Read from MH i2c: E2 03 00 [12:49:17]MH_I2C_Read... [12:49:17]Read from MH i2c: E2 03 00 1C 0E 00 90 00 9E [12:49:17]RAPDU: 90 00 [12:49:17]wFMCommunicate OK [12:49:17]SAM_PROTO_ClearQueue done [12:49:17]KKMCreateOFDPacket [12:49:17]OFDProtocolAddRootSTLVToBuf [12:49:17]FM_MakeSignedData [12:49:17]FM_MakeSignedData [12:49:17]SAM_PROTO_SignData [12:49:17]wFMCommunicate request_size=4 [12:49:17]MH_SAM_APDU [12:49:17]CAPDU: 80 0D 01 02 [12:49:17]Write to MH i2c: E2 08 00 1D 0E 80 0D 01 02 00 00 00 00 A4 [12:49:17]Write i2c OK [12:49:17]MH_I2C_Read... [12:49:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:49:17]Read from MH i2c: E2 [12:49:17]MH_I2C_Read... [12:49:17]Read from MH i2c: E2 03 00 [12:49:17]MH_I2C_Read... [12:49:17]Read from MH i2c: E2 03 00 1D 0E 00 90 00 9F [12:49:17]RAPDU: 90 00 [12:49:17]wFMCommunicate OK [12:49:17]wFMCommunicate request_size=255 [12:49:17]MH_SAM_APDU [12:49:17]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 50 2B 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 [12:49:17]Write to MH i2c: E2 02 01 1E 0E 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 50 2B 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 00 00 50 [12:49:17]Write i2c OK [12:49:17]MH_I2C_Read... [12:49:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:49:17]Read from MH i2c: E2 [12:49:17]MH_I2C_Read... [12:49:17]Read from MH i2c: E2 03 00 [12:49:17]MH_I2C_Read... [12:49:17]Read from MH i2c: E2 03 00 1E 0E 00 90 00 A0 [12:49:17]RAPDU: 90 00 [12:49:17]wFMCommunicate OK [12:49:17]wFMCommunicate request_size=34 [12:49:17]MH_SAM_APDU [12:49:17]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 37 94 00 00 35 04 06 00 21 9B 58 50 BF 57 [12:49:17]Write to MH i2c: E2 25 00 1F 0E 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 37 94 00 00 35 04 06 00 21 9B 58 50 BF 57 00 00 AA [12:49:17]Write i2c OK [12:49:17]MH_I2C_Read... [12:49:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:49:17]Read from MH i2c: E2 [12:49:17]MH_I2C_Read... [12:49:17]Read from MH i2c: E2 03 00 [12:49:17]MH_I2C_Read... [12:49:17]Read from MH i2c: E2 03 00 1F 0E 00 90 00 A1 [12:49:17]RAPDU: 90 00 [12:49:17]wFMCommunicate OK [12:49:17]wFMCommunicate request_size=4 [12:49:17]MH_SAM_APDU [12:49:17]CAPDU: 80 0D 03 02 [12:49:17]Write to MH i2c: E2 08 00 20 0E 80 0D 03 02 00 00 00 00 A9 [12:49:17]Write i2c OK [12:49:17]MH_I2C_Read... [12:49:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:49:17]Read from MH i2c: E2 [12:49:17]MH_I2C_Read... [12:49:17]Read from MH i2c: E2 0B 00 [12:49:17]MH_I2C_Read... [12:49:17]Read from MH i2c: E2 0B 00 20 0E 00 F3 A8 99 BE DE C8 5E 88 90 00 28 [12:49:17]RAPDU: F3 A8 99 BE DE C8 5E 88 90 00 [12:49:17]wFMCommunicate OK [12:49:17]SAM_PROTO_SignData done [12:49:17]FM_MakeSignedData done [12:49:17]CreateOFDProtocolMessage [12:49:17]wFMCommunicate request_size=4 [12:49:17]MH_SAM_APDU [12:49:17]CAPDU: 80 11 00 00 [12:49:17]Write to MH i2c: E2 08 00 21 0E 80 11 00 00 00 00 00 00 A9 [12:49:17]Write i2c OK [12:49:17]MH_I2C_Read... [12:49:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:49:17]Read from MH i2c: E2 [12:49:17]MH_I2C_Read... [12:49:17]Read from MH i2c: E2 17 00 [12:49:17]MH_I2C_Read... [12:49:17]Read from MH i2c: E2 17 00 21 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F9 [12:49:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:49:17]wFMCommunicate OK [12:49:17]CreateOFDProtocolMessage done [12:49:17]OFDSenderStorePacket 37943 [12:49:17]StoreOFDPacket docnum=37943 [12:49:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 27 01 00 00 DF 20 1F 01 94 43 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 50 2B 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 37 94 00 00 35 04 06 00 21 9B 58 50 BF 57 F3 A8 99 BE DE C8 5E 88 [12:49:17]CheckFolder [12:49:17]dirname=/storage/ofd_packets [12:49:17]CheckFolder done [12:49:17]ProducePacketName [12:49:17]name=ofd_packets/00037943 [12:49:17]NVStorageSaveData ofd_packets/00037943 [12:49:17]File name is /storage/ofd_packets/00037943 [12:49:17]Write 325 bytes [12:49:17]NVStorageSaveData done [12:49:17]OFDSenderStorePacket done [12:49:17]KKMCreateOFDPacket done [12:49:17]NVStorageSaveData kkm_last_timestamp [12:49:17]File name is /storage/kkm_last_timestamp [12:49:17]Write 4 bytes [12:49:17]NVStorageSaveData done [12:49:17]ExternCall_PrintAddStr [12:49:17]wPrintStart [12:49:17]Write to MH i2c: 01 00 00 22 0E 30 [12:49:17]Write i2c OK [12:49:17]MH_I2C_Read... [12:49:17]Read from MH i2c: 01 [12:49:17]MH_I2C_Read... [12:49:17]Read from MH i2c: 01 07 00 [12:49:17]MH_I2C_Read... [12:49:17]Read from MH i2c: 01 07 00 22 0E 00 00 00 00 00 FF 0F 45 [12:49:17]RasterBufferAndPrint [12:49:17]line Счет N : (3)35242 [12:49:17]line ИНН: 02508201610067 [12:49:17]line Контрольно-Кассовый Чек [12:49:17]line ПРОДАЖА [12:49:17]line Товар: 5449000005489 [12:49:17]line Вода Бонаква 1л б/г [12:49:17]line 1.000 * 50.00 [12:49:17]line = 50.00 [12:49:17]line НДС 12% НСП 1% [12:49:17]line > о реализуемом товаре [12:49:17]line ИТОГО: 50.00 [12:49:17]line НСП 1% : 0.44 [12:49:17]line НДС 12% : 5.31 [12:49:17]line Наличными: 50.00 [12:49:17]line Безнал.: 0.00 [12:49:17]line Место: АЗС № 126 "Партнер Нефть" [12:49:17]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [12:49:17]line СНО: Общий режим [12:49:17]line Чек 25 30.10.2024 12:49 [12:49:17]line Смена: 553 ФФД: 1.0 [12:49:17]line ЗНМ: 0300000092 [12:49:17]line РНМ: 0000000000091684 [12:49:17]line Версия ККМ: 001 [12:49:17]line ФМ: 0000000000871841 [12:49:17]line ФД: 37943 [12:49:17]line ФПД: 36951085334359 [12:49:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T124920&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37943&fm=36951085334359&tin=02508201610067®Number=0000000000091684&sum=5000 [12:49:18]line 0 [12:49:18]OFD Sender: Processing packet 37943 [packets to send 42, broken 41] [12:49:18]ProducePacketName [12:49:18]name=ofd_packets/00037943 [12:49:18]OFD Sender: To server: pG, [12:49:18]CommunicateWithHost lk.salyk.kg:30040 [12:49:18]ConnectInit lk.salyk.kg [12:49:18]written 0, free lines is 4095 [12:49:18]Write to MH i2c: 01 00 00 4A 0E 58 [12:49:18]Write i2c OK [12:49:18]MH_I2C_Read... [12:49:18]Read from MH i2c: 01 [12:49:18]MH_I2C_Read... [12:49:18]Read from MH i2c: 01 07 00 [12:49:18]MH_I2C_Read... [12:49:18]Read from MH i2c: 01 07 00 4A 0E 00 00 00 00 00 CB 0C 36 [12:49:18]RasterBufferAndPrint [12:49:18]line [12:49:18]line [12:49:18]line [12:49:18]line [12:49:18]line [12:49:18]written 0, free lines is 3279 [12:49:18]MH_Cut [12:49:18]Write to MH i2c: D1 01 00 51 0E 01 31 [12:49:18]Write i2c OK [12:49:18]MH_I2C_Read... [12:49:18]Read from MH i2c: D1 [12:49:18]MH_I2C_Read... [12:49:18]Read from MH i2c: D1 01 00 [12:49:18]MH_I2C_Read... [12:49:18]Read from MH i2c: D1 01 00 51 0E 00 30 [12:49:18]Write to MH i2c: 01 00 00 52 0E 60 [12:49:18]Write i2c OK [12:49:18]MH_I2C_Read... [12:49:19]*** Cut start [12:49:19]*** Partial cut [12:49:19]*** CUTSNS_PIN = 1 [12:49:19]*** CUTSNS_PIN = 0 [12:49:19]*** Brake cut motor [12:49:19]Connected sock=11 [12:49:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 27 01 00 00 DF 20 1F 01 94 43 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 50 2B 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 37 94 00 00 35 04 06 00 21 9B 58 50 BF 57 F3 A8 99 BE DE C8 5E 88 [12:49:20]Read from MH i2c: 01 [12:49:20]MH_I2C_Read... [12:49:20]*** Stop cut motor [12:49:20]*** Cut end [12:49:20]Read from MH i2c: 01 07 00 [12:49:20]MH_I2C_Read... [12:49:20]Read from MH i2c: 01 07 00 52 0E 00 00 00 00 00 FF 0F 75 [12:49:20]process_action close_receipt done [12:49:20]requested_data is exist [12:49:20]produce_requested_data [12:49:20]requested_item fm.sn is exist - process it [12:49:20]wFMCommunicate request_size=4 [12:49:20]MH_SAM_APDU [12:49:20]CAPDU: 80 11 00 00 [12:49:20]Write to MH i2c: E2 08 00 53 0E 80 11 00 00 00 00 00 00 DB [12:49:20]Write i2c OK [12:49:20]MH_I2C_Read... [12:49:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:49:20]Read from MH i2c: E2 [12:49:20]MH_I2C_Read... [12:49:20]Read from MH i2c: E2 17 00 [12:49:20]MH_I2C_Read... [12:49:20]Read from MH i2c: E2 17 00 53 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 2B [12:49:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:49:20]wFMCommunicate OK [12:49:20]requested_item fd.num is exist - process it [12:49:20]SAM_PROTO_GetFieldsCounters [12:49:20]wFMCommunicate request_size=4 [12:49:20]MH_SAM_APDU [12:49:20]CAPDU: 80 13 00 00 [12:49:20]Write to MH i2c: E2 08 00 54 0E 80 13 00 00 00 00 00 00 DE [12:49:20]Write i2c OK [12:49:20]MH_I2C_Read... [12:49:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 E2 E8 47 00 DA D3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 37 94 00 00 F4 03 04 00 40 D6 21 67 B6 04 01 00 00 66 0D AB B3 53 BB 52 54 [12:49:20]CommunicateWithHost err = 0 [12:49:20]CheckOFDResponse [12:49:20]1017 (14) - 77093643461234 [12:49:20]1041 (16) - 0000000000871841 [12:49:20]1040 (4) - 37943 [12:49:20]1012 (4) - 30.10.2024 06:46 [12:49:20]1206 (1) - 0 [12:49:20]OFD Sender: Remove packet 37943 [12:49:20]ProducePacketName [12:49:20]name=ofd_packets/00037943 [12:49:20]NVStorageDeleteData [12:49:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:49:20]Read from MH i2c: E2 [12:49:20]MH_I2C_Read... [12:49:20]Read from MH i2c: E2 62 00 [12:49:20]MH_I2C_Read... [12:49:20]Read from MH i2c: E2 62 00 54 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 37 94 00 00 0E 04 04 00 29 02 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 40 [12:49:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 37 94 00 00 0E 04 04 00 29 02 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 [12:49:20]wFMCommunicate OK [12:49:20]SAM_PROTO_GetFieldsCounters done [12:49:20]requested_item shift.num is exist - process it [12:49:20]requested_item shift.opened is exist - process it [12:49:20]req_shift_opened [12:49:20]FM_GetShiftState [12:49:20]SAM_PROTO_GetShiftState [12:49:20]wFMCommunicate request_size=4 [12:49:20]MH_SAM_APDU [12:49:20]CAPDU: 80 13 01 00 [12:49:20]Write to MH i2c: E2 08 00 55 0E 80 13 01 00 00 00 00 00 E0 [12:49:20]Write i2c OK [12:49:20]MH_I2C_Read... [12:49:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:49:20]Read from MH i2c: E2 [12:49:20]MH_I2C_Read... [12:49:20]Read from MH i2c: E2 0E 00 [12:49:20]MH_I2C_Read... [12:49:20]Read from MH i2c: E2 0E 00 55 0E 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 A1 [12:49:20]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [12:49:20]wFMCommunicate OK [12:49:20]SAM_PROTO_GetShiftState done [12:49:20]FM_GetShiftState done [12:49:20]req_shift_opened done [12:49:20]requested_item shift.open_date is exist - process it [12:49:20]req_shift_open_date [12:49:20]req_shift_open_date done [12:49:20]produce_requested_data done [12:49:20]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37943,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [12:49:20]process_action_free close_receipt [12:49:20]json_value_free [12:49:20]json_value_free done [12:49:20]process_json_proto returns [12:49:20]Send response to host [12:49:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37943,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [12:49:20]free response buf [12:49:20]execute_script done [12:49:20]execute_script returns [12:49:20]free content buf [12:49:20]Sock 7.Close socket [12:49:20]Sock 7.Thread stoped [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: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]accept exits with 9 [12:55:55]New connection [12:55:55]New thread 3067063652 created [12:55:55]Thread 3067207012 joined [12:55:55]Waiting for new connection... [12:55:55] Sock 9.Parse request [12:55:55]Sock 9.Check first char [12:55:55]Sock 9.First char is OK [12:55:55]request: POST /json_proto HTTP/1.0 [12:55:55]Method: POST [12:55:55]URL: /json_proto [12:55:55]Method is POST - this is cgi request [12:55:55]url: /json_proto [12:55:55]query_string will be loaded in cgi processing [12:55:55]execute_cgi json_proto POST (null) [12:55:55]execute_cgi path=json_proto method=POST [12:55:55]POST find Content-Length [12:55:55]Host: 172.17.40.196:8080 [12:55:55]Content-Length: 759 [12:55:55]Content-Type: application/json [12:55:55] [12:55:55]POST finish read [12:55:55]Found Content-Length = 759 [12:55:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35243", "tax_sys" : 0, "items" : [ { "code": "48746649", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Super Slims Winter F", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:55:55]execute_script... [12:55: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)35243", "tax_sys" : 0, "items" : [ { "code": "48746649", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Super Slims Winter F", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:55:55]POST & json_proto [12:55:55]process_json_proto [12:55:55]json parsed OK: [12:55:55]protocol is kg_v1.0 [12:55:55]action value=close_receipt [12:55:55]process_action close_receipt [12:55:55]cmd_close_receipt [12:55:55]MH_GetDate [12:55:55]Write to MH i2c: F0 00 00 56 0E 53 [12:55:55]Write i2c OK [12:55:55]MH_I2C_Read... [12:55:55]Read from MH i2c: F0 [12:55:55]MH_I2C_Read... [12:55:55]Read from MH i2c: F0 09 00 [12:55:55]MH_I2C_Read... [12:55:55]Read from MH i2c: F0 09 00 56 0E 00 DF 2C 22 67 5B 68 A1 66 BA [12:55:55]GetLastDocTimeStamp 1730292560 [12:55:55]current date 1730292959 [12:55:55]FM_GetShiftState [12:55:55]SAM_PROTO_GetShiftState [12:55:55]wFMCommunicate request_size=4 [12:55:55]MH_SAM_APDU [12:55:55]CAPDU: 80 13 01 00 [12:55:55]Write to MH i2c: E2 08 00 57 0E 80 13 01 00 00 00 00 00 E2 [12:55:55]Write i2c OK [12:55:55]MH_I2C_Read... [12:55:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:55]Read from MH i2c: E2 [12:55:55]MH_I2C_Read... [12:55:55]Read from MH i2c: E2 0E 00 [12:55:55]MH_I2C_Read... [12:55:55]Read from MH i2c: E2 0E 00 57 0E 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 A3 [12:55:55]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [12:55:55]wFMCommunicate OK [12:55:55]SAM_PROTO_GetShiftState done [12:55:55]FM_GetShiftState done [12:55:55]opened in 1730246837 [12:55:55]opened+sec_in_day 1730333237 [12:55:55]quantity*price = 14700 [12:55:55]sum+1 = 14701 [12:55:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 0.00 Безнал.: 147.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 26 30.10.2024 12:55 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37944 ФПД: 99755045633322 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T125559&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37944&fm=99755045633322&tin=02508201610067®Number=0000000000091684&sum=14700 0 [12:55:56]StoreToDocumentArchive [12:55:56]shift 553 fd 37944 [12:55:56]save to /storage/0553/doc_00037944 [12:55:56]save last doc name /storage/0553/doc_00037944 to /storage/kkm_last_doc_name [12:55:56]save OK [12:55:56]Clear old archive folders... [12:55:56]ProcessDocumentItem done err = 0, tmpTLVsize=285 [12:55:56]tlvbuf is 01851E40 [12:55:56]SAM_PROTO_ClearQueue [12:55:56]wFMCommunicate request_size=4 [12:55:56]MH_SAM_APDU [12:55:56]CAPDU: 80 09 00 00 [12:55:56]Write to MH i2c: E2 08 00 64 0E 80 09 00 00 00 00 00 00 E4 [12:55:56]Write i2c OK [12:55:56]MH_I2C_Read... [12:55:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:55:56]Read from MH i2c: E2 [12:55:56]MH_I2C_Read... [12:55:56]Read from MH i2c: E2 03 00 [12:55:56]MH_I2C_Read... [12:55:56]Read from MH i2c: E2 03 00 64 0E 00 90 00 E6 [12:55:56]RAPDU: 90 00 [12:55:56]wFMCommunicate OK [12:55:56]SAM_PROTO_ClearQueue done [12:55:56]KKMCreateOFDPacket [12:55:56]OFDProtocolAddRootSTLVToBuf [12:55:56]FM_MakeSignedData [12:55:56]FM_MakeSignedData [12:55:56]SAM_PROTO_SignData [12:55:56]wFMCommunicate request_size=4 [12:55:56]MH_SAM_APDU [12:55:56]CAPDU: 80 0D 01 02 [12:55:56]Write to MH i2c: E2 08 00 65 0E 80 0D 01 02 00 00 00 00 EC [12:55:56]Write i2c OK [12:55:56]MH_I2C_Read... [12:55:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:55:56]Read from MH i2c: E2 [12:55:56]MH_I2C_Read... [12:55:56]Read from MH i2c: E2 03 00 [12:55:56]MH_I2C_Read... [12:55:56]Read from MH i2c: E2 03 00 65 0E 00 90 00 E7 [12:55:56]RAPDU: 90 00 [12:55:56]wFMCommunicate OK [12:55:56]wFMCommunicate request_size=255 [12:55:56]MH_SAM_APDU [12:55:56]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6C 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 DF 2C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 [12:55:56]Write to MH i2c: E2 02 01 66 0E 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6C 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 DF 2C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 00 00 CF [12:55:56]Write i2c OK [12:55:56]MH_I2C_Read... [12:55:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:55:56]Read from MH i2c: E2 [12:55:56]MH_I2C_Read... [12:55:56]Read from MH i2c: E2 03 00 [12:55:56]MH_I2C_Read... [12:55:56]Read from MH i2c: E2 03 00 66 0E 00 90 00 E8 [12:55:56]RAPDU: 90 00 [12:55:56]wFMCommunicate OK [12:55:56]wFMCommunicate request_size=44 [12:55:56]MH_SAM_APDU [12:55:56]CAPDU: 80 0D 02 02 27 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 38 94 00 00 35 04 06 00 5A BA 08 0F 3D 2A [12:55:56]Write to MH i2c: E2 2F 00 67 0E 80 0D 02 02 27 00 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 38 94 00 00 35 04 06 00 5A BA 08 0F 3D 2A 00 00 68 [12:55:56]Write i2c OK [12:55:56]MH_I2C_Read... [12:55:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:55:56]Read from MH i2c: E2 [12:55:56]MH_I2C_Read... [12:55:56]Read from MH i2c: E2 03 00 [12:55:56]MH_I2C_Read... [12:55:56]Read from MH i2c: E2 03 00 67 0E 00 90 00 E9 [12:55:56]RAPDU: 90 00 [12:55:56]wFMCommunicate OK [12:55:56]wFMCommunicate request_size=4 [12:55:56]MH_SAM_APDU [12:55:56]CAPDU: 80 0D 03 02 [12:55:56]Write to MH i2c: E2 08 00 68 0E 80 0D 03 02 00 00 00 00 F1 [12:55:56]Write i2c OK [12:55:56]MH_I2C_Read... [12:55:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:55:56]Read from MH i2c: E2 [12:55:56]MH_I2C_Read... [12:55:56]Read from MH i2c: E2 0B 00 [12:55:56]MH_I2C_Read... [12:55:56]Read from MH i2c: E2 0B 00 68 0E 00 15 3B 50 33 73 AC 3C 76 90 00 96 [12:55:56]RAPDU: 15 3B 50 33 73 AC 3C 76 90 00 [12:55:56]wFMCommunicate OK [12:55:56]SAM_PROTO_SignData done [12:55:56]FM_MakeSignedData done [12:55:56]CreateOFDProtocolMessage [12:55:56]wFMCommunicate request_size=4 [12:55:56]MH_SAM_APDU [12:55:56]CAPDU: 80 11 00 00 [12:55:56]Write to MH i2c: E2 08 00 69 0E 80 11 00 00 00 00 00 00 F1 [12:55:56]Write i2c OK [12:55:56]MH_I2C_Read... [12:55:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:55:56]Read from MH i2c: E2 [12:55:56]MH_I2C_Read... [12:55:56]Read from MH i2c: E2 17 00 [12:55:56]MH_I2C_Read... [12:55:56]Read from MH i2c: E2 17 00 69 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 41 [12:55:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:55:56]wFMCommunicate OK [12:55:56]CreateOFDProtocolMessage done [12:55:56]OFDSenderStorePacket 37944 [12:55:56]StoreOFDPacket docnum=37944 [12:55:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 31 01 00 00 B1 3B 29 01 0A DC 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6C 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 DF 2C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 38 94 00 00 35 04 06 00 5A BA 08 0F 3D 2A 15 3B 50 33 73 AC 3C 76 [12:55:56]CheckFolder [12:55:56]dirname=/storage/ofd_packets [12:55:56]CheckFolder done [12:55:56]ProducePacketName [12:55:56]name=ofd_packets/00037944 [12:55:56]NVStorageSaveData ofd_packets/00037944 [12:55:56]File name is /storage/ofd_packets/00037944 [12:55:56]Write 335 bytes [12:55:56]NVStorageSaveData done [12:55:56]OFDSenderStorePacket done [12:55:56]KKMCreateOFDPacket done [12:55:56]NVStorageSaveData kkm_last_timestamp [12:55:56]File name is /storage/kkm_last_timestamp [12:55:56]Write 4 bytes [12:55:56]NVStorageSaveData done [12:55:56]ExternCall_PrintAddStr [12:55:56]wPrintStart [12:55:56]Write to MH i2c: 01 00 00 6A 0E 78 [12:55:56]Write i2c OK [12:55:56]MH_I2C_Read... [12:55:56]Read from MH i2c: 01 [12:55:56]MH_I2C_Read... [12:55:56]Read from MH i2c: 01 07 00 [12:55:56]MH_I2C_Read... [12:55:56]Read from MH i2c: 01 07 00 6A 0E 00 00 00 00 00 FF 0F 8D [12:55:56]RasterBufferAndPrint [12:55:56]line Счет N : (3)35243 [12:55:56]line ИНН: 02508201610067 [12:55:56]line Контрольно-Кассовый Чек [12:55:56]line ПРОДАЖА [12:55:56]line Товар: 48746649 [12:55:56]line Сигареты Parliament Super Slims Winter F [12:55:56]line 1.000 * 147.00 [12:55:56]line = 147.00 [12:55:56]line НДС 12% НСП 1% [12:55:56]line > о реализуемом товаре [12:55:56]line ИТОГО: 147.00 [12:55:56]line НСП 1% : 1.30 [12:55:56]line НДС 12% : 15.61 [12:55:56]line Наличными: 0.00 [12:55:56]line Безнал.: 147.00 [12:55:56]line Место: АЗС № 126 "Партнер Нефть" [12:55:56]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [12:55:56]line СНО: Общий режим [12:55:56]line Чек 26 30.10.2024 12:55 [12:55:56]line Смена: 553 ФФД: 1.0 [12:55:56]line ЗНМ: 0300000092 [12:55:56]line РНМ: 0000000000091684 [12:55:56]line Версия ККМ: 001 [12:55:56]line Платежная система: Mbank [12:55:56]line ФМ: 0000000000871841 [12:55:56]line ФД: 37944 [12:55:56]line ФПД: 99755045633322 [12:55:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T125559&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37944&fm=99755045633322&tin=02508201610067®Number=0000000000091684&sum=14700 [12:55:57]line 0 [12:55:57]OFD Sender: Processing packet 37944 [packets to send 42, broken 41] [12:55:57]ProducePacketName [12:55:57]name=ofd_packets/00037944 [12:55:57]OFD Sender: To server: pG, [12:55:57]CommunicateWithHost lk.salyk.kg:30040 [12:55:57]ConnectInit lk.salyk.kg [12:55:57]written 0, free lines is 4095 [12:55:57]Write to MH i2c: 01 00 00 94 0E A2 [12:55:57]Write i2c OK [12:55:57]MH_I2C_Read... [12:55:57]Read from MH i2c: 01 [12:55:57]MH_I2C_Read... [12:55:57]Read from MH i2c: 01 07 00 [12:55:57]MH_I2C_Read... [12:55:57]Read from MH i2c: 01 07 00 94 0E 00 00 00 00 00 A4 0C 59 [12:55:57]RasterBufferAndPrint [12:55:57]line [12:55:57]line [12:55:57]line [12:55:57]line [12:55:57]line [12:55:57]written 0, free lines is 3240 [12:55:57]MH_Cut [12:55:57]Write to MH i2c: D1 01 00 9B 0E 01 7B [12:55:57]Write i2c OK [12:55:57]MH_I2C_Read... [12:55:57]Read from MH i2c: D1 [12:55:57]MH_I2C_Read... [12:55:57]Read from MH i2c: D1 01 00 [12:55:57]MH_I2C_Read... [12:55:57]Read from MH i2c: D1 01 00 9B 0E 00 7A [12:55:57]Write to MH i2c: 01 00 00 9C 0E AA [12:55:57]Write i2c OK [12:55:57]MH_I2C_Read... [12:55:58]*** Cut start [12:55:58]*** Partial cut [12:55:58]*** CUTSNS_PIN = 1 [12:55:58]*** CUTSNS_PIN = 0 [12:55:58]Connected sock=11 [12:55:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 31 01 00 00 B1 3B 29 01 0A DC 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6C 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 DF 2C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 38 94 00 00 35 04 06 00 5A BA 08 0F 3D 2A 15 3B 50 33 73 AC 3C 76 [12:55:58]*** Brake cut motor [12:55:59]Read from MH i2c: 01 [12:55:59]MH_I2C_Read... [12:55:59]*** Stop cut motor [12:55:59]*** Cut end [12:55:59]Read from MH i2c: 01 07 00 [12:55:59]MH_I2C_Read... [12:55:59]Read from MH i2c: 01 07 00 9C 0E 00 00 00 00 00 FF 0F BF [12:55:59]process_action close_receipt done [12:55:59]requested_data is exist [12:55:59]produce_requested_data [12:55:59]requested_item fm.sn is exist - process it [12:55:59]wFMCommunicate request_size=4 [12:55:59]MH_SAM_APDU [12:55:59]CAPDU: 80 11 00 00 [12:55:59]Write to MH i2c: E2 08 00 9D 0E 80 11 00 00 00 00 00 00 25 [12:55:59]Write i2c OK [12:55:59]MH_I2C_Read... [12:55:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 24 8E 47 00 9F 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 38 94 00 00 F4 03 04 00 CF D7 21 67 B6 04 01 00 00 C6 2B 5E FC C8 89 6E 8A [12:55:59]CommunicateWithHost err = 0 [12:55:59]CheckOFDResponse [12:55:59]1017 (14) - 77093643461234 [12:55:59]1041 (16) - 0000000000871841 [12:55:59]1040 (4) - 37944 [12:55:59]1012 (4) - 30.10.2024 06:53 [12:55:59]1206 (1) - 0 [12:55:59]OFD Sender: Remove packet 37944 [12:55:59]ProducePacketName [12:55:59]name=ofd_packets/00037944 [12:55:59]NVStorageDeleteData [12:55:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:55:59]Read from MH i2c: E2 [12:55:59]MH_I2C_Read... [12:55:59]Read from MH i2c: E2 17 00 [12:55:59]MH_I2C_Read... [12:55:59]Read from MH i2c: E2 17 00 9D 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 75 [12:55:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:55:59]wFMCommunicate OK [12:55:59]requested_item fd.num is exist - process it [12:55:59]SAM_PROTO_GetFieldsCounters [12:55:59]wFMCommunicate request_size=4 [12:55:59]MH_SAM_APDU [12:55:59]CAPDU: 80 13 00 00 [12:55:59]Write to MH i2c: E2 08 00 9E 0E 80 13 00 00 00 00 00 00 28 [12:55:59]Write i2c OK [12:55:59]MH_I2C_Read... [12:55:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:55:59]Read from MH i2c: E2 [12:55:59]MH_I2C_Read... [12:55:59]Read from MH i2c: E2 62 00 [12:55:59]MH_I2C_Read... [12:55:59]Read from MH i2c: E2 62 00 9E 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 38 94 00 00 0E 04 04 00 29 02 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 8E [12:55:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 38 94 00 00 0E 04 04 00 29 02 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 [12:55:59]wFMCommunicate OK [12:55:59]SAM_PROTO_GetFieldsCounters done [12:55:59]requested_item shift.num is exist - process it [12:55:59]requested_item shift.opened is exist - process it [12:55:59]req_shift_opened [12:55:59]FM_GetShiftState [12:55:59]SAM_PROTO_GetShiftState [12:55:59]wFMCommunicate request_size=4 [12:55:59]MH_SAM_APDU [12:55:59]CAPDU: 80 13 01 00 [12:55:59]Write to MH i2c: E2 08 00 9F 0E 80 13 01 00 00 00 00 00 2A [12:55:59]Write i2c OK [12:55:59]MH_I2C_Read... [12:55:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:59]Read from MH i2c: E2 [12:55:59]MH_I2C_Read... [12:55:59]Read from MH i2c: E2 0E 00 [12:55:59]MH_I2C_Read... [12:55:59]Read from MH i2c: E2 0E 00 9F 0E 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 EB [12:55:59]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [12:55:59]wFMCommunicate OK [12:55:59]SAM_PROTO_GetShiftState done [12:55:59]FM_GetShiftState done [12:55:59]req_shift_opened done [12:55:59]requested_item shift.open_date is exist - process it [12:55:59]req_shift_open_date [12:55:59]req_shift_open_date done [12:55:59]produce_requested_data done [12:55:59]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37944,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [12:55:59]process_action_free close_receipt [12:55:59]json_value_free [12:55:59]json_value_free done [12:55:59]process_json_proto returns [12:55:59]Send response to host [12:55:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37944,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [12:55:59]free response buf [12:55:59]execute_script done [12:55:59]execute_script returns [12:55:59]free content buf [12:55:59]Sock 9.Close socket [12:55:59]Sock 9.Thread stoped [12:55:59]OFD Sender: No OFD packet to send [12:56:04]OFD Sender: No OFD packet to send [12:56:09]OFD Sender: No OFD packet to send [12:56:14]OFD Sender: No OFD packet to send [12:56:19]OFD Sender: No OFD packet to send [12:56:24]OFD Sender: No OFD packet to send [12:56:29]OFD Sender: No OFD packet to send [12:56:34]OFD Sender: No OFD packet to send [12:56:39]OFD Sender: No OFD packet to send [12:56:44]OFD Sender: No OFD packet to send [12:56:49]OFD Sender: No OFD packet to send [12:56:54]OFD Sender: No OFD packet to send [12:56:59]OFD Sender: No OFD packet to send [12:57:04]OFD Sender: No OFD packet to send [12:57:09]OFD Sender: No OFD packet to send [12:57:14]OFD Sender: No OFD packet to send [12:57:19]OFD Sender: No OFD packet to send [12:57:24]OFD Sender: No OFD packet to send [12:57:29]OFD Sender: No OFD packet to send [12:57:34]OFD Sender: No OFD packet to send [12:57:39]OFD Sender: No OFD packet to send [12:57:44]OFD Sender: No OFD packet to send [12:57:49]OFD Sender: No OFD packet to send [12:57:54]OFD Sender: No OFD packet to send [12:57:59]OFD Sender: No OFD packet to send [12:58:04]OFD Sender: No OFD packet to send [12:58:09]OFD Sender: No OFD packet to send [12:58:14]OFD Sender: No OFD packet to send [12:58:19]OFD Sender: No OFD packet to send [12:58:24]OFD Sender: No OFD packet to send [12:58:29]OFD Sender: No OFD packet to send [12:58:34]OFD Sender: No OFD packet to send [12:58:39]OFD Sender: No OFD packet to send [12:58:44]OFD Sender: No OFD packet to send [12:58:49]OFD Sender: No OFD packet to send [12:58:54]OFD Sender: No OFD packet to send [12:58:59]OFD Sender: No OFD packet to send [12:59:04]OFD Sender: No OFD packet to send [12:59:09]OFD Sender: No OFD packet to send [12:59:14]OFD Sender: No OFD packet to send [12:59:19]OFD Sender: No OFD packet to send [12:59:24]OFD Sender: No OFD packet to send [12:59:29]OFD Sender: No OFD packet to send [12:59:34]OFD Sender: No OFD packet to send [12:59:39]OFD Sender: No OFD packet to send [12:59:44]OFD Sender: No OFD packet to send [12:59:49]OFD Sender: No OFD packet to send [12:59:54]OFD Sender: No OFD packet to send [12:59:59]accept exits with 7 [12:59:59]New connection [12:59:59]New thread 3067207012 created [12:59:59] Sock 7.Parse request [12:59:59]Thread 3067063652 joined [12:59:59]Sock 7.Check first char [12:59:59]Waiting for new connection... [12:59:59]Sock 7.First char is OK [12:59:59]request: POST /json_proto HTTP/1.0 [12:59:59]Method: POST [12:59:59]URL: /json_proto [12:59:59]Method is POST - this is cgi request [12:59:59]url: /json_proto [12:59:59]query_string will be loaded in cgi processing [12:59:59]execute_cgi json_proto POST (null) [12:59:59]execute_cgi path=json_proto method=POST [12:59:59]POST find Content-Length [12:59:59]Host: 172.17.40.196:8080 [12:59:59]Content-Length: 616 [12:59:59]Content-Type: application/json [12:59:59] [12:59:59]POST finish read [12:59:59]Found Content-Length = 616 [12:59:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35244", "tax_sys" : 0, "items" : [ { "code": "4700001610012", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 0,5\u043B", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:59:59]execute_script... [12:59:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35244", "tax_sys" : 0, "items" : [ { "code": "4700001610012", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 0,5\u043B", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:59:59]POST & json_proto [12:59:59]process_json_proto [12:59:59]json parsed OK: [12:59:59]protocol is kg_v1.0 [12:59:59]action value=close_receipt [12:59:59]process_action close_receipt [12:59:59]cmd_close_receipt [12:59:59]MH_GetDate [12:59:59]Write to MH i2c: F0 00 00 A0 0E 9D [12:59:59]Write i2c OK [12:59:59]MH_I2C_Read... [12:59:59]Read from MH i2c: F0 [12:59:59]MH_I2C_Read... [12:59:59]Read from MH i2c: F0 09 00 [12:59:59]MH_I2C_Read... [12:59:59]Read from MH i2c: F0 09 00 A0 0E 00 D3 2D 22 67 5B 68 A1 66 F9 [12:59:59]GetLastDocTimeStamp 1730292959 [12:59:59]current date 1730293203 [12:59:59]FM_GetShiftState [12:59:59]SAM_PROTO_GetShiftState [12:59:59]wFMCommunicate request_size=4 [12:59:59]MH_SAM_APDU [12:59:59]CAPDU: 80 13 01 00 [12:59:59]Write to MH i2c: E2 08 00 A1 0E 80 13 01 00 00 00 00 00 2C [12:59:59]Write i2c OK [12:59:59]MH_I2C_Read... [12:59:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:59:59]Read from MH i2c: E2 [12:59:59]MH_I2C_Read... [12:59:59]Read from MH i2c: E2 0E 00 [12:59:59]MH_I2C_Read... [12:59:59]Read from MH i2c: E2 0E 00 A1 0E 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 ED [12:59:59]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [12:59:59]wFMCommunicate OK [12:59:59]SAM_PROTO_GetShiftState done [12:59:59]FM_GetShiftState done [12:59:59]opened in 1730246837 [12:59:59]opened+sec_in_day 1730333237 [12:59:59]quantity*price = 14500 [12:59:59]sum+1 = 14501 [12:59:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 145.00 НСП 1% : 1.28 НДС 12% : 15.40 Наличными: 145.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 27 30.10.2024 13:00 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37945 ФПД: 154830856383648 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T130003&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37945&fm=154830856383648&tin=02508201610067®Number=0000000000091684&sum=14500 0 [13:00:00]StoreToDocumentArchive [13:00:00]shift 553 fd 37945 [13:00:00]save to /storage/0553/doc_00037945 [13:00:00]save last doc name /storage/0553/doc_00037945 to /storage/kkm_last_doc_name [13:00:00]save OK [13:00:00]Clear old archive folders... [13:00:00]ProcessDocumentItem done err = 0, tmpTLVsize=265 [13:00:00]tlvbuf is 018FCC70 [13:00:00]SAM_PROTO_ClearQueue [13:00:00]wFMCommunicate request_size=4 [13:00:00]MH_SAM_APDU [13:00:00]CAPDU: 80 09 00 00 [13:00:00]Write to MH i2c: E2 08 00 AE 0E 80 09 00 00 00 00 00 00 2E [13:00:00]Write i2c OK [13:00:00]MH_I2C_Read... [13:00:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:00:00]Read from MH i2c: E2 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 03 00 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 03 00 AE 0E 00 90 00 30 [13:00:00]RAPDU: 90 00 [13:00:00]wFMCommunicate OK [13:00:00]SAM_PROTO_ClearQueue done [13:00:00]KKMCreateOFDPacket [13:00:00]OFDProtocolAddRootSTLVToBuf [13:00:00]FM_MakeSignedData [13:00:00]FM_MakeSignedData [13:00:00]SAM_PROTO_SignData [13:00:00]wFMCommunicate request_size=4 [13:00:00]MH_SAM_APDU [13:00:00]CAPDU: 80 0D 01 02 [13:00:00]Write to MH i2c: E2 08 00 AF 0E 80 0D 01 02 00 00 00 00 36 [13:00:00]Write i2c OK [13:00:00]MH_I2C_Read... [13:00:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:00:00]Read from MH i2c: E2 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 03 00 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 03 00 AF 0E 00 90 00 31 [13:00:00]RAPDU: 90 00 [13:00:00]wFMCommunicate OK [13:00:00]wFMCommunicate request_size=255 [13:00:00]MH_SAM_APDU [13:00:00]CAPDU: 80 0D 02 02 FA 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 D3 2D 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 [13:00:00]Write to MH i2c: E2 02 01 B0 0E 80 0D 02 02 FA 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 D3 2D 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 00 00 D2 [13:00:00]Write i2c OK [13:00:00]MH_I2C_Read... [13:00:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:00:00]Read from MH i2c: E2 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 03 00 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 03 00 B0 0E 00 90 00 32 [13:00:00]RAPDU: 90 00 [13:00:00]wFMCommunicate OK [13:00:00]wFMCommunicate request_size=24 [13:00:00]MH_SAM_APDU [13:00:00]CAPDU: 80 0D 02 02 13 31 10 04 04 00 39 94 00 00 35 04 06 00 8C D1 5E 31 EC A0 [13:00:00]Write to MH i2c: E2 1B 00 B1 0E 80 0D 02 02 13 00 31 10 04 04 00 39 94 00 00 35 04 06 00 8C D1 5E 31 EC A0 00 00 2C [13:00:00]Write i2c OK [13:00:00]MH_I2C_Read... [13:00:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:00:00]Read from MH i2c: E2 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 03 00 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 03 00 B1 0E 00 90 00 33 [13:00:00]RAPDU: 90 00 [13:00:00]wFMCommunicate OK [13:00:00]wFMCommunicate request_size=4 [13:00:00]MH_SAM_APDU [13:00:00]CAPDU: 80 0D 03 02 [13:00:00]Write to MH i2c: E2 08 00 B2 0E 80 0D 03 02 00 00 00 00 3B [13:00:00]Write i2c OK [13:00:00]MH_I2C_Read... [13:00:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:00:00]Read from MH i2c: E2 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 0B 00 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 0B 00 B2 0E 00 F8 80 98 BD F2 5C 5B 1A 90 00 CC [13:00:00]RAPDU: F8 80 98 BD F2 5C 5B 1A 90 00 [13:00:00]wFMCommunicate OK [13:00:00]SAM_PROTO_SignData done [13:00:00]FM_MakeSignedData done [13:00:00]CreateOFDProtocolMessage [13:00:00]wFMCommunicate request_size=4 [13:00:00]MH_SAM_APDU [13:00:00]CAPDU: 80 11 00 00 [13:00:00]Write to MH i2c: E2 08 00 B3 0E 80 11 00 00 00 00 00 00 3B [13:00:00]Write i2c OK [13:00:00]MH_I2C_Read... [13:00:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:00:00]Read from MH i2c: E2 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 17 00 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: E2 17 00 B3 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8B [13:00:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:00:00]wFMCommunicate OK [13:00:00]CreateOFDProtocolMessage done [13:00:00]OFDSenderStorePacket 37945 [13:00:00]StoreOFDPacket docnum=37945 [13:00:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1D 01 00 00 F8 80 15 01 CC 08 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 D3 2D 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 39 94 00 00 35 04 06 00 8C D1 5E 31 EC A0 F8 80 98 BD F2 5C 5B 1A [13:00:00]CheckFolder [13:00:00]dirname=/storage/ofd_packets [13:00:00]CheckFolder done [13:00:00]ProducePacketName [13:00:00]name=ofd_packets/00037945 [13:00:00]NVStorageSaveData ofd_packets/00037945 [13:00:00]File name is /storage/ofd_packets/00037945 [13:00:00]Write 315 bytes [13:00:00]NVStorageSaveData done [13:00:00]OFDSenderStorePacket done [13:00:00]KKMCreateOFDPacket done [13:00:00]NVStorageSaveData kkm_last_timestamp [13:00:00]File name is /storage/kkm_last_timestamp [13:00:00]Write 4 bytes [13:00:00]NVStorageSaveData done [13:00:00]ExternCall_PrintAddStr [13:00:00]wPrintStart [13:00:00]Write to MH i2c: 01 00 00 B4 0E C2 [13:00:00]Write i2c OK [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: 01 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: 01 07 00 [13:00:00]MH_I2C_Read... [13:00:00]Read from MH i2c: 01 07 00 B4 0E 00 00 00 00 00 FF 0F D7 [13:00:00]RasterBufferAndPrint [13:00:00]line Счет N : (3)35244 [13:00:00]line ИНН: 02508201610067 [13:00:00]line Контрольно-Кассовый Чек [13:00:00]line ПРОДАЖА [13:00:00]line Товар: 4700001610012 [13:00:00]line Пиво Арпа 0,5л [13:00:00]line 1.000 * 145.00 [13:00:00]line = 145.00 [13:00:00]line НДС 12% НСП 1% [13:00:00]line > о реализуемом товаре [13:00:00]line ИТОГО: 145.00 [13:00:00]line НСП 1% : 1.28 [13:00:00]line НДС 12% : 15.40 [13:00:00]line Наличными: 145.00 [13:00:00]line Безнал.: 0.00 [13:00:00]line Место: АЗС № 126 "Партнер Нефть" [13:00:00]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:00:00]line СНО: Общий режим [13:00:00]line Чек 27 30.10.2024 13:00 [13:00:00]line Смена: 553 ФФД: 1.0 [13:00:00]line ЗНМ: 0300000092 [13:00:00]line РНМ: 0000000000091684 [13:00:00]line Версия ККМ: 001 [13:00:00]line ФМ: 0000000000871841 [13:00:00]line ФД: 37945 [13:00:00]line ФПД: 154830856383648 [13:00:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T130003&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37945&fm=154830856383648&tin=02508201610067®Number=0000000000091684&sum=14500 [13:00:01]OFD Sender: Processing packet 37945 [packets to send 42, broken 41] [13:00:01]ProducePacketName [13:00:01]name=ofd_packets/00037945 [13:00:01]OFD Sender: To server: pG, [13:00:01]CommunicateWithHost lk.salyk.kg:30040 [13:00:01]ConnectInit lk.salyk.kg [13:00:01]line 0 [13:00:01]written 0, free lines is 4095 [13:00:01]Connected sock=9 [13:00:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1D 01 00 00 F8 80 15 01 CC 08 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 D3 2D 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 39 94 00 00 35 04 06 00 8C D1 5E 31 EC A0 F8 80 98 BD F2 5C 5B 1A [13:00:01]Write to MH i2c: 01 00 00 DC 0E EA [13:00:01]Write i2c OK [13:00:01]MH_I2C_Read... [13:00:01]Read from MH i2c: 01 [13:00:01]MH_I2C_Read... [13:00:01]Read from MH i2c: 01 07 00 [13:00:01]MH_I2C_Read... [13:00:01]Read from MH i2c: 01 07 00 DC 0E 00 00 00 00 00 D4 0C D1 [13:00:01]RasterBufferAndPrint [13:00:01]line [13:00:01]line [13:00:01]line [13:00:01]line [13:00:01]line [13:00:01]written 0, free lines is 3289 [13:00:01]MH_Cut [13:00:01]Write to MH i2c: D1 01 00 E3 0E 01 C3 [13:00:01]Write i2c OK [13:00:01]MH_I2C_Read... [13:00:01]Read from MH i2c: D1 [13:00:01]MH_I2C_Read... [13:00:01]Read from MH i2c: D1 01 00 [13:00:01]MH_I2C_Read... [13:00:01]Read from MH i2c: D1 01 00 E3 0E 00 C2 [13:00:01]Write to MH i2c: 01 00 00 E4 0E F2 [13:00:01]Write i2c OK [13:00:01]MH_I2C_Read... [13:00:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 22 7E 47 00 6E FC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 39 94 00 00 F4 03 04 00 C2 D8 21 67 B6 04 01 00 00 E2 75 A6 A3 22 2D DF C5 [13:00:01]CommunicateWithHost err = 0 [13:00:01]CheckOFDResponse [13:00:01]1017 (14) - 77093643461234 [13:00:01]1041 (16) - 0000000000871841 [13:00:01]1040 (4) - 37945 [13:00:01]1012 (4) - 30.10.2024 06:57 [13:00:01]1206 (1) - 0 [13:00:01]OFD Sender: Remove packet 37945 [13:00:01]ProducePacketName [13:00:01]name=ofd_packets/00037945 [13:00:01]NVStorageDeleteData [13:00:02]*** Cut start [13:00:02]*** Partial cut [13:00:02]*** CUTSNS_PIN = 1 [13:00:02]OFD Sender: No OFD packet to send [13:00:02]*** CUTSNS_PIN = 0 [13:00:02]*** Brake cut motor [13:00:02]Read from MH i2c: 01 [13:00:02]MH_I2C_Read... [13:00:02]*** Stop cut motor [13:00:02]*** Cut end [13:00:02]Read from MH i2c: 01 07 00 [13:00:02]MH_I2C_Read... [13:00:02]Read from MH i2c: 01 07 00 E4 0E 00 00 00 00 00 FF 0F 07 [13:00:02]process_action close_receipt done [13:00:02]requested_data is exist [13:00:02]produce_requested_data [13:00:02]requested_item fm.sn is exist - process it [13:00:02]wFMCommunicate request_size=4 [13:00:02]MH_SAM_APDU [13:00:02]CAPDU: 80 11 00 00 [13:00:02]Write to MH i2c: E2 08 00 E5 0E 80 11 00 00 00 00 00 00 6D [13:00:02]Write i2c OK [13:00:02]MH_I2C_Read... [13:00:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:00:03]Read from MH i2c: E2 [13:00:03]MH_I2C_Read... [13:00:03]Read from MH i2c: E2 17 00 [13:00:03]MH_I2C_Read... [13:00:03]Read from MH i2c: E2 17 00 E5 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BD [13:00:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:00:03]wFMCommunicate OK [13:00:03]requested_item fd.num is exist - process it [13:00:03]SAM_PROTO_GetFieldsCounters [13:00:03]wFMCommunicate request_size=4 [13:00:03]MH_SAM_APDU [13:00:03]CAPDU: 80 13 00 00 [13:00:03]Write to MH i2c: E2 08 00 E6 0E 80 13 00 00 00 00 00 00 70 [13:00:03]Write i2c OK [13:00:03]MH_I2C_Read... [13:00:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:00:03]Read from MH i2c: E2 [13:00:03]MH_I2C_Read... [13:00:03]Read from MH i2c: E2 62 00 [13:00:03]MH_I2C_Read... [13:00:03]Read from MH i2c: E2 62 00 E6 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 39 94 00 00 0E 04 04 00 29 02 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 DA [13:00:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 39 94 00 00 0E 04 04 00 29 02 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 [13:00:03]wFMCommunicate OK [13:00:03]SAM_PROTO_GetFieldsCounters done [13:00:03]requested_item shift.num is exist - process it [13:00:03]requested_item shift.opened is exist - process it [13:00:03]req_shift_opened [13:00:03]FM_GetShiftState [13:00:03]SAM_PROTO_GetShiftState [13:00:03]wFMCommunicate request_size=4 [13:00:03]MH_SAM_APDU [13:00:03]CAPDU: 80 13 01 00 [13:00:03]Write to MH i2c: E2 08 00 E7 0E 80 13 01 00 00 00 00 00 72 [13:00:03]Write i2c OK [13:00:03]MH_I2C_Read... [13:00:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:00:03]Read from MH i2c: E2 [13:00:03]MH_I2C_Read... [13:00:03]Read from MH i2c: E2 0E 00 [13:00:03]MH_I2C_Read... [13:00:03]Read from MH i2c: E2 0E 00 E7 0E 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 33 [13:00:03]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:00:03]wFMCommunicate OK [13:00:03]SAM_PROTO_GetShiftState done [13:00:03]FM_GetShiftState done [13:00:03]req_shift_opened done [13:00:03]requested_item shift.open_date is exist - process it [13:00:03]req_shift_open_date [13:00:03]req_shift_open_date done [13:00:03]produce_requested_data done [13:00:03]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37945,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [13:00:03]process_action_free close_receipt [13:00:03]json_value_free [13:00:03]json_value_free done [13:00:03]process_json_proto returns [13:00:03]Send response to host [13:00:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37945,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [13:00:03]free response buf [13:00:03]execute_script done [13:00:03]execute_script returns [13:00:03]free content buf [13:00:03]Sock 7.Close socket [13:00:03]Sock 7.Thread stoped [13:00:07]OFD Sender: No OFD packet to send [13:00:12]OFD Sender: No OFD packet to send [13:00:17]OFD Sender: No OFD packet to send [13:00:22]OFD Sender: No OFD packet to send [13:00:27]OFD Sender: No OFD packet to send [13:00:32]OFD Sender: No OFD packet to send [13:00:37]OFD Sender: No OFD packet to send [13:00:42]OFD Sender: No OFD packet to send [13:00:47]OFD Sender: No OFD packet to send [13:00:52]OFD Sender: No OFD packet to send [13:00:54]accept exits with 10 [13:00:54]New connection [13:00:54]New thread 3067063652 created [13:00:54]Thread 3067207012 joined [13:00:54]Waiting for new connection... [13:00:54] Sock 10.Parse request [13:00:54]Sock 10.Check first char [13:00:54]Sock 10.First char is OK [13:00:54]request: POST /json_proto HTTP/1.0 [13:00:54]Method: POST [13:00:54]URL: /json_proto [13:00:54]Method is POST - this is cgi request [13:00:54]url: /json_proto [13:00:54]query_string will be loaded in cgi processing [13:00:54]execute_cgi json_proto POST (null) [13:00:54]execute_cgi path=json_proto method=POST [13:00:54]POST find Content-Length [13:00:54]Host: 172.17.40.196:8080 [13:00:54]Content-Length: 620 [13:00:54]Content-Type: application/json [13:00:54] [13:00:54]POST finish read [13:00:54]Found Content-Length = 620 [13:00:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35245", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:00:54]execute_script... [13:00:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35245", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:00:54]POST & json_proto [13:00:54]process_json_proto [13:00:54]json parsed OK: [13:00:54]protocol is kg_v1.0 [13:00:54]action value=close_receipt [13:00:54]process_action close_receipt [13:00:54]cmd_close_receipt [13:00:54]MH_GetDate [13:00:54]Write to MH i2c: F0 00 00 E8 0E E5 [13:00:54]Write i2c OK [13:00:54]MH_I2C_Read... [13:00:54]Read from MH i2c: F0 [13:00:54]MH_I2C_Read... [13:00:54]Read from MH i2c: F0 09 00 [13:00:54]MH_I2C_Read... [13:00:54]Read from MH i2c: F0 09 00 E8 0E 00 0A 2E 22 67 5B 68 A1 66 79 [13:00:54]GetLastDocTimeStamp 1730293203 [13:00:54]current date 1730293258 [13:00:54]FM_GetShiftState [13:00:54]SAM_PROTO_GetShiftState [13:00:54]wFMCommunicate request_size=4 [13:00:54]MH_SAM_APDU [13:00:54]CAPDU: 80 13 01 00 [13:00:54]Write to MH i2c: E2 08 00 E9 0E 80 13 01 00 00 00 00 00 74 [13:00:54]Write i2c OK [13:00:54]MH_I2C_Read... [13:00:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:00:54]Read from MH i2c: E2 [13:00:54]MH_I2C_Read... [13:00:54]Read from MH i2c: E2 0E 00 [13:00:54]MH_I2C_Read... [13:00:54]Read from MH i2c: E2 0E 00 E9 0E 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 35 [13:00:54]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:00:54]wFMCommunicate OK [13:00:54]SAM_PROTO_GetShiftState done [13:00:54]FM_GetShiftState done [13:00:54]opened in 1730246837 [13:00:54]opened+sec_in_day 1730333237 [13:00:54]quantity*price = 14400 [13:00:54]sum+1 = 14401 [13:00:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 28 30.10.2024 13:00 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37946 ФПД: 154091454748290 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T130058&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37946&fm=154091454748290&tin=02508201610067®Number=0000000000091684&sum=14400 0 [13:00:55]StoreToDocumentArchive [13:00:55]shift 553 fd 37946 [13:00:55]save to /storage/0553/doc_00037946 [13:00:55]save last doc name /storage/0553/doc_00037946 to /storage/kkm_last_doc_name [13:00:55]save OK [13:00:55]Clear old archive folders... [13:00:55]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:00:55]tlvbuf is 019BDB20 [13:00:55]SAM_PROTO_ClearQueue [13:00:55]wFMCommunicate request_size=4 [13:00:55]MH_SAM_APDU [13:00:55]CAPDU: 80 09 00 00 [13:00:55]Write to MH i2c: E2 08 00 F6 0E 80 09 00 00 00 00 00 00 76 [13:00:55]Write i2c OK [13:00:55]MH_I2C_Read... [13:00:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:00:55]Read from MH i2c: E2 [13:00:55]MH_I2C_Read... [13:00:55]Read from MH i2c: E2 03 00 [13:00:55]MH_I2C_Read... [13:00:55]Read from MH i2c: E2 03 00 F6 0E 00 90 00 78 [13:00:55]RAPDU: 90 00 [13:00:55]wFMCommunicate OK [13:00:55]SAM_PROTO_ClearQueue done [13:00:55]KKMCreateOFDPacket [13:00:55]OFDProtocolAddRootSTLVToBuf [13:00:55]FM_MakeSignedData [13:00:55]FM_MakeSignedData [13:00:55]SAM_PROTO_SignData [13:00:55]wFMCommunicate request_size=4 [13:00:55]MH_SAM_APDU [13:00:55]CAPDU: 80 0D 01 02 [13:00:55]Write to MH i2c: E2 08 00 F7 0E 80 0D 01 02 00 00 00 00 7E [13:00:55]Write i2c OK [13:00:55]MH_I2C_Read... [13:00:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:00:55]Read from MH i2c: E2 [13:00:55]MH_I2C_Read... [13:00:55]Read from MH i2c: E2 03 00 [13:00:55]MH_I2C_Read... [13:00:55]Read from MH i2c: E2 03 00 F7 0E 00 90 00 79 [13:00:55]RAPDU: 90 00 [13:00:55]wFMCommunicate OK [13:00:55]wFMCommunicate request_size=255 [13:00:55]MH_SAM_APDU [13:00:55]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 0A 2E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [13:00:55]Write to MH i2c: E2 02 01 F8 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 0A 2E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 F3 [13:00:55]Write i2c OK [13:00:55]MH_I2C_Read... [13:00:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:00:55]Read from MH i2c: E2 [13:00:55]MH_I2C_Read... [13:00:55]Read from MH i2c: E2 03 00 [13:00:55]MH_I2C_Read... [13:00:55]Read from MH i2c: E2 03 00 F8 0E 00 90 00 7A [13:00:55]RAPDU: 90 00 [13:00:55]wFMCommunicate OK [13:00:55]wFMCommunicate request_size=32 [13:00:55]MH_SAM_APDU [13:00:55]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 3A 94 00 00 35 04 06 00 8C 25 36 6C 56 82 [13:00:55]Write to MH i2c: E2 23 00 F9 0E 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 3A 94 00 00 35 04 06 00 8C 25 36 6C 56 82 00 00 D4 [13:00:55]Write i2c OK [13:00:55]MH_I2C_Read... [13:00:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:00:55]Read from MH i2c: E2 [13:00:55]MH_I2C_Read... [13:00:55]Read from MH i2c: E2 03 00 [13:00:55]MH_I2C_Read... [13:00:55]Read from MH i2c: E2 03 00 F9 0E 00 90 00 7B [13:00:55]RAPDU: 90 00 [13:00:55]wFMCommunicate OK [13:00:55]wFMCommunicate request_size=4 [13:00:55]MH_SAM_APDU [13:00:55]CAPDU: 80 0D 03 02 [13:00:55]Write to MH i2c: E2 08 00 FA 0E 80 0D 03 02 00 00 00 00 83 [13:00:55]Write i2c OK [13:00:55]MH_I2C_Read... [13:00:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:00:55]Read from MH i2c: E2 [13:00:55]MH_I2C_Read... [13:00:55]Read from MH i2c: E2 0B 00 [13:00:55]MH_I2C_Read... [13:00:55]Read from MH i2c: E2 0B 00 FA 0E 00 24 5F 5B 3B F3 F7 63 7F 90 00 69 [13:00:55]RAPDU: 24 5F 5B 3B F3 F7 63 7F 90 00 [13:00:55]wFMCommunicate OK [13:00:55]SAM_PROTO_SignData done [13:00:55]FM_MakeSignedData done [13:00:55]CreateOFDProtocolMessage [13:00:55]wFMCommunicate request_size=4 [13:00:55]MH_SAM_APDU [13:00:55]CAPDU: 80 11 00 00 [13:00:55]Write to MH i2c: E2 08 00 FB 0E 80 11 00 00 00 00 00 00 83 [13:00:55]Write i2c OK [13:00:55]MH_I2C_Read... [13:00:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:00:55]Read from MH i2c: E2 [13:00:55]MH_I2C_Read... [13:00:55]Read from MH i2c: E2 17 00 [13:00:55]MH_I2C_Read... [13:00:55]Read from MH i2c: E2 17 00 FB 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D3 [13:00:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:00:55]wFMCommunicate OK [13:00:55]CreateOFDProtocolMessage done [13:00:55]OFDSenderStorePacket 37946 [13:00:55]StoreOFDPacket docnum=37946 [13:00:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 18 7C 1D 01 04 C3 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 0A 2E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3A 94 00 00 35 04 06 00 8C 25 36 6C 56 82 24 5F 5B 3B F3 F7 63 7F [13:00:55]CheckFolder [13:00:55]dirname=/storage/ofd_packets [13:00:55]CheckFolder done [13:00:55]ProducePacketName [13:00:55]name=ofd_packets/00037946 [13:00:55]NVStorageSaveData ofd_packets/00037946 [13:00:55]File name is /storage/ofd_packets/00037946 [13:00:55]Write 323 bytes [13:00:55]NVStorageSaveData done [13:00:55]OFDSenderStorePacket done [13:00:55]KKMCreateOFDPacket done [13:00:55]NVStorageSaveData kkm_last_timestamp [13:00:55]File name is /storage/kkm_last_timestamp [13:00:55]Write 4 bytes [13:00:55]NVStorageSaveData done [13:00:55]ExternCall_PrintAddStr [13:00:55]wPrintStart [13:00:55]Write to MH i2c: 01 00 00 FC 0E 0A [13:00:55]Write i2c OK [13:00:55]MH_I2C_Read... [13:00:55]Read from MH i2c: 01 [13:00:55]MH_I2C_Read... [13:00:55]Read from MH i2c: 01 07 00 [13:00:55]MH_I2C_Read... [13:00:55]Read from MH i2c: 01 07 00 FC 0E 00 00 00 00 00 FF 0F 1F [13:00:55]RasterBufferAndPrint [13:00:55]line Счет N : (3)35245 [13:00:55]line ИНН: 02508201610067 [13:00:55]line Контрольно-Кассовый Чек [13:00:55]line ПРОДАЖА [13:00:55]line Товар: 48743570 [13:00:55]line Сигареты Winston XStyle Blue [13:00:55]line 1.000 * 144.00 [13:00:55]line = 144.00 [13:00:55]line НДС 12% НСП 1% [13:00:55]line > о реализуемом товаре [13:00:55]line ИТОГО: 144.00 [13:00:55]line НСП 1% : 1.27 [13:00:55]line НДС 12% : 15.29 [13:00:55]line Наличными: 144.00 [13:00:55]line Безнал.: 0.00 [13:00:55]line Место: АЗС № 126 "Партнер Нефть" [13:00:55]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:00:55]line СНО: Общий режим [13:00:55]line Чек 28 30.10.2024 13:00 [13:00:55]line Смена: 553 ФФД: 1.0 [13:00:55]line ЗНМ: 0300000092 [13:00:55]line РНМ: 0000000000091684 [13:00:55]line Версия ККМ: 001 [13:00:55]line ФМ: 0000000000871841 [13:00:55]line ФД: 37946 [13:00:55]line ФПД: 154091454748290 [13:00:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T130058&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37946&fm=154091454748290&tin=02508201610067®Number=0000000000091684&sum=14400 [13:00:56]line 0 [13:00:56]OFD Sender: Processing packet 37946 [packets to send 42, broken 41] [13:00:56]ProducePacketName [13:00:56]name=ofd_packets/00037946 [13:00:56]OFD Sender: To server: pG, [13:00:56]CommunicateWithHost lk.salyk.kg:30040 [13:00:56]ConnectInit lk.salyk.kg [13:00:56]written 0, free lines is 4095 [13:00:56]Write to MH i2c: 01 00 00 24 0F 33 [13:00:56]Write i2c OK [13:00:56]MH_I2C_Read... [13:00:56]Read from MH i2c: 01 [13:00:56]MH_I2C_Read... [13:00:56]Read from MH i2c: 01 07 00 [13:00:56]MH_I2C_Read... [13:00:56]Read from MH i2c: 01 07 00 24 0F 00 00 00 00 00 C4 0C 0A [13:00:56]RasterBufferAndPrint [13:00:56]line [13:00:56]line [13:00:56]line [13:00:56]line [13:00:56]line [13:00:56]written 0, free lines is 3272 [13:00:56]MH_Cut [13:00:56]Write to MH i2c: D1 01 00 2B 0F 01 0C [13:00:56]Write i2c OK [13:00:56]MH_I2C_Read... [13:00:56]Read from MH i2c: D1 [13:00:56]MH_I2C_Read... [13:00:56]Read from MH i2c: D1 01 00 [13:00:56]MH_I2C_Read... [13:00:56]Read from MH i2c: D1 01 00 2B 0F 00 0B [13:00:56]Write to MH i2c: 01 00 00 2C 0F 3B [13:00:56]Write i2c OK [13:00:56]MH_I2C_Read... [13:00:57]*** Cut start [13:00:57]*** Partial cut [13:00:57]*** CUTSNS_PIN = 1 [13:00:57]*** CUTSNS_PIN = 0 [13:00:57]*** Brake cut motor [13:00:58]Read from MH i2c: 01 [13:00:58]MH_I2C_Read... [13:00:58]*** Stop cut motor [13:00:58]*** Cut end [13:00:58]Read from MH i2c: 01 07 00 [13:00:58]MH_I2C_Read... [13:00:58]Read from MH i2c: 01 07 00 2C 0F 00 00 00 00 00 FF 0F 50 [13:00:58]process_action close_receipt done [13:00:58]requested_data is exist [13:00:58]produce_requested_data [13:00:58]requested_item fm.sn is exist - process it [13:00:58]wFMCommunicate request_size=4 [13:00:58]MH_SAM_APDU [13:00:58]CAPDU: 80 11 00 00 [13:00:58]Write to MH i2c: E2 08 00 2D 0F 80 11 00 00 00 00 00 00 B6 [13:00:58]Write i2c OK [13:00:58]MH_I2C_Read... [13:00:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:00:58]Read from MH i2c: E2 [13:00:58]MH_I2C_Read... [13:00:58]Read from MH i2c: E2 17 00 [13:00:58]MH_I2C_Read... [13:00:58]Read from MH i2c: E2 17 00 2D 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 06 [13:00:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:00:58]wFMCommunicate OK [13:00:58]requested_item fd.num is exist - process it [13:00:58]SAM_PROTO_GetFieldsCounters [13:00:58]wFMCommunicate request_size=4 [13:00:58]MH_SAM_APDU [13:00:58]CAPDU: 80 13 00 00 [13:00:58]Write to MH i2c: E2 08 00 2E 0F 80 13 00 00 00 00 00 00 B9 [13:00:58]Write i2c OK [13:00:58]MH_I2C_Read... [13:00:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:00:58]Read from MH i2c: E2 [13:00:58]MH_I2C_Read... [13:00:58]Read from MH i2c: E2 62 00 [13:00:58]MH_I2C_Read... [13:00:58]Read from MH i2c: E2 62 00 2E 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 3A 94 00 00 0E 04 04 00 29 02 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 27 [13:00:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 3A 94 00 00 0E 04 04 00 29 02 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 [13:00:58]wFMCommunicate OK [13:00:58]SAM_PROTO_GetFieldsCounters done [13:00:58]requested_item shift.num is exist - process it [13:00:58]requested_item shift.opened is exist - process it [13:00:58]req_shift_opened [13:00:58]FM_GetShiftState [13:00:58]SAM_PROTO_GetShiftState [13:00:58]wFMCommunicate request_size=4 [13:00:58]MH_SAM_APDU [13:00:58]CAPDU: 80 13 01 00 [13:00:58]Write to MH i2c: E2 08 00 2F 0F 80 13 01 00 00 00 00 00 BB [13:00:58]Write i2c OK [13:00:58]MH_I2C_Read... [13:00:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:00:58]Read from MH i2c: E2 [13:00:58]MH_I2C_Read... [13:00:58]Read from MH i2c: E2 0E 00 [13:00:58]MH_I2C_Read... [13:00:58]Read from MH i2c: E2 0E 00 2F 0F 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 7C [13:00:58]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:00:58]wFMCommunicate OK [13:00:58]SAM_PROTO_GetShiftState done [13:00:58]FM_GetShiftState done [13:00:58]req_shift_opened done [13:00:58]requested_item shift.open_date is exist - process it [13:00:58]req_shift_open_date [13:00:58]req_shift_open_date done [13:00:58]produce_requested_data done [13:00:58]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37946,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [13:00:58]process_action_free close_receipt [13:00:58]json_value_free [13:00:58]json_value_free done [13:00:58]process_json_proto returns [13:00:58]Send response to host [13:00:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37946,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [13:00:58]free response buf [13:00:58]execute_script done [13:00:58]execute_script returns [13:00:58]free content buf [13:00:58]Sock 10.Close socket [13:00:58]Sock 10.Thread stoped [13:00:59]Connected sock=11 [13:00:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 18 7C 1D 01 04 C3 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 0A 2E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3A 94 00 00 35 04 06 00 8C 25 36 6C 56 82 24 5F 5B 3B F3 F7 63 7F [13:00:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 04 6B 47 00 F1 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 38 37 31 38 34 31 10 04 04 00 3A 94 00 00 F4 03 04 00 FB D8 21 67 B6 04 01 00 00 D0 4C 20 67 21 65 39 B0 [13:00:59]CommunicateWithHost err = 0 [13:00:59]CheckOFDResponse [13:00:59]1017 (14) - 77093643461234 [13:00:59]1041 (16) - 0000000000871841 [13:00:59]1040 (4) - 37946 [13:00:59]1012 (4) - 30.10.2024 06:58 [13:00:59]1206 (1) - 0 [13:00:59]OFD Sender: Remove packet 37946 [13:00:59]ProducePacketName [13:00:59]name=ofd_packets/00037946 [13:00:59]NVStorageDeleteData [13:00:59]OFD Sender: No OFD packet to send [13:01:04]OFD Sender: No OFD packet to send [13:01:10]OFD Sender: No OFD packet to send [13:01:15]OFD Sender: No OFD packet to send [13:01:20]OFD Sender: No OFD packet to send [13:01:25]OFD Sender: No OFD packet to send [13:01:30]OFD Sender: No OFD packet to send [13:01:35]OFD Sender: No OFD packet to send [13:01:40]OFD Sender: No OFD packet to send [13:01:45]OFD Sender: No OFD packet to send [13:01:50]OFD Sender: No OFD packet to send [13:01:55]OFD Sender: No OFD packet to send [13:02:00]OFD Sender: No OFD packet to send [13:02:05]OFD Sender: No OFD packet to send [13:02:10]OFD Sender: No OFD packet to send [13:02:15]OFD Sender: No OFD packet to send [13:02:20]OFD Sender: No OFD packet to send [13:02:25]OFD Sender: No OFD packet to send [13:02:30]OFD Sender: No OFD packet to send [13:02:35]OFD Sender: No OFD packet to send [13:02:40]OFD Sender: No OFD packet to send [13:02:45]OFD Sender: No OFD packet to send [13:02:50]OFD Sender: No OFD packet to send [13:02:55]OFD Sender: No OFD packet to send [13:03:00]OFD Sender: No OFD packet to send [13:03:05]OFD Sender: No OFD packet to send [13:03:10]OFD Sender: No OFD packet to send [13:03:15]OFD Sender: No OFD packet to send [13:03:20]OFD Sender: No OFD packet to send [13:03:25]OFD Sender: No OFD packet to send [13:03:30]OFD Sender: No OFD packet to send [13:03:35]OFD Sender: No OFD packet to send [13:03:40]OFD Sender: No OFD packet to send [13:03:45]OFD Sender: No OFD packet to send [13:03:50]OFD Sender: No OFD packet to send [13:03:55]OFD Sender: No OFD packet to send [13:04:00]OFD Sender: No OFD packet to send [13:04:05]OFD Sender: No OFD packet to send [13:04:10]OFD Sender: No OFD packet to send [13:04:15]OFD Sender: No OFD packet to send [13:04:20]OFD Sender: No OFD packet to send [13:04:25]OFD Sender: No OFD packet to send [13:04:30]OFD Sender: No OFD packet to send [13:04:35]OFD Sender: No OFD packet to send [13:04:40]OFD Sender: No OFD packet to send [13:04:45]OFD Sender: No OFD packet to send [13:04:50]OFD Sender: No OFD packet to send [13:04:55]OFD Sender: No OFD packet to send [13:05:00]OFD Sender: No OFD packet to send [13:05:05]OFD Sender: No OFD packet to send [13:05:10]OFD Sender: No OFD packet to send [13:05:15]OFD Sender: No OFD packet to send [13:05:20]OFD Sender: No OFD packet to send [13:05:25]OFD Sender: No OFD packet to send [13:05:30]OFD Sender: No OFD packet to send [13:05:35]OFD Sender: No OFD packet to send [13:05:40]OFD Sender: No OFD packet to send [13:05:45]OFD Sender: No OFD packet to send [13:05:50]OFD Sender: No OFD packet to send [13:05:55]OFD Sender: No OFD packet to send [13:06:00]OFD Sender: No OFD packet to send [13:06:05]OFD Sender: No OFD packet to send [13:06:10]OFD Sender: No OFD packet to send [13:06:15]OFD Sender: No OFD packet to send [13:06:20]OFD Sender: No OFD packet to send [13:06:25]OFD Sender: No OFD packet to send [13:06:30]OFD Sender: No OFD packet to send [13:06:35]OFD Sender: No OFD packet to send [13:06:40]OFD Sender: No OFD packet to send [13:06:45]OFD Sender: No OFD packet to send [13:06:50]OFD Sender: No OFD packet to send [13:06:55]OFD Sender: No OFD packet to send [13:07:00]OFD Sender: No OFD packet to send [13:07:05]OFD Sender: No OFD packet to send [13:07:10]OFD Sender: No OFD packet to send [13:07:15]OFD Sender: No OFD packet to send [13:07:20]OFD Sender: No OFD packet to send [13:07:25]OFD Sender: No OFD packet to send [13:07:30]OFD Sender: No OFD packet to send [13:07:35]OFD Sender: No OFD packet to send [13:07:40]OFD Sender: No OFD packet to send [13:07:45]OFD Sender: No OFD packet to send [13:07:50]OFD Sender: No OFD packet to send [13:07:55]OFD Sender: No OFD packet to send [13:08:00]OFD Sender: No OFD packet to send [13:08:05]OFD Sender: No OFD packet to send [13:08:10]OFD Sender: No OFD packet to send [13:08:15]OFD Sender: No OFD packet to send [13:08:20]OFD Sender: No OFD packet to send [13:08:25]OFD Sender: No OFD packet to send [13:08:30]OFD Sender: No OFD packet to send [13:08:35]OFD Sender: No OFD packet to send [13:08:40]OFD Sender: No OFD packet to send [13:08:45]OFD Sender: No OFD packet to send [13:08:50]OFD Sender: No OFD packet to send [13:08:55]OFD Sender: No OFD packet to send [13:09:00]OFD Sender: No OFD packet to send [13:09:05]OFD Sender: No OFD packet to send [13:09:10]OFD Sender: No OFD packet to send [13:09:15]OFD Sender: No OFD packet to send [13:09:20]OFD Sender: No OFD packet to send [13:09:25]OFD Sender: No OFD packet to send [13:09:30]OFD Sender: No OFD packet to send [13:09:35]OFD Sender: No OFD packet to send [13:09:40]OFD Sender: No OFD packet to send [13:09:45]OFD Sender: No OFD packet to send [13:09:50]OFD Sender: No OFD packet to send [13:09:55]OFD Sender: No OFD packet to send [13:10:00]OFD Sender: No OFD packet to send [13:10:05]OFD Sender: No OFD packet to send [13:10:10]OFD Sender: No OFD packet to send [13:10:15]OFD Sender: No OFD packet to send [13:10:20]OFD Sender: No OFD packet to send [13:10:25]OFD Sender: No OFD packet to send [13:10:30]OFD Sender: No OFD packet to send [13:10:35]OFD Sender: No OFD packet to send [13:10:40]OFD Sender: No OFD packet to send [13:10:45]OFD Sender: No OFD packet to send [13:10:50]OFD Sender: No OFD packet to send [13:10:55]OFD Sender: No OFD packet to send [13:11:00]OFD Sender: No OFD packet to send [13:11:05]OFD Sender: No OFD packet to send [13:11:10]OFD Sender: No OFD packet to send [13:11:15]OFD Sender: No OFD packet to send [13:11:20]OFD Sender: No OFD packet to send [13:11:25]OFD Sender: No OFD packet to send [13:11:30]OFD Sender: No OFD packet to send [13:11:35]OFD Sender: No OFD packet to send [13:11:40]OFD Sender: No OFD packet to send [13:11:45]OFD Sender: No OFD packet to send [13:11:50]OFD Sender: No OFD packet to send [13:11:55]OFD Sender: No OFD packet to send [13:12:00]OFD Sender: No OFD packet to send [13:12:05]OFD Sender: No OFD packet to send [13:12:10]OFD Sender: No OFD packet to send [13:12:15]OFD Sender: No OFD packet to send [13:12:19]accept exits with 7 [13:12:19]New connection [13:12:19]New thread 3067207012 created [13:12:19]Thread 3067063652 joined [13:12:19]Waiting for new connection... [13:12:19] Sock 7.Parse request [13:12:19]Sock 7.Check first char [13:12:19]Sock 7.First char is OK [13:12:19]request: POST /json_proto HTTP/1.0 [13:12:19]Method: POST [13:12:19]URL: /json_proto [13:12:19]Method is POST - this is cgi request [13:12:19]url: /json_proto [13:12:19]query_string will be loaded in cgi processing [13:12:19]execute_cgi json_proto POST (null) [13:12:19]execute_cgi path=json_proto method=POST [13:12:19]POST find Content-Length [13:12:19]Host: 172.17.40.196:8080 [13:12:19]Content-Length: 694 [13:12:19]Content-Type: application/json [13:12:19] [13:12:19]POST finish read [13:12:19]Found Content-Length = 694 [13:12:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35246", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:12:19]execute_script... [13:12:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35246", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:12:19]POST & json_proto [13:12:19]process_json_proto [13:12:19]json parsed OK: [13:12:19]protocol is kg_v1.0 [13:12:19]action value=close_receipt [13:12:19]process_action close_receipt [13:12:19]cmd_close_receipt [13:12:19]MH_GetDate [13:12:19]Write to MH i2c: F0 00 00 30 0F 2E [13:12:19]Write i2c OK [13:12:19]MH_I2C_Read... [13:12:19]Read from MH i2c: F0 [13:12:19]MH_I2C_Read... [13:12:19]Read from MH i2c: F0 09 00 [13:12:19]MH_I2C_Read... [13:12:19]Read from MH i2c: F0 09 00 30 0F 00 B7 30 22 67 5B 68 A1 66 71 [13:12:19]GetLastDocTimeStamp 1730293258 [13:12:19]current date 1730293943 [13:12:19]FM_GetShiftState [13:12:19]SAM_PROTO_GetShiftState [13:12:19]wFMCommunicate request_size=4 [13:12:19]MH_SAM_APDU [13:12:19]CAPDU: 80 13 01 00 [13:12:19]Write to MH i2c: E2 08 00 31 0F 80 13 01 00 00 00 00 00 BD [13:12:19]Write i2c OK [13:12:19]MH_I2C_Read... [13:12:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:12:19]Read from MH i2c: E2 [13:12:19]MH_I2C_Read... [13:12:19]Read from MH i2c: E2 0E 00 [13:12:19]MH_I2C_Read... [13:12:19]Read from MH i2c: E2 0E 00 31 0F 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 7E [13:12:19]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:12:19]wFMCommunicate OK [13:12:19]SAM_PROTO_GetShiftState done [13:12:19]FM_GetShiftState done [13:12:19]opened in 1730246837 [13:12:19]opened+sec_in_day 1730333237 [13:12:19]quantity*price = 1500 [13:12:19]sum+1 = 1501 [13:12:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 15.00 НСП 1% : 0.13 НДС 12% : 1.59 Наличными: 15.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 29 30.10.2024 13:12 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37947 ФПД: 242371573985784 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T131223&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37947&fm=242371573985784&tin=02508201610067®Number=0000000000091684&sum=1500 0 [13:12:20]StoreToDocumentArchive [13:12:20]shift 553 fd 37947 [13:12:20]save to /storage/0553/doc_00037947 [13:12:20]save last doc name /storage/0553/doc_00037947 to /storage/kkm_last_doc_name [13:12:20]save OK [13:12:20]Clear old archive folders... [13:12:20]ProcessDocumentItem done err = 0, tmpTLVsize=290 [13:12:20]tlvbuf is 019C54D0 [13:12:20]SAM_PROTO_ClearQueue [13:12:20]wFMCommunicate request_size=4 [13:12:20]MH_SAM_APDU [13:12:20]CAPDU: 80 09 00 00 [13:12:20]Write to MH i2c: E2 08 00 3E 0F 80 09 00 00 00 00 00 00 BF [13:12:20]Write i2c OK [13:12:20]MH_I2C_Read... [13:12:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:12:20]Read from MH i2c: E2 [13:12:20]MH_I2C_Read... [13:12:20]Read from MH i2c: E2 03 00 [13:12:20]MH_I2C_Read... [13:12:20]Read from MH i2c: E2 03 00 3E 0F 00 90 00 C1 [13:12:20]RAPDU: 90 00 [13:12:20]wFMCommunicate OK [13:12:20]SAM_PROTO_ClearQueue done [13:12:20]KKMCreateOFDPacket [13:12:20]OFDProtocolAddRootSTLVToBuf [13:12:20]FM_MakeSignedData [13:12:20]FM_MakeSignedData [13:12:20]SAM_PROTO_SignData [13:12:20]wFMCommunicate request_size=4 [13:12:20]MH_SAM_APDU [13:12:20]CAPDU: 80 0D 01 02 [13:12:20]Write to MH i2c: E2 08 00 3F 0F 80 0D 01 02 00 00 00 00 C7 [13:12:20]Write i2c OK [13:12:20]MH_I2C_Read... [13:12:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:12:20]Read from MH i2c: E2 [13:12:20]MH_I2C_Read... [13:12:20]Read from MH i2c: E2 03 00 [13:12:20]MH_I2C_Read... [13:12:20]Read from MH i2c: E2 03 00 3F 0F 00 90 00 C2 [13:12:20]RAPDU: 90 00 [13:12:20]wFMCommunicate OK [13:12:20]wFMCommunicate request_size=255 [13:12:20]MH_SAM_APDU [13:12:20]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 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 B7 30 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [13:12:20]Write to MH i2c: E2 02 01 40 0F 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 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 B7 30 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 3D [13:12:20]Write i2c OK [13:12:20]MH_I2C_Read... [13:12:20]OFD Sender: No OFD packet to send [13:12:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:12:20]Read from MH i2c: E2 [13:12:20]MH_I2C_Read... [13:12:20]Read from MH i2c: E2 03 00 [13:12:20]MH_I2C_Read... [13:12:20]Read from MH i2c: E2 03 00 40 0F 00 90 00 C3 [13:12:20]RAPDU: 90 00 [13:12:20]wFMCommunicate OK [13:12:20]wFMCommunicate request_size=49 [13:12:20]MH_SAM_APDU [13:12:20]CAPDU: 80 0D 02 02 2C 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3B 94 00 00 35 04 06 00 DC 6F 87 92 31 F8 [13:12:20]Write to MH i2c: E2 34 00 41 0F 80 0D 02 02 2C 00 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3B 94 00 00 35 04 06 00 DC 6F 87 92 31 F8 00 00 53 [13:12:20]Write i2c OK [13:12:20]MH_I2C_Read... [13:12:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:12:20]Read from MH i2c: E2 [13:12:20]MH_I2C_Read... [13:12:20]Read from MH i2c: E2 03 00 [13:12:20]MH_I2C_Read... [13:12:20]Read from MH i2c: E2 03 00 41 0F 00 90 00 C4 [13:12:20]RAPDU: 90 00 [13:12:20]wFMCommunicate OK [13:12:20]wFMCommunicate request_size=4 [13:12:20]MH_SAM_APDU [13:12:20]CAPDU: 80 0D 03 02 [13:12:20]Write to MH i2c: E2 08 00 42 0F 80 0D 03 02 00 00 00 00 CC [13:12:20]Write i2c OK [13:12:20]MH_I2C_Read... [13:12:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:12:20]Read from MH i2c: E2 [13:12:20]MH_I2C_Read... [13:12:20]Read from MH i2c: E2 0B 00 [13:12:20]MH_I2C_Read... [13:12:20]Read from MH i2c: E2 0B 00 42 0F 00 94 AD 3F EF 5F EC 54 6C 90 00 47 [13:12:20]RAPDU: 94 AD 3F EF 5F EC 54 6C 90 00 [13:12:20]wFMCommunicate OK [13:12:20]SAM_PROTO_SignData done [13:12:20]FM_MakeSignedData done [13:12:20]CreateOFDProtocolMessage [13:12:20]wFMCommunicate request_size=4 [13:12:20]MH_SAM_APDU [13:12:20]CAPDU: 80 11 00 00 [13:12:20]Write to MH i2c: E2 08 00 43 0F 80 11 00 00 00 00 00 00 CC [13:12:20]Write i2c OK [13:12:20]MH_I2C_Read... [13:12:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:12:20]Read from MH i2c: E2 [13:12:20]MH_I2C_Read... [13:12:20]Read from MH i2c: E2 17 00 [13:12:20]MH_I2C_Read... [13:12:20]Read from MH i2c: E2 17 00 43 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1C [13:12:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:12:20]wFMCommunicate OK [13:12:20]CreateOFDProtocolMessage done [13:12:20]OFDSenderStorePacket 37947 [13:12:20]StoreOFDPacket docnum=37947 [13:12:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 36 01 00 00 9E B5 2E 01 B3 72 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 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 B7 30 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3B 94 00 00 35 04 06 00 DC 6F 87 92 31 F8 94 AD 3F EF 5F EC 54 6C [13:12:20]CheckFolder [13:12:20]dirname=/storage/ofd_packets [13:12:20]CheckFolder done [13:12:20]ProducePacketName [13:12:20]name=ofd_packets/00037947 [13:12:20]NVStorageSaveData ofd_packets/00037947 [13:12:20]File name is /storage/ofd_packets/00037947 [13:12:20]Write 340 bytes [13:12:20]NVStorageSaveData done [13:12:20]OFDSenderStorePacket done [13:12:20]KKMCreateOFDPacket done [13:12:20]NVStorageSaveData kkm_last_timestamp [13:12:20]File name is /storage/kkm_last_timestamp [13:12:20]Write 4 bytes [13:12:20]NVStorageSaveData done [13:12:20]ExternCall_PrintAddStr [13:12:20]wPrintStart [13:12:20]Write to MH i2c: 01 00 00 44 0F 53 [13:12:20]Write i2c OK [13:12:20]MH_I2C_Read... [13:12:20]Read from MH i2c: 01 [13:12:20]MH_I2C_Read... [13:12:20]Read from MH i2c: 01 07 00 [13:12:20]MH_I2C_Read... [13:12:20]Read from MH i2c: 01 07 00 44 0F 00 00 00 00 00 FF 0F 68 [13:12:20]RasterBufferAndPrint [13:12:20]line Счет N : (3)35246 [13:12:20]line ИНН: 02508201610067 [13:12:20]line Контрольно-Кассовый Чек [13:12:20]line ПРОДАЖА [13:12:20]line Товар: 4700000160013 [13:12:20]line Снек Курут индивидуальный [13:12:20]line 1.000 * 15.00 [13:12:20]line = 15.00 [13:12:20]line НДС 12% НСП 1% [13:12:20]line > о реализуемом товаре [13:12:20]line ИТОГО: 15.00 [13:12:20]line НСП 1% : 0.13 [13:12:20]line НДС 12% : 1.59 [13:12:20]line Наличными: 15.00 [13:12:20]line Безнал.: 0.00 [13:12:20]line Место: АЗС № 126 "Партнер Нефть" [13:12:20]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:12:20]line СНО: Общий режим [13:12:20]line Чек 29 30.10.2024 13:12 [13:12:20]line Смена: 553 ФФД: 1.0 [13:12:20]line ЗНМ: 0300000092 [13:12:20]line РНМ: 0000000000091684 [13:12:20]line Версия ККМ: 001 [13:12:20]line ФМ: 0000000000871841 [13:12:20]line ФД: 37947 [13:12:20]line ФПД: 242371573985784 [13:12:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T131223&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37947&fm=242371573985784&tin=02508201610067®Number=0000000000091684&sum=1500 [13:12:21]OFD Sender: Processing packet 37947 [packets to send 42, broken 41] [13:12:21]ProducePacketName [13:12:21]name=ofd_packets/00037947 [13:12:21]OFD Sender: To server: pG, [13:12:21]CommunicateWithHost lk.salyk.kg:30040 [13:12:21]ConnectInit lk.salyk.kg [13:12:21]line 0 [13:12:21]written 0, free lines is 4095 [13:12:21]Connected sock=10 [13:12:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 36 01 00 00 9E B5 2E 01 B3 72 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 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 B7 30 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3B 94 00 00 35 04 06 00 DC 6F 87 92 31 F8 94 AD 3F EF 5F EC 54 6C [13:12:21]Write to MH i2c: 01 00 00 6C 0F 7B [13:12:21]Write i2c OK [13:12:21]MH_I2C_Read... [13:12:21]Read from MH i2c: 01 [13:12:21]MH_I2C_Read... [13:12:21]Read from MH i2c: 01 07 00 [13:12:21]MH_I2C_Read... [13:12:21]Read from MH i2c: 01 07 00 6C 0F 00 00 00 00 00 CA 0C 58 [13:12:21]RasterBufferAndPrint [13:12:21]line [13:12:21]line [13:12:21]line [13:12:21]line [13:12:21]line [13:12:21]written 0, free lines is 3280 [13:12:21]MH_Cut [13:12:21]Write to MH i2c: D1 01 00 73 0F 01 54 [13:12:21]Write i2c OK [13:12:21]MH_I2C_Read... [13:12:21]Read from MH i2c: D1 [13:12:21]MH_I2C_Read... [13:12:21]Read from MH i2c: D1 01 00 [13:12:21]MH_I2C_Read... [13:12:21]Read from MH i2c: D1 01 00 73 0F 00 53 [13:12:21]Write to MH i2c: 01 00 00 74 0F 83 [13:12:21]Write i2c OK [13:12:21]MH_I2C_Read... [13:12:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 28 36 47 00 50 9F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3B 94 00 00 F4 03 04 00 A6 DB 21 67 B6 04 01 00 00 43 07 2C EF 7A 44 F3 A6 [13:12:21]CommunicateWithHost err = 0 [13:12:21]CheckOFDResponse [13:12:21]1017 (14) - 77093643461234 [13:12:21]1041 (16) - 0000000000871841 [13:12:21]1040 (4) - 37947 [13:12:21]1012 (4) - 30.10.2024 07:09 [13:12:21]1206 (1) - 0 [13:12:21]OFD Sender: Remove packet 37947 [13:12:21]ProducePacketName [13:12:21]name=ofd_packets/00037947 [13:12:21]NVStorageDeleteData [13:12:22]OFD Sender: No OFD packet to send [13:12:22]*** Cut start [13:12:22]*** Partial cut [13:12:22]*** CUTSNS_PIN = 1 [13:12:22]*** CUTSNS_PIN = 0 [13:12:22]*** Brake cut motor [13:12:23]Read from MH i2c: 01 [13:12:23]MH_I2C_Read... [13:12:23]*** Stop cut motor [13:12:23]*** Cut end [13:12:23]Read from MH i2c: 01 07 00 [13:12:23]MH_I2C_Read... [13:12:23]Read from MH i2c: 01 07 00 74 0F 00 00 00 00 00 FF 0F 98 [13:12:23]process_action close_receipt done [13:12:23]requested_data is exist [13:12:23]produce_requested_data [13:12:23]requested_item fm.sn is exist - process it [13:12:23]wFMCommunicate request_size=4 [13:12:23]MH_SAM_APDU [13:12:23]CAPDU: 80 11 00 00 [13:12:23]Write to MH i2c: E2 08 00 75 0F 80 11 00 00 00 00 00 00 FE [13:12:23]Write i2c OK [13:12:23]MH_I2C_Read... [13:12:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:12:23]Read from MH i2c: E2 [13:12:23]MH_I2C_Read... [13:12:23]Read from MH i2c: E2 17 00 [13:12:23]MH_I2C_Read... [13:12:23]Read from MH i2c: E2 17 00 75 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4E [13:12:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:12:23]wFMCommunicate OK [13:12:23]requested_item fd.num is exist - process it [13:12:23]SAM_PROTO_GetFieldsCounters [13:12:23]wFMCommunicate request_size=4 [13:12:23]MH_SAM_APDU [13:12:23]CAPDU: 80 13 00 00 [13:12:23]Write to MH i2c: E2 08 00 76 0F 80 13 00 00 00 00 00 00 01 [13:12:23]Write i2c OK [13:12:23]MH_I2C_Read... [13:12:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:12:23]Read from MH i2c: E2 [13:12:23]MH_I2C_Read... [13:12:23]Read from MH i2c: E2 62 00 [13:12:23]MH_I2C_Read... [13:12:23]Read from MH i2c: E2 62 00 76 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 3B 94 00 00 0E 04 04 00 29 02 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 73 [13:12:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 3B 94 00 00 0E 04 04 00 29 02 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 [13:12:23]wFMCommunicate OK [13:12:23]SAM_PROTO_GetFieldsCounters done [13:12:23]requested_item shift.num is exist - process it [13:12:23]requested_item shift.opened is exist - process it [13:12:23]req_shift_opened [13:12:23]FM_GetShiftState [13:12:23]SAM_PROTO_GetShiftState [13:12:23]wFMCommunicate request_size=4 [13:12:23]MH_SAM_APDU [13:12:23]CAPDU: 80 13 01 00 [13:12:23]Write to MH i2c: E2 08 00 77 0F 80 13 01 00 00 00 00 00 03 [13:12:23]Write i2c OK [13:12:23]MH_I2C_Read... [13:12:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:12:23]Read from MH i2c: E2 [13:12:23]MH_I2C_Read... [13:12:23]Read from MH i2c: E2 0E 00 [13:12:23]MH_I2C_Read... [13:12:23]Read from MH i2c: E2 0E 00 77 0F 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 C4 [13:12:23]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:12:23]wFMCommunicate OK [13:12:23]SAM_PROTO_GetShiftState done [13:12:23]FM_GetShiftState done [13:12:23]req_shift_opened done [13:12:23]requested_item shift.open_date is exist - process it [13:12:23]req_shift_open_date [13:12:23]req_shift_open_date done [13:12:23]produce_requested_data done [13:12:23]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37947,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [13:12:23]process_action_free close_receipt [13:12:23]json_value_free [13:12:23]json_value_free done [13:12:23]process_json_proto returns [13:12:23]Send response to host [13:12:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37947,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [13:12:23]free response buf [13:12:23]execute_script done [13:12:23]execute_script returns [13:12:23]free content buf [13:12:23]Sock 7.Close socket [13:12:23]Sock 7.Thread stoped [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:31]accept exits with 9 [13:13:31]New connection [13:13:31]New thread 3067063652 created [13:13:31]Thread 3067207012 joined [13:13:31]Waiting for new connection... [13:13:31] Sock 9.Parse request [13:13:31]Sock 9.Check first char [13:13:31]Sock 9.First char is OK [13:13:31]request: POST /json_proto HTTP/1.0 [13:13:31]Method: POST [13:13:31]URL: /json_proto [13:13:31]Method is POST - this is cgi request [13:13:31]url: /json_proto [13:13:31]query_string will be loaded in cgi processing [13:13:31]execute_cgi json_proto POST (null) [13:13:31]execute_cgi path=json_proto method=POST [13:13:31]POST find Content-Length [13:13:31]Host: 172.17.40.196:8080 [13:13:31]Content-Length: 618 [13:13:31]Content-Type: application/json [13:13:31] [13:13:31]POST finish read [13:13:31]Found Content-Length = 618 [13:13:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35247", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:13:31]execute_script... [13:13: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)35247", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:13:31]POST & json_proto [13:13:31]process_json_proto [13:13:31]json parsed OK: [13:13:31]protocol is kg_v1.0 [13:13:31]action value=close_receipt [13:13:31]process_action close_receipt [13:13:31]cmd_close_receipt [13:13:31]MH_GetDate [13:13:31]Write to MH i2c: F0 00 00 78 0F 76 [13:13:31]Write i2c OK [13:13:31]MH_I2C_Read... [13:13:31]Read from MH i2c: F0 [13:13:31]MH_I2C_Read... [13:13:31]Read from MH i2c: F0 09 00 [13:13:31]MH_I2C_Read... [13:13:31]Read from MH i2c: F0 09 00 78 0F 00 FF 30 22 67 5B 68 A1 66 01 [13:13:31]GetLastDocTimeStamp 1730293943 [13:13:31]current date 1730294015 [13:13:31]FM_GetShiftState [13:13:31]SAM_PROTO_GetShiftState [13:13:31]wFMCommunicate request_size=4 [13:13:31]MH_SAM_APDU [13:13:31]CAPDU: 80 13 01 00 [13:13:31]Write to MH i2c: E2 08 00 79 0F 80 13 01 00 00 00 00 00 05 [13:13:31]Write i2c OK [13:13:31]MH_I2C_Read... [13:13:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:13:31]Read from MH i2c: E2 [13:13:31]MH_I2C_Read... [13:13:31]Read from MH i2c: E2 0E 00 [13:13:31]MH_I2C_Read... [13:13:31]Read from MH i2c: E2 0E 00 79 0F 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 C6 [13:13:31]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:13:31]wFMCommunicate OK [13:13:31]SAM_PROTO_GetShiftState done [13:13:31]FM_GetShiftState done [13:13:31]opened in 1730246837 [13:13:31]opened+sec_in_day 1730333237 [13:13:31]quantity*price = 14400 [13:13:31]sum+1 = 14401 [13:13:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 30 30.10.2024 13:13 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37948 ФПД: 103695613928499 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T131335&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37948&fm=103695613928499&tin=02508201610067®Number=0000000000091684&sum=14400 0 [13:13:32]StoreToDocumentArchive [13:13:32]shift 553 fd 37948 [13:13:32]save to /storage/0553/doc_00037948 [13:13:32]save last doc name /storage/0553/doc_00037948 to /storage/kkm_last_doc_name [13:13:32]save OK [13:13:32]Clear old archive folders... [13:13:32]ProcessDocumentItem done err = 0, tmpTLVsize=271 [13:13:32]tlvbuf is 01836B10 [13:13:32]SAM_PROTO_ClearQueue [13:13:32]wFMCommunicate request_size=4 [13:13:32]MH_SAM_APDU [13:13:32]CAPDU: 80 09 00 00 [13:13:32]Write to MH i2c: E2 08 00 86 0F 80 09 00 00 00 00 00 00 07 [13:13:32]Write i2c OK [13:13:32]MH_I2C_Read... [13:13:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:13:32]Read from MH i2c: E2 [13:13:32]MH_I2C_Read... [13:13:32]Read from MH i2c: E2 03 00 [13:13:32]MH_I2C_Read... [13:13:32]Read from MH i2c: E2 03 00 86 0F 00 90 00 09 [13:13:32]RAPDU: 90 00 [13:13:32]wFMCommunicate OK [13:13:32]SAM_PROTO_ClearQueue done [13:13:32]KKMCreateOFDPacket [13:13:32]OFDProtocolAddRootSTLVToBuf [13:13:32]FM_MakeSignedData [13:13:32]FM_MakeSignedData [13:13:32]SAM_PROTO_SignData [13:13:32]wFMCommunicate request_size=4 [13:13:32]MH_SAM_APDU [13:13:32]CAPDU: 80 0D 01 02 [13:13:32]Write to MH i2c: E2 08 00 87 0F 80 0D 01 02 00 00 00 00 0F [13:13:32]Write i2c OK [13:13:32]MH_I2C_Read... [13:13:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:13:32]Read from MH i2c: E2 [13:13:32]MH_I2C_Read... [13:13:32]Read from MH i2c: E2 03 00 [13:13:32]MH_I2C_Read... [13:13:32]Read from MH i2c: E2 03 00 87 0F 00 90 00 0A [13:13:32]RAPDU: 90 00 [13:13:32]wFMCommunicate OK [13:13:32]wFMCommunicate request_size=255 [13:13:32]MH_SAM_APDU [13:13:32]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 FF 30 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 [13:13:32]Write to MH i2c: E2 02 01 88 0F 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 FF 30 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 0C [13:13:32]Write i2c OK [13:13:32]MH_I2C_Read... [13:13:32]OFD Sender: No OFD packet to send [13:13:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:32]Read from MH i2c: E2 [13:13:32]MH_I2C_Read... [13:13:32]Read from MH i2c: E2 03 00 [13:13:32]MH_I2C_Read... [13:13:32]Read from MH i2c: E2 03 00 88 0F 00 90 00 0B [13:13:32]RAPDU: 90 00 [13:13:32]wFMCommunicate OK [13:13:32]wFMCommunicate request_size=30 [13:13:32]MH_SAM_APDU [13:13:32]CAPDU: 80 0D 02 02 19 30 38 37 31 38 34 31 10 04 04 00 3C 94 00 00 35 04 06 00 5E 4F 84 3B A4 33 [13:13:32]Write to MH i2c: E2 21 00 89 0F 80 0D 02 02 19 00 30 38 37 31 38 34 31 10 04 04 00 3C 94 00 00 35 04 06 00 5E 4F 84 3B A4 33 00 00 1B [13:13:32]Write i2c OK [13:13:32]MH_I2C_Read... [13:13:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:32]Read from MH i2c: E2 [13:13:32]MH_I2C_Read... [13:13:32]Read from MH i2c: E2 03 00 [13:13:32]MH_I2C_Read... [13:13:32]Read from MH i2c: E2 03 00 89 0F 00 90 00 0C [13:13:32]RAPDU: 90 00 [13:13:32]wFMCommunicate OK [13:13:32]wFMCommunicate request_size=4 [13:13:32]MH_SAM_APDU [13:13:32]CAPDU: 80 0D 03 02 [13:13:32]Write to MH i2c: E2 08 00 8A 0F 80 0D 03 02 00 00 00 00 14 [13:13:32]Write i2c OK [13:13:32]MH_I2C_Read... [13:13:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:13:32]Read from MH i2c: E2 [13:13:32]MH_I2C_Read... [13:13:32]Read from MH i2c: E2 0B 00 [13:13:32]MH_I2C_Read... [13:13:32]Read from MH i2c: E2 0B 00 8A 0F 00 98 D3 3E 26 5C E2 BB 83 90 00 60 [13:13:32]RAPDU: 98 D3 3E 26 5C E2 BB 83 90 00 [13:13:32]wFMCommunicate OK [13:13:32]SAM_PROTO_SignData done [13:13:32]FM_MakeSignedData done [13:13:32]CreateOFDProtocolMessage [13:13:32]wFMCommunicate request_size=4 [13:13:32]MH_SAM_APDU [13:13:32]CAPDU: 80 11 00 00 [13:13:32]Write to MH i2c: E2 08 00 8B 0F 80 11 00 00 00 00 00 00 14 [13:13:32]Write i2c OK [13:13:32]MH_I2C_Read... [13:13:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:32]Read from MH i2c: E2 [13:13:32]MH_I2C_Read... [13:13:32]Read from MH i2c: E2 17 00 [13:13:32]MH_I2C_Read... [13:13:32]Read from MH i2c: E2 17 00 8B 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 64 [13:13:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:13:32]wFMCommunicate OK [13:13:32]CreateOFDProtocolMessage done [13:13:32]OFDSenderStorePacket 37948 [13:13:32]StoreOFDPacket docnum=37948 [13:13:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 23 01 00 00 F0 26 1B 01 6A 27 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 FF 30 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3C 94 00 00 35 04 06 00 5E 4F 84 3B A4 33 98 D3 3E 26 5C E2 BB 83 [13:13:32]CheckFolder [13:13:32]dirname=/storage/ofd_packets [13:13:32]CheckFolder done [13:13:32]ProducePacketName [13:13:32]name=ofd_packets/00037948 [13:13:32]NVStorageSaveData ofd_packets/00037948 [13:13:32]File name is /storage/ofd_packets/00037948 [13:13:32]Write 321 bytes [13:13:32]NVStorageSaveData done [13:13:32]OFDSenderStorePacket done [13:13:32]KKMCreateOFDPacket done [13:13:32]NVStorageSaveData kkm_last_timestamp [13:13:32]File name is /storage/kkm_last_timestamp [13:13:32]Write 4 bytes [13:13:32]NVStorageSaveData done [13:13:32]ExternCall_PrintAddStr [13:13:32]wPrintStart [13:13:32]Write to MH i2c: 01 00 00 8C 0F 9B [13:13:32]Write i2c OK [13:13:32]MH_I2C_Read... [13:13:32]Read from MH i2c: 01 [13:13:32]MH_I2C_Read... [13:13:32]Read from MH i2c: 01 07 00 [13:13:32]MH_I2C_Read... [13:13:32]Read from MH i2c: 01 07 00 8C 0F 00 00 00 00 00 FF 0F B0 [13:13:32]RasterBufferAndPrint [13:13:32]line Счет N : (3)35247 [13:13:32]line ИНН: 02508201610067 [13:13:32]line Контрольно-Кассовый Чек [13:13:32]line ПРОДАЖА [13:13:32]line Товар: 47802995 [13:13:32]line Сигареты Winston XS Silver [13:13:32]line 1.000 * 144.00 [13:13:32]line = 144.00 [13:13:32]line НДС 12% НСП 1% [13:13:32]line > о реализуемом товаре [13:13:32]line ИТОГО: 144.00 [13:13:32]line НСП 1% : 1.27 [13:13:32]line НДС 12% : 15.29 [13:13:32]line Наличными: 144.00 [13:13:32]line Безнал.: 0.00 [13:13:32]OFD Sender: Processing packet 37948 [packets to send 42, broken 41] [13:13:32]ProducePacketName [13:13:32]name=ofd_packets/00037948 [13:13:32]OFD Sender: To server: pG, [13:13:32]CommunicateWithHost lk.salyk.kg:30040 [13:13:32]ConnectInit lk.salyk.kg [13:13:32]line Место: АЗС № 126 "Партнер Нефть" [13:13:32]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:13:32]line СНО: Общий режим [13:13:32]line Чек 30 30.10.2024 13:13 [13:13:32]line Смена: 553 ФФД: 1.0 [13:13:32]line ЗНМ: 0300000092 [13:13:32]line РНМ: 0000000000091684 [13:13:33]line Версия ККМ: 001 [13:13:33]line ФМ: 0000000000871841 [13:13:33]line ФД: 37948 [13:13:33]line ФПД: 103695613928499 [13:13:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T131335&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37948&fm=103695613928499&tin=02508201610067®Number=0000000000091684&sum=14400 [13:13:33]line 0 [13:13:33]written 0, free lines is 4095 [13:13:33]Connected sock=10 [13:13:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 23 01 00 00 F0 26 1B 01 6A 27 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 FF 30 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3C 94 00 00 35 04 06 00 5E 4F 84 3B A4 33 98 D3 3E 26 5C E2 BB 83 [13:13:33]Write to MH i2c: 01 00 00 B4 0F C3 [13:13:33]Write i2c OK [13:13:33]MH_I2C_Read... [13:13:33]Read from MH i2c: 01 [13:13:33]MH_I2C_Read... [13:13:33]Read from MH i2c: 01 07 00 [13:13:33]MH_I2C_Read... [13:13:33]Read from MH i2c: 01 07 00 B4 0F 00 00 00 00 00 C8 0C 9E [13:13:33]RasterBufferAndPrint [13:13:33]line [13:13:33]line [13:13:33]line [13:13:33]line [13:13:33]line [13:13:33]written 0, free lines is 3276 [13:13:33]MH_Cut [13:13:33]Write to MH i2c: D1 01 00 BB 0F 01 9C [13:13:33]Write i2c OK [13:13:33]MH_I2C_Read... [13:13:33]Read from MH i2c: D1 [13:13:33]MH_I2C_Read... [13:13:33]Read from MH i2c: D1 01 00 [13:13:33]MH_I2C_Read... [13:13:33]Read from MH i2c: D1 01 00 BB 0F 00 9B [13:13:33]Write to MH i2c: 01 00 00 BC 0F CB [13:13:33]Write i2c OK [13:13:33]MH_I2C_Read... [13:13:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 A9 69 47 00 24 31 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3C 94 00 00 F4 03 04 00 EE DB 21 67 B6 04 01 00 00 EF 62 3F C7 19 84 D2 76 [13:13:33]CommunicateWithHost err = 0 [13:13:33]CheckOFDResponse [13:13:33]1017 (14) - 77093643461234 [13:13:33]1041 (16) - 0000000000871841 [13:13:33]1040 (4) - 37948 [13:13:33]1012 (4) - 30.10.2024 07:10 [13:13:33]1206 (1) - 0 [13:13:33]OFD Sender: Remove packet 37948 [13:13:33]ProducePacketName [13:13:33]name=ofd_packets/00037948 [13:13:33]NVStorageDeleteData [13:13:34]OFD Sender: No OFD packet to send [13:13:34]*** Cut start [13:13:34]*** Partial cut [13:13:34]*** CUTSNS_PIN = 1 [13:13:34]*** CUTSNS_PIN = 0 [13:13:34]*** Brake cut motor [13:13:35]Read from MH i2c: 01 [13:13:35]MH_I2C_Read... [13:13:35]*** Stop cut motor [13:13:35]*** Cut end [13:13:35]Read from MH i2c: 01 07 00 [13:13:35]MH_I2C_Read... [13:13:35]Read from MH i2c: 01 07 00 BC 0F 00 00 00 00 00 FF 0F E0 [13:13:35]process_action close_receipt done [13:13:35]requested_data is exist [13:13:35]produce_requested_data [13:13:35]requested_item fm.sn is exist - process it [13:13:35]wFMCommunicate request_size=4 [13:13:35]MH_SAM_APDU [13:13:35]CAPDU: 80 11 00 00 [13:13:35]Write to MH i2c: E2 08 00 BD 0F 80 11 00 00 00 00 00 00 46 [13:13:35]Write i2c OK [13:13:35]MH_I2C_Read... [13:13:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:35]Read from MH i2c: E2 [13:13:35]MH_I2C_Read... [13:13:35]Read from MH i2c: E2 17 00 [13:13:35]MH_I2C_Read... [13:13:35]Read from MH i2c: E2 17 00 BD 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 96 [13:13:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:13:35]wFMCommunicate OK [13:13:35]requested_item fd.num is exist - process it [13:13:35]SAM_PROTO_GetFieldsCounters [13:13:35]wFMCommunicate request_size=4 [13:13:35]MH_SAM_APDU [13:13:35]CAPDU: 80 13 00 00 [13:13:35]Write to MH i2c: E2 08 00 BE 0F 80 13 00 00 00 00 00 00 49 [13:13:35]Write i2c OK [13:13:35]MH_I2C_Read... [13:13:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:13:35]Read from MH i2c: E2 [13:13:35]MH_I2C_Read... [13:13:35]Read from MH i2c: E2 62 00 [13:13:35]MH_I2C_Read... [13:13:35]Read from MH i2c: E2 62 00 BE 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 3C 94 00 00 0E 04 04 00 29 02 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 BF [13:13:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 3C 94 00 00 0E 04 04 00 29 02 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 [13:13:35]wFMCommunicate OK [13:13:35]SAM_PROTO_GetFieldsCounters done [13:13:35]requested_item shift.num is exist - process it [13:13:35]requested_item shift.opened is exist - process it [13:13:35]req_shift_opened [13:13:35]FM_GetShiftState [13:13:35]SAM_PROTO_GetShiftState [13:13:35]wFMCommunicate request_size=4 [13:13:35]MH_SAM_APDU [13:13:35]CAPDU: 80 13 01 00 [13:13:35]Write to MH i2c: E2 08 00 BF 0F 80 13 01 00 00 00 00 00 4B [13:13:35]Write i2c OK [13:13:35]MH_I2C_Read... [13:13:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:13:35]Read from MH i2c: E2 [13:13:35]MH_I2C_Read... [13:13:35]Read from MH i2c: E2 0E 00 [13:13:35]MH_I2C_Read... [13:13:35]Read from MH i2c: E2 0E 00 BF 0F 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 0C [13:13:35]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:13:35]wFMCommunicate OK [13:13:35]SAM_PROTO_GetShiftState done [13:13:35]FM_GetShiftState done [13:13:35]req_shift_opened done [13:13:35]requested_item shift.open_date is exist - process it [13:13:35]req_shift_open_date [13:13:35]req_shift_open_date done [13:13:35]produce_requested_data done [13:13:35]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37948,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [13:13:35]process_action_free close_receipt [13:13:35]json_value_free [13:13:35]json_value_free done [13:13:35]process_json_proto returns [13:13:35]Send response to host [13:13:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37948,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [13:13:35]free response buf [13:13:35]execute_script done [13:13:35]execute_script returns [13:13:35]free content buf [13:13:35]Sock 9.Close socket [13:13:35]Sock 9.Thread stoped [13:13:39]OFD Sender: No OFD packet to send [13:13:44]OFD Sender: No OFD packet to send [13:13:49]OFD Sender: No OFD packet to send [13:13:54]OFD Sender: No OFD packet to send [13:13:59]OFD Sender: No OFD packet to send [13:14:04]OFD Sender: No OFD packet to send [13:14:09]OFD Sender: No OFD packet to send [13:14:14]OFD Sender: No OFD packet to send [13:14:19]OFD Sender: No OFD packet to send [13:14:24]OFD Sender: No OFD packet to send [13:14:29]OFD Sender: No OFD packet to send [13:14:34]OFD Sender: No OFD packet to send [13:14:39]OFD Sender: No OFD packet to send [13:14:44]OFD Sender: No OFD packet to send [13:14:49]OFD Sender: No OFD packet to send [13:14:54]OFD Sender: No OFD packet to send [13:14:59]OFD Sender: No OFD packet to send [13:15:04]OFD Sender: No OFD packet to send [13:15:09]OFD Sender: No OFD packet to send [13:15:14]OFD Sender: No OFD packet to send [13:15:19]OFD Sender: No OFD packet to send [13:15:23]accept exits with 7 [13:15:23]New connection [13:15:23]New thread 3067207012 created [13:15:23]Thread 3067063652 joined [13:15:23]Waiting for new connection... [13:15:23] Sock 7.Parse request [13:15:23]Sock 7.Check first char [13:15:23]Sock 7.First char is OK [13:15:23]request: POST /json_proto HTTP/1.0 [13:15:23]Method: POST [13:15:23]URL: /json_proto [13:15:23]Method is POST - this is cgi request [13:15:23]url: /json_proto [13:15:23]query_string will be loaded in cgi processing [13:15:23]execute_cgi json_proto POST (null) [13:15:23]execute_cgi path=json_proto method=POST [13:15:23]POST find Content-Length [13:15:23]Host: 172.17.40.196:8080 [13:15:23]Content-Length: 975 [13:15:23]Content-Type: application/json [13:15:23] [13:15:23]POST finish read [13:15:23]Found Content-Length = 975 [13:15:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35248", "tax_sys" : 0, "items" : [ { "code": "4870202521179", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,45", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:15:23]execute_script... [13:15: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)35248", "tax_sys" : 0, "items" : [ { "code": "4870202521179", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,45", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:15:23]POST & json_proto [13:15:23]process_json_proto [13:15:23]json parsed OK: [13:15:23]protocol is kg_v1.0 [13:15:23]action value=close_receipt [13:15:23]process_action close_receipt [13:15:23]cmd_close_receipt [13:15:23]MH_GetDate [13:15:23]Write to MH i2c: F0 00 00 C0 0F BE [13:15:23]Write i2c OK [13:15:23]MH_I2C_Read... [13:15:23]Read from MH i2c: F0 [13:15:23]MH_I2C_Read... [13:15:23]Read from MH i2c: F0 09 00 [13:15:23]MH_I2C_Read... [13:15:23]Read from MH i2c: F0 09 00 C0 0F 00 70 31 22 67 5B 68 A1 66 BB [13:15:23]GetLastDocTimeStamp 1730294015 [13:15:23]current date 1730294128 [13:15:23]FM_GetShiftState [13:15:23]SAM_PROTO_GetShiftState [13:15:23]wFMCommunicate request_size=4 [13:15:23]MH_SAM_APDU [13:15:23]CAPDU: 80 13 01 00 [13:15:23]Write to MH i2c: E2 08 00 C1 0F 80 13 01 00 00 00 00 00 4D [13:15:23]Write i2c OK [13:15:23]MH_I2C_Read... [13:15:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:15:23]Read from MH i2c: E2 [13:15:23]MH_I2C_Read... [13:15:23]Read from MH i2c: E2 0E 00 [13:15:23]MH_I2C_Read... [13:15:23]Read from MH i2c: E2 0E 00 C1 0F 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 0E [13:15:23]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:15:23]wFMCommunicate OK [13:15:23]SAM_PROTO_GetShiftState done [13:15:23]FM_GetShiftState done [13:15:23]opened in 1730246837 [13:15:23]opened+sec_in_day 1730333237 [13:15:23]quantity*price = 14000 [13:15:23]sum+1 = 14001 [13:15:23]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.12 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 31 30.10.2024 13:15 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37949 ФПД: 255924806398587 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T131528&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37949&fm=255924806398587&tin=02508201610067®Number=0000000000091684&sum=18000 0 [13:15:24]StoreToDocumentArchive [13:15:24]shift 553 fd 37949 [13:15:24]save to /storage/0553/doc_00037949 [13:15:24]save last doc name /storage/0553/doc_00037949 to /storage/kkm_last_doc_name [13:15:24]save OK [13:15:24]Clear old archive folders... [13:15:24]ProcessDocumentItem done err = 0, tmpTLVsize=409 [13:15:24]tlvbuf is 018FCE20 [13:15:24]SAM_PROTO_ClearQueue [13:15:24]wFMCommunicate request_size=4 [13:15:24]MH_SAM_APDU [13:15:24]CAPDU: 80 09 00 00 [13:15:24]Write to MH i2c: E2 08 00 CE 0F 80 09 00 00 00 00 00 00 4F [13:15:24]Write i2c OK [13:15:24]MH_I2C_Read... [13:15:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:15:24]Read from MH i2c: E2 [13:15:24]MH_I2C_Read... [13:15:24]Read from MH i2c: E2 03 00 [13:15:24]MH_I2C_Read... [13:15:24]Read from MH i2c: E2 03 00 CE 0F 00 90 00 51 [13:15:24]RAPDU: 90 00 [13:15:24]wFMCommunicate OK [13:15:24]SAM_PROTO_ClearQueue done [13:15:24]KKMCreateOFDPacket [13:15:24]OFDProtocolAddRootSTLVToBuf [13:15:24]FM_MakeSignedData [13:15:24]FM_MakeSignedData [13:15:24]SAM_PROTO_SignData [13:15:24]wFMCommunicate request_size=4 [13:15:24]MH_SAM_APDU [13:15:24]CAPDU: 80 0D 01 02 [13:15:24]Write to MH i2c: E2 08 00 CF 0F 80 0D 01 02 00 00 00 00 57 [13:15:24]Write i2c OK [13:15:24]MH_I2C_Read... [13:15:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:15:24]Read from MH i2c: E2 [13:15:24]MH_I2C_Read... [13:15:24]Read from MH i2c: E2 03 00 [13:15:24]MH_I2C_Read... [13:15:24]Read from MH i2c: E2 03 00 CF 0F 00 90 00 52 [13:15:24]RAPDU: 90 00 [13:15:24]wFMCommunicate OK [13:15:24]wFMCommunicate request_size=255 [13:15:24]MH_SAM_APDU [13:15:24]CAPDU: 80 0D 02 02 FA 03 00 99 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 [13:15:24]Write to MH i2c: E2 02 01 D0 0F 80 0D 02 02 FA 00 03 00 99 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 00 00 90 [13:15:24]Write i2c OK [13:15:24]MH_I2C_Read... [13:15:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:15:24]Read from MH i2c: E2 [13:15:24]MH_I2C_Read... [13:15:24]Read from MH i2c: E2 03 00 [13:15:24]MH_I2C_Read... [13:15:24]Read from MH i2c: E2 03 00 D0 0F 00 90 00 53 [13:15:24]RAPDU: 90 00 [13:15:24]wFMCommunicate OK [13:15:24]wFMCommunicate request_size=168 [13:15:24]MH_SAM_APDU [13:15:24]CAPDU: 80 0D 02 02 A3 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 70 31 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3D 94 00 00 35 04 06 00 E8 C3 23 2C B2 7B [13:15:24]Write to MH i2c: E2 AB 00 D1 0F 80 0D 02 02 A3 00 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 70 31 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3D 94 00 00 35 04 06 00 E8 C3 23 2C B2 7B 00 00 99 [13:15:24]Write i2c OK [13:15:24]MH_I2C_Read... [13:15:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:15:25]Read from MH i2c: E2 [13:15:25]MH_I2C_Read... [13:15:25]Read from MH i2c: E2 03 00 [13:15:25]MH_I2C_Read... [13:15:25]Read from MH i2c: E2 03 00 D1 0F 00 90 00 54 [13:15:25]RAPDU: 90 00 [13:15:25]wFMCommunicate OK [13:15:25]wFMCommunicate request_size=4 [13:15:25]MH_SAM_APDU [13:15:25]CAPDU: 80 0D 03 02 [13:15:25]Write to MH i2c: E2 08 00 D2 0F 80 0D 03 02 00 00 00 00 5C [13:15:25]Write i2c OK [13:15:25]MH_I2C_Read... [13:15:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:15:25]Read from MH i2c: E2 [13:15:25]MH_I2C_Read... [13:15:25]Read from MH i2c: E2 0B 00 [13:15:25]MH_I2C_Read... [13:15:25]Read from MH i2c: E2 0B 00 D2 0F 00 B3 19 65 B7 0E 86 CF 47 90 00 EF [13:15:25]RAPDU: B3 19 65 B7 0E 86 CF 47 90 00 [13:15:25]wFMCommunicate OK [13:15:25]SAM_PROTO_SignData done [13:15:25]FM_MakeSignedData done [13:15:25]CreateOFDProtocolMessage [13:15:25]wFMCommunicate request_size=4 [13:15:25]MH_SAM_APDU [13:15:25]CAPDU: 80 11 00 00 [13:15:25]Write to MH i2c: E2 08 00 D3 0F 80 11 00 00 00 00 00 00 5C [13:15:25]Write i2c OK [13:15:25]MH_I2C_Read... [13:15:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:15:25]Read from MH i2c: E2 [13:15:25]MH_I2C_Read... [13:15:25]Read from MH i2c: E2 17 00 [13:15:25]MH_I2C_Read... [13:15:25]Read from MH i2c: E2 17 00 D3 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 AC [13:15:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:15:25]wFMCommunicate OK [13:15:25]CreateOFDProtocolMessage done [13:15:25]OFDSenderStorePacket 37949 [13:15:25]StoreOFDPacket docnum=37949 [13:15:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 AD 01 00 00 CF D5 A5 01 00 F7 5A 03 01 00 03 00 99 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 70 31 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3D 94 00 00 35 04 06 00 E8 C3 23 2C B2 7B B3 19 65 B7 0E 86 CF 47 [13:15:25]CheckFolder [13:15:25]dirname=/storage/ofd_packets [13:15:25]CheckFolder done [13:15:25]ProducePacketName [13:15:25]name=ofd_packets/00037949 [13:15:25]NVStorageSaveData ofd_packets/00037949 [13:15:25]File name is /storage/ofd_packets/00037949 [13:15:25]Write 459 bytes [13:15:25]NVStorageSaveData done [13:15:25]OFDSenderStorePacket done [13:15:25]KKMCreateOFDPacket done [13:15:25]NVStorageSaveData kkm_last_timestamp [13:15:25]File name is /storage/kkm_last_timestamp [13:15:25]Write 4 bytes [13:15:25]NVStorageSaveData done [13:15:25]ExternCall_PrintAddStr [13:15:25]wPrintStart [13:15:25]Write to MH i2c: 01 00 00 D4 0F E3 [13:15:25]Write i2c OK [13:15:25]MH_I2C_Read... [13:15:25]Read from MH i2c: 01 [13:15:25]MH_I2C_Read... [13:15:25]Read from MH i2c: 01 07 00 [13:15:25]MH_I2C_Read... [13:15:25]OFD Sender: Processing packet 37949 [packets to send 42, broken 41] [13:15:25]ProducePacketName [13:15:25]name=ofd_packets/00037949 [13:15:25]OFD Sender: To server: pG, [13:15:25]CommunicateWithHost lk.salyk.kg:30040 [13:15:25]ConnectInit lk.salyk.kg [13:15:25]Read from MH i2c: 01 07 00 D4 0F 00 00 00 00 00 FF 0F F8 [13:15:25]RasterBufferAndPrint [13:15:25]line Счет N : (3)35248 [13:15:25]line ИНН: 02508201610067 [13:15:25]line Контрольно-Кассовый Чек [13:15:25]line ПРОДАЖА [13:15:25]line Товар: 4870202521179 [13:15:25]line Чай холодный MAXI черный персик ПЭТ 0,45 [13:15:25]line 2.000 * 70.00 [13:15:25]line = 140.00 [13:15:25]line НДС 12% НСП 1% [13:15:25]line > о реализуемом товаре [13:15:25]line Товар: 4700000160211 [13:15:25]line Вода Легенда 0,5л [13:15:25]line 1.000 * 40.00 [13:15:25]line = 40.00 [13:15:25]line НДС 12% НСП 1% [13:15:25]line > о реализуемом товаре [13:15:25]line ИТОГО: 180.00 [13:15:25]line НСП 1% : 1.59 [13:15:25]line НДС 12% : 19.12 [13:15:25]line Наличными: 180.00 [13:15:25]line Безнал.: 0.00 [13:15:25]line Место: АЗС № 126 "Партнер Нефть" [13:15:25]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:15:25]line СНО: Общий режим [13:15:25]line Чек 31 30.10.2024 13:15 [13:15:25]line Смена: 553 ФФД: 1.0 [13:15:25]line ЗНМ: 0300000092 [13:15:25]line РНМ: 0000000000091684 [13:15:25]line Версия ККМ: 001 [13:15:25]line ФМ: 0000000000871841 [13:15:25]line ФД: 37949 [13:15:25]line ФПД: 255924806398587 [13:15:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T131528&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37949&fm=255924806398587&tin=02508201610067®Number=0000000000091684&sum=18000 [13:15:25]line 0 [13:15:25]written 0, free lines is 4095 [13:15:25]Connected sock=10 [13:15:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 AD 01 00 00 CF D5 A5 01 00 F7 5A 03 01 00 03 00 99 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 70 31 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3D 94 00 00 35 04 06 00 E8 C3 23 2C B2 7B B3 19 65 B7 0E 86 CF 47 [13:15:26]Write to MH i2c: 01 00 00 03 10 13 [13:15:26]Write i2c OK [13:15:26]MH_I2C_Read... [13:15:26]Read from MH i2c: 01 [13:15:26]MH_I2C_Read... [13:15:26]Read from MH i2c: 01 07 00 [13:15:26]MH_I2C_Read... [13:15:26]Read from MH i2c: 01 07 00 03 10 00 00 00 00 00 5B 0C 81 [13:15:26]RasterBufferAndPrint [13:15:26]line [13:15:26]line [13:15:26]line [13:15:26]line [13:15:26]line [13:15:26]written 0, free lines is 3173 [13:15:26]MH_Cut [13:15:26]Write to MH i2c: D1 01 00 0A 10 01 EC [13:15:26]Write i2c OK [13:15:26]MH_I2C_Read... [13:15:26]Read from MH i2c: D1 [13:15:26]MH_I2C_Read... [13:15:26]Read from MH i2c: D1 01 00 [13:15:26]MH_I2C_Read... [13:15:26]Read from MH i2c: D1 01 00 0A 10 00 EB [13:15:26]Write to MH i2c: 01 00 00 0B 10 1B [13:15:26]Write i2c OK [13:15:26]MH_I2C_Read... [13:15:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 33 05 47 00 E0 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3D 94 00 00 F4 03 04 00 5E DC 21 67 B6 04 01 00 00 D9 91 E8 35 60 4C 2B 36 [13:15:26]CommunicateWithHost err = 0 [13:15:26]CheckOFDResponse [13:15:26]1017 (14) - 77093643461234 [13:15:26]1041 (16) - 0000000000871841 [13:15:26]1040 (4) - 37949 [13:15:26]1012 (4) - 30.10.2024 07:12 [13:15:26]1206 (1) - 0 [13:15:26]OFD Sender: Remove packet 37949 [13:15:26]ProducePacketName [13:15:26]name=ofd_packets/00037949 [13:15:26]NVStorageDeleteData [13:15:26]OFD Sender: No OFD packet to send [13:15:27]*** Cut start [13:15:27]*** Partial cut [13:15:27]*** CUTSNS_PIN = 1 [13:15:27]*** CUTSNS_PIN = 0 [13:15:27]*** Brake cut motor [13:15:27]Read from MH i2c: 01 [13:15:27]MH_I2C_Read... [13:15:27]*** Stop cut motor [13:15:27]*** Cut end [13:15:27]Read from MH i2c: 01 07 00 [13:15:27]MH_I2C_Read... [13:15:27]Read from MH i2c: 01 07 00 0B 10 00 00 00 00 00 FF 0F 30 [13:15:27]process_action close_receipt done [13:15:27]requested_data is exist [13:15:27]produce_requested_data [13:15:27]requested_item fm.sn is exist - process it [13:15:27]wFMCommunicate request_size=4 [13:15:27]MH_SAM_APDU [13:15:27]CAPDU: 80 11 00 00 [13:15:27]Write to MH i2c: E2 08 00 0C 10 80 11 00 00 00 00 00 00 96 [13:15:27]Write i2c OK [13:15:27]MH_I2C_Read... [13:15:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:15:27]Read from MH i2c: E2 [13:15:27]MH_I2C_Read... [13:15:27]Read from MH i2c: E2 17 00 [13:15:27]MH_I2C_Read... [13:15:27]Read from MH i2c: E2 17 00 0C 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E6 [13:15:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:15:27]wFMCommunicate OK [13:15:27]requested_item fd.num is exist - process it [13:15:27]SAM_PROTO_GetFieldsCounters [13:15:27]wFMCommunicate request_size=4 [13:15:27]MH_SAM_APDU [13:15:27]CAPDU: 80 13 00 00 [13:15:27]Write to MH i2c: E2 08 00 0D 10 80 13 00 00 00 00 00 00 99 [13:15:27]Write i2c OK [13:15:27]MH_I2C_Read... [13:15:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:15:27]Read from MH i2c: E2 [13:15:27]MH_I2C_Read... [13:15:27]Read from MH i2c: E2 62 00 [13:15:27]MH_I2C_Read... [13:15:27]Read from MH i2c: E2 62 00 0D 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 3D 94 00 00 0E 04 04 00 29 02 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 13 [13:15:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 3D 94 00 00 0E 04 04 00 29 02 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 [13:15:27]wFMCommunicate OK [13:15:27]SAM_PROTO_GetFieldsCounters done [13:15:27]requested_item shift.num is exist - process it [13:15:27]requested_item shift.opened is exist - process it [13:15:27]req_shift_opened [13:15:27]FM_GetShiftState [13:15:27]SAM_PROTO_GetShiftState [13:15:27]wFMCommunicate request_size=4 [13:15:27]MH_SAM_APDU [13:15:27]CAPDU: 80 13 01 00 [13:15:27]Write to MH i2c: E2 08 00 0E 10 80 13 01 00 00 00 00 00 9B [13:15:27]Write i2c OK [13:15:27]MH_I2C_Read... [13:15:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:15:27]Read from MH i2c: E2 [13:15:27]MH_I2C_Read... [13:15:27]Read from MH i2c: E2 0E 00 [13:15:27]MH_I2C_Read... [13:15:27]Read from MH i2c: E2 0E 00 0E 10 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 5C [13:15:27]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:15:27]wFMCommunicate OK [13:15:27]SAM_PROTO_GetShiftState done [13:15:27]FM_GetShiftState done [13:15:27]req_shift_opened done [13:15:27]requested_item shift.open_date is exist - process it [13:15:27]req_shift_open_date [13:15:27]req_shift_open_date done [13:15:27]produce_requested_data done [13:15:27]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37949,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [13:15:27]process_action_free close_receipt [13:15:27]json_value_free [13:15:27]json_value_free done [13:15:27]process_json_proto returns [13:15:27]Send response to host [13:15:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37949,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [13:15:27]free response buf [13:15:27]execute_script done [13:15:27]execute_script returns [13:15:27]free content buf [13:15:27]Sock 7.Close socket [13:15:27]Sock 7.Thread stoped [13:15:31]OFD Sender: No OFD packet to send [13:15:36]OFD Sender: No OFD packet to send [13:15:41]OFD Sender: No OFD packet to send [13:15:46]OFD Sender: No OFD packet to send [13:15:51]OFD Sender: No OFD packet to send [13:15:56]OFD Sender: No OFD packet to send [13:16:01]OFD Sender: No OFD packet to send [13:16:06]OFD Sender: No OFD packet to send [13:16:11]OFD Sender: No OFD packet to send [13:16:16]OFD Sender: No OFD packet to send [13:16:21]OFD Sender: No OFD packet to send [13:16:26]OFD Sender: No OFD packet to send [13:16:31]OFD Sender: No OFD packet to send [13:16:36]OFD Sender: No OFD packet to send [13:16:41]OFD Sender: No OFD packet to send [13:16:46]OFD Sender: No OFD packet to send [13:16:51]OFD Sender: No OFD packet to send [13:16:56]OFD Sender: No OFD packet to send [13:17:01]OFD Sender: No OFD packet to send [13:17:06]OFD Sender: No OFD packet to send [13:17:11]OFD Sender: No OFD packet to send [13:17:16]OFD Sender: No OFD packet to send [13:17:21]OFD Sender: No OFD packet to send [13:17:26]OFD Sender: No OFD packet to send [13:17:31]OFD Sender: No OFD packet to send [13:17:36]OFD Sender: No OFD packet to send [13:17:41]OFD Sender: No OFD packet to send [13:17:46]OFD Sender: No OFD packet to send [13:17:51]OFD Sender: No OFD packet to send [13:17:56]OFD Sender: No OFD packet to send [13:18:01]OFD Sender: No OFD packet to send [13:18:06]OFD Sender: No OFD packet to send [13:18:11]OFD Sender: No OFD packet to send [13:18: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:37]accept exits with 9 [13:20:37]New connection [13:20:37]New thread 3067063652 created [13:20:37]Thread 3067207012 joined [13:20:37]Waiting for new connection... [13:20:37] Sock 9.Parse request [13:20:37]Sock 9.Check first char [13:20:37]Sock 9.First char is OK [13:20:37]request: POST /json_proto HTTP/1.0 [13:20:37]Method: POST [13:20:37]URL: /json_proto [13:20:37]Method is POST - this is cgi request [13:20:37]url: /json_proto [13:20:37]query_string will be loaded in cgi processing [13:20:37]execute_cgi json_proto POST (null) [13:20:37]execute_cgi path=json_proto method=POST [13:20:37]POST find Content-Length [13:20:37]Host: 172.17.40.196:8080 [13:20:37]Content-Length: 618 [13:20:37]Content-Type: application/json [13:20:37] [13:20:37]POST finish read [13:20:37]Found Content-Length = 618 [13:20:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35249", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:20:37]execute_script... [13:20:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35249", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:20:37]POST & json_proto [13:20:37]process_json_proto [13:20:37]json parsed OK: [13:20:37]protocol is kg_v1.0 [13:20:37]action value=close_receipt [13:20:37]process_action close_receipt [13:20:37]cmd_close_receipt [13:20:37]MH_GetDate [13:20:37]Write to MH i2c: F0 00 00 0F 10 0E [13:20:37]Write i2c OK [13:20:37]MH_I2C_Read... [13:20:37]Read from MH i2c: F0 [13:20:37]MH_I2C_Read... [13:20:37]Read from MH i2c: F0 09 00 [13:20:37]MH_I2C_Read... [13:20:37]Read from MH i2c: F0 09 00 0F 10 00 A9 32 22 67 5B 68 A1 66 45 [13:20:37]GetLastDocTimeStamp 1730294128 [13:20:37]current date 1730294441 [13:20:37]FM_GetShiftState [13:20:37]SAM_PROTO_GetShiftState [13:20:37]wFMCommunicate request_size=4 [13:20:37]MH_SAM_APDU [13:20:37]CAPDU: 80 13 01 00 [13:20:37]Write to MH i2c: E2 08 00 10 10 80 13 01 00 00 00 00 00 9D [13:20:37]Write i2c OK [13:20:37]MH_I2C_Read... [13:20:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:20:37]Read from MH i2c: E2 [13:20:37]MH_I2C_Read... [13:20:37]Read from MH i2c: E2 0E 00 [13:20:37]MH_I2C_Read... [13:20:37]Read from MH i2c: E2 0E 00 10 10 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 5E [13:20:37]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:20:37]wFMCommunicate OK [13:20:37]SAM_PROTO_GetShiftState done [13:20:37]FM_GetShiftState done [13:20:37]opened in 1730246837 [13:20:37]opened+sec_in_day 1730333237 [13:20:37]quantity*price = 14400 [13:20:37]sum+1 = 14401 [13:20:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 32 30.10.2024 13:20 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37950 ФПД: 254382425249999 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T132041&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37950&fm=254382425249999&tin=02508201610067®Number=0000000000091684&sum=14400 0 [13:20:38]StoreToDocumentArchive [13:20:38]shift 553 fd 37950 [13:20:38]save to /storage/0553/doc_00037950 [13:20:38]save last doc name /storage/0553/doc_00037950 to /storage/kkm_last_doc_name [13:20:38]save OK [13:20:38]Clear old archive folders... [13:20:38]ProcessDocumentItem done err = 0, tmpTLVsize=271 [13:20:38]tlvbuf is 019C4FC0 [13:20:38]SAM_PROTO_ClearQueue [13:20:38]wFMCommunicate request_size=4 [13:20:38]MH_SAM_APDU [13:20:38]CAPDU: 80 09 00 00 [13:20:38]Write to MH i2c: E2 08 00 1D 10 80 09 00 00 00 00 00 00 9F [13:20:38]Write i2c OK [13:20:38]MH_I2C_Read... [13:20:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:20:38]Read from MH i2c: E2 [13:20:38]MH_I2C_Read... [13:20:38]Read from MH i2c: E2 03 00 [13:20:38]MH_I2C_Read... [13:20:38]Read from MH i2c: E2 03 00 1D 10 00 90 00 A1 [13:20:38]RAPDU: 90 00 [13:20:38]wFMCommunicate OK [13:20:38]SAM_PROTO_ClearQueue done [13:20:38]KKMCreateOFDPacket [13:20:38]OFDProtocolAddRootSTLVToBuf [13:20:38]FM_MakeSignedData [13:20:38]FM_MakeSignedData [13:20:38]SAM_PROTO_SignData [13:20:38]wFMCommunicate request_size=4 [13:20:38]MH_SAM_APDU [13:20:38]CAPDU: 80 0D 01 02 [13:20:38]Write to MH i2c: E2 08 00 1E 10 80 0D 01 02 00 00 00 00 A7 [13:20:38]Write i2c OK [13:20:38]MH_I2C_Read... [13:20:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:20:38]Read from MH i2c: E2 [13:20:38]MH_I2C_Read... [13:20:38]Read from MH i2c: E2 03 00 [13:20:38]MH_I2C_Read... [13:20:38]Read from MH i2c: E2 03 00 1E 10 00 90 00 A2 [13:20:38]RAPDU: 90 00 [13:20:38]wFMCommunicate OK [13:20:38]wFMCommunicate request_size=255 [13:20:38]MH_SAM_APDU [13:20:38]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A9 32 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 [13:20:38]Write to MH i2c: E2 02 01 1F 10 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A9 32 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 52 [13:20:38]Write i2c OK [13:20:38]MH_I2C_Read... [13:20:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:20:38]Read from MH i2c: E2 [13:20:38]MH_I2C_Read... [13:20:38]Read from MH i2c: E2 03 00 [13:20:38]MH_I2C_Read... [13:20:38]Read from MH i2c: E2 03 00 1F 10 00 90 00 A3 [13:20:38]RAPDU: 90 00 [13:20:38]wFMCommunicate OK [13:20:38]wFMCommunicate request_size=30 [13:20:38]MH_SAM_APDU [13:20:38]CAPDU: 80 0D 02 02 19 30 38 37 31 38 34 31 10 04 04 00 3E 94 00 00 35 04 06 00 E7 5C 06 18 18 CF [13:20:38]Write to MH i2c: E2 21 00 20 10 80 0D 02 02 19 00 30 38 37 31 38 34 31 10 04 04 00 3E 94 00 00 35 04 06 00 E7 5C 06 18 18 CF 00 00 BA [13:20:38]Write i2c OK [13:20:38]MH_I2C_Read... [13:20:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:20:38]Read from MH i2c: E2 [13:20:38]MH_I2C_Read... [13:20:38]Read from MH i2c: E2 03 00 [13:20:38]MH_I2C_Read... [13:20:38]Read from MH i2c: E2 03 00 20 10 00 90 00 A4 [13:20:38]RAPDU: 90 00 [13:20:38]wFMCommunicate OK [13:20:38]wFMCommunicate request_size=4 [13:20:38]MH_SAM_APDU [13:20:38]CAPDU: 80 0D 03 02 [13:20:38]Write to MH i2c: E2 08 00 21 10 80 0D 03 02 00 00 00 00 AC [13:20:38]Write i2c OK [13:20:38]MH_I2C_Read... [13:20:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:20:38]Read from MH i2c: E2 [13:20:38]MH_I2C_Read... [13:20:38]Read from MH i2c: E2 0B 00 [13:20:38]MH_I2C_Read... [13:20:38]Read from MH i2c: E2 0B 00 21 10 00 5F B5 9C 12 71 63 2C 65 90 00 D4 [13:20:38]RAPDU: 5F B5 9C 12 71 63 2C 65 90 00 [13:20:38]wFMCommunicate OK [13:20:38]SAM_PROTO_SignData done [13:20:38]FM_MakeSignedData done [13:20:38]CreateOFDProtocolMessage [13:20:38]wFMCommunicate request_size=4 [13:20:38]MH_SAM_APDU [13:20:38]CAPDU: 80 11 00 00 [13:20:38]Write to MH i2c: E2 08 00 22 10 80 11 00 00 00 00 00 00 AC [13:20:38]Write i2c OK [13:20:38]MH_I2C_Read... [13:20:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:20:38]Read from MH i2c: E2 [13:20:38]MH_I2C_Read... [13:20:38]Read from MH i2c: E2 17 00 [13:20:38]MH_I2C_Read... [13:20:38]Read from MH i2c: E2 17 00 22 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 FC [13:20:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:20:38]wFMCommunicate OK [13:20:38]CreateOFDProtocolMessage done [13:20:38]OFDSenderStorePacket 37950 [13:20:38]StoreOFDPacket docnum=37950 [13:20:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 23 01 00 00 1C 4D 1B 01 0E 2F 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A9 32 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3E 94 00 00 35 04 06 00 E7 5C 06 18 18 CF 5F B5 9C 12 71 63 2C 65 [13:20:38]CheckFolder [13:20:38]dirname=/storage/ofd_packets [13:20:38]CheckFolder done [13:20:38]ProducePacketName [13:20:38]name=ofd_packets/00037950 [13:20:38]NVStorageSaveData ofd_packets/00037950 [13:20:38]File name is /storage/ofd_packets/00037950 [13:20:38]Write 321 bytes [13:20:38]NVStorageSaveData done [13:20:38]OFDSenderStorePacket done [13:20:38]KKMCreateOFDPacket done [13:20:38]NVStorageSaveData kkm_last_timestamp [13:20:38]File name is /storage/kkm_last_timestamp [13:20:38]Write 4 bytes [13:20:38]NVStorageSaveData done [13:20:38]ExternCall_PrintAddStr [13:20:38]wPrintStart [13:20:38]Write to MH i2c: 01 00 00 23 10 33 [13:20:38]Write i2c OK [13:20:38]MH_I2C_Read... [13:20:38]Read from MH i2c: 01 [13:20:38]MH_I2C_Read... [13:20:38]Read from MH i2c: 01 07 00 [13:20:38]MH_I2C_Read... [13:20:38]Read from MH i2c: 01 07 00 23 10 00 00 00 00 00 FF 0F 48 [13:20:38]RasterBufferAndPrint [13:20:38]line Счет N : (3)35249 [13:20:38]line ИНН: 02508201610067 [13:20:38]line Контрольно-Кассовый Чек [13:20:38]line ПРОДАЖА [13:20:38]line Товар: 47802995 [13:20:38]line Сигареты Winston XS Silver [13:20:38]line 1.000 * 144.00 [13:20:38]line = 144.00 [13:20:38]line НДС 12% НСП 1% [13:20:38]line > о реализуемом товаре [13:20:38]line ИТОГО: 144.00 [13:20:38]line НСП 1% : 1.27 [13:20:38]line НДС 12% : 15.29 [13:20:38]line Наличными: 144.00 [13:20:38]line Безнал.: 0.00 [13:20:38]line Место: АЗС № 126 "Партнер Нефть" [13:20:38]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:20:38]line СНО: Общий режим [13:20:38]line Чек 32 30.10.2024 13:20 [13:20:38]line Смена: 553 ФФД: 1.0 [13:20:38]line ЗНМ: 0300000092 [13:20:38]line РНМ: 0000000000091684 [13:20:38]line Версия ККМ: 001 [13:20:38]line ФМ: 0000000000871841 [13:20:38]line ФД: 37950 [13:20:38]line ФПД: 254382425249999 [13:20:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T132041&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37950&fm=254382425249999&tin=02508201610067®Number=0000000000091684&sum=14400 [13:20:39]line 0 [13:20:39]OFD Sender: Processing packet 37950 [packets to send 42, broken 41] [13:20:39]ProducePacketName [13:20:39]name=ofd_packets/00037950 [13:20:39]OFD Sender: To server: pG, [13:20:39]CommunicateWithHost lk.salyk.kg:30040 [13:20:39]ConnectInit lk.salyk.kg [13:20:39]written 0, free lines is 4095 [13:20:39]Write to MH i2c: 01 00 00 4B 10 5B [13:20:39]Write i2c OK [13:20:39]MH_I2C_Read... [13:20:39]Read from MH i2c: 01 [13:20:39]MH_I2C_Read... [13:20:39]Read from MH i2c: 01 07 00 [13:20:39]MH_I2C_Read... [13:20:39]Read from MH i2c: 01 07 00 4B 10 00 00 00 00 00 C4 0C 32 [13:20:39]RasterBufferAndPrint [13:20:39]line [13:20:39]line [13:20:39]line [13:20:39]line [13:20:39]line [13:20:39]written 0, free lines is 3271 [13:20:39]MH_Cut [13:20:39]Write to MH i2c: D1 01 00 52 10 01 34 [13:20:39]Write i2c OK [13:20:39]MH_I2C_Read... [13:20:39]Read from MH i2c: D1 [13:20:39]MH_I2C_Read... [13:20:39]Read from MH i2c: D1 01 00 [13:20:39]MH_I2C_Read... [13:20:39]Read from MH i2c: D1 01 00 52 10 00 33 [13:20:39]Write to MH i2c: 01 00 00 53 10 63 [13:20:39]Write i2c OK [13:20:39]MH_I2C_Read... [13:20:40]*** Cut start [13:20:40]*** Partial cut [13:20:40]*** CUTSNS_PIN = 1 [13:20:40]*** CUTSNS_PIN = 0 [13:20:40]Connected sock=11 [13:20:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 23 01 00 00 1C 4D 1B 01 0E 2F 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A9 32 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3E 94 00 00 35 04 06 00 E7 5C 06 18 18 CF 5F B5 9C 12 71 63 2C 65 [13:20:40]*** Brake cut motor [13:20:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 EE 33 47 00 5C 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 38 37 31 38 34 31 10 04 04 00 3E 94 00 00 F4 03 04 00 99 DD 21 67 B6 04 01 00 00 BA 46 CB 0D 12 7A 5F 7D [13:20:40]CommunicateWithHost err = 0 [13:20:40]CheckOFDResponse [13:20:40]1017 (14) - 77093643461234 [13:20:40]1041 (16) - 0000000000871841 [13:20:40]1040 (4) - 37950 [13:20:40]1012 (4) - 30.10.2024 07:17 [13:20:40]1206 (1) - 0 [13:20:40]OFD Sender: Remove packet 37950 [13:20:40]ProducePacketName [13:20:40]name=ofd_packets/00037950 [13:20:40]NVStorageDeleteData [13:20:41]Read from MH i2c: 01 [13:20:41]MH_I2C_Read... [13:20:41]*** Stop cut motor [13:20:41]*** Cut end [13:20:41]Read from MH i2c: 01 07 00 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: 01 07 00 53 10 00 00 00 00 00 FF 0F 78 [13:20:41]process_action close_receipt done [13:20:41]requested_data is exist [13:20:41]produce_requested_data [13:20:41]requested_item fm.sn is exist - process it [13:20:41]wFMCommunicate request_size=4 [13:20:41]MH_SAM_APDU [13:20:41]CAPDU: 80 11 00 00 [13:20:41]Write to MH i2c: E2 08 00 54 10 80 11 00 00 00 00 00 00 DE [13:20:41]Write i2c OK [13:20:41]MH_I2C_Read... [13:20:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:20:41]Read from MH i2c: E2 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: E2 17 00 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: E2 17 00 54 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 2E [13:20:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:20:41]wFMCommunicate OK [13:20:41]requested_item fd.num is exist - process it [13:20:41]SAM_PROTO_GetFieldsCounters [13:20:41]wFMCommunicate request_size=4 [13:20:41]MH_SAM_APDU [13:20:41]CAPDU: 80 13 00 00 [13:20:41]Write to MH i2c: E2 08 00 55 10 80 13 00 00 00 00 00 00 E1 [13:20:41]Write i2c OK [13:20:41]MH_I2C_Read... [13:20:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:20:41]Read from MH i2c: E2 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: E2 62 00 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: E2 62 00 55 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 3E 94 00 00 0E 04 04 00 29 02 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 5F [13:20:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 3E 94 00 00 0E 04 04 00 29 02 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 [13:20:41]wFMCommunicate OK [13:20:41]SAM_PROTO_GetFieldsCounters done [13:20:41]requested_item shift.num is exist - process it [13:20:41]requested_item shift.opened is exist - process it [13:20:41]req_shift_opened [13:20:41]FM_GetShiftState [13:20:41]SAM_PROTO_GetShiftState [13:20:41]wFMCommunicate request_size=4 [13:20:41]MH_SAM_APDU [13:20:41]CAPDU: 80 13 01 00 [13:20:41]Write to MH i2c: E2 08 00 56 10 80 13 01 00 00 00 00 00 E3 [13:20:41]Write i2c OK [13:20:41]MH_I2C_Read... [13:20:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:20:41]Read from MH i2c: E2 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: E2 0E 00 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: E2 0E 00 56 10 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 A4 [13:20:41]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:20:41]wFMCommunicate OK [13:20:41]SAM_PROTO_GetShiftState done [13:20:41]FM_GetShiftState done [13:20:41]req_shift_opened done [13:20:41]requested_item shift.open_date is exist - process it [13:20:41]req_shift_open_date [13:20:41]req_shift_open_date done [13:20:41]produce_requested_data done [13:20:41]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37950,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [13:20:41]process_action_free close_receipt [13:20:41]json_value_free [13:20:41]json_value_free done [13:20:41]process_json_proto returns [13:20:41]Send response to host [13:20:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37950,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [13:20:41]free response buf [13:20:41]execute_script done [13:20:41]execute_script returns [13:20:41]free content buf [13:20:41]Sock 9.Close socket [13:20:41]Sock 9.Thread stoped [13:20:41]OFD Sender: No OFD packet to send [13:20:46]OFD Sender: No OFD packet to send [13:20:51]OFD Sender: No OFD packet to send [13:20:56]OFD Sender: No OFD packet to send [13:21:01]OFD Sender: No OFD packet to send [13:21:06]OFD Sender: No OFD packet to send [13:21:11]OFD Sender: No OFD packet to send [13:21:16]OFD Sender: No OFD packet to send [13:21:21]OFD Sender: No OFD packet to send [13:21:26]OFD Sender: No OFD packet to send [13:21:31]OFD Sender: No OFD packet to send [13:21:36]accept exits with 7 [13:21:36]New connection [13:21:36]New thread 3067207012 created [13:21:36]Thread 3067063652 joined [13:21:36]Waiting for new connection... [13:21:36] Sock 7.Parse request [13:21:36]Sock 7.Check first char [13:21:36]Sock 7.First char is OK [13:21:36]request: POST /json_proto HTTP/1.0 [13:21:36]Method: POST [13:21:36]URL: /json_proto [13:21:36]Method is POST - this is cgi request [13:21:36]url: /json_proto [13:21:36]query_string will be loaded in cgi processing [13:21:36]execute_cgi json_proto POST (null) [13:21:36]execute_cgi path=json_proto method=POST [13:21:36]POST find Content-Length [13:21:36]Host: 172.17.40.196:8080 [13:21:36]Content-Length: 694 [13:21:36]Content-Type: application/json [13:21:36] [13:21:36]POST finish read [13:21:36]Found Content-Length = 694 [13:21:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35250", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:21:36]execute_script... [13:21: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)35250", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:21:36]POST & json_proto [13:21:36]process_json_proto [13:21:36]json parsed OK: [13:21:36]protocol is kg_v1.0 [13:21:36]action value=close_receipt [13:21:36]process_action close_receipt [13:21:36]cmd_close_receipt [13:21:36]MH_GetDate [13:21:36]Write to MH i2c: F0 00 00 57 10 56 [13:21:36]Write i2c OK [13:21:36]MH_I2C_Read... [13:21:36]Read from MH i2c: F0 [13:21:36]MH_I2C_Read... [13:21:36]Read from MH i2c: F0 09 00 [13:21:36]MH_I2C_Read... [13:21:36]Read from MH i2c: F0 09 00 57 10 00 E4 32 22 67 5B 68 A1 66 C8 [13:21:36]GetLastDocTimeStamp 1730294441 [13:21:36]current date 1730294500 [13:21:36]FM_GetShiftState [13:21:36]SAM_PROTO_GetShiftState [13:21:36]wFMCommunicate request_size=4 [13:21:36]MH_SAM_APDU [13:21:36]CAPDU: 80 13 01 00 [13:21:36]Write to MH i2c: E2 08 00 58 10 80 13 01 00 00 00 00 00 E5 [13:21:36]Write i2c OK [13:21:36]MH_I2C_Read... [13:21:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:21:36]Read from MH i2c: E2 [13:21:36]MH_I2C_Read... [13:21:36]Read from MH i2c: E2 0E 00 [13:21:36]MH_I2C_Read... [13:21:36]Read from MH i2c: E2 0E 00 58 10 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 A6 [13:21:36]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:21:36]wFMCommunicate OK [13:21:36]SAM_PROTO_GetShiftState done [13:21:36]FM_GetShiftState done [13:21:36]opened in 1730246837 [13:21:36]opened+sec_in_day 1730333237 [13:21:36]quantity*price = 1500 [13:21:36]sum+1 = 1501 [13:21:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 15.00 НСП 1% : 0.13 НДС 12% : 1.59 Наличными: 15.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 33 30.10.2024 13:21 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37951 ФПД: 10785958817255 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T132140&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37951&fm=10785958817255&tin=02508201610067®Number=0000000000091684&sum=1500 0 [13:21:37]StoreToDocumentArchive [13:21:37]shift 553 fd 37951 [13:21:37]save to /storage/0553/doc_00037951 [13:21:37]save last doc name /storage/0553/doc_00037951 to /storage/kkm_last_doc_name [13:21:37]save OK [13:21:37]Clear old archive folders... [13:21:37]ProcessDocumentItem done err = 0, tmpTLVsize=290 [13:21:37]tlvbuf is 018FCFA0 [13:21:37]SAM_PROTO_ClearQueue [13:21:37]wFMCommunicate request_size=4 [13:21:37]MH_SAM_APDU [13:21:37]CAPDU: 80 09 00 00 [13:21:37]Write to MH i2c: E2 08 00 65 10 80 09 00 00 00 00 00 00 E7 [13:21:37]Write i2c OK [13:21:37]MH_I2C_Read... [13:21:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:21:37]Read from MH i2c: E2 [13:21:37]MH_I2C_Read... [13:21:37]Read from MH i2c: E2 03 00 [13:21:37]MH_I2C_Read... [13:21:37]Read from MH i2c: E2 03 00 65 10 00 90 00 E9 [13:21:37]RAPDU: 90 00 [13:21:37]wFMCommunicate OK [13:21:37]SAM_PROTO_ClearQueue done [13:21:37]KKMCreateOFDPacket [13:21:37]OFDProtocolAddRootSTLVToBuf [13:21:37]FM_MakeSignedData [13:21:37]FM_MakeSignedData [13:21:37]SAM_PROTO_SignData [13:21:37]wFMCommunicate request_size=4 [13:21:37]MH_SAM_APDU [13:21:37]CAPDU: 80 0D 01 02 [13:21:37]Write to MH i2c: E2 08 00 66 10 80 0D 01 02 00 00 00 00 EF [13:21:37]Write i2c OK [13:21:37]MH_I2C_Read... [13:21:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:21:37]Read from MH i2c: E2 [13:21:37]MH_I2C_Read... [13:21:37]Read from MH i2c: E2 03 00 [13:21:37]MH_I2C_Read... [13:21:37]Read from MH i2c: E2 03 00 66 10 00 90 00 EA [13:21:37]RAPDU: 90 00 [13:21:37]wFMCommunicate OK [13:21:37]wFMCommunicate request_size=255 [13:21:37]MH_SAM_APDU [13:21:37]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 E4 32 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [13:21:37]Write to MH i2c: E2 02 01 67 10 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 E4 32 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 98 [13:21:37]Write i2c OK [13:21:37]MH_I2C_Read... [13:21:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:21:37]Read from MH i2c: E2 [13:21:37]MH_I2C_Read... [13:21:37]Read from MH i2c: E2 03 00 [13:21:37]MH_I2C_Read... [13:21:37]Read from MH i2c: E2 03 00 67 10 00 90 00 EB [13:21:37]RAPDU: 90 00 [13:21:37]wFMCommunicate OK [13:21:37]wFMCommunicate request_size=49 [13:21:37]MH_SAM_APDU [13:21:37]CAPDU: 80 0D 02 02 2C 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3F 94 00 00 35 04 06 00 09 CF 4D 3E 6D E7 [13:21:37]Write to MH i2c: E2 34 00 68 10 80 0D 02 02 2C 00 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3F 94 00 00 35 04 06 00 09 CF 4D 3E 6D E7 00 00 A9 [13:21:37]Write i2c OK [13:21:37]MH_I2C_Read... [13:21:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:21:37]Read from MH i2c: E2 [13:21:37]MH_I2C_Read... [13:21:37]Read from MH i2c: E2 03 00 [13:21:37]MH_I2C_Read... [13:21:37]Read from MH i2c: E2 03 00 68 10 00 90 00 EC [13:21:37]RAPDU: 90 00 [13:21:37]wFMCommunicate OK [13:21:37]wFMCommunicate request_size=4 [13:21:37]MH_SAM_APDU [13:21:37]CAPDU: 80 0D 03 02 [13:21:37]Write to MH i2c: E2 08 00 69 10 80 0D 03 02 00 00 00 00 F4 [13:21:37]Write i2c OK [13:21:37]MH_I2C_Read... [13:21:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:21:37]Read from MH i2c: E2 [13:21:37]MH_I2C_Read... [13:21:37]Read from MH i2c: E2 0B 00 [13:21:37]MH_I2C_Read... [13:21:37]Read from MH i2c: E2 0B 00 69 10 00 E3 BE E0 3C AD 63 1C 7F 90 00 5D [13:21:37]RAPDU: E3 BE E0 3C AD 63 1C 7F 90 00 [13:21:37]wFMCommunicate OK [13:21:37]SAM_PROTO_SignData done [13:21:37]FM_MakeSignedData done [13:21:37]CreateOFDProtocolMessage [13:21:37]wFMCommunicate request_size=4 [13:21:37]MH_SAM_APDU [13:21:37]CAPDU: 80 11 00 00 [13:21:37]Write to MH i2c: E2 08 00 6A 10 80 11 00 00 00 00 00 00 F4 [13:21:37]Write i2c OK [13:21:37]MH_I2C_Read... [13:21:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:21:37]Read from MH i2c: E2 [13:21:37]MH_I2C_Read... [13:21:37]Read from MH i2c: E2 17 00 [13:21:37]MH_I2C_Read... [13:21:37]Read from MH i2c: E2 17 00 6A 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 44 [13:21:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:21:37]wFMCommunicate OK [13:21:37]CreateOFDProtocolMessage done [13:21:37]OFDSenderStorePacket 37951 [13:21:37]StoreOFDPacket docnum=37951 [13:21:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 36 01 00 00 CD E3 2E 01 0D 18 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 E4 32 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3F 94 00 00 35 04 06 00 09 CF 4D 3E 6D E7 E3 BE E0 3C AD 63 1C 7F [13:21:37]CheckFolder [13:21:37]dirname=/storage/ofd_packets [13:21:37]CheckFolder done [13:21:37]ProducePacketName [13:21:37]name=ofd_packets/00037951 [13:21:37]NVStorageSaveData ofd_packets/00037951 [13:21:37]File name is /storage/ofd_packets/00037951 [13:21:37]Write 340 bytes [13:21:37]NVStorageSaveData done [13:21:37]OFDSenderStorePacket done [13:21:37]KKMCreateOFDPacket done [13:21:37]NVStorageSaveData kkm_last_timestamp [13:21:37]File name is /storage/kkm_last_timestamp [13:21:37]Write 4 bytes [13:21:37]NVStorageSaveData done [13:21:37]ExternCall_PrintAddStr [13:21:37]wPrintStart [13:21:37]Write to MH i2c: 01 00 00 6B 10 7B [13:21:37]Write i2c OK [13:21:37]MH_I2C_Read... [13:21:37]Read from MH i2c: 01 [13:21:37]MH_I2C_Read... [13:21:37]Read from MH i2c: 01 07 00 [13:21:37]MH_I2C_Read... [13:21:37]Read from MH i2c: 01 07 00 6B 10 00 00 00 00 00 FF 0F 90 [13:21:37]RasterBufferAndPrint [13:21:37]line Счет N : (3)35250 [13:21:37]line ИНН: 02508201610067 [13:21:37]line Контрольно-Кассовый Чек [13:21:37]line ПРОДАЖА [13:21:37]line Товар: 4700000160013 [13:21:37]line Снек Курут индивидуальный [13:21:37]line 1.000 * 15.00 [13:21:37]line = 15.00 [13:21:37]line НДС 12% НСП 1% [13:21:37]line > о реализуемом товаре [13:21:37]line ИТОГО: 15.00 [13:21:37]line НСП 1% : 0.13 [13:21:37]line НДС 12% : 1.59 [13:21:37]line Наличными: 15.00 [13:21:37]line Безнал.: 0.00 [13:21:37]line Место: АЗС № 126 "Партнер Нефть" [13:21:37]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:21:37]line СНО: Общий режим [13:21:37]line Чек 33 30.10.2024 13:21 [13:21:37]line Смена: 553 ФФД: 1.0 [13:21:37]line ЗНМ: 0300000092 [13:21:37]line РНМ: 0000000000091684 [13:21:37]line Версия ККМ: 001 [13:21:37]line ФМ: 0000000000871841 [13:21:37]line ФД: 37951 [13:21:37]line ФПД: 10785958817255 [13:21:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T132140&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37951&fm=10785958817255&tin=02508201610067®Number=0000000000091684&sum=1500 [13:21:38]line 0 [13:21:38]OFD Sender: Processing packet 37951 [packets to send 42, broken 41] [13:21:38]ProducePacketName [13:21:38]name=ofd_packets/00037951 [13:21:38]OFD Sender: To server: pG, [13:21:38]CommunicateWithHost lk.salyk.kg:30040 [13:21:38]ConnectInit lk.salyk.kg [13:21:38]written 0, free lines is 4095 [13:21:38]Connected sock=6 [13:21:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 36 01 00 00 CD E3 2E 01 0D 18 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 E4 32 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3F 94 00 00 35 04 06 00 09 CF 4D 3E 6D E7 E3 BE E0 3C AD 63 1C 7F [13:21:38]Write to MH i2c: 01 00 00 93 10 A3 [13:21:38]Write i2c OK [13:21:38]MH_I2C_Read... [13:21:38]Read from MH i2c: 01 [13:21:38]MH_I2C_Read... [13:21:38]Read from MH i2c: 01 07 00 [13:21:38]MH_I2C_Read... [13:21:38]Read from MH i2c: 01 07 00 93 10 00 00 00 00 00 BE 0C 74 [13:21:38]RasterBufferAndPrint [13:21:38]line [13:21:38]line [13:21:38]line [13:21:38]line [13:21:38]line [13:21:38]written 0, free lines is 3267 [13:21:38]MH_Cut [13:21:38]Write to MH i2c: D1 01 00 9A 10 01 7C [13:21:38]Write i2c OK [13:21:38]MH_I2C_Read... [13:21:38]Read from MH i2c: D1 [13:21:38]MH_I2C_Read... [13:21:38]Read from MH i2c: D1 01 00 [13:21:38]MH_I2C_Read... [13:21:38]Read from MH i2c: D1 01 00 9A 10 00 7B [13:21:38]Write to MH i2c: 01 00 00 9B 10 AB [13:21:38]Write i2c OK [13:21:38]MH_I2C_Read... [13:21:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 FE 80 47 00 13 6E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3F 94 00 00 F4 03 04 00 D3 DD 21 67 B6 04 01 00 00 C6 3A B8 76 6E A9 60 2F [13:21:38]CommunicateWithHost err = 0 [13:21:38]CheckOFDResponse [13:21:38]1017 (14) - 77093643461234 [13:21:38]1041 (16) - 0000000000871841 [13:21:38]1040 (4) - 37951 [13:21:38]1012 (4) - 30.10.2024 07:18 [13:21:38]1206 (1) - 0 [13:21:38]OFD Sender: Remove packet 37951 [13:21:38]ProducePacketName [13:21:38]name=ofd_packets/00037951 [13:21:38]NVStorageDeleteData [13:21:39]OFD Sender: No OFD packet to send [13:21:39]*** Cut start [13:21:39]*** Partial cut [13:21:39]*** CUTSNS_PIN = 1 [13:21:39]*** CUTSNS_PIN = 0 [13:21:39]*** Brake cut motor [13:21:40]Read from MH i2c: 01 [13:21:40]MH_I2C_Read... [13:21:40]*** Stop cut motor [13:21:40]*** Cut end [13:21:40]Read from MH i2c: 01 07 00 [13:21:40]MH_I2C_Read... [13:21:40]Read from MH i2c: 01 07 00 9B 10 00 00 00 00 00 FF 0F C0 [13:21:40]process_action close_receipt done [13:21:40]requested_data is exist [13:21:40]produce_requested_data [13:21:40]requested_item fm.sn is exist - process it [13:21:40]wFMCommunicate request_size=4 [13:21:40]MH_SAM_APDU [13:21:40]CAPDU: 80 11 00 00 [13:21:40]Write to MH i2c: E2 08 00 9C 10 80 11 00 00 00 00 00 00 26 [13:21:40]Write i2c OK [13:21:40]MH_I2C_Read... [13:21:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:21:40]Read from MH i2c: E2 [13:21:40]MH_I2C_Read... [13:21:40]Read from MH i2c: E2 17 00 [13:21:40]MH_I2C_Read... [13:21:40]Read from MH i2c: E2 17 00 9C 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 76 [13:21:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:21:40]wFMCommunicate OK [13:21:40]requested_item fd.num is exist - process it [13:21:40]SAM_PROTO_GetFieldsCounters [13:21:40]wFMCommunicate request_size=4 [13:21:40]MH_SAM_APDU [13:21:40]CAPDU: 80 13 00 00 [13:21:40]Write to MH i2c: E2 08 00 9D 10 80 13 00 00 00 00 00 00 29 [13:21:40]Write i2c OK [13:21:40]MH_I2C_Read... [13:21:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:21:40]Read from MH i2c: E2 [13:21:40]MH_I2C_Read... [13:21:40]Read from MH i2c: E2 62 00 [13:21:40]MH_I2C_Read... [13:21:40]Read from MH i2c: E2 62 00 9D 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 3F 94 00 00 0E 04 04 00 29 02 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 AB [13:21:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 3F 94 00 00 0E 04 04 00 29 02 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 [13:21:40]wFMCommunicate OK [13:21:40]SAM_PROTO_GetFieldsCounters done [13:21:40]requested_item shift.num is exist - process it [13:21:40]requested_item shift.opened is exist - process it [13:21:40]req_shift_opened [13:21:40]FM_GetShiftState [13:21:40]SAM_PROTO_GetShiftState [13:21:40]wFMCommunicate request_size=4 [13:21:40]MH_SAM_APDU [13:21:40]CAPDU: 80 13 01 00 [13:21:40]Write to MH i2c: E2 08 00 9E 10 80 13 01 00 00 00 00 00 2B [13:21:40]Write i2c OK [13:21:40]MH_I2C_Read... [13:21:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:21:40]Read from MH i2c: E2 [13:21:40]MH_I2C_Read... [13:21:40]Read from MH i2c: E2 0E 00 [13:21:40]MH_I2C_Read... [13:21:40]Read from MH i2c: E2 0E 00 9E 10 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 EC [13:21:40]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:21:40]wFMCommunicate OK [13:21:40]SAM_PROTO_GetShiftState done [13:21:40]FM_GetShiftState done [13:21:40]req_shift_opened done [13:21:40]requested_item shift.open_date is exist - process it [13:21:40]req_shift_open_date [13:21:40]req_shift_open_date done [13:21:40]produce_requested_data done [13:21:40]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37951,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [13:21:40]process_action_free close_receipt [13:21:40]json_value_free [13:21:40]json_value_free done [13:21:40]process_json_proto returns [13:21:40]Send response to host [13:21:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37951,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [13:21:40]free response buf [13:21:40]execute_script done [13:21:40]execute_script returns [13:21:40]free content buf [13:21:40]Sock 7.Close socket [13:21:40]Sock 7.Thread stoped [13:21:44]OFD Sender: No OFD packet to send [13:21:49]OFD Sender: No OFD packet to send [13:21:54]OFD Sender: No OFD packet to send [13:21:59]OFD Sender: No OFD packet to send [13:22:04]OFD Sender: No OFD packet to send [13:22:09]OFD Sender: No OFD packet to send [13:22:14]OFD Sender: No OFD packet to send [13:22:19]OFD Sender: No OFD packet to send [13:22:24]OFD Sender: No OFD packet to send [13:22:29]OFD Sender: No OFD packet to send [13:22:34]OFD Sender: No OFD packet to send [13:22:39]OFD Sender: No OFD packet to send [13:22:44]OFD Sender: No OFD packet to send [13:22:49]OFD Sender: No OFD packet to send [13:22:54]OFD Sender: No OFD packet to send [13:22:59]OFD Sender: No OFD packet to send [13:23:04]OFD Sender: No OFD packet to send [13:23:09]OFD Sender: No OFD packet to send [13:23:14]OFD Sender: No OFD packet to send [13:23:19]OFD Sender: No OFD packet to send [13:23:24]OFD Sender: No OFD packet to send [13:23:29]OFD Sender: No OFD packet to send [13:23:34]OFD Sender: No OFD packet to send [13:23:39]OFD Sender: No OFD packet to send [13:23:44]OFD Sender: No OFD packet to send [13:23:49]OFD Sender: No OFD packet to send [13:23:54]OFD Sender: No OFD packet to send [13:23:59]OFD Sender: No OFD packet to send [13:24:04]OFD Sender: No OFD packet to send [13:24:09]OFD Sender: No OFD packet to send [13:24:14]OFD Sender: No OFD packet to send [13:24:19]OFD Sender: No OFD packet to send [13:24:24]OFD Sender: No OFD packet to send [13:24:29]OFD Sender: No OFD packet to send [13:24:34]OFD Sender: No OFD packet to send [13:24:39]OFD Sender: No OFD packet to send [13:24:44]OFD Sender: No OFD packet to send [13:24:49]OFD Sender: No OFD packet to send [13:24:54]OFD Sender: No OFD packet to send [13:24:59]OFD Sender: No OFD packet to send [13:25:04]OFD Sender: No OFD packet to send [13:25:09]OFD Sender: No OFD packet to send [13:25:14]OFD Sender: No OFD packet to send [13:25:19]OFD Sender: No OFD packet to send [13:25:24]OFD Sender: No OFD packet to send [13:25:29]OFD Sender: No OFD packet to send [13:25:34]OFD Sender: No OFD packet to send [13:25:39]OFD Sender: No OFD packet to send [13:25:44]OFD Sender: No OFD packet to send [13:25:49]OFD Sender: No OFD packet to send [13:25:54]OFD Sender: No OFD packet to send [13:25:59]OFD Sender: No OFD packet to send [13:26:04]OFD Sender: No OFD packet to send [13:26:09]OFD Sender: No OFD packet to send [13:26:14]OFD Sender: No OFD packet to send [13:26:19]OFD Sender: No OFD packet to send [13:26:24]OFD Sender: No OFD packet to send [13:26:29]OFD Sender: No OFD packet to send [13:26:34]OFD Sender: No OFD packet to send [13:26:39]OFD Sender: No OFD packet to send [13:26:44]OFD Sender: No OFD packet to send [13:26:49]OFD Sender: No OFD packet to send [13:26:54]OFD Sender: No OFD packet to send [13:26:59]OFD Sender: No OFD packet to send [13:27:04]OFD Sender: No OFD packet to send [13:27:09]OFD Sender: No OFD packet to send [13:27:14]OFD Sender: No OFD packet to send [13:27:19]OFD Sender: No OFD packet to send [13:27:24]OFD Sender: No OFD packet to send [13:27:29]OFD Sender: No OFD packet to send [13:27:34]OFD Sender: No OFD packet to send [13:27:39]OFD Sender: No OFD packet to send [13:27:44]OFD Sender: No OFD packet to send [13:27:49]OFD Sender: No OFD packet to send [13:27:54]OFD Sender: No OFD packet to send [13:27:59]OFD Sender: No OFD packet to send [13:28:04]OFD Sender: No OFD packet to send [13:28:09]OFD Sender: No OFD packet to send [13:28:14]OFD Sender: No OFD packet to send [13:28:19]OFD Sender: No OFD packet to send [13:28:24]OFD Sender: No OFD packet to send [13:28:28]accept exits with 9 [13:28:28]New connection [13:28:28]New thread 3067063652 created [13:28:28]Thread 3067207012 joined [13:28:28]Waiting for new connection... [13:28:28] Sock 9.Parse request [13:28:28]Sock 9.Check first char [13:28:28]Sock 9.First char is OK [13:28:28]request: POST /json_proto HTTP/1.0 [13:28:28]Method: POST [13:28:28]URL: /json_proto [13:28:28]Method is POST - this is cgi request [13:28:28]url: /json_proto [13:28:28]query_string will be loaded in cgi processing [13:28:28]execute_cgi json_proto POST (null) [13:28:28]execute_cgi path=json_proto method=POST [13:28:28]POST find Content-Length [13:28:28]Host: 172.17.40.196:8080 [13:28:28]Content-Length: 646 [13:28:28]Content-Type: application/json [13:28:28] [13:28:28]POST finish read [13:28:28]Found Content-Length = 646 [13:28:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35251", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 3.000, "sum" : 195.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:28:28]execute_script... [13:28: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)35251", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 3.000, "sum" : 195.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:28:28]POST & json_proto [13:28:28]process_json_proto [13:28:28]json parsed OK: [13:28:28]protocol is kg_v1.0 [13:28:28]action value=close_receipt [13:28:28]process_action close_receipt [13:28:28]cmd_close_receipt [13:28:28]MH_GetDate [13:28:28]Write to MH i2c: F0 00 00 9F 10 9E [13:28:28]Write i2c OK [13:28:28]MH_I2C_Read... [13:28:28]Read from MH i2c: F0 [13:28:28]MH_I2C_Read... [13:28:28]Read from MH i2c: F0 09 00 [13:28:28]MH_I2C_Read... [13:28:28]Read from MH i2c: F0 09 00 9F 10 00 80 34 22 67 5B 68 A1 66 AE [13:28:28]GetLastDocTimeStamp 1730294500 [13:28:28]current date 1730294912 [13:28:28]FM_GetShiftState [13:28:28]SAM_PROTO_GetShiftState [13:28:28]wFMCommunicate request_size=4 [13:28:28]MH_SAM_APDU [13:28:28]CAPDU: 80 13 01 00 [13:28:28]Write to MH i2c: E2 08 00 A0 10 80 13 01 00 00 00 00 00 2D [13:28:28]Write i2c OK [13:28:28]MH_I2C_Read... [13:28:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:28:28]Read from MH i2c: E2 [13:28:28]MH_I2C_Read... [13:28:28]Read from MH i2c: E2 0E 00 [13:28:28]MH_I2C_Read... [13:28:28]Read from MH i2c: E2 0E 00 A0 10 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 EE [13:28:28]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:28:28]wFMCommunicate OK [13:28:28]SAM_PROTO_GetShiftState done [13:28:28]FM_GetShiftState done [13:28:28]opened in 1730246837 [13:28:28]opened+sec_in_day 1730333237 [13:28:28]quantity*price = 19500 [13:28:28]sum+1 = 19501 [13:28:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 195.00 НСП 1% : 1.73 НДС 12% : 20.71 Наличными: 195.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 34 30.10.2024 13:28 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37952 ФПД: 192366974563504 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T132832&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37952&fm=192366974563504&tin=02508201610067®Number=0000000000091684&sum=19500 0 [13:28:29]StoreToDocumentArchive [13:28:29]shift 553 fd 37952 [13:28:29]save to /storage/0553/doc_00037952 [13:28:29]save last doc name /storage/0553/doc_00037952 to /storage/kkm_last_doc_name [13:28:29]save OK [13:28:29]Clear old archive folders... [13:28:29]ProcessDocumentItem done err = 0, tmpTLVsize=272 [13:28:29]tlvbuf is 018FCC00 [13:28:29]SAM_PROTO_ClearQueue [13:28:29]wFMCommunicate request_size=4 [13:28:29]MH_SAM_APDU [13:28:29]CAPDU: 80 09 00 00 [13:28:29]Write to MH i2c: E2 08 00 AD 10 80 09 00 00 00 00 00 00 2F [13:28:29]Write i2c OK [13:28:29]MH_I2C_Read... [13:28:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:28:29]Read from MH i2c: E2 [13:28:29]MH_I2C_Read... [13:28:29]Read from MH i2c: E2 03 00 [13:28:29]MH_I2C_Read... [13:28:29]Read from MH i2c: E2 03 00 AD 10 00 90 00 31 [13:28:29]RAPDU: 90 00 [13:28:29]wFMCommunicate OK [13:28:29]SAM_PROTO_ClearQueue done [13:28:29]KKMCreateOFDPacket [13:28:29]OFDProtocolAddRootSTLVToBuf [13:28:29]FM_MakeSignedData [13:28:29]FM_MakeSignedData [13:28:29]SAM_PROTO_SignData [13:28:29]wFMCommunicate request_size=4 [13:28:29]MH_SAM_APDU [13:28:29]CAPDU: 80 0D 01 02 [13:28:29]Write to MH i2c: E2 08 00 AE 10 80 0D 01 02 00 00 00 00 37 [13:28:29]Write i2c OK [13:28:29]MH_I2C_Read... [13:28:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:28:29]Read from MH i2c: E2 [13:28:29]MH_I2C_Read... [13:28:29]Read from MH i2c: E2 03 00 [13:28:29]MH_I2C_Read... [13:28:29]Read from MH i2c: E2 03 00 AE 10 00 90 00 32 [13:28:29]RAPDU: 90 00 [13:28:29]wFMCommunicate OK [13:28:29]wFMCommunicate request_size=255 [13:28:29]MH_SAM_APDU [13:28:29]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 80 34 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [13:28:29]Write to MH i2c: E2 02 01 AF 10 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 80 34 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 B8 [13:28:29]Write i2c OK [13:28:29]MH_I2C_Read... [13:28:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:28:29]Read from MH i2c: E2 [13:28:29]MH_I2C_Read... [13:28:29]Read from MH i2c: E2 03 00 [13:28:29]MH_I2C_Read... [13:28:29]Read from MH i2c: E2 03 00 AF 10 00 90 00 33 [13:28:29]RAPDU: 90 00 [13:28:29]wFMCommunicate OK [13:28:29]wFMCommunicate request_size=31 [13:28:29]MH_SAM_APDU [13:28:29]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 40 94 00 00 35 04 06 00 AE F4 ED 2F 74 B0 [13:28:29]Write to MH i2c: E2 22 00 B0 10 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 40 94 00 00 35 04 06 00 AE F4 ED 2F 74 B0 00 00 18 [13:28:29]Write i2c OK [13:28:29]MH_I2C_Read... [13:28:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:28:29]Read from MH i2c: E2 [13:28:29]MH_I2C_Read... [13:28:29]Read from MH i2c: E2 03 00 [13:28:29]MH_I2C_Read... [13:28:29]Read from MH i2c: E2 03 00 B0 10 00 90 00 34 [13:28:29]RAPDU: 90 00 [13:28:29]wFMCommunicate OK [13:28:29]wFMCommunicate request_size=4 [13:28:29]MH_SAM_APDU [13:28:29]CAPDU: 80 0D 03 02 [13:28:29]Write to MH i2c: E2 08 00 B1 10 80 0D 03 02 00 00 00 00 3C [13:28:29]Write i2c OK [13:28:29]MH_I2C_Read... [13:28:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:28:29]Read from MH i2c: E2 [13:28:29]MH_I2C_Read... [13:28:29]Read from MH i2c: E2 0B 00 [13:28:29]MH_I2C_Read... [13:28:29]Read from MH i2c: E2 0B 00 B1 10 00 5F 08 E2 62 4F 23 D9 D8 90 00 0B [13:28:29]RAPDU: 5F 08 E2 62 4F 23 D9 D8 90 00 [13:28:29]wFMCommunicate OK [13:28:29]SAM_PROTO_SignData done [13:28:29]FM_MakeSignedData done [13:28:29]CreateOFDProtocolMessage [13:28:29]wFMCommunicate request_size=4 [13:28:29]MH_SAM_APDU [13:28:29]CAPDU: 80 11 00 00 [13:28:29]Write to MH i2c: E2 08 00 B2 10 80 11 00 00 00 00 00 00 3C [13:28:29]Write i2c OK [13:28:29]MH_I2C_Read... [13:28:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:28:29]Read from MH i2c: E2 [13:28:29]MH_I2C_Read... [13:28:29]Read from MH i2c: E2 17 00 [13:28:29]MH_I2C_Read... [13:28:29]Read from MH i2c: E2 17 00 B2 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8C [13:28:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:28:29]wFMCommunicate OK [13:28:29]CreateOFDProtocolMessage done [13:28:29]OFDSenderStorePacket 37952 [13:28:29]StoreOFDPacket docnum=37952 [13:28:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 F1 8F 1C 01 F0 FD 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 80 34 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 40 94 00 00 35 04 06 00 AE F4 ED 2F 74 B0 5F 08 E2 62 4F 23 D9 D8 [13:28:29]CheckFolder [13:28:29]dirname=/storage/ofd_packets [13:28:29]CheckFolder done [13:28:29]ProducePacketName [13:28:29]name=ofd_packets/00037952 [13:28:29]NVStorageSaveData ofd_packets/00037952 [13:28:29]File name is /storage/ofd_packets/00037952 [13:28:29]Write 322 bytes [13:28:29]NVStorageSaveData done [13:28:29]OFDSenderStorePacket done [13:28:29]KKMCreateOFDPacket done [13:28:29]NVStorageSaveData kkm_last_timestamp [13:28:29]File name is /storage/kkm_last_timestamp [13:28:29]Write 4 bytes [13:28:29]NVStorageSaveData done [13:28:29]ExternCall_PrintAddStr [13:28:29]wPrintStart [13:28:29]Write to MH i2c: 01 00 00 B3 10 C3 [13:28:29]Write i2c OK [13:28:29]MH_I2C_Read... [13:28:29]Read from MH i2c: 01 [13:28:29]MH_I2C_Read... [13:28:29]Read from MH i2c: 01 07 00 [13:28:29]MH_I2C_Read... [13:28:29]Read from MH i2c: 01 07 00 B3 10 00 00 00 00 00 FF 0F D8 [13:28:29]RasterBufferAndPrint [13:28:29]line Счет N : (3)35251 [13:28:29]line ИНН: 02508201610067 [13:28:29]line Контрольно-Кассовый Чек [13:28:29]line ПРОДАЖА [13:28:29]line Товар: 47011656 [13:28:29]line Водка Пшеничная 0,1л [13:28:29]line 3.000 * 65.00 [13:28:29]line = 195.00 [13:28:29]line НДС 12% НСП 1% [13:28:29]line > о реализуемом товаре [13:28:29]line ИТОГО: 195.00 [13:28:29]line НСП 1% : 1.73 [13:28:29]line НДС 12% : 20.71 [13:28:29]line Наличными: 195.00 [13:28:29]line Безнал.: 0.00 [13:28:29]line Место: АЗС № 126 "Партнер Нефть" [13:28:29]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:28:29]line СНО: Общий режим [13:28:29]line Чек 34 30.10.2024 13:28 [13:28:29]line Смена: 553 ФФД: 1.0 [13:28:29]line ЗНМ: 0300000092 [13:28:29]line РНМ: 0000000000091684 [13:28:29]line Версия ККМ: 001 [13:28:29]line ФМ: 0000000000871841 [13:28:29]line ФД: 37952 [13:28:29]line ФПД: 192366974563504 [13:28:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T132832&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37952&fm=192366974563504&tin=02508201610067®Number=0000000000091684&sum=19500 [13:28:30]OFD Sender: Processing packet 37952 [packets to send 42, broken 41] [13:28:30]ProducePacketName [13:28:30]name=ofd_packets/00037952 [13:28:30]OFD Sender: To server: pG, [13:28:30]CommunicateWithHost lk.salyk.kg:30040 [13:28:30]ConnectInit lk.salyk.kg [13:28:30]line 0 [13:28:30]written 0, free lines is 4095 [13:28:30]Write to MH i2c: 01 00 00 DB 10 EB [13:28:30]Write i2c OK [13:28:30]MH_I2C_Read... [13:28:30]Read from MH i2c: 01 [13:28:30]MH_I2C_Read... [13:28:30]Read from MH i2c: 01 07 00 [13:28:30]MH_I2C_Read... [13:28:30]Read from MH i2c: 01 07 00 DB 10 00 00 00 00 00 C8 0C C6 [13:28:30]RasterBufferAndPrint [13:28:30]line [13:28:30]line [13:28:30]line [13:28:30]line [13:28:30]line [13:28:30]written 0, free lines is 3276 [13:28:30]MH_Cut [13:28:30]Write to MH i2c: D1 01 00 E2 10 01 C4 [13:28:30]Write i2c OK [13:28:30]MH_I2C_Read... [13:28:30]Read from MH i2c: D1 [13:28:30]MH_I2C_Read... [13:28:30]Read from MH i2c: D1 01 00 [13:28:30]MH_I2C_Read... [13:28:30]Read from MH i2c: D1 01 00 E2 10 00 C3 [13:28:30]Write to MH i2c: 01 00 00 E3 10 F3 [13:28:30]Write i2c OK [13:28:30]MH_I2C_Read... [13:28:31]*** Cut start [13:28:31]*** Partial cut [13:28:31]*** CUTSNS_PIN = 1 [13:28:31]*** CUTSNS_PIN = 0 [13:28:31]*** Brake cut motor [13:28:32]Read from MH i2c: 01 [13:28:32]MH_I2C_Read... [13:28:32]*** Stop cut motor [13:28:32]*** Cut end [13:28:32]Read from MH i2c: 01 07 00 [13:28:32]MH_I2C_Read... [13:28:32]Read from MH i2c: 01 07 00 E3 10 00 00 00 00 00 FF 0F 08 [13:28:32]process_action close_receipt done [13:28:32]requested_data is exist [13:28:32]produce_requested_data [13:28:32]requested_item fm.sn is exist - process it [13:28:32]wFMCommunicate request_size=4 [13:28:32]MH_SAM_APDU [13:28:32]CAPDU: 80 11 00 00 [13:28:32]Write to MH i2c: E2 08 00 E4 10 80 11 00 00 00 00 00 00 6E [13:28:32]Write i2c OK [13:28:32]MH_I2C_Read... [13:28:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:28:32]Read from MH i2c: E2 [13:28:32]MH_I2C_Read... [13:28:32]Read from MH i2c: E2 17 00 [13:28:32]MH_I2C_Read... [13:28:32]Read from MH i2c: E2 17 00 E4 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BE [13:28:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:28:32]wFMCommunicate OK [13:28:32]requested_item fd.num is exist - process it [13:28:32]SAM_PROTO_GetFieldsCounters [13:28:32]wFMCommunicate request_size=4 [13:28:32]MH_SAM_APDU [13:28:32]CAPDU: 80 13 00 00 [13:28:32]Write to MH i2c: E2 08 00 E5 10 80 13 00 00 00 00 00 00 71 [13:28:32]Write i2c OK [13:28:32]MH_I2C_Read... [13:28:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:28:32]Read from MH i2c: E2 [13:28:32]MH_I2C_Read... [13:28:32]Read from MH i2c: E2 62 00 [13:28:32]MH_I2C_Read... [13:28:32]Read from MH i2c: E2 62 00 E5 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 40 94 00 00 0E 04 04 00 29 02 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 F7 [13:28:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 40 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:28:32]wFMCommunicate OK [13:28:32]SAM_PROTO_GetFieldsCounters done [13:28:32]requested_item shift.num is exist - process it [13:28:32]requested_item shift.opened is exist - process it [13:28:32]req_shift_opened [13:28:32]FM_GetShiftState [13:28:32]SAM_PROTO_GetShiftState [13:28:32]wFMCommunicate request_size=4 [13:28:32]MH_SAM_APDU [13:28:32]CAPDU: 80 13 01 00 [13:28:32]Write to MH i2c: E2 08 00 E6 10 80 13 01 00 00 00 00 00 73 [13:28:32]Write i2c OK [13:28:32]MH_I2C_Read... [13:28:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:28:32]Read from MH i2c: E2 [13:28:32]MH_I2C_Read... [13:28:32]Read from MH i2c: E2 0E 00 [13:28:32]MH_I2C_Read... [13:28:32]Read from MH i2c: E2 0E 00 E6 10 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 34 [13:28:32]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:28:32]wFMCommunicate OK [13:28:32]SAM_PROTO_GetShiftState done [13:28:32]FM_GetShiftState done [13:28:32]req_shift_opened done [13:28:32]requested_item shift.open_date is exist - process it [13:28:32]req_shift_open_date [13:28:32]req_shift_open_date done [13:28:32]produce_requested_data done [13:28:32]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37952,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [13:28:32]process_action_free close_receipt [13:28:32]json_value_free [13:28:32]json_value_free done [13:28:32]process_json_proto returns [13:28:32]Send response to host [13:28:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37952,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [13:28:32]free response buf [13:28:32]execute_script done [13:28:32]execute_script returns [13:28:32]free content buf [13:28:32]Sock 9.Close socket [13:28:32]Sock 9.Thread stoped [13:28:32]Connected sock=11 [13:28:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 F1 8F 1C 01 F0 FD 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 80 34 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 40 94 00 00 35 04 06 00 AE F4 ED 2F 74 B0 5F 08 E2 62 4F 23 D9 D8 [13:28:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 F8 4F 47 00 04 A8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 40 94 00 00 F4 03 04 00 71 DF 21 67 B6 04 01 00 00 AC 3B CE BF 93 24 99 4F [13:28:32]CommunicateWithHost err = 0 [13:28:32]CheckOFDResponse [13:28:32]1017 (14) - 77093643461234 [13:28:32]1041 (16) - 0000000000871841 [13:28:32]1040 (4) - 37952 [13:28:32]1012 (4) - 30.10.2024 07:25 [13:28:32]1206 (1) - 0 [13:28:32]OFD Sender: Remove packet 37952 [13:28:32]ProducePacketName [13:28:32]name=ofd_packets/00037952 [13:28:32]NVStorageDeleteData [13:28:33]OFD Sender: No OFD packet to send [13:28:38]OFD Sender: No OFD packet to send [13:28:39]accept exits with 7 [13:28:39]New connection [13:28:39]New thread 3067207012 created [13:28:39]Thread 3067063652 joined [13:28:39]Waiting for new connection... [13:28:39] Sock 7.Parse request [13:28:39]Sock 7.Check first char [13:28:39]Sock 7.First char is OK [13:28:39]request: POST /json_proto HTTP/1.0 [13:28:39]Method: POST [13:28:39]URL: /json_proto [13:28:39]Method is POST - this is cgi request [13:28:39]url: /json_proto [13:28:39]query_string will be loaded in cgi processing [13:28:39]execute_cgi json_proto POST (null) [13:28:39]execute_cgi path=json_proto method=POST [13:28:39]POST find Content-Length [13:28:39]Host: 172.17.40.196:8080 [13:28:39]Content-Length: 645 [13:28:39]Content-Type: application/json [13:28:39] [13:28:39]POST finish read [13:28:39]Found Content-Length = 645 [13:28:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35252", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:28:39]execute_script... [13:28:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35252", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:28:39]POST & json_proto [13:28:39]process_json_proto [13:28:39]json parsed OK: [13:28:39]protocol is kg_v1.0 [13:28:39]action value=close_receipt [13:28:39]process_action close_receipt [13:28:39]cmd_close_receipt [13:28:39]MH_GetDate [13:28:39]Write to MH i2c: F0 00 00 E7 10 E6 [13:28:39]Write i2c OK [13:28:39]MH_I2C_Read... [13:28:39]Read from MH i2c: F0 [13:28:39]MH_I2C_Read... [13:28:39]Read from MH i2c: F0 09 00 [13:28:39]MH_I2C_Read... [13:28:39]Read from MH i2c: F0 09 00 E7 10 00 8B 34 22 67 5B 68 A1 66 01 [13:28:39]GetLastDocTimeStamp 1730294912 [13:28:39]current date 1730294923 [13:28:39]FM_GetShiftState [13:28:39]SAM_PROTO_GetShiftState [13:28:39]wFMCommunicate request_size=4 [13:28:39]MH_SAM_APDU [13:28:39]CAPDU: 80 13 01 00 [13:28:39]Write to MH i2c: E2 08 00 E8 10 80 13 01 00 00 00 00 00 75 [13:28:39]Write i2c OK [13:28:39]MH_I2C_Read... [13:28:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:28:39]Read from MH i2c: E2 [13:28:39]MH_I2C_Read... [13:28:39]Read from MH i2c: E2 0E 00 [13:28:39]MH_I2C_Read... [13:28:39]Read from MH i2c: E2 0E 00 E8 10 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 36 [13:28:39]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:28:39]wFMCommunicate OK [13:28:39]SAM_PROTO_GetShiftState done [13:28:39]FM_GetShiftState done [13:28:39]opened in 1730246837 [13:28:39]opened+sec_in_day 1730333237 [13:28:39]quantity*price = 13000 [13:28:39]sum+1 = 13001 [13:28:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 35 30.10.2024 13:28 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37953 ФПД: 1000693963225 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T132843&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37953&fm=1000693963225&tin=02508201610067®Number=0000000000091684&sum=13000 0 [13:28:40]StoreToDocumentArchive [13:28:40]shift 553 fd 37953 [13:28:40]save to /storage/0553/doc_00037953 [13:28:40]save last doc name /storage/0553/doc_00037953 to /storage/kkm_last_doc_name [13:28:40]save OK [13:28:40]Clear old archive folders... [13:28:40]ProcessDocumentItem done err = 0, tmpTLVsize=282 [13:28:40]tlvbuf is 018DBA20 [13:28:40]SAM_PROTO_ClearQueue [13:28:40]wFMCommunicate request_size=4 [13:28:40]MH_SAM_APDU [13:28:40]CAPDU: 80 09 00 00 [13:28:40]Write to MH i2c: E2 08 00 F5 10 80 09 00 00 00 00 00 00 77 [13:28:40]Write i2c OK [13:28:40]MH_I2C_Read... [13:28:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:28:40]Read from MH i2c: E2 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: E2 03 00 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: E2 03 00 F5 10 00 90 00 79 [13:28:40]RAPDU: 90 00 [13:28:40]wFMCommunicate OK [13:28:40]SAM_PROTO_ClearQueue done [13:28:40]KKMCreateOFDPacket [13:28:40]OFDProtocolAddRootSTLVToBuf [13:28:40]FM_MakeSignedData [13:28:40]FM_MakeSignedData [13:28:40]SAM_PROTO_SignData [13:28:40]wFMCommunicate request_size=4 [13:28:40]MH_SAM_APDU [13:28:40]CAPDU: 80 0D 01 02 [13:28:40]Write to MH i2c: E2 08 00 F6 10 80 0D 01 02 00 00 00 00 7F [13:28:40]Write i2c OK [13:28:40]MH_I2C_Read... [13:28:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:28:40]Read from MH i2c: E2 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: E2 03 00 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: E2 03 00 F6 10 00 90 00 7A [13:28:40]RAPDU: 90 00 [13:28:40]wFMCommunicate OK [13:28:40]wFMCommunicate request_size=255 [13:28:40]MH_SAM_APDU [13:28:40]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 8B 34 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [13:28:40]Write to MH i2c: E2 02 01 F7 10 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 8B 34 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 00 00 27 [13:28:40]Write i2c OK [13:28:40]MH_I2C_Read... [13:28:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:28:40]Read from MH i2c: E2 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: E2 03 00 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: E2 03 00 F7 10 00 90 00 7B [13:28:40]RAPDU: 90 00 [13:28:40]wFMCommunicate OK [13:28:40]wFMCommunicate request_size=41 [13:28:40]MH_SAM_APDU [13:28:40]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 41 94 00 00 35 04 06 00 00 E8 FE 02 19 D9 [13:28:40]Write to MH i2c: E2 2C 00 F8 10 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 41 94 00 00 35 04 06 00 00 E8 FE 02 19 D9 00 00 FD [13:28:40]Write i2c OK [13:28:40]MH_I2C_Read... [13:28:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:28:40]Read from MH i2c: E2 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: E2 03 00 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: E2 03 00 F8 10 00 90 00 7C [13:28:40]RAPDU: 90 00 [13:28:40]wFMCommunicate OK [13:28:40]wFMCommunicate request_size=4 [13:28:40]MH_SAM_APDU [13:28:40]CAPDU: 80 0D 03 02 [13:28:40]Write to MH i2c: E2 08 00 F9 10 80 0D 03 02 00 00 00 00 84 [13:28:40]Write i2c OK [13:28:40]MH_I2C_Read... [13:28:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:28:40]Read from MH i2c: E2 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: E2 0B 00 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: E2 0B 00 F9 10 00 E9 5B 80 38 78 AB 79 D8 90 00 F5 [13:28:40]RAPDU: E9 5B 80 38 78 AB 79 D8 90 00 [13:28:40]wFMCommunicate OK [13:28:40]SAM_PROTO_SignData done [13:28:40]FM_MakeSignedData done [13:28:40]CreateOFDProtocolMessage [13:28:40]wFMCommunicate request_size=4 [13:28:40]MH_SAM_APDU [13:28:40]CAPDU: 80 11 00 00 [13:28:40]Write to MH i2c: E2 08 00 FA 10 80 11 00 00 00 00 00 00 84 [13:28:40]Write i2c OK [13:28:40]MH_I2C_Read... [13:28:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:28:40]Read from MH i2c: E2 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: E2 17 00 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: E2 17 00 FA 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D4 [13:28:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:28:40]wFMCommunicate OK [13:28:40]CreateOFDProtocolMessage done [13:28:40]OFDSenderStorePacket 37953 [13:28:40]StoreOFDPacket docnum=37953 [13:28:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 53 E2 26 01 B9 9A 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 8B 34 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 41 94 00 00 35 04 06 00 00 E8 FE 02 19 D9 E9 5B 80 38 78 AB 79 D8 [13:28:40]CheckFolder [13:28:40]dirname=/storage/ofd_packets [13:28:40]CheckFolder done [13:28:40]ProducePacketName [13:28:40]name=ofd_packets/00037953 [13:28:40]NVStorageSaveData ofd_packets/00037953 [13:28:40]File name is /storage/ofd_packets/00037953 [13:28:40]Write 332 bytes [13:28:40]NVStorageSaveData done [13:28:40]OFDSenderStorePacket done [13:28:40]KKMCreateOFDPacket done [13:28:40]NVStorageSaveData kkm_last_timestamp [13:28:40]File name is /storage/kkm_last_timestamp [13:28:40]Write 4 bytes [13:28:40]NVStorageSaveData done [13:28:40]ExternCall_PrintAddStr [13:28:40]wPrintStart [13:28:40]Write to MH i2c: 01 00 00 FB 10 0B [13:28:40]Write i2c OK [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: 01 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: 01 07 00 [13:28:40]MH_I2C_Read... [13:28:40]Read from MH i2c: 01 07 00 FB 10 00 00 00 00 00 FF 0F 20 [13:28:40]RasterBufferAndPrint [13:28:40]line Счет N : (3)35252 [13:28:40]line ИНН: 02508201610067 [13:28:40]line Контрольно-Кассовый Чек [13:28:40]line ПРОДАЖА [13:28:40]line Товар: 2000036220012 [13:28:40]line Кофе Капучино XL(GABB TRADE) [13:28:40]line 1.000 * 130.00 [13:28:40]line = 130.00 [13:28:40]line НДС 12% НСП 1% [13:28:40]line > о реализуемом товаре [13:28:40]line ИТОГО: 130.00 [13:28:40]line НСП 1% : 1.15 [13:28:40]line НДС 12% : 13.80 [13:28:40]line Наличными: 130.00 [13:28:40]line Безнал.: 0.00 [13:28:40]line Место: АЗС № 126 "Партнер Нефть" [13:28:40]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:28:40]line СНО: Общий режим [13:28:40]line Чек 35 30.10.2024 13:28 [13:28:40]line Смена: 553 ФФД: 1.0 [13:28:40]line ЗНМ: 0300000092 [13:28:40]line РНМ: 0000000000091684 [13:28:40]line Версия ККМ: 001 [13:28:40]line ФМ: 0000000000871841 [13:28:40]line ФД: 37953 [13:28:40]line ФПД: 1000693963225 [13:28:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T132843&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37953&fm=1000693963225&tin=02508201610067®Number=0000000000091684&sum=13000 [13:28:40]line 0 [13:28:40]written 0, free lines is 4095 [13:28:40]OFD Sender: Processing packet 37953 [packets to send 42, broken 41] [13:28:40]ProducePacketName [13:28:40]name=ofd_packets/00037953 [13:28:40]OFD Sender: To server: pG, [13:28:40]CommunicateWithHost lk.salyk.kg:30040 [13:28:40]ConnectInit lk.salyk.kg [13:28:41]Connected sock=9 [13:28:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 53 E2 26 01 B9 9A 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 8B 34 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 41 94 00 00 35 04 06 00 00 E8 FE 02 19 D9 E9 5B 80 38 78 AB 79 D8 [13:28:41]Write to MH i2c: 01 00 00 24 11 35 [13:28:41]Write i2c OK [13:28:41]MH_I2C_Read... [13:28:41]Read from MH i2c: 01 [13:28:41]MH_I2C_Read... [13:28:41]Read from MH i2c: 01 07 00 [13:28:41]MH_I2C_Read... [13:28:41]Read from MH i2c: 01 07 00 24 11 00 00 00 00 00 C3 0C 0B [13:28:41]RasterBufferAndPrint [13:28:41]line [13:28:41]line [13:28:41]line [13:28:41]line [13:28:41]line [13:28:41]written 0, free lines is 3273 [13:28:41]MH_Cut [13:28:41]Write to MH i2c: D1 01 00 2B 11 01 0E [13:28:41]Write i2c OK [13:28:41]MH_I2C_Read... [13:28:41]Read from MH i2c: D1 [13:28:41]MH_I2C_Read... [13:28:41]Read from MH i2c: D1 01 00 [13:28:41]MH_I2C_Read... [13:28:41]Read from MH i2c: D1 01 00 2B 11 00 0D [13:28:41]Write to MH i2c: 01 00 00 2C 11 3D [13:28:41]Write i2c OK [13:28:41]MH_I2C_Read... [13:28:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 5A 00 47 00 1F 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 38 37 31 38 34 31 10 04 04 00 41 94 00 00 F4 03 04 00 7A DF 21 67 B6 04 01 00 00 08 BE 57 74 76 7B 5F A1 [13:28:41]CommunicateWithHost err = 0 [13:28:41]CheckOFDResponse [13:28:41]1017 (14) - 77093643461234 [13:28:41]1041 (16) - 0000000000871841 [13:28:41]1040 (4) - 37953 [13:28:41]1012 (4) - 30.10.2024 07:25 [13:28:41]1206 (1) - 0 [13:28:41]OFD Sender: Remove packet 37953 [13:28:41]ProducePacketName [13:28:41]name=ofd_packets/00037953 [13:28:41]NVStorageDeleteData [13:28:42]OFD Sender: No OFD packet to send [13:28:42]*** Cut start [13:28:42]*** Partial cut [13:28:42]*** CUTSNS_PIN = 1 [13:28:42]*** CUTSNS_PIN = 0 [13:28:42]*** Brake cut motor [13:28:42]Read from MH i2c: 01 [13:28:42]MH_I2C_Read... [13:28:42]*** Stop cut motor [13:28:42]*** Cut end [13:28:42]Read from MH i2c: 01 07 00 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: 01 07 00 2C 11 00 00 00 00 00 FF 0F 52 [13:28:42]process_action close_receipt done [13:28:42]requested_data is exist [13:28:42]produce_requested_data [13:28:42]requested_item fm.sn is exist - process it [13:28:42]wFMCommunicate request_size=4 [13:28:42]MH_SAM_APDU [13:28:42]CAPDU: 80 11 00 00 [13:28:42]Write to MH i2c: E2 08 00 2D 11 80 11 00 00 00 00 00 00 B8 [13:28:42]Write i2c OK [13:28:42]MH_I2C_Read... [13:28:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:28:42]Read from MH i2c: E2 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: E2 17 00 [13:28:42]MH_I2C_Read... [13:28:42]Read from MH i2c: E2 17 00 2D 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 08 [13:28:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:28:42]wFMCommunicate OK [13:28:42]requested_item fd.num is exist - process it [13:28:42]SAM_PROTO_GetFieldsCounters [13:28:42]wFMCommunicate request_size=4 [13:28:42]MH_SAM_APDU [13:28:42]CAPDU: 80 13 00 00 [13:28:42]Write to MH i2c: E2 08 00 2E 11 80 13 00 00 00 00 00 00 BB [13:28:42]Write i2c OK [13:28:42]MH_I2C_Read... [13:28:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:28:43]Read from MH i2c: E2 [13:28:43]MH_I2C_Read... [13:28:43]Read from MH i2c: E2 62 00 [13:28:43]MH_I2C_Read... [13:28:43]Read from MH i2c: E2 62 00 2E 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 41 94 00 00 0E 04 04 00 29 02 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 45 [13:28:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 41 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:28:43]wFMCommunicate OK [13:28:43]SAM_PROTO_GetFieldsCounters done [13:28:43]requested_item shift.num is exist - process it [13:28:43]requested_item shift.opened is exist - process it [13:28:43]req_shift_opened [13:28:43]FM_GetShiftState [13:28:43]SAM_PROTO_GetShiftState [13:28:43]wFMCommunicate request_size=4 [13:28:43]MH_SAM_APDU [13:28:43]CAPDU: 80 13 01 00 [13:28:43]Write to MH i2c: E2 08 00 2F 11 80 13 01 00 00 00 00 00 BD [13:28:43]Write i2c OK [13:28:43]MH_I2C_Read... [13:28:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:28:43]Read from MH i2c: E2 [13:28:43]MH_I2C_Read... [13:28:43]Read from MH i2c: E2 0E 00 [13:28:43]MH_I2C_Read... [13:28:43]Read from MH i2c: E2 0E 00 2F 11 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 7E [13:28:43]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:28:43]wFMCommunicate OK [13:28:43]SAM_PROTO_GetShiftState done [13:28:43]FM_GetShiftState done [13:28:43]req_shift_opened done [13:28:43]requested_item shift.open_date is exist - process it [13:28:43]req_shift_open_date [13:28:43]req_shift_open_date done [13:28:43]produce_requested_data done [13:28:43]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37953,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [13:28:43]process_action_free close_receipt [13:28:43]json_value_free [13:28:43]json_value_free done [13:28:43]process_json_proto returns [13:28:43]Send response to host [13:28:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37953,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [13:28:43]free response buf [13:28:43]execute_script done [13:28:43]execute_script returns [13:28:43]free content buf [13:28:43]Sock 7.Close socket [13:28:43]Sock 7.Thread stoped [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:03]accept exits with 10 [13:29:03]New connection [13:29:03]New thread 3067063652 created [13:29:03]Thread 3067207012 joined [13:29:03]Waiting for new connection... [13:29:03] Sock 10.Parse request [13:29:03]Sock 10.Check first char [13:29:03]Sock 10.First char is OK [13:29:03]request: POST /json_proto HTTP/1.0 [13:29:03]Method: POST [13:29:03]URL: /json_proto [13:29:03]Method is POST - this is cgi request [13:29:03]url: /json_proto [13:29:03]query_string will be loaded in cgi processing [13:29:03]execute_cgi json_proto POST (null) [13:29:03]execute_cgi path=json_proto method=POST [13:29:03]POST find Content-Length [13:29:03]Host: 172.17.40.196:8080 [13:29:03]Content-Length: 625 [13:29:03]Content-Type: application/json [13:29:03] [13:29:03]POST finish read [13:29:03]Found Content-Length = 625 [13:29:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35253", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:29:03]execute_script... [13:29: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)35253", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:29:03]POST & json_proto [13:29:03]process_json_proto [13:29:03]json parsed OK: [13:29:03]protocol is kg_v1.0 [13:29:03]action value=close_receipt [13:29:03]process_action close_receipt [13:29:03]cmd_close_receipt [13:29:03]MH_GetDate [13:29:03]Write to MH i2c: F0 00 00 30 11 30 [13:29:03]Write i2c OK [13:29:03]MH_I2C_Read... [13:29:03]Read from MH i2c: F0 [13:29:03]MH_I2C_Read... [13:29:03]Read from MH i2c: F0 09 00 [13:29:03]MH_I2C_Read... [13:29:03]Read from MH i2c: F0 09 00 30 11 00 A3 34 22 67 5B 68 A1 66 63 [13:29:03]GetLastDocTimeStamp 1730294923 [13:29:03]current date 1730294947 [13:29:03]FM_GetShiftState [13:29:03]SAM_PROTO_GetShiftState [13:29:03]wFMCommunicate request_size=4 [13:29:03]MH_SAM_APDU [13:29:03]CAPDU: 80 13 01 00 [13:29:03]Write to MH i2c: E2 08 00 31 11 80 13 01 00 00 00 00 00 BF [13:29:03]Write i2c OK [13:29:03]MH_I2C_Read... [13:29:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:29:03]Read from MH i2c: E2 [13:29:03]MH_I2C_Read... [13:29:03]Read from MH i2c: E2 0E 00 [13:29:03]MH_I2C_Read... [13:29:03]Read from MH i2c: E2 0E 00 31 11 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 80 [13:29:03]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:29:03]wFMCommunicate OK [13:29:03]SAM_PROTO_GetShiftState done [13:29:03]FM_GetShiftState done [13:29:03]opened in 1730246837 [13:29:03]opened+sec_in_day 1730333237 [13:29:03]quantity*price = 1000 [13:29:03]sum+1 = 1001 [13:29:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 36 30.10.2024 13:29 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37954 ФПД: 12309249355421 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T132907&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37954&fm=12309249355421&tin=02508201610067®Number=0000000000091684&sum=1000 0 [13:29:04]StoreToDocumentArchive [13:29:04]shift 553 fd 37954 [13:29:04]save to /storage/0553/doc_00037954 [13:29:04]save last doc name /storage/0553/doc_00037954 to /storage/kkm_last_doc_name [13:29:04]save OK [13:29:04]Clear old archive folders... [13:29:04]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:29:04]tlvbuf is 0184FB50 [13:29:04]SAM_PROTO_ClearQueue [13:29:04]wFMCommunicate request_size=4 [13:29:04]MH_SAM_APDU [13:29:04]CAPDU: 80 09 00 00 [13:29:04]Write to MH i2c: E2 08 00 3E 11 80 09 00 00 00 00 00 00 C1 [13:29:04]Write i2c OK [13:29:04]MH_I2C_Read... [13:29:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:29:04]Read from MH i2c: E2 [13:29:04]MH_I2C_Read... [13:29:04]Read from MH i2c: E2 03 00 [13:29:04]MH_I2C_Read... [13:29:04]Read from MH i2c: E2 03 00 3E 11 00 90 00 C3 [13:29:04]RAPDU: 90 00 [13:29:04]wFMCommunicate OK [13:29:04]SAM_PROTO_ClearQueue done [13:29:04]KKMCreateOFDPacket [13:29:04]OFDProtocolAddRootSTLVToBuf [13:29:04]FM_MakeSignedData [13:29:04]FM_MakeSignedData [13:29:04]SAM_PROTO_SignData [13:29:04]wFMCommunicate request_size=4 [13:29:04]MH_SAM_APDU [13:29:04]CAPDU: 80 0D 01 02 [13:29:04]Write to MH i2c: E2 08 00 3F 11 80 0D 01 02 00 00 00 00 C9 [13:29:04]Write i2c OK [13:29:04]MH_I2C_Read... [13:29:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:29:04]Read from MH i2c: E2 [13:29:04]MH_I2C_Read... [13:29:04]Read from MH i2c: E2 03 00 [13:29:04]MH_I2C_Read... [13:29:04]Read from MH i2c: E2 03 00 3F 11 00 90 00 C4 [13:29:04]RAPDU: 90 00 [13:29:04]wFMCommunicate OK [13:29:04]wFMCommunicate request_size=255 [13:29:04]MH_SAM_APDU [13:29:04]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 A3 34 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [13:29:04]Write to MH i2c: E2 02 01 40 11 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 A3 34 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 BA [13:29:04]Write i2c OK [13:29:04]MH_I2C_Read... [13:29:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:29:04]Read from MH i2c: E2 [13:29:04]MH_I2C_Read... [13:29:04]Read from MH i2c: E2 03 00 [13:29:04]MH_I2C_Read... [13:29:04]Read from MH i2c: E2 03 00 40 11 00 90 00 C5 [13:29:04]RAPDU: 90 00 [13:29:04]wFMCommunicate OK [13:29:04]wFMCommunicate request_size=32 [13:29:04]MH_SAM_APDU [13:29:04]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 42 94 00 00 35 04 06 00 0B 31 F8 6F 6E 9D [13:29:04]Write to MH i2c: E2 23 00 41 11 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 42 94 00 00 35 04 06 00 0B 31 F8 6F 6E 9D 00 00 AA [13:29:04]Write i2c OK [13:29:04]MH_I2C_Read... [13:29:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:29:04]Read from MH i2c: E2 [13:29:04]MH_I2C_Read... [13:29:04]Read from MH i2c: E2 03 00 [13:29:04]MH_I2C_Read... [13:29:04]Read from MH i2c: E2 03 00 41 11 00 90 00 C6 [13:29:04]RAPDU: 90 00 [13:29:04]wFMCommunicate OK [13:29:04]wFMCommunicate request_size=4 [13:29:04]MH_SAM_APDU [13:29:04]CAPDU: 80 0D 03 02 [13:29:04]Write to MH i2c: E2 08 00 42 11 80 0D 03 02 00 00 00 00 CE [13:29:04]Write i2c OK [13:29:04]MH_I2C_Read... [13:29:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:29:04]Read from MH i2c: E2 [13:29:04]MH_I2C_Read... [13:29:04]Read from MH i2c: E2 0B 00 [13:29:04]MH_I2C_Read... [13:29:04]Read from MH i2c: E2 0B 00 42 11 00 F5 19 5D FD C3 ED 62 C3 90 00 0C [13:29:04]RAPDU: F5 19 5D FD C3 ED 62 C3 90 00 [13:29:04]wFMCommunicate OK [13:29:04]SAM_PROTO_SignData done [13:29:04]FM_MakeSignedData done [13:29:04]CreateOFDProtocolMessage [13:29:04]wFMCommunicate request_size=4 [13:29:04]MH_SAM_APDU [13:29:04]CAPDU: 80 11 00 00 [13:29:04]Write to MH i2c: E2 08 00 43 11 80 11 00 00 00 00 00 00 CE [13:29:04]Write i2c OK [13:29:04]MH_I2C_Read... [13:29:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:29:04]Read from MH i2c: E2 [13:29:04]MH_I2C_Read... [13:29:04]Read from MH i2c: E2 17 00 [13:29:04]MH_I2C_Read... [13:29:04]Read from MH i2c: E2 17 00 43 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1E [13:29:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:29:04]wFMCommunicate OK [13:29:04]CreateOFDProtocolMessage done [13:29:04]OFDSenderStorePacket 37954 [13:29:04]StoreOFDPacket docnum=37954 [13:29:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 1A 95 1D 01 DD A7 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 A3 34 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 42 94 00 00 35 04 06 00 0B 31 F8 6F 6E 9D F5 19 5D FD C3 ED 62 C3 [13:29:04]CheckFolder [13:29:04]dirname=/storage/ofd_packets [13:29:04]CheckFolder done [13:29:04]ProducePacketName [13:29:04]name=ofd_packets/00037954 [13:29:04]NVStorageSaveData ofd_packets/00037954 [13:29:04]File name is /storage/ofd_packets/00037954 [13:29:04]Write 323 bytes [13:29:04]NVStorageSaveData done [13:29:04]OFDSenderStorePacket done [13:29:04]KKMCreateOFDPacket done [13:29:04]NVStorageSaveData kkm_last_timestamp [13:29:04]File name is /storage/kkm_last_timestamp [13:29:04]Write 4 bytes [13:29:04]NVStorageSaveData done [13:29:04]ExternCall_PrintAddStr [13:29:04]wPrintStart [13:29:04]Write to MH i2c: 01 00 00 44 11 55 [13:29:04]Write i2c OK [13:29:04]MH_I2C_Read... [13:29:04]Read from MH i2c: 01 [13:29:04]MH_I2C_Read... [13:29:04]Read from MH i2c: 01 07 00 [13:29:04]MH_I2C_Read... [13:29:04]Read from MH i2c: 01 07 00 44 11 00 00 00 00 00 FF 0F 6A [13:29:04]RasterBufferAndPrint [13:29:04]line Счет N : (3)35253 [13:29:04]line ИНН: 02508201610067 [13:29:04]line Контрольно-Кассовый Чек [13:29:04]line ПРОДАЖА [13:29:04]line Товар: 46226624 [13:29:04]line Mentos ПВ Клубника 6*100*2 [13:29:04]line 1.000 * 10.00 [13:29:04]line = 10.00 [13:29:04]line НДС 12% НСП 1% [13:29:04]line > о реализуемом товаре [13:29:04]line ИТОГО: 10.00 [13:29:04]line НСП 1% : 0.09 [13:29:04]line НДС 12% : 1.06 [13:29:04]line Наличными: 10.00 [13:29:04]line Безнал.: 0.00 [13:29:04]line Место: АЗС № 126 "Партнер Нефть" [13:29:04]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:29:04]line СНО: Общий режим [13:29:04]line Чек 36 30.10.2024 13:29 [13:29:04]line Смена: 553 ФФД: 1.0 [13:29:04]line ЗНМ: 0300000092 [13:29:04]line РНМ: 0000000000091684 [13:29:04]line Версия ККМ: 001 [13:29:04]line ФМ: 0000000000871841 [13:29:04]line ФД: 37954 [13:29:04]line ФПД: 12309249355421 [13:29:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T132907&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37954&fm=12309249355421&tin=02508201610067®Number=0000000000091684&sum=1000 [13:29:04]line 0 [13:29:04]written 0, free lines is 4095 [13:29:04]OFD Sender: Processing packet 37954 [packets to send 42, broken 41] [13:29:04]ProducePacketName [13:29:04]name=ofd_packets/00037954 [13:29:04]OFD Sender: To server: pG, [13:29:04]CommunicateWithHost lk.salyk.kg:30040 [13:29:04]ConnectInit lk.salyk.kg [13:29:05]Connected sock=9 [13:29:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 1A 95 1D 01 DD A7 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 A3 34 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 42 94 00 00 35 04 06 00 0B 31 F8 6F 6E 9D F5 19 5D FD C3 ED 62 C3 [13:29:05]Write to MH i2c: 01 00 00 6C 11 7D [13:29:05]Write i2c OK [13:29:05]MH_I2C_Read... [13:29:05]Read from MH i2c: 01 [13:29:05]MH_I2C_Read... [13:29:05]Read from MH i2c: 01 07 00 [13:29:05]MH_I2C_Read... [13:29:05]Read from MH i2c: 01 07 00 6C 11 00 00 00 00 00 CE 0C 5E [13:29:05]RasterBufferAndPrint [13:29:05]line [13:29:05]line [13:29:05]line [13:29:05]line [13:29:05]line [13:29:05]written 0, free lines is 3286 [13:29:05]MH_Cut [13:29:05]Write to MH i2c: D1 01 00 73 11 01 56 [13:29:05]Write i2c OK [13:29:05]MH_I2C_Read... [13:29:05]Read from MH i2c: D1 [13:29:05]MH_I2C_Read... [13:29:05]Read from MH i2c: D1 01 00 [13:29:05]MH_I2C_Read... [13:29:05]Read from MH i2c: D1 01 00 73 11 00 55 [13:29:05]Write to MH i2c: 01 00 00 74 11 85 [13:29:05]Write i2c OK [13:29:05]MH_I2C_Read... [13:29:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 32 B9 47 00 B1 03 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 42 94 00 00 F4 03 04 00 91 DF 21 67 B6 04 01 00 00 C0 DB E7 0F BA 99 FB F0 [13:29:05]CommunicateWithHost err = 0 [13:29:05]CheckOFDResponse [13:29:05]1017 (14) - 77093643461234 [13:29:05]1041 (16) - 0000000000871841 [13:29:05]1040 (4) - 37954 [13:29:05]1012 (4) - 30.10.2024 07:26 [13:29:05]1206 (1) - 0 [13:29:05]OFD Sender: Remove packet 37954 [13:29:05]ProducePacketName [13:29:05]name=ofd_packets/00037954 [13:29:05]NVStorageDeleteData [13:29:06]*** Cut start [13:29:06]*** Partial cut [13:29:06]*** CUTSNS_PIN = 1 [13:29:06]*** CUTSNS_PIN = 0 [13:29:06]OFD Sender: No OFD packet to send [13:29:06]*** Brake cut motor [13:29:06]Read from MH i2c: 01 [13:29:06]MH_I2C_Read... [13:29:06]*** Stop cut motor [13:29:06]*** Cut end [13:29:06]Read from MH i2c: 01 07 00 [13:29:06]MH_I2C_Read... [13:29:06]Read from MH i2c: 01 07 00 74 11 00 00 00 00 00 FF 0F 9A [13:29:06]process_action close_receipt done [13:29:06]requested_data is exist [13:29:06]produce_requested_data [13:29:06]requested_item fm.sn is exist - process it [13:29:06]wFMCommunicate request_size=4 [13:29:06]MH_SAM_APDU [13:29:06]CAPDU: 80 11 00 00 [13:29:06]Write to MH i2c: E2 08 00 75 11 80 11 00 00 00 00 00 00 00 [13:29:06]Write i2c OK [13:29:06]MH_I2C_Read... [13:29:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:29:06]Read from MH i2c: E2 [13:29:06]MH_I2C_Read... [13:29:06]Read from MH i2c: E2 17 00 [13:29:06]MH_I2C_Read... [13:29:06]Read from MH i2c: E2 17 00 75 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 50 [13:29:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:29:06]wFMCommunicate OK [13:29:06]requested_item fd.num is exist - process it [13:29:06]SAM_PROTO_GetFieldsCounters [13:29:06]wFMCommunicate request_size=4 [13:29:06]MH_SAM_APDU [13:29:06]CAPDU: 80 13 00 00 [13:29:06]Write to MH i2c: E2 08 00 76 11 80 13 00 00 00 00 00 00 03 [13:29:06]Write i2c OK [13:29:06]MH_I2C_Read... [13:29:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:29:06]Read from MH i2c: E2 [13:29:06]MH_I2C_Read... [13:29:06]Read from MH i2c: E2 62 00 [13:29:06]MH_I2C_Read... [13:29:06]Read from MH i2c: E2 62 00 76 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 42 94 00 00 0E 04 04 00 29 02 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 91 [13:29:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 42 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:29:06]wFMCommunicate OK [13:29:06]SAM_PROTO_GetFieldsCounters done [13:29:06]requested_item shift.num is exist - process it [13:29:06]requested_item shift.opened is exist - process it [13:29:06]req_shift_opened [13:29:06]FM_GetShiftState [13:29:06]SAM_PROTO_GetShiftState [13:29:06]wFMCommunicate request_size=4 [13:29:06]MH_SAM_APDU [13:29:06]CAPDU: 80 13 01 00 [13:29:06]Write to MH i2c: E2 08 00 77 11 80 13 01 00 00 00 00 00 05 [13:29:06]Write i2c OK [13:29:06]MH_I2C_Read... [13:29:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:29:06]Read from MH i2c: E2 [13:29:06]MH_I2C_Read... [13:29:06]Read from MH i2c: E2 0E 00 [13:29:06]MH_I2C_Read... [13:29:06]Read from MH i2c: E2 0E 00 77 11 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 C6 [13:29:06]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:29:06]wFMCommunicate OK [13:29:06]SAM_PROTO_GetShiftState done [13:29:06]FM_GetShiftState done [13:29:06]req_shift_opened done [13:29:06]requested_item shift.open_date is exist - process it [13:29:06]req_shift_open_date [13:29:06]req_shift_open_date done [13:29:06]produce_requested_data done [13:29:06]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37954,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [13:29:06]process_action_free close_receipt [13:29:06]json_value_free [13:29:06]json_value_free done [13:29:06]process_json_proto returns [13:29:06]Send response to host [13:29:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37954,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [13:29:06]free response buf [13:29:06]execute_script done [13:29:06]execute_script returns [13:29:06]free content buf [13:29:06]Sock 10.Close socket [13:29:06]Sock 10.Thread stoped [13:29:11]OFD Sender: No OFD packet to send [13:29:16]OFD Sender: No OFD packet to send [13:29:21]OFD Sender: No OFD packet to send [13:29:26]OFD Sender: No OFD packet to send [13:29:31]OFD Sender: No OFD packet to send [13:29:36]OFD Sender: No OFD packet to send [13:29:41]OFD Sender: No OFD packet to send [13:29:46]OFD Sender: No OFD packet to send [13:29:51]OFD Sender: No OFD packet to send [13:29:56]OFD Sender: No OFD packet to send [13:30:01]OFD Sender: No OFD packet to send [13:30:06]OFD Sender: No OFD packet to send [13:30:11]OFD Sender: No OFD packet to send [13:30:16]OFD Sender: No OFD packet to send [13:30:21]OFD Sender: No OFD packet to send [13:30:26]OFD Sender: No OFD packet to send [13:30:31]OFD Sender: No OFD packet to send [13:30:36]OFD Sender: No OFD packet to send [13:30:41]OFD Sender: No OFD packet to send [13:30:46]OFD Sender: No OFD packet to send [13:30:51]OFD Sender: No OFD packet to send [13:30:56]OFD Sender: No OFD packet to send [13:31:01]OFD Sender: No OFD packet to send [13:31:06]OFD Sender: No OFD packet to send [13:31:11]OFD Sender: No OFD packet to send [13:31:16]OFD Sender: No OFD packet to send [13:31:21]OFD Sender: No OFD packet to send [13:31:26]OFD Sender: No OFD packet to send [13:31:31]OFD Sender: No OFD packet to send [13:31:36]OFD Sender: No OFD packet to send [13:31:41]OFD Sender: No OFD packet to send [13:31:46]OFD Sender: No OFD packet to send [13:31:51]OFD Sender: No OFD packet to send [13:31:56]OFD Sender: No OFD packet to send [13:32:01]OFD Sender: No OFD packet to send [13:32:06]OFD Sender: No OFD packet to send [13:32:11]OFD Sender: No OFD packet to send [13:32:16]OFD Sender: No OFD packet to send [13:32:21]OFD Sender: No OFD packet to send [13:32:26]OFD Sender: No OFD packet to send [13:32:31]OFD Sender: No OFD packet to send [13:32:36]OFD Sender: No OFD packet to send [13:32:41]OFD Sender: No OFD packet to send [13:32:46]OFD Sender: No OFD packet to send [13:32:51]OFD Sender: No OFD packet to send [13:32:56]OFD Sender: No OFD packet to send [13:33:01]OFD Sender: No OFD packet to send [13:33:06]OFD Sender: No OFD packet to send [13:33:11]OFD Sender: No OFD packet to send [13:33:16]OFD Sender: No OFD packet to send [13:33:21]OFD Sender: No OFD packet to send [13:33:26]OFD Sender: No OFD packet to send [13:33:31]OFD Sender: No OFD packet to send [13:33:36]OFD Sender: No OFD packet to send [13:33:41]OFD Sender: No OFD packet to send [13:33:46]OFD Sender: No OFD packet to send [13:33:51]OFD Sender: No OFD packet to send [13:33:56]OFD Sender: No OFD packet to send [13:34:01]OFD Sender: No OFD packet to send [13:34:06]OFD Sender: No OFD packet to send [13:34:11]OFD Sender: No OFD packet to send [13:34:16]OFD Sender: No OFD packet to send [13:34:21]OFD Sender: No OFD packet to send [13:34:26]OFD Sender: No OFD packet to send [13:34:31]OFD Sender: No OFD packet to send [13:34:36]OFD Sender: No OFD packet to send [13:34:41]OFD Sender: No OFD packet to send [13:34:46]OFD Sender: No OFD packet to send [13:34:51]OFD Sender: No OFD packet to send [13:34:56]OFD Sender: No OFD packet to send [13:35:01]OFD Sender: No OFD packet to send [13:35:06]OFD Sender: No OFD packet to send [13:35:11]OFD Sender: No OFD packet to send [13:35:16]OFD Sender: No OFD packet to send [13:35:21]OFD Sender: No OFD packet to send [13:35:26]OFD Sender: No OFD packet to send [13:35:31]OFD Sender: No OFD packet to send [13:35:36]OFD Sender: No OFD packet to send [13:35:41]OFD Sender: No OFD packet to send [13:35:46]OFD Sender: No OFD packet to send [13:35:51]OFD Sender: No OFD packet to send [13:35:56]OFD Sender: No OFD packet to send [13:36:01]OFD Sender: No OFD packet to send [13:36:06]OFD Sender: No OFD packet to send [13:36:11]OFD Sender: No OFD packet to send [13:36:16]OFD Sender: No OFD packet to send [13:36:21]OFD Sender: No OFD packet to send [13:36:26]OFD Sender: No OFD packet to send [13:36:31]OFD Sender: No OFD packet to send [13:36:36]OFD Sender: No OFD packet to send [13:36:41]OFD Sender: No OFD packet to send [13:36:46]OFD Sender: No OFD packet to send [13:36:51]OFD Sender: No OFD packet to send [13:36:56]OFD Sender: No OFD packet to send [13:37:01]OFD Sender: No OFD packet to send [13:37:06]OFD Sender: No OFD packet to send [13:37:11]OFD Sender: No OFD packet to send [13:37:16]OFD Sender: No OFD packet to send [13:37:21]OFD Sender: No OFD packet to send [13:37:26]OFD Sender: No OFD packet to send [13:37:31]OFD Sender: No OFD packet to send [13:37:36]OFD Sender: No OFD packet to send [13:37:41]OFD Sender: No OFD packet to send [13:37:46]OFD Sender: No OFD packet to send [13:37:51]OFD Sender: No OFD packet to send [13:37:56]OFD Sender: No OFD packet to send [13:38:01]OFD Sender: No OFD packet to send [13:38:06]OFD Sender: No OFD packet to send [13:38:11]OFD Sender: No OFD packet to send [13:38:16]OFD Sender: No OFD packet to send [13:38:21]OFD Sender: No OFD packet to send [13:38:26]OFD Sender: No OFD packet to send [13:38:31]OFD Sender: No OFD packet to send [13:38:41]OFD Sender: No OFD packet to send [13:38:46]OFD Sender: No OFD packet to send [13:38:51]OFD Sender: No OFD packet to send [13:38:56]OFD Sender: No OFD packet to send [13:39:01]OFD Sender: No OFD packet to send [13:39:06]OFD Sender: No OFD packet to send [13:39:11]OFD Sender: No OFD packet to send [13:39:16]OFD Sender: No OFD packet to send [13:39:21]OFD Sender: No OFD packet to send [13:39:26]OFD Sender: No OFD packet to send [13:39:31]OFD Sender: No OFD packet to send [13:39:36]OFD Sender: No OFD packet to send [13:39:41]OFD Sender: No OFD packet to send [13:39:46]OFD Sender: No OFD packet to send [13:39:51]OFD Sender: No OFD packet to send [13:39:56]OFD Sender: No OFD packet to send [13:40:01]OFD Sender: No OFD packet to send [13:40:06]OFD Sender: No OFD packet to send [13:40:11]OFD Sender: No OFD packet to send [13:40:16]OFD Sender: No OFD packet to send [13:40:21]OFD Sender: No OFD packet to send [13:40:26]OFD Sender: No OFD packet to send [13:40:31]OFD Sender: No OFD packet to send [13:40:36]OFD Sender: No OFD packet to send [13:40:41]OFD Sender: No OFD packet to send [13:40:46]OFD Sender: No OFD packet to send [13:40:49]ConnectInit Can't connect to host [13:40:51]OFD Sender: No OFD packet to send [13:40:56]OFD Sender: No OFD packet to send [13:41:01]OFD Sender: No OFD packet to send [13:41:06]OFD Sender: No OFD packet to send [13:41:11]OFD Sender: No OFD packet to send [13:41:16]OFD Sender: No OFD packet to send [13:41:21]OFD Sender: No OFD packet to send [13:41:26]OFD Sender: No OFD packet to send [13:41:31]OFD Sender: No OFD packet to send [13:41:36]OFD Sender: No OFD packet to send [13:41:41]OFD Sender: No OFD packet to send [13:41:46]OFD Sender: No OFD packet to send [13:41:51]OFD Sender: No OFD packet to send [13:41:56]OFD Sender: No OFD packet to send [13:42:01]OFD Sender: No OFD packet to send [13:42:06]OFD Sender: No OFD packet to send [13:42:11]OFD Sender: No OFD packet to send [13:42:16]OFD Sender: No OFD packet to send [13:42:21]OFD Sender: No OFD packet to send [13:42:26]OFD Sender: No OFD packet to send [13:42:31]OFD Sender: No OFD packet to send [13:42:36]OFD Sender: No OFD packet to send [13:42:41]OFD Sender: No OFD packet to send [13:42:46]OFD Sender: No OFD packet to send [13:42:51]OFD Sender: No OFD packet to send [13:42:56]OFD Sender: No OFD packet to send [13:43:01]OFD Sender: No OFD packet to send [13:43:06]OFD Sender: No OFD packet to send [13:43:11]OFD Sender: No OFD packet to send [13:43:16]OFD Sender: No OFD packet to send [13:43:21]OFD Sender: No OFD packet to send [13:43:26]OFD Sender: No OFD packet to send [13:43:31]OFD Sender: No OFD packet to send [13:43:36]OFD Sender: No OFD packet to send [13:43:41]OFD Sender: No OFD packet to send [13:43:46]OFD Sender: No OFD packet to send [13:43:51]OFD Sender: No OFD packet to send [13:43:56]OFD Sender: No OFD packet to send [13:44:01]OFD Sender: No OFD packet to send [13:44:06]OFD Sender: No OFD packet to send [13:44:11]OFD Sender: No OFD packet to send [13:44:16]OFD Sender: No OFD packet to send [13:44:21]OFD Sender: No OFD packet to send [13:44:26]OFD Sender: No OFD packet to send [13:44:31]OFD Sender: No OFD packet to send [13:44:36]OFD Sender: No OFD packet to send [13:44:41]OFD Sender: No OFD packet to send [13:44:46]OFD Sender: No OFD packet to send [13:44:51]OFD Sender: No OFD packet to send [13:44:56]OFD Sender: No OFD packet to send [13:45:01]OFD Sender: No OFD packet to send [13:45:06]OFD Sender: No OFD packet to send [13:45:11]OFD Sender: No OFD packet to send [13:45:16]OFD Sender: No OFD packet to send [13:45:21]OFD Sender: No OFD packet to send [13:45:26]OFD Sender: No OFD packet to send [13:45:31]OFD Sender: No OFD packet to send [13:45:36]OFD Sender: No OFD packet to send [13:45:41]OFD Sender: No OFD packet to send [13:45:46]OFD Sender: No OFD packet to send [13:45:51]OFD Sender: No OFD packet to send [13:45:56]OFD Sender: No OFD packet to send [13:46:02]OFD Sender: No OFD packet to send [13:46:07]OFD Sender: No OFD packet to send [13:46:12]OFD Sender: No OFD packet to send [13:46:17]OFD Sender: No OFD packet to send [13:46:22]OFD Sender: No OFD packet to send [13:46:27]OFD Sender: No OFD packet to send [13:46:32]OFD Sender: No OFD packet to send [13:46:37]OFD Sender: No OFD packet to send [13:46:42]OFD Sender: No OFD packet to send [13:46:47]OFD Sender: No OFD packet to send [13:46:52]OFD Sender: No OFD packet to send [13:46:57]OFD Sender: No OFD packet to send [13:47:02]OFD Sender: No OFD packet to send [13:47:07]OFD Sender: No OFD packet to send [13:47:12]OFD Sender: No OFD packet to send [13:47:17]OFD Sender: No OFD packet to send [13:47:22]OFD Sender: No OFD packet to send [13:47:27]OFD Sender: No OFD packet to send [13:47:32]OFD Sender: No OFD packet to send [13:47:37]OFD Sender: No OFD packet to send [13:47:42]OFD Sender: No OFD packet to send [13:47:47]OFD Sender: No OFD packet to send [13:47:52]OFD Sender: No OFD packet to send [13:47:57]OFD Sender: No OFD packet to send [13:48:02]OFD Sender: No OFD packet to send [13:48:07]OFD Sender: No OFD packet to send [13:48:12]OFD Sender: No OFD packet to send [13:48:17]OFD Sender: No OFD packet to send [13:48:22]OFD Sender: No OFD packet to send [13:48:27]OFD Sender: No OFD packet to send [13:48:32]OFD Sender: No OFD packet to send [13:48:37]OFD Sender: No OFD packet to send [13:48:42]OFD Sender: No OFD packet to send [13:48:47]OFD Sender: No OFD packet to send [13:48:52]OFD Sender: No OFD packet to send [13:48:57]OFD Sender: No OFD packet to send [13:49:02]OFD Sender: No OFD packet to send [13:49:07]OFD Sender: No OFD packet to send [13:49:12]OFD Sender: No OFD packet to send [13:49:17]OFD Sender: No OFD packet to send [13:49:22]OFD Sender: No OFD packet to send [13:49:27]OFD Sender: No OFD packet to send [13:49:32]OFD Sender: No OFD packet to send [13:49:37]OFD Sender: No OFD packet to send [13:49:42]OFD Sender: No OFD packet to send [13:49:47]OFD Sender: No OFD packet to send [13:49:52]OFD Sender: No OFD packet to send [13:49:57]OFD Sender: No OFD packet to send [13:49:59]accept exits with 7 [13:49:59]New connection [13:49:59]New thread 3067207012 created [13:49:59]Thread 3067063652 joined [13:49:59]Waiting for new connection... [13:49:59] Sock 7.Parse request [13:49:59]Sock 7.Check first char [13:49:59]Sock 7.First char is OK [13:49:59]request: POST /json_proto HTTP/1.0 [13:49:59]Method: POST [13:49:59]URL: /json_proto [13:49:59]Method is POST - this is cgi request [13:49:59]url: /json_proto [13:49:59]query_string will be loaded in cgi processing [13:49:59]execute_cgi json_proto POST (null) [13:49:59]execute_cgi path=json_proto method=POST [13:49:59]POST find Content-Length [13:49:59]Host: 172.17.40.196:8080 [13:49:59]Content-Length: 620 [13:49:59]Content-Type: application/json [13:49:59] [13:49:59]POST finish read [13:49:59]Found Content-Length = 620 [13:49:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35254", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:49:59]execute_script... [13:49:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35254", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:49:59]POST & json_proto [13:49:59]process_json_proto [13:49:59]json parsed OK: [13:49:59]protocol is kg_v1.0 [13:49:59]action value=close_receipt [13:49:59]process_action close_receipt [13:49:59]cmd_close_receipt [13:49:59]MH_GetDate [13:49:59]Write to MH i2c: F0 00 00 78 11 78 [13:49:59]Write i2c OK [13:49:59]MH_I2C_Read... [13:49:59]Read from MH i2c: F0 [13:49:59]MH_I2C_Read... [13:49:59]Read from MH i2c: F0 09 00 [13:49:59]MH_I2C_Read... [13:49:59]Read from MH i2c: F0 09 00 78 11 00 8C 39 22 67 5B 68 A1 66 99 [13:49:59]GetLastDocTimeStamp 1730294947 [13:49:59]current date 1730296204 [13:49:59]FM_GetShiftState [13:49:59]SAM_PROTO_GetShiftState [13:49:59]wFMCommunicate request_size=4 [13:49:59]MH_SAM_APDU [13:49:59]CAPDU: 80 13 01 00 [13:49:59]Write to MH i2c: E2 08 00 79 11 80 13 01 00 00 00 00 00 07 [13:49:59]Write i2c OK [13:49:59]MH_I2C_Read... [13:50:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:50:00]Read from MH i2c: E2 [13:50:00]MH_I2C_Read... [13:50:00]Read from MH i2c: E2 0E 00 [13:50:00]MH_I2C_Read... [13:50:00]Read from MH i2c: E2 0E 00 79 11 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 C8 [13:50:00]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:50:00]wFMCommunicate OK [13:50:00]SAM_PROTO_GetShiftState done [13:50:00]FM_GetShiftState done [13:50:00]opened in 1730246837 [13:50:00]opened+sec_in_day 1730333237 [13:50:00]quantity*price = 28800 [13:50:00]sum+1 = 28801 [13:50:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.55 НДС 12% : 30.58 Наличными: 288.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 37 30.10.2024 13:50 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37955 ФПД: 231544192022097 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T135004&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37955&fm=231544192022097&tin=02508201610067®Number=0000000000091684&sum=28800 0 [13:50:01]StoreToDocumentArchive [13:50:01]shift 553 fd 37955 [13:50:01]save to /storage/0553/doc_00037955 [13:50:01]save last doc name /storage/0553/doc_00037955 to /storage/kkm_last_doc_name [13:50:01]save OK [13:50:01]Clear old archive folders... [13:50:01]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:50:01]tlvbuf is 018FCC70 [13:50:01]SAM_PROTO_ClearQueue [13:50:01]wFMCommunicate request_size=4 [13:50:01]MH_SAM_APDU [13:50:01]CAPDU: 80 09 00 00 [13:50:01]Write to MH i2c: E2 08 00 86 11 80 09 00 00 00 00 00 00 09 [13:50:01]Write i2c OK [13:50:01]MH_I2C_Read... [13:50:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:50:01]Read from MH i2c: E2 [13:50:01]MH_I2C_Read... [13:50:01]Read from MH i2c: E2 03 00 [13:50:01]MH_I2C_Read... [13:50:01]Read from MH i2c: E2 03 00 86 11 00 90 00 0B [13:50:01]RAPDU: 90 00 [13:50:01]wFMCommunicate OK [13:50:01]SAM_PROTO_ClearQueue done [13:50:01]KKMCreateOFDPacket [13:50:01]OFDProtocolAddRootSTLVToBuf [13:50:01]FM_MakeSignedData [13:50:01]FM_MakeSignedData [13:50:01]SAM_PROTO_SignData [13:50:01]wFMCommunicate request_size=4 [13:50:01]MH_SAM_APDU [13:50:01]CAPDU: 80 0D 01 02 [13:50:01]Write to MH i2c: E2 08 00 87 11 80 0D 01 02 00 00 00 00 11 [13:50:01]Write i2c OK [13:50:01]MH_I2C_Read... [13:50:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:50:01]Read from MH i2c: E2 [13:50:01]MH_I2C_Read... [13:50:01]Read from MH i2c: E2 03 00 [13:50:01]MH_I2C_Read... [13:50:01]Read from MH i2c: E2 03 00 87 11 00 90 00 0C [13:50:01]RAPDU: 90 00 [13:50:01]wFMCommunicate OK [13:50:01]wFMCommunicate request_size=255 [13:50:01]MH_SAM_APDU [13:50:01]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 8C 39 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [13:50:01]Write to MH i2c: E2 02 01 88 11 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 8C 39 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 EF [13:50:01]Write i2c OK [13:50:01]MH_I2C_Read... [13:50:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:50:01]Read from MH i2c: E2 [13:50:01]MH_I2C_Read... [13:50:01]Read from MH i2c: E2 03 00 [13:50:01]MH_I2C_Read... [13:50:01]Read from MH i2c: E2 03 00 88 11 00 90 00 0D [13:50:01]RAPDU: 90 00 [13:50:01]wFMCommunicate OK [13:50:01]wFMCommunicate request_size=32 [13:50:01]MH_SAM_APDU [13:50:01]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 43 94 00 00 35 04 06 00 D2 96 95 50 B6 51 [13:50:01]Write to MH i2c: E2 23 00 89 11 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 43 94 00 00 35 04 06 00 D2 96 95 50 B6 51 00 00 99 [13:50:01]Write i2c OK [13:50:01]MH_I2C_Read... [13:50:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:50:01]Read from MH i2c: E2 [13:50:01]MH_I2C_Read... [13:50:01]Read from MH i2c: E2 03 00 [13:50:01]MH_I2C_Read... [13:50:01]Read from MH i2c: E2 03 00 89 11 00 90 00 0E [13:50:01]RAPDU: 90 00 [13:50:01]wFMCommunicate OK [13:50:01]wFMCommunicate request_size=4 [13:50:01]MH_SAM_APDU [13:50:01]CAPDU: 80 0D 03 02 [13:50:01]Write to MH i2c: E2 08 00 8A 11 80 0D 03 02 00 00 00 00 16 [13:50:01]Write i2c OK [13:50:01]MH_I2C_Read... [13:50:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:50:01]Read from MH i2c: E2 [13:50:01]MH_I2C_Read... [13:50:01]Read from MH i2c: E2 0B 00 [13:50:01]MH_I2C_Read... [13:50:01]Read from MH i2c: E2 0B 00 8A 11 00 40 ED E9 55 43 BA 4C CF 90 00 9A [13:50:01]RAPDU: 40 ED E9 55 43 BA 4C CF 90 00 [13:50:01]wFMCommunicate OK [13:50:01]SAM_PROTO_SignData done [13:50:01]FM_MakeSignedData done [13:50:01]CreateOFDProtocolMessage [13:50:01]wFMCommunicate request_size=4 [13:50:01]MH_SAM_APDU [13:50:01]CAPDU: 80 11 00 00 [13:50:01]Write to MH i2c: E2 08 00 8B 11 80 11 00 00 00 00 00 00 16 [13:50:01]Write i2c OK [13:50:01]MH_I2C_Read... [13:50:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:50:01]Read from MH i2c: E2 [13:50:01]MH_I2C_Read... [13:50:01]Read from MH i2c: E2 17 00 [13:50:01]MH_I2C_Read... [13:50:01]Read from MH i2c: E2 17 00 8B 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 66 [13:50:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:50:01]wFMCommunicate OK [13:50:01]CreateOFDProtocolMessage done [13:50:01]OFDSenderStorePacket 37955 [13:50:01]StoreOFDPacket docnum=37955 [13:50:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 83 03 1D 01 C1 7E 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 8C 39 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 43 94 00 00 35 04 06 00 D2 96 95 50 B6 51 40 ED E9 55 43 BA 4C CF [13:50:01]CheckFolder [13:50:01]dirname=/storage/ofd_packets [13:50:01]CheckFolder done [13:50:01]ProducePacketName [13:50:01]name=ofd_packets/00037955 [13:50:01]NVStorageSaveData ofd_packets/00037955 [13:50:01]File name is /storage/ofd_packets/00037955 [13:50:01]Write 323 bytes [13:50:01]NVStorageSaveData done [13:50:01]OFDSenderStorePacket done [13:50:01]KKMCreateOFDPacket done [13:50:01]NVStorageSaveData kkm_last_timestamp [13:50:01]File name is /storage/kkm_last_timestamp [13:50:01]Write 4 bytes [13:50:01]NVStorageSaveData done [13:50:01]ExternCall_PrintAddStr [13:50:01]wPrintStart [13:50:01]Write to MH i2c: 01 00 00 8C 11 9D [13:50:01]Write i2c OK [13:50:01]MH_I2C_Read... [13:50:01]Read from MH i2c: 01 [13:50:01]MH_I2C_Read... [13:50:01]Read from MH i2c: 01 07 00 [13:50:01]MH_I2C_Read... [13:50:01]Read from MH i2c: 01 07 00 8C 11 00 00 00 00 00 FF 0F B2 [13:50:01]RasterBufferAndPrint [13:50:01]line Счет N : (3)35254 [13:50:01]line ИНН: 02508201610067 [13:50:01]line Контрольно-Кассовый Чек [13:50:01]line ПРОДАЖА [13:50:01]line Товар: 48743570 [13:50:01]line Сигареты Winston XStyle Blue [13:50:01]line 2.000 * 144.00 [13:50:01]line = 288.00 [13:50:01]line НДС 12% НСП 1% [13:50:01]line > о реализуемом товаре [13:50:01]line ИТОГО: 288.00 [13:50:01]line НСП 1% : 2.55 [13:50:01]line НДС 12% : 30.58 [13:50:01]line Наличными: 288.00 [13:50:01]line Безнал.: 0.00 [13:50:01]line Место: АЗС № 126 "Партнер Нефть" [13:50:01]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:50:01]line СНО: Общий режим [13:50:01]line Чек 37 30.10.2024 13:50 [13:50:01]line Смена: 553 ФФД: 1.0 [13:50:01]line ЗНМ: 0300000092 [13:50:01]line РНМ: 0000000000091684 [13:50:01]line Версия ККМ: 001 [13:50:01]line ФМ: 0000000000871841 [13:50:01]line ФД: 37955 [13:50:01]line ФПД: 231544192022097 [13:50:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T135004&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37955&fm=231544192022097&tin=02508201610067®Number=0000000000091684&sum=28800 [13:50:02]line 0 [13:50:02]OFD Sender: Processing packet 37955 [packets to send 42, broken 41] [13:50:02]ProducePacketName [13:50:02]name=ofd_packets/00037955 [13:50:02]OFD Sender: To server: pG, [13:50:02]CommunicateWithHost lk.salyk.kg:30040 [13:50:02]ConnectInit lk.salyk.kg [13:50:02]written 0, free lines is 4095 [13:50:02]Write to MH i2c: 01 00 00 B4 11 C5 [13:50:02]Write i2c OK [13:50:02]MH_I2C_Read... [13:50:02]Read from MH i2c: 01 [13:50:02]MH_I2C_Read... [13:50:02]Read from MH i2c: 01 07 00 [13:50:02]MH_I2C_Read... [13:50:02]Read from MH i2c: 01 07 00 B4 11 00 00 00 00 00 C3 0C 9B [13:50:02]RasterBufferAndPrint [13:50:02]line [13:50:02]line [13:50:02]line [13:50:02]line [13:50:02]line [13:50:02]written 0, free lines is 3271 [13:50:02]MH_Cut [13:50:02]Write to MH i2c: D1 01 00 BB 11 01 9E [13:50:02]Write i2c OK [13:50:02]MH_I2C_Read... [13:50:02]Read from MH i2c: D1 [13:50:02]MH_I2C_Read... [13:50:02]Read from MH i2c: D1 01 00 [13:50:02]MH_I2C_Read... [13:50:02]Read from MH i2c: D1 01 00 BB 11 00 9D [13:50:02]Write to MH i2c: 01 00 00 BC 11 CD [13:50:02]Write i2c OK [13:50:02]MH_I2C_Read... [13:50:03]*** Cut start [13:50:03]*** Partial cut [13:50:03]*** CUTSNS_PIN = 1 [13:50:03]*** CUTSNS_PIN = 0 [13:50:03]*** Brake cut motor [13:50:03]Read from MH i2c: 01 [13:50:03]MH_I2C_Read... [13:50:03]*** Stop cut motor [13:50:03]*** Cut end [13:50:03]Read from MH i2c: 01 07 00 [13:50:03]MH_I2C_Read... [13:50:03]Read from MH i2c: 01 07 00 BC 11 00 00 00 00 00 FF 0F E2 [13:50:03]process_action close_receipt done [13:50:03]requested_data is exist [13:50:03]produce_requested_data [13:50:03]requested_item fm.sn is exist - process it [13:50:03]wFMCommunicate request_size=4 [13:50:03]MH_SAM_APDU [13:50:03]CAPDU: 80 11 00 00 [13:50:03]Write to MH i2c: E2 08 00 BD 11 80 11 00 00 00 00 00 00 48 [13:50:03]Write i2c OK [13:50:03]MH_I2C_Read... [13:50:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:50:03]Read from MH i2c: E2 [13:50:03]MH_I2C_Read... [13:50:03]Read from MH i2c: E2 17 00 [13:50:03]MH_I2C_Read... [13:50:04]Read from MH i2c: E2 17 00 BD 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 98 [13:50:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:50:04]wFMCommunicate OK [13:50:04]requested_item fd.num is exist - process it [13:50:04]SAM_PROTO_GetFieldsCounters [13:50:04]wFMCommunicate request_size=4 [13:50:04]MH_SAM_APDU [13:50:04]CAPDU: 80 13 00 00 [13:50:04]Write to MH i2c: E2 08 00 BE 11 80 13 00 00 00 00 00 00 4B [13:50:04]Write i2c OK [13:50:04]MH_I2C_Read... [13:50:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:50:04]Read from MH i2c: E2 [13:50:04]MH_I2C_Read... [13:50:04]Read from MH i2c: E2 62 00 [13:50:04]MH_I2C_Read... [13:50:04]Read from MH i2c: E2 62 00 BE 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 43 94 00 00 0E 04 04 00 29 02 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 DD [13:50:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 43 94 00 00 0E 04 04 00 29 02 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 [13:50:04]wFMCommunicate OK [13:50:04]SAM_PROTO_GetFieldsCounters done [13:50:04]requested_item shift.num is exist - process it [13:50:04]requested_item shift.opened is exist - process it [13:50:04]req_shift_opened [13:50:04]FM_GetShiftState [13:50:04]SAM_PROTO_GetShiftState [13:50:04]wFMCommunicate request_size=4 [13:50:04]MH_SAM_APDU [13:50:04]CAPDU: 80 13 01 00 [13:50:04]Write to MH i2c: E2 08 00 BF 11 80 13 01 00 00 00 00 00 4D [13:50:04]Write i2c OK [13:50:04]MH_I2C_Read... [13:50:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:50:04]Read from MH i2c: E2 [13:50:04]MH_I2C_Read... [13:50:04]Read from MH i2c: E2 0E 00 [13:50:04]MH_I2C_Read... [13:50:04]Read from MH i2c: E2 0E 00 BF 11 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 0E [13:50:04]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:50:04]wFMCommunicate OK [13:50:04]SAM_PROTO_GetShiftState done [13:50:04]FM_GetShiftState done [13:50:04]req_shift_opened done [13:50:04]requested_item shift.open_date is exist - process it [13:50:04]req_shift_open_date [13:50:04]req_shift_open_date done [13:50:04]produce_requested_data done [13:50:04]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37955,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [13:50:04]process_action_free close_receipt [13:50:04]json_value_free [13:50:04]json_value_free done [13:50:04]process_json_proto returns [13:50:04]Send response to host [13:50:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37955,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [13:50:04]free response buf [13:50:04]execute_script done [13:50:04]execute_script returns [13:50:04]free content buf [13:50:04]Sock 7.Close socket [13:50:04]Sock 7.Thread stoped [13:50:04]Connected sock=11 [13:50:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 83 03 1D 01 C1 7E 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 8C 39 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 43 94 00 00 35 04 06 00 D2 96 95 50 B6 51 40 ED E9 55 43 BA 4C CF [13:50:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 95 84 47 00 3E A2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 43 94 00 00 F4 03 04 00 7D E4 21 67 B6 04 01 00 00 C5 02 15 AD 8D 7D 71 AF [13:50:04]CommunicateWithHost err = 0 [13:50:04]CheckOFDResponse [13:50:04]1017 (14) - 77093643461234 [13:50:04]1041 (16) - 0000000000871841 [13:50:04]1040 (4) - 37955 [13:50:04]1012 (4) - 30.10.2024 07:47 [13:50:04]1206 (1) - 0 [13:50:04]OFD Sender: Remove packet 37955 [13:50:04]ProducePacketName [13:50:04]name=ofd_packets/00037955 [13:50:04]NVStorageDeleteData [13:50:05]OFD Sender: No OFD packet to send [13:50:10]OFD Sender: No OFD packet to send [13:50:15]OFD Sender: No OFD packet to send [13:50:20]OFD Sender: No OFD packet to send [13:50:25]OFD Sender: No OFD packet to send [13:50:30]OFD Sender: No OFD packet to send [13:50:35]OFD Sender: No OFD packet to send [13:50:40]OFD Sender: No OFD packet to send [13:50:45]OFD Sender: No OFD packet to send [13:50:50]OFD Sender: No OFD packet to send [13:50:55]OFD Sender: No OFD packet to send [13:51:00]OFD Sender: No OFD packet to send [13:51:05]OFD Sender: No OFD packet to send [13:51:10]OFD Sender: No OFD packet to send [13:51:15]OFD Sender: No OFD packet to send [13:51:20]OFD Sender: No OFD packet to send [13:51:25]OFD Sender: No OFD packet to send [13:51:30]OFD Sender: No OFD packet to send [13:51:35]OFD Sender: No OFD packet to send [13:51:40]OFD Sender: No OFD packet to send [13:51:45]OFD Sender: No OFD packet to send [13:51:50]OFD Sender: No OFD packet to send [13:51:55]OFD Sender: No OFD packet to send [13:52:00]OFD Sender: No OFD packet to send [13:52:05]OFD Sender: No OFD packet to send [13:52:10]OFD Sender: No OFD packet to send [13:52:15]OFD Sender: No OFD packet to send [13:52:20]OFD Sender: No OFD packet to send [13:52:25]OFD Sender: No OFD packet to send [13:52:30]OFD Sender: No OFD packet to send [13:52:35]OFD Sender: No OFD packet to send [13:52:40]OFD Sender: No OFD packet to send [13:52:45]OFD Sender: No OFD packet to send [13:52:50]OFD Sender: No OFD packet to send [13:52:55]OFD Sender: No OFD packet to send [13:53:00]OFD Sender: No OFD packet to send [13:53:05]OFD Sender: No OFD packet to send [13:53:10]OFD Sender: No OFD packet to send [13:53:15]OFD Sender: No OFD packet to send [13:53:20]OFD Sender: No OFD packet to send [13:53:25]OFD Sender: No OFD packet to send [13:53:28]accept exits with 9 [13:53:28]New connection [13:53:28]New thread 3067063652 created [13:53:28]Thread 3067207012 joined [13:53:28]Waiting for new connection... [13:53:28] Sock 9.Parse request [13:53:28]Sock 9.Check first char [13:53:28]Sock 9.First char is OK [13:53:28]request: POST /json_proto HTTP/1.0 [13:53:28]Method: POST [13:53:28]URL: /json_proto [13:53:28]Method is POST - this is cgi request [13:53:28]url: /json_proto [13:53:28]query_string will be loaded in cgi processing [13:53:28]execute_cgi json_proto POST (null) [13:53:28]execute_cgi path=json_proto method=POST [13:53:28]POST find Content-Length [13:53:28]Host: 172.17.40.196:8080 [13:53:28]Content-Length: 2081 [13:53:28]Content-Type: application/json [13:53:28] [13:53:28]POST finish read [13:53:28]Found Content-Length = 2081 [13:53:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35255", "tax_sys" : 0, "items" : [ { "code": "4700001060152", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,5\u043B", "price" : 660.00, "quantity" : 1.000, "sum" : 660.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681369", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u0421\u042B\u0420 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159381178", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 \u0422\u0440\u0438\u043E 82,5\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700041420152", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST GOLD 20\u0448\u0442", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1048.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:53:28]execute_script... [13:53: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)35255", "tax_sys" : 0, "items" : [ { "code": "4700001060152", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,5\u043B", "price" : 660.00, "quantity" : 1.000, "sum" : 660.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681369", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u0421\u042B\u0420 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159381178", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 \u0422\u0440\u0438\u043E 82,5\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700041420152", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST GOLD 20\u0448\u0442", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1048.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:53:28]POST & json_proto [13:53:28]process_json_proto [13:53:28]json parsed OK: [13:53:28]protocol is kg_v1.0 [13:53:28]action value=close_receipt [13:53:28]process_action close_receipt [13:53:28]cmd_close_receipt [13:53:28]MH_GetDate [13:53:28]Write to MH i2c: F0 00 00 C0 11 C0 [13:53:28]Write i2c OK [13:53:28]MH_I2C_Read... [13:53:28]Read from MH i2c: F0 [13:53:28]MH_I2C_Read... [13:53:28]Read from MH i2c: F0 09 00 [13:53:28]MH_I2C_Read... [13:53:28]Read from MH i2c: F0 09 00 C0 11 00 5D 3A 22 67 5B 68 A1 66 B3 [13:53:28]GetLastDocTimeStamp 1730296204 [13:53:28]current date 1730296413 [13:53:28]FM_GetShiftState [13:53:28]SAM_PROTO_GetShiftState [13:53:28]wFMCommunicate request_size=4 [13:53:28]MH_SAM_APDU [13:53:28]CAPDU: 80 13 01 00 [13:53:28]Write to MH i2c: E2 08 00 C1 11 80 13 01 00 00 00 00 00 4F [13:53:28]Write i2c OK [13:53:28]MH_I2C_Read... [13:53:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:53:28]Read from MH i2c: E2 [13:53:28]MH_I2C_Read... [13:53:28]Read from MH i2c: E2 0E 00 [13:53:28]MH_I2C_Read... [13:53:28]Read from MH i2c: E2 0E 00 C1 11 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 10 [13:53:28]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:53:28]wFMCommunicate OK [13:53:28]SAM_PROTO_GetShiftState done [13:53:28]FM_GetShiftState done [13:53:28]opened in 1730246837 [13:53:28]opened+sec_in_day 1730333237 [13:53:28]quantity*price = 66000 [13:53:28]sum+1 = 66001 [13:53:28]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000054227 Напиток Кока-Кола 1л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870235681369 ЧИПСЫ SLANG СО ВКУСОМ СЫР 60Г 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5000159381178 Шок Батончик Баунти Трио 82,5г 1.000 * 89.00 = 89.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700041420152 Салфетки влажн BEST GOLD 20шт 1.000 * 51.00 = 51.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 4.000 * 7.00 = 28.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1048.00 НСП 1% : 9.28 НДС 12% : 111.29 Наличными: 1048.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 38 30.10.2024 13:53 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37956 ФПД: 28240984190834 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T135333&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37956&fm=28240984190834&tin=02508201610067®Number=0000000000091684&sum=104800 0 [13:53:29]StoreToDocumentArchive [13:53:29]shift 553 fd 37956 [13:53:29]save to /storage/0553/doc_00037956 [13:53:29]save last doc name /storage/0553/doc_00037956 to /storage/kkm_last_doc_name [13:53:29]save OK [13:53:29]Clear old archive folders... [13:53:29]ProcessDocumentItem done err = 0, tmpTLVsize=856 [13:53:29]tlvbuf is 01836E70 [13:53:29]SAM_PROTO_ClearQueue [13:53:29]wFMCommunicate request_size=4 [13:53:29]MH_SAM_APDU [13:53:29]CAPDU: 80 09 00 00 [13:53:29]Write to MH i2c: E2 08 00 CE 11 80 09 00 00 00 00 00 00 51 [13:53:29]Write i2c OK [13:53:29]MH_I2C_Read... [13:53:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:53:29]Read from MH i2c: E2 [13:53:29]MH_I2C_Read... [13:53:29]Read from MH i2c: E2 03 00 [13:53:29]MH_I2C_Read... [13:53:29]Read from MH i2c: E2 03 00 CE 11 00 90 00 53 [13:53:29]RAPDU: 90 00 [13:53:29]wFMCommunicate OK [13:53:29]SAM_PROTO_ClearQueue done [13:53:29]KKMCreateOFDPacket [13:53:29]OFDProtocolAddRootSTLVToBuf [13:53:29]FM_MakeSignedData [13:53:29]FM_MakeSignedData [13:53:29]SAM_PROTO_SignData [13:53:29]wFMCommunicate request_size=4 [13:53:29]MH_SAM_APDU [13:53:29]CAPDU: 80 0D 01 02 [13:53:29]Write to MH i2c: E2 08 00 CF 11 80 0D 01 02 00 00 00 00 59 [13:53:29]Write i2c OK [13:53:29]MH_I2C_Read... [13:53:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:53:29]Read from MH i2c: E2 [13:53:29]MH_I2C_Read... [13:53:29]Read from MH i2c: E2 03 00 [13:53:29]MH_I2C_Read... [13:53:29]Read from MH i2c: E2 03 00 CF 11 00 90 00 54 [13:53:29]RAPDU: 90 00 [13:53:29]wFMCommunicate OK [13:53:29]wFMCommunicate request_size=255 [13:53:29]MH_SAM_APDU [13:53:29]CAPDU: 80 0D 02 02 FA 03 00 58 03 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 35 32 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 01 01 00 00 00 13 04 06 00 D0 01 01 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 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 36 39 06 04 2E 00 D0 A7 D0 98 D0 [13:53:29]Write to MH i2c: E2 02 01 D0 11 80 0D 02 02 FA 00 03 00 58 03 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 35 32 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 01 01 00 00 00 13 04 06 00 D0 01 01 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 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 36 39 06 04 2E 00 D0 A7 D0 98 D0 00 00 C5 [13:53:29]Write i2c OK [13:53:29]MH_I2C_Read... [13:53:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:53:30]Read from MH i2c: E2 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 03 00 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 03 00 D0 11 00 90 00 55 [13:53:30]RAPDU: 90 00 [13:53:30]wFMCommunicate OK [13:53:30]wFMCommunicate request_size=255 [13:53:30]MH_SAM_APDU [13:53:30]CAPDU: 80 0D 02 02 FA 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 AB D0 A0 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 [13:53:30]Write to MH i2c: E2 02 01 D1 11 80 0D 02 02 FA 00 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 AB D0 A0 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 00 00 F5 [13:53:30]Write i2c OK [13:53:30]MH_I2C_Read... [13:53:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:53:30]Read from MH i2c: E2 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 03 00 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 03 00 D1 11 00 90 00 56 [13:53:30]RAPDU: 90 00 [13:53:30]wFMCommunicate OK [13:53:30]wFMCommunicate request_size=255 [13:53:30]MH_SAM_APDU [13:53:30]CAPDU: 80 0D 02 02 FA BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 99 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A0 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 2B 00 00 00 00 07 04 06 [13:53:30]Write to MH i2c: E2 02 01 D2 11 80 0D 02 02 FA 00 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 99 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A0 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 2B 00 00 00 00 07 04 06 00 00 A2 [13:53:30]Write i2c OK [13:53:30]MH_I2C_Read... [13:53:30]OFD Sender: No OFD packet to send [13:53:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:53:30]Read from MH i2c: E2 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 03 00 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 03 00 D2 11 00 90 00 57 [13:53:30]RAPDU: 90 00 [13:53:30]wFMCommunicate OK [13:53:30]wFMCommunicate request_size=115 [13:53:30]MH_SAM_APDU [13:53:30]CAPDU: 80 0D 02 02 6E 00 60 99 01 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 5D 3A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 44 94 00 00 35 04 06 00 19 AF 5D D4 AF 72 [13:53:30]Write to MH i2c: E2 76 00 D3 11 80 0D 02 02 6E 00 00 60 99 01 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 5D 3A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 44 94 00 00 35 04 06 00 19 AF 5D D4 AF 72 00 00 C0 [13:53:30]Write i2c OK [13:53:30]MH_I2C_Read... [13:53:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:53:30]Read from MH i2c: E2 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 03 00 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 03 00 D3 11 00 90 00 58 [13:53:30]RAPDU: 90 00 [13:53:30]wFMCommunicate OK [13:53:30]wFMCommunicate request_size=4 [13:53:30]MH_SAM_APDU [13:53:30]CAPDU: 80 0D 03 02 [13:53:30]Write to MH i2c: E2 08 00 D4 11 80 0D 03 02 00 00 00 00 60 [13:53:30]Write i2c OK [13:53:30]MH_I2C_Read... [13:53:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:53:30]Read from MH i2c: E2 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 0B 00 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 0B 00 D4 11 00 73 5A F5 A1 05 93 C0 35 90 00 51 [13:53:30]RAPDU: 73 5A F5 A1 05 93 C0 35 90 00 [13:53:30]wFMCommunicate OK [13:53:30]SAM_PROTO_SignData done [13:53:30]FM_MakeSignedData done [13:53:30]CreateOFDProtocolMessage [13:53:30]wFMCommunicate request_size=4 [13:53:30]MH_SAM_APDU [13:53:30]CAPDU: 80 11 00 00 [13:53:30]Write to MH i2c: E2 08 00 D5 11 80 11 00 00 00 00 00 00 60 [13:53:30]Write i2c OK [13:53:30]MH_I2C_Read... [13:53:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:53:31]Read from MH i2c: E2 [13:53:31]MH_I2C_Read... [13:53:31]Read from MH i2c: E2 17 00 [13:53:31]MH_I2C_Read... [13:53:31]Read from MH i2c: E2 17 00 D5 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B0 [13:53:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:53:31]wFMCommunicate OK [13:53:31]CreateOFDProtocolMessage done [13:53:31]OFDSenderStorePacket 37956 [13:53:31]StoreOFDPacket docnum=37956 [13:53:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 6C 03 00 00 5E 2B 64 03 CA 04 5A 03 01 00 03 00 58 03 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 35 32 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 01 01 00 00 00 13 04 06 00 D0 01 01 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 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 36 39 06 04 2E 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 AB D0 A0 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 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 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 99 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A0 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 2B 00 00 00 00 07 04 06 00 60 99 01 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 5D 3A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 44 94 00 00 35 04 06 00 19 AF 5D D4 AF 72 73 5A F5 A1 05 93 C0 35 [13:53:31]CheckFolder [13:53:31]dirname=/storage/ofd_packets [13:53:31]CheckFolder done [13:53:31]ProducePacketName [13:53:31]name=ofd_packets/00037956 [13:53:31]NVStorageSaveData ofd_packets/00037956 [13:53:31]File name is /storage/ofd_packets/00037956 [13:53:31]Write 906 bytes [13:53:31]NVStorageSaveData done [13:53:31]OFDSenderStorePacket done [13:53:31]KKMCreateOFDPacket done [13:53:31]NVStorageSaveData kkm_last_timestamp [13:53:31]File name is /storage/kkm_last_timestamp [13:53:31]Write 4 bytes [13:53:31]NVStorageSaveData done [13:53:31]ExternCall_PrintAddStr [13:53:31]wPrintStart [13:53:31]Write to MH i2c: 01 00 00 D6 11 E7 [13:53:31]Write i2c OK [13:53:31]MH_I2C_Read... [13:53:31]Read from MH i2c: 01 [13:53:31]MH_I2C_Read... [13:53:31]OFD Sender: Processing packet 37956 [packets to send 42, broken 41] [13:53:31]ProducePacketName [13:53:31]name=ofd_packets/00037956 [13:53:31]OFD Sender: To server: pG, [13:53:31]CommunicateWithHost lk.salyk.kg:30040 [13:53:31]ConnectInit lk.salyk.kg [13:53:31]Read from MH i2c: 01 07 00 [13:53:31]MH_I2C_Read... [13:53:31]Read from MH i2c: 01 07 00 D6 11 00 00 00 00 00 FF 0F FC [13:53:31]RasterBufferAndPrint [13:53:31]line Счет N : (3)35255 [13:53:31]line ИНН: 02508201610067 [13:53:31]line Контрольно-Кассовый Чек [13:53:31]line ПРОДАЖА [13:53:31]line Товар: 4700001060152 [13:53:31]line Коньяк Бишкек 0,5л [13:53:31]line 1.000 * 660.00 [13:53:31]line = 660.00 [13:53:31]line НДС 12% НСП 1% [13:53:31]line > о реализуемом товаре [13:53:31]line Товар: 5449000054227 [13:53:31]line Напиток Кока-Кола 1л [13:53:31]line 1.000 * 125.00 [13:53:31]line = 125.00 [13:53:31]line НДС 12% НСП 1% [13:53:31]line > о реализуемом товаре [13:53:31]line Товар: 4870235681369 [13:53:31]line ЧИПСЫ SLANG СО ВКУСОМ СЫР 60Г [13:53:31]line 1.000 * 95.00 [13:53:31]line = 95.00 [13:53:31]line НДС 12% НСП 1% [13:53:31]line > о реализуемом товаре [13:53:31]line Товар: 5000159381178 [13:53:31]line Шок Батончик Баунти Трио 82,5г [13:53:31]line 1.000 * 89.00 [13:53:31]line = 89.00 [13:53:31]line НДС 12% НСП 1% [13:53:31]line > о реализуемом товаре [13:53:31]line Товар: 4700041420152 [13:53:31]line Салфетки влажн BEST GOLD 20шт [13:53:31]line 1.000 * 51.00 [13:53:31]line = 51.00 [13:53:31]line НДС 12% НСП 1% [13:53:31]line > о реализуемом товаре [13:53:31]line Товар: 2000053020015 [13:53:31]line Бумажные стаканы 250мл 1шт [13:53:31]line 4.000 * 7.00 [13:53:31]line = 28.00 [13:53:31]line НДС 12% НСП 1% [13:53:31]line > о реализуемом товаре [13:53:31]line ИТОГО: 1048.00 [13:53:31]line НСП 1% : 9.28 [13:53:31]line НДС 12% : 111.29 [13:53:31]line Наличными: 1048.00 [13:53:31]line Безнал.: 0.00 [13:53:31]line Место: АЗС № 126 "Партнер Нефть" [13:53:31]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:53:31]line СНО: Общий режим [13:53:31]line Чек 38 30.10.2024 13:53 [13:53:31]line Смена: 553 ФФД: 1.0 [13:53:31]line ЗНМ: 0300000092 [13:53:31]line РНМ: 0000000000091684 [13:53:31]line Версия ККМ: 001 [13:53:31]line ФМ: 0000000000871841 [13:53:31]line ФД: 37956 [13:53:31]line ФПД: 28240984190834 [13:53:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T135333&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37956&fm=28240984190834&tin=02508201610067®Number=0000000000091684&sum=104800 [13:53:31]line 0 [13:53:31]written 0, free lines is 4095 [13:53:31]Connected sock=10 [13:53:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 6C 03 00 00 5E 2B 64 03 CA 04 5A 03 01 00 03 00 58 03 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 35 32 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 01 01 00 00 00 13 04 06 00 D0 01 01 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 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 36 39 06 04 2E 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 AB D0 A0 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 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 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 99 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A0 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 2B 00 00 00 00 07 04 06 00 60 99 01 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 5D 3A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 44 94 00 00 35 04 06 00 19 AF 5D D4 AF 72 73 5A F5 A1 05 93 C0 35 [13:53:32]Write to MH i2c: 01 00 00 20 12 32 [13:53:32]Write i2c OK [13:53:32]MH_I2C_Read... [13:53:32]Read from MH i2c: 01 [13:53:32]MH_I2C_Read... [13:53:32]Read from MH i2c: 01 07 00 [13:53:32]MH_I2C_Read... [13:53:32]Read from MH i2c: 01 07 00 20 12 00 00 00 00 00 7F 0A C2 [13:53:32]RasterBufferAndPrint [13:53:32]line [13:53:32]line [13:53:32]line [13:53:32]line [13:53:32]line [13:53:32]written 0, free lines is 2694 [13:53:32]MH_Cut [13:53:32]Write to MH i2c: D1 01 00 27 12 01 0B [13:53:32]Write i2c OK [13:53:32]MH_I2C_Read... [13:53:32]Read from MH i2c: D1 [13:53:32]MH_I2C_Read... [13:53:32]Read from MH i2c: D1 01 00 [13:53:32]MH_I2C_Read... [13:53:32]Read from MH i2c: D1 01 00 27 12 00 0A [13:53:32]Write to MH i2c: 01 00 00 28 12 3A [13:53:32]Write i2c OK [13:53:32]MH_I2C_Read... [13:53:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 2F BC 47 00 EE A0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 44 94 00 00 F4 03 04 00 4C E5 21 67 B6 04 01 00 00 97 6F A1 7C C5 E4 79 E1 [13:53:32]CommunicateWithHost err = 0 [13:53:32]CheckOFDResponse [13:53:32]1017 (14) - 77093643461234 [13:53:32]1041 (16) - 0000000000871841 [13:53:32]1040 (4) - 37956 [13:53:32]1012 (4) - 30.10.2024 07:50 [13:53:32]1206 (1) - 0 [13:53:32]OFD Sender: Remove packet 37956 [13:53:32]ProducePacketName [13:53:32]name=ofd_packets/00037956 [13:53:32]NVStorageDeleteData [13:53:32]OFD Sender: No OFD packet to send [13:53:33]*** Cut start [13:53:33]*** Partial cut [13:53:33]*** CUTSNS_PIN = 1 [13:53:33]*** CUTSNS_PIN = 0 [13:53:33]*** Brake cut motor [13:53:34]Read from MH i2c: 01 [13:53:34]MH_I2C_Read... [13:53:34]*** Stop cut motor [13:53:34]*** Cut end [13:53:34]Read from MH i2c: 01 07 00 [13:53:34]MH_I2C_Read... [13:53:34]Read from MH i2c: 01 07 00 28 12 00 00 00 00 00 FF 0F 4F [13:53:34]process_action close_receipt done [13:53:34]requested_data is exist [13:53:34]produce_requested_data [13:53:34]requested_item fm.sn is exist - process it [13:53:34]wFMCommunicate request_size=4 [13:53:34]MH_SAM_APDU [13:53:34]CAPDU: 80 11 00 00 [13:53:34]Write to MH i2c: E2 08 00 29 12 80 11 00 00 00 00 00 00 B5 [13:53:34]Write i2c OK [13:53:34]MH_I2C_Read... [13:53:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:53:34]Read from MH i2c: E2 [13:53:34]MH_I2C_Read... [13:53:34]Read from MH i2c: E2 17 00 [13:53:34]MH_I2C_Read... [13:53:34]Read from MH i2c: E2 17 00 29 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 05 [13:53:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:53:34]wFMCommunicate OK [13:53:34]requested_item fd.num is exist - process it [13:53:34]SAM_PROTO_GetFieldsCounters [13:53:34]wFMCommunicate request_size=4 [13:53:34]MH_SAM_APDU [13:53:34]CAPDU: 80 13 00 00 [13:53:34]Write to MH i2c: E2 08 00 2A 12 80 13 00 00 00 00 00 00 B8 [13:53:34]Write i2c OK [13:53:34]MH_I2C_Read... [13:53:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:53:34]Read from MH i2c: E2 [13:53:34]MH_I2C_Read... [13:53:34]Read from MH i2c: E2 62 00 [13:53:34]MH_I2C_Read... [13:53:34]Read from MH i2c: E2 62 00 2A 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 44 94 00 00 0E 04 04 00 29 02 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 4E [13:53:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 44 94 00 00 0E 04 04 00 29 02 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:53:34]wFMCommunicate OK [13:53:34]SAM_PROTO_GetFieldsCounters done [13:53:34]requested_item shift.num is exist - process it [13:53:34]requested_item shift.opened is exist - process it [13:53:34]req_shift_opened [13:53:34]FM_GetShiftState [13:53:34]SAM_PROTO_GetShiftState [13:53:34]wFMCommunicate request_size=4 [13:53:34]MH_SAM_APDU [13:53:34]CAPDU: 80 13 01 00 [13:53:34]Write to MH i2c: E2 08 00 2B 12 80 13 01 00 00 00 00 00 BA [13:53:34]Write i2c OK [13:53:34]MH_I2C_Read... [13:53:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:53:34]Read from MH i2c: E2 [13:53:34]MH_I2C_Read... [13:53:34]Read from MH i2c: E2 0E 00 [13:53:34]MH_I2C_Read... [13:53:34]Read from MH i2c: E2 0E 00 2B 12 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 7B [13:53:34]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [13:53:34]wFMCommunicate OK [13:53:34]SAM_PROTO_GetShiftState done [13:53:34]FM_GetShiftState done [13:53:34]req_shift_opened done [13:53:34]requested_item shift.open_date is exist - process it [13:53:34]req_shift_open_date [13:53:34]req_shift_open_date done [13:53:34]produce_requested_data done [13:53:34]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37956,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [13:53:34]process_action_free close_receipt [13:53:34]json_value_free [13:53:34]json_value_free done [13:53:34]process_json_proto returns [13:53:34]Send response to host [13:53:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37956,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [13:53:34]free response buf [13:53:34]execute_script done [13:53:34]execute_script returns [13:53:34]free content buf [13:53:34]Sock 9.Close socket [13:53:34]Sock 9.Thread stoped [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:32]OFD Sender: No OFD packet to send [13:57:37]OFD Sender: No OFD packet to send [13:57:42]OFD Sender: No OFD packet to send [13:57:47]OFD Sender: No OFD packet to send [13:57:52]OFD Sender: No OFD packet to send [13:57:57]OFD Sender: No OFD packet to send [13:58:02]OFD Sender: No OFD packet to send [13:58:07]OFD Sender: No OFD packet to send [13:58:12]OFD Sender: No OFD packet to send [13:58:17]OFD Sender: No OFD packet to send [13:58:22]OFD Sender: No OFD packet to send [13:58:27]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:48]OFD Sender: No OFD packet to send [14:12:53]OFD Sender: No OFD packet to send [14:12:58]OFD Sender: No OFD packet to send [14:13:03]OFD Sender: No OFD packet to send [14:13:08]OFD Sender: No OFD packet to send [14:13:13]OFD Sender: No OFD packet to send [14:13:18]OFD Sender: No OFD packet to send [14:13:23]OFD Sender: No OFD packet to send [14:13:28]OFD Sender: No OFD packet to send [14:13:33]OFD Sender: No OFD packet to send [14:13:38]OFD Sender: No OFD packet to send [14:13:43]OFD Sender: No OFD packet to send [14:13:48]OFD Sender: No OFD packet to send [14:13:53]OFD Sender: No OFD packet to send [14:13:58]OFD Sender: No OFD packet to send [14:14:03]OFD Sender: No OFD packet to send [14:14:08]OFD Sender: No OFD packet to send [14:14:13]OFD Sender: No OFD packet to send [14:14:18]OFD Sender: No OFD packet to send [14:14:23]OFD Sender: No OFD packet to send [14:14:28]OFD Sender: No OFD packet to send [14:14:33]OFD Sender: No OFD packet to send [14:14:38]OFD Sender: No OFD packet to send [14:14:43]OFD Sender: No OFD packet to send [14:14:48]OFD Sender: No OFD packet to send [14:14:53]OFD Sender: No OFD packet to send [14:14:58]OFD Sender: No OFD packet to send [14:15:03]OFD Sender: No OFD packet to send [14:15:08]OFD Sender: No OFD packet to send [14:15:13]OFD Sender: No OFD packet to send [14:15:18]OFD Sender: No OFD packet to send [14:15:23]OFD Sender: No OFD packet to send [14:15:28]OFD Sender: No OFD packet to send [14:15:33]OFD Sender: No OFD packet to send [14:15:38]OFD Sender: No OFD packet to send [14:15:43]OFD Sender: No OFD packet to send [14:15:48]OFD Sender: No OFD packet to send [14:15:53]OFD Sender: No OFD packet to send [14:15:58]OFD Sender: No OFD packet to send [14:16:03]OFD Sender: No OFD packet to send [14:16:08]OFD Sender: No OFD packet to send [14:16:13]OFD Sender: No OFD packet to send [14:16:18]OFD Sender: No OFD packet to send [14:16:23]OFD Sender: No OFD packet to send [14:16:28]OFD Sender: No OFD packet to send [14:16:33]OFD Sender: No OFD packet to send [14:16:38]OFD Sender: No OFD packet to send [14:16:43]OFD Sender: No OFD packet to send [14:16:48]OFD Sender: No OFD packet to send [14:16:53]OFD Sender: No OFD packet to send [14:16:58]OFD Sender: No OFD packet to send [14:17:03]OFD Sender: No OFD packet to send [14:17:08]OFD Sender: No OFD packet to send [14:17:13]OFD Sender: No OFD packet to send [14:17: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:44]accept exits with 7 [14:21:44]New connection [14:21:44]New thread 3067207012 created [14:21:44]Thread 3067063652 joined [14:21:44]Waiting for new connection... [14:21:44] Sock 7.Parse request [14:21:44]Sock 7.Check first char [14:21:44]Sock 7.First char is OK [14:21:44]request: POST /json_proto HTTP/1.0 [14:21:44]Method: POST [14:21:44]URL: /json_proto [14:21:44]Method is POST - this is cgi request [14:21:44]url: /json_proto [14:21:44]query_string will be loaded in cgi processing [14:21:44]execute_cgi json_proto POST (null) [14:21:44]execute_cgi path=json_proto method=POST [14:21:44]POST find Content-Length [14:21:44]Host: 172.17.40.196:8080 [14:21:44]Content-Length: 620 [14:21:44]Content-Type: application/json [14:21:44] [14:21:44]POST finish read [14:21:44]Found Content-Length = 620 [14:21:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35256", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:21:44]execute_script... [14:21: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)35256", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:21:44]POST & json_proto [14:21:44]process_json_proto [14:21:44]json parsed OK: [14:21:44]protocol is kg_v1.0 [14:21:44]action value=close_receipt [14:21:44]process_action close_receipt [14:21:44]cmd_close_receipt [14:21:44]MH_GetDate [14:21:44]Write to MH i2c: F0 00 00 2C 12 2D [14:21:44]Write i2c OK [14:21:44]MH_I2C_Read... [14:21:44]Read from MH i2c: F0 [14:21:44]MH_I2C_Read... [14:21:44]Read from MH i2c: F0 09 00 [14:21:44]MH_I2C_Read... [14:21:44]Read from MH i2c: F0 09 00 2C 12 00 FD 40 22 67 5B 68 A1 66 C6 [14:21:44]GetLastDocTimeStamp 1730296413 [14:21:44]current date 1730298109 [14:21:44]FM_GetShiftState [14:21:44]SAM_PROTO_GetShiftState [14:21:44]wFMCommunicate request_size=4 [14:21:44]MH_SAM_APDU [14:21:44]CAPDU: 80 13 01 00 [14:21:44]Write to MH i2c: E2 08 00 2D 12 80 13 01 00 00 00 00 00 BC [14:21:44]Write i2c OK [14:21:44]MH_I2C_Read... [14:21:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:21:45]Read from MH i2c: E2 [14:21:45]MH_I2C_Read... [14:21:45]Read from MH i2c: E2 0E 00 [14:21:45]MH_I2C_Read... [14:21:45]Read from MH i2c: E2 0E 00 2D 12 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 7D [14:21:45]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [14:21:45]wFMCommunicate OK [14:21:45]SAM_PROTO_GetShiftState done [14:21:45]FM_GetShiftState done [14:21:45]opened in 1730246837 [14:21:45]opened+sec_in_day 1730333237 [14:21:45]quantity*price = 28800 [14:21:45]sum+1 = 28801 [14:21:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.55 НДС 12% : 30.58 Наличными: 288.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 39 30.10.2024 14:21 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37957 ФПД: 111537314439717 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T142149&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37957&fm=111537314439717&tin=02508201610067®Number=0000000000091684&sum=28800 0 [14:21:46]StoreToDocumentArchive [14:21:46]shift 553 fd 37957 [14:21:46]save to /storage/0553/doc_00037957 [14:21:46]save last doc name /storage/0553/doc_00037957 to /storage/kkm_last_doc_name [14:21:46]save OK [14:21:46]Clear old archive folders... [14:21:46]ProcessDocumentItem done err = 0, tmpTLVsize=273 [14:21:46]tlvbuf is 01906200 [14:21:46]SAM_PROTO_ClearQueue [14:21:46]wFMCommunicate request_size=4 [14:21:46]MH_SAM_APDU [14:21:46]CAPDU: 80 09 00 00 [14:21:46]Write to MH i2c: E2 08 00 3A 12 80 09 00 00 00 00 00 00 BE [14:21:46]Write i2c OK [14:21:46]MH_I2C_Read... [14:21:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:21:46]Read from MH i2c: E2 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 3A 12 00 90 00 C0 [14:21:46]RAPDU: 90 00 [14:21:46]wFMCommunicate OK [14:21:46]SAM_PROTO_ClearQueue done [14:21:46]KKMCreateOFDPacket [14:21:46]OFDProtocolAddRootSTLVToBuf [14:21:46]FM_MakeSignedData [14:21:46]FM_MakeSignedData [14:21:46]SAM_PROTO_SignData [14:21:46]wFMCommunicate request_size=4 [14:21:46]MH_SAM_APDU [14:21:46]CAPDU: 80 0D 01 02 [14:21:46]Write to MH i2c: E2 08 00 3B 12 80 0D 01 02 00 00 00 00 C6 [14:21:46]Write i2c OK [14:21:46]MH_I2C_Read... [14:21:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:21:46]Read from MH i2c: E2 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 3B 12 00 90 00 C1 [14:21:46]RAPDU: 90 00 [14:21:46]wFMCommunicate OK [14:21:46]wFMCommunicate request_size=255 [14:21:46]MH_SAM_APDU [14:21:46]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 FD 40 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [14:21:46]Write to MH i2c: E2 02 01 3C 12 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 FD 40 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 0A [14:21:46]Write i2c OK [14:21:46]MH_I2C_Read... [14:21:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:21:46]Read from MH i2c: E2 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 3C 12 00 90 00 C2 [14:21:46]RAPDU: 90 00 [14:21:46]wFMCommunicate OK [14:21:46]wFMCommunicate request_size=32 [14:21:46]MH_SAM_APDU [14:21:46]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 45 94 00 00 35 04 06 00 65 71 4E 01 A2 25 [14:21:46]Write to MH i2c: E2 23 00 3D 12 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 45 94 00 00 35 04 06 00 65 71 4E 01 A2 25 00 00 E8 [14:21:46]Write i2c OK [14:21:46]MH_I2C_Read... [14:21:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:21:46]Read from MH i2c: E2 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 03 00 3D 12 00 90 00 C3 [14:21:46]RAPDU: 90 00 [14:21:46]wFMCommunicate OK [14:21:46]wFMCommunicate request_size=4 [14:21:46]MH_SAM_APDU [14:21:46]CAPDU: 80 0D 03 02 [14:21:46]Write to MH i2c: E2 08 00 3E 12 80 0D 03 02 00 00 00 00 CB [14:21:46]Write i2c OK [14:21:46]MH_I2C_Read... [14:21:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:21:46]Read from MH i2c: E2 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 0B 00 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 0B 00 3E 12 00 38 E6 2A 09 2D A5 4A BC 90 00 F5 [14:21:46]RAPDU: 38 E6 2A 09 2D A5 4A BC 90 00 [14:21:46]wFMCommunicate OK [14:21:46]SAM_PROTO_SignData done [14:21:46]FM_MakeSignedData done [14:21:46]CreateOFDProtocolMessage [14:21:46]wFMCommunicate request_size=4 [14:21:46]MH_SAM_APDU [14:21:46]CAPDU: 80 11 00 00 [14:21:46]Write to MH i2c: E2 08 00 3F 12 80 11 00 00 00 00 00 00 CB [14:21:46]Write i2c OK [14:21:46]MH_I2C_Read... [14:21:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:21:46]Read from MH i2c: E2 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 17 00 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: E2 17 00 3F 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1B [14:21:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:21:46]wFMCommunicate OK [14:21:46]CreateOFDProtocolMessage done [14:21:46]OFDSenderStorePacket 37957 [14:21:46]StoreOFDPacket docnum=37957 [14:21:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 C2 5A 1D 01 85 B9 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 FD 40 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 45 94 00 00 35 04 06 00 65 71 4E 01 A2 25 38 E6 2A 09 2D A5 4A BC [14:21:46]CheckFolder [14:21:46]dirname=/storage/ofd_packets [14:21:46]CheckFolder done [14:21:46]ProducePacketName [14:21:46]name=ofd_packets/00037957 [14:21:46]NVStorageSaveData ofd_packets/00037957 [14:21:46]File name is /storage/ofd_packets/00037957 [14:21:46]Write 323 bytes [14:21:46]NVStorageSaveData done [14:21:46]OFDSenderStorePacket done [14:21:46]KKMCreateOFDPacket done [14:21:46]NVStorageSaveData kkm_last_timestamp [14:21:46]File name is /storage/kkm_last_timestamp [14:21:46]Write 4 bytes [14:21:46]NVStorageSaveData done [14:21:46]ExternCall_PrintAddStr [14:21:46]wPrintStart [14:21:46]Write to MH i2c: 01 00 00 40 12 52 [14:21:46]Write i2c OK [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: 01 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: 01 07 00 [14:21:46]MH_I2C_Read... [14:21:46]Read from MH i2c: 01 07 00 40 12 00 00 00 00 00 FF 0F 67 [14:21:46]RasterBufferAndPrint [14:21:46]line Счет N : (3)35256 [14:21:46]line ИНН: 02508201610067 [14:21:46]line Контрольно-Кассовый Чек [14:21:46]line ПРОДАЖА [14:21:46]line Товар: 48747059 [14:21:46]line Сигареты Winston Legend Blue [14:21:46]line 2.000 * 144.00 [14:21:46]line = 288.00 [14:21:46]line НДС 12% НСП 1% [14:21:46]line > о реализуемом товаре [14:21:46]line ИТОГО: 288.00 [14:21:46]line НСП 1% : 2.55 [14:21:46]line НДС 12% : 30.58 [14:21:46]line Наличными: 288.00 [14:21:46]line Безнал.: 0.00 [14:21:46]line Место: АЗС № 126 "Партнер Нефть" [14:21:46]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [14:21:46]line СНО: Общий режим [14:21:46]line Чек 39 30.10.2024 14:21 [14:21:46]line Смена: 553 ФФД: 1.0 [14:21:46]line ЗНМ: 0300000092 [14:21:46]line РНМ: 0000000000091684 [14:21:46]line Версия ККМ: 001 [14:21:46]line ФМ: 0000000000871841 [14:21:46]line ФД: 37957 [14:21:46]line ФПД: 111537314439717 [14:21:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T142149&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37957&fm=111537314439717&tin=02508201610067®Number=0000000000091684&sum=28800 [14:21:46]line 0 [14:21:46]written 0, free lines is 4095 [14:21:46]OFD Sender: Processing packet 37957 [packets to send 42, broken 41] [14:21:46]ProducePacketName [14:21:46]name=ofd_packets/00037957 [14:21:46]OFD Sender: To server: pG, [14:21:46]CommunicateWithHost lk.salyk.kg:30040 [14:21:46]ConnectInit lk.salyk.kg [14:21:47]Write to MH i2c: 01 00 00 69 12 7B [14:21:47]Write i2c OK [14:21:47]MH_I2C_Read... [14:21:47]Read from MH i2c: 01 [14:21:47]MH_I2C_Read... [14:21:47]Read from MH i2c: 01 07 00 [14:21:47]MH_I2C_Read... [14:21:47]Read from MH i2c: 01 07 00 69 12 00 00 00 00 00 AD 0C 3B [14:21:47]RasterBufferAndPrint [14:21:47]line [14:21:47]line [14:21:47]line [14:21:47]line [14:21:47]line [14:21:47]written 0, free lines is 3248 [14:21:47]MH_Cut [14:21:47]Write to MH i2c: D1 01 00 70 12 01 54 [14:21:47]Write i2c OK [14:21:47]MH_I2C_Read... [14:21:47]Read from MH i2c: D1 [14:21:47]MH_I2C_Read... [14:21:47]Read from MH i2c: D1 01 00 [14:21:47]MH_I2C_Read... [14:21:47]Read from MH i2c: D1 01 00 70 12 00 53 [14:21:47]Write to MH i2c: 01 00 00 71 12 83 [14:21:47]Write i2c OK [14:21:47]MH_I2C_Read... [14:21:47]Connected sock=9 [14:21:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 C2 5A 1D 01 85 B9 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 FD 40 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 45 94 00 00 35 04 06 00 65 71 4E 01 A2 25 38 E6 2A 09 2D A5 4A BC [14:21:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 5C CF 47 00 08 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 38 37 31 38 34 31 10 04 04 00 45 94 00 00 F4 03 04 00 EC EB 21 67 B6 04 01 00 00 08 08 27 4B 52 3B D9 13 [14:21:47]CommunicateWithHost err = 0 [14:21:47]CheckOFDResponse [14:21:47]1017 (14) - 77093643461234 [14:21:47]1041 (16) - 0000000000871841 [14:21:47]1040 (4) - 37957 [14:21:47]1012 (4) - 30.10.2024 08:18 [14:21:47]1206 (1) - 0 [14:21:47]OFD Sender: Remove packet 37957 [14:21:47]ProducePacketName [14:21:47]name=ofd_packets/00037957 [14:21:47]NVStorageDeleteData [14:21:47]*** Cut start [14:21:47]*** Partial cut [14:21:47]*** CUTSNS_PIN = 1 [14:21:47]*** CUTSNS_PIN = 0 [14:21:48]OFD Sender: No OFD packet to send [14:21:48]*** Brake cut motor [14:21:48]Read from MH i2c: 01 [14:21:48]MH_I2C_Read... [14:21:48]*** Stop cut motor [14:21:48]*** Cut end [14:21:48]Read from MH i2c: 01 07 00 [14:21:48]MH_I2C_Read... [14:21:48]Read from MH i2c: 01 07 00 71 12 00 00 00 00 00 FF 0F 98 [14:21:48]process_action close_receipt done [14:21:48]requested_data is exist [14:21:48]produce_requested_data [14:21:48]requested_item fm.sn is exist - process it [14:21:48]wFMCommunicate request_size=4 [14:21:48]MH_SAM_APDU [14:21:48]CAPDU: 80 11 00 00 [14:21:48]Write to MH i2c: E2 08 00 72 12 80 11 00 00 00 00 00 00 FE [14:21:48]Write i2c OK [14:21:48]MH_I2C_Read... [14:21:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:21:48]Read from MH i2c: E2 [14:21:48]MH_I2C_Read... [14:21:48]Read from MH i2c: E2 17 00 [14:21:48]MH_I2C_Read... [14:21:48]Read from MH i2c: E2 17 00 72 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4E [14:21:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:21:48]wFMCommunicate OK [14:21:48]requested_item fd.num is exist - process it [14:21:48]SAM_PROTO_GetFieldsCounters [14:21:48]wFMCommunicate request_size=4 [14:21:48]MH_SAM_APDU [14:21:48]CAPDU: 80 13 00 00 [14:21:48]Write to MH i2c: E2 08 00 73 12 80 13 00 00 00 00 00 00 01 [14:21:48]Write i2c OK [14:21:48]MH_I2C_Read... [14:21:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:21:48]Read from MH i2c: E2 [14:21:48]MH_I2C_Read... [14:21:48]Read from MH i2c: E2 62 00 [14:21:48]MH_I2C_Read... [14:21:48]Read from MH i2c: E2 62 00 73 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 45 94 00 00 0E 04 04 00 29 02 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 9B [14:21:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 45 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:21:48]wFMCommunicate OK [14:21:48]SAM_PROTO_GetFieldsCounters done [14:21:48]requested_item shift.num is exist - process it [14:21:48]requested_item shift.opened is exist - process it [14:21:48]req_shift_opened [14:21:48]FM_GetShiftState [14:21:48]SAM_PROTO_GetShiftState [14:21:48]wFMCommunicate request_size=4 [14:21:48]MH_SAM_APDU [14:21:48]CAPDU: 80 13 01 00 [14:21:48]Write to MH i2c: E2 08 00 74 12 80 13 01 00 00 00 00 00 03 [14:21:48]Write i2c OK [14:21:48]MH_I2C_Read... [14:21:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:21:48]Read from MH i2c: E2 [14:21:48]MH_I2C_Read... [14:21:48]Read from MH i2c: E2 0E 00 [14:21:48]MH_I2C_Read... [14:21:48]Read from MH i2c: E2 0E 00 74 12 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 C4 [14:21:48]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [14:21:48]wFMCommunicate OK [14:21:48]SAM_PROTO_GetShiftState done [14:21:48]FM_GetShiftState done [14:21:48]req_shift_opened done [14:21:48]requested_item shift.open_date is exist - process it [14:21:48]req_shift_open_date [14:21:48]req_shift_open_date done [14:21:48]produce_requested_data done [14:21:48]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37957,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [14:21:48]process_action_free close_receipt [14:21:48]json_value_free [14:21:48]json_value_free done [14:21:48]process_json_proto returns [14:21:48]Send response to host [14:21:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37957,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [14:21:48]free response buf [14:21:48]execute_script done [14:21:48]execute_script returns [14:21:48]free content buf [14:21:48]Sock 7.Close socket [14:21:48]Sock 7.Thread stoped [14:21:53]OFD Sender: No OFD packet to send [14:21:58]OFD Sender: No OFD packet to send [14:22:03]OFD Sender: No OFD packet to send [14:22:08]OFD Sender: No OFD packet to send [14:22:13]OFD Sender: No OFD packet to send [14:22:18]OFD Sender: No OFD packet to send [14:22:23]OFD Sender: No OFD packet to send [14:22:28]OFD Sender: No OFD packet to send [14:22:33]OFD Sender: No OFD packet to send [14:22:38]OFD Sender: No OFD packet to send [14:22:43]OFD Sender: No OFD packet to send [14:22:48]OFD Sender: No OFD packet to send [14:22:53]OFD Sender: No OFD packet to send [14:22:58]OFD Sender: No OFD packet to send [14:23:03]OFD Sender: No OFD packet to send [14:23:08]OFD Sender: No OFD packet to send [14:23:13]OFD Sender: No OFD packet to send [14:23:18]OFD Sender: No OFD packet to send [14:23:23]OFD Sender: No OFD packet to send [14:23:28]OFD Sender: No OFD packet to send [14:23:33]OFD Sender: No OFD packet to send [14:23:38]OFD Sender: No OFD packet to send [14:23:43]OFD Sender: No OFD packet to send [14:23:48]OFD Sender: No OFD packet to send [14:23:53]OFD Sender: No OFD packet to send [14:23:58]OFD Sender: No OFD packet to send [14:24:03]OFD Sender: No OFD packet to send [14:24:08]OFD Sender: No OFD packet to send [14:24:13]OFD Sender: No OFD packet to send [14:24:18]OFD Sender: No OFD packet to send [14:24:23]OFD Sender: No OFD packet to send [14:24:28]OFD Sender: No OFD packet to send [14:24:33]OFD Sender: No OFD packet to send [14:24:38]OFD Sender: No OFD packet to send [14:24:43]OFD Sender: No OFD packet to send [14:24:48]OFD Sender: No OFD packet to send [14:24:53]OFD Sender: No OFD packet to send [14:24:58]OFD Sender: No OFD packet to send [14:25:03]OFD Sender: No OFD packet to send [14:25:08]OFD Sender: No OFD packet to send [14:25:13]OFD Sender: No OFD packet to send [14:25:18]OFD Sender: No OFD packet to send [14:25:23]OFD Sender: No OFD packet to send [14:25:28]OFD Sender: No OFD packet to send [14:25:33]OFD Sender: No OFD packet to send [14:25:38]OFD Sender: No OFD packet to send [14:25:43]OFD Sender: No OFD packet to send [14:25:48]OFD Sender: No OFD packet to send [14:25:53]OFD Sender: No OFD packet to send [14:25:58]OFD Sender: No OFD packet to send [14:26:03]OFD Sender: No OFD packet to send [14:26:08]OFD Sender: No OFD packet to send [14:26:13]OFD Sender: No OFD packet to send [14:26:18]OFD Sender: No OFD packet to send [14:26:23]OFD Sender: No OFD packet to send [14:26:28]OFD Sender: No OFD packet to send [14:26:33]OFD Sender: No OFD packet to send [14:26:38]OFD Sender: No OFD packet to send [14:26:43]OFD Sender: No OFD packet to send [14:26:48]OFD Sender: No OFD packet to send [14:26:53]OFD Sender: No OFD packet to send [14:26:58]OFD Sender: No OFD packet to send [14:27:03]OFD Sender: No OFD packet to send [14:27:08]OFD Sender: No OFD packet to send [14:27:13]OFD Sender: No OFD packet to send [14:27:18]OFD Sender: No OFD packet to send [14:27:23]OFD Sender: No OFD packet to send [14:27:28]OFD Sender: No OFD packet to send [14:27:33]OFD Sender: No OFD packet to send [14:27:38]OFD Sender: No OFD packet to send [14:27:43]OFD Sender: No OFD packet to send [14:27:48]OFD Sender: No OFD packet to send [14:27:53]OFD Sender: No OFD packet to send [14:27:58]OFD Sender: No OFD packet to send [14:28:03]OFD Sender: No OFD packet to send [14:28:08]OFD Sender: No OFD packet to send [14:28:13]OFD Sender: No OFD packet to send [14:28:18]OFD Sender: No OFD packet to send [14:28:23]OFD Sender: No OFD packet to send [14:28:28]OFD Sender: No OFD packet to send [14:28:33]OFD Sender: No OFD packet to send [14:28:38]OFD Sender: No OFD packet to send [14:28:43]OFD Sender: No OFD packet to send [14:28:48]OFD Sender: No OFD packet to send [14:28:53]OFD Sender: No OFD packet to send [14:28:58]OFD Sender: No OFD packet to send [14:29:03]OFD Sender: No OFD packet to send [14:29:08]OFD Sender: No OFD packet to send [14:29:13]OFD Sender: No OFD packet to send [14:29:18]OFD Sender: No OFD packet to send [14:29:23]OFD Sender: No OFD packet to send [14:29:28]OFD Sender: No OFD packet to send [14:29:33]OFD Sender: No OFD packet to send [14:29:38]OFD Sender: No OFD packet to send [14:29:43]OFD Sender: No OFD packet to send [14:29:48]OFD Sender: No OFD packet to send [14:29:53]OFD Sender: No OFD packet to send [14:29:58]OFD Sender: No OFD packet to send [14:30:03]OFD Sender: No OFD packet to send [14:30:08]OFD Sender: No OFD packet to send [14:30:13]OFD Sender: No OFD packet to send [14:30:18]OFD Sender: No OFD packet to send [14:30:23]OFD Sender: No OFD packet to send [14:30:28]OFD Sender: No OFD packet to send [14:30:33]OFD Sender: No OFD packet to send [14:30:38]OFD Sender: No OFD packet to send [14:30:43]OFD Sender: No OFD packet to send [14:30:48]OFD Sender: No OFD packet to send [14:30:53]OFD Sender: No OFD packet to send [14:30:58]OFD Sender: No OFD packet to send [14:31:03]OFD Sender: No OFD packet to send [14:31:08]OFD Sender: No OFD packet to send [14:31:13]OFD Sender: No OFD packet to send [14:31:18]OFD Sender: No OFD packet to send [14:31:23]OFD Sender: No OFD packet to send [14:31:28]OFD Sender: No OFD packet to send [14:31:33]OFD Sender: No OFD packet to send [14:31:38]OFD Sender: No OFD packet to send [14:31:43]OFD Sender: No OFD packet to send [14:31:48]OFD Sender: No OFD packet to send [14:31:53]OFD Sender: No OFD packet to send [14:31:58]OFD Sender: No OFD packet to send [14:32:03]OFD Sender: No OFD packet to send [14:32:08]OFD Sender: No OFD packet to send [14:32:13]OFD Sender: No OFD packet to send [14:32:18]OFD Sender: No OFD packet to send [14:32:23]OFD Sender: No OFD packet to send [14:32:28]OFD Sender: No OFD packet to send [14:32:33]OFD Sender: No OFD packet to send [14:32:38]OFD Sender: No OFD packet to send [14:32:43]OFD Sender: No OFD packet to send [14:32:48]OFD Sender: No OFD packet to send [14:32:53]OFD Sender: No OFD packet to send [14:32:58]OFD Sender: No OFD packet to send [14:33:03]OFD Sender: No OFD packet to send [14:33:08]OFD Sender: No OFD packet to send [14:33:13]OFD Sender: No OFD packet to send [14:33:18]OFD Sender: No OFD packet to send [14:33:23]OFD Sender: No OFD packet to send [14:33:28]OFD Sender: No OFD packet to send [14:33:33]OFD Sender: No OFD packet to send [14:33:38]OFD Sender: No OFD packet to send [14:33:43]OFD Sender: No OFD packet to send [14:33:48]OFD Sender: No OFD packet to send [14:33:53]OFD Sender: No OFD packet to send [14:33:58]OFD Sender: No OFD packet to send [14:34:03]OFD Sender: No OFD packet to send [14:34:08]OFD Sender: No OFD packet to send [14:34:13]OFD Sender: No OFD packet to send [14:34:18]OFD Sender: No OFD packet to send [14:34:23]OFD Sender: No OFD packet to send [14:34:28]OFD Sender: No OFD packet to send [14:34:33]OFD Sender: No OFD packet to send [14:34:38]OFD Sender: No OFD packet to send [14:34:43]OFD Sender: No OFD packet to send [14:34:48]OFD Sender: No OFD packet to send [14:34:53]OFD Sender: No OFD packet to send [14:34:58]OFD Sender: No OFD packet to send [14:35:03]OFD Sender: No OFD packet to send [14:35:08]OFD Sender: No OFD packet to send [14:35:13]OFD Sender: No OFD packet to send [14:35:18]OFD Sender: No OFD packet to send [14:35:23]OFD Sender: No OFD packet to send [14:35:28]OFD Sender: No OFD packet to send [14:35:33]OFD Sender: No OFD packet to send [14:35:38]OFD Sender: No OFD packet to send [14:35:43]accept exits with 10 [14:35:43]New connection [14:35:43]New thread 3067063652 created [14:35:43]Thread 3067207012 joined [14:35:43]Waiting for new connection... [14:35:43] Sock 10.Parse request [14:35:43]Sock 10.Check first char [14:35:43]Sock 10.First char is OK [14:35:43]request: POST /json_proto HTTP/1.0 [14:35:43]Method: POST [14:35:43]URL: /json_proto [14:35:43]Method is POST - this is cgi request [14:35:43]url: /json_proto [14:35:43]query_string will be loaded in cgi processing [14:35:43]execute_cgi json_proto POST (null) [14:35:43]execute_cgi path=json_proto method=POST [14:35:43]POST find Content-Length [14:35:43]Host: 172.17.40.196:8080 [14:35:43]Content-Length: 695 [14:35:43]Content-Type: application/json [14:35:43] [14:35:43]POST finish read [14:35:43]Found Content-Length = 695 [14:35:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35257", "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" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:35:43]execute_script... [14:35: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)35257", "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" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:35:43]POST & json_proto [14:35:43]process_json_proto [14:35:43]json parsed OK: [14:35:43]protocol is kg_v1.0 [14:35:43]action value=close_receipt [14:35:43]process_action close_receipt [14:35:43]cmd_close_receipt [14:35:43]MH_GetDate [14:35:43]Write to MH i2c: F0 00 00 75 12 76 [14:35:43]Write i2c OK [14:35:43]MH_I2C_Read... [14:35:43]Read from MH i2c: F0 [14:35:43]MH_I2C_Read... [14:35:43]Read from MH i2c: F0 09 00 [14:35:43]MH_I2C_Read... [14:35:43]Read from MH i2c: F0 09 00 75 12 00 44 44 22 67 5B 68 A1 66 5A [14:35:43]GetLastDocTimeStamp 1730298109 [14:35:43]current date 1730298948 [14:35:43]FM_GetShiftState [14:35:43]SAM_PROTO_GetShiftState [14:35:43]wFMCommunicate request_size=4 [14:35:43]MH_SAM_APDU [14:35:43]CAPDU: 80 13 01 00 [14:35:43]Write to MH i2c: E2 08 00 76 12 80 13 01 00 00 00 00 00 05 [14:35:43]Write i2c OK [14:35:43]MH_I2C_Read... [14:35:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:35:43]Read from MH i2c: E2 [14:35:43]MH_I2C_Read... [14:35:43]Read from MH i2c: E2 0E 00 [14:35:43]MH_I2C_Read... [14:35:43]Read from MH i2c: E2 0E 00 76 12 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 C6 [14:35:43]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [14:35:43]wFMCommunicate OK [14:35:43]SAM_PROTO_GetShiftState done [14:35:43]FM_GetShiftState done [14:35:43]opened in 1730246837 [14:35:43]opened+sec_in_day 1730333237 [14:35:43]quantity*price = 9500 [14:35:43]sum+1 = 9501 [14:35:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 40 30.10.2024 14:35 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37958 ФПД: 53166588676027 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T143548&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37958&fm=53166588676027&tin=02508201610067®Number=0000000000091684&sum=9500 0 [14:35:44]StoreToDocumentArchive [14:35:44]shift 553 fd 37958 [14:35:44]save to /storage/0553/doc_00037958 [14:35:44]save last doc name /storage/0553/doc_00037958 to /storage/kkm_last_doc_name [14:35:44]save OK [14:35:44]Clear old archive folders... [14:35:44]ProcessDocumentItem done err = 0, tmpTLVsize=299 [14:35:44]tlvbuf is 01905E60 [14:35:44]SAM_PROTO_ClearQueue [14:35:44]wFMCommunicate request_size=4 [14:35:44]MH_SAM_APDU [14:35:44]CAPDU: 80 09 00 00 [14:35:44]Write to MH i2c: E2 08 00 83 12 80 09 00 00 00 00 00 00 07 [14:35:44]Write i2c OK [14:35:44]MH_I2C_Read... [14:35:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:35:44]Read from MH i2c: E2 [14:35:44]MH_I2C_Read... [14:35:44]Read from MH i2c: E2 03 00 [14:35:44]MH_I2C_Read... [14:35:44]Read from MH i2c: E2 03 00 83 12 00 90 00 09 [14:35:44]RAPDU: 90 00 [14:35:44]wFMCommunicate OK [14:35:44]SAM_PROTO_ClearQueue done [14:35:44]KKMCreateOFDPacket [14:35:44]OFDProtocolAddRootSTLVToBuf [14:35:44]FM_MakeSignedData [14:35:44]FM_MakeSignedData [14:35:44]SAM_PROTO_SignData [14:35:44]wFMCommunicate request_size=4 [14:35:44]MH_SAM_APDU [14:35:44]CAPDU: 80 0D 01 02 [14:35:44]Write to MH i2c: E2 08 00 84 12 80 0D 01 02 00 00 00 00 0F [14:35:44]Write i2c OK [14:35:44]MH_I2C_Read... [14:35:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:35:44]Read from MH i2c: E2 [14:35:44]MH_I2C_Read... [14:35:44]Read from MH i2c: E2 03 00 [14:35:44]MH_I2C_Read... [14:35:44]Read from MH i2c: E2 03 00 84 12 00 90 00 0A [14:35:44]RAPDU: 90 00 [14:35:44]wFMCommunicate OK [14:35:44]wFMCommunicate request_size=255 [14:35:44]MH_SAM_APDU [14:35:44]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 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 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 44 44 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 [14:35:44]Write to MH i2c: E2 02 01 85 12 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 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 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 44 44 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 A4 [14:35:44]Write i2c OK [14:35:44]MH_I2C_Read... [14:35:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:35:44]Read from MH i2c: E2 [14:35:44]MH_I2C_Read... [14:35:44]Read from MH i2c: E2 03 00 [14:35:44]MH_I2C_Read... [14:35:44]Read from MH i2c: E2 03 00 85 12 00 90 00 0B [14:35:44]RAPDU: 90 00 [14:35:44]wFMCommunicate OK [14:35:44]wFMCommunicate request_size=58 [14:35:44]MH_SAM_APDU [14:35:44]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 46 94 00 00 35 04 06 00 30 5A CF A1 C7 BB [14:35:44]Write to MH i2c: E2 3D 00 86 12 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 46 94 00 00 35 04 06 00 30 5A CF A1 C7 BB 00 00 57 [14:35:44]Write i2c OK [14:35:44]MH_I2C_Read... [14:35:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:35:44]Read from MH i2c: E2 [14:35:44]MH_I2C_Read... [14:35:44]Read from MH i2c: E2 03 00 [14:35:44]MH_I2C_Read... [14:35:44]Read from MH i2c: E2 03 00 86 12 00 90 00 0C [14:35:44]RAPDU: 90 00 [14:35:44]wFMCommunicate OK [14:35:44]wFMCommunicate request_size=4 [14:35:44]MH_SAM_APDU [14:35:44]CAPDU: 80 0D 03 02 [14:35:44]Write to MH i2c: E2 08 00 87 12 80 0D 03 02 00 00 00 00 14 [14:35:44]Write i2c OK [14:35:44]MH_I2C_Read... [14:35:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:35:44]Read from MH i2c: E2 [14:35:44]MH_I2C_Read... [14:35:44]Read from MH i2c: E2 0B 00 [14:35:44]MH_I2C_Read... [14:35:44]Read from MH i2c: E2 0B 00 87 12 00 17 61 15 C5 81 7B 5C 39 90 00 F8 [14:35:44]RAPDU: 17 61 15 C5 81 7B 5C 39 90 00 [14:35:44]wFMCommunicate OK [14:35:44]SAM_PROTO_SignData done [14:35:44]FM_MakeSignedData done [14:35:44]CreateOFDProtocolMessage [14:35:44]wFMCommunicate request_size=4 [14:35:44]MH_SAM_APDU [14:35:44]CAPDU: 80 11 00 00 [14:35:44]Write to MH i2c: E2 08 00 88 12 80 11 00 00 00 00 00 00 14 [14:35:44]Write i2c OK [14:35:44]MH_I2C_Read... [14:35:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:35:44]Read from MH i2c: E2 [14:35:44]MH_I2C_Read... [14:35:44]Read from MH i2c: E2 17 00 [14:35:44]MH_I2C_Read... [14:35:44]Read from MH i2c: E2 17 00 88 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 64 [14:35:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:35:44]wFMCommunicate OK [14:35:44]CreateOFDProtocolMessage done [14:35:44]OFDSenderStorePacket 37958 [14:35:44]StoreOFDPacket docnum=37958 [14:35:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3F 01 00 00 51 F7 37 01 02 C7 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 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 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 44 44 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 46 94 00 00 35 04 06 00 30 5A CF A1 C7 BB 17 61 15 C5 81 7B 5C 39 [14:35:44]CheckFolder [14:35:44]dirname=/storage/ofd_packets [14:35:44]CheckFolder done [14:35:44]ProducePacketName [14:35:44]name=ofd_packets/00037958 [14:35:44]NVStorageSaveData ofd_packets/00037958 [14:35:44]File name is /storage/ofd_packets/00037958 [14:35:44]Write 349 bytes [14:35:44]NVStorageSaveData done [14:35:44]OFDSenderStorePacket done [14:35:44]KKMCreateOFDPacket done [14:35:44]NVStorageSaveData kkm_last_timestamp [14:35:44]File name is /storage/kkm_last_timestamp [14:35:44]Write 4 bytes [14:35:44]NVStorageSaveData done [14:35:44]ExternCall_PrintAddStr [14:35:44]wPrintStart [14:35:44]Write to MH i2c: 01 00 00 89 12 9B [14:35:44]Write i2c OK [14:35:44]MH_I2C_Read... [14:35:44]Read from MH i2c: 01 [14:35:44]MH_I2C_Read... [14:35:44]Read from MH i2c: 01 07 00 [14:35:44]MH_I2C_Read... [14:35:44]Read from MH i2c: 01 07 00 89 12 00 00 00 00 00 FF 0F B0 [14:35:44]RasterBufferAndPrint [14:35:44]line Счет N : (3)35257 [14:35:44]line ИНН: 02508201610067 [14:35:44]line Контрольно-Кассовый Чек [14:35:44]line ПРОДАЖА [14:35:44]line Товар: 4700000480364 [14:35:44]line Напиток энерг Nitro экзотик 0.45 ж/б [14:35:44]line 1.000 * 95.00 [14:35:44]line = 95.00 [14:35:44]line НДС 12% НСП 1% [14:35:44]line > о реализуемом товаре [14:35:44]line ИТОГО: 95.00 [14:35:44]line НСП 1% : 0.84 [14:35:44]line НДС 12% : 10.09 [14:35:44]line Наличными: 95.00 [14:35:44]line Безнал.: 0.00 [14:35:44]line Место: АЗС № 126 "Партнер Нефть" [14:35:44]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [14:35:44]line СНО: Общий режим [14:35:44]line Чек 40 30.10.2024 14:35 [14:35:44]line Смена: 553 ФФД: 1.0 [14:35:44]line ЗНМ: 0300000092 [14:35:44]line РНМ: 0000000000091684 [14:35:44]line Версия ККМ: 001 [14:35:44]line ФМ: 0000000000871841 [14:35:44]line ФД: 37958 [14:35:44]line ФПД: 53166588676027 [14:35:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T143548&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37958&fm=53166588676027&tin=02508201610067®Number=0000000000091684&sum=9500 [14:35:44]line 0 [14:35:44]written 0, free lines is 4095 [14:35:44]OFD Sender: Processing packet 37958 [packets to send 42, broken 41] [14:35:44]ProducePacketName [14:35:44]name=ofd_packets/00037958 [14:35:44]OFD Sender: To server: pG, [14:35:44]CommunicateWithHost lk.salyk.kg:30040 [14:35:44]ConnectInit lk.salyk.kg [14:35:45]Connected sock=7 [14:35:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3F 01 00 00 51 F7 37 01 02 C7 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 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 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 44 44 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 46 94 00 00 35 04 06 00 30 5A CF A1 C7 BB 17 61 15 C5 81 7B 5C 39 [14:35:45]Write to MH i2c: 01 00 00 B2 12 C4 [14:35:45]Write i2c OK [14:35:45]MH_I2C_Read... [14:35:45]Read from MH i2c: 01 [14:35:45]MH_I2C_Read... [14:35:45]Read from MH i2c: 01 07 00 [14:35:45]MH_I2C_Read... [14:35:45]Read from MH i2c: 01 07 00 B2 12 00 00 00 00 00 B8 0C 8F [14:35:45]RasterBufferAndPrint [14:35:45]line [14:35:45]line [14:35:45]line [14:35:45]line [14:35:45]line [14:35:45]written 0, free lines is 3260 [14:35:45]MH_Cut [14:35:45]Write to MH i2c: D1 01 00 B9 12 01 9D [14:35:45]Write i2c OK [14:35:45]MH_I2C_Read... [14:35:45]Read from MH i2c: D1 [14:35:45]MH_I2C_Read... [14:35:45]Read from MH i2c: D1 01 00 [14:35:45]MH_I2C_Read... [14:35:45]Read from MH i2c: D1 01 00 B9 12 00 9C [14:35:45]Write to MH i2c: 01 00 00 BA 12 CC [14:35:45]Write i2c OK [14:35:45]MH_I2C_Read... [14:35:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 C7 DA 47 00 54 20 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 46 94 00 00 F4 03 04 00 32 EF 21 67 B6 04 01 00 00 18 9A 94 F0 52 D0 50 E7 [14:35:45]CommunicateWithHost err = 0 [14:35:45]CheckOFDResponse [14:35:45]1017 (14) - 77093643461234 [14:35:45]1041 (16) - 0000000000871841 [14:35:45]1040 (4) - 37958 [14:35:45]1012 (4) - 30.10.2024 08:32 [14:35:45]1206 (1) - 0 [14:35:45]OFD Sender: Remove packet 37958 [14:35:45]ProducePacketName [14:35:45]name=ofd_packets/00037958 [14:35:45]NVStorageDeleteData [14:35:46]*** Cut start [14:35:46]*** Partial cut [14:35:46]*** CUTSNS_PIN = 1 [14:35:46]OFD Sender: No OFD packet to send [14:35:46]*** CUTSNS_PIN = 0 [14:35:46]*** Brake cut motor [14:35:46]Read from MH i2c: 01 [14:35:46]MH_I2C_Read... [14:35:46]*** Stop cut motor [14:35:46]*** Cut end [14:35:46]Read from MH i2c: 01 07 00 [14:35:46]MH_I2C_Read... [14:35:46]Read from MH i2c: 01 07 00 BA 12 00 00 00 00 00 FF 0F E1 [14:35:46]process_action close_receipt done [14:35:46]requested_data is exist [14:35:46]produce_requested_data [14:35:46]requested_item fm.sn is exist - process it [14:35:46]wFMCommunicate request_size=4 [14:35:46]MH_SAM_APDU [14:35:46]CAPDU: 80 11 00 00 [14:35:46]Write to MH i2c: E2 08 00 BB 12 80 11 00 00 00 00 00 00 47 [14:35:46]Write i2c OK [14:35:46]MH_I2C_Read... [14:35:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:35:46]Read from MH i2c: E2 [14:35:46]MH_I2C_Read... [14:35:46]Read from MH i2c: E2 17 00 [14:35:46]MH_I2C_Read... [14:35:46]Read from MH i2c: E2 17 00 BB 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 97 [14:35:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:35:46]wFMCommunicate OK [14:35:46]requested_item fd.num is exist - process it [14:35:46]SAM_PROTO_GetFieldsCounters [14:35:46]wFMCommunicate request_size=4 [14:35:46]MH_SAM_APDU [14:35:46]CAPDU: 80 13 00 00 [14:35:46]Write to MH i2c: E2 08 00 BC 12 80 13 00 00 00 00 00 00 4A [14:35:46]Write i2c OK [14:35:46]MH_I2C_Read... [14:35:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:35:47]Read from MH i2c: E2 [14:35:47]MH_I2C_Read... [14:35:47]Read from MH i2c: E2 62 00 [14:35:47]MH_I2C_Read... [14:35:47]Read from MH i2c: E2 62 00 BC 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 46 94 00 00 0E 04 04 00 29 02 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 E8 [14:35:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 46 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:35:47]wFMCommunicate OK [14:35:47]SAM_PROTO_GetFieldsCounters done [14:35:47]requested_item shift.num is exist - process it [14:35:47]requested_item shift.opened is exist - process it [14:35:47]req_shift_opened [14:35:47]FM_GetShiftState [14:35:47]SAM_PROTO_GetShiftState [14:35:47]wFMCommunicate request_size=4 [14:35:47]MH_SAM_APDU [14:35:47]CAPDU: 80 13 01 00 [14:35:47]Write to MH i2c: E2 08 00 BD 12 80 13 01 00 00 00 00 00 4C [14:35:47]Write i2c OK [14:35:47]MH_I2C_Read... [14:35:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:35:47]Read from MH i2c: E2 [14:35:47]MH_I2C_Read... [14:35:47]Read from MH i2c: E2 0E 00 [14:35:47]MH_I2C_Read... [14:35:47]Read from MH i2c: E2 0E 00 BD 12 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 0D [14:35:47]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [14:35:47]wFMCommunicate OK [14:35:47]SAM_PROTO_GetShiftState done [14:35:47]FM_GetShiftState done [14:35:47]req_shift_opened done [14:35:47]requested_item shift.open_date is exist - process it [14:35:47]req_shift_open_date [14:35:47]req_shift_open_date done [14:35:47]produce_requested_data done [14:35:47]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37958,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [14:35:47]process_action_free close_receipt [14:35:47]json_value_free [14:35:47]json_value_free done [14:35:47]process_json_proto returns [14:35:47]Send response to host [14:35:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37958,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [14:35:47]free response buf [14:35:47]execute_script done [14:35:47]execute_script returns [14:35:47]free content buf [14:35:47]Sock 10.Close socket [14:35:47]Sock 10.Thread stoped [14:35:51]OFD Sender: No OFD packet to send [14:35:56]OFD Sender: No OFD packet to send [14:36:01]OFD Sender: No OFD packet to send [14:36:06]OFD Sender: No OFD packet to send [14:36:11]OFD Sender: No OFD packet to send [14:36:16]OFD Sender: No OFD packet to send [14:36:21]OFD Sender: No OFD packet to send [14:36:26]OFD Sender: No OFD packet to send [14:36:31]OFD Sender: No OFD packet to send [14:36:36]OFD Sender: No OFD packet to send [14:36:41]OFD Sender: No OFD packet to send [14:36:46]OFD Sender: No OFD packet to send [14:36:51]OFD Sender: No OFD packet to send [14:36:56]OFD Sender: No OFD packet to send [14:37:01]OFD Sender: No OFD packet to send [14:37:06]OFD Sender: No OFD packet to send [14:37:11]OFD Sender: No OFD packet to send [14:37:16]OFD Sender: No OFD packet to send [14:37:21]OFD Sender: No OFD packet to send [14:37:26]OFD Sender: No OFD packet to send [14:37:31]OFD Sender: No OFD packet to send [14:37:36]OFD Sender: No OFD packet to send [14:37:41]OFD Sender: No OFD packet to send [14:37:46]OFD Sender: No OFD packet to send [14:37:51]OFD Sender: No OFD packet to send [14:37:56]OFD Sender: No OFD packet to send [14:38:01]OFD Sender: No OFD packet to send [14:38:06]OFD Sender: No OFD packet to send [14:38:11]OFD Sender: No OFD packet to send [14:38:16]OFD Sender: No OFD packet to send [14:38:21]OFD Sender: No OFD packet to send [14:38:26]OFD Sender: No OFD packet to send [14:38:31]OFD Sender: No OFD packet to send [14:38:36]OFD Sender: No OFD packet to send [14:38:41]OFD Sender: No OFD packet to send [14:38:46]OFD Sender: No OFD packet to send [14:38:51]OFD Sender: No OFD packet to send [14:38:56]OFD Sender: No OFD packet to send [14:39:01]OFD Sender: No OFD packet to send [14:39:06]OFD Sender: No OFD packet to send [14:39:11]OFD Sender: No OFD packet to send [14:39:16]OFD Sender: No OFD packet to send [14:39:21]OFD Sender: No OFD packet to send [14:39:26]OFD Sender: No OFD packet to send [14:39:31]OFD Sender: No OFD packet to send [14:39:36]OFD Sender: No OFD packet to send [14:39:41]OFD Sender: No OFD packet to send [14:39:46]OFD Sender: No OFD packet to send [14:39:51]OFD Sender: No OFD packet to send [14:39:56]OFD Sender: No OFD packet to send [14:40:01]OFD Sender: No OFD packet to send [14:40:06]OFD Sender: No OFD packet to send [14:40:11]OFD Sender: No OFD packet to send [14:40:16]OFD Sender: No OFD packet to send [14:40:21]OFD Sender: No OFD packet to send [14:40:22]accept exits with 9 [14:40:22]New connection [14:40:22]New thread 3067207012 created [14:40:22]Thread 3067063652 joined [14:40:22]Waiting for new connection... [14:40:22] Sock 9.Parse request [14:40:22]Sock 9.Check first char [14:40:22]Sock 9.First char is OK [14:40:22]request: POST /json_proto HTTP/1.0 [14:40:22]Method: POST [14:40:22]URL: /json_proto [14:40:22]Method is POST - this is cgi request [14:40:22]url: /json_proto [14:40:22]query_string will be loaded in cgi processing [14:40:22]execute_cgi json_proto POST (null) [14:40:22]execute_cgi path=json_proto method=POST [14:40:22]POST find Content-Length [14:40:22]Host: 172.17.40.196:8080 [14:40:22]Content-Length: 773 [14:40:22]Content-Type: application/json [14:40:22] [14:40:22]POST finish read [14:40:22]Found Content-Length = 773 [14:40:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35258", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:40:22]execute_script... [14:40: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 : (3)35258", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:40:22]POST & json_proto [14:40:22]process_json_proto [14:40:22]json parsed OK: [14:40:22]protocol is kg_v1.0 [14:40:22]action value=close_receipt [14:40:22]process_action close_receipt [14:40:22]cmd_close_receipt [14:40:22]MH_GetDate [14:40:22]Write to MH i2c: F0 00 00 BE 12 BF [14:40:22]Write i2c OK [14:40:22]MH_I2C_Read... [14:40:22]Read from MH i2c: F0 [14:40:22]MH_I2C_Read... [14:40:22]Read from MH i2c: F0 09 00 [14:40:22]MH_I2C_Read... [14:40:22]Read from MH i2c: F0 09 00 BE 12 00 5A 45 22 67 5B 68 A1 66 BA [14:40:22]GetLastDocTimeStamp 1730298948 [14:40:22]current date 1730299226 [14:40:22]FM_GetShiftState [14:40:22]SAM_PROTO_GetShiftState [14:40:22]wFMCommunicate request_size=4 [14:40:22]MH_SAM_APDU [14:40:22]CAPDU: 80 13 01 00 [14:40:22]Write to MH i2c: E2 08 00 BF 12 80 13 01 00 00 00 00 00 4E [14:40:22]Write i2c OK [14:40:22]MH_I2C_Read... [14:40:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:22]Read from MH i2c: E2 [14:40:22]MH_I2C_Read... [14:40:22]Read from MH i2c: E2 0E 00 [14:40:22]MH_I2C_Read... [14:40:22]Read from MH i2c: E2 0E 00 BF 12 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 0F [14:40:22]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [14:40:22]wFMCommunicate OK [14:40:22]SAM_PROTO_GetShiftState done [14:40:22]FM_GetShiftState done [14:40:22]opened in 1730246837 [14:40:22]opened+sec_in_day 1730333237 [14:40:22]quantity*price = 13000 [14:40:22]sum+1 = 13001 [14:40:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 41 30.10.2024 14:40 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37959 ФПД: 179360193223639 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T144026&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37959&fm=179360193223639&tin=02508201610067®Number=0000000000091684&sum=13000 0 [14:40:23]StoreToDocumentArchive [14:40:23]shift 553 fd 37959 [14:40:23]save to /storage/0553/doc_00037959 [14:40:23]save last doc name /storage/0553/doc_00037959 to /storage/kkm_last_doc_name [14:40:23]save OK [14:40:23]Clear old archive folders... [14:40:23]ProcessDocumentItem done err = 0, tmpTLVsize=272 [14:40:23]tlvbuf is B6EE6B40 [14:40:23]SAM_PROTO_ClearQueue [14:40:23]wFMCommunicate request_size=4 [14:40:23]MH_SAM_APDU [14:40:23]CAPDU: 80 09 00 00 [14:40:23]Write to MH i2c: E2 08 00 CC 12 80 09 00 00 00 00 00 00 50 [14:40:23]Write i2c OK [14:40:23]MH_I2C_Read... [14:40:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:40:23]Read from MH i2c: E2 [14:40:23]MH_I2C_Read... [14:40:23]Read from MH i2c: E2 03 00 [14:40:23]MH_I2C_Read... [14:40:23]Read from MH i2c: E2 03 00 CC 12 00 90 00 52 [14:40:23]RAPDU: 90 00 [14:40:23]wFMCommunicate OK [14:40:23]SAM_PROTO_ClearQueue done [14:40:23]KKMCreateOFDPacket [14:40:23]OFDProtocolAddRootSTLVToBuf [14:40:23]FM_MakeSignedData [14:40:23]FM_MakeSignedData [14:40:23]SAM_PROTO_SignData [14:40:23]wFMCommunicate request_size=4 [14:40:23]MH_SAM_APDU [14:40:23]CAPDU: 80 0D 01 02 [14:40:23]Write to MH i2c: E2 08 00 CD 12 80 0D 01 02 00 00 00 00 58 [14:40:23]Write i2c OK [14:40:23]MH_I2C_Read... [14:40:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:40:23]Read from MH i2c: E2 [14:40:23]MH_I2C_Read... [14:40:23]Read from MH i2c: E2 03 00 [14:40:23]MH_I2C_Read... [14:40:23]Read from MH i2c: E2 03 00 CD 12 00 90 00 53 [14:40:23]RAPDU: 90 00 [14:40:23]wFMCommunicate OK [14:40:23]wFMCommunicate request_size=255 [14:40:23]MH_SAM_APDU [14:40:23]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 5A 45 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [14:40:23]Write to MH i2c: E2 02 01 CE 12 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 5A 45 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 75 [14:40:23]Write i2c OK [14:40:23]MH_I2C_Read... [14:40:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:40:23]Read from MH i2c: E2 [14:40:23]MH_I2C_Read... [14:40:23]Read from MH i2c: E2 03 00 [14:40:23]MH_I2C_Read... [14:40:23]Read from MH i2c: E2 03 00 CE 12 00 90 00 54 [14:40:23]RAPDU: 90 00 [14:40:23]wFMCommunicate OK [14:40:23]wFMCommunicate request_size=31 [14:40:23]MH_SAM_APDU [14:40:23]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 47 94 00 00 35 04 06 00 A3 20 8C 9A 9B D7 [14:40:23]Write to MH i2c: E2 22 00 CF 12 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 47 94 00 00 35 04 06 00 A3 20 8C 9A 9B D7 00 00 B9 [14:40:23]Write i2c OK [14:40:23]MH_I2C_Read... [14:40:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:40:23]Read from MH i2c: E2 [14:40:23]MH_I2C_Read... [14:40:23]Read from MH i2c: E2 03 00 [14:40:23]MH_I2C_Read... [14:40:23]Read from MH i2c: E2 03 00 CF 12 00 90 00 55 [14:40:23]RAPDU: 90 00 [14:40:23]wFMCommunicate OK [14:40:23]wFMCommunicate request_size=4 [14:40:23]MH_SAM_APDU [14:40:23]CAPDU: 80 0D 03 02 [14:40:23]Write to MH i2c: E2 08 00 D0 12 80 0D 03 02 00 00 00 00 5D [14:40:23]Write i2c OK [14:40:23]MH_I2C_Read... [14:40:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:40:23]Read from MH i2c: E2 [14:40:23]MH_I2C_Read... [14:40:23]Read from MH i2c: E2 0B 00 [14:40:23]MH_I2C_Read... [14:40:23]Read from MH i2c: E2 0B 00 D0 12 00 81 E8 0B 8C 84 11 55 40 90 00 88 [14:40:23]RAPDU: 81 E8 0B 8C 84 11 55 40 90 00 [14:40:23]wFMCommunicate OK [14:40:23]SAM_PROTO_SignData done [14:40:23]FM_MakeSignedData done [14:40:23]CreateOFDProtocolMessage [14:40:23]wFMCommunicate request_size=4 [14:40:23]MH_SAM_APDU [14:40:23]CAPDU: 80 11 00 00 [14:40:23]Write to MH i2c: E2 08 00 D1 12 80 11 00 00 00 00 00 00 5D [14:40:23]Write i2c OK [14:40:23]MH_I2C_Read... [14:40:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:23]Read from MH i2c: E2 [14:40:23]MH_I2C_Read... [14:40:23]Read from MH i2c: E2 17 00 [14:40:23]MH_I2C_Read... [14:40:23]Read from MH i2c: E2 17 00 D1 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 AD [14:40:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:40:23]wFMCommunicate OK [14:40:23]CreateOFDProtocolMessage done [14:40:23]OFDSenderStorePacket 37959 [14:40:23]StoreOFDPacket docnum=37959 [14:40:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 12 CC 1C 01 76 29 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 5A 45 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 47 94 00 00 35 04 06 00 A3 20 8C 9A 9B D7 81 E8 0B 8C 84 11 55 40 [14:40:23]CheckFolder [14:40:23]dirname=/storage/ofd_packets [14:40:23]CheckFolder done [14:40:23]ProducePacketName [14:40:23]name=ofd_packets/00037959 [14:40:23]NVStorageSaveData ofd_packets/00037959 [14:40:23]File name is /storage/ofd_packets/00037959 [14:40:23]Write 322 bytes [14:40:23]NVStorageSaveData done [14:40:23]OFDSenderStorePacket done [14:40:23]KKMCreateOFDPacket done [14:40:23]NVStorageSaveData kkm_last_timestamp [14:40:23]File name is /storage/kkm_last_timestamp [14:40:23]Write 4 bytes [14:40:23]NVStorageSaveData done [14:40:23]ExternCall_PrintAddStr [14:40:23]wPrintStart [14:40:23]Write to MH i2c: 01 00 00 D2 12 E4 [14:40:23]Write i2c OK [14:40:23]MH_I2C_Read... [14:40:23]Read from MH i2c: 01 [14:40:23]MH_I2C_Read... [14:40:23]Read from MH i2c: 01 07 00 [14:40:23]MH_I2C_Read... [14:40:23]Read from MH i2c: 01 07 00 D2 12 00 00 00 00 00 FF 0F F9 [14:40:23]RasterBufferAndPrint [14:40:23]line Счет N : (3)35258 [14:40:23]line ИНН: 02508201610067 [14:40:23]line Контрольно-Кассовый Чек [14:40:23]line ПРОДАЖА [14:40:23]line Товар: 47011656 [14:40:23]line Водка Пшеничная 0,1л [14:40:23]line 2.000 * 65.00 [14:40:23]line = 130.00 [14:40:23]line НДС 12% НСП 1% [14:40:23]line > о реализуемом товаре [14:40:23]line ИТОГО: 130.00 [14:40:23]line НСП 1% : 1.15 [14:40:23]line НДС 12% : 13.80 [14:40:23]line Наличными: 0.00 [14:40:23]line Безнал.: 130.00 [14:40:23]line Место: АЗС № 126 "Партнер Нефть" [14:40:23]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [14:40:23]line СНО: Общий режим [14:40:23]line Чек 41 30.10.2024 14:40 [14:40:23]line Смена: 553 ФФД: 1.0 [14:40:23]line ЗНМ: 0300000092 [14:40:23]line РНМ: 0000000000091684 [14:40:23]line Версия ККМ: 001 [14:40:23]line Платежная система: Mbank [14:40:23]line ФМ: 0000000000871841 [14:40:23]line ФД: 37959 [14:40:23]line ФПД: 179360193223639 [14:40:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T144026&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37959&fm=179360193223639&tin=02508201610067®Number=0000000000091684&sum=13000 [14:40:24]line 0 [14:40:24]OFD Sender: Processing packet 37959 [packets to send 42, broken 41] [14:40:24]ProducePacketName [14:40:24]name=ofd_packets/00037959 [14:40:24]OFD Sender: To server: pG, [14:40:24]CommunicateWithHost lk.salyk.kg:30040 [14:40:24]ConnectInit lk.salyk.kg [14:40:24]written 0, free lines is 4095 [14:40:24]Connected sock=7 [14:40:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 12 CC 1C 01 76 29 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 5A 45 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 47 94 00 00 35 04 06 00 A3 20 8C 9A 9B D7 81 E8 0B 8C 84 11 55 40 [14:40:24]Write to MH i2c: 01 00 00 FB 12 0D [14:40:24]Write i2c OK [14:40:24]MH_I2C_Read... [14:40:24]Read from MH i2c: 01 [14:40:24]MH_I2C_Read... [14:40:24]Read from MH i2c: 01 07 00 [14:40:24]MH_I2C_Read... [14:40:24]Read from MH i2c: 01 07 00 FB 12 00 00 00 00 00 DA 0C FA [14:40:24]RasterBufferAndPrint [14:40:24]line [14:40:24]line [14:40:24]line [14:40:24]line [14:40:24]line [14:40:24]written 0, free lines is 3297 [14:40:24]MH_Cut [14:40:24]Write to MH i2c: D1 01 00 02 13 01 E7 [14:40:24]Write i2c OK [14:40:24]MH_I2C_Read... [14:40:24]Read from MH i2c: D1 [14:40:24]MH_I2C_Read... [14:40:24]Read from MH i2c: D1 01 00 [14:40:24]MH_I2C_Read... [14:40:24]Read from MH i2c: D1 01 00 02 13 00 E6 [14:40:24]Write to MH i2c: 01 00 00 03 13 16 [14:40:24]Write i2c OK [14:40:24]MH_I2C_Read... [14:40:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 58 8C 47 00 E3 FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 47 94 00 00 F4 03 04 00 49 F0 21 67 B6 04 01 00 00 68 48 B7 6E AE 5D 33 0D [14:40:24]CommunicateWithHost err = 0 [14:40:24]CheckOFDResponse [14:40:24]1017 (14) - 77093643461234 [14:40:24]1041 (16) - 0000000000871841 [14:40:24]1040 (4) - 37959 [14:40:24]1012 (4) - 30.10.2024 08:37 [14:40:24]1206 (1) - 0 [14:40:24]OFD Sender: Remove packet 37959 [14:40:24]ProducePacketName [14:40:24]name=ofd_packets/00037959 [14:40:24]NVStorageDeleteData [14:40:25]OFD Sender: No OFD packet to send [14:40:25]*** Cut start [14:40:25]*** Partial cut [14:40:25]*** CUTSNS_PIN = 1 [14:40:25]*** CUTSNS_PIN = 0 [14:40:25]*** Brake cut motor [14:40:25]Read from MH i2c: 01 [14:40:25]MH_I2C_Read... [14:40:25]*** Stop cut motor [14:40:25]*** Cut end [14:40:25]Read from MH i2c: 01 07 00 [14:40:25]MH_I2C_Read... [14:40:25]Read from MH i2c: 01 07 00 03 13 00 00 00 00 00 FF 0F 2B [14:40:25]process_action close_receipt done [14:40:25]requested_data is exist [14:40:25]produce_requested_data [14:40:25]requested_item fm.sn is exist - process it [14:40:25]wFMCommunicate request_size=4 [14:40:25]MH_SAM_APDU [14:40:25]CAPDU: 80 11 00 00 [14:40:25]Write to MH i2c: E2 08 00 04 13 80 11 00 00 00 00 00 00 91 [14:40:26]Write i2c OK [14:40:26]MH_I2C_Read... [14:40:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:26]Read from MH i2c: E2 [14:40:26]MH_I2C_Read... [14:40:26]Read from MH i2c: E2 17 00 [14:40:26]MH_I2C_Read... [14:40:26]Read from MH i2c: E2 17 00 04 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E1 [14:40:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:40:26]wFMCommunicate OK [14:40:26]requested_item fd.num is exist - process it [14:40:26]SAM_PROTO_GetFieldsCounters [14:40:26]wFMCommunicate request_size=4 [14:40:26]MH_SAM_APDU [14:40:26]CAPDU: 80 13 00 00 [14:40:26]Write to MH i2c: E2 08 00 05 13 80 13 00 00 00 00 00 00 94 [14:40:26]Write i2c OK [14:40:26]MH_I2C_Read... [14:40:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:40:26]Read from MH i2c: E2 [14:40:26]MH_I2C_Read... [14:40:26]Read from MH i2c: E2 62 00 [14:40:26]MH_I2C_Read... [14:40:26]Read from MH i2c: E2 62 00 05 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 47 94 00 00 0E 04 04 00 29 02 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 36 [14:40:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 47 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:40:26]wFMCommunicate OK [14:40:26]SAM_PROTO_GetFieldsCounters done [14:40:26]requested_item shift.num is exist - process it [14:40:26]requested_item shift.opened is exist - process it [14:40:26]req_shift_opened [14:40:26]FM_GetShiftState [14:40:26]SAM_PROTO_GetShiftState [14:40:26]wFMCommunicate request_size=4 [14:40:26]MH_SAM_APDU [14:40:26]CAPDU: 80 13 01 00 [14:40:26]Write to MH i2c: E2 08 00 06 13 80 13 01 00 00 00 00 00 96 [14:40:26]Write i2c OK [14:40:26]MH_I2C_Read... [14:40:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:26]Read from MH i2c: E2 [14:40:26]MH_I2C_Read... [14:40:26]Read from MH i2c: E2 0E 00 [14:40:26]MH_I2C_Read... [14:40:26]Read from MH i2c: E2 0E 00 06 13 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 57 [14:40:26]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [14:40:26]wFMCommunicate OK [14:40:26]SAM_PROTO_GetShiftState done [14:40:26]FM_GetShiftState done [14:40:26]req_shift_opened done [14:40:26]requested_item shift.open_date is exist - process it [14:40:26]req_shift_open_date [14:40:26]req_shift_open_date done [14:40:26]produce_requested_data done [14:40:26]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37959,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [14:40:26]process_action_free close_receipt [14:40:26]json_value_free [14:40:26]json_value_free done [14:40:26]process_json_proto returns [14:40:26]Send response to host [14:40:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37959,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [14:40:26]free response buf [14:40:26]execute_script done [14:40:26]execute_script returns [14:40:26]free content buf [14:40:26]Sock 9.Close socket [14:40:26]Sock 9.Thread stoped [14:40:30]OFD Sender: No OFD packet to send [14:40:35]OFD Sender: No OFD packet to send [14:40:40]OFD Sender: No OFD packet to send [14:40:45]OFD Sender: No OFD packet to send [14:40:50]OFD Sender: No OFD packet to send [14:40:55]OFD Sender: No OFD packet to send [14:41:00]OFD Sender: No OFD packet to send [14:41:05]OFD Sender: No OFD packet to send [14:41:10]OFD Sender: No OFD packet to send [14:41:15]OFD Sender: No OFD packet to send [14:41:20]OFD Sender: No OFD packet to send [14:41:25]OFD Sender: No OFD packet to send [14:41:30]OFD Sender: No OFD packet to send [14:41:35]OFD Sender: No OFD packet to send [14:41:40]OFD Sender: No OFD packet to send [14:41:45]OFD Sender: No OFD packet to send [14:41:50]OFD Sender: No OFD packet to send [14:41:55]OFD Sender: No OFD packet to send [14:42:00]OFD Sender: No OFD packet to send [14:42:05]OFD Sender: No OFD packet to send [14:42:10]OFD Sender: No OFD packet to send [14:42:15]OFD Sender: No OFD packet to send [14:42:20]OFD Sender: No OFD packet to send [14:42:25]OFD Sender: No OFD packet to send [14:42:30]OFD Sender: No OFD packet to send [14:42:35]OFD Sender: No OFD packet to send [14:42:40]OFD Sender: No OFD packet to send [14:42:45]OFD Sender: No OFD packet to send [14:42:50]OFD Sender: No OFD packet to send [14:42:55]OFD Sender: No OFD packet to send [14:43:00]OFD Sender: No OFD packet to send [14:43:05]OFD Sender: No OFD packet to send [14:43:10]OFD Sender: No OFD packet to send [14:43:15]OFD Sender: No OFD packet to send [14:43:20]OFD Sender: No OFD packet to send [14:43:25]OFD Sender: No OFD packet to send [14:43:30]OFD Sender: No OFD packet to send [14:43:35]OFD Sender: No OFD packet to send [14:43:40]OFD Sender: No OFD packet to send [14:43:45]OFD Sender: No OFD packet to send [14:43:50]OFD Sender: No OFD packet to send [14:43:55]OFD Sender: No OFD packet to send [14:44:00]OFD Sender: No OFD packet to send [14:44:05]OFD Sender: No OFD packet to send [14:44:10]OFD Sender: No OFD packet to send [14:44:15]OFD Sender: No OFD packet to send [14:44:20]OFD Sender: No OFD packet to send [14:44:25]OFD Sender: No OFD packet to send [14:44:30]OFD Sender: No OFD packet to send [14:44:35]OFD Sender: No OFD packet to send [14:44:40]OFD Sender: No OFD packet to send [14:44:45]OFD Sender: No OFD packet to send [14:44:50]OFD Sender: No OFD packet to send [14:44:55]OFD Sender: No OFD packet to send [14:45:00]OFD Sender: No OFD packet to send [14:45:05]OFD Sender: No OFD packet to send [14:45:10]OFD Sender: No OFD packet to send [14:45:15]OFD Sender: No OFD packet to send [14:45:20]OFD Sender: No OFD packet to send [14:45:25]OFD Sender: No OFD packet to send [14:45:30]OFD Sender: No OFD packet to send [14:45:35]OFD Sender: No OFD packet to send [14:45:38]accept exits with 10 [14:45:38]New connection [14:45:38]New thread 3067063652 created [14:45:38]Thread 3067207012 joined [14:45:38]Waiting for new connection... [14:45:38] Sock 10.Parse request [14:45:38]Sock 10.Check first char [14:45:38]Sock 10.First char is OK [14:45:38]request: POST /json_proto HTTP/1.0 [14:45:38]Method: POST [14:45:38]URL: /json_proto [14:45:38]Method is POST - this is cgi request [14:45:38]url: /json_proto [14:45:38]query_string will be loaded in cgi processing [14:45:38]execute_cgi json_proto POST (null) [14:45:38]execute_cgi path=json_proto method=POST [14:45:38]POST find Content-Length [14:45:38]Host: 172.17.40.196:8080 [14:45:38]Content-Length: 625 [14:45:38]Content-Type: application/json [14:45:38] [14:45:38]POST finish read [14:45:38]Found Content-Length = 625 [14:45:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35259", "tax_sys" : 0, "items" : [ { "code": "48745895", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B RICHMOND KS GOLD EDITION", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:45:38]execute_script... [14:45:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35259", "tax_sys" : 0, "items" : [ { "code": "48745895", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B RICHMOND KS GOLD EDITION", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:45:38]POST & json_proto [14:45:38]process_json_proto [14:45:38]json parsed OK: [14:45:38]protocol is kg_v1.0 [14:45:38]action value=close_receipt [14:45:38]process_action close_receipt [14:45:38]cmd_close_receipt [14:45:38]MH_GetDate [14:45:38]Write to MH i2c: F0 00 00 07 13 09 [14:45:38]Write i2c OK [14:45:38]MH_I2C_Read... [14:45:38]Read from MH i2c: F0 [14:45:38]MH_I2C_Read... [14:45:38]Read from MH i2c: F0 09 00 [14:45:38]MH_I2C_Read... [14:45:38]Read from MH i2c: F0 09 00 07 13 00 96 46 22 67 5B 68 A1 66 41 [14:45:38]GetLastDocTimeStamp 1730299226 [14:45:38]current date 1730299542 [14:45:38]FM_GetShiftState [14:45:38]SAM_PROTO_GetShiftState [14:45:38]wFMCommunicate request_size=4 [14:45:38]MH_SAM_APDU [14:45:38]CAPDU: 80 13 01 00 [14:45:38]Write to MH i2c: E2 08 00 08 13 80 13 01 00 00 00 00 00 98 [14:45:38]Write i2c OK [14:45:38]MH_I2C_Read... [14:45:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:45:38]Read from MH i2c: E2 [14:45:38]MH_I2C_Read... [14:45:38]Read from MH i2c: E2 0E 00 [14:45:38]MH_I2C_Read... [14:45:38]Read from MH i2c: E2 0E 00 08 13 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 59 [14:45:38]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [14:45:38]wFMCommunicate OK [14:45:38]SAM_PROTO_GetShiftState done [14:45:38]FM_GetShiftState done [14:45:38]opened in 1730246837 [14:45:38]opened+sec_in_day 1730333237 [14:45:38]quantity*price = 15900 [14:45:38]sum+1 = 15901 [14:45:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 42 30.10.2024 14:45 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37960 ФПД: 250333016451724 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T144542&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37960&fm=250333016451724&tin=02508201610067®Number=0000000000091684&sum=15900 0 [14:45:39]StoreToDocumentArchive [14:45:39]shift 553 fd 37960 [14:45:39]save to /storage/0553/doc_00037960 [14:45:39]save last doc name /storage/0553/doc_00037960 to /storage/kkm_last_doc_name [14:45:39]save OK [14:45:39]Clear old archive folders... [14:45:39]ProcessDocumentItem done err = 0, tmpTLVsize=278 [14:45:39]tlvbuf is 019B6BF0 [14:45:39]SAM_PROTO_ClearQueue [14:45:39]wFMCommunicate request_size=4 [14:45:39]MH_SAM_APDU [14:45:39]CAPDU: 80 09 00 00 [14:45:39]Write to MH i2c: E2 08 00 15 13 80 09 00 00 00 00 00 00 9A [14:45:39]Write i2c OK [14:45:39]MH_I2C_Read... [14:45:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:45:39]Read from MH i2c: E2 [14:45:39]MH_I2C_Read... [14:45:39]Read from MH i2c: E2 03 00 [14:45:39]MH_I2C_Read... [14:45:39]Read from MH i2c: E2 03 00 15 13 00 90 00 9C [14:45:39]RAPDU: 90 00 [14:45:39]wFMCommunicate OK [14:45:39]SAM_PROTO_ClearQueue done [14:45:39]KKMCreateOFDPacket [14:45:39]OFDProtocolAddRootSTLVToBuf [14:45:39]FM_MakeSignedData [14:45:39]FM_MakeSignedData [14:45:39]SAM_PROTO_SignData [14:45:39]wFMCommunicate request_size=4 [14:45:39]MH_SAM_APDU [14:45:39]CAPDU: 80 0D 01 02 [14:45:39]Write to MH i2c: E2 08 00 16 13 80 0D 01 02 00 00 00 00 A2 [14:45:39]Write i2c OK [14:45:39]MH_I2C_Read... [14:45:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:45:39]Read from MH i2c: E2 [14:45:39]MH_I2C_Read... [14:45:39]Read from MH i2c: E2 03 00 [14:45:39]MH_I2C_Read... [14:45:39]Read from MH i2c: E2 03 00 16 13 00 90 00 9D [14:45:39]RAPDU: 90 00 [14:45:39]wFMCommunicate OK [14:45:39]wFMCommunicate request_size=255 [14:45:39]MH_SAM_APDU [14:45:39]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 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 96 46 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 [14:45:39]Write to MH i2c: E2 02 01 17 13 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 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 96 46 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 00 00 8B [14:45:39]Write i2c OK [14:45:39]MH_I2C_Read... [14:45:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:45:39]Read from MH i2c: E2 [14:45:39]MH_I2C_Read... [14:45:39]Read from MH i2c: E2 03 00 [14:45:39]MH_I2C_Read... [14:45:39]Read from MH i2c: E2 03 00 17 13 00 90 00 9E [14:45:39]RAPDU: 90 00 [14:45:39]wFMCommunicate OK [14:45:39]wFMCommunicate request_size=37 [14:45:39]MH_SAM_APDU [14:45:39]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 48 94 00 00 35 04 06 00 E3 AD 32 85 6A 8C [14:45:39]Write to MH i2c: E2 28 00 18 13 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 48 94 00 00 35 04 06 00 E3 AD 32 85 6A 8C 00 00 12 [14:45:39]Write i2c OK [14:45:39]MH_I2C_Read... [14:45:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:45:39]Read from MH i2c: E2 [14:45:39]MH_I2C_Read... [14:45:39]Read from MH i2c: E2 03 00 [14:45:39]MH_I2C_Read... [14:45:39]Read from MH i2c: E2 03 00 18 13 00 90 00 9F [14:45:39]RAPDU: 90 00 [14:45:39]wFMCommunicate OK [14:45:39]wFMCommunicate request_size=4 [14:45:39]MH_SAM_APDU [14:45:39]CAPDU: 80 0D 03 02 [14:45:39]Write to MH i2c: E2 08 00 19 13 80 0D 03 02 00 00 00 00 A7 [14:45:39]Write i2c OK [14:45:39]MH_I2C_Read... [14:45:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:45:39]Read from MH i2c: E2 [14:45:39]MH_I2C_Read... [14:45:39]Read from MH i2c: E2 0B 00 [14:45:39]MH_I2C_Read... [14:45:39]Read from MH i2c: E2 0B 00 19 13 00 56 88 CA 47 03 08 11 2B 90 00 DE [14:45:39]RAPDU: 56 88 CA 47 03 08 11 2B 90 00 [14:45:39]wFMCommunicate OK [14:45:39]SAM_PROTO_SignData done [14:45:39]FM_MakeSignedData done [14:45:39]CreateOFDProtocolMessage [14:45:39]wFMCommunicate request_size=4 [14:45:39]MH_SAM_APDU [14:45:39]CAPDU: 80 11 00 00 [14:45:39]Write to MH i2c: E2 08 00 1A 13 80 11 00 00 00 00 00 00 A7 [14:45:39]Write i2c OK [14:45:39]MH_I2C_Read... [14:45:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:45:39]Read from MH i2c: E2 [14:45:39]MH_I2C_Read... [14:45:39]Read from MH i2c: E2 17 00 [14:45:39]MH_I2C_Read... [14:45:39]Read from MH i2c: E2 17 00 1A 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F7 [14:45:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:45:39]wFMCommunicate OK [14:45:39]CreateOFDProtocolMessage done [14:45:39]OFDSenderStorePacket 37960 [14:45:39]StoreOFDPacket docnum=37960 [14:45:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2A 01 00 00 6E D1 22 01 6E AE 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 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 96 46 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 48 94 00 00 35 04 06 00 E3 AD 32 85 6A 8C 56 88 CA 47 03 08 11 2B [14:45:39]CheckFolder [14:45:39]dirname=/storage/ofd_packets [14:45:39]CheckFolder done [14:45:39]ProducePacketName [14:45:39]name=ofd_packets/00037960 [14:45:39]NVStorageSaveData ofd_packets/00037960 [14:45:39]File name is /storage/ofd_packets/00037960 [14:45:39]Write 328 bytes [14:45:39]NVStorageSaveData done [14:45:39]OFDSenderStorePacket done [14:45:39]KKMCreateOFDPacket done [14:45:39]NVStorageSaveData kkm_last_timestamp [14:45:39]File name is /storage/kkm_last_timestamp [14:45:39]Write 4 bytes [14:45:39]NVStorageSaveData done [14:45:39]ExternCall_PrintAddStr [14:45:39]wPrintStart [14:45:39]Write to MH i2c: 01 00 00 1B 13 2E [14:45:39]Write i2c OK [14:45:39]MH_I2C_Read... [14:45:39]Read from MH i2c: 01 [14:45:39]MH_I2C_Read... [14:45:39]Read from MH i2c: 01 07 00 [14:45:39]MH_I2C_Read... [14:45:39]Read from MH i2c: 01 07 00 1B 13 00 00 00 00 00 FF 0F 43 [14:45:39]RasterBufferAndPrint [14:45:39]line Счет N : (3)35259 [14:45:39]line ИНН: 02508201610067 [14:45:39]line Контрольно-Кассовый Чек [14:45:39]line ПРОДАЖА [14:45:39]line Товар: 48745895 [14:45:39]line Сигареты RICHMOND KS GOLD EDITION [14:45:39]line 1.000 * 159.00 [14:45:39]line = 159.00 [14:45:39]line НДС 12% НСП 1% [14:45:39]line > о реализуемом товаре [14:45:39]line ИТОГО: 159.00 [14:45:39]line НСП 1% : 1.41 [14:45:39]line НДС 12% : 16.88 [14:45:39]line Наличными: 159.00 [14:45:39]line Безнал.: 0.00 [14:45:39]line Место: АЗС № 126 "Партнер Нефть" [14:45:39]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [14:45:39]line СНО: Общий режим [14:45:39]line Чек 42 30.10.2024 14:45 [14:45:39]line Смена: 553 ФФД: 1.0 [14:45:39]line ЗНМ: 0300000092 [14:45:39]line РНМ: 0000000000091684 [14:45:39]line Версия ККМ: 001 [14:45:39]line ФМ: 0000000000871841 [14:45:39]line ФД: 37960 [14:45:39]line ФПД: 250333016451724 [14:45:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T144542&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37960&fm=250333016451724&tin=02508201610067®Number=0000000000091684&sum=15900 [14:45:40]line 0 [14:45:40]OFD Sender: Processing packet 37960 [packets to send 42, broken 41] [14:45:40]ProducePacketName [14:45:40]name=ofd_packets/00037960 [14:45:40]OFD Sender: To server: pG, [14:45:40]CommunicateWithHost lk.salyk.kg:30040 [14:45:40]ConnectInit lk.salyk.kg [14:45:40]written 0, free lines is 4095 [14:45:40]Write to MH i2c: 01 00 00 44 13 57 [14:45:40]Write i2c OK [14:45:40]MH_I2C_Read... [14:45:40]Read from MH i2c: 01 [14:45:40]MH_I2C_Read... [14:45:40]Read from MH i2c: 01 07 00 [14:45:40]MH_I2C_Read... [14:45:40]Read from MH i2c: 01 07 00 44 13 00 00 00 00 00 B5 0C 1F [14:45:40]RasterBufferAndPrint [14:45:40]line [14:45:40]line [14:45:40]line [14:45:40]line [14:45:40]line [14:45:40]written 0, free lines is 3257 [14:45:40]MH_Cut [14:45:40]Write to MH i2c: D1 01 00 4B 13 01 30 [14:45:40]Write i2c OK [14:45:40]MH_I2C_Read... [14:45:40]Read from MH i2c: D1 [14:45:40]MH_I2C_Read... [14:45:40]Read from MH i2c: D1 01 00 [14:45:40]MH_I2C_Read... [14:45:40]Read from MH i2c: D1 01 00 4B 13 00 2F [14:45:40]Write to MH i2c: 01 00 00 4C 13 5F [14:45:40]Write i2c OK [14:45:40]MH_I2C_Read... [14:45:41]*** Cut start [14:45:41]*** Partial cut [14:45:41]*** CUTSNS_PIN = 1 [14:45:41]*** CUTSNS_PIN = 0 [14:45:41]*** Brake cut motor [14:45:41]Read from MH i2c: 01 [14:45:41]MH_I2C_Read... [14:45:41]*** Stop cut motor [14:45:41]*** Cut end [14:45:41]Read from MH i2c: 01 07 00 [14:45:41]MH_I2C_Read... [14:45:41]Read from MH i2c: 01 07 00 4C 13 00 00 00 00 00 FF 0F 74 [14:45:41]process_action close_receipt done [14:45:41]requested_data is exist [14:45:41]produce_requested_data [14:45:41]requested_item fm.sn is exist - process it [14:45:41]wFMCommunicate request_size=4 [14:45:41]MH_SAM_APDU [14:45:41]CAPDU: 80 11 00 00 [14:45:41]Write to MH i2c: E2 08 00 4D 13 80 11 00 00 00 00 00 00 DA [14:45:41]Write i2c OK [14:45:41]MH_I2C_Read... [14:45:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:45:42]Read from MH i2c: E2 [14:45:42]MH_I2C_Read... [14:45:42]Read from MH i2c: E2 17 00 [14:45:42]MH_I2C_Read... [14:45:42]Read from MH i2c: E2 17 00 4D 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 2A [14:45:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:45:42]wFMCommunicate OK [14:45:42]requested_item fd.num is exist - process it [14:45:42]SAM_PROTO_GetFieldsCounters [14:45:42]wFMCommunicate request_size=4 [14:45:42]MH_SAM_APDU [14:45:42]CAPDU: 80 13 00 00 [14:45:42]Write to MH i2c: E2 08 00 4E 13 80 13 00 00 00 00 00 00 DD [14:45:42]Write i2c OK [14:45:42]MH_I2C_Read... [14:45:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:45:42]Read from MH i2c: E2 [14:45:42]MH_I2C_Read... [14:45:42]Read from MH i2c: E2 62 00 [14:45:42]MH_I2C_Read... [14:45:42]Read from MH i2c: E2 62 00 4E 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 48 94 00 00 0E 04 04 00 29 02 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 83 [14:45:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 48 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:45:42]wFMCommunicate OK [14:45:42]SAM_PROTO_GetFieldsCounters done [14:45:42]requested_item shift.num is exist - process it [14:45:42]requested_item shift.opened is exist - process it [14:45:42]req_shift_opened [14:45:42]FM_GetShiftState [14:45:42]SAM_PROTO_GetShiftState [14:45:42]wFMCommunicate request_size=4 [14:45:42]MH_SAM_APDU [14:45:42]CAPDU: 80 13 01 00 [14:45:42]Write to MH i2c: E2 08 00 4F 13 80 13 01 00 00 00 00 00 DF [14:45:42]Write i2c OK [14:45:42]MH_I2C_Read... [14:45:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:45:42]Read from MH i2c: E2 [14:45:42]MH_I2C_Read... [14:45:42]Read from MH i2c: E2 0E 00 [14:45:42]MH_I2C_Read... [14:45:42]Read from MH i2c: E2 0E 00 4F 13 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 A0 [14:45:42]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [14:45:42]wFMCommunicate OK [14:45:42]SAM_PROTO_GetShiftState done [14:45:42]FM_GetShiftState done [14:45:42]req_shift_opened done [14:45:42]requested_item shift.open_date is exist - process it [14:45:42]req_shift_open_date [14:45:42]req_shift_open_date done [14:45:42]produce_requested_data done [14:45:42]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37960,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [14:45:42]process_action_free close_receipt [14:45:42]json_value_free [14:45:42]json_value_free done [14:45:42]process_json_proto returns [14:45:42]Send response to host [14:45:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37960,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [14:45:42]free response buf [14:45:42]execute_script done [14:45:42]execute_script returns [14:45:42]free content buf [14:45:42]Sock 10.Close socket [14:45:42]Sock 10.Thread stoped [14:45:42]Connected sock=11 [14:45:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2A 01 00 00 6E D1 22 01 6E AE 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 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 96 46 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 48 94 00 00 35 04 06 00 E3 AD 32 85 6A 8C 56 88 CA 47 03 08 11 2B [14:45:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 9A D1 47 00 C6 CC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 48 94 00 00 F4 03 04 00 87 F1 21 67 B6 04 01 00 00 16 EE FF F4 B6 EA 41 02 [14:45:43]CommunicateWithHost err = 0 [14:45:43]CheckOFDResponse [00:00:11] *** EcrCore started. Build 196 *** [00:00:11]MH_InterfaceInit /dev/i2c-1 [00:00:11]Malloc ok [00:00:11]/dev/ttyS4 opened [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 01 00 00 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 EE FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 93 [00:00:11]Are we in boot? [00:00:11]We are in boot - try to switch [00:00:11]Write to MH i2c: A0 00 00 02 00 A1 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:11]*** [00:00:11]Read from MH i2c: A0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:11]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:11]*** Waiting for read because exit forced [00:00:11]*** 10 ms more... [00:00:11]*** MH1903S init start (LINUX_LIGHT) [00:00:11]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:11]*** Serial: 3139303353513838 54000000005725EE (1903SQ88T) [00:00:11]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:11]*** step 0: 5000 (2650, 2350 REF) [00:00:11]*** step 1: 4835 (2500, 2335 REF) [00:00:11]*** step 2: 4676 (2440, 2236 REF) [00:00:11]*** step 3: 4523 (2280, 2243 REF) [00:00:11]*** step 4: 4376 (2160, 2216 REF) [00:00:11]*** step 5: 4235 (2050, 2185 REF) [00:00:11]*** step 6: 4098 (1950, 2148 REF) [00:00:11]*** step 7: 3967 (1870, 2097 REF) [00:00:11]*** step 8: 3840 (1828, 2012 REF) [00:00:11]*** step 9: 3719 (1728, 1991 REF) [00:00:11]*** step 10: 3601 (1675, 1926 REF) [00:00:11]*** step 11: 3488 (1635, 1853 REF) [00:00:11]*** step 12: 3379 (1595, 1784 REF) [00:00:11]*** step 13: 3275 (1565, 1710 REF) [00:00:11]*** step 14: 3174 (1543, 1631 REF) [00:00:11]*** step 15: 3077 (1523, 1554 REF) [00:00:11]*** step 16: 2983 (1503, 1480 REF) [00:00:11]*** step 17: 2893 (1486, 1407 REF) [00:00:11]*** step 18: 2806 (1466, 1340 REF) [00:00:11]*** step 19: 2723 (1426, 1297 REF) [00:00:11]*** step 20: 2642 (1406, 1236 REF) [00:00:11]*** step 21: 2565 (1384, 1181 REF) [00:00:11]*** step 22: 2490 (1364, 1126 REF) [00:00:11]*** step 23: 2418 (1344, 1074 REF) [00:00:11]*** step 24: 2349 (1322, 1027 REF) [00:00:11]*** step 25: 2283 (1302, 981 REF) [00:00:11]*** step 26: 2218 (1282, 936 REF) [00:00:11]*** step 27: 2157 (1262, 895 REF) [00:00:11]*** step 28: 2097 (1242, 855 REF) [00:00:11]*** step 29: 2040 (1222, 818 REF) [00:00:11]*** step 30: 1985 (1202, 783 REF) [00:00:11]*** step 31: 1932 (1191, 741 REF) [00:00:11]*** step 32: 1880 (1181, 699 REF) [00:00:11]*** step 33: 1831 (1171, 660 REF) [00:00:11]*** step 34: 1784 (1161, 623 REF) [00:00:11]*** step 35: 1738 (1151, 587 REF) [00:00:11]*** step 36: 1694 (1141, 553 REF) [00:00:11]*** step 37: 1652 (1131, 521 REF) [00:00:11]*** step 38: 1611 (1121, 490 REF) [00:00:11]*** step 39: 1572 (1111, 461 REF) [00:00:11]*** step 40: 1534 (1103, 431 REF) [00:00:11]*** step 41: 1497 (1093, 404 REF) [00:00:11]*** step 42: 1462 (1083, 379 REF) [00:00:11]*** step 43: 1428 (1073, 355 REF) [00:00:11]*** step 44: 1396 (1063, 333 REF) [00:00:11]*** step 45: 1365 (1053, 312 REF) [00:00:11]*** step 46: 1334 (1043, 291 REF) [00:00:11]*** step 47: 1305 (1033, 272 REF) [00:00:11]*** step 48: 1277 (1023, 254 REF) [00:00:11]*** step 49: 1250 (1013, 237 REF) [00:00:11]*** step 50: 1224 (990, 234 REF) [00:00:11]*** step 51: 1199 (980, 219 REF) [00:00:11]*** step 52: 1175 (970, 205 REF) [00:00:11]*** step 53: 1152 (960, 192 REF) [00:00:11]*** step 54: 1130 (950, 180 REF) [00:00:11]*** step 55: 1108 (940, 168 REF) [00:00:11]*** step 56: 1088 (930, 158 REF) [00:00:11]*** step 57: 1068 (920, 148 REF) [00:00:11]*** step 58: 1049 (910, 139 REF) [00:00:11]*** step 59: 1030 (900, 130 REF) [00:00:11]*** step 60: 1012 (890, 122 REF) [00:00:11]*** step 61: 995 (880, 115 REF) [00:00:11]*** step 62: 979 (870, 109 REF) [00:00:11]*** step 63: 963 (860, 103 REF) [00:00:11]*** step 64: 948 (850, 98 REF) [00:00:11]*** step 65: 933 (840, 93 REF) [00:00:11]*** step 66: 919 (830, 89 REF) [00:00:11]*** step 67: 905 (820, 85 REF) [00:00:11]*** step 68: 892 (810, 82 REF) [00:00:11]*** step 69: 879 (800, 79 REF) [00:00:11]*** step 70: 867 (790, 77 REF) [00:00:11]*** step 71: 855 (780, 75 REF) [00:00:11]*** step 72: 844 (770, 74 REF) [00:00:11]*** step 73: 833 (760, 73 REF) [00:00:11]*** step 74: 822 (750, 72 REF) [00:00:11]*** step 75: 812 (740, 72 REF) [00:00:11]*** step 76: 803 (730, 73 REF) [00:00:11]*** step 77: 793 (720, 73 REF) [00:00:11]*** step 78: 784 (710, 74 REF) [00:00:11]*** step 79: 776 (700, 76 REF) [00:00:11]*** step 80: 767 (690, 77 REF) [00:00:11]*** step 81: 759 (680, 79 REF) [00:00:11]*** step 82: 751 (670, 81 REF) [00:00:11]*** step 83: 744 (660, 84 REF) [00:00:11]*** step 84: 737 (650, 87 REF) [00:00:11]*** step 85: 730 (640, 90 REF) [00:00:11]*** step 86: 723 (630, 93 REF) [00:00:11]*** step 87: 717 (620, 97 REF) [00:00:11]*** step 88: 710 (610, 100 REF) [00:00:11]*** step 89: 705 (600, 105 REF) [00:00:11]*** step 90: 699 [00:00:11]*** step 91: 693 [00:00:11]*** step 92: 688 [00:00:11]*** step 93: 683 [00:00:11]*** step 94: 678 [00:00:11]*** step 95: 673 [00:00:11]*** step 96: 669 [00:00:11]*** step 97: 664 [00:00:11]*** step 98: 660 [00:00:11]*** step 99: 656 [00:00:11]*** step 100: 652 [00:00:11]*** step 101: 648 [00:00:11]*** step 102: 644 [00:00:11]*** step 103: 641 [00:00:11]*** step 104: 638 [00:00:11]*** step 105: 634 [00:00:11]*** step 106: 631 [00:00:11]*** step 107: 628 [00:00:11]*** step 108: 625 [00:00:11]*** step 109: 622 [00:00:11]*** step 110: 620 [00:00:11]*** step 111: 617 [00:00:11]*** step 112: 615 [00:00:11]*** step 113: 612 [00:00:11]*** step 114: 610 [00:00:11]*** step 115: 608 [00:00:11]*** step 116: 605 [00:00:11]*** step 117: 603 [00:00:11]*** step 118: 601 [00:00:11]*** step 119: 599 [00:00:11]*** printer: Printer HW initialized [00:00:11]*** initSamCard finished [00:00:11]*** RTC: 8447497+1721854043=1730301540 [00:00:11]*** BPK Status Register BPK_RDY = 0x0 [00:00:11]*** SEN State Register SEN_STATE = 0x20ff [00:00:11]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:11]*** Analog Control Register 0 SEN_ANA0 = 0x33510623 [00:00:11]*** Is cutter blocked? [00:00:12]MH_GetMetrics [00:00:12]Write to MH i2c: 00 00 00 03 00 02 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 EE FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 94 [00:00:12]Are we in boot? [00:00:12]We are not in boot now [00:00:12]Write to MH i2c: 01 00 00 04 00 04 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:12]Model is 3 [00:00:12]MH firmware is 30620 [00:00:12]MH boot firmware is 3 [00:00:12]MH_SetPrinterDots 448 [00:00:12]HeadWidthInBytes 56 [00:00:12]maxmasksize 7 [00:00:12]Write to MH i2c: D6 06 00 05 00 41 00 38 00 FF FF 57 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:12]Write to MH i2c: D5 00 00 06 00 DA [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]ExternCall_SetCallbacks [00:00:12]NVStorageInit [00:00:12]MH_GetDate [00:00:12]Write to MH i2c: F0 00 00 07 00 F6 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 07 00 00 65 4E 22 67 5B 68 A1 66 05 [15:19:01]Current date/time: 30.10.2024 15:19 [15:19:01]FM_Init [15:19:01]wFMConnect [15:19:01]MH_SAM_On [15:19:01]Write to MH i2c: E0 00 00 08 00 E7 [15:19:01]Write i2c OK [15:19:01]MH_I2C_Read... [15:19:01]*** iso7816_init finished! [15:19:01]*** atr: [15:19:01]*** 0F 3B D5 18 FF 81 91 FE [15:19:01]*** 1F C3 80 73 C8 21 10 0A [15:19:01]*** 00 00 00 00 00 00 00 00 [15:19:01]*** 00 00 00 00 00 00 00 00 [15:19:01]*** 00 00 00 00 00 00 00 00 [15:19:01]*** 00 00 00 00 00 00 00 00 [15:19:01]*** 00 00 00 00 00 00 00 00 [15:19:01]*** 00 00 00 00 00 00 00 00 [15:19:01]Read from MH i2c: E0 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E0 10 00 [15:19:01]MH_I2C_Read... [15:19:01]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 [15:19:01]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [15:19:01]wFMCommunicate request_size=10 [15:19:01]MH_SAM_APDU [15:19:01]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [15:19:01]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [15:19:01]Write i2c OK [15:19:01]MH_I2C_Read... [15:19:01]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [15:19:01]Read from MH i2c: E2 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 03 00 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [15:19:01]RAPDU: 90 00 [15:19:01]wFMCommunicate OK [15:19:01]wFMCommunicate request_size=4 [15:19:01]MH_SAM_APDU [15:19:01]CAPDU: 80 11 00 00 [15:19:01]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [15:19:01]Write i2c OK [15:19:01]MH_I2C_Read... [15:19:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:19:01]Read from MH i2c: E2 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 17 00 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D4 [15:19:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:19:01]wFMCommunicate OK [15:19:01]Detected FM SN is 0000000000871841 [15:19:01]Stored FM SN is 0000000000871841 [15:19:01]wFMCommunicate request_size=9 [15:19:01]MH_SAM_APDU [15:19:01]CAPDU: 80 16 00 00 04 E2 3D 01 00 [15:19:01]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 E2 3D 01 00 00 00 B2 [15:19:01]Write i2c OK [15:19:01]MH_I2C_Read... [15:19:01]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [15:19:01]Read from MH i2c: E2 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 03 00 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [15:19:01]RAPDU: 90 00 [15:19:01]wFMCommunicate OK [15:19:01]FM PIN OK [15:19:01]wFMCommunicate request_size=8 [15:19:01]MH_SAM_APDU [15:19:01]CAPDU: 80 14 04 00 03 02 00 01 [15:19:01]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [15:19:01]Write i2c OK [15:19:01]MH_I2C_Read... [15:19:01]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [15:19:01]Read from MH i2c: E2 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 03 00 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [15:19:01]RAPDU: 90 00 [15:19:01]wFMCommunicate OK [15:19:01]wFMCommunicate request_size=13 [15:19:01]MH_SAM_APDU [15:19:01]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [15:19:01]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 [15:19:01]Write i2c OK [15:19:01]MH_I2C_Read... [15:19:01]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [15:19:01]Read from MH i2c: E2 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 03 00 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [15:19:01]RAPDU: 90 00 [15:19:01]wFMCommunicate OK [15:19:01]wFMCommunicate request_size=4 [15:19:01]MH_SAM_APDU [15:19:01]CAPDU: 80 11 00 00 [15:19:01]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [15:19:01]Write i2c OK [15:19:01]MH_I2C_Read... [15:19:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:19:01]Read from MH i2c: E2 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 17 00 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D8 [15:19:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:19:01]wFMCommunicate OK [15:19:01]DocumentArchiveInit [15:19:01]Start Httpd... [15:19:01]Httpd thread 3067719012 created [15:19:01]Write to MH i2c: 01 00 00 0F 00 0F [15:19:01]Write i2c OK [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: 01 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: 01 07 00 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [15:19:01]MH Int Process started [15:19:01]Allocated Socket 7 [15:19:01]Bind OK [15:19:01]Listen OK [15:19:01]httpd running on port 8080 [15:19:01]Waiting for new connection... [15:19:01]OFD Sender: Processing packet 37961 [packets to send 42, broken 41] [15:19:01]ProducePacketName [15:19:01]name=ofd_packets/00037961 [15:19:01]OFD Sender: To server: pG, [15:19:01]CommunicateWithHost lk.salyk.kg:30040 [15:19:01]ConnectInit lk.salyk.kg [15:19:01]Connected sock=9 [15:19:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 15 70 20 01 39 6B 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 A4 46 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 49 94 00 00 35 04 06 00 97 1B 67 0C 06 D6 4D C8 0B CA 36 93 CB 7B [15:19:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 80 6D 47 00 F9 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 49 94 00 00 F4 03 04 00 51 F9 21 67 B6 04 01 00 00 CD 18 03 5C E4 C8 D5 F9 [15:19:02]CommunicateWithHost err = 0 [15:19:02]CheckOFDResponse [15:19:02]1017 (14) - 77093643461234 [15:19:02]1041 (16) - 0000000000871841 [15:19:02]1040 (4) - 37961 [15:19:02]1012 (4) - 30.10.2024 09:16 [15:19:02]1206 (1) - 0 [15:19:02]OFD Sender: Remove packet 37961 [15:19:02]ProducePacketName [15:19:02]name=ofd_packets/00037961 [15:19:02]NVStorageDeleteData [15:19:02]accept exits with 8 [15:19:02]New connection [15:19:02]New thread 3067432292 created [15:19:02]Waiting for new connection... [15:19:02] Sock 8.Parse request [15:19:02]Sock 8.Check first char [15:19:02]Sock 8.First char is OK [15:19:02]request: POST /json_proto HTTP/1.0 [15:19:02]Method: POST [15:19:02]URL: /json_proto [15:19:02]Method is POST - this is cgi request [15:19:02]url: /json_proto [15:19:02]query_string will be loaded in cgi processing [15:19:02]execute_cgi json_proto POST (null) [15:19:02]execute_cgi path=json_proto method=POST [15:19:02]POST find Content-Length [15:19:02]Host: 172.17.40.196:8080 [15:19:02]Content-Length: 215 [15:19:02]Content-Type: application/json [15:19:02] [15:19:02]POST finish read [15:19:02]Found Content-Length = 215 [15:19:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:19:02]execute_script... [15:19:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:19:02]POST & json_proto [15:19:02]process_json_proto [15:19:02]json parsed OK: [15:19:02]protocol is kg_v1.0 [15:19:02]action value=get_value [15:19:02]process_action get_value [15:19:02]cmd_get_value [15:19:02]process_action get_value done [15:19:02]requested_data is exist [15:19:02]produce_requested_data [15:19:02]requested_item kkm.sn is exist - process it [15:19:02]requested_item kkm.ver is exist - process it [15:19:02]requested_item fm.sn is exist - process it [15:19:02]wFMCommunicate request_size=4 [15:19:02]MH_SAM_APDU [15:19:02]CAPDU: 80 11 00 00 [15:19:02]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [15:19:02]Write i2c OK [15:19:02]MH_I2C_Read... [15:19:02]OFD Sender: No OFD packet to send [15:19:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:19:02]Read from MH i2c: E2 [15:19:02]MH_I2C_Read... [15:19:02]Read from MH i2c: E2 17 00 [15:19:02]MH_I2C_Read... [15:19:02]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DA [15:19:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:19:02]wFMCommunicate OK [15:19:02]requested_item fd.num is exist - process it [15:19:02]SAM_PROTO_GetFieldsCounters [15:19:02]wFMCommunicate request_size=4 [15:19:02]MH_SAM_APDU [15:19:02]CAPDU: 80 13 00 00 [15:19:02]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [15:19:02]Write i2c OK [15:19:02]MH_I2C_Read... [15:19:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:19:02]Read from MH i2c: E2 [15:19:02]MH_I2C_Read... [15:19:02]Read from MH i2c: E2 62 00 [15:19:02]MH_I2C_Read... [15:19:02]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 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 49 94 00 00 0E 04 04 00 29 02 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 37 [15:19:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 49 94 00 00 0E 04 04 00 29 02 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 [15:19:02]wFMCommunicate OK [15:19:02]SAM_PROTO_GetFieldsCounters done [15:19:02]requested_item shift.num is exist - process it [15:19:02]requested_item shift.opened is exist - process it [15:19:02]req_shift_opened [15:19:02]FM_GetShiftState [15:19:02]SAM_PROTO_GetShiftState [15:19:02]wFMCommunicate request_size=4 [15:19:02]MH_SAM_APDU [15:19:02]CAPDU: 80 13 01 00 [15:19:02]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [15:19:02]Write i2c OK [15:19:02]MH_I2C_Read... [15:19:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:19:02]Read from MH i2c: E2 [15:19:02]MH_I2C_Read... [15:19:02]Read from MH i2c: E2 0E 00 [15:19:02]MH_I2C_Read... [15:19:02]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 50 [15:19:02]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [15:19:02]wFMCommunicate OK [15:19:02]SAM_PROTO_GetShiftState done [15:19:02]FM_GetShiftState done [15:19:02]req_shift_opened done [15:19:02]requested_item shift.open_date is exist - process it [15:19:02]req_shift_open_date [15:19:02]req_shift_open_date done [15:19:02]produce_requested_data done [15:19:02]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37961,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [15:19:02]process_action_free get_value [15:19:02]json_value_free [15:19:02]json_value_free done [15:19:02]process_json_proto returns [15:19:02]Send response to host [15:19:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37961,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [15:19:02]free response buf [15:19:02]execute_script done [15:19:02]execute_script returns [15:19:02]free content buf [15:19:02]Sock 8.Close socket [15:19:02]Sock 8.Thread stoped [15:19:02]accept exits with 9 [15:19:02]New connection [15:19:02]New thread 3067288932 created [15:19:02]Thread 3067432292 joined [15:19:02]Waiting for new connection... [15:19:02] Sock 9.Parse request [15:19:02]Sock 9.Check first char [15:19:02]Sock 9.First char is OK [15:19:02]request: POST /json_proto HTTP/1.0 [15:19:02]Method: POST [15:19:02]URL: /json_proto [15:19:02]Method is POST - this is cgi request [15:19:02]url: /json_proto [15:19:02]query_string will be loaded in cgi processing [15:19:02]execute_cgi json_proto POST (null) [15:19:02]execute_cgi path=json_proto method=POST [15:19:02]POST find Content-Length [15:19:02]Host: 172.17.40.196:8080 [15:19:02]Content-Length: 331 [15:19:02]Content-Type: application/json [15:19:02] [15:19:02]POST finish read [15:19:02]Found Content-Length = 331 [15:19:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [15:19:02]execute_script... [15:19: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" ] } } [15:19:02]POST & json_proto [15:19:02]process_json_proto [15:19:02]json parsed OK: [15:19:02]protocol is kg_v1.0 [15:19:02]action value=get_value [15:19:02]process_action get_value [15:19:02]cmd_get_value [15:19:02]process_action get_value done [15:19:02]requested_data is exist [15:19:02]produce_requested_data [15:19:02]requested_item fm.sale.total is exist - process it [15:19:02]SAM_PROTO_GetFMData [15:19:02]wFMCommunicate request_size=4 [15:19:02]MH_SAM_APDU [15:19:02]CAPDU: 80 13 03 00 [15:19:02]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [15:19:02]Write i2c OK [15:19:02]MH_I2C_Read... [15:19:03]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [15:19:03]Read from MH i2c: E2 [15:19:03]MH_I2C_Read... [15:19:03]Read from MH i2c: E2 FD 00 [15:19:03]MH_I2C_Read... [15:19:03]Read from MH i2c: E2 FD 00 13 00 00 C0 04 85 04 BC 04 6E 04 04 00 F7 8F 00 00 69 04 A0 00 6F 04 04 00 F2 8F 00 00 B1 04 04 00 1A AF 58 34 70 04 04 00 C0 0C 7D 2E 72 04 04 00 5A A2 DB 05 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 D3 23 8F 05 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 2D 86 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 50 [15:19:03]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 F7 8F 00 00 69 04 A0 00 6F 04 04 00 F2 8F 00 00 B1 04 04 00 1A AF 58 34 70 04 04 00 C0 0C 7D 2E 72 04 04 00 5A A2 DB 05 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 D3 23 8F 05 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 2D 86 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 [15:19:03]wFMCommunicate OK [15:19:03]wFMCommunicate request_size=4 [15:19:03]MH_SAM_APDU [15:19:03]CAPDU: 80 17 00 00 [15:19:03]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [15:19:03]Write i2c OK [15:19:03]MH_I2C_Read... [15:19:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:19:03]Read from MH i2c: E2 [15:19:03]MH_I2C_Read... [15:19:03]Read from MH i2c: E2 FD 00 [15:19:03]MH_I2C_Read... [15:19:03]Read from MH i2c: E2 FD 00 14 00 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 8F [15:19:03]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [15:19:03]wFMCommunicate OK [15:19:03]wFMCommunicate request_size=4 [15:19:03]MH_SAM_APDU [15:19:03]CAPDU: 80 17 00 00 [15:19:03]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [15:19:03]Write i2c OK [15:19:03]MH_I2C_Read... [15:19:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:19:03]Read from MH i2c: E2 [15:19:03]MH_I2C_Read... [15:19:03]Read from MH i2c: E2 FD 00 [15:19:03]MH_I2C_Read... [15:19:03]Read from MH i2c: E2 FD 00 15 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 38 [15:19:03]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [15:19:03]wFMCommunicate OK [15:19:03]wFMCommunicate request_size=4 [15:19:03]MH_SAM_APDU [15:19:03]CAPDU: 80 17 00 00 [15:19:03]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [15:19:03]Write i2c OK [15:19:03]MH_I2C_Read... [15:19:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:19:04]Read from MH i2c: E2 [15:19:04]MH_I2C_Read... [15:19:04]Read from MH i2c: E2 FD 00 [15:19:04]MH_I2C_Read... [15:19:04]Read from MH i2c: E2 FD 00 16 00 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 0E [15:19:04]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [15:19:04]wFMCommunicate OK [15:19:04]wFMCommunicate request_size=4 [15:19:04]MH_SAM_APDU [15:19:04]CAPDU: 80 17 00 00 [15:19:04]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [15:19:04]Write i2c OK [15:19:04]MH_I2C_Read... [15:19:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [15:19:04]Read from MH i2c: E2 [15:19:04]MH_I2C_Read... [15:19:04]Read from MH i2c: E2 DD 00 [15:19:04]MH_I2C_Read... [15:19:04]Read from MH i2c: E2 DD 00 17 00 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7F [15:19:04]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:19:04]wFMCommunicate OK [15:19:04]SAM_PROTO_GetFMData done [15:19:04]requested_item fm.sale_refund.total is exist - process it [15:19:04]requested_item fm.buy.total is exist - process it [15:19:04]requested_item shift.sale.total is exist - process it [15:19:04]SAM_PROTO_GetShiftData [15:19:04]wFMCommunicate request_size=4 [15:19:04]MH_SAM_APDU [15:19:04]CAPDU: 80 13 02 00 [15:19:04]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [15:19:04]Write i2c OK [15:19:04]MH_I2C_Read... [15:19:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:19:04]Read from MH i2c: E2 [15:19:04]MH_I2C_Read... [15:19:04]Read from MH i2c: E2 FD 00 [15:19:04]MH_I2C_Read... [15:19:04]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 2B 00 00 00 69 04 9B 00 6F 04 04 00 2B 00 00 00 B1 04 03 00 58 0C 0F 70 04 03 00 BC 7C 0D 72 04 03 00 9C 8F 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 11 99 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 14 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 72 [15:19:04]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2B 00 00 00 69 04 9B 00 6F 04 04 00 2B 00 00 00 B1 04 03 00 58 0C 0F 70 04 03 00 BC 7C 0D 72 04 03 00 9C 8F 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 11 99 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 14 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [15:19:05]wFMCommunicate OK [15:19:05]wFMCommunicate request_size=4 [15:19:05]MH_SAM_APDU [15:19:05]CAPDU: 80 17 00 00 [15:19:05]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [15:19:05]Write i2c OK [15:19:05]MH_I2C_Read... [15:19:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:19:05]Read from MH i2c: E2 [15:19:05]MH_I2C_Read... [15:19:05]Read from MH i2c: E2 FD 00 [15:19:05]MH_I2C_Read... [15:19:05]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [15:19:05]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [15:19:05]wFMCommunicate OK [15:19:05]wFMCommunicate request_size=4 [15:19:05]MH_SAM_APDU [15:19:05]CAPDU: 80 17 00 00 [15:19:05]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [15:19:05]Write i2c OK [15:19:05]MH_I2C_Read... [15:19:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:19:05]Read from MH i2c: E2 [15:19:05]MH_I2C_Read... [15:19:05]Read from MH i2c: E2 FD 00 [15:19:05]MH_I2C_Read... [15:19:05]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [15:19:05]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [15:19:05]wFMCommunicate OK [15:19:05]wFMCommunicate request_size=4 [15:19:05]MH_SAM_APDU [15:19:05]CAPDU: 80 17 00 00 [15:19:05]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [15:19:05]Write i2c OK [15:19:05]MH_I2C_Read... [15:19:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:19:05]Read from MH i2c: E2 [15:19:05]MH_I2C_Read... [15:19:05]Read from MH i2c: E2 FD 00 [15:19:05]MH_I2C_Read... [15:19:05]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [15:19:05]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [15:19:05]wFMCommunicate OK [15:19:05]wFMCommunicate request_size=4 [15:19:05]MH_SAM_APDU [15:19:05]CAPDU: 80 17 00 00 [15:19:05]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [15:19:05]Write i2c OK [15:19:05]MH_I2C_Read... [15:19:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [15:19:06]Read from MH i2c: E2 [15:19:06]MH_I2C_Read... [15:19:06]Read from MH i2c: E2 CB 00 [15:19:06]MH_I2C_Read... [15:19:06]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [15:19:06]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:19:06]wFMCommunicate OK [15:19:06]SAM_PROTO_GetShiftData done [15:19:06]requested_item shift.sale.total_cash is exist - process it [15:19:06]requested_item shift.sale_refund.total is exist - process it [15:19:06]requested_item shift.sale_refund.total_cash is exist - process it [15:19:06]requested_item shift.buy.total is exist - process it [15:19:06]requested_item shift.buy.total_cash is exist - process it [15:19:06]produce_requested_data done [15:19:06]produce_requested_data return {"fm.sale.total":8782272.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":9862.00,"shift.sale.total_cash":8839.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [15:19:06]process_action_free get_value [15:19:06]json_value_free [15:19:06]json_value_free done [15:19:06]process_json_proto returns [15:19:06]Send response to host [15:19:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8782272.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":9862.00,"shift.sale.total_cash":8839.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [15:19:06]free response buf [15:19:06]execute_script done [15:19:06]execute_script returns [15:19:06]free content buf [15:19:06]Sock 9.Close socket [15:19:06]Sock 9.Thread stoped [15:19:07]OFD Sender: No OFD packet to send [15:19:07]accept exits with 8 [15:19:07]New connection [15:19:07]New thread 3067432292 created [15:19:07]Thread 3067288932 joined [15:19:07]Waiting for new connection... [15:19:07] Sock 8.Parse request [15:19:07]Sock 8.Check first char [15:19:07]Sock 8.First char is OK [15:19:07]request: POST /json_proto HTTP/1.0 [15:19:07]Method: POST [15:19:07]URL: /json_proto [15:19:07]Method is POST - this is cgi request [15:19:07]url: /json_proto [15:19:07]query_string will be loaded in cgi processing [15:19:07]execute_cgi json_proto POST (null) [15:19:07]execute_cgi path=json_proto method=POST [15:19:07]POST find Content-Length [15:19:07]Host: 172.17.40.196:8080 [15:19:07]Content-Length: 710 [15:19:07]Content-Type: application/json [15:19:07] [15:19:07]POST finish read [15:19:07]Found Content-Length = 710 [15:19:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35261", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 104.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:19:07]execute_script... [15:19:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35261", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 104.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:19:07]POST & json_proto [15:19:07]process_json_proto [15:19:07]json parsed OK: [15:19:07]protocol is kg_v1.0 [15:19:07]action value=close_receipt [15:19:07]process_action close_receipt [15:19:07]cmd_close_receipt [15:19:07]MH_GetDate [15:19:07]Write to MH i2c: F0 00 00 1D 00 0C [15:19:07]Write i2c OK [15:19:07]MH_I2C_Read... [15:19:07]Read from MH i2c: F0 [15:19:07]MH_I2C_Read... [15:19:07]Read from MH i2c: F0 09 00 [15:19:07]MH_I2C_Read... [15:19:07]Read from MH i2c: F0 09 00 1D 00 00 6C 4E 22 67 5B 68 A1 66 22 [15:19:07]GetLastDocTimeStamp 1730299556 [15:19:07]current date 1730301548 [15:19:07]FM_GetShiftState [15:19:07]SAM_PROTO_GetShiftState [15:19:07]wFMCommunicate request_size=4 [15:19:07]MH_SAM_APDU [15:19:07]CAPDU: 80 13 01 00 [15:19:07]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [15:19:07]Write i2c OK [15:19:07]MH_I2C_Read... [15:19:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:19:08]Read from MH i2c: E2 [15:19:08]MH_I2C_Read... [15:19:08]Read from MH i2c: E2 0E 00 [15:19:08]MH_I2C_Read... [15:19:08]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 5C [15:19:08]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [15:19:08]wFMCommunicate OK [15:19:08]SAM_PROTO_GetShiftState done [15:19:08]FM_GetShiftState done [15:19:08]opened in 1730246837 [15:19:08]opened+sec_in_day 1730333237 [15:19:08]quantity*price = 10400 [15:19:08]sum+1 = 10401 [15:19:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 104.00 НСП 1% : 0.92 НДС 12% : 11.04 Наличными: 104.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 44 30.10.2024 15:19 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37962 ФПД: 141262535554471 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T151908&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37962&fm=141262535554471&tin=02508201610067®Number=0000000000091684&sum=10400 0 [15:19:09]StoreToDocumentArchive [15:19:09]shift 553 fd 37962 [15:19:09]save to /storage/0553/doc_00037962 [15:19:09]save last doc name /storage/0553/doc_00037962 to /storage/kkm_last_doc_name [15:19:09]save OK [15:19:09]Clear old archive folders... [15:19:09]ProcessDocumentItem done err = 0, tmpTLVsize=303 [15:19:09]tlvbuf is 005C85A0 [15:19:09]SAM_PROTO_ClearQueue [15:19:09]wFMCommunicate request_size=4 [15:19:09]MH_SAM_APDU [15:19:09]CAPDU: 80 09 00 00 [15:19:09]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [15:19:09]Write i2c OK [15:19:09]MH_I2C_Read... [15:19:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:19:09]Read from MH i2c: E2 [15:19:09]MH_I2C_Read... [15:19:09]Read from MH i2c: E2 03 00 [15:19:09]MH_I2C_Read... [15:19:09]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [15:19:09]RAPDU: 90 00 [15:19:09]wFMCommunicate OK [15:19:09]SAM_PROTO_ClearQueue done [15:19:09]KKMCreateOFDPacket [15:19:09]OFDProtocolAddRootSTLVToBuf [15:19:09]FM_MakeSignedData [15:19:09]FM_MakeSignedData [15:19:09]SAM_PROTO_SignData [15:19:09]wFMCommunicate request_size=4 [15:19:09]MH_SAM_APDU [15:19:09]CAPDU: 80 0D 01 02 [15:19:09]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [15:19:09]Write i2c OK [15:19:09]MH_I2C_Read... [15:19:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:19:09]Read from MH i2c: E2 [15:19:09]MH_I2C_Read... [15:19:09]Read from MH i2c: E2 03 00 [15:19:09]MH_I2C_Read... [15:19:09]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [15:19:09]RAPDU: 90 00 [15:19:09]wFMCommunicate OK [15:19:09]wFMCommunicate request_size=255 [15:19:09]MH_SAM_APDU [15:19:09]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 6C 4E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D [15:19:09]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 6C 4E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 00 00 82 [15:19:09]Write i2c OK [15:19:09]MH_I2C_Read... [15:19:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:19:09]Read from MH i2c: E2 [15:19:09]MH_I2C_Read... [15:19:09]Read from MH i2c: E2 03 00 [15:19:09]MH_I2C_Read... [15:19:09]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [15:19:09]RAPDU: 90 00 [15:19:09]wFMCommunicate OK [15:19:09]wFMCommunicate request_size=62 [15:19:09]MH_SAM_APDU [15:19:09]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4A 94 00 00 35 04 06 00 80 7A 3F 40 75 A7 [15:19:09]Write to MH i2c: E2 41 00 2E 00 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4A 94 00 00 35 04 06 00 80 7A 3F 40 75 A7 00 00 56 [15:19:09]Write i2c OK [15:19:09]MH_I2C_Read... [15:19:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:19:09]Read from MH i2c: E2 [15:19:09]MH_I2C_Read... [15:19:09]Read from MH i2c: E2 03 00 [15:19:09]MH_I2C_Read... [15:19:09]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [15:19:09]RAPDU: 90 00 [15:19:09]wFMCommunicate OK [15:19:09]wFMCommunicate request_size=4 [15:19:09]MH_SAM_APDU [15:19:09]CAPDU: 80 0D 03 02 [15:19:09]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [15:19:09]Write i2c OK [15:19:09]MH_I2C_Read... [15:19:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:19:09]Read from MH i2c: E2 [15:19:09]MH_I2C_Read... [15:19:09]Read from MH i2c: E2 0B 00 [15:19:09]MH_I2C_Read... [15:19:09]Read from MH i2c: E2 0B 00 2F 00 00 00 9F FA 9F CE DD 29 98 90 00 4F [15:19:09]RAPDU: 00 9F FA 9F CE DD 29 98 90 00 [15:19:09]wFMCommunicate OK [15:19:09]SAM_PROTO_SignData done [15:19:09]FM_MakeSignedData done [15:19:09]CreateOFDProtocolMessage [15:19:09]wFMCommunicate request_size=4 [15:19:09]MH_SAM_APDU [15:19:09]CAPDU: 80 11 00 00 [15:19:09]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [15:19:09]Write i2c OK [15:19:09]MH_I2C_Read... [15:19:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:19:09]Read from MH i2c: E2 [15:19:09]MH_I2C_Read... [15:19:09]Read from MH i2c: E2 17 00 [15:19:09]MH_I2C_Read... [15:19:09]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 FA [15:19:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:19:09]wFMCommunicate OK [15:19:09]CreateOFDProtocolMessage done [15:19:09]OFDSenderStorePacket 37962 [15:19:09]StoreOFDPacket docnum=37962 [15:19:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 43 01 00 00 D2 F2 3B 01 EC 7B 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 6C 4E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4A 94 00 00 35 04 06 00 80 7A 3F 40 75 A7 00 9F FA 9F CE DD 29 98 [15:19:09]CheckFolder [15:19:09]dirname=/storage/ofd_packets [15:19:09]CheckFolder done [15:19:09]ProducePacketName [15:19:09]name=ofd_packets/00037962 [15:19:09]NVStorageSaveData ofd_packets/00037962 [15:19:09]File name is /storage/ofd_packets/00037962 [15:19:09]Write 353 bytes [15:19:09]NVStorageSaveData done [15:19:09]OFDSenderStorePacket done [15:19:09]KKMCreateOFDPacket done [15:19:09]NVStorageSaveData kkm_last_timestamp [15:19:09]File name is /storage/kkm_last_timestamp [15:19:09]Write 4 bytes [15:19:09]NVStorageSaveData done [15:19:09]ExternCall_PrintAddStr [15:19:09]wPrintStart [15:19:09]Write to MH i2c: 01 00 00 31 00 31 [15:19:09]Write i2c OK [15:19:09]MH_I2C_Read... [15:19:09]Read from MH i2c: 01 [15:19:09]MH_I2C_Read... [15:19:09]Read from MH i2c: 01 07 00 [15:19:09]MH_I2C_Read... [15:19:09]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [15:19:09]RasterBufferAndPrint [15:19:09]line Счет N : (3)35261 [15:19:09]line ИНН: 02508201610067 [15:19:09]line Контрольно-Кассовый Чек [15:19:09]line ПРОДАЖА [15:19:09]line Товар: 4870202521216 [15:19:09]line Напиток MAXI чай 1,2 зел.лимон (новый) [15:19:09]line 1.000 * 104.00 [15:19:09]line = 104.00 [15:19:09]line НДС 12% НСП 1% [15:19:09]line > о реализуемом товаре [15:19:09]line ИТОГО: 104.00 [15:19:09]line НСП 1% : 0.92 [15:19:09]line НДС 12% : 11.04 [15:19:09]line Наличными: 104.00 [15:19:09]line Безнал.: 0.00 [15:19:09]line Место: АЗС № 126 "Партнер Нефть" [15:19:09]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [15:19:09]line СНО: Общий режим [15:19:09]line Чек 44 30.10.2024 15:19 [15:19:09]line Смена: 553 ФФД: 1.0 [15:19:09]line ЗНМ: 0300000092 [15:19:09]line РНМ: 0000000000091684 [15:19:09]line Версия ККМ: 001 [15:19:09]line ФМ: 0000000000871841 [15:19:09]line ФД: 37962 [15:19:09]line ФПД: 141262535554471 [15:19:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T151908&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37962&fm=141262535554471&tin=02508201610067®Number=0000000000091684&sum=10400 [15:19:10]line 0 [15:19:10]written 0, free lines is 4095 [15:19:10]OFD Sender: Processing packet 37962 [packets to send 42, broken 41] [15:19:10]ProducePacketName [15:19:10]name=ofd_packets/00037962 [15:19:10]OFD Sender: To server: pG, [15:19:10]CommunicateWithHost lk.salyk.kg:30040 [15:19:10]ConnectInit lk.salyk.kg [15:19:10]Write to MH i2c: 01 00 00 5A 00 5A [15:19:10]Write i2c OK [15:19:10]MH_I2C_Read... [15:19:10]Read from MH i2c: 01 [15:19:10]MH_I2C_Read... [15:19:10]Read from MH i2c: 01 07 00 [15:19:10]MH_I2C_Read... [15:19:10]Read from MH i2c: 01 07 00 5A 00 00 00 00 00 00 B0 0C 1D [15:19:10]RasterBufferAndPrint [15:19:10]line [15:19:10]line [15:19:10]line [15:19:10]line [15:19:10]line [15:19:10]written 0, free lines is 3264 [15:19:10]MH_Cut [15:19:10]Write to MH i2c: D1 01 00 61 00 01 33 [15:19:10]Write i2c OK [15:19:10]MH_I2C_Read... [15:19:10]Read from MH i2c: D1 [15:19:10]MH_I2C_Read... [15:19:10]Read from MH i2c: D1 01 00 [15:19:10]MH_I2C_Read... [15:19:10]Read from MH i2c: D1 01 00 61 00 00 32 [15:19:10]Write to MH i2c: 01 00 00 62 00 62 [15:19:10]Write i2c OK [15:19:10]MH_I2C_Read... [15:19:10]Connected sock=10 [15:19:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 43 01 00 00 D2 F2 3B 01 EC 7B 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 6C 4E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4A 94 00 00 35 04 06 00 80 7A 3F 40 75 A7 00 9F FA 9F CE DD 29 98 [15:19:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 0D CE 47 00 F8 BB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4A 94 00 00 F4 03 04 00 5A F9 21 67 B6 04 01 00 00 4B 1B 05 E2 67 97 6F 5A [15:19:11]CommunicateWithHost err = 0 [15:19:11]CheckOFDResponse [15:19:11]1017 (14) - 77093643461234 [15:19:11]1041 (16) - 0000000000871841 [15:19:11]1040 (4) - 37962 [15:19:11]1012 (4) - 30.10.2024 09:16 [15:19:11]1206 (1) - 0 [15:19:11]OFD Sender: Remove packet 37962 [15:19:11]ProducePacketName [15:19:11]name=ofd_packets/00037962 [15:19:11]NVStorageDeleteData [15:19:11]*** Cut start [15:19:11]*** Partial cut [15:19:11]*** CUTSNS_PIN = 1 [15:19:11]*** CUTSNS_PIN = 0 [15:19:11]*** Brake cut motor [15:19:11]OFD Sender: No OFD packet to send [15:19:11]Read from MH i2c: 01 [15:19:11]MH_I2C_Read... [15:19:11]*** Stop cut motor [15:19:11]*** Cut end [15:19:11]Read from MH i2c: 01 07 00 [15:19:11]MH_I2C_Read... [15:19:11]Read from MH i2c: 01 07 00 62 00 00 00 00 00 00 FF 0F 77 [15:19:11]process_action close_receipt done [15:19:11]requested_data is exist [15:19:11]produce_requested_data [15:19:11]requested_item fm.sn is exist - process it [15:19:11]wFMCommunicate request_size=4 [15:19:11]MH_SAM_APDU [15:19:11]CAPDU: 80 11 00 00 [15:19:11]Write to MH i2c: E2 08 00 63 00 80 11 00 00 00 00 00 00 DD [15:19:11]Write i2c OK [15:19:11]MH_I2C_Read... [15:19:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:19:11]Read from MH i2c: E2 [15:19:11]MH_I2C_Read... [15:19:11]Read from MH i2c: E2 17 00 [15:19:11]MH_I2C_Read... [15:19:11]Read from MH i2c: E2 17 00 63 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 2D [15:19:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:19:12]wFMCommunicate OK [15:19:12]requested_item fd.num is exist - process it [15:19:12]SAM_PROTO_GetFieldsCounters [15:19:12]wFMCommunicate request_size=4 [15:19:12]MH_SAM_APDU [15:19:12]CAPDU: 80 13 00 00 [15:19:12]Write to MH i2c: E2 08 00 64 00 80 13 00 00 00 00 00 00 E0 [15:19:12]Write i2c OK [15:19:12]MH_I2C_Read... [15:19:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:19:12]Read from MH i2c: E2 [15:19:12]MH_I2C_Read... [15:19:12]Read from MH i2c: E2 62 00 [15:19:12]MH_I2C_Read... [15:19:12]Read from MH i2c: E2 62 00 64 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 4A 94 00 00 0E 04 04 00 29 02 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 8E [15:19:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 4A 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:19:12]wFMCommunicate OK [15:19:12]SAM_PROTO_GetFieldsCounters done [15:19:12]requested_item shift.num is exist - process it [15:19:12]requested_item shift.opened is exist - process it [15:19:12]req_shift_opened [15:19:12]FM_GetShiftState [15:19:12]SAM_PROTO_GetShiftState [15:19:12]wFMCommunicate request_size=4 [15:19:12]MH_SAM_APDU [15:19:12]CAPDU: 80 13 01 00 [15:19:12]Write to MH i2c: E2 08 00 65 00 80 13 01 00 00 00 00 00 E2 [15:19:12]Write i2c OK [15:19:12]MH_I2C_Read... [15:19:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:19:12]Read from MH i2c: E2 [15:19:12]MH_I2C_Read... [15:19:12]Read from MH i2c: E2 0E 00 [15:19:12]MH_I2C_Read... [15:19:12]Read from MH i2c: E2 0E 00 65 00 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 A3 [15:19:12]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [15:19:12]wFMCommunicate OK [15:19:12]SAM_PROTO_GetShiftState done [15:19:12]FM_GetShiftState done [15:19:12]req_shift_opened done [15:19:12]requested_item shift.open_date is exist - process it [15:19:12]req_shift_open_date [15:19:12]req_shift_open_date done [15:19:12]produce_requested_data done [15:19:12]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37962,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [15:19:12]process_action_free close_receipt [15:19:12]json_value_free [15:19:12]json_value_free done [15:19:12]process_json_proto returns [15:19:12]Send response to host [15:19:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37962,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [15:19:12]free response buf [15:19:12]execute_script done [15:19:12]execute_script returns [15:19:12]free content buf [15:19:12]Sock 8.Close socket [15:19:12]Sock 8.Thread stoped [15:19:16]OFD Sender: No OFD packet to send [15:19:21]OFD Sender: No OFD packet to send [15:19:26]OFD Sender: No OFD packet to send [15:19:31]OFD Sender: No OFD packet to send [15:19:36]OFD Sender: No OFD packet to send [15:19:41]OFD Sender: No OFD packet to send [15:19:46]OFD Sender: No OFD packet to send [15:19:51]OFD Sender: No OFD packet to send [15:19:56]OFD Sender: No OFD packet to send [15:20:01]OFD Sender: No OFD packet to send [15:20:06]OFD Sender: No OFD packet to send [15:20:11]OFD Sender: No OFD packet to send [15:20:16]OFD Sender: No OFD packet to send [15:20:21]OFD Sender: No OFD packet to send [15:20:26]OFD Sender: No OFD packet to send [15:20:31]OFD Sender: No OFD packet to send [15:20:36]OFD Sender: No OFD packet to send [15:20:41]OFD Sender: No OFD packet to send [15:20:46]OFD Sender: No OFD packet to send [15:20:51]OFD Sender: No OFD packet to send [15:20:56]OFD Sender: No OFD packet to send [15:21:01]OFD Sender: No OFD packet to send [15:21:06]OFD Sender: No OFD packet to send [15:21:11]OFD Sender: No OFD packet to send [15:21:16]OFD Sender: No OFD packet to send [15:21:21]OFD Sender: No OFD packet to send [15:21:26]OFD Sender: No OFD packet to send [15:21:31]OFD Sender: No OFD packet to send [15:21:36]OFD Sender: No OFD packet to send [15:21:41]OFD Sender: No OFD packet to send [15:21:46]OFD Sender: No OFD packet to send [15:21:51]OFD Sender: No OFD packet to send [15:21:56]OFD Sender: No OFD packet to send [15:22:01]OFD Sender: No OFD packet to send [15:22:06]OFD Sender: No OFD packet to send [15:22:11]OFD Sender: No OFD packet to send [15:22:16]OFD Sender: No OFD packet to send [15:22:21]OFD Sender: No OFD packet to send [15:22:26]OFD Sender: No OFD packet to send [15:22:31]OFD Sender: No OFD packet to send [15:22:36]OFD Sender: No OFD packet to send [15:22:41]OFD Sender: No OFD packet to send [15:22:46]OFD Sender: No OFD packet to send [15:22:51]OFD Sender: No OFD packet to send [15:22:56]OFD Sender: No OFD packet to send [15:23:01]OFD Sender: No OFD packet to send [15:23:06]OFD Sender: No OFD packet to send [15:23:11]OFD Sender: No OFD packet to send [15:23:16]OFD Sender: No OFD packet to send [15:23:21]OFD Sender: No OFD packet to send [15:23:26]OFD Sender: No OFD packet to send [15:23:31]OFD Sender: No OFD packet to send [15:23:37]OFD Sender: No OFD packet to send [15:23:42]OFD Sender: No OFD packet to send [15:23:47]OFD Sender: No OFD packet to send [15:23:52]OFD Sender: No OFD packet to send [15:23:57]OFD Sender: No OFD packet to send [15:24:02]OFD Sender: No OFD packet to send [15:24:07]OFD Sender: No OFD packet to send [15:24:12]OFD Sender: No OFD packet to send [15:24:17]OFD Sender: No OFD packet to send [15:24:22]OFD Sender: No OFD packet to send [15:24:27]OFD Sender: No OFD packet to send [15:24:32]OFD Sender: No OFD packet to send [15:24:37]OFD Sender: No OFD packet to send [15:24:42]OFD Sender: No OFD packet to send [15:24:47]OFD Sender: No OFD packet to send [15:24:52]OFD Sender: No OFD packet to send [15:24:57]OFD Sender: No OFD packet to send [15:25:02]OFD Sender: No OFD packet to send [15:25:07]OFD Sender: No OFD packet to send [15:25:12]OFD Sender: No OFD packet to send [15:25:17]OFD Sender: No OFD packet to send [15:25:22]OFD Sender: No OFD packet to send [15:25:27]OFD Sender: No OFD packet to send [15:25:32]OFD Sender: No OFD packet to send [15:25:37]OFD Sender: No OFD packet to send [15:25:42]OFD Sender: No OFD packet to send [15:25:47]OFD Sender: No OFD packet to send [15:25:52]OFD Sender: No OFD packet to send [15:25:57]OFD Sender: No OFD packet to send [15:26:02]OFD Sender: No OFD packet to send [15:26:07]OFD Sender: No OFD packet to send [15:26:12]OFD Sender: No OFD packet to send [15:26:17]OFD Sender: No OFD packet to send [15:26:22]OFD Sender: No OFD packet to send [15:26:27]OFD Sender: No OFD packet to send [15:26:32]OFD Sender: No OFD packet to send [15:26:37]OFD Sender: No OFD packet to send [15:26:42]OFD Sender: No OFD packet to send [15:26:47]OFD Sender: No OFD packet to send [15:26:52]OFD Sender: No OFD packet to send [15:26:57]OFD Sender: No OFD packet to send [15:27:02]OFD Sender: No OFD packet to send [15:27:07]OFD Sender: No OFD packet to send [15:27:12]OFD Sender: No OFD packet to send [15:27:17]OFD Sender: No OFD packet to send [15:27:22]OFD Sender: No OFD packet to send [15:27:27]OFD Sender: No OFD packet to send [15:27:32]OFD Sender: No OFD packet to send [15:27:37]OFD Sender: No OFD packet to send [15:27:42]OFD Sender: No OFD packet to send [15:27:47]OFD Sender: No OFD packet to send [15:27:52]OFD Sender: No OFD packet to send [15:27:57]OFD Sender: No OFD packet to send [15:28:02]OFD Sender: No OFD packet to send [15:28:07]OFD Sender: No OFD packet to send [15:28:12]OFD Sender: No OFD packet to send [15:28:17]OFD Sender: No OFD packet to send [15:28:22]OFD Sender: No OFD packet to send [15:28:27]OFD Sender: No OFD packet to send [15:28:32]OFD Sender: No OFD packet to send [15:28:37]OFD Sender: No OFD packet to send [15:28:42]OFD Sender: No OFD packet to send [15:28:47]OFD Sender: No OFD packet to send [15:28:52]OFD Sender: No OFD packet to send [15:28:57]OFD Sender: No OFD packet to send [15:29:02]OFD Sender: No OFD packet to send [15:29:07]OFD Sender: No OFD packet to send [15:29:12]OFD Sender: No OFD packet to send [15:29:17]OFD Sender: No OFD packet to send [15:29:22]OFD Sender: No OFD packet to send [15:29:27]OFD Sender: No OFD packet to send [15:29:32]OFD Sender: No OFD packet to send [15:29:37]OFD Sender: No OFD packet to send [15:29:42]OFD Sender: No OFD packet to send [15:29:47]OFD Sender: No OFD packet to send [15:29:52]OFD Sender: No OFD packet to send [15:29:57]OFD Sender: No OFD packet to send [15:30:02]OFD Sender: No OFD packet to send [15:30:07]OFD Sender: No OFD packet to send [15:30:12]OFD Sender: No OFD packet to send [15:30:17]OFD Sender: No OFD packet to send [15:30:22]OFD Sender: No OFD packet to send [15:30:27]OFD Sender: No OFD packet to send [15:30:32]OFD Sender: No OFD packet to send [15:30:37]OFD Sender: No OFD packet to send [15:30:42]OFD Sender: No OFD packet to send [15:30:47]OFD Sender: No OFD packet to send [15:30:52]OFD Sender: No OFD packet to send [15:30:57]OFD Sender: No OFD packet to send [15:31:02]OFD Sender: No OFD packet to send [15:31:07]OFD Sender: No OFD packet to send [15:31:12]OFD Sender: No OFD packet to send [15:31:17]OFD Sender: No OFD packet to send [15:31:22]OFD Sender: No OFD packet to send [15:31:27]OFD Sender: No OFD packet to send [15:31:32]OFD Sender: No OFD packet to send [15:31:37]OFD Sender: No OFD packet to send [15:31:42]OFD Sender: No OFD packet to send [15:31:47]OFD Sender: No OFD packet to send [15:31:52]OFD Sender: No OFD packet to send [15:31:57]OFD Sender: No OFD packet to send [15:32:02]OFD Sender: No OFD packet to send [15:32:07]OFD Sender: No OFD packet to send [15:32:12]OFD Sender: No OFD packet to send [15:32:17]OFD Sender: No OFD packet to send [15:32:22]OFD Sender: No OFD packet to send [15:32:27]OFD Sender: No OFD packet to send [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:42]OFD Sender: No OFD packet to send [15:39:47]OFD Sender: No OFD packet to send [15:39:52]OFD Sender: No OFD packet to send [15:39:57]OFD Sender: No OFD packet to send [15:40:02]OFD Sender: No OFD packet to send [15:40:07]OFD Sender: No OFD packet to send [15:40:12]OFD Sender: No OFD packet to send [15:40:17]OFD Sender: No OFD packet to send [15:40:22]OFD Sender: No OFD packet to send [15:40:27]OFD Sender: No OFD packet to send [15:40:32]OFD Sender: No OFD packet to send [15:40:37]OFD Sender: No OFD packet to send [15:40:42]OFD Sender: No OFD packet to send [15:40:47]OFD Sender: No OFD packet to send [15:40:52]OFD Sender: No OFD packet to send [15:40:57]OFD Sender: No OFD packet to send [15:41:02]OFD Sender: No OFD packet to send [15:41:07]OFD Sender: No OFD packet to send [15:41:12]OFD Sender: No OFD packet to send [15:41:17]OFD Sender: No OFD packet to send [15:41:22]OFD Sender: No OFD packet to send [15:41:27]OFD Sender: No OFD packet to send [15:41:32]OFD Sender: No OFD packet to send [15:41:37]OFD Sender: No OFD packet to send [15:41:42]OFD Sender: No OFD packet to send [15:41:47]OFD Sender: No OFD packet to send [15:41:52]OFD Sender: No OFD packet to send [15:41:57]OFD Sender: No OFD packet to send [15:42:02]OFD Sender: No OFD packet to send [15:42:07]OFD Sender: No OFD packet to send [15:42:12]OFD Sender: No OFD packet to send [15:42:17]OFD Sender: No OFD packet to send [15:42:22]OFD Sender: No OFD packet to send [15:42:28]OFD Sender: No OFD packet to send [15:42:33]OFD Sender: No OFD packet to send [15:42:38]OFD Sender: No OFD packet to send [15:42:43]OFD Sender: No OFD packet to send [15:42:48]OFD Sender: No OFD packet to send [15:42:53]OFD Sender: No OFD packet to send [15:42:58]OFD Sender: No OFD packet to send [15:43:03]OFD Sender: No OFD packet to send [15:43:08]OFD Sender: No OFD packet to send [15:43:13]OFD Sender: No OFD packet to send [15:43:18]OFD Sender: No OFD packet to send [15:43:23]OFD Sender: No OFD packet to send [15:43:28]OFD Sender: No OFD packet to send [15:43:33]OFD Sender: No OFD packet to send [15:43:38]OFD Sender: No OFD packet to send [15:43:43]OFD Sender: No OFD packet to send [15:43:48]OFD Sender: No OFD packet to send [15:43:53]OFD Sender: No OFD packet to send [15:43:58]OFD Sender: No OFD packet to send [15:44:03]OFD Sender: No OFD packet to send [15:44:08]OFD Sender: No OFD packet to send [15:44:13]OFD Sender: No OFD packet to send [15:44:18]OFD Sender: No OFD packet to send [15:44:23]OFD Sender: No OFD packet to send [15:44:28]OFD Sender: No OFD packet to send [15:44:33]OFD Sender: No OFD packet to send [15:44:38]OFD Sender: No OFD packet to send [15:44:43]OFD Sender: No OFD packet to send [15:44:48]OFD Sender: No OFD packet to send [15:44:53]OFD Sender: No OFD packet to send [15:44:58]OFD Sender: No OFD packet to send [15:45:03]OFD Sender: No OFD packet to send [15:45:08]OFD Sender: No OFD packet to send [15:45:13]OFD Sender: No OFD packet to send [15:45:18]OFD Sender: No OFD packet to send [15:45:23]OFD Sender: No OFD packet to send [15:45:28]OFD Sender: No OFD packet to send [15:45:33]OFD Sender: No OFD packet to send [15:45:38]OFD Sender: No OFD packet to send [15:45:43]OFD Sender: No OFD packet to send [15:45:48]OFD Sender: No OFD packet to send [15:45:53]OFD Sender: No OFD packet to send [15:45:58]OFD Sender: No OFD packet to send [15:46:03]OFD Sender: No OFD packet to send [15:46:08]OFD Sender: No OFD packet to send [15:46:13]OFD Sender: No OFD packet to send [15:46:18]OFD Sender: No OFD packet to send [15:46:23]OFD Sender: No OFD packet to send [15:46:28]OFD Sender: No OFD packet to send [15:46:33]OFD Sender: No OFD packet to send [15:46:38]OFD Sender: No OFD packet to send [15:46:43]OFD Sender: No OFD packet to send [15:46:48]OFD Sender: No OFD packet to send [15:46:53]OFD Sender: No OFD packet to send [15:46:58]OFD Sender: No OFD packet to send [15:47:03]OFD Sender: No OFD packet to send [15:47:08]OFD Sender: No OFD packet to send [15:47:13]OFD Sender: No OFD packet to send [15:47:18]OFD Sender: No OFD packet to send [15:47:23]OFD Sender: No OFD packet to send [15:47:28]OFD Sender: No OFD packet to send [15:47:33]OFD Sender: No OFD packet to send [15:47:38]OFD Sender: No OFD packet to send [15:47:43]OFD Sender: No OFD packet to send [15:47:48]OFD Sender: No OFD packet to send [15:47:53]OFD Sender: No OFD packet to send [15:47:58]OFD Sender: No OFD packet to send [15:48:03]OFD Sender: No OFD packet to send [15:48:08]OFD Sender: No OFD packet to send [15:48:13]OFD Sender: No OFD packet to send [15:48:18]OFD Sender: No OFD packet to send [15:48:23]OFD Sender: No OFD packet to send [15:48:23]accept exits with 9 [15:48:23]New connection [15:48:23]New thread 3067288932 created [15:48:23]Thread 3067432292 joined [15:48:23]Waiting for new connection... [15:48:23] Sock 9.Parse request [15:48:23]Sock 9.Check first char [15:48:23]Sock 9.First char is OK [15:48:23]request: POST /json_proto HTTP/1.0 [15:48:23]Method: POST [15:48:23]URL: /json_proto [15:48:23]Method is POST - this is cgi request [15:48:23]url: /json_proto [15:48:23]query_string will be loaded in cgi processing [15:48:23]execute_cgi json_proto POST (null) [15:48:23]execute_cgi path=json_proto method=POST [15:48:23]POST find Content-Length [15:48:23]Host: 172.17.40.196:8080 [15:48:23]Content-Length: 732 [15:48:23]Content-Type: application/json [15:48:23] [15:48:23]POST finish read [15:48:23]Found Content-Length = 732 [15:48:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35262", "tax_sys" : 0, "items" : [ { "code": "4630007401201", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0441\u043E\u043B\u0435\u043D\u044B\u0435 \u0414\u0416\u0418\u041D\u041D \u0412\u0435\u043B\u0438\u043A\u0430\u043D 100\u0433\u0440", "price" : 120.00, "quantity" : 2.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:48:23]execute_script... [15: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)35262", "tax_sys" : 0, "items" : [ { "code": "4630007401201", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0441\u043E\u043B\u0435\u043D\u044B\u0435 \u0414\u0416\u0418\u041D\u041D \u0412\u0435\u043B\u0438\u043A\u0430\u043D 100\u0433\u0440", "price" : 120.00, "quantity" : 2.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:48:23]POST & json_proto [15:48:23]process_json_proto [15:48:23]json parsed OK: [15:48:23]protocol is kg_v1.0 [15:48:23]action value=close_receipt [15:48:23]process_action close_receipt [15:48:23]cmd_close_receipt [15:48:23]MH_GetDate [15:48:23]Write to MH i2c: F0 00 00 66 00 55 [15:48:23]Write i2c OK [15:48:23]MH_I2C_Read... [15:48:23]Read from MH i2c: F0 [15:48:23]MH_I2C_Read... [15:48:23]Read from MH i2c: F0 09 00 [15:48:23]MH_I2C_Read... [15:48:23]Read from MH i2c: F0 09 00 66 00 00 47 55 22 67 5B 68 A1 66 4D [15:48:23]GetLastDocTimeStamp 1730301548 [15:48:23]current date 1730303303 [15:48:23]FM_GetShiftState [15:48:23]SAM_PROTO_GetShiftState [15:48:23]wFMCommunicate request_size=4 [15:48:23]MH_SAM_APDU [15:48:23]CAPDU: 80 13 01 00 [15:48:23]Write to MH i2c: E2 08 00 67 00 80 13 01 00 00 00 00 00 E4 [15:48:23]Write i2c OK [15:48:23]MH_I2C_Read... [15:48:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:48:23]Read from MH i2c: E2 [15:48:23]MH_I2C_Read... [15:48:23]Read from MH i2c: E2 0E 00 [15:48:23]MH_I2C_Read... [15:48:23]Read from MH i2c: E2 0E 00 67 00 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 A5 [15:48:23]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [15:48:23]wFMCommunicate OK [15:48:23]SAM_PROTO_GetShiftState done [15:48:23]FM_GetShiftState done [15:48:23]opened in 1730246837 [15:48:23]opened+sec_in_day 1730333237 [15:48:23]quantity*price = 24000 [15:48:23]sum+1 = 24001 [15:48:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 240.00 НСП 1% : 2.12 НДС 12% : 25.49 Наличными: 240.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 45 30.10.2024 15:48 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37963 ФПД: 33254491789519 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T154824&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37963&fm=33254491789519&tin=02508201610067®Number=0000000000091684&sum=24000 0 [15:48:24]StoreToDocumentArchive [15:48:24]shift 553 fd 37963 [15:48:24]save to /storage/0553/doc_00037963 [15:48:24]save last doc name /storage/0553/doc_00037963 to /storage/kkm_last_doc_name [15:48:24]save OK [15:48:24]Clear old archive folders... [15:48:24]ProcessDocumentItem done err = 0, tmpTLVsize=305 [15:48:24]tlvbuf is 005D4D80 [15:48:24]SAM_PROTO_ClearQueue [15:48:24]wFMCommunicate request_size=4 [15:48:24]MH_SAM_APDU [15:48:24]CAPDU: 80 09 00 00 [15:48:24]Write to MH i2c: E2 08 00 74 00 80 09 00 00 00 00 00 00 E6 [15:48:24]Write i2c OK [15:48:24]MH_I2C_Read... [15:48:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:48:25]Read from MH i2c: E2 [15:48:25]MH_I2C_Read... [15:48:25]Read from MH i2c: E2 03 00 [15:48:25]MH_I2C_Read... [15:48:25]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [15:48:25]RAPDU: 90 00 [15:48:25]wFMCommunicate OK [15:48:25]SAM_PROTO_ClearQueue done [15:48:25]KKMCreateOFDPacket [15:48:25]OFDProtocolAddRootSTLVToBuf [15:48:25]FM_MakeSignedData [15:48:25]FM_MakeSignedData [15:48:25]SAM_PROTO_SignData [15:48:25]wFMCommunicate request_size=4 [15:48:25]MH_SAM_APDU [15:48:25]CAPDU: 80 0D 01 02 [15:48:25]Write to MH i2c: E2 08 00 75 00 80 0D 01 02 00 00 00 00 EE [15:48:25]Write i2c OK [15:48:25]MH_I2C_Read... [15:48:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:48:25]Read from MH i2c: E2 [15:48:25]MH_I2C_Read... [15:48:25]Read from MH i2c: E2 03 00 [15:48:25]MH_I2C_Read... [15:48:25]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [15:48:25]RAPDU: 90 00 [15:48:25]wFMCommunicate OK [15:48:25]wFMCommunicate request_size=255 [15:48:25]MH_SAM_APDU [15:48:25]CAPDU: 80 0D 02 02 FA 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 32 30 31 06 04 3F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D0 92 D0 B5 D0 BB D0 B8 D0 BA D0 B0 D0 BD 20 31 30 30 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 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 48 55 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 [15:48:25]Write to MH i2c: E2 02 01 76 00 80 0D 02 02 FA 00 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 32 30 31 06 04 3F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D0 92 D0 B5 D0 BB D0 B8 D0 BA D0 B0 D0 BD 20 31 30 30 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 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 48 55 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 00 00 BF [15:48:25]Write i2c OK [15:48:25]MH_I2C_Read... [15:48:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:48:25]Read from MH i2c: E2 [15:48:25]MH_I2C_Read... [15:48:25]Read from MH i2c: E2 03 00 [15:48:25]MH_I2C_Read... [15:48:25]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [15:48:25]RAPDU: 90 00 [15:48:25]wFMCommunicate OK [15:48:25]wFMCommunicate request_size=64 [15:48:25]MH_SAM_APDU [15:48:25]CAPDU: 80 0D 02 02 3B 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4B 94 00 00 35 04 06 00 1E 3E AA 2B 98 CF [15:48:25]Write to MH i2c: E2 43 00 77 00 80 0D 02 02 3B 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4B 94 00 00 35 04 06 00 1E 3E AA 2B 98 CF 00 00 B5 [15:48:25]Write i2c OK [15:48:25]MH_I2C_Read... [15:48:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:48:25]Read from MH i2c: E2 [15:48:25]MH_I2C_Read... [15:48:25]Read from MH i2c: E2 03 00 [15:48:25]MH_I2C_Read... [15:48:25]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [15:48:25]RAPDU: 90 00 [15:48:25]wFMCommunicate OK [15:48:25]wFMCommunicate request_size=4 [15:48:25]MH_SAM_APDU [15:48:25]CAPDU: 80 0D 03 02 [15:48:25]Write to MH i2c: E2 08 00 78 00 80 0D 03 02 00 00 00 00 F3 [15:48:25]Write i2c OK [15:48:25]MH_I2C_Read... [15:48:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:48:25]Read from MH i2c: E2 [15:48:25]MH_I2C_Read... [15:48:25]Read from MH i2c: E2 0B 00 [15:48:25]MH_I2C_Read... [15:48:25]Read from MH i2c: E2 0B 00 78 00 00 95 0E B1 72 E0 B3 97 A9 90 00 8D [15:48:25]RAPDU: 95 0E B1 72 E0 B3 97 A9 90 00 [15:48:25]wFMCommunicate OK [15:48:25]SAM_PROTO_SignData done [15:48:25]FM_MakeSignedData done [15:48:25]CreateOFDProtocolMessage [15:48:25]wFMCommunicate request_size=4 [15:48:25]MH_SAM_APDU [15:48:25]CAPDU: 80 11 00 00 [15:48:25]Write to MH i2c: E2 08 00 79 00 80 11 00 00 00 00 00 00 F3 [15:48:25]Write i2c OK [15:48:25]MH_I2C_Read... [15:48:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:48:25]Read from MH i2c: E2 [15:48:25]MH_I2C_Read... [15:48:25]Read from MH i2c: E2 17 00 [15:48:25]MH_I2C_Read... [15:48:25]Read from MH i2c: E2 17 00 79 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 43 [15:48:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:48:25]wFMCommunicate OK [15:48:25]CreateOFDProtocolMessage done [15:48:25]OFDSenderStorePacket 37963 [15:48:25]StoreOFDPacket docnum=37963 [15:48:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 45 01 00 00 1E 37 3D 01 D9 B8 5A 03 01 00 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 32 30 31 06 04 3F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D0 92 D0 B5 D0 BB D0 B8 D0 BA D0 B0 D0 BD 20 31 30 30 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 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 48 55 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4B 94 00 00 35 04 06 00 1E 3E AA 2B 98 CF 95 0E B1 72 E0 B3 97 A9 [15:48:25]CheckFolder [15:48:25]dirname=/storage/ofd_packets [15:48:25]CheckFolder done [15:48:25]ProducePacketName [15:48:25]name=ofd_packets/00037963 [15:48:25]NVStorageSaveData ofd_packets/00037963 [15:48:25]File name is /storage/ofd_packets/00037963 [15:48:25]Write 355 bytes [15:48:25]NVStorageSaveData done [15:48:25]OFDSenderStorePacket done [15:48:25]KKMCreateOFDPacket done [15:48:25]NVStorageSaveData kkm_last_timestamp [15:48:25]File name is /storage/kkm_last_timestamp [15:48:25]Write 4 bytes [15:48:25]NVStorageSaveData done [15:48:25]ExternCall_PrintAddStr [15:48:25]wPrintStart [15:48:25]Write to MH i2c: 01 00 00 7A 00 7A [15:48:25]Write i2c OK [15:48:25]MH_I2C_Read... [15:48:25]Read from MH i2c: 01 [15:48:25]MH_I2C_Read... [15:48:25]Read from MH i2c: 01 07 00 [15:48:25]MH_I2C_Read... [15:48:25]Read from MH i2c: 01 07 00 7A 00 00 00 00 00 00 FF 0F 8F [15:48:25]RasterBufferAndPrint [15:48:25]line Счет N : (3)35262 [15:48:25]line ИНН: 02508201610067 [15:48:25]line Контрольно-Кассовый Чек [15:48:25]line ПРОДАЖА [15:48:25]line Товар: 4630007401201 [15:48:25]line Семечки соленые ДЖИНН Великан 100гр [15:48:25]line 2.000 * 120.00 [15:48:25]line = 240.00 [15:48:25]line НДС 12% НСП 1% [15:48:25]line > о реализуемом товаре [15:48:25]line ИТОГО: 240.00 [15:48:25]line НСП 1% : 2.12 [15:48:25]line НДС 12% : 25.49 [15:48:25]line Наличными: 240.00 [15:48:25]line Безнал.: 0.00 [15:48:25]line Место: АЗС № 126 "Партнер Нефть" [15:48:25]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [15:48:25]line СНО: Общий режим [15:48:25]line Чек 45 30.10.2024 15:48 [15:48:25]line Смена: 553 ФФД: 1.0 [15:48:25]line ЗНМ: 0300000092 [15:48:25]line РНМ: 0000000000091684 [15:48:25]line Версия ККМ: 001 [15:48:25]line ФМ: 0000000000871841 [15:48:25]line ФД: 37963 [15:48:25]line ФПД: 33254491789519 [15:48:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T154824&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37963&fm=33254491789519&tin=02508201610067®Number=0000000000091684&sum=24000 [15:48:25]line 0 [15:48:25]OFD Sender: Processing packet 37963 [packets to send 42, broken 41] [15:48:25]ProducePacketName [15:48:25]name=ofd_packets/00037963 [15:48:25]OFD Sender: To server: pG, [15:48:25]CommunicateWithHost lk.salyk.kg:30040 [15:48:25]ConnectInit lk.salyk.kg [15:48:25]written 0, free lines is 4095 [15:48:26]Connected sock=10 [15:48:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 45 01 00 00 1E 37 3D 01 D9 B8 5A 03 01 00 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 32 30 31 06 04 3F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D0 92 D0 B5 D0 BB D0 B8 D0 BA D0 B0 D0 BD 20 31 30 30 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 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 48 55 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4B 94 00 00 35 04 06 00 1E 3E AA 2B 98 CF 95 0E B1 72 E0 B3 97 A9 [15:48:26]Write to MH i2c: 01 00 00 A3 00 A3 [15:48:26]Write i2c OK [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: 01 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: 01 07 00 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: 01 07 00 A3 00 00 00 00 00 00 B2 0C 68 [15:48:26]RasterBufferAndPrint [15:48:26]line [15:48:26]line [15:48:26]line [15:48:26]line [15:48:26]line [15:48:26]written 0, free lines is 3254 [15:48:26]MH_Cut [15:48:26]Write to MH i2c: D1 01 00 AA 00 01 7C [15:48:26]Write i2c OK [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: D1 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: D1 01 00 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: D1 01 00 AA 00 00 7B [15:48:26]Write to MH i2c: 01 00 00 AB 00 AB [15:48:26]Write i2c OK [15:48:26]MH_I2C_Read... [15:48:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 AB 67 47 00 7C 4E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4B 94 00 00 F4 03 04 00 36 00 22 67 B6 04 01 00 00 33 76 B0 3E B0 D6 94 F7 [15:48:26]CommunicateWithHost err = 0 [15:48:26]CheckOFDResponse [15:48:26]1017 (14) - 77093643461234 [15:48:26]1041 (16) - 0000000000871841 [15:48:26]1040 (4) - 37963 [15:48:26]1012 (4) - 30.10.2024 09:45 [15:48:26]1206 (1) - 0 [15:48:26]OFD Sender: Remove packet 37963 [15:48:26]ProducePacketName [15:48:26]name=ofd_packets/00037963 [15:48:26]NVStorageDeleteData [15:48:27]OFD Sender: No OFD packet to send [15:48:27]*** Cut start [15:48:27]*** Partial cut [15:48:27]*** CUTSNS_PIN = 1 [15:48:27]*** CUTSNS_PIN = 0 [15:48:27]*** Brake cut motor [15:48:27]Read from MH i2c: 01 [15:48:27]MH_I2C_Read... [15:48:27]*** Stop cut motor [15:48:27]*** Cut end [15:48:27]Read from MH i2c: 01 07 00 [15:48:27]MH_I2C_Read... [15:48:27]Read from MH i2c: 01 07 00 AB 00 00 00 00 00 00 FF 0F C0 [15:48:27]process_action close_receipt done [15:48:27]requested_data is exist [15:48:27]produce_requested_data [15:48:27]requested_item fm.sn is exist - process it [15:48:27]wFMCommunicate request_size=4 [15:48:27]MH_SAM_APDU [15:48:27]CAPDU: 80 11 00 00 [15:48:27]Write to MH i2c: E2 08 00 AC 00 80 11 00 00 00 00 00 00 26 [15:48:27]Write i2c OK [15:48:27]MH_I2C_Read... [15:48:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:48:27]Read from MH i2c: E2 [15:48:27]MH_I2C_Read... [15:48:27]Read from MH i2c: E2 17 00 [15:48:27]MH_I2C_Read... [15:48:27]Read from MH i2c: E2 17 00 AC 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 76 [15:48:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:48:27]wFMCommunicate OK [15:48:27]requested_item fd.num is exist - process it [15:48:27]SAM_PROTO_GetFieldsCounters [15:48:27]wFMCommunicate request_size=4 [15:48:27]MH_SAM_APDU [15:48:27]CAPDU: 80 13 00 00 [15:48:27]Write to MH i2c: E2 08 00 AD 00 80 13 00 00 00 00 00 00 29 [15:48:27]Write i2c OK [15:48:27]MH_I2C_Read... [15:48:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:48:27]Read from MH i2c: E2 [15:48:27]MH_I2C_Read... [15:48:27]Read from MH i2c: E2 62 00 [15:48:27]MH_I2C_Read... [15:48:27]Read from MH i2c: E2 62 00 AD 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 4B 94 00 00 0E 04 04 00 29 02 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 DB [15:48:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 4B 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:48:27]wFMCommunicate OK [15:48:27]SAM_PROTO_GetFieldsCounters done [15:48:27]requested_item shift.num is exist - process it [15:48:27]requested_item shift.opened is exist - process it [15:48:27]req_shift_opened [15:48:27]FM_GetShiftState [15:48:27]SAM_PROTO_GetShiftState [15:48:27]wFMCommunicate request_size=4 [15:48:27]MH_SAM_APDU [15:48:27]CAPDU: 80 13 01 00 [15:48:27]Write to MH i2c: E2 08 00 AE 00 80 13 01 00 00 00 00 00 2B [15:48:27]Write i2c OK [15:48:27]MH_I2C_Read... [15:48:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:48:28]Read from MH i2c: E2 [15:48:28]MH_I2C_Read... [15:48:28]Read from MH i2c: E2 0E 00 [15:48:28]MH_I2C_Read... [15:48:28]Read from MH i2c: E2 0E 00 AE 00 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 EC [15:48:28]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [15:48:28]wFMCommunicate OK [15:48:28]SAM_PROTO_GetShiftState done [15:48:28]FM_GetShiftState done [15:48:28]req_shift_opened done [15:48:28]requested_item shift.open_date is exist - process it [15:48:28]req_shift_open_date [15:48:28]req_shift_open_date done [15:48:28]produce_requested_data done [15:48:28]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37963,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [15:48:28]process_action_free close_receipt [15:48:28]json_value_free [15:48:28]json_value_free done [15:48:28]process_json_proto returns [15:48:28]Send response to host [15:48:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37963,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [15:48:28]free response buf [15:48:28]execute_script done [15:48:28]execute_script returns [15:48:28]free content buf [15:48:28]Sock 9.Close socket [15:48:28]Sock 9.Thread stoped [15:48:32]OFD Sender: No OFD packet to send [15:48:37]OFD Sender: No OFD packet to send [15:48:42]OFD Sender: No OFD packet to send [15:48:47]OFD Sender: No OFD packet to send [15:48:52]OFD Sender: No OFD packet to send [15:48:57]OFD Sender: No OFD packet to send [15:49:02]OFD Sender: No OFD packet to send [15:49:07]OFD Sender: No OFD packet to send [15:49:12]OFD Sender: No OFD packet to send [15:49:17]OFD Sender: No OFD packet to send [15:49:22]OFD Sender: No OFD packet to send [15:49:27]OFD Sender: No OFD packet to send [15:49:32]OFD Sender: No OFD packet to send [15:49:37]OFD Sender: No OFD packet to send [15:49:42]OFD Sender: No OFD packet to send [15:49:47]OFD Sender: No OFD packet to send [15:49:52]OFD Sender: No OFD packet to send [15:49:57]OFD Sender: No OFD packet to send [15:50:02]OFD Sender: No OFD packet to send [15:50:07]OFD Sender: No OFD packet to send [15:50:12]OFD Sender: No OFD packet to send [15:50:17]OFD Sender: No OFD packet to send [15:50:22]OFD Sender: No OFD packet to send [15:50:27]OFD Sender: No OFD packet to send [15:50:32]OFD Sender: No OFD packet to send [15:50:37]OFD Sender: No OFD packet to send [15:50:42]OFD Sender: No OFD packet to send [15:50:47]OFD Sender: No OFD packet to send [15:50:52]OFD Sender: No OFD packet to send [15:50:57]OFD Sender: No OFD packet to send [15:51:02]OFD Sender: No OFD packet to send [15:51:07]OFD Sender: No OFD packet to send [15:51:12]OFD Sender: No OFD packet to send [15:51:17]OFD Sender: No OFD packet to send [15:51:22]OFD Sender: No OFD packet to send [15:51:27]OFD Sender: No OFD packet to send [15:51:32]OFD Sender: No OFD packet to send [15:51:37]OFD Sender: No OFD packet to send [15:51:42]OFD Sender: No OFD packet to send [15:51:47]OFD Sender: No OFD packet to send [15:51:52]OFD Sender: No OFD packet to send [15:51:57]OFD Sender: No OFD packet to send [15:52:02]OFD Sender: No OFD packet to send [15:52:07]OFD Sender: No OFD packet to send [15:52:12]OFD Sender: No OFD packet to send [15:52:17]OFD Sender: No OFD packet to send [15:52:22]OFD Sender: No OFD packet to send [15:52:27]OFD Sender: No OFD packet to send [15:52:32]OFD Sender: No OFD packet to send [15:52:37]OFD Sender: No OFD packet to send [15:52:42]OFD Sender: No OFD packet to send [15:52:47]OFD Sender: No OFD packet to send [15:52:52]OFD Sender: No OFD packet to send [15:52:57]OFD Sender: No OFD packet to send [15:53:02]OFD Sender: No OFD packet to send [15:53:07]OFD Sender: No OFD packet to send [15:53:12]OFD Sender: No OFD packet to send [15:53:17]OFD Sender: No OFD packet to send [15:53:22]OFD Sender: No OFD packet to send [15:53:27]OFD Sender: No OFD packet to send [15:53:32]OFD Sender: No OFD packet to send [15:53:37]OFD Sender: No OFD packet to send [15:53:42]OFD Sender: No OFD packet to send [15:53:47]OFD Sender: No OFD packet to send [15:53:52]OFD Sender: No OFD packet to send [15:53:57]OFD Sender: No OFD packet to send [15:54:02]OFD Sender: No OFD packet to send [15:54:07]OFD Sender: No OFD packet to send [15:54:12]OFD Sender: No OFD packet to send [15:54:17]OFD Sender: No OFD packet to send [15:54:22]OFD Sender: No OFD packet to send [15:54:27]OFD Sender: No OFD packet to send [15:54:32]OFD Sender: No OFD packet to send [15:54:37]OFD Sender: No OFD packet to send [15:54:42]OFD Sender: No OFD packet to send [15:54:47]OFD Sender: No OFD packet to send [15:54:52]OFD Sender: No OFD packet to send [15:54:57]OFD Sender: No OFD packet to send [15:55:02]OFD Sender: No OFD packet to send [15:55:07]OFD Sender: No OFD packet to send [15:55:12]OFD Sender: No OFD packet to send [15:55:17]OFD Sender: No OFD packet to send [15:55:22]OFD Sender: No OFD packet to send [15:55:27]OFD Sender: No OFD packet to send [15:55:32]OFD Sender: No OFD packet to send [15:55:37]OFD Sender: No OFD packet to send [15:55:42]OFD Sender: No OFD packet to send [15:55:47]OFD Sender: No OFD packet to send [15:55:52]OFD Sender: No OFD packet to send [15:55:57]OFD Sender: No OFD packet to send [15:56:02]OFD Sender: No OFD packet to send [15:56:07]OFD Sender: No OFD packet to send [15:56:12]OFD Sender: No OFD packet to send [15:56:17]OFD Sender: No OFD packet to send [15:56:22]OFD Sender: No OFD packet to send [15:56:27]OFD Sender: No OFD packet to send [15:56:32]OFD Sender: No OFD packet to send [15:56:37]OFD Sender: No OFD packet to send [15:56:42]OFD Sender: No OFD packet to send [15:56:47]OFD Sender: No OFD packet to send [15:56:52]OFD Sender: No OFD packet to send [15:56:57]OFD Sender: No OFD packet to send [15:57:02]OFD Sender: No OFD packet to send [15:57:07]OFD Sender: No OFD packet to send [15:57:12]OFD Sender: No OFD packet to send [15:57:17]OFD Sender: No OFD packet to send [15:57:22]OFD Sender: No OFD packet to send [15:57:27]OFD Sender: No OFD packet to send [15:57:32]OFD Sender: No OFD packet to send [15:57:37]OFD Sender: No OFD packet to send [15:57:42]OFD Sender: No OFD packet to send [15:57:42]accept exits with 8 [15:57:42]New connection [15:57:42]New thread 3067432292 created [15:57:42]Thread 3067288932 joined [15:57:42]Waiting for new connection... [15:57:42] Sock 8.Parse request [15:57:42]Sock 8.Check first char [15:57:42]Sock 8.First char is OK [15:57:42]request: POST /json_proto HTTP/1.0 [15:57:42]Method: POST [15:57:42]URL: /json_proto [15:57:42]Method is POST - this is cgi request [15:57:42]url: /json_proto [15:57:42]query_string will be loaded in cgi processing [15:57:42]execute_cgi json_proto POST (null) [15:57:42]execute_cgi path=json_proto method=POST [15:57:42]POST find Content-Length [15:57:42]Host: 172.17.40.196:8080 [15:57:42]Content-Length: 705 [15:57:42]Content-Type: application/json [15:57:42] [15:57:42]POST finish read [15:57:42]Found Content-Length = 705 [15:57:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35263", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:57:42]execute_script... [15:57:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35263", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:57:42]POST & json_proto [15:57:42]process_json_proto [15:57:42]json parsed OK: [15:57:42]protocol is kg_v1.0 [15:57:42]action value=close_receipt [15:57:42]process_action close_receipt [15:57:42]cmd_close_receipt [15:57:42]MH_GetDate [15:57:42]Write to MH i2c: F0 00 00 AF 00 9E [15:57:42]Write i2c OK [15:57:42]MH_I2C_Read... [15:57:42]Read from MH i2c: F0 [15:57:42]MH_I2C_Read... [15:57:42]Read from MH i2c: F0 09 00 [15:57:42]MH_I2C_Read... [15:57:42]Read from MH i2c: F0 09 00 AF 00 00 76 57 22 67 5B 68 A1 66 C7 [15:57:42]GetLastDocTimeStamp 1730303304 [15:57:42]current date 1730303862 [15:57:42]FM_GetShiftState [15:57:42]SAM_PROTO_GetShiftState [15:57:42]wFMCommunicate request_size=4 [15:57:42]MH_SAM_APDU [15:57:42]CAPDU: 80 13 01 00 [15:57:42]Write to MH i2c: E2 08 00 B0 00 80 13 01 00 00 00 00 00 2D [15:57:42]Write i2c OK [15:57:42]MH_I2C_Read... [15:57:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:42]Read from MH i2c: E2 [15:57:42]MH_I2C_Read... [15:57:42]Read from MH i2c: E2 0E 00 [15:57:42]MH_I2C_Read... [15:57:42]Read from MH i2c: E2 0E 00 B0 00 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 EE [15:57:42]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [15:57:42]wFMCommunicate OK [15:57:42]SAM_PROTO_GetShiftState done [15:57:42]FM_GetShiftState done [15:57:42]opened in 1730246837 [15:57:42]opened+sec_in_day 1730333237 [15:57:42]quantity*price = 12000 [15:57:42]sum+1 = 12001 [15:57:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 46 30.10.2024 15:57 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37964 ФПД: 130706647366923 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T155743&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37964&fm=130706647366923&tin=02508201610067®Number=0000000000091684&sum=12000 0 [15:57:43]StoreToDocumentArchive [15:57:43]shift 553 fd 37964 [15:57:43]save to /storage/0553/doc_00037964 [15:57:43]save last doc name /storage/0553/doc_00037964 to /storage/kkm_last_doc_name [15:57:43]save OK [15:57:43]Clear old archive folders... [15:57:43]ProcessDocumentItem done err = 0, tmpTLVsize=298 [15:57:43]tlvbuf is 0056D470 [15:57:43]SAM_PROTO_ClearQueue [15:57:43]wFMCommunicate request_size=4 [15:57:43]MH_SAM_APDU [15:57:43]CAPDU: 80 09 00 00 [15:57:43]Write to MH i2c: E2 08 00 BD 00 80 09 00 00 00 00 00 00 2F [15:57:43]Write i2c OK [15:57:43]MH_I2C_Read... [15:57:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:57:43]Read from MH i2c: E2 [15:57:43]MH_I2C_Read... [15:57:43]Read from MH i2c: E2 03 00 [15:57:43]MH_I2C_Read... [15:57:43]Read from MH i2c: E2 03 00 BD 00 00 90 00 31 [15:57:43]RAPDU: 90 00 [15:57:43]wFMCommunicate OK [15:57:43]SAM_PROTO_ClearQueue done [15:57:43]KKMCreateOFDPacket [15:57:43]OFDProtocolAddRootSTLVToBuf [15:57:43]FM_MakeSignedData [15:57:43]FM_MakeSignedData [15:57:43]SAM_PROTO_SignData [15:57:43]wFMCommunicate request_size=4 [15:57:43]MH_SAM_APDU [15:57:43]CAPDU: 80 0D 01 02 [15:57:43]Write to MH i2c: E2 08 00 BE 00 80 0D 01 02 00 00 00 00 37 [15:57:43]Write i2c OK [15:57:43]MH_I2C_Read... [15:57:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:57:44]Read from MH i2c: E2 [15:57:44]MH_I2C_Read... [15:57:44]Read from MH i2c: E2 03 00 [15:57:44]MH_I2C_Read... [15:57:44]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [15:57:44]RAPDU: 90 00 [15:57:44]wFMCommunicate OK [15:57:44]wFMCommunicate request_size=255 [15:57:44]MH_SAM_APDU [15:57:44]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 77 57 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [15:57:44]Write to MH i2c: E2 02 01 BF 00 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 77 57 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 E5 [15:57:44]Write i2c OK [15:57:44]MH_I2C_Read... [15:57:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:44]Read from MH i2c: E2 [15:57:44]MH_I2C_Read... [15:57:44]Read from MH i2c: E2 03 00 [15:57:44]MH_I2C_Read... [15:57:44]Read from MH i2c: E2 03 00 BF 00 00 90 00 33 [15:57:44]RAPDU: 90 00 [15:57:44]wFMCommunicate OK [15:57:44]wFMCommunicate request_size=57 [15:57:44]MH_SAM_APDU [15:57:44]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4C 94 00 00 35 04 06 00 76 E0 83 49 3D 0B [15:57:44]Write to MH i2c: E2 3C 00 C0 00 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4C 94 00 00 35 04 06 00 76 E0 83 49 3D 0B 00 00 41 [15:57:44]Write i2c OK [15:57:44]MH_I2C_Read... [15:57:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:44]Read from MH i2c: E2 [15:57:44]MH_I2C_Read... [15:57:44]Read from MH i2c: E2 03 00 [15:57:44]MH_I2C_Read... [15:57:44]Read from MH i2c: E2 03 00 C0 00 00 90 00 34 [15:57:44]RAPDU: 90 00 [15:57:44]wFMCommunicate OK [15:57:44]wFMCommunicate request_size=4 [15:57:44]MH_SAM_APDU [15:57:44]CAPDU: 80 0D 03 02 [15:57:44]Write to MH i2c: E2 08 00 C1 00 80 0D 03 02 00 00 00 00 3C [15:57:44]Write i2c OK [15:57:44]MH_I2C_Read... [15:57:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:57:44]Read from MH i2c: E2 [15:57:44]MH_I2C_Read... [15:57:44]Read from MH i2c: E2 0B 00 [15:57:44]MH_I2C_Read... [15:57:44]Read from MH i2c: E2 0B 00 C1 00 00 35 E1 0C 4C 98 03 32 21 90 00 99 [15:57:44]RAPDU: 35 E1 0C 4C 98 03 32 21 90 00 [15:57:44]wFMCommunicate OK [15:57:44]SAM_PROTO_SignData done [15:57:44]FM_MakeSignedData done [15:57:44]CreateOFDProtocolMessage [15:57:44]wFMCommunicate request_size=4 [15:57:44]MH_SAM_APDU [15:57:44]CAPDU: 80 11 00 00 [15:57:44]Write to MH i2c: E2 08 00 C2 00 80 11 00 00 00 00 00 00 3C [15:57:44]Write i2c OK [15:57:44]MH_I2C_Read... [15:57:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:44]Read from MH i2c: E2 [15:57:44]MH_I2C_Read... [15:57:44]Read from MH i2c: E2 17 00 [15:57:44]MH_I2C_Read... [15:57:44]Read from MH i2c: E2 17 00 C2 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8C [15:57:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:57:44]wFMCommunicate OK [15:57:44]CreateOFDProtocolMessage done [15:57:44]OFDSenderStorePacket 37964 [15:57:44]StoreOFDPacket docnum=37964 [15:57:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3E 01 00 00 5D EE 36 01 04 88 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 77 57 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4C 94 00 00 35 04 06 00 76 E0 83 49 3D 0B 35 E1 0C 4C 98 03 32 21 [15:57:44]CheckFolder [15:57:44]dirname=/storage/ofd_packets [15:57:44]CheckFolder done [15:57:44]ProducePacketName [15:57:44]name=ofd_packets/00037964 [15:57:44]NVStorageSaveData ofd_packets/00037964 [15:57:44]File name is /storage/ofd_packets/00037964 [15:57:44]Write 348 bytes [15:57:44]NVStorageSaveData done [15:57:44]OFDSenderStorePacket done [15:57:44]KKMCreateOFDPacket done [15:57:44]NVStorageSaveData kkm_last_timestamp [15:57:44]File name is /storage/kkm_last_timestamp [15:57:44]Write 4 bytes [15:57:44]NVStorageSaveData done [15:57:44]ExternCall_PrintAddStr [15:57:44]wPrintStart [15:57:44]Write to MH i2c: 01 00 00 C3 00 C3 [15:57:44]Write i2c OK [15:57:44]MH_I2C_Read... [15:57:44]Read from MH i2c: 01 [15:57:44]MH_I2C_Read... [15:57:44]Read from MH i2c: 01 07 00 [15:57:44]MH_I2C_Read... [15:57:44]Read from MH i2c: 01 07 00 C3 00 00 00 00 00 00 FF 0F D8 [15:57:44]RasterBufferAndPrint [15:57:44]line Счет N : (3)35263 [15:57:44]line ИНН: 02508201610067 [15:57:44]line Контрольно-Кассовый Чек [15:57:44]line ПРОДАЖА [15:57:44]line Товар: 5449000189356 [15:57:44]line Холодный чай Fuse манго ананас 1л [15:57:44]line 1.000 * 120.00 [15:57:44]line = 120.00 [15:57:44]line НДС 12% НСП 1% [15:57:44]line > о реализуемом товаре [15:57:44]line ИТОГО: 120.00 [15:57:44]line НСП 1% : 1.06 [15:57:44]line НДС 12% : 12.74 [15:57:44]line Наличными: 120.00 [15:57:44]line Безнал.: 0.00 [15:57:44]line Место: АЗС № 126 "Партнер Нефть" [15:57:44]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [15:57:44]line СНО: Общий режим [15:57:44]line Чек 46 30.10.2024 15:57 [15:57:44]line Смена: 553 ФФД: 1.0 [15:57:44]line ЗНМ: 0300000092 [15:57:44]line РНМ: 0000000000091684 [15:57:44]line Версия ККМ: 001 [15:57:44]line ФМ: 0000000000871841 [15:57:44]line ФД: 37964 [15:57:44]line ФПД: 130706647366923 [15:57:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T155743&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37964&fm=130706647366923&tin=02508201610067®Number=0000000000091684&sum=12000 [15:57:44]OFD Sender: Processing packet 37964 [packets to send 42, broken 41] [15:57:44]ProducePacketName [15:57:44]name=ofd_packets/00037964 [15:57:44]OFD Sender: To server: pG, [15:57:44]CommunicateWithHost lk.salyk.kg:30040 [15:57:44]ConnectInit lk.salyk.kg [15:57:44]line 0 [15:57:44]written 0, free lines is 4095 [15:57:45]Write to MH i2c: 01 00 00 EC 00 EC [15:57:45]Write i2c OK [15:57:45]MH_I2C_Read... [15:57:45]Read from MH i2c: 01 [15:57:45]MH_I2C_Read... [15:57:45]Read from MH i2c: 01 07 00 [15:57:45]MH_I2C_Read... [15:57:45]Read from MH i2c: 01 07 00 EC 00 00 00 00 00 00 AF 0C AE [15:57:45]RasterBufferAndPrint [15:57:45]line [15:57:45]line [15:57:45]line [15:57:45]line [15:57:45]line [15:57:45]written 0, free lines is 3250 [15:57:45]MH_Cut [15:57:45]Write to MH i2c: D1 01 00 F3 00 01 C5 [15:57:45]Write i2c OK [15:57:45]MH_I2C_Read... [15:57:45]Read from MH i2c: D1 [15:57:45]MH_I2C_Read... [15:57:45]Read from MH i2c: D1 01 00 [15:57:45]MH_I2C_Read... [15:57:45]Read from MH i2c: D1 01 00 F3 00 00 C4 [15:57:45]Write to MH i2c: 01 00 00 F4 00 F4 [15:57:45]Write i2c OK [15:57:45]MH_I2C_Read... [15:57:46]*** Cut start [15:57:46]*** Partial cut [15:57:46]*** CUTSNS_PIN = 1 [15:57:46]*** CUTSNS_PIN = 0 [15:57:46]*** Brake cut motor [15:57:46]Read from MH i2c: 01 [15:57:46]MH_I2C_Read... [15:57:46]*** Stop cut motor [15:57:46]*** Cut end [15:57:46]Read from MH i2c: 01 07 00 [15:57:46]MH_I2C_Read... [15:57:46]Read from MH i2c: 01 07 00 F4 00 00 00 00 00 00 FF 0F 09 [15:57:46]process_action close_receipt done [15:57:46]requested_data is exist [15:57:46]produce_requested_data [15:57:46]requested_item fm.sn is exist - process it [15:57:46]wFMCommunicate request_size=4 [15:57:46]MH_SAM_APDU [15:57:46]CAPDU: 80 11 00 00 [15:57:46]Write to MH i2c: E2 08 00 F5 00 80 11 00 00 00 00 00 00 6F [15:57:46]Write i2c OK [15:57:46]MH_I2C_Read... [15:57:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:46]Read from MH i2c: E2 [15:57:46]MH_I2C_Read... [15:57:46]Read from MH i2c: E2 17 00 [15:57:46]MH_I2C_Read... [15:57:46]Read from MH i2c: E2 17 00 F5 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BF [15:57:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:57:46]wFMCommunicate OK [15:57:46]requested_item fd.num is exist - process it [15:57:46]SAM_PROTO_GetFieldsCounters [15:57:46]wFMCommunicate request_size=4 [15:57:46]MH_SAM_APDU [15:57:46]CAPDU: 80 13 00 00 [15:57:46]Write to MH i2c: E2 08 00 F6 00 80 13 00 00 00 00 00 00 72 [15:57:46]Write i2c OK [15:57:46]MH_I2C_Read... [15:57:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:57:46]Read from MH i2c: E2 [15:57:46]MH_I2C_Read... [15:57:46]Read from MH i2c: E2 62 00 [15:57:46]MH_I2C_Read... [15:57:46]Read from MH i2c: E2 62 00 F6 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 4C 94 00 00 0E 04 04 00 29 02 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 28 [15:57:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 4C 94 00 00 0E 04 04 00 29 02 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:57:46]wFMCommunicate OK [15:57:46]SAM_PROTO_GetFieldsCounters done [15:57:46]requested_item shift.num is exist - process it [15:57:46]requested_item shift.opened is exist - process it [15:57:46]req_shift_opened [15:57:46]FM_GetShiftState [15:57:46]SAM_PROTO_GetShiftState [15:57:46]wFMCommunicate request_size=4 [15:57:46]MH_SAM_APDU [15:57:46]CAPDU: 80 13 01 00 [15:57:46]Write to MH i2c: E2 08 00 F7 00 80 13 01 00 00 00 00 00 74 [15:57:46]Write i2c OK [15:57:46]MH_I2C_Read... [15:57:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:47]Read from MH i2c: E2 [15:57:47]MH_I2C_Read... [15:57:47]Read from MH i2c: E2 0E 00 [15:57:47]MH_I2C_Read... [15:57:47]Read from MH i2c: E2 0E 00 F7 00 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 35 [15:57:47]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [15:57:47]wFMCommunicate OK [15:57:47]SAM_PROTO_GetShiftState done [15:57:47]FM_GetShiftState done [15:57:47]req_shift_opened done [15:57:47]requested_item shift.open_date is exist - process it [15:57:47]req_shift_open_date [15:57:47]req_shift_open_date done [15:57:47]produce_requested_data done [15:57:47]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37964,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [15:57:47]process_action_free close_receipt [15:57:47]json_value_free [15:57:47]json_value_free done [15:57:47]process_json_proto returns [15:57:47]Send response to host [15:57:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37964,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [15:57:47]free response buf [15:57:47]execute_script done [15:57:47]execute_script returns [15:57:47]free content buf [15:57:47]Sock 8.Close socket [15:57:47]Sock 8.Thread stoped [15:57:48]Connected sock=11 [15:57:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3E 01 00 00 5D EE 36 01 04 88 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 77 57 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4C 94 00 00 35 04 06 00 76 E0 83 49 3D 0B 35 E1 0C 4C 98 03 32 21 [15:57:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 C4 B6 47 00 56 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 38 37 31 38 34 31 10 04 04 00 4C 94 00 00 F4 03 04 00 68 02 22 67 B6 04 01 00 00 F6 83 C6 46 26 84 66 8A [15:57:48]CommunicateWithHost err = 0 [15:57:48]CheckOFDResponse [15:57:48]1017 (14) - 77093643461234 [15:57:48]1041 (16) - 0000000000871841 [15:57:48]1040 (4) - 37964 [15:57:48]1012 (4) - 30.10.2024 09:54 [15:57:48]1206 (1) - 0 [15:57:48]OFD Sender: Remove packet 37964 [15:57:48]ProducePacketName [15:57:48]name=ofd_packets/00037964 [15:57:48]NVStorageDeleteData [15:57:49]OFD Sender: No OFD packet to send [15:57:54]OFD Sender: No OFD packet to send [15:57:59]OFD Sender: No OFD packet to send [15:58:04]OFD Sender: No OFD packet to send [15:58:09]OFD Sender: No OFD packet to send [15:58:14]OFD Sender: No OFD packet to send [15:58:19]OFD Sender: No OFD packet to send [15:58:24]OFD Sender: No OFD packet to send [15:58:29]OFD Sender: No OFD packet to send [15:58:34]OFD Sender: No OFD packet to send [15:58:39]OFD Sender: No OFD packet to send [15:58:44]OFD Sender: No OFD packet to send [15:58:49]OFD Sender: No OFD packet to send [15:58:54]OFD Sender: No OFD packet to send [15:58:59]OFD Sender: No OFD packet to send [15:59:04]OFD Sender: No OFD packet to send [15:59:09]OFD Sender: No OFD packet to send [15:59:14]OFD Sender: No OFD packet to send [15:59:19]OFD Sender: No OFD packet to send [15:59:24]OFD Sender: No OFD packet to send [15:59:29]OFD Sender: No OFD packet to send [15:59:34]OFD Sender: No OFD packet to send [15:59:39]OFD Sender: No OFD packet to send [15:59:44]OFD Sender: No OFD packet to send [15:59:49]OFD Sender: No OFD packet to send [15:59:54]OFD Sender: No OFD packet to send [15:59:59]OFD Sender: No OFD packet to send [16:00:04]OFD Sender: No OFD packet to send [16:00:09]OFD Sender: No OFD packet to send [16:00:14]OFD Sender: No OFD packet to send [16:00:19]OFD Sender: No OFD packet to send [16:00:24]OFD Sender: No OFD packet to send [16:00:29]OFD Sender: No OFD packet to send [16:00:34]OFD Sender: No OFD packet to send [16:00:39]OFD Sender: No OFD packet to send [16:00:44]OFD Sender: No OFD packet to send [16:00:49]OFD Sender: No OFD packet to send [16:00:54]OFD Sender: No OFD packet to send [16:00:59]OFD Sender: No OFD packet to send [16:01:04]OFD Sender: No OFD packet to send [16:01:09]OFD Sender: No OFD packet to send [16:01:14]OFD Sender: No OFD packet to send [16:01:19]OFD Sender: No OFD packet to send [16:01:24]OFD Sender: No OFD packet to send [16:01:29]OFD Sender: No OFD packet to send [16:01:34]OFD Sender: No OFD packet to send [16:01:39]OFD Sender: No OFD packet to send [16:01:44]OFD Sender: No OFD packet to send [16:01:49]OFD Sender: No OFD packet to send [16:01:54]OFD Sender: No OFD packet to send [16:01:59]OFD Sender: No OFD packet to send [16:02:04]OFD Sender: No OFD packet to send [16:02:09]OFD Sender: No OFD packet to send [16:02:14]OFD Sender: No OFD packet to send [16:02:19]OFD Sender: No OFD packet to send [16:02:24]OFD Sender: No OFD packet to send [16:02:29]OFD Sender: No OFD packet to send [16:02:34]OFD Sender: No OFD packet to send [16:02:39]OFD Sender: No OFD packet to send [16:02:44]OFD Sender: No OFD packet to send [16:02:49]OFD Sender: No OFD packet to send [16:02:54]OFD Sender: No OFD packet to send [16:02:59]OFD Sender: No OFD packet to send [16:03:00]accept exits with 9 [16:03:00]New connection [16:03:00]New thread 3067288932 created [16:03:00]Thread 3067432292 joined [16:03:00]Waiting for new connection... [16:03:00] Sock 9.Parse request [16:03:00]Sock 9.Check first char [16:03:00]Sock 9.First char is OK [16:03:00]request: POST /json_proto HTTP/1.0 [16:03:00]Method: POST [16:03:00]URL: /json_proto [16:03:00]Method is POST - this is cgi request [16:03:00]url: /json_proto [16:03:00]query_string will be loaded in cgi processing [16:03:00]execute_cgi json_proto POST (null) [16:03:00]execute_cgi path=json_proto method=POST [16:03:00]POST find Content-Length [16:03:00]Host: 172.17.40.196:8080 [16:03:00]Content-Length: 1213 [16:03:00]Content-Type: application/json [16:03:00] [16:03:00]POST finish read [16:03:00]Found Content-Length = 1213 [16:03:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35264", "tax_sys" : 0, "items" : [ { "code": "4700001061104", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0421\u0435\u043C\u0435\u0442\u0435\u0439 0,2\u043B", "price" : 270.00, "quantity" : 1.000, "sum" : 270.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310258", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041B\u0438\u043C\u043E\u043D\u0430\u0434 \u041A\u0435\u043B\u0435\u0447\u0435\u043A 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 408.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:03:00]execute_script... [16:03:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35264", "tax_sys" : 0, "items" : [ { "code": "4700001061104", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0421\u0435\u043C\u0435\u0442\u0435\u0439 0,2\u043B", "price" : 270.00, "quantity" : 1.000, "sum" : 270.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310258", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041B\u0438\u043C\u043E\u043D\u0430\u0434 \u041A\u0435\u043B\u0435\u0447\u0435\u043A 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 408.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:03:00]POST & json_proto [16:03:00]process_json_proto [16:03:00]json parsed OK: [16:03:00]protocol is kg_v1.0 [16:03:00]action value=close_receipt [16:03:00]process_action close_receipt [16:03:00]cmd_close_receipt [16:03:00]MH_GetDate [16:03:00]Write to MH i2c: F0 00 00 F8 00 E7 [16:03:00]Write i2c OK [16:03:00]MH_I2C_Read... [16:03:00]Read from MH i2c: F0 [16:03:00]MH_I2C_Read... [16:03:00]Read from MH i2c: F0 09 00 [16:03:00]MH_I2C_Read... [16:03:00]Read from MH i2c: F0 09 00 F8 00 00 B4 58 22 67 5B 68 A1 66 4F [16:03:00]GetLastDocTimeStamp 1730303863 [16:03:00]current date 1730304180 [16:03:00]FM_GetShiftState [16:03:00]SAM_PROTO_GetShiftState [16:03:00]wFMCommunicate request_size=4 [16:03:00]MH_SAM_APDU [16:03:00]CAPDU: 80 13 01 00 [16:03:00]Write to MH i2c: E2 08 00 F9 00 80 13 01 00 00 00 00 00 76 [16:03:00]Write i2c OK [16:03:00]MH_I2C_Read... [16:03:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:03:00]Read from MH i2c: E2 [16:03:00]MH_I2C_Read... [16:03:00]Read from MH i2c: E2 0E 00 [16:03:00]MH_I2C_Read... [16:03:00]Read from MH i2c: E2 0E 00 F9 00 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 37 [16:03:00]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [16:03:00]wFMCommunicate OK [16:03:00]SAM_PROTO_GetShiftState done [16:03:00]FM_GetShiftState done [16:03:00]opened in 1730246837 [16:03:00]opened+sec_in_day 1730333237 [16:03:00]quantity*price = 27000 [16:03:00]sum+1 = 27001 [16:03:00]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000310258 Напиток Лимонад Келечек 1л 1.000 * 79.00 = 79.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 408.00 НСП 1% : 3.61 НДС 12% : 43.32 Наличными: 408.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 47 30.10.2024 16:03 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37965 ФПД: 266452241989222 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T160300&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37965&fm=266452241989222&tin=02508201610067®Number=0000000000091684&sum=40800 0 [16:03:01]StoreToDocumentArchive [16:03:01]shift 553 fd 37965 [16:03:01]save to /storage/0553/doc_00037965 [16:03:01]save last doc name /storage/0553/doc_00037965 to /storage/kkm_last_doc_name [16:03:01]save OK [16:03:01]Clear old archive folders... [16:03:01]ProcessDocumentItem done err = 0, tmpTLVsize=506 [16:03:01]tlvbuf is 0056B4D0 [16:03:01]SAM_PROTO_ClearQueue [16:03:01]wFMCommunicate request_size=4 [16:03:01]MH_SAM_APDU [16:03:01]CAPDU: 80 09 00 00 [16:03:01]Write to MH i2c: E2 08 00 06 01 80 09 00 00 00 00 00 00 79 [16:03:01]Write i2c OK [16:03:01]MH_I2C_Read... [16:03:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:03:01]Read from MH i2c: E2 [16:03:01]MH_I2C_Read... [16:03:01]Read from MH i2c: E2 03 00 [16:03:01]MH_I2C_Read... [16:03:01]Read from MH i2c: E2 03 00 06 01 00 90 00 7B [16:03:01]RAPDU: 90 00 [16:03:01]wFMCommunicate OK [16:03:01]SAM_PROTO_ClearQueue done [16:03:01]KKMCreateOFDPacket [16:03:01]OFDProtocolAddRootSTLVToBuf [16:03:01]FM_MakeSignedData [16:03:01]FM_MakeSignedData [16:03:01]SAM_PROTO_SignData [16:03:01]wFMCommunicate request_size=4 [16:03:01]MH_SAM_APDU [16:03:01]CAPDU: 80 0D 01 02 [16:03:01]Write to MH i2c: E2 08 00 07 01 80 0D 01 02 00 00 00 00 81 [16:03:01]Write i2c OK [16:03:01]MH_I2C_Read... [16:03:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:03:01]Read from MH i2c: E2 [16:03:01]MH_I2C_Read... [16:03:01]Read from MH i2c: E2 03 00 [16:03:01]MH_I2C_Read... [16:03:01]Read from MH i2c: E2 03 00 07 01 00 90 00 7C [16:03:01]RAPDU: 90 00 [16:03:01]wFMCommunicate OK [16:03:01]wFMCommunicate request_size=255 [16:03:01]MH_SAM_APDU [16:03:01]CAPDU: 80 0D 02 02 FA 03 00 FA 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 69 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 32 35 38 06 04 30 00 [16:03:01]Write to MH i2c: E2 02 01 08 01 80 0D 02 02 FA 00 03 00 FA 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 69 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 32 35 38 06 04 30 00 00 00 67 [16:03:01]Write i2c OK [16:03:01]MH_I2C_Read... [16:03:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:03:02]Read from MH i2c: E2 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: E2 03 00 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: E2 03 00 08 01 00 90 00 7D [16:03:02]RAPDU: 90 00 [16:03:02]wFMCommunicate OK [16:03:02]wFMCommunicate request_size=255 [16:03:02]MH_SAM_APDU [16:03:02]CAPDU: 80 0D 02 02 FA D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 D0 9A D0 B5 D0 BB D0 B5 D1 87 D0 B5 D0 BA 20 31 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 FC 03 06 00 60 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EC 10 00 00 00 00 07 04 06 00 60 9F 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 B4 58 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4D 94 00 00 [16:03:02]Write to MH i2c: E2 02 01 09 01 80 0D 02 02 FA 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 D0 9A D0 B5 D0 BB D0 B5 D1 87 D0 B5 D0 BA 20 31 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 FC 03 06 00 60 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EC 10 00 00 00 00 07 04 06 00 60 9F 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 B4 58 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4D 94 00 00 00 00 3D [16:03:02]Write i2c OK [16:03:02]MH_I2C_Read... [16:03:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:03:02]Read from MH i2c: E2 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: E2 03 00 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: E2 03 00 09 01 00 90 00 7E [16:03:02]RAPDU: 90 00 [16:03:02]wFMCommunicate OK [16:03:02]wFMCommunicate request_size=15 [16:03:02]MH_SAM_APDU [16:03:02]CAPDU: 80 0D 02 02 0A 35 04 06 00 F2 56 3F 3B BE 66 [16:03:02]Write to MH i2c: E2 12 00 0A 01 80 0D 02 02 0A 00 35 04 06 00 F2 56 3F 3B BE 66 00 00 BE [16:03:02]Write i2c OK [16:03:02]MH_I2C_Read... [16:03:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:03:02]Read from MH i2c: E2 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: E2 03 00 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: E2 03 00 0A 01 00 90 00 7F [16:03:02]RAPDU: 90 00 [16:03:02]wFMCommunicate OK [16:03:02]wFMCommunicate request_size=4 [16:03:02]MH_SAM_APDU [16:03:02]CAPDU: 80 0D 03 02 [16:03:02]Write to MH i2c: E2 08 00 0B 01 80 0D 03 02 00 00 00 00 87 [16:03:02]Write i2c OK [16:03:02]MH_I2C_Read... [16:03:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:03:02]Read from MH i2c: E2 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: E2 0B 00 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: E2 0B 00 0B 01 00 60 34 B6 BE A5 CC D6 EA 90 00 C1 [16:03:02]RAPDU: 60 34 B6 BE A5 CC D6 EA 90 00 [16:03:02]wFMCommunicate OK [16:03:02]SAM_PROTO_SignData done [16:03:02]FM_MakeSignedData done [16:03:02]CreateOFDProtocolMessage [16:03:02]wFMCommunicate request_size=4 [16:03:02]MH_SAM_APDU [16:03:02]CAPDU: 80 11 00 00 [16:03:02]Write to MH i2c: E2 08 00 0C 01 80 11 00 00 00 00 00 00 87 [16:03:02]Write i2c OK [16:03:02]MH_I2C_Read... [16:03:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:03:02]Read from MH i2c: E2 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: E2 17 00 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: E2 17 00 0C 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D7 [16:03:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:03:02]wFMCommunicate OK [16:03:02]CreateOFDProtocolMessage done [16:03:02]OFDSenderStorePacket 37965 [16:03:02]StoreOFDPacket docnum=37965 [16:03:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0E 02 00 00 7E B5 06 02 2C FF 5A 03 01 00 03 00 FA 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 69 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 32 35 38 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 D0 9A D0 B5 D0 BB D0 B5 D1 87 D0 B5 D0 BA 20 31 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 FC 03 06 00 60 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EC 10 00 00 00 00 07 04 06 00 60 9F 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 B4 58 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4D 94 00 00 35 04 06 00 F2 56 3F 3B BE 66 60 34 B6 BE A5 CC D6 EA [16:03:02]CheckFolder [16:03:02]dirname=/storage/ofd_packets [16:03:02]CheckFolder done [16:03:02]ProducePacketName [16:03:02]name=ofd_packets/00037965 [16:03:02]NVStorageSaveData ofd_packets/00037965 [16:03:02]File name is /storage/ofd_packets/00037965 [16:03:02]Write 556 bytes [16:03:02]NVStorageSaveData done [16:03:02]OFDSenderStorePacket done [16:03:02]KKMCreateOFDPacket done [16:03:02]NVStorageSaveData kkm_last_timestamp [16:03:02]File name is /storage/kkm_last_timestamp [16:03:02]Write 4 bytes [16:03:02]NVStorageSaveData done [16:03:02]ExternCall_PrintAddStr [16:03:02]wPrintStart [16:03:02]Write to MH i2c: 01 00 00 0D 01 0E [16:03:02]Write i2c OK [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: 01 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: 01 07 00 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: 01 07 00 0D 01 00 00 00 00 00 FF 0F 23 [16:03:02]RasterBufferAndPrint [16:03:02]line Счет N : (3)35264 [16:03:02]line ИНН: 02508201610067 [16:03:02]line Контрольно-Кассовый Чек [16:03:02]line ПРОДАЖА [16:03:02]line Товар: 4700001061104 [16:03:02]line Коньяк Семетей 0,2л [16:03:02]line 1.000 * 270.00 [16:03:02]line = 270.00 [16:03:02]line НДС 12% НСП 1% [16:03:02]line > о реализуемом товаре [16:03:02]line Товар: 4607065001445 [16:03:02]line Шок батончик Snickers 50,5г [16:03:02]line 1.000 * 59.00 [16:03:02]line = 59.00 [16:03:02]line НДС 12% НСП 1% [16:03:02]line > о реализуемом товаре [16:03:02]line Товар: 4700000310258 [16:03:02]line Напиток Лимонад Келечек 1л [16:03:02]line 1.000 * 79.00 [16:03:02]line = 79.00 [16:03:02]line НДС 12% НСП 1% [16:03:02]line > о реализуемом товаре [16:03:02]line ИТОГО: 408.00 [16:03:02]line НСП 1% : 3.61 [16:03:02]line НДС 12% : 43.32 [16:03:02]line Наличными: 408.00 [16:03:02]line Безнал.: 0.00 [16:03:02]line Место: АЗС № 126 "Партнер Нефть" [16:03:02]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:03:02]line СНО: Общий режим [16:03:02]line Чек 47 30.10.2024 16:03 [16:03:02]line Смена: 553 ФФД: 1.0 [16:03:02]line ЗНМ: 0300000092 [16:03:02]line РНМ: 0000000000091684 [16:03:02]line Версия ККМ: 001 [16:03:02]line ФМ: 0000000000871841 [16:03:02]line ФД: 37965 [16:03:02]line ФПД: 266452241989222 [16:03:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T160300&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37965&fm=266452241989222&tin=02508201610067®Number=0000000000091684&sum=40800 [16:03:02]line 0 [16:03:02]written 0, free lines is 4095 [16:03:02]OFD Sender: Processing packet 37965 [packets to send 42, broken 41] [16:03:02]ProducePacketName [16:03:02]name=ofd_packets/00037965 [16:03:02]OFD Sender: To server: pG, [16:03:02]CommunicateWithHost lk.salyk.kg:30040 [16:03:02]ConnectInit lk.salyk.kg [16:03:03]Connected sock=8 [16:03:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0E 02 00 00 7E B5 06 02 2C FF 5A 03 01 00 03 00 FA 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 69 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 32 35 38 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 D0 9A D0 B5 D0 BB D0 B5 D1 87 D0 B5 D0 BA 20 31 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 FC 03 06 00 60 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EC 10 00 00 00 00 07 04 06 00 60 9F 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 B4 58 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4D 94 00 00 35 04 06 00 F2 56 3F 3B BE 66 60 34 B6 BE A5 CC D6 EA [16:03:03]Write to MH i2c: 01 00 00 41 01 42 [16:03:03]Write i2c OK [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: 01 [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: 01 07 00 [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: 01 07 00 41 01 00 00 00 00 00 07 0C 5C [16:03:03]RasterBufferAndPrint [16:03:03]line [16:03:03]line [16:03:03]line [16:03:03]line [16:03:03]line [16:03:03]written 0, free lines is 3086 [16:03:03]MH_Cut [16:03:03]Write to MH i2c: D1 01 00 48 01 01 1B [16:03:03]Write i2c OK [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: D1 [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: D1 01 00 [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: D1 01 00 48 01 00 1A [16:03:03]Write to MH i2c: 01 00 00 49 01 4A [16:03:03]Write i2c OK [16:03:03]MH_I2C_Read... [16:03:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 A9 09 47 00 99 36 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4D 94 00 00 F4 03 04 00 A3 03 22 67 B6 04 01 00 00 41 38 74 FA 87 CD F6 FA [16:03:03]CommunicateWithHost err = 0 [16:03:03]CheckOFDResponse [16:03:03]1017 (14) - 77093643461234 [16:03:03]1041 (16) - 0000000000871841 [16:03:03]1040 (4) - 37965 [16:03:03]1012 (4) - 30.10.2024 10:00 [16:03:03]1206 (1) - 0 [16:03:03]OFD Sender: Remove packet 37965 [16:03:03]ProducePacketName [16:03:03]name=ofd_packets/00037965 [16:03:03]NVStorageDeleteData [16:03:04]OFD Sender: No OFD packet to send [16:03:04]*** Cut start [16:03:04]*** Partial cut [16:03:04]*** CUTSNS_PIN = 1 [16:03:04]*** CUTSNS_PIN = 0 [16:03:04]*** Brake cut motor [16:03:04]Read from MH i2c: 01 [16:03:04]MH_I2C_Read... [16:03:04]*** Stop cut motor [16:03:04]*** Cut end [16:03:04]Read from MH i2c: 01 07 00 [16:03:04]MH_I2C_Read... [16:03:04]Read from MH i2c: 01 07 00 49 01 00 00 00 00 00 FF 0F 5F [16:03:04]process_action close_receipt done [16:03:04]requested_data is exist [16:03:04]produce_requested_data [16:03:04]requested_item fm.sn is exist - process it [16:03:04]wFMCommunicate request_size=4 [16:03:04]MH_SAM_APDU [16:03:04]CAPDU: 80 11 00 00 [16:03:04]Write to MH i2c: E2 08 00 4A 01 80 11 00 00 00 00 00 00 C5 [16:03:04]Write i2c OK [16:03:04]MH_I2C_Read... [16:03:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:03:04]Read from MH i2c: E2 [16:03:04]MH_I2C_Read... [16:03:04]Read from MH i2c: E2 17 00 [16:03:04]MH_I2C_Read... [16:03:04]Read from MH i2c: E2 17 00 4A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 15 [16:03:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:03:04]wFMCommunicate OK [16:03:04]requested_item fd.num is exist - process it [16:03:04]SAM_PROTO_GetFieldsCounters [16:03:04]wFMCommunicate request_size=4 [16:03:04]MH_SAM_APDU [16:03:04]CAPDU: 80 13 00 00 [16:03:04]Write to MH i2c: E2 08 00 4B 01 80 13 00 00 00 00 00 00 C8 [16:03:04]Write i2c OK [16:03:04]MH_I2C_Read... [16:03:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:03:04]Read from MH i2c: E2 [16:03:04]MH_I2C_Read... [16:03:04]Read from MH i2c: E2 62 00 [16:03:04]MH_I2C_Read... [16:03:04]Read from MH i2c: E2 62 00 4B 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 4D 94 00 00 0E 04 04 00 29 02 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 82 [16:03:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 4D 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:03:04]wFMCommunicate OK [16:03:04]SAM_PROTO_GetFieldsCounters done [16:03:04]requested_item shift.num is exist - process it [16:03:04]requested_item shift.opened is exist - process it [16:03:04]req_shift_opened [16:03:04]FM_GetShiftState [16:03:04]SAM_PROTO_GetShiftState [16:03:04]wFMCommunicate request_size=4 [16:03:04]MH_SAM_APDU [16:03:04]CAPDU: 80 13 01 00 [16:03:04]Write to MH i2c: E2 08 00 4C 01 80 13 01 00 00 00 00 00 CA [16:03:04]Write i2c OK [16:03:04]MH_I2C_Read... [16:03:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:03:05]Read from MH i2c: E2 [16:03:05]MH_I2C_Read... [16:03:05]Read from MH i2c: E2 0E 00 [16:03:05]MH_I2C_Read... [16:03:05]Read from MH i2c: E2 0E 00 4C 01 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 8B [16:03:05]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [16:03:05]wFMCommunicate OK [16:03:05]SAM_PROTO_GetShiftState done [16:03:05]FM_GetShiftState done [16:03:05]req_shift_opened done [16:03:05]requested_item shift.open_date is exist - process it [16:03:05]req_shift_open_date [16:03:05]req_shift_open_date done [16:03:05]produce_requested_data done [16:03:05]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37965,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [16:03:05]process_action_free close_receipt [16:03:05]json_value_free [16:03:05]json_value_free done [16:03:05]process_json_proto returns [16:03:05]Send response to host [16:03:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37965,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [16:03:05]free response buf [16:03:05]execute_script done [16:03:05]execute_script returns [16:03:05]free content buf [16:03:05]Sock 9.Close socket [16:03:05]Sock 9.Thread stoped [16:03:09]OFD Sender: No OFD packet to send [16:03:14]OFD Sender: No OFD packet to send [16:03:19]OFD Sender: No OFD packet to send [16:03:24]OFD Sender: No OFD packet to send [16:03:29]OFD Sender: No OFD packet to send [16:03:34]OFD Sender: No OFD packet to send [16:03:39]OFD Sender: No OFD packet to send [16:03:44]OFD Sender: No OFD packet to send [16:03:49]OFD Sender: No OFD packet to send [16:03:54]OFD Sender: No OFD packet to send [16:03:59]OFD Sender: No OFD packet to send [16:04:04]OFD Sender: No OFD packet to send [16:04:09]OFD Sender: No OFD packet to send [16:04:14]OFD Sender: No OFD packet to send [16:04:19]OFD Sender: No OFD packet to send [16:04:24]OFD Sender: No OFD packet to send [16:04:29]OFD Sender: No OFD packet to send [16:04:34]OFD Sender: No OFD packet to send [16:04:39]OFD Sender: No OFD packet to send [16:04:44]OFD Sender: No OFD packet to send [16:04:49]OFD Sender: No OFD packet to send [16:04:54]OFD Sender: No OFD packet to send [16:04:59]OFD Sender: No OFD packet to send [16:05:04]OFD Sender: No OFD packet to send [16:05:09]OFD Sender: No OFD packet to send [16:05:14]OFD Sender: No OFD packet to send [16:05:19]OFD Sender: No OFD packet to send [16:05:24]OFD Sender: No OFD packet to send [16:05:29]OFD Sender: No OFD packet to send [16:05:34]OFD Sender: No OFD packet to send [16:05:39]OFD Sender: No OFD packet to send [16:05:44]OFD Sender: No OFD packet to send [16:05:49]OFD Sender: No OFD packet to send [16:05:54]OFD Sender: No OFD packet to send [16:05:59]OFD Sender: No OFD packet to send [16:06:04]OFD Sender: No OFD packet to send [16:06:09]OFD Sender: No OFD packet to send [16:06:14]OFD Sender: No OFD packet to send [16:06:19]OFD Sender: No OFD packet to send [16:06:24]OFD Sender: No OFD packet to send [16:06:29]OFD Sender: No OFD packet to send [16:06:34]OFD Sender: No OFD packet to send [16:06:39]OFD Sender: No OFD packet to send [16:06:44]OFD Sender: No OFD packet to send [16:06:49]OFD Sender: No OFD packet to send [16:06:54]OFD Sender: No OFD packet to send [16:06:59]OFD Sender: No OFD packet to send [16:07:04]OFD Sender: No OFD packet to send [16:07:09]OFD Sender: No OFD packet to send [16:07:14]OFD Sender: No OFD packet to send [16:07:19]OFD Sender: No OFD packet to send [16:07:24]OFD Sender: No OFD packet to send [16:07:29]OFD Sender: No OFD packet to send [16:07:34]OFD Sender: No OFD packet to send [16:07:39]OFD Sender: No OFD packet to send [16:07:44]OFD Sender: No OFD packet to send [16:07:49]OFD Sender: No OFD packet to send [16:07:54]OFD Sender: No OFD packet to send [16:07:59]OFD Sender: No OFD packet to send [16:08:04]OFD Sender: No OFD packet to send [16:08:09]OFD Sender: No OFD packet to send [16:08:14]OFD Sender: No OFD packet to send [16:08:19]OFD Sender: No OFD packet to send [16:08:24]OFD Sender: No OFD packet to send [16:08:29]OFD Sender: No OFD packet to send [16:08:34]OFD Sender: No OFD packet to send [16:08:39]OFD Sender: No OFD packet to send [16:08:44]OFD Sender: No OFD packet to send [16:08:49]OFD Sender: No OFD packet to send [16:08:54]OFD Sender: No OFD packet to send [16:08:59]OFD Sender: No OFD packet to send [16:09:04]OFD Sender: No OFD packet to send [16:09:09]OFD Sender: No OFD packet to send [16:09:14]OFD Sender: No OFD packet to send [16:09:19]OFD Sender: No OFD packet to send [16:09:24]OFD Sender: No OFD packet to send [16:09:29]OFD Sender: No OFD packet to send [16:09:34]OFD Sender: No OFD packet to send [16:09:39]OFD Sender: No OFD packet to send [16:09:44]OFD Sender: No OFD packet to send [16:09:49]OFD Sender: No OFD packet to send [16:09:54]OFD Sender: No OFD packet to send [16:09:59]OFD Sender: No OFD packet to send [16:10:04]OFD Sender: No OFD packet to send [16:10:09]OFD Sender: No OFD packet to send [16:10:14]OFD Sender: No OFD packet to send [16:10:19]OFD Sender: No OFD packet to send [16:10:24]OFD Sender: No OFD packet to send [16:10:29]OFD Sender: No OFD packet to send [16:10:34]OFD Sender: No OFD packet to send [16:10:39]OFD Sender: No OFD packet to send [16:10:44]OFD Sender: No OFD packet to send [16:10:49]OFD Sender: No OFD packet to send [16:10:54]OFD Sender: No OFD packet to send [16:10:59]OFD Sender: No OFD packet to send [16:11:04]OFD Sender: No OFD packet to send [16:11:09]OFD Sender: No OFD packet to send [16:11:14]OFD Sender: No OFD packet to send [16:11:19]OFD Sender: No OFD packet to send [16:11:24]OFD Sender: No OFD packet to send [16:11:29]OFD Sender: No OFD packet to send [16:11:34]OFD Sender: No OFD packet to send [16:11:39]OFD Sender: No OFD packet to send [16:11:44]OFD Sender: No OFD packet to send [16:11:49]OFD Sender: No OFD packet to send [16:11:54]OFD Sender: No OFD packet to send [16:11:59]OFD Sender: No OFD packet to send [16:12:04]OFD Sender: No OFD packet to send [16:12:09]OFD Sender: No OFD packet to send [16:12:14]OFD Sender: No OFD packet to send [16:12:19]OFD Sender: No OFD packet to send [16:12:24]OFD Sender: No OFD packet to send [16:12:29]OFD Sender: No OFD packet to send [16:12:34]OFD Sender: No OFD packet to send [16:12:39]OFD Sender: No OFD packet to send [16:12:44]OFD Sender: No OFD packet to send [16:12:49]OFD Sender: No OFD packet to send [16:12:54]OFD Sender: No OFD packet to send [16:12:59]OFD Sender: No OFD packet to send [16:13:04]OFD Sender: No OFD packet to send [16:13:09]OFD Sender: No OFD packet to send [16:13:14]OFD Sender: No OFD packet to send [16:13:19]OFD Sender: No OFD packet to send [16:13:24]OFD Sender: No OFD packet to send [16:13:29]OFD Sender: No OFD packet to send [16:13:34]OFD Sender: No OFD packet to send [16:13:39]OFD Sender: No OFD packet to send [16:13:44]OFD Sender: No OFD packet to send [16:13:49]OFD Sender: No OFD packet to send [16:13:54]OFD Sender: No OFD packet to send [16:13:59]OFD Sender: No OFD packet to send [16:14:04]OFD Sender: No OFD packet to send [16:14:09]OFD Sender: No OFD packet to send [16:14:14]OFD Sender: No OFD packet to send [16:14:19]OFD Sender: No OFD packet to send [16:14:24]OFD Sender: No OFD packet to send [16:14:29]OFD Sender: No OFD packet to send [16:14:34]OFD Sender: No OFD packet to send [16:14:39]OFD Sender: No OFD packet to send [16:14:44]OFD Sender: No OFD packet to send [16:14:49]OFD Sender: No OFD packet to send [16:14:54]OFD Sender: No OFD packet to send [16:14:59]OFD Sender: No OFD packet to send [16:15:04]OFD Sender: No OFD packet to send [16:15:09]OFD Sender: No OFD packet to send [16:15:14]OFD Sender: No OFD packet to send [16:15:19]OFD Sender: No OFD packet to send [16:15:24]OFD Sender: No OFD packet to send [16:15:29]OFD Sender: No OFD packet to send [16:15:34]OFD Sender: No OFD packet to send [16:15:39]OFD Sender: No OFD packet to send [16:15:44]OFD Sender: No OFD packet to send [16:15:49]OFD Sender: No OFD packet to send [16:15:54]OFD Sender: No OFD packet to send [16:15:59]OFD Sender: No OFD packet to send [16:16:04]OFD Sender: No OFD packet to send [16:16:09]OFD Sender: No OFD packet to send [16:16:14]OFD Sender: No OFD packet to send [16:16:19]OFD Sender: No OFD packet to send [16:16:24]OFD Sender: No OFD packet to send [16:16:29]OFD Sender: No OFD packet to send [16:16:34]OFD Sender: No OFD packet to send [16:16:39]OFD Sender: No OFD packet to send [16:16:44]OFD Sender: No OFD packet to send [16:16:49]OFD Sender: No OFD packet to send [16:16:54]OFD Sender: No OFD packet to send [16:16:59]OFD Sender: No OFD packet to send [16:17:04]OFD Sender: No OFD packet to send [16:17:09]OFD Sender: No OFD packet to send [16:17:14]OFD Sender: No OFD packet to send [16:17:19]OFD Sender: No OFD packet to send [16:17:24]OFD Sender: No OFD packet to send [16:17:29]OFD Sender: No OFD packet to send [16:17:34]OFD Sender: No OFD packet to send [16:17:39]OFD Sender: No OFD packet to send [16:17:44]OFD Sender: No OFD packet to send [16:17:49]OFD Sender: No OFD packet to send [16:17:54]OFD Sender: No OFD packet to send [16:17:59]OFD Sender: No OFD packet to send [16:18:04]OFD Sender: No OFD packet to send [16:18:09]OFD Sender: No OFD packet to send [16:18:14]OFD Sender: No OFD packet to send [16:18:19]OFD Sender: No OFD packet to send [16:18:24]OFD Sender: No OFD packet to send [16:18:29]OFD Sender: No OFD packet to send [16:18:34]OFD Sender: No OFD packet to send [16:18:39]OFD Sender: No OFD packet to send [16:18:44]OFD Sender: No OFD packet to send [16:18:49]OFD Sender: No OFD packet to send [16:18:54]OFD Sender: No OFD packet to send [16:18:59]OFD Sender: No OFD packet to send [16:19:04]OFD Sender: No OFD packet to send [16:19:09]OFD Sender: No OFD packet to send [16:19:14]OFD Sender: No OFD packet to send [16:19:19]OFD Sender: No OFD packet to send [16:19:24]OFD Sender: No OFD packet to send [16:19:29]OFD Sender: No OFD packet to send [16:19:34]OFD Sender: No OFD packet to send [16:19:39]OFD Sender: No OFD packet to send [16:19:44]OFD Sender: No OFD packet to send [16:19:49]OFD Sender: No OFD packet to send [16:19:54]OFD Sender: No OFD packet to send [16:19:59]OFD Sender: No OFD packet to send [16:20:04]OFD Sender: No OFD packet to send [16:20:09]OFD Sender: No OFD packet to send [16:20:14]OFD Sender: No OFD packet to send [16:20:19]OFD Sender: No OFD packet to send [16:20:24]OFD Sender: No OFD packet to send [16:20:29]OFD Sender: No OFD packet to send [16:20:34]OFD Sender: No OFD packet to send [16:20:39]OFD Sender: No OFD packet to send [16:20:44]OFD Sender: No OFD packet to send [16:20:49]OFD Sender: No OFD packet to send [16:20:54]OFD Sender: No OFD packet to send [16:20:59]OFD Sender: No OFD packet to send [16:21:05]OFD Sender: No OFD packet to send [16:21:10]OFD Sender: No OFD packet to send [16:21:15]OFD Sender: No OFD packet to send [16:21:20]OFD Sender: No OFD packet to send [16:21:25]OFD Sender: No OFD packet to send [16:21:30]OFD Sender: No OFD packet to send [16:21:35]OFD Sender: No OFD packet to send [16:21:40]OFD Sender: No OFD packet to send [16:21:45]OFD Sender: No OFD packet to send [16:21:50]OFD Sender: No OFD packet to send [16:21:55]OFD Sender: No OFD packet to send [16:22:00]OFD Sender: No OFD packet to send [16:22:05]OFD Sender: No OFD packet to send [16:22:10]OFD Sender: No OFD packet to send [16:22:15]OFD Sender: No OFD packet to send [16:22:20]OFD Sender: No OFD packet to send [16:22:25]OFD Sender: No OFD packet to send [16:22:30]OFD Sender: No OFD packet to send [16:22:35]OFD Sender: No OFD packet to send [16:22:40]OFD Sender: No OFD packet to send [16:22:45]OFD Sender: No OFD packet to send [16:22:50]OFD Sender: No OFD packet to send [16:22:55]OFD Sender: No OFD packet to send [16:23:00]OFD Sender: No OFD packet to send [16:23:05]OFD Sender: No OFD packet to send [16:23:10]OFD Sender: No OFD packet to send [16:23:15]OFD Sender: No OFD packet to send [16:23:20]OFD Sender: No OFD packet to send [16:23:25]OFD Sender: No OFD packet to send [16:23:30]OFD Sender: No OFD packet to send [16:23:35]OFD Sender: No OFD packet to send [16:23:40]OFD Sender: No OFD packet to send [16:23:45]OFD Sender: No OFD packet to send [16:23:50]OFD Sender: No OFD packet to send [16:23:55]OFD Sender: No OFD packet to send [16:24:00]OFD Sender: No OFD packet to send [16:24:05]OFD Sender: No OFD packet to send [16:24:10]OFD Sender: No OFD packet to send [16:24:15]OFD Sender: No OFD packet to send [16:24:20]OFD Sender: No OFD packet to send [16:24:25]OFD Sender: No OFD packet to send [16:24:30]OFD Sender: No OFD packet to send [16:24:35]OFD Sender: No OFD packet to send [16:24:40]OFD Sender: No OFD packet to send [16:24:45]OFD Sender: No OFD packet to send [16:24:50]OFD Sender: No OFD packet to send [16:24:55]OFD Sender: No OFD packet to send [16:25:00]OFD Sender: No OFD packet to send [16:25:05]OFD Sender: No OFD packet to send [16:25:10]OFD Sender: No OFD packet to send [16:25:15]OFD Sender: No OFD packet to send [16:25:20]OFD Sender: No OFD packet to send [16:25:25]OFD Sender: No OFD packet to send [16:25:30]OFD Sender: No OFD packet to send [16:25:35]OFD Sender: No OFD packet to send [16:25:40]OFD Sender: No OFD packet to send [16:25:45]OFD Sender: No OFD packet to send [16:25:50]OFD Sender: No OFD packet to send [16:25:55]OFD Sender: No OFD packet to send [16:26:00]OFD Sender: No OFD packet to send [16:26:05]OFD Sender: No OFD packet to send [16:26:10]OFD Sender: No OFD packet to send [16:26:15]OFD Sender: No OFD packet to send [16:26:20]OFD Sender: No OFD packet to send [16:26:25]OFD Sender: No OFD packet to send [16:26:30]OFD Sender: No OFD packet to send [16:26:35]OFD Sender: No OFD packet to send [16:26:40]OFD Sender: No OFD packet to send [16:26:45]OFD Sender: No OFD packet to send [16:26:50]OFD Sender: No OFD packet to send [16:26:55]OFD Sender: No OFD packet to send [16:27:00]OFD Sender: No OFD packet to send [16:27:05]OFD Sender: No OFD packet to send [16:27:10]OFD Sender: No OFD packet to send [16:27:15]OFD Sender: No OFD packet to send [16:27:20]OFD Sender: No OFD packet to send [16:27:25]OFD Sender: No OFD packet to send [16:27:30]OFD Sender: No OFD packet to send [16:27:35]OFD Sender: No OFD packet to send [16:27:40]OFD Sender: No OFD packet to send [16:27:45]OFD Sender: No OFD packet to send [16:27:50]OFD Sender: No OFD packet to send [16:27:55]OFD Sender: No OFD packet to send [16:28:00]OFD Sender: No OFD packet to send [16:28:05]OFD Sender: No OFD packet to send [16:28:10]OFD Sender: No OFD packet to send [16:28:15]OFD Sender: No OFD packet to send [16:28:20]OFD Sender: No OFD packet to send [16:28:25]OFD Sender: No OFD packet to send [16:28:30]OFD Sender: No OFD packet to send [16:28:35]OFD Sender: No OFD packet to send [16:28:40]OFD Sender: No OFD packet to send [16:28:45]OFD Sender: No OFD packet to send [16:28:50]OFD Sender: No OFD packet to send [16:28:55]OFD Sender: No OFD packet to send [16:29:00]OFD Sender: No OFD packet to send [16:29:05]OFD Sender: No OFD packet to send [16:29:10]OFD Sender: No OFD packet to send [16:29:15]OFD Sender: No OFD packet to send [16:29:20]OFD Sender: No OFD packet to send [16:29:25]OFD Sender: No OFD packet to send [16:29:30]OFD Sender: No OFD packet to send [16:29:35]OFD Sender: No OFD packet to send [16:29:40]OFD Sender: No OFD packet to send [16:29:45]OFD Sender: No OFD packet to send [16:29:50]OFD Sender: No OFD packet to send [16:29:55]OFD Sender: No OFD packet to send [16:30:00]OFD Sender: No OFD packet to send [16:30:05]OFD Sender: No OFD packet to send [16:30:10]OFD Sender: No OFD packet to send [16:30:15]OFD Sender: No OFD packet to send [16:30:20]OFD Sender: No OFD packet to send [16:30:25]OFD Sender: No OFD packet to send [16:30:30]OFD Sender: No OFD packet to send [16:30:35]OFD Sender: No OFD packet to send [16:30:40]OFD Sender: No OFD packet to send [16:30:45]OFD Sender: No OFD packet to send [16:30:50]OFD Sender: No OFD packet to send [16:30:55]OFD Sender: No OFD packet to send [16:31:00]OFD Sender: No OFD packet to send [16:31:05]OFD Sender: No OFD packet to send [16:31:10]OFD Sender: No OFD packet to send [16:31:15]OFD Sender: No OFD packet to send [16:31:20]OFD Sender: No OFD packet to send [16:31:25]OFD Sender: No OFD packet to send [16:31:30]OFD Sender: No OFD packet to send [16:31:35]OFD Sender: No OFD packet to send [16:31:40]OFD Sender: No OFD packet to send [16:31:45]OFD Sender: No OFD packet to send [16:31:50]OFD Sender: No OFD packet to send [16:31:55]OFD Sender: No OFD packet to send [16:32:00]OFD Sender: No OFD packet to send [16:32:05]OFD Sender: No OFD packet to send [16:32:10]OFD Sender: No OFD packet to send [16:32:15]OFD Sender: No OFD packet to send [16:32:20]OFD Sender: No OFD packet to send [16:32:25]OFD Sender: No OFD packet to send [16:32:30]OFD Sender: No OFD packet to send [16:32:35]OFD Sender: No OFD packet to send [16:32:40]OFD Sender: No OFD packet to send [16:32:45]OFD Sender: No OFD packet to send [16:32:50]OFD Sender: No OFD packet to send [16:32:55]OFD Sender: No OFD packet to send [16:33:00]OFD Sender: No OFD packet to send [16:33:05]OFD Sender: No OFD packet to send [16:33:10]OFD Sender: No OFD packet to send [16:33:15]OFD Sender: No OFD packet to send [16:33:20]OFD Sender: No OFD packet to send [16:33:25]OFD Sender: No OFD packet to send [16:33:30]OFD Sender: No OFD packet to send [16:33:35]OFD Sender: No OFD packet to send [16:33:40]OFD Sender: No OFD packet to send [16:33:45]OFD Sender: No OFD packet to send [16:33:50]OFD Sender: No OFD packet to send [16:33:55]OFD Sender: No OFD packet to send [16:34:00]OFD Sender: No OFD packet to send [16:34:05]OFD Sender: No OFD packet to send [16:34:10]OFD Sender: No OFD packet to send [16:34:15]OFD Sender: No OFD packet to send [16:34:20]OFD Sender: No OFD packet to send [16:34:25]OFD Sender: No OFD packet to send [16:34:30]OFD Sender: No OFD packet to send [16:34:35]OFD Sender: No OFD packet to send [16:34:40]OFD Sender: No OFD packet to send [16:34:45]OFD Sender: No OFD packet to send [16:34:50]OFD Sender: No OFD packet to send [16:34:55]OFD Sender: No OFD packet to send [16:35:00]OFD Sender: No OFD packet to send [16:35:05]OFD Sender: No OFD packet to send [16:35:10]OFD Sender: No OFD packet to send [16:35:15]OFD Sender: No OFD packet to send [16:35:20]OFD Sender: No OFD packet to send [16:35:25]OFD Sender: No OFD packet to send [16:35:30]OFD Sender: No OFD packet to send [16:35:35]OFD Sender: No OFD packet to send [16:35:40]OFD Sender: No OFD packet to send [16:35:45]OFD Sender: No OFD packet to send [16:35:50]OFD Sender: No OFD packet to send [16:35:55]OFD Sender: No OFD packet to send [16:36:00]OFD Sender: No OFD packet to send [16:36:05]OFD Sender: No OFD packet to send [16:36:10]OFD Sender: No OFD packet to send [16:36:15]OFD Sender: No OFD packet to send [16:36:20]OFD Sender: No OFD packet to send [16:36:25]OFD Sender: No OFD packet to send [16:36:30]OFD Sender: No OFD packet to send [16:36:35]OFD Sender: No OFD packet to send [16:36:40]OFD Sender: No OFD packet to send [16:36:45]OFD Sender: No OFD packet to send [16:36:50]OFD Sender: No OFD packet to send [16:36:55]OFD Sender: No OFD packet to send [16:37:00]OFD Sender: No OFD packet to send [16:37:05]OFD Sender: No OFD packet to send [16:37:10]OFD Sender: No OFD packet to send [16:37:15]OFD Sender: No OFD packet to send [16:37:20]OFD Sender: No OFD packet to send [16:37:25]OFD Sender: No OFD packet to send [16:37:30]OFD Sender: No OFD packet to send [16:37:35]OFD Sender: No OFD packet to send [16:37:40]OFD Sender: No OFD packet to send [16:37:45]OFD Sender: No OFD packet to send [16:37:50]OFD Sender: No OFD packet to send [16:37:55]OFD Sender: No OFD packet to send [16:38:00]OFD Sender: No OFD packet to send [16:38:05]OFD Sender: No OFD packet to send [16:38:10]OFD Sender: No OFD packet to send [16:38:15]OFD Sender: No OFD packet to send [16:38:20]OFD Sender: No OFD packet to send [16:38:25]OFD Sender: No OFD packet to send [16:38:30]OFD Sender: No OFD packet to send [16:38:35]OFD Sender: No OFD packet to send [16:38:40]OFD Sender: No OFD packet to send [16:38:45]OFD Sender: No OFD packet to send [16:38:50]OFD Sender: No OFD packet to send [16:38:55]OFD Sender: No OFD packet to send [16:39:00]OFD Sender: No OFD packet to send [16:39:05]OFD Sender: No OFD packet to send [16:39:10]OFD Sender: No OFD packet to send [16:39:15]OFD Sender: No OFD packet to send [16:39:20]OFD Sender: No OFD packet to send [16:39:25]OFD Sender: No OFD packet to send [16:39:30]OFD Sender: No OFD packet to send [16:39:35]OFD Sender: No OFD packet to send [16:39:40]OFD Sender: No OFD packet to send [16:39:45]OFD Sender: No OFD packet to send [16:39:50]OFD Sender: No OFD packet to send [16:39:55]OFD Sender: No OFD packet to send [16:40:01]OFD Sender: No OFD packet to send [16:40:06]OFD Sender: No OFD packet to send [16:40:11]OFD Sender: No OFD packet to send [16:40:16]OFD Sender: No OFD packet to send [16:40:21]OFD Sender: No OFD packet to send [16:40:26]OFD Sender: No OFD packet to send [16:40:31]OFD Sender: No OFD packet to send [16:40:36]OFD Sender: No OFD packet to send [16:40:41]OFD Sender: No OFD packet to send [16:40:46]OFD Sender: No OFD packet to send [16:40:51]OFD Sender: No OFD packet to send [16:40:56]OFD Sender: No OFD packet to send [16:41:01]OFD Sender: No OFD packet to send [16:41:06]OFD Sender: No OFD packet to send [16:41:11]OFD Sender: No OFD packet to send [16:41:16]OFD Sender: No OFD packet to send [16:41:21]OFD Sender: No OFD packet to send [16:41:26]OFD Sender: No OFD packet to send [16:41:31]OFD Sender: No OFD packet to send [16:41:36]OFD Sender: No OFD packet to send [16:41:41]OFD Sender: No OFD packet to send [16:41:46]OFD Sender: No OFD packet to send [16:41:51]OFD Sender: No OFD packet to send [16:41:56]OFD Sender: No OFD packet to send [16:42:01]OFD Sender: No OFD packet to send [16:42:06]OFD Sender: No OFD packet to send [16:42:11]OFD Sender: No OFD packet to send [16:42:16]OFD Sender: No OFD packet to send [16:42:21]OFD Sender: No OFD packet to send [16:42:26]OFD Sender: No OFD packet to send [16:42:31]OFD Sender: No OFD packet to send [16:42:36]OFD Sender: No OFD packet to send [16:42:41]OFD Sender: No OFD packet to send [16:42:44]accept exits with 10 [16:42:44]New connection [16:42:44]New thread 3067432292 created [16:42:44]Thread 3067288932 joined [16:42:44]Waiting for new connection... [16:42:44] Sock 10.Parse request [16:42:44]Sock 10.Check first char [16:42:44]Sock 10.First char is OK [16:42:44]request: POST /json_proto HTTP/1.0 [16:42:44]Method: POST [16:42:44]URL: /json_proto [16:42:44]Method is POST - this is cgi request [16:42:44]url: /json_proto [16:42:44]query_string will be loaded in cgi processing [16:42:44]execute_cgi json_proto POST (null) [16:42:44]execute_cgi path=json_proto method=POST [16:42:44]POST find Content-Length [16:42:44]Host: 172.17.40.196:8080 [16:42:44]Content-Length: 649 [16:42:44]Content-Type: application/json [16:42:44] [16:42:44]POST finish read [16:42:44]Found Content-Length = 649 [16:42:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35265", "tax_sys" : 0, "items" : [ { "code": "5903111735517", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 WIND FRESH ( ocean)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:42:44]execute_script... [16:42:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35265", "tax_sys" : 0, "items" : [ { "code": "5903111735517", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 WIND FRESH ( ocean)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:42:44]POST & json_proto [16:42:44]process_json_proto [16:42:44]json parsed OK: [16:42:44]protocol is kg_v1.0 [16:42:44]action value=close_receipt [16:42:44]process_action close_receipt [16:42:44]cmd_close_receipt [16:42:44]MH_GetDate [16:42:44]Write to MH i2c: F0 00 00 4D 01 3D [16:42:44]Write i2c OK [16:42:44]MH_I2C_Read... [16:42:44]Read from MH i2c: F0 [16:42:44]MH_I2C_Read... [16:42:44]Read from MH i2c: F0 09 00 [16:42:44]MH_I2C_Read... [16:42:44]Read from MH i2c: F0 09 00 4D 01 00 05 62 22 67 5B 68 A1 66 00 [16:42:44]GetLastDocTimeStamp 1730304180 [16:42:44]current date 1730306565 [16:42:44]FM_GetShiftState [16:42:44]SAM_PROTO_GetShiftState [16:42:44]wFMCommunicate request_size=4 [16:42:44]MH_SAM_APDU [16:42:44]CAPDU: 80 13 01 00 [16:42:44]Write to MH i2c: E2 08 00 4E 01 80 13 01 00 00 00 00 00 CC [16:42:44]Write i2c OK [16:42:44]MH_I2C_Read... [16:42:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:44]Read from MH i2c: E2 [16:42:44]MH_I2C_Read... [16:42:44]Read from MH i2c: E2 0E 00 [16:42:44]MH_I2C_Read... [16:42:44]Read from MH i2c: E2 0E 00 4E 01 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 8D [16:42:44]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [16:42:44]wFMCommunicate OK [16:42:44]SAM_PROTO_GetShiftState done [16:42:44]FM_GetShiftState done [16:42:44]opened in 1730246837 [16:42:44]opened+sec_in_day 1730333237 [16:42:44]quantity*price = 11500 [16:42:44]sum+1 = 11501 [16:42:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 48 30.10.2024 16:42 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37966 ФПД: 54924272377272 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T164245&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37966&fm=54924272377272&tin=02508201610067®Number=0000000000091684&sum=11500 0 [16:42:45]StoreToDocumentArchive [16:42:45]shift 553 fd 37966 [16:42:45]save to /storage/0553/doc_00037966 [16:42:45]save last doc name /storage/0553/doc_00037966 to /storage/kkm_last_doc_name [16:42:45]save OK [16:42:45]Clear old archive folders... [16:42:45]ProcessDocumentItem done err = 0, tmpTLVsize=286 [16:42:45]tlvbuf is 005F17D0 [16:42:45]SAM_PROTO_ClearQueue [16:42:45]wFMCommunicate request_size=4 [16:42:45]MH_SAM_APDU [16:42:45]CAPDU: 80 09 00 00 [16:42:45]Write to MH i2c: E2 08 00 5B 01 80 09 00 00 00 00 00 00 CE [16:42:45]Write i2c OK [16:42:45]MH_I2C_Read... [16:42:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:42:45]Read from MH i2c: E2 [16:42:45]MH_I2C_Read... [16:42:45]Read from MH i2c: E2 03 00 [16:42:45]MH_I2C_Read... [16:42:45]Read from MH i2c: E2 03 00 5B 01 00 90 00 D0 [16:42:45]RAPDU: 90 00 [16:42:45]wFMCommunicate OK [16:42:45]SAM_PROTO_ClearQueue done [16:42:45]KKMCreateOFDPacket [16:42:45]OFDProtocolAddRootSTLVToBuf [16:42:45]FM_MakeSignedData [16:42:45]FM_MakeSignedData [16:42:45]SAM_PROTO_SignData [16:42:45]wFMCommunicate request_size=4 [16:42:45]MH_SAM_APDU [16:42:45]CAPDU: 80 0D 01 02 [16:42:45]Write to MH i2c: E2 08 00 5C 01 80 0D 01 02 00 00 00 00 D6 [16:42:45]Write i2c OK [16:42:45]MH_I2C_Read... [16:42:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:42:46]Read from MH i2c: E2 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 03 00 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 03 00 5C 01 00 90 00 D1 [16:42:46]RAPDU: 90 00 [16:42:46]wFMCommunicate OK [16:42:46]wFMCommunicate request_size=255 [16:42:46]MH_SAM_APDU [16:42:46]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 33 31 31 31 37 33 35 35 31 37 06 04 2C 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 57 49 4E 44 20 46 52 45 53 48 20 28 20 6F 63 65 61 6E 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 05 62 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 [16:42:46]Write to MH i2c: E2 02 01 5D 01 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 33 31 31 31 37 33 35 35 31 37 06 04 2C 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 57 49 4E 44 20 46 52 45 53 48 20 28 20 6F 63 65 61 6E 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 05 62 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 00 00 1C [16:42:46]Write i2c OK [16:42:46]MH_I2C_Read... [16:42:46]OFD Sender: No OFD packet to send [16:42:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:46]Read from MH i2c: E2 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 03 00 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 03 00 5D 01 00 90 00 D2 [16:42:46]RAPDU: 90 00 [16:42:46]wFMCommunicate OK [16:42:46]wFMCommunicate request_size=45 [16:42:46]MH_SAM_APDU [16:42:46]CAPDU: 80 0D 02 02 28 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4E 94 00 00 35 04 06 00 31 F4 0D BE 9D B8 [16:42:46]Write to MH i2c: E2 30 00 5E 01 80 0D 02 02 28 00 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4E 94 00 00 35 04 06 00 31 F4 0D BE 9D B8 00 00 55 [16:42:46]Write i2c OK [16:42:46]MH_I2C_Read... [16:42:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:46]Read from MH i2c: E2 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 03 00 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 03 00 5E 01 00 90 00 D3 [16:42:46]RAPDU: 90 00 [16:42:46]wFMCommunicate OK [16:42:46]wFMCommunicate request_size=4 [16:42:46]MH_SAM_APDU [16:42:46]CAPDU: 80 0D 03 02 [16:42:46]Write to MH i2c: E2 08 00 5F 01 80 0D 03 02 00 00 00 00 DB [16:42:46]Write i2c OK [16:42:46]MH_I2C_Read... [16:42:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:42:46]Read from MH i2c: E2 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 0B 00 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 0B 00 5F 01 00 77 22 30 F7 CD B7 E5 D7 90 00 DC [16:42:46]RAPDU: 77 22 30 F7 CD B7 E5 D7 90 00 [16:42:46]wFMCommunicate OK [16:42:46]SAM_PROTO_SignData done [16:42:46]FM_MakeSignedData done [16:42:46]CreateOFDProtocolMessage [16:42:46]wFMCommunicate request_size=4 [16:42:46]MH_SAM_APDU [16:42:46]CAPDU: 80 11 00 00 [16:42:46]Write to MH i2c: E2 08 00 60 01 80 11 00 00 00 00 00 00 DB [16:42:46]Write i2c OK [16:42:46]MH_I2C_Read... [16:42:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:46]Read from MH i2c: E2 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 17 00 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 17 00 60 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 2B [16:42:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:42:46]wFMCommunicate OK [16:42:46]CreateOFDProtocolMessage done [16:42:46]OFDSenderStorePacket 37966 [16:42:46]StoreOFDPacket docnum=37966 [16:42:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 32 01 00 00 A3 76 2A 01 76 78 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 33 31 31 31 37 33 35 35 31 37 06 04 2C 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 57 49 4E 44 20 46 52 45 53 48 20 28 20 6F 63 65 61 6E 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 05 62 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4E 94 00 00 35 04 06 00 31 F4 0D BE 9D B8 77 22 30 F7 CD B7 E5 D7 [16:42:46]CheckFolder [16:42:46]dirname=/storage/ofd_packets [16:42:46]CheckFolder done [16:42:46]ProducePacketName [16:42:46]name=ofd_packets/00037966 [16:42:46]NVStorageSaveData ofd_packets/00037966 [16:42:46]File name is /storage/ofd_packets/00037966 [16:42:46]Write 336 bytes [16:42:46]NVStorageSaveData done [16:42:46]OFDSenderStorePacket done [16:42:46]KKMCreateOFDPacket done [16:42:46]NVStorageSaveData kkm_last_timestamp [16:42:46]File name is /storage/kkm_last_timestamp [16:42:46]Write 4 bytes [16:42:46]NVStorageSaveData done [16:42:46]ExternCall_PrintAddStr [16:42:46]wPrintStart [16:42:46]Write to MH i2c: 01 00 00 61 01 62 [16:42:46]Write i2c OK [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: 01 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: 01 07 00 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: 01 07 00 61 01 00 00 00 00 00 FF 0F 77 [16:42:46]RasterBufferAndPrint [16:42:46]line Счет N : (3)35265 [16:42:46]line ИНН: 02508201610067 [16:42:46]line Контрольно-Кассовый Чек [16:42:46]line ПРОДАЖА [16:42:46]line Товар: 5903111735517 [16:42:46]line Ароматизатор WIND FRESH ( ocean) [16:42:46]line 1.000 * 115.00 [16:42:46]line = 115.00 [16:42:46]line НДС 12% НСП 1% [16:42:46]line > о реализуемом товаре [16:42:46]line ИТОГО: 115.00 [16:42:46]line НСП 1% : 1.02 [16:42:46]line НДС 12% : 12.21 [16:42:46]line Наличными: 115.00 [16:42:46]line Безнал.: 0.00 [16:42:46]line Место: АЗС № 126 "Партнер Нефть" [16:42:46]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:42:46]line СНО: Общий режим [16:42:46]line Чек 48 30.10.2024 16:42 [16:42:46]line Смена: 553 ФФД: 1.0 [16:42:46]line ЗНМ: 0300000092 [16:42:46]line РНМ: 0000000000091684 [16:42:46]line Версия ККМ: 001 [16:42:46]line ФМ: 0000000000871841 [16:42:46]line ФД: 37966 [16:42:46]line ФПД: 54924272377272 [16:42:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T164245&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37966&fm=54924272377272&tin=02508201610067®Number=0000000000091684&sum=11500 [16:42:46]line 0 [16:42:46]OFD Sender: Processing packet 37966 [packets to send 42, broken 41] [16:42:46]ProducePacketName [16:42:46]name=ofd_packets/00037966 [16:42:46]OFD Sender: To server: pG, [16:42:46]CommunicateWithHost lk.salyk.kg:30040 [16:42:46]ConnectInit lk.salyk.kg [16:42:46]written 0, free lines is 4095 [16:42:47]Write to MH i2c: 01 00 00 8A 01 8B [16:42:47]Write i2c OK [16:42:47]MH_I2C_Read... [16:42:47]Read from MH i2c: 01 [16:42:47]MH_I2C_Read... [16:42:47]Read from MH i2c: 01 07 00 [16:42:47]MH_I2C_Read... [16:42:47]Read from MH i2c: 01 07 00 8A 01 00 00 00 00 00 AA 0C 48 [16:42:47]RasterBufferAndPrint [16:42:47]line [16:42:47]line [16:42:47]line [16:42:47]line [16:42:47]line [16:42:47]written 0, free lines is 3245 [16:42:47]MH_Cut [16:42:47]Write to MH i2c: D1 01 00 91 01 01 64 [16:42:47]Write i2c OK [16:42:47]MH_I2C_Read... [16:42:47]Read from MH i2c: D1 [16:42:47]MH_I2C_Read... [16:42:47]Read from MH i2c: D1 01 00 [16:42:47]MH_I2C_Read... [16:42:47]Read from MH i2c: D1 01 00 91 01 00 63 [16:42:47]Write to MH i2c: 01 00 00 92 01 93 [16:42:47]Write i2c OK [16:42:47]MH_I2C_Read... [16:42:48]*** Cut start [16:42:48]*** Partial cut [16:42:48]*** CUTSNS_PIN = 1 [16:42:48]*** CUTSNS_PIN = 0 [16:42:48]*** Brake cut motor [16:42:48]Connected sock=11 [16:42:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 32 01 00 00 A3 76 2A 01 76 78 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 33 31 31 31 37 33 35 35 31 37 06 04 2C 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 57 49 4E 44 20 46 52 45 53 48 20 28 20 6F 63 65 61 6E 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 05 62 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4E 94 00 00 35 04 06 00 31 F4 0D BE 9D B8 77 22 30 F7 CD B7 E5 D7 [16:42:48]Read from MH i2c: 01 [16:42:48]MH_I2C_Read... [16:42:48]*** Stop cut motor [16:42:48]*** Cut end [16:42:48]Read from MH i2c: 01 07 00 [16:42:48]MH_I2C_Read... [16:42:48]Read from MH i2c: 01 07 00 92 01 00 00 00 00 00 FF 0F A8 [16:42:48]process_action close_receipt done [16:42:48]requested_data is exist [16:42:48]produce_requested_data [16:42:48]requested_item fm.sn is exist - process it [16:42:48]wFMCommunicate request_size=4 [16:42:48]MH_SAM_APDU [16:42:48]CAPDU: 80 11 00 00 [16:42:48]Write to MH i2c: E2 08 00 93 01 80 11 00 00 00 00 00 00 0E [16:42:48]Write i2c OK [16:42:48]MH_I2C_Read... [16:42:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:48]Read from MH i2c: E2 [16:42:48]MH_I2C_Read... [16:42:48]Read from MH i2c: E2 17 00 [16:42:48]MH_I2C_Read... [16:42:48]Read from MH i2c: E2 17 00 93 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 5E [16:42:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:42:48]wFMCommunicate OK [16:42:48]requested_item fd.num is exist - process it [16:42:48]SAM_PROTO_GetFieldsCounters [16:42:48]wFMCommunicate request_size=4 [16:42:48]MH_SAM_APDU [16:42:48]CAPDU: 80 13 00 00 [16:42:48]Write to MH i2c: E2 08 00 94 01 80 13 00 00 00 00 00 00 11 [16:42:48]Write i2c OK [16:42:48]MH_I2C_Read... [16:42:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:42:48]Read from MH i2c: E2 [16:42:48]MH_I2C_Read... [16:42:48]Read from MH i2c: E2 62 00 [16:42:48]MH_I2C_Read... [16:42:48]Read from MH i2c: E2 62 00 94 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 4E 94 00 00 0E 04 04 00 29 02 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 CF [16:42:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 4E 94 00 00 0E 04 04 00 29 02 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:42:48]wFMCommunicate OK [16:42:48]SAM_PROTO_GetFieldsCounters done [16:42:48]requested_item shift.num is exist - process it [16:42:48]requested_item shift.opened is exist - process it [16:42:48]req_shift_opened [16:42:48]FM_GetShiftState [16:42:48]SAM_PROTO_GetShiftState [16:42:48]wFMCommunicate request_size=4 [16:42:48]MH_SAM_APDU [16:42:48]CAPDU: 80 13 01 00 [16:42:48]Write to MH i2c: E2 08 00 95 01 80 13 01 00 00 00 00 00 13 [16:42:48]Write i2c OK [16:42:48]MH_I2C_Read... [16:42:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:48]Read from MH i2c: E2 [16:42:48]MH_I2C_Read... [16:42:48]Read from MH i2c: E2 0E 00 [16:42:48]MH_I2C_Read... [16:42:48]Read from MH i2c: E2 0E 00 95 01 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 D4 [16:42:48]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [16:42:48]wFMCommunicate OK [16:42:48]SAM_PROTO_GetShiftState done [16:42:48]FM_GetShiftState done [16:42:48]req_shift_opened done [16:42:48]requested_item shift.open_date is exist - process it [16:42:48]req_shift_open_date [16:42:48]req_shift_open_date done [16:42:48]produce_requested_data done [16:42:48]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37966,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [16:42:48]process_action_free close_receipt [16:42:48]json_value_free [16:42:48]json_value_free done [16:42:48]process_json_proto returns [16:42:48]Send response to host [16:42:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37966,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [16:42:48]free response buf [16:42:48]execute_script done [16:42:48]execute_script returns [16:42:48]free content buf [16:42:48]Sock 10.Close socket [16:42:48]Sock 10.Thread stoped [16:42:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 B3 BA 47 00 49 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4E 94 00 00 F4 03 04 00 F4 0C 22 67 B6 04 01 00 00 07 14 1C 23 50 AE EB 99 [16:42:49]CommunicateWithHost err = 0 [16:42:49]CheckOFDResponse [16:42:49]1017 (14) - 77093643461234 [16:42:49]1041 (16) - 0000000000871841 [16:42:49]1040 (4) - 37966 [16:42:49]1012 (4) - 30.10.2024 10:39 [16:42:49]1206 (1) - 0 [16:42:49]OFD Sender: Remove packet 37966 [16:42:49]ProducePacketName [16:42:49]name=ofd_packets/00037966 [16:42:49]NVStorageDeleteData [16:42:49]OFD Sender: No OFD packet to send [16:42:54]OFD Sender: No OFD packet to send [16:42:54]accept exits with 8 [16:42:54]New connection [16:42:54]New thread 3067288932 created [16:42:54]Thread 3067432292 joined [16:42:54]Waiting for new connection... [16:42:54] Sock 8.Parse request [16:42:54]Sock 8.Check first char [16:42:54]Sock 8.First char is OK [16:42:54]request: POST /json_proto HTTP/1.0 [16:42:54]Method: POST [16:42:54]URL: /json_proto [16:42:54]Method is POST - this is cgi request [16:42:54]url: /json_proto [16:42:54]query_string will be loaded in cgi processing [16:42:54]execute_cgi json_proto POST (null) [16:42:54]execute_cgi path=json_proto method=POST [16:42:54]POST find Content-Length [16:42:54]Host: 172.17.40.196:8080 [16:42:54]Content-Length: 625 [16:42:54]Content-Type: application/json [16:42:54] [16:42:54]POST finish read [16:42:54]Found Content-Length = 625 [16:42:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35266", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:42:54]execute_script... [16:42:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35266", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:42:54]POST & json_proto [16:42:54]process_json_proto [16:42:54]json parsed OK: [16:42:54]protocol is kg_v1.0 [16:42:54]action value=close_receipt [16:42:54]process_action close_receipt [16:42:54]cmd_close_receipt [16:42:54]MH_GetDate [16:42:54]Write to MH i2c: F0 00 00 96 01 86 [16:42:54]Write i2c OK [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: F0 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: F0 09 00 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: F0 09 00 96 01 00 0F 62 22 67 5B 68 A1 66 53 [16:42:54]GetLastDocTimeStamp 1730306565 [16:42:54]current date 1730306575 [16:42:54]FM_GetShiftState [16:42:54]SAM_PROTO_GetShiftState [16:42:54]wFMCommunicate request_size=4 [16:42:54]MH_SAM_APDU [16:42:54]CAPDU: 80 13 01 00 [16:42:54]Write to MH i2c: E2 08 00 97 01 80 13 01 00 00 00 00 00 15 [16:42:54]Write i2c OK [16:42:54]MH_I2C_Read... [16:42:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:54]Read from MH i2c: E2 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 0E 00 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 0E 00 97 01 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 D6 [16:42:54]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [16:42:54]wFMCommunicate OK [16:42:54]SAM_PROTO_GetShiftState done [16:42:54]FM_GetShiftState done [16:42:54]opened in 1730246837 [16:42:54]opened+sec_in_day 1730333237 [16:42:54]quantity*price = 23000 [16:42:54]sum+1 = 23001 [16:42:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 230.00 НСП 1% : 2.03 НДС 12% : 24.42 Наличными: 230.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 49 30.10.2024 16:42 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37967 ФПД: 195052112214819 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T164255&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37967&fm=195052112214819&tin=02508201610067®Number=0000000000091684&sum=23000 0 [16:42:55]StoreToDocumentArchive [16:42:55]shift 553 fd 37967 [16:42:55]save to /storage/0553/doc_00037967 [16:42:55]save last doc name /storage/0553/doc_00037967 to /storage/kkm_last_doc_name [16:42:55]save OK [16:42:55]Clear old archive folders... [16:42:55]ProcessDocumentItem done err = 0, tmpTLVsize=274 [16:42:55]tlvbuf is 005E59C0 [16:42:55]SAM_PROTO_ClearQueue [16:42:55]wFMCommunicate request_size=4 [16:42:55]MH_SAM_APDU [16:42:55]CAPDU: 80 09 00 00 [16:42:55]Write to MH i2c: E2 08 00 A4 01 80 09 00 00 00 00 00 00 17 [16:42:55]Write i2c OK [16:42:55]MH_I2C_Read... [16:42:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:42:55]Read from MH i2c: E2 [16:42:55]MH_I2C_Read... [16:42:55]Read from MH i2c: E2 03 00 [16:42:55]MH_I2C_Read... [16:42:55]Read from MH i2c: E2 03 00 A4 01 00 90 00 19 [16:42:55]RAPDU: 90 00 [16:42:55]wFMCommunicate OK [16:42:55]SAM_PROTO_ClearQueue done [16:42:55]KKMCreateOFDPacket [16:42:55]OFDProtocolAddRootSTLVToBuf [16:42:55]FM_MakeSignedData [16:42:55]FM_MakeSignedData [16:42:55]SAM_PROTO_SignData [16:42:55]wFMCommunicate request_size=4 [16:42:55]MH_SAM_APDU [16:42:55]CAPDU: 80 0D 01 02 [16:42:55]Write to MH i2c: E2 08 00 A5 01 80 0D 01 02 00 00 00 00 1F [16:42:55]Write i2c OK [16:42:55]MH_I2C_Read... [16:42:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:42:55]Read from MH i2c: E2 [16:42:55]MH_I2C_Read... [16:42:55]Read from MH i2c: E2 03 00 [16:42:55]MH_I2C_Read... [16:42:55]Read from MH i2c: E2 03 00 A5 01 00 90 00 1A [16:42:55]RAPDU: 90 00 [16:42:55]wFMCommunicate OK [16:42:55]wFMCommunicate request_size=255 [16:42:55]MH_SAM_APDU [16:42:55]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 0F 62 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [16:42:55]Write to MH i2c: E2 02 01 A6 01 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 0F 62 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 7A [16:42:55]Write i2c OK [16:42:55]MH_I2C_Read... [16:42:56]Read from MH i2c: E2 [16:42:56]MH_I2C_Read... [16:42:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:56]Read from MH i2c: E2 03 00 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: E2 03 00 A6 01 00 90 00 1B [16:42:56]RAPDU: 90 00 [16:42:56]wFMCommunicate OK [16:42:56]wFMCommunicate request_size=33 [16:42:56]MH_SAM_APDU [16:42:56]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4F 94 00 00 35 04 06 00 B1 66 1B DC 7B 23 [16:42:56]Write to MH i2c: E2 24 00 A7 01 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4F 94 00 00 35 04 06 00 B1 66 1B DC 7B 23 00 00 3D [16:42:56]Write i2c OK [16:42:56]MH_I2C_Read... [16:42:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:56]Read from MH i2c: E2 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: E2 03 00 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: E2 03 00 A7 01 00 90 00 1C [16:42:56]RAPDU: 90 00 [16:42:56]wFMCommunicate OK [16:42:56]wFMCommunicate request_size=4 [16:42:56]MH_SAM_APDU [16:42:56]CAPDU: 80 0D 03 02 [16:42:56]Write to MH i2c: E2 08 00 A8 01 80 0D 03 02 00 00 00 00 24 [16:42:56]Write i2c OK [16:42:56]MH_I2C_Read... [16:42:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:42:56]Read from MH i2c: E2 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: E2 0B 00 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: E2 0B 00 A8 01 00 BF CD 05 41 62 65 B8 C8 90 00 3E [16:42:56]RAPDU: BF CD 05 41 62 65 B8 C8 90 00 [16:42:56]wFMCommunicate OK [16:42:56]SAM_PROTO_SignData done [16:42:56]FM_MakeSignedData done [16:42:56]CreateOFDProtocolMessage [16:42:56]wFMCommunicate request_size=4 [16:42:56]MH_SAM_APDU [16:42:56]CAPDU: 80 11 00 00 [16:42:56]Write to MH i2c: E2 08 00 A9 01 80 11 00 00 00 00 00 00 24 [16:42:56]Write i2c OK [16:42:56]MH_I2C_Read... [16:42:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:56]Read from MH i2c: E2 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: E2 17 00 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: E2 17 00 A9 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 74 [16:42:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:42:56]wFMCommunicate OK [16:42:56]CreateOFDProtocolMessage done [16:42:56]OFDSenderStorePacket 37967 [16:42:56]StoreOFDPacket docnum=37967 [16:42:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 41 A2 1E 01 26 C8 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 0F 62 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4F 94 00 00 35 04 06 00 B1 66 1B DC 7B 23 BF CD 05 41 62 65 B8 C8 [16:42:56]CheckFolder [16:42:56]dirname=/storage/ofd_packets [16:42:56]CheckFolder done [16:42:56]ProducePacketName [16:42:56]name=ofd_packets/00037967 [16:42:56]NVStorageSaveData ofd_packets/00037967 [16:42:56]File name is /storage/ofd_packets/00037967 [16:42:56]Write 324 bytes [16:42:56]NVStorageSaveData done [16:42:56]OFDSenderStorePacket done [16:42:56]KKMCreateOFDPacket done [16:42:56]NVStorageSaveData kkm_last_timestamp [16:42:56]File name is /storage/kkm_last_timestamp [16:42:56]Write 4 bytes [16:42:56]NVStorageSaveData done [16:42:56]ExternCall_PrintAddStr [16:42:56]wPrintStart [16:42:56]Write to MH i2c: 01 00 00 AA 01 AB [16:42:56]Write i2c OK [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: 01 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: 01 07 00 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: 01 07 00 AA 01 00 00 00 00 00 FF 0F C0 [16:42:56]RasterBufferAndPrint [16:42:56]line Счет N : (3)35266 [16:42:56]line ИНН: 02508201610067 [16:42:56]line Контрольно-Кассовый Чек [16:42:56]line ПРОДАЖА [16:42:56]line Товар: 2000036240010 [16:42:56]line Кофе Латте (GABB TRADE) [16:42:56]line 2.000 * 115.00 [16:42:56]line = 230.00 [16:42:56]line НДС 12% НСП 1% [16:42:56]line > о реализуемом товаре [16:42:56]line ИТОГО: 230.00 [16:42:56]line НСП 1% : 2.03 [16:42:56]line НДС 12% : 24.42 [16:42:56]line Наличными: 230.00 [16:42:56]line Безнал.: 0.00 [16:42:56]line Место: АЗС № 126 "Партнер Нефть" [16:42:56]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:42:56]line СНО: Общий режим [16:42:56]line Чек 49 30.10.2024 16:42 [16:42:56]line Смена: 553 ФФД: 1.0 [16:42:56]line ЗНМ: 0300000092 [16:42:56]line РНМ: 0000000000091684 [16:42:56]line Версия ККМ: 001 [16:42:56]line ФМ: 0000000000871841 [16:42:56]line ФД: 37967 [16:42:56]line ФПД: 195052112214819 [16:42:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T164255&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37967&fm=195052112214819&tin=02508201610067®Number=0000000000091684&sum=23000 [16:42:56]OFD Sender: Processing packet 37967 [packets to send 42, broken 41] [16:42:56]ProducePacketName [16:42:56]name=ofd_packets/00037967 [16:42:56]OFD Sender: To server: pG, [16:42:56]CommunicateWithHost lk.salyk.kg:30040 [16:42:56]ConnectInit lk.salyk.kg [16:42:56]line 0 [16:42:56]written 0, free lines is 4095 [16:42:56]Connected sock=9 [16:42:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 41 A2 1E 01 26 C8 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 0F 62 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4F 94 00 00 35 04 06 00 B1 66 1B DC 7B 23 BF CD 05 41 62 65 B8 C8 [16:42:56]Write to MH i2c: 01 00 00 D2 01 D3 [16:42:56]Write i2c OK [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: 01 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: 01 07 00 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: 01 07 00 D2 01 00 00 00 00 00 E7 0C CD [16:42:56]RasterBufferAndPrint [16:42:56]line [16:42:56]line [16:42:56]line [16:42:56]line [16:42:56]line [16:42:56]written 0, free lines is 3310 [16:42:56]MH_Cut [16:42:56]Write to MH i2c: D1 01 00 D9 01 01 AC [16:42:56]Write i2c OK [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: D1 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: D1 01 00 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: D1 01 00 D9 01 00 AB [16:42:56]Write to MH i2c: 01 00 00 DA 01 DB [16:42:56]Write i2c OK [16:42:56]MH_I2C_Read... [16:42:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 5B C7 47 00 54 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 38 37 31 38 34 31 10 04 04 00 4F 94 00 00 F4 03 04 00 FC 0C 22 67 B6 04 01 00 00 39 1A 2F D8 E3 36 60 97 [16:42:57]CommunicateWithHost err = 0 [16:42:57]CheckOFDResponse [16:42:57]1017 (14) - 77093643461234 [16:42:57]1041 (16) - 0000000000871841 [16:42:57]1040 (4) - 37967 [16:42:57]1012 (4) - 30.10.2024 10:39 [16:42:57]1206 (1) - 0 [16:42:57]OFD Sender: Remove packet 37967 [16:42:57]ProducePacketName [16:42:57]name=ofd_packets/00037967 [16:42:57]NVStorageDeleteData [16:42:57]*** Cut start [16:42:57]*** Partial cut [16:42:57]*** CUTSNS_PIN = 1 [16:42:57]*** CUTSNS_PIN = 0 [16:42:57]OFD Sender: No OFD packet to send [16:42:57]*** Brake cut motor [16:42:58]Read from MH i2c: 01 [16:42:58]MH_I2C_Read... [16:42:58]*** Stop cut motor [16:42:58]*** Cut end [16:42:58]Read from MH i2c: 01 07 00 [16:42:58]MH_I2C_Read... [16:42:58]Read from MH i2c: 01 07 00 DA 01 00 00 00 00 00 FF 0F F0 [16:42:58]process_action close_receipt done [16:42:58]requested_data is exist [16:42:58]produce_requested_data [16:42:58]requested_item fm.sn is exist - process it [16:42:58]wFMCommunicate request_size=4 [16:42:58]MH_SAM_APDU [16:42:58]CAPDU: 80 11 00 00 [16:42:58]Write to MH i2c: E2 08 00 DB 01 80 11 00 00 00 00 00 00 56 [16:42:58]Write i2c OK [16:42:58]MH_I2C_Read... [16:42:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:58]Read from MH i2c: E2 [16:42:58]MH_I2C_Read... [16:42:58]Read from MH i2c: E2 17 00 [16:42:58]MH_I2C_Read... [16:42:58]Read from MH i2c: E2 17 00 DB 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A6 [16:42:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:42:58]wFMCommunicate OK [16:42:58]requested_item fd.num is exist - process it [16:42:58]SAM_PROTO_GetFieldsCounters [16:42:58]wFMCommunicate request_size=4 [16:42:58]MH_SAM_APDU [16:42:58]CAPDU: 80 13 00 00 [16:42:58]Write to MH i2c: E2 08 00 DC 01 80 13 00 00 00 00 00 00 59 [16:42:58]Write i2c OK [16:42:58]MH_I2C_Read... [16:42:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:42:58]Read from MH i2c: E2 [16:42:58]MH_I2C_Read... [16:42:58]Read from MH i2c: E2 62 00 [16:42:58]MH_I2C_Read... [16:42:58]Read from MH i2c: E2 62 00 DC 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 4F 94 00 00 0E 04 04 00 29 02 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 1B [16:42:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 4F 94 00 00 0E 04 04 00 29 02 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:42:58]wFMCommunicate OK [16:42:58]SAM_PROTO_GetFieldsCounters done [16:42:58]requested_item shift.num is exist - process it [16:42:58]requested_item shift.opened is exist - process it [16:42:58]req_shift_opened [16:42:58]FM_GetShiftState [16:42:58]SAM_PROTO_GetShiftState [16:42:58]wFMCommunicate request_size=4 [16:42:58]MH_SAM_APDU [16:42:58]CAPDU: 80 13 01 00 [16:42:58]Write to MH i2c: E2 08 00 DD 01 80 13 01 00 00 00 00 00 5B [16:42:58]Write i2c OK [16:42:58]MH_I2C_Read... [16:42:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:58]Read from MH i2c: E2 [16:42:58]MH_I2C_Read... [16:42:58]Read from MH i2c: E2 0E 00 [16:42:58]MH_I2C_Read... [16:42:58]Read from MH i2c: E2 0E 00 DD 01 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 1C [16:42:58]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [16:42:58]wFMCommunicate OK [16:42:58]SAM_PROTO_GetShiftState done [16:42:58]FM_GetShiftState done [16:42:58]req_shift_opened done [16:42:58]requested_item shift.open_date is exist - process it [16:42:58]req_shift_open_date [16:42:58]req_shift_open_date done [16:42:58]produce_requested_data done [16:42:58]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37967,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [16:42:58]process_action_free close_receipt [16:42:58]json_value_free [16:42:58]json_value_free done [16:42:58]process_json_proto returns [16:42:58]Send response to host [16:42:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37967,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [16:42:58]free response buf [16:42:58]execute_script done [16:42:58]execute_script returns [16:42:58]free content buf [16:42:58]Sock 8.Close socket [16:42:58]Sock 8.Thread stoped [16:43:02]OFD Sender: No OFD packet to send [16:43:07]OFD Sender: No OFD packet to send [16:43:12]OFD Sender: No OFD packet to send [16:43:17]OFD Sender: No OFD packet to send [16:43:22]OFD Sender: No OFD packet to send [16:43:27]OFD Sender: No OFD packet to send [16:43:32]OFD Sender: No OFD packet to send [16:43:37]OFD Sender: No OFD packet to send [16:43:42]OFD Sender: No OFD packet to send [16:43:47]OFD Sender: No OFD packet to send [16:43:52]OFD Sender: No OFD packet to send [16:43:57]OFD Sender: No OFD packet to send [16:44:02]OFD Sender: No OFD packet to send [16:44:07]OFD Sender: No OFD packet to send [16:44:12]OFD Sender: No OFD packet to send [16:44:17]OFD Sender: No OFD packet to send [16:44:22]OFD Sender: No OFD packet to send [16:44:27]OFD Sender: No OFD packet to send [16:44:32]OFD Sender: No OFD packet to send [16:44:37]OFD Sender: No OFD packet to send [16:44:42]OFD Sender: No OFD packet to send [16:44:47]OFD Sender: No OFD packet to send [16:44:52]OFD Sender: No OFD packet to send [16:44:57]OFD Sender: No OFD packet to send [16:45:02]OFD Sender: No OFD packet to send [16:45:07]OFD Sender: No OFD packet to send [16:45:12]OFD Sender: No OFD packet to send [16:45:17]OFD Sender: No OFD packet to send [16:45:22]OFD Sender: No OFD packet to send [16:45:27]OFD Sender: No OFD packet to send [16:45:32]OFD Sender: No OFD packet to send [16:45:37]OFD Sender: No OFD packet to send [16:45:42]OFD Sender: No OFD packet to send [16:45:47]OFD Sender: No OFD packet to send [16:45:52]OFD Sender: No OFD packet to send [16:45:57]OFD Sender: No OFD packet to send [16:46:02]OFD Sender: No OFD packet to send [16:46:07]OFD Sender: No OFD packet to send [16:46:12]OFD Sender: No OFD packet to send [16:46:17]OFD Sender: No OFD packet to send [16:46:22]OFD Sender: No OFD packet to send [16:46:27]OFD Sender: No OFD packet to send [16:46:32]OFD Sender: No OFD packet to send [16:46:37]OFD Sender: No OFD packet to send [16:46:42]OFD Sender: No OFD packet to send [16:46:47]OFD Sender: No OFD packet to send [16:46:52]OFD Sender: No OFD packet to send [16:46:57]OFD Sender: No OFD packet to send [16:47:02]OFD Sender: No OFD packet to send [16:47:07]OFD Sender: No OFD packet to send [16:47:12]OFD Sender: No OFD packet to send [16:47:17]OFD Sender: No OFD packet to send [16:47:22]OFD Sender: No OFD packet to send [16:47:27]OFD Sender: No OFD packet to send [16:47:32]OFD Sender: No OFD packet to send [16:47:37]OFD Sender: No OFD packet to send [16:47:42]OFD Sender: No OFD packet to send [16:47:47]OFD Sender: No OFD packet to send [16:47:52]OFD Sender: No OFD packet to send [16:47:57]OFD Sender: No OFD packet to send [16:48:02]OFD Sender: No OFD packet to send [16:48:07]OFD Sender: No OFD packet to send [16:48:12]OFD Sender: No OFD packet to send [16:48:18]OFD Sender: No OFD packet to send [16:48:23]OFD Sender: No OFD packet to send [16:48:28]OFD Sender: No OFD packet to send [16:48:33]OFD Sender: No OFD packet to send [16:48:38]OFD Sender: No OFD packet to send [16:48:43]OFD Sender: No OFD packet to send [16:48:48]OFD Sender: No OFD packet to send [16:48:53]OFD Sender: No OFD packet to send [16:48:58]OFD Sender: No OFD packet to send [16:49:03]OFD Sender: No OFD packet to send [16:49:08]OFD Sender: No OFD packet to send [16:49:13]OFD Sender: No OFD packet to send [16:49:18]OFD Sender: No OFD packet to send [16:49:23]OFD Sender: No OFD packet to send [16:49:28]OFD Sender: No OFD packet to send [16:49:33]OFD Sender: No OFD packet to send [16:49:38]OFD Sender: No OFD packet to send [16:49:43]OFD Sender: No OFD packet to send [16:49:48]OFD Sender: No OFD packet to send [16:49:53]OFD Sender: No OFD packet to send [16:49:58]OFD Sender: No OFD packet to send [16:50:03]OFD Sender: No OFD packet to send [16:50:08]OFD Sender: No OFD packet to send [16:50:13]OFD Sender: No OFD packet to send [16:50:18]OFD Sender: No OFD packet to send [16:50:23]OFD Sender: No OFD packet to send [16:50:28]OFD Sender: No OFD packet to send [16:50:33]OFD Sender: No OFD packet to send [16:50:38]OFD Sender: No OFD packet to send [16:50:43]OFD Sender: No OFD packet to send [16:50:48]OFD Sender: No OFD packet to send [16:50:53]OFD Sender: No OFD packet to send [16:50:58]OFD Sender: No OFD packet to send [16:51:03]OFD Sender: No OFD packet to send [16:51:08]OFD Sender: No OFD packet to send [16:51:13]OFD Sender: No OFD packet to send [16:51:18]OFD Sender: No OFD packet to send [16:51:23]OFD Sender: No OFD packet to send [16:51:28]OFD Sender: No OFD packet to send [16:51:33]OFD Sender: No OFD packet to send [16:51:38]OFD Sender: No OFD packet to send [16:51:43]OFD Sender: No OFD packet to send [16:51:48]OFD Sender: No OFD packet to send [16:51:53]OFD Sender: No OFD packet to send [16:51:58]OFD Sender: No OFD packet to send [16:52:03]OFD Sender: No OFD packet to send [16:52:08]OFD Sender: No OFD packet to send [16:52:13]OFD Sender: No OFD packet to send [16:52:18]OFD Sender: No OFD packet to send [16:52:23]OFD Sender: No OFD packet to send [16:52:28]OFD Sender: No OFD packet to send [16:52:33]OFD Sender: No OFD packet to send [16:52:38]OFD Sender: No OFD packet to send [16:52:43]OFD Sender: No OFD packet to send [16:52:48]OFD Sender: No OFD packet to send [16:52:53]OFD Sender: No OFD packet to send [16:52:58]OFD Sender: No OFD packet to send [16:53:03]OFD Sender: No OFD packet to send [16:53:08]OFD Sender: No OFD packet to send [16:53:13]OFD Sender: No OFD packet to send [16:53:18]OFD Sender: No OFD packet to send [16:53:23]OFD Sender: No OFD packet to send [16:53:28]OFD Sender: No OFD packet to send [16:53:33]OFD Sender: No OFD packet to send [16:53:38]OFD Sender: No OFD packet to send [16:53:43]OFD Sender: No OFD packet to send [16:53:48]OFD Sender: No OFD packet to send [16:53:53]OFD Sender: No OFD packet to send [16:53:58]OFD Sender: No OFD packet to send [16:54:03]OFD Sender: No OFD packet to send [16:54:08]OFD Sender: No OFD packet to send [16:54:13]OFD Sender: No OFD packet to send [16:54:18]OFD Sender: No OFD packet to send [16:54:23]OFD Sender: No OFD packet to send [16:54:28]OFD Sender: No OFD packet to send [16:54:33]OFD Sender: No OFD packet to send [16:54:38]OFD Sender: No OFD packet to send [16:54:43]OFD Sender: No OFD packet to send [16:54:48]OFD Sender: No OFD packet to send [16:54:53]OFD Sender: No OFD packet to send [16:54:58]OFD Sender: No OFD packet to send [16:55:03]OFD Sender: No OFD packet to send [16:55:08]OFD Sender: No OFD packet to send [16:55:13]OFD Sender: No OFD packet to send [16:55:18]OFD Sender: No OFD packet to send [16:55:23]OFD Sender: No OFD packet to send [16:55:28]OFD Sender: No OFD packet to send [16:55:33]OFD Sender: No OFD packet to send [16:55:38]OFD Sender: No OFD packet to send [16:55:43]OFD Sender: No OFD packet to send [16:55:48]OFD Sender: No OFD packet to send [16:55:53]OFD Sender: No OFD packet to send [16:55:58]OFD Sender: No OFD packet to send [16:56:03]OFD Sender: No OFD packet to send [16:56:08]OFD Sender: No OFD packet to send [16:56:13]OFD Sender: No OFD packet to send [16:56:18]OFD Sender: No OFD packet to send [16:56:23]OFD Sender: No OFD packet to send [16:56:28]OFD Sender: No OFD packet to send [16:56:33]OFD Sender: No OFD packet to send [16:56:38]OFD Sender: No OFD packet to send [16:56:43]OFD Sender: No OFD packet to send [16:56:48]OFD Sender: No OFD packet to send [16:56:53]OFD Sender: No OFD packet to send [16:56:56]accept exits with 10 [16:56:56]New connection [16:56:56]New thread 3067432292 created [16:56:56]Thread 3067288932 joined [16:56:56]Waiting for new connection... [16:56:56] Sock 10.Parse request [16:56:56]Sock 10.Check first char [16:56:56]Sock 10.First char is OK [16:56:56]request: POST /json_proto HTTP/1.0 [16:56:56]Method: POST [16:56:56]URL: /json_proto [16:56:56]Method is POST - this is cgi request [16:56:56]url: /json_proto [16:56:56]query_string will be loaded in cgi processing [16:56:56]execute_cgi json_proto POST (null) [16:56:56]execute_cgi path=json_proto method=POST [16:56:56]POST find Content-Length [16:56:56]Host: 172.17.40.196:8080 [16:56:56]Content-Length: 625 [16:56:56]Content-Type: application/json [16:56:56] [16:56:56]POST finish read [16:56:56]Found Content-Length = 625 [16:56:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35267", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:56:56]execute_script... [16:56:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35267", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:56:56]POST & json_proto [16:56:56]process_json_proto [16:56:56]json parsed OK: [16:56:56]protocol is kg_v1.0 [16:56:56]action value=close_receipt [16:56:56]process_action close_receipt [16:56:56]cmd_close_receipt [16:56:56]MH_GetDate [16:56:56]Write to MH i2c: F0 00 00 DE 01 CE [16:56:56]Write i2c OK [16:56:56]MH_I2C_Read... [16:56:56]Read from MH i2c: F0 [16:56:56]MH_I2C_Read... [16:56:56]Read from MH i2c: F0 09 00 [16:56:56]MH_I2C_Read... [16:56:56]Read from MH i2c: F0 09 00 DE 01 00 59 65 22 67 5B 68 A1 66 E8 [16:56:56]GetLastDocTimeStamp 1730306575 [16:56:56]current date 1730307417 [16:56:56]FM_GetShiftState [16:56:56]SAM_PROTO_GetShiftState [16:56:56]wFMCommunicate request_size=4 [16:56:56]MH_SAM_APDU [16:56:56]CAPDU: 80 13 01 00 [16:56:56]Write to MH i2c: E2 08 00 DF 01 80 13 01 00 00 00 00 00 5D [16:56:56]Write i2c OK [16:56:56]MH_I2C_Read... [16:56:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:56:56]Read from MH i2c: E2 [16:56:56]MH_I2C_Read... [16:56:56]Read from MH i2c: E2 0E 00 [16:56:56]MH_I2C_Read... [16:56:56]Read from MH i2c: E2 0E 00 DF 01 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 1E [16:56:56]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [16:56:56]wFMCommunicate OK [16:56:56]SAM_PROTO_GetShiftState done [16:56:56]FM_GetShiftState done [16:56:56]opened in 1730246837 [16:56:56]opened+sec_in_day 1730333237 [16:56:56]quantity*price = 11500 [16:56:56]sum+1 = 11501 [16:56:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 50 30.10.2024 16:56 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37968 ФПД: 118864503637975 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T165657&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37968&fm=118864503637975&tin=02508201610067®Number=0000000000091684&sum=11500 0 [16:56:57]StoreToDocumentArchive [16:56:57]shift 553 fd 37968 [16:56:57]save to /storage/0553/doc_00037968 [16:56:57]save last doc name /storage/0553/doc_00037968 to /storage/kkm_last_doc_name [16:56:57]save OK [16:56:57]Clear old archive folders... [16:56:57]ProcessDocumentItem done err = 0, tmpTLVsize=274 [16:56:57]tlvbuf is 005F77A0 [16:56:57]SAM_PROTO_ClearQueue [16:56:57]wFMCommunicate request_size=4 [16:56:57]MH_SAM_APDU [16:56:57]CAPDU: 80 09 00 00 [16:56:57]Write to MH i2c: E2 08 00 EC 01 80 09 00 00 00 00 00 00 5F [16:56:57]Write i2c OK [16:56:57]MH_I2C_Read... [16:56:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:56:57]Read from MH i2c: E2 [16:56:57]MH_I2C_Read... [16:56:57]Read from MH i2c: E2 03 00 [16:56:57]MH_I2C_Read... [16:56:57]Read from MH i2c: E2 03 00 EC 01 00 90 00 61 [16:56:57]RAPDU: 90 00 [16:56:57]wFMCommunicate OK [16:56:57]SAM_PROTO_ClearQueue done [16:56:57]KKMCreateOFDPacket [16:56:57]OFDProtocolAddRootSTLVToBuf [16:56:57]FM_MakeSignedData [16:56:57]FM_MakeSignedData [16:56:57]SAM_PROTO_SignData [16:56:57]wFMCommunicate request_size=4 [16:56:57]MH_SAM_APDU [16:56:57]CAPDU: 80 0D 01 02 [16:56:57]Write to MH i2c: E2 08 00 ED 01 80 0D 01 02 00 00 00 00 67 [16:56:57]Write i2c OK [16:56:57]MH_I2C_Read... [16:56:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:56:57]Read from MH i2c: E2 [16:56:57]MH_I2C_Read... [16:56:57]Read from MH i2c: E2 03 00 [16:56:57]MH_I2C_Read... [16:56:57]Read from MH i2c: E2 03 00 ED 01 00 90 00 62 [16:56:57]RAPDU: 90 00 [16:56:57]wFMCommunicate OK [16:56:57]wFMCommunicate request_size=255 [16:56:57]MH_SAM_APDU [16:56:57]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 59 65 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [16:56:57]Write to MH i2c: E2 02 01 EE 01 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 59 65 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 AA [16:56:57]Write i2c OK [16:56:57]MH_I2C_Read... [16:56:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:56:58]Read from MH i2c: E2 [16:56:58]MH_I2C_Read... [16:56:58]Read from MH i2c: E2 03 00 [16:56:58]MH_I2C_Read... [16:56:58]Read from MH i2c: E2 03 00 EE 01 00 90 00 63 [16:56:58]RAPDU: 90 00 [16:56:58]wFMCommunicate OK [16:56:58]wFMCommunicate request_size=33 [16:56:58]MH_SAM_APDU [16:56:58]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 50 94 00 00 35 04 06 00 6C 1B 4C 84 07 D7 [16:56:58]Write to MH i2c: E2 24 00 EF 01 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 50 94 00 00 35 04 06 00 6C 1B 4C 84 07 D7 00 00 0F [16:56:58]Write i2c OK [16:56:58]MH_I2C_Read... [16:56:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:56:58]Read from MH i2c: E2 [16:56:58]MH_I2C_Read... [16:56:58]Read from MH i2c: E2 03 00 [16:56:58]MH_I2C_Read... [16:56:58]Read from MH i2c: E2 03 00 EF 01 00 90 00 64 [16:56:58]RAPDU: 90 00 [16:56:58]wFMCommunicate OK [16:56:58]wFMCommunicate request_size=4 [16:56:58]MH_SAM_APDU [16:56:58]CAPDU: 80 0D 03 02 [16:56:58]Write to MH i2c: E2 08 00 F0 01 80 0D 03 02 00 00 00 00 6C [16:56:58]Write i2c OK [16:56:58]MH_I2C_Read... [16:56:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:56:58]Read from MH i2c: E2 [16:56:58]MH_I2C_Read... [16:56:58]Read from MH i2c: E2 0B 00 [16:56:58]MH_I2C_Read... [16:56:58]Read from MH i2c: E2 0B 00 F0 01 00 A2 D5 DD 41 C7 C0 05 7F 90 00 0D [16:56:58]RAPDU: A2 D5 DD 41 C7 C0 05 7F 90 00 [16:56:58]wFMCommunicate OK [16:56:58]SAM_PROTO_SignData done [16:56:58]FM_MakeSignedData done [16:56:58]CreateOFDProtocolMessage [16:56:58]wFMCommunicate request_size=4 [16:56:58]MH_SAM_APDU [16:56:58]CAPDU: 80 11 00 00 [16:56:58]Write to MH i2c: E2 08 00 F1 01 80 11 00 00 00 00 00 00 6C [16:56:58]Write i2c OK [16:56:58]MH_I2C_Read... [16:56:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:56:58]Read from MH i2c: E2 [16:56:58]MH_I2C_Read... [16:56:58]Read from MH i2c: E2 17 00 [16:56:58]MH_I2C_Read... [16:56:58]Read from MH i2c: E2 17 00 F1 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BC [16:56:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:56:58]wFMCommunicate OK [16:56:58]CreateOFDProtocolMessage done [16:56:58]OFDSenderStorePacket 37968 [16:56:58]StoreOFDPacket docnum=37968 [16:56:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 39 A7 1E 01 D3 12 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 59 65 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 50 94 00 00 35 04 06 00 6C 1B 4C 84 07 D7 A2 D5 DD 41 C7 C0 05 7F [16:56:58]CheckFolder [16:56:58]dirname=/storage/ofd_packets [16:56:58]CheckFolder done [16:56:58]ProducePacketName [16:56:58]name=ofd_packets/00037968 [16:56:58]NVStorageSaveData ofd_packets/00037968 [16:56:58]File name is /storage/ofd_packets/00037968 [16:56:58]Write 324 bytes [16:56:58]NVStorageSaveData done [16:56:58]OFDSenderStorePacket done [16:56:58]KKMCreateOFDPacket done [16:56:58]NVStorageSaveData kkm_last_timestamp [16:56:58]File name is /storage/kkm_last_timestamp [16:56:58]Write 4 bytes [16:56:58]NVStorageSaveData done [16:56:58]ExternCall_PrintAddStr [16:56:58]wPrintStart [16:56:58]Write to MH i2c: 01 00 00 F2 01 F3 [16:56:58]Write i2c OK [16:56:58]MH_I2C_Read... [16:56:58]Read from MH i2c: 01 [16:56:58]MH_I2C_Read... [16:56:58]Read from MH i2c: 01 07 00 [16:56:58]MH_I2C_Read... [16:56:58]Read from MH i2c: 01 07 00 F2 01 00 00 00 00 00 FF 0F 08 [16:56:58]RasterBufferAndPrint [16:56:58]line Счет N : (3)35267 [16:56:58]line ИНН: 02508201610067 [16:56:58]line Контрольно-Кассовый Чек [16:56:58]line ПРОДАЖА [16:56:58]line Товар: 2000036240010 [16:56:58]line Кофе Латте (GABB TRADE) [16:56:58]line 1.000 * 115.00 [16:56:58]line = 115.00 [16:56:58]line НДС 12% НСП 1% [16:56:58]line > о реализуемом товаре [16:56:58]line ИТОГО: 115.00 [16:56:58]line НСП 1% : 1.02 [16:56:58]line НДС 12% : 12.21 [16:56:58]line Наличными: 115.00 [16:56:58]line Безнал.: 0.00 [16:56:58]line Место: АЗС № 126 "Партнер Нефть" [16:56:58]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:56:58]line СНО: Общий режим [16:56:58]line Чек 50 30.10.2024 16:56 [16:56:58]line Смена: 553 ФФД: 1.0 [16:56:58]line ЗНМ: 0300000092 [16:56:58]line РНМ: 0000000000091684 [16:56:58]line Версия ККМ: 001 [16:56:58]line ФМ: 0000000000871841 [16:56:58]line ФД: 37968 [16:56:58]line ФПД: 118864503637975 [16:56:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T165657&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37968&fm=118864503637975&tin=02508201610067®Number=0000000000091684&sum=11500 [16:56:58]line 0 [16:56:58]OFD Sender: Processing packet 37968 [packets to send 42, broken 41] [16:56:58]ProducePacketName [16:56:58]name=ofd_packets/00037968 [16:56:58]OFD Sender: To server: pG, [16:56:58]CommunicateWithHost lk.salyk.kg:30040 [16:56:58]ConnectInit lk.salyk.kg [16:56:58]written 0, free lines is 4095 [16:56:59]Write to MH i2c: 01 00 00 1A 02 1C [16:56:59]Write i2c OK [16:56:59]MH_I2C_Read... [16:56:59]Read from MH i2c: 01 [16:56:59]MH_I2C_Read... [16:56:59]Read from MH i2c: 01 07 00 [16:56:59]MH_I2C_Read... [16:56:59]Read from MH i2c: 01 07 00 1A 02 00 00 00 00 00 CB 0C FA [16:56:59]RasterBufferAndPrint [16:56:59]line [16:56:59]line [16:56:59]line [16:56:59]line [16:56:59]line [16:56:59]written 0, free lines is 3279 [16:56:59]MH_Cut [16:56:59]Write to MH i2c: D1 01 00 21 02 01 F5 [16:56:59]Write i2c OK [16:56:59]MH_I2C_Read... [16:56:59]Read from MH i2c: D1 [16:56:59]MH_I2C_Read... [16:56:59]Read from MH i2c: D1 01 00 [16:56:59]MH_I2C_Read... [16:56:59]Read from MH i2c: D1 01 00 21 02 00 F4 [16:56:59]Write to MH i2c: 01 00 00 22 02 24 [16:56:59]Write i2c OK [16:56:59]MH_I2C_Read... [16:56:59]*** Cut start [16:56:59]*** Partial cut [16:56:59]*** CUTSNS_PIN = 1 [16:56:59]*** CUTSNS_PIN = 0 [16:57:00]*** Brake cut motor [16:57:00]Connected sock=9 [16:57:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 39 A7 1E 01 D3 12 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 59 65 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 50 94 00 00 35 04 06 00 6C 1B 4C 84 07 D7 A2 D5 DD 41 C7 C0 05 7F [16:57:00]Read from MH i2c: 01 [16:57:00]MH_I2C_Read... [16:57:00]*** Stop cut motor [16:57:00]*** Cut end [16:57:00]Read from MH i2c: 01 07 00 [16:57:00]MH_I2C_Read... [16:57:00]Read from MH i2c: 01 07 00 22 02 00 00 00 00 00 FF 0F 39 [16:57:00]process_action close_receipt done [16:57:00]requested_data is exist [16:57:00]produce_requested_data [16:57:00]requested_item fm.sn is exist - process it [16:57:00]wFMCommunicate request_size=4 [16:57:00]MH_SAM_APDU [16:57:00]CAPDU: 80 11 00 00 [16:57:00]Write to MH i2c: E2 08 00 23 02 80 11 00 00 00 00 00 00 9F [16:57:00]Write i2c OK [16:57:00]MH_I2C_Read... [16:57:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:57:00]Read from MH i2c: E2 [16:57:00]MH_I2C_Read... [16:57:00]Read from MH i2c: E2 17 00 [16:57:00]MH_I2C_Read... [16:57:00]Read from MH i2c: E2 17 00 23 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 EF [16:57:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:57:00]wFMCommunicate OK [16:57:00]requested_item fd.num is exist - process it [16:57:00]SAM_PROTO_GetFieldsCounters [16:57:00]wFMCommunicate request_size=4 [16:57:00]MH_SAM_APDU [16:57:00]CAPDU: 80 13 00 00 [16:57:00]Write to MH i2c: E2 08 00 24 02 80 13 00 00 00 00 00 00 A2 [16:57:00]Write i2c OK [16:57:00]MH_I2C_Read... [16:57:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:57:00]Read from MH i2c: E2 [16:57:00]MH_I2C_Read... [16:57:00]Read from MH i2c: E2 62 00 [16:57:00]MH_I2C_Read... [16:57:00]Read from MH i2c: E2 62 00 24 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 50 94 00 00 0E 04 04 00 29 02 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 68 [16:57:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 50 94 00 00 0E 04 04 00 29 02 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:57:00]wFMCommunicate OK [16:57:00]SAM_PROTO_GetFieldsCounters done [16:57:00]requested_item shift.num is exist - process it [16:57:00]requested_item shift.opened is exist - process it [16:57:00]req_shift_opened [16:57:00]FM_GetShiftState [16:57:00]SAM_PROTO_GetShiftState [16:57:00]wFMCommunicate request_size=4 [16:57:00]MH_SAM_APDU [16:57:00]CAPDU: 80 13 01 00 [16:57:00]Write to MH i2c: E2 08 00 25 02 80 13 01 00 00 00 00 00 A4 [16:57:00]Write i2c OK [16:57:00]MH_I2C_Read... [16:57:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:57:00]Read from MH i2c: E2 [16:57:00]MH_I2C_Read... [16:57:00]Read from MH i2c: E2 0E 00 [16:57:00]MH_I2C_Read... [16:57:00]Read from MH i2c: E2 0E 00 25 02 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 65 [16:57:00]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [16:57:00]wFMCommunicate OK [16:57:00]SAM_PROTO_GetShiftState done [16:57:00]FM_GetShiftState done [16:57:00]req_shift_opened done [16:57:00]requested_item shift.open_date is exist - process it [16:57:00]req_shift_open_date [16:57:00]req_shift_open_date done [16:57:00]produce_requested_data done [16:57:00]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37968,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [16:57:00]process_action_free close_receipt [16:57:00]json_value_free [16:57:00]json_value_free done [16:57:00]process_json_proto returns [16:57:00]Send response to host [16:57:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37968,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [16:57:00]free response buf [16:57:00]execute_script done [16:57:00]execute_script returns [16:57:00]free content buf [16:57:00]Sock 10.Close socket [16:57:00]Sock 10.Thread stoped [16:57:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 4F 2F 47 00 C6 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 38 37 31 38 34 31 10 04 04 00 50 94 00 00 F4 03 04 00 48 10 22 67 B6 04 01 00 00 C7 1B 60 7D D9 43 ED F5 [16:57:00]CommunicateWithHost err = 0 [16:57:00]CheckOFDResponse [16:57:00]1017 (14) - 77093643461234 [16:57:00]1041 (16) - 0000000000871841 [16:57:00]1040 (4) - 37968 [16:57:00]1012 (4) - 30.10.2024 10:54 [16:57:00]1206 (1) - 0 [16:57:00]OFD Sender: Remove packet 37968 [16:57:00]ProducePacketName [16:57:00]name=ofd_packets/00037968 [16:57:00]NVStorageDeleteData [16:57:01]OFD Sender: No OFD packet to send [16:57:06]OFD Sender: No OFD packet to send [16:57:11]OFD Sender: No OFD packet to send [16:57:16]OFD Sender: No OFD packet to send [16:57:21]OFD Sender: No OFD packet to send [16:57:26]OFD Sender: No OFD packet to send [16:57:31]OFD Sender: No OFD packet to send [16:57:36]OFD Sender: No OFD packet to send [16:57:41]OFD Sender: No OFD packet to send [16:57:46]OFD Sender: No OFD packet to send [16:57:51]OFD Sender: No OFD packet to send [16:57:56]OFD Sender: No OFD packet to send [16:58:01]OFD Sender: No OFD packet to send [16:58:06]OFD Sender: No OFD packet to send [16:58:11]OFD Sender: No OFD packet to send [16:58:16]OFD Sender: No OFD packet to send [16:58:21]OFD Sender: No OFD packet to send [16:58:26]OFD Sender: No OFD packet to send [16:58:31]OFD Sender: No OFD packet to send [16:58:36]OFD Sender: No OFD packet to send [16:58:41]OFD Sender: No OFD packet to send [16:58:46]OFD Sender: No OFD packet to send [16:58:51]OFD Sender: No OFD packet to send [16:58:56]OFD Sender: No OFD packet to send [16:59:01]OFD Sender: No OFD packet to send [16:59:06]OFD Sender: No OFD packet to send [16:59:11]OFD Sender: No OFD packet to send [16:59:16]OFD Sender: No OFD packet to send [16:59:21]OFD Sender: No OFD packet to send [16:59:26]OFD Sender: No OFD packet to send [16:59:29]accept exits with 8 [16:59:29]New connection [16:59:29]New thread 3067288932 created [16:59:29]Thread 3067432292 joined [16:59:29]Waiting for new connection... [16:59:29] Sock 8.Parse request [16:59:29]Sock 8.Check first char [16:59:29]Sock 8.First char is OK [16:59:29]request: POST /json_proto HTTP/1.0 [16:59:29]Method: POST [16:59:29]URL: /json_proto [16:59:29]Method is POST - this is cgi request [16:59:29]url: /json_proto [16:59:29]query_string will be loaded in cgi processing [16:59:29]execute_cgi json_proto POST (null) [16:59:29]execute_cgi path=json_proto method=POST [16:59:29]POST find Content-Length [16:59:29]Host: 172.17.40.196:8080 [16:59:29]Content-Length: 644 [16:59:29]Content-Type: application/json [16:59:29] [16:59:29]POST finish read [16:59:29]Found Content-Length = 644 [16:59:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35268", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:59:29]execute_script... [16:59:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35268", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:59:29]POST & json_proto [16:59:29]process_json_proto [16:59:29]json parsed OK: [16:59:29]protocol is kg_v1.0 [16:59:29]action value=close_receipt [16:59:29]process_action close_receipt [16:59:29]cmd_close_receipt [16:59:29]MH_GetDate [16:59:29]Write to MH i2c: F0 00 00 26 02 17 [16:59:29]Write i2c OK [16:59:29]MH_I2C_Read... [16:59:29]Read from MH i2c: F0 [16:59:29]MH_I2C_Read... [16:59:29]Read from MH i2c: F0 09 00 [16:59:29]MH_I2C_Read... [16:59:29]Read from MH i2c: F0 09 00 26 02 00 F2 65 22 67 5B 68 A1 66 CA [16:59:29]GetLastDocTimeStamp 1730307417 [16:59:29]current date 1730307570 [16:59:29]FM_GetShiftState [16:59:29]SAM_PROTO_GetShiftState [16:59:29]wFMCommunicate request_size=4 [16:59:29]MH_SAM_APDU [16:59:29]CAPDU: 80 13 01 00 [16:59:29]Write to MH i2c: E2 08 00 27 02 80 13 01 00 00 00 00 00 A6 [16:59:29]Write i2c OK [16:59:29]MH_I2C_Read... [16:59:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:59:29]Read from MH i2c: E2 [16:59:29]MH_I2C_Read... [16:59:29]Read from MH i2c: E2 0E 00 [16:59:29]MH_I2C_Read... [16:59:29]Read from MH i2c: E2 0E 00 27 02 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 67 [16:59:29]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [16:59:29]wFMCommunicate OK [16:59:29]SAM_PROTO_GetShiftState done [16:59:29]FM_GetShiftState done [16:59:29]opened in 1730246837 [16:59:29]opened+sec_in_day 1730333237 [16:59:29]quantity*price = 6500 [16:59:29]sum+1 = 6501 [16:59:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 51 30.10.2024 16:59 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37969 ФПД: 29007703348443 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T165930&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37969&fm=29007703348443&tin=02508201610067®Number=0000000000091684&sum=6500 0 [16:59:30]StoreToDocumentArchive [16:59:30]shift 553 fd 37969 [16:59:30]save to /storage/0553/doc_00037969 [16:59:30]save last doc name /storage/0553/doc_00037969 to /storage/kkm_last_doc_name [16:59:30]save OK [16:59:30]Clear old archive folders... [16:59:30]ProcessDocumentItem done err = 0, tmpTLVsize=272 [16:59:30]tlvbuf is 005ECA90 [16:59:30]SAM_PROTO_ClearQueue [16:59:30]wFMCommunicate request_size=4 [16:59:30]MH_SAM_APDU [16:59:30]CAPDU: 80 09 00 00 [16:59:30]Write to MH i2c: E2 08 00 34 02 80 09 00 00 00 00 00 00 A8 [16:59:30]Write i2c OK [16:59:30]MH_I2C_Read... [16:59:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:59:30]Read from MH i2c: E2 [16:59:30]MH_I2C_Read... [16:59:30]Read from MH i2c: E2 03 00 [16:59:30]MH_I2C_Read... [16:59:30]Read from MH i2c: E2 03 00 34 02 00 90 00 AA [16:59:30]RAPDU: 90 00 [16:59:30]wFMCommunicate OK [16:59:30]SAM_PROTO_ClearQueue done [16:59:30]KKMCreateOFDPacket [16:59:30]OFDProtocolAddRootSTLVToBuf [16:59:30]FM_MakeSignedData [16:59:30]FM_MakeSignedData [16:59:30]SAM_PROTO_SignData [16:59:30]wFMCommunicate request_size=4 [16:59:30]MH_SAM_APDU [16:59:30]CAPDU: 80 0D 01 02 [16:59:30]Write to MH i2c: E2 08 00 35 02 80 0D 01 02 00 00 00 00 B0 [16:59:30]Write i2c OK [16:59:30]MH_I2C_Read... [16:59:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:59:30]Read from MH i2c: E2 [16:59:30]MH_I2C_Read... [16:59:30]Read from MH i2c: E2 03 00 [16:59:30]MH_I2C_Read... [16:59:30]Read from MH i2c: E2 03 00 35 02 00 90 00 AB [16:59:30]RAPDU: 90 00 [16:59:30]wFMCommunicate OK [16:59:30]wFMCommunicate request_size=255 [16:59:30]MH_SAM_APDU [16:59:30]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 F2 65 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [16:59:30]Write to MH i2c: E2 02 01 36 02 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 F2 65 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 3D [16:59:30]Write i2c OK [16:59:30]MH_I2C_Read... [16:59:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:59:31]Read from MH i2c: E2 [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: E2 03 00 [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: E2 03 00 36 02 00 90 00 AC [16:59:31]RAPDU: 90 00 [16:59:31]wFMCommunicate OK [16:59:31]wFMCommunicate request_size=31 [16:59:31]MH_SAM_APDU [16:59:31]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 51 94 00 00 35 04 06 00 1A 61 E1 DA 94 DB [16:59:31]Write to MH i2c: E2 22 00 37 02 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 51 94 00 00 35 04 06 00 1A 61 E1 DA 94 DB 00 00 65 [16:59:31]Write i2c OK [16:59:31]MH_I2C_Read... [16:59:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:59:31]Read from MH i2c: E2 [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: E2 03 00 [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: E2 03 00 37 02 00 90 00 AD [16:59:31]RAPDU: 90 00 [16:59:31]wFMCommunicate OK [16:59:31]wFMCommunicate request_size=4 [16:59:31]MH_SAM_APDU [16:59:31]CAPDU: 80 0D 03 02 [16:59:31]Write to MH i2c: E2 08 00 38 02 80 0D 03 02 00 00 00 00 B5 [16:59:31]Write i2c OK [16:59:31]MH_I2C_Read... [16:59:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:59:31]Read from MH i2c: E2 [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: E2 0B 00 [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: E2 0B 00 38 02 00 AF 41 7A B6 79 15 A1 10 90 00 15 [16:59:31]RAPDU: AF 41 7A B6 79 15 A1 10 90 00 [16:59:31]wFMCommunicate OK [16:59:31]SAM_PROTO_SignData done [16:59:31]FM_MakeSignedData done [16:59:31]CreateOFDProtocolMessage [16:59:31]wFMCommunicate request_size=4 [16:59:31]MH_SAM_APDU [16:59:31]CAPDU: 80 11 00 00 [16:59:31]Write to MH i2c: E2 08 00 39 02 80 11 00 00 00 00 00 00 B5 [16:59:31]Write i2c OK [16:59:31]MH_I2C_Read... [16:59:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:59:31]Read from MH i2c: E2 [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: E2 17 00 [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: E2 17 00 39 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 05 [16:59:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:59:31]wFMCommunicate OK [16:59:31]CreateOFDProtocolMessage done [16:59:31]OFDSenderStorePacket 37969 [16:59:31]StoreOFDPacket docnum=37969 [16:59:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 D1 72 1C 01 EF A0 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 F2 65 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 51 94 00 00 35 04 06 00 1A 61 E1 DA 94 DB AF 41 7A B6 79 15 A1 10 [16:59:31]CheckFolder [16:59:31]dirname=/storage/ofd_packets [16:59:31]CheckFolder done [16:59:31]ProducePacketName [16:59:31]name=ofd_packets/00037969 [16:59:31]NVStorageSaveData ofd_packets/00037969 [16:59:31]File name is /storage/ofd_packets/00037969 [16:59:31]Write 322 bytes [16:59:31]NVStorageSaveData done [16:59:31]OFDSenderStorePacket done [16:59:31]KKMCreateOFDPacket done [16:59:31]NVStorageSaveData kkm_last_timestamp [16:59:31]File name is /storage/kkm_last_timestamp [16:59:31]Write 4 bytes [16:59:31]NVStorageSaveData done [16:59:31]ExternCall_PrintAddStr [16:59:31]wPrintStart [16:59:31]Write to MH i2c: 01 00 00 3A 02 3C [16:59:31]Write i2c OK [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: 01 [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: 01 07 00 [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: 01 07 00 3A 02 00 00 00 00 00 FF 0F 51 [16:59:31]RasterBufferAndPrint [16:59:31]line Счет N : (3)35268 [16:59:31]line ИНН: 02508201610067 [16:59:31]line Контрольно-Кассовый Чек [16:59:31]line ПРОДАЖА [16:59:31]line Товар: 47011656 [16:59:31]line Водка Пшеничная 0,1л [16:59:31]line 1.000 * 65.00 [16:59:31]line = 65.00 [16:59:31]line НДС 12% НСП 1% [16:59:31]line > о реализуемом товаре [16:59:31]line ИТОГО: 65.00 [16:59:31]line НСП 1% : 0.57 [16:59:31]line НДС 12% : 6.90 [16:59:31]line Наличными: 65.00 [16:59:31]line Безнал.: 0.00 [16:59:31]line Место: АЗС № 126 "Партнер Нефть" [16:59:31]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:59:31]line СНО: Общий режим [16:59:31]line Чек 51 30.10.2024 16:59 [16:59:31]line Смена: 553 ФФД: 1.0 [16:59:31]line ЗНМ: 0300000092 [16:59:31]line РНМ: 0000000000091684 [16:59:31]line Версия ККМ: 001 [16:59:31]line ФМ: 0000000000871841 [16:59:31]line ФД: 37969 [16:59:31]line ФПД: 29007703348443 [16:59:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T165930&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37969&fm=29007703348443&tin=02508201610067®Number=0000000000091684&sum=6500 [16:59:31]line 0 [16:59:31]written 0, free lines is 4095 [16:59:31]OFD Sender: Processing packet 37969 [packets to send 42, broken 41] [16:59:31]ProducePacketName [16:59:31]name=ofd_packets/00037969 [16:59:31]OFD Sender: To server: pG, [16:59:31]CommunicateWithHost lk.salyk.kg:30040 [16:59:31]ConnectInit lk.salyk.kg [16:59:31]Connected sock=10 [16:59:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 D1 72 1C 01 EF A0 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 F2 65 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 51 94 00 00 35 04 06 00 1A 61 E1 DA 94 DB AF 41 7A B6 79 15 A1 10 [16:59:31]Write to MH i2c: 01 00 00 62 02 64 [16:59:31]Write i2c OK [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: 01 [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: 01 07 00 [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: 01 07 00 62 02 00 00 00 00 00 CA 0C 41 [16:59:31]RasterBufferAndPrint [16:59:31]line [16:59:31]line [16:59:31]line [16:59:31]line [16:59:31]line [16:59:31]written 0, free lines is 3279 [16:59:31]MH_Cut [16:59:31]Write to MH i2c: D1 01 00 69 02 01 3D [16:59:31]Write i2c OK [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: D1 [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: D1 01 00 [16:59:31]MH_I2C_Read... [16:59:31]Read from MH i2c: D1 01 00 69 02 00 3C [16:59:31]Write to MH i2c: 01 00 00 6A 02 6C [16:59:31]Write i2c OK [16:59:31]MH_I2C_Read... [16:59:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 A3 F0 47 00 9B 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 38 37 31 38 34 31 10 04 04 00 51 94 00 00 F4 03 04 00 DF 10 22 67 B6 04 01 00 00 F2 48 F5 8E E3 FE 0F 5B [16:59:32]CommunicateWithHost err = 0 [16:59:32]CheckOFDResponse [16:59:32]1017 (14) - 77093643461234 [16:59:32]1041 (16) - 0000000000871841 [16:59:32]1040 (4) - 37969 [16:59:32]1012 (4) - 30.10.2024 10:56 [16:59:32]1206 (1) - 0 [16:59:32]OFD Sender: Remove packet 37969 [16:59:32]ProducePacketName [16:59:32]name=ofd_packets/00037969 [16:59:32]NVStorageDeleteData [16:59:32]*** Cut start [16:59:32]*** Partial cut [16:59:32]*** CUTSNS_PIN = 1 [16:59:32]OFD Sender: No OFD packet to send [16:59:32]*** CUTSNS_PIN = 0 [16:59:32]*** Brake cut motor [16:59:33]Read from MH i2c: 01 [16:59:33]MH_I2C_Read... [16:59:33]*** Stop cut motor [16:59:33]*** Cut end [16:59:33]Read from MH i2c: 01 07 00 [16:59:33]MH_I2C_Read... [16:59:33]Read from MH i2c: 01 07 00 6A 02 00 00 00 00 00 FF 0F 81 [16:59:33]process_action close_receipt done [16:59:33]requested_data is exist [16:59:33]produce_requested_data [16:59:33]requested_item fm.sn is exist - process it [16:59:33]wFMCommunicate request_size=4 [16:59:33]MH_SAM_APDU [16:59:33]CAPDU: 80 11 00 00 [16:59:33]Write to MH i2c: E2 08 00 6B 02 80 11 00 00 00 00 00 00 E7 [16:59:33]Write i2c OK [16:59:33]MH_I2C_Read... [16:59:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:59:33]Read from MH i2c: E2 [16:59:33]MH_I2C_Read... [16:59:33]Read from MH i2c: E2 17 00 [16:59:33]MH_I2C_Read... [16:59:33]Read from MH i2c: E2 17 00 6B 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 37 [16:59:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:59:33]wFMCommunicate OK [16:59:33]requested_item fd.num is exist - process it [16:59:33]SAM_PROTO_GetFieldsCounters [16:59:33]wFMCommunicate request_size=4 [16:59:33]MH_SAM_APDU [16:59:33]CAPDU: 80 13 00 00 [16:59:33]Write to MH i2c: E2 08 00 6C 02 80 13 00 00 00 00 00 00 EA [16:59:33]Write i2c OK [16:59:33]MH_I2C_Read... [16:59:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:59:33]Read from MH i2c: E2 [16:59:33]MH_I2C_Read... [16:59:33]Read from MH i2c: E2 62 00 [16:59:33]MH_I2C_Read... [16:59:33]Read from MH i2c: E2 62 00 6C 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 51 94 00 00 0E 04 04 00 29 02 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 B4 [16:59:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 51 94 00 00 0E 04 04 00 29 02 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:59:33]wFMCommunicate OK [16:59:33]SAM_PROTO_GetFieldsCounters done [16:59:33]requested_item shift.num is exist - process it [16:59:33]requested_item shift.opened is exist - process it [16:59:33]req_shift_opened [16:59:33]FM_GetShiftState [16:59:33]SAM_PROTO_GetShiftState [16:59:33]wFMCommunicate request_size=4 [16:59:33]MH_SAM_APDU [16:59:33]CAPDU: 80 13 01 00 [16:59:33]Write to MH i2c: E2 08 00 6D 02 80 13 01 00 00 00 00 00 EC [16:59:33]Write i2c OK [16:59:33]MH_I2C_Read... [16:59:33]Read from MH i2c: E2 [16:59:33]MH_I2C_Read... [16:59:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:59:33]Read from MH i2c: E2 0E 00 [16:59:33]MH_I2C_Read... [16:59:33]Read from MH i2c: E2 0E 00 6D 02 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 AD [16:59:33]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [16:59:33]wFMCommunicate OK [16:59:33]SAM_PROTO_GetShiftState done [16:59:33]FM_GetShiftState done [16:59:33]req_shift_opened done [16:59:33]requested_item shift.open_date is exist - process it [16:59:33]req_shift_open_date [16:59:33]req_shift_open_date done [16:59:33]produce_requested_data done [16:59:33]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37969,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [16:59:33]process_action_free close_receipt [16:59:33]json_value_free [16:59:33]json_value_free done [16:59:33]process_json_proto returns [16:59:33]Send response to host [16:59:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37969,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [16:59:33]free response buf [16:59:33]execute_script done [16:59:33]execute_script returns [16:59:33]free content buf [16:59:33]Sock 8.Close socket [16:59:33]Sock 8.Thread stoped [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:28]OFD Sender: No OFD packet to send [17:05:33]OFD Sender: No OFD packet to send [17:05:38]OFD Sender: No OFD packet to send [17:05:43]OFD Sender: No OFD packet to send [17:05:48]OFD Sender: No OFD packet to send [17:05:53]OFD Sender: No OFD packet to send [17:05:58]OFD Sender: No OFD packet to send [17:06:03]OFD Sender: No OFD packet to send [17:06:08]OFD Sender: No OFD packet to send [17:06:13]OFD Sender: No OFD packet to send [17:06:18]OFD Sender: No OFD packet to send [17:06:23]OFD Sender: No OFD packet to send [17:06:28]OFD Sender: No OFD packet to send [17:06:33]OFD Sender: No OFD packet to send [17:06:38]OFD Sender: No OFD packet to send [17:06:43]OFD Sender: No OFD packet to send [17:06:48]OFD Sender: No OFD packet to send [17:06:53]OFD Sender: No OFD packet to send [17:06:58]OFD Sender: No OFD packet to send [17:07:03]OFD Sender: No OFD packet to send [17:07:08]OFD Sender: No OFD packet to send [17:07:13]OFD Sender: No OFD packet to send [17:07:18]OFD Sender: No OFD packet to send [17:07:23]OFD Sender: No OFD packet to send [17:07:28]OFD Sender: No OFD packet to send [17:07:33]OFD Sender: No OFD packet to send [17:07:38]OFD Sender: No OFD packet to send [17:07:43]OFD Sender: No OFD packet to send [17:07:48]OFD Sender: No OFD packet to send [17:07:53]OFD Sender: No OFD packet to send [17:07:58]OFD Sender: No OFD packet to send [17:08:03]OFD Sender: No OFD packet to send [17:08:08]OFD Sender: No OFD packet to send [17:08:13]OFD Sender: No OFD packet to send [17:08:18]OFD Sender: No OFD packet to send [17:08:23]OFD Sender: No OFD packet to send [17:08:28]OFD Sender: No OFD packet to send [17:08:33]OFD Sender: No OFD packet to send [17:08:38]OFD Sender: No OFD packet to send [17:08:43]OFD Sender: No OFD packet to send [17:08:48]OFD Sender: No OFD packet to send [17:08:53]OFD Sender: No OFD packet to send [17:08:58]OFD Sender: No OFD packet to send [17:09:03]OFD Sender: No OFD packet to send [17:09:08]OFD Sender: No OFD packet to send [17:09:13]OFD Sender: No OFD packet to send [17:09:18]OFD Sender: No OFD packet to send [17:09:23]OFD Sender: No OFD packet to send [17:09:28]OFD Sender: No OFD packet to send [17:09:33]OFD Sender: No OFD packet to send [17:09:38]OFD Sender: No OFD packet to send [17:09:43]OFD Sender: No OFD packet to send [17:09:48]OFD Sender: No OFD packet to send [17:09:53]OFD Sender: No OFD packet to send [17:09:58]OFD Sender: No OFD packet to send [17:10:03]OFD Sender: No OFD packet to send [17:10:08]OFD Sender: No OFD packet to send [17:10:13]OFD Sender: No OFD packet to send [17:10:18]OFD Sender: No OFD packet to send [17:10:23]OFD Sender: No OFD packet to send [17:10:28]OFD Sender: No OFD packet to send [17:10:33]OFD Sender: No OFD packet to send [17:10:38]OFD Sender: No OFD packet to send [17:10:43]OFD Sender: No OFD packet to send [17:10:48]OFD Sender: No OFD packet to send [17:10:53]OFD Sender: No OFD packet to send [17:10:58]OFD Sender: No OFD packet to send [17:11:03]OFD Sender: No OFD packet to send [17:11:08]OFD Sender: No OFD packet to send [17:11:13]OFD Sender: No OFD packet to send [17:11:18]OFD Sender: No OFD packet to send [17:11:23]OFD Sender: No OFD packet to send [17:11:28]OFD Sender: No OFD packet to send [17:11:33]OFD Sender: No OFD packet to send [17:11:38]OFD Sender: No OFD packet to send [17:11:43]OFD Sender: No OFD packet to send [17:11:48]OFD Sender: No OFD packet to send [17:11:53]OFD Sender: No OFD packet to send [17:11:58]OFD Sender: No OFD packet to send [17:12:03]OFD Sender: No OFD packet to send [17:12:08]OFD Sender: No OFD packet to send [17:12:13]OFD Sender: No OFD packet to send [17:12:18]OFD Sender: No OFD packet to send [17:12:23]OFD Sender: No OFD packet to send [17:12:28]OFD Sender: No OFD packet to send [17:12:33]OFD Sender: No OFD packet to send [17:12:38]OFD Sender: No OFD packet to send [17:12:43]OFD Sender: No OFD packet to send [17:12:48]OFD Sender: No OFD packet to send [17:12:53]OFD Sender: No OFD packet to send [17:12:58]OFD Sender: No OFD packet to send [17:13:03]OFD Sender: No OFD packet to send [17:13:08]OFD Sender: No OFD packet to send [17:13:13]OFD Sender: No OFD packet to send [17:13:18]OFD Sender: No OFD packet to send [17:13:23]OFD Sender: No OFD packet to send [17:13:28]OFD Sender: No OFD packet to send [17:13:33]OFD Sender: No OFD packet to send [17:13:38]OFD Sender: No OFD packet to send [17:13:43]OFD Sender: No OFD packet to send [17:13:48]OFD Sender: No OFD packet to send [17:13:53]OFD Sender: No OFD packet to send [17:13:58]OFD Sender: No OFD packet to send [17:14:03]OFD Sender: No OFD packet to send [17:14:08]OFD Sender: No OFD packet to send [17:14:13]OFD Sender: No OFD packet to send [17:14:18]OFD Sender: No OFD packet to send [17:14:23]OFD Sender: No OFD packet to send [17:14:28]OFD Sender: No OFD packet to send [17:14:33]OFD Sender: No OFD packet to send [17:14:38]OFD Sender: No OFD packet to send [17:14:43]OFD Sender: No OFD packet to send [17:14:48]OFD Sender: No OFD packet to send [17:14:53]OFD Sender: No OFD packet to send [17:14:58]OFD Sender: No OFD packet to send [17:15:03]OFD Sender: No OFD packet to send [17:15:08]OFD Sender: No OFD packet to send [17:15:13]OFD Sender: No OFD packet to send [17:15:18]OFD Sender: No OFD packet to send [17:15:23]OFD Sender: No OFD packet to send [17:15:28]OFD Sender: No OFD packet to send [17:15:33]OFD Sender: No OFD packet to send [17:15:38]OFD Sender: No OFD packet to send [17:15:43]OFD Sender: No OFD packet to send [17:15:48]OFD Sender: No OFD packet to send [17:15:53]OFD Sender: No OFD packet to send [17:15:58]OFD Sender: No OFD packet to send [17:16:03]OFD Sender: No OFD packet to send [17:16:08]OFD Sender: No OFD packet to send [17:16:13]OFD Sender: No OFD packet to send [17:16:18]OFD Sender: No OFD packet to send [17:16:23]OFD Sender: No OFD packet to send [17:16:28]OFD Sender: No OFD packet to send [17:16:33]OFD Sender: No OFD packet to send [17:16:38]OFD Sender: No OFD packet to send [17:16:43]OFD Sender: No OFD packet to send [17:16:48]OFD Sender: No OFD packet to send [17:16:53]OFD Sender: No OFD packet to send [17:16:58]OFD Sender: No OFD packet to send [17:17:03]OFD Sender: No OFD packet to send [17:17:08]OFD Sender: No OFD packet to send [17:17:13]OFD Sender: No OFD packet to send [17:17:18]OFD Sender: No OFD packet to send [17:17:23]OFD Sender: No OFD packet to send [17:17:28]OFD Sender: No OFD packet to send [17:17:33]OFD Sender: No OFD packet to send [17:17:38]OFD Sender: No OFD packet to send [17:17:43]OFD Sender: No OFD packet to send [17:17:48]OFD Sender: No OFD packet to send [17:17:53]OFD Sender: No OFD packet to send [17:17:58]OFD Sender: No OFD packet to send [17:18:03]OFD Sender: No OFD packet to send [17:18:08]OFD Sender: No OFD packet to send [17:18:13]OFD Sender: No OFD packet to send [17:18:18]OFD Sender: No OFD packet to send [17:18:23]OFD Sender: No OFD packet to send [17:18:28]OFD Sender: No OFD packet to send [17:18:33]OFD Sender: No OFD packet to send [17:18:38]OFD Sender: No OFD packet to send [17:18:43]OFD Sender: No OFD packet to send [17:18:48]OFD Sender: No OFD packet to send [17:18:53]OFD Sender: No OFD packet to send [17:18:58]OFD Sender: No OFD packet to send [17:19:03]OFD Sender: No OFD packet to send [17:19:08]OFD Sender: No OFD packet to send [17:19:13]OFD Sender: No OFD packet to send [17:19:18]OFD Sender: No OFD packet to send [17:19:23]OFD Sender: No OFD packet to send [17:19:28]OFD Sender: No OFD packet to send [17:19:33]OFD Sender: No OFD packet to send [17:19:38]OFD Sender: No OFD packet to send [17:19:43]OFD Sender: No OFD packet to send [17:19:48]OFD Sender: No OFD packet to send [17:19:53]OFD Sender: No OFD packet to send [17:19:58]OFD Sender: No OFD packet to send [17:20:03]OFD Sender: No OFD packet to send [17:20:08]OFD Sender: No OFD packet to send [17:20:13]OFD Sender: No OFD packet to send [17:20:18]OFD Sender: No OFD packet to send [17:20:23]OFD Sender: No OFD packet to send [17:20:28]OFD Sender: No OFD packet to send [17:20:33]OFD Sender: No OFD packet to send [17:20:38]OFD Sender: No OFD packet to send [17:20:43]OFD Sender: No OFD packet to send [17:20:48]OFD Sender: No OFD packet to send [17:20:53]OFD Sender: No OFD packet to send [17:20:58]OFD Sender: No OFD packet to send [17:21:03]OFD Sender: No OFD packet to send [17:21:08]OFD Sender: No OFD packet to send [17:21:13]OFD Sender: No OFD packet to send [17:21:18]OFD Sender: No OFD packet to send [17:21:23]OFD Sender: No OFD packet to send [17:21:28]OFD Sender: No OFD packet to send [17:21:33]OFD Sender: No OFD packet to send [17:21:38]OFD Sender: No OFD packet to send [17:21:43]OFD Sender: No OFD packet to send [17:21:48]OFD Sender: No OFD packet to send [17:21:53]OFD Sender: No OFD packet to send [17:21:58]OFD Sender: No OFD packet to send [17:22:03]OFD Sender: No OFD packet to send [17:22:08]OFD Sender: No OFD packet to send [17:22:13]OFD Sender: No OFD packet to send [17:22:18]OFD Sender: No OFD packet to send [17:22:23]OFD Sender: No OFD packet to send [17:22:28]OFD Sender: No OFD packet to send [17:22:33]OFD Sender: No OFD packet to send [17:22:38]OFD Sender: No OFD packet to send [17:22:43]OFD Sender: No OFD packet to send [17:22:48]OFD Sender: No OFD packet to send [17:22:53]OFD Sender: No OFD packet to send [17:22:58]OFD Sender: No OFD packet to send [17:23:03]OFD Sender: No OFD packet to send [17:23:08]OFD Sender: No OFD packet to send [17:23:13]OFD Sender: No OFD packet to send [17:23:18]OFD Sender: No OFD packet to send [17:23:23]OFD Sender: No OFD packet to send [17:23:28]OFD Sender: No OFD packet to send [17:23:31]accept exits with 9 [17:23:31]New connection [17:23:31]New thread 3067432292 created [17:23:31]Thread 3067288932 joined [17:23:31]Waiting for new connection... [17:23:31] Sock 9.Parse request [17:23:31]Sock 9.Check first char [17:23:31]Sock 9.First char is OK [17:23:31]request: POST /json_proto HTTP/1.0 [17:23:31]Method: POST [17:23:31]URL: /json_proto [17:23:31]Method is POST - this is cgi request [17:23:31]url: /json_proto [17:23:31]query_string will be loaded in cgi processing [17:23:31]execute_cgi json_proto POST (null) [17:23:31]execute_cgi path=json_proto method=POST [17:23:31]POST find Content-Length [17:23:31]Host: 172.17.40.196:8080 [17:23:31]Content-Length: 646 [17:23:31]Content-Type: application/json [17:23:31] [17:23:31]POST finish read [17:23:31]Found Content-Length = 646 [17:23:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35269", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:23:31]execute_script... [17:23: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)35269", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:23:31]POST & json_proto [17:23:31]process_json_proto [17:23:31]json parsed OK: [17:23:31]protocol is kg_v1.0 [17:23:31]action value=close_receipt [17:23:31]process_action close_receipt [17:23:31]cmd_close_receipt [17:23:31]MH_GetDate [17:23:31]Write to MH i2c: F0 00 00 6E 02 5F [17:23:31]Write i2c OK [17:23:31]MH_I2C_Read... [17:23:31]Read from MH i2c: F0 [17:23:31]MH_I2C_Read... [17:23:31]Read from MH i2c: F0 09 00 [17:23:31]MH_I2C_Read... [17:23:31]Read from MH i2c: F0 09 00 6E 02 00 94 6B 22 67 5B 68 A1 66 BA [17:23:31]GetLastDocTimeStamp 1730307570 [17:23:31]current date 1730309012 [17:23:31]FM_GetShiftState [17:23:31]SAM_PROTO_GetShiftState [17:23:31]wFMCommunicate request_size=4 [17:23:31]MH_SAM_APDU [17:23:31]CAPDU: 80 13 01 00 [17:23:31]Write to MH i2c: E2 08 00 6F 02 80 13 01 00 00 00 00 00 EE [17:23:31]Write i2c OK [17:23:31]MH_I2C_Read... [17:23:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:23:31]Read from MH i2c: E2 [17:23:31]MH_I2C_Read... [17:23:31]Read from MH i2c: E2 0E 00 [17:23:31]MH_I2C_Read... [17:23:31]Read from MH i2c: E2 0E 00 6F 02 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 AF [17:23:31]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [17:23:31]wFMCommunicate OK [17:23:31]SAM_PROTO_GetShiftState done [17:23:31]FM_GetShiftState done [17:23:31]opened in 1730246837 [17:23:31]opened+sec_in_day 1730333237 [17:23:31]quantity*price = 13000 [17:23:31]sum+1 = 13001 [17:23:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 52 30.10.2024 17:23 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37970 ФПД: 262536464082629 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T172332&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37970&fm=262536464082629&tin=02508201610067®Number=0000000000091684&sum=13000 0 [17:23:32]StoreToDocumentArchive [17:23:32]shift 553 fd 37970 [17:23:32]save to /storage/0553/doc_00037970 [17:23:32]save last doc name /storage/0553/doc_00037970 to /storage/kkm_last_doc_name [17:23:32]save OK [17:23:32]Clear old archive folders... [17:23:32]ProcessDocumentItem done err = 0, tmpTLVsize=272 [17:23:32]tlvbuf is 0055C060 [17:23:32]SAM_PROTO_ClearQueue [17:23:32]wFMCommunicate request_size=4 [17:23:32]MH_SAM_APDU [17:23:32]CAPDU: 80 09 00 00 [17:23:32]Write to MH i2c: E2 08 00 7C 02 80 09 00 00 00 00 00 00 F0 [17:23:32]Write i2c OK [17:23:32]MH_I2C_Read... [17:23:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:23:32]Read from MH i2c: E2 [17:23:32]MH_I2C_Read... [17:23:32]Read from MH i2c: E2 03 00 [17:23:32]MH_I2C_Read... [17:23:32]Read from MH i2c: E2 03 00 7C 02 00 90 00 F2 [17:23:32]RAPDU: 90 00 [17:23:32]wFMCommunicate OK [17:23:32]SAM_PROTO_ClearQueue done [17:23:32]KKMCreateOFDPacket [17:23:32]OFDProtocolAddRootSTLVToBuf [17:23:32]FM_MakeSignedData [17:23:32]FM_MakeSignedData [17:23:32]SAM_PROTO_SignData [17:23:32]wFMCommunicate request_size=4 [17:23:32]MH_SAM_APDU [17:23:32]CAPDU: 80 0D 01 02 [17:23:32]Write to MH i2c: E2 08 00 7D 02 80 0D 01 02 00 00 00 00 F8 [17:23:32]Write i2c OK [17:23:32]MH_I2C_Read... [17:23:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:23:32]Read from MH i2c: E2 [17:23:32]MH_I2C_Read... [17:23:32]Read from MH i2c: E2 03 00 [17:23:32]MH_I2C_Read... [17:23:32]Read from MH i2c: E2 03 00 7D 02 00 90 00 F3 [17:23:32]RAPDU: 90 00 [17:23:32]wFMCommunicate OK [17:23:32]wFMCommunicate request_size=255 [17:23:32]MH_SAM_APDU [17:23:32]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 94 6B 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [17:23:32]Write to MH i2c: E2 02 01 7E 02 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 94 6B 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 80 [17:23:32]Write i2c OK [17:23:32]MH_I2C_Read... [17:23:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:33]Read from MH i2c: E2 [17:23:33]MH_I2C_Read... [17:23:33]Read from MH i2c: E2 03 00 [17:23:33]MH_I2C_Read... [17:23:33]Read from MH i2c: E2 03 00 7E 02 00 90 00 F4 [17:23:33]RAPDU: 90 00 [17:23:33]wFMCommunicate OK [17:23:33]wFMCommunicate request_size=31 [17:23:33]MH_SAM_APDU [17:23:33]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 52 94 00 00 35 04 06 00 EE C6 88 AE A6 C5 [17:23:33]Write to MH i2c: E2 22 00 7F 02 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 52 94 00 00 35 04 06 00 EE C6 88 AE A6 C5 00 00 5E [17:23:33]Write i2c OK [17:23:33]MH_I2C_Read... [17:23:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:33]Read from MH i2c: E2 [17:23:33]MH_I2C_Read... [17:23:33]Read from MH i2c: E2 03 00 [17:23:33]MH_I2C_Read... [17:23:33]Read from MH i2c: E2 03 00 7F 02 00 90 00 F5 [17:23:33]RAPDU: 90 00 [17:23:33]wFMCommunicate OK [17:23:33]wFMCommunicate request_size=4 [17:23:33]MH_SAM_APDU [17:23:33]CAPDU: 80 0D 03 02 [17:23:33]Write to MH i2c: E2 08 00 80 02 80 0D 03 02 00 00 00 00 FD [17:23:33]Write i2c OK [17:23:33]MH_I2C_Read... [17:23:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:23:33]Read from MH i2c: E2 [17:23:33]MH_I2C_Read... [17:23:33]Read from MH i2c: E2 0B 00 [17:23:33]MH_I2C_Read... [17:23:33]Read from MH i2c: E2 0B 00 80 02 00 82 EA B3 2D 83 6C 4E F9 90 00 80 [17:23:33]RAPDU: 82 EA B3 2D 83 6C 4E F9 90 00 [17:23:33]wFMCommunicate OK [17:23:33]SAM_PROTO_SignData done [17:23:33]FM_MakeSignedData done [17:23:33]CreateOFDProtocolMessage [17:23:33]wFMCommunicate request_size=4 [17:23:33]MH_SAM_APDU [17:23:33]CAPDU: 80 11 00 00 [17:23:33]Write to MH i2c: E2 08 00 81 02 80 11 00 00 00 00 00 00 FD [17:23:33]Write i2c OK [17:23:33]MH_I2C_Read... [17:23:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:23:33]Read from MH i2c: E2 [17:23:33]MH_I2C_Read... [17:23:33]Read from MH i2c: E2 17 00 [17:23:33]MH_I2C_Read... [17:23:33]Read from MH i2c: E2 17 00 81 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4D [17:23:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:23:33]wFMCommunicate OK [17:23:33]CreateOFDProtocolMessage done [17:23:33]OFDSenderStorePacket 37970 [17:23:33]StoreOFDPacket docnum=37970 [17:23:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 BB 2E 1C 01 59 AA 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 94 6B 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 52 94 00 00 35 04 06 00 EE C6 88 AE A6 C5 82 EA B3 2D 83 6C 4E F9 [17:23:33]CheckFolder [17:23:33]dirname=/storage/ofd_packets [17:23:33]CheckFolder done [17:23:33]ProducePacketName [17:23:33]name=ofd_packets/00037970 [17:23:33]NVStorageSaveData ofd_packets/00037970 [17:23:33]File name is /storage/ofd_packets/00037970 [17:23:33]Write 322 bytes [17:23:33]NVStorageSaveData done [17:23:33]OFDSenderStorePacket done [17:23:33]KKMCreateOFDPacket done [17:23:33]NVStorageSaveData kkm_last_timestamp [17:23:33]File name is /storage/kkm_last_timestamp [17:23:33]Write 4 bytes [17:23:33]NVStorageSaveData done [17:23:33]ExternCall_PrintAddStr [17:23:33]wPrintStart [17:23:33]Write to MH i2c: 01 00 00 82 02 84 [17:23:33]Write i2c OK [17:23:33]MH_I2C_Read... [17:23:33]Read from MH i2c: 01 [17:23:33]MH_I2C_Read... [17:23:33]Read from MH i2c: 01 07 00 [17:23:33]MH_I2C_Read... [17:23:33]Read from MH i2c: 01 07 00 82 02 00 00 00 00 00 FF 0F 99 [17:23:33]RasterBufferAndPrint [17:23:33]line Счет N : (3)35269 [17:23:33]line ИНН: 02508201610067 [17:23:33]line Контрольно-Кассовый Чек [17:23:33]line ПРОДАЖА [17:23:33]line Товар: 47011656 [17:23:33]line Водка Пшеничная 0,1л [17:23:33]line 2.000 * 65.00 [17:23:33]line = 130.00 [17:23:33]line НДС 12% НСП 1% [17:23:33]line > о реализуемом товаре [17:23:33]line ИТОГО: 130.00 [17:23:33]line НСП 1% : 1.15 [17:23:33]line НДС 12% : 13.80 [17:23:33]line Наличными: 130.00 [17:23:33]line Безнал.: 0.00 [17:23:33]line Место: АЗС № 126 "Партнер Нефть" [17:23:33]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:23:33]line СНО: Общий режим [17:23:33]line Чек 52 30.10.2024 17:23 [17:23:33]line Смена: 553 ФФД: 1.0 [17:23:33]line ЗНМ: 0300000092 [17:23:33]line РНМ: 0000000000091684 [17:23:33]line Версия ККМ: 001 [17:23:33]line ФМ: 0000000000871841 [17:23:33]line ФД: 37970 [17:23:33]line ФПД: 262536464082629 [17:23:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T172332&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37970&fm=262536464082629&tin=02508201610067®Number=0000000000091684&sum=13000 [17:23:33]OFD Sender: Processing packet 37970 [packets to send 42, broken 41] [17:23:33]ProducePacketName [17:23:33]name=ofd_packets/00037970 [17:23:33]OFD Sender: To server: pG, [17:23:33]CommunicateWithHost lk.salyk.kg:30040 [17:23:33]ConnectInit lk.salyk.kg [17:23:33]line 0 [17:23:33]written 0, free lines is 4095 [17:23:34]Connected sock=10 [17:23:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 BB 2E 1C 01 59 AA 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 94 6B 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 52 94 00 00 35 04 06 00 EE C6 88 AE A6 C5 82 EA B3 2D 83 6C 4E F9 [17:23:34]Write to MH i2c: 01 00 00 AA 02 AC [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 AA 02 00 00 00 00 00 DD 0C 9C [17:23:34]RasterBufferAndPrint [17:23:34]line [17:23:34]line [17:23:34]line [17:23:34]line [17:23:34]line [17:23:34]written 0, free lines is 3299 [17:23:34]MH_Cut [17:23:34]Write to MH i2c: D1 01 00 B1 02 01 85 [17:23:34]Write i2c OK [17:23:34]MH_I2C_Read... [17:23:34]Read from MH i2c: D1 [17:23:34]MH_I2C_Read... [17:23:34]Read from MH i2c: D1 01 00 [17:23:34]MH_I2C_Read... [17:23:34]Read from MH i2c: D1 01 00 B1 02 00 84 [17:23:34]Write to MH i2c: 01 00 00 B2 02 B4 [17:23:34]Write i2c OK [17:23:34]MH_I2C_Read... [17:23:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 F5 1B 47 00 2E 8E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 52 94 00 00 F4 03 04 00 82 16 22 67 B6 04 01 00 00 C0 6C 23 BD 95 64 FC 53 [17:23:34]CommunicateWithHost err = 0 [17:23:34]CheckOFDResponse [17:23:34]1017 (14) - 77093643461234 [17:23:34]1041 (16) - 0000000000871841 [17:23:34]1040 (4) - 37970 [17:23:34]1012 (4) - 30.10.2024 11:20 [17:23:34]1206 (1) - 0 [17:23:34]OFD Sender: Remove packet 37970 [17:23:34]ProducePacketName [17:23:34]name=ofd_packets/00037970 [17:23:34]NVStorageDeleteData [17:23:35]OFD Sender: No OFD packet to send [17:23:35]*** Cut start [17:23:35]*** Partial cut [17:23:35]*** CUTSNS_PIN = 1 [17:23:35]*** CUTSNS_PIN = 0 [17:23:35]*** Brake cut motor [17:23:35]Read from MH i2c: 01 [17:23:35]MH_I2C_Read... [17:23:35]*** Stop cut motor [17:23:35]*** Cut end [17:23:35]Read from MH i2c: 01 07 00 [17:23:35]MH_I2C_Read... [17:23:35]Read from MH i2c: 01 07 00 B2 02 00 00 00 00 00 FF 0F C9 [17:23:35]process_action close_receipt done [17:23:35]requested_data is exist [17:23:35]produce_requested_data [17:23:35]requested_item fm.sn is exist - process it [17:23:35]wFMCommunicate request_size=4 [17:23:35]MH_SAM_APDU [17:23:35]CAPDU: 80 11 00 00 [17:23:35]Write to MH i2c: E2 08 00 B3 02 80 11 00 00 00 00 00 00 2F [17:23:35]Write i2c OK [17:23:35]MH_I2C_Read... [17:23:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:23:35]Read from MH i2c: E2 [17:23:35]MH_I2C_Read... [17:23:35]Read from MH i2c: E2 17 00 [17:23:35]MH_I2C_Read... [17:23:35]Read from MH i2c: E2 17 00 B3 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7F [17:23:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:23:35]wFMCommunicate OK [17:23:35]requested_item fd.num is exist - process it [17:23:35]SAM_PROTO_GetFieldsCounters [17:23:35]wFMCommunicate request_size=4 [17:23:35]MH_SAM_APDU [17:23:35]CAPDU: 80 13 00 00 [17:23:35]Write to MH i2c: E2 08 00 B4 02 80 13 00 00 00 00 00 00 32 [17:23:35]Write i2c OK [17:23:35]MH_I2C_Read... [17:23:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:23:35]Read from MH i2c: E2 [17:23:35]MH_I2C_Read... [17:23:35]Read from MH i2c: E2 62 00 [17:23:35]MH_I2C_Read... [17:23:35]Read from MH i2c: E2 62 00 B4 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 52 94 00 00 0E 04 04 00 29 02 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 00 [17:23:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 52 94 00 00 0E 04 04 00 29 02 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:23:35]wFMCommunicate OK [17:23:35]SAM_PROTO_GetFieldsCounters done [17:23:35]requested_item shift.num is exist - process it [17:23:35]requested_item shift.opened is exist - process it [17:23:35]req_shift_opened [17:23:35]FM_GetShiftState [17:23:35]SAM_PROTO_GetShiftState [17:23:35]wFMCommunicate request_size=4 [17:23:35]MH_SAM_APDU [17:23:35]CAPDU: 80 13 01 00 [17:23:35]Write to MH i2c: E2 08 00 B5 02 80 13 01 00 00 00 00 00 34 [17:23:35]Write i2c OK [17:23:35]MH_I2C_Read... [17:23:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:23:35]Read from MH i2c: E2 [17:23:35]MH_I2C_Read... [17:23:35]Read from MH i2c: E2 0E 00 [17:23:35]MH_I2C_Read... [17:23:35]Read from MH i2c: E2 0E 00 B5 02 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 F5 [17:23:35]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [17:23:35]wFMCommunicate OK [17:23:35]SAM_PROTO_GetShiftState done [17:23:35]FM_GetShiftState done [17:23:35]req_shift_opened done [17:23:35]requested_item shift.open_date is exist - process it [17:23:35]req_shift_open_date [17:23:35]req_shift_open_date done [17:23:35]produce_requested_data done [17:23:35]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37970,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [17:23:35]process_action_free close_receipt [17:23:35]json_value_free [17:23:35]json_value_free done [17:23:35]process_json_proto returns [17:23:35]Send response to host [17:23:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37970,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [17:23:35]free response buf [17:23:35]execute_script done [17:23:35]execute_script returns [17:23:35]free content buf [17:23:35]Sock 9.Close socket [17:23:35]Sock 9.Thread stoped [17:23:40]OFD Sender: No OFD packet to send [17:23:45]OFD Sender: No OFD packet to send [17:23:50]OFD Sender: No OFD packet to send [17:23:55]OFD Sender: No OFD packet to send [17:24:00]OFD Sender: No OFD packet to send [17:24:05]OFD Sender: No OFD packet to send [17:24:10]OFD Sender: No OFD packet to send [17:24:15]OFD Sender: No OFD packet to send [17:24:20]OFD Sender: No OFD packet to send [17:24:25]OFD Sender: No OFD packet to send [17:24:30]OFD Sender: No OFD packet to send [17:24:35]OFD Sender: No OFD packet to send [17:24:40]OFD Sender: No OFD packet to send [17:24:45]OFD Sender: No OFD packet to send [17:24:50]OFD Sender: No OFD packet to send [17:24:55]OFD Sender: No OFD packet to send [17:25:00]OFD Sender: No OFD packet to send [17:25:05]OFD Sender: No OFD packet to send [17:25:10]OFD Sender: No OFD packet to send [17:25:15]OFD Sender: No OFD packet to send [17:25:20]OFD Sender: No OFD packet to send [17:25:25]OFD Sender: No OFD packet to send [17:25:30]OFD Sender: No OFD packet to send [17:25:35]OFD Sender: No OFD packet to send [17:25:40]OFD Sender: No OFD packet to send [17:25:45]OFD Sender: No OFD packet to send [17:25:50]OFD Sender: No OFD packet to send [17:25:55]OFD Sender: No OFD packet to send [17:26:00]OFD Sender: No OFD packet to send [17:26:05]OFD Sender: No OFD packet to send [17:26:10]OFD Sender: No OFD packet to send [17:26:15]OFD Sender: No OFD packet to send [17:26:20]OFD Sender: No OFD packet to send [17:26:25]OFD Sender: No OFD packet to send [17:26:30]OFD Sender: No OFD packet to send [17:26:35]OFD Sender: No OFD packet to send [17:26:40]OFD Sender: No OFD packet to send [17:26:45]OFD Sender: No OFD packet to send [17:26:50]OFD Sender: No OFD packet to send [17:26:55]OFD Sender: No OFD packet to send [17:27:00]OFD Sender: No OFD packet to send [17:27:05]OFD Sender: No OFD packet to send [17:27:10]OFD Sender: No OFD packet to send [17:27:15]OFD Sender: No OFD packet to send [17:27:20]OFD Sender: No OFD packet to send [17:27:25]OFD Sender: No OFD packet to send [17:27:30]OFD Sender: No OFD packet to send [17:27:35]OFD Sender: No OFD packet to send [17:27:40]OFD Sender: No OFD packet to send [17:27:45]OFD Sender: No OFD packet to send [17:27:50]OFD Sender: No OFD packet to send [17:27:55]OFD Sender: No OFD packet to send [17:28:00]OFD Sender: No OFD packet to send [17:28:05]OFD Sender: No OFD packet to send [17:28:10]OFD Sender: No OFD packet to send [17:28:15]OFD Sender: No OFD packet to send [17:28:20]OFD Sender: No OFD packet to send [17:28:25]OFD Sender: No OFD packet to send [17:28:30]OFD Sender: No OFD packet to send [17:28:35]OFD Sender: No OFD packet to send [17:28:40]OFD Sender: No OFD packet to send [17:28: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]OFD Sender: No OFD packet to send [17:35:20]OFD Sender: No OFD packet to send [17:35:25]OFD Sender: No OFD packet to send [17:35:30]OFD Sender: No OFD packet to send [17:35:35]OFD Sender: No OFD packet to send [17:35:40]OFD Sender: No OFD packet to send [17:35:45]OFD Sender: No OFD packet to send [17:35:50]OFD Sender: No OFD packet to send [17:35:55]OFD Sender: No OFD packet to send [17:36:00]OFD Sender: No OFD packet to send [17:36:05]OFD Sender: No OFD packet to send [17:36:10]OFD Sender: No OFD packet to send [17:36:15]OFD Sender: No OFD packet to send [17:36:20]OFD Sender: No OFD packet to send [17:36:25]OFD Sender: No OFD packet to send [17:36:30]OFD Sender: No OFD packet to send [17:36:35]OFD Sender: No OFD packet to send [17:36:40]OFD Sender: No OFD packet to send [17:36:45]OFD Sender: No OFD packet to send [17:36:50]OFD Sender: No OFD packet to send [17:36:55]OFD Sender: No OFD packet to send [17:37:00]OFD Sender: No OFD packet to send [17:37:05]OFD Sender: No OFD packet to send [17:37:10]OFD Sender: No OFD packet to send [17:37:15]OFD Sender: No OFD packet to send [17:37:20]OFD Sender: No OFD packet to send [17:37:25]OFD Sender: No OFD packet to send [17:37:30]OFD Sender: No OFD packet to send [17:37:35]OFD Sender: No OFD packet to send [17:37:40]OFD Sender: No OFD packet to send [17:37:45]OFD Sender: No OFD packet to send [17:37:50]OFD Sender: No OFD packet to send [17:37:55]OFD Sender: No OFD packet to send [17:38:00]OFD Sender: No OFD packet to send [17:38:05]OFD Sender: No OFD packet to send [17:38:10]OFD Sender: No OFD packet to send [17:38:15]OFD Sender: No OFD packet to send [17:38:20]OFD Sender: No OFD packet to send [17:38:25]OFD Sender: No OFD packet to send [17:38:30]OFD Sender: No OFD packet to send [17:38:35]OFD Sender: No OFD packet to send [17:38:40]OFD Sender: No OFD packet to send [17:38:45]OFD Sender: No OFD packet to send [17:38:50]OFD Sender: No OFD packet to send [17:38:55]OFD Sender: No OFD packet to send [17:39:00]OFD Sender: No OFD packet to send [17:39:05]OFD Sender: No OFD packet to send [17:39:10]OFD Sender: No OFD packet to send [17:39:15]OFD Sender: No OFD packet to send [17:39:20]OFD Sender: No OFD packet to send [17:39:25]OFD Sender: No OFD packet to send [17:39:30]OFD Sender: No OFD packet to send [17:39:35]OFD Sender: No OFD packet to send [17:39:40]OFD Sender: No OFD packet to send [17:39:45]OFD Sender: No OFD packet to send [17:39:50]OFD Sender: No OFD packet to send [17:39:55]OFD Sender: No OFD packet to send [17:40:00]OFD Sender: No OFD packet to send [17:40:05]OFD Sender: No OFD packet to send [17:40:10]OFD Sender: No OFD packet to send [17:40:15]OFD Sender: No OFD packet to send [17:40:20]OFD Sender: No OFD packet to send [17:40:25]OFD Sender: No OFD packet to send [17:40:30]OFD Sender: No OFD packet to send [17:40:35]OFD Sender: No OFD packet to send [17:40:40]OFD Sender: No OFD packet to send [17:40:45]OFD Sender: No OFD packet to send [17:40:50]OFD Sender: No OFD packet to send [17:40:55]OFD Sender: No OFD packet to send [17:41:00]OFD Sender: No OFD packet to send [17:41:05]OFD Sender: No OFD packet to send [17:41:10]OFD Sender: No OFD packet to send [17:41:15]OFD Sender: No OFD packet to send [17:41:20]OFD Sender: No OFD packet to send [17:41:25]OFD Sender: No OFD packet to send [17:41:30]OFD Sender: No OFD packet to send [17:41:35]OFD Sender: No OFD packet to send [17:41:40]OFD Sender: No OFD packet to send [17:41:45]OFD Sender: No OFD packet to send [17:41:50]OFD Sender: No OFD packet to send [17:41:55]OFD Sender: No OFD packet to send [17:42:00]OFD Sender: No OFD packet to send [17:42:05]OFD Sender: No OFD packet to send [17:42:11]OFD Sender: No OFD packet to send [17:42:16]OFD Sender: No OFD packet to send [17:42:21]OFD Sender: No OFD packet to send [17:42:26]OFD Sender: No OFD packet to send [17:42:31]OFD Sender: No OFD packet to send [17:42:36]OFD Sender: No OFD packet to send [17:42:41]OFD Sender: No OFD packet to send [17:42:46]OFD Sender: No OFD packet to send [17:42:51]OFD Sender: No OFD packet to send [17:42:56]OFD Sender: No OFD packet to send [17:43:01]OFD Sender: No OFD packet to send [17:43:06]OFD Sender: No OFD packet to send [17:43:11]OFD Sender: No OFD packet to send [17:43:16]OFD Sender: No OFD packet to send [17:43:21]OFD Sender: No OFD packet to send [17:43:26]OFD Sender: No OFD packet to send [17:43:31]OFD Sender: No OFD packet to send [17:43:36]OFD Sender: No OFD packet to send [17:43:41]OFD Sender: No OFD packet to send [17:43:46]OFD Sender: No OFD packet to send [17:43:51]OFD Sender: No OFD packet to send [17:43:56]OFD Sender: No OFD packet to send [17:44:01]OFD Sender: No OFD packet to send [17:44:06]OFD Sender: No OFD packet to send [17:44:11]OFD Sender: No OFD packet to send [17:44:16]OFD Sender: No OFD packet to send [17:44:21]OFD Sender: No OFD packet to send [17:44:26]OFD Sender: No OFD packet to send [17:44:31]OFD Sender: No OFD packet to send [17:44:36]OFD Sender: No OFD packet to send [17:44:41]OFD Sender: No OFD packet to send [17:44:46]OFD Sender: No OFD packet to send [17:44:51]OFD Sender: No OFD packet to send [17:44:56]OFD Sender: No OFD packet to send [17:45:01]OFD Sender: No OFD packet to send [17:45:06]OFD Sender: No OFD packet to send [17:45:11]OFD Sender: No OFD packet to send [17:45:16]OFD Sender: No OFD packet to send [17:45:21]OFD Sender: No OFD packet to send [17:45:26]OFD Sender: No OFD packet to send [17:45:31]OFD Sender: No OFD packet to send [17:45:36]OFD Sender: No OFD packet to send [17:45:41]OFD Sender: No OFD packet to send [17:45:46]OFD Sender: No OFD packet to send [17:45:51]OFD Sender: No OFD packet to send [17:45:56]OFD Sender: No OFD packet to send [17:46:01]OFD Sender: No OFD packet to send [17:46:06]OFD Sender: No OFD packet to send [17:46:11]OFD Sender: No OFD packet to send [17:46:16]OFD Sender: No OFD packet to send [17:46:21]OFD Sender: No OFD packet to send [17:46:26]OFD Sender: No OFD packet to send [17:46:31]OFD Sender: No OFD packet to send [17:46:36]OFD Sender: No OFD packet to send [17:46:41]OFD Sender: No OFD packet to send [17:46:46]OFD Sender: No OFD packet to send [17:46:51]OFD Sender: No OFD packet to send [17:46:56]OFD Sender: No OFD packet to send [17:47:01]OFD Sender: No OFD packet to send [17:47:06]OFD Sender: No OFD packet to send [17:47:11]OFD Sender: No OFD packet to send [17:47:16]OFD Sender: No OFD packet to send [17:47:21]OFD Sender: No OFD packet to send [17:47:26]OFD Sender: No OFD packet to send [17:47:31]OFD Sender: No OFD packet to send [17:47:36]OFD Sender: No OFD packet to send [17:47:41]OFD Sender: No OFD packet to send [17:47:46]OFD Sender: No OFD packet to send [17:47:51]OFD Sender: No OFD packet to send [17:47:56]OFD Sender: No OFD packet to send [17:48:01]OFD Sender: No OFD packet to send [17:48:06]OFD Sender: No OFD packet to send [17:48:11]OFD Sender: No OFD packet to send [17:48:16]OFD Sender: No OFD packet to send [17:48:21]OFD Sender: No OFD packet to send [17:48:26]OFD Sender: No OFD packet to send [17:48:31]OFD Sender: No OFD packet to send [17:48:36]OFD Sender: No OFD packet to send [17:48:41]OFD Sender: No OFD packet to send [17:48:46]OFD Sender: No OFD packet to send [17:48:51]OFD Sender: No OFD packet to send [17:48:56]OFD Sender: No OFD packet to send [17:49:01]OFD Sender: No OFD packet to send [17:49:06]OFD Sender: No OFD packet to send [17:49:11]OFD Sender: No OFD packet to send [17:49:16]OFD Sender: No OFD packet to send [17:49:21]OFD Sender: No OFD packet to send [17:49:26]OFD Sender: No OFD packet to send [17:49:31]OFD Sender: No OFD packet to send [17:49:36]OFD Sender: No OFD packet to send [17:49:41]OFD Sender: No OFD packet to send [17:49:46]OFD Sender: No OFD packet to send [17:49:51]OFD Sender: No OFD packet to send [17:49:56]OFD Sender: No OFD packet to send [17:50:01]OFD Sender: No OFD packet to send [17:50:06]OFD Sender: No OFD packet to send [17:50:11]OFD Sender: No OFD packet to send [17:50:16]OFD Sender: No OFD packet to send [17:50:21]OFD Sender: No OFD packet to send [17:50:26]OFD Sender: No OFD packet to send [17:50:31]OFD Sender: No OFD packet to send [17:50:36]OFD Sender: No OFD packet to send [17:50:41]OFD Sender: No OFD packet to send [17:50:46]OFD Sender: No OFD packet to send [17:50:51]OFD Sender: No OFD packet to send [17:50:56]OFD Sender: No OFD packet to send [17:51:01]OFD Sender: No OFD packet to send [17:51:06]OFD Sender: No OFD packet to send [17:51:11]OFD Sender: No OFD packet to send [17:51:16]OFD Sender: No OFD packet to send [17:51:21]OFD Sender: No OFD packet to send [17:51:26]OFD Sender: No OFD packet to send [17:51:31]OFD Sender: No OFD packet to send [17:51:36]OFD Sender: No OFD packet to send [17:51:41]OFD Sender: No OFD packet to send [17:51:46]OFD Sender: No OFD packet to send [17:51:51]OFD Sender: No OFD packet to send [17:51:56]OFD Sender: No OFD packet to send [17:52:01]OFD Sender: No OFD packet to send [17:52:06]OFD Sender: No OFD packet to send [17:52:11]OFD Sender: No OFD packet to send [17:52:16]OFD Sender: No OFD packet to send [17:52:21]OFD Sender: No OFD packet to send [17:52:26]OFD Sender: No OFD packet to send [17:52:31]OFD Sender: No OFD packet to send [17:52:36]OFD Sender: No OFD packet to send [17:52:41]OFD Sender: No OFD packet to send [17:52:46]OFD Sender: No OFD packet to send [17:52:51]OFD Sender: No OFD packet to send [17:52:56]OFD Sender: No OFD packet to send [17:53:01]OFD Sender: No OFD packet to send [17:53:06]OFD Sender: No OFD packet to send [17:53:11]OFD Sender: No OFD packet to send [17:53:16]OFD Sender: No OFD packet to send [17:53:21]OFD Sender: No OFD packet to send [17:53:26]OFD Sender: No OFD packet to send [17:53:31]OFD Sender: No OFD packet to send [17:53:36]OFD Sender: No OFD packet to send [17:53:41]OFD Sender: No OFD packet to send [17:53:46]OFD Sender: No OFD packet to send [17:53:51]OFD Sender: No OFD packet to send [17:53:56]OFD Sender: No OFD packet to send [17:54:01]OFD Sender: No OFD packet to send [17:54:06]OFD Sender: No OFD packet to send [17:54:11]OFD Sender: No OFD packet to send [17:54:16]OFD Sender: No OFD packet to send [17:54:21]OFD Sender: No OFD packet to send [17:54:26]OFD Sender: No OFD packet to send [17:54:31]OFD Sender: No OFD packet to send [17:54:36]OFD Sender: No OFD packet to send [17:54:41]OFD Sender: No OFD packet to send [17:54:46]OFD Sender: No OFD packet to send [17:54:51]OFD Sender: No OFD packet to send [17:54:56]OFD Sender: No OFD packet to send [17:55:01]OFD Sender: No OFD packet to send [17:55:06]OFD Sender: No OFD packet to send [17:55:11]OFD Sender: No OFD packet to send [17:55:16]OFD Sender: No OFD packet to send [17:55:21]OFD Sender: No OFD packet to send [17:55:26]OFD Sender: No OFD packet to send [17:55:31]OFD Sender: No OFD packet to send [17:55:36]OFD Sender: No OFD packet to send [17:55:41]OFD Sender: No OFD packet to send [17:55:46]OFD Sender: No OFD packet to send [17:55:51]OFD Sender: No OFD packet to send [17:55:56]OFD Sender: No OFD packet to send [17:56:01]OFD Sender: No OFD packet to send [17:56:06]OFD Sender: No OFD packet to send [17:56:11]OFD Sender: No OFD packet to send [17:56:16]OFD Sender: No OFD packet to send [17:56:21]OFD Sender: No OFD packet to send [17:56:26]OFD Sender: No OFD packet to send [17:56:31]OFD Sender: No OFD packet to send [17:56:36]OFD Sender: No OFD packet to send [17:56:37]accept exits with 8 [17:56:37]New connection [17:56:37]New thread 3067288932 created [17:56:37]Thread 3067432292 joined [17:56:37]Waiting for new connection... [17:56:37] Sock 8.Parse request [17:56:37]Sock 8.Check first char [17:56:37]Sock 8.First char is OK [17:56:37]request: POST /json_proto HTTP/1.0 [17:56:37]Method: POST [17:56:37]URL: /json_proto [17:56:37]Method is POST - this is cgi request [17:56:37]url: /json_proto [17:56:37]query_string will be loaded in cgi processing [17:56:37]execute_cgi json_proto POST (null) [17:56:37]execute_cgi path=json_proto method=POST [17:56:37]POST find Content-Length [17:56:37]Host: 172.17.40.196:8080 [17:56:37]Content-Length: 620 [17:56:37]Content-Type: application/json [17:56:37] [17:56:37]POST finish read [17:56:37]Found Content-Length = 620 [17:56:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35270", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:56:37]execute_script... [17:56:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35270", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:56:37]POST & json_proto [17:56:37]process_json_proto [17:56:37]json parsed OK: [17:56:37]protocol is kg_v1.0 [17:56:37]action value=close_receipt [17:56:37]process_action close_receipt [17:56:37]cmd_close_receipt [17:56:37]MH_GetDate [17:56:37]Write to MH i2c: F0 00 00 B6 02 A7 [17:56:37]Write i2c OK [17:56:37]MH_I2C_Read... [17:56:37]Read from MH i2c: F0 [17:56:37]MH_I2C_Read... [17:56:37]Read from MH i2c: F0 09 00 [17:56:37]MH_I2C_Read... [17:56:37]Read from MH i2c: F0 09 00 B6 02 00 56 73 22 67 5B 68 A1 66 CC [17:56:37]GetLastDocTimeStamp 1730309012 [17:56:37]current date 1730310998 [17:56:37]FM_GetShiftState [17:56:37]SAM_PROTO_GetShiftState [17:56:37]wFMCommunicate request_size=4 [17:56:37]MH_SAM_APDU [17:56:37]CAPDU: 80 13 01 00 [17:56:37]Write to MH i2c: E2 08 00 B7 02 80 13 01 00 00 00 00 00 36 [17:56:37]Write i2c OK [17:56:37]MH_I2C_Read... [17:56:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:37]Read from MH i2c: E2 [17:56:37]MH_I2C_Read... [17:56:37]Read from MH i2c: E2 0E 00 [17:56:37]MH_I2C_Read... [17:56:37]Read from MH i2c: E2 0E 00 B7 02 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 F7 [17:56:37]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [17:56:37]wFMCommunicate OK [17:56:37]SAM_PROTO_GetShiftState done [17:56:37]FM_GetShiftState done [17:56:37]opened in 1730246837 [17:56:37]opened+sec_in_day 1730333237 [17:56:37]quantity*price = 14900 [17:56:37]sum+1 = 14901 [17:56:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 149.00 НСП 1% : 1.32 НДС 12% : 15.82 Наличными: 149.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 53 30.10.2024 17:56 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37971 ФПД: 215151226054219 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T175638&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37971&fm=215151226054219&tin=02508201610067®Number=0000000000091684&sum=14900 0 [17:56:38]StoreToDocumentArchive [17:56:38]shift 553 fd 37971 [17:56:38]save to /storage/0553/doc_00037971 [17:56:38]save last doc name /storage/0553/doc_00037971 to /storage/kkm_last_doc_name [17:56:38]save OK [17:56:38]Clear old archive folders... [17:56:38]ProcessDocumentItem done err = 0, tmpTLVsize=273 [17:56:38]tlvbuf is 0056E970 [17:56:38]SAM_PROTO_ClearQueue [17:56:38]wFMCommunicate request_size=4 [17:56:38]MH_SAM_APDU [17:56:38]CAPDU: 80 09 00 00 [17:56:38]Write to MH i2c: E2 08 00 C4 02 80 09 00 00 00 00 00 00 38 [17:56:38]Write i2c OK [17:56:38]MH_I2C_Read... [17:56:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:56:38]Read from MH i2c: E2 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 03 00 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 03 00 C4 02 00 90 00 3A [17:56:38]RAPDU: 90 00 [17:56:38]wFMCommunicate OK [17:56:38]SAM_PROTO_ClearQueue done [17:56:38]KKMCreateOFDPacket [17:56:38]OFDProtocolAddRootSTLVToBuf [17:56:38]FM_MakeSignedData [17:56:38]FM_MakeSignedData [17:56:38]SAM_PROTO_SignData [17:56:38]wFMCommunicate request_size=4 [17:56:38]MH_SAM_APDU [17:56:38]CAPDU: 80 0D 01 02 [17:56:38]Write to MH i2c: E2 08 00 C5 02 80 0D 01 02 00 00 00 00 40 [17:56:38]Write i2c OK [17:56:38]MH_I2C_Read... [17:56:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:56:38]Read from MH i2c: E2 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 03 00 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 03 00 C5 02 00 90 00 3B [17:56:38]RAPDU: 90 00 [17:56:38]wFMCommunicate OK [17:56:38]wFMCommunicate request_size=255 [17:56:38]MH_SAM_APDU [17:56:38]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 56 73 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [17:56:38]Write to MH i2c: E2 02 01 C6 02 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 56 73 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 90 [17:56:38]Write i2c OK [17:56:38]MH_I2C_Read... [17:56:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:39]Read from MH i2c: E2 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: E2 03 00 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: E2 03 00 C6 02 00 90 00 3C [17:56:39]RAPDU: 90 00 [17:56:39]wFMCommunicate OK [17:56:39]wFMCommunicate request_size=32 [17:56:39]MH_SAM_APDU [17:56:39]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 53 94 00 00 35 04 06 00 C3 AD CC 66 E6 4B [17:56:39]Write to MH i2c: E2 23 00 C7 02 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 53 94 00 00 35 04 06 00 C3 AD CC 66 E6 4B 00 00 57 [17:56:39]Write i2c OK [17:56:39]MH_I2C_Read... [17:56:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:39]Read from MH i2c: E2 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: E2 03 00 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: E2 03 00 C7 02 00 90 00 3D [17:56:39]RAPDU: 90 00 [17:56:39]wFMCommunicate OK [17:56:39]wFMCommunicate request_size=4 [17:56:39]MH_SAM_APDU [17:56:39]CAPDU: 80 0D 03 02 [17:56:39]Write to MH i2c: E2 08 00 C8 02 80 0D 03 02 00 00 00 00 45 [17:56:39]Write i2c OK [17:56:39]MH_I2C_Read... [17:56:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:56:39]Read from MH i2c: E2 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: E2 0B 00 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: E2 0B 00 C8 02 00 D1 D5 37 22 7C DA 37 8F 90 00 61 [17:56:39]RAPDU: D1 D5 37 22 7C DA 37 8F 90 00 [17:56:39]wFMCommunicate OK [17:56:39]SAM_PROTO_SignData done [17:56:39]FM_MakeSignedData done [17:56:39]CreateOFDProtocolMessage [17:56:39]wFMCommunicate request_size=4 [17:56:39]MH_SAM_APDU [17:56:39]CAPDU: 80 11 00 00 [17:56:39]Write to MH i2c: E2 08 00 C9 02 80 11 00 00 00 00 00 00 45 [17:56:39]Write i2c OK [17:56:39]MH_I2C_Read... [17:56:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:39]Read from MH i2c: E2 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: E2 17 00 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: E2 17 00 C9 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 95 [17:56:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:56:39]wFMCommunicate OK [17:56:39]CreateOFDProtocolMessage done [17:56:39]OFDSenderStorePacket 37971 [17:56:39]StoreOFDPacket docnum=37971 [17:56:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 92 33 1D 01 FC CF 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 56 73 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 53 94 00 00 35 04 06 00 C3 AD CC 66 E6 4B D1 D5 37 22 7C DA 37 8F [17:56:39]CheckFolder [17:56:39]dirname=/storage/ofd_packets [17:56:39]CheckFolder done [17:56:39]ProducePacketName [17:56:39]name=ofd_packets/00037971 [17:56:39]NVStorageSaveData ofd_packets/00037971 [17:56:39]File name is /storage/ofd_packets/00037971 [17:56:39]Write 323 bytes [17:56:39]NVStorageSaveData done [17:56:39]OFDSenderStorePacket done [17:56:39]KKMCreateOFDPacket done [17:56:39]NVStorageSaveData kkm_last_timestamp [17:56:39]File name is /storage/kkm_last_timestamp [17:56:39]Write 4 bytes [17:56:39]NVStorageSaveData done [17:56:39]ExternCall_PrintAddStr [17:56:39]wPrintStart [17:56:39]Write to MH i2c: 01 00 00 CA 02 CC [17:56:39]Write i2c OK [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: 01 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: 01 07 00 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: 01 07 00 CA 02 00 00 00 00 00 FF 0F E1 [17:56:39]RasterBufferAndPrint [17:56:39]line Счет N : (3)35270 [17:56:39]line ИНН: 02508201610067 [17:56:39]line Контрольно-Кассовый Чек [17:56:39]line ПРОДАЖА [17:56:39]line Товар: 48744119 [17:56:39]line Сигареты Winston Xstyle Dual [17:56:39]line 1.000 * 149.00 [17:56:39]line = 149.00 [17:56:39]line НДС 12% НСП 1% [17:56:39]line > о реализуемом товаре [17:56:39]line ИТОГО: 149.00 [17:56:39]line НСП 1% : 1.32 [17:56:39]line НДС 12% : 15.82 [17:56:39]line Наличными: 149.00 [17:56:39]line Безнал.: 0.00 [17:56:39]line Место: АЗС № 126 "Партнер Нефть" [17:56:39]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:56:39]line СНО: Общий режим [17:56:39]line Чек 53 30.10.2024 17:56 [17:56:39]line Смена: 553 ФФД: 1.0 [17:56:39]line ЗНМ: 0300000092 [17:56:39]line РНМ: 0000000000091684 [17:56:39]line Версия ККМ: 001 [17:56:39]line ФМ: 0000000000871841 [17:56:39]line ФД: 37971 [17:56:39]line ФПД: 215151226054219 [17:56:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T175638&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37971&fm=215151226054219&tin=02508201610067®Number=0000000000091684&sum=14900 [17:56:39]line 0 [17:56:39]OFD Sender: Processing packet 37971 [packets to send 42, broken 41] [17:56:39]ProducePacketName [17:56:39]name=ofd_packets/00037971 [17:56:39]OFD Sender: To server: pG, [17:56:39]CommunicateWithHost lk.salyk.kg:30040 [17:56:39]ConnectInit lk.salyk.kg [17:56:39]written 0, free lines is 4095 [17:56:39]Connected sock=10 [17:56:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 92 33 1D 01 FC CF 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 56 73 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 53 94 00 00 35 04 06 00 C3 AD CC 66 E6 4B D1 D5 37 22 7C DA 37 8F [17:56:40]Write to MH i2c: 01 00 00 F2 02 F4 [17:56:40]Write i2c OK [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: 01 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: 01 07 00 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: 01 07 00 F2 02 00 00 00 00 00 C2 0C C9 [17:56:40]RasterBufferAndPrint [17:56:40]line [17:56:40]line [17:56:40]line [17:56:40]line [17:56:40]line [17:56:40]written 0, free lines is 3270 [17:56:40]MH_Cut [17:56:40]Write to MH i2c: D1 01 00 F9 02 01 CD [17:56:40]Write i2c OK [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: D1 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: D1 01 00 [17:56:40]MH_I2C_Read... [17:56:40]Read from MH i2c: D1 01 00 F9 02 00 CC [17:56:40]Write to MH i2c: 01 00 00 FA 02 FC [17:56:40]Write i2c OK [17:56:40]MH_I2C_Read... [17:56:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 A5 28 47 00 76 A9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 53 94 00 00 F4 03 04 00 44 1E 22 67 B6 04 01 00 00 32 EF C7 BF 6D 58 6F E9 [17:56:40]CommunicateWithHost err = 0 [17:56:40]CheckOFDResponse [17:56:40]1017 (14) - 77093643461234 [17:56:40]1041 (16) - 0000000000871841 [17:56:40]1040 (4) - 37971 [17:56:40]1012 (4) - 30.10.2024 11:53 [17:56:40]1206 (1) - 0 [17:56:40]OFD Sender: Remove packet 37971 [17:56:40]ProducePacketName [17:56:40]name=ofd_packets/00037971 [17:56:40]NVStorageDeleteData [17:56:40]OFD Sender: No OFD packet to send [17:56:40]*** Cut start [17:56:40]*** Partial cut [17:56:40]*** CUTSNS_PIN = 1 [17:56:40]*** CUTSNS_PIN = 0 [17:56:41]*** Brake cut motor [17:56:41]Read from MH i2c: 01 [17:56:41]MH_I2C_Read... [17:56:41]*** Stop cut motor [17:56:41]*** Cut end [17:56:41]Read from MH i2c: 01 07 00 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: 01 07 00 FA 02 00 00 00 00 00 FF 0F 11 [17:56:41]process_action close_receipt done [17:56:41]requested_data is exist [17:56:41]produce_requested_data [17:56:41]requested_item fm.sn is exist - process it [17:56:41]wFMCommunicate request_size=4 [17:56:41]MH_SAM_APDU [17:56:41]CAPDU: 80 11 00 00 [17:56:41]Write to MH i2c: E2 08 00 FB 02 80 11 00 00 00 00 00 00 77 [17:56:41]Write i2c OK [17:56:41]MH_I2C_Read... [17:56:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:41]Read from MH i2c: E2 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 17 00 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 17 00 FB 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C7 [17:56:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:56:41]wFMCommunicate OK [17:56:41]requested_item fd.num is exist - process it [17:56:41]SAM_PROTO_GetFieldsCounters [17:56:41]wFMCommunicate request_size=4 [17:56:41]MH_SAM_APDU [17:56:41]CAPDU: 80 13 00 00 [17:56:41]Write to MH i2c: E2 08 00 FC 02 80 13 00 00 00 00 00 00 7A [17:56:41]Write i2c OK [17:56:41]MH_I2C_Read... [17:56:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:56:41]Read from MH i2c: E2 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 62 00 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 62 00 FC 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 53 94 00 00 0E 04 04 00 29 02 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 4C [17:56:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 53 94 00 00 0E 04 04 00 29 02 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:56:41]wFMCommunicate OK [17:56:41]SAM_PROTO_GetFieldsCounters done [17:56:41]requested_item shift.num is exist - process it [17:56:41]requested_item shift.opened is exist - process it [17:56:41]req_shift_opened [17:56:41]FM_GetShiftState [17:56:41]SAM_PROTO_GetShiftState [17:56:41]wFMCommunicate request_size=4 [17:56:41]MH_SAM_APDU [17:56:41]CAPDU: 80 13 01 00 [17:56:41]Write to MH i2c: E2 08 00 FD 02 80 13 01 00 00 00 00 00 7C [17:56:41]Write i2c OK [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 [17:56:41]MH_I2C_Read... [17:56:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:41]Read from MH i2c: E2 0E 00 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 0E 00 FD 02 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 3D [17:56:41]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [17:56:41]wFMCommunicate OK [17:56:41]SAM_PROTO_GetShiftState done [17:56:41]FM_GetShiftState done [17:56:41]req_shift_opened done [17:56:41]requested_item shift.open_date is exist - process it [17:56:41]req_shift_open_date [17:56:41]req_shift_open_date done [17:56:41]produce_requested_data done [17:56:41]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37971,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [17:56:41]process_action_free close_receipt [17:56:41]json_value_free [17:56:41]json_value_free done [17:56:41]process_json_proto returns [17:56:41]Send response to host [17:56:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37971,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [17:56:41]free response buf [17:56:41]execute_script done [17:56:41]execute_script returns [17:56:41]free content buf [17:56:41]Sock 8.Close socket [17:56:41]Sock 8.Thread stoped [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:03]accept exits with 9 [17:57:03]New connection [17:57:03]New thread 3067432292 created [17:57:03]Thread 3067288932 joined [17:57:03]Waiting for new connection... [17:57:03] Sock 9.Parse request [17:57:03]Sock 9.Check first char [17:57:03]Sock 9.First char is OK [17:57:03]request: POST /json_proto HTTP/1.0 [17:57:03]Method: POST [17:57:03]URL: /json_proto [17:57:03]Method is POST - this is cgi request [17:57:03]url: /json_proto [17:57:03]query_string will be loaded in cgi processing [17:57:03]execute_cgi json_proto POST (null) [17:57:03]execute_cgi path=json_proto method=POST [17:57:03]POST find Content-Length [17:57:03]Host: 172.17.40.196:8080 [17:57:03]Content-Length: 747 [17:57:03]Content-Type: application/json [17:57:03] [17:57:03]POST finish read [17:57:03]Found Content-Length = 747 [17:57:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35271", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:57:03]execute_script... [17:57: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)35271", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:57:03]POST & json_proto [17:57:03]process_json_proto [17:57:03]json parsed OK: [17:57:03]protocol is kg_v1.0 [17:57:03]action value=close_receipt [17:57:03]process_action close_receipt [17:57:03]cmd_close_receipt [17:57:03]MH_GetDate [17:57:03]Write to MH i2c: F0 00 00 FE 02 EF [17:57:03]Write i2c OK [17:57:03]MH_I2C_Read... [17:57:03]Read from MH i2c: F0 [17:57:03]MH_I2C_Read... [17:57:03]Read from MH i2c: F0 09 00 [17:57:03]MH_I2C_Read... [17:57:03]Read from MH i2c: F0 09 00 FE 02 00 70 73 22 67 5B 68 A1 66 2E [17:57:03]GetLastDocTimeStamp 1730310998 [17:57:03]current date 1730311024 [17:57:03]FM_GetShiftState [17:57:03]SAM_PROTO_GetShiftState [17:57:03]wFMCommunicate request_size=4 [17:57:03]MH_SAM_APDU [17:57:03]CAPDU: 80 13 01 00 [17:57:03]Write to MH i2c: E2 08 00 FF 02 80 13 01 00 00 00 00 00 7E [17:57:03]Write i2c OK [17:57:03]MH_I2C_Read... [17:57:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:57:03]Read from MH i2c: E2 [17:57:03]MH_I2C_Read... [17:57:03]Read from MH i2c: E2 0E 00 [17:57:03]MH_I2C_Read... [17:57:03]Read from MH i2c: E2 0E 00 FF 02 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 3F [17:57:03]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [17:57:03]wFMCommunicate OK [17:57:03]SAM_PROTO_GetShiftState done [17:57:03]FM_GetShiftState done [17:57:03]opened in 1730246837 [17:57:03]opened+sec_in_day 1730333237 [17:57:03]quantity*price = 14400 [17:57:03]sum+1 = 14401 [17:57:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 54 30.10.2024 17:57 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37972 ФПД: 228801688609448 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T175704&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37972&fm=228801688609448&tin=02508201610067®Number=0000000000091684&sum=14400 0 [17:57:04]StoreToDocumentArchive [17:57:04]shift 553 fd 37972 [17:57:04]save to /storage/0553/doc_00037972 [17:57:04]save last doc name /storage/0553/doc_00037972 to /storage/kkm_last_doc_name [17:57:04]save OK [17:57:04]Clear old archive folders... [17:57:04]ProcessDocumentItem done err = 0, tmpTLVsize=273 [17:57:04]tlvbuf is 005E5210 [17:57:04]SAM_PROTO_ClearQueue [17:57:04]wFMCommunicate request_size=4 [17:57:04]MH_SAM_APDU [17:57:04]CAPDU: 80 09 00 00 [17:57:04]Write to MH i2c: E2 08 00 0C 03 80 09 00 00 00 00 00 00 81 [17:57:04]Write i2c OK [17:57:04]MH_I2C_Read... [17:57:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:57:04]Read from MH i2c: E2 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 03 00 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 03 00 0C 03 00 90 00 83 [17:57:04]RAPDU: 90 00 [17:57:04]wFMCommunicate OK [17:57:04]SAM_PROTO_ClearQueue done [17:57:04]KKMCreateOFDPacket [17:57:04]OFDProtocolAddRootSTLVToBuf [17:57:04]FM_MakeSignedData [17:57:04]FM_MakeSignedData [17:57:04]SAM_PROTO_SignData [17:57:04]wFMCommunicate request_size=4 [17:57:04]MH_SAM_APDU [17:57:04]CAPDU: 80 0D 01 02 [17:57:04]Write to MH i2c: E2 08 00 0D 03 80 0D 01 02 00 00 00 00 89 [17:57:04]Write i2c OK [17:57:04]MH_I2C_Read... [17:57:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:57:04]Read from MH i2c: E2 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 03 00 [17:57:04]MH_I2C_Read... [17:57:04]Read from MH i2c: E2 03 00 0D 03 00 90 00 84 [17:57:04]RAPDU: 90 00 [17:57:04]wFMCommunicate OK [17:57:04]wFMCommunicate request_size=255 [17:57:04]MH_SAM_APDU [17:57:04]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 70 73 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [17:57:04]Write to MH i2c: E2 02 01 0E 03 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 70 73 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 C3 [17:57:04]Write i2c OK [17:57:04]MH_I2C_Read... [17:57:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:57:05]Read from MH i2c: E2 [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: E2 03 00 [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: E2 03 00 0E 03 00 90 00 85 [17:57:05]RAPDU: 90 00 [17:57:05]wFMCommunicate OK [17:57:05]wFMCommunicate request_size=32 [17:57:05]MH_SAM_APDU [17:57:05]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 54 94 00 00 35 04 06 00 D0 18 0B 5F A2 A8 [17:57:05]Write to MH i2c: E2 23 00 0F 03 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 54 94 00 00 35 04 06 00 D0 18 0B 5F A2 A8 00 00 6A [17:57:05]Write i2c OK [17:57:05]MH_I2C_Read... [17:57:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:57:05]Read from MH i2c: E2 [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: E2 03 00 [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: E2 03 00 0F 03 00 90 00 86 [17:57:05]RAPDU: 90 00 [17:57:05]wFMCommunicate OK [17:57:05]wFMCommunicate request_size=4 [17:57:05]MH_SAM_APDU [17:57:05]CAPDU: 80 0D 03 02 [17:57:05]Write to MH i2c: E2 08 00 10 03 80 0D 03 02 00 00 00 00 8E [17:57:05]Write i2c OK [17:57:05]MH_I2C_Read... [17:57:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:57:05]Read from MH i2c: E2 [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: E2 0B 00 [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: E2 0B 00 10 03 00 EE 00 0C A0 10 42 D5 81 90 00 D1 [17:57:05]RAPDU: EE 00 0C A0 10 42 D5 81 90 00 [17:57:05]wFMCommunicate OK [17:57:05]SAM_PROTO_SignData done [17:57:05]FM_MakeSignedData done [17:57:05]CreateOFDProtocolMessage [17:57:05]wFMCommunicate request_size=4 [17:57:05]MH_SAM_APDU [17:57:05]CAPDU: 80 11 00 00 [17:57:05]Write to MH i2c: E2 08 00 11 03 80 11 00 00 00 00 00 00 8E [17:57:05]Write i2c OK [17:57:05]MH_I2C_Read... [17:57:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:57:05]Read from MH i2c: E2 [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: E2 17 00 [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: E2 17 00 11 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DE [17:57:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:57:05]wFMCommunicate OK [17:57:05]CreateOFDProtocolMessage done [17:57:05]OFDSenderStorePacket 37972 [17:57:05]StoreOFDPacket docnum=37972 [17:57:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 AB 06 1D 01 31 EB 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 70 73 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 54 94 00 00 35 04 06 00 D0 18 0B 5F A2 A8 EE 00 0C A0 10 42 D5 81 [17:57:05]CheckFolder [17:57:05]dirname=/storage/ofd_packets [17:57:05]CheckFolder done [17:57:05]ProducePacketName [17:57:05]name=ofd_packets/00037972 [17:57:05]NVStorageSaveData ofd_packets/00037972 [17:57:05]File name is /storage/ofd_packets/00037972 [17:57:05]Write 323 bytes [17:57:05]NVStorageSaveData done [17:57:05]OFDSenderStorePacket done [17:57:05]KKMCreateOFDPacket done [17:57:05]NVStorageSaveData kkm_last_timestamp [17:57:05]File name is /storage/kkm_last_timestamp [17:57:05]Write 4 bytes [17:57:05]NVStorageSaveData done [17:57:05]ExternCall_PrintAddStr [17:57:05]wPrintStart [17:57:05]Write to MH i2c: 01 00 00 12 03 15 [17:57:05]Write i2c OK [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: 01 [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: 01 07 00 [17:57:05]MH_I2C_Read... [17:57:05]Read from MH i2c: 01 07 00 12 03 00 00 00 00 00 FF 0F 2A [17:57:05]RasterBufferAndPrint [17:57:05]line Счет N : (3)35271 [17:57:05]line ИНН: 02508201610067 [17:57:05]line Контрольно-Кассовый Чек [17:57:05]line ПРОДАЖА [17:57:05]line Товар: 48743570 [17:57:05]line Сигареты Winston XStyle Blue [17:57:05]line 1.000 * 144.00 [17:57:05]line = 144.00 [17:57:05]line НДС 12% НСП 1% [17:57:05]line > о реализуемом товаре [17:57:05]line ИТОГО: 144.00 [17:57:05]line НСП 1% : 1.27 [17:57:05]line НДС 12% : 15.29 [17:57:05]line Наличными: 0.00 [17:57:05]line Безнал.: 144.00 [17:57:05]line Место: АЗС № 126 "Партнер Нефть" [17:57:05]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:57:05]line СНО: Общий режим [17:57:05]line Чек 54 30.10.2024 17:57 [17:57:05]line Смена: 553 ФФД: 1.0 [17:57:05]line ЗНМ: 0300000092 [17:57:05]line РНМ: 0000000000091684 [17:57:05]line Версия ККМ: 001 [17:57:05]line Платежная система: Mbank [17:57:05]line ФМ: 0000000000871841 [17:57:05]line ФД: 37972 [17:57:05]line ФПД: 228801688609448 [17:57:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T175704&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37972&fm=228801688609448&tin=02508201610067®Number=0000000000091684&sum=14400 [17:57:05]line 0 [17:57:05]OFD Sender: Processing packet 37972 [packets to send 42, broken 41] [17:57:05]ProducePacketName [17:57:05]name=ofd_packets/00037972 [17:57:05]OFD Sender: To server: pG, [17:57:05]CommunicateWithHost lk.salyk.kg:30040 [17:57:05]ConnectInit lk.salyk.kg [17:57:05]written 0, free lines is 4095 [17:57:06]Write to MH i2c: 01 00 00 3B 03 3E [17:57:06]Write i2c OK [17:57:06]MH_I2C_Read... [17:57:06]Read from MH i2c: 01 [17:57:06]MH_I2C_Read... [17:57:06]Read from MH i2c: 01 07 00 [17:57:06]MH_I2C_Read... [17:57:06]Read from MH i2c: 01 07 00 3B 03 00 00 00 00 00 B5 0C 06 [17:57:06]RasterBufferAndPrint [17:57:06]line [17:57:06]line [17:57:06]line [17:57:06]line [17:57:06]line [17:57:06]written 0, free lines is 3258 [17:57:06]MH_Cut [17:57:06]Write to MH i2c: D1 01 00 42 03 01 17 [17:57:06]Write i2c OK [17:57:06]MH_I2C_Read... [17:57:06]Read from MH i2c: D1 [17:57:06]MH_I2C_Read... [17:57:06]Read from MH i2c: D1 01 00 [17:57:06]MH_I2C_Read... [17:57:06]Read from MH i2c: D1 01 00 42 03 00 16 [17:57:06]Write to MH i2c: 01 00 00 43 03 46 [17:57:06]Write i2c OK [17:57:06]MH_I2C_Read... [17:57:06]*** Cut start [17:57:06]*** Partial cut [17:57:06]*** CUTSNS_PIN = 1 [17:57:06]*** CUTSNS_PIN = 0 [17:57:07]*** Brake cut motor [17:57:07]Connected sock=11 [17:57:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 AB 06 1D 01 31 EB 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 70 73 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 54 94 00 00 35 04 06 00 D0 18 0B 5F A2 A8 EE 00 0C A0 10 42 D5 81 [17:57:07]Read from MH i2c: 01 [17:57:07]MH_I2C_Read... [17:57:07]*** Stop cut motor [17:57:07]*** Cut end [17:57:07]Read from MH i2c: 01 07 00 [17:57:07]MH_I2C_Read... [17:57:07]Read from MH i2c: 01 07 00 43 03 00 00 00 00 00 FF 0F 5B [17:57:07]process_action close_receipt done [17:57:07]requested_data is exist [17:57:07]produce_requested_data [17:57:07]requested_item fm.sn is exist - process it [17:57:07]wFMCommunicate request_size=4 [17:57:07]MH_SAM_APDU [17:57:07]CAPDU: 80 11 00 00 [17:57:07]Write to MH i2c: E2 08 00 44 03 80 11 00 00 00 00 00 00 C1 [17:57:07]Write i2c OK [17:57:07]MH_I2C_Read... [17:57:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:57:07]Read from MH i2c: E2 [17:57:07]MH_I2C_Read... [17:57:07]Read from MH i2c: E2 17 00 [17:57:07]MH_I2C_Read... [17:57:07]Read from MH i2c: E2 17 00 44 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 11 [17:57:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:57:07]wFMCommunicate OK [17:57:07]requested_item fd.num is exist - process it [17:57:07]SAM_PROTO_GetFieldsCounters [17:57:07]wFMCommunicate request_size=4 [17:57:07]MH_SAM_APDU [17:57:07]CAPDU: 80 13 00 00 [17:57:07]Write to MH i2c: E2 08 00 45 03 80 13 00 00 00 00 00 00 C4 [17:57:07]Write i2c OK [17:57:07]MH_I2C_Read... [17:57:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:57:07]Read from MH i2c: E2 [17:57:07]MH_I2C_Read... [17:57:07]Read from MH i2c: E2 62 00 [17:57:07]MH_I2C_Read... [17:57:07]Read from MH i2c: E2 62 00 45 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 54 94 00 00 0E 04 04 00 29 02 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 9A [17:57:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 54 94 00 00 0E 04 04 00 29 02 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:57:07]wFMCommunicate OK [17:57:07]SAM_PROTO_GetFieldsCounters done [17:57:07]requested_item shift.num is exist - process it [17:57:07]requested_item shift.opened is exist - process it [17:57:07]req_shift_opened [17:57:07]FM_GetShiftState [17:57:07]SAM_PROTO_GetShiftState [17:57:07]wFMCommunicate request_size=4 [17:57:07]MH_SAM_APDU [17:57:07]CAPDU: 80 13 01 00 [17:57:07]Write to MH i2c: E2 08 00 46 03 80 13 01 00 00 00 00 00 C6 [17:57:07]Write i2c OK [17:57:07]MH_I2C_Read... [17:57:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 17 C3 47 00 D8 97 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 54 94 00 00 F4 03 04 00 5F 1E 22 67 B6 04 01 00 00 36 D0 0B CD 22 96 76 65 [17:57:07]CommunicateWithHost err = 0 [17:57:07]CheckOFDResponse [17:57:07]1017 (14) - 77093643461234 [17:57:07]1041 (16) - 0000000000871841 [17:57:07]1040 (4) - 37972 [17:57:07]1012 (4) - 30.10.2024 11:54 [17:57:07]1206 (1) - 0 [17:57:07]OFD Sender: Remove packet 37972 [17:57:07]ProducePacketName [17:57:07]name=ofd_packets/00037972 [17:57:07]NVStorageDeleteData [17:57:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:57:07]Read from MH i2c: E2 [17:57:07]MH_I2C_Read... [17:57:07]Read from MH i2c: E2 0E 00 [17:57:07]MH_I2C_Read... [17:57:07]Read from MH i2c: E2 0E 00 46 03 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 87 [17:57:07]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [17:57:07]wFMCommunicate OK [17:57:07]SAM_PROTO_GetShiftState done [17:57:07]FM_GetShiftState done [17:57:07]req_shift_opened done [17:57:07]requested_item shift.open_date is exist - process it [17:57:07]req_shift_open_date [17:57:07]req_shift_open_date done [17:57:07]produce_requested_data done [17:57:07]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37972,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [17:57:07]process_action_free close_receipt [17:57:07]json_value_free [17:57:07]json_value_free done [17:57:07]process_json_proto returns [17:57:07]Send response to host [17:57:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37972,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [17:57:07]free response buf [17:57:07]execute_script done [17:57:07]execute_script returns [17:57:07]free content buf [17:57:07]Sock 9.Close socket [17:57:07]Sock 9.Thread stoped [17:57:08]OFD Sender: No OFD packet to send [17:57:13]OFD Sender: No OFD packet to send [17:57:18]OFD Sender: No OFD packet to send [17:57:23]OFD Sender: No OFD packet to send [17:57:28]OFD Sender: No OFD packet to send [17:57:33]OFD Sender: No OFD packet to send [17:57:38]OFD Sender: No OFD packet to send [17:57:43]OFD Sender: No OFD packet to send [17:57:48]OFD Sender: No OFD packet to send [17:57:53]OFD Sender: No OFD packet to send [17:57:58]OFD Sender: No OFD packet to send [17:58:03]OFD Sender: No OFD packet to send [17:58:08]OFD Sender: No OFD packet to send [17:58:13]OFD Sender: No OFD packet to send [17:58:18]OFD Sender: No OFD packet to send [17:58:23]OFD Sender: No OFD packet to send [17:58:28]OFD Sender: No OFD packet to send [17:58:33]OFD Sender: No OFD packet to send [17:58:38]OFD Sender: No OFD packet to send [17:58:43]OFD Sender: No OFD packet to send [17:58:48]OFD Sender: No OFD packet to send [17:58:53]OFD Sender: No OFD packet to send [17:58:58]OFD Sender: No OFD packet to send [17:59:03]OFD Sender: No OFD packet to send [17:59:08]OFD Sender: No OFD packet to send [17:59:13]OFD Sender: No OFD packet to send [17:59:18]OFD Sender: No OFD packet to send [17:59:23]OFD Sender: No OFD packet to send [17:59:28]OFD Sender: No OFD packet to send [17:59:33]OFD Sender: No OFD packet to send [17:59:38]OFD Sender: No OFD packet to send [17:59:43]OFD Sender: No OFD packet to send [17:59:48]OFD Sender: No OFD packet to send [17:59:53]OFD Sender: No OFD packet to send [17:59:58]OFD Sender: No OFD packet to send [18:00:03]OFD Sender: No OFD packet to send [18:00:08]OFD Sender: No OFD packet to send [18:00:13]OFD Sender: No OFD packet to send [18:00:18]OFD Sender: No OFD packet to send [18:00:23]OFD Sender: No OFD packet to send [18:00:28]OFD Sender: No OFD packet to send [18:00:28]accept exits with 8 [18:00:28]New connection [18:00:28]New thread 3067288932 created [18:00:28]Thread 3067432292 joined [18:00:28]Waiting for new connection... [18:00:28] Sock 8.Parse request [18:00:28]Sock 8.Check first char [18:00:28]Sock 8.First char is OK [18:00:28]request: POST /json_proto HTTP/1.0 [18:00:28]Method: POST [18:00:28]URL: /json_proto [18:00:28]Method is POST - this is cgi request [18:00:28]url: /json_proto [18:00:28]query_string will be loaded in cgi processing [18:00:28]execute_cgi json_proto POST (null) [18:00:28]execute_cgi path=json_proto method=POST [18:00:28]POST find Content-Length [18:00:28]Host: 172.17.40.196:8080 [18:00:28]Content-Length: 746 [18:00:28]Content-Type: application/json [18:00:28] [18:00:28]POST finish read [18:00:28]Found Content-Length = 746 [18:00:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35272", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:00:28]execute_script... [18:00: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)35272", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:00:28]POST & json_proto [18:00:28]process_json_proto [18:00:28]json parsed OK: [18:00:28]protocol is kg_v1.0 [18:00:28]action value=close_receipt [18:00:28]process_action close_receipt [18:00:28]cmd_close_receipt [18:00:28]MH_GetDate [18:00:28]Write to MH i2c: F0 00 00 47 03 39 [18:00:28]Write i2c OK [18:00:28]MH_I2C_Read... [18:00:28]Read from MH i2c: F0 [18:00:28]MH_I2C_Read... [18:00:28]Read from MH i2c: F0 09 00 [18:00:28]MH_I2C_Read... [18:00:28]Read from MH i2c: F0 09 00 47 03 00 3D 74 22 67 5B 68 A1 66 46 [18:00:28]GetLastDocTimeStamp 1730311024 [18:00:28]current date 1730311229 [18:00:28]FM_GetShiftState [18:00:28]SAM_PROTO_GetShiftState [18:00:28]wFMCommunicate request_size=4 [18:00:28]MH_SAM_APDU [18:00:28]CAPDU: 80 13 01 00 [18:00:28]Write to MH i2c: E2 08 00 48 03 80 13 01 00 00 00 00 00 C8 [18:00:28]Write i2c OK [18:00:28]MH_I2C_Read... [18:00:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:00:28]Read from MH i2c: E2 [18:00:28]MH_I2C_Read... [18:00:28]Read from MH i2c: E2 0E 00 [18:00:28]MH_I2C_Read... [18:00:28]Read from MH i2c: E2 0E 00 48 03 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 89 [18:00:28]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [18:00:28]wFMCommunicate OK [18:00:28]SAM_PROTO_GetShiftState done [18:00:28]FM_GetShiftState done [18:00:28]opened in 1730246837 [18:00:28]opened+sec_in_day 1730333237 [18:00:28]quantity*price = 13900 [18:00:28]sum+1 = 13901 [18:00:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 0.00 Безнал.: 139.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 55 30.10.2024 18:00 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37973 ФПД: 100963873154577 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T180029&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37973&fm=100963873154577&tin=02508201610067®Number=0000000000091684&sum=13900 0 [18:00:29]StoreToDocumentArchive [18:00:29]shift 553 fd 37973 [18:00:29]save to /storage/0553/doc_00037973 [18:00:29]save last doc name /storage/0553/doc_00037973 to /storage/kkm_last_doc_name [18:00:29]save OK [18:00:29]Clear old archive folders... [18:00:29]ProcessDocumentItem done err = 0, tmpTLVsize=272 [18:00:29]tlvbuf is 0056ED20 [18:00:29]SAM_PROTO_ClearQueue [18:00:29]wFMCommunicate request_size=4 [18:00:29]MH_SAM_APDU [18:00:29]CAPDU: 80 09 00 00 [18:00:29]Write to MH i2c: E2 08 00 55 03 80 09 00 00 00 00 00 00 CA [18:00:29]Write i2c OK [18:00:29]MH_I2C_Read... [18:00:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:00:29]Read from MH i2c: E2 [18:00:29]MH_I2C_Read... [18:00:29]Read from MH i2c: E2 03 00 [18:00:29]MH_I2C_Read... [18:00:29]Read from MH i2c: E2 03 00 55 03 00 90 00 CC [18:00:29]RAPDU: 90 00 [18:00:29]wFMCommunicate OK [18:00:29]SAM_PROTO_ClearQueue done [18:00:29]KKMCreateOFDPacket [18:00:29]OFDProtocolAddRootSTLVToBuf [18:00:29]FM_MakeSignedData [18:00:29]FM_MakeSignedData [18:00:29]SAM_PROTO_SignData [18:00:29]wFMCommunicate request_size=4 [18:00:29]MH_SAM_APDU [18:00:29]CAPDU: 80 0D 01 02 [18:00:29]Write to MH i2c: E2 08 00 56 03 80 0D 01 02 00 00 00 00 D2 [18:00:29]Write i2c OK [18:00:29]MH_I2C_Read... [18:00:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:00:29]Read from MH i2c: E2 [18:00:29]MH_I2C_Read... [18:00:29]Read from MH i2c: E2 03 00 [18:00:29]MH_I2C_Read... [18:00:29]Read from MH i2c: E2 03 00 56 03 00 90 00 CD [18:00:29]RAPDU: 90 00 [18:00:29]wFMCommunicate OK [18:00:29]wFMCommunicate request_size=255 [18:00:29]MH_SAM_APDU [18:00:29]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 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 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 3D 74 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [18:00:29]Write to MH i2c: E2 02 01 57 03 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 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 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 3D 74 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 A2 [18:00:29]Write i2c OK [18:00:29]MH_I2C_Read... [18:00:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:00:30]Read from MH i2c: E2 [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: E2 03 00 [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: E2 03 00 57 03 00 90 00 CE [18:00:30]RAPDU: 90 00 [18:00:30]wFMCommunicate OK [18:00:30]wFMCommunicate request_size=31 [18:00:30]MH_SAM_APDU [18:00:30]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 55 94 00 00 35 04 06 00 5B D3 7B CB 66 11 [18:00:30]Write to MH i2c: E2 22 00 58 03 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 55 94 00 00 35 04 06 00 5B D3 7B CB 66 11 00 00 D1 [18:00:30]Write i2c OK [18:00:30]MH_I2C_Read... [18:00:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:00:30]Read from MH i2c: E2 [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: E2 03 00 [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: E2 03 00 58 03 00 90 00 CF [18:00:30]RAPDU: 90 00 [18:00:30]wFMCommunicate OK [18:00:30]wFMCommunicate request_size=4 [18:00:30]MH_SAM_APDU [18:00:30]CAPDU: 80 0D 03 02 [18:00:30]Write to MH i2c: E2 08 00 59 03 80 0D 03 02 00 00 00 00 D7 [18:00:30]Write i2c OK [18:00:30]MH_I2C_Read... [18:00:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:00:30]Read from MH i2c: E2 [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: E2 0B 00 [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: E2 0B 00 59 03 00 B3 0C DE 5A EF 3C BE 3F 90 00 F7 [18:00:30]RAPDU: B3 0C DE 5A EF 3C BE 3F 90 00 [18:00:30]wFMCommunicate OK [18:00:30]SAM_PROTO_SignData done [18:00:30]FM_MakeSignedData done [18:00:30]CreateOFDProtocolMessage [18:00:30]wFMCommunicate request_size=4 [18:00:30]MH_SAM_APDU [18:00:30]CAPDU: 80 11 00 00 [18:00:30]Write to MH i2c: E2 08 00 5A 03 80 11 00 00 00 00 00 00 D7 [18:00:30]Write i2c OK [18:00:30]MH_I2C_Read... [18:00:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:00:30]Read from MH i2c: E2 [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: E2 17 00 [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: E2 17 00 5A 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 27 [18:00:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:00:30]wFMCommunicate OK [18:00:30]CreateOFDProtocolMessage done [18:00:30]OFDSenderStorePacket 37973 [18:00:30]StoreOFDPacket docnum=37973 [18:00:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 E1 4B 1C 01 D6 E2 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 3D 74 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 55 94 00 00 35 04 06 00 5B D3 7B CB 66 11 B3 0C DE 5A EF 3C BE 3F [18:00:30]CheckFolder [18:00:30]dirname=/storage/ofd_packets [18:00:30]CheckFolder done [18:00:30]ProducePacketName [18:00:30]name=ofd_packets/00037973 [18:00:30]NVStorageSaveData ofd_packets/00037973 [18:00:30]File name is /storage/ofd_packets/00037973 [18:00:30]Write 322 bytes [18:00:30]NVStorageSaveData done [18:00:30]OFDSenderStorePacket done [18:00:30]KKMCreateOFDPacket done [18:00:30]NVStorageSaveData kkm_last_timestamp [18:00:30]File name is /storage/kkm_last_timestamp [18:00:30]Write 4 bytes [18:00:30]NVStorageSaveData done [18:00:30]ExternCall_PrintAddStr [18:00:30]wPrintStart [18:00:30]Write to MH i2c: 01 00 00 5B 03 5E [18:00:30]Write i2c OK [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: 01 [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: 01 07 00 [18:00:30]MH_I2C_Read... [18:00:30]Read from MH i2c: 01 07 00 5B 03 00 00 00 00 00 FF 0F 73 [18:00:30]RasterBufferAndPrint [18:00:30]line Счет N : (3)35272 [18:00:30]line ИНН: 02508201610067 [18:00:30]line Контрольно-Кассовый Чек [18:00:30]line ПРОДАЖА [18:00:30]line Товар: 48745000 [18:00:30]line Сигареты Winston Purple Mix [18:00:30]line 1.000 * 139.00 [18:00:30]line = 139.00 [18:00:30]line НДС 12% НСП 1% [18:00:30]line > о реализуемом товаре [18:00:30]line ИТОГО: 139.00 [18:00:30]line НСП 1% : 1.23 [18:00:30]line НДС 12% : 14.76 [18:00:30]line Наличными: 0.00 [18:00:30]line Безнал.: 139.00 [18:00:30]line Место: АЗС № 126 "Партнер Нефть" [18:00:30]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:00:30]line СНО: Общий режим [18:00:30]line Чек 55 30.10.2024 18:00 [18:00:30]line Смена: 553 ФФД: 1.0 [18:00:30]line ЗНМ: 0300000092 [18:00:30]line РНМ: 0000000000091684 [18:00:30]line Версия ККМ: 001 [18:00:30]line Платежная система: Mbank [18:00:30]line ФМ: 0000000000871841 [18:00:30]line ФД: 37973 [18:00:30]line ФПД: 100963873154577 [18:00:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T180029&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37973&fm=100963873154577&tin=02508201610067®Number=0000000000091684&sum=13900 [18:00:30]line 0 [18:00:30]OFD Sender: Processing packet 37973 [packets to send 42, broken 41] [18:00:30]ProducePacketName [18:00:30]name=ofd_packets/00037973 [18:00:30]OFD Sender: To server: pG, [18:00:30]CommunicateWithHost lk.salyk.kg:30040 [18:00:30]ConnectInit lk.salyk.kg [18:00:30]written 0, free lines is 4095 [18:00:30]Connected sock=10 [18:00:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 E1 4B 1C 01 D6 E2 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 3D 74 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 55 94 00 00 35 04 06 00 5B D3 7B CB 66 11 B3 0C DE 5A EF 3C BE 3F [18:00:31]Write to MH i2c: 01 00 00 84 03 87 [18:00:31]Write i2c OK [18:00:31]MH_I2C_Read... [18:00:31]Read from MH i2c: 01 [18:00:31]MH_I2C_Read... [18:00:31]Read from MH i2c: 01 07 00 [18:00:31]MH_I2C_Read... [18:00:31]Read from MH i2c: 01 07 00 84 03 00 00 00 00 00 BA 0C 54 [18:00:31]RasterBufferAndPrint [18:00:31]line [18:00:31]line [18:00:31]line [18:00:31]line [18:00:31]line [18:00:31]written 0, free lines is 3265 [18:00:31]MH_Cut [18:00:31]Write to MH i2c: D1 01 00 8B 03 01 60 [18:00:31]Write i2c OK [18:00:31]MH_I2C_Read... [18:00:31]Read from MH i2c: D1 [18:00:31]MH_I2C_Read... [18:00:31]Read from MH i2c: D1 01 00 [18:00:31]MH_I2C_Read... [18:00:31]Read from MH i2c: D1 01 00 8B 03 00 5F [18:00:31]Write to MH i2c: 01 00 00 8C 03 8F [18:00:31]Write i2c OK [18:00:31]MH_I2C_Read... [18:00:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 40 19 47 00 77 28 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 55 94 00 00 F4 03 04 00 2B 1F 22 67 B6 04 01 00 00 4B 8A BD 34 B1 FD E7 AC [18:00:31]CommunicateWithHost err = 0 [18:00:31]CheckOFDResponse [18:00:31]1017 (14) - 77093643461234 [18:00:31]1041 (16) - 0000000000871841 [18:00:31]1040 (4) - 37973 [18:00:31]1012 (4) - 30.10.2024 11:57 [18:00:31]1206 (1) - 0 [18:00:31]OFD Sender: Remove packet 37973 [18:00:31]ProducePacketName [18:00:31]name=ofd_packets/00037973 [18:00:31]NVStorageDeleteData [18:00:31]OFD Sender: No OFD packet to send [18:00:31]*** Cut start [18:00:31]*** Partial cut [18:00:31]*** CUTSNS_PIN = 1 [18:00:31]*** CUTSNS_PIN = 0 [18:00:32]*** Brake cut motor [18:00:32]Read from MH i2c: 01 [18:00:32]MH_I2C_Read... [18:00:32]*** Stop cut motor [18:00:32]*** Cut end [18:00:32]Read from MH i2c: 01 07 00 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: 01 07 00 8C 03 00 00 00 00 00 FF 0F A4 [18:00:32]process_action close_receipt done [18:00:32]requested_data is exist [18:00:32]produce_requested_data [18:00:32]requested_item fm.sn is exist - process it [18:00:32]wFMCommunicate request_size=4 [18:00:32]MH_SAM_APDU [18:00:32]CAPDU: 80 11 00 00 [18:00:32]Write to MH i2c: E2 08 00 8D 03 80 11 00 00 00 00 00 00 0A [18:00:32]Write i2c OK [18:00:32]MH_I2C_Read... [18:00:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:00:32]Read from MH i2c: E2 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: E2 17 00 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: E2 17 00 8D 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 5A [18:00:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:00:32]wFMCommunicate OK [18:00:32]requested_item fd.num is exist - process it [18:00:32]SAM_PROTO_GetFieldsCounters [18:00:32]wFMCommunicate request_size=4 [18:00:32]MH_SAM_APDU [18:00:32]CAPDU: 80 13 00 00 [18:00:32]Write to MH i2c: E2 08 00 8E 03 80 13 00 00 00 00 00 00 0D [18:00:32]Write i2c OK [18:00:32]MH_I2C_Read... [18:00:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:00:32]Read from MH i2c: E2 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: E2 62 00 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: E2 62 00 8E 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 55 94 00 00 0E 04 04 00 29 02 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 E7 [18:00:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 55 94 00 00 0E 04 04 00 29 02 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:00:32]wFMCommunicate OK [18:00:32]SAM_PROTO_GetFieldsCounters done [18:00:32]requested_item shift.num is exist - process it [18:00:32]requested_item shift.opened is exist - process it [18:00:32]req_shift_opened [18:00:32]FM_GetShiftState [18:00:32]SAM_PROTO_GetShiftState [18:00:32]wFMCommunicate request_size=4 [18:00:32]MH_SAM_APDU [18:00:32]CAPDU: 80 13 01 00 [18:00:32]Write to MH i2c: E2 08 00 8F 03 80 13 01 00 00 00 00 00 0F [18:00:32]Write i2c OK [18:00:32]MH_I2C_Read... [18:00:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:00:32]Read from MH i2c: E2 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: E2 0E 00 [18:00:32]MH_I2C_Read... [18:00:32]Read from MH i2c: E2 0E 00 8F 03 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 D0 [18:00:32]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [18:00:32]wFMCommunicate OK [18:00:32]SAM_PROTO_GetShiftState done [18:00:32]FM_GetShiftState done [18:00:32]req_shift_opened done [18:00:32]requested_item shift.open_date is exist - process it [18:00:32]req_shift_open_date [18:00:32]req_shift_open_date done [18:00:32]produce_requested_data done [18:00:32]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37973,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [18:00:32]process_action_free close_receipt [18:00:32]json_value_free [18:00:32]json_value_free done [18:00:32]process_json_proto returns [18:00:32]Send response to host [18:00:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37973,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [18:00:32]free response buf [18:00:32]execute_script done [18:00:32]execute_script returns [18:00:32]free content buf [18:00:32]Sock 8.Close socket [18:00:32]Sock 8.Thread stoped [18:00:36]OFD Sender: No OFD packet to send [18:00:41]OFD Sender: No OFD packet to send [18:00:46]OFD Sender: No OFD packet to send [18:00:51]OFD Sender: No OFD packet to send [18:00:56]OFD Sender: No OFD packet to send [18:01:01]OFD Sender: No OFD packet to send [18:01:06]OFD Sender: No OFD packet to send [18:01:11]OFD Sender: No OFD packet to send [18:01:16]OFD Sender: No OFD packet to send [18:01:21]OFD Sender: No OFD packet to send [18:01:26]OFD Sender: No OFD packet to send [18:01:31]OFD Sender: No OFD packet to send [18:01:36]OFD Sender: No OFD packet to send [18:01:41]OFD Sender: No OFD packet to send [18:01:46]OFD Sender: No OFD packet to send [18:01:51]OFD Sender: No OFD packet to send [18:01:56]OFD Sender: No OFD packet to send [18:02:01]OFD Sender: No OFD packet to send [18:02:06]OFD Sender: No OFD packet to send [18:02:11]OFD Sender: No OFD packet to send [18:02:16]OFD Sender: No OFD packet to send [18:02:21]OFD Sender: No OFD packet to send [18:02:26]OFD Sender: No OFD packet to send [18:02:31]OFD Sender: No OFD packet to send [18:02:36]OFD Sender: No OFD packet to send [18:02:41]OFD Sender: No OFD packet to send [18:02:46]OFD Sender: No OFD packet to send [18:02:51]OFD Sender: No OFD packet to send [18:02:56]OFD Sender: No OFD packet to send [18:03:01]OFD Sender: No OFD packet to send [18:03:06]OFD Sender: No OFD packet to send [18:03:11]OFD Sender: No OFD packet to send [18:03:16]OFD Sender: No OFD packet to send [18:03:21]OFD Sender: No OFD packet to send [18:03:26]OFD Sender: No OFD packet to send [18:03:31]OFD Sender: No OFD packet to send [18:03:37]OFD Sender: No OFD packet to send [18:03:42]OFD Sender: No OFD packet to send [18:03:47]OFD Sender: No OFD packet to send [18:03:52]OFD Sender: No OFD packet to send [18:03:57]OFD Sender: No OFD packet to send [18:04:02]OFD Sender: No OFD packet to send [18:04:07]OFD Sender: No OFD packet to send [18:04:12]OFD Sender: No OFD packet to send [18:04:17]OFD Sender: No OFD packet to send [18:04:22]OFD Sender: No OFD packet to send [18:04:27]OFD Sender: No OFD packet to send [18:04:32]OFD Sender: No OFD packet to send [18:04:37]OFD Sender: No OFD packet to send [18:04:42]OFD Sender: No OFD packet to send [18:04:47]OFD Sender: No OFD packet to send [18:04:52]OFD Sender: No OFD packet to send [18:04:57]OFD Sender: No OFD packet to send [18:05:02]OFD Sender: No OFD packet to send [18:05:07]OFD Sender: No OFD packet to send [18:05:12]OFD Sender: No OFD packet to send [18:05:17]OFD Sender: No OFD packet to send [18:05:22]OFD Sender: No OFD packet to send [18:05:27]OFD Sender: No OFD packet to send [18:05:32]OFD Sender: No OFD packet to send [18:05:37]OFD Sender: No OFD packet to send [18:05:42]OFD Sender: No OFD packet to send [18:05:47]OFD Sender: No OFD packet to send [18:05:52]OFD Sender: No OFD packet to send [18:05:57]OFD Sender: No OFD packet to send [18:06:02]OFD Sender: No OFD packet to send [18:06:07]OFD Sender: No OFD packet to send [18:06:12]OFD Sender: No OFD packet to send [18:06:17]OFD Sender: No OFD packet to send [18:06:22]OFD Sender: No OFD packet to send [18:06:27]OFD Sender: No OFD packet to send [18:06:32]OFD Sender: No OFD packet to send [18:06:37]OFD Sender: No OFD packet to send [18:06:42]OFD Sender: No OFD packet to send [18:06:47]OFD Sender: No OFD packet to send [18:06:52]OFD Sender: No OFD packet to send [18:06:57]OFD Sender: No OFD packet to send [18:07:02]OFD Sender: No OFD packet to send [18:07:07]OFD Sender: No OFD packet to send [18:07:12]OFD Sender: No OFD packet to send [18:07:17]OFD Sender: No OFD packet to send [18:07:22]OFD Sender: No OFD packet to send [18:07:27]OFD Sender: No OFD packet to send [18:07:32]OFD Sender: No OFD packet to send [18:07:37]OFD Sender: No OFD packet to send [18:07:42]OFD Sender: No OFD packet to send [18:07:47]OFD Sender: No OFD packet to send [18:07:52]OFD Sender: No OFD packet to send [18:07:57]OFD Sender: No OFD packet to send [18:08:02]OFD Sender: No OFD packet to send [18:08:07]OFD Sender: No OFD packet to send [18:08:12]OFD Sender: No OFD packet to send [18:08:17]OFD Sender: No OFD packet to send [18:08:22]OFD Sender: No OFD packet to send [18:08:27]OFD Sender: No OFD packet to send [18:08:32]OFD Sender: No OFD packet to send [18:08:37]OFD Sender: No OFD packet to send [18:08:42]OFD Sender: No OFD packet to send [18:08:47]OFD Sender: No OFD packet to send [18:08:52]OFD Sender: No OFD packet to send [18:08:57]OFD Sender: No OFD packet to send [18:09:02]OFD Sender: No OFD packet to send [18:09:07]OFD Sender: No OFD packet to send [18:09:12]OFD Sender: No OFD packet to send [18:09:17]OFD Sender: No OFD packet to send [18:09:22]OFD Sender: No OFD packet to send [18:09:27]OFD Sender: No OFD packet to send [18:09:32]OFD Sender: No OFD packet to send [18:09:37]OFD Sender: No OFD packet to send [18:09:42]OFD Sender: No OFD packet to send [18:09:47]OFD Sender: No OFD packet to send [18:09:52]OFD Sender: No OFD packet to send [18:09:57]OFD Sender: No OFD packet to send [18:10:02]OFD Sender: No OFD packet to send [18:10:07]OFD Sender: No OFD packet to send [18:10:12]OFD Sender: No OFD packet to send [18:10:17]OFD Sender: No OFD packet to send [18:10:22]OFD Sender: No OFD packet to send [18:10:27]OFD Sender: No OFD packet to send [18:10:32]OFD Sender: No OFD packet to send [18:10:37]OFD Sender: No OFD packet to send [18:10:42]OFD Sender: No OFD packet to send [18:10:47]OFD Sender: No OFD packet to send [18:10:52]OFD Sender: No OFD packet to send [18:10:57]OFD Sender: No OFD packet to send [18:11:02]OFD Sender: No OFD packet to send [18:11:07]OFD Sender: No OFD packet to send [18:11:12]OFD Sender: No OFD packet to send [18:11:17]OFD Sender: No OFD packet to send [18:11:22]OFD Sender: No OFD packet to send [18:11:27]OFD Sender: No OFD packet to send [18:11:32]OFD Sender: No OFD packet to send [18:11:37]OFD Sender: No OFD packet to send [18:11:42]OFD Sender: No OFD packet to send [18:11:47]OFD Sender: No OFD packet to send [18:11:52]OFD Sender: No OFD packet to send [18:11:57]OFD Sender: No OFD packet to send [18:12:02]OFD Sender: No OFD packet to send [18:12:07]OFD Sender: No OFD packet to send [18:12:12]OFD Sender: No OFD packet to send [18:12:17]OFD Sender: No OFD packet to send [18:12:22]OFD Sender: No OFD packet to send [18:12:27]OFD Sender: No OFD packet to send [18:12:32]OFD Sender: No OFD packet to send [18:12:37]OFD Sender: No OFD packet to send [18:12:42]OFD Sender: No OFD packet to send [18:12:47]OFD Sender: No OFD packet to send [18:12:52]OFD Sender: No OFD packet to send [18:12:57]OFD Sender: No OFD packet to send [18:13:02]OFD Sender: No OFD packet to send [18:13:07]OFD Sender: No OFD packet to send [18:13:12]OFD Sender: No OFD packet to send [18:13:17]OFD Sender: No OFD packet to send [18:13:22]OFD Sender: No OFD packet to send [18:13:27]OFD Sender: No OFD packet to send [18:13:32]OFD Sender: No OFD packet to send [18:13:37]OFD Sender: No OFD packet to send [18:13:42]OFD Sender: No OFD packet to send [18:13:47]OFD Sender: No OFD packet to send [18:13:52]OFD Sender: No OFD packet to send [18:13:57]OFD Sender: No OFD packet to send [18:14:02]OFD Sender: No OFD packet to send [18:14:07]OFD Sender: No OFD packet to send [18:14:12]OFD Sender: No OFD packet to send [18:14:17]OFD Sender: No OFD packet to send [18:14:22]OFD Sender: No OFD packet to send [18:14:27]OFD Sender: No OFD packet to send [18:14:32]OFD Sender: No OFD packet to send [18:14:37]OFD Sender: No OFD packet to send [18:14:42]OFD Sender: No OFD packet to send [18:14:47]OFD Sender: No OFD packet to send [18:14:52]OFD Sender: No OFD packet to send [18:14:57]OFD Sender: No OFD packet to send [18:15:02]OFD Sender: No OFD packet to send [18:15:07]OFD Sender: No OFD packet to send [18:15:12]OFD Sender: No OFD packet to send [18:15:17]OFD Sender: No OFD packet to send [18:15:22]OFD Sender: No OFD packet to send [18:15:27]OFD Sender: No OFD packet to send [18:15:32]OFD Sender: No OFD packet to send [18:15:37]OFD Sender: No OFD packet to send [18:15:42]OFD Sender: No OFD packet to send [18:15:47]OFD Sender: No OFD packet to send [18:15:52]OFD Sender: No OFD packet to send [18:15:57]OFD Sender: No OFD packet to send [18:16:02]OFD Sender: No OFD packet to send [18:16:07]OFD Sender: No OFD packet to send [18:16:12]OFD Sender: No OFD packet to send [18:16:17]OFD Sender: No OFD packet to send [18:16:22]OFD Sender: No OFD packet to send [18:16:27]OFD Sender: No OFD packet to send [18:16:32]OFD Sender: No OFD packet to send [18:16:37]OFD Sender: No OFD packet to send [18:16:42]OFD Sender: No OFD packet to send [18:16:47]OFD Sender: No OFD packet to send [18:16:52]OFD Sender: No OFD packet to send [18:16:57]OFD Sender: No OFD packet to send [18:17:02]OFD Sender: No OFD packet to send [18:17:07]OFD Sender: No OFD packet to send [18:17:12]OFD Sender: No OFD packet to send [18:17:17]OFD Sender: No OFD packet to send [18:17:22]OFD Sender: No OFD packet to send [18:17:27]OFD Sender: No OFD packet to send [18:17:32]OFD Sender: No OFD packet to send [18:17:37]OFD Sender: No OFD packet to send [18:17:42]OFD Sender: No OFD packet to send [18:17:47]OFD Sender: No OFD packet to send [18:17:52]OFD Sender: No OFD packet to send [18:17:57]OFD Sender: No OFD packet to send [18:18:02]OFD Sender: No OFD packet to send [18:18:07]OFD Sender: No OFD packet to send [18:18:12]OFD Sender: No OFD packet to send [18:18:17]OFD Sender: No OFD packet to send [18:18:22]OFD Sender: No OFD packet to send [18:18:27]OFD Sender: No OFD packet to send [18:18:32]OFD Sender: No OFD packet to send [18:18:37]OFD Sender: No OFD packet to send [18:18:42]OFD Sender: No OFD packet to send [18:18:47]OFD Sender: No OFD packet to send [18:18:52]OFD Sender: No OFD packet to send [18:18:57]OFD Sender: No OFD packet to send [18:19:02]OFD Sender: No OFD packet to send [18:19: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: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:13]OFD Sender: No OFD packet to send [18:22:18]OFD Sender: No OFD packet to send [18:22:23]OFD Sender: No OFD packet to send [18:22:28]OFD Sender: No OFD packet to send [18:22:33]OFD Sender: No OFD packet to send [18:22:38]OFD Sender: No OFD packet to send [18:22:43]OFD Sender: No OFD packet to send [18:22:48]OFD Sender: No OFD packet to send [18:22:53]OFD Sender: No OFD packet to send [18:22:58]OFD Sender: No OFD packet to send [18:23:03]OFD Sender: No OFD packet to send [18:23:08]OFD Sender: No OFD packet to send [18:23:13]OFD Sender: No OFD packet to send [18:23:18]OFD Sender: No OFD packet to send [18:23:23]OFD Sender: No OFD packet to send [18:23:28]OFD Sender: No OFD packet to send [18:23:33]OFD Sender: No OFD packet to send [18:23:38]OFD Sender: No OFD packet to send [18:23:40]ConnectInit Can't connect to host [18:23:43]OFD Sender: No OFD packet to send [18:23:48]OFD Sender: No OFD packet to send [18:23:53]OFD Sender: No OFD packet to send [18:23:58]OFD Sender: No OFD packet to send [18:24:03]OFD Sender: No OFD packet to send [18:24:08]OFD Sender: No OFD packet to send [18:24:13]OFD Sender: No OFD packet to send [18:24:18]OFD Sender: No OFD packet to send [18:24:23]OFD Sender: No OFD packet to send [18:24:28]OFD Sender: No OFD packet to send [18:24:33]OFD Sender: No OFD packet to send [18:24:38]OFD Sender: No OFD packet to send [18:24:43]OFD Sender: No OFD packet to send [18:24:48]OFD Sender: No OFD packet to send [18:24:53]OFD Sender: No OFD packet to send [18:24:58]OFD Sender: No OFD packet to send [18:25:03]OFD Sender: No OFD packet to send [18:25:08]OFD Sender: No OFD packet to send [18:25:13]OFD Sender: No OFD packet to send [18:25:18]OFD Sender: No OFD packet to send [18:25:23]OFD Sender: No OFD packet to send [18:25:28]OFD Sender: No OFD packet to send [18:25:33]OFD Sender: No OFD packet to send [18:25:38]OFD Sender: No OFD packet to send [18:25:43]OFD Sender: No OFD packet to send [18:25:48]OFD Sender: No OFD packet to send [18:25:53]OFD Sender: No OFD packet to send [18:25:58]OFD Sender: No OFD packet to send [18:26:03]OFD Sender: No OFD packet to send [18:26:08]OFD Sender: No OFD packet to send [18:26:13]OFD Sender: No OFD packet to send [18:26:18]OFD Sender: No OFD packet to send [18:26:23]OFD Sender: No OFD packet to send [18:26:28]OFD Sender: No OFD packet to send [18:26:33]OFD Sender: No OFD packet to send [18:26:38]OFD Sender: No OFD packet to send [18:26:43]OFD Sender: No OFD packet to send [18:26:48]OFD Sender: No OFD packet to send [18:26:53]OFD Sender: No OFD packet to send [18:26:58]OFD Sender: No OFD packet to send [18:27:03]OFD Sender: No OFD packet to send [18:27:08]OFD Sender: No OFD packet to send [18:27:13]OFD Sender: No OFD packet to send [18:27:18]OFD Sender: No OFD packet to send [18:27:23]OFD Sender: No OFD packet to send [18:27:28]OFD Sender: No OFD packet to send [18:27:33]OFD Sender: No OFD packet to send [18:27:38]OFD Sender: No OFD packet to send [18:27:43]OFD Sender: No OFD packet to send [18:27:48]OFD Sender: No OFD packet to send [18:27:53]OFD Sender: No OFD packet to send [18:27:58]OFD Sender: No OFD packet to send [18:28:03]OFD Sender: No OFD packet to send [18:28:08]OFD Sender: No OFD packet to send [18:28:13]OFD Sender: No OFD packet to send [18:28:18]OFD Sender: No OFD packet to send [18:28:23]OFD Sender: No OFD packet to send [18:28:28]OFD Sender: No OFD packet to send [18:28:33]OFD Sender: No OFD packet to send [18:28:38]OFD Sender: No OFD packet to send [18:28:43]OFD Sender: No OFD packet to send [18:28:48]OFD Sender: No OFD packet to send [18:28:53]OFD Sender: No OFD packet to send [18:28:58]OFD Sender: No OFD packet to send [18:29:03]OFD Sender: No OFD packet to send [18:29:08]OFD Sender: No OFD packet to send [18:29:13]OFD Sender: No OFD packet to send [18:29:18]OFD Sender: No OFD packet to send [18:29:23]OFD Sender: No OFD packet to send [18:29:28]OFD Sender: No OFD packet to send [18:29:33]OFD Sender: No OFD packet to send [18:29:38]OFD Sender: No OFD packet to send [18:29:43]OFD Sender: No OFD packet to send [18:29:48]OFD Sender: No OFD packet to send [18:29:53]OFD Sender: No OFD packet to send [18:29:58]OFD Sender: No OFD packet to send [18:30:03]OFD Sender: No OFD packet to send [18:30:08]OFD Sender: No OFD packet to send [18:30:13]OFD Sender: No OFD packet to send [18:30:18]OFD Sender: No OFD packet to send [18:30:23]OFD Sender: No OFD packet to send [18:30:28]OFD Sender: No OFD packet to send [18:30:33]OFD Sender: No OFD packet to send [18:30:38]OFD Sender: No OFD packet to send [18:30:43]OFD Sender: No OFD packet to send [18:30:48]OFD Sender: No OFD packet to send [18:30:53]OFD Sender: No OFD packet to send [18:30:58]OFD Sender: No OFD packet to send [18:31:03]OFD Sender: No OFD packet to send [18:31:08]OFD Sender: No OFD packet to send [18:31:13]OFD Sender: No OFD packet to send [18:31:18]OFD Sender: No OFD packet to send [18:31:23]OFD Sender: No OFD packet to send [18:31:28]OFD Sender: No OFD packet to send [18:31:33]OFD Sender: No OFD packet to send [18:31:38]OFD Sender: No OFD packet to send [18:31:43]OFD Sender: No OFD packet to send [18:31:48]OFD Sender: No OFD packet to send [18:31:53]OFD Sender: No OFD packet to send [18:31:58]OFD Sender: No OFD packet to send [18:32:03]OFD Sender: No OFD packet to send [18:32:08]OFD Sender: No OFD packet to send [18:32:13]OFD Sender: No OFD packet to send [18:32:18]OFD Sender: No OFD packet to send [18:32:23]OFD Sender: No OFD packet to send [18:32:28]OFD Sender: No OFD packet to send [18:32:33]OFD Sender: No OFD packet to send [18:32:38]OFD Sender: No OFD packet to send [18:32:43]OFD Sender: No OFD packet to send [18:32:48]OFD Sender: No OFD packet to send [18:32:53]OFD Sender: No OFD packet to send [18:32:58]OFD Sender: No OFD packet to send [18:33:03]OFD Sender: No OFD packet to send [18:33:08]OFD Sender: No OFD packet to send [18:33:13]OFD Sender: No OFD packet to send [18:33:18]OFD Sender: No OFD packet to send [18:33:23]OFD Sender: No OFD packet to send [18:33:28]OFD Sender: No OFD packet to send [18:33:33]OFD Sender: No OFD packet to send [18:33:38]OFD Sender: No OFD packet to send [18:33:43]OFD Sender: No OFD packet to send [18:33:48]OFD Sender: No OFD packet to send [18:33:53]OFD Sender: No OFD packet to send [18:33:58]OFD Sender: No OFD packet to send [18:34:03]OFD Sender: No OFD packet to send [18:34:08]OFD Sender: No OFD packet to send [18:34:13]OFD Sender: No OFD packet to send [18:34:18]OFD Sender: No OFD packet to send [18:34:23]OFD Sender: No OFD packet to send [18:34:28]OFD Sender: No OFD packet to send [18:34:33]OFD Sender: No OFD packet to send [18:34:38]OFD Sender: No OFD packet to send [18:34:43]OFD Sender: No OFD packet to send [18:34:48]OFD Sender: No OFD packet to send [18:34:53]OFD Sender: No OFD packet to send [18:34:58]OFD Sender: No OFD packet to send [18:35:03]OFD Sender: No OFD packet to send [18:35:08]OFD Sender: No OFD packet to send [18:35:13]OFD Sender: No OFD packet to send [18:35:18]OFD Sender: No OFD packet to send [18:35:23]OFD Sender: No OFD packet to send [18:35:28]OFD Sender: No OFD packet to send [18:35:33]OFD Sender: No OFD packet to send [18:35:38]OFD Sender: No OFD packet to send [18:35:43]OFD Sender: No OFD packet to send [18:35:48]OFD Sender: No OFD packet to send [18:35:53]OFD Sender: No OFD packet to send [18:35:58]OFD Sender: No OFD packet to send [18:36:03]OFD Sender: No OFD packet to send [18:36:08]OFD Sender: No OFD packet to send [18:36:13]OFD Sender: No OFD packet to send [18:36:18]OFD Sender: No OFD packet to send [18:36:23]OFD Sender: No OFD packet to send [18:36:28]OFD Sender: No OFD packet to send [18:36:33]OFD Sender: No OFD packet to send [18:36:38]OFD Sender: No OFD packet to send [18:36:43]OFD Sender: No OFD packet to send [18:36:48]OFD Sender: No OFD packet to send [18:36:53]OFD Sender: No OFD packet to send [18:36:58]OFD Sender: No OFD packet to send [18:37:03]OFD Sender: No OFD packet to send [18:37:08]OFD Sender: No OFD packet to send [18:37:13]OFD Sender: No OFD packet to send [18:37:18]OFD Sender: No OFD packet to send [18:37:23]OFD Sender: No OFD packet to send [18:37:28]OFD Sender: No OFD packet to send [18:37:33]OFD Sender: No OFD packet to send [18:37:38]OFD Sender: No OFD packet to send [18:37:43]OFD Sender: No OFD packet to send [18:37:48]OFD Sender: No OFD packet to send [18:37:53]OFD Sender: No OFD packet to send [18:37:58]OFD Sender: No OFD packet to send [18:38:03]OFD Sender: No OFD packet to send [18:38:08]OFD Sender: No OFD packet to send [18:38:13]OFD Sender: No OFD packet to send [18:38:18]OFD Sender: No OFD packet to send [18:38:23]OFD Sender: No OFD packet to send [18:38:28]OFD Sender: No OFD packet to send [18:38:33]OFD Sender: No OFD packet to send [18:38:38]OFD Sender: No OFD packet to send [18:38:43]OFD Sender: No OFD packet to send [18:38:48]OFD Sender: No OFD packet to send [18:38:53]OFD Sender: No OFD packet to send [18:38:58]OFD Sender: No OFD packet to send [18:39:03]OFD Sender: No OFD packet to send [18:39:08]OFD Sender: No OFD packet to send [18:39:13]OFD Sender: No OFD packet to send [18:39:18]OFD Sender: No OFD packet to send [18:39:23]OFD Sender: No OFD packet to send [18:39:28]OFD Sender: No OFD packet to send [18:39:33]OFD Sender: No OFD packet to send [18:39:38]OFD Sender: No OFD packet to send [18:39:43]OFD Sender: No OFD packet to send [18:39:48]OFD Sender: No OFD packet to send [18:39:53]OFD Sender: No OFD packet to send [18:39:58]OFD Sender: No OFD packet to send [18:40:03]OFD Sender: No OFD packet to send [18:40:08]OFD Sender: No OFD packet to send [18:40:13]OFD Sender: No OFD packet to send [18:40:18]OFD Sender: No OFD packet to send [18:40:23]OFD Sender: No OFD packet to send [18:40:28]OFD Sender: No OFD packet to send [18:40:33]OFD Sender: No OFD packet to send [18:40:38]OFD Sender: No OFD packet to send [18:40:43]OFD Sender: No OFD packet to send [18:40:48]OFD Sender: No OFD packet to send [18:40:54]OFD Sender: No OFD packet to send [18:40:59]OFD Sender: No OFD packet to send [18:41:04]OFD Sender: No OFD packet to send [18:41:09]OFD Sender: No OFD packet to send [18:41:14]OFD Sender: No OFD packet to send [18:41:19]OFD Sender: No OFD packet to send [18:41:24]OFD Sender: No OFD packet to send [18:41:29]OFD Sender: No OFD packet to send [18:41:34]OFD Sender: No OFD packet to send [18:41:39]OFD Sender: No OFD packet to send [18:41:44]OFD Sender: No OFD packet to send [18:41:49]OFD Sender: No OFD packet to send [18:41:54]OFD Sender: No OFD packet to send [18:41:59]OFD Sender: No OFD packet to send [18:42:04]OFD Sender: No OFD packet to send [18:42:09]OFD Sender: No OFD packet to send [18:42:14]OFD Sender: No OFD packet to send [18:42:19]OFD Sender: No OFD packet to send [18:42:24]OFD Sender: No OFD packet to send [18:42:29]OFD Sender: No OFD packet to send [18:42:34]OFD Sender: No OFD packet to send [18:42:39]OFD Sender: No OFD packet to send [18:42:44]OFD Sender: No OFD packet to send [18:42:49]OFD Sender: No OFD packet to send [18:42:54]OFD Sender: No OFD packet to send [18:42:59]OFD Sender: No OFD packet to send [18:43:04]OFD Sender: No OFD packet to send [18:43:09]OFD Sender: No OFD packet to send [18:43:14]OFD Sender: No OFD packet to send [18:43:19]OFD Sender: No OFD packet to send [18:43:24]OFD Sender: No OFD packet to send [18:43:29]OFD Sender: No OFD packet to send [18:43:34]OFD Sender: No OFD packet to send [18:43:39]OFD Sender: No OFD packet to send [18:43:44]OFD Sender: No OFD packet to send [18:43:49]OFD Sender: No OFD packet to send [18:43:54]OFD Sender: No OFD packet to send [18:43:59]OFD Sender: No OFD packet to send [18:44:04]OFD Sender: No OFD packet to send [18:44:09]OFD Sender: No OFD packet to send [18:44:14]OFD Sender: No OFD packet to send [18:44:19]OFD Sender: No OFD packet to send [18:44:24]OFD Sender: No OFD packet to send [18:44:29]OFD Sender: No OFD packet to send [18:44:34]OFD Sender: No OFD packet to send [18:44:39]OFD Sender: No OFD packet to send [18:44:44]OFD Sender: No OFD packet to send [18:44:49]OFD Sender: No OFD packet to send [18:44:54]OFD Sender: No OFD packet to send [18:44:59]OFD Sender: No OFD packet to send [18:45:04]OFD Sender: No OFD packet to send [18:45:09]OFD Sender: No OFD packet to send [18:45:14]OFD Sender: No OFD packet to send [18:45:19]OFD Sender: No OFD packet to send [18:45:24]OFD Sender: No OFD packet to send [18:45:29]OFD Sender: No OFD packet to send [18:45:34]OFD Sender: No OFD packet to send [18:45:39]OFD Sender: No OFD packet to send [18:45:44]OFD Sender: No OFD packet to send [18:45:49]OFD Sender: No OFD packet to send [18:45:54]OFD Sender: No OFD packet to send [18:45:59]OFD Sender: No OFD packet to send [18:46:04]OFD Sender: No OFD packet to send [18:46:09]OFD Sender: No OFD packet to send [18:46:14]OFD Sender: No OFD packet to send [18:46:19]OFD Sender: No OFD packet to send [18:46:24]OFD Sender: No OFD packet to send [18:46:29]OFD Sender: No OFD packet to send [18:46:34]OFD Sender: No OFD packet to send [18:46:39]OFD Sender: No OFD packet to send [18:46:44]OFD Sender: No OFD packet to send [18:46:49]OFD Sender: No OFD packet to send [18:46:54]OFD Sender: No OFD packet to send [18:46:59]OFD Sender: No OFD packet to send [18:47:04]OFD Sender: No OFD packet to send [18:47:09]OFD Sender: No OFD packet to send [18:47:14]OFD Sender: No OFD packet to send [18:47:19]OFD Sender: No OFD packet to send [18:47:24]OFD Sender: No OFD packet to send [18:47:29]OFD Sender: No OFD packet to send [18:47:34]OFD Sender: No OFD packet to send [18:47:39]OFD Sender: No OFD packet to send [18:47:44]OFD Sender: No OFD packet to send [18:47:49]OFD Sender: No OFD packet to send [18:47:54]OFD Sender: No OFD packet to send [18:47:59]OFD Sender: No OFD packet to send [18:48:04]OFD Sender: No OFD packet to send [18:48:09]OFD Sender: No OFD packet to send [18:48:14]OFD Sender: No OFD packet to send [18:48:19]OFD Sender: No OFD packet to send [18:48:24]OFD Sender: No OFD packet to send [18:48:29]OFD Sender: No OFD packet to send [18:48:34]OFD Sender: No OFD packet to send [18:48:39]OFD Sender: No OFD packet to send [18:48:44]OFD Sender: No OFD packet to send [18:48:49]OFD Sender: No OFD packet to send [18:48:54]OFD Sender: No OFD packet to send [18:48:59]OFD Sender: No OFD packet to send [18:49:04]OFD Sender: No OFD packet to send [18:49:09]OFD Sender: No OFD packet to send [18:49:14]OFD Sender: No OFD packet to send [18:49:19]OFD Sender: No OFD packet to send [18:49:24]OFD Sender: No OFD packet to send [18:49:29]OFD Sender: No OFD packet to send [18:49:34]OFD Sender: No OFD packet to send [18:49:39]OFD Sender: No OFD packet to send [18:49:44]OFD Sender: No OFD packet to send [18:49:49]OFD Sender: No OFD packet to send [18:49:54]OFD Sender: No OFD packet to send [18:49:59]OFD Sender: No OFD packet to send [18:50:04]OFD Sender: No OFD packet to send [18:50:09]OFD Sender: No OFD packet to send [18:50:14]OFD Sender: No OFD packet to send [18:50:19]OFD Sender: No OFD packet to send [18:50:24]OFD Sender: No OFD packet to send [18:50:29]OFD Sender: No OFD packet to send [18:50:34]OFD Sender: No OFD packet to send [18:50:39]OFD Sender: No OFD packet to send [18:50:44]OFD Sender: No OFD packet to send [18:50:49]OFD Sender: No OFD packet to send [18:50:54]OFD Sender: No OFD packet to send [18:50:59]OFD Sender: No OFD packet to send [18:51:04]OFD Sender: No OFD packet to send [18:51:09]OFD Sender: No OFD packet to send [18:51:14]OFD Sender: No OFD packet to send [18:51:19]OFD Sender: No OFD packet to send [18:51:24]OFD Sender: No OFD packet to send [18:51:29]OFD Sender: No OFD packet to send [18:51:34]OFD Sender: No OFD packet to send [18:51:39]OFD Sender: No OFD packet to send [18:51:44]OFD Sender: No OFD packet to send [18:51:49]OFD Sender: No OFD packet to send [18:51:54]OFD Sender: No OFD packet to send [18:51:59]OFD Sender: No OFD packet to send [18:52:04]OFD Sender: No OFD packet to send [18:52:09]OFD Sender: No OFD packet to send [18:52:14]OFD Sender: No OFD packet to send [18:52:19]OFD Sender: No OFD packet to send [18:52:24]OFD Sender: No OFD packet to send [18:52:29]OFD Sender: No OFD packet to send [18:52:34]OFD Sender: No OFD packet to send [18:52:39]OFD Sender: No OFD packet to send [18:52:44]OFD Sender: No OFD packet to send [18:52:49]OFD Sender: No OFD packet to send [18:52:54]OFD Sender: No OFD packet to send [18:52:59]OFD Sender: No OFD packet to send [18:53:04]OFD Sender: No OFD packet to send [18:53:09]OFD Sender: No OFD packet to send [18:53:14]OFD Sender: No OFD packet to send [18:53:19]OFD Sender: No OFD packet to send [18:53:24]OFD Sender: No OFD packet to send [18:53:29]OFD Sender: No OFD packet to send [18:53:34]OFD Sender: No OFD packet to send [18:53:39]OFD Sender: No OFD packet to send [18:53:44]OFD Sender: No OFD packet to send [18:53:49]OFD Sender: No OFD packet to send [18:53:54]OFD Sender: No OFD packet to send [18:53:59]OFD Sender: No OFD packet to send [18:54:04]OFD Sender: No OFD packet to send [18:54:09]OFD Sender: No OFD packet to send [18:54:14]OFD Sender: No OFD packet to send [18:54:19]OFD Sender: No OFD packet to send [18:54:24]OFD Sender: No OFD packet to send [18:54:29]OFD Sender: No OFD packet to send [18:54:34]OFD Sender: No OFD packet to send [18:54:39]OFD Sender: No OFD packet to send [18:54:44]OFD Sender: No OFD packet to send [18:54:49]OFD Sender: No OFD packet to send [18:54:54]OFD Sender: No OFD packet to send [18:54:59]OFD Sender: No OFD packet to send [18:55:04]OFD Sender: No OFD packet to send [18:55:09]OFD Sender: No OFD packet to send [18:55:14]OFD Sender: No OFD packet to send [18:55:19]OFD Sender: No OFD packet to send [18:55:24]OFD Sender: No OFD packet to send [18:55:29]OFD Sender: No OFD packet to send [18:55:34]OFD Sender: No OFD packet to send [18:55:39]OFD Sender: No OFD packet to send [18:55:44]OFD Sender: No OFD packet to send [18:55:49]OFD Sender: No OFD packet to send [18:55:54]OFD Sender: No OFD packet to send [18:55:59]OFD Sender: No OFD packet to send [18:56:04]OFD Sender: No OFD packet to send [18:56:09]OFD Sender: No OFD packet to send [18:56:14]OFD Sender: No OFD packet to send [18:56:19]OFD Sender: No OFD packet to send [18:56:24]OFD Sender: No OFD packet to send [18:56:29]OFD Sender: No OFD packet to send [18:56:34]OFD Sender: No OFD packet to send [18:56:39]OFD Sender: No OFD packet to send [18:56:44]OFD Sender: No OFD packet to send [18:56:49]OFD Sender: No OFD packet to send [18:56:54]OFD Sender: No OFD packet to send [18:56:59]OFD Sender: No OFD packet to send [18:57:04]OFD Sender: No OFD packet to send [18:57:09]OFD Sender: No OFD packet to send [18:57:14]OFD Sender: No OFD packet to send [18:57:19]OFD Sender: No OFD packet to send [18:57:24]OFD Sender: No OFD packet to send [18:57:29]OFD Sender: No OFD packet to send [18:57:34]OFD Sender: No OFD packet to send [18:57:39]OFD Sender: No OFD packet to send [18:57:44]OFD Sender: No OFD packet to send [18:57:49]OFD Sender: No OFD packet to send [18:57:54]OFD Sender: No OFD packet to send [18:57:59]OFD Sender: No OFD packet to send [18:58:04]OFD Sender: No OFD packet to send [18:58:09]OFD Sender: No OFD packet to send [18:58:14]OFD Sender: No OFD packet to send [18:58:19]OFD Sender: No OFD packet to send [18:58:24]OFD Sender: No OFD packet to send [18:58:29]OFD Sender: No OFD packet to send [18:58:34]OFD Sender: No OFD packet to send [18:58:39]OFD Sender: No OFD packet to send [18:58:44]OFD Sender: No OFD packet to send [18:58:49]OFD Sender: No OFD packet to send [18:58:54]OFD Sender: No OFD packet to send [18:58:59]OFD Sender: No OFD packet to send [18:59:04]OFD Sender: No OFD packet to send [18:59:09]OFD Sender: No OFD packet to send [18:59:14]OFD Sender: No OFD packet to send [18:59:19]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:15]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:55]OFD Sender: No OFD packet to send [19:10:00]OFD Sender: No OFD packet to send [19:10:05]OFD Sender: No OFD packet to send [19:10:10]OFD Sender: No OFD packet to send [19:10:15]OFD Sender: No OFD packet to send [19:10:20]OFD Sender: No OFD packet to send [19:10:25]OFD Sender: No OFD packet to send [19:10:30]OFD Sender: No OFD packet to send [19:10:35]OFD Sender: No OFD packet to send [19:10:40]OFD Sender: No OFD packet to send [19:10:45]OFD Sender: No OFD packet to send [19:10:50]OFD Sender: No OFD packet to send [19:10:55]OFD Sender: No OFD packet to send [19:11:00]OFD Sender: No OFD packet to send [19:11:05]OFD Sender: No OFD packet to send [19:11:10]OFD Sender: No OFD packet to send [19:11:15]OFD Sender: No OFD packet to send [19:11:20]OFD Sender: No OFD packet to send [19:11:25]OFD Sender: No OFD packet to send [19:11:30]OFD Sender: No OFD packet to send [19:11:35]OFD Sender: No OFD packet to send [19:11:40]OFD Sender: No OFD packet to send [19:11:45]OFD Sender: No OFD packet to send [19:11:50]OFD Sender: No OFD packet to send [19:11:55]OFD Sender: No OFD packet to send [19:12:00]OFD Sender: No OFD packet to send [19:12:05]OFD Sender: No OFD packet to send [19:12:10]OFD Sender: No OFD packet to send [19:12:15]OFD Sender: No OFD packet to send [19:12:20]OFD Sender: No OFD packet to send [19:12:25]OFD Sender: No OFD packet to send [19:12:30]OFD Sender: No OFD packet to send [19:12:35]OFD Sender: No OFD packet to send [19:12:40]OFD Sender: No OFD packet to send [19:12:45]OFD Sender: No OFD packet to send [19:12:50]OFD Sender: No OFD packet to send [19:12:55]OFD Sender: No OFD packet to send [19:13:00]OFD Sender: No OFD packet to send [19:13:05]OFD Sender: No OFD packet to send [19:13:10]OFD Sender: No OFD packet to send [19:13:15]OFD Sender: No OFD packet to send [19:13:20]OFD Sender: No OFD packet to send [19:13:25]OFD Sender: No OFD packet to send [19:13:30]OFD Sender: No OFD packet to send [19:13:35]OFD Sender: No OFD packet to send [19:13:40]OFD Sender: No OFD packet to send [19:13:45]OFD Sender: No OFD packet to send [19:13:50]OFD Sender: No OFD packet to send [19:13:55]OFD Sender: No OFD packet to send [19:14:00]OFD Sender: No OFD packet to send [19:14:05]OFD Sender: No OFD packet to send [19:14:10]OFD Sender: No OFD packet to send [19:14:15]OFD Sender: No OFD packet to send [19:14:20]OFD Sender: No OFD packet to send [19:14:25]OFD Sender: No OFD packet to send [19:14:30]OFD Sender: No OFD packet to send [19:14:35]OFD Sender: No OFD packet to send [19:14:40]OFD Sender: No OFD packet to send [19:14:45]OFD Sender: No OFD packet to send [19:14:50]OFD Sender: No OFD packet to send [19:14:55]OFD Sender: No OFD packet to send [19:15:00]OFD Sender: No OFD packet to send [19:15:05]OFD Sender: No OFD packet to send [19:15:10]OFD Sender: No OFD packet to send [19:15:15]OFD Sender: No OFD packet to send [19:15:20]OFD Sender: No OFD packet to send [19:15:25]OFD Sender: No OFD packet to send [19:15:30]OFD Sender: No OFD packet to send [19:15:35]OFD Sender: No OFD packet to send [19:15:40]OFD Sender: No OFD packet to send [19:15:45]OFD Sender: No OFD packet to send [19:15:50]OFD Sender: No OFD packet to send [19:15:55]OFD Sender: No OFD packet to send [19:16:00]OFD Sender: No OFD packet to send [19:16:05]OFD Sender: No OFD packet to send [19:16:10]OFD Sender: No OFD packet to send [19:16:15]OFD Sender: No OFD packet to send [19:16:20]OFD Sender: No OFD packet to send [19:16:25]OFD Sender: No OFD packet to send [19:16:30]OFD Sender: No OFD packet to send [19:16:35]OFD Sender: No OFD packet to send [19:16:40]OFD Sender: No OFD packet to send [19:16:45]OFD Sender: No OFD packet to send [19:16:50]OFD Sender: No OFD packet to send [19:16:55]OFD Sender: No OFD packet to send [19:17:00]OFD Sender: No OFD packet to send [19:17:05]OFD Sender: No OFD packet to send [19:17:10]OFD Sender: No OFD packet to send [19:17:15]OFD Sender: No OFD packet to send [19:17:20]OFD Sender: No OFD packet to send [19:17:25]OFD Sender: No OFD packet to send [19:17:30]OFD Sender: No OFD packet to send [19:17:35]OFD Sender: No OFD packet to send [19:17:40]OFD Sender: No OFD packet to send [19:17:45]OFD Sender: No OFD packet to send [19:17:50]OFD Sender: No OFD packet to send [19:17:55]OFD Sender: No OFD packet to send [19:18:01]OFD Sender: No OFD packet to send [19:18:06]OFD Sender: No OFD packet to send [19:18:11]OFD Sender: No OFD packet to send [19:18:16]OFD Sender: No OFD packet to send [19:18:21]OFD Sender: No OFD packet to send [19:18:26]OFD Sender: No OFD packet to send [19:18:31]OFD Sender: No OFD packet to send [19:18:36]OFD Sender: No OFD packet to send [19:18:41]OFD Sender: No OFD packet to send [19:18:46]OFD Sender: No OFD packet to send [19:18:51]OFD Sender: No OFD packet to send [19:18:56]OFD Sender: No OFD packet to send [19:19:01]OFD Sender: No OFD packet to send [19:19:06]OFD Sender: No OFD packet to send [19:19:11]OFD Sender: No OFD packet to send [19:19:16]OFD Sender: No OFD packet to send [19:19:21]OFD Sender: No OFD packet to send [19:19:26]OFD Sender: No OFD packet to send [19:19:31]OFD Sender: No OFD packet to send [19:19:36]OFD Sender: No OFD packet to send [19:19:41]OFD Sender: No OFD packet to send [19:19:46]OFD Sender: No OFD packet to send [19:19:51]OFD Sender: No OFD packet to send [19:19:56]OFD Sender: No OFD packet to send [19:20:01]OFD Sender: No OFD packet to send [19:20:06]OFD Sender: No OFD packet to send [19:20:11]OFD Sender: No OFD packet to send [19:20:16]OFD Sender: No OFD packet to send [19:20:21]OFD Sender: No OFD packet to send [19:20:26]OFD Sender: No OFD packet to send [19:20:31]OFD Sender: No OFD packet to send [19:20:36]OFD Sender: No OFD packet to send [19:20:41]OFD Sender: No OFD packet to send [19:20:46]OFD Sender: No OFD packet to send [19:20:51]OFD Sender: No OFD packet to send [19:20:56]OFD Sender: No OFD packet to send [19:21:01]OFD Sender: No OFD packet to send [19:21:06]OFD Sender: No OFD packet to send [19:21:11]OFD Sender: No OFD packet to send [19:21:16]OFD Sender: No OFD packet to send [19:21:21]OFD Sender: No OFD packet to send [19:21:26]OFD Sender: No OFD packet to send [19:21:31]OFD Sender: No OFD packet to send [19:21:36]OFD Sender: No OFD packet to send [19:21:41]OFD Sender: No OFD packet to send [19:21:46]OFD Sender: No OFD packet to send [19:21:51]OFD Sender: No OFD packet to send [19:21:56]OFD Sender: No OFD packet to send [19:22:01]OFD Sender: No OFD packet to send [19:22:06]OFD Sender: No OFD packet to send [19:22:11]OFD Sender: No OFD packet to send [19:22:16]OFD Sender: No OFD packet to send [19:22:21]OFD Sender: No OFD packet to send [19:22:26]OFD Sender: No OFD packet to send [19:22:31]OFD Sender: No OFD packet to send [19:22:36]OFD Sender: No OFD packet to send [19:22:41]OFD Sender: No OFD packet to send [19:22:46]OFD Sender: No OFD packet to send [19:22:51]OFD Sender: No OFD packet to send [19:22:56]OFD Sender: No OFD packet to send [19:23:01]OFD Sender: No OFD packet to send [19:23:06]OFD Sender: No OFD packet to send [19:23:11]OFD Sender: No OFD packet to send [19:23:16]OFD Sender: No OFD packet to send [19:23:21]OFD Sender: No OFD packet to send [19:23:26]OFD Sender: No OFD packet to send [19:23:31]OFD Sender: No OFD packet to send [19:23:36]OFD Sender: No OFD packet to send [19:23:41]OFD Sender: No OFD packet to send [19:23:46]OFD Sender: No OFD packet to send [19:23:51]OFD Sender: No OFD packet to send [19:23:56]OFD Sender: No OFD packet to send [19:24:01]OFD Sender: No OFD packet to send [19:24:06]OFD Sender: No OFD packet to send [19:24:11]OFD Sender: No OFD packet to send [19:24:16]OFD Sender: No OFD packet to send [19:24:21]OFD Sender: No OFD packet to send [19:24:26]OFD Sender: No OFD packet to send [19:24:31]OFD Sender: No OFD packet to send [19:24:36]OFD Sender: No OFD packet to send [19:24:41]OFD Sender: No OFD packet to send [19:24:46]OFD Sender: No OFD packet to send [19:24:51]OFD Sender: No OFD packet to send [19:24:56]OFD Sender: No OFD packet to send [19:25:01]OFD Sender: No OFD packet to send [19:25:06]OFD Sender: No OFD packet to send [19:25:11]OFD Sender: No OFD packet to send [19:25:16]OFD Sender: No OFD packet to send [19:25:21]OFD Sender: No OFD packet to send [19:25:26]OFD Sender: No OFD packet to send [19:25:31]OFD Sender: No OFD packet to send [19:25:36]OFD Sender: No OFD packet to send [19:25:41]OFD Sender: No OFD packet to send [19:25:46]OFD Sender: No OFD packet to send [19:25:51]OFD Sender: No OFD packet to send [19:25:56]OFD Sender: No OFD packet to send [19:26:01]OFD Sender: No OFD packet to send [19:26:06]OFD Sender: No OFD packet to send [19:26:11]OFD Sender: No OFD packet to send [19:26:16]OFD Sender: No OFD packet to send [19:26:21]OFD Sender: No OFD packet to send [19:26:26]OFD Sender: No OFD packet to send [19:26:31]OFD Sender: No OFD packet to send [19:26:36]OFD Sender: No OFD packet to send [19:26:41]OFD Sender: No OFD packet to send [19:26:46]OFD Sender: No OFD packet to send [19:26:51]OFD Sender: No OFD packet to send [19:26:56]OFD Sender: No OFD packet to send [19:27:01]OFD Sender: No OFD packet to send [19:27:06]OFD Sender: No OFD packet to send [19:27:11]OFD Sender: No OFD packet to send [19:27:16]OFD Sender: No OFD packet to send [19:27:21]OFD Sender: No OFD packet to send [19:27:26]OFD Sender: No OFD packet to send [19:27:31]OFD Sender: No OFD packet to send [19:27:36]OFD Sender: No OFD packet to send [19:27:41]OFD Sender: No OFD packet to send [19:27:46]OFD Sender: No OFD packet to send [19:27:51]OFD Sender: No OFD packet to send [19:27:56]OFD Sender: No OFD packet to send [19:28:01]OFD Sender: No OFD packet to send [19:28:06]OFD Sender: No OFD packet to send [19:28:11]OFD Sender: No OFD packet to send [19:28:16]OFD Sender: No OFD packet to send [19:28:21]OFD Sender: No OFD packet to send [19:28:26]OFD Sender: No OFD packet to send [19:28:31]OFD Sender: No OFD packet to send [19:28:36]OFD Sender: No OFD packet to send [19:28:41]OFD Sender: No OFD packet to send [19:28:46]OFD Sender: No OFD packet to send [19:28:51]OFD Sender: No OFD packet to send [19:28:56]OFD Sender: No OFD packet to send [19:29:01]OFD Sender: No OFD packet to send [19:29:06]OFD Sender: No OFD packet to send [19:29:11]OFD Sender: No OFD packet to send [19:29:16]OFD Sender: No OFD packet to send [19:29:21]OFD Sender: No OFD packet to send [19:29:26]OFD Sender: No OFD packet to send [19:29:31]OFD Sender: No OFD packet to send [19:29:36]OFD Sender: No OFD packet to send [19:29:41]OFD Sender: No OFD packet to send [19:29:46]OFD Sender: No OFD packet to send [19:29:51]OFD Sender: No OFD packet to send [19:29:56]OFD Sender: No OFD packet to send [19:30:01]OFD Sender: No OFD packet to send [19:30:06]OFD Sender: No OFD packet to send [19:30:11]OFD Sender: No OFD packet to send [19:30:16]OFD Sender: No OFD packet to send [19:30:21]OFD Sender: No OFD packet to send [19:30:26]OFD Sender: No OFD packet to send [19:30:31]OFD Sender: No OFD packet to send [19:30:36]OFD Sender: No OFD packet to send [19:30:41]OFD Sender: No OFD packet to send [19:30:46]OFD Sender: No OFD packet to send [19:30:51]OFD Sender: No OFD packet to send [19:30:56]OFD Sender: No OFD packet to send [19:31:01]OFD Sender: No OFD packet to send [19:31:06]OFD Sender: No OFD packet to send [19:31:11]OFD Sender: No OFD packet to send [19:31:16]OFD Sender: No OFD packet to send [19:31:21]OFD Sender: No OFD packet to send [19:31:26]OFD Sender: No OFD packet to send [19:31:31]OFD Sender: No OFD packet to send [19:31:36]OFD Sender: No OFD packet to send [19:31:41]OFD Sender: No OFD packet to send [19:31:46]OFD Sender: No OFD packet to send [19:31:51]OFD Sender: No OFD packet to send [19:31:56]OFD Sender: No OFD packet to send [19:32:01]OFD Sender: No OFD packet to send [19:32:06]OFD Sender: No OFD packet to send [19:32:11]OFD Sender: No OFD packet to send [19:32:16]OFD Sender: No OFD packet to send [19:32:21]OFD Sender: No OFD packet to send [19:32:26]OFD Sender: No OFD packet to send [19:32:31]OFD Sender: No OFD packet to send [19:32:36]OFD Sender: No OFD packet to send [19:32:41]OFD Sender: No OFD packet to send [19:32:46]OFD Sender: No OFD packet to send [19:32:51]OFD Sender: No OFD packet to send [19:32:56]OFD Sender: No OFD packet to send [19:33:01]OFD Sender: No OFD packet to send [19:33:06]OFD Sender: No OFD packet to send [19:33:11]OFD Sender: No OFD packet to send [19:33:16]OFD Sender: No OFD packet to send [19:33:21]OFD Sender: No OFD packet to send [19:33:26]OFD Sender: No OFD packet to send [19:33:31]OFD Sender: No OFD packet to send [19:33:36]OFD Sender: No OFD packet to send [19:33:41]OFD Sender: No OFD packet to send [19:33:46]OFD Sender: No OFD packet to send [19:33:51]OFD Sender: No OFD packet to send [19:33:56]OFD Sender: No OFD packet to send [19:34:01]OFD Sender: No OFD packet to send [19:34:06]OFD Sender: No OFD packet to send [19:34:11]OFD Sender: No OFD packet to send [19:34:16]OFD Sender: No OFD packet to send [19:34:21]OFD Sender: No OFD packet to send [19:34:26]OFD Sender: No OFD packet to send [19:34:31]OFD Sender: No OFD packet to send [19:34:36]OFD Sender: No OFD packet to send [19:34:41]OFD Sender: No OFD packet to send [19:34:46]OFD Sender: No OFD packet to send [19:34:51]OFD Sender: No OFD packet to send [19:34:56]OFD Sender: No OFD packet to send [19:34:57]recv_with_timeout no data received [19:35:01]OFD Sender: No OFD packet to send [19:35:06]OFD Sender: No OFD packet to send [19:35:11]OFD Sender: No OFD packet to send [19:35:16]OFD Sender: No OFD packet to send [19:35:21]OFD Sender: No OFD packet to send [19:35:26]OFD Sender: No OFD packet to send [19:35:31]OFD Sender: No OFD packet to send [19:35:36]OFD Sender: No OFD packet to send [19:35:41]OFD Sender: No OFD packet to send [19:35:46]OFD Sender: No OFD packet to send [19:35:51]OFD Sender: No OFD packet to send [19:35:56]OFD Sender: No OFD packet to send [19:36:01]OFD Sender: No OFD packet to send [19:36:06]OFD Sender: No OFD packet to send [19:36:11]OFD Sender: No OFD packet to send [19:36:16]OFD Sender: No OFD packet to send [19:36:18]accept exits with 9 [19:36:18]New connection [19:36:18]New thread 3067432292 created [19:36:18]Thread 3067288932 joined [19:36:18]Waiting for new connection... [19:36:18] Sock 9.Parse request [19:36:18]Sock 9.Check first char [19:36:18]Sock 9.First char is OK [19:36:18]request: POST /json_proto HTTP/1.0 [19:36:18]Method: POST [19:36:18]URL: /json_proto [19:36:18]Method is POST - this is cgi request [19:36:18]url: /json_proto [19:36:18]query_string will be loaded in cgi processing [19:36:18]execute_cgi json_proto POST (null) [19:36:18]execute_cgi path=json_proto method=POST [19:36:18]POST find Content-Length [19:36:18]Host: 172.17.40.196:8080 [19:36:18]Content-Length: 648 [19:36:18]Content-Type: application/json [19:36:18] [19:36:18]POST finish read [19:36:18]Found Content-Length = 648 [19:36:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35273", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:36:18]execute_script... [19:36:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35273", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:36:18]POST & json_proto [19:36:18]process_json_proto [19:36:18]json parsed OK: [19:36:18]protocol is kg_v1.0 [19:36:18]action value=close_receipt [19:36:18]process_action close_receipt [19:36:18]cmd_close_receipt [19:36:18]MH_GetDate [19:36:18]Write to MH i2c: F0 00 00 90 03 82 [19:36:18]Write i2c OK [19:36:18]MH_I2C_Read... [19:36:18]Read from MH i2c: F0 [19:36:18]MH_I2C_Read... [19:36:18]Read from MH i2c: F0 09 00 [19:36:18]MH_I2C_Read... [19:36:18]Read from MH i2c: F0 09 00 90 03 00 B3 8A 22 67 5B 68 A1 66 1B [19:36:18]GetLastDocTimeStamp 1730311229 [19:36:18]current date 1730316979 [19:36:18]FM_GetShiftState [19:36:18]SAM_PROTO_GetShiftState [19:36:18]wFMCommunicate request_size=4 [19:36:18]MH_SAM_APDU [19:36:18]CAPDU: 80 13 01 00 [19:36:18]Write to MH i2c: E2 08 00 91 03 80 13 01 00 00 00 00 00 11 [19:36:18]Write i2c OK [19:36:18]MH_I2C_Read... [19:36:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:36:18]Read from MH i2c: E2 [19:36:18]MH_I2C_Read... [19:36:18]Read from MH i2c: E2 0E 00 [19:36:18]MH_I2C_Read... [19:36:18]Read from MH i2c: E2 0E 00 91 03 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 D2 [19:36:18]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [19:36:18]wFMCommunicate OK [19:36:18]SAM_PROTO_GetShiftState done [19:36:18]FM_GetShiftState done [19:36:18]opened in 1730246837 [19:36:18]opened+sec_in_day 1730333237 [19:36:18]quantity*price = 17000 [19:36:18]sum+1 = 17001 [19:36:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 56 30.10.2024 19:36 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37974 ФПД: 41018682599563 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T193619&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37974&fm=41018682599563&tin=02508201610067®Number=0000000000091684&sum=17000 0 [19:36:19]StoreToDocumentArchive [19:36:19]shift 553 fd 37974 [19:36:19]save to /storage/0553/doc_00037974 [19:36:19]save last doc name /storage/0553/doc_00037974 to /storage/kkm_last_doc_name [19:36:19]save OK [19:36:19]Clear old archive folders... [19:36:19]ProcessDocumentItem done err = 0, tmpTLVsize=277 [19:36:19]tlvbuf is 005ECAE0 [19:36:19]SAM_PROTO_ClearQueue [19:36:19]wFMCommunicate request_size=4 [19:36:19]MH_SAM_APDU [19:36:19]CAPDU: 80 09 00 00 [19:36:19]Write to MH i2c: E2 08 00 9E 03 80 09 00 00 00 00 00 00 13 [19:36:19]Write i2c OK [19:36:19]MH_I2C_Read... [19:36:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:36:19]Read from MH i2c: E2 [19:36:19]MH_I2C_Read... [19:36:19]Read from MH i2c: E2 03 00 [19:36:19]MH_I2C_Read... [19:36:19]Read from MH i2c: E2 03 00 9E 03 00 90 00 15 [19:36:19]RAPDU: 90 00 [19:36:19]wFMCommunicate OK [19:36:19]SAM_PROTO_ClearQueue done [19:36:19]KKMCreateOFDPacket [19:36:19]OFDProtocolAddRootSTLVToBuf [19:36:19]FM_MakeSignedData [19:36:19]FM_MakeSignedData [19:36:19]SAM_PROTO_SignData [19:36:19]wFMCommunicate request_size=4 [19:36:19]MH_SAM_APDU [19:36:19]CAPDU: 80 0D 01 02 [19:36:19]Write to MH i2c: E2 08 00 9F 03 80 0D 01 02 00 00 00 00 1B [19:36:19]Write i2c OK [19:36:19]MH_I2C_Read... [19:36:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:36:19]Read from MH i2c: E2 [19:36:19]MH_I2C_Read... [19:36:19]Read from MH i2c: E2 03 00 [19:36:19]MH_I2C_Read... [19:36:19]Read from MH i2c: E2 03 00 9F 03 00 90 00 16 [19:36:19]RAPDU: 90 00 [19:36:19]wFMCommunicate OK [19:36:19]wFMCommunicate request_size=255 [19:36:19]MH_SAM_APDU [19:36:19]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 B3 8A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 [19:36:19]Write to MH i2c: E2 02 01 A0 03 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 B3 8A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 00 00 76 [19:36:19]Write i2c OK [19:36:19]MH_I2C_Read... [19:36:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:36:19]Read from MH i2c: E2 [19:36:19]MH_I2C_Read... [19:36:19]Read from MH i2c: E2 03 00 [19:36:19]MH_I2C_Read... [19:36:19]Read from MH i2c: E2 03 00 A0 03 00 90 00 17 [19:36:19]RAPDU: 90 00 [19:36:19]wFMCommunicate OK [19:36:19]wFMCommunicate request_size=36 [19:36:19]MH_SAM_APDU [19:36:19]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 56 94 00 00 35 04 06 00 25 4E 68 01 68 8B [19:36:19]Write to MH i2c: E2 27 00 A1 03 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 56 94 00 00 35 04 06 00 25 4E 68 01 68 8B 00 00 F9 [19:36:19]Write i2c OK [19:36:19]MH_I2C_Read... [19:36:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:36:19]Read from MH i2c: E2 [19:36:19]MH_I2C_Read... [19:36:19]Read from MH i2c: E2 03 00 [19:36:19]MH_I2C_Read... [19:36:19]Read from MH i2c: E2 03 00 A1 03 00 90 00 18 [19:36:19]RAPDU: 90 00 [19:36:19]wFMCommunicate OK [19:36:19]wFMCommunicate request_size=4 [19:36:19]MH_SAM_APDU [19:36:19]CAPDU: 80 0D 03 02 [19:36:19]Write to MH i2c: E2 08 00 A2 03 80 0D 03 02 00 00 00 00 20 [19:36:19]Write i2c OK [19:36:19]MH_I2C_Read... [19:36:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:36:20]Read from MH i2c: E2 [19:36:20]MH_I2C_Read... [19:36:20]Read from MH i2c: E2 0B 00 [19:36:20]MH_I2C_Read... [19:36:20]Read from MH i2c: E2 0B 00 A2 03 00 22 39 D1 AF 62 38 83 BD 90 00 D6 [19:36:20]RAPDU: 22 39 D1 AF 62 38 83 BD 90 00 [19:36:20]wFMCommunicate OK [19:36:20]SAM_PROTO_SignData done [19:36:20]FM_MakeSignedData done [19:36:20]CreateOFDProtocolMessage [19:36:20]wFMCommunicate request_size=4 [19:36:20]MH_SAM_APDU [19:36:20]CAPDU: 80 11 00 00 [19:36:20]Write to MH i2c: E2 08 00 A3 03 80 11 00 00 00 00 00 00 20 [19:36:20]Write i2c OK [19:36:20]MH_I2C_Read... [19:36:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:36:20]Read from MH i2c: E2 [19:36:20]MH_I2C_Read... [19:36:20]Read from MH i2c: E2 17 00 [19:36:20]MH_I2C_Read... [19:36:20]Read from MH i2c: E2 17 00 A3 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 70 [19:36:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:36:20]wFMCommunicate OK [19:36:20]CreateOFDProtocolMessage done [19:36:20]OFDSenderStorePacket 37974 [19:36:20]StoreOFDPacket docnum=37974 [19:36:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 29 01 00 00 94 53 21 01 B0 5C 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 B3 8A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 56 94 00 00 35 04 06 00 25 4E 68 01 68 8B 22 39 D1 AF 62 38 83 BD [19:36:20]CheckFolder [19:36:20]dirname=/storage/ofd_packets [19:36:20]CheckFolder done [19:36:20]ProducePacketName [19:36:20]name=ofd_packets/00037974 [19:36:20]NVStorageSaveData ofd_packets/00037974 [19:36:20]File name is /storage/ofd_packets/00037974 [19:36:20]Write 327 bytes [19:36:20]NVStorageSaveData done [19:36:20]OFDSenderStorePacket done [19:36:20]KKMCreateOFDPacket done [19:36:20]NVStorageSaveData kkm_last_timestamp [19:36:20]File name is /storage/kkm_last_timestamp [19:36:20]Write 4 bytes [19:36:20]NVStorageSaveData done [19:36:20]ExternCall_PrintAddStr [19:36:20]wPrintStart [19:36:20]Write to MH i2c: 01 00 00 A4 03 A7 [19:36:20]Write i2c OK [19:36:20]MH_I2C_Read... [19:36:20]Read from MH i2c: 01 [19:36:20]MH_I2C_Read... [19:36:20]Read from MH i2c: 01 07 00 [19:36:20]MH_I2C_Read... [19:36:20]Read from MH i2c: 01 07 00 A4 03 00 00 00 00 00 FF 0F BC [19:36:20]RasterBufferAndPrint [19:36:20]line Счет N : (3)35273 [19:36:20]line ИНН: 02508201610067 [19:36:20]line Контрольно-Кассовый Чек [19:36:20]line ПРОДАЖА [19:36:20]line Товар: 8901086040008 [19:36:20]line Жид/ст ПН летняя 4,5л [19:36:20]line 1.000 * 170.00 [19:36:20]line = 170.00 [19:36:20]line НДС 12% НСП 1% [19:36:20]line > о реализуемом товаре [19:36:20]line ИТОГО: 170.00 [19:36:20]line НСП 1% : 1.50 [19:36:20]line НДС 12% : 18.05 [19:36:20]line Наличными: 170.00 [19:36:20]line Безнал.: 0.00 [19:36:20]line Место: АЗС № 126 "Партнер Нефть" [19:36:20]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:36:20]line СНО: Общий режим [19:36:20]line Чек 56 30.10.2024 19:36 [19:36:20]line Смена: 553 ФФД: 1.0 [19:36:20]line ЗНМ: 0300000092 [19:36:20]line РНМ: 0000000000091684 [19:36:20]line Версия ККМ: 001 [19:36:20]line ФМ: 0000000000871841 [19:36:20]line ФД: 37974 [19:36:20]line ФПД: 41018682599563 [19:36:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T193619&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37974&fm=41018682599563&tin=02508201610067®Number=0000000000091684&sum=17000 [19:36:20]line 0 [19:36:20]OFD Sender: Processing packet 37974 [packets to send 42, broken 41] [19:36:20]ProducePacketName [19:36:20]name=ofd_packets/00037974 [19:36:20]OFD Sender: To server: pG, [19:36:20]CommunicateWithHost lk.salyk.kg:30040 [19:36:20]ConnectInit lk.salyk.kg [19:36:20]written 0, free lines is 4095 [19:36:20]Connected sock=10 [19:36:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 29 01 00 00 94 53 21 01 B0 5C 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 B3 8A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 56 94 00 00 35 04 06 00 25 4E 68 01 68 8B 22 39 D1 AF 62 38 83 BD [19:36:20]Write to MH i2c: 01 00 00 CC 03 CF [19:36:20]Write i2c OK [19:36:20]MH_I2C_Read... [19:36:20]Read from MH i2c: 01 [19:36:20]MH_I2C_Read... [19:36:20]Read from MH i2c: 01 07 00 [19:36:20]MH_I2C_Read... [19:36:20]Read from MH i2c: 01 07 00 CC 03 00 00 00 00 00 D9 0C BB [19:36:20]RasterBufferAndPrint [19:36:20]line [19:36:20]line [19:36:20]line [19:36:20]line [19:36:20]line [19:36:20]written 0, free lines is 3295 [19:36:20]MH_Cut [19:36:20]Write to MH i2c: D1 01 00 D3 03 01 A8 [19:36:20]Write i2c OK [19:36:20]MH_I2C_Read... [19:36:20]Read from MH i2c: D1 [19:36:20]MH_I2C_Read... [19:36:20]Read from MH i2c: D1 01 00 [19:36:20]MH_I2C_Read... [19:36:20]Read from MH i2c: D1 01 00 D3 03 00 A7 [19:36:20]Write to MH i2c: 01 00 00 D4 03 D7 [19:36:20]Write i2c OK [19:36:20]MH_I2C_Read... [19:36:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 C3 47 47 00 97 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 38 37 31 38 34 31 10 04 04 00 56 94 00 00 F4 03 04 00 A1 35 22 67 B6 04 01 00 00 EF 46 36 76 36 3C 52 25 [19:36:21]CommunicateWithHost err = 0 [19:36:21]CheckOFDResponse [19:36:21]1017 (14) - 77093643461234 [19:36:21]1041 (16) - 0000000000871841 [19:36:21]1040 (4) - 37974 [19:36:21]1012 (4) - 30.10.2024 13:33 [19:36:21]1206 (1) - 0 [19:36:21]OFD Sender: Remove packet 37974 [19:36:21]ProducePacketName [19:36:21]name=ofd_packets/00037974 [19:36:21]NVStorageDeleteData [19:36:21]*** Cut start [19:36:21]*** Partial cut [19:36:21]*** CUTSNS_PIN = 1 [19:36:21]OFD Sender: No OFD packet to send [19:36:21]*** CUTSNS_PIN = 0 [19:36:21]*** Brake cut motor [19:36:22]Read from MH i2c: 01 [19:36:22]MH_I2C_Read... [19:36:22]*** Stop cut motor [19:36:22]*** Cut end [19:36:22]Read from MH i2c: 01 07 00 [19:36:22]MH_I2C_Read... [19:36:22]Read from MH i2c: 01 07 00 D4 03 00 00 00 00 00 FF 0F EC [19:36:22]process_action close_receipt done [19:36:22]requested_data is exist [19:36:22]produce_requested_data [19:36:22]requested_item fm.sn is exist - process it [19:36:22]wFMCommunicate request_size=4 [19:36:22]MH_SAM_APDU [19:36:22]CAPDU: 80 11 00 00 [19:36:22]Write to MH i2c: E2 08 00 D5 03 80 11 00 00 00 00 00 00 52 [19:36:22]Write i2c OK [19:36:22]MH_I2C_Read... [19:36:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:36:22]Read from MH i2c: E2 [19:36:22]MH_I2C_Read... [19:36:22]Read from MH i2c: E2 17 00 [19:36:22]MH_I2C_Read... [19:36:22]Read from MH i2c: E2 17 00 D5 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A2 [19:36:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:36:22]wFMCommunicate OK [19:36:22]requested_item fd.num is exist - process it [19:36:22]SAM_PROTO_GetFieldsCounters [19:36:22]wFMCommunicate request_size=4 [19:36:22]MH_SAM_APDU [19:36:22]CAPDU: 80 13 00 00 [19:36:22]Write to MH i2c: E2 08 00 D6 03 80 13 00 00 00 00 00 00 55 [19:36:22]Write i2c OK [19:36:22]MH_I2C_Read... [19:36:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:36:22]Read from MH i2c: E2 [19:36:22]MH_I2C_Read... [19:36:22]Read from MH i2c: E2 62 00 [19:36:22]MH_I2C_Read... [19:36:22]Read from MH i2c: E2 62 00 D6 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 56 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 33 [19:36:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 56 94 00 00 0E 04 04 00 29 02 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:36:22]wFMCommunicate OK [19:36:22]SAM_PROTO_GetFieldsCounters done [19:36:22]requested_item shift.num is exist - process it [19:36:22]requested_item shift.opened is exist - process it [19:36:22]req_shift_opened [19:36:22]FM_GetShiftState [19:36:22]SAM_PROTO_GetShiftState [19:36:22]wFMCommunicate request_size=4 [19:36:22]MH_SAM_APDU [19:36:22]CAPDU: 80 13 01 00 [19:36:22]Write to MH i2c: E2 08 00 D7 03 80 13 01 00 00 00 00 00 57 [19:36:22]Write i2c OK [19:36:22]MH_I2C_Read... [19:36:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:36:22]Read from MH i2c: E2 [19:36:22]MH_I2C_Read... [19:36:22]Read from MH i2c: E2 0E 00 [19:36:22]MH_I2C_Read... [19:36:22]Read from MH i2c: E2 0E 00 D7 03 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 18 [19:36:22]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [19:36:22]wFMCommunicate OK [19:36:22]SAM_PROTO_GetShiftState done [19:36:22]FM_GetShiftState done [19:36:22]req_shift_opened done [19:36:22]requested_item shift.open_date is exist - process it [19:36:22]req_shift_open_date [19:36:22]req_shift_open_date done [19:36:22]produce_requested_data done [19:36:22]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37974,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [19:36:22]process_action_free close_receipt [19:36:22]json_value_free [19:36:22]json_value_free done [19:36:22]process_json_proto returns [19:36:22]Send response to host [19:36:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37974,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [19:36:22]free response buf [19:36:22]execute_script done [19:36:22]execute_script returns [19:36:22]free content buf [19:36:22]Sock 9.Close socket [19:36:22]Sock 9.Thread stoped [19:36:26]OFD Sender: No OFD packet to send [19:36:31]OFD Sender: No OFD packet to send [19:36:36]OFD Sender: No OFD packet to send [19:36:41]OFD Sender: No OFD packet to send [19:36:46]OFD Sender: No OFD packet to send [19:36:51]OFD Sender: No OFD packet to send [19:36:56]OFD Sender: No OFD packet to send [19:37:01]OFD Sender: No OFD packet to send [19:37:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 23 01 00 00 EB EF 1B 01 3E ED 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 F4 8A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 57 94 00 00 35 04 06 00 31 ED 2A 6A 0F 39 7E 87 5E 35 C5 B4 2C 82 [19:37:24]CheckFolder [19:37:24]dirname=/storage/ofd_packets [19:37:24]CheckFolder done [19:37:24]ProducePacketName [19:37:24]name=ofd_packets/00037975 [19:37:24]NVStorageSaveData ofd_packets/00037975 [19:37:24]File name is /storage/ofd_packets/00037975 [19:37:24]Write 321 bytes [19:37:24]NVStorageSaveData done [19:37:24]OFDSenderStorePacket done [19:37:24]KKMCreateOFDPacket done [19:37:24]NVStorageSaveData kkm_last_timestamp [19:37:24]File name is /storage/kkm_last_timestamp [19:37:24]Write 4 bytes [19:37:24]NVStorageSaveData done [19:37:24]OFD Sender: Processing packet 37975 [packets to send 42, broken 41] [19:37:24]ProducePacketName [19:37:24]name=ofd_packets/00037975 [19:37:24]OFD Sender: To server: pG, [19:37:24]CommunicateWithHost lk.salyk.kg:30040 [19:37:24]ConnectInit lk.salyk.kg [19:37:24]ExternCall_PrintAddStr [19:37:24]wPrintStart [19:37:24]Write to MH i2c: 01 00 00 EC 03 EF [19:37:24]Write i2c OK [19:37:24]MH_I2C_Read... [19:37:24]Read from MH i2c: 01 [19:37:24]MH_I2C_Read... [19:37:24]Read from MH i2c: 01 07 00 [19:37:24]MH_I2C_Read... [19:37:24]Read from MH i2c: 01 07 00 EC 03 00 00 00 00 00 FF 0F 04 [19:37:24]RasterBufferAndPrint [19:37:24]line Счет N : (3)35274 [19:37:24]line ИНН: 02508201610067 [19:37:24]line Контрольно-Кассовый Чек [19:37:24]line ПРОДАЖА [19:37:24]line Товар: 5449000006271 [19:37:24]line Напиток Фанта 1л [19:37:24]line 1.000 * 125.00 [19:37:24]line = 125.00 [19:37:24]line НДС 12% НСП 1% [19:37:24]line > о реализуемом товаре [19:37:24]line ИТОГО: 125.00 [19:37:24]line НСП 1% : 1.11 [19:37:24]line НДС 12% : 13.27 [19:37:24]line Наличными: 125.00 [19:37:24]line Безнал.: 0.00 [19:37:24]line Место: АЗС № 126 "Партнер Нефть" [19:37:24]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:37:24]line СНО: Общий режим [19:37:24]line Чек 57 30.10.2024 19:37 [19:37:24]line Смена: 553 ФФД: 1.0 [19:37:24]line ЗНМ: 0300000092 [19:37:24]line РНМ: 0000000000091684 [19:37:24]line Версия ККМ: 001 [19:37:24]line ФМ: 0000000000871841 [19:37:24]line ФД: 37975 [19:37:24]line ФПД: 54894688603961 [19:37:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T193724&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37975&fm=54894688603961&tin=02508201610067®Number=0000000000091684&sum=12500 [19:37:25]line 0 [19:37:25]written 0, free lines is 4095 [19:37:25]Connected sock=12 [19:37:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 23 01 00 00 EB EF 1B 01 3E ED 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 F4 8A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 57 94 00 00 35 04 06 00 31 ED 2A 6A 0F 39 7E 87 5E 35 C5 B4 2C 82 [19:37:25]Write to MH i2c: 01 00 00 14 04 18 [19:37:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 6E DC 47 00 07 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 57 94 00 00 F4 03 04 00 E1 35 22 67 B6 04 01 00 00 D9 41 E7 64 D7 41 88 DF [19:37:25]CommunicateWithHost err = 0 [19:37:25]CheckOFDResponse [19:37:25]1017 (14) - 77093643461234 [19:37:25]1041 (16) - 0000000000871841 [19:37:25]1040 (4) - 37975 [19:37:25]1012 (4) - 30.10.2024 13:34 [19:37:25]1206 (1) - 0 [19:37:25]OFD Sender: Remove packet 37975 [19:37:25]ProducePacketName [19:37:25]name=ofd_packets/00037975 [19:37:25]NVStorageDeleteData [19:37:25]Write i2c OK [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: 01 [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: 01 07 00 [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: 01 07 00 14 04 00 00 00 00 00 CA 0C F5 [19:37:25]RasterBufferAndPrint [19:37:25]line [19:37:25]line [19:37:25]line [19:37:25]line [19:37:25]line [19:37:25]written 0, free lines is 3288 [19:37:25]MH_Cut [19:37:25]Write to MH i2c: D1 01 00 1B 04 01 F1 [19:37:25]Write i2c OK [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: D1 [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: D1 01 00 [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: D1 01 00 1B 04 00 F0 [19:37:25]Write to MH i2c: 01 00 00 1C 04 20 [19:37:25]Write i2c OK [19:37:25]MH_I2C_Read... [19:37:26]OFD Sender: No OFD packet to send [19:37:26]*** Cut start [19:37:26]*** Partial cut [19:37:26]*** CUTSNS_PIN = 1 [19:37:26]*** CUTSNS_PIN = 0 [19:37:26]*** Brake cut motor [19:37:27]Read from MH i2c: 01 [19:37:27]MH_I2C_Read... [19:37:27]*** Stop cut motor [19:37:27]*** Cut end [19:37:27]Read from MH i2c: 01 07 00 [19:37:27]MH_I2C_Read... [19:37:27]Read from MH i2c: 01 07 00 1C 04 00 00 00 00 00 FF 0F 35 [19:37:27]process_action close_receipt done [19:37:27]requested_data is exist [19:37:27]produce_requested_data [19:37:27]requested_item fm.sn is exist - process it [19:37:27]wFMCommunicate request_size=4 [19:37:27]MH_SAM_APDU [19:37:27]CAPDU: 80 11 00 00 [19:37:27]Write to MH i2c: E2 08 00 1D 04 80 11 00 00 00 00 00 00 9B [19:37:27]Write i2c OK [19:37:27]MH_I2C_Read... [19:37:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:37:27]Read from MH i2c: E2 [19:37:27]MH_I2C_Read... [19:37:27]Read from MH i2c: E2 17 00 [19:37:27]MH_I2C_Read... [19:37:27]Read from MH i2c: E2 17 00 1D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 EB [19:37:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:37:27]wFMCommunicate OK [19:37:27]requested_item fd.num is exist - process it [19:37:27]SAM_PROTO_GetFieldsCounters [19:37:27]wFMCommunicate request_size=4 [19:37:27]MH_SAM_APDU [19:37:27]CAPDU: 80 13 00 00 [19:37:27]Write to MH i2c: E2 08 00 1E 04 80 13 00 00 00 00 00 00 9E [19:37:27]Write i2c OK [19:37:27]MH_I2C_Read... [19:37:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:37:27]Read from MH i2c: E2 [19:37:27]MH_I2C_Read... [19:37:27]Read from MH i2c: E2 62 00 [19:37:27]MH_I2C_Read... [19:37:27]Read from MH i2c: E2 62 00 1E 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 57 94 00 00 0E 04 04 00 29 02 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 80 [19:37:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 57 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:37:27]wFMCommunicate OK [19:37:27]SAM_PROTO_GetFieldsCounters done [19:37:27]requested_item shift.num is exist - process it [19:37:27]requested_item shift.opened is exist - process it [19:37:27]req_shift_opened [19:37:27]FM_GetShiftState [19:37:27]SAM_PROTO_GetShiftState [19:37:27]wFMCommunicate request_size=4 [19:37:27]MH_SAM_APDU [19:37:27]CAPDU: 80 13 01 00 [19:37:27]Write to MH i2c: E2 08 00 1F 04 80 13 01 00 00 00 00 00 A0 [19:37:27]Write i2c OK [19:37:27]MH_I2C_Read... [19:37:27]Read from MH i2c: E2 [19:37:27]MH_I2C_Read... [19:37:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:37:27]Read from MH i2c: E2 0E 00 [19:37:27]MH_I2C_Read... [19:37:27]Read from MH i2c: E2 0E 00 1F 04 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 61 [19:37:27]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [19:37:27]wFMCommunicate OK [19:37:27]SAM_PROTO_GetShiftState done [19:37:27]FM_GetShiftState done [19:37:27]req_shift_opened done [19:37:27]requested_item shift.open_date is exist - process it [19:37:27]req_shift_open_date [19:37:27]req_shift_open_date done [19:37:27]produce_requested_data done [19:37:27]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37975,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [19:37:27]process_action_free close_receipt [19:37:27]json_value_free [19:37:27]json_value_free done [19:37:27]process_json_proto returns [19:37:27]Send response to host [19:37:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37975,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [19:37:27]free response buf [19:37:27]execute_script done [19:37:27]execute_script returns [19:37:27]free content buf [19:37:27]Sock 8.Close socket [19:37:27]Sock 8.Thread stoped [19:37:31]OFD Sender: No OFD packet to send [19:37:33]accept exits with 10 [19:37:33]New connection [19:37:33]New thread 3067432292 created [19:37:33]Thread 3067288932 joined [19:37:33]Waiting for new connection... [19:37:33] Sock 10.Parse request [19:37:33]Sock 10.Check first char [19:37:33]Sock 10.First char is OK [19:37:33]request: POST /json_proto HTTP/1.0 [19:37:33]Method: POST [19:37:33]URL: /json_proto [19:37:33]Method is POST - this is cgi request [19:37:33]url: /json_proto [19:37:33]query_string will be loaded in cgi processing [19:37:33]execute_cgi json_proto POST (null) [19:37:33]execute_cgi path=json_proto method=POST [19:37:33]POST find Content-Length [19:37:33]Host: 172.17.40.196:8080 [19:37:33]Content-Length: 705 [19:37:33]Content-Type: application/json [19:37:33] [19:37:33]POST finish read [19:37:33]Found Content-Length = 705 [19:37:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35275", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:37:33]execute_script... [19:37: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)35275", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:37:33]POST & json_proto [19:37:33]process_json_proto [19:37:33]json parsed OK: [19:37:33]protocol is kg_v1.0 [19:37:33]action value=close_receipt [19:37:33]process_action close_receipt [19:37:33]cmd_close_receipt [19:37:33]MH_GetDate [19:37:33]Write to MH i2c: F0 00 00 20 04 13 [19:37:33]Write i2c OK [19:37:33]MH_I2C_Read... [19:37:33]Read from MH i2c: F0 [19:37:33]MH_I2C_Read... [19:37:33]Read from MH i2c: F0 09 00 [19:37:33]MH_I2C_Read... [19:37:33]Read from MH i2c: F0 09 00 20 04 00 FE 8A 22 67 5B 68 A1 66 F7 [19:37:33]GetLastDocTimeStamp 1730317044 [19:37:33]current date 1730317054 [19:37:33]FM_GetShiftState [19:37:33]SAM_PROTO_GetShiftState [19:37:33]wFMCommunicate request_size=4 [19:37:33]MH_SAM_APDU [19:37:33]CAPDU: 80 13 01 00 [19:37:33]Write to MH i2c: E2 08 00 21 04 80 13 01 00 00 00 00 00 A2 [19:37:33]Write i2c OK [19:37:33]MH_I2C_Read... [19:37:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:37:33]Read from MH i2c: E2 [19:37:33]MH_I2C_Read... [19:37:33]Read from MH i2c: E2 0E 00 [19:37:33]MH_I2C_Read... [19:37:33]Read from MH i2c: E2 0E 00 21 04 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 63 [19:37:33]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [19:37:33]wFMCommunicate OK [19:37:33]SAM_PROTO_GetShiftState done [19:37:33]FM_GetShiftState done [19:37:33]opened in 1730246837 [19:37:33]opened+sec_in_day 1730333237 [19:37:33]quantity*price = 12000 [19:37:33]sum+1 = 12001 [19:37:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 58 30.10.2024 19:37 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37976 ФПД: 114409250262034 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T193734&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37976&fm=114409250262034&tin=02508201610067®Number=0000000000091684&sum=12000 0 [19:37:34]StoreToDocumentArchive [19:37:34]shift 553 fd 37976 [19:37:34]save to /storage/0553/doc_00037976 [19:37:34]save last doc name /storage/0553/doc_00037976 to /storage/kkm_last_doc_name [19:37:34]save OK [19:37:34]Clear old archive folders... [19:37:34]ProcessDocumentItem done err = 0, tmpTLVsize=298 [19:37:34]tlvbuf is 00593890 [19:37:34]SAM_PROTO_ClearQueue [19:37:34]wFMCommunicate request_size=4 [19:37:34]MH_SAM_APDU [19:37:34]CAPDU: 80 09 00 00 [19:37:34]Write to MH i2c: E2 08 00 2E 04 80 09 00 00 00 00 00 00 A4 [19:37:34]Write i2c OK [19:37:34]MH_I2C_Read... [19:37:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:37:34]Read from MH i2c: E2 [19:37:34]MH_I2C_Read... [19:37:34]Read from MH i2c: E2 03 00 [19:37:34]MH_I2C_Read... [19:37:34]Read from MH i2c: E2 03 00 2E 04 00 90 00 A6 [19:37:34]RAPDU: 90 00 [19:37:34]wFMCommunicate OK [19:37:34]SAM_PROTO_ClearQueue done [19:37:34]KKMCreateOFDPacket [19:37:34]OFDProtocolAddRootSTLVToBuf [19:37:34]FM_MakeSignedData [19:37:34]FM_MakeSignedData [19:37:34]SAM_PROTO_SignData [19:37:34]wFMCommunicate request_size=4 [19:37:34]MH_SAM_APDU [19:37:34]CAPDU: 80 0D 01 02 [19:37:34]Write to MH i2c: E2 08 00 2F 04 80 0D 01 02 00 00 00 00 AC [19:37:34]Write i2c OK [19:37:34]MH_I2C_Read... [19:37:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:37:34]Read from MH i2c: E2 [19:37:34]MH_I2C_Read... [19:37:34]Read from MH i2c: E2 03 00 [19:37:34]MH_I2C_Read... [19:37:34]Read from MH i2c: E2 03 00 2F 04 00 90 00 A7 [19:37:34]RAPDU: 90 00 [19:37:34]wFMCommunicate OK [19:37:34]wFMCommunicate request_size=255 [19:37:34]MH_SAM_APDU [19:37:34]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 FE 8A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [19:37:34]Write to MH i2c: E2 02 01 30 04 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 FE 8A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 20 [19:37:34]Write i2c OK [19:37:34]MH_I2C_Read... [19:37:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:37:35]Read from MH i2c: E2 [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: E2 03 00 [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: E2 03 00 30 04 00 90 00 A8 [19:37:35]RAPDU: 90 00 [19:37:35]wFMCommunicate OK [19:37:35]wFMCommunicate request_size=57 [19:37:35]MH_SAM_APDU [19:37:35]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 58 94 00 00 35 04 06 00 68 0D FA B8 8C 12 [19:37:35]Write to MH i2c: E2 3C 00 31 04 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 58 94 00 00 35 04 06 00 68 0D FA B8 8C 12 00 00 1D [19:37:35]Write i2c OK [19:37:35]MH_I2C_Read... [19:37:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:37:35]Read from MH i2c: E2 [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: E2 03 00 [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: E2 03 00 31 04 00 90 00 A9 [19:37:35]RAPDU: 90 00 [19:37:35]wFMCommunicate OK [19:37:35]wFMCommunicate request_size=4 [19:37:35]MH_SAM_APDU [19:37:35]CAPDU: 80 0D 03 02 [19:37:35]Write to MH i2c: E2 08 00 32 04 80 0D 03 02 00 00 00 00 B1 [19:37:35]Write i2c OK [19:37:35]MH_I2C_Read... [19:37:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:37:35]Read from MH i2c: E2 [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: E2 0B 00 [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: E2 0B 00 32 04 00 C4 60 22 F5 19 90 D2 AA 90 00 12 [19:37:35]RAPDU: C4 60 22 F5 19 90 D2 AA 90 00 [19:37:35]wFMCommunicate OK [19:37:35]SAM_PROTO_SignData done [19:37:35]FM_MakeSignedData done [19:37:35]CreateOFDProtocolMessage [19:37:35]wFMCommunicate request_size=4 [19:37:35]MH_SAM_APDU [19:37:35]CAPDU: 80 11 00 00 [19:37:35]Write to MH i2c: E2 08 00 33 04 80 11 00 00 00 00 00 00 B1 [19:37:35]Write i2c OK [19:37:35]MH_I2C_Read... [19:37:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:37:35]Read from MH i2c: E2 [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: E2 17 00 [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: E2 17 00 33 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 01 [19:37:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:37:35]wFMCommunicate OK [19:37:35]CreateOFDProtocolMessage done [19:37:35]OFDSenderStorePacket 37976 [19:37:35]StoreOFDPacket docnum=37976 [19:37:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3E 01 00 00 2B CD 36 01 35 5A 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 FE 8A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 58 94 00 00 35 04 06 00 68 0D FA B8 8C 12 C4 60 22 F5 19 90 D2 AA [19:37:35]CheckFolder [19:37:35]dirname=/storage/ofd_packets [19:37:35]CheckFolder done [19:37:35]ProducePacketName [19:37:35]name=ofd_packets/00037976 [19:37:35]NVStorageSaveData ofd_packets/00037976 [19:37:35]File name is /storage/ofd_packets/00037976 [19:37:35]Write 348 bytes [19:37:35]NVStorageSaveData done [19:37:35]OFDSenderStorePacket done [19:37:35]KKMCreateOFDPacket done [19:37:35]NVStorageSaveData kkm_last_timestamp [19:37:35]File name is /storage/kkm_last_timestamp [19:37:35]Write 4 bytes [19:37:35]NVStorageSaveData done [19:37:35]ExternCall_PrintAddStr [19:37:35]wPrintStart [19:37:35]Write to MH i2c: 01 00 00 34 04 38 [19:37:35]Write i2c OK [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: 01 [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: 01 07 00 [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: 01 07 00 34 04 00 00 00 00 00 FF 0F 4D [19:37:35]RasterBufferAndPrint [19:37:35]line Счет N : (3)35275 [19:37:35]line ИНН: 02508201610067 [19:37:35]line Контрольно-Кассовый Чек [19:37:35]line ПРОДАЖА [19:37:35]line Товар: 5449000189356 [19:37:35]line Холодный чай Fuse манго ананас 1л [19:37:35]line 1.000 * 120.00 [19:37:35]line = 120.00 [19:37:35]line НДС 12% НСП 1% [19:37:35]line > о реализуемом товаре [19:37:35]line ИТОГО: 120.00 [19:37:35]line НСП 1% : 1.06 [19:37:35]line НДС 12% : 12.74 [19:37:35]line Наличными: 120.00 [19:37:35]line Безнал.: 0.00 [19:37:35]line Место: АЗС № 126 "Партнер Нефть" [19:37:35]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:37:35]line СНО: Общий режим [19:37:35]line Чек 58 30.10.2024 19:37 [19:37:35]line Смена: 553 ФФД: 1.0 [19:37:35]line ЗНМ: 0300000092 [19:37:35]line РНМ: 0000000000091684 [19:37:35]line Версия ККМ: 001 [19:37:35]line ФМ: 0000000000871841 [19:37:35]line ФД: 37976 [19:37:35]line ФПД: 114409250262034 [19:37:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T193734&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37976&fm=114409250262034&tin=02508201610067®Number=0000000000091684&sum=12000 [19:37:35]line 0 [19:37:35]written 0, free lines is 4095 [19:37:35]OFD Sender: Processing packet 37976 [packets to send 42, broken 41] [19:37:35]ProducePacketName [19:37:35]name=ofd_packets/00037976 [19:37:35]OFD Sender: To server: pG, [19:37:35]CommunicateWithHost lk.salyk.kg:30040 [19:37:35]ConnectInit lk.salyk.kg [19:37:35]Connected sock=11 [19:37:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3E 01 00 00 2B CD 36 01 35 5A 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 FE 8A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 58 94 00 00 35 04 06 00 68 0D FA B8 8C 12 C4 60 22 F5 19 90 D2 AA [19:37:35]Write to MH i2c: 01 00 00 5D 04 61 [19:37:35]Write i2c OK [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: 01 [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: 01 07 00 [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: 01 07 00 5D 04 00 00 00 00 00 B7 0C 2B [19:37:35]RasterBufferAndPrint [19:37:35]line [19:37:35]line [19:37:35]line [19:37:35]line [19:37:35]line [19:37:35]written 0, free lines is 3268 [19:37:35]MH_Cut [19:37:35]Write to MH i2c: D1 01 00 64 04 01 3A [19:37:35]Write i2c OK [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: D1 [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: D1 01 00 [19:37:35]MH_I2C_Read... [19:37:35]Read from MH i2c: D1 01 00 64 04 00 39 [19:37:35]Write to MH i2c: 01 00 00 65 04 69 [19:37:35]Write i2c OK [19:37:35]MH_I2C_Read... [19:37:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 E4 44 47 00 A7 CF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 58 94 00 00 F4 03 04 00 EC 35 22 67 B6 04 01 00 00 76 B5 32 19 93 76 45 83 [19:37:36]CommunicateWithHost err = 0 [19:37:36]CheckOFDResponse [19:37:36]1017 (14) - 77093643461234 [19:37:36]1041 (16) - 0000000000871841 [19:37:36]1040 (4) - 37976 [19:37:36]1012 (4) - 30.10.2024 13:34 [19:37:36]1206 (1) - 0 [19:37:36]OFD Sender: Remove packet 37976 [19:37:36]ProducePacketName [19:37:36]name=ofd_packets/00037976 [19:37:36]NVStorageDeleteData [19:37:36]*** Cut start [19:37:36]*** Partial cut [19:37:36]*** CUTSNS_PIN = 1 [19:37:36]*** CUTSNS_PIN = 0 [19:37:36]OFD Sender: No OFD packet to send [19:37:36]*** Brake cut motor [19:37:37]Read from MH i2c: 01 [19:37:37]MH_I2C_Read... [19:37:37]*** Stop cut motor [19:37:37]*** Cut end [19:37:37]Read from MH i2c: 01 07 00 [19:37:37]MH_I2C_Read... [19:37:37]Read from MH i2c: 01 07 00 65 04 00 00 00 00 00 FF 0F 7E [19:37:37]process_action close_receipt done [19:37:37]requested_data is exist [19:37:37]produce_requested_data [19:37:37]requested_item fm.sn is exist - process it [19:37:37]wFMCommunicate request_size=4 [19:37:37]MH_SAM_APDU [19:37:37]CAPDU: 80 11 00 00 [19:37:37]Write to MH i2c: E2 08 00 66 04 80 11 00 00 00 00 00 00 E4 [19:37:37]Write i2c OK [19:37:37]MH_I2C_Read... [19:37:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:37:37]Read from MH i2c: E2 [19:37:37]MH_I2C_Read... [19:37:37]Read from MH i2c: E2 17 00 [19:37:37]MH_I2C_Read... [19:37:37]Read from MH i2c: E2 17 00 66 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 34 [19:37:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:37:37]wFMCommunicate OK [19:37:37]requested_item fd.num is exist - process it [19:37:37]SAM_PROTO_GetFieldsCounters [19:37:37]wFMCommunicate request_size=4 [19:37:37]MH_SAM_APDU [19:37:37]CAPDU: 80 13 00 00 [19:37:37]Write to MH i2c: E2 08 00 67 04 80 13 00 00 00 00 00 00 E7 [19:37:37]Write i2c OK [19:37:37]MH_I2C_Read... [19:37:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:37:37]Read from MH i2c: E2 [19:37:37]MH_I2C_Read... [19:37:37]Read from MH i2c: E2 62 00 [19:37:37]MH_I2C_Read... [19:37:37]Read from MH i2c: E2 62 00 67 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 58 94 00 00 0E 04 04 00 29 02 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 CD [19:37:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 58 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:37:37]wFMCommunicate OK [19:37:37]SAM_PROTO_GetFieldsCounters done [19:37:37]requested_item shift.num is exist - process it [19:37:37]requested_item shift.opened is exist - process it [19:37:37]req_shift_opened [19:37:37]FM_GetShiftState [19:37:37]SAM_PROTO_GetShiftState [19:37:37]wFMCommunicate request_size=4 [19:37:37]MH_SAM_APDU [19:37:37]CAPDU: 80 13 01 00 [19:37:37]Write to MH i2c: E2 08 00 68 04 80 13 01 00 00 00 00 00 E9 [19:37:37]Write i2c OK [19:37:37]MH_I2C_Read... [19:37:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:37:37]Read from MH i2c: E2 [19:37:37]MH_I2C_Read... [19:37:37]Read from MH i2c: E2 0E 00 [19:37:37]MH_I2C_Read... [19:37:37]Read from MH i2c: E2 0E 00 68 04 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 AA [19:37:37]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [19:37:37]wFMCommunicate OK [19:37:37]SAM_PROTO_GetShiftState done [19:37:37]FM_GetShiftState done [19:37:37]req_shift_opened done [19:37:37]requested_item shift.open_date is exist - process it [19:37:37]req_shift_open_date [19:37:37]req_shift_open_date done [19:37:37]produce_requested_data done [19:37:37]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37976,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [19:37:37]process_action_free close_receipt [19:37:37]json_value_free [19:37:37]json_value_free done [19:37:37]process_json_proto returns [19:37:37]Send response to host [19:37:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37976,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [19:37:37]free response buf [19:37:37]execute_script done [19:37:37]execute_script returns [19:37:37]free content buf [19:37:37]Sock 10.Close socket [19:37:37]Sock 10.Thread stoped [19:37:41]OFD Sender: No OFD packet to send [19:37:46]OFD Sender: No OFD packet to send [19:37:51]OFD Sender: No OFD packet to send [19:37:56]OFD Sender: No OFD packet to send [19:38:01]OFD Sender: No OFD packet to send [19:38:06]OFD Sender: No OFD packet to send [19:38:11]OFD Sender: No OFD packet to send [19:38:16]OFD Sender: No OFD packet to send [19:38:21]OFD Sender: No OFD packet to send [19:38:26]OFD Sender: No OFD packet to send [19:38:31]OFD Sender: No OFD packet to send [19:38:36]OFD Sender: No OFD packet to send [19:38:41]OFD Sender: No OFD packet to send [19:38:46]OFD Sender: No OFD packet to send [19:38:51]OFD Sender: No OFD packet to send [19:38:56]OFD Sender: No OFD packet to send [19:39:01]OFD Sender: No OFD packet to send [19:39:06]OFD Sender: No OFD packet to send [19:39:11]OFD Sender: No OFD packet to send [19:39:16]OFD Sender: No OFD packet to send [19:39:21]ConnectInit Can't connect to host [19:39:21]OFD Sender: No OFD packet to send [19:39:26]OFD Sender: No OFD packet to send [19:39:31]OFD Sender: No OFD packet to send [19:39:36]OFD Sender: No OFD packet to send [19:39:41]OFD Sender: No OFD packet to send [19:39:46]OFD Sender: No OFD packet to send [19:39:51]OFD Sender: No OFD packet to send [19:39:56]OFD Sender: No OFD packet to send [19:40:01]OFD Sender: No OFD packet to send [19:40:06]OFD Sender: No OFD packet to send [19:40:11]OFD Sender: No OFD packet to send [19:40:16]OFD Sender: No OFD packet to send [19:40:21]OFD Sender: No OFD packet to send [19:40:26]OFD Sender: No OFD packet to send [19:40:31]OFD Sender: No OFD packet to send [19:40:36]OFD Sender: No OFD packet to send [19:40:41]OFD Sender: No OFD packet to send [19:40:46]OFD Sender: No OFD packet to send [19:40:51]OFD Sender: No OFD packet to send [19:40:56]OFD Sender: No OFD packet to send [19:41:01]OFD Sender: No OFD packet to send [19:41:06]OFD Sender: No OFD packet to send [19:41:11]OFD Sender: No OFD packet to send [19:41:16]OFD Sender: No OFD packet to send [19:41:21]OFD Sender: No OFD packet to send [19:41:26]OFD Sender: No OFD packet to send [19:41:31]OFD Sender: No OFD packet to send [19:41:36]OFD Sender: No OFD packet to send [19:41:39]ConnectInit Can't connect to host [19:41:41]OFD Sender: No OFD packet to send [19:41:46]OFD Sender: No OFD packet to send [19:41:51]OFD Sender: No OFD packet to send [19:41:56]OFD Sender: No OFD packet to send [19:42:01]OFD Sender: No OFD packet to send [19:42:06]OFD Sender: No OFD packet to send [19:42:11]OFD Sender: No OFD packet to send [19:42:16]OFD Sender: No OFD packet to send [19:42:21]OFD Sender: No OFD packet to send [19:42:26]OFD Sender: No OFD packet to send [19:42:31]OFD Sender: No OFD packet to send [19:42:36]OFD Sender: No OFD packet to send [19:42:41]OFD Sender: No OFD packet to send [19:42:46]OFD Sender: No OFD packet to send [19:42:51]OFD Sender: No OFD packet to send [19:42:56]OFD Sender: No OFD packet to send [19:43:01]OFD Sender: No OFD packet to send [19:43:06]OFD Sender: No OFD packet to send [19:43:11]OFD Sender: No OFD packet to send [19:43:16]OFD Sender: No OFD packet to send [19:43:21]OFD Sender: No OFD packet to send [19:43:26]OFD Sender: No OFD packet to send [19:43:31]OFD Sender: No OFD packet to send [19:43:36]OFD Sender: No OFD packet to send [19:43:41]OFD Sender: No OFD packet to send [19:43:46]OFD Sender: No OFD packet to send [19:43:51]OFD Sender: No OFD packet to send [19:43:56]OFD Sender: No OFD packet to send [19:43:57]ConnectInit Can't connect to host [19:44:01]OFD Sender: No OFD packet to send [19:44:06]OFD Sender: No OFD packet to send [19:44:11]OFD Sender: No OFD packet to send [19:44:16]OFD Sender: No OFD packet to send [19:44:21]OFD Sender: No OFD packet to send [19:44:26]OFD Sender: No OFD packet to send [19:44:32]OFD Sender: No OFD packet to send [19:44:37]OFD Sender: No OFD packet to send [19:44:42]OFD Sender: No OFD packet to send [19:44:47]OFD Sender: No OFD packet to send [19:44:52]OFD Sender: No OFD packet to send [19:44:57]OFD Sender: No OFD packet to send [19:45:02]OFD Sender: No OFD packet to send [19:45:07]OFD Sender: No OFD packet to send [19:45:12]OFD Sender: No OFD packet to send [19:45:17]OFD Sender: No OFD packet to send [19:45:22]OFD Sender: No OFD packet to send [19:45:27]OFD Sender: No OFD packet to send [19:45:32]OFD Sender: No OFD packet to send [19:45:37]OFD Sender: No OFD packet to send [19:45:42]OFD Sender: No OFD packet to send [19:45:47]OFD Sender: No OFD packet to send [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:09]accept exits with 8 [19:48:09]New connection [19:48:09]New thread 3067288932 created [19:48:09]Thread 3067432292 joined [19:48:09]Waiting for new connection... [19:48:09] Sock 8.Parse request [19:48:09]Sock 8.Check first char [19:48:09]Sock 8.First char is OK [19:48:09]request: POST /json_proto HTTP/1.0 [19:48:09]Method: POST [19:48:09]URL: /json_proto [19:48:09]Method is POST - this is cgi request [19:48:09]url: /json_proto [19:48:09]query_string will be loaded in cgi processing [19:48:09]execute_cgi json_proto POST (null) [19:48:09]execute_cgi path=json_proto method=POST [19:48:09]POST find Content-Length [19:48:09]Host: 172.17.40.196:8080 [19:48:09]Content-Length: 987 [19:48:09]Content-Type: application/json [19:48:09] [19:48:09]POST finish read [19:48:09]Found Content-Length = 987 [19:48:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35276", "tax_sys" : 0, "items" : [ { "code": "4870202521179", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,45", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:09]execute_script... [19:48:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35276", "tax_sys" : 0, "items" : [ { "code": "4870202521179", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,45", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:09]POST & json_proto [19:48:09]process_json_proto [19:48:09]json parsed OK: [19:48:09]protocol is kg_v1.0 [19:48:09]action value=close_receipt [19:48:09]process_action close_receipt [19:48:09]cmd_close_receipt [19:48:09]MH_GetDate [19:48:09]Write to MH i2c: F0 00 00 69 04 5C [19:48:09]Write i2c OK [19:48:09]MH_I2C_Read... [19:48:09]Read from MH i2c: F0 [19:48:09]MH_I2C_Read... [19:48:09]Read from MH i2c: F0 09 00 [19:48:09]MH_I2C_Read... [19:48:09]Read from MH i2c: F0 09 00 69 04 00 7A 8D 22 67 5B 68 A1 66 BF [19:48:09]GetLastDocTimeStamp 1730317054 [19:48:09]current date 1730317690 [19:48:09]FM_GetShiftState [19:48:09]SAM_PROTO_GetShiftState [19:48:09]wFMCommunicate request_size=4 [19:48:09]MH_SAM_APDU [19:48:09]CAPDU: 80 13 01 00 [19:48:09]Write to MH i2c: E2 08 00 6A 04 80 13 01 00 00 00 00 00 EB [19:48:09]Write i2c OK [19:48:09]MH_I2C_Read... [19:48:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:09]Read from MH i2c: E2 [19:48:09]MH_I2C_Read... [19:48:09]Read from MH i2c: E2 0E 00 [19:48:09]MH_I2C_Read... [19:48:09]Read from MH i2c: E2 0E 00 6A 04 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 AC [19:48:09]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [19:48:09]wFMCommunicate OK [19:48:09]SAM_PROTO_GetShiftState done [19:48:09]FM_GetShiftState done [19:48:09]opened in 1730246837 [19:48:09]opened+sec_in_day 1730333237 [19:48:09]quantity*price = 7000 [19:48:09]sum+1 = 7001 [19:48:09]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000005489 Вода Бонаква 1л б/г 2.000 * 50.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 59 30.10.2024 19:48 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37977 ФПД: 190856056692133 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T194810&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37977&fm=190856056692133&tin=02508201610067®Number=0000000000091684&sum=17000 0 [19:48:10]StoreToDocumentArchive [19:48:10]shift 553 fd 37977 [19:48:10]save to /storage/0553/doc_00037977 [19:48:10]save last doc name /storage/0553/doc_00037977 to /storage/kkm_last_doc_name [19:48:10]save OK [19:48:10]Clear old archive folders... [19:48:10]ProcessDocumentItem done err = 0, tmpTLVsize=413 [19:48:10]tlvbuf is 005F0830 [19:48:10]SAM_PROTO_ClearQueue [19:48:10]wFMCommunicate request_size=4 [19:48:10]MH_SAM_APDU [19:48:10]CAPDU: 80 09 00 00 [19:48:10]Write to MH i2c: E2 08 00 77 04 80 09 00 00 00 00 00 00 ED [19:48:10]Write i2c OK [19:48:10]MH_I2C_Read... [19:48:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:48:10]Read from MH i2c: E2 [19:48:10]MH_I2C_Read... [19:48:10]Read from MH i2c: E2 03 00 [19:48:10]MH_I2C_Read... [19:48:10]Read from MH i2c: E2 03 00 77 04 00 90 00 EF [19:48:10]RAPDU: 90 00 [19:48:10]wFMCommunicate OK [19:48:10]SAM_PROTO_ClearQueue done [19:48:10]KKMCreateOFDPacket [19:48:10]OFDProtocolAddRootSTLVToBuf [19:48:10]FM_MakeSignedData [19:48:10]FM_MakeSignedData [19:48:10]SAM_PROTO_SignData [19:48:10]wFMCommunicate request_size=4 [19:48:10]MH_SAM_APDU [19:48:10]CAPDU: 80 0D 01 02 [19:48:10]Write to MH i2c: E2 08 00 78 04 80 0D 01 02 00 00 00 00 F5 [19:48:10]Write i2c OK [19:48:10]MH_I2C_Read... [19:48:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:48:10]Read from MH i2c: E2 [19:48:10]MH_I2C_Read... [19:48:10]Read from MH i2c: E2 03 00 [19:48:10]MH_I2C_Read... [19:48:10]Read from MH i2c: E2 03 00 78 04 00 90 00 F0 [19:48:10]RAPDU: 90 00 [19:48:10]wFMCommunicate OK [19:48:10]wFMCommunicate request_size=255 [19:48:10]MH_SAM_APDU [19:48:10]CAPDU: 80 0D 02 02 FA 03 00 9D 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 [19:48:10]Write to MH i2c: E2 02 01 79 04 80 0D 02 02 FA 00 03 00 9D 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 47 [19:48:10]Write i2c OK [19:48:10]MH_I2C_Read... [19:48:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:11]Read from MH i2c: E2 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 03 00 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 03 00 79 04 00 90 00 F1 [19:48:11]RAPDU: 90 00 [19:48:11]wFMCommunicate OK [19:48:11]wFMCommunicate request_size=172 [19:48:11]MH_SAM_APDU [19:48:11]CAPDU: 80 0D 02 02 A7 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 7A 8D 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 59 94 00 00 35 04 06 00 AD 95 23 76 5D A5 [19:48:11]Write to MH i2c: E2 AF 00 7A 04 80 0D 02 02 A7 00 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 7A 8D 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 59 94 00 00 35 04 06 00 AD 95 23 76 5D A5 00 00 47 [19:48:11]Write i2c OK [19:48:11]MH_I2C_Read... [19:48:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:11]Read from MH i2c: E2 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 03 00 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 03 00 7A 04 00 90 00 F2 [19:48:11]RAPDU: 90 00 [19:48:11]wFMCommunicate OK [19:48:11]wFMCommunicate request_size=4 [19:48:11]MH_SAM_APDU [19:48:11]CAPDU: 80 0D 03 02 [19:48:11]Write to MH i2c: E2 08 00 7B 04 80 0D 03 02 00 00 00 00 FA [19:48:11]Write i2c OK [19:48:11]MH_I2C_Read... [19:48:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:48:11]Read from MH i2c: E2 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 0B 00 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 0B 00 7B 04 00 FE 90 94 E5 0B AB F3 BC 90 00 67 [19:48:11]RAPDU: FE 90 94 E5 0B AB F3 BC 90 00 [19:48:11]wFMCommunicate OK [19:48:11]SAM_PROTO_SignData done [19:48:11]FM_MakeSignedData done [19:48:11]CreateOFDProtocolMessage [19:48:11]wFMCommunicate request_size=4 [19:48:11]MH_SAM_APDU [19:48:11]CAPDU: 80 11 00 00 [19:48:11]Write to MH i2c: E2 08 00 7C 04 80 11 00 00 00 00 00 00 FA [19:48:11]Write i2c OK [19:48:11]MH_I2C_Read... [19:48:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:11]Read from MH i2c: E2 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 17 00 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: E2 17 00 7C 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4A [19:48:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:48:11]wFMCommunicate OK [19:48:11]CreateOFDProtocolMessage done [19:48:11]OFDSenderStorePacket 37977 [19:48:11]StoreOFDPacket docnum=37977 [19:48:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 B1 01 00 00 29 DA A9 01 6C 4B 5A 03 01 00 03 00 9D 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 7A 8D 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 59 94 00 00 35 04 06 00 AD 95 23 76 5D A5 FE 90 94 E5 0B AB F3 BC [19:48:11]CheckFolder [19:48:11]dirname=/storage/ofd_packets [19:48:11]CheckFolder done [19:48:11]ProducePacketName [19:48:11]name=ofd_packets/00037977 [19:48:11]NVStorageSaveData ofd_packets/00037977 [19:48:11]File name is /storage/ofd_packets/00037977 [19:48:11]Write 463 bytes [19:48:11]NVStorageSaveData done [19:48:11]OFDSenderStorePacket done [19:48:11]KKMCreateOFDPacket done [19:48:11]NVStorageSaveData kkm_last_timestamp [19:48:11]File name is /storage/kkm_last_timestamp [19:48:11]Write 4 bytes [19:48:11]NVStorageSaveData done [19:48:11]ExternCall_PrintAddStr [19:48:11]wPrintStart [19:48:11]Write to MH i2c: 01 00 00 7D 04 81 [19:48:11]Write i2c OK [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: 01 [19:48:11]MH_I2C_Read... [19:48:11]OFD Sender: Processing packet 37977 [packets to send 42, broken 41] [19:48:11]ProducePacketName [19:48:11]name=ofd_packets/00037977 [19:48:11]OFD Sender: To server: pG, [19:48:11]CommunicateWithHost lk.salyk.kg:30040 [19:48:11]ConnectInit lk.salyk.kg [19:48:11]Read from MH i2c: 01 07 00 [19:48:11]MH_I2C_Read... [19:48:11]Read from MH i2c: 01 07 00 7D 04 00 00 00 00 00 FF 0F 96 [19:48:11]RasterBufferAndPrint [19:48:11]line Счет N : (3)35276 [19:48:11]line ИНН: 02508201610067 [19:48:11]line Контрольно-Кассовый Чек [19:48:11]line ПРОДАЖА [19:48:11]line Товар: 4870202521179 [19:48:11]line Чай холодный MAXI черный персик ПЭТ 0,45 [19:48:11]line 1.000 * 70.00 [19:48:11]line = 70.00 [19:48:11]line НДС 12% НСП 1% [19:48:11]line > о реализуемом товаре [19:48:11]line Товар: 5449000005489 [19:48:11]line Вода Бонаква 1л б/г [19:48:11]line 2.000 * 50.00 [19:48:11]line = 100.00 [19:48:11]line НДС 12% НСП 1% [19:48:11]line > о реализуемом товаре [19:48:11]line ИТОГО: 170.00 [19:48:11]line НСП 1% : 1.50 [19:48:11]line НДС 12% : 18.05 [19:48:11]line Наличными: 170.00 [19:48:11]line Безнал.: 0.00 [19:48:11]line Место: АЗС № 126 "Партнер Нефть" [19:48:11]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:48:11]line СНО: Общий режим [19:48:11]line Чек 59 30.10.2024 19:48 [19:48:11]line Смена: 553 ФФД: 1.0 [19:48:11]line ЗНМ: 0300000092 [19:48:11]line РНМ: 0000000000091684 [19:48:11]line Версия ККМ: 001 [19:48:11]line ФМ: 0000000000871841 [19:48:11]line ФД: 37977 [19:48:11]line ФПД: 190856056692133 [19:48:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T194810&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37977&fm=190856056692133&tin=02508201610067®Number=0000000000091684&sum=17000 [19:48:11]line 0 [19:48:11]written 0, free lines is 4095 [19:48:12]Connected sock=10 [19:48:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 B1 01 00 00 29 DA A9 01 6C 4B 5A 03 01 00 03 00 9D 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 7A 8D 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 59 94 00 00 35 04 06 00 AD 95 23 76 5D A5 FE 90 94 E5 0B AB F3 BC [19:48:12]Write to MH i2c: 01 00 00 AC 04 B0 [19:48:12]Write i2c OK [19:48:12]MH_I2C_Read... [19:48:12]Read from MH i2c: 01 [19:48:12]MH_I2C_Read... [19:48:12]Read from MH i2c: 01 07 00 [19:48:12]MH_I2C_Read... [19:48:12]Read from MH i2c: 01 07 00 AC 04 00 00 00 00 00 50 0C 13 [19:48:12]RasterBufferAndPrint [19:48:12]line [19:48:12]line [19:48:12]line [19:48:12]line [19:48:12]line [19:48:12]written 0, free lines is 3158 [19:48:12]MH_Cut [19:48:12]Write to MH i2c: D1 01 00 B3 04 01 89 [19:48:12]Write i2c OK [19:48:12]MH_I2C_Read... [19:48:12]Read from MH i2c: D1 [19:48:12]MH_I2C_Read... [19:48:12]Read from MH i2c: D1 01 00 [19:48:12]MH_I2C_Read... [19:48:12]Read from MH i2c: D1 01 00 B3 04 00 88 [19:48:12]Write to MH i2c: 01 00 00 B4 04 B8 [19:48:12]Write i2c OK [19:48:12]MH_I2C_Read... [19:48:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 CA 6F 47 00 B0 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 38 37 31 38 34 31 10 04 04 00 59 94 00 00 F4 03 04 00 68 38 22 67 B6 04 01 00 00 43 A0 8D 1A D6 A7 96 54 [19:48:12]CommunicateWithHost err = 0 [19:48:12]CheckOFDResponse [19:48:12]1017 (14) - 77093643461234 [19:48:12]1041 (16) - 0000000000871841 [19:48:12]1040 (4) - 37977 [19:48:12]1012 (4) - 30.10.2024 13:45 [19:48:12]1206 (1) - 0 [19:48:12]OFD Sender: Remove packet 37977 [19:48:12]ProducePacketName [19:48:12]name=ofd_packets/00037977 [19:48:12]NVStorageDeleteData [19:48:12]OFD Sender: No OFD packet to send [19:48:13]*** Cut start [19:48:13]*** Partial cut [19:48:13]*** CUTSNS_PIN = 1 [19:48:13]*** CUTSNS_PIN = 0 [19:48:13]*** Brake cut motor [19:48:13]Read from MH i2c: 01 [19:48:13]MH_I2C_Read... [19:48:13]*** Stop cut motor [19:48:13]*** Cut end [19:48:13]Read from MH i2c: 01 07 00 [19:48:13]MH_I2C_Read... [19:48:13]Read from MH i2c: 01 07 00 B4 04 00 00 00 00 00 FF 0F CD [19:48:13]process_action close_receipt done [19:48:13]requested_data is exist [19:48:13]produce_requested_data [19:48:13]requested_item fm.sn is exist - process it [19:48:13]wFMCommunicate request_size=4 [19:48:13]MH_SAM_APDU [19:48:13]CAPDU: 80 11 00 00 [19:48:13]Write to MH i2c: E2 08 00 B5 04 80 11 00 00 00 00 00 00 33 [19:48:13]Write i2c OK [19:48:13]MH_I2C_Read... [19:48:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:13]Read from MH i2c: E2 [19:48:13]MH_I2C_Read... [19:48:13]Read from MH i2c: E2 17 00 [19:48:13]MH_I2C_Read... [19:48:13]Read from MH i2c: E2 17 00 B5 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 83 [19:48:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:48:13]wFMCommunicate OK [19:48:13]requested_item fd.num is exist - process it [19:48:13]SAM_PROTO_GetFieldsCounters [19:48:13]wFMCommunicate request_size=4 [19:48:13]MH_SAM_APDU [19:48:13]CAPDU: 80 13 00 00 [19:48:13]Write to MH i2c: E2 08 00 B6 04 80 13 00 00 00 00 00 00 36 [19:48:13]Write i2c OK [19:48:13]MH_I2C_Read... [19:48:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:48:13]Read from MH i2c: E2 [19:48:13]MH_I2C_Read... [19:48:13]Read from MH i2c: E2 62 00 [19:48:13]MH_I2C_Read... [19:48:13]Read from MH i2c: E2 62 00 B6 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 59 94 00 00 0E 04 04 00 29 02 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:48:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 59 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:48:14]wFMCommunicate OK [19:48:14]SAM_PROTO_GetFieldsCounters done [19:48:14]requested_item shift.num is exist - process it [19:48:14]requested_item shift.opened is exist - process it [19:48:14]req_shift_opened [19:48:14]FM_GetShiftState [19:48:14]SAM_PROTO_GetShiftState [19:48:14]wFMCommunicate request_size=4 [19:48:14]MH_SAM_APDU [19:48:14]CAPDU: 80 13 01 00 [19:48:14]Write to MH i2c: E2 08 00 B7 04 80 13 01 00 00 00 00 00 38 [19:48:14]Write i2c OK [19:48:14]MH_I2C_Read... [19:48:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:14]Read from MH i2c: E2 [19:48:14]MH_I2C_Read... [19:48:14]Read from MH i2c: E2 0E 00 [19:48:14]MH_I2C_Read... [19:48:14]Read from MH i2c: E2 0E 00 B7 04 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 F9 [19:48:14]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [19:48:14]wFMCommunicate OK [19:48:14]SAM_PROTO_GetShiftState done [19:48:14]FM_GetShiftState done [19:48:14]req_shift_opened done [19:48:14]requested_item shift.open_date is exist - process it [19:48:14]req_shift_open_date [19:48:14]req_shift_open_date done [19:48:14]produce_requested_data done [19:48:14]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37977,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [19:48:14]process_action_free close_receipt [19:48:14]json_value_free [19:48:14]json_value_free done [19:48:14]process_json_proto returns [19:48:14]Send response to host [19:48:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37977,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [19:48:14]free response buf [19:48:14]execute_script done [19:48:14]execute_script returns [19:48:14]free content buf [19:48:14]Sock 8.Close socket [19:48:14]Sock 8.Thread stoped [19:48:17]OFD Sender: No OFD packet to send [19:48:23]OFD Sender: No OFD packet to send [19:48:28]OFD Sender: No OFD packet to send [19:48:33]OFD Sender: No OFD packet to send [19:48:38]OFD Sender: No OFD packet to send [19:48:43]OFD Sender: No OFD packet to send [19:48:48]OFD Sender: No OFD packet to send [19:48:53]OFD Sender: No OFD packet to send [19:48:58]OFD Sender: No OFD packet to send [19:49:03]OFD Sender: No OFD packet to send [19:49:08]OFD Sender: No OFD packet to send [19:49:13]OFD Sender: No OFD packet to send [19:49:18]OFD Sender: No OFD packet to send [19:49:23]OFD Sender: No OFD packet to send [19:49:28]OFD Sender: No OFD packet to send [19:49:33]OFD Sender: No OFD packet to send [19:49:38]OFD Sender: No OFD packet to send [19:49:43]OFD Sender: No OFD packet to send [19:49:48]OFD Sender: No OFD packet to send [19:49:53]OFD Sender: No OFD packet to send [19:49:58]OFD Sender: No OFD packet to send [19:50:03]OFD Sender: No OFD packet to send [19:50:08]OFD Sender: No OFD packet to send [19:50:13]OFD Sender: No OFD packet to send [19:50:18]OFD Sender: No OFD packet to send [19:50:23]OFD Sender: No OFD packet to send [19:50:28]OFD Sender: No OFD packet to send [19:50:33]OFD Sender: No OFD packet to send [19:50:38]OFD Sender: No OFD packet to send [19:50:43]OFD Sender: No OFD packet to send [19:50:48]OFD Sender: No OFD packet to send [19:50:53]OFD Sender: No OFD packet to send [19:50:58]OFD Sender: No OFD packet to send [19:51:03]OFD Sender: No OFD packet to send [19:51:08]OFD Sender: No OFD packet to send [19:51:13]OFD Sender: No OFD packet to send [19:51:18]OFD Sender: No OFD packet to send [19:51:23]OFD Sender: No OFD packet to send [19:51:28]OFD Sender: No OFD packet to send [19:51:33]OFD Sender: No OFD packet to send [19:51:38]OFD Sender: No OFD packet to send [19:51:43]OFD Sender: No OFD packet to send [19:51:48]OFD Sender: No OFD packet to send [19:51:53]OFD Sender: No OFD packet to send [19:51:58]OFD Sender: No OFD packet to send [19:52:03]OFD Sender: No OFD packet to send [19:52:08]OFD Sender: No OFD packet to send [19:52:13]OFD Sender: No OFD packet to send [19:52:18]OFD Sender: No OFD packet to send [19:52: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:32]int [19:56:32]Write to MH i2c: 01 00 00 B8 04 BC [19:56:32]Write i2c OK [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: 01 [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: 01 07 00 [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: 01 07 00 B8 04 00 00 00 00 00 FF 0F D1 [19:56:32]state=0 [19:56:32]int [19:56:32]Write to MH i2c: 01 00 00 B9 04 BD [19:56:32]*** FLAG_PRN_PAP1 set [19:56:32]*** FLAG_PRN_PAP1 reset [19:56:32]*** FLAG_PRN_PAP1 set [19:56:32]Write i2c OK [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: 01 [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: 01 07 00 [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: 01 07 00 B9 04 00 01 00 00 00 FF 0F D3 [19:56:32]state=0 [19:56:32]No paper [19:56:32]int [19:56:32]Write to MH i2c: 01 00 00 BA 04 BE [19:56:32]*** FLAG_PRN_PAP2 set [19:56:32]Write i2c OK [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: 01 [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: 01 07 00 [19:56:32]MH_I2C_Read... [19:56:32]Read from MH i2c: 01 07 00 BA 04 00 03 00 00 00 FF 0F D6 [19:56:32]state=0 [19:56:32]No paper [19:56:32]Cover opened [19:56:33]OFD Sender: No OFD packet to send [19:56:34]int [19:56:34]Write to MH i2c: 01 00 00 BB 04 BF [19:56:34]*** FLAG_PRN_PAP2 reset [19:56:34]Write i2c OK [19:56:34]MH_I2C_Read... [19:56:34]Read from MH i2c: 01 [19:56:34]MH_I2C_Read... [19:56:34]Read from MH i2c: 01 07 00 [19:56:34]MH_I2C_Read... [19:56:34]Read from MH i2c: 01 07 00 BB 04 00 01 00 00 00 FF 0F D5 [19:56:34]state=3 [19:56:34]No paper [19:56:34]Cover closed [19:56:34]int [19:56:34]Write to MH i2c: 01 00 00 BC 04 C0 [19:56:34]*** FLAG_PRN_PAP2 set [19:56:34]Write i2c OK [19:56:34]MH_I2C_Read... [19:56:34]Read from MH i2c: 01 [19:56:34]MH_I2C_Read... [19:56:34]Read from MH i2c: 01 07 00 [19:56:34]MH_I2C_Read... [19:56:34]Read from MH i2c: 01 07 00 BC 04 00 03 00 00 00 FF 0F D8 [19:56:34]state=0 [19:56:34]No paper [19:56:34]Cover opened [19:56:38]OFD Sender: No OFD packet to send [19:56:39]Write to MH i2c: 01 00 00 BD 04 C1 [19:56:39]Write i2c OK [19:56:39]MH_I2C_Read... [19:56:39]Read from MH i2c: 01 [19:56:39]MH_I2C_Read... [19:56:39]Read from MH i2c: 01 07 00 [19:56:39]MH_I2C_Read... [19:56:39]Read from MH i2c: 01 07 00 BD 04 00 03 00 00 00 FF 0F D9 [19:56:39]state=3 [19:56:39]No paper [19:56:39]Cover opened [19:56:41]int [19:56:41]Write to MH i2c: 01 00 00 BE 04 C2 [19:56:41]*** FLAG_PRN_PAP2 reset [19:56:41]Write i2c OK [19:56:41]MH_I2C_Read... [19:56:41]Read from MH i2c: 01 [19:56:41]MH_I2C_Read... [19:56:41]Read from MH i2c: 01 07 00 [19:56:41]MH_I2C_Read... [19:56:41]Read from MH i2c: 01 07 00 BE 04 00 01 00 00 00 FF 0F D8 [19:56:41]state=3 [19:56:41]No paper [19:56:41]Cover closed [19:56:41]int [19:56:41]Write to MH i2c: 01 00 00 BF 04 C3 [19:56:41]*** FLAG_PRN_PAP1 reset [19:56:41]Write i2c OK [19:56:41]MH_I2C_Read... [19:56:41]Read from MH i2c: 01 [19:56:41]MH_I2C_Read... [19:56:41]Read from MH i2c: 01 07 00 [19:56:41]MH_I2C_Read... [19:56:41]Read from MH i2c: 01 07 00 BF 04 00 00 00 00 00 FF 0F D8 [19:56:41]state=0 [19:56:41]int [19:56:41]Write to MH i2c: 01 00 00 C0 04 C4 [19:56:41]*** FLAG_PRN_KEY set [19:56:41]Write i2c OK [19:56:41]MH_I2C_Read... [19:56:41]Read from MH i2c: 01 [19:56:41]MH_I2C_Read... [19:56:41]Read from MH i2c: 01 07 00 [19:56:41]MH_I2C_Read... [19:56:41]Read from MH i2c: 01 07 00 C0 04 00 08 00 00 00 FF 0F E1 [19:56:41]state=0 [19:56:41]Key pressed [19:56:41]Feed [19:56:41]Write to MH i2c: D8 00 00 C1 04 9C [19:56:41]Write i2c OK [19:56:41]MH_I2C_Read... [19:56:41]Read from MH i2c: D8 [19:56:41]MH_I2C_Read... [19:56:41]Read from MH i2c: D8 01 00 [19:56:41]MH_I2C_Read... [19:56:41]Read from MH i2c: D8 01 00 C1 04 00 9D [19:56:41]int [19:56:41]Write to MH i2c: 01 00 00 C2 04 C6 [19:56:41]Write i2c OK [19:56:41]MH_I2C_Read... [19:56:41]Read from MH i2c: 01 [19:56:41]MH_I2C_Read... [19:56:41]Read from MH i2c: 01 07 00 [19:56:41]MH_I2C_Read... [19:56:41]Read from MH i2c: 01 07 00 C2 04 00 48 00 00 00 3C 00 51 [19:56:41]state=2 [19:56:41]Key pressed [19:56:42]int [19:56:42]Write to MH i2c: 01 00 00 C3 04 C7 [19:56:42]*** FLAG_PRN_KEY reset [19:56:42]Write i2c OK [19:56:42]MH_I2C_Read... [19:56:42]Read from MH i2c: 01 [19:56:42]MH_I2C_Read... [19:56:42]Read from MH i2c: 01 07 00 [19:56:42]MH_I2C_Read... [19:56:42]Read from MH i2c: 01 07 00 C3 04 00 00 00 00 00 FF 0F DC [19:56:42]state=2 [19:56:42]Stop feed [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:43]OFD Sender: No OFD packet to send [20:04:48]OFD Sender: No OFD packet to send [20:04:53]OFD Sender: No OFD packet to send [20:04:58]OFD Sender: No OFD packet to send [20:05:03]OFD Sender: No OFD packet to send [20:05:08]OFD Sender: No OFD packet to send [20:05:13]OFD Sender: No OFD packet to send [20:05:18]OFD Sender: No OFD packet to send [20:05:23]OFD Sender: No OFD packet to send [20:05:28]OFD Sender: No OFD packet to send [20:05:33]OFD Sender: No OFD packet to send [20:05:38]OFD Sender: No OFD packet to send [20:05:43]OFD Sender: No OFD packet to send [20:05:48]OFD Sender: No OFD packet to send [20:05:53]OFD Sender: No OFD packet to send [20:05:58]OFD Sender: No OFD packet to send [20:06:03]OFD Sender: No OFD packet to send [20:06:08]OFD Sender: No OFD packet to send [20:06:13]OFD Sender: No OFD packet to send [20:06:18]OFD Sender: No OFD packet to send [20:06:23]OFD Sender: No OFD packet to send [20:06:28]OFD Sender: No OFD packet to send [20:06:33]OFD Sender: No OFD packet to send [20:06:38]OFD Sender: No OFD packet to send [20:06:43]OFD Sender: No OFD packet to send [20:06:48]OFD Sender: No OFD packet to send [20:06:53]OFD Sender: No OFD packet to send [20:06: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:04]OFD Sender: No OFD packet to send [20:12:09]OFD Sender: No OFD packet to send [20:12:14]OFD Sender: No OFD packet to send [20:12:19]OFD Sender: No OFD packet to send [20:12:24]OFD Sender: No OFD packet to send [20:12:29]OFD Sender: No OFD packet to send [20:12:34]OFD Sender: No OFD packet to send [20:12:39]OFD Sender: No OFD packet to send [20:12:44]OFD Sender: No OFD packet to send [20:12:49]OFD Sender: No OFD packet to send [20:12:54]OFD Sender: No OFD packet to send [20:12:59]OFD Sender: No OFD packet to send [20:13:04]OFD Sender: No OFD packet to send [20:13:09]OFD Sender: No OFD packet to send [20:13:14]OFD Sender: No OFD packet to send [20:13:19]OFD Sender: No OFD packet to send [20:13:24]OFD Sender: No OFD packet to send [20:13:29]OFD Sender: No OFD packet to send [20:13:34]OFD Sender: No OFD packet to send [20:13:39]OFD Sender: No OFD packet to send [20:13:44]OFD Sender: No OFD packet to send [20:13:49]OFD Sender: No OFD packet to send [20:13:54]OFD Sender: No OFD packet to send [20:13:59]OFD Sender: No OFD packet to send [20:14:04]OFD Sender: No OFD packet to send [20:14:09]OFD Sender: No OFD packet to send [20:14:14]OFD Sender: No OFD packet to send [20:14:19]OFD Sender: No OFD packet to send [20:14:24]OFD Sender: No OFD packet to send [20:14:29]OFD Sender: No OFD packet to send [20:14:34]OFD Sender: No OFD packet to send [20:14:39]OFD Sender: No OFD packet to send [20:14:44]OFD Sender: No OFD packet to send [20:14:49]OFD Sender: No OFD packet to send [20:14:54]OFD Sender: No OFD packet to send [20:14:59]OFD Sender: No OFD packet to send [20:15:04]OFD Sender: No OFD packet to send [20:15:09]OFD Sender: No OFD packet to send [20:15:14]OFD Sender: No OFD packet to send [20:15:19]OFD Sender: No OFD packet to send [20:15:24]OFD Sender: No OFD packet to send [20:15:29]OFD Sender: No OFD packet to send [20:15:34]OFD Sender: No OFD packet to send [20:15:39]OFD Sender: No OFD packet to send [20:15:44]OFD Sender: No OFD packet to send [20:15:49]OFD Sender: No OFD packet to send [20:15:54]OFD Sender: No OFD packet to send [20:15:59]OFD Sender: No OFD packet to send [20:16:04]OFD Sender: No OFD packet to send [20:16:09]OFD Sender: No OFD packet to send [20:16:14]OFD Sender: No OFD packet to send [20:16:19]OFD Sender: No OFD packet to send [20:16:24]OFD Sender: No OFD packet to send [20:16:29]OFD Sender: No OFD packet to send [20:16:34]OFD Sender: No OFD packet to send [20:16:39]OFD Sender: No OFD packet to send [20:16:44]OFD Sender: No OFD packet to send [20:16:49]OFD Sender: No OFD packet to send [20:16:54]OFD Sender: No OFD packet to send [20:16:59]OFD Sender: No OFD packet to send [20:17:04]OFD Sender: No OFD packet to send [20:17:09]OFD Sender: No OFD packet to send [20:17:14]OFD Sender: No OFD packet to send [20:17:19]OFD Sender: No OFD packet to send [20:17:24]OFD Sender: No OFD packet to send [20:17:29]OFD Sender: No OFD packet to send [20:17:34]OFD Sender: No OFD packet to send [20:17:39]OFD Sender: No OFD packet to send [20:17:44]OFD Sender: No OFD packet to send [20:17:49]OFD Sender: No OFD packet to send [20:17:54]OFD Sender: No OFD packet to send [20:17:59]OFD Sender: No OFD packet to send [20:18:04]OFD Sender: No OFD packet to send [20:18:09]OFD Sender: No OFD packet to send [20:18:14]OFD Sender: No OFD packet to send [20:18:19]OFD Sender: No OFD packet to send [20:18:24]OFD Sender: No OFD packet to send [20:18:29]OFD Sender: No OFD packet to send [20:18:34]OFD Sender: No OFD packet to send [20:18:36]accept exits with 9 [20:18:36]New connection [20:18:36]New thread 3067432292 created [20:18:36]Thread 3067288932 joined [20:18:36]Waiting for new connection... [20:18:36] Sock 9.Parse request [20:18:36]Sock 9.Check first char [20:18:36]Sock 9.First char is OK [20:18:36]request: POST /json_proto HTTP/1.0 [20:18:36]Method: POST [20:18:36]URL: /json_proto [20:18:36]Method is POST - this is cgi request [20:18:36]url: /json_proto [20:18:36]query_string will be loaded in cgi processing [20:18:36]execute_cgi json_proto POST (null) [20:18:36]execute_cgi path=json_proto method=POST [20:18:36]POST find Content-Length [20:18:36]Host: 172.17.40.196:8080 [20:18:36]Content-Length: 889 [20:18:36]Content-Type: application/json [20:18:36] [20:18:36]POST finish read [20:18:36]Found Content-Length = 889 [20:18:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35277", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:18:36]execute_script... [20:18: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)35277", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:18:36]POST & json_proto [20:18:36]process_json_proto [20:18:36]json parsed OK: [20:18:36]protocol is kg_v1.0 [20:18:36]action value=close_receipt [20:18:36]process_action close_receipt [20:18:36]cmd_close_receipt [20:18:36]MH_GetDate [20:18:36]Write to MH i2c: F0 00 00 C4 04 B7 [20:18:36]Write i2c OK [20:18:36]MH_I2C_Read... [20:18:36]Read from MH i2c: F0 [20:18:36]MH_I2C_Read... [20:18:36]Read from MH i2c: F0 09 00 [20:18:36]MH_I2C_Read... [20:18:36]Read from MH i2c: F0 09 00 C4 04 00 9D 94 22 67 5B 68 A1 66 44 [20:18:36]GetLastDocTimeStamp 1730317690 [20:18:36]current date 1730319517 [20:18:36]FM_GetShiftState [20:18:36]SAM_PROTO_GetShiftState [20:18:36]wFMCommunicate request_size=4 [20:18:36]MH_SAM_APDU [20:18:36]CAPDU: 80 13 01 00 [20:18:36]Write to MH i2c: E2 08 00 C5 04 80 13 01 00 00 00 00 00 46 [20:18:36]Write i2c OK [20:18:36]MH_I2C_Read... [20:18:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:18:36]Read from MH i2c: E2 [20:18:36]MH_I2C_Read... [20:18:36]Read from MH i2c: E2 0E 00 [20:18:36]MH_I2C_Read... [20:18:36]Read from MH i2c: E2 0E 00 C5 04 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 07 [20:18:36]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [20:18:36]wFMCommunicate OK [20:18:36]SAM_PROTO_GetShiftState done [20:18:36]FM_GetShiftState done [20:18:36]opened in 1730246837 [20:18:36]opened+sec_in_day 1730333237 [20:18:36]quantity*price = 16000 [20:18:36]sum+1 = 16001 [20:18:36]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000034730018 Кофе Американо (GABB TRADE) 1.000 * 105.00 = 105.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 265.00 НСП 1% : 2.35 НДС 12% : 28.14 Наличными: 265.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 60 30.10.2024 20:18 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37978 ФПД: 186094539509955 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T201837&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37978&fm=186094539509955&tin=02508201610067®Number=0000000000091684&sum=26500 0 [20:18:37]StoreToDocumentArchive [20:18:37]shift 553 fd 37978 [20:18:37]save to /storage/0553/doc_00037978 [20:18:37]save last doc name /storage/0553/doc_00037978 to /storage/kkm_last_doc_name [20:18:37]save OK [20:18:37]Clear old archive folders... [20:18:37]ProcessDocumentItem done err = 0, tmpTLVsize=388 [20:18:37]tlvbuf is 005F0390 [20:18:37]SAM_PROTO_ClearQueue [20:18:37]wFMCommunicate request_size=4 [20:18:37]MH_SAM_APDU [20:18:37]CAPDU: 80 09 00 00 [20:18:37]Write to MH i2c: E2 08 00 D2 04 80 09 00 00 00 00 00 00 48 [20:18:37]Write i2c OK [20:18:37]MH_I2C_Read... [20:18:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:18:37]Read from MH i2c: E2 [20:18:37]MH_I2C_Read... [20:18:37]Read from MH i2c: E2 03 00 [20:18:37]MH_I2C_Read... [20:18:37]Read from MH i2c: E2 03 00 D2 04 00 90 00 4A [20:18:37]RAPDU: 90 00 [20:18:37]wFMCommunicate OK [20:18:37]SAM_PROTO_ClearQueue done [20:18:37]KKMCreateOFDPacket [20:18:37]OFDProtocolAddRootSTLVToBuf [20:18:37]FM_MakeSignedData [20:18:37]FM_MakeSignedData [20:18:37]SAM_PROTO_SignData [20:18:37]wFMCommunicate request_size=4 [20:18:37]MH_SAM_APDU [20:18:37]CAPDU: 80 0D 01 02 [20:18:37]Write to MH i2c: E2 08 00 D3 04 80 0D 01 02 00 00 00 00 50 [20:18:37]Write i2c OK [20:18:37]MH_I2C_Read... [20:18:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:18:37]Read from MH i2c: E2 [20:18:37]MH_I2C_Read... [20:18:37]Read from MH i2c: E2 03 00 [20:18:37]MH_I2C_Read... [20:18:37]Read from MH i2c: E2 03 00 D3 04 00 90 00 4B [20:18:37]RAPDU: 90 00 [20:18:37]wFMCommunicate OK [20:18:37]wFMCommunicate request_size=255 [20:18:37]MH_SAM_APDU [20:18:37]CAPDU: 80 0D 02 02 FA 03 00 84 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [20:18:37]Write to MH i2c: E2 02 01 D4 04 80 0D 02 02 FA 00 03 00 84 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 1A [20:18:37]Write i2c OK [20:18:37]MH_I2C_Read... [20:18:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:18:37]Read from MH i2c: E2 [20:18:37]MH_I2C_Read... [20:18:37]Read from MH i2c: E2 03 00 [20:18:37]MH_I2C_Read... [20:18:37]Read from MH i2c: E2 03 00 D4 04 00 90 00 4C [20:18:37]RAPDU: 90 00 [20:18:37]wFMCommunicate OK [20:18:37]wFMCommunicate request_size=147 [20:18:37]MH_SAM_APDU [20:18:37]CAPDU: 80 0D 02 02 8E F7 03 06 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 9D 94 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5A 94 00 00 35 04 06 00 A9 40 82 EC 10 C3 [20:18:37]Write to MH i2c: E2 96 00 D5 04 80 0D 02 02 8E 00 F7 03 06 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 9D 94 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5A 94 00 00 35 04 06 00 A9 40 82 EC 10 C3 00 00 B3 [20:18:37]Write i2c OK [20:18:37]MH_I2C_Read... [20:18:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:18:38]Read from MH i2c: E2 [20:18:38]MH_I2C_Read... [20:18:38]Read from MH i2c: E2 03 00 [20:18:38]MH_I2C_Read... [20:18:38]Read from MH i2c: E2 03 00 D5 04 00 90 00 4D [20:18:38]RAPDU: 90 00 [20:18:38]wFMCommunicate OK [20:18:38]wFMCommunicate request_size=4 [20:18:38]MH_SAM_APDU [20:18:38]CAPDU: 80 0D 03 02 [20:18:38]Write to MH i2c: E2 08 00 D6 04 80 0D 03 02 00 00 00 00 55 [20:18:38]Write i2c OK [20:18:38]MH_I2C_Read... [20:18:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:18:38]Read from MH i2c: E2 [20:18:38]MH_I2C_Read... [20:18:38]Read from MH i2c: E2 0B 00 [20:18:38]MH_I2C_Read... [20:18:38]Read from MH i2c: E2 0B 00 D6 04 00 00 A2 DE 50 BE 5A 22 69 90 00 C9 [20:18:38]RAPDU: 00 A2 DE 50 BE 5A 22 69 90 00 [20:18:38]wFMCommunicate OK [20:18:38]SAM_PROTO_SignData done [20:18:38]FM_MakeSignedData done [20:18:38]CreateOFDProtocolMessage [20:18:38]wFMCommunicate request_size=4 [20:18:38]MH_SAM_APDU [20:18:38]CAPDU: 80 11 00 00 [20:18:38]Write to MH i2c: E2 08 00 D7 04 80 11 00 00 00 00 00 00 55 [20:18:38]Write i2c OK [20:18:38]MH_I2C_Read... [20:18:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:18:38]Read from MH i2c: E2 [20:18:38]MH_I2C_Read... [20:18:38]Read from MH i2c: E2 17 00 [20:18:38]MH_I2C_Read... [20:18:38]Read from MH i2c: E2 17 00 D7 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A5 [20:18:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:18:38]wFMCommunicate OK [20:18:38]CreateOFDProtocolMessage done [20:18:38]OFDSenderStorePacket 37978 [20:18:38]StoreOFDPacket docnum=37978 [20:18:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 98 01 00 00 4C 95 90 01 7D 7B 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 9D 94 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5A 94 00 00 35 04 06 00 A9 40 82 EC 10 C3 00 A2 DE 50 BE 5A 22 69 [20:18:38]CheckFolder [20:18:38]dirname=/storage/ofd_packets [20:18:38]CheckFolder done [20:18:38]ProducePacketName [20:18:38]name=ofd_packets/00037978 [20:18:38]NVStorageSaveData ofd_packets/00037978 [20:18:38]File name is /storage/ofd_packets/00037978 [20:18:38]Write 438 bytes [20:18:38]NVStorageSaveData done [20:18:38]OFDSenderStorePacket done [20:18:38]KKMCreateOFDPacket done [20:18:38]NVStorageSaveData kkm_last_timestamp [20:18:38]File name is /storage/kkm_last_timestamp [20:18:38]Write 4 bytes [20:18:38]NVStorageSaveData done [20:18:38]ExternCall_PrintAddStr [20:18:38]wPrintStart [20:18:38]Write to MH i2c: 01 00 00 D8 04 DC [20:18:38]Write i2c OK [20:18:38]MH_I2C_Read... [20:18:38]Read from MH i2c: 01 [20:18:38]MH_I2C_Read... [20:18:38]Read from MH i2c: 01 07 00 [20:18:38]MH_I2C_Read... [20:18:38]Read from MH i2c: 01 07 00 D8 04 00 00 00 00 00 FF 0F F1 [20:18:38]RasterBufferAndPrint [20:18:38]line Счет N : (3)35277 [20:18:38]line ИНН: 02508201610067 [20:18:38]line Контрольно-Кассовый Чек [20:18:38]line ПРОДАЖА [20:18:38]line Товар: 48742245 [20:18:38]line Сигареты Parliament Silver Blue [20:18:38]line 1.000 * 160.00 [20:18:38]line = 160.00 [20:18:38]line НДС 12% НСП 1% [20:18:38]line > о реализуемом товаре [20:18:38]line Товар: 2000034730018 [20:18:38]line Кофе Американо (GABB TRADE) [20:18:38]line 1.000 * 105.00 [20:18:38]line = 105.00 [20:18:38]line НДС 12% НСП 1% [20:18:38]line > о реализуемом товаре [20:18:38]line ИТОГО: 265.00 [20:18:38]line НСП 1% : 2.35 [20:18:38]line НДС 12% : 28.14 [20:18:38]line Наличными: 265.00 [20:18:38]line Безнал.: 0.00 [20:18:38]line Место: АЗС № 126 "Партнер Нефть" [20:18:38]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [20:18:38]line СНО: Общий режим [20:18:38]line Чек 60 30.10.2024 20:18 [20:18:38]line Смена: 553 ФФД: 1.0 [20:18:38]line ЗНМ: 0300000092 [20:18:38]line РНМ: 0000000000091684 [20:18:38]line Версия ККМ: 001 [20:18:38]line ФМ: 0000000000871841 [20:18:38]line ФД: 37978 [20:18:38]line ФПД: 186094539509955 [20:18:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T201837&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37978&fm=186094539509955&tin=02508201610067®Number=0000000000091684&sum=26500 [20:18:38]line 0 [20:18:38]OFD Sender: Processing packet 37978 [packets to send 42, broken 41] [20:18:38]ProducePacketName [20:18:38]name=ofd_packets/00037978 [20:18:38]OFD Sender: To server: pG, [20:18:38]CommunicateWithHost lk.salyk.kg:30040 [20:18:38]ConnectInit lk.salyk.kg [20:18:38]written 0, free lines is 4095 [20:18:38]Connected sock=10 [20:18:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 98 01 00 00 4C 95 90 01 7D 7B 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 9D 94 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5A 94 00 00 35 04 06 00 A9 40 82 EC 10 C3 00 A2 DE 50 BE 5A 22 69 [20:18:39]Write to MH i2c: 01 00 00 08 05 0D [20:18:39]Write i2c OK [20:18:39]MH_I2C_Read... [20:18:39]Read from MH i2c: 01 [20:18:39]MH_I2C_Read... [20:18:39]Read from MH i2c: 01 07 00 [20:18:39]MH_I2C_Read... [20:18:39]Read from MH i2c: 01 07 00 08 05 00 00 00 00 00 44 0C 64 [20:18:39]RasterBufferAndPrint [20:18:39]line [20:18:39]line [20:18:39]line [20:18:39]line [20:18:39]line [20:18:39]written 0, free lines is 3146 [20:18:39]MH_Cut [20:18:39]Write to MH i2c: D1 01 00 0F 05 01 E6 [20:18:39]Write i2c OK [20:18:39]MH_I2C_Read... [20:18:39]Read from MH i2c: D1 [20:18:39]MH_I2C_Read... [20:18:39]Read from MH i2c: D1 01 00 [20:18:39]MH_I2C_Read... [20:18:39]Read from MH i2c: D1 01 00 0F 05 00 E5 [20:18:39]Write to MH i2c: 01 00 00 10 05 15 [20:18:39]Write i2c OK [20:18:39]MH_I2C_Read... [20:18:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 7B 0A 47 00 43 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 38 37 31 38 34 31 10 04 04 00 5A 94 00 00 F4 03 04 00 8B 3F 22 67 B6 04 01 00 00 5A D9 A2 2F B3 94 A8 DE [20:18:39]CommunicateWithHost err = 0 [20:18:39]CheckOFDResponse [20:18:39]1017 (14) - 77093643461234 [20:18:39]1041 (16) - 0000000000871841 [20:18:39]1040 (4) - 37978 [20:18:39]1012 (4) - 30.10.2024 14:15 [20:18:39]1206 (1) - 0 [20:18:39]OFD Sender: Remove packet 37978 [20:18:39]ProducePacketName [20:18:39]name=ofd_packets/00037978 [20:18:39]NVStorageDeleteData [20:18:39]OFD Sender: No OFD packet to send [20:18:39]*** Cut start [20:18:39]*** Partial cut [20:18:39]*** CUTSNS_PIN = 1 [20:18:40]*** CUTSNS_PIN = 0 [20:18:40]*** Brake cut motor [20:18:40]Read from MH i2c: 01 [20:18:40]MH_I2C_Read... [20:18:40]*** Stop cut motor [20:18:40]*** Cut end [20:18:40]Read from MH i2c: 01 07 00 [20:18:40]MH_I2C_Read... [20:18:40]Read from MH i2c: 01 07 00 10 05 00 00 00 00 00 FF 0F 2A [20:18:40]process_action close_receipt done [20:18:40]requested_data is exist [20:18:40]produce_requested_data [20:18:40]requested_item fm.sn is exist - process it [20:18:40]wFMCommunicate request_size=4 [20:18:40]MH_SAM_APDU [20:18:40]CAPDU: 80 11 00 00 [20:18:40]Write to MH i2c: E2 08 00 11 05 80 11 00 00 00 00 00 00 90 [20:18:40]Write i2c OK [20:18:40]MH_I2C_Read... [20:18:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:18:40]Read from MH i2c: E2 [20:18:40]MH_I2C_Read... [20:18:40]Read from MH i2c: E2 17 00 [20:18:40]MH_I2C_Read... [20:18:40]Read from MH i2c: E2 17 00 11 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E0 [20:18:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:18:40]wFMCommunicate OK [20:18:40]requested_item fd.num is exist - process it [20:18:40]SAM_PROTO_GetFieldsCounters [20:18:40]wFMCommunicate request_size=4 [20:18:40]MH_SAM_APDU [20:18:40]CAPDU: 80 13 00 00 [20:18:40]Write to MH i2c: E2 08 00 12 05 80 13 00 00 00 00 00 00 93 [20:18:40]Write i2c OK [20:18:40]MH_I2C_Read... [20:18:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:18:40]Read from MH i2c: E2 [20:18:40]MH_I2C_Read... [20:18:40]Read from MH i2c: E2 62 00 [20:18:40]MH_I2C_Read... [20:18:40]Read from MH i2c: E2 62 00 12 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 5A 94 00 00 0E 04 04 00 29 02 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 81 [20:18:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 5A 94 00 00 0E 04 04 00 29 02 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:18:40]wFMCommunicate OK [20:18:40]SAM_PROTO_GetFieldsCounters done [20:18:40]requested_item shift.num is exist - process it [20:18:40]requested_item shift.opened is exist - process it [20:18:40]req_shift_opened [20:18:40]FM_GetShiftState [20:18:40]SAM_PROTO_GetShiftState [20:18:40]wFMCommunicate request_size=4 [20:18:40]MH_SAM_APDU [20:18:40]CAPDU: 80 13 01 00 [20:18:40]Write to MH i2c: E2 08 00 13 05 80 13 01 00 00 00 00 00 95 [20:18:40]Write i2c OK [20:18:40]MH_I2C_Read... [20:18:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:18:40]Read from MH i2c: E2 [20:18:40]MH_I2C_Read... [20:18:40]Read from MH i2c: E2 0E 00 [20:18:40]MH_I2C_Read... [20:18:40]Read from MH i2c: E2 0E 00 13 05 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 56 [20:18:40]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [20:18:40]wFMCommunicate OK [20:18:40]SAM_PROTO_GetShiftState done [20:18:40]FM_GetShiftState done [20:18:40]req_shift_opened done [20:18:40]requested_item shift.open_date is exist - process it [20:18:40]req_shift_open_date [20:18:40]req_shift_open_date done [20:18:40]produce_requested_data done [20:18:40]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37978,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [20:18:40]process_action_free close_receipt [20:18:40]json_value_free [20:18:40]json_value_free done [20:18:40]process_json_proto returns [20:18:40]Send response to host [20:18:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37978,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [20:18:40]free response buf [20:18:40]execute_script done [20:18:40]execute_script returns [20:18:40]free content buf [20:18:40]Sock 9.Close socket [20:18:40]Sock 9.Thread stoped [20:18:44]OFD Sender: No OFD packet to send [20:18:49]OFD Sender: No OFD packet to send [20:18:54]OFD Sender: No OFD packet to send [20:18:59]OFD Sender: No OFD packet to send [20:19:04]OFD Sender: No OFD packet to send [20:19:09]OFD Sender: No OFD packet to send [20:19:14]OFD Sender: No OFD packet to send [20:19:19]OFD Sender: No OFD packet to send [20:19:24]OFD Sender: No OFD packet to send [20:19:29]OFD Sender: No OFD packet to send [20:19:34]OFD Sender: No OFD packet to send [20:19:39]OFD Sender: No OFD packet to send [20:19:44]OFD Sender: No OFD packet to send [20:19:49]OFD Sender: No OFD packet to send [20:19:54]OFD Sender: No OFD packet to send [20:19:59]OFD Sender: No OFD packet to send [20:20:04]OFD Sender: No OFD packet to send [20:20:09]OFD Sender: No OFD packet to send [20:20:14]OFD Sender: No OFD packet to send [20:20:19]OFD Sender: No OFD packet to send [20:20:24]OFD Sender: No OFD packet to send [20:20:29]OFD Sender: No OFD packet to send [20:20:34]OFD Sender: No OFD packet to send [20:20:39]OFD Sender: No OFD packet to send [20:20:44]OFD Sender: No OFD packet to send [20:20:49]OFD Sender: No OFD packet to send [20:20:54]OFD Sender: No OFD packet to send [20:20:59]OFD Sender: No OFD packet to send [20:21:04]OFD Sender: No OFD packet to send [20:21:09]OFD Sender: No OFD packet to send [20:21:14]OFD Sender: No OFD packet to send [20:21:19]OFD Sender: No OFD packet to send [20:21:24]OFD Sender: No OFD packet to send [20:21:29]OFD Sender: No OFD packet to send [20:21:34]OFD Sender: No OFD packet to send [20:21:39]OFD Sender: No OFD packet to send [20:21:44]OFD Sender: No OFD packet to send [20:21:49]OFD Sender: No OFD packet to send [20:21:54]OFD Sender: No OFD packet to send [20:21:59]OFD Sender: No OFD packet to send [20:22:04]OFD Sender: No OFD packet to send [20:22:09]OFD Sender: No OFD packet to send [20:22:14]OFD Sender: No OFD packet to send [20:22:19]OFD Sender: No OFD packet to send [20:22:24]OFD Sender: No OFD packet to send [20:22:29]OFD Sender: No OFD packet to send [20:22:34]OFD Sender: No OFD packet to send [20:22:40]OFD Sender: No OFD packet to send [20:22:45]OFD Sender: No OFD packet to send [20:22:50]OFD Sender: No OFD packet to send [20:22:55]OFD Sender: No OFD packet to send [20:23:00]OFD Sender: No OFD packet to send [20:23:05]OFD Sender: No OFD packet to send [20:23:10]OFD Sender: No OFD packet to send [20:23:15]OFD Sender: No OFD packet to send [20:23:20]OFD Sender: No OFD packet to send [20:23:25]OFD Sender: No OFD packet to send [20:23:30]OFD Sender: No OFD packet to send [20:23:35]OFD Sender: No OFD packet to send [20:23:40]OFD Sender: No OFD packet to send [20:23:45]OFD Sender: No OFD packet to send [20:23:50]OFD Sender: No OFD packet to send [20:23:55]OFD Sender: No OFD packet to send [20:24:00]OFD Sender: No OFD packet to send [20:24:05]OFD Sender: No OFD packet to send [20:24:10]OFD Sender: No OFD packet to send [20:24:15]OFD Sender: No OFD packet to send [20:24:20]OFD Sender: No OFD packet to send [20:24:25]OFD Sender: No OFD packet to send [20:24:30]OFD Sender: No OFD packet to send [20:24:35]OFD Sender: No OFD packet to send [20:24:40]OFD Sender: No OFD packet to send [20:24:45]OFD Sender: No OFD packet to send [20:24:50]OFD Sender: No OFD packet to send [20:24:55]OFD Sender: No OFD packet to send [20:25:00]OFD Sender: No OFD packet to send [20:25:05]OFD Sender: No OFD packet to send [20:25:10]OFD Sender: No OFD packet to send [20:25:15]OFD Sender: No OFD packet to send [20:25:20]OFD Sender: No OFD packet to send [20:25:25]OFD Sender: No OFD packet to send [20:25:30]OFD Sender: No OFD packet to send [20:25:35]OFD Sender: No OFD packet to send [20:25:40]OFD Sender: No OFD packet to send [20:25:45]OFD Sender: No OFD packet to send [20:25:50]OFD Sender: No OFD packet to send [20:25:55]OFD Sender: No OFD packet to send [20:26:00]OFD Sender: No OFD packet to send [20:26:05]OFD Sender: No OFD packet to send [20:26:10]OFD Sender: No OFD packet to send [20:26:15]OFD Sender: No OFD packet to send [20:26:20]OFD Sender: No OFD packet to send [20:26:25]OFD Sender: No OFD packet to send [20:26:30]OFD Sender: No OFD packet to send [20:26:35]OFD Sender: No OFD packet to send [20:26:40]OFD Sender: No OFD packet to send [20:26:45]OFD Sender: No OFD packet to send [20:26:50]OFD Sender: No OFD packet to send [20:26:55]OFD Sender: No OFD packet to send [20:27:00]OFD Sender: No OFD packet to send [20:27:05]OFD Sender: No OFD packet to send [20:27:10]OFD Sender: No OFD packet to send [20:27:15]OFD Sender: No OFD packet to send [20:27:20]OFD Sender: No OFD packet to send [20:27:25]OFD Sender: No OFD packet to send [20:27:30]OFD Sender: No OFD packet to send [20:27:35]OFD Sender: No OFD packet to send [20:27:40]OFD Sender: No OFD packet to send [20:27:45]OFD Sender: No OFD packet to send [20:27:50]OFD Sender: No OFD packet to send [20:27:55]OFD Sender: No OFD packet to send [20:28:00]OFD Sender: No OFD packet to send [20:28:05]OFD Sender: No OFD packet to send [20:28:10]OFD Sender: No OFD packet to send [20:28:15]OFD Sender: No OFD packet to send [20:28:20]OFD Sender: No OFD packet to send [20:28:25]OFD Sender: No OFD packet to send [20:28:30]OFD Sender: No OFD packet to send [20:28:35]OFD Sender: No OFD packet to send [20:28:40]OFD Sender: No OFD packet to send [20:28:45]OFD Sender: No OFD packet to send [20:28:50]OFD Sender: No OFD packet to send [20:28:55]OFD Sender: No OFD packet to send [20:29:00]OFD Sender: No OFD packet to send [20:29:05]OFD Sender: No OFD packet to send [20:29:10]OFD Sender: No OFD packet to send [20:29:15]OFD Sender: No OFD packet to send [20:29:20]OFD Sender: No OFD packet to send [20:29:25]OFD Sender: No OFD packet to send [20:29:30]OFD Sender: No OFD packet to send [20:29:35]OFD Sender: No OFD packet to send [20:29:40]OFD Sender: No OFD packet to send [20:29:45]OFD Sender: No OFD packet to send [20:29:50]OFD Sender: No OFD packet to send [20:29:55]OFD Sender: No OFD packet to send [20:30:00]OFD Sender: No OFD packet to send [20:30:05]OFD Sender: No OFD packet to send [20:30:10]OFD Sender: No OFD packet to send [20:30:15]OFD Sender: No OFD packet to send [20:30:20]OFD Sender: No OFD packet to send [20:30:25]OFD Sender: No OFD packet to send [20:30:30]OFD Sender: No OFD packet to send [20:30:35]OFD Sender: No OFD packet to send [20:30:40]OFD Sender: No OFD packet to send [20:30:45]OFD Sender: No OFD packet to send [20:30:50]OFD Sender: No OFD packet to send [20:30:55]OFD Sender: No OFD packet to send [20:31:00]OFD Sender: No OFD packet to send [20:31:05]OFD Sender: No OFD packet to send [20:31:10]OFD Sender: No OFD packet to send [20:31:15]OFD Sender: No OFD packet to send [20:31:20]OFD Sender: No OFD packet to send [20:31:25]OFD Sender: No OFD packet to send [20:31:30]OFD Sender: No OFD packet to send [20:31:35]OFD Sender: No OFD packet to send [20:31:40]OFD Sender: No OFD packet to send [20:31:45]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:10]OFD Sender: No OFD packet to send [20:33:15]OFD Sender: No OFD packet to send [20:33:20]OFD Sender: No OFD packet to send [20:33:25]OFD Sender: No OFD packet to send [20:33:30]OFD Sender: No OFD packet to send [20:33:35]OFD Sender: No OFD packet to send [20:33:40]OFD Sender: No OFD packet to send [20:33:45]OFD Sender: No OFD packet to send [20:33:50]OFD Sender: No OFD packet to send [20:33:55]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:05]OFD Sender: No OFD packet to send [20:34:10]OFD Sender: No OFD packet to send [20:34:15]OFD Sender: No OFD packet to send [20:34:20]OFD Sender: No OFD packet to send [20:34:25]OFD Sender: No OFD packet to send [20:34:30]OFD Sender: No OFD packet to send [20:34:35]OFD Sender: No OFD packet to send [20:34:40]OFD Sender: No OFD packet to send [20:34:45]OFD Sender: No OFD packet to send [20:34:50]OFD Sender: No OFD packet to send [20:34:55]OFD Sender: No OFD packet to send [20:35:00]OFD Sender: No OFD packet to send [20:35:05]OFD Sender: No OFD packet to send [20:35:10]OFD Sender: No OFD packet to send [20:35:15]OFD Sender: No OFD packet to send [20:35:20]OFD Sender: No OFD packet to send [20:35:25]OFD Sender: No OFD packet to send [20:35:30]OFD Sender: No OFD packet to send [20:35:35]OFD Sender: No OFD packet to send [20:35:40]OFD Sender: No OFD packet to send [20:35:45]OFD Sender: No OFD packet to send [20:35:50]OFD Sender: No OFD packet to send [20:35:55]OFD Sender: No OFD packet to send [20:36:00]OFD Sender: No OFD packet to send [20:36:05]OFD Sender: No OFD packet to send [20:36:10]OFD Sender: No OFD packet to send [20:36:15]OFD Sender: No OFD packet to send [20:36:20]OFD Sender: No OFD packet to send [20:36:25]OFD Sender: No OFD packet to send [20:36:30]OFD Sender: No OFD packet to send [20:36:35]OFD Sender: No OFD packet to send [20:36:40]OFD Sender: No OFD packet to send [20:36:45]OFD Sender: No OFD packet to send [20:36:50]OFD Sender: No OFD packet to send [20:36:55]OFD Sender: No OFD packet to send [20:37:00]OFD Sender: No OFD packet to send [20:37:05]OFD Sender: No OFD packet to send [20:37:10]OFD Sender: No OFD packet to send [20:37:15]OFD Sender: No OFD packet to send [20:37:20]OFD Sender: No OFD packet to send [20:37:25]OFD Sender: No OFD packet to send [20:37:30]OFD Sender: No OFD packet to send [20:37:35]OFD Sender: No OFD packet to send [20:37:40]OFD Sender: No OFD packet to send [20:37:45]OFD Sender: No OFD packet to send [20:37:50]OFD Sender: No OFD packet to send [20:37:55]OFD Sender: No OFD packet to send [20:38:00]OFD Sender: No OFD packet to send [20:38:05]OFD Sender: No OFD packet to send [20:38:10]OFD Sender: No OFD packet to send [20:38:15]OFD Sender: No OFD packet to send [20:38:20]OFD Sender: No OFD packet to send [20:38:25]OFD Sender: No OFD packet to send [20:38:30]OFD Sender: No OFD packet to send [20:38:35]OFD Sender: No OFD packet to send [20:38:40]OFD Sender: No OFD packet to send [20:38:45]OFD Sender: No OFD packet to send [20:38:50]OFD Sender: No OFD packet to send [20:38:55]OFD Sender: No OFD packet to send [20:39:00]OFD Sender: No OFD packet to send [20:39:05]OFD Sender: No OFD packet to send [20:39:10]OFD Sender: No OFD packet to send [20:39:15]OFD Sender: No OFD packet to send [20:39:20]OFD Sender: No OFD packet to send [20:39:25]OFD Sender: No OFD packet to send [20:39:30]OFD Sender: No OFD packet to send [20:39:35]OFD Sender: No OFD packet to send [20:39:40]OFD Sender: No OFD packet to send [20:39:45]OFD Sender: No OFD packet to send [20:39:50]OFD Sender: No OFD packet to send [20:39:55]OFD Sender: No OFD packet to send [20:40:00]OFD Sender: No OFD packet to send [20:40:05]OFD Sender: No OFD packet to send [20:40:10]OFD Sender: No OFD packet to send [20:40:15]OFD Sender: No OFD packet to send [20:40:20]OFD Sender: No OFD packet to send [20:40:25]OFD Sender: No OFD packet to send [20:40:30]OFD Sender: No OFD packet to send [20:40:35]OFD Sender: No OFD packet to send [20:40:40]OFD Sender: No OFD packet to send [20:40:45]OFD Sender: No OFD packet to send [20:40:50]OFD Sender: No OFD packet to send [20:40:55]OFD Sender: No OFD packet to send [20:41:00]OFD Sender: No OFD packet to send [20:41:05]OFD Sender: No OFD packet to send [20:41:10]OFD Sender: No OFD packet to send [20:41:15]OFD Sender: No OFD packet to send [20:41: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:46]accept exits with 8 [20:41:46]New connection [20:41:46]New thread 3067288932 created [20:41:46]Thread 3067432292 joined [20:41:46]Waiting for new connection... [20:41:46] Sock 8.Parse request [20:41:46]Sock 8.Check first char [20:41:46]Sock 8.First char is OK [20:41:46]request: POST /json_proto HTTP/1.0 [20:41:46]Method: POST [20:41:46]URL: /json_proto [20:41:46]Method is POST - this is cgi request [20:41:46]url: /json_proto [20:41:46]query_string will be loaded in cgi processing [20:41:46]execute_cgi json_proto POST (null) [20:41:46]execute_cgi path=json_proto method=POST [20:41:46]POST find Content-Length [20:41:46]Host: 172.17.40.196:8080 [20:41:46]Content-Length: 619 [20:41:46]Content-Type: application/json [20:41:46] [20:41:46]POST finish read [20:41:46]Found Content-Length = 619 [20:41:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35278", "tax_sys" : 0, "items" : [ { "code": "4650063118011", "name": "\u041C\u0430\u0441\u043B\u043E GPN Diesel Extra 10W-40 1\u043B", "price" : 420.00, "quantity" : 1.000, "sum" : 420.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 420.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:41:46]execute_script... [20:41:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35278", "tax_sys" : 0, "items" : [ { "code": "4650063118011", "name": "\u041C\u0430\u0441\u043B\u043E GPN Diesel Extra 10W-40 1\u043B", "price" : 420.00, "quantity" : 1.000, "sum" : 420.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 420.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:41:46]POST & json_proto [20:41:46]process_json_proto [20:41:46]json parsed OK: [20:41:46]protocol is kg_v1.0 [20:41:46]action value=close_receipt [20:41:46]process_action close_receipt [20:41:46]cmd_close_receipt [20:41:46]MH_GetDate [20:41:46]Write to MH i2c: F0 00 00 14 05 08 [20:41:46]Write i2c OK [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: F0 [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: F0 09 00 [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: F0 09 00 14 05 00 0B 9A 22 67 5B 68 A1 66 09 [20:41:46]GetLastDocTimeStamp 1730319517 [20:41:46]current date 1730320907 [20:41:46]FM_GetShiftState [20:41:46]SAM_PROTO_GetShiftState [20:41:46]wFMCommunicate request_size=4 [20:41:46]MH_SAM_APDU [20:41:46]CAPDU: 80 13 01 00 [20:41:46]Write to MH i2c: E2 08 00 15 05 80 13 01 00 00 00 00 00 97 [20:41:46]Write i2c OK [20:41:46]MH_I2C_Read... [20:41:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:41:46]Read from MH i2c: E2 [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: E2 0E 00 [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: E2 0E 00 15 05 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 58 [20:41:46]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [20:41:46]wFMCommunicate OK [20:41:46]SAM_PROTO_GetShiftState done [20:41:46]FM_GetShiftState done [20:41:46]opened in 1730246837 [20:41:46]opened+sec_in_day 1730333237 [20:41:46]quantity*price = 42000 [20:41:46]sum+1 = 42001 [20:41:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 420.00 НСП 1% : 3.72 НДС 12% : 44.60 Наличными: 420.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 61 30.10.2024 20:41 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37979 ФПД: 242782752926265 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T204147&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37979&fm=242782752926265&tin=02508201610067®Number=0000000000091684&sum=42000 0 [20:41:47]StoreToDocumentArchive [20:41:47]shift 553 fd 37979 [20:41:47]save to /storage/0553/doc_00037979 [20:41:47]save last doc name /storage/0553/doc_00037979 to /storage/kkm_last_doc_name [20:41:47]save OK [20:41:47]Clear old archive folders... [20:41:47]ProcessDocumentItem done err = 0, tmpTLVsize=280 [20:41:47]tlvbuf is 005F0FC0 [20:41:47]SAM_PROTO_ClearQueue [20:41:47]wFMCommunicate request_size=4 [20:41:47]MH_SAM_APDU [20:41:47]CAPDU: 80 09 00 00 [20:41:47]Write to MH i2c: E2 08 00 22 05 80 09 00 00 00 00 00 00 99 [20:41:47]Write i2c OK [20:41:47]MH_I2C_Read... [20:41:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:41:47]Read from MH i2c: E2 [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: E2 03 00 [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: E2 03 00 22 05 00 90 00 9B [20:41:47]RAPDU: 90 00 [20:41:47]wFMCommunicate OK [20:41:47]SAM_PROTO_ClearQueue done [20:41:47]KKMCreateOFDPacket [20:41:47]OFDProtocolAddRootSTLVToBuf [20:41:47]FM_MakeSignedData [20:41:47]FM_MakeSignedData [20:41:47]SAM_PROTO_SignData [20:41:47]wFMCommunicate request_size=4 [20:41:47]MH_SAM_APDU [20:41:47]CAPDU: 80 0D 01 02 [20:41:47]Write to MH i2c: E2 08 00 23 05 80 0D 01 02 00 00 00 00 A1 [20:41:47]Write i2c OK [20:41:47]MH_I2C_Read... [20:41:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:41:47]Read from MH i2c: E2 [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: E2 03 00 [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: E2 03 00 23 05 00 90 00 9C [20:41:47]RAPDU: 90 00 [20:41:47]wFMCommunicate OK [20:41:47]wFMCommunicate request_size=255 [20:41:47]MH_SAM_APDU [20:41:47]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 38 30 31 31 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 50 4E 20 44 69 65 73 65 6C 20 45 78 74 72 61 20 31 30 57 2D 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 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 6C 11 00 00 00 00 07 04 06 00 10 A4 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 0B 9A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 [20:41:47]Write to MH i2c: E2 02 01 24 05 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 38 30 31 31 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 50 4E 20 44 69 65 73 65 6C 20 45 78 74 72 61 20 31 30 57 2D 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 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 6C 11 00 00 00 00 07 04 06 00 10 A4 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 0B 9A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 00 00 33 [20:41:47]Write i2c OK [20:41:47]MH_I2C_Read... [20:41:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:41:47]Read from MH i2c: E2 [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: E2 03 00 [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: E2 03 00 24 05 00 90 00 9D [20:41:47]RAPDU: 90 00 [20:41:47]wFMCommunicate OK [20:41:47]wFMCommunicate request_size=39 [20:41:47]MH_SAM_APDU [20:41:47]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5B 94 00 00 35 04 06 00 DC CF 43 BE EA 39 [20:41:47]Write to MH i2c: E2 2A 00 25 05 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5B 94 00 00 35 04 06 00 DC CF 43 BE EA 39 00 00 1A [20:41:47]Write i2c OK [20:41:47]MH_I2C_Read... [20:41:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:41:47]Read from MH i2c: E2 [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: E2 03 00 [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: E2 03 00 25 05 00 90 00 9E [20:41:47]RAPDU: 90 00 [20:41:47]wFMCommunicate OK [20:41:47]wFMCommunicate request_size=4 [20:41:47]MH_SAM_APDU [20:41:47]CAPDU: 80 0D 03 02 [20:41:47]Write to MH i2c: E2 08 00 26 05 80 0D 03 02 00 00 00 00 A6 [20:41:47]Write i2c OK [20:41:47]MH_I2C_Read... [20:41:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:41:47]Read from MH i2c: E2 [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: E2 0B 00 [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: E2 0B 00 26 05 00 00 5C 76 1E 77 69 19 26 90 00 B6 [20:41:47]RAPDU: 00 5C 76 1E 77 69 19 26 90 00 [20:41:47]wFMCommunicate OK [20:41:47]SAM_PROTO_SignData done [20:41:47]FM_MakeSignedData done [20:41:47]CreateOFDProtocolMessage [20:41:47]wFMCommunicate request_size=4 [20:41:47]MH_SAM_APDU [20:41:47]CAPDU: 80 11 00 00 [20:41:47]Write to MH i2c: E2 08 00 27 05 80 11 00 00 00 00 00 00 A6 [20:41:47]Write i2c OK [20:41:47]MH_I2C_Read... [20:41:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:41:48]Read from MH i2c: E2 [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: E2 17 00 [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: E2 17 00 27 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F6 [20:41:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:41:48]wFMCommunicate OK [20:41:48]CreateOFDProtocolMessage done [20:41:48]OFDSenderStorePacket 37979 [20:41:48]StoreOFDPacket docnum=37979 [20:41:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2C 01 00 00 B8 B3 24 01 CB 59 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 38 30 31 31 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 50 4E 20 44 69 65 73 65 6C 20 45 78 74 72 61 20 31 30 57 2D 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 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 6C 11 00 00 00 00 07 04 06 00 10 A4 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 0B 9A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5B 94 00 00 35 04 06 00 DC CF 43 BE EA 39 00 5C 76 1E 77 69 19 26 [20:41:48]CheckFolder [20:41:48]dirname=/storage/ofd_packets [20:41:48]CheckFolder done [20:41:48]ProducePacketName [20:41:48]name=ofd_packets/00037979 [20:41:48]NVStorageSaveData ofd_packets/00037979 [20:41:48]File name is /storage/ofd_packets/00037979 [20:41:48]Write 330 bytes [20:41:48]NVStorageSaveData done [20:41:48]OFDSenderStorePacket done [20:41:48]KKMCreateOFDPacket done [20:41:48]NVStorageSaveData kkm_last_timestamp [20:41:48]File name is /storage/kkm_last_timestamp [20:41:48]Write 4 bytes [20:41:48]NVStorageSaveData done [20:41:48]ExternCall_PrintAddStr [20:41:48]wPrintStart [20:41:48]Write to MH i2c: 01 00 00 28 05 2D [20:41:48]Write i2c OK [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: 01 [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: 01 07 00 [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: 01 07 00 28 05 00 00 00 00 00 FF 0F 42 [20:41:48]RasterBufferAndPrint [20:41:48]line Счет N : (3)35278 [20:41:48]line ИНН: 02508201610067 [20:41:48]line Контрольно-Кассовый Чек [20:41:48]line ПРОДАЖА [20:41:48]line Товар: 4650063118011 [20:41:48]line Масло GPN Diesel Extra 10W-40 1л [20:41:48]line 1.000 * 420.00 [20:41:48]line = 420.00 [20:41:48]line НДС 12% НСП 1% [20:41:48]line > о реализуемом товаре [20:41:48]line ИТОГО: 420.00 [20:41:48]line НСП 1% : 3.72 [20:41:48]line НДС 12% : 44.60 [20:41:48]line Наличными: 420.00 [20:41:48]line Безнал.: 0.00 [20:41:48]line Место: АЗС № 126 "Партнер Нефть" [20:41:48]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [20:41:48]line СНО: Общий режим [20:41:48]line Чек 61 30.10.2024 20:41 [20:41:48]line Смена: 553 ФФД: 1.0 [20:41:48]line ЗНМ: 0300000092 [20:41:48]line РНМ: 0000000000091684 [20:41:48]line Версия ККМ: 001 [20:41:48]line ФМ: 0000000000871841 [20:41:48]line ФД: 37979 [20:41:48]line ФПД: 242782752926265 [20:41:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T204147&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37979&fm=242782752926265&tin=02508201610067®Number=0000000000091684&sum=42000 [20:41:48]line 0 [20:41:48]OFD Sender: Processing packet 37979 [packets to send 42, broken 41] [20:41:48]ProducePacketName [20:41:48]name=ofd_packets/00037979 [20:41:48]OFD Sender: To server: pG, [20:41:48]CommunicateWithHost lk.salyk.kg:30040 [20:41:48]ConnectInit lk.salyk.kg [20:41:48]written 0, free lines is 4095 [20:41:48]Write to MH i2c: 01 00 00 51 05 56 [20:41:48]Write i2c OK [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: 01 [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: 01 07 00 [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: 01 07 00 51 05 00 00 00 00 00 B3 0C 1C [20:41:48]RasterBufferAndPrint [20:41:48]line [20:41:48]line [20:41:48]line [20:41:48]line [20:41:48]line [20:41:48]written 0, free lines is 3255 [20:41:48]Connected sock=10 [20:41:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2C 01 00 00 B8 B3 24 01 CB 59 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 38 30 31 31 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 50 4E 20 44 69 65 73 65 6C 20 45 78 74 72 61 20 31 30 57 2D 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 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 6C 11 00 00 00 00 07 04 06 00 10 A4 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 0B 9A 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5B 94 00 00 35 04 06 00 DC CF 43 BE EA 39 00 5C 76 1E 77 69 19 26 [20:41:48]MH_Cut [20:41:48]Write to MH i2c: D1 01 00 58 05 01 2F [20:41:48]Write i2c OK [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: D1 [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: D1 01 00 [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: D1 01 00 58 05 00 2E [20:41:48]Write to MH i2c: 01 00 00 59 05 5E [20:41:48]Write i2c OK [20:41:48]MH_I2C_Read... [20:41:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 07 9E 47 00 D3 85 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5B 94 00 00 F4 03 04 00 F9 44 22 67 B6 04 01 00 00 C0 8A 12 6B E0 FF C4 C2 [20:41:49]CommunicateWithHost err = 0 [20:41:49]CheckOFDResponse [20:41:49]1017 (14) - 77093643461234 [20:41:49]1041 (16) - 0000000000871841 [20:41:49]1040 (4) - 37979 [20:41:49]1012 (4) - 30.10.2024 14:38 [20:41:49]1206 (1) - 0 [20:41:49]OFD Sender: Remove packet 37979 [20:41:49]ProducePacketName [20:41:49]name=ofd_packets/00037979 [20:41:49]NVStorageDeleteData [20:41:49]*** Cut start [20:41:49]*** Partial cut [20:41:49]*** CUTSNS_PIN = 1 [20:41:49]*** CUTSNS_PIN = 0 [20:41:49]OFD Sender: No OFD packet to send [20:41:49]*** Brake cut motor [20:41:50]Read from MH i2c: 01 [20:41:50]MH_I2C_Read... [20:41:50]*** Stop cut motor [20:41:50]*** Cut end [20:41:50]Read from MH i2c: 01 07 00 [20:41:50]MH_I2C_Read... [20:41:50]Read from MH i2c: 01 07 00 59 05 00 00 00 00 00 FF 0F 73 [20:41:50]process_action close_receipt done [20:41:50]requested_data is exist [20:41:50]produce_requested_data [20:41:50]requested_item fm.sn is exist - process it [20:41:50]wFMCommunicate request_size=4 [20:41:50]MH_SAM_APDU [20:41:50]CAPDU: 80 11 00 00 [20:41:50]Write to MH i2c: E2 08 00 5A 05 80 11 00 00 00 00 00 00 D9 [20:41:50]Write i2c OK [20:41:50]MH_I2C_Read... [20:41:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:41:50]Read from MH i2c: E2 [20:41:50]MH_I2C_Read... [20:41:50]Read from MH i2c: E2 17 00 [20:41:50]MH_I2C_Read... [20:41:50]Read from MH i2c: E2 17 00 5A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 29 [20:41:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:41:50]wFMCommunicate OK [20:41:50]requested_item fd.num is exist - process it [20:41:50]SAM_PROTO_GetFieldsCounters [20:41:50]wFMCommunicate request_size=4 [20:41:50]MH_SAM_APDU [20:41:50]CAPDU: 80 13 00 00 [20:41:50]Write to MH i2c: E2 08 00 5B 05 80 13 00 00 00 00 00 00 DC [20:41:50]Write i2c OK [20:41:50]MH_I2C_Read... [20:41:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:41:50]Read from MH i2c: E2 [20:41:50]MH_I2C_Read... [20:41:50]Read from MH i2c: E2 62 00 [20:41:50]MH_I2C_Read... [20:41:50]Read from MH i2c: E2 62 00 5B 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 5B 94 00 00 0E 04 04 00 29 02 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 CE [20:41:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 5B 94 00 00 0E 04 04 00 29 02 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:41:50]wFMCommunicate OK [20:41:50]SAM_PROTO_GetFieldsCounters done [20:41:50]requested_item shift.num is exist - process it [20:41:50]requested_item shift.opened is exist - process it [20:41:50]req_shift_opened [20:41:50]FM_GetShiftState [20:41:50]SAM_PROTO_GetShiftState [20:41:50]wFMCommunicate request_size=4 [20:41:50]MH_SAM_APDU [20:41:50]CAPDU: 80 13 01 00 [20:41:50]Write to MH i2c: E2 08 00 5C 05 80 13 01 00 00 00 00 00 DE [20:41:50]Write i2c OK [20:41:50]MH_I2C_Read... [20:41:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:41:50]Read from MH i2c: E2 [20:41:50]MH_I2C_Read... [20:41:50]Read from MH i2c: E2 0E 00 [20:41:50]MH_I2C_Read... [20:41:50]Read from MH i2c: E2 0E 00 5C 05 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 9F [20:41:50]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [20:41:50]wFMCommunicate OK [20:41:50]SAM_PROTO_GetShiftState done [20:41:50]FM_GetShiftState done [20:41:50]req_shift_opened done [20:41:50]requested_item shift.open_date is exist - process it [20:41:50]req_shift_open_date [20:41:50]req_shift_open_date done [20:41:50]produce_requested_data done [20:41:50]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37979,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [20:41:50]process_action_free close_receipt [20:41:50]json_value_free [20:41:50]json_value_free done [20:41:50]process_json_proto returns [20:41:50]Send response to host [20:41:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37979,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [20:41:50]free response buf [20:41:50]execute_script done [20:41:50]execute_script returns [20:41:50]free content buf [20:41:50]Sock 8.Close socket [20:41:50]Sock 8.Thread stoped [20:41:54]OFD Sender: No OFD packet to send [20:41:59]OFD Sender: No OFD packet to send [20:42:04]OFD Sender: No OFD packet to send [20:42:09]OFD Sender: No OFD packet to send [20:42:14]OFD Sender: No OFD packet to send [20:42:19]OFD Sender: No OFD packet to send [20:42:24]OFD Sender: No OFD packet to send [20:42:29]OFD Sender: No OFD packet to send [20:42:34]OFD Sender: No OFD packet to send [20:42:39]OFD Sender: No OFD packet to send [20:42:44]OFD Sender: No OFD packet to send [20:42:49]OFD Sender: No OFD packet to send [20:42:54]OFD Sender: No OFD packet to send [20:42:59]OFD Sender: No OFD packet to send [20:43:04]OFD Sender: No OFD packet to send [20:43:09]OFD Sender: No OFD packet to send [20:43:14]OFD Sender: No OFD packet to send [20:43:19]OFD Sender: No OFD packet to send [20:43:24]OFD Sender: No OFD packet to send [20:43:29]OFD Sender: No OFD packet to send [20:43:34]OFD Sender: No OFD packet to send [20:43:39]OFD Sender: No OFD packet to send [20:43:44]OFD Sender: No OFD packet to send [20:43:49]OFD Sender: No OFD packet to send [20:43:54]OFD Sender: No OFD packet to send [20:43:59]OFD Sender: No OFD packet to send [20:44:04]OFD Sender: No OFD packet to send [20:44:09]OFD Sender: No OFD packet to send [20:44:14]OFD Sender: No OFD packet to send [20:44:19]OFD Sender: No OFD packet to send [20:44:24]OFD Sender: No OFD packet to send [20:44:29]OFD Sender: No OFD packet to send [20:44:34]OFD Sender: No OFD packet to send [20:44:39]OFD Sender: No OFD packet to send [20:44:44]OFD Sender: No OFD packet to send [20:44:49]OFD Sender: No OFD packet to send [20:44:54]OFD Sender: No OFD packet to send [20:44:59]OFD Sender: No OFD packet to send [20:45:05]OFD Sender: No OFD packet to send [20:45:10]OFD Sender: No OFD packet to send [20:45:15]OFD Sender: No OFD packet to send [20:45:20]OFD Sender: No OFD packet to send [20:45:25]OFD Sender: No OFD packet to send [20:45:30]OFD Sender: No OFD packet to send [20:45:35]OFD Sender: No OFD packet to send [20:45:40]OFD Sender: No OFD packet to send [20:45:45]OFD Sender: No OFD packet to send [20:45:50]OFD Sender: No OFD packet to send [20:45:55]OFD Sender: No OFD packet to send [20:46:00]OFD Sender: No OFD packet to send [20:46:05]OFD Sender: No OFD packet to send [20:46:10]OFD Sender: No OFD packet to send [20:46:15]OFD Sender: No OFD packet to send [20:46:20]OFD Sender: No OFD packet to send [20:46:25]OFD Sender: No OFD packet to send [20:46:30]OFD Sender: No OFD packet to send [20:46:35]OFD Sender: No OFD packet to send [20:46:40]OFD Sender: No OFD packet to send [20:46:45]OFD Sender: No OFD packet to send [20:46:50]OFD Sender: No OFD packet to send [20:46:55]OFD Sender: No OFD packet to send [20:47:00]OFD Sender: No OFD packet to send [20:47:05]OFD Sender: No OFD packet to send [20:47:10]OFD Sender: No OFD packet to send [20:47:15]OFD Sender: No OFD packet to send [20:47:20]OFD Sender: No OFD packet to send [20:47:25]OFD Sender: No OFD packet to send [20:47:30]OFD Sender: No OFD packet to send [20:47:35]OFD Sender: No OFD packet to send [20:47:40]OFD Sender: No OFD packet to send [20:47:45]OFD Sender: No OFD packet to send [20:47:50]OFD Sender: No OFD packet to send [20:47:55]OFD Sender: No OFD packet to send [20:48:00]OFD Sender: No OFD packet to send [20:48:05]OFD Sender: No OFD packet to send [20:48:10]OFD Sender: No OFD packet to send [20:48:15]OFD Sender: No OFD packet to send [20:48:20]OFD Sender: No OFD packet to send [20:48:25]OFD Sender: No OFD packet to send [20:48:30]OFD Sender: No OFD packet to send [20:48:35]OFD Sender: No OFD packet to send [20:48:40]OFD Sender: No OFD packet to send [20:48:45]OFD Sender: No OFD packet to send [20:48:50]OFD Sender: No OFD packet to send [20:48:55]OFD Sender: No OFD packet to send [20:49:00]OFD Sender: No OFD packet to send [20:49:05]OFD Sender: No OFD packet to send [20:49:10]OFD Sender: No OFD packet to send [20:49:15]OFD Sender: No OFD packet to send [20:49:20]OFD Sender: No OFD packet to send [20:49:25]OFD Sender: No OFD packet to send [20:49:30]OFD Sender: No OFD packet to send [20:49:35]OFD Sender: No OFD packet to send [20:49:40]OFD Sender: No OFD packet to send [20:49:45]OFD Sender: No OFD packet to send [20:49:50]OFD Sender: No OFD packet to send [20:49:55]OFD Sender: No OFD packet to send [20:50:00]OFD Sender: No OFD packet to send [20:50:05]OFD Sender: No OFD packet to send [20:50:10]OFD Sender: No OFD packet to send [20:50:15]OFD Sender: No OFD packet to send [20:50:20]OFD Sender: No OFD packet to send [20:50:25]OFD Sender: No OFD packet to send [20:50:30]OFD Sender: No OFD packet to send [20:50:35]OFD Sender: No OFD packet to send [20:50:40]OFD Sender: No OFD packet to send [20:50:45]OFD Sender: No OFD packet to send [20:50:50]OFD Sender: No OFD packet to send [20:50:55]OFD Sender: No OFD packet to send [20:51:00]OFD Sender: No OFD packet to send [20:51:05]OFD Sender: No OFD packet to send [20:51:10]OFD Sender: No OFD packet to send [20:51:15]OFD Sender: No OFD packet to send [20:51:20]OFD Sender: No OFD packet to send [20:51:25]OFD Sender: No OFD packet to send [20:51:30]OFD Sender: No OFD packet to send [20:51:35]OFD Sender: No OFD packet to send [20:51:40]OFD Sender: No OFD packet to send [20:51:45]OFD Sender: No OFD packet to send [20:51:50]OFD Sender: No OFD packet to send [20:51:55]OFD Sender: No OFD packet to send [20:52:00]OFD Sender: No OFD packet to send [20:52:05]OFD Sender: No OFD packet to send [20:52:10]OFD Sender: No OFD packet to send [20:52:15]OFD Sender: No OFD packet to send [20:52:20]OFD Sender: No OFD packet to send [20:52:25]OFD Sender: No OFD packet to send [20:52:30]OFD Sender: No OFD packet to send [20:52:35]OFD Sender: No OFD packet to send [20:52:40]OFD Sender: No OFD packet to send [20:52:45]OFD Sender: No OFD packet to send [20:52:50]OFD Sender: No OFD packet to send [20:52:55]OFD Sender: No OFD packet to send [20:53:00]OFD Sender: No OFD packet to send [20:53:05]OFD Sender: No OFD packet to send [20:53:10]OFD Sender: No OFD packet to send [20:53:15]OFD Sender: No OFD packet to send [20:53:20]OFD Sender: No OFD packet to send [20:53:23]accept exits with 9 [20:53:23]New connection [20:53:23]New thread 3067432292 created [20:53:23]Thread 3067288932 joined [20:53:23]Waiting for new connection... [20:53:23] Sock 9.Parse request [20:53:23]Sock 9.Check first char [20:53:23]Sock 9.First char is OK [20:53:23]request: POST /json_proto HTTP/1.0 [20:53:23]Method: POST [20:53:23]URL: /json_proto [20:53:23]Method is POST - this is cgi request [20:53:23]url: /json_proto [20:53:23]query_string will be loaded in cgi processing [20:53:23]execute_cgi json_proto POST (null) [20:53:23]execute_cgi path=json_proto method=POST [20:53:23]POST find Content-Length [20:53:23]Host: 172.17.40.196:8080 [20:53:23]Content-Length: 789 [20:53:23]Content-Type: application/json [20:53:23] [20:53:23]POST finish read [20:53:23]Found Content-Length = 789 [20:53:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35279", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:53:23]execute_script... [20:53: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)35279", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:53:23]POST & json_proto [20:53:23]process_json_proto [20:53:23]json parsed OK: [20:53:23]protocol is kg_v1.0 [20:53:23]action value=close_receipt [20:53:23]process_action close_receipt [20:53:23]cmd_close_receipt [20:53:23]MH_GetDate [20:53:23]Write to MH i2c: F0 00 00 5D 05 51 [20:53:23]Write i2c OK [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: F0 [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: F0 09 00 [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: F0 09 00 5D 05 00 C4 9C 22 67 5B 68 A1 66 0D [20:53:23]GetLastDocTimeStamp 1730320907 [20:53:23]current date 1730321604 [20:53:23]FM_GetShiftState [20:53:23]SAM_PROTO_GetShiftState [20:53:23]wFMCommunicate request_size=4 [20:53:23]MH_SAM_APDU [20:53:23]CAPDU: 80 13 01 00 [20:53:23]Write to MH i2c: E2 08 00 5E 05 80 13 01 00 00 00 00 00 E0 [20:53:23]Write i2c OK [20:53:23]MH_I2C_Read... [20:53:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:53:23]Read from MH i2c: E2 [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: E2 0E 00 [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: E2 0E 00 5E 05 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 A1 [20:53:23]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [20:53:23]wFMCommunicate OK [20:53:23]SAM_PROTO_GetShiftState done [20:53:23]FM_GetShiftState done [20:53:23]opened in 1730246837 [20:53:23]opened+sec_in_day 1730333237 [20:53:23]quantity*price = 8000 [20:53:23]sum+1 = 8001 [20:53:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 0.00 Безнал.: 80.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 62 30.10.2024 20:53 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000871841 ФД: 37980 ФПД: 213706314193361 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T205324&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37980&fm=213706314193361&tin=02508201610067®Number=0000000000091684&sum=8000 0 [20:53:24]StoreToDocumentArchive [20:53:24]shift 553 fd 37980 [20:53:24]save to /storage/0553/doc_00037980 [20:53:24]save last doc name /storage/0553/doc_00037980 to /storage/kkm_last_doc_name [20:53:24]save OK [20:53:24]Clear old archive folders... [20:53:24]ProcessDocumentItem done err = 0, tmpTLVsize=268 [20:53:24]tlvbuf is 00568630 [20:53:24]SAM_PROTO_ClearQueue [20:53:24]wFMCommunicate request_size=4 [20:53:24]MH_SAM_APDU [20:53:24]CAPDU: 80 09 00 00 [20:53:24]Write to MH i2c: E2 08 00 6B 05 80 09 00 00 00 00 00 00 E2 [20:53:24]Write i2c OK [20:53:24]MH_I2C_Read... [20:53:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:53:24]Read from MH i2c: E2 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 03 00 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 03 00 6B 05 00 90 00 E4 [20:53:24]RAPDU: 90 00 [20:53:24]wFMCommunicate OK [20:53:24]SAM_PROTO_ClearQueue done [20:53:24]KKMCreateOFDPacket [20:53:24]OFDProtocolAddRootSTLVToBuf [20:53:24]FM_MakeSignedData [20:53:24]FM_MakeSignedData [20:53:24]SAM_PROTO_SignData [20:53:24]wFMCommunicate request_size=4 [20:53:24]MH_SAM_APDU [20:53:24]CAPDU: 80 0D 01 02 [20:53:24]Write to MH i2c: E2 08 00 6C 05 80 0D 01 02 00 00 00 00 EA [20:53:24]Write i2c OK [20:53:24]MH_I2C_Read... [20:53:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:53:24]Read from MH i2c: E2 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 03 00 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 03 00 6C 05 00 90 00 E5 [20:53:24]RAPDU: 90 00 [20:53:24]wFMCommunicate OK [20:53:24]wFMCommunicate request_size=255 [20:53:24]MH_SAM_APDU [20:53:24]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 C4 9C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [20:53:24]Write to MH i2c: E2 02 01 6D 05 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 C4 9C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 52 [20:53:24]Write i2c OK [20:53:24]MH_I2C_Read... [20:53:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:53:24]Read from MH i2c: E2 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 03 00 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 03 00 6D 05 00 90 00 E6 [20:53:24]RAPDU: 90 00 [20:53:24]wFMCommunicate OK [20:53:24]wFMCommunicate request_size=27 [20:53:24]MH_SAM_APDU [20:53:24]CAPDU: 80 0D 02 02 16 31 38 34 31 10 04 04 00 5C 94 00 00 35 04 06 00 C2 5D 60 F1 99 D1 [20:53:24]Write to MH i2c: E2 1E 00 6E 05 80 0D 02 02 16 00 31 38 34 31 10 04 04 00 5C 94 00 00 35 04 06 00 C2 5D 60 F1 99 D1 00 00 08 [20:53:24]Write i2c OK [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 [20:53:24]MH_I2C_Read... [20:53:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:53:24]Read from MH i2c: E2 03 00 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 03 00 6E 05 00 90 00 E7 [20:53:24]RAPDU: 90 00 [20:53:24]wFMCommunicate OK [20:53:24]wFMCommunicate request_size=4 [20:53:24]MH_SAM_APDU [20:53:24]CAPDU: 80 0D 03 02 [20:53:24]Write to MH i2c: E2 08 00 6F 05 80 0D 03 02 00 00 00 00 EF [20:53:24]Write i2c OK [20:53:24]MH_I2C_Read... [20:53:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:53:24]Read from MH i2c: E2 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 0B 00 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 0B 00 6F 05 00 5F AA 55 D0 0C 63 D0 03 90 00 60 [20:53:24]RAPDU: 5F AA 55 D0 0C 63 D0 03 90 00 [20:53:24]wFMCommunicate OK [20:53:24]SAM_PROTO_SignData done [20:53:24]FM_MakeSignedData done [20:53:24]CreateOFDProtocolMessage [20:53:24]wFMCommunicate request_size=4 [20:53:24]MH_SAM_APDU [20:53:24]CAPDU: 80 11 00 00 [20:53:24]Write to MH i2c: E2 08 00 70 05 80 11 00 00 00 00 00 00 EF [20:53:24]Write i2c OK [20:53:24]MH_I2C_Read... [20:53:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:53:24]Read from MH i2c: E2 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 17 00 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: E2 17 00 70 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3F [20:53:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:53:24]wFMCommunicate OK [20:53:24]CreateOFDProtocolMessage done [20:53:24]OFDSenderStorePacket 37980 [20:53:24]StoreOFDPacket docnum=37980 [20:53:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 20 01 00 00 A9 4A 18 01 7A 83 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 C4 9C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5C 94 00 00 35 04 06 00 C2 5D 60 F1 99 D1 5F AA 55 D0 0C 63 D0 03 [20:53:24]CheckFolder [20:53:24]dirname=/storage/ofd_packets [20:53:24]CheckFolder done [20:53:24]ProducePacketName [20:53:24]name=ofd_packets/00037980 [20:53:24]NVStorageSaveData ofd_packets/00037980 [20:53:24]File name is /storage/ofd_packets/00037980 [20:53:24]Write 318 bytes [20:53:24]NVStorageSaveData done [20:53:24]OFDSenderStorePacket done [20:53:24]KKMCreateOFDPacket done [20:53:24]NVStorageSaveData kkm_last_timestamp [20:53:24]File name is /storage/kkm_last_timestamp [20:53:24]Write 4 bytes [20:53:24]NVStorageSaveData done [20:53:24]ExternCall_PrintAddStr [20:53:24]wPrintStart [20:53:24]Write to MH i2c: 01 00 00 71 05 76 [20:53:24]Write i2c OK [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: 01 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: 01 07 00 [20:53:24]MH_I2C_Read... [20:53:24]Read from MH i2c: 01 07 00 71 05 00 00 00 00 00 FF 0F 8B [20:53:24]RasterBufferAndPrint [20:53:24]line Счет N : (3)35279 [20:53:24]line ИНН: 02508201610067 [20:53:24]line Контрольно-Кассовый Чек [20:53:24]line ПРОДАЖА [20:53:24]line Товар: 4870001570057 [20:53:24]line Напиток Pepsi 0,5л [20:53:24]line 1.000 * 80.00 [20:53:24]line = 80.00 [20:53:24]line НДС 12% НСП 1% [20:53:24]line > о реализуемом товаре [20:53:24]line ИТОГО: 80.00 [20:53:24]line НСП 1% : 0.71 [20:53:24]line НДС 12% : 8.50 [20:53:24]line Наличными: 0.00 [20:53:24]line Безнал.: 80.00 [20:53:24]line Место: АЗС № 126 "Партнер Нефть" [20:53:24]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [20:53:24]line СНО: Общий режим [20:53:24]line Чек 62 30.10.2024 20:53 [20:53:24]line Смена: 553 ФФД: 1.0 [20:53:24]line ЗНМ: 0300000092 [20:53:24]line РНМ: 0000000000091684 [20:53:24]line Версия ККМ: 001 [20:53:24]line Платежная система: Бакай Банк [20:53:24]line ФМ: 0000000000871841 [20:53:24]line ФД: 37980 [20:53:24]line ФПД: 213706314193361 [20:53:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T205324&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37980&fm=213706314193361&tin=02508201610067®Number=0000000000091684&sum=8000 [20:53:24]line 0 [20:53:24]written 0, free lines is 4095 [20:53:24]OFD Sender: Processing packet 37980 [packets to send 42, broken 41] [20:53:24]ProducePacketName [20:53:24]name=ofd_packets/00037980 [20:53:24]OFD Sender: To server: pG, [20:53:24]CommunicateWithHost lk.salyk.kg:30040 [20:53:24]ConnectInit lk.salyk.kg [20:53:25]Connected sock=10 [20:53:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 20 01 00 00 A9 4A 18 01 7A 83 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 C4 9C 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5C 94 00 00 35 04 06 00 C2 5D 60 F1 99 D1 5F AA 55 D0 0C 63 D0 03 [20:53:25]Write to MH i2c: 01 00 00 9B 05 A0 [20:53:25]Write i2c OK [20:53:25]MH_I2C_Read... [20:53:25]Read from MH i2c: 01 [20:53:25]MH_I2C_Read... [20:53:25]Read from MH i2c: 01 07 00 [20:53:25]MH_I2C_Read... [20:53:25]Read from MH i2c: 01 07 00 9B 05 00 00 00 00 00 B1 0C 64 [20:53:25]RasterBufferAndPrint [20:53:25]line [20:53:25]line [20:53:25]line [20:53:25]line [20:53:25]line [20:53:25]written 0, free lines is 3255 [20:53:25]MH_Cut [20:53:25]Write to MH i2c: D1 01 00 A2 05 01 79 [20:53:25]Write i2c OK [20:53:25]MH_I2C_Read... [20:53:25]Read from MH i2c: D1 [20:53:25]MH_I2C_Read... [20:53:25]Read from MH i2c: D1 01 00 [20:53:25]MH_I2C_Read... [20:53:25]Read from MH i2c: D1 01 00 A2 05 00 78 [20:53:25]Write to MH i2c: 01 00 00 A3 05 A8 [20:53:25]Write i2c OK [20:53:25]MH_I2C_Read... [20:53:26]*** Cut start [20:53:26]*** Partial cut [20:53:26]*** CUTSNS_PIN = 1 [20:53:26]*** CUTSNS_PIN = 0 [20:53:26]*** Brake cut motor [20:53:26]Read from MH i2c: 01 [20:53:26]MH_I2C_Read... [20:53:26]*** Stop cut motor [20:53:26]*** Cut end [20:53:26]Read from MH i2c: 01 07 00 [20:53:26]MH_I2C_Read... [20:53:26]Read from MH i2c: 01 07 00 A3 05 00 00 00 00 00 FF 0F BD [20:53:26]process_action close_receipt done [20:53:26]requested_data is exist [20:53:26]produce_requested_data [20:53:26]requested_item fm.sn is exist - process it [20:53:26]wFMCommunicate request_size=4 [20:53:26]MH_SAM_APDU [20:53:26]CAPDU: 80 11 00 00 [20:53:26]Write to MH i2c: E2 08 00 A4 05 80 11 00 00 00 00 00 00 23 [20:53:26]Write i2c OK [20:53:26]MH_I2C_Read... [20:53:26]Read from MH i2c: E2 [20:53:26]MH_I2C_Read... [20:53:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:53:26]Read from MH i2c: E2 17 00 [20:53:26]MH_I2C_Read... [20:53:26]Read from MH i2c: E2 17 00 A4 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 73 [20:53:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:53:26]wFMCommunicate OK [20:53:26]requested_item fd.num is exist - process it [20:53:26]SAM_PROTO_GetFieldsCounters [20:53:26]wFMCommunicate request_size=4 [20:53:26]MH_SAM_APDU [20:53:26]CAPDU: 80 13 00 00 [20:53:26]Write to MH i2c: E2 08 00 A5 05 80 13 00 00 00 00 00 00 26 [20:53:26]Write i2c OK [20:53:26]MH_I2C_Read... [20:53:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:53:27]Read from MH i2c: E2 [20:53:27]MH_I2C_Read... [20:53:27]Read from MH i2c: E2 62 00 [20:53:27]MH_I2C_Read... [20:53:27]Read from MH i2c: E2 62 00 A5 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 5C 94 00 00 0E 04 04 00 29 02 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 1C [20:53:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 5C 94 00 00 0E 04 04 00 29 02 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:53:27]wFMCommunicate OK [20:53:27]SAM_PROTO_GetFieldsCounters done [20:53:27]requested_item shift.num is exist - process it [20:53:27]requested_item shift.opened is exist - process it [20:53:27]req_shift_opened [20:53:27]FM_GetShiftState [20:53:27]SAM_PROTO_GetShiftState [20:53:27]wFMCommunicate request_size=4 [20:53:27]MH_SAM_APDU [20:53:27]CAPDU: 80 13 01 00 [20:53:27]Write to MH i2c: E2 08 00 A6 05 80 13 01 00 00 00 00 00 28 [20:53:27]Write i2c OK [20:53:27]MH_I2C_Read... [20:53:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:53:27]Read from MH i2c: E2 [20:53:27]MH_I2C_Read... [20:53:27]Read from MH i2c: E2 0E 00 [20:53:27]MH_I2C_Read... [20:53:27]Read from MH i2c: E2 0E 00 A6 05 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 E9 [20:53:27]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [20:53:27]wFMCommunicate OK [20:53:27]SAM_PROTO_GetShiftState done [20:53:27]FM_GetShiftState done [20:53:27]req_shift_opened done [20:53:27]requested_item shift.open_date is exist - process it [20:53:27]req_shift_open_date [20:53:27]req_shift_open_date done [20:53:27]produce_requested_data done [20:53:27]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37980,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [20:53:27]process_action_free close_receipt [20:53:27]json_value_free [20:53:27]json_value_free done [20:53:27]process_json_proto returns [20:53:27]Send response to host [20:53:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37980,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [20:53:27]free response buf [20:53:27]execute_script done [20:53:27]execute_script returns [20:53:27]free content buf [20:53:27]Sock 9.Close socket [20:53:27]Sock 9.Thread stoped [20:53:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 A4 B0 47 00 66 ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5C 94 00 00 F4 03 04 00 B1 47 22 67 B6 04 01 00 00 78 E7 6E C5 B5 97 6B F0 [20:53:27]CommunicateWithHost err = 0 [20:53:27]CheckOFDResponse [20:53:27]1017 (14) - 77093643461234 [20:53:27]1041 (16) - 0000000000871841 [20:53:27]1040 (4) - 37980 [20:53:27]1012 (4) - 30.10.2024 14:50 [20:53:27]1206 (1) - 0 [20:53:27]OFD Sender: Remove packet 37980 [20:53:27]ProducePacketName [20:53:27]name=ofd_packets/00037980 [20:53:27]NVStorageDeleteData [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:43]OFD Sender: No OFD packet to send [20:55:48]OFD Sender: No OFD packet to send [20:55:53]OFD Sender: No OFD packet to send [20:55:58]OFD Sender: No OFD packet to send [20:56:03]OFD Sender: No OFD packet to send [20:56:08]OFD Sender: No OFD packet to send [20:56:13]OFD Sender: No OFD packet to send [20:56:18]OFD Sender: No OFD packet to send [20:56:23]OFD Sender: No OFD packet to send [20:56:28]OFD Sender: No OFD packet to send [20:56:33]OFD Sender: No OFD packet to send [20:56:38]OFD Sender: No OFD packet to send [20:56:43]OFD Sender: No OFD packet to send [20:56:48]OFD Sender: No OFD packet to send [20:56:53]OFD Sender: No OFD packet to send [20:56:58]OFD Sender: No OFD packet to send [20:57:03]OFD Sender: No OFD packet to send [20:57:08]OFD Sender: No OFD packet to send [20:57:13]OFD Sender: No OFD packet to send [20:57:18]OFD Sender: No OFD packet to send [20:57:23]OFD Sender: No OFD packet to send [20:57:28]OFD Sender: No OFD packet to send [20:57:33]OFD Sender: No OFD packet to send [20:57:38]OFD Sender: No OFD packet to send [20:57:43]OFD Sender: No OFD packet to send [20:57:48]OFD Sender: No OFD packet to send [20:57:53]OFD Sender: No OFD packet to send [20:57:58]OFD Sender: No OFD packet to send [20:58:03]OFD Sender: No OFD packet to send [20:58:08]OFD Sender: No OFD packet to send [20:58:13]OFD Sender: No OFD packet to send [20:58:18]OFD Sender: No OFD packet to send [20:58:23]OFD Sender: No OFD packet to send [20:58:28]OFD Sender: No OFD packet to send [20:58:33]OFD Sender: No OFD packet to send [20:58:38]OFD Sender: No OFD packet to send [20:58:43]OFD Sender: No OFD packet to send [20:58:48]OFD Sender: No OFD packet to send [20:58:53]OFD Sender: No OFD packet to send [20:58:58]OFD Sender: No OFD packet to send [20:59:03]OFD Sender: No OFD packet to send [20:59:08]OFD Sender: No OFD packet to send [20:59:13]OFD Sender: No OFD packet to send [20:59:18]OFD Sender: No OFD packet to send [20:59:23]OFD Sender: No OFD packet to send [20:59:28]OFD Sender: No OFD packet to send [20:59:33]OFD Sender: No OFD packet to send [20:59:38]OFD Sender: No OFD packet to send [20:59:43]OFD Sender: No OFD packet to send [20:59:48]OFD Sender: No OFD packet to send [20:59:53]OFD Sender: No OFD packet to send [20:59:58]OFD Sender: No OFD packet to send [21:00:03]OFD Sender: No OFD packet to send [21:00:08]OFD Sender: No OFD packet to send [21:00:13]OFD Sender: No OFD packet to send [21:00:18]OFD Sender: No OFD packet to send [21:00:23]OFD Sender: No OFD packet to send [21:00:28]OFD Sender: No OFD packet to send [21:00:33]OFD Sender: No OFD packet to send [21:00:38]OFD Sender: No OFD packet to send [21:00:43]OFD Sender: No OFD packet to send [21:00:48]OFD Sender: No OFD packet to send [21:00:53]OFD Sender: No OFD packet to send [21:00:58]OFD Sender: No OFD packet to send [21:01:03]OFD Sender: No OFD packet to send [21:01:08]OFD Sender: No OFD packet to send [21:01:13]OFD Sender: No OFD packet to send [21:01:18]OFD Sender: No OFD packet to send [21:01:23]OFD Sender: No OFD packet to send [21:01:28]OFD Sender: No OFD packet to send [21:01:33]OFD Sender: No OFD packet to send [21:01:38]OFD Sender: No OFD packet to send [21:01:43]OFD Sender: No OFD packet to send [21:01:48]OFD Sender: No OFD packet to send [21:01:53]OFD Sender: No OFD packet to send [21:01:58]OFD Sender: No OFD packet to send [21:02:03]OFD Sender: No OFD packet to send [21:02:08]OFD Sender: No OFD packet to send [21:02:13]OFD Sender: No OFD packet to send [21:02:18]OFD Sender: No OFD packet to send [21:02:23]OFD Sender: No OFD packet to send [21:02:28]OFD Sender: No OFD packet to send [21:02:33]OFD Sender: No OFD packet to send [21:02:38]OFD Sender: No OFD packet to send [21:02:43]OFD Sender: No OFD packet to send [21:02:47]accept exits with 8 [21:02:47]New connection [21:02:47]New thread 3067288932 created [21:02:47]Thread 3067432292 joined [21:02:47]Waiting for new connection... [21:02:47] Sock 8.Parse request [21:02:47]Sock 8.Check first char [21:02:47]Sock 8.First char is OK [21:02:47]request: POST /json_proto HTTP/1.0 [21:02:47]Method: POST [21:02:47]URL: /json_proto [21:02:47]Method is POST - this is cgi request [21:02:47]url: /json_proto [21:02:47]query_string will be loaded in cgi processing [21:02:47]execute_cgi json_proto POST (null) [21:02:47]execute_cgi path=json_proto method=POST [21:02:47]POST find Content-Length [21:02:47]Host: 172.17.40.196:8080 [21:02:47]Content-Length: 874 [21:02:47]Content-Type: application/json [21:02:47] [21:02:47]POST finish read [21:02:47]Found Content-Length = 874 [21:02:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35280", "tax_sys" : 0, "items" : [ { "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 419.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:02:47]execute_script... [21:02: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)35280", "tax_sys" : 0, "items" : [ { "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 419.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:02:47]POST & json_proto [21:02:47]process_json_proto [21:02:47]json parsed OK: [21:02:47]protocol is kg_v1.0 [21:02:47]action value=close_receipt [21:02:47]process_action close_receipt [21:02:47]cmd_close_receipt [21:02:47]MH_GetDate [21:02:47]Write to MH i2c: F0 00 00 A7 05 9B [21:02:47]Write i2c OK [21:02:47]MH_I2C_Read... [21:02:47]Read from MH i2c: F0 [21:02:47]MH_I2C_Read... [21:02:47]Read from MH i2c: F0 09 00 [21:02:47]MH_I2C_Read... [21:02:47]Read from MH i2c: F0 09 00 A7 05 00 F8 9E 22 67 5B 68 A1 66 8D [21:02:47]GetLastDocTimeStamp 1730321604 [21:02:47]current date 1730322168 [21:02:47]FM_GetShiftState [21:02:47]SAM_PROTO_GetShiftState [21:02:47]wFMCommunicate request_size=4 [21:02:47]MH_SAM_APDU [21:02:47]CAPDU: 80 13 01 00 [21:02:47]Write to MH i2c: E2 08 00 A8 05 80 13 01 00 00 00 00 00 2A [21:02:47]Write i2c OK [21:02:47]MH_I2C_Read... [21:02:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:02:47]Read from MH i2c: E2 [21:02:47]MH_I2C_Read... [21:02:47]Read from MH i2c: E2 0E 00 [21:02:47]MH_I2C_Read... [21:02:47]Read from MH i2c: E2 0E 00 A8 05 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 EB [21:02:47]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [21:02:47]wFMCommunicate OK [21:02:47]SAM_PROTO_GetShiftState done [21:02:47]FM_GetShiftState done [21:02:47]opened in 1730246837 [21:02:47]opened+sec_in_day 1730333237 [21:02:47]quantity*price = 15900 [21:02:47]sum+1 = 15901 [21:02:47]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 2.000 * 130.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 419.00 НСП 1% : 3.71 НДС 12% : 44.49 Наличными: 419.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 63 30.10.2024 21:02 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37981 ФПД: 201428355788314 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T210248&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37981&fm=201428355788314&tin=02508201610067®Number=0000000000091684&sum=41900 0 [21:02:48]StoreToDocumentArchive [21:02:48]shift 553 fd 37981 [21:02:48]save to /storage/0553/doc_00037981 [21:02:48]save last doc name /storage/0553/doc_00037981 to /storage/kkm_last_doc_name [21:02:48]save OK [21:02:48]Clear old archive folders... [21:02:48]ProcessDocumentItem done err = 0, tmpTLVsize=377 [21:02:48]tlvbuf is 0055FA50 [21:02:48]SAM_PROTO_ClearQueue [21:02:48]wFMCommunicate request_size=4 [21:02:48]MH_SAM_APDU [21:02:48]CAPDU: 80 09 00 00 [21:02:48]Write to MH i2c: E2 08 00 B5 05 80 09 00 00 00 00 00 00 2C [21:02:48]Write i2c OK [21:02:48]MH_I2C_Read... [21:02:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:02:48]Read from MH i2c: E2 [21:02:48]MH_I2C_Read... [21:02:48]Read from MH i2c: E2 03 00 [21:02:48]MH_I2C_Read... [21:02:48]Read from MH i2c: E2 03 00 B5 05 00 90 00 2E [21:02:48]RAPDU: 90 00 [21:02:48]wFMCommunicate OK [21:02:48]SAM_PROTO_ClearQueue done [21:02:48]KKMCreateOFDPacket [21:02:48]OFDProtocolAddRootSTLVToBuf [21:02:48]FM_MakeSignedData [21:02:48]FM_MakeSignedData [21:02:48]SAM_PROTO_SignData [21:02:48]wFMCommunicate request_size=4 [21:02:48]MH_SAM_APDU [21:02:48]CAPDU: 80 0D 01 02 [21:02:48]Write to MH i2c: E2 08 00 B6 05 80 0D 01 02 00 00 00 00 34 [21:02:48]Write i2c OK [21:02:48]MH_I2C_Read... [21:02:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:02:48]Read from MH i2c: E2 [21:02:48]MH_I2C_Read... [21:02:48]Read from MH i2c: E2 03 00 [21:02:48]MH_I2C_Read... [21:02:48]Read from MH i2c: E2 03 00 B6 05 00 90 00 2F [21:02:48]RAPDU: 90 00 [21:02:48]wFMCommunicate OK [21:02:48]wFMCommunicate request_size=255 [21:02:48]MH_SAM_APDU [21:02:48]CAPDU: 80 0D 02 02 FA 03 00 79 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC A3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 01 00 00 00 00 EE [21:02:48]Write to MH i2c: E2 02 01 B7 05 80 0D 02 02 FA 00 03 00 79 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC A3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 01 00 00 00 00 EE 00 00 34 [21:02:48]Write i2c OK [21:02:48]MH_I2C_Read... [21:02:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:02:48]Read from MH i2c: E2 [21:02:48]MH_I2C_Read... [21:02:48]Read from MH i2c: E2 03 00 [21:02:48]MH_I2C_Read... [21:02:48]Read from MH i2c: E2 03 00 B7 05 00 90 00 30 [21:02:48]RAPDU: 90 00 [21:02:48]wFMCommunicate OK [21:02:48]wFMCommunicate request_size=136 [21:02:48]MH_SAM_APDU [21:02:48]CAPDU: 80 0D 02 02 83 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 11 00 00 00 00 07 04 06 00 AC A3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 F8 9E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5D 94 00 00 35 04 06 00 B7 32 B1 98 2E 1A [21:02:48]Write to MH i2c: E2 8B 00 B8 05 80 0D 02 02 83 00 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 11 00 00 00 00 07 04 06 00 AC A3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 F8 9E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5D 94 00 00 35 04 06 00 B7 32 B1 98 2E 1A 00 00 31 [21:02:48]Write i2c OK [21:02:48]MH_I2C_Read... [21:02:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:02:49]Read from MH i2c: E2 [21:02:49]MH_I2C_Read... [21:02:49]Read from MH i2c: E2 03 00 [21:02:49]MH_I2C_Read... [21:02:49]Read from MH i2c: E2 03 00 B8 05 00 90 00 31 [21:02:49]RAPDU: 90 00 [21:02:49]wFMCommunicate OK [21:02:49]wFMCommunicate request_size=4 [21:02:49]MH_SAM_APDU [21:02:49]CAPDU: 80 0D 03 02 [21:02:49]Write to MH i2c: E2 08 00 B9 05 80 0D 03 02 00 00 00 00 39 [21:02:49]Write i2c OK [21:02:49]MH_I2C_Read... [21:02:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:02:49]Read from MH i2c: E2 [21:02:49]MH_I2C_Read... [21:02:49]Read from MH i2c: E2 0B 00 [21:02:49]MH_I2C_Read... [21:02:49]Read from MH i2c: E2 0B 00 B9 05 00 65 E9 DD 04 BB 69 DC D3 90 00 3C [21:02:49]RAPDU: 65 E9 DD 04 BB 69 DC D3 90 00 [21:02:49]wFMCommunicate OK [21:02:49]SAM_PROTO_SignData done [21:02:49]FM_MakeSignedData done [21:02:49]CreateOFDProtocolMessage [21:02:49]wFMCommunicate request_size=4 [21:02:49]MH_SAM_APDU [21:02:49]CAPDU: 80 11 00 00 [21:02:49]Write to MH i2c: E2 08 00 BA 05 80 11 00 00 00 00 00 00 39 [21:02:49]Write i2c OK [21:02:49]MH_I2C_Read... [21:02:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:02:49]Read from MH i2c: E2 [21:02:49]MH_I2C_Read... [21:02:49]Read from MH i2c: E2 17 00 [21:02:49]MH_I2C_Read... [21:02:49]Read from MH i2c: E2 17 00 BA 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 89 [21:02:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:02:49]wFMCommunicate OK [21:02:49]CreateOFDProtocolMessage done [21:02:49]OFDSenderStorePacket 37981 [21:02:49]StoreOFDPacket docnum=37981 [21:02:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 8D 01 00 00 06 47 85 01 51 5B 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC A3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 11 00 00 00 00 07 04 06 00 AC A3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 F8 9E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5D 94 00 00 35 04 06 00 B7 32 B1 98 2E 1A 65 E9 DD 04 BB 69 DC D3 [21:02:49]CheckFolder [21:02:49]dirname=/storage/ofd_packets [21:02:49]CheckFolder done [21:02:49]ProducePacketName [21:02:49]name=ofd_packets/00037981 [21:02:49]NVStorageSaveData ofd_packets/00037981 [21:02:49]File name is /storage/ofd_packets/00037981 [21:02:49]Write 427 bytes [21:02:49]NVStorageSaveData done [21:02:49]OFDSenderStorePacket done [21:02:49]KKMCreateOFDPacket done [21:02:49]NVStorageSaveData kkm_last_timestamp [21:02:49]File name is /storage/kkm_last_timestamp [21:02:49]Write 4 bytes [21:02:49]NVStorageSaveData done [21:02:49]ExternCall_PrintAddStr [21:02:49]wPrintStart [21:02:49]Write to MH i2c: 01 00 00 BB 05 C0 [21:02:49]Write i2c OK [21:02:49]MH_I2C_Read... [21:02:49]Read from MH i2c: 01 [21:02:49]MH_I2C_Read... [21:02:49]Read from MH i2c: 01 07 00 [21:02:49]MH_I2C_Read... [21:02:49]Read from MH i2c: 01 07 00 BB 05 00 00 00 00 00 FF 0F D5 [21:02:49]RasterBufferAndPrint [21:02:49]line Счет N : (3)35280 [21:02:49]line ИНН: 02508201610067 [21:02:49]line Контрольно-Кассовый Чек [21:02:49]line ПРОДАЖА [21:02:49]line Товар: 47803152 [21:02:49]line Сигареты Mevius Revo [21:02:49]line 1.000 * 159.00 [21:02:49]line = 159.00 [21:02:49]line НДС 12% НСП 1% [21:02:49]line > о реализуемом товаре [21:02:49]line Товар: 2000036220012 [21:02:49]line Кофе Капучино XL(GABB TRADE) [21:02:49]line 2.000 * 130.00 [21:02:49]line = 260.00 [21:02:49]line НДС 12% НСП 1% [21:02:49]line > о реализуемом товаре [21:02:49]line ИТОГО: 419.00 [21:02:49]line НСП 1% : 3.71 [21:02:49]line НДС 12% : 44.49 [21:02:49]line Наличными: 419.00 [21:02:49]line Безнал.: 0.00 [21:02:49]line Место: АЗС № 126 "Партнер Нефть" [21:02:49]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [21:02:49]line СНО: Общий режим [21:02:49]line Чек 63 30.10.2024 21:02 [21:02:49]line Смена: 553 ФФД: 1.0 [21:02:49]line ЗНМ: 0300000092 [21:02:49]line РНМ: 0000000000091684 [21:02:49]line Версия ККМ: 001 [21:02:49]line ФМ: 0000000000871841 [21:02:49]line ФД: 37981 [21:02:49]line ФПД: 201428355788314 [21:02:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T210248&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37981&fm=201428355788314&tin=02508201610067®Number=0000000000091684&sum=41900 [21:02:49]OFD Sender: Processing packet 37981 [packets to send 42, broken 41] [21:02:49]ProducePacketName [21:02:49]name=ofd_packets/00037981 [21:02:49]OFD Sender: To server: pG, [21:02:49]CommunicateWithHost lk.salyk.kg:30040 [21:02:49]ConnectInit lk.salyk.kg [21:02:49]line 0 [21:02:49]written 0, free lines is 4095 [21:02:49]Connected sock=10 [21:02:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 8D 01 00 00 06 47 85 01 51 5B 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC A3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 11 00 00 00 00 07 04 06 00 AC A3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 F8 9E 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5D 94 00 00 35 04 06 00 B7 32 B1 98 2E 1A 65 E9 DD 04 BB 69 DC D3 [21:02:50]Write to MH i2c: 01 00 00 EA 05 EF [21:02:50]Write i2c OK [21:02:50]MH_I2C_Read... [21:02:50]Read from MH i2c: 01 [21:02:50]MH_I2C_Read... [21:02:50]Read from MH i2c: 01 07 00 [21:02:50]MH_I2C_Read... [21:02:50]Read from MH i2c: 01 07 00 EA 05 00 00 00 00 00 62 0C 64 [21:02:50]RasterBufferAndPrint [21:02:50]line [21:02:50]line [21:02:50]line [21:02:50]line [21:02:50]line [21:02:50]written 0, free lines is 3177 [21:02:50]MH_Cut [21:02:50]Write to MH i2c: D1 01 00 F1 05 01 C8 [21:02:50]Write i2c OK [21:02:50]MH_I2C_Read... [21:02:50]Read from MH i2c: D1 [21:02:50]MH_I2C_Read... [21:02:50]Read from MH i2c: D1 01 00 [21:02:50]MH_I2C_Read... [21:02:50]Read from MH i2c: D1 01 00 F1 05 00 C7 [21:02:50]Write to MH i2c: 01 00 00 F2 05 F7 [21:02:50]Write i2c OK [21:02:50]MH_I2C_Read... [21:02:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 FF B1 47 00 4F 27 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5D 94 00 00 F4 03 04 00 E6 49 22 67 B6 04 01 00 00 59 07 B9 C2 EE D6 77 E7 [21:02:50]CommunicateWithHost err = 0 [21:02:50]CheckOFDResponse [21:02:50]1017 (14) - 77093643461234 [21:02:50]1041 (16) - 0000000000871841 [21:02:50]1040 (4) - 37981 [21:02:50]1012 (4) - 30.10.2024 14:59 [21:02:50]1206 (1) - 0 [21:02:50]OFD Sender: Remove packet 37981 [21:02:50]ProducePacketName [21:02:50]name=ofd_packets/00037981 [21:02:50]NVStorageDeleteData [21:02:50]OFD Sender: No OFD packet to send [21:02:50]*** Cut start [21:02:50]*** Partial cut [21:02:50]*** CUTSNS_PIN = 1 [21:02:51]*** CUTSNS_PIN = 0 [21:02:51]*** Brake cut motor [21:02:51]Read from MH i2c: 01 [21:02:51]MH_I2C_Read... [21:02:51]*** Stop cut motor [21:02:51]*** Cut end [21:02:51]Read from MH i2c: 01 07 00 [21:02:51]MH_I2C_Read... [21:02:51]Read from MH i2c: 01 07 00 F2 05 00 00 00 00 00 FF 0F 0C [21:02:51]process_action close_receipt done [21:02:51]requested_data is exist [21:02:51]produce_requested_data [21:02:51]requested_item fm.sn is exist - process it [21:02:51]wFMCommunicate request_size=4 [21:02:51]MH_SAM_APDU [21:02:51]CAPDU: 80 11 00 00 [21:02:51]Write to MH i2c: E2 08 00 F3 05 80 11 00 00 00 00 00 00 72 [21:02:51]Write i2c OK [21:02:51]MH_I2C_Read... [21:02:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:02:51]Read from MH i2c: E2 [21:02:51]MH_I2C_Read... [21:02:51]Read from MH i2c: E2 17 00 [21:02:51]MH_I2C_Read... [21:02:51]Read from MH i2c: E2 17 00 F3 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C2 [21:02:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:02:51]wFMCommunicate OK [21:02:51]requested_item fd.num is exist - process it [21:02:51]SAM_PROTO_GetFieldsCounters [21:02:51]wFMCommunicate request_size=4 [21:02:51]MH_SAM_APDU [21:02:51]CAPDU: 80 13 00 00 [21:02:51]Write to MH i2c: E2 08 00 F4 05 80 13 00 00 00 00 00 00 75 [21:02:51]Write i2c OK [21:02:51]MH_I2C_Read... [21:02:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:02:51]Read from MH i2c: E2 [21:02:51]MH_I2C_Read... [21:02:51]Read from MH i2c: E2 62 00 [21:02:51]MH_I2C_Read... [21:02:51]Read from MH i2c: E2 62 00 F4 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 5D 94 00 00 0E 04 04 00 29 02 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 6F [21:02:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 5D 94 00 00 0E 04 04 00 29 02 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:02:51]wFMCommunicate OK [21:02:51]SAM_PROTO_GetFieldsCounters done [21:02:51]requested_item shift.num is exist - process it [21:02:51]requested_item shift.opened is exist - process it [21:02:51]req_shift_opened [21:02:51]FM_GetShiftState [21:02:51]SAM_PROTO_GetShiftState [21:02:51]wFMCommunicate request_size=4 [21:02:51]MH_SAM_APDU [21:02:51]CAPDU: 80 13 01 00 [21:02:51]Write to MH i2c: E2 08 00 F5 05 80 13 01 00 00 00 00 00 77 [21:02:51]Write i2c OK [21:02:51]MH_I2C_Read... [21:02:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:02:51]Read from MH i2c: E2 [21:02:51]MH_I2C_Read... [21:02:51]Read from MH i2c: E2 0E 00 [21:02:51]MH_I2C_Read... [21:02:51]Read from MH i2c: E2 0E 00 F5 05 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 38 [21:02:51]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [21:02:51]wFMCommunicate OK [21:02:51]SAM_PROTO_GetShiftState done [21:02:51]FM_GetShiftState done [21:02:51]req_shift_opened done [21:02:51]requested_item shift.open_date is exist - process it [21:02:51]req_shift_open_date [21:02:51]req_shift_open_date done [21:02:51]produce_requested_data done [21:02:51]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37981,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [21:02:51]process_action_free close_receipt [21:02:51]json_value_free [21:02:51]json_value_free done [21:02:51]process_json_proto returns [21:02:51]Send response to host [21:02:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37981,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [21:02:51]free response buf [21:02:51]execute_script done [21:02:51]execute_script returns [21:02:51]free content buf [21:02:51]Sock 8.Close socket [21:02:51]Sock 8.Thread stoped [21:02:55]OFD Sender: No OFD packet to send [21:03:00]OFD Sender: No OFD packet to send [21:03:05]OFD Sender: No OFD packet to send [21:03:10]OFD Sender: No OFD packet to send [21:03:15]OFD Sender: No OFD packet to send [21:03:20]OFD Sender: No OFD packet to send [21:03:25]OFD Sender: No OFD packet to send [21:03:30]OFD Sender: No OFD packet to send [21:03:35]OFD Sender: No OFD packet to send [21:03:40]OFD Sender: No OFD packet to send [21:03:45]OFD Sender: No OFD packet to send [21:03:50]OFD Sender: No OFD packet to send [21:03:55]OFD Sender: No OFD packet to send [21:04:00]OFD Sender: No OFD packet to send [21:04:05]OFD Sender: No OFD packet to send [21:04:10]OFD Sender: No OFD packet to send [21:04:15]OFD Sender: No OFD packet to send [21:04:20]OFD Sender: No OFD packet to send [21:04:25]OFD Sender: No OFD packet to send [21:04:30]OFD Sender: No OFD packet to send [21:04:35]OFD Sender: No OFD packet to send [21:04:40]OFD Sender: No OFD packet to send [21:04:45]OFD Sender: No OFD packet to send [21:04:50]OFD Sender: No OFD packet to send [21:04:55]OFD Sender: No OFD packet to send [21:05:00]OFD Sender: No OFD packet to send [21:05:05]OFD Sender: No OFD packet to send [21:05:10]OFD Sender: No OFD packet to send [21:05:15]OFD Sender: No OFD packet to send [21:05:20]OFD Sender: No OFD packet to send [21:05:25]OFD Sender: No OFD packet to send [21:05:30]OFD Sender: No OFD packet to send [21:05:35]OFD Sender: No OFD packet to send [21:05:40]OFD Sender: No OFD packet to send [21:05:45]OFD Sender: No OFD packet to send [21:05:50]OFD Sender: No OFD packet to send [21:05:55]OFD Sender: No OFD packet to send [21:06:00]OFD Sender: No OFD packet to send [21:06:06]OFD Sender: No OFD packet to send [21:06:11]OFD Sender: No OFD packet to send [21:06:16]OFD Sender: No OFD packet to send [21:06:21]OFD Sender: No OFD packet to send [21:06:26]OFD Sender: No OFD packet to send [21:06:31]OFD Sender: No OFD packet to send [21:06:36]OFD Sender: No OFD packet to send [21:06:41]OFD Sender: No OFD packet to send [21:06:46]OFD Sender: No OFD packet to send [21:06:51]OFD Sender: No OFD packet to send [21:06:56]OFD Sender: No OFD packet to send [21:07:01]OFD Sender: No OFD packet to send [21:07:06]OFD Sender: No OFD packet to send [21:07:11]OFD Sender: No OFD packet to send [21:07:16]OFD Sender: No OFD packet to send [21:07:21]OFD Sender: No OFD packet to send [21:07:26]OFD Sender: No OFD packet to send [21:07:31]OFD Sender: No OFD packet to send [21:07:36]OFD Sender: No OFD packet to send [21:07:41]OFD Sender: No OFD packet to send [21:07:46]OFD Sender: No OFD packet to send [21:07:51]OFD Sender: No OFD packet to send [21:07:56]OFD Sender: No OFD packet to send [21:08:01]OFD Sender: No OFD packet to send [21:08:06]OFD Sender: No OFD packet to send [21:08:11]OFD Sender: No OFD packet to send [21:08:16]OFD Sender: No OFD packet to send [21:08:21]OFD Sender: No OFD packet to send [21:08:26]OFD Sender: No OFD packet to send [21:08:31]OFD Sender: No OFD packet to send [21:08:36]OFD Sender: No OFD packet to send [21:08:41]OFD Sender: No OFD packet to send [21:08:46]OFD Sender: No OFD packet to send [21:08:51]OFD Sender: No OFD packet to send [21:08:56]OFD Sender: No OFD packet to send [21:09:01]OFD Sender: No OFD packet to send [21:09:06]OFD Sender: No OFD packet to send [21:09:11]OFD Sender: No OFD packet to send [21:09:16]OFD Sender: No OFD packet to send [21:09:21]OFD Sender: No OFD packet to send [21:09:26]OFD Sender: No OFD packet to send [21:09:31]OFD Sender: No OFD packet to send [21:09:36]OFD Sender: No OFD packet to send [21:09:41]OFD Sender: No OFD packet to send [21:09:46]OFD Sender: No OFD packet to send [21:09:51]OFD Sender: No OFD packet to send [21:09:56]OFD Sender: No OFD packet to send [21:10:01]OFD Sender: No OFD packet to send [21:10:06]OFD Sender: No OFD packet to send [21:10:11]OFD Sender: No OFD packet to send [21:10:16]OFD Sender: No OFD packet to send [21:10:21]OFD Sender: No OFD packet to send [21:10:26]OFD Sender: No OFD packet to send [21:10:31]OFD Sender: No OFD packet to send [21:10:36]OFD Sender: No OFD packet to send [21:10:41]OFD Sender: No OFD packet to send [21:10:46]OFD Sender: No OFD packet to send [21:10:51]OFD Sender: No OFD packet to send [21:10:56]OFD Sender: No OFD packet to send [21:11:01]OFD Sender: No OFD packet to send [21:11:06]OFD Sender: No OFD packet to send [21:11:11]OFD Sender: No OFD packet to send [21:11:16]OFD Sender: No OFD packet to send [21:11:21]OFD Sender: No OFD packet to send [21:11:26]OFD Sender: No OFD packet to send [21:11:31]OFD Sender: No OFD packet to send [21:11:36]OFD Sender: No OFD packet to send [21:11:41]OFD Sender: No OFD packet to send [21:11:46]OFD Sender: No OFD packet to send [21:11:51]OFD Sender: No OFD packet to send [21:11:56]OFD Sender: No OFD packet to send [21:12:01]OFD Sender: No OFD packet to send [21:12:06]OFD Sender: No OFD packet to send [21:12:11]OFD Sender: No OFD packet to send [21:12:16]OFD Sender: No OFD packet to send [21:12:21]OFD Sender: No OFD packet to send [21:12:26]OFD Sender: No OFD packet to send [21:12:31]OFD Sender: No OFD packet to send [21:12:36]OFD Sender: No OFD packet to send [21:12:41]OFD Sender: No OFD packet to send [21:12:46]OFD Sender: No OFD packet to send [21:12: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:25]accept exits with 9 [21:15:25]New connection [21:15:25]New thread 3067432292 created [21:15:25]Thread 3067288932 joined [21:15:25]Waiting for new connection... [21:15:25] Sock 9.Parse request [21:15:25]Sock 9.Check first char [21:15:25]Sock 9.First char is OK [21:15:25]request: POST /json_proto HTTP/1.0 [21:15:25]Method: POST [21:15:25]URL: /json_proto [21:15:25]Method is POST - this is cgi request [21:15:25]url: /json_proto [21:15:25]query_string will be loaded in cgi processing [21:15:25]execute_cgi json_proto POST (null) [21:15:25]execute_cgi path=json_proto method=POST [21:15:25]POST find Content-Length [21:15:25]Host: 172.17.40.196:8080 [21:15:25]Content-Length: 645 [21:15:25]Content-Type: application/json [21:15:25] [21:15:25]POST finish read [21:15:25]Found Content-Length = 645 [21:15:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35281", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:15:25]execute_script... [21:15:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35281", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:15:25]POST & json_proto [21:15:25]process_json_proto [21:15:25]json parsed OK: [21:15:25]protocol is kg_v1.0 [21:15:25]action value=close_receipt [21:15:25]process_action close_receipt [21:15:25]cmd_close_receipt [21:15:25]MH_GetDate [21:15:25]Write to MH i2c: F0 00 00 F6 05 EA [21:15:25]Write i2c OK [21:15:25]MH_I2C_Read... [21:15:25]Read from MH i2c: F0 [21:15:25]MH_I2C_Read... [21:15:25]Read from MH i2c: F0 09 00 [21:15:25]MH_I2C_Read... [21:15:25]Read from MH i2c: F0 09 00 F6 05 00 EE A1 22 67 5B 68 A1 66 D5 [21:15:25]GetLastDocTimeStamp 1730322168 [21:15:25]current date 1730322926 [21:15:25]FM_GetShiftState [21:15:25]SAM_PROTO_GetShiftState [21:15:25]wFMCommunicate request_size=4 [21:15:25]MH_SAM_APDU [21:15:25]CAPDU: 80 13 01 00 [21:15:25]Write to MH i2c: E2 08 00 F7 05 80 13 01 00 00 00 00 00 79 [21:15:25]Write i2c OK [21:15:25]MH_I2C_Read... [21:15:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:15:25]Read from MH i2c: E2 [21:15:25]MH_I2C_Read... [21:15:25]Read from MH i2c: E2 0E 00 [21:15:25]MH_I2C_Read... [21:15:25]Read from MH i2c: E2 0E 00 F7 05 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 3A [21:15:25]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [21:15:25]wFMCommunicate OK [21:15:25]SAM_PROTO_GetShiftState done [21:15:25]FM_GetShiftState done [21:15:25]opened in 1730246837 [21:15:25]opened+sec_in_day 1730333237 [21:15:25]quantity*price = 13000 [21:15:25]sum+1 = 13001 [21:15:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 64 30.10.2024 21:15 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37982 ФПД: 144276902671323 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T211526&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37982&fm=144276902671323&tin=02508201610067®Number=0000000000091684&sum=13000 0 [21:15:26]StoreToDocumentArchive [21:15:26]shift 553 fd 37982 [21:15:26]save to /storage/0553/doc_00037982 [21:15:26]save last doc name /storage/0553/doc_00037982 to /storage/kkm_last_doc_name [21:15:26]save OK [21:15:26]Clear old archive folders... [21:15:26]ProcessDocumentItem done err = 0, tmpTLVsize=282 [21:15:26]tlvbuf is 0055FD10 [21:15:26]SAM_PROTO_ClearQueue [21:15:26]wFMCommunicate request_size=4 [21:15:26]MH_SAM_APDU [21:15:26]CAPDU: 80 09 00 00 [21:15:26]Write to MH i2c: E2 08 00 04 06 80 09 00 00 00 00 00 00 7C [21:15:26]Write i2c OK [21:15:26]MH_I2C_Read... [21:15:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:15:26]Read from MH i2c: E2 [21:15:26]MH_I2C_Read... [21:15:26]Read from MH i2c: E2 03 00 [21:15:26]MH_I2C_Read... [21:15:26]Read from MH i2c: E2 03 00 04 06 00 90 00 7E [21:15:26]RAPDU: 90 00 [21:15:26]wFMCommunicate OK [21:15:26]SAM_PROTO_ClearQueue done [21:15:26]KKMCreateOFDPacket [21:15:26]OFDProtocolAddRootSTLVToBuf [21:15:26]FM_MakeSignedData [21:15:26]FM_MakeSignedData [21:15:26]SAM_PROTO_SignData [21:15:26]wFMCommunicate request_size=4 [21:15:26]MH_SAM_APDU [21:15:26]CAPDU: 80 0D 01 02 [21:15:26]Write to MH i2c: E2 08 00 05 06 80 0D 01 02 00 00 00 00 84 [21:15:26]Write i2c OK [21:15:26]MH_I2C_Read... [21:15:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:15:26]Read from MH i2c: E2 [21:15:26]MH_I2C_Read... [21:15:26]Read from MH i2c: E2 03 00 [21:15:26]MH_I2C_Read... [21:15:26]Read from MH i2c: E2 03 00 05 06 00 90 00 7F [21:15:26]RAPDU: 90 00 [21:15:26]wFMCommunicate OK [21:15:26]wFMCommunicate request_size=255 [21:15:26]MH_SAM_APDU [21:15:26]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 EE A1 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [21:15:26]Write to MH i2c: E2 02 01 06 06 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 EE A1 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 00 00 19 [21:15:26]Write i2c OK [21:15:26]MH_I2C_Read... [21:15:26]OFD Sender: No OFD packet to send [21:15:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:15:26]Read from MH i2c: E2 [21:15:26]MH_I2C_Read... [21:15:26]Read from MH i2c: E2 03 00 [21:15:26]MH_I2C_Read... [21:15:26]Read from MH i2c: E2 03 00 06 06 00 90 00 80 [21:15:26]RAPDU: 90 00 [21:15:26]wFMCommunicate OK [21:15:26]wFMCommunicate request_size=41 [21:15:26]MH_SAM_APDU [21:15:26]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5E 94 00 00 35 04 06 00 83 38 15 88 73 DB [21:15:26]Write to MH i2c: E2 2C 00 07 06 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5E 94 00 00 35 04 06 00 83 38 15 88 73 DB 00 00 EB [21:15:26]Write i2c OK [21:15:26]MH_I2C_Read... [21:15:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:15:26]Read from MH i2c: E2 [21:15:26]MH_I2C_Read... [21:15:26]Read from MH i2c: E2 03 00 [21:15:26]MH_I2C_Read... [21:15:26]Read from MH i2c: E2 03 00 07 06 00 90 00 81 [21:15:26]RAPDU: 90 00 [21:15:26]wFMCommunicate OK [21:15:26]wFMCommunicate request_size=4 [21:15:26]MH_SAM_APDU [21:15:26]CAPDU: 80 0D 03 02 [21:15:26]Write to MH i2c: E2 08 00 08 06 80 0D 03 02 00 00 00 00 89 [21:15:26]Write i2c OK [21:15:26]MH_I2C_Read... [21:15:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:15:26]Read from MH i2c: E2 [21:15:26]MH_I2C_Read... [21:15:26]Read from MH i2c: E2 0B 00 [21:15:26]MH_I2C_Read... [21:15:26]Read from MH i2c: E2 0B 00 08 06 00 99 41 D3 FA DA 72 74 FD 90 00 EE [21:15:26]RAPDU: 99 41 D3 FA DA 72 74 FD 90 00 [21:15:26]wFMCommunicate OK [21:15:26]SAM_PROTO_SignData done [21:15:26]FM_MakeSignedData done [21:15:26]CreateOFDProtocolMessage [21:15:26]wFMCommunicate request_size=4 [21:15:26]MH_SAM_APDU [21:15:26]CAPDU: 80 11 00 00 [21:15:26]Write to MH i2c: E2 08 00 09 06 80 11 00 00 00 00 00 00 89 [21:15:26]Write i2c OK [21:15:26]MH_I2C_Read... [21:15:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:15:26]Read from MH i2c: E2 [21:15:26]MH_I2C_Read... [21:15:26]Read from MH i2c: E2 17 00 [21:15:26]MH_I2C_Read... [21:15:26]Read from MH i2c: E2 17 00 09 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D9 [21:15:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:15:26]wFMCommunicate OK [21:15:26]CreateOFDProtocolMessage done [21:15:26]OFDSenderStorePacket 37982 [21:15:26]StoreOFDPacket docnum=37982 [21:15:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 F3 4D 26 01 5E CC 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 EE A1 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5E 94 00 00 35 04 06 00 83 38 15 88 73 DB 99 41 D3 FA DA 72 74 FD [21:15:26]CheckFolder [21:15:26]dirname=/storage/ofd_packets [21:15:26]CheckFolder done [21:15:26]ProducePacketName [21:15:26]name=ofd_packets/00037982 [21:15:26]NVStorageSaveData ofd_packets/00037982 [21:15:26]File name is /storage/ofd_packets/00037982 [21:15:26]Write 332 bytes [21:15:26]NVStorageSaveData done [21:15:26]OFDSenderStorePacket done [21:15:26]KKMCreateOFDPacket done [21:15:26]NVStorageSaveData kkm_last_timestamp [21:15:26]File name is /storage/kkm_last_timestamp [21:15:26]Write 4 bytes [21:15:26]NVStorageSaveData done [21:15:26]ExternCall_PrintAddStr [21:15:26]wPrintStart [21:15:26]Write to MH i2c: 01 00 00 0A 06 10 [21:15:26]Write i2c OK [21:15:26]MH_I2C_Read... [21:15:26]Read from MH i2c: 01 [21:15:26]MH_I2C_Read... [21:15:26]Read from MH i2c: 01 07 00 [21:15:26]MH_I2C_Read... [21:15:26]Read from MH i2c: 01 07 00 0A 06 00 00 00 00 00 FF 0F 25 [21:15:26]RasterBufferAndPrint [21:15:26]line Счет N : (3)35281 [21:15:26]line ИНН: 02508201610067 [21:15:26]line Контрольно-Кассовый Чек [21:15:26]line ПРОДАЖА [21:15:26]line Товар: 2000036220012 [21:15:26]line Кофе Капучино XL(GABB TRADE) [21:15:26]line 1.000 * 130.00 [21:15:26]line = 130.00 [21:15:26]line НДС 12% НСП 1% [21:15:26]line > о реализуемом товаре [21:15:26]line ИТОГО: 130.00 [21:15:26]line НСП 1% : 1.15 [21:15:26]line НДС 12% : 13.80 [21:15:26]line Наличными: 130.00 [21:15:26]line Безнал.: 0.00 [21:15:26]line Место: АЗС № 126 "Партнер Нефть" [21:15:26]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [21:15:26]line СНО: Общий режим [21:15:26]line Чек 64 30.10.2024 21:15 [21:15:26]line Смена: 553 ФФД: 1.0 [21:15:26]line ЗНМ: 0300000092 [21:15:26]line РНМ: 0000000000091684 [21:15:26]line Версия ККМ: 001 [21:15:26]line ФМ: 0000000000871841 [21:15:26]line ФД: 37982 [21:15:26]line ФПД: 144276902671323 [21:15:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T211526&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37982&fm=144276902671323&tin=02508201610067®Number=0000000000091684&sum=13000 [21:15:27]line 0 [21:15:27]OFD Sender: Processing packet 37982 [packets to send 42, broken 41] [21:15:27]ProducePacketName [21:15:27]name=ofd_packets/00037982 [21:15:27]OFD Sender: To server: pG, [21:15:27]CommunicateWithHost lk.salyk.kg:30040 [21:15:27]ConnectInit lk.salyk.kg [21:15:27]written 0, free lines is 4095 [21:15:27]Connected sock=10 [21:15:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 F3 4D 26 01 5E CC 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 EE A1 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5E 94 00 00 35 04 06 00 83 38 15 88 73 DB 99 41 D3 FA DA 72 74 FD [21:15:27]Write to MH i2c: 01 00 00 33 06 39 [21:15:27]Write i2c OK [21:15:27]MH_I2C_Read... [21:15:27]Read from MH i2c: 01 [21:15:27]MH_I2C_Read... [21:15:27]Read from MH i2c: 01 07 00 [21:15:27]MH_I2C_Read... [21:15:27]Read from MH i2c: 01 07 00 33 06 00 00 00 00 00 C6 0C 12 [21:15:27]RasterBufferAndPrint [21:15:27]line [21:15:27]line [21:15:27]line [21:15:27]line [21:15:27]line [21:15:27]written 0, free lines is 3274 [21:15:27]MH_Cut [21:15:27]Write to MH i2c: D1 01 00 3A 06 01 12 [21:15:27]Write i2c OK [21:15:27]MH_I2C_Read... [21:15:27]Read from MH i2c: D1 [21:15:27]MH_I2C_Read... [21:15:27]Read from MH i2c: D1 01 00 [21:15:27]MH_I2C_Read... [21:15:27]Read from MH i2c: D1 01 00 3A 06 00 11 [21:15:27]Write to MH i2c: 01 00 00 3B 06 41 [21:15:27]Write i2c OK [21:15:27]MH_I2C_Read... [21:15:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 C2 D3 47 00 F9 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 38 37 31 38 34 31 10 04 04 00 5E 94 00 00 F4 03 04 00 DB 4C 22 67 B6 04 01 00 00 03 D8 64 CB 30 23 D5 3C [21:15:27]CommunicateWithHost err = 0 [21:15:27]CheckOFDResponse [21:15:27]1017 (14) - 77093643461234 [21:15:27]1041 (16) - 0000000000871841 [21:15:27]1040 (4) - 37982 [21:15:27]1012 (4) - 30.10.2024 15:12 [21:15:27]1206 (1) - 0 [21:15:27]OFD Sender: Remove packet 37982 [21:15:27]ProducePacketName [21:15:27]name=ofd_packets/00037982 [21:15:27]NVStorageDeleteData [21:15:28]*** Cut start [21:15:28]*** Partial cut [21:15:28]*** CUTSNS_PIN = 1 [21:15:28]OFD Sender: No OFD packet to send [21:15:28]*** CUTSNS_PIN = 0 [21:15:28]*** Brake cut motor [21:15:28]Read from MH i2c: 01 [21:15:28]MH_I2C_Read... [21:15:28]*** Stop cut motor [21:15:28]*** Cut end [21:15:28]Read from MH i2c: 01 07 00 [21:15:28]MH_I2C_Read... [21:15:28]Read from MH i2c: 01 07 00 3B 06 00 00 00 00 00 FF 0F 56 [21:15:28]process_action close_receipt done [21:15:28]requested_data is exist [21:15:28]produce_requested_data [21:15:28]requested_item fm.sn is exist - process it [21:15:28]wFMCommunicate request_size=4 [21:15:28]MH_SAM_APDU [21:15:28]CAPDU: 80 11 00 00 [21:15:28]Write to MH i2c: E2 08 00 3C 06 80 11 00 00 00 00 00 00 BC [21:15:28]Write i2c OK [21:15:28]MH_I2C_Read... [21:15:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:15:29]Read from MH i2c: E2 [21:15:29]MH_I2C_Read... [21:15:29]Read from MH i2c: E2 17 00 [21:15:29]MH_I2C_Read... [21:15:29]Read from MH i2c: E2 17 00 3C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0C [21:15:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:15:29]wFMCommunicate OK [21:15:29]requested_item fd.num is exist - process it [21:15:29]SAM_PROTO_GetFieldsCounters [21:15:29]wFMCommunicate request_size=4 [21:15:29]MH_SAM_APDU [21:15:29]CAPDU: 80 13 00 00 [21:15:29]Write to MH i2c: E2 08 00 3D 06 80 13 00 00 00 00 00 00 BF [21:15:29]Write i2c OK [21:15:29]MH_I2C_Read... [21:15:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:15:29]Read from MH i2c: E2 [21:15:29]MH_I2C_Read... [21:15:29]Read from MH i2c: E2 62 00 [21:15:29]MH_I2C_Read... [21:15:29]Read from MH i2c: E2 62 00 3D 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 5E 94 00 00 0E 04 04 00 29 02 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 BD [21:15:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 5E 94 00 00 0E 04 04 00 29 02 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:15:29]wFMCommunicate OK [21:15:29]SAM_PROTO_GetFieldsCounters done [21:15:29]requested_item shift.num is exist - process it [21:15:29]requested_item shift.opened is exist - process it [21:15:29]req_shift_opened [21:15:29]FM_GetShiftState [21:15:29]SAM_PROTO_GetShiftState [21:15:29]wFMCommunicate request_size=4 [21:15:29]MH_SAM_APDU [21:15:29]CAPDU: 80 13 01 00 [21:15:29]Write to MH i2c: E2 08 00 3E 06 80 13 01 00 00 00 00 00 C1 [21:15:29]Write i2c OK [21:15:29]MH_I2C_Read... [21:15:29]Read from MH i2c: E2 [21:15:29]MH_I2C_Read... [21:15:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:15:29]Read from MH i2c: E2 0E 00 [21:15:29]MH_I2C_Read... [21:15:29]Read from MH i2c: E2 0E 00 3E 06 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 82 [21:15:29]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [21:15:29]wFMCommunicate OK [21:15:29]SAM_PROTO_GetShiftState done [21:15:29]FM_GetShiftState done [21:15:29]req_shift_opened done [21:15:29]requested_item shift.open_date is exist - process it [21:15:29]req_shift_open_date [21:15:29]req_shift_open_date done [21:15:29]produce_requested_data done [21:15:29]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37982,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [21:15:29]process_action_free close_receipt [21:15:29]json_value_free [21:15:29]json_value_free done [21:15:29]process_json_proto returns [21:15:29]Send response to host [21:15:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37982,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [21:15:29]free response buf [21:15:29]execute_script done [21:15:29]execute_script returns [21:15:29]free content buf [21:15:29]Sock 9.Close socket [21:15:29]Sock 9.Thread stoped [21:15:33]OFD Sender: No OFD packet to send [21:15:38]OFD Sender: No OFD packet to send [21:15:43]OFD Sender: No OFD packet to send [21:15:48]OFD Sender: No OFD packet to send [21:15:53]OFD Sender: No OFD packet to send [21:15:58]OFD Sender: No OFD packet to send [21:16:03]OFD Sender: No OFD packet to send [21:16:08]OFD Sender: No OFD packet to send [21:16:13]OFD Sender: No OFD packet to send [21:16:18]OFD Sender: No OFD packet to send [21:16:23]OFD Sender: No OFD packet to send [21:16:28]OFD Sender: No OFD packet to send [21:16:33]OFD Sender: No OFD packet to send [21:16:38]OFD Sender: No OFD packet to send [21:16:43]OFD Sender: No OFD packet to send [21:16:48]OFD Sender: No OFD packet to send [21:16:53]OFD Sender: No OFD packet to send [21:16:58]OFD Sender: No OFD packet to send [21:17:03]OFD Sender: No OFD packet to send [21:17:08]OFD Sender: No OFD packet to send [21:17:13]OFD Sender: No OFD packet to send [21:17:18]OFD Sender: No OFD packet to send [21:17:23]OFD Sender: No OFD packet to send [21:17:28]OFD Sender: No OFD packet to send [21:17:33]OFD Sender: No OFD packet to send [21:17:38]OFD Sender: No OFD packet to send [21:17:43]OFD Sender: No OFD packet to send [21:17:48]OFD Sender: No OFD packet to send [21:17:53]OFD Sender: No OFD packet to send [21:17:58]OFD Sender: No OFD packet to send [21:18:03]OFD Sender: No OFD packet to send [21:18:08]OFD Sender: No OFD packet to send [21:18:13]OFD Sender: No OFD packet to send [21:18:18]OFD Sender: No OFD packet to send [21:18:23]OFD Sender: No OFD packet to send [21:18:28]OFD Sender: No OFD packet to send [21:18:33]OFD Sender: No OFD packet to send [21:18:38]OFD Sender: No OFD packet to send [21:18:43]OFD Sender: No OFD packet to send [21:18:48]OFD Sender: No OFD packet to send [21:18:53]OFD Sender: No OFD packet to send [21:18:58]OFD Sender: No OFD packet to send [21:19:03]OFD Sender: No OFD packet to send [21:19:08]OFD Sender: No OFD packet to send [21:19:13]OFD Sender: No OFD packet to send [21:19:18]OFD Sender: No OFD packet to send [21:19:23]OFD Sender: No OFD packet to send [21:19:28]OFD Sender: No OFD packet to send [21:19:33]OFD Sender: No OFD packet to send [21:19:38]OFD Sender: No OFD packet to send [21:19:43]OFD Sender: No OFD packet to send [21:19:48]OFD Sender: No OFD packet to send [21:19:53]OFD Sender: No OFD packet to send [21:19:58]OFD Sender: No OFD packet to send [21:20:03]OFD Sender: No OFD packet to send [21:20:08]OFD Sender: No OFD packet to send [21:20:13]OFD Sender: No OFD packet to send [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:53]OFD Sender: No OFD packet to send [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:38]OFD Sender: No OFD packet to send [21:25:43]OFD Sender: No OFD packet to send [21:25:48]OFD Sender: No OFD packet to send [21:25:53]OFD Sender: No OFD packet to send [21:25:58]OFD Sender: No OFD packet to send [21:26:03]OFD Sender: No OFD packet to send [21:26:08]OFD Sender: No OFD packet to send [21:26:13]OFD Sender: No OFD packet to send [21:26:18]OFD Sender: No OFD packet to send [21:26:23]OFD Sender: No OFD packet to send [21:26:28]OFD Sender: No OFD packet to send [21:26:33]OFD Sender: No OFD packet to send [21:26:38]OFD Sender: No OFD packet to send [21:26:43]OFD Sender: No OFD packet to send [21:26:48]OFD Sender: No OFD packet to send [21:26:53]OFD Sender: No OFD packet to send [21:26:58]OFD Sender: No OFD packet to send [21:27:03]OFD Sender: No OFD packet to send [21:27:08]OFD Sender: No OFD packet to send [21:27:13]OFD Sender: No OFD packet to send [21:27:18]OFD Sender: No OFD packet to send [21:27:23]OFD Sender: No OFD packet to send [21:27:28]OFD Sender: No OFD packet to send [21:27:33]OFD Sender: No OFD packet to send [21:27:39]OFD Sender: No OFD packet to send [21:27:44]OFD Sender: No OFD packet to send [21:27:49]OFD Sender: No OFD packet to send [21:27:54]OFD Sender: No OFD packet to send [21:27:59]OFD Sender: No OFD packet to send [21:28:04]OFD Sender: No OFD packet to send [21:28:09]OFD Sender: No OFD packet to send [21:28:14]OFD Sender: No OFD packet to send [21:28:19]OFD Sender: No OFD packet to send [21:28:24]OFD Sender: No OFD packet to send [21:28:29]OFD Sender: No OFD packet to send [21:28:34]OFD Sender: No OFD packet to send [21:28:39]OFD Sender: No OFD packet to send [21:28:44]OFD Sender: No OFD packet to send [21:28:49]OFD Sender: No OFD packet to send [21:28:54]OFD Sender: No OFD packet to send [21:28:59]OFD Sender: No OFD packet to send [21:29:04]OFD Sender: No OFD packet to send [21:29:09]OFD Sender: No OFD packet to send [21:29:14]OFD Sender: No OFD packet to send [21:29:19]OFD Sender: No OFD packet to send [21:29:24]OFD Sender: No OFD packet to send [21:29:29]OFD Sender: No OFD packet to send [21:29:34]OFD Sender: No OFD packet to send [21:29:39]OFD Sender: No OFD packet to send [21:29:44]OFD Sender: No OFD packet to send [21:29:49]OFD Sender: No OFD packet to send [21:29:54]OFD Sender: No OFD packet to send [21:29:59]OFD Sender: No OFD packet to send [21:30:04]OFD Sender: No OFD packet to send [21:30:09]OFD Sender: No OFD packet to send [21:30:14]OFD Sender: No OFD packet to send [21:30:19]OFD Sender: No OFD packet to send [21:30:24]OFD Sender: No OFD packet to send [21:30:29]OFD Sender: No OFD packet to send [21:30:34]OFD Sender: No OFD packet to send [21:30:39]OFD Sender: No OFD packet to send [21:30:44]OFD Sender: No OFD packet to send [21:30:49]OFD Sender: No OFD packet to send [21:30:54]OFD Sender: No OFD packet to send [21:30:59]OFD Sender: No OFD packet to send [21:31:04]OFD Sender: No OFD packet to send [21:31:09]OFD Sender: No OFD packet to send [21:31:14]OFD Sender: No OFD packet to send [21:31:19]OFD Sender: No OFD packet to send [21:31:24]OFD Sender: No OFD packet to send [21:31:29]OFD Sender: No OFD packet to send [21:31:34]OFD Sender: No OFD packet to send [21:31:39]OFD Sender: No OFD packet to send [21:31:44]OFD Sender: No OFD packet to send [21:31:49]OFD Sender: No OFD packet to send [21:31:54]OFD Sender: No OFD packet to send [21:31:59]OFD Sender: No OFD packet to send [21:32:04]OFD Sender: No OFD packet to send [21:32:09]OFD Sender: No OFD packet to send [21:32:14]OFD Sender: No OFD packet to send [21:32:19]OFD Sender: No OFD packet to send [21:32:24]OFD Sender: No OFD packet to send [21:32:29]OFD Sender: No OFD packet to send [21:32:34]OFD Sender: No OFD packet to send [21:32:39]OFD Sender: No OFD packet to send [21:32:44]OFD Sender: No OFD packet to send [21:32:49]OFD Sender: No OFD packet to send [21:32:54]OFD Sender: No OFD packet to send [21:32:59]OFD Sender: No OFD packet to send [21:33:04]OFD Sender: No OFD packet to send [21:33:09]OFD Sender: No OFD packet to send [21:33:14]OFD Sender: No OFD packet to send [21:33:19]OFD Sender: No OFD packet to send [21:33:24]OFD Sender: No OFD packet to send [21:33:29]OFD Sender: No OFD packet to send [21:33:34]OFD Sender: No OFD packet to send [21:33:39]OFD Sender: No OFD packet to send [21:33:44]OFD Sender: No OFD packet to send [21:33:49]OFD Sender: No OFD packet to send [21:33:54]OFD Sender: No OFD packet to send [21:33:59]OFD Sender: No OFD packet to send [21:34:04]OFD Sender: No OFD packet to send [21:34:09]OFD Sender: No OFD packet to send [21:34:14]OFD Sender: No OFD packet to send [21:34:19]OFD Sender: No OFD packet to send [21:34:24]OFD Sender: No OFD packet to send [21:34:29]OFD Sender: No OFD packet to send [21:34:34]OFD Sender: No OFD packet to send [21:34:39]OFD Sender: No OFD packet to send [21:34:44]OFD Sender: No OFD packet to send [21:34:49]OFD Sender: No OFD packet to send [21:34:54]OFD Sender: No OFD packet to send [21:34:59]OFD Sender: No OFD packet to send [21:35:04]OFD Sender: No OFD packet to send [21:35:09]OFD Sender: No OFD packet to send [21:35:14]OFD Sender: No OFD packet to send [21:35:19]OFD Sender: No OFD packet to send [21:35:24]OFD Sender: No OFD packet to send [21:35:29]OFD Sender: No OFD packet to send [21:35:34]OFD Sender: No OFD packet to send [21:35:39]OFD Sender: No OFD packet to send [21:35:44]OFD Sender: No OFD packet to send [21:35:49]OFD Sender: No OFD packet to send [21:35:54]OFD Sender: No OFD packet to send [21:35:59]OFD Sender: No OFD packet to send [21:36:04]OFD Sender: No OFD packet to send [21:36:09]OFD Sender: No OFD packet to send [21:36:14]OFD Sender: No OFD packet to send [21:36:19]OFD Sender: No OFD packet to send [21:36:24]OFD Sender: No OFD packet to send [21:36:29]OFD Sender: No OFD packet to send [21:36:34]OFD Sender: No OFD packet to send [21:36:39]OFD Sender: No OFD packet to send [21:36:44]OFD Sender: No OFD packet to send [21:36:49]OFD Sender: No OFD packet to send [21:36:54]OFD Sender: No OFD packet to send [21:36:59]OFD Sender: No OFD packet to send [21:37:04]OFD Sender: No OFD packet to send [21:37:09]OFD Sender: No OFD packet to send [21:37:14]OFD Sender: No OFD packet to send [21:37:19]OFD Sender: No OFD packet to send [21:37:24]OFD Sender: No OFD packet to send [21:37:29]OFD Sender: No OFD packet to send [21:37:34]OFD Sender: No OFD packet to send [21:37:39]OFD Sender: No OFD packet to send [21:37:44]OFD Sender: No OFD packet to send [21:37:49]OFD Sender: No OFD packet to send [21:37:54]OFD Sender: No OFD packet to send [21:37:59]OFD Sender: No OFD packet to send [21:38:04]OFD Sender: No OFD packet to send [21:38:09]OFD Sender: No OFD packet to send [21:38:14]OFD Sender: No OFD packet to send [21:38:19]OFD Sender: No OFD packet to send [21:38:24]OFD Sender: No OFD packet to send [21:38:29]OFD Sender: No OFD packet to send [21:38:34]OFD Sender: No OFD packet to send [21:38:39]OFD Sender: No OFD packet to send [21:38:44]OFD Sender: No OFD packet to send [21:38:49]OFD Sender: No OFD packet to send [21:38:54]OFD Sender: No OFD packet to send [21:38:59]OFD Sender: No OFD packet to send [21:39:04]OFD Sender: No OFD packet to send [21:39:09]OFD Sender: No OFD packet to send [21:39:14]OFD Sender: No OFD packet to send [21:39:19]OFD Sender: No OFD packet to send [21:39:24]OFD Sender: No OFD packet to send [21:39:29]OFD Sender: No OFD packet to send [21:39:34]OFD Sender: No OFD packet to send [21:39:39]OFD Sender: No OFD packet to send [21:39:44]OFD Sender: No OFD packet to send [21:39:49]OFD Sender: No OFD packet to send [21:39:54]OFD Sender: No OFD packet to send [21:39:59]OFD Sender: No OFD packet to send [21:40:04]OFD Sender: No OFD packet to send [21:40:09]OFD Sender: No OFD packet to send [21:40:14]OFD Sender: No OFD packet to send [21:40:19]OFD Sender: No OFD packet to send [21:40:24]OFD Sender: No OFD packet to send [21:40:29]OFD Sender: No OFD packet to send [21:40:34]OFD Sender: No OFD packet to send [21:40:39]OFD Sender: No OFD packet to send [21:40:44]OFD Sender: No OFD packet to send [21:40:49]OFD Sender: No OFD packet to send [21:40:54]OFD Sender: No OFD packet to send [21:40:59]OFD Sender: No OFD packet to send [21:41:04]OFD Sender: No OFD packet to send [21:41:09]OFD Sender: No OFD packet to send [21:41:14]OFD Sender: No OFD packet to send [21:41:19]OFD Sender: No OFD packet to send [21:41:24]OFD Sender: No OFD packet to send [21:41:29]OFD Sender: No OFD packet to send [21:41:34]OFD Sender: No OFD packet to send [21:41:39]OFD Sender: No OFD packet to send [21:41:44]OFD Sender: No OFD packet to send [21:41:49]OFD Sender: No OFD packet to send [21:41:54]OFD Sender: No OFD packet to send [21:41:59]OFD Sender: No OFD packet to send [21:42:04]OFD Sender: No OFD packet to send [21:42:09]OFD Sender: No OFD packet to send [21:42:14]OFD Sender: No OFD packet to send [21:42:19]OFD Sender: No OFD packet to send [21:42:24]OFD Sender: No OFD packet to send [21:42:29]OFD Sender: No OFD packet to send [21:42:34]OFD Sender: No OFD packet to send [21:42:39]OFD Sender: No OFD packet to send [21:42:44]OFD Sender: No OFD packet to send [21:42:49]OFD Sender: No OFD packet to send [21:42:54]OFD Sender: No OFD packet to send [21:42:59]OFD Sender: No OFD packet to send [21:43:04]OFD Sender: No OFD packet to send [21:43:09]OFD Sender: No OFD packet to send [21:43:14]OFD Sender: No OFD packet to send [21:43:19]OFD Sender: No OFD packet to send [21:43:24]OFD Sender: No OFD packet to send [21:43:29]OFD Sender: No OFD packet to send [21:43:34]OFD Sender: No OFD packet to send [21:43:39]OFD Sender: No OFD packet to send [21:43:44]OFD Sender: No OFD packet to send [21:43:49]OFD Sender: No OFD packet to send [21:43:54]OFD Sender: No OFD packet to send [21:43:59]OFD Sender: No OFD packet to send [21:44:04]OFD Sender: No OFD packet to send [21:44:09]OFD Sender: No OFD packet to send [21:44:14]OFD Sender: No OFD packet to send [21:44:19]OFD Sender: No OFD packet to send [21:44:24]OFD Sender: No OFD packet to send [21:44:29]OFD Sender: No OFD packet to send [21:44:34]OFD Sender: No OFD packet to send [21:44:39]OFD Sender: No OFD packet to send [21:44:44]OFD Sender: No OFD packet to send [21:44:49]OFD Sender: No OFD packet to send [21:44:54]OFD Sender: No OFD packet to send [21:44:59]OFD Sender: No OFD packet to send [21:45:04]OFD Sender: No OFD packet to send [21:45:09]OFD Sender: No OFD packet to send [21:45:14]OFD Sender: No OFD packet to send [21:45:19]OFD Sender: No OFD packet to send [21:45:24]OFD Sender: No OFD packet to send [21:45:29]OFD Sender: No OFD packet to send [21:45:34]OFD Sender: No OFD packet to send [21:45:39]OFD Sender: No OFD packet to send [21:45:44]OFD Sender: No OFD packet to send [21:45:49]OFD Sender: No OFD packet to send [21:45:54]OFD Sender: No OFD packet to send [21:45:59]OFD Sender: No OFD packet to send [21:46:04]OFD Sender: No OFD packet to send [21:46:09]OFD Sender: No OFD packet to send [21:46:15]OFD Sender: No OFD packet to send [21:46:20]OFD Sender: No OFD packet to send [21:46:25]OFD Sender: No OFD packet to send [21:46:30]OFD Sender: No OFD packet to send [21:46:35]OFD Sender: No OFD packet to send [21:46:40]OFD Sender: No OFD packet to send [21:46:45]OFD Sender: No OFD packet to send [21:46:50]OFD Sender: No OFD packet to send [21:46:55]OFD Sender: No OFD packet to send [21:47:00]OFD Sender: No OFD packet to send [21:47:05]OFD Sender: No OFD packet to send [21:47:10]OFD Sender: No OFD packet to send [21:47:15]OFD Sender: No OFD packet to send [21:47:20]OFD Sender: No OFD packet to send [21:47:25]OFD Sender: No OFD packet to send [21:47:30]OFD Sender: No OFD packet to send [21:47:35]OFD Sender: No OFD packet to send [21:47:40]OFD Sender: No OFD packet to send [21:47:45]OFD Sender: No OFD packet to send [21:47:50]OFD Sender: No OFD packet to send [21:47:55]OFD Sender: No OFD packet to send [21:48:00]OFD Sender: No OFD packet to send [21:48:05]OFD Sender: No OFD packet to send [21:48:10]OFD Sender: No OFD packet to send [21:48:15]OFD Sender: No OFD packet to send [21:48:20]OFD Sender: No OFD packet to send [21:48:25]OFD Sender: No OFD packet to send [21:48:30]OFD Sender: No OFD packet to send [21:48:35]OFD Sender: No OFD packet to send [21:48:40]OFD Sender: No OFD packet to send [21:48:45]OFD Sender: No OFD packet to send [21:48:50]OFD Sender: No OFD packet to send [21:48:55]OFD Sender: No OFD packet to send [21:49:00]OFD Sender: No OFD packet to send [21:49:05]OFD Sender: No OFD packet to send [21:49:10]OFD Sender: No OFD packet to send [21:49:15]OFD Sender: No OFD packet to send [21:49:20]OFD Sender: No OFD packet to send [21:49:25]OFD Sender: No OFD packet to send [21:49:30]OFD Sender: No OFD packet to send [21:49:35]OFD Sender: No OFD packet to send [21:49:40]OFD Sender: No OFD packet to send [21:49:45]OFD Sender: No OFD packet to send [21:49:50]OFD Sender: No OFD packet to send [21:49:55]OFD Sender: No OFD packet to send [21:50:00]OFD Sender: No OFD packet to send [21:50:05]OFD Sender: No OFD packet to send [21:50:10]OFD Sender: No OFD packet to send [21:50:15]OFD Sender: No OFD packet to send [21:50:20]OFD Sender: No OFD packet to send [21:50:25]OFD Sender: No OFD packet to send [21:50:30]OFD Sender: No OFD packet to send [21:50:35]OFD Sender: No OFD packet to send [21:50:40]OFD Sender: No OFD packet to send [21:50:45]OFD Sender: No OFD packet to send [21:50:50]OFD Sender: No OFD packet to send [21:50:55]OFD Sender: No OFD packet to send [21:51:00]OFD Sender: No OFD packet to send [21:51:05]OFD Sender: No OFD packet to send [21:51:10]OFD Sender: No OFD packet to send [21:51:15]OFD Sender: No OFD packet to send [21:51:20]OFD Sender: No OFD packet to send [21:51:25]OFD Sender: No OFD packet to send [21:51:30]OFD Sender: No OFD packet to send [21:51:35]OFD Sender: No OFD packet to send [21:51:40]OFD Sender: No OFD packet to send [21:51:45]OFD Sender: No OFD packet to send [21:51:50]OFD Sender: No OFD packet to send [21:51:55]OFD Sender: No OFD packet to send [21:52:00]OFD Sender: No OFD packet to send [21:52:05]OFD Sender: No OFD packet to send [21:52:10]OFD Sender: No OFD packet to send [21:52:15]OFD Sender: No OFD packet to send [21:52:20]OFD Sender: No OFD packet to send [21:52:25]OFD Sender: No OFD packet to send [21:52:30]OFD Sender: No OFD packet to send [21:52:35]OFD Sender: No OFD packet to send [21:52:40]OFD Sender: No OFD packet to send [21:52:45]OFD Sender: No OFD packet to send [21:52:50]OFD Sender: No OFD packet to send [21:52:55]OFD Sender: No OFD packet to send [21:53:00]OFD Sender: No OFD packet to send [21:53:05]OFD Sender: No OFD packet to send [21:53:10]OFD Sender: No OFD packet to send [21:53:15]OFD Sender: No OFD packet to send [21:53:20]OFD Sender: No OFD packet to send [21:53:25]OFD Sender: No OFD packet to send [21:53:30]OFD Sender: No OFD packet to send [21:53:35]OFD Sender: No OFD packet to send [21:53:40]OFD Sender: No OFD packet to send [21:53:45]OFD Sender: No OFD packet to send [21:53:50]OFD Sender: No OFD packet to send [21:53:55]OFD Sender: No OFD packet to send [21:54:00]OFD Sender: No OFD packet to send [21:54:05]OFD Sender: No OFD packet to send [21:54:10]OFD Sender: No OFD packet to send [21:54:15]OFD Sender: No OFD packet to send [21:54:20]OFD Sender: No OFD packet to send [21:54:25]OFD Sender: No OFD packet to send [21:54:30]OFD Sender: No OFD packet to send [21:54:35]OFD Sender: No OFD packet to send [21:54:40]OFD Sender: No OFD packet to send [21:54:45]OFD Sender: No OFD packet to send [21:54:50]OFD Sender: No OFD packet to send [21:54:55]OFD Sender: No OFD packet to send [21:55:00]OFD Sender: No OFD packet to send [21:55:05]OFD Sender: No OFD packet to send [21:55:10]OFD Sender: No OFD packet to send [21:55:15]OFD Sender: No OFD packet to send [21:55:20]OFD Sender: No OFD packet to send [21:55:25]OFD Sender: No OFD packet to send [21:55:30]OFD Sender: No OFD packet to send [21:55:35]OFD Sender: No OFD packet to send [21:55:40]OFD Sender: No OFD packet to send [21:55:45]OFD Sender: No OFD packet to send [21:55:50]OFD Sender: No OFD packet to send [21:55:55]OFD Sender: No OFD packet to send [21:56:00]OFD Sender: No OFD packet to send [21:56:05]OFD Sender: No OFD packet to send [21:56:10]OFD Sender: No OFD packet to send [21:56:15]OFD Sender: No OFD packet to send [21:56:20]OFD Sender: No OFD packet to send [21:56:25]OFD Sender: No OFD packet to send [21:56:30]OFD Sender: No OFD packet to send [21:56:35]OFD Sender: No OFD packet to send [21:56:40]OFD Sender: No OFD packet to send [21:56:45]OFD Sender: No OFD packet to send [21:56:50]OFD Sender: No OFD packet to send [21:56:55]OFD Sender: No OFD packet to send [21:57:00]OFD Sender: No OFD packet to send [21:57:05]OFD Sender: No OFD packet to send [21:57:10]OFD Sender: No OFD packet to send [21:57:15]OFD Sender: No OFD packet to send [21:57:20]OFD Sender: No OFD packet to send [21:57:25]OFD Sender: No OFD packet to send [21:57:30]OFD Sender: No OFD packet to send [21:57:35]OFD Sender: No OFD packet to send [21:57:40]OFD Sender: No OFD packet to send [21:57:45]OFD Sender: No OFD packet to send [21:57:50]OFD Sender: No OFD packet to send [21:57:55]OFD Sender: No OFD packet to send [21:58:00]OFD Sender: No OFD packet to send [21:58:05]OFD Sender: No OFD packet to send [21:58:10]OFD Sender: No OFD packet to send [21:58:15]OFD Sender: No OFD packet to send [21:58:20]OFD Sender: No OFD packet to send [21:58:25]OFD Sender: No OFD packet to send [21:58:30]OFD Sender: No OFD packet to send [21:58:35]OFD Sender: No OFD packet to send [21:58:40]OFD Sender: No OFD packet to send [21:58:45]OFD Sender: No OFD packet to send [21:58:50]OFD Sender: No OFD packet to send [21:58:55]OFD Sender: No OFD packet to send [21:59:00]OFD Sender: No OFD packet to send [21:59:05]OFD Sender: No OFD packet to send [21:59:10]OFD Sender: No OFD packet to send [21:59:15]OFD Sender: No OFD packet to send [21:59:20]OFD Sender: No OFD packet to send [21:59:25]OFD Sender: No OFD packet to send [21:59:30]OFD Sender: No OFD packet to send [21:59:35]OFD Sender: No OFD packet to send [21:59:40]OFD Sender: No OFD packet to send [21:59:45]OFD Sender: No OFD packet to send [21:59:50]OFD Sender: No OFD packet to send [21:59:55]OFD Sender: No OFD packet to send [22:00:00]OFD Sender: No OFD packet to send [22:00:05]OFD Sender: No OFD packet to send [22:00:10]OFD Sender: No OFD packet to send [22:00:15]OFD Sender: No OFD packet to send [22:00:20]OFD Sender: No OFD packet to send [22:00:25]OFD Sender: No OFD packet to send [22:00:30]OFD Sender: No OFD packet to send [22:00:35]OFD Sender: No OFD packet to send [22:00:40]OFD Sender: No OFD packet to send [22:00:45]OFD Sender: No OFD packet to send [22:00:50]OFD Sender: No OFD packet to send [22:00:55]OFD Sender: No OFD packet to send [22:01:00]OFD Sender: No OFD packet to send [22:01:05]OFD Sender: No OFD packet to send [22:01:10]OFD Sender: No OFD packet to send [22:01:15]OFD Sender: No OFD packet to send [22:01:20]OFD Sender: No OFD packet to send [22:01:25]OFD Sender: No OFD packet to send [22:01:30]OFD Sender: No OFD packet to send [22:01:35]OFD Sender: No OFD packet to send [22:01:40]OFD Sender: No OFD packet to send [22:01:45]OFD Sender: No OFD packet to send [22:01:50]OFD Sender: No OFD packet to send [22:01:55]OFD Sender: No OFD packet to send [22:02:00]OFD Sender: No OFD packet to send [22:02:05]OFD Sender: No OFD packet to send [22:02:10]OFD Sender: No OFD packet to send [22:02:15]OFD Sender: No OFD packet to send [22:02:20]OFD Sender: No OFD packet to send [22:02:25]OFD Sender: No OFD packet to send [22:02:30]OFD Sender: No OFD packet to send [22:02:35]OFD Sender: No OFD packet to send [22:02:40]OFD Sender: No OFD packet to send [22:02:45]OFD Sender: No OFD packet to send [22:02:50]OFD Sender: No OFD packet to send [22:02:55]OFD Sender: No OFD packet to send [22:03:00]OFD Sender: No OFD packet to send [22:03:05]OFD Sender: No OFD packet to send [22:03:10]OFD Sender: No OFD packet to send [22:03:15]OFD Sender: No OFD packet to send [22:03:20]OFD Sender: No OFD packet to send [22:03:25]OFD Sender: No OFD packet to send [22:03:30]OFD Sender: No OFD packet to send [22:03:35]OFD Sender: No OFD packet to send [22:03:40]OFD Sender: No OFD packet to send [22:03:45]OFD Sender: No OFD packet to send [22:03:50]OFD Sender: No OFD packet to send [22:03:55]OFD Sender: No OFD packet to send [22:04:00]OFD Sender: No OFD packet to send [22:04:52]MH_I2C_Read... [22:04:52]Read from MH i2c: E2 03 00 48 06 00 90 00 C2 [22:04:52]RAPDU: 90 00 [22:04:52]wFMCommunicate OK [22:04:52]wFMCommunicate request_size=13 [22:04:52]MH_SAM_APDU [22:04:52]CAPDU: 80 15 02 00 08 F4 03 04 00 85 AD 22 67 [22:04:52]Write to MH i2c: E2 10 00 49 06 80 15 02 00 08 00 F4 03 04 00 85 AD 22 67 00 00 95 [22:04:52]Write i2c OK [22:04:52]MH_I2C_Read... [22:04:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [22:04:53]Read from MH i2c: E2 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 03 00 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 03 00 49 06 00 90 00 C3 [22:04:53]RAPDU: 90 00 [22:04:53]wFMCommunicate OK [22:04:53]wFMCommunicate request_size=25 [22:04:53]MH_SAM_APDU [22:04:53]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 [22:04:53]Write to MH i2c: E2 1C 00 4A 06 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 00 00 35 [22:04:53]Write i2c OK [22:04:53]MH_I2C_Read... [22:04:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [22:04:53]Read from MH i2c: E2 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 03 00 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 03 00 4A 06 00 90 00 C4 [22:04:53]RAPDU: 90 00 [22:04:53]wFMCommunicate OK [22:04:53]wFMCommunicate request_size=4 [22:04:53]MH_SAM_APDU [22:04:53]CAPDU: 80 15 03 00 [22:04:53]Write to MH i2c: E2 08 00 4B 06 80 15 03 00 00 00 00 00 D2 [22:04:53]Write i2c OK [22:04:53]MH_I2C_Read... [22:04:53]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 61! [22:04:53]Read from MH i2c: E2 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 40 00 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 40 00 4B 06 00 3B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5F 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 41 00 00 00 35 04 06 00 7C 67 4B 20 65 73 90 00 4A [22:04:53]RAPDU: 3B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5F 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 41 00 00 00 35 04 06 00 7C 67 4B 20 65 73 90 00 [22:04:53]wFMCommunicate OK [22:04:53]SAM_PROTO_ProcessDocument answer len = 59 [22:04:53]SAM_PROTO_ProcessDocument done [22:04:53]SetTLVBufToDocument [22:04:53]Processing tag 1209 (04B9) [22:04:53]Malloc new data [22:04:53]Processing tag 1041 (0411) [22:04:53]Processing tag 1040 (0410) [22:04:53]Malloc new data [22:04:53]Processing tag 1038 (040E) [22:04:53]Malloc new data [22:04:53]Processing tag 1042 (0412) [22:04:53]Malloc new data [22:04:53]Processing tag 1077 (0435) [22:04:53]Malloc new data [22:04:53]SetTLVBufToDocument err=0 [22:04:53]KKMLoadAndSignReceiptData store KKM data [22:04:53]KKMLoadAndSignReceiptData err=0 [22:04:53]wFMCommunicate request_size=4 [22:04:53]MH_SAM_APDU [22:04:53]CAPDU: 80 11 00 00 [22:04:53]Write to MH i2c: E2 08 00 4C 06 80 11 00 00 00 00 00 00 CC [22:04:53]Write i2c OK [22:04:53]MH_I2C_Read... [22:04:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:04:53]Read from MH i2c: E2 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 17 00 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 17 00 4C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1C [22:04:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:04:53]wFMCommunicate OK [22:04:53]Счет N : (3)35282 ИНН: 02508201610067 Контрольно-Кассовый Чек ПРОДАЖА Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 65 30.10.2024 22:04 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37983 ФПД: 136783083890035 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T220453&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37983&fm=136783083890035&tin=02508201610067®Number=0000000000091684&sum=5000 0 [22:04:53]StoreToDocumentArchive [22:04:53]shift 553 fd 37983 [22:04:53]save to /storage/0553/doc_00037983 [22:04:53]save last doc name /storage/0553/doc_00037983 to /storage/kkm_last_doc_name [22:04:53]save OK [22:04:53]Clear old archive folders... [22:04:53]ProcessDocumentItem done err = 0, tmpTLVsize=269 [22:04:53]tlvbuf is 0055FBE0 [22:04:53]SAM_PROTO_ClearQueue [22:04:53]wFMCommunicate request_size=4 [22:04:53]MH_SAM_APDU [22:04:53]CAPDU: 80 09 00 00 [22:04:53]Write to MH i2c: E2 08 00 4D 06 80 09 00 00 00 00 00 00 C5 [22:04:53]Write i2c OK [22:04:53]MH_I2C_Read... [22:04:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:04:53]Read from MH i2c: E2 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 03 00 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 03 00 4D 06 00 90 00 C7 [22:04:53]RAPDU: 90 00 [22:04:53]wFMCommunicate OK [22:04:53]SAM_PROTO_ClearQueue done [22:04:53]KKMCreateOFDPacket [22:04:53]OFDProtocolAddRootSTLVToBuf [22:04:53]FM_MakeSignedData [22:04:53]FM_MakeSignedData [22:04:53]SAM_PROTO_SignData [22:04:53]wFMCommunicate request_size=4 [22:04:53]MH_SAM_APDU [22:04:53]CAPDU: 80 0D 01 02 [22:04:53]Write to MH i2c: E2 08 00 4E 06 80 0D 01 02 00 00 00 00 CD [22:04:53]Write i2c OK [22:04:53]MH_I2C_Read... [22:04:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:04:53]Read from MH i2c: E2 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 03 00 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 03 00 4E 06 00 90 00 C8 [22:04:53]RAPDU: 90 00 [22:04:53]wFMCommunicate OK [22:04:53]wFMCommunicate request_size=255 [22:04:53]MH_SAM_APDU [22:04:53]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 85 AD 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [22:04:53]Write to MH i2c: E2 02 01 4F 06 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 85 AD 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 0E [22:04:53]Write i2c OK [22:04:53]MH_I2C_Read... [22:04:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:04:53]Read from MH i2c: E2 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 03 00 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 03 00 4F 06 00 90 00 C9 [22:04:53]RAPDU: 90 00 [22:04:53]wFMCommunicate OK [22:04:53]wFMCommunicate request_size=28 [22:04:53]MH_SAM_APDU [22:04:53]CAPDU: 80 0D 02 02 17 37 31 38 34 31 10 04 04 00 5F 94 00 00 35 04 06 00 7C 67 4B 20 65 73 [22:04:53]Write to MH i2c: E2 1F 00 50 06 80 0D 02 02 17 00 37 31 38 34 31 10 04 04 00 5F 94 00 00 35 04 06 00 7C 67 4B 20 65 73 00 00 73 [22:04:53]Write i2c OK [22:04:53]MH_I2C_Read... [22:04:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:04:53]Read from MH i2c: E2 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 03 00 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 03 00 50 06 00 90 00 CA [22:04:53]RAPDU: 90 00 [22:04:53]wFMCommunicate OK [22:04:53]wFMCommunicate request_size=4 [22:04:53]MH_SAM_APDU [22:04:53]CAPDU: 80 0D 03 02 [22:04:53]Write to MH i2c: E2 08 00 51 06 80 0D 03 02 00 00 00 00 D2 [22:04:53]Write i2c OK [22:04:53]MH_I2C_Read... [22:04:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:04:53]Read from MH i2c: E2 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 0B 00 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 0B 00 51 06 00 B0 97 B5 AC C9 C3 7F 90 90 00 16 [22:04:53]RAPDU: B0 97 B5 AC C9 C3 7F 90 90 00 [22:04:53]wFMCommunicate OK [22:04:53]SAM_PROTO_SignData done [22:04:53]FM_MakeSignedData done [22:04:53]CreateOFDProtocolMessage [22:04:53]wFMCommunicate request_size=4 [22:04:53]MH_SAM_APDU [22:04:53]CAPDU: 80 11 00 00 [22:04:53]Write to MH i2c: E2 08 00 52 06 80 11 00 00 00 00 00 00 D2 [22:04:53]Write i2c OK [22:04:53]MH_I2C_Read... [22:04:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:04:53]Read from MH i2c: E2 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 17 00 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: E2 17 00 52 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 22 [22:04:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:04:53]wFMCommunicate OK [22:04:53]CreateOFDProtocolMessage done [22:04:53]OFDSenderStorePacket 37983 [22:04:53]StoreOFDPacket docnum=37983 [22:04:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 21 01 00 00 65 63 19 01 4D E5 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 85 AD 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5F 94 00 00 35 04 06 00 7C 67 4B 20 65 73 B0 97 B5 AC C9 C3 7F 90 [22:04:53]CheckFolder [22:04:53]dirname=/storage/ofd_packets [22:04:53]CheckFolder done [22:04:53]ProducePacketName [22:04:53]name=ofd_packets/00037983 [22:04:53]NVStorageSaveData ofd_packets/00037983 [22:04:53]File name is /storage/ofd_packets/00037983 [22:04:53]Write 319 bytes [22:04:53]NVStorageSaveData done [22:04:53]OFDSenderStorePacket done [22:04:53]KKMCreateOFDPacket done [22:04:53]NVStorageSaveData kkm_last_timestamp [22:04:53]File name is /storage/kkm_last_timestamp [22:04:53]Write 4 bytes [22:04:53]NVStorageSaveData done [22:04:53]ExternCall_PrintAddStr [22:04:53]wPrintStart [22:04:53]Write to MH i2c: 01 00 00 53 06 59 [22:04:53]Write i2c OK [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: 01 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: 01 07 00 [22:04:53]MH_I2C_Read... [22:04:53]Read from MH i2c: 01 07 00 53 06 00 00 00 00 00 FF 0F 6E [22:04:53]RasterBufferAndPrint [22:04:53]line Счет N : (3)35282 [22:04:53]line ИНН: 02508201610067 [22:04:53]line Контрольно-Кассовый Чек [22:04:53]line ПРОДАЖА [22:04:53]line Товар: 4700000160358 [22:04:53]line Вода Легенда 1л [22:04:53]line 1.000 * 50.00 [22:04:53]line = 50.00 [22:04:53]line НДС 12% НСП 1% [22:04:53]line > о реализуемом товаре [22:04:53]line ИТОГО: 50.00 [22:04:53]line НСП 1% : 0.44 [22:04:53]line НДС 12% : 5.31 [22:04:53]line Наличными: 50.00 [22:04:53]line Безнал.: 0.00 [22:04:53]line Место: АЗС № 126 "Партнер Нефть" [22:04:53]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [22:04:53]line СНО: Общий режим [22:04:53]line Чек 65 30.10.2024 22:04 [22:04:53]line Смена: 553 ФФД: 1.0 [22:04:53]line ЗНМ: 0300000092 [22:04:53]line РНМ: 0000000000091684 [22:04:53]line Версия ККМ: 001 [22:04:53]line ФМ: 0000000000871841 [22:04:53]line ФД: 37983 [22:04:53]line ФПД: 136783083890035 [22:04:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T220453&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37983&fm=136783083890035&tin=02508201610067®Number=0000000000091684&sum=5000 [22:04:54]OFD Sender: Processing packet 37983 [packets to send 42, broken 41] [22:04:54]ProducePacketName [22:04:54]name=ofd_packets/00037983 [22:04:54]OFD Sender: To server: pG, [22:04:54]CommunicateWithHost lk.salyk.kg:30040 [22:04:54]ConnectInit lk.salyk.kg [22:04:54]line 0 [22:04:54]written 0, free lines is 4095 [22:04:54]Connected sock=11 [22:04:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 21 01 00 00 65 63 19 01 4D E5 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 85 AD 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5F 94 00 00 35 04 06 00 7C 67 4B 20 65 73 B0 97 B5 AC C9 C3 7F 90 [22:04:54]Write to MH i2c: 01 00 00 7B 06 81 [22:04:54]Write i2c OK [22:04:54]MH_I2C_Read... [22:04:54]Read from MH i2c: 01 [22:04:54]MH_I2C_Read... [22:04:54]Read from MH i2c: 01 07 00 [22:04:54]MH_I2C_Read... [22:04:54]Read from MH i2c: 01 07 00 7B 06 00 00 00 00 00 CB 0C 5F [22:04:54]RasterBufferAndPrint [22:04:54]line [22:04:54]line [22:04:54]line [22:04:54]line [22:04:54]line [22:04:54]written 0, free lines is 3282 [22:04:54]MH_Cut [22:04:54]Write to MH i2c: D1 01 00 82 06 01 5A [22:04:54]Write i2c OK [22:04:54]MH_I2C_Read... [22:04:54]Read from MH i2c: D1 [22:04:54]MH_I2C_Read... [22:04:54]Read from MH i2c: D1 01 00 [22:04:54]MH_I2C_Read... [22:04:54]Read from MH i2c: D1 01 00 82 06 00 59 [22:04:54]Write to MH i2c: 01 00 00 83 06 89 [22:04:54]Write i2c OK [22:04:54]MH_I2C_Read... [22:04:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 CC 7D 47 00 3D ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5F 94 00 00 F4 03 04 00 73 58 22 67 B6 04 01 00 00 6D C2 19 E0 63 8D F8 05 [22:04:54]CommunicateWithHost err = 0 [22:04:54]CheckOFDResponse [22:04:54]1017 (14) - 77093643461234 [22:04:54]1041 (16) - 0000000000871841 [22:04:54]1040 (4) - 37983 [22:04:54]1012 (4) - 30.10.2024 16:01 [22:04:54]1206 (1) - 0 [22:04:54]OFD Sender: Remove packet 37983 [22:04:54]ProducePacketName [22:04:54]name=ofd_packets/00037983 [22:04:54]NVStorageDeleteData [22:04:55]*** Cut start [22:04:55]*** Partial cut [22:04:55]*** CUTSNS_PIN = 1 [22:04:55]OFD Sender: No OFD packet to send [22:04:55]*** CUTSNS_PIN = 0 [22:04:55]*** Brake cut motor [22:04:56]Read from MH i2c: 01 [22:04:56]MH_I2C_Read... [22:04:56]*** Stop cut motor [22:04:56]*** Cut end [22:04:56]Read from MH i2c: 01 07 00 [22:04:56]MH_I2C_Read... [22:04:56]Read from MH i2c: 01 07 00 83 06 00 00 00 00 00 FF 0F 9E [22:04:56]process_action close_receipt done [22:04:56]requested_data is exist [22:04:56]produce_requested_data [22:04:56]requested_item fm.sn is exist - process it [22:04:56]wFMCommunicate request_size=4 [22:04:56]MH_SAM_APDU [22:04:56]CAPDU: 80 11 00 00 [22:04:56]Write to MH i2c: E2 08 00 84 06 80 11 00 00 00 00 00 00 04 [22:04:56]Write i2c OK [22:04:56]MH_I2C_Read... [22:04:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:04:56]Read from MH i2c: E2 [22:04:56]MH_I2C_Read... [22:04:56]Read from MH i2c: E2 17 00 [22:04:56]MH_I2C_Read... [22:04:56]Read from MH i2c: E2 17 00 84 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 54 [22:04:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:04:56]wFMCommunicate OK [22:04:56]requested_item fd.num is exist - process it [22:04:56]SAM_PROTO_GetFieldsCounters [22:04:56]wFMCommunicate request_size=4 [22:04:56]MH_SAM_APDU [22:04:56]CAPDU: 80 13 00 00 [22:04:56]Write to MH i2c: E2 08 00 85 06 80 13 00 00 00 00 00 00 07 [22:04:56]Write i2c OK [22:04:56]MH_I2C_Read... [22:04:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:04:56]Read from MH i2c: E2 [22:04:56]MH_I2C_Read... [22:04:56]Read from MH i2c: E2 62 00 [22:04:56]MH_I2C_Read... [22:04:56]Read from MH i2c: E2 62 00 85 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 5F 94 00 00 0E 04 04 00 29 02 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 09 [22:04:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 5F 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:04:56]wFMCommunicate OK [22:04:56]SAM_PROTO_GetFieldsCounters done [22:04:56]requested_item shift.num is exist - process it [22:04:56]requested_item shift.opened is exist - process it [22:04:56]req_shift_opened [22:04:56]FM_GetShiftState [22:04:56]SAM_PROTO_GetShiftState [22:04:56]wFMCommunicate request_size=4 [22:04:56]MH_SAM_APDU [22:04:56]CAPDU: 80 13 01 00 [22:04:56]Write to MH i2c: E2 08 00 86 06 80 13 01 00 00 00 00 00 09 [22:04:56]Write i2c OK [22:04:56]MH_I2C_Read... [22:04:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:04:56]Read from MH i2c: E2 [22:04:56]MH_I2C_Read... [22:04:56]Read from MH i2c: E2 0E 00 [22:04:56]MH_I2C_Read... [22:04:56]Read from MH i2c: E2 0E 00 86 06 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 CA [22:04:56]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [22:04:56]wFMCommunicate OK [22:04:56]SAM_PROTO_GetShiftState done [22:04:56]FM_GetShiftState done [22:04:56]req_shift_opened done [22:04:56]requested_item shift.open_date is exist - process it [22:04:56]req_shift_open_date [22:04:56]req_shift_open_date done [22:04:56]produce_requested_data done [22:04:56]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37983,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [22:04:56]process_action_free close_receipt [22:04:56]json_value_free [22:04:56]json_value_free done [22:04:56]process_json_proto returns [22:04:56]Send response to host [22:07:45]OFD Sender: No OFD packet to send [22:07:50]OFD Sender: No OFD packet to send [22:07:55]OFD Sender: No OFD packet to send [22:08:00]OFD Sender: No OFD packet to send [22:08:05]OFD Sender: No OFD packet to send [22:08:10]OFD Sender: No OFD packet to send [22:08:15]OFD Sender: No OFD packet to send [22:08:20]OFD Sender: No OFD packet to send [22:08:25]OFD Sender: No OFD packet to send [22:08:30]OFD Sender: No OFD packet to send [22:08:35]OFD Sender: No OFD packet to send [22:08:40]OFD Sender: No OFD packet to send [22:08:45]OFD Sender: No OFD packet to send [22:08:50]OFD Sender: No OFD packet to send [22:08:55]OFD Sender: No OFD packet to send [22:09:00]OFD Sender: No OFD packet to send [22:09:05]OFD Sender: No OFD packet to send [22:09:10]OFD Sender: No OFD packet to send [22:09:15]OFD Sender: No OFD packet to send [22:09:20]OFD Sender: No OFD packet to send [22:09:25]OFD Sender: No OFD packet to send [22:09:30]OFD Sender: No OFD packet to send [22:09:35]OFD Sender: No OFD packet to send [22:09:40]OFD Sender: No OFD packet to send [22:09:45]OFD Sender: No OFD packet to send [22:09:50]OFD Sender: No OFD packet to send [22:09:55]OFD Sender: No OFD packet to send [22:09:58]ConnectInit Can't connect to host [22:10:00]OFD Sender: No OFD packet to send [22:10:05]OFD Sender: No OFD packet to send [22:10:10]OFD Sender: No OFD packet to send [22:10:15]OFD Sender: No OFD packet to send [22:10:20]OFD Sender: No OFD packet to send [22:10:25]OFD Sender: No OFD packet to send [22:10:30]OFD Sender: No OFD packet to send [22:10:35]OFD Sender: No OFD packet to send [22:10:40]OFD Sender: No OFD packet to send [22:10:45]OFD Sender: No OFD packet to send [22:10:50]OFD Sender: No OFD packet to send [22:10:55]OFD Sender: No OFD packet to send [22:11:00]OFD Sender: No OFD packet to send [22:11:05]OFD Sender: No OFD packet to send [22:11:10]OFD Sender: No OFD packet to send [22:11:15]OFD Sender: No OFD packet to send [22:11:20]OFD Sender: No OFD packet to send [22:11:25]OFD Sender: No OFD packet to send [22:11:30]OFD Sender: No OFD packet to send [22:11:35]OFD Sender: No OFD packet to send [22:11:40]OFD Sender: No OFD packet to send [22:11:45]OFD Sender: No OFD packet to send [22:11:50]OFD Sender: No OFD packet to send [22:11:55]OFD Sender: No OFD packet to send [22:12:00]OFD Sender: No OFD packet to send [22:12:05]OFD Sender: No OFD packet to send [22:12:10]OFD Sender: No OFD packet to send [22:12:15]OFD Sender: No OFD packet to send [22:12:20]OFD Sender: No OFD packet to send [22:12:25]OFD Sender: No OFD packet to send [22:12:30]OFD Sender: No OFD packet to send [22:12:35]OFD Sender: No OFD packet to send [22:12:40]OFD Sender: No OFD packet to send [22:12:45]OFD Sender: No OFD packet to send [22:12:50]OFD Sender: No OFD packet to send [22:12:55]OFD Sender: No OFD packet to send [22:13:00]OFD Sender: No OFD packet to send [22:13:05]OFD Sender: No OFD packet to send [22:13:10]OFD Sender: No OFD packet to send [22:13:15]OFD Sender: No OFD packet to send [22:13:20]OFD Sender: No OFD packet to send [22:13:25]OFD Sender: No OFD packet to send [22:13:30]OFD Sender: No OFD packet to send [22:13:35]OFD Sender: No OFD packet to send [22:13:40]OFD Sender: No OFD packet to send [22:13:45]OFD Sender: No OFD packet to send [22:13:50]OFD Sender: No OFD packet to send [22:13:55]OFD Sender: No OFD packet to send [22:14:00]OFD Sender: No OFD packet to send [22:14:05]OFD Sender: No OFD packet to send [22:14:10]OFD Sender: No OFD packet to send [22:14:16]OFD Sender: No OFD packet to send [22:14:21]OFD Sender: No OFD packet to send [22:14:26]OFD Sender: No OFD packet to send [22:14:31]OFD Sender: No OFD packet to send [22:14:36]OFD Sender: No OFD packet to send [22:14:41]OFD Sender: No OFD packet to send [22:14:46]OFD Sender: No OFD packet to send [22:14:51]OFD Sender: No OFD packet to send [22:14:56]OFD Sender: No OFD packet to send [22:15:01]OFD Sender: No OFD packet to send [22:15:06]OFD Sender: No OFD packet to send [22:15:11]OFD Sender: No OFD packet to send [22:15:16]OFD Sender: No OFD packet to send [22:15:21]OFD Sender: No OFD packet to send [22:15:26]OFD Sender: No OFD packet to send [22:15:31]OFD Sender: No OFD packet to send [22:15:36]OFD Sender: No OFD packet to send [22:15:41]OFD Sender: No OFD packet to send [22:15:46]OFD Sender: No OFD packet to send [22:15:51]OFD Sender: No OFD packet to send [22:15:56]OFD Sender: No OFD packet to send [22:16:01]OFD Sender: No OFD packet to send [22:16:06]OFD Sender: No OFD packet to send [22:16:11]OFD Sender: No OFD packet to send [22:16:16]OFD Sender: No OFD packet to send [22:16:21]OFD Sender: No OFD packet to send [22:16:26]OFD Sender: No OFD packet to send [22:16:31]OFD Sender: No OFD packet to send [22:16:36]OFD Sender: No OFD packet to send [22:16:41]OFD Sender: No OFD packet to send [22:16:46]OFD Sender: No OFD packet to send [22:16:51]OFD Sender: No OFD packet to send [22:16:56]OFD Sender: No OFD packet to send [22:17:01]OFD Sender: No OFD packet to send [22:17:06]OFD Sender: No OFD packet to send [22:17:11]OFD Sender: No OFD packet to send [22:17:16]OFD Sender: No OFD packet to send [22:17:21]OFD Sender: No OFD packet to send [22:17:26]OFD Sender: No OFD packet to send [22:17:31]OFD Sender: No OFD packet to send [22:17:36]OFD Sender: No OFD packet to send [22:17:41]OFD Sender: No OFD packet to send [22:17:46]OFD Sender: No OFD packet to send [22:17:51]OFD Sender: No OFD packet to send [22:17:56]OFD Sender: No OFD packet to send [22:18:01]OFD Sender: No OFD packet to send [22:18:06]OFD Sender: No OFD packet to send [22:18:11]OFD Sender: No OFD packet to send [22:18:16]OFD Sender: No OFD packet to send [22:18:21]OFD Sender: No OFD packet to send [22:18:26]OFD Sender: No OFD packet to send [22:18:31]OFD Sender: No OFD packet to send [22:18:36]OFD Sender: No OFD packet to send [22:18:41]OFD Sender: No OFD packet to send [22:18:46]OFD Sender: No OFD packet to send [22:18:51]OFD Sender: No OFD packet to send [22:18:56]OFD Sender: No OFD packet to send [22:19:01]OFD Sender: No OFD packet to send [22:19:06]OFD Sender: No OFD packet to send [22:19:11]OFD Sender: No OFD packet to send [22:19:16]OFD Sender: No OFD packet to send [22:19:21]OFD Sender: No OFD packet to send [22:19:26]OFD Sender: No OFD packet to send [22:19:31]OFD Sender: No OFD packet to send [22:19:36]OFD Sender: No OFD packet to send [22:19:41]OFD Sender: No OFD packet to send [22:19:46]OFD Sender: No OFD packet to send [22:19:51]OFD Sender: No OFD packet to send [22:19:56]OFD Sender: No OFD packet to send [22:20:01]OFD Sender: No OFD packet to send [22:20:06]OFD Sender: No OFD packet to send [22:20:11]OFD Sender: No OFD packet to send [22:20:16]OFD Sender: No OFD packet to send [22:20:21]OFD Sender: No OFD packet to send [22:20:26]OFD Sender: No OFD packet to send [22:20:31]OFD Sender: No OFD packet to send [22:20:36]OFD Sender: No OFD packet to send [22:20: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:40]accept exits with 10 [22:24:40]New connection [22:24:40]New thread 3067432292 created [22:24:40]Thread 3067288932 joined [22:24:40]Waiting for new connection... [22:24:40] Sock 10.Parse request [22:24:40]Sock 10.Check first char [22:24:40]Sock 10.First char is OK [22:24:40]request: POST /json_proto HTTP/1.0 [22:24:40]Method: POST [22:24:40]URL: /json_proto [22:24:40]Method is POST - this is cgi request [22:24:40]url: /json_proto [22:24:40]query_string will be loaded in cgi processing [22:24:40]execute_cgi json_proto POST (null) [22:24:40]execute_cgi path=json_proto method=POST [22:24:40]POST find Content-Length [22:24:40]Host: 172.17.40.196:8080 [22:24:40]Content-Length: 657 [22:24:40]Content-Type: application/json [22:24:40] [22:24:40]POST finish read [22:24:40]Found Content-Length = 657 [22:24:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35283", "tax_sys" : 0, "items" : [ { "code": "2500216880017", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:24:40]execute_script... [22:24: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)35283", "tax_sys" : 0, "items" : [ { "code": "2500216880017", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:24:40]POST & json_proto [22:24:40]process_json_proto [22:24:40]json parsed OK: [22:24:40]protocol is kg_v1.0 [22:24:40]action value=close_receipt [22:24:40]process_action close_receipt [22:24:40]cmd_close_receipt [22:24:40]MH_GetDate [22:24:40]Write to MH i2c: F0 00 00 87 06 7C [22:24:40]Write i2c OK [22:24:40]MH_I2C_Read... [22:24:40]Read from MH i2c: F0 [22:24:40]MH_I2C_Read... [22:24:40]Read from MH i2c: F0 09 00 [22:24:40]MH_I2C_Read... [22:24:40]Read from MH i2c: F0 09 00 87 06 00 29 B2 22 67 5B 68 A1 66 B3 [22:24:40]GetLastDocTimeStamp 1730325893 [22:24:40]current date 1730327081 [22:24:40]FM_GetShiftState [22:24:40]SAM_PROTO_GetShiftState [22:24:40]wFMCommunicate request_size=4 [22:24:40]MH_SAM_APDU [22:24:40]CAPDU: 80 13 01 00 [22:24:40]Write to MH i2c: E2 08 00 88 06 80 13 01 00 00 00 00 00 0B [22:24:40]Write i2c OK [22:24:40]MH_I2C_Read... [22:24:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:24:40]Read from MH i2c: E2 [22:24:40]MH_I2C_Read... [22:24:40]Read from MH i2c: E2 0E 00 [22:24:40]MH_I2C_Read... [22:24:40]Read from MH i2c: E2 0E 00 88 06 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 CC [22:24:40]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [22:24:40]wFMCommunicate OK [22:24:40]SAM_PROTO_GetShiftState done [22:24:40]FM_GetShiftState done [22:24:40]opened in 1730246837 [22:24:40]opened+sec_in_day 1730333237 [22:24:40]quantity*price = 9000 [22:24:40]sum+1 = 9001 [22:24:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 66 30.10.2024 22:24 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37984 ФПД: 91414213602378 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T222441&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37984&fm=91414213602378&tin=02508201610067®Number=0000000000091684&sum=9000 0 [22:24:41]StoreToDocumentArchive [22:24:41]shift 553 fd 37984 [22:24:41]save to /storage/0553/doc_00037984 [22:24:41]save last doc name /storage/0553/doc_00037984 to /storage/kkm_last_doc_name [22:24:41]save OK [22:24:41]Clear old archive folders... [22:24:41]ProcessDocumentItem done err = 0, tmpTLVsize=281 [22:24:41]tlvbuf is 00560850 [22:24:41]SAM_PROTO_ClearQueue [22:24:41]wFMCommunicate request_size=4 [22:24:41]MH_SAM_APDU [22:24:41]CAPDU: 80 09 00 00 [22:24:41]Write to MH i2c: E2 08 00 95 06 80 09 00 00 00 00 00 00 0D [22:24:41]Write i2c OK [22:24:41]MH_I2C_Read... [22:24:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:24:41]Read from MH i2c: E2 [22:24:41]MH_I2C_Read... [22:24:41]Read from MH i2c: E2 03 00 [22:24:41]MH_I2C_Read... [22:24:41]Read from MH i2c: E2 03 00 95 06 00 90 00 0F [22:24:41]RAPDU: 90 00 [22:24:41]wFMCommunicate OK [22:24:41]SAM_PROTO_ClearQueue done [22:24:41]KKMCreateOFDPacket [22:24:41]OFDProtocolAddRootSTLVToBuf [22:24:41]FM_MakeSignedData [22:24:41]FM_MakeSignedData [22:24:41]SAM_PROTO_SignData [22:24:41]wFMCommunicate request_size=4 [22:24:41]MH_SAM_APDU [22:24:41]CAPDU: 80 0D 01 02 [22:24:41]Write to MH i2c: E2 08 00 96 06 80 0D 01 02 00 00 00 00 15 [22:24:41]Write i2c OK [22:24:41]MH_I2C_Read... [22:24:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:24:41]Read from MH i2c: E2 [22:24:41]MH_I2C_Read... [22:24:41]Read from MH i2c: E2 03 00 [22:24:41]MH_I2C_Read... [22:24:41]Read from MH i2c: E2 03 00 96 06 00 90 00 10 [22:24:41]RAPDU: 90 00 [22:24:41]wFMCommunicate OK [22:24:41]wFMCommunicate request_size=255 [22:24:41]MH_SAM_APDU [22:24:41]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 32 35 30 30 32 31 36 38 38 30 30 31 37 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 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 29 B2 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 [22:24:41]Write to MH i2c: E2 02 01 97 06 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 32 35 30 30 32 31 36 38 38 30 30 31 37 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 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 29 B2 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 00 56 [22:24:41]Write i2c OK [22:24:41]MH_I2C_Read... [22:24:41]OFD Sender: No OFD packet to send [22:24:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:24:41]Read from MH i2c: E2 [22:24:41]MH_I2C_Read... [22:24:41]Read from MH i2c: E2 03 00 [22:24:41]MH_I2C_Read... [22:24:41]Read from MH i2c: E2 03 00 97 06 00 90 00 11 [22:24:41]RAPDU: 90 00 [22:24:41]wFMCommunicate OK [22:24:41]wFMCommunicate request_size=40 [22:24:41]MH_SAM_APDU [22:24:41]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 60 94 00 00 35 04 06 00 53 24 07 BA AC 4A [22:24:41]Write to MH i2c: E2 2B 00 98 06 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 60 94 00 00 35 04 06 00 53 24 07 BA AC 4A 00 00 F4 [22:24:41]Write i2c OK [22:24:41]MH_I2C_Read... [22:24:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:24:41]Read from MH i2c: E2 [22:24:41]MH_I2C_Read... [22:24:41]Read from MH i2c: E2 03 00 [22:24:41]MH_I2C_Read... [22:24:41]Read from MH i2c: E2 03 00 98 06 00 90 00 12 [22:24:41]RAPDU: 90 00 [22:24:41]wFMCommunicate OK [22:24:41]wFMCommunicate request_size=4 [22:24:41]MH_SAM_APDU [22:24:41]CAPDU: 80 0D 03 02 [22:24:41]Write to MH i2c: E2 08 00 99 06 80 0D 03 02 00 00 00 00 1A [22:24:41]Write i2c OK [22:24:41]MH_I2C_Read... [22:24:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:24:41]Read from MH i2c: E2 [22:24:41]MH_I2C_Read... [22:24:41]Read from MH i2c: E2 0B 00 [22:24:41]MH_I2C_Read... [22:24:41]Read from MH i2c: E2 0B 00 99 06 00 38 0D 1D 7E 0C AB 1A F9 90 00 C5 [22:24:41]RAPDU: 38 0D 1D 7E 0C AB 1A F9 90 00 [22:24:41]wFMCommunicate OK [22:24:41]SAM_PROTO_SignData done [22:24:41]FM_MakeSignedData done [22:24:41]CreateOFDProtocolMessage [22:24:41]wFMCommunicate request_size=4 [22:24:41]MH_SAM_APDU [22:24:41]CAPDU: 80 11 00 00 [22:24:41]Write to MH i2c: E2 08 00 9A 06 80 11 00 00 00 00 00 00 1A [22:24:41]Write i2c OK [22:24:41]MH_I2C_Read... [22:24:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:24:41]Read from MH i2c: E2 [22:24:41]MH_I2C_Read... [22:24:41]Read from MH i2c: E2 17 00 [22:24:41]MH_I2C_Read... [22:24:41]Read from MH i2c: E2 17 00 9A 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 6A [22:24:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:24:41]wFMCommunicate OK [22:24:41]CreateOFDProtocolMessage done [22:24:41]OFDSenderStorePacket 37984 [22:24:41]StoreOFDPacket docnum=37984 [22:24:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2D 01 00 00 7B EE 25 01 A6 1F 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 32 35 30 30 32 31 36 38 38 30 30 31 37 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 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 29 B2 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 60 94 00 00 35 04 06 00 53 24 07 BA AC 4A 38 0D 1D 7E 0C AB 1A F9 [22:24:41]CheckFolder [22:24:41]dirname=/storage/ofd_packets [22:24:41]CheckFolder done [22:24:41]ProducePacketName [22:24:41]name=ofd_packets/00037984 [22:24:41]NVStorageSaveData ofd_packets/00037984 [22:24:41]File name is /storage/ofd_packets/00037984 [22:24:41]Write 331 bytes [22:24:41]NVStorageSaveData done [22:24:41]OFDSenderStorePacket done [22:24:41]KKMCreateOFDPacket done [22:24:41]NVStorageSaveData kkm_last_timestamp [22:24:41]File name is /storage/kkm_last_timestamp [22:24:41]Write 4 bytes [22:24:41]NVStorageSaveData done [22:24:41]ExternCall_PrintAddStr [22:24:41]wPrintStart [22:24:41]Write to MH i2c: 01 00 00 9B 06 A1 [22:24:41]Write i2c OK [22:24:41]MH_I2C_Read... [22:24:41]Read from MH i2c: 01 [22:24:41]MH_I2C_Read... [22:24:41]Read from MH i2c: 01 07 00 [22:24:41]MH_I2C_Read... [22:24:41]Read from MH i2c: 01 07 00 9B 06 00 00 00 00 00 FF 0F B6 [22:24:41]RasterBufferAndPrint [22:24:41]line Счет N : (3)35283 [22:24:41]line ИНН: 02508201610067 [22:24:41]line Контрольно-Кассовый Чек [22:24:41]line ПРОДАЖА [22:24:41]line Товар: 2500216880017 [22:24:41]line Напиток Кока-Кола 0,25л [22:24:41]line 1.000 * 90.00 [22:24:41]line = 90.00 [22:24:41]line НДС 12% НСП 1% [22:24:41]line > о реализуемом товаре [22:24:41]line ИТОГО: 90.00 [22:24:41]line НСП 1% : 0.80 [22:24:41]line НДС 12% : 9.56 [22:24:41]line Наличными: 90.00 [22:24:41]line Безнал.: 0.00 [22:24:41]line Место: АЗС № 126 "Партнер Нефть" [22:24:41]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [22:24:41]line СНО: Общий режим [22:24:41]line Чек 66 30.10.2024 22:24 [22:24:41]line Смена: 553 ФФД: 1.0 [22:24:41]line ЗНМ: 0300000092 [22:24:41]line РНМ: 0000000000091684 [22:24:41]line Версия ККМ: 001 [22:24:41]line ФМ: 0000000000871841 [22:24:41]line ФД: 37984 [22:24:41]line ФПД: 91414213602378 [22:24:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T222441&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37984&fm=91414213602378&tin=02508201610067®Number=0000000000091684&sum=9000 [22:24:41]line 0 [22:24:41]written 0, free lines is 4095 [22:24:41]OFD Sender: Processing packet 37984 [packets to send 42, broken 41] [22:24:41]ProducePacketName [22:24:41]name=ofd_packets/00037984 [22:24:41]OFD Sender: To server: pG, [22:24:41]CommunicateWithHost lk.salyk.kg:30040 [22:24:41]ConnectInit lk.salyk.kg [22:24:42]Write to MH i2c: 01 00 00 C3 06 C9 [22:24:42]Write i2c OK [22:24:42]MH_I2C_Read... [22:24:42]Read from MH i2c: 01 [22:24:42]MH_I2C_Read... [22:24:42]Read from MH i2c: 01 07 00 [22:24:42]MH_I2C_Read... [22:24:42]Read from MH i2c: 01 07 00 C3 06 00 00 00 00 00 D1 0C AD [22:24:42]RasterBufferAndPrint [22:24:42]line [22:24:42]line [22:24:42]line [22:24:42]line [22:24:42]line [22:24:42]written 0, free lines is 3288 [22:24:42]MH_Cut [22:24:42]Write to MH i2c: D1 01 00 CA 06 01 A2 [22:24:42]Write i2c OK [22:24:42]MH_I2C_Read... [22:24:42]Read from MH i2c: D1 [22:24:42]MH_I2C_Read... [22:24:42]Read from MH i2c: D1 01 00 [22:24:42]MH_I2C_Read... [22:24:42]Read from MH i2c: D1 01 00 CA 06 00 A1 [22:24:42]Write to MH i2c: 01 00 00 CB 06 D1 [22:24:42]Write i2c OK [22:24:42]MH_I2C_Read... [22:24:42]Connected sock=9 [22:24:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2D 01 00 00 7B EE 25 01 A6 1F 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 32 35 30 30 32 31 36 38 38 30 30 31 37 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 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 29 B2 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 60 94 00 00 35 04 06 00 53 24 07 BA AC 4A 38 0D 1D 7E 0C AB 1A F9 [22:24:43]*** Cut start [22:24:43]*** Partial cut [22:24:43]*** CUTSNS_PIN = 1 [22:24:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 14 FF 47 00 28 01 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 60 94 00 00 F4 03 04 00 17 5D 22 67 B6 04 01 00 00 50 C6 23 B3 62 16 7F 2A [22:24:43]CommunicateWithHost err = 0 [22:24:43]CheckOFDResponse [22:24:43]1017 (14) - 77093643461234 [22:24:43]1041 (16) - 0000000000871841 [22:24:43]1040 (4) - 37984 [22:24:43]1012 (4) - 30.10.2024 16:21 [22:24:43]1206 (1) - 0 [22:24:43]OFD Sender: Remove packet 37984 [22:24:43]ProducePacketName [22:24:43]name=ofd_packets/00037984 [22:24:43]NVStorageDeleteData [22:24:43]*** CUTSNS_PIN = 0 [22:24:43]*** Brake cut motor [22:24:43]OFD Sender: No OFD packet to send [22:24:43]Read from MH i2c: 01 [22:24:43]MH_I2C_Read... [22:24:43]*** Stop cut motor [22:24:43]*** Cut end [22:24:43]Read from MH i2c: 01 07 00 [22:24:43]MH_I2C_Read... [22:24:43]Read from MH i2c: 01 07 00 CB 06 00 00 00 00 00 FF 0F E6 [22:24:43]process_action close_receipt done [22:24:43]requested_data is exist [22:24:43]produce_requested_data [22:24:43]requested_item fm.sn is exist - process it [22:24:43]wFMCommunicate request_size=4 [22:24:43]MH_SAM_APDU [22:24:43]CAPDU: 80 11 00 00 [22:24:43]Write to MH i2c: E2 08 00 CC 06 80 11 00 00 00 00 00 00 4C [22:24:43]Write i2c OK [22:24:43]MH_I2C_Read... [22:24:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:24:43]Read from MH i2c: E2 [22:24:43]MH_I2C_Read... [22:24:43]Read from MH i2c: E2 17 00 [22:24:43]MH_I2C_Read... [22:24:43]Read from MH i2c: E2 17 00 CC 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 9C [22:24:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:24:43]wFMCommunicate OK [22:24:43]requested_item fd.num is exist - process it [22:24:43]SAM_PROTO_GetFieldsCounters [22:24:43]wFMCommunicate request_size=4 [22:24:43]MH_SAM_APDU [22:24:43]CAPDU: 80 13 00 00 [22:24:43]Write to MH i2c: E2 08 00 CD 06 80 13 00 00 00 00 00 00 4F [22:24:43]Write i2c OK [22:24:43]MH_I2C_Read... [22:24:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:24:43]Read from MH i2c: E2 [22:24:43]MH_I2C_Read... [22:24:43]Read from MH i2c: E2 62 00 [22:24:43]MH_I2C_Read... [22:24:43]Read from MH i2c: E2 62 00 CD 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 60 94 00 00 0E 04 04 00 29 02 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 55 [22:24:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 60 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:24:43]wFMCommunicate OK [22:24:43]SAM_PROTO_GetFieldsCounters done [22:24:43]requested_item shift.num is exist - process it [22:24:43]requested_item shift.opened is exist - process it [22:24:43]req_shift_opened [22:24:43]FM_GetShiftState [22:24:43]SAM_PROTO_GetShiftState [22:24:43]wFMCommunicate request_size=4 [22:24:43]MH_SAM_APDU [22:24:43]CAPDU: 80 13 01 00 [22:24:43]Write to MH i2c: E2 08 00 CE 06 80 13 01 00 00 00 00 00 51 [22:24:43]Write i2c OK [22:24:43]MH_I2C_Read... [22:24:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:24:43]Read from MH i2c: E2 [22:24:43]MH_I2C_Read... [22:24:43]Read from MH i2c: E2 0E 00 [22:24:43]MH_I2C_Read... [22:24:43]Read from MH i2c: E2 0E 00 CE 06 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 12 [22:24:43]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [22:24:43]wFMCommunicate OK [22:24:43]SAM_PROTO_GetShiftState done [22:24:43]FM_GetShiftState done [22:24:43]req_shift_opened done [22:24:43]requested_item shift.open_date is exist - process it [22:24:43]req_shift_open_date [22:24:43]req_shift_open_date done [22:24:43]produce_requested_data done [22:24:43]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37984,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [22:24:43]process_action_free close_receipt [22:24:43]json_value_free [22:24:43]json_value_free done [22:24:43]process_json_proto returns [22:24:43]Send response to host [22:24:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37984,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [22:24:43]free response buf [22:24:43]execute_script done [22:24:43]execute_script returns [22:24:43]free content buf [22:24:43]Sock 10.Close socket [22:24:43]Sock 10.Thread stoped [22:24:48]OFD Sender: No OFD packet to send [22:24:53]OFD Sender: No OFD packet to send [22:24:58]OFD Sender: No OFD packet to send [22:25:03]OFD Sender: No OFD packet to send [22:25:08]OFD Sender: No OFD packet to send [22:25:13]OFD Sender: No OFD packet to send [22:25:18]OFD Sender: No OFD packet to send [22:25:23]OFD Sender: No OFD packet to send [22:25:28]OFD Sender: No OFD packet to send [22:25:33]OFD Sender: No OFD packet to send [22:25:38]OFD Sender: No OFD packet to send [22:25:43]OFD Sender: No OFD packet to send [22:25:48]OFD Sender: No OFD packet to send [22:25:53]OFD Sender: No OFD packet to send [22:25:54]accept exits with 8 [22:25:54]New connection [22:25:54]New thread 3067288932 created [22:25:54]Thread 3067432292 joined [22:25:54]Waiting for new connection... [22:25:54] Sock 8.Parse request [22:25:54]Sock 8.Check first char [22:25:54]Sock 8.First char is OK [22:25:54]request: POST /json_proto HTTP/1.0 [22:25:54]Method: POST [22:25:54]URL: /json_proto [22:25:54]Method is POST - this is cgi request [22:25:54]url: /json_proto [22:25:54]query_string will be loaded in cgi processing [22:25:54]execute_cgi json_proto POST (null) [22:25:54]execute_cgi path=json_proto method=POST [22:25:54]POST find Content-Length [22:25:54]Host: 172.17.40.196:8080 [22:25:54]Content-Length: 882 [22:25:54]Content-Type: application/json [22:25:54] [22:25:54]POST finish read [22:25:54]Found Content-Length = 882 [22:25:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35284", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 219.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:25:54]execute_script... [22:25:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35284", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 219.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:25:54]POST & json_proto [22:25:54]process_json_proto [22:25:54]json parsed OK: [22:25:54]protocol is kg_v1.0 [22:25:54]action value=close_receipt [22:25:54]process_action close_receipt [22:25:54]cmd_close_receipt [22:25:54]MH_GetDate [22:25:54]Write to MH i2c: F0 00 00 CF 06 C4 [22:25:54]Write i2c OK [22:25:54]MH_I2C_Read... [22:25:54]Read from MH i2c: F0 [22:25:54]MH_I2C_Read... [22:25:54]Read from MH i2c: F0 09 00 [22:25:54]MH_I2C_Read... [22:25:54]Read from MH i2c: F0 09 00 CF 06 00 73 B2 22 67 5B 68 A1 66 45 [22:25:54]GetLastDocTimeStamp 1730327081 [22:25:54]current date 1730327155 [22:25:54]FM_GetShiftState [22:25:54]SAM_PROTO_GetShiftState [22:25:54]wFMCommunicate request_size=4 [22:25:54]MH_SAM_APDU [22:25:54]CAPDU: 80 13 01 00 [22:25:54]Write to MH i2c: E2 08 00 D0 06 80 13 01 00 00 00 00 00 53 [22:25:54]Write i2c OK [22:25:54]MH_I2C_Read... [22:25:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:25:54]Read from MH i2c: E2 [22:25:54]MH_I2C_Read... [22:25:54]Read from MH i2c: E2 0E 00 [22:25:54]MH_I2C_Read... [22:25:54]Read from MH i2c: E2 0E 00 D0 06 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 14 [22:25:54]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [22:25:54]wFMCommunicate OK [22:25:54]SAM_PROTO_GetShiftState done [22:25:54]FM_GetShiftState done [22:25:54]opened in 1730246837 [22:25:54]opened+sec_in_day 1730333237 [22:25:54]quantity*price = 16000 [22:25:54]sum+1 = 16001 [22:25:54]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 219.00 НСП 1% : 1.94 НДС 12% : 23.25 Наличными: 219.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 67 30.10.2024 22:25 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37985 ФПД: 199943892526193 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T222555&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37985&fm=199943892526193&tin=02508201610067®Number=0000000000091684&sum=21900 0 [22:25:55]StoreToDocumentArchive [22:25:55]shift 553 fd 37985 [22:25:55]save to /storage/0553/doc_00037985 [22:25:55]save last doc name /storage/0553/doc_00037985 to /storage/kkm_last_doc_name [22:25:55]save OK [22:25:55]Clear old archive folders... [22:25:55]ProcessDocumentItem done err = 0, tmpTLVsize=387 [22:25:55]tlvbuf is 00560190 [22:25:55]SAM_PROTO_ClearQueue [22:25:55]wFMCommunicate request_size=4 [22:25:55]MH_SAM_APDU [22:25:55]CAPDU: 80 09 00 00 [22:25:55]Write to MH i2c: E2 08 00 DD 06 80 09 00 00 00 00 00 00 55 [22:25:55]Write i2c OK [22:25:55]MH_I2C_Read... [22:25:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:25:55]Read from MH i2c: E2 [22:25:55]MH_I2C_Read... [22:25:55]Read from MH i2c: E2 03 00 [22:25:55]MH_I2C_Read... [22:25:55]Read from MH i2c: E2 03 00 DD 06 00 90 00 57 [22:25:55]RAPDU: 90 00 [22:25:55]wFMCommunicate OK [22:25:55]SAM_PROTO_ClearQueue done [22:25:55]KKMCreateOFDPacket [22:25:55]OFDProtocolAddRootSTLVToBuf [22:25:55]FM_MakeSignedData [22:25:55]FM_MakeSignedData [22:25:55]SAM_PROTO_SignData [22:25:55]wFMCommunicate request_size=4 [22:25:55]MH_SAM_APDU [22:25:55]CAPDU: 80 0D 01 02 [22:25:55]Write to MH i2c: E2 08 00 DE 06 80 0D 01 02 00 00 00 00 5D [22:25:55]Write i2c OK [22:25:55]MH_I2C_Read... [22:25:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:25:55]Read from MH i2c: E2 [22:25:55]MH_I2C_Read... [22:25:55]Read from MH i2c: E2 03 00 [22:25:55]MH_I2C_Read... [22:25:55]Read from MH i2c: E2 03 00 DE 06 00 90 00 58 [22:25:55]RAPDU: 90 00 [22:25:55]wFMCommunicate OK [22:25:55]wFMCommunicate request_size=255 [22:25:55]MH_SAM_APDU [22:25:55]CAPDU: 80 0D 02 02 FA 03 00 83 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 [22:25:55]Write to MH i2c: E2 02 01 DF 06 80 0D 02 02 FA 00 03 00 83 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 00 00 F1 [22:25:55]Write i2c OK [22:25:55]MH_I2C_Read... [22:25:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:25:55]Read from MH i2c: E2 [22:25:55]MH_I2C_Read... [22:25:55]Read from MH i2c: E2 03 00 [22:25:55]MH_I2C_Read... [22:25:55]Read from MH i2c: E2 03 00 DF 06 00 90 00 59 [22:25:55]RAPDU: 90 00 [22:25:55]wFMCommunicate OK [22:25:55]wFMCommunicate request_size=146 [22:25:55]MH_SAM_APDU [22:25:55]CAPDU: 80 0D 02 02 8D 03 06 00 C2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 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 43 00 00 00 F4 03 04 00 73 B2 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 61 94 00 00 35 04 06 00 B5 D9 10 B0 64 71 [22:25:55]Write to MH i2c: E2 95 00 E0 06 80 0D 02 02 8D 00 03 06 00 C2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 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 43 00 00 00 F4 03 04 00 73 B2 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 61 94 00 00 35 04 06 00 B5 D9 10 B0 64 71 00 00 A5 [22:25:55]Write i2c OK [22:25:55]MH_I2C_Read... [22:25:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:25:55]Read from MH i2c: E2 [22:25:55]MH_I2C_Read... [22:25:55]Read from MH i2c: E2 03 00 [22:25:55]MH_I2C_Read... [22:25:55]Read from MH i2c: E2 03 00 E0 06 00 90 00 5A [22:25:55]RAPDU: 90 00 [22:25:55]wFMCommunicate OK [22:25:55]wFMCommunicate request_size=4 [22:25:55]MH_SAM_APDU [22:25:55]CAPDU: 80 0D 03 02 [22:25:55]Write to MH i2c: E2 08 00 E1 06 80 0D 03 02 00 00 00 00 62 [22:25:55]Write i2c OK [22:25:55]MH_I2C_Read... [22:25:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:25:55]Read from MH i2c: E2 [22:25:55]MH_I2C_Read... [22:25:55]Read from MH i2c: E2 0B 00 [22:25:55]MH_I2C_Read... [22:25:55]Read from MH i2c: E2 0B 00 E1 06 00 EB 22 07 6B 9B 7E B9 78 90 00 2C [22:25:55]RAPDU: EB 22 07 6B 9B 7E B9 78 90 00 [22:25:55]wFMCommunicate OK [22:25:55]SAM_PROTO_SignData done [22:25:55]FM_MakeSignedData done [22:25:55]CreateOFDProtocolMessage [22:25:55]wFMCommunicate request_size=4 [22:25:55]MH_SAM_APDU [22:25:55]CAPDU: 80 11 00 00 [22:25:55]Write to MH i2c: E2 08 00 E2 06 80 11 00 00 00 00 00 00 62 [22:25:55]Write i2c OK [22:25:55]MH_I2C_Read... [22:25:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:25:56]Read from MH i2c: E2 [22:25:56]MH_I2C_Read... [22:25:56]Read from MH i2c: E2 17 00 [22:25:56]MH_I2C_Read... [22:25:56]Read from MH i2c: E2 17 00 E2 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B2 [22:25:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:25:56]wFMCommunicate OK [22:25:56]CreateOFDProtocolMessage done [22:25:56]OFDSenderStorePacket 37985 [22:25:56]StoreOFDPacket docnum=37985 [22:25:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 97 01 00 00 41 B3 8F 01 27 AC 5A 03 01 00 03 00 83 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 15 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 43 00 00 00 F4 03 04 00 73 B2 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 61 94 00 00 35 04 06 00 B5 D9 10 B0 64 71 EB 22 07 6B 9B 7E B9 78 [22:25:56]CheckFolder [22:25:56]dirname=/storage/ofd_packets [22:25:56]CheckFolder done [22:25:56]ProducePacketName [22:25:56]name=ofd_packets/00037985 [22:25:56]NVStorageSaveData ofd_packets/00037985 [22:25:56]File name is /storage/ofd_packets/00037985 [22:25:56]Write 437 bytes [22:25:56]NVStorageSaveData done [22:25:56]OFDSenderStorePacket done [22:25:56]KKMCreateOFDPacket done [22:25:56]NVStorageSaveData kkm_last_timestamp [22:25:56]File name is /storage/kkm_last_timestamp [22:25:56]Write 4 bytes [22:25:56]NVStorageSaveData done [22:25:56]ExternCall_PrintAddStr [22:25:56]wPrintStart [22:25:56]Write to MH i2c: 01 00 00 E3 06 E9 [22:25:56]Write i2c OK [22:25:56]MH_I2C_Read... [22:25:56]Read from MH i2c: 01 [22:25:56]MH_I2C_Read... [22:25:56]Read from MH i2c: 01 07 00 [22:25:56]MH_I2C_Read... [22:25:56]Read from MH i2c: 01 07 00 E3 06 00 00 00 00 00 FF 0F FE [22:25:56]RasterBufferAndPrint [22:25:56]line Счет N : (3)35284 [22:25:56]line ИНН: 02508201610067 [22:25:56]line Контрольно-Кассовый Чек [22:25:56]line ПРОДАЖА [22:25:56]line Товар: 48742245 [22:25:56]line Сигареты Parliament Silver Blue [22:25:56]line 1.000 * 160.00 [22:25:56]line = 160.00 [22:25:56]line НДС 12% НСП 1% [22:25:56]line > о реализуемом товаре [22:25:56]line Товар: 4607065001445 [22:25:56]line Шок батончик Snickers 50,5г [22:25:56]line 1.000 * 59.00 [22:25:56]line = 59.00 [22:25:56]line НДС 12% НСП 1% [22:25:56]line > о реализуемом товаре [22:25:56]line ИТОГО: 219.00 [22:25:56]line НСП 1% : 1.94 [22:25:56]line НДС 12% : 23.25 [22:25:56]line Наличными: 219.00 [22:25:56]line Безнал.: 0.00 [22:25:56]line Место: АЗС № 126 "Партнер Нефть" [22:25:56]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [22:25:56]line СНО: Общий режим [22:25:56]line Чек 67 30.10.2024 22:25 [22:25:56]line Смена: 553 ФФД: 1.0 [22:25:56]line ЗНМ: 0300000092 [22:25:56]line РНМ: 0000000000091684 [22:25:56]line Версия ККМ: 001 [22:25:56]line ФМ: 0000000000871841 [22:25:56]line ФД: 37985 [22:25:56]line ФПД: 199943892526193 [22:25:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T222555&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37985&fm=199943892526193&tin=02508201610067®Number=0000000000091684&sum=21900 [22:25:56]line 0 [22:25:56]OFD Sender: Processing packet 37985 [packets to send 42, broken 41] [22:25:56]ProducePacketName [22:25:56]name=ofd_packets/00037985 [22:25:56]OFD Sender: To server: pG, [22:25:56]CommunicateWithHost lk.salyk.kg:30040 [22:25:56]ConnectInit lk.salyk.kg [22:25:56]written 0, free lines is 4095 [22:25:56]Write to MH i2c: 01 00 00 12 07 19 [22:25:56]Write i2c OK [22:25:56]MH_I2C_Read... [22:25:56]Read from MH i2c: 01 [22:25:56]MH_I2C_Read... [22:25:56]Read from MH i2c: 01 07 00 [22:25:56]MH_I2C_Read... [22:25:56]Read from MH i2c: 01 07 00 12 07 00 00 00 00 00 4D 0C 79 [22:25:56]RasterBufferAndPrint [22:25:56]line [22:25:56]line [22:25:56]line [22:25:56]line [22:25:56]line [22:25:56]written 0, free lines is 3152 [22:25:56]MH_Cut [22:25:56]Write to MH i2c: D1 01 00 19 07 01 F2 [22:25:56]Write i2c OK [22:25:56]MH_I2C_Read... [22:25:56]Read from MH i2c: D1 [22:25:56]MH_I2C_Read... [22:25:56]Read from MH i2c: D1 01 00 [22:25:56]MH_I2C_Read... [22:25:56]Read from MH i2c: D1 01 00 19 07 00 F1 [22:25:56]Write to MH i2c: 01 00 00 1A 07 21 [22:25:56]Write i2c OK [22:25:56]MH_I2C_Read... [22:25:57]*** Cut start [22:25:57]*** Partial cut [22:25:57]*** CUTSNS_PIN = 1 [22:25:57]*** CUTSNS_PIN = 0 [22:25:58]*** Brake cut motor [22:25:58]Connected sock=11 [22:25:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 97 01 00 00 41 B3 8F 01 27 AC 5A 03 01 00 03 00 83 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 15 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 43 00 00 00 F4 03 04 00 73 B2 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 61 94 00 00 35 04 06 00 B5 D9 10 B0 64 71 EB 22 07 6B 9B 7E B9 78 [22:25:58]Read from MH i2c: 01 [22:25:58]MH_I2C_Read... [22:25:58]*** Stop cut motor [22:25:58]*** Cut end [22:25:58]Read from MH i2c: 01 07 00 [22:25:58]MH_I2C_Read... [22:25:58]Read from MH i2c: 01 07 00 1A 07 00 00 00 00 00 FF 0F 36 [22:25:58]process_action close_receipt done [22:25:58]requested_data is exist [22:25:58]produce_requested_data [22:25:58]requested_item fm.sn is exist - process it [22:25:58]wFMCommunicate request_size=4 [22:25:58]MH_SAM_APDU [22:25:58]CAPDU: 80 11 00 00 [22:25:58]Write to MH i2c: E2 08 00 1B 07 80 11 00 00 00 00 00 00 9C [22:25:58]Write i2c OK [22:25:58]MH_I2C_Read... [22:25:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:25:58]Read from MH i2c: E2 [22:25:58]MH_I2C_Read... [22:25:58]Read from MH i2c: E2 17 00 [22:25:58]MH_I2C_Read... [22:25:58]Read from MH i2c: E2 17 00 1B 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 EC [22:25:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:25:58]wFMCommunicate OK [22:25:58]requested_item fd.num is exist - process it [22:25:58]SAM_PROTO_GetFieldsCounters [22:25:58]wFMCommunicate request_size=4 [22:25:58]MH_SAM_APDU [22:25:58]CAPDU: 80 13 00 00 [22:25:58]Write to MH i2c: E2 08 00 1C 07 80 13 00 00 00 00 00 00 9F [22:25:58]Write i2c OK [22:25:58]MH_I2C_Read... [22:25:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:25:58]Read from MH i2c: E2 [22:25:58]MH_I2C_Read... [22:25:58]Read from MH i2c: E2 62 00 [22:25:58]MH_I2C_Read... [22:25:58]Read from MH i2c: E2 62 00 1C 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 61 94 00 00 0E 04 04 00 29 02 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 A9 [22:25:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 61 94 00 00 0E 04 04 00 29 02 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 [22:25:58]wFMCommunicate OK [22:25:58]SAM_PROTO_GetFieldsCounters done [22:25:58]requested_item shift.num is exist - process it [22:25:58]requested_item shift.opened is exist - process it [22:25:58]req_shift_opened [22:25:58]FM_GetShiftState [22:25:58]SAM_PROTO_GetShiftState [22:25:58]wFMCommunicate request_size=4 [22:25:58]MH_SAM_APDU [22:25:58]CAPDU: 80 13 01 00 [22:25:58]Write to MH i2c: E2 08 00 1D 07 80 13 01 00 00 00 00 00 A1 [22:25:58]Write i2c OK [22:25:58]MH_I2C_Read... [22:25:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:25:58]Read from MH i2c: E2 [22:25:58]MH_I2C_Read... [22:25:58]Read from MH i2c: E2 0E 00 [22:25:58]MH_I2C_Read... [22:25:58]Read from MH i2c: E2 0E 00 1D 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 62 [22:25:58]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [22:25:58]wFMCommunicate OK [22:25:58]SAM_PROTO_GetShiftState done [22:25:58]FM_GetShiftState done [22:25:58]req_shift_opened done [22:25:58]requested_item shift.open_date is exist - process it [22:25:58]req_shift_open_date [22:25:58]req_shift_open_date done [22:25:58]produce_requested_data done [22:25:58]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37985,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [22:25:58]process_action_free close_receipt [22:25:58]json_value_free [22:25:58]json_value_free done [22:25:58]process_json_proto returns [22:25:58]Send response to host [22:25:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37985,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [22:25:58]free response buf [22:25:58]execute_script done [22:25:58]execute_script returns [22:25:58]free content buf [22:25:58]Sock 8.Close socket [22:25:58]Sock 8.Thread stoped [22:25:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 62 9D 47 00 13 C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 61 94 00 00 F4 03 04 00 62 5D 22 67 B6 04 01 00 00 BA E6 C0 08 AC 8C C7 8A [22:25:58]CommunicateWithHost err = 0 [22:25:58]CheckOFDResponse [22:25:58]1017 (14) - 77093643461234 [22:25:58]1041 (16) - 0000000000871841 [22:25:58]1040 (4) - 37985 [22:25:58]1012 (4) - 30.10.2024 16:22 [22:25:58]1206 (1) - 0 [22:25:58]OFD Sender: Remove packet 37985 [22:25:58]ProducePacketName [22:25:58]name=ofd_packets/00037985 [22:25:58]NVStorageDeleteData [22:25:59]OFD Sender: No OFD packet to send [22:26:04]OFD Sender: No OFD packet to send [22:26:09]OFD Sender: No OFD packet to send [22:26:14]OFD Sender: No OFD packet to send [22:26:19]OFD Sender: No OFD packet to send [22:26:24]OFD Sender: No OFD packet to send [22:26:29]OFD Sender: No OFD packet to send [22:26:34]OFD Sender: No OFD packet to send [22:26:39]OFD Sender: No OFD packet to send [22:26:44]OFD Sender: No OFD packet to send [22:26:49]OFD Sender: No OFD packet to send [22:26:54]OFD Sender: No OFD packet to send [22:26:59]OFD Sender: No OFD packet to send [22:27:04]OFD Sender: No OFD packet to send [22:27:09]OFD Sender: No OFD packet to send [22:27:14]OFD Sender: No OFD packet to send [22:27:19]OFD Sender: No OFD packet to send [22:27:24]OFD Sender: No OFD packet to send [22:27:29]OFD Sender: No OFD packet to send [22:27:34]OFD Sender: No OFD packet to send [22:27:39]OFD Sender: No OFD packet to send [22:27:44]OFD Sender: No OFD packet to send [22:27:49]OFD Sender: No OFD packet to send [22:27:54]OFD Sender: No OFD packet to send [22:27:59]OFD Sender: No OFD packet to send [22:28:04]OFD Sender: No OFD packet to send [22:28:09]OFD Sender: No OFD packet to send [22:28:14]OFD Sender: No OFD packet to send [22:28:19]OFD Sender: No OFD packet to send [22:28:24]OFD Sender: No OFD packet to send [22:28:29]OFD Sender: No OFD packet to send [22:28:34]OFD Sender: No OFD packet to send [22:28:39]OFD Sender: No OFD packet to send [22:28:44]OFD Sender: No OFD packet to send [22:28:49]OFD Sender: No OFD packet to send [22:28:54]OFD Sender: No OFD packet to send [22:28:59]OFD Sender: No OFD packet to send [22:29:04]OFD Sender: No OFD packet to send [22:29:09]OFD Sender: No OFD packet to send [22:29:14]OFD Sender: No OFD packet to send [22:29:19]OFD Sender: No OFD packet to send [22:29:24]OFD Sender: No OFD packet to send [22:29:29]OFD Sender: No OFD packet to send [22:29:34]OFD Sender: No OFD packet to send [22:29:39]OFD Sender: No OFD packet to send [22:29:44]OFD Sender: No OFD packet to send [22:29:49]OFD Sender: No OFD packet to send [22:29:54]OFD Sender: No OFD packet to send [22:29:59]OFD Sender: No OFD packet to send [22:30:04]OFD Sender: No OFD packet to send [22:30:09]OFD Sender: No OFD packet to send [22:30:14]OFD Sender: No OFD packet to send [22:30:19]OFD Sender: No OFD packet to send [22:30:24]OFD Sender: No OFD packet to send [22:30:29]OFD Sender: No OFD packet to send [22:30:34]OFD Sender: No OFD packet to send [22:30:39]OFD Sender: No OFD packet to send [22:30:44]OFD Sender: No OFD packet to send [22:30:49]OFD Sender: No OFD packet to send [22:30:54]OFD Sender: No OFD packet to send [22:30:59]OFD Sender: No OFD packet to send [22:31:04]OFD Sender: No OFD packet to send [22:31:09]OFD Sender: No OFD packet to send [22:31:14]OFD Sender: No OFD packet to send [22:31:19]OFD Sender: No OFD packet to send [22:31:24]OFD Sender: No OFD packet to send [22:31:29]OFD Sender: No OFD packet to send [22:31:34]OFD Sender: No OFD packet to send [22:31:39]OFD Sender: No OFD packet to send [22:31:44]OFD Sender: No OFD packet to send [22:31:49]OFD Sender: No OFD packet to send [22:31:54]OFD Sender: No OFD packet to send [22:31:59]OFD Sender: No OFD packet to send [22:32:04]OFD Sender: No OFD packet to send [22:32:09]OFD Sender: No OFD packet to send [22:32:14]OFD Sender: No OFD packet to send [22:32:19]OFD Sender: No OFD packet to send [22:32:24]OFD Sender: No OFD packet to send [22:32:29]OFD Sender: No OFD packet to send [22:32:34]OFD Sender: No OFD packet to send [22:32:39]OFD Sender: No OFD packet to send [22:32:44]OFD Sender: No OFD packet to send [22:32:49]OFD Sender: No OFD packet to send [22:32:54]OFD Sender: No OFD packet to send [22:32:59]OFD Sender: No OFD packet to send [22:33:04]OFD Sender: No OFD packet to send [22:33:09]OFD Sender: No OFD packet to send [22:33:14]OFD Sender: No OFD packet to send [22:33:19]OFD Sender: No OFD packet to send [22:33:24]OFD Sender: No OFD packet to send [22:33:29]OFD Sender: No OFD packet to send [22:33:34]OFD Sender: No OFD packet to send [22:33:39]OFD Sender: No OFD packet to send [22:33:44]OFD Sender: No OFD packet to send [22:33:49]OFD Sender: No OFD packet to send [22:33:54]OFD Sender: No OFD packet to send [22:33:59]OFD Sender: No OFD packet to send [22:34:04]OFD Sender: No OFD packet to send [22:34:09]OFD Sender: No OFD packet to send [22:34:14]OFD Sender: No OFD packet to send [22:34:19]OFD Sender: No OFD packet to send [22:34:24]OFD Sender: No OFD packet to send [22:34:29]OFD Sender: No OFD packet to send [22:34:34]OFD Sender: No OFD packet to send [22:34:39]OFD Sender: No OFD packet to send [22:34:44]OFD Sender: No OFD packet to send [22:34:49]OFD Sender: No OFD packet to send [22:34:54]OFD Sender: No OFD packet to send [22:34:59]OFD Sender: No OFD packet to send [22:35:04]OFD Sender: No OFD packet to send [22:35:09]OFD Sender: No OFD packet to send [22:35:14]OFD Sender: No OFD packet to send [22:35:19]OFD Sender: No OFD packet to send [22:35:24]OFD Sender: No OFD packet to send [22:35:29]OFD Sender: No OFD packet to send [22:35:34]OFD Sender: No OFD packet to send [22:35:39]OFD Sender: No OFD packet to send [22:35:44]OFD Sender: No OFD packet to send [22:35:49]OFD Sender: No OFD packet to send [22:35:54]OFD Sender: No OFD packet to send [22:35:59]OFD Sender: No OFD packet to send [22:36:04]OFD Sender: No OFD packet to send [22:36:09]OFD Sender: No OFD packet to send [22:36:14]OFD Sender: No OFD packet to send [22:36:19]OFD Sender: No OFD packet to send [22:36:24]OFD Sender: No OFD packet to send [22:36:29]OFD Sender: No OFD packet to send [22:36:34]OFD Sender: No OFD packet to send [22:36:39]OFD Sender: No OFD packet to send [22:36:43]accept exits with 9 [22:36:43]New connection [22:36:43]New thread 3067432292 created [22:36:43]Thread 3067288932 joined [22:36:43]Waiting for new connection... [22:36:43] Sock 9.Parse request [22:36:43]Sock 9.Check first char [22:36:43]Sock 9.First char is OK [22:36:43]request: POST /json_proto HTTP/1.0 [22:36:43]Method: POST [22:36:43]URL: /json_proto [22:36:43]Method is POST - this is cgi request [22:36:43]url: /json_proto [22:36:43]query_string will be loaded in cgi processing [22:36:43]execute_cgi json_proto POST (null) [22:36:43]execute_cgi path=json_proto method=POST [22:36:43]POST find Content-Length [22:36:43]Host: 172.17.40.196:8080 [22:36:43]Content-Length: 649 [22:36:43]Content-Type: application/json [22:36:43] [22:36:43]POST finish read [22:36:43]Found Content-Length = 649 [22:36:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35285", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:36:43]execute_script... [22:36: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)35285", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:36:43]POST & json_proto [22:36:43]process_json_proto [22:36:43]json parsed OK: [22:36:43]protocol is kg_v1.0 [22:36:43]action value=close_receipt [22:36:43]process_action close_receipt [22:36:43]cmd_close_receipt [22:36:43]MH_GetDate [22:36:43]Write to MH i2c: F0 00 00 1E 07 14 [22:36:43]Write i2c OK [22:36:43]MH_I2C_Read... [22:36:43]Read from MH i2c: F0 [22:36:43]MH_I2C_Read... [22:36:43]Read from MH i2c: F0 09 00 [22:36:43]MH_I2C_Read... [22:36:43]Read from MH i2c: F0 09 00 1E 07 00 FD B4 22 67 5B 68 A1 66 21 [22:36:43]GetLastDocTimeStamp 1730327155 [22:36:43]current date 1730327805 [22:36:43]FM_GetShiftState [22:36:43]SAM_PROTO_GetShiftState [22:36:43]wFMCommunicate request_size=4 [22:36:43]MH_SAM_APDU [22:36:43]CAPDU: 80 13 01 00 [22:36:43]Write to MH i2c: E2 08 00 1F 07 80 13 01 00 00 00 00 00 A3 [22:36:43]Write i2c OK [22:36:43]MH_I2C_Read... [22:36:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:36:43]Read from MH i2c: E2 [22:36:43]MH_I2C_Read... [22:36:43]Read from MH i2c: E2 0E 00 [22:36:43]MH_I2C_Read... [22:36:43]Read from MH i2c: E2 0E 00 1F 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 64 [22:36:43]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [22:36:43]wFMCommunicate OK [22:36:43]SAM_PROTO_GetShiftState done [22:36:43]FM_GetShiftState done [22:36:43]opened in 1730246837 [22:36:43]opened+sec_in_day 1730333237 [22:36:43]quantity*price = 10500 [22:36:43]sum+1 = 10501 [22:36:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 68 30.10.2024 22:36 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37986 ФПД: 231616878773804 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T223645&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37986&fm=231616878773804&tin=02508201610067®Number=0000000000091684&sum=10500 0 [22:36:45]StoreToDocumentArchive [22:36:45]shift 553 fd 37986 [22:36:45]save to /storage/0553/doc_00037986 [22:36:45]save last doc name /storage/0553/doc_00037986 to /storage/kkm_last_doc_name [22:36:45]save OK [22:36:45]Clear old archive folders... [22:36:45]ProcessDocumentItem done err = 0, tmpTLVsize=282 [22:36:45]tlvbuf is 005686F0 [22:36:45]SAM_PROTO_ClearQueue [22:36:45]wFMCommunicate request_size=4 [22:36:45]MH_SAM_APDU [22:36:45]CAPDU: 80 09 00 00 [22:36:45]Write to MH i2c: E2 08 00 2C 07 80 09 00 00 00 00 00 00 A5 [22:36:45]Write i2c OK [22:36:45]MH_I2C_Read... [22:36:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:36:45]Read from MH i2c: E2 [22:36:45]MH_I2C_Read... [22:36:45]Read from MH i2c: E2 03 00 [22:36:45]MH_I2C_Read... [22:36:45]Read from MH i2c: E2 03 00 2C 07 00 90 00 A7 [22:36:45]RAPDU: 90 00 [22:36:45]wFMCommunicate OK [22:36:45]SAM_PROTO_ClearQueue done [22:36:45]KKMCreateOFDPacket [22:36:45]OFDProtocolAddRootSTLVToBuf [22:36:45]FM_MakeSignedData [22:36:45]FM_MakeSignedData [22:36:45]SAM_PROTO_SignData [22:36:45]wFMCommunicate request_size=4 [22:36:45]MH_SAM_APDU [22:36:45]CAPDU: 80 0D 01 02 [22:36:45]Write to MH i2c: E2 08 00 2D 07 80 0D 01 02 00 00 00 00 AD [22:36:45]Write i2c OK [22:36:45]MH_I2C_Read... [22:36:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:36:45]Read from MH i2c: E2 [22:36:45]MH_I2C_Read... [22:36:45]Read from MH i2c: E2 03 00 [22:36:45]MH_I2C_Read... [22:36:45]Read from MH i2c: E2 03 00 2D 07 00 90 00 A8 [22:36:45]RAPDU: 90 00 [22:36:45]wFMCommunicate OK [22:36:45]wFMCommunicate request_size=255 [22:36:45]MH_SAM_APDU [22:36:45]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 FD B4 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [22:36:45]Write to MH i2c: E2 02 01 2E 07 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 FD B4 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 00 00 21 [22:36:45]Write i2c OK [22:36:45]MH_I2C_Read... [22:36:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:36:45]Read from MH i2c: E2 [22:36:45]MH_I2C_Read... [22:36:45]Read from MH i2c: E2 03 00 [22:36:45]MH_I2C_Read... [22:36:45]Read from MH i2c: E2 03 00 2E 07 00 90 00 A9 [22:36:45]RAPDU: 90 00 [22:36:45]wFMCommunicate OK [22:36:45]wFMCommunicate request_size=41 [22:36:45]MH_SAM_APDU [22:36:45]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 62 94 00 00 35 04 06 00 D2 A7 81 C8 86 2C [22:36:45]Write to MH i2c: E2 2C 00 2F 07 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 62 94 00 00 35 04 06 00 D2 A7 81 C8 86 2C 00 00 E6 [22:36:45]Write i2c OK [22:36:45]MH_I2C_Read... [22:36:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:36:45]Read from MH i2c: E2 [22:36:45]MH_I2C_Read... [22:36:45]Read from MH i2c: E2 03 00 [22:36:45]MH_I2C_Read... [22:36:45]Read from MH i2c: E2 03 00 2F 07 00 90 00 AA [22:36:45]RAPDU: 90 00 [22:36:45]wFMCommunicate OK [22:36:45]wFMCommunicate request_size=4 [22:36:45]MH_SAM_APDU [22:36:45]CAPDU: 80 0D 03 02 [22:36:45]Write to MH i2c: E2 08 00 30 07 80 0D 03 02 00 00 00 00 B2 [22:36:45]Write i2c OK [22:36:45]MH_I2C_Read... [22:36:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:36:45]Read from MH i2c: E2 [22:36:45]MH_I2C_Read... [22:36:45]Read from MH i2c: E2 0B 00 [22:36:45]MH_I2C_Read... [22:36:45]Read from MH i2c: E2 0B 00 30 07 00 9C 96 D9 86 7E D6 CE E6 90 00 4C [22:36:45]RAPDU: 9C 96 D9 86 7E D6 CE E6 90 00 [22:36:45]wFMCommunicate OK [22:36:45]SAM_PROTO_SignData done [22:36:45]FM_MakeSignedData done [22:36:45]CreateOFDProtocolMessage [22:36:45]wFMCommunicate request_size=4 [22:36:45]MH_SAM_APDU [22:36:45]CAPDU: 80 11 00 00 [22:36:45]Write to MH i2c: E2 08 00 31 07 80 11 00 00 00 00 00 00 B2 [22:36:45]Write i2c OK [22:36:45]MH_I2C_Read... [22:36:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:36:45]Read from MH i2c: E2 [22:36:45]MH_I2C_Read... [22:36:45]Read from MH i2c: E2 17 00 [22:36:45]MH_I2C_Read... [22:36:45]Read from MH i2c: E2 17 00 31 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 02 [22:36:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:36:45]wFMCommunicate OK [22:36:45]CreateOFDProtocolMessage done [22:36:45]OFDSenderStorePacket 37986 [22:36:45]StoreOFDPacket docnum=37986 [22:36:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 62 92 26 01 30 7C 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 FD B4 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 62 94 00 00 35 04 06 00 D2 A7 81 C8 86 2C 9C 96 D9 86 7E D6 CE E6 [22:36:45]CheckFolder [22:36:45]dirname=/storage/ofd_packets [22:36:45]CheckFolder done [22:36:45]ProducePacketName [22:36:45]name=ofd_packets/00037986 [22:36:45]NVStorageSaveData ofd_packets/00037986 [22:36:45]File name is /storage/ofd_packets/00037986 [22:36:45]Write 332 bytes [22:36:45]NVStorageSaveData done [22:36:45]OFDSenderStorePacket done [22:36:45]KKMCreateOFDPacket done [22:36:45]NVStorageSaveData kkm_last_timestamp [22:36:45]File name is /storage/kkm_last_timestamp [22:36:45]Write 4 bytes [22:36:45]NVStorageSaveData done [22:36:45]ExternCall_PrintAddStr [22:36:45]wPrintStart [22:36:45]Write to MH i2c: 01 00 00 32 07 39 [22:36:45]Write i2c OK [22:36:45]MH_I2C_Read... [22:36:45]Read from MH i2c: 01 [22:36:45]MH_I2C_Read... [22:36:45]Read from MH i2c: 01 07 00 [22:36:45]MH_I2C_Read... [22:36:45]Read from MH i2c: 01 07 00 32 07 00 00 00 00 00 FF 0F 4E [22:36:45]RasterBufferAndPrint [22:36:45]line Счет N : (3)35285 [22:36:45]line ИНН: 02508201610067 [22:36:45]line Контрольно-Кассовый Чек [22:36:45]line ПРОДАЖА [22:36:45]line Товар: 2000034730018 [22:36:45]line Кофе Американо (GABB TRADE) [22:36:45]line 1.000 * 105.00 [22:36:45]line = 105.00 [22:36:45]line НДС 12% НСП 1% [22:36:45]line > о реализуемом товаре [22:36:45]line ИТОГО: 105.00 [22:36:45]line НСП 1% : 0.93 [22:36:45]line НДС 12% : 11.15 [22:36:45]line Наличными: 105.00 [22:36:45]line Безнал.: 0.00 [22:36:45]line Место: АЗС № 126 "Партнер Нефть" [22:36:45]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [22:36:45]line СНО: Общий режим [22:36:45]line Чек 68 30.10.2024 22:36 [22:36:45]line Смена: 553 ФФД: 1.0 [22:36:45]line ЗНМ: 0300000092 [22:36:45]line РНМ: 0000000000091684 [22:36:45]line Версия ККМ: 001 [22:36:45]line ФМ: 0000000000871841 [22:36:45]line ФД: 37986 [22:36:45]line ФПД: 231616878773804 [22:36:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T223645&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37986&fm=231616878773804&tin=02508201610067®Number=0000000000091684&sum=10500 [22:36:45]OFD Sender: Processing packet 37986 [packets to send 42, broken 41] [22:36:45]ProducePacketName [22:36:45]name=ofd_packets/00037986 [22:36:45]OFD Sender: To server: pG, [22:36:45]CommunicateWithHost lk.salyk.kg:30040 [22:36:45]ConnectInit lk.salyk.kg [22:36:45]line 0 [22:36:45]written 0, free lines is 4095 [22:36:46]Write to MH i2c: 01 00 00 5B 07 62 [22:36:46]Write i2c OK [22:36:46]MH_I2C_Read... [22:36:46]Read from MH i2c: 01 [22:36:46]MH_I2C_Read... [22:36:46]Read from MH i2c: 01 07 00 [22:36:46]MH_I2C_Read... [22:36:46]Read from MH i2c: 01 07 00 5B 07 00 00 00 00 00 B6 0C 2B [22:36:46]RasterBufferAndPrint [22:36:46]line [22:36:46]line [22:36:46]line [22:36:46]line [22:36:46]line [22:36:46]written 0, free lines is 3257 [22:36:46]MH_Cut [22:36:46]Write to MH i2c: D1 01 00 62 07 01 3B [22:36:46]Write i2c OK [22:36:46]MH_I2C_Read... [22:36:46]Read from MH i2c: D1 [22:36:46]MH_I2C_Read... [22:36:46]Read from MH i2c: D1 01 00 [22:36:46]MH_I2C_Read... [22:36:46]Read from MH i2c: D1 01 00 62 07 00 3A [22:36:46]Write to MH i2c: 01 00 00 63 07 6A [22:36:46]Write i2c OK [22:36:46]MH_I2C_Read... [22:36:47]*** Cut start [22:36:47]*** Partial cut [22:36:47]*** CUTSNS_PIN = 1 [22:36:47]*** CUTSNS_PIN = 0 [22:36:47]*** Brake cut motor [22:36:47]Read from MH i2c: 01 [22:36:47]MH_I2C_Read... [22:36:47]*** Stop cut motor [22:36:47]*** Cut end [22:36:47]Read from MH i2c: 01 07 00 [22:36:47]MH_I2C_Read... [22:36:47]Read from MH i2c: 01 07 00 63 07 00 00 00 00 00 FF 0F 7F [22:36:47]process_action close_receipt done [22:36:47]requested_data is exist [22:36:47]produce_requested_data [22:36:47]requested_item fm.sn is exist - process it [22:36:47]wFMCommunicate request_size=4 [22:36:47]MH_SAM_APDU [22:36:47]CAPDU: 80 11 00 00 [22:36:47]Write to MH i2c: E2 08 00 64 07 80 11 00 00 00 00 00 00 E5 [22:36:47]Write i2c OK [22:36:47]MH_I2C_Read... [22:36:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:36:47]Read from MH i2c: E2 [22:36:47]MH_I2C_Read... [22:36:47]Read from MH i2c: E2 17 00 [22:36:47]MH_I2C_Read... [22:36:47]Read from MH i2c: E2 17 00 64 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 35 [22:36:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:36:47]wFMCommunicate OK [22:36:47]requested_item fd.num is exist - process it [22:36:47]SAM_PROTO_GetFieldsCounters [22:36:47]wFMCommunicate request_size=4 [22:36:47]MH_SAM_APDU [22:36:47]CAPDU: 80 13 00 00 [22:36:47]Write to MH i2c: E2 08 00 65 07 80 13 00 00 00 00 00 00 E8 [22:36:47]Write i2c OK [22:36:47]MH_I2C_Read... [22:36:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:36:48]Read from MH i2c: E2 [22:36:48]MH_I2C_Read... [22:36:48]Read from MH i2c: E2 62 00 [22:36:48]MH_I2C_Read... [22:36:48]Read from MH i2c: E2 62 00 65 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 62 94 00 00 0E 04 04 00 29 02 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 F6 [22:36:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 62 94 00 00 0E 04 04 00 29 02 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 [22:36:48]wFMCommunicate OK [22:36:48]SAM_PROTO_GetFieldsCounters done [22:36:48]requested_item shift.num is exist - process it [22:36:48]requested_item shift.opened is exist - process it [22:36:48]req_shift_opened [22:36:48]FM_GetShiftState [22:36:48]SAM_PROTO_GetShiftState [22:36:48]wFMCommunicate request_size=4 [22:36:48]MH_SAM_APDU [22:36:48]CAPDU: 80 13 01 00 [22:36:48]Write to MH i2c: E2 08 00 66 07 80 13 01 00 00 00 00 00 EA [22:36:48]Write i2c OK [22:36:48]MH_I2C_Read... [22:36:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:36:48]Read from MH i2c: E2 [22:36:48]MH_I2C_Read... [22:36:48]Read from MH i2c: E2 0E 00 [22:36:48]MH_I2C_Read... [22:36:48]Read from MH i2c: E2 0E 00 66 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 AB [22:36:48]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [22:36:48]wFMCommunicate OK [22:36:48]SAM_PROTO_GetShiftState done [22:36:48]FM_GetShiftState done [22:36:48]req_shift_opened done [22:36:48]requested_item shift.open_date is exist - process it [22:36:48]req_shift_open_date [22:36:48]req_shift_open_date done [22:36:48]produce_requested_data done [22:36:48]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37986,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [22:36:48]process_action_free close_receipt [22:36:48]json_value_free [22:36:48]json_value_free done [22:36:48]process_json_proto returns [22:36:48]Send response to host [22:36:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37986,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [22:36:48]free response buf [22:36:48]execute_script done [22:36:48]execute_script returns [22:36:48]free content buf [22:36:48]Sock 9.Close socket [22:36:48]Sock 9.Thread stoped [22:36:48]Connected sock=11 [22:36:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 62 92 26 01 30 7C 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 FD B4 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 62 94 00 00 35 04 06 00 D2 A7 81 C8 86 2C 9C 96 D9 86 7E D6 CE E6 [22:36:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 25 83 47 00 B4 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 62 94 00 00 F4 03 04 00 ED 5F 22 67 B6 04 01 00 00 F0 0C 6F AE 74 4D 21 79 [22:36:48]CommunicateWithHost err = 0 [22:36:48]CheckOFDResponse [22:36:48]1017 (14) - 77093643461234 [22:36:48]1041 (16) - 0000000000871841 [22:36:48]1040 (4) - 37986 [22:36:48]1012 (4) - 30.10.2024 16:33 [22:36:48]1206 (1) - 0 [22:36:48]OFD Sender: Remove packet 37986 [22:36:48]ProducePacketName [22:36:48]name=ofd_packets/00037986 [22:36:48]NVStorageDeleteData [22:36:49]OFD Sender: No OFD packet to send [22:36:54]OFD Sender: No OFD packet to send [22:36:59]OFD Sender: No OFD packet to send [22:37:04]OFD Sender: No OFD packet to send [22:37:09]OFD Sender: No OFD packet to send [22:37:14]OFD Sender: No OFD packet to send [22:37:19]OFD Sender: No OFD packet to send [22:37:24]OFD Sender: No OFD packet to send [22:37:29]OFD Sender: No OFD packet to send [22:37:34]OFD Sender: No OFD packet to send [22:37:39]OFD Sender: No OFD packet to send [22:37:44]OFD Sender: No OFD packet to send [22:37:49]OFD Sender: No OFD packet to send [22:37:54]OFD Sender: No OFD packet to send [22:37:59]OFD Sender: No OFD packet to send [22:38:04]OFD Sender: No OFD packet to send [22:38:09]OFD Sender: No OFD packet to send [22:38:14]OFD Sender: No OFD packet to send [22:38:19]OFD Sender: No OFD packet to send [22:38:24]OFD Sender: No OFD packet to send [22:38:29]OFD Sender: No OFD packet to send [22:38:34]OFD Sender: No OFD packet to send [22:38:39]OFD Sender: No OFD packet to send [22:38:44]OFD Sender: No OFD packet to send [22:38:49]OFD Sender: No OFD packet to send [22:38:54]OFD Sender: No OFD packet to send [22:38:59]OFD Sender: No OFD packet to send [22:39:04]OFD Sender: No OFD packet to send [22:39:09]OFD Sender: No OFD packet to send [22:39:14]OFD Sender: No OFD packet to send [22:39:19]OFD Sender: No OFD packet to send [22:39:24]OFD Sender: No OFD packet to send [22:39:29]OFD Sender: No OFD packet to send [22:39:34]OFD Sender: No OFD packet to send [22:39:39]OFD Sender: No OFD packet to send [22:39:44]OFD Sender: No OFD packet to send [22:39:49]OFD Sender: No OFD packet to send [22:39:54]OFD Sender: No OFD packet to send [22:39:59]OFD Sender: No OFD packet to send [22:40:04]OFD Sender: No OFD packet to send [22:40:09]OFD Sender: No OFD packet to send [22:40:14]OFD Sender: No OFD packet to send [22:40:19]OFD Sender: No OFD packet to send [22:40:24]OFD Sender: No OFD packet to send [22:40:29]OFD Sender: No OFD packet to send [22:40:34]OFD Sender: No OFD packet to send [22:40:39]OFD Sender: No OFD packet to send [22:40:44]OFD Sender: No OFD packet to send [22:40:49]OFD Sender: No OFD packet to send [22:40:54]OFD Sender: No OFD packet to send [22:40:59]OFD Sender: No OFD packet to send [22:41:04]OFD Sender: No OFD packet to send [22:41:09]OFD Sender: No OFD packet to send [22:41:14]OFD Sender: No OFD packet to send [22:41:19]OFD Sender: No OFD packet to send [22:41:24]OFD Sender: No OFD packet to send [22:41:29]OFD Sender: No OFD packet to send [22:41:34]OFD Sender: No OFD packet to send [22:41:39]OFD Sender: No OFD packet to send [22:41:44]OFD Sender: No OFD packet to send [22:41:49]OFD Sender: No OFD packet to send [22:41:54]OFD Sender: No OFD packet to send [22:41:59]OFD Sender: No OFD packet to send [22:42:04]OFD Sender: No OFD packet to send [22:42:09]OFD Sender: No OFD packet to send [22:42:14]OFD Sender: No OFD packet to send [22:42:19]OFD Sender: No OFD packet to send [22:42:24]OFD Sender: No OFD packet to send [22:42:29]OFD Sender: No OFD packet to send [22:42:34]OFD Sender: No OFD packet to send [22:42:39]OFD Sender: No OFD packet to send [22:42:44]OFD Sender: No OFD packet to send [22:42:49]OFD Sender: No OFD packet to send [22:42:54]OFD Sender: No OFD packet to send [22:42:59]OFD Sender: No OFD packet to send [22:43:04]OFD Sender: No OFD packet to send [22:43:09]OFD Sender: No OFD packet to send [22:43:14]OFD Sender: No OFD packet to send [22:43:19]OFD Sender: No OFD packet to send [22:43:24]OFD Sender: No OFD packet to send [22:43:29]OFD Sender: No OFD packet to send [22:43:34]OFD Sender: No OFD packet to send [22:43:39]OFD Sender: No OFD packet to send [22:43:44]OFD Sender: No OFD packet to send [22:43:49]OFD Sender: No OFD packet to send [22:43:54]OFD Sender: No OFD packet to send [22:43:59]OFD Sender: No OFD packet to send [22:44:04]OFD Sender: No OFD packet to send [22:44:09]OFD Sender: No OFD packet to send [22:44:14]OFD Sender: No OFD packet to send [22:44:19]OFD Sender: No OFD packet to send [22:44:24]OFD Sender: No OFD packet to send [22:44:29]OFD Sender: No OFD packet to send [22:44:34]OFD Sender: No OFD packet to send [22:44:39]OFD Sender: No OFD packet to send [22:44:44]OFD Sender: No OFD packet to send [22:44:49]OFD Sender: No OFD packet to send [22:44:54]OFD Sender: No OFD packet to send [22:44:59]OFD Sender: No OFD packet to send [22:45:04]OFD Sender: No OFD packet to send [22:45:09]OFD Sender: No OFD packet to send [22:45:14]OFD Sender: No OFD packet to send [22:45:19]OFD Sender: No OFD packet to send [22:45:24]OFD Sender: No OFD packet to send [22:45:29]OFD Sender: No OFD packet to send [22:45:34]OFD Sender: No OFD packet to send [22:45:39]OFD Sender: No OFD packet to send [22:45:44]OFD Sender: No OFD packet to send [22:45:49]OFD Sender: No OFD packet to send [22:45:54]OFD Sender: No OFD packet to send [22:45:59]OFD Sender: No OFD packet to send [22:46:04]OFD Sender: No OFD packet to send [22:46:09]OFD Sender: No OFD packet to send [22:46:14]OFD Sender: No OFD packet to send [22:46:19]OFD Sender: No OFD packet to send [22:46:24]OFD Sender: No OFD packet to send [22:46:29]OFD Sender: No OFD packet to send [22:46:34]OFD Sender: No OFD packet to send [22:46:39]OFD Sender: No OFD packet to send [22:46:44]OFD Sender: No OFD packet to send [22:46:49]OFD Sender: No OFD packet to send [22:46:54]OFD Sender: No OFD packet to send [22:46:59]OFD Sender: No OFD packet to send [22:47:04]OFD Sender: No OFD packet to send [22:47:09]OFD Sender: No OFD packet to send [22:47:14]OFD Sender: No OFD packet to send [22:47:19]OFD Sender: No OFD packet to send [22:47:24]OFD Sender: No OFD packet to send [22:47:29]OFD Sender: No OFD packet to send [22:47:34]OFD Sender: No OFD packet to send [22:47:39]OFD Sender: No OFD packet to send [22:47:44]OFD Sender: No OFD packet to send [22:47:49]OFD Sender: No OFD packet to send [22:47:54]OFD Sender: No OFD packet to send [22:47:59]OFD Sender: No OFD packet to send [22:48:04]OFD Sender: No OFD packet to send [22:48:09]OFD Sender: No OFD packet to send [22:48:14]OFD Sender: No OFD packet to send [22:48:19]OFD Sender: No OFD packet to send [22:48:24]OFD Sender: No OFD packet to send [22:48:29]OFD Sender: No OFD packet to send [22:48:34]OFD Sender: No OFD packet to send [22:48:39]OFD Sender: No OFD packet to send [22:48:44]OFD Sender: No OFD packet to send [22:48:49]OFD Sender: No OFD packet to send [22:48:54]OFD Sender: No OFD packet to send [22:48:59]OFD Sender: No OFD packet to send [22:49:04]OFD Sender: No OFD packet to send [22:49:09]OFD Sender: No OFD packet to send [22:49:14]OFD Sender: No OFD packet to send [22:49:19]OFD Sender: No OFD packet to send [22:49:24]OFD Sender: No OFD packet to send [22:49:29]OFD Sender: No OFD packet to send [22:49:34]OFD Sender: No OFD packet to send [22:49:39]OFD Sender: No OFD packet to send [22:50:55]OFD Sender: No OFD packet to send [22:51:00]OFD Sender: No OFD packet to send [22:51:05]OFD Sender: No OFD packet to send [22:51:10]OFD Sender: No OFD packet to send [22:51:15]OFD Sender: No OFD packet to send [22:51:20]OFD Sender: No OFD packet to send [22:51:25]OFD Sender: No OFD packet to send [22:51:30]OFD Sender: No OFD packet to send [22:51:35]OFD Sender: No OFD packet to send [22:51:40]OFD Sender: No OFD packet to send [22:51:45]OFD Sender: No OFD packet to send [22:51:50]OFD Sender: No OFD packet to send [22:51:55]OFD Sender: No OFD packet to send [22:52:00]OFD Sender: No OFD packet to send [22:52:05]OFD Sender: No OFD packet to send [22:52:10]OFD Sender: No OFD packet to send [22:52:15]OFD Sender: No OFD packet to send [22:52:20]OFD Sender: No OFD packet to send [22:52:25]OFD Sender: No OFD packet to send [22:52:30]OFD Sender: No OFD packet to send [22:52:35]OFD Sender: No OFD packet to send [22:52:40]OFD Sender: No OFD packet to send [22:52:45]OFD Sender: No OFD packet to send [22:52:50]OFD Sender: No OFD packet to send [22:52:55]OFD Sender: No OFD packet to send [22:53:00]OFD Sender: No OFD packet to send [22:53:03]ConnectInit Can't connect to host [22:53:05]OFD Sender: No OFD packet to send [22:53:10]OFD Sender: No OFD packet to send [22:53:15]OFD Sender: No OFD packet to send [22:53:20]OFD Sender: No OFD packet to send [22:53:25]OFD Sender: No OFD packet to send [22:53:30]OFD Sender: No OFD packet to send [22:53:35]OFD Sender: No OFD packet to send [22:53:40]OFD Sender: No OFD packet to send [22:53:45]OFD Sender: No OFD packet to send [22:53:50]OFD Sender: No OFD packet to send [22:53:55]OFD Sender: No OFD packet to send [22:54:00]OFD Sender: No OFD packet to send [22:54:05]OFD Sender: No OFD packet to send [22:54:10]OFD Sender: No OFD packet to send [22:54:15]OFD Sender: No OFD packet to send [22:54:20]OFD Sender: No OFD packet to send [22:54:25]OFD Sender: No OFD packet to send [22:54:30]OFD Sender: No OFD packet to send [22:54:35]OFD Sender: No OFD packet to send [22:54:40]OFD Sender: No OFD packet to send [22:54:45]OFD Sender: No OFD packet to send [22:54:50]OFD Sender: No OFD packet to send [22:54:55]OFD Sender: No OFD packet to send [22:55:00]OFD Sender: No OFD packet to send [22:55:05]OFD Sender: No OFD packet to send [22:55:10]OFD Sender: No OFD packet to send [22:55:15]OFD Sender: No OFD packet to send [22:55:20]OFD Sender: No OFD packet to send [22:55:25]OFD Sender: No OFD packet to send [22:55:30]OFD Sender: No OFD packet to send [22:55:35]OFD Sender: No OFD packet to send [22:55:40]OFD Sender: No OFD packet to send [22:55:45]OFD Sender: No OFD packet to send [22:55:50]OFD Sender: No OFD packet to send [22:55:55]OFD Sender: No OFD packet to send [22:56:00]OFD Sender: No OFD packet to send [22:56:05]OFD Sender: No OFD packet to send [22:56:10]OFD Sender: No OFD packet to send [22:56:15]OFD Sender: No OFD packet to send [22:56:20]OFD Sender: No OFD packet to send [22:56:25]OFD Sender: No OFD packet to send [22:56:30]OFD Sender: No OFD packet to send [22:56:35]OFD Sender: No OFD packet to send [22:56:40]OFD Sender: No OFD packet to send [22:56:45]OFD Sender: No OFD packet to send [22:56:50]OFD Sender: No OFD packet to send [22:56:55]OFD Sender: No OFD packet to send [22:57:00]OFD Sender: No OFD packet to send [22:57:05]OFD Sender: No OFD packet to send [22:57:10]OFD Sender: No OFD packet to send [22:57:15]OFD Sender: No OFD packet to send [22:57:20]OFD Sender: No OFD packet to send [22:57:25]OFD Sender: No OFD packet to send [22:57:30]OFD Sender: No OFD packet to send [22:57:35]OFD Sender: No OFD packet to send [22:57:40]OFD Sender: No OFD packet to send [22:57:45]OFD Sender: No OFD packet to send [22:57:50]OFD Sender: No OFD packet to send [22:57:55]OFD Sender: No OFD packet to send [22:58:00]OFD Sender: No OFD packet to send [22:58:05]OFD Sender: No OFD packet to send [22:58:10]OFD Sender: No OFD packet to send [22:58:15]OFD Sender: No OFD packet to send [22:58:20]OFD Sender: No OFD packet to send [22:58:25]OFD Sender: No OFD packet to send [22:58:30]OFD Sender: No OFD packet to send [22:58:35]OFD Sender: No OFD packet to send [22:58:40]OFD Sender: No OFD packet to send [22:58:45]OFD Sender: No OFD packet to send [22:58:50]OFD Sender: No OFD packet to send [22:58:55]OFD Sender: No OFD packet to send [22:59:00]OFD Sender: No OFD packet to send [22:59:01]accept exits with 8 [22:59:01]New connection [22:59:01]New thread 3067288932 created [22:59:01]Thread 3067432292 joined [22:59:01]Waiting for new connection... [22:59:01] Sock 8.Parse request [22:59:01]Sock 8.Check first char [22:59:01]Sock 8.First char is OK [22:59:01]request: POST /json_proto HTTP/1.0 [22:59:01]Method: POST [22:59:01]URL: /json_proto [22:59:01]Method is POST - this is cgi request [22:59:01]url: /json_proto [22:59:01]query_string will be loaded in cgi processing [22:59:01]execute_cgi json_proto POST (null) [22:59:01]execute_cgi path=json_proto method=POST [22:59:01]POST find Content-Length [22:59:01]Host: 172.17.40.196:8080 [22:59:01]Content-Length: 616 [22:59:01]Content-Type: application/json [22:59:01] [22:59:01]POST finish read [22:59:01]Found Content-Length = 616 [22:59:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35286", "tax_sys" : 0, "items" : [ { "code": "4700001610012", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 0,5\u043B", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:59:01]execute_script... [22:59: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)35286", "tax_sys" : 0, "items" : [ { "code": "4700001610012", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 0,5\u043B", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:59:01]POST & json_proto [22:59:01]process_json_proto [22:59:01]json parsed OK: [22:59:01]protocol is kg_v1.0 [22:59:01]action value=close_receipt [22:59:01]process_action close_receipt [22:59:01]cmd_close_receipt [22:59:01]MH_GetDate [22:59:01]Write to MH i2c: F0 00 00 67 07 5D [22:59:01]Write i2c OK [22:59:01]MH_I2C_Read... [22:59:01]Read from MH i2c: F0 [22:59:01]MH_I2C_Read... [22:59:01]Read from MH i2c: F0 09 00 [22:59:01]MH_I2C_Read... [22:59:01]Read from MH i2c: F0 09 00 67 07 00 36 BA 22 67 5B 68 A1 66 A9 [22:59:01]GetLastDocTimeStamp 1730327805 [22:59:01]current date 1730329142 [22:59:01]FM_GetShiftState [22:59:01]SAM_PROTO_GetShiftState [22:59:01]wFMCommunicate request_size=4 [22:59:01]MH_SAM_APDU [22:59:01]CAPDU: 80 13 01 00 [22:59:01]Write to MH i2c: E2 08 00 68 07 80 13 01 00 00 00 00 00 EC [22:59:01]Write i2c OK [22:59:01]MH_I2C_Read... [22:59:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:59:01]Read from MH i2c: E2 [22:59:01]MH_I2C_Read... [22:59:01]Read from MH i2c: E2 0E 00 [22:59:01]MH_I2C_Read... [22:59:01]Read from MH i2c: E2 0E 00 68 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 AD [22:59:01]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [22:59:01]wFMCommunicate OK [22:59:01]SAM_PROTO_GetShiftState done [22:59:01]FM_GetShiftState done [22:59:01]opened in 1730246837 [22:59:01]opened+sec_in_day 1730333237 [22:59:01]quantity*price = 14500 [22:59:01]sum+1 = 14501 [22:59:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 145.00 НСП 1% : 1.28 НДС 12% : 15.40 Наличными: 145.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 69 30.10.2024 22:59 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37987 ФПД: 28270201274562 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T225902&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37987&fm=28270201274562&tin=02508201610067®Number=0000000000091684&sum=14500 0 [22:59:02]StoreToDocumentArchive [22:59:02]shift 553 fd 37987 [22:59:02]save to /storage/0553/doc_00037987 [22:59:02]save last doc name /storage/0553/doc_00037987 to /storage/kkm_last_doc_name [22:59:02]save OK [22:59:02]Clear old archive folders... [22:59:02]ProcessDocumentItem done err = 0, tmpTLVsize=265 [22:59:02]tlvbuf is 005685C0 [22:59:02]SAM_PROTO_ClearQueue [22:59:02]wFMCommunicate request_size=4 [22:59:02]MH_SAM_APDU [22:59:02]CAPDU: 80 09 00 00 [22:59:02]Write to MH i2c: E2 08 00 75 07 80 09 00 00 00 00 00 00 EE [22:59:02]Write i2c OK [22:59:02]MH_I2C_Read... [22:59:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:59:02]Read from MH i2c: E2 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: E2 03 00 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: E2 03 00 75 07 00 90 00 F0 [22:59:02]RAPDU: 90 00 [22:59:02]wFMCommunicate OK [22:59:02]SAM_PROTO_ClearQueue done [22:59:02]KKMCreateOFDPacket [22:59:02]OFDProtocolAddRootSTLVToBuf [22:59:02]FM_MakeSignedData [22:59:02]FM_MakeSignedData [22:59:02]SAM_PROTO_SignData [22:59:02]wFMCommunicate request_size=4 [22:59:02]MH_SAM_APDU [22:59:02]CAPDU: 80 0D 01 02 [22:59:02]Write to MH i2c: E2 08 00 76 07 80 0D 01 02 00 00 00 00 F6 [22:59:02]Write i2c OK [22:59:02]MH_I2C_Read... [22:59:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:59:02]Read from MH i2c: E2 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: E2 03 00 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: E2 03 00 76 07 00 90 00 F1 [22:59:02]RAPDU: 90 00 [22:59:02]wFMCommunicate OK [22:59:02]wFMCommunicate request_size=255 [22:59:02]MH_SAM_APDU [22:59:02]CAPDU: 80 0D 02 02 FA 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 36 BA 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 [22:59:02]Write to MH i2c: E2 02 01 77 07 80 0D 02 02 FA 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 36 BA 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 00 00 AC [22:59:02]Write i2c OK [22:59:02]MH_I2C_Read... [22:59:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:59:02]Read from MH i2c: E2 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: E2 03 00 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: E2 03 00 77 07 00 90 00 F2 [22:59:02]RAPDU: 90 00 [22:59:02]wFMCommunicate OK [22:59:02]wFMCommunicate request_size=24 [22:59:02]MH_SAM_APDU [22:59:02]CAPDU: 80 0D 02 02 13 31 10 04 04 00 63 94 00 00 35 04 06 00 19 B6 2B 4E 00 C2 [22:59:02]Write to MH i2c: E2 1B 00 78 07 80 0D 02 02 13 00 31 10 04 04 00 63 94 00 00 35 04 06 00 19 B6 2B 4E 00 C2 00 00 A8 [22:59:02]Write i2c OK [22:59:02]MH_I2C_Read... [22:59:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:59:02]Read from MH i2c: E2 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: E2 03 00 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: E2 03 00 78 07 00 90 00 F3 [22:59:02]RAPDU: 90 00 [22:59:02]wFMCommunicate OK [22:59:02]wFMCommunicate request_size=4 [22:59:02]MH_SAM_APDU [22:59:02]CAPDU: 80 0D 03 02 [22:59:02]Write to MH i2c: E2 08 00 79 07 80 0D 03 02 00 00 00 00 FB [22:59:02]Write i2c OK [22:59:02]MH_I2C_Read... [22:59:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:59:02]Read from MH i2c: E2 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: E2 0B 00 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: E2 0B 00 79 07 00 6B 5B C3 4C 91 F1 05 82 90 00 DA [22:59:02]RAPDU: 6B 5B C3 4C 91 F1 05 82 90 00 [22:59:02]wFMCommunicate OK [22:59:02]SAM_PROTO_SignData done [22:59:02]FM_MakeSignedData done [22:59:02]CreateOFDProtocolMessage [22:59:02]wFMCommunicate request_size=4 [22:59:02]MH_SAM_APDU [22:59:02]CAPDU: 80 11 00 00 [22:59:02]Write to MH i2c: E2 08 00 7A 07 80 11 00 00 00 00 00 00 FB [22:59:02]Write i2c OK [22:59:02]MH_I2C_Read... [22:59:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:59:02]Read from MH i2c: E2 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: E2 17 00 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: E2 17 00 7A 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4B [22:59:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:59:02]wFMCommunicate OK [22:59:02]CreateOFDProtocolMessage done [22:59:02]OFDSenderStorePacket 37987 [22:59:02]StoreOFDPacket docnum=37987 [22:59:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1D 01 00 00 52 F4 15 01 C9 50 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 36 BA 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 63 94 00 00 35 04 06 00 19 B6 2B 4E 00 C2 6B 5B C3 4C 91 F1 05 82 [22:59:02]CheckFolder [22:59:02]dirname=/storage/ofd_packets [22:59:02]CheckFolder done [22:59:02]ProducePacketName [22:59:02]name=ofd_packets/00037987 [22:59:02]NVStorageSaveData ofd_packets/00037987 [22:59:02]File name is /storage/ofd_packets/00037987 [22:59:02]Write 315 bytes [22:59:02]NVStorageSaveData done [22:59:02]OFDSenderStorePacket done [22:59:02]KKMCreateOFDPacket done [22:59:02]NVStorageSaveData kkm_last_timestamp [22:59:02]File name is /storage/kkm_last_timestamp [22:59:02]Write 4 bytes [22:59:02]NVStorageSaveData done [22:59:02]ExternCall_PrintAddStr [22:59:02]wPrintStart [22:59:02]Write to MH i2c: 01 00 00 7B 07 82 [22:59:02]Write i2c OK [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: 01 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: 01 07 00 [22:59:02]MH_I2C_Read... [22:59:02]Read from MH i2c: 01 07 00 7B 07 00 00 00 00 00 FF 0F 97 [22:59:02]RasterBufferAndPrint [22:59:02]line Счет N : (3)35286 [22:59:02]line ИНН: 02508201610067 [22:59:02]line Контрольно-Кассовый Чек [22:59:02]line ПРОДАЖА [22:59:02]line Товар: 4700001610012 [22:59:02]line Пиво Арпа 0,5л [22:59:02]line 1.000 * 145.00 [22:59:02]line = 145.00 [22:59:02]line НДС 12% НСП 1% [22:59:02]line > о реализуемом товаре [22:59:02]line ИТОГО: 145.00 [22:59:02]line НСП 1% : 1.28 [22:59:02]line НДС 12% : 15.40 [22:59:02]line Наличными: 145.00 [22:59:02]line Безнал.: 0.00 [22:59:02]line Место: АЗС № 126 "Партнер Нефть" [22:59:02]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [22:59:02]line СНО: Общий режим [22:59:02]line Чек 69 30.10.2024 22:59 [22:59:02]line Смена: 553 ФФД: 1.0 [22:59:02]line ЗНМ: 0300000092 [22:59:02]line РНМ: 0000000000091684 [22:59:02]line Версия ККМ: 001 [22:59:02]line ФМ: 0000000000871841 [22:59:02]line ФД: 37987 [22:59:02]line ФПД: 28270201274562 [22:59:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T225902&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37987&fm=28270201274562&tin=02508201610067®Number=0000000000091684&sum=14500 [22:59:03]OFD Sender: Processing packet 37987 [packets to send 42, broken 41] [22:59:03]ProducePacketName [22:59:03]name=ofd_packets/00037987 [22:59:03]OFD Sender: To server: pG, [22:59:03]CommunicateWithHost lk.salyk.kg:30040 [22:59:03]ConnectInit lk.salyk.kg [22:59:03]line 0 [22:59:03]written 0, free lines is 4095 [22:59:03]Connected sock=10 [22:59:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1D 01 00 00 52 F4 15 01 C9 50 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 36 BA 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 63 94 00 00 35 04 06 00 19 B6 2B 4E 00 C2 6B 5B C3 4C 91 F1 05 82 [22:59:03]Write to MH i2c: 01 00 00 A3 07 AA [22:59:03]Write i2c OK [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: 01 [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: 01 07 00 [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: 01 07 00 A3 07 00 00 00 00 00 D7 0C 94 [22:59:03]RasterBufferAndPrint [22:59:03]line [22:59:03]line [22:59:03]line [22:59:03]line [22:59:03]line [22:59:03]written 0, free lines is 3292 [22:59:03]MH_Cut [22:59:03]Write to MH i2c: D1 01 00 AA 07 01 83 [22:59:03]Write i2c OK [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: D1 [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: D1 01 00 [22:59:03]MH_I2C_Read... [22:59:03]Read from MH i2c: D1 01 00 AA 07 00 82 [22:59:03]Write to MH i2c: 01 00 00 AB 07 B2 [22:59:03]Write i2c OK [22:59:03]MH_I2C_Read... [22:59:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 F7 51 47 00 A9 FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 63 94 00 00 F4 03 04 00 24 65 22 67 B6 04 01 00 00 9C C4 7D 17 9A 5F 69 7B [22:59:03]CommunicateWithHost err = 0 [22:59:03]CheckOFDResponse [22:59:03]1017 (14) - 77093643461234 [22:59:03]1041 (16) - 0000000000871841 [22:59:03]1040 (4) - 37987 [22:59:03]1012 (4) - 30.10.2024 16:56 [22:59:03]1206 (1) - 0 [22:59:03]OFD Sender: Remove packet 37987 [22:59:03]ProducePacketName [22:59:03]name=ofd_packets/00037987 [22:59:03]NVStorageDeleteData [22:59:04]*** Cut start [22:59:04]*** Partial cut [22:59:04]*** CUTSNS_PIN = 1 [22:59:04]OFD Sender: No OFD packet to send [22:59:04]*** CUTSNS_PIN = 0 [22:59:04]*** Brake cut motor [22:59:04]Read from MH i2c: 01 [22:59:04]MH_I2C_Read... [22:59:04]*** Stop cut motor [22:59:04]*** Cut end [22:59:04]Read from MH i2c: 01 07 00 [22:59:04]MH_I2C_Read... [22:59:04]Read from MH i2c: 01 07 00 AB 07 00 00 00 00 00 FF 0F C7 [22:59:04]process_action close_receipt done [22:59:04]requested_data is exist [22:59:04]produce_requested_data [22:59:04]requested_item fm.sn is exist - process it [22:59:04]wFMCommunicate request_size=4 [22:59:04]MH_SAM_APDU [22:59:04]CAPDU: 80 11 00 00 [22:59:04]Write to MH i2c: E2 08 00 AC 07 80 11 00 00 00 00 00 00 2D [22:59:04]Write i2c OK [22:59:04]MH_I2C_Read... [22:59:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:59:04]Read from MH i2c: E2 [22:59:04]MH_I2C_Read... [22:59:04]Read from MH i2c: E2 17 00 [22:59:04]MH_I2C_Read... [22:59:04]Read from MH i2c: E2 17 00 AC 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7D [22:59:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:59:04]wFMCommunicate OK [22:59:04]requested_item fd.num is exist - process it [22:59:04]SAM_PROTO_GetFieldsCounters [22:59:04]wFMCommunicate request_size=4 [22:59:04]MH_SAM_APDU [22:59:04]CAPDU: 80 13 00 00 [22:59:04]Write to MH i2c: E2 08 00 AD 07 80 13 00 00 00 00 00 00 30 [22:59:04]Write i2c OK [22:59:04]MH_I2C_Read... [22:59:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:59:05]Read from MH i2c: E2 [22:59:05]MH_I2C_Read... [22:59:05]Read from MH i2c: E2 62 00 [22:59:05]MH_I2C_Read... [22:59:05]Read from MH i2c: E2 62 00 AD 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 63 94 00 00 0E 04 04 00 29 02 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 42 [22:59:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 63 94 00 00 0E 04 04 00 29 02 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 [22:59:05]wFMCommunicate OK [22:59:05]SAM_PROTO_GetFieldsCounters done [22:59:05]requested_item shift.num is exist - process it [22:59:05]requested_item shift.opened is exist - process it [22:59:05]req_shift_opened [22:59:05]FM_GetShiftState [22:59:05]SAM_PROTO_GetShiftState [22:59:05]wFMCommunicate request_size=4 [22:59:05]MH_SAM_APDU [22:59:05]CAPDU: 80 13 01 00 [22:59:05]Write to MH i2c: E2 08 00 AE 07 80 13 01 00 00 00 00 00 32 [22:59:05]Write i2c OK [22:59:05]MH_I2C_Read... [22:59:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:59:05]Read from MH i2c: E2 [22:59:05]MH_I2C_Read... [22:59:05]Read from MH i2c: E2 0E 00 [22:59:05]MH_I2C_Read... [22:59:05]Read from MH i2c: E2 0E 00 AE 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 F3 [22:59:05]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [22:59:05]wFMCommunicate OK [22:59:05]SAM_PROTO_GetShiftState done [22:59:05]FM_GetShiftState done [22:59:05]req_shift_opened done [22:59:05]requested_item shift.open_date is exist - process it [22:59:05]req_shift_open_date [22:59:05]req_shift_open_date done [22:59:05]produce_requested_data done [22:59:05]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37987,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [22:59:05]process_action_free close_receipt [22:59:05]json_value_free [22:59:05]json_value_free done [22:59:05]process_json_proto returns [22:59:05]Send response to host [22:59:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37987,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [22:59:05]free response buf [22:59:05]execute_script done [22:59:05]execute_script returns [22:59:05]free content buf [22:59:05]Sock 8.Close socket [22:59:05]Sock 8.Thread stoped [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:18]accept exits with 9 [23:04:18]New connection [23:04:18]New thread 3067432292 created [23:04:18]Thread 3067288932 joined [23:04:18]Waiting for new connection... [23:04:18] Sock 9.Parse request [23:04:18]Sock 9.Check first char [23:04:18]Sock 9.First char is OK [23:04:18]request: POST /json_proto HTTP/1.0 [23:04:18]Method: POST [23:04:18]URL: /json_proto [23:04:18]Method is POST - this is cgi request [23:04:18]url: /json_proto [23:04:18]query_string will be loaded in cgi processing [23:04:18]execute_cgi json_proto POST (null) [23:04:18]execute_cgi path=json_proto method=POST [23:04:18]POST find Content-Length [23:04:18]Host: 172.17.40.196:8080 [23:04:18]Content-Length: 646 [23:04:18]Content-Type: application/json [23:04:18] [23:04:18]POST finish read [23:04:18]Found Content-Length = 646 [23:04:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35287", "tax_sys" : 0, "items" : [ { "code": "4700001061104", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0421\u0435\u043C\u0435\u0442\u0435\u0439 0,2\u043B", "price" : 270.00, "quantity" : 1.000, "sum" : 270.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:04:18]execute_script... [23:04:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35287", "tax_sys" : 0, "items" : [ { "code": "4700001061104", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0421\u0435\u043C\u0435\u0442\u0435\u0439 0,2\u043B", "price" : 270.00, "quantity" : 1.000, "sum" : 270.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:04:18]POST & json_proto [23:04:18]process_json_proto [23:04:18]json parsed OK: [23:04:18]protocol is kg_v1.0 [23:04:18]action value=close_receipt [23:04:18]process_action close_receipt [23:04:18]cmd_close_receipt [23:04:18]MH_GetDate [23:04:18]Write to MH i2c: F0 00 00 AF 07 A5 [23:04:18]Write i2c OK [23:04:18]MH_I2C_Read... [23:04:18]Read from MH i2c: F0 [23:04:18]MH_I2C_Read... [23:04:18]Read from MH i2c: F0 09 00 [23:04:18]MH_I2C_Read... [23:04:18]Read from MH i2c: F0 09 00 AF 07 00 74 BB 22 67 5B 68 A1 66 30 [23:04:18]GetLastDocTimeStamp 1730329142 [23:04:18]current date 1730329460 [23:04:18]FM_GetShiftState [23:04:18]SAM_PROTO_GetShiftState [23:04:18]wFMCommunicate request_size=4 [23:04:18]MH_SAM_APDU [23:04:18]CAPDU: 80 13 01 00 [23:04:18]Write to MH i2c: E2 08 00 B0 07 80 13 01 00 00 00 00 00 34 [23:04:18]Write i2c OK [23:04:18]MH_I2C_Read... [23:04:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:04:19]Read from MH i2c: E2 [23:04:19]MH_I2C_Read... [23:04:19]Read from MH i2c: E2 0E 00 [23:04:19]MH_I2C_Read... [23:04:19]Read from MH i2c: E2 0E 00 B0 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 F5 [23:04:19]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [23:04:19]wFMCommunicate OK [23:04:19]SAM_PROTO_GetShiftState done [23:04:19]FM_GetShiftState done [23:04:19]opened in 1730246837 [23:04:19]opened+sec_in_day 1730333237 [23:04:19]quantity*price = 27000 [23:04:19]sum+1 = 27001 [23:04:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 270.00 НСП 1% : 2.39 НДС 12% : 28.67 Наличными: 270.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 70 30.10.2024 23:04 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37988 ФПД: 263902491883645 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T230420&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37988&fm=263902491883645&tin=02508201610067®Number=0000000000091684&sum=27000 0 [23:04:20]StoreToDocumentArchive [23:04:20]shift 553 fd 37988 [23:04:20]save to /storage/0553/doc_00037988 [23:04:20]save last doc name /storage/0553/doc_00037988 to /storage/kkm_last_doc_name [23:04:20]save OK [23:04:20]Clear old archive folders... [23:04:20]ProcessDocumentItem done err = 0, tmpTLVsize=275 [23:04:20]tlvbuf is 00541D40 [23:04:20]SAM_PROTO_ClearQueue [23:04:20]wFMCommunicate request_size=4 [23:04:20]MH_SAM_APDU [23:04:20]CAPDU: 80 09 00 00 [23:04:20]Write to MH i2c: E2 08 00 BD 07 80 09 00 00 00 00 00 00 36 [23:04:20]Write i2c OK [23:04:20]MH_I2C_Read... [23:04:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:04:20]Read from MH i2c: E2 [23:04:20]MH_I2C_Read... [23:04:20]Read from MH i2c: E2 03 00 [23:04:20]MH_I2C_Read... [23:04:20]Read from MH i2c: E2 03 00 BD 07 00 90 00 38 [23:04:20]RAPDU: 90 00 [23:04:20]wFMCommunicate OK [23:04:20]SAM_PROTO_ClearQueue done [23:04:20]KKMCreateOFDPacket [23:04:20]OFDProtocolAddRootSTLVToBuf [23:04:20]FM_MakeSignedData [23:04:20]FM_MakeSignedData [23:04:20]SAM_PROTO_SignData [23:04:20]wFMCommunicate request_size=4 [23:04:20]MH_SAM_APDU [23:04:20]CAPDU: 80 0D 01 02 [23:04:20]Write to MH i2c: E2 08 00 BE 07 80 0D 01 02 00 00 00 00 3E [23:04:20]Write i2c OK [23:04:20]MH_I2C_Read... [23:04:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:04:20]Read from MH i2c: E2 [23:04:20]MH_I2C_Read... [23:04:20]Read from MH i2c: E2 03 00 [23:04:20]MH_I2C_Read... [23:04:20]Read from MH i2c: E2 03 00 BE 07 00 90 00 39 [23:04:20]RAPDU: 90 00 [23:04:20]wFMCommunicate OK [23:04:20]wFMCommunicate request_size=255 [23:04:20]MH_SAM_APDU [23:04:20]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 69 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 74 BB 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 [23:04:20]Write to MH i2c: E2 02 01 BF 07 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 69 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 74 BB 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 00 00 79 [23:04:20]Write i2c OK [23:04:20]MH_I2C_Read... [23:04:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:04:20]Read from MH i2c: E2 [23:04:20]MH_I2C_Read... [23:04:20]Read from MH i2c: E2 03 00 [23:04:20]MH_I2C_Read... [23:04:20]Read from MH i2c: E2 03 00 BF 07 00 90 00 3A [23:04:20]RAPDU: 90 00 [23:04:20]wFMCommunicate OK [23:04:20]wFMCommunicate request_size=34 [23:04:20]MH_SAM_APDU [23:04:20]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 64 94 00 00 35 04 06 00 F0 04 96 48 B8 7D [23:04:20]Write to MH i2c: E2 25 00 C0 07 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 64 94 00 00 35 04 06 00 F0 04 96 48 B8 7D 00 00 FE [23:04:20]Write i2c OK [23:04:20]MH_I2C_Read... [23:04:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:04:20]Read from MH i2c: E2 [23:04:20]MH_I2C_Read... [23:04:20]Read from MH i2c: E2 03 00 [23:04:20]MH_I2C_Read... [23:04:20]Read from MH i2c: E2 03 00 C0 07 00 90 00 3B [23:04:20]RAPDU: 90 00 [23:04:20]wFMCommunicate OK [23:04:20]wFMCommunicate request_size=4 [23:04:20]MH_SAM_APDU [23:04:20]CAPDU: 80 0D 03 02 [23:04:20]Write to MH i2c: E2 08 00 C1 07 80 0D 03 02 00 00 00 00 43 [23:04:20]Write i2c OK [23:04:20]MH_I2C_Read... [23:04:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:04:20]Read from MH i2c: E2 [23:04:20]MH_I2C_Read... [23:04:20]Read from MH i2c: E2 0B 00 [23:04:20]MH_I2C_Read... [23:04:20]Read from MH i2c: E2 0B 00 C1 07 00 98 10 5C 9C 6C 9A 61 9F 90 00 EA [23:04:20]RAPDU: 98 10 5C 9C 6C 9A 61 9F 90 00 [23:04:20]wFMCommunicate OK [23:04:20]SAM_PROTO_SignData done [23:04:20]FM_MakeSignedData done [23:04:20]CreateOFDProtocolMessage [23:04:20]wFMCommunicate request_size=4 [23:04:20]MH_SAM_APDU [23:04:20]CAPDU: 80 11 00 00 [23:04:20]Write to MH i2c: E2 08 00 C2 07 80 11 00 00 00 00 00 00 43 [23:04:20]Write i2c OK [23:04:20]MH_I2C_Read... [23:04:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:04:20]Read from MH i2c: E2 [23:04:20]MH_I2C_Read... [23:04:20]Read from MH i2c: E2 17 00 [23:04:20]MH_I2C_Read... [23:04:20]Read from MH i2c: E2 17 00 C2 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 93 [23:04:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:04:20]wFMCommunicate OK [23:04:20]CreateOFDProtocolMessage done [23:04:20]OFDSenderStorePacket 37988 [23:04:20]StoreOFDPacket docnum=37988 [23:04:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 27 01 00 00 BE 48 1F 01 85 16 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 69 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 74 BB 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 64 94 00 00 35 04 06 00 F0 04 96 48 B8 7D 98 10 5C 9C 6C 9A 61 9F [23:04:20]CheckFolder [23:04:20]dirname=/storage/ofd_packets [23:04:20]CheckFolder done [23:04:20]ProducePacketName [23:04:20]name=ofd_packets/00037988 [23:04:20]NVStorageSaveData ofd_packets/00037988 [23:04:20]File name is /storage/ofd_packets/00037988 [23:04:20]Write 325 bytes [23:04:20]NVStorageSaveData done [23:04:20]OFDSenderStorePacket done [23:04:20]KKMCreateOFDPacket done [23:04:20]NVStorageSaveData kkm_last_timestamp [23:04:20]File name is /storage/kkm_last_timestamp [23:04:20]Write 4 bytes [23:04:20]NVStorageSaveData done [23:04:20]ExternCall_PrintAddStr [23:04:20]wPrintStart [23:04:20]Write to MH i2c: 01 00 00 C3 07 CA [23:04:20]Write i2c OK [23:04:20]MH_I2C_Read... [23:04:20]Read from MH i2c: 01 [23:04:20]MH_I2C_Read... [23:04:20]Read from MH i2c: 01 07 00 [23:04:20]MH_I2C_Read... [23:04:20]Read from MH i2c: 01 07 00 C3 07 00 00 00 00 00 FF 0F DF [23:04:20]RasterBufferAndPrint [23:04:20]line Счет N : (3)35287 [23:04:20]line ИНН: 02508201610067 [23:04:20]line Контрольно-Кассовый Чек [23:04:20]line ПРОДАЖА [23:04:20]line Товар: 4700001061104 [23:04:20]line Коньяк Семетей 0,2л [23:04:20]line 1.000 * 270.00 [23:04:20]line = 270.00 [23:04:20]line НДС 12% НСП 1% [23:04:20]line > о реализуемом товаре [23:04:20]line ИТОГО: 270.00 [23:04:20]line НСП 1% : 2.39 [23:04:20]line НДС 12% : 28.67 [23:04:20]line Наличными: 270.00 [23:04:20]line Безнал.: 0.00 [23:04:20]line Место: АЗС № 126 "Партнер Нефть" [23:04:20]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [23:04:20]line СНО: Общий режим [23:04:20]line Чек 70 30.10.2024 23:04 [23:04:20]line Смена: 553 ФФД: 1.0 [23:04:20]line ЗНМ: 0300000092 [23:04:20]line РНМ: 0000000000091684 [23:04:20]line Версия ККМ: 001 [23:04:20]line ФМ: 0000000000871841 [23:04:20]line ФД: 37988 [23:04:20]line ФПД: 263902491883645 [23:04:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T230420&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37988&fm=263902491883645&tin=02508201610067®Number=0000000000091684&sum=27000 [23:04:21]line 0 [23:04:21]OFD Sender: Processing packet 37988 [packets to send 42, broken 41] [23:04:21]ProducePacketName [23:04:21]name=ofd_packets/00037988 [23:04:21]OFD Sender: To server: pG, [23:04:21]CommunicateWithHost lk.salyk.kg:30040 [23:04:21]ConnectInit lk.salyk.kg [23:04:21]written 0, free lines is 4095 [23:04:21]Write to MH i2c: 01 00 00 EB 07 F2 [23:04:21]Write i2c OK [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: 01 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: 01 07 00 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: 01 07 00 EB 07 00 00 00 00 00 CE 0C D3 [23:04:21]RasterBufferAndPrint [23:04:21]line [23:04:21]line [23:04:21]line [23:04:21]line [23:04:21]line [23:04:21]written 0, free lines is 3284 [23:04:21]MH_Cut [23:04:21]Write to MH i2c: D1 01 00 F2 07 01 CB [23:04:21]Write i2c OK [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: D1 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: D1 01 00 [23:04:21]MH_I2C_Read... [23:04:21]Read from MH i2c: D1 01 00 F2 07 00 CA [23:04:21]Write to MH i2c: 01 00 00 F3 07 FA [23:04:21]Write i2c OK [23:04:21]MH_I2C_Read... [23:04:21]Connected sock=11 [23:04:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 27 01 00 00 BE 48 1F 01 85 16 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 69 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 74 BB 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 64 94 00 00 35 04 06 00 F0 04 96 48 B8 7D 98 10 5C 9C 6C 9A 61 9F [23:04:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 60 8B 47 00 3B 6C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 64 94 00 00 F4 03 04 00 62 66 22 67 B6 04 01 00 00 7E C6 6D 68 CF BE 89 84 [23:04:22]CommunicateWithHost err = 0 [23:04:22]CheckOFDResponse [23:04:22]1017 (14) - 77093643461234 [23:04:22]1041 (16) - 0000000000871841 [23:04:22]1040 (4) - 37988 [23:04:22]1012 (4) - 30.10.2024 17:01 [23:04:22]1206 (1) - 0 [23:04:22]OFD Sender: Remove packet 37988 [23:04:22]ProducePacketName [23:04:22]name=ofd_packets/00037988 [23:04:22]NVStorageDeleteData [23:04:22]*** Cut start [23:04:22]*** Partial cut [23:04:22]*** CUTSNS_PIN = 1 [23:04:22]*** CUTSNS_PIN = 0 [23:04:22]OFD Sender: No OFD packet to send [23:04:22]*** Brake cut motor [23:04:22]Read from MH i2c: 01 [23:04:22]MH_I2C_Read... [23:04:22]*** Stop cut motor [23:04:22]*** Cut end [23:04:22]Read from MH i2c: 01 07 00 [23:04:22]MH_I2C_Read... [23:04:22]Read from MH i2c: 01 07 00 F3 07 00 00 00 00 00 FF 0F 0F [23:04:22]process_action close_receipt done [23:04:22]requested_data is exist [23:04:22]produce_requested_data [23:04:22]requested_item fm.sn is exist - process it [23:04:22]wFMCommunicate request_size=4 [23:04:22]MH_SAM_APDU [23:04:22]CAPDU: 80 11 00 00 [23:04:22]Write to MH i2c: E2 08 00 F4 07 80 11 00 00 00 00 00 00 75 [23:04:22]Write i2c OK [23:04:22]MH_I2C_Read... [23:04:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:04:22]Read from MH i2c: E2 [23:04:22]MH_I2C_Read... [23:04:22]Read from MH i2c: E2 17 00 [23:04:22]MH_I2C_Read... [23:04:22]Read from MH i2c: E2 17 00 F4 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C5 [23:04:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:04:22]wFMCommunicate OK [23:04:22]requested_item fd.num is exist - process it [23:04:22]SAM_PROTO_GetFieldsCounters [23:04:22]wFMCommunicate request_size=4 [23:04:22]MH_SAM_APDU [23:04:22]CAPDU: 80 13 00 00 [23:04:22]Write to MH i2c: E2 08 00 F5 07 80 13 00 00 00 00 00 00 78 [23:04:22]Write i2c OK [23:04:22]MH_I2C_Read... [23:04:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:04:23]Read from MH i2c: E2 [23:04:23]MH_I2C_Read... [23:04:23]Read from MH i2c: E2 62 00 [23:04:23]MH_I2C_Read... [23:04:23]Read from MH i2c: E2 62 00 F5 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 64 94 00 00 0E 04 04 00 29 02 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 8E [23:04:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 64 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:04:23]wFMCommunicate OK [23:04:23]SAM_PROTO_GetFieldsCounters done [23:04:23]requested_item shift.num is exist - process it [23:04:23]requested_item shift.opened is exist - process it [23:04:23]req_shift_opened [23:04:23]FM_GetShiftState [23:04:23]SAM_PROTO_GetShiftState [23:04:23]wFMCommunicate request_size=4 [23:04:23]MH_SAM_APDU [23:04:23]CAPDU: 80 13 01 00 [23:04:23]Write to MH i2c: E2 08 00 F6 07 80 13 01 00 00 00 00 00 7A [23:04:23]Write i2c OK [23:04:23]MH_I2C_Read... [23:04:23]Read from MH i2c: E2 [23:04:23]MH_I2C_Read... [23:04:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:04:23]Read from MH i2c: E2 0E 00 [23:04:23]MH_I2C_Read... [23:04:23]Read from MH i2c: E2 0E 00 F6 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 3B [23:04:23]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [23:04:23]wFMCommunicate OK [23:04:23]SAM_PROTO_GetShiftState done [23:04:23]FM_GetShiftState done [23:04:23]req_shift_opened done [23:04:23]requested_item shift.open_date is exist - process it [23:04:23]req_shift_open_date [23:04:23]req_shift_open_date done [23:04:23]produce_requested_data done [23:04:23]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37988,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [23:04:23]process_action_free close_receipt [23:04:23]json_value_free [23:04:23]json_value_free done [23:04:23]process_json_proto returns [23:04:23]Send response to host [23:04:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37988,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [23:04:23]free response buf [23:04:23]execute_script done [23:04:23]execute_script returns [23:04:23]free content buf [23:04:23]Sock 9.Close socket [23:04:23]Sock 9.Thread stoped [23:04:27]OFD Sender: No OFD packet to send [23:04:32]OFD Sender: No OFD packet to send [23:04:37]OFD Sender: No OFD packet to send [23:04:42]OFD Sender: No OFD packet to send [23:04:47]OFD Sender: No OFD packet to send [23:04:52]OFD Sender: No OFD packet to send [23:04:57]OFD Sender: No OFD packet to send [23:05:02]OFD Sender: No OFD packet to send [23:05:07]OFD Sender: No OFD packet to send [23:05:12]OFD Sender: No OFD packet to send [23:05:17]OFD Sender: No OFD packet to send [23:05:22]OFD Sender: No OFD packet to send [23:05:27]OFD Sender: No OFD packet to send [23:05:32]OFD Sender: No OFD packet to send [23:05:37]OFD Sender: No OFD packet to send [23:05:42]OFD Sender: No OFD packet to send [23:05:47]OFD Sender: No OFD packet to send [23:05:52]OFD Sender: No OFD packet to send [23:05:57]OFD Sender: No OFD packet to send [23:06:02]OFD Sender: No OFD packet to send [23:06:07]OFD Sender: No OFD packet to send [23:06:12]OFD Sender: No OFD packet to send [23:06:17]OFD Sender: No OFD packet to send [23:06:22]OFD Sender: No OFD packet to send [23:06:27]OFD Sender: No OFD packet to send [23:06:32]OFD Sender: No OFD packet to send [23:06:37]OFD Sender: No OFD packet to send [23:06:42]OFD Sender: No OFD packet to send [23:06:47]OFD Sender: No OFD packet to send [23:06:52]OFD Sender: No OFD packet to send [23:06:57]OFD Sender: No OFD packet to send [23:07:02]OFD Sender: No OFD packet to send [23:07:07]OFD Sender: No OFD packet to send [23:07:12]OFD Sender: No OFD packet to send [23:07:17]OFD Sender: No OFD packet to send [23:07:22]OFD Sender: No OFD packet to send [23:07:27]OFD Sender: No OFD packet to send [23:07:32]OFD Sender: No OFD packet to send [23:07:37]OFD Sender: No OFD packet to send [23:07:42]OFD Sender: No OFD packet to send [23:07:47]OFD Sender: No OFD packet to send [23:07:52]OFD Sender: No OFD packet to send [23:07:57]OFD Sender: No OFD packet to send [23:08:02]OFD Sender: No OFD packet to send [23:08:07]OFD Sender: No OFD packet to send [23:08:12]OFD Sender: No OFD packet to send [23:08:17]OFD Sender: No OFD packet to send [23:08:22]OFD Sender: No OFD packet to send [23:08:27]OFD Sender: No OFD packet to send [23:08:32]OFD Sender: No OFD packet to send [23:08:37]OFD Sender: No OFD packet to send [23:08:42]OFD Sender: No OFD packet to send [23:08:47]OFD Sender: No OFD packet to send [23:08:52]OFD Sender: No OFD packet to send [23:08:57]OFD Sender: No OFD packet to send [23:09:02]OFD Sender: No OFD packet to send [23:09:07]OFD Sender: No OFD packet to send [23:09:12]OFD Sender: No OFD packet to send [23:09:17]OFD Sender: No OFD packet to send [23:09:22]OFD Sender: No OFD packet to send [23:09:27]OFD Sender: No OFD packet to send [23:09:32]OFD Sender: No OFD packet to send [23:09:37]OFD Sender: No OFD packet to send [23:09:42]OFD Sender: No OFD packet to send [23:09:47]OFD Sender: No OFD packet to send [23:09:52]OFD Sender: No OFD packet to send [23:09:57]OFD Sender: No OFD packet to send [23:10:02]OFD Sender: No OFD packet to send [23:10:07]OFD Sender: No OFD packet to send [23:10:12]OFD Sender: No OFD packet to send [23:10:17]OFD Sender: No OFD packet to send [23:10:22]OFD Sender: No OFD packet to send [23:10:27]OFD Sender: No OFD packet to send [23:10:32]OFD Sender: No OFD packet to send [23:10:37]OFD Sender: No OFD packet to send [23:10:42]OFD Sender: No OFD packet to send [23:10:47]OFD Sender: No OFD packet to send [23:10:52]OFD Sender: No OFD packet to send [23:10:57]OFD Sender: No OFD packet to send [23:11:02]OFD Sender: No OFD packet to send [23:11:07]OFD Sender: No OFD packet to send [23:11:12]OFD Sender: No OFD packet to send [23:11:17]OFD Sender: No OFD packet to send [23:11:22]OFD Sender: No OFD packet to send [23:11:27]OFD Sender: No OFD packet to send [23:11:32]OFD Sender: No OFD packet to send [23:11:37]OFD Sender: No OFD packet to send [23:11:42]OFD Sender: No OFD packet to send [23:11:47]OFD Sender: No OFD packet to send [23:11:52]OFD Sender: No OFD packet to send [23:11:57]OFD Sender: No OFD packet to send [23:12:02]OFD Sender: No OFD packet to send [23:12:07]OFD Sender: No OFD packet to send [23:12:12]OFD Sender: No OFD packet to send [23:12:17]OFD Sender: No OFD packet to send [23:12:22]OFD Sender: No OFD packet to send [23:12:27]OFD Sender: No OFD packet to send [23:12:33]OFD Sender: No OFD packet to send [23:12:38]OFD Sender: No OFD packet to send [23:12:43]OFD Sender: No OFD packet to send [23:12:48]OFD Sender: No OFD packet to send [23:12:53]OFD Sender: No OFD packet to send [23:12:58]OFD Sender: No OFD packet to send [23:13:03]OFD Sender: No OFD packet to send [23:13:08]OFD Sender: No OFD packet to send [23:13:13]OFD Sender: No OFD packet to send [23:13:18]OFD Sender: No OFD packet to send [23:13:23]OFD Sender: No OFD packet to send [23:13:28]OFD Sender: No OFD packet to send [23:13:33]OFD Sender: No OFD packet to send [23:13:38]OFD Sender: No OFD packet to send [23:13:43]OFD Sender: No OFD packet to send [23:13:48]OFD Sender: No OFD packet to send [23:13:53]OFD Sender: No OFD packet to send [23:13:58]OFD Sender: No OFD packet to send [23:14:03]OFD Sender: No OFD packet to send [23:14:08]OFD Sender: No OFD packet to send [23:14:13]OFD Sender: No OFD packet to send [23:14:18]OFD Sender: No OFD packet to send [23:14:23]OFD Sender: No OFD packet to send [23:14:28]OFD Sender: No OFD packet to send [23:14:33]OFD Sender: No OFD packet to send [23:14:38]OFD Sender: No OFD packet to send [23:14:43]OFD Sender: No OFD packet to send [23:14:48]OFD Sender: No OFD packet to send [23:14:53]OFD Sender: No OFD packet to send [23:14:58]OFD Sender: No OFD packet to send [23:15:03]OFD Sender: No OFD packet to send [23:15:08]OFD Sender: No OFD packet to send [23:15:13]OFD Sender: No OFD packet to send [23:15:18]OFD Sender: No OFD packet to send [23:15:23]OFD Sender: No OFD packet to send [23:15:28]OFD Sender: No OFD packet to send [23:15:33]OFD Sender: No OFD packet to send [23:15:38]OFD Sender: No OFD packet to send [23:15:43]OFD Sender: No OFD packet to send [23:15:48]OFD Sender: No OFD packet to send [23:15:53]OFD Sender: No OFD packet to send [23:15:58]OFD Sender: No OFD packet to send [23:16:03]OFD Sender: No OFD packet to send [23:16:08]OFD Sender: No OFD packet to send [23:16:13]OFD Sender: No OFD packet to send [23:16:18]OFD Sender: No OFD packet to send [23:16:23]OFD Sender: No OFD packet to send [23:16:28]OFD Sender: No OFD packet to send [23:16:33]OFD Sender: No OFD packet to send [23:16:38]OFD Sender: No OFD packet to send [23:16:43]OFD Sender: No OFD packet to send [23:16:48]OFD Sender: No OFD packet to send [23:16:53]OFD Sender: No OFD packet to send [23:16:58]OFD Sender: No OFD packet to send [23:17:03]OFD Sender: No OFD packet to send [23:17:08]OFD Sender: No OFD packet to send [23:17:13]OFD Sender: No OFD packet to send [23:17:18]OFD Sender: No OFD packet to send [23:17:23]OFD Sender: No OFD packet to send [23:17:28]OFD Sender: No OFD packet to send [23:17:33]OFD Sender: No OFD packet to send [23:17:38]OFD Sender: No OFD packet to send [23:17:43]OFD Sender: No OFD packet to send [23:17:48]OFD Sender: No OFD packet to send [23:17:53]OFD Sender: No OFD packet to send [23:17:58]OFD Sender: No OFD packet to send [23:18:03]OFD Sender: No OFD packet to send [23:18:08]OFD Sender: No OFD packet to send [23:18:13]OFD Sender: No OFD packet to send [23:18:18]OFD Sender: No OFD packet to send [23:18:23]OFD Sender: No OFD packet to send [23:18:28]OFD Sender: No OFD packet to send [23:18:33]OFD Sender: No OFD packet to send [23:18:38]OFD Sender: No OFD packet to send [23:18:43]OFD Sender: No OFD packet to send [23:18:48]OFD Sender: No OFD packet to send [23:18:53]OFD Sender: No OFD packet to send [23:18:58]OFD Sender: No OFD packet to send [23:19:03]OFD Sender: No OFD packet to send [23:19:08]OFD Sender: No OFD packet to send [23:19:13]OFD Sender: No OFD packet to send [23:19:18]OFD Sender: No OFD packet to send [23:19:23]OFD Sender: No OFD packet to send [23:19:28]OFD Sender: No OFD packet to send [23:19:33]OFD Sender: No OFD packet to send [23:19:38]OFD Sender: No OFD packet to send [23:19:43]OFD Sender: No OFD packet to send [23:19:48]OFD Sender: No OFD packet to send [23:19:53]OFD Sender: No OFD packet to send [23:19:58]OFD Sender: No OFD packet to send [23:20:03]OFD Sender: No OFD packet to send [23:20:08]OFD Sender: No OFD packet to send [23:20:13]OFD Sender: No OFD packet to send [23:20:18]OFD Sender: No OFD packet to send [23:20:23]OFD Sender: No OFD packet to send [23:20:28]OFD Sender: No OFD packet to send [23:20:33]OFD Sender: No OFD packet to send [23:20:38]OFD Sender: No OFD packet to send [23:20:43]OFD Sender: No OFD packet to send [23:20:48]OFD Sender: No OFD packet to send [23:20:53]OFD Sender: No OFD packet to send [23:20:58]OFD Sender: No OFD packet to send [23:21:03]OFD Sender: No OFD packet to send [23:21:08]OFD Sender: No OFD packet to send [23:21:13]OFD Sender: No OFD packet to send [23:21:18]OFD Sender: No OFD packet to send [23:21:23]OFD Sender: No OFD packet to send [23:21:28]OFD Sender: No OFD packet to send [23:21:33]OFD Sender: No OFD packet to send [23:21:38]OFD Sender: No OFD packet to send [23:21:43]OFD Sender: No OFD packet to send [23:21:48]OFD Sender: No OFD packet to send [23:21:53]OFD Sender: No OFD packet to send [23:21:58]OFD Sender: No OFD packet to send [23:22:03]OFD Sender: No OFD packet to send [23:22:08]OFD Sender: No OFD packet to send [23:22:13]OFD Sender: No OFD packet to send [23:22:18]OFD Sender: No OFD packet to send [23:22:23]OFD Sender: No OFD packet to send [23:22:28]OFD Sender: No OFD packet to send [23:22:33]OFD Sender: No OFD packet to send [23:22:38]OFD Sender: No OFD packet to send [23:22:43]OFD Sender: No OFD packet to send [23:22:48]OFD Sender: No OFD packet to send [23:22:53]OFD Sender: No OFD packet to send [23:22:58]OFD Sender: No OFD packet to send [23:23:03]OFD Sender: No OFD packet to send [23:23:08]OFD Sender: No OFD packet to send [23:23:13]OFD Sender: No OFD packet to send [23:23:18]OFD Sender: No OFD packet to send [23:23:23]OFD Sender: No OFD packet to send [23:23:28]OFD Sender: No OFD packet to send [23:23:33]OFD Sender: No OFD packet to send [23:23:38]OFD Sender: No OFD packet to send [23:23:43]OFD Sender: No OFD packet to send [23:23:48]OFD Sender: No OFD packet to send [23:23:53]OFD Sender: No OFD packet to send [23:23:58]OFD Sender: No OFD packet to send [23:24:03]OFD Sender: No OFD packet to send [23:24:08]OFD Sender: No OFD packet to send [23:24:13]OFD Sender: No OFD packet to send [23:24:18]OFD Sender: No OFD packet to send [23:24:23]OFD Sender: No OFD packet to send [23:24:28]OFD Sender: No OFD packet to send [23:24:33]OFD Sender: No OFD packet to send [23:24:38]OFD Sender: No OFD packet to send [23:24:43]OFD Sender: No OFD packet to send [23:24:48]OFD Sender: No OFD packet to send [23:24:53]OFD Sender: No OFD packet to send [23:24:58]OFD Sender: No OFD packet to send [23:25:03]OFD Sender: No OFD packet to send [23:25:08]OFD Sender: No OFD packet to send [23:25:13]OFD Sender: No OFD packet to send [23:25:18]OFD Sender: No OFD packet to send [23:25:23]OFD Sender: No OFD packet to send [23:25:28]OFD Sender: No OFD packet to send [23:25:33]OFD Sender: No OFD packet to send [23:25:38]OFD Sender: No OFD packet to send [23:25:43]OFD Sender: No OFD packet to send [23:25:48]OFD Sender: No OFD packet to send [23:25:53]OFD Sender: No OFD packet to send [23:25:58]OFD Sender: No OFD packet to send [23:26:03]OFD Sender: No OFD packet to send [23:26:08]OFD Sender: No OFD packet to send [23:26:13]OFD Sender: No OFD packet to send [23:26:18]OFD Sender: No OFD packet to send [23:26:23]OFD Sender: No OFD packet to send [23:26:28]OFD Sender: No OFD packet to send [23:26:33]OFD Sender: No OFD packet to send [23:26:38]OFD Sender: No OFD packet to send [23:26:43]OFD Sender: No OFD packet to send [23:26:48]OFD Sender: No OFD packet to send [23:26:53]OFD Sender: No OFD packet to send [23:26:58]OFD Sender: No OFD packet to send [23:27:03]OFD Sender: No OFD packet to send [23:27:08]OFD Sender: No OFD packet to send [23:27:13]OFD Sender: No OFD packet to send [23:27:18]OFD Sender: No OFD packet to send [23:27:23]OFD Sender: No OFD packet to send [23:27:28]OFD Sender: No OFD packet to send [23:27:33]OFD Sender: No OFD packet to send [23:27:38]OFD Sender: No OFD packet to send [23:27:43]OFD Sender: No OFD packet to send [23:27:48]OFD Sender: No OFD packet to send [23:27:53]OFD Sender: No OFD packet to send [23:27:58]OFD Sender: No OFD packet to send [23:28:03]OFD Sender: No OFD packet to send [23:28:08]OFD Sender: No OFD packet to send [23:28:13]OFD Sender: No OFD packet to send [23:28:18]OFD Sender: No OFD packet to send [23:28:23]OFD Sender: No OFD packet to send [23:28:28]OFD Sender: No OFD packet to send [23:28:33]OFD Sender: No OFD packet to send [23:28:38]OFD Sender: No OFD packet to send [23:28:43]OFD Sender: No OFD packet to send [23:28:48]OFD Sender: No OFD packet to send [23:28:53]OFD Sender: No OFD packet to send [23:28:58]OFD Sender: No OFD packet to send [23:29:03]OFD Sender: No OFD packet to send [23:29:08]OFD Sender: No OFD packet to send [23:29:13]OFD Sender: No OFD packet to send [23:29:18]OFD Sender: No OFD packet to send [23:29:23]OFD Sender: No OFD packet to send [23:29:28]OFD Sender: No OFD packet to send [23:29:33]OFD Sender: No OFD packet to send [23:29:38]OFD Sender: No OFD packet to send [23:29:43]OFD Sender: No OFD packet to send [23:29:48]OFD Sender: No OFD packet to send [23:29:49]accept exits with 8 [23:29:49]New connection [23:29:49]New thread 3067288932 created [23:29:49]Thread 3067432292 joined [23:29:49]Waiting for new connection... [23:29:49] Sock 8.Parse request [23:29:49]Sock 8.Check first char [23:29:49]Sock 8.First char is OK [23:29:49]request: POST /json_proto HTTP/1.0 [23:29:49]Method: POST [23:29:49]URL: /json_proto [23:29:49]Method is POST - this is cgi request [23:29:49]url: /json_proto [23:29:49]query_string will be loaded in cgi processing [23:29:49]execute_cgi json_proto POST (null) [23:29:49]execute_cgi path=json_proto method=POST [23:29:49]POST find Content-Length [23:29:49]Host: 172.17.40.196:8080 [23:29:49]Content-Length: 629 [23:29:49]Content-Type: application/json [23:29:49] [23:29:49]POST finish read [23:29:49]Found Content-Length = 629 [23:29:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35288", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:29:49]execute_script... [23:29:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35288", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:29:49]POST & json_proto [23:29:49]process_json_proto [23:29:49]json parsed OK: [23:29:49]protocol is kg_v1.0 [23:29:49]action value=close_receipt [23:29:49]process_action close_receipt [23:29:49]cmd_close_receipt [23:29:49]MH_GetDate [23:29:49]Write to MH i2c: F0 00 00 F7 07 ED [23:29:49]Write i2c OK [23:29:49]MH_I2C_Read... [23:29:49]Read from MH i2c: F0 [23:29:49]MH_I2C_Read... [23:29:49]Read from MH i2c: F0 09 00 [23:29:49]MH_I2C_Read... [23:29:49]Read from MH i2c: F0 09 00 F7 07 00 6F C1 22 67 5B 68 A1 66 79 [23:29:49]GetLastDocTimeStamp 1730329460 [23:29:49]current date 1730330991 [23:29:49]FM_GetShiftState [23:29:49]SAM_PROTO_GetShiftState [23:29:49]wFMCommunicate request_size=4 [23:29:49]MH_SAM_APDU [23:29:49]CAPDU: 80 13 01 00 [23:29:49]Write to MH i2c: E2 08 00 F8 07 80 13 01 00 00 00 00 00 7C [23:29:49]Write i2c OK [23:29:49]MH_I2C_Read... [23:29:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:29:49]Read from MH i2c: E2 [23:29:49]MH_I2C_Read... [23:29:49]Read from MH i2c: E2 0E 00 [23:29:49]MH_I2C_Read... [23:29:49]Read from MH i2c: E2 0E 00 F8 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 3D [23:29:49]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [23:29:49]wFMCommunicate OK [23:29:49]SAM_PROTO_GetShiftState done [23:29:49]FM_GetShiftState done [23:29:49]opened in 1730246837 [23:29:49]opened+sec_in_day 1730333237 [23:29:49]quantity*price = 5000 [23:29:49]sum+1 = 5001 [23:29:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 71 30.10.2024 23:29 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37989 ФПД: 88389534282797 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T232951&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37989&fm=88389534282797&tin=02508201610067®Number=0000000000091684&sum=5000 0 [23:29:50]StoreToDocumentArchive [23:29:50]shift 553 fd 37989 [23:29:50]save to /storage/0553/doc_00037989 [23:29:50]save last doc name /storage/0553/doc_00037989 to /storage/kkm_last_doc_name [23:29:50]save OK [23:29:50]Clear old archive folders... [23:29:50]ProcessDocumentItem done err = 0, tmpTLVsize=269 [23:29:50]tlvbuf is 00541B50 [23:29:50]SAM_PROTO_ClearQueue [23:29:50]wFMCommunicate request_size=4 [23:29:50]MH_SAM_APDU [23:29:50]CAPDU: 80 09 00 00 [23:29:50]Write to MH i2c: E2 08 00 05 08 80 09 00 00 00 00 00 00 7F [23:29:50]Write i2c OK [23:29:50]MH_I2C_Read... [23:29:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:29:50]Read from MH i2c: E2 [23:29:50]MH_I2C_Read... [23:29:50]Read from MH i2c: E2 03 00 [23:29:50]MH_I2C_Read... [23:29:50]Read from MH i2c: E2 03 00 05 08 00 90 00 81 [23:29:50]RAPDU: 90 00 [23:29:50]wFMCommunicate OK [23:29:50]SAM_PROTO_ClearQueue done [23:29:50]KKMCreateOFDPacket [23:29:50]OFDProtocolAddRootSTLVToBuf [23:29:50]FM_MakeSignedData [23:29:50]FM_MakeSignedData [23:29:50]SAM_PROTO_SignData [23:29:50]wFMCommunicate request_size=4 [23:29:50]MH_SAM_APDU [23:29:50]CAPDU: 80 0D 01 02 [23:29:50]Write to MH i2c: E2 08 00 06 08 80 0D 01 02 00 00 00 00 87 [23:29:50]Write i2c OK [23:29:51]MH_I2C_Read... [23:29:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:29:51]Read from MH i2c: E2 [23:29:51]MH_I2C_Read... [23:29:51]Read from MH i2c: E2 03 00 [23:29:51]MH_I2C_Read... [23:29:51]Read from MH i2c: E2 03 00 06 08 00 90 00 82 [23:29:51]RAPDU: 90 00 [23:29:51]wFMCommunicate OK [23:29:51]wFMCommunicate request_size=255 [23:29:51]MH_SAM_APDU [23:29:51]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 6F C1 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [23:29:51]Write to MH i2c: E2 02 01 07 08 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 6F C1 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 CC [23:29:51]Write i2c OK [23:29:51]MH_I2C_Read... [23:29:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:29:51]Read from MH i2c: E2 [23:29:51]MH_I2C_Read... [23:29:51]Read from MH i2c: E2 03 00 [23:29:51]MH_I2C_Read... [23:29:51]Read from MH i2c: E2 03 00 07 08 00 90 00 83 [23:29:51]RAPDU: 90 00 [23:29:51]wFMCommunicate OK [23:29:51]wFMCommunicate request_size=28 [23:29:51]MH_SAM_APDU [23:29:51]CAPDU: 80 0D 02 02 17 37 31 38 34 31 10 04 04 00 65 94 00 00 35 04 06 00 50 63 CA CA F4 2D [23:29:51]Write to MH i2c: E2 1F 00 08 08 80 0D 02 02 17 00 37 31 38 34 31 10 04 04 00 65 94 00 00 35 04 06 00 50 63 CA CA F4 2D 00 00 75 [23:29:51]Write i2c OK [23:29:51]MH_I2C_Read... [23:29:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:29:51]Read from MH i2c: E2 [23:29:51]MH_I2C_Read... [23:29:51]Read from MH i2c: E2 03 00 [23:29:51]MH_I2C_Read... [23:29:51]Read from MH i2c: E2 03 00 08 08 00 90 00 84 [23:29:51]RAPDU: 90 00 [23:29:51]wFMCommunicate OK [23:29:51]wFMCommunicate request_size=4 [23:29:51]MH_SAM_APDU [23:29:51]CAPDU: 80 0D 03 02 [23:29:51]Write to MH i2c: E2 08 00 09 08 80 0D 03 02 00 00 00 00 8C [23:29:51]Write i2c OK [23:29:51]MH_I2C_Read... [23:29:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:29:51]Read from MH i2c: E2 [23:29:51]MH_I2C_Read... [23:29:51]Read from MH i2c: E2 0B 00 [23:29:51]MH_I2C_Read... [23:29:51]Read from MH i2c: E2 0B 00 09 08 00 21 FE B4 DD F3 78 4C A9 90 00 9D [23:29:51]RAPDU: 21 FE B4 DD F3 78 4C A9 90 00 [23:29:51]wFMCommunicate OK [23:29:51]SAM_PROTO_SignData done [23:29:51]FM_MakeSignedData done [23:29:51]CreateOFDProtocolMessage [23:29:51]wFMCommunicate request_size=4 [23:29:51]MH_SAM_APDU [23:29:51]CAPDU: 80 11 00 00 [23:29:51]Write to MH i2c: E2 08 00 0A 08 80 11 00 00 00 00 00 00 8C [23:29:51]Write i2c OK [23:29:51]MH_I2C_Read... [23:29:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:29:51]Read from MH i2c: E2 [23:29:51]MH_I2C_Read... [23:29:51]Read from MH i2c: E2 17 00 [23:29:51]MH_I2C_Read... [23:29:51]Read from MH i2c: E2 17 00 0A 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DC [23:29:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:29:51]wFMCommunicate OK [23:29:51]CreateOFDProtocolMessage done [23:29:51]OFDSenderStorePacket 37989 [23:29:51]StoreOFDPacket docnum=37989 [23:29:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 21 01 00 00 DE B8 19 01 6A FB 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 6F C1 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 65 94 00 00 35 04 06 00 50 63 CA CA F4 2D 21 FE B4 DD F3 78 4C A9 [23:29:51]CheckFolder [23:29:51]dirname=/storage/ofd_packets [23:29:51]CheckFolder done [23:29:51]ProducePacketName [23:29:51]name=ofd_packets/00037989 [23:29:51]NVStorageSaveData ofd_packets/00037989 [23:29:51]File name is /storage/ofd_packets/00037989 [23:29:51]Write 319 bytes [23:29:51]NVStorageSaveData done [23:29:51]OFDSenderStorePacket done [23:29:51]KKMCreateOFDPacket done [23:29:51]NVStorageSaveData kkm_last_timestamp [23:29:51]File name is /storage/kkm_last_timestamp [23:29:51]Write 4 bytes [23:29:51]NVStorageSaveData done [23:29:51]ExternCall_PrintAddStr [23:29:51]wPrintStart [23:29:51]Write to MH i2c: 01 00 00 0B 08 13 [23:29:51]Write i2c OK [23:29:51]MH_I2C_Read... [23:29:51]Read from MH i2c: 01 [23:29:51]MH_I2C_Read... [23:29:51]Read from MH i2c: 01 07 00 [23:29:51]MH_I2C_Read... [23:29:51]Read from MH i2c: 01 07 00 0B 08 00 00 00 00 00 FF 0F 28 [23:29:51]RasterBufferAndPrint [23:29:51]line Счет N : (3)35288 [23:29:51]line ИНН: 02508201610067 [23:29:51]line Контрольно-Кассовый Чек [23:29:51]line ПРОДАЖА [23:29:51]line Товар: 4700000160358 [23:29:51]line Вода Легенда 1л [23:29:51]line 1.000 * 50.00 [23:29:51]line = 50.00 [23:29:51]line НДС 12% НСП 1% [23:29:51]line > о реализуемом товаре [23:29:51]line ИТОГО: 50.00 [23:29:51]line НСП 1% : 0.44 [23:29:51]line НДС 12% : 5.31 [23:29:51]line Наличными: 50.00 [23:29:51]line Безнал.: 0.00 [23:29:51]line Место: АЗС № 126 "Партнер Нефть" [23:29:51]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [23:29:51]line СНО: Общий режим [23:29:51]line Чек 71 30.10.2024 23:29 [23:29:51]line Смена: 553 ФФД: 1.0 [23:29:51]line ЗНМ: 0300000092 [23:29:51]line РНМ: 0000000000091684 [23:29:51]line Версия ККМ: 001 [23:29:51]line ФМ: 0000000000871841 [23:29:51]line ФД: 37989 [23:29:51]line ФПД: 88389534282797 [23:29:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T232951&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37989&fm=88389534282797&tin=02508201610067®Number=0000000000091684&sum=5000 [23:29:51]line 0 [23:29:51]OFD Sender: Processing packet 37989 [packets to send 42, broken 41] [23:29:51]ProducePacketName [23:29:51]name=ofd_packets/00037989 [23:29:51]OFD Sender: To server: pG, [23:29:51]CommunicateWithHost lk.salyk.kg:30040 [23:29:51]ConnectInit lk.salyk.kg [23:29:51]written 0, free lines is 4095 [23:29:52]Write to MH i2c: 01 00 00 33 08 3B [23:29:52]Write i2c OK [23:29:52]MH_I2C_Read... [23:29:52]Read from MH i2c: 01 [23:29:52]MH_I2C_Read... [23:29:52]Read from MH i2c: 01 07 00 [23:29:52]MH_I2C_Read... [23:29:52]Read from MH i2c: 01 07 00 33 08 00 00 00 00 00 C8 0C 16 [23:29:52]RasterBufferAndPrint [23:29:52]line [23:29:52]line [23:29:52]line [23:29:52]line [23:29:52]line [23:29:52]written 0, free lines is 3275 [23:29:52]MH_Cut [23:29:52]Write to MH i2c: D1 01 00 3A 08 01 14 [23:29:52]Write i2c OK [23:29:52]MH_I2C_Read... [23:29:52]Read from MH i2c: D1 [23:29:52]MH_I2C_Read... [23:29:52]Read from MH i2c: D1 01 00 [23:29:52]MH_I2C_Read... [23:29:52]Read from MH i2c: D1 01 00 3A 08 00 13 [23:29:52]Write to MH i2c: 01 00 00 3B 08 43 [23:29:52]Write i2c OK [23:29:52]MH_I2C_Read... [23:29:53]*** Cut start [23:29:53]*** Partial cut [23:29:53]*** CUTSNS_PIN = 1 [23:29:53]*** CUTSNS_PIN = 0 [23:29:53]*** Brake cut motor [23:29:53]Connected sock=11 [23:29:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 21 01 00 00 DE B8 19 01 6A FB 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 6F C1 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 65 94 00 00 35 04 06 00 50 63 CA CA F4 2D 21 FE B4 DD F3 78 4C A9 [23:29:53]Read from MH i2c: 01 [23:29:53]MH_I2C_Read... [23:29:53]*** Stop cut motor [23:29:53]*** Cut end [23:29:53]Read from MH i2c: 01 07 00 [23:29:53]MH_I2C_Read... [23:29:53]Read from MH i2c: 01 07 00 3B 08 00 00 00 00 00 FF 0F 58 [23:29:53]process_action close_receipt done [23:29:53]requested_data is exist [23:29:53]produce_requested_data [23:29:53]requested_item fm.sn is exist - process it [23:29:53]wFMCommunicate request_size=4 [23:29:53]MH_SAM_APDU [23:29:53]CAPDU: 80 11 00 00 [23:29:53]Write to MH i2c: E2 08 00 3C 08 80 11 00 00 00 00 00 00 BE [23:29:53]Write i2c OK [23:29:53]MH_I2C_Read... [23:29:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:29:53]Read from MH i2c: E2 [23:29:53]MH_I2C_Read... [23:29:53]Read from MH i2c: E2 17 00 [23:29:53]MH_I2C_Read... [23:29:53]Read from MH i2c: E2 17 00 3C 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0E [23:29:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:29:53]wFMCommunicate OK [23:29:53]requested_item fd.num is exist - process it [23:29:53]SAM_PROTO_GetFieldsCounters [23:29:53]wFMCommunicate request_size=4 [23:29:53]MH_SAM_APDU [23:29:53]CAPDU: 80 13 00 00 [23:29:53]Write to MH i2c: E2 08 00 3D 08 80 13 00 00 00 00 00 00 C1 [23:29:53]Write i2c OK [23:29:53]MH_I2C_Read... [23:29:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:29:53]Read from MH i2c: E2 [23:29:53]MH_I2C_Read... [23:29:53]Read from MH i2c: E2 62 00 [23:29:53]MH_I2C_Read... [23:29:53]Read from MH i2c: E2 62 00 3D 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 65 94 00 00 0E 04 04 00 29 02 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 DB [23:29:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 65 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:29:53]wFMCommunicate OK [23:29:53]SAM_PROTO_GetFieldsCounters done [23:29:53]requested_item shift.num is exist - process it [23:29:53]requested_item shift.opened is exist - process it [23:29:53]req_shift_opened [23:29:53]FM_GetShiftState [23:29:53]SAM_PROTO_GetShiftState [23:29:53]wFMCommunicate request_size=4 [23:29:53]MH_SAM_APDU [23:29:53]CAPDU: 80 13 01 00 [23:29:53]Write to MH i2c: E2 08 00 3E 08 80 13 01 00 00 00 00 00 C3 [23:29:53]Write i2c OK [23:29:53]MH_I2C_Read... [23:29:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:29:53]Read from MH i2c: E2 [23:29:53]MH_I2C_Read... [23:29:53]Read from MH i2c: E2 0E 00 [23:29:53]MH_I2C_Read... [23:29:53]Read from MH i2c: E2 0E 00 3E 08 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 84 [23:29:53]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [23:29:53]wFMCommunicate OK [23:29:53]SAM_PROTO_GetShiftState done [23:29:53]FM_GetShiftState done [23:29:53]req_shift_opened done [23:29:53]requested_item shift.open_date is exist - process it [23:29:53]req_shift_open_date [23:29:53]req_shift_open_date done [23:29:53]produce_requested_data done [23:29:53]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37989,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [23:29:53]process_action_free close_receipt [23:29:53]json_value_free [23:29:53]json_value_free done [23:29:53]process_json_proto returns [23:29:53]Send response to host [23:29:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37989,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [23:29:53]free response buf [23:29:53]execute_script done [23:29:53]execute_script returns [23:29:53]free content buf [23:29:53]Sock 8.Close socket [23:29:53]Sock 8.Thread stoped [23:29:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 C8 16 47 00 8C 03 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 65 94 00 00 F4 03 04 00 5E 6C 22 67 B6 04 01 00 00 72 0D CD EA 78 03 BA 5F [23:29:54]CommunicateWithHost err = 0 [23:29:54]CheckOFDResponse [23:29:54]1017 (14) - 77093643461234 [23:29:54]1041 (16) - 0000000000871841 [23:29:54]1040 (4) - 37989 [23:29:54]1012 (4) - 30.10.2024 17:26 [23:29:54]1206 (1) - 0 [23:29:54]OFD Sender: Remove packet 37989 [23:29:54]ProducePacketName [23:29:54]name=ofd_packets/00037989 [23:29:54]NVStorageDeleteData [23:29:54]OFD Sender: No OFD packet to send [23:29:59]OFD Sender: No OFD packet to send [23:30:04]OFD Sender: No OFD packet to send [23:30:09]OFD Sender: No OFD packet to send [23:30:14]OFD Sender: No OFD packet to send [23:30:19]OFD Sender: No OFD packet to send [23:30:24]OFD Sender: No OFD packet to send [23:30:29]OFD Sender: No OFD packet to send [23:30:34]OFD Sender: No OFD packet to send [23:30:39]OFD Sender: No OFD packet to send [23:30:44]OFD Sender: No OFD packet to send [23:30:49]OFD Sender: No OFD packet to send [23:30:54]OFD Sender: No OFD packet to send [23:30:59]OFD Sender: No OFD packet to send [23:31:04]OFD Sender: No OFD packet to send [23:31:09]OFD Sender: No OFD packet to send [23:31:14]OFD Sender: No OFD packet to send [23:31:19]OFD Sender: No OFD packet to send [23:31:24]OFD Sender: No OFD packet to send [23:31:29]OFD Sender: No OFD packet to send [23:31:34]OFD Sender: No OFD packet to send [23:31:39]OFD Sender: No OFD packet to send [23:31:44]OFD Sender: No OFD packet to send [23:31:49]OFD Sender: No OFD packet to send [23:31:54]OFD Sender: No OFD packet to send [23:31:59]OFD Sender: No OFD packet to send [23:32:04]OFD Sender: No OFD packet to send [23:32:09]OFD Sender: No OFD packet to send [23:32:14]OFD Sender: No OFD packet to send [23:32:19]OFD Sender: No OFD packet to send [23:32:24]OFD Sender: No OFD packet to send [23:32:29]OFD Sender: No OFD packet to send [23:32:34]OFD Sender: No OFD packet to send [23:32:39]OFD Sender: No OFD packet to send [23:32:44]OFD Sender: No OFD packet to send [23:32:49]OFD Sender: No OFD packet to send [23:32:54]OFD Sender: No OFD packet to send [23:32:59]OFD Sender: No OFD packet to send [23:33:04]OFD Sender: No OFD packet to send [23:33:09]OFD Sender: No OFD packet to send [23:33:14]OFD Sender: No OFD packet to send [23:33:19]OFD Sender: No OFD packet to send [23:33:24]OFD Sender: No OFD packet to send [23:33:29]OFD Sender: No OFD packet to send [23:33:34]OFD Sender: No OFD packet to send [23:33:39]OFD Sender: No OFD packet to send [23:33:44]OFD Sender: No OFD packet to send [23:33:49]OFD Sender: No OFD packet to send [23:33:54]OFD Sender: No OFD packet to send [23:33:59]OFD Sender: No OFD packet to send [23:34:04]OFD Sender: No OFD packet to send [23:34:09]OFD Sender: No OFD packet to send [23:34:14]OFD Sender: No OFD packet to send [23:34:19]OFD Sender: No OFD packet to send [23:34:24]OFD Sender: No OFD packet to send [23:34:29]OFD Sender: No OFD packet to send [23:34:34]OFD Sender: No OFD packet to send [23:34:39]OFD Sender: No OFD packet to send [23:34:44]OFD Sender: No OFD packet to send [23:34:49]OFD Sender: No OFD packet to send [23:34:54]OFD Sender: No OFD packet to send [23:34:59]OFD Sender: No OFD packet to send [23:35:04]OFD Sender: No OFD packet to send [23:35:09]OFD Sender: No OFD packet to send [23:35:14]OFD Sender: No OFD packet to send [23:35:19]OFD Sender: No OFD packet to send [23:35:24]OFD Sender: No OFD packet to send [23:35:29]OFD Sender: No OFD packet to send [23:35:34]OFD Sender: No OFD packet to send [23:35:39]OFD Sender: No OFD packet to send [23:35:44]OFD Sender: No OFD packet to send [23:35:49]OFD Sender: No OFD packet to send [23:35:54]OFD Sender: No OFD packet to send [23:35:59]OFD Sender: No OFD packet to send [23:36:04]OFD Sender: No OFD packet to send [23:36:09]OFD Sender: No OFD packet to send [23:36:14]OFD Sender: No OFD packet to send [23:36:19]OFD Sender: No OFD packet to send [23:36:24]OFD Sender: No OFD packet to send [23:36:29]OFD Sender: No OFD packet to send [23:36:34]OFD Sender: No OFD packet to send [23:36:39]OFD Sender: No OFD packet to send [23:36:44]OFD Sender: No OFD packet to send [23:36:49]OFD Sender: No OFD packet to send [23:36:54]OFD Sender: No OFD packet to send [23:36:59]OFD Sender: No OFD packet to send [23:37:04]OFD Sender: No OFD packet to send [23:37:09]OFD Sender: No OFD packet to send [23:37:14]OFD Sender: No OFD packet to send [23:37:19]OFD Sender: No OFD packet to send [23:37:24]OFD Sender: No OFD packet to send [23:37:29]OFD Sender: No OFD packet to send [23:37:34]OFD Sender: No OFD packet to send [23:37:39]OFD Sender: No OFD packet to send [23:37:44]OFD Sender: No OFD packet to send [23:37:49]OFD Sender: No OFD packet to send [23:37:54]OFD Sender: No OFD packet to send [23:37:59]OFD Sender: No OFD packet to send [23:38:04]OFD Sender: No OFD packet to send [23:38:09]OFD Sender: No OFD packet to send [23:38:14]OFD Sender: No OFD packet to send [23:38:19]OFD Sender: No OFD packet to send [23:38:24]OFD Sender: No OFD packet to send [23:38:29]OFD Sender: No OFD packet to send [23:38:34]OFD Sender: No OFD packet to send [23:38:39]OFD Sender: No OFD packet to send [23:38:44]OFD Sender: No OFD packet to send [23:38:49]OFD Sender: No OFD packet to send [23:38:54]OFD Sender: No OFD packet to send [23:38:59]OFD Sender: No OFD packet to send [23:39:04]OFD Sender: No OFD packet to send [23:39:10]OFD Sender: No OFD packet to send [23:39:15]OFD Sender: No OFD packet to send [23:39:20]OFD Sender: No OFD packet to send [23:39:25]OFD Sender: No OFD packet to send [23:39:30]OFD Sender: No OFD packet to send [23:39:35]OFD Sender: No OFD packet to send [23:39:40]OFD Sender: No OFD packet to send [23:39:45]OFD Sender: No OFD packet to send [23:39:50]OFD Sender: No OFD packet to send [23:39:55]OFD Sender: No OFD packet to send [23:40:00]OFD Sender: No OFD packet to send [23:40:05]OFD Sender: No OFD packet to send [23:40:10]OFD Sender: No OFD packet to send [23:40:15]OFD Sender: No OFD packet to send [23:40:20]OFD Sender: No OFD packet to send [23:40:25]OFD Sender: No OFD packet to send [23:40:30]OFD Sender: No OFD packet to send [23:40:35]OFD Sender: No OFD packet to send [23:40:40]OFD Sender: No OFD packet to send [23:40:45]OFD Sender: No OFD packet to send [23:40:50]OFD Sender: No OFD packet to send [23:40:55]OFD Sender: No OFD packet to send [23:41:00]OFD Sender: No OFD packet to send [23:41:05]OFD Sender: No OFD packet to send [23:41:10]OFD Sender: No OFD packet to send [23:41:15]OFD Sender: No OFD packet to send [23:41:20]OFD Sender: No OFD packet to send [23:41:25]OFD Sender: No OFD packet to send [23:41:30]OFD Sender: No OFD packet to send [23:41:35]OFD Sender: No OFD packet to send [23:41:40]OFD Sender: No OFD packet to send [23:41:45]OFD Sender: No OFD packet to send [23:41:50]OFD Sender: No OFD packet to send [23:41:55]OFD Sender: No OFD packet to send [23:42:00]OFD Sender: No OFD packet to send [23:42:05]OFD Sender: No OFD packet to send [23:42:10]OFD Sender: No OFD packet to send [23:42:15]OFD Sender: No OFD packet to send [23:42:20]OFD Sender: No OFD packet to send [23:42:25]OFD Sender: No OFD packet to send [23:42:30]OFD Sender: No OFD packet to send [23:42:35]OFD Sender: No OFD packet to send [23:42:40]OFD Sender: No OFD packet to send [23:42:45]OFD Sender: No OFD packet to send [23:42:50]OFD Sender: No OFD packet to send [23:42:55]OFD Sender: No OFD packet to send [23:43:00]OFD Sender: No OFD packet to send [23:43:05]OFD Sender: No OFD packet to send [23:43:10]OFD Sender: No OFD packet to send [23:43:15]OFD Sender: No OFD packet to send [23:43:20]OFD Sender: No OFD packet to send [23:43:25]OFD Sender: No OFD packet to send [23:43:30]OFD Sender: No OFD packet to send [23:43:35]OFD Sender: No OFD packet to send [23:43:40]OFD Sender: No OFD packet to send [23:43:45]OFD Sender: No OFD packet to send [23:43:50]OFD Sender: No OFD packet to send [23:43:55]OFD Sender: No OFD packet to send [23:44:00]OFD Sender: No OFD packet to send [23:44:05]OFD Sender: No OFD packet to send [23:44:10]OFD Sender: No OFD packet to send [23:44:15]OFD Sender: No OFD packet to send [23:44:20]OFD Sender: No OFD packet to send [23:44:25]OFD Sender: No OFD packet to send [23:44:30]OFD Sender: No OFD packet to send [23:44:35]OFD Sender: No OFD packet to send [23:44:40]OFD Sender: No OFD packet to send [23:44:45]OFD Sender: No OFD packet to send [23:44:50]OFD Sender: No OFD packet to send [23:44:55]OFD Sender: No OFD packet to send [23:45:00]OFD Sender: No OFD packet to send [23:45:05]OFD Sender: No OFD packet to send [23:45:10]OFD Sender: No OFD packet to send [23:45:15]OFD Sender: No OFD packet to send [23:45:20]OFD Sender: No OFD packet to send [23:45:25]OFD Sender: No OFD packet to send [23:45:30]OFD Sender: No OFD packet to send [23:45:35]OFD Sender: No OFD packet to send [23:45:40]OFD Sender: No OFD packet to send [23:45:45]OFD Sender: No OFD packet to send [23:45:50]OFD Sender: No OFD packet to send [23:45:55]OFD Sender: No OFD packet to send [23:46:00]OFD Sender: No OFD packet to send [23:46:05]OFD Sender: No OFD packet to send [23:46:10]OFD Sender: No OFD packet to send [23:46:15]OFD Sender: No OFD packet to send [23:46:20]OFD Sender: No OFD packet to send [23:46:25]OFD Sender: No OFD packet to send [23:46:30]OFD Sender: No OFD packet to send [23:46:35]OFD Sender: No OFD packet to send [23:46:40]OFD Sender: No OFD packet to send [23:46:45]OFD Sender: No OFD packet to send [23:46:50]OFD Sender: No OFD packet to send [23:46:55]OFD Sender: No OFD packet to send [23:47:00]OFD Sender: No OFD packet to send [23:47:05]OFD Sender: No OFD packet to send [23:47:10]OFD Sender: No OFD packet to send [23:47:15]OFD Sender: No OFD packet to send [23:47:20]OFD Sender: No OFD packet to send [23:47:25]OFD Sender: No OFD packet to send [23:47:30]OFD Sender: No OFD packet to send [23:47:35]OFD Sender: No OFD packet to send [23:47:40]OFD Sender: No OFD packet to send [23:47:45]OFD Sender: No OFD packet to send [23:47:50]OFD Sender: No OFD packet to send [23:47:55]OFD Sender: No OFD packet to send [23:48:00]OFD Sender: No OFD packet to send [23:48:05]OFD Sender: No OFD packet to send [23:48:10]OFD Sender: No OFD packet to send [23:48:15]OFD Sender: No OFD packet to send [23:48:20]OFD Sender: No OFD packet to send [23:48:25]OFD Sender: No OFD packet to send [23:48:30]OFD Sender: No OFD packet to send [23:48:35]OFD Sender: No OFD packet to send [23:48:40]OFD Sender: No OFD packet to send [23:48:45]OFD Sender: No OFD packet to send [23:48:50]OFD Sender: No OFD packet to send [23:48:55]OFD Sender: No OFD packet to send [23:49:00]OFD Sender: No OFD packet to send [23:49:05]OFD Sender: No OFD packet to send [23:49:10]OFD Sender: No OFD packet to send [23:49:15]OFD Sender: No OFD packet to send [23:49:20]OFD Sender: No OFD packet to send [23:49:25]OFD Sender: No OFD packet to send [23:49:30]OFD Sender: No OFD packet to send [23:49:35]OFD Sender: No OFD packet to send [23:49:40]OFD Sender: No OFD packet to send [23:49:45]OFD Sender: No OFD packet to send [23:49:50]OFD Sender: No OFD packet to send [23:49:55]OFD Sender: No OFD packet to send [23:50:00]OFD Sender: No OFD packet to send [23:50:05]OFD Sender: No OFD packet to send [23:50:10]OFD Sender: No OFD packet to send [23:50:15]OFD Sender: No OFD packet to send [23:50:20]OFD Sender: No OFD packet to send [23:50:25]OFD Sender: No OFD packet to send [23:50:30]OFD Sender: No OFD packet to send [23:50:35]OFD Sender: No OFD packet to send [23:50:40]OFD Sender: No OFD packet to send [23:50:45]OFD Sender: No OFD packet to send [23:50:50]OFD Sender: No OFD packet to send [23:50:55]OFD Sender: No OFD packet to send [23:51:00]OFD Sender: No OFD packet to send [23:51:05]OFD Sender: No OFD packet to send [23:51:10]OFD Sender: No OFD packet to send [23:51:15]OFD Sender: No OFD packet to send [23:51:20]OFD Sender: No OFD packet to send [23:51:25]OFD Sender: No OFD packet to send [23:51:30]OFD Sender: No OFD packet to send [23:51:35]OFD Sender: No OFD packet to send [23:51:40]OFD Sender: No OFD packet to send [23:51:45]OFD Sender: No OFD packet to send [23:51:50]OFD Sender: No OFD packet to send [23:51:55]OFD Sender: No OFD packet to send [23:52:00]OFD Sender: No OFD packet to send [23:52:05]OFD Sender: No OFD packet to send [23:52:10]OFD Sender: No OFD packet to send [23:52:15]OFD Sender: No OFD packet to send [23:52:20]OFD Sender: No OFD packet to send [23:52:25]OFD Sender: No OFD packet to send [23:52:30]OFD Sender: No OFD packet to send [23:52:35]OFD Sender: No OFD packet to send [23:52:40]OFD Sender: No OFD packet to send [23:52:45]OFD Sender: No OFD packet to send [23:52:50]OFD Sender: No OFD packet to send [23:52:55]OFD Sender: No OFD packet to send [23:53:00]OFD Sender: No OFD packet to send [23:53:05]OFD Sender: No OFD packet to send [23:53:10]OFD Sender: No OFD packet to send [23:53:15]OFD Sender: No OFD packet to send [23:53:20]OFD Sender: No OFD packet to send [23:53:25]OFD Sender: No OFD packet to send [23:53:30]OFD Sender: No OFD packet to send [23:53:35]OFD Sender: No OFD packet to send [23:53:40]OFD Sender: No OFD packet to send [23:53:45]OFD Sender: No OFD packet to send [23:53:50]OFD Sender: No OFD packet to send [23:53:55]OFD Sender: No OFD packet to send [23:54:00]OFD Sender: No OFD packet to send [23:54:05]OFD Sender: No OFD packet to send [23:54:10]OFD Sender: No OFD packet to send [23:54:15]OFD Sender: No OFD packet to send [23:54:20]OFD Sender: No OFD packet to send [23:54:25]OFD Sender: No OFD packet to send [23:54:30]OFD Sender: No OFD packet to send [23:54:35]OFD Sender: No OFD packet to send [23:54:40]OFD Sender: No OFD packet to send [23:54:45]OFD Sender: No OFD packet to send [23:54:50]OFD Sender: No OFD packet to send [23:54:55]OFD Sender: No OFD packet to send [23:55:00]OFD Sender: No OFD packet to send [23:55:05]OFD Sender: No OFD packet to send [23:55:10]OFD Sender: No OFD packet to send [23:55:15]OFD Sender: No OFD packet to send [23:55:20]OFD Sender: No OFD packet to send [23:55:25]OFD Sender: No OFD packet to send [23:55:30]OFD Sender: No OFD packet to send [23:55:35]OFD Sender: No OFD packet to send [23:55:40]OFD Sender: No OFD packet to send [23:55:45]OFD Sender: No OFD packet to send [23:55:50]OFD Sender: No OFD packet to send [23:55:50]accept exits with 9 [23:55:50]New connection [23:55:50]New thread 3067432292 created [23:55:50]Thread 3067288932 joined [23:55:50]Waiting for new connection... [23:55:50] Sock 9.Parse request [23:55:50]Sock 9.Check first char [23:55:50]Sock 9.First char is OK [23:55:50]request: POST /json_proto HTTP/1.0 [23:55:50]Method: POST [23:55:50]URL: /json_proto [23:55:50]Method is POST - this is cgi request [23:55:50]url: /json_proto [23:55:50]query_string will be loaded in cgi processing [23:55:50]execute_cgi json_proto POST (null) [23:55:50]execute_cgi path=json_proto method=POST [23:55:50]POST find Content-Length [23:55:50]Host: 172.17.40.196:8080 [23:55:50]Content-Length: 953 [23:55:50]Content-Type: application/json [23:55:50] [23:55:50]POST finish read [23:55:50]Found Content-Length = 953 [23:55:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35289", "tax_sys" : 0, "items" : [ { "code": "4700001060176", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u041A\u0412 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D 0,5\u043B", "price" : 830.00, "quantity" : 1.000, "sum" : 830.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 985.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:50]execute_script... [23:55: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)35289", "tax_sys" : 0, "items" : [ { "code": "4700001060176", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u041A\u0412 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D 0,5\u043B", "price" : 830.00, "quantity" : 1.000, "sum" : 830.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 985.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:50]POST & json_proto [23:55:50]process_json_proto [23:55:50]json parsed OK: [23:55:50]protocol is kg_v1.0 [23:55:50]action value=close_receipt [23:55:50]process_action close_receipt [23:55:50]cmd_close_receipt [23:55:50]MH_GetDate [23:55:50]Write to MH i2c: F0 00 00 3F 08 36 [23:55:50]Write i2c OK [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: F0 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: F0 09 00 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: F0 09 00 3F 08 00 89 C7 22 67 5B 68 A1 66 E2 [23:55:50]GetLastDocTimeStamp 1730330991 [23:55:50]current date 1730332553 [23:55:50]FM_GetShiftState [23:55:50]SAM_PROTO_GetShiftState [23:55:50]wFMCommunicate request_size=4 [23:55:50]MH_SAM_APDU [23:55:50]CAPDU: 80 13 01 00 [23:55:50]Write to MH i2c: E2 08 00 40 08 80 13 01 00 00 00 00 00 C5 [23:55:50]Write i2c OK [23:55:50]MH_I2C_Read... [23:55:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:51]Read from MH i2c: E2 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: E2 0E 00 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: E2 0E 00 40 08 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 86 [23:55:51]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [23:55:51]wFMCommunicate OK [23:55:51]SAM_PROTO_GetShiftState done [23:55:51]FM_GetShiftState done [23:55:51]opened in 1730246837 [23:55:51]opened+sec_in_day 1730333237 [23:55:51]quantity*price = 83000 [23:55:51]sum+1 = 83001 [23:55:51]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000000439 Напиток Кока-Кола 1,5л 1.000 * 155.00 = 155.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 985.00 НСП 1% : 8.71 НДС 12% : 104.60 Наличными: 985.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 72 30.10.2024 23:55 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37990 ФПД: 39914706926382 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T235553&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37990&fm=39914706926382&tin=02508201610067®Number=0000000000091684&sum=98500 0 [23:55:52]StoreToDocumentArchive [23:55:52]shift 553 fd 37990 [23:55:52]save to /storage/0553/doc_00037990 [23:55:52]save last doc name /storage/0553/doc_00037990 to /storage/kkm_last_doc_name [23:55:52]save OK [23:55:52]Clear old archive folders... [23:55:52]ProcessDocumentItem done err = 0, tmpTLVsize=396 [23:55:52]tlvbuf is 005F01A0 [23:55:52]SAM_PROTO_ClearQueue [23:55:52]wFMCommunicate request_size=4 [23:55:52]MH_SAM_APDU [23:55:52]CAPDU: 80 09 00 00 [23:55:52]Write to MH i2c: E2 08 00 4D 08 80 09 00 00 00 00 00 00 C7 [23:55:52]Write i2c OK [23:55:52]MH_I2C_Read... [23:55:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:55:52]Read from MH i2c: E2 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 03 00 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 03 00 4D 08 00 90 00 C9 [23:55:52]RAPDU: 90 00 [23:55:52]wFMCommunicate OK [23:55:52]SAM_PROTO_ClearQueue done [23:55:52]KKMCreateOFDPacket [23:55:52]OFDProtocolAddRootSTLVToBuf [23:55:52]FM_MakeSignedData [23:55:52]FM_MakeSignedData [23:55:52]SAM_PROTO_SignData [23:55:52]wFMCommunicate request_size=4 [23:55:52]MH_SAM_APDU [23:55:52]CAPDU: 80 0D 01 02 [23:55:52]Write to MH i2c: E2 08 00 4E 08 80 0D 01 02 00 00 00 00 CF [23:55:52]Write i2c OK [23:55:52]MH_I2C_Read... [23:55:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:55:52]Read from MH i2c: E2 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 03 00 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 03 00 4E 08 00 90 00 CA [23:55:52]RAPDU: 90 00 [23:55:52]wFMCommunicate OK [23:55:52]wFMCommunicate request_size=255 [23:55:52]MH_SAM_APDU [23:55:52]CAPDU: 80 0D 02 02 FA 03 00 8C 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 37 36 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 44 01 00 00 00 13 04 06 00 38 44 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 80 01 00 00 00 EB 03 26 00 EF [23:55:52]Write to MH i2c: E2 02 01 4F 08 80 0D 02 02 FA 00 03 00 8C 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 37 36 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 44 01 00 00 00 13 04 06 00 38 44 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 80 01 00 00 00 EB 03 26 00 EF 00 00 90 [23:55:52]Write i2c OK [23:55:52]MH_I2C_Read... [23:55:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:52]Read from MH i2c: E2 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 03 00 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 03 00 4F 08 00 90 00 CB [23:55:52]RAPDU: 90 00 [23:55:52]wFMCommunicate OK [23:55:52]wFMCommunicate request_size=155 [23:55:52]MH_SAM_APDU [23:55:52]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 28 00 00 00 00 07 04 06 00 C4 80 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 89 C7 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 66 94 00 00 35 04 06 00 24 4D 5D ED 7B 2E [23:55:52]Write to MH i2c: E2 9E 00 50 08 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 28 00 00 00 00 07 04 06 00 C4 80 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 89 C7 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 66 94 00 00 35 04 06 00 24 4D 5D ED 7B 2E 00 00 95 [23:55:52]Write i2c OK [23:55:52]MH_I2C_Read... [23:55:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:52]Read from MH i2c: E2 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 03 00 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 03 00 50 08 00 90 00 CC [23:55:52]RAPDU: 90 00 [23:55:52]wFMCommunicate OK [23:55:52]wFMCommunicate request_size=4 [23:55:52]MH_SAM_APDU [23:55:52]CAPDU: 80 0D 03 02 [23:55:52]Write to MH i2c: E2 08 00 51 08 80 0D 03 02 00 00 00 00 D4 [23:55:52]Write i2c OK [23:55:52]MH_I2C_Read... [23:55:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:55:52]Read from MH i2c: E2 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 0B 00 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 0B 00 51 08 00 A2 FA 52 F8 96 EC 23 73 90 00 D3 [23:55:52]RAPDU: A2 FA 52 F8 96 EC 23 73 90 00 [23:55:52]wFMCommunicate OK [23:55:52]SAM_PROTO_SignData done [23:55:52]FM_MakeSignedData done [23:55:52]CreateOFDProtocolMessage [23:55:52]wFMCommunicate request_size=4 [23:55:52]MH_SAM_APDU [23:55:52]CAPDU: 80 11 00 00 [23:55:52]Write to MH i2c: E2 08 00 52 08 80 11 00 00 00 00 00 00 D4 [23:55:52]Write i2c OK [23:55:52]MH_I2C_Read... [23:55:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:52]Read from MH i2c: E2 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 17 00 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 17 00 52 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 24 [23:55:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:55:52]wFMCommunicate OK [23:55:52]CreateOFDProtocolMessage done [23:55:52]OFDSenderStorePacket 37990 [23:55:52]StoreOFDPacket docnum=37990 [23:55:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 A0 01 00 00 79 1F 98 01 74 D3 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 37 36 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 44 01 00 00 00 13 04 06 00 38 44 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 80 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 28 00 00 00 00 07 04 06 00 C4 80 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 89 C7 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 66 94 00 00 35 04 06 00 24 4D 5D ED 7B 2E A2 FA 52 F8 96 EC 23 73 [23:55:52]CheckFolder [23:55:52]dirname=/storage/ofd_packets [23:55:52]CheckFolder done [23:55:52]ProducePacketName [23:55:52]name=ofd_packets/00037990 [23:55:52]NVStorageSaveData ofd_packets/00037990 [23:55:52]File name is /storage/ofd_packets/00037990 [23:55:52]Write 446 bytes [23:55:52]NVStorageSaveData done [23:55:52]OFDSenderStorePacket done [23:55:52]KKMCreateOFDPacket done [23:55:52]NVStorageSaveData kkm_last_timestamp [23:55:52]File name is /storage/kkm_last_timestamp [23:55:52]Write 4 bytes [23:55:52]NVStorageSaveData done [23:55:52]ExternCall_PrintAddStr [23:55:52]wPrintStart [23:55:52]Write to MH i2c: 01 00 00 53 08 5B [23:55:52]Write i2c OK [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: 01 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: 01 07 00 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: 01 07 00 53 08 00 00 00 00 00 FF 0F 70 [23:55:52]RasterBufferAndPrint [23:55:52]line Счет N : (3)35289 [23:55:52]line ИНН: 02508201610067 [23:55:53]line Контрольно-Кассовый Чек [23:55:53]line ПРОДАЖА [23:55:53]line Товар: 4700001060176 [23:55:53]line Коньяк КВ Кыргызстан 0,5л [23:55:53]line 1.000 * 830.00 [23:55:53]line = 830.00 [23:55:53]line НДС 12% НСП 1% [23:55:53]line > о реализуемом товаре [23:55:53]line Товар: 5449000000439 [23:55:53]line Напиток Кока-Кола 1,5л [23:55:53]line 1.000 * 155.00 [23:55:53]line = 155.00 [23:55:53]line НДС 12% НСП 1% [23:55:53]line > о реализуемом товаре [23:55:53]line ИТОГО: 985.00 [23:55:53]line НСП 1% : 8.71 [23:55:53]line НДС 12% : 104.60 [23:55:53]line Наличными: 985.00 [23:55:53]line Безнал.: 0.00 [23:55:53]line Место: АЗС № 126 "Партнер Нефть" [23:55:53]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [23:55:53]line СНО: Общий режим [23:55:53]line Чек 72 30.10.2024 23:55 [23:55:53]line Смена: 553 ФФД: 1.0 [23:55:53]line ЗНМ: 0300000092 [23:55:53]line РНМ: 0000000000091684 [23:55:53]line Версия ККМ: 001 [23:55:53]line ФМ: 0000000000871841 [23:55:53]line ФД: 37990 [23:55:53]line ФПД: 39914706926382 [23:55:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T235553&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37990&fm=39914706926382&tin=02508201610067®Number=0000000000091684&sum=98500 [23:55:53]line 0 [23:55:53]OFD Sender: Processing packet 37990 [packets to send 42, broken 41] [23:55:53]ProducePacketName [23:55:53]name=ofd_packets/00037990 [23:55:53]OFD Sender: To server: pG, [23:55:53]CommunicateWithHost lk.salyk.kg:30040 [23:55:53]ConnectInit lk.salyk.kg [23:55:53]written 0, free lines is 4095 [23:55:53]Connected sock=10 [23:55:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 A0 01 00 00 79 1F 98 01 74 D3 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 37 36 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 44 01 00 00 00 13 04 06 00 38 44 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 80 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 28 00 00 00 00 07 04 06 00 C4 80 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 89 C7 22 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 66 94 00 00 35 04 06 00 24 4D 5D ED 7B 2E A2 FA 52 F8 96 EC 23 73 [23:55:53]Write to MH i2c: 01 00 00 81 08 89 [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: 01 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: 01 07 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: 01 07 00 81 08 00 00 00 00 00 7E 0C 1A [23:55:53]RasterBufferAndPrint [23:55:53]line [23:55:53]line [23:55:53]line [23:55:53]line [23:55:53]line [23:55:53]written 0, free lines is 3205 [23:55:53]MH_Cut [23:55:53]Write to MH i2c: D1 01 00 88 08 01 62 [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: D1 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: D1 01 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: D1 01 00 88 08 00 61 [23:55:53]Write to MH i2c: 01 00 00 89 08 91 [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:54]*** Cut start [23:55:54]*** Partial cut [23:55:54]*** CUTSNS_PIN = 1 [23:55:54]*** CUTSNS_PIN = 0 [23:55:54]*** Brake cut motor [23:55:55]Read from MH i2c: 01 [23:55:55]MH_I2C_Read... [23:55:55]*** Stop cut motor [23:55:55]*** Cut end [23:55:55]Read from MH i2c: 01 07 00 [23:55:55]MH_I2C_Read... [23:55:55]Read from MH i2c: 01 07 00 89 08 00 00 00 00 00 FF 0F A6 [23:55:55]process_action close_receipt done [23:55:55]requested_data is exist [23:55:55]produce_requested_data [23:55:55]requested_item fm.sn is exist - process it [23:55:55]wFMCommunicate request_size=4 [23:55:55]MH_SAM_APDU [23:55:55]CAPDU: 80 11 00 00 [23:55:55]Write to MH i2c: E2 08 00 8A 08 80 11 00 00 00 00 00 00 0C [23:55:55]Write i2c OK [23:55:55]MH_I2C_Read... [23:55:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:55]Read from MH i2c: E2 [23:55:55]MH_I2C_Read... [23:55:55]Read from MH i2c: E2 17 00 [23:55:55]MH_I2C_Read... [23:55:55]Read from MH i2c: E2 17 00 8A 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 5C [23:55:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:55:55]wFMCommunicate OK [23:55:55]requested_item fd.num is exist - process it [23:55:55]SAM_PROTO_GetFieldsCounters [23:55:55]wFMCommunicate request_size=4 [23:55:55]MH_SAM_APDU [23:55:55]CAPDU: 80 13 00 00 [23:55:55]Write to MH i2c: E2 08 00 8B 08 80 13 00 00 00 00 00 00 0F [23:55:55]Write i2c OK [23:55:55]MH_I2C_Read... [23:55:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:55:55]Read from MH i2c: E2 [23:55:55]MH_I2C_Read... [23:55:55]Read from MH i2c: E2 62 00 [23:55:55]MH_I2C_Read... [23:55:55]Read from MH i2c: E2 62 00 8B 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 66 94 00 00 0E 04 04 00 29 02 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 2D [23:55:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 66 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:55:55]wFMCommunicate OK [23:55:55]SAM_PROTO_GetFieldsCounters done [23:55:55]requested_item shift.num is exist - process it [23:55:55]requested_item shift.opened is exist - process it [23:55:55]req_shift_opened [23:55:55]FM_GetShiftState [23:55:55]SAM_PROTO_GetShiftState [23:55:55]wFMCommunicate request_size=4 [23:55:55]MH_SAM_APDU [23:55:55]CAPDU: 80 13 01 00 [23:55:55]Write to MH i2c: E2 08 00 8C 08 80 13 01 00 00 00 00 00 11 [23:55:55]Write i2c OK [23:55:55]MH_I2C_Read... [23:55:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:55]Read from MH i2c: E2 [23:55:55]MH_I2C_Read... [23:55:55]Read from MH i2c: E2 0E 00 [23:55:55]MH_I2C_Read... [23:55:55]Read from MH i2c: E2 0E 00 8C 08 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 D2 [23:55:55]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [23:55:55]wFMCommunicate OK [23:55:55]SAM_PROTO_GetShiftState done [23:55:55]FM_GetShiftState done [23:55:55]req_shift_opened done [23:55:55]requested_item shift.open_date is exist - process it [23:55:55]req_shift_open_date [23:55:55]req_shift_open_date done [23:55:55]produce_requested_data done [23:55:55]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37990,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [23:55:55]process_action_free close_receipt [23:55:55]json_value_free [23:55:55]json_value_free done [23:55:55]process_json_proto returns [23:55:55]Send response to host [23:55:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37990,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [23:55:55]free response buf [23:55:55]execute_script done [23:55:55]execute_script returns [23:55:55]free content buf [23:55:55]Sock 9.Close socket [23:55:55]Sock 9.Thread stoped [23:55:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 B6 46 47 00 62 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 38 37 31 38 34 31 10 04 04 00 66 94 00 00 F4 03 04 00 76 72 22 67 B6 04 01 00 00 8A 0C 34 30 0C 6C 32 63 [23:55:55]CommunicateWithHost err = 0 [23:55:55]CheckOFDResponse [23:55:55]1017 (14) - 77093643461234 [23:55:55]1041 (16) - 0000000000871841 [23:55:55]1040 (4) - 37990 [23:55:55]1012 (4) - 30.10.2024 17:52 [23:55:55]1206 (1) - 0 [23:55:55]OFD Sender: Remove packet 37990 [23:55:55]ProducePacketName [23:55:55]name=ofd_packets/00037990 [23:55:55]NVStorageDeleteData [23:55:56]OFD Sender: No OFD packet to send [23:56:01]OFD Sender: No OFD packet to send [23:56:06]OFD Sender: No OFD packet to send [23:56:11]OFD Sender: No OFD packet to send [23:56:16]OFD Sender: No OFD packet to send [23:56:21]OFD Sender: No OFD packet to send [23:56:26]OFD Sender: No OFD packet to send [23:56:31]OFD Sender: No OFD packet to send [23:56:36]OFD Sender: No OFD packet to send [23:56:41]OFD Sender: No OFD packet to send [23:56:46]OFD Sender: No OFD packet to send [23:56:51]OFD Sender: No OFD packet to send [23:56:56]OFD Sender: No OFD packet to send [23:57:01]OFD Sender: No OFD packet to send [23:57:06]OFD Sender: No OFD packet to send [23:57:11]OFD Sender: No OFD packet to send [23:57:16]OFD Sender: No OFD packet to send [23:57:21]OFD Sender: No OFD packet to send [23:57:26]OFD Sender: No OFD packet to send [23:57:31]OFD Sender: No OFD packet to send [23:57:36]OFD Sender: No OFD packet to send [23:57:41]OFD Sender: No OFD packet to send [23:57:46]OFD Sender: No OFD packet to send [23:57:51]OFD Sender: No OFD packet to send [23:57:56]OFD Sender: No OFD packet to send [23:58:01]OFD Sender: No OFD packet to send [23:58:06]OFD Sender: No OFD packet to send [23:58:11]OFD Sender: No OFD packet to send [23:58:16]OFD Sender: No OFD packet to send [23:58:21]OFD Sender: No OFD packet to send [23:58:26]OFD Sender: No OFD packet to send [23:58:31]OFD Sender: No OFD packet to send [23:58:36]OFD Sender: No OFD packet to send [23:58:41]OFD Sender: No OFD packet to send [23:58:46]OFD Sender: No OFD packet to send [23:58:51]OFD Sender: No OFD packet to send [23:58:56]OFD Sender: No OFD packet to send [23:59:01]OFD Sender: No OFD packet to send [23:59:06]OFD Sender: No OFD packet to send [23:59:11]OFD Sender: No OFD packet to send [23:59:16]OFD Sender: No OFD packet to send [23:59:21]OFD Sender: No OFD packet to send [23:59:26]OFD Sender: No OFD packet to send [23:59:31]OFD Sender: No OFD packet to send [23:59:36]OFD Sender: No OFD packet to send [23:59:41]OFD Sender: No OFD packet to send [23:59:46]OFD Sender: No OFD packet to send [23:59:51]OFD Sender: No OFD packet to send [23:59:56]OFD Sender: No OFD packet to send [00:00:01]OFD Sender: No OFD packet to send [00:00:06]OFD Sender: No OFD packet to send [00:00:11]OFD Sender: No OFD packet to send [00:00:16]OFD Sender: No OFD packet to send [00:00:21]OFD Sender: No OFD packet to send [00:00:26]OFD Sender: No OFD packet to send [00:00:31]OFD Sender: No OFD packet to send [00:00:36]OFD Sender: No OFD packet to send [00:00:41]OFD Sender: No OFD packet to send [00:00:46]OFD Sender: No OFD packet to send [00:00:51]OFD Sender: No OFD packet to send [00:00:56]OFD Sender: No OFD packet to send [00:01:01]OFD Sender: No OFD packet to send [00:01:06]OFD Sender: No OFD packet to send [00:01:07]accept exits with 8 [00:01:07]New connection [00:01:07]New thread 3067288932 created [00:01:07]Thread 3067432292 joined [00:01:07]Waiting for new connection... [00:01:07] Sock 8.Parse request [00:01:07]Sock 8.Check first char [00:01:07]Sock 8.First char is OK [00:01:07]request: POST /json_proto HTTP/1.0 [00:01:07]Method: POST [00:01:07]URL: /json_proto [00:01:07]Method is POST - this is cgi request [00:01:07]url: /json_proto [00:01:07]query_string will be loaded in cgi processing [00:01:07]execute_cgi json_proto POST (null) [00:01:07]execute_cgi path=json_proto method=POST [00:01:07]POST find Content-Length [00:01:07]Host: 172.17.40.196:8080 [00:01:07]Content-Length: 215 [00:01:07]Content-Type: application/json [00:01:07] [00:01:07]POST finish read [00:01:07]Found Content-Length = 215 [00:01:07]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:01:07]execute_script... [00:01:07]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:01:07]POST & json_proto [00:01:07]process_json_proto [00:01:07]json parsed OK: [00:01:07]protocol is kg_v1.0 [00:01:07]action value=get_value [00:01:07]process_action get_value [00:01:07]cmd_get_value [00:01:07]process_action get_value done [00:01:07]requested_data is exist [00:01:07]produce_requested_data [00:01:07]requested_item kkm.sn is exist - process it [00:01:07]requested_item kkm.ver is exist - process it [00:01:07]requested_item fm.sn is exist - process it [00:01:07]wFMCommunicate request_size=4 [00:01:07]MH_SAM_APDU [00:01:07]CAPDU: 80 11 00 00 [00:01:07]Write to MH i2c: E2 08 00 8D 08 80 11 00 00 00 00 00 00 0F [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:07]Read from MH i2c: E2 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 17 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 17 00 8D 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 5F [00:01:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:01:07]wFMCommunicate OK [00:01:07]requested_item fd.num is exist - process it [00:01:07]SAM_PROTO_GetFieldsCounters [00:01:07]wFMCommunicate request_size=4 [00:01:07]MH_SAM_APDU [00:01:07]CAPDU: 80 13 00 00 [00:01:07]Write to MH i2c: E2 08 00 8E 08 80 13 00 00 00 00 00 00 12 [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:07]Read from MH i2c: E2 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 62 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 62 00 8E 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 66 94 00 00 0E 04 04 00 29 02 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 30 [00:01:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 66 94 00 00 0E 04 04 00 29 02 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 [00:01:07]wFMCommunicate OK [00:01:07]SAM_PROTO_GetFieldsCounters done [00:01:07]requested_item shift.num is exist - process it [00:01:07]requested_item shift.opened is exist - process it [00:01:07]req_shift_opened [00:01:07]FM_GetShiftState [00:01:07]SAM_PROTO_GetShiftState [00:01:07]wFMCommunicate request_size=4 [00:01:07]MH_SAM_APDU [00:01:07]CAPDU: 80 13 01 00 [00:01:07]Write to MH i2c: E2 08 00 8F 08 80 13 01 00 00 00 00 00 14 [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:07]Read from MH i2c: E2 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 0E 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 0E 00 8F 08 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 D5 [00:01:07]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [00:01:07]wFMCommunicate OK [00:01:07]SAM_PROTO_GetShiftState done [00:01:07]FM_GetShiftState done [00:01:07]req_shift_opened done [00:01:07]requested_item shift.open_date is exist - process it [00:01:07]req_shift_open_date [00:01:07]req_shift_open_date done [00:01:07]produce_requested_data done [00:01:07]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37990,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [00:01:07]process_action_free get_value [00:01:07]json_value_free [00:01:07]json_value_free done [00:01:07]process_json_proto returns [00:01:07]Send response to host [00:01:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37990,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [00:01:07]free response buf [00:01:07]execute_script done [00:01:07]execute_script returns [00:01:07]free content buf [00:01:07]Sock 8.Close socket [00:01:07]Sock 8.Thread stoped [00:01:07]accept exits with 9 [00:01:07]New connection [00:01:07]New thread 3067432292 created [00:01:07]Thread 3067288932 joined [00:01:07]Waiting for new connection... [00:01:07] Sock 9.Parse request [00:01:07]Sock 9.Check first char [00:01:07]Sock 9.First char is OK [00:01:07]request: POST /json_proto HTTP/1.0 [00:01:07]Method: POST [00:01:07]URL: /json_proto [00:01:07]Method is POST - this is cgi request [00:01:07]url: /json_proto [00:01:07]query_string will be loaded in cgi processing [00:01:07]execute_cgi json_proto POST (null) [00:01:07]execute_cgi path=json_proto method=POST [00:01:07]POST find Content-Length [00:01:07]Host: 172.17.40.196:8080 [00:01:07]Content-Length: 331 [00:01:07]Content-Type: application/json [00:01:07] [00:01:07]POST finish read [00:01:07]Found Content-Length = 331 [00:01:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:07]execute_script... [00:01:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:08]POST & json_proto [00:01:08]process_json_proto [00:01:08]json parsed OK: [00:01:08]protocol is kg_v1.0 [00:01:08]action value=get_value [00:01:08]process_action get_value [00:01:08]cmd_get_value [00:01:08]process_action get_value done [00:01:08]requested_data is exist [00:01:08]produce_requested_data [00:01:08]requested_item fm.sale.total is exist - process it [00:01:08]SAM_PROTO_GetFMData [00:01:08]wFMCommunicate request_size=4 [00:01:08]MH_SAM_APDU [00:01:08]CAPDU: 80 13 03 00 [00:01:08]Write to MH i2c: E2 08 00 90 08 80 13 03 00 00 00 00 00 17 [00:01:08]Write i2c OK [00:01:08]MH_I2C_Read... [00:01:08]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:01:08]Read from MH i2c: E2 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 FD 00 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 FD 00 90 08 00 C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 80 [00:01:08]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:01:08]wFMCommunicate OK [00:01:08]wFMCommunicate request_size=4 [00:01:08]MH_SAM_APDU [00:01:08]CAPDU: 80 17 00 00 [00:01:08]Write to MH i2c: E2 08 00 91 08 80 17 00 00 00 00 00 00 19 [00:01:08]Write i2c OK [00:01:08]MH_I2C_Read... [00:01:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:08]Read from MH i2c: E2 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 FD 00 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 FD 00 91 08 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 14 [00:01:08]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:01:08]wFMCommunicate OK [00:01:08]wFMCommunicate request_size=4 [00:01:08]MH_SAM_APDU [00:01:08]CAPDU: 80 17 00 00 [00:01:08]Write to MH i2c: E2 08 00 92 08 80 17 00 00 00 00 00 00 1A [00:01:08]Write i2c OK [00:01:08]MH_I2C_Read... [00:01:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:09]Read from MH i2c: E2 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 FD 00 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 FD 00 92 08 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 BD [00:01:09]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:01:09]wFMCommunicate OK [00:01:09]wFMCommunicate request_size=4 [00:01:09]MH_SAM_APDU [00:01:09]CAPDU: 80 17 00 00 [00:01:09]Write to MH i2c: E2 08 00 93 08 80 17 00 00 00 00 00 00 1B [00:01:09]Write i2c OK [00:01:09]MH_I2C_Read... [00:01:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:09]Read from MH i2c: E2 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 FD 00 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 FD 00 93 08 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 93 [00:01:09]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:01:09]wFMCommunicate OK [00:01:09]wFMCommunicate request_size=4 [00:01:09]MH_SAM_APDU [00:01:09]CAPDU: 80 17 00 00 [00:01:09]Write to MH i2c: E2 08 00 94 08 80 17 00 00 00 00 00 00 1C [00:01:09]Write i2c OK [00:01:09]MH_I2C_Read... [00:01:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:01:09]Read from MH i2c: E2 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 DD 00 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 DD 00 94 08 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 04 [00:01:09]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:09]wFMCommunicate OK [00:01:09]SAM_PROTO_GetFMData done [00:01:09]requested_item fm.sale_refund.total is exist - process it [00:01:09]requested_item fm.buy.total is exist - process it [00:01:09]requested_item shift.sale.total is exist - process it [00:01:09]SAM_PROTO_GetShiftData [00:01:09]wFMCommunicate request_size=4 [00:01:09]MH_SAM_APDU [00:01:09]CAPDU: 80 13 02 00 [00:01:09]Write to MH i2c: E2 08 00 95 08 80 13 02 00 00 00 00 00 1B [00:01:09]Write i2c OK [00:01:09]MH_I2C_Read... [00:01:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:01:10]Read from MH i2c: E2 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 FD 00 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 FD 00 95 08 00 AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 9F [00:01:10]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:01:10]wFMCommunicate OK [00:01:10]wFMCommunicate request_size=4 [00:01:10]MH_SAM_APDU [00:01:10]CAPDU: 80 17 00 00 [00:01:10]Write to MH i2c: E2 08 00 96 08 80 17 00 00 00 00 00 00 1E [00:01:10]Write i2c OK [00:01:10]MH_I2C_Read... [00:01:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:10]Read from MH i2c: E2 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 FD 00 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 FD 00 96 08 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 40 [00:01:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:01:10]wFMCommunicate OK [00:01:10]wFMCommunicate request_size=4 [00:01:10]MH_SAM_APDU [00:01:10]CAPDU: 80 17 00 00 [00:01:10]Write to MH i2c: E2 08 00 97 08 80 17 00 00 00 00 00 00 1F [00:01:10]Write i2c OK [00:01:10]MH_I2C_Read... [00:01:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:10]Read from MH i2c: E2 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 FD 00 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 FD 00 97 08 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 D6 [00:01:10]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:01:10]wFMCommunicate OK [00:01:10]wFMCommunicate request_size=4 [00:01:10]MH_SAM_APDU [00:01:10]CAPDU: 80 17 00 00 [00:01:10]Write to MH i2c: E2 08 00 98 08 80 17 00 00 00 00 00 00 20 [00:01:10]Write i2c OK [00:01:10]MH_I2C_Read... [00:01:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:10]Read from MH i2c: E2 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 FD 00 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: E2 FD 00 98 08 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 92 [00:01:11]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:01:11]wFMCommunicate OK [00:01:11]wFMCommunicate request_size=4 [00:01:11]MH_SAM_APDU [00:01:11]CAPDU: 80 17 00 00 [00:01:11]Write to MH i2c: E2 08 00 99 08 80 17 00 00 00 00 00 00 21 [00:01:11]Write i2c OK [00:01:11]MH_I2C_Read... [00:01:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:01:11]Read from MH i2c: E2 [00:01:11]MH_I2C_Read... [00:01:11]Read from MH i2c: E2 CB 00 [00:01:11]MH_I2C_Read... [00:01:11]Read from MH i2c: E2 CB 00 99 08 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0A [00:01:11]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:11]wFMCommunicate OK [00:01:11]SAM_PROTO_GetShiftData done [00:01:11]requested_item shift.sale.total_cash is exist - process it [00:01:11]requested_item shift.sale_refund.total is exist - process it [00:01:11]requested_item shift.sale_refund.total_cash is exist - process it [00:01:11]requested_item shift.buy.total is exist - process it [00:01:11]requested_item shift.buy.total_cash is exist - process it [00:01:11]produce_requested_data done [00:01:11]produce_requested_data return {"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15634.00,"shift.sale.total_cash":14248.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:01:11]process_action_free get_value [00:01:11]json_value_free [00:01:11]json_value_free done [00:01:11]process_json_proto returns [00:01:11]Send response to host [00:01:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15634.00,"shift.sale.total_cash":14248.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:01:11]free response buf [00:01:11]execute_script done [00:01:11]execute_script returns [00:01:11]free content buf [00:01:11]Sock 9.Close socket [00:01:11]Sock 9.Thread stoped [00:01:11]OFD Sender: No OFD packet to send [00:01:11]accept exits with 8 [00:01:11]New connection [00:01:11]New thread 3067288932 created [00:01:11]Thread 3067432292 joined [00:01:11]Waiting for new connection... [00:01:11] Sock 8.Parse request [00:01:11]Sock 8.Check first char [00:01:11]Sock 8.First char is OK [00:01:11]request: POST /json_proto HTTP/1.0 [00:01:11]Method: POST [00:01:11]URL: /json_proto [00:01:11]Method is POST - this is cgi request [00:01:11]url: /json_proto [00:01:11]query_string will be loaded in cgi processing [00:01:11]execute_cgi json_proto POST (null) [00:01:11]execute_cgi path=json_proto method=POST [00:01:11]POST find Content-Length [00:01:11]Host: 172.17.40.196:8080 [00:01:11]Content-Length: 331 [00:01:11]Content-Type: application/json [00:01:11] [00:01:11]POST finish read [00:01:11]Found Content-Length = 331 [00:01:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:11]execute_script... [00:01:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:11]POST & json_proto [00:01:11]process_json_proto [00:01:11]json parsed OK: [00:01:11]protocol is kg_v1.0 [00:01:11]action value=get_value [00:01:11]process_action get_value [00:01:11]cmd_get_value [00:01:11]process_action get_value done [00:01:11]requested_data is exist [00:01:11]produce_requested_data [00:01:11]requested_item fm.sale.total is exist - process it [00:01:11]SAM_PROTO_GetFMData [00:01:11]wFMCommunicate request_size=4 [00:01:11]MH_SAM_APDU [00:01:11]CAPDU: 80 13 03 00 [00:01:11]Write to MH i2c: E2 08 00 9A 08 80 13 03 00 00 00 00 00 21 [00:01:11]Write i2c OK [00:01:11]MH_I2C_Read... [00:01:11]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:01:11]Read from MH i2c: E2 [00:01:11]MH_I2C_Read... [00:01:11]Read from MH i2c: E2 FD 00 [00:01:11]MH_I2C_Read... [00:01:11]Read from MH i2c: E2 FD 00 9A 08 00 C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 8A [00:01:11]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:01:11]wFMCommunicate OK [00:01:11]wFMCommunicate request_size=4 [00:01:11]MH_SAM_APDU [00:01:11]CAPDU: 80 17 00 00 [00:01:11]Write to MH i2c: E2 08 00 9B 08 80 17 00 00 00 00 00 00 23 [00:01:11]Write i2c OK [00:01:11]MH_I2C_Read... [00:01:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:12]Read from MH i2c: E2 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: E2 FD 00 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: E2 FD 00 9B 08 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 1E [00:01:12]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:01:12]wFMCommunicate OK [00:01:12]wFMCommunicate request_size=4 [00:01:12]MH_SAM_APDU [00:01:12]CAPDU: 80 17 00 00 [00:01:12]Write to MH i2c: E2 08 00 9C 08 80 17 00 00 00 00 00 00 24 [00:01:12]Write i2c OK [00:01:12]MH_I2C_Read... [00:01:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:12]Read from MH i2c: E2 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: E2 FD 00 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: E2 FD 00 9C 08 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 C7 [00:01:12]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:01:12]wFMCommunicate OK [00:01:12]wFMCommunicate request_size=4 [00:01:12]MH_SAM_APDU [00:01:12]CAPDU: 80 17 00 00 [00:01:12]Write to MH i2c: E2 08 00 9D 08 80 17 00 00 00 00 00 00 25 [00:01:12]Write i2c OK [00:01:12]MH_I2C_Read... [00:01:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:12]Read from MH i2c: E2 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: E2 FD 00 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: E2 FD 00 9D 08 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 9D [00:01:12]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:01:13]wFMCommunicate OK [00:01:13]wFMCommunicate request_size=4 [00:01:13]MH_SAM_APDU [00:01:13]CAPDU: 80 17 00 00 [00:01:13]Write to MH i2c: E2 08 00 9E 08 80 17 00 00 00 00 00 00 26 [00:01:13]Write i2c OK [00:01:13]MH_I2C_Read... [00:01:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:01:13]Read from MH i2c: E2 [00:01:13]MH_I2C_Read... [00:01:13]Read from MH i2c: E2 DD 00 [00:01:13]MH_I2C_Read... [00:01:13]Read from MH i2c: E2 DD 00 9E 08 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0E [00:01:13]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:13]wFMCommunicate OK [00:01:13]SAM_PROTO_GetFMData done [00:01:13]requested_item fm.sale_refund.total is exist - process it [00:01:13]requested_item fm.buy.total is exist - process it [00:01:13]requested_item shift.sale.total is exist - process it [00:01:13]SAM_PROTO_GetShiftData [00:01:13]wFMCommunicate request_size=4 [00:01:13]MH_SAM_APDU [00:01:13]CAPDU: 80 13 02 00 [00:01:13]Write to MH i2c: E2 08 00 9F 08 80 13 02 00 00 00 00 00 25 [00:01:13]Write i2c OK [00:01:13]MH_I2C_Read... [00:01:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:01:13]Read from MH i2c: E2 [00:01:13]MH_I2C_Read... [00:01:13]Read from MH i2c: E2 FD 00 [00:01:13]MH_I2C_Read... [00:01:13]Read from MH i2c: E2 FD 00 9F 08 00 AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A9 [00:01:13]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:01:14]wFMCommunicate OK [00:01:14]wFMCommunicate request_size=4 [00:01:14]MH_SAM_APDU [00:01:14]CAPDU: 80 17 00 00 [00:01:14]Write to MH i2c: E2 08 00 A0 08 80 17 00 00 00 00 00 00 28 [00:01:14]Write i2c OK [00:01:14]MH_I2C_Read... [00:01:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:14]Read from MH i2c: E2 [00:01:14]MH_I2C_Read... [00:01:14]Read from MH i2c: E2 FD 00 [00:01:14]MH_I2C_Read... [00:01:14]Read from MH i2c: E2 FD 00 A0 08 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 4A [00:01:14]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:01:14]wFMCommunicate OK [00:01:14]wFMCommunicate request_size=4 [00:01:14]MH_SAM_APDU [00:01:14]CAPDU: 80 17 00 00 [00:01:14]Write to MH i2c: E2 08 00 A1 08 80 17 00 00 00 00 00 00 29 [00:01:14]Write i2c OK [00:01:14]MH_I2C_Read... [00:01:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:14]Read from MH i2c: E2 [00:01:14]MH_I2C_Read... [00:01:14]Read from MH i2c: E2 FD 00 [00:01:14]MH_I2C_Read... [00:01:14]Read from MH i2c: E2 FD 00 A1 08 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 E0 [00:01:14]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:01:14]wFMCommunicate OK [00:01:14]wFMCommunicate request_size=4 [00:01:14]MH_SAM_APDU [00:01:14]CAPDU: 80 17 00 00 [00:01:14]Write to MH i2c: E2 08 00 A2 08 80 17 00 00 00 00 00 00 2A [00:01:14]Write i2c OK [00:01:14]MH_I2C_Read... [00:01:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:15]Read from MH i2c: E2 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: E2 FD 00 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: E2 FD 00 A2 08 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 9C [00:01:15]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:01:15]wFMCommunicate OK [00:01:15]wFMCommunicate request_size=4 [00:01:15]MH_SAM_APDU [00:01:15]CAPDU: 80 17 00 00 [00:01:15]Write to MH i2c: E2 08 00 A3 08 80 17 00 00 00 00 00 00 2B [00:01:15]Write i2c OK [00:01:15]MH_I2C_Read... [00:01:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:01:15]Read from MH i2c: E2 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: E2 CB 00 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: E2 CB 00 A3 08 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 14 [00:01:15]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:15]wFMCommunicate OK [00:01:15]SAM_PROTO_GetShiftData done [00:01:15]requested_item shift.sale.total_cash is exist - process it [00:01:15]requested_item shift.sale_refund.total is exist - process it [00:01:15]requested_item shift.sale_refund.total_cash is exist - process it [00:01:15]requested_item shift.buy.total is exist - process it [00:01:15]requested_item shift.buy.total_cash is exist - process it [00:01:15]produce_requested_data done [00:01:15]produce_requested_data return {"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15634.00,"shift.sale.total_cash":14248.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:01:15]process_action_free get_value [00:01:15]json_value_free [00:01:15]json_value_free done [00:01:15]process_json_proto returns [00:01:15]Send response to host [00:01:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15634.00,"shift.sale.total_cash":14248.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:01:15]free response buf [00:01:15]execute_script done [00:01:15]execute_script returns [00:01:15]free content buf [00:01:15]Sock 8.Close socket [00:01:15]Sock 8.Thread stoped [00:01:15]accept exits with 9 [00:01:15]New connection [00:01:15]New thread 3067432292 created [00:01:15]Thread 3067288932 joined [00:01:15]Waiting for new connection... [00:01:15] Sock 9.Parse request [00:01:15]Sock 9.Check first char [00:01:15]Sock 9.First char is OK [00:01:15]request: POST /json_proto HTTP/1.0 [00:01:15]Method: POST [00:01:15]URL: /json_proto [00:01:15]Method is POST - this is cgi request [00:01:15]url: /json_proto [00:01:15]query_string will be loaded in cgi processing [00:01:15]execute_cgi json_proto POST (null) [00:01:15]execute_cgi path=json_proto method=POST [00:01:15]POST find Content-Length [00:01:15]Host: 172.17.40.196:8080 [00:01:15]Content-Length: 282 [00:01:15]Content-Type: application/json [00:01:15] [00:01:15]POST finish read [00:01:15]Found Content-Length = 282 [00:01:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0422\u0435\u043C\u0438\u0440\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:15]execute_script... [00:01:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0422\u0435\u043C\u0438\u0440\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:15]POST & json_proto [00:01:15]process_json_proto [00:01:15]json parsed OK: [00:01:15]protocol is kg_v1.0 [00:01:15]action value=x_report [00:01:15]process_action x_report [00:01:15]cmd_x_report [00:01:15]MH_GetDate [00:01:15]Write to MH i2c: F0 00 00 A4 08 9B [00:01:15]Write i2c OK [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: F0 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: F0 09 00 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: F0 09 00 A4 08 00 CD C8 22 67 5B 68 A1 66 8C [00:01:15]GetLastDocTimeStamp 1730332553 [00:01:15]current date 1730332877 [00:01:15]FM_GetShiftState [00:01:15]SAM_PROTO_GetShiftState [00:01:15]wFMCommunicate request_size=4 [00:01:15]MH_SAM_APDU [00:01:15]CAPDU: 80 13 01 00 [00:01:15]Write to MH i2c: E2 08 00 A5 08 80 13 01 00 00 00 00 00 2A [00:01:15]Write i2c OK [00:01:15]MH_I2C_Read... [00:01:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:15]Read from MH i2c: E2 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: E2 0E 00 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: E2 0E 00 A5 08 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 EB [00:01:15]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [00:01:15]wFMCommunicate OK [00:01:15]SAM_PROTO_GetShiftState done [00:01:15]FM_GetShiftState done [00:01:15]KKMCreateXReportDocument [00:01:15]Load OK [00:01:15]Malloc new data [00:01:15]MH_GetDate [00:01:15]Write to MH i2c: F0 00 00 A6 08 9D [00:01:15]Write i2c OK [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: F0 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: F0 09 00 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: F0 09 00 A6 08 00 CD C8 22 67 5B 68 A1 66 8E [00:01:15]Malloc new data [00:01:15]Malloc new data [00:01:15]wFMCommunicate request_size=4 [00:01:15]MH_SAM_APDU [00:01:15]CAPDU: 80 11 00 00 [00:01:15]Write to MH i2c: E2 08 00 A7 08 80 11 00 00 00 00 00 00 29 [00:01:15]Write i2c OK [00:01:15]MH_I2C_Read... [00:01:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:15]Read from MH i2c: E2 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: E2 17 00 [00:01:15]MH_I2C_Read... [00:01:15]Read from MH i2c: E2 17 00 A7 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 79 [00:01:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:01:15]wFMCommunicate OK [00:01:15]SAM_PROTO_GetFieldsCounters [00:01:15]wFMCommunicate request_size=4 [00:01:15]MH_SAM_APDU [00:01:15]CAPDU: 80 13 00 00 [00:01:15]Write to MH i2c: E2 08 00 A8 08 80 13 00 00 00 00 00 00 2C [00:01:15]Write i2c OK [00:01:15]MH_I2C_Read... [00:01:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:16]Read from MH i2c: E2 [00:01:16]MH_I2C_Read... [00:01:16]Read from MH i2c: E2 62 00 [00:01:16]MH_I2C_Read... [00:01:16]Read from MH i2c: E2 62 00 A8 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 66 94 00 00 0E 04 04 00 29 02 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 4A [00:01:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 66 94 00 00 0E 04 04 00 29 02 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 [00:01:16]wFMCommunicate OK [00:01:16]SAM_PROTO_GetFieldsCounters done [00:01:16]Malloc new data [00:01:16]Malloc new data [00:01:16]Malloc new data [00:01:16]KKMCreateXReportDocument OK [00:01:16]KKMSetXReportData OK [00:01:16]KKMPrepareXReportFMData [00:01:16]SAM_PROTO_GetShiftData [00:01:16]wFMCommunicate request_size=4 [00:01:16]MH_SAM_APDU [00:01:16]CAPDU: 80 13 02 00 [00:01:16]Write to MH i2c: E2 08 00 A9 08 80 13 02 00 00 00 00 00 2F [00:01:16]Write i2c OK [00:01:16]MH_I2C_Read... [00:01:16]OFD Sender: No OFD packet to send [00:01:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:01:16]Read from MH i2c: E2 [00:01:16]MH_I2C_Read... [00:01:16]Read from MH i2c: E2 FD 00 [00:01:16]MH_I2C_Read... [00:01:16]Read from MH i2c: E2 FD 00 A9 08 00 AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 B3 [00:01:16]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:01:16]wFMCommunicate OK [00:01:16]wFMCommunicate request_size=4 [00:01:16]MH_SAM_APDU [00:01:16]CAPDU: 80 17 00 00 [00:01:16]Write to MH i2c: E2 08 00 AA 08 80 17 00 00 00 00 00 00 32 [00:01:16]Write i2c OK [00:01:16]MH_I2C_Read... [00:01:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:17]Read from MH i2c: E2 [00:01:17]MH_I2C_Read... [00:01:17]Read from MH i2c: E2 FD 00 [00:01:17]MH_I2C_Read... [00:01:17]Read from MH i2c: E2 FD 00 AA 08 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 54 [00:01:17]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:01:17]wFMCommunicate OK [00:01:17]wFMCommunicate request_size=4 [00:01:17]MH_SAM_APDU [00:01:17]CAPDU: 80 17 00 00 [00:01:17]Write to MH i2c: E2 08 00 AB 08 80 17 00 00 00 00 00 00 33 [00:01:17]Write i2c OK [00:01:17]MH_I2C_Read... [00:01:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:17]Read from MH i2c: E2 [00:01:17]MH_I2C_Read... [00:01:17]Read from MH i2c: E2 FD 00 [00:01:17]MH_I2C_Read... [00:01:17]Read from MH i2c: E2 FD 00 AB 08 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 EA [00:01:17]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:01:17]wFMCommunicate OK [00:01:17]wFMCommunicate request_size=4 [00:01:17]MH_SAM_APDU [00:01:17]CAPDU: 80 17 00 00 [00:01:17]Write to MH i2c: E2 08 00 AC 08 80 17 00 00 00 00 00 00 34 [00:01:17]Write i2c OK [00:01:17]MH_I2C_Read... [00:01:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:17]Read from MH i2c: E2 [00:01:17]MH_I2C_Read... [00:01:17]Read from MH i2c: E2 FD 00 [00:01:17]MH_I2C_Read... [00:01:17]Read from MH i2c: E2 FD 00 AC 08 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 A6 [00:01:18]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:01:18]wFMCommunicate OK [00:01:18]wFMCommunicate request_size=4 [00:01:18]MH_SAM_APDU [00:01:18]CAPDU: 80 17 00 00 [00:01:18]Write to MH i2c: E2 08 00 AD 08 80 17 00 00 00 00 00 00 35 [00:01:18]Write i2c OK [00:01:18]MH_I2C_Read... [00:01:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:01:18]Read from MH i2c: E2 [00:01:18]MH_I2C_Read... [00:01:18]Read from MH i2c: E2 CB 00 [00:01:18]MH_I2C_Read... [00:01:18]Read from MH i2c: E2 CB 00 AD 08 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 1E [00:01:18]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:18]wFMCommunicate OK [00:01:18]SAM_PROTO_GetShiftData done [00:01:18]1194 (1194) - счетчики итогов смены [00:01:18] 1134 (4) - 72 - количество чеков со всеми признаками расчетов [00:01:18] 1129 (155) - счетчики операций «приход» [00:01:18] 1135 (4) - 72 - количество чеков по признаку расчетов [00:01:18] 1201 (3) - 15634.00 - общая итоговая сумма в чеках [00:01:18] 1136 (3) - 14248.00 - итоговая сумма в чеках наличными [00:01:18] 1138 (3) - 1386.00 - итоговая сумма в чеках безналичными [00:01:18] 1024 (122) - суммы налогов [00:01:18] 1006 (9) - суммы НДС [00:01:18] 1010 (1) - 0% - код ставки НДС [00:01:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:18] 1006 (12) - суммы НДС [00:01:18] 1010 (1) - 12% - код ставки НДС [00:01:18] 1011 (3) - 1660.10 - сумма НДС по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 0% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (11) - суммы НСП [00:01:18] 1014 (1) - 1% - код ставки НСП [00:01:18] 1015 (2) - 138.30 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 2% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 3% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 5% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 0,50% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 1,50% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1130 (141) - счетчики операций «возврат прихода» [00:01:18] 1135 (4) - 0 - количество чеков по признаку расчетов [00:01:18] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:01:18] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:01:18] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:01:18] 1024 (117) - суммы налогов [00:01:18] 1006 (9) - суммы НДС [00:01:18] 1010 (1) - 0% - код ставки НДС [00:01:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:18] 1006 (9) - суммы НДС [00:01:18] 1010 (1) - 12% - код ставки НДС [00:01:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 0% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 1% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 2% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 3% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 5% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 0,50% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 1,50% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1131 (141) - счетчики операций «расход» [00:01:18] 1135 (4) - 0 - количество чеков по признаку расчетов [00:01:18] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:01:18] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:01:18] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:01:18] 1024 (117) - суммы налогов [00:01:18] 1006 (9) - суммы НДС [00:01:18] 1010 (1) - 0% - код ставки НДС [00:01:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:18] 1006 (9) - суммы НДС [00:01:18] 1010 (1) - 12% - код ставки НДС [00:01:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 0% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 1% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 2% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 3% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 5% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 0,50% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 1,50% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1132 (141) - счетчики операций «возврат расхода» [00:01:18] 1135 (4) - 0 - количество чеков по признаку расчетов [00:01:18] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:01:18] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:01:18] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:01:18] 1024 (117) - суммы налогов [00:01:18] 1006 (9) - суммы НДС [00:01:18] 1010 (1) - 0% - код ставки НДС [00:01:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:18] 1006 (9) - суммы НДС [00:01:18] 1010 (1) - 12% - код ставки НДС [00:01:18] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 0% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 1% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 2% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 3% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 5% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 0,50% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1007 (9) - суммы НСП [00:01:18] 1014 (1) - 1,50% - код ставки НСП [00:01:18] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:18] 1133 (588) - - счетчики коррекции - не используются [00:01:18]SetTLVBufToDocument [00:01:18]Processing tag 1194 (04AA) [00:01:18]Load OK [00:01:18]SetTLVBufToDocument [00:01:18]Processing tag 1134 (046E) [00:01:18]Malloc new data [00:01:18]Processing tag 1129 (0469) [00:01:18]Load OK [00:01:18]SetTLVBufToDocument [00:01:18]Processing tag 1135 (046F) [00:01:18]Malloc new data [00:01:18]Processing tag 1201 (04B1) [00:01:18]Malloc new data [00:01:18]Processing tag 1136 (0470) [00:01:18]Malloc new data [00:01:18]Processing tag 1138 (0472) [00:01:18]Malloc new data [00:01:18]Processing tag 1024 (0400) [00:01:18]Load OK [00:01:18]SetTLVBufToDocument [00:01:18]Processing tag 1006 (03EE) [00:01:18]Load OK [00:01:18]SetTLVBufToDocument [00:01:18]Processing tag 1010 (03F2) [00:01:19]Malloc new data [00:01:19]Processing tag 1011 (03F3) [00:01:19]Malloc new data [00:01:19]SetTLVBufToDocument err=0 [00:01:19]Processing tag 1006 (03EE) [00:01:19]Load OK [00:01:19]SetTLVBufToDocument [00:01:19]Processing tag 1010 (03F2) [00:01:19]Malloc new data [00:01:19]Processing tag 1011 (03F3) [00:01:19]Malloc new data [00:01:19]SetTLVBufToDocument err=0 [00:01:19]Processing tag 1007 (03EF) [00:01:19]Load OK [00:01:19]SetTLVBufToDocument [00:01:19]Processing tag 1014 (03F6) [00:01:19]Malloc new data [00:01:19]Processing tag 1015 (03F7) [00:01:19]Malloc new data [00:01:19]SetTLVBufToDocument err=0 [00:01:19]Processing tag 1007 (03EF) [00:01:19]Load OK [00:01:19]SetTLVBufToDocument [00:01:19]Processing tag 1014 (03F6) [00:01:19]Malloc new data [00:01:19]Processing tag 1015 (03F7) [00:01:19]Malloc new data [00:01:19]SetTLVBufToDocument err=0 [00:01:19]Processing tag 1007 (03EF) [00:01:19]Load OK [00:01:19]SetTLVBufToDocument [00:01:19]Processing tag 1014 (03F6) [00:01:19]Malloc new data [00:01:19]Processing tag 1015 (03F7) [00:01:19]Malloc new data [00:01:19]SetTLVBufToDocument err=0 [00:01:19]Processing tag 1007 (03EF) [00:01:19]Load OK [00:01:19]SetTLVBufToDocument [00:01:19]Processing tag 1014 (03F6) [00:01:19]Malloc new data [00:01:19]Processing tag 1015 (03F7) [00:01:19]Malloc new data [00:01:19]SetTLVBufToDocument err=0 [00:01:19]Processing tag 1007 (03EF) [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 EE FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 93 [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 54000000005725EE (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: 8478901+1721854043=1730332944 [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 = 0x33510623 [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 EE FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 94 [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 38 00 FF FF 57 [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 10 C9 22 67 5B 68 A1 66 2B [00:02:24]Current date/time: 31.10.2024 00:02 [00:02:24]FM_Init [00:02:24]wFMConnect [00:02:24]MH_SAM_On [00:02:24]Write to MH i2c: E0 00 00 08 00 E7 [00:02:24]Write i2c OK [00:02:24]MH_I2C_Read... [00:02:24]*** iso7816_init finished! [00:02:24]*** atr: [00:02:24]*** 0F 3B D5 18 FF 81 91 FE [00:02:24]*** 1F C3 80 73 C8 21 10 0A [00:02:24]*** 00 00 00 00 00 00 00 00 [00:02:24]*** 00 00 00 00 00 00 00 00 [00:02:24]*** 00 00 00 00 00 00 00 00 [00:02:24]*** 00 00 00 00 00 00 00 00 [00:02:24]*** 00 00 00 00 00 00 00 00 [00:02:24]*** 00 00 00 00 00 00 00 00 [00:02:24]Read from MH i2c: E0 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: E0 10 00 [00:02:24]MH_I2C_Read... [00:02:24]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 [00:02:24]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [00:02:24]wFMCommunicate request_size=10 [00:02:24]MH_SAM_APDU [00:02:24]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [00:02:24]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [00:02:24]Write i2c OK [00:02:24]MH_I2C_Read... [00:02:24]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [00:02:24]Read from MH i2c: E2 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: E2 03 00 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [00:02:24]RAPDU: 90 00 [00:02:24]wFMCommunicate OK [00:02:24]wFMCommunicate request_size=4 [00:02:24]MH_SAM_APDU [00:02:24]CAPDU: 80 11 00 00 [00:02:24]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [00:02:24]Write i2c OK [00:02:24]MH_I2C_Read... [00:02:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:24]Read from MH i2c: E2 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: E2 17 00 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D4 [00:02:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:02:24]wFMCommunicate OK [00:02:24]Detected FM SN is 0000000000871841 [00:02:24]Stored FM SN is 0000000000871841 [00:02:24]wFMCommunicate request_size=9 [00:02:24]MH_SAM_APDU [00:02:24]CAPDU: 80 16 00 00 04 E2 3D 01 00 [00:02:24]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 E2 3D 01 00 00 00 B2 [00:02:24]Write i2c OK [00:02:24]MH_I2C_Read... [00:02:24]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [00:02:24]Read from MH i2c: E2 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: E2 03 00 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [00:02:24]RAPDU: 90 00 [00:02:24]wFMCommunicate OK [00:02:24]FM PIN OK [00:02:24]wFMCommunicate request_size=8 [00:02:24]MH_SAM_APDU [00:02:24]CAPDU: 80 14 04 00 03 02 00 01 [00:02:24]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [00:02:24]Write i2c OK [00:02:24]MH_I2C_Read... [00:02:24]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [00:02:24]Read from MH i2c: E2 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: E2 03 00 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [00:02:24]RAPDU: 90 00 [00:02:24]wFMCommunicate OK [00:02:24]wFMCommunicate request_size=13 [00:02:24]MH_SAM_APDU [00:02:24]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [00:02:24]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 [00:02:24]Write i2c OK [00:02:24]MH_I2C_Read... [00:02:24]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [00:02:24]Read from MH i2c: E2 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: E2 03 00 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [00:02:24]RAPDU: 90 00 [00:02:24]wFMCommunicate OK [00:02:24]wFMCommunicate request_size=4 [00:02:24]MH_SAM_APDU [00:02:24]CAPDU: 80 11 00 00 [00:02:24]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [00:02:24]Write i2c OK [00:02:24]MH_I2C_Read... [00:02:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:24]Read from MH i2c: E2 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: E2 17 00 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D8 [00:02:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:02:24]wFMCommunicate OK [00:02:24]DocumentArchiveInit [00:02:24]Start Httpd... [00:02:24]Httpd thread 3067473252 created [00:02:24]Write to MH i2c: 01 00 00 0F 00 0F [00:02:24]Write i2c OK [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: 01 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: 01 07 00 [00:02:24]MH_I2C_Read... [00:02:24]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [00:02:24]MH Int Process started [00:02:24]Allocated Socket 8 [00:02:24]Bind OK [00:02:24]Listen OK [00:02:24]httpd running on port 8080 [00:02:24]Waiting for new connection... [00:02:24]OFD Sender: No OFD packet to send [00:02:28]accept exits with 9 [00:02:28]New connection [00:02:28]New thread 3067186532 created [00:02:28]Waiting for new connection... [00:02:28] Sock 9.Parse request [00:02:28]Sock 9.Check first char [00:02:28]Sock 9.First char is OK [00:02:28]request: POST /json_proto HTTP/1.0 [00:02:28]Method: POST [00:02:28]URL: /json_proto [00:02:28]Method is POST - this is cgi request [00:02:28]url: /json_proto [00:02:28]query_string will be loaded in cgi processing [00:02:28]execute_cgi json_proto POST (null) [00:02:28]execute_cgi path=json_proto method=POST [00:02:28]POST find Content-Length [00:02:28]Host: 172.17.40.196:8080 [00:02:28]Content-Length: 215 [00:02:28]Content-Type: application/json [00:02:28] [00:02:28]POST finish read [00:02:28]Found Content-Length = 215 [00:02:28]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:02:28]execute_script... [00:02:28]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:02:28]POST & json_proto [00:02:28]process_json_proto [00:02:28]json parsed OK: [00:02:28]protocol is kg_v1.0 [00:02:28]action value=get_value [00:02:28]process_action get_value [00:02:28]cmd_get_value [00:02:28]process_action get_value done [00:02:28]requested_data is exist [00:02:28]produce_requested_data [00:02:28]requested_item kkm.sn is exist - process it [00:02:28]requested_item kkm.ver is exist - process it [00:02:28]requested_item fm.sn is exist - process it [00:02:28]wFMCommunicate request_size=4 [00:02:28]MH_SAM_APDU [00:02:28]CAPDU: 80 11 00 00 [00:02:28]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [00:02:28]Write i2c OK [00:02:28]MH_I2C_Read... [00:02:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:28]Read from MH i2c: E2 [00:02:28]MH_I2C_Read... [00:02:28]Read from MH i2c: E2 17 00 [00:02:28]MH_I2C_Read... [00:02:28]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DA [00:02:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:02:28]wFMCommunicate OK [00:02:28]requested_item fd.num is exist - process it [00:02:28]SAM_PROTO_GetFieldsCounters [00:02:28]wFMCommunicate request_size=4 [00:02:28]MH_SAM_APDU [00:02:28]CAPDU: 80 13 00 00 [00:02:28]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [00:02:28]Write i2c OK [00:02:28]MH_I2C_Read... [00:02:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:02:28]Read from MH i2c: E2 [00:02:28]MH_I2C_Read... [00:02:28]Read from MH i2c: E2 62 00 [00:02:28]MH_I2C_Read... [00:02:28]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 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 66 94 00 00 0E 04 04 00 29 02 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 AB [00:02:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 66 94 00 00 0E 04 04 00 29 02 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 [00:02:28]wFMCommunicate OK [00:02:28]SAM_PROTO_GetFieldsCounters done [00:02:28]requested_item shift.num is exist - process it [00:02:28]requested_item shift.opened is exist - process it [00:02:28]req_shift_opened [00:02:28]FM_GetShiftState [00:02:28]SAM_PROTO_GetShiftState [00:02:28]wFMCommunicate request_size=4 [00:02:28]MH_SAM_APDU [00:02:28]CAPDU: 80 13 01 00 [00:02:28]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [00:02:28]Write i2c OK [00:02:28]MH_I2C_Read... [00:02:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:28]Read from MH i2c: E2 [00:02:28]MH_I2C_Read... [00:02:28]Read from MH i2c: E2 0E 00 [00:02:28]MH_I2C_Read... [00:02:28]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 50 [00:02:28]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [00:02:28]wFMCommunicate OK [00:02:28]SAM_PROTO_GetShiftState done [00:02:28]FM_GetShiftState done [00:02:28]req_shift_opened done [00:02:28]requested_item shift.open_date is exist - process it [00:02:28]req_shift_open_date [00:02:28]req_shift_open_date done [00:02:28]produce_requested_data done [00:02:28]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37990,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [00:02:28]process_action_free get_value [00:02:28]json_value_free [00:02:28]json_value_free done [00:02:28]process_json_proto returns [00:02:28]Send response to host [00:02:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37990,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [00:02:28]free response buf [00:02:28]execute_script done [00:02:28]execute_script returns [00:02:28]free content buf [00:02:28]Sock 9.Close socket [00:02:28]Sock 9.Thread stoped [00:02:28]accept exits with 10 [00:02:28]New connection [00:02:28]New thread 3067043172 created [00:02:28]Thread 3067186532 joined [00:02:28]Waiting for new connection... [00:02:28] Sock 10.Parse request [00:02:28]Sock 10.Check first char [00:02:28]Sock 10.First char is OK [00:02:28]request: POST /json_proto HTTP/1.0 [00:02:28]Method: POST [00:02:28]URL: /json_proto [00:02:28]Method is POST - this is cgi request [00:02:28]url: /json_proto [00:02:28]query_string will be loaded in cgi processing [00:02:28]execute_cgi json_proto POST (null) [00:02:28]execute_cgi path=json_proto method=POST [00:02:28]POST find Content-Length [00:02:28]Host: 172.17.40.196:8080 [00:02:28]Content-Length: 331 [00:02:28]Content-Type: application/json [00:02:28] [00:02:28]POST finish read [00:02:28]Found Content-Length = 331 [00:02:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:02:28]execute_script... [00:02:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:02:28]POST & json_proto [00:02:28]process_json_proto [00:02:28]json parsed OK: [00:02:28]protocol is kg_v1.0 [00:02:28]action value=get_value [00:02:28]process_action get_value [00:02:28]cmd_get_value [00:02:28]process_action get_value done [00:02:28]requested_data is exist [00:02:28]produce_requested_data [00:02:29]requested_item fm.sale.total is exist - process it [00:02:29]SAM_PROTO_GetFMData [00:02:29]wFMCommunicate request_size=4 [00:02:29]MH_SAM_APDU [00:02:29]CAPDU: 80 13 03 00 [00:02:29]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [00:02:29]Write i2c OK [00:02:29]MH_I2C_Read... [00:02:29]OFD Sender: No OFD packet to send [00:02:29]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:02:29]Read from MH i2c: E2 [00:02:29]MH_I2C_Read... [00:02:29]Read from MH i2c: E2 FD 00 [00:02:29]MH_I2C_Read... [00:02:29]Read from MH i2c: E2 FD 00 13 00 00 C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 FB [00:02:29]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:02:29]wFMCommunicate OK [00:02:29]wFMCommunicate request_size=4 [00:02:29]MH_SAM_APDU [00:02:29]CAPDU: 80 17 00 00 [00:02:29]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [00:02:29]Write i2c OK [00:02:29]MH_I2C_Read... [00:02:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:29]Read from MH i2c: E2 [00:02:29]MH_I2C_Read... [00:02:29]Read from MH i2c: E2 FD 00 [00:02:29]MH_I2C_Read... [00:02:29]Read from MH i2c: E2 FD 00 14 00 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 8F [00:02:30]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:02:30]wFMCommunicate OK [00:02:30]wFMCommunicate request_size=4 [00:02:30]MH_SAM_APDU [00:02:30]CAPDU: 80 17 00 00 [00:02:30]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [00:02:30]Write i2c OK [00:02:30]MH_I2C_Read... [00:02:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:30]Read from MH i2c: E2 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 FD 00 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 FD 00 15 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 38 [00:02:30]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:02:30]wFMCommunicate OK [00:02:30]wFMCommunicate request_size=4 [00:02:30]MH_SAM_APDU [00:02:30]CAPDU: 80 17 00 00 [00:02:30]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [00:02:30]Write i2c OK [00:02:30]MH_I2C_Read... [00:02:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:30]Read from MH i2c: E2 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 FD 00 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 FD 00 16 00 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 0E [00:02:30]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:02:30]wFMCommunicate OK [00:02:30]wFMCommunicate request_size=4 [00:02:30]MH_SAM_APDU [00:02:30]CAPDU: 80 17 00 00 [00:02:30]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [00:02:30]Write i2c OK [00:02:30]MH_I2C_Read... [00:02:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:02:30]Read from MH i2c: E2 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 DD 00 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 DD 00 17 00 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7F [00:02:30]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:02:30]wFMCommunicate OK [00:02:30]SAM_PROTO_GetFMData done [00:02:30]requested_item fm.sale_refund.total is exist - process it [00:02:30]requested_item fm.buy.total is exist - process it [00:02:30]requested_item shift.sale.total is exist - process it [00:02:30]SAM_PROTO_GetShiftData [00:02:30]wFMCommunicate request_size=4 [00:02:30]MH_SAM_APDU [00:02:30]CAPDU: 80 13 02 00 [00:02:30]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [00:02:30]Write i2c OK [00:02:30]MH_I2C_Read... [00:02:31]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:02:31]Read from MH i2c: E2 [00:02:31]MH_I2C_Read... [00:02:31]Read from MH i2c: E2 FD 00 [00:02:31]MH_I2C_Read... [00:02:31]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 1A [00:02:31]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:02:31]wFMCommunicate OK [00:02:31]wFMCommunicate request_size=4 [00:02:31]MH_SAM_APDU [00:02:31]CAPDU: 80 17 00 00 [00:02:31]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [00:02:31]Write i2c OK [00:02:31]MH_I2C_Read... [00:02:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:31]Read from MH i2c: E2 [00:02:31]MH_I2C_Read... [00:02:31]Read from MH i2c: E2 FD 00 [00:02:31]MH_I2C_Read... [00:02:31]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [00:02:31]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:02:31]wFMCommunicate OK [00:02:31]wFMCommunicate request_size=4 [00:02:31]MH_SAM_APDU [00:02:31]CAPDU: 80 17 00 00 [00:02:31]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [00:02:31]Write i2c OK [00:02:31]MH_I2C_Read... [00:02:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:31]Read from MH i2c: E2 [00:02:31]MH_I2C_Read... [00:02:31]Read from MH i2c: E2 FD 00 [00:02:31]MH_I2C_Read... [00:02:31]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [00:02:31]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:02:31]wFMCommunicate OK [00:02:31]wFMCommunicate request_size=4 [00:02:31]MH_SAM_APDU [00:02:31]CAPDU: 80 17 00 00 [00:02:31]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [00:02:31]Write i2c OK [00:02:31]MH_I2C_Read... [00:02:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:32]Read from MH i2c: E2 [00:02:32]MH_I2C_Read... [00:02:32]Read from MH i2c: E2 FD 00 [00:02:32]MH_I2C_Read... [00:02:32]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [00:02:32]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:02:32]wFMCommunicate OK [00:02:32]wFMCommunicate request_size=4 [00:02:32]MH_SAM_APDU [00:02:32]CAPDU: 80 17 00 00 [00:02:32]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [00:02:32]Write i2c OK [00:02:32]MH_I2C_Read... [00:02:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:02:32]Read from MH i2c: E2 [00:02:32]MH_I2C_Read... [00:02:32]Read from MH i2c: E2 CB 00 [00:02:32]MH_I2C_Read... [00:02:32]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [00:02:32]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:02:32]wFMCommunicate OK [00:02:32]SAM_PROTO_GetShiftData done [00:02:32]requested_item shift.sale.total_cash is exist - process it [00:02:32]requested_item shift.sale_refund.total is exist - process it [00:02:32]requested_item shift.sale_refund.total_cash is exist - process it [00:02:32]requested_item shift.buy.total is exist - process it [00:02:32]requested_item shift.buy.total_cash is exist - process it [00:02:32]produce_requested_data done [00:02:32]produce_requested_data return {"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15634.00,"shift.sale.total_cash":14248.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:02:32]process_action_free get_value [00:02:32]json_value_free [00:02:32]json_value_free done [00:02:32]process_json_proto returns [00:02:32]Send response to host [00:02:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15634.00,"shift.sale.total_cash":14248.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:02:32]free response buf [00:02:32]execute_script done [00:02:32]execute_script returns [00:02:32]free content buf [00:02:32]Sock 10.Close socket [00:02:32]Sock 10.Thread stoped [00:02:32]accept exits with 9 [00:02:32]New connection [00:02:32]New thread 3067186532 created [00:02:32]Thread 3067043172 joined [00:02:32]Waiting for new connection... [00:02:32] Sock 9.Parse request [00:02:32]Sock 9.Check first char [00:02:32]Sock 9.First char is OK [00:02:32]request: POST /json_proto HTTP/1.0 [00:02:32]Method: POST [00:02:32]URL: /json_proto [00:02:32]Method is POST - this is cgi request [00:02:32]url: /json_proto [00:02:32]query_string will be loaded in cgi processing [00:02:32]execute_cgi json_proto POST (null) [00:02:32]execute_cgi path=json_proto method=POST [00:02:32]POST find Content-Length [00:02:32]Host: 172.17.40.196:8080 [00:02:32]Content-Length: 331 [00:02:32]Content-Type: application/json [00:02:32] [00:02:32]POST finish read [00:02:32]Found Content-Length = 331 [00:02:32]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:02:32]execute_script... [00:02:32]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:02:32]POST & json_proto [00:02:32]process_json_proto [00:02:32]json parsed OK: [00:02:32]protocol is kg_v1.0 [00:02:32]action value=get_value [00:02:32]process_action get_value [00:02:32]cmd_get_value [00:02:32]process_action get_value done [00:02:32]requested_data is exist [00:02:32]produce_requested_data [00:02:32]requested_item fm.sale.total is exist - process it [00:02:32]SAM_PROTO_GetFMData [00:02:32]wFMCommunicate request_size=4 [00:02:32]MH_SAM_APDU [00:02:32]CAPDU: 80 13 03 00 [00:02:32]Write to MH i2c: E2 08 00 1D 00 80 13 03 00 00 00 00 00 9C [00:02:32]Write i2c OK [00:02:32]MH_I2C_Read... [00:02:32]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:02:32]Read from MH i2c: E2 [00:02:32]MH_I2C_Read... [00:02:32]Read from MH i2c: E2 FD 00 [00:02:32]MH_I2C_Read... [00:02:32]Read from MH i2c: E2 FD 00 1D 00 00 C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 05 [00:02:33]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:02:33]wFMCommunicate OK [00:02:33]wFMCommunicate request_size=4 [00:02:33]MH_SAM_APDU [00:02:33]CAPDU: 80 17 00 00 [00:02:33]Write to MH i2c: E2 08 00 1E 00 80 17 00 00 00 00 00 00 9E [00:02:33]Write i2c OK [00:02:33]MH_I2C_Read... [00:02:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:33]Read from MH i2c: E2 [00:02:33]MH_I2C_Read... [00:02:33]Read from MH i2c: E2 FD 00 [00:02:33]MH_I2C_Read... [00:02:33]Read from MH i2c: E2 FD 00 1E 00 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 99 [00:02:33]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:02:33]wFMCommunicate OK [00:02:33]wFMCommunicate request_size=4 [00:02:33]MH_SAM_APDU [00:02:33]CAPDU: 80 17 00 00 [00:02:33]Write to MH i2c: E2 08 00 1F 00 80 17 00 00 00 00 00 00 9F [00:02:33]Write i2c OK [00:02:33]MH_I2C_Read... [00:02:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:33]Read from MH i2c: E2 [00:02:33]MH_I2C_Read... [00:02:33]Read from MH i2c: E2 FD 00 [00:02:33]MH_I2C_Read... [00:02:33]Read from MH i2c: E2 FD 00 1F 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 42 [00:02:33]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:02:33]wFMCommunicate OK [00:02:33]wFMCommunicate request_size=4 [00:02:33]MH_SAM_APDU [00:02:33]CAPDU: 80 17 00 00 [00:02:33]Write to MH i2c: E2 08 00 20 00 80 17 00 00 00 00 00 00 A0 [00:02:33]Write i2c OK [00:02:33]MH_I2C_Read... [00:02:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:34]Read from MH i2c: E2 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 FD 00 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 FD 00 20 00 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 18 [00:02:34]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:02:34]wFMCommunicate OK [00:02:34]wFMCommunicate request_size=4 [00:02:34]MH_SAM_APDU [00:02:34]CAPDU: 80 17 00 00 [00:02:34]Write to MH i2c: E2 08 00 21 00 80 17 00 00 00 00 00 00 A1 [00:02:34]Write i2c OK [00:02:34]MH_I2C_Read... [00:02:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:02:34]Read from MH i2c: E2 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 DD 00 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 DD 00 21 00 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 89 [00:02:34]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:02:34]wFMCommunicate OK [00:02:34]SAM_PROTO_GetFMData done [00:02:34]requested_item fm.sale_refund.total is exist - process it [00:02:34]requested_item fm.buy.total is exist - process it [00:02:34]requested_item shift.sale.total is exist - process it [00:02:34]SAM_PROTO_GetShiftData [00:02:34]wFMCommunicate request_size=4 [00:02:34]MH_SAM_APDU [00:02:34]CAPDU: 80 13 02 00 [00:02:34]Write to MH i2c: E2 08 00 22 00 80 13 02 00 00 00 00 00 A0 [00:02:34]OFD Sender: No OFD packet to send [00:02:34]Write i2c OK [00:02:34]MH_I2C_Read... [00:02:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:02:35]Read from MH i2c: E2 [00:02:35]MH_I2C_Read... [00:02:35]Read from MH i2c: E2 FD 00 [00:02:35]MH_I2C_Read... [00:02:35]Read from MH i2c: E2 FD 00 22 00 00 AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 24 [00:02:35]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:02:35]wFMCommunicate OK [00:02:35]wFMCommunicate request_size=4 [00:02:35]MH_SAM_APDU [00:02:35]CAPDU: 80 17 00 00 [00:02:35]Write to MH i2c: E2 08 00 23 00 80 17 00 00 00 00 00 00 A3 [00:02:35]Write i2c OK [00:02:35]MH_I2C_Read... [00:02:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:35]Read from MH i2c: E2 [00:02:35]MH_I2C_Read... [00:02:35]Read from MH i2c: E2 FD 00 [00:02:35]MH_I2C_Read... [00:02:35]Read from MH i2c: E2 FD 00 23 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 C5 [00:02:35]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:02:35]wFMCommunicate OK [00:02:35]wFMCommunicate request_size=4 [00:02:35]MH_SAM_APDU [00:02:35]CAPDU: 80 17 00 00 [00:02:35]Write to MH i2c: E2 08 00 24 00 80 17 00 00 00 00 00 00 A4 [00:02:35]Write i2c OK [00:02:35]MH_I2C_Read... [00:02:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:35]Read from MH i2c: E2 [00:02:35]MH_I2C_Read... [00:02:35]Read from MH i2c: E2 FD 00 [00:02:35]MH_I2C_Read... [00:02:35]Read from MH i2c: E2 FD 00 24 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 5B [00:02:36]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:02:36]wFMCommunicate OK [00:02:36]wFMCommunicate request_size=4 [00:02:36]MH_SAM_APDU [00:02:36]CAPDU: 80 17 00 00 [00:02:36]Write to MH i2c: E2 08 00 25 00 80 17 00 00 00 00 00 00 A5 [00:02:36]Write i2c OK [00:02:36]MH_I2C_Read... [00:02:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:36]Read from MH i2c: E2 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: E2 FD 00 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: E2 FD 00 25 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 17 [00:02:36]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:02:36]wFMCommunicate OK [00:02:36]wFMCommunicate request_size=4 [00:02:36]MH_SAM_APDU [00:02:36]CAPDU: 80 17 00 00 [00:02:36]Write to MH i2c: E2 08 00 26 00 80 17 00 00 00 00 00 00 A6 [00:02:36]Write i2c OK [00:02:36]MH_I2C_Read... [00:02:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:02:36]Read from MH i2c: E2 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: E2 CB 00 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: E2 CB 00 26 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8F [00:02:36]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:02:36]wFMCommunicate OK [00:02:36]SAM_PROTO_GetShiftData done [00:02:36]requested_item shift.sale.total_cash is exist - process it [00:02:36]requested_item shift.sale_refund.total is exist - process it [00:02:36]requested_item shift.sale_refund.total_cash is exist - process it [00:02:36]requested_item shift.buy.total is exist - process it [00:02:36]requested_item shift.buy.total_cash is exist - process it [00:02:36]produce_requested_data done [00:02:36]produce_requested_data return {"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15634.00,"shift.sale.total_cash":14248.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:02:36]process_action_free get_value [00:02:36]json_value_free [00:02:36]json_value_free done [00:02:36]process_json_proto returns [00:02:36]Send response to host [00:02:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15634.00,"shift.sale.total_cash":14248.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:02:36]free response buf [00:02:36]execute_script done [00:02:36]execute_script returns [00:02:36]free content buf [00:02:36]Sock 9.Close socket [00:02:36]Sock 9.Thread stoped [00:02:36]accept exits with 7 [00:02:36]New connection [00:02:36]New thread 3067043172 created [00:02:36]Thread 3067186532 joined [00:02:36]Waiting for new connection... [00:02:36] Sock 7.Parse request [00:02:36]Sock 7.Check first char [00:02:36]Sock 7.First char is OK [00:02:36]request: POST /json_proto HTTP/1.0 [00:02:36]Method: POST [00:02:36]URL: /json_proto [00:02:36]Method is POST - this is cgi request [00:02:36]url: /json_proto [00:02:36]query_string will be loaded in cgi processing [00:02:36]execute_cgi json_proto POST (null) [00:02:36]execute_cgi path=json_proto method=POST [00:02:36]POST find Content-Length [00:02:36]Host: 172.17.40.196:8080 [00:02:36]Content-Length: 282 [00:02:36]Content-Type: application/json [00:02:36] [00:02:36]POST finish read [00:02:36]Found Content-Length = 282 [00:02:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0422\u0435\u043C\u0438\u0440\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:36]execute_script... [00:02:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0422\u0435\u043C\u0438\u0440\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:36]POST & json_proto [00:02:36]process_json_proto [00:02:36]json parsed OK: [00:02:36]protocol is kg_v1.0 [00:02:36]action value=x_report [00:02:36]process_action x_report [00:02:36]cmd_x_report [00:02:36]MH_GetDate [00:02:36]Write to MH i2c: F0 00 00 27 00 16 [00:02:36]Write i2c OK [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: F0 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: F0 09 00 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: F0 09 00 27 00 00 1D C9 22 67 5B 68 A1 66 58 [00:02:36]GetLastDocTimeStamp 1730332553 [00:02:36]current date 1730332957 [00:02:36]FM_GetShiftState [00:02:36]SAM_PROTO_GetShiftState [00:02:36]wFMCommunicate request_size=4 [00:02:36]MH_SAM_APDU [00:02:36]CAPDU: 80 13 01 00 [00:02:36]Write to MH i2c: E2 08 00 28 00 80 13 01 00 00 00 00 00 A5 [00:02:36]Write i2c OK [00:02:36]MH_I2C_Read... [00:02:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:37]Read from MH i2c: E2 [00:02:37]MH_I2C_Read... [00:02:37]Read from MH i2c: E2 0E 00 [00:02:37]MH_I2C_Read... [00:02:37]Read from MH i2c: E2 0E 00 28 00 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 66 [00:02:37]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [00:02:37]wFMCommunicate OK [00:02:37]SAM_PROTO_GetShiftState done [00:02:37]FM_GetShiftState done [00:02:37]KKMCreateXReportDocument [00:02:37]Load OK [00:02:37]Malloc new data [00:02:37]MH_GetDate [00:02:37]Write to MH i2c: F0 00 00 29 00 18 [00:02:37]Write i2c OK [00:02:37]MH_I2C_Read... [00:02:37]Read from MH i2c: F0 [00:02:37]MH_I2C_Read... [00:02:37]Read from MH i2c: F0 09 00 [00:02:37]MH_I2C_Read... [00:02:37]Read from MH i2c: F0 09 00 29 00 00 1D C9 22 67 5B 68 A1 66 5A [00:02:37]Malloc new data [00:02:37]Malloc new data [00:02:37]wFMCommunicate request_size=4 [00:02:37]MH_SAM_APDU [00:02:37]CAPDU: 80 11 00 00 [00:02:37]Write to MH i2c: E2 08 00 2A 00 80 11 00 00 00 00 00 00 A4 [00:02:37]Write i2c OK [00:02:37]MH_I2C_Read... [00:02:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:37]Read from MH i2c: E2 [00:02:37]MH_I2C_Read... [00:02:37]Read from MH i2c: E2 17 00 [00:02:37]MH_I2C_Read... [00:02:37]Read from MH i2c: E2 17 00 2A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F4 [00:02:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:02:37]wFMCommunicate OK [00:02:37]SAM_PROTO_GetFieldsCounters [00:02:37]wFMCommunicate request_size=4 [00:02:37]MH_SAM_APDU [00:02:37]CAPDU: 80 13 00 00 [00:02:37]Write to MH i2c: E2 08 00 2B 00 80 13 00 00 00 00 00 00 A7 [00:02:37]Write i2c OK [00:02:37]MH_I2C_Read... [00:02:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:02:37]Read from MH i2c: E2 [00:02:37]MH_I2C_Read... [00:02:37]Read from MH i2c: E2 62 00 [00:02:37]MH_I2C_Read... [00:02:37]Read from MH i2c: E2 62 00 2B 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 66 94 00 00 0E 04 04 00 29 02 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 C5 [00:02:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 66 94 00 00 0E 04 04 00 29 02 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 [00:02:37]wFMCommunicate OK [00:02:37]SAM_PROTO_GetFieldsCounters done [00:02:37]Malloc new data [00:02:37]Malloc new data [00:02:37]Malloc new data [00:02:37]KKMCreateXReportDocument OK [00:02:37]KKMSetXReportData OK [00:02:37]KKMPrepareXReportFMData [00:02:37]SAM_PROTO_GetShiftData [00:02:37]wFMCommunicate request_size=4 [00:02:37]MH_SAM_APDU [00:02:37]CAPDU: 80 13 02 00 [00:02:37]Write to MH i2c: E2 08 00 2C 00 80 13 02 00 00 00 00 00 AA [00:02:37]Write i2c OK [00:02:37]MH_I2C_Read... [00:02:37]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:02:37]Read from MH i2c: E2 [00:02:37]MH_I2C_Read... [00:02:37]Read from MH i2c: E2 FD 00 [00:02:37]MH_I2C_Read... [00:02:37]Read from MH i2c: E2 FD 00 2C 00 00 AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 2E [00:02:37]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:02:38]wFMCommunicate OK [00:02:38]wFMCommunicate request_size=4 [00:02:38]MH_SAM_APDU [00:02:38]CAPDU: 80 17 00 00 [00:02:38]Write to MH i2c: E2 08 00 2D 00 80 17 00 00 00 00 00 00 AD [00:02:38]Write i2c OK [00:02:38]MH_I2C_Read... [00:02:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:38]Read from MH i2c: E2 [00:02:38]MH_I2C_Read... [00:02:38]Read from MH i2c: E2 FD 00 [00:02:38]MH_I2C_Read... [00:02:38]Read from MH i2c: E2 FD 00 2D 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 CF [00:02:38]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:02:38]wFMCommunicate OK [00:02:38]wFMCommunicate request_size=4 [00:02:38]MH_SAM_APDU [00:02:38]CAPDU: 80 17 00 00 [00:02:38]Write to MH i2c: E2 08 00 2E 00 80 17 00 00 00 00 00 00 AE [00:02:38]Write i2c OK [00:02:38]MH_I2C_Read... [00:02:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:38]Read from MH i2c: E2 [00:02:38]MH_I2C_Read... [00:02:38]Read from MH i2c: E2 FD 00 [00:02:38]MH_I2C_Read... [00:02:38]Read from MH i2c: E2 FD 00 2E 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 65 [00:02:38]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:02:39]wFMCommunicate OK [00:02:39]wFMCommunicate request_size=4 [00:02:39]MH_SAM_APDU [00:02:39]CAPDU: 80 17 00 00 [00:02:39]Write to MH i2c: E2 08 00 2F 00 80 17 00 00 00 00 00 00 AF [00:02:39]Write i2c OK [00:02:39]MH_I2C_Read... [00:02:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:39]Read from MH i2c: E2 [00:02:39]MH_I2C_Read... [00:02:39]Read from MH i2c: E2 FD 00 [00:02:39]MH_I2C_Read... [00:02:39]Read from MH i2c: E2 FD 00 2F 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 21 [00:02:39]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:02:39]wFMCommunicate OK [00:02:39]wFMCommunicate request_size=4 [00:02:39]MH_SAM_APDU [00:02:39]CAPDU: 80 17 00 00 [00:02:39]Write to MH i2c: E2 08 00 30 00 80 17 00 00 00 00 00 00 B0 [00:02:39]Write i2c OK [00:02:39]MH_I2C_Read... [00:02:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:02:39]Read from MH i2c: E2 [00:02:39]MH_I2C_Read... [00:02:39]Read from MH i2c: E2 CB 00 [00:02:39]MH_I2C_Read... [00:02:39]Read from MH i2c: E2 CB 00 30 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 99 [00:02:39]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 OFD Sender: No OFD packet to send [00:02:39]04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:02:40]wFMCommunicate OK [00:02:40]SAM_PROTO_GetShiftData done [00:02:40]1194 (1194) - счетчики итогов смены [00:02:40] 1134 (4) - 72 - количество чеков со всеми признаками расчетов [00:02:40] 1129 (155) - счетчики операций «приход» [00:02:40] 1135 (4) - 72 - количество чеков по признаку расчетов [00:02:40] 1201 (3) - 15634.00 - общая итоговая сумма в чеках [00:02:40] 1136 (3) - 14248.00 - итоговая сумма в чеках наличными [00:02:40] 1138 (3) - 1386.00 - итоговая сумма в чеках безналичными [00:02:40] 1024 (122) - суммы налогов [00:02:40] 1006 (9) - суммы НДС [00:02:40] 1010 (1) - 0% - код ставки НДС [00:02:40] 1011 (0) - 0.00 - сумма НДС по ставке [00:02:40] 1006 (12) - суммы НДС [00:02:40] 1010 (1) - 12% - код ставки НДС [00:02:40] 1011 (3) - 1660.10 - сумма НДС по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 0% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (11) - суммы НСП [00:02:40] 1014 (1) - 1% - код ставки НСП [00:02:40] 1015 (2) - 138.30 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 2% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 3% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 5% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 0,50% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 1,50% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1130 (141) - счетчики операций «возврат прихода» [00:02:40] 1135 (4) - 0 - количество чеков по признаку расчетов [00:02:40] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:02:40] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:02:40] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:02:40] 1024 (117) - суммы налогов [00:02:40] 1006 (9) - суммы НДС [00:02:40] 1010 (1) - 0% - код ставки НДС [00:02:40] 1011 (0) - 0.00 - сумма НДС по ставке [00:02:40] 1006 (9) - суммы НДС [00:02:40] 1010 (1) - 12% - код ставки НДС [00:02:40] 1011 (0) - 0.00 - сумма НДС по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 0% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 1% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 2% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 3% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 5% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 0,50% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 1,50% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1131 (141) - счетчики операций «расход» [00:02:40] 1135 (4) - 0 - количество чеков по признаку расчетов [00:02:40] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:02:40] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:02:40] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:02:40] 1024 (117) - суммы налогов [00:02:40] 1006 (9) - суммы НДС [00:02:40] 1010 (1) - 0% - код ставки НДС [00:02:40] 1011 (0) - 0.00 - сумма НДС по ставке [00:02:40] 1006 (9) - суммы НДС [00:02:40] 1010 (1) - 12% - код ставки НДС [00:02:40] 1011 (0) - 0.00 - сумма НДС по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 0% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 1% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 2% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 3% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 5% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 0,50% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 1,50% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1132 (141) - счетчики операций «возврат расхода» [00:02:40] 1135 (4) - 0 - количество чеков по признаку расчетов [00:02:40] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:02:40] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:02:40] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:02:40] 1024 (117) - суммы налогов [00:02:40] 1006 (9) - суммы НДС [00:02:40] 1010 (1) - 0% - код ставки НДС [00:02:40] 1011 (0) - 0.00 - сумма НДС по ставке [00:02:40] 1006 (9) - суммы НДС [00:02:40] 1010 (1) - 12% - код ставки НДС [00:02:40] 1011 (0) - 0.00 - сумма НДС по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 0% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 1% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 2% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 3% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 5% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 0,50% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1007 (9) - суммы НСП [00:02:40] 1014 (1) - 1,50% - код ставки НСП [00:02:40] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:40] 1133 (588) - - счетчики коррекции - не используются [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1194 (04AA) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1134 (046E) [00:02:40]Malloc new data [00:02:40]Processing tag 1129 (0469) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1135 (046F) [00:02:40]Malloc new data [00:02:40]Processing tag 1201 (04B1) [00:02:40]Malloc new data [00:02:40]Processing tag 1136 (0470) [00:02:40]Malloc new data [00:02:40]Processing tag 1138 (0472) [00:02:40]Malloc new data [00:02:40]Processing tag 1024 (0400) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1006 (03EE) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1010 (03F2) [00:02:40]Malloc new data [00:02:40]Processing tag 1011 (03F3) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1006 (03EE) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1010 (03F2) [00:02:40]Malloc new data [00:02:40]Processing tag 1011 (03F3) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]SetTLVBufToDocument err=0 [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1130 (046A) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1135 (046F) [00:02:40]Malloc new data [00:02:40]Processing tag 1201 (04B1) [00:02:40]Malloc new data [00:02:40]Processing tag 1136 (0470) [00:02:40]Malloc new data [00:02:40]Processing tag 1138 (0472) [00:02:40]Malloc new data [00:02:40]Processing tag 1024 (0400) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1006 (03EE) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1010 (03F2) [00:02:40]Malloc new data [00:02:40]Processing tag 1011 (03F3) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1006 (03EE) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1010 (03F2) [00:02:40]Malloc new data [00:02:40]Processing tag 1011 (03F3) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]SetTLVBufToDocument err=0 [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1131 (046B) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1135 (046F) [00:02:40]Malloc new data [00:02:40]Processing tag 1201 (04B1) [00:02:40]Malloc new data [00:02:40]Processing tag 1136 (0470) [00:02:40]Malloc new data [00:02:40]Processing tag 1138 (0472) [00:02:40]Malloc new data [00:02:40]Processing tag 1024 (0400) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1006 (03EE) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1010 (03F2) [00:02:40]Malloc new data [00:02:40]Processing tag 1011 (03F3) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1006 (03EE) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1010 (03F2) [00:02:40]Malloc new data [00:02:40]Processing tag 1011 (03F3) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]SetTLVBufToDocument err=0 [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1132 (046C) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1135 (046F) [00:02:40]Malloc new data [00:02:40]Processing tag 1201 (04B1) [00:02:40]Malloc new data [00:02:40]Processing tag 1136 (0470) [00:02:40]Malloc new data [00:02:40]Processing tag 1138 (0472) [00:02:40]Malloc new data [00:02:40]Processing tag 1024 (0400) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1006 (03EE) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1010 (03F2) [00:02:40]Malloc new data [00:02:40]Processing tag 1011 (03F3) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1006 (03EE) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1010 (03F2) [00:02:40]Malloc new data [00:02:40]Processing tag 1011 (03F3) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:40]SetTLVBufToDocument err=0 [00:02:40]Processing tag 1007 (03EF) [00:02:40]Load OK [00:02:40]SetTLVBufToDocument [00:02:40]Processing tag 1014 (03F6) [00:02:40]Malloc new data [00:02:40]Processing tag 1015 (03F7) [00:02:40]Malloc new data [00:02:41]SetTLVBufToDocument err=0 [00:02:41]Processing tag 1007 (03EF) [00:02:41]Load OK [00:02:41]SetTLVBufToDocument [00:02:41]Processing tag 1014 (03F6) [00:02:41]Malloc new data [00:02:41]Processing tag 1015 (03F7) [00:02:41]Malloc new data [00:02:41]SetTLVBufToDocument err=0 [00:02:41]Processing tag 1007 (03EF) [00:02:41]Load OK [00:02:41]SetTLVBufToDocument [00:02:41]Processing tag 1014 (03F6) [00:02:41]Malloc new data [00:02:41]Processing tag 1015 (03F7) [00:02:41]Malloc new data [00:02:41]SetTLVBufToDocument err=0 [00:02:41]Processing tag 1007 (03EF) [00:02:41]Load OK [00:02:41]SetTLVBufToDocument [00:02:41]Processing tag 1014 (03F6) [00:02:41]Malloc new data [00:02:41]Processing tag 1015 (03F7) [00:02:41]Malloc new data [00:02:41]SetTLVBufToDocument err=0 [00:02:41]SetTLVBufToDocument err=0 [00:02:41]SetTLVBufToDocument err=0 [00:02:41]Processing tag 1133 (046D) [00:02:41]Malloc new data [00:02:41]SetTLVBufToDocument err=0 [00:02:41]SetTLVBufToDocument err=0 [00:02:41]Malloc new data [00:02:41]SAM_PROTO_GetFMData [00:02:41]wFMCommunicate request_size=4 [00:02:41]MH_SAM_APDU [00:02:41]CAPDU: 80 13 03 00 [00:02:41]Write to MH i2c: E2 08 00 31 00 80 13 03 00 00 00 00 00 B0 [00:02:41]Write i2c OK [00:02:41]MH_I2C_Read... [00:02:41]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:02:41]Read from MH i2c: E2 [00:02:41]MH_I2C_Read... [00:02:41]Read from MH i2c: E2 FD 00 [00:02:41]MH_I2C_Read... [00:02:41]Read from MH i2c: E2 FD 00 31 00 00 C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 19 [00:02:41]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:02:41]wFMCommunicate OK [00:02:41]wFMCommunicate request_size=4 [00:02:41]MH_SAM_APDU [00:02:41]CAPDU: 80 17 00 00 [00:02:41]Write to MH i2c: E2 08 00 32 00 80 17 00 00 00 00 00 00 B2 [00:02:42]Write i2c OK [00:02:42]MH_I2C_Read... [00:02:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:42]Read from MH i2c: E2 [00:02:42]MH_I2C_Read... [00:02:42]Read from MH i2c: E2 FD 00 [00:02:42]MH_I2C_Read... [00:02:42]Read from MH i2c: E2 FD 00 32 00 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 AD [00:02:42]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:02:42]wFMCommunicate OK [00:02:42]wFMCommunicate request_size=4 [00:02:42]MH_SAM_APDU [00:02:42]CAPDU: 80 17 00 00 [00:02:42]Write to MH i2c: E2 08 00 33 00 80 17 00 00 00 00 00 00 B3 [00:02:42]Write i2c OK [00:02:42]MH_I2C_Read... [00:02:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:42]Read from MH i2c: E2 [00:02:42]MH_I2C_Read... [00:02:42]Read from MH i2c: E2 FD 00 [00:02:42]MH_I2C_Read... [00:02:42]Read from MH i2c: E2 FD 00 33 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 56 [00:02:42]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:02:43]wFMCommunicate OK [00:02:43]wFMCommunicate request_size=4 [00:02:43]MH_SAM_APDU [00:02:43]CAPDU: 80 17 00 00 [00:02:43]Write to MH i2c: E2 08 00 34 00 80 17 00 00 00 00 00 00 B4 [00:02:43]Write i2c OK [00:02:43]MH_I2C_Read... [00:02:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:43]Read from MH i2c: E2 [00:02:43]MH_I2C_Read... [00:02:43]Read from MH i2c: E2 FD 00 [00:02:43]MH_I2C_Read... [00:02:43]Read from MH i2c: E2 FD 00 34 00 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 2C [00:02:43]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:02:43]wFMCommunicate OK [00:02:43]wFMCommunicate request_size=4 [00:02:43]MH_SAM_APDU [00:02:43]CAPDU: 80 17 00 00 [00:02:43]Write to MH i2c: E2 08 00 35 00 80 17 00 00 00 00 00 00 B5 [00:02:43]Write i2c OK [00:02:43]MH_I2C_Read... [00:02:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:02:43]Read from MH i2c: E2 [00:02:43]MH_I2C_Read... [00:02:43]Read from MH i2c: E2 DD 00 [00:02:43]MH_I2C_Read... [00:02:43]Read from MH i2c: E2 DD 00 35 00 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9D [00:02:44]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:02:44]wFMCommunicate OK [00:02:44]SAM_PROTO_GetFMData done [00:02:44]FM_GetFMData:85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 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 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:02:44]oper:6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:02:45]total:CA 7D 61 34 [00:02:45]OFD Sender: No OFD packet to send [00:02:45]Malloc new data [00:02:45]oper:6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 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 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:02:45]total:94 B2 13 [00:02:45]Malloc new data [00:02:45]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:02:45]total: [00:02:45]Malloc new data [00:02:45]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:02:45]total: [00:02:45]Malloc new data [00:02:45]KKMPrepareXReportFMData err=0 [00:02:45]Х отчет ИНН: 02508201610067 Кассир: Темирбек уулу Э. 31.10.2024 00:02 Смена: 522 РНМ: 0000000000091684 ЗНМ: 0300000092 СНО: Общий режим Всего чеков: 72 ИТОГИ ПРИХОД Чеков: 72 Общий итог: 15634.00 Итого наличными: 14248.00 Итого безнал.: 1386.00 НДС 0% : 0.00 НДС 12% : 1660.10 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 138.30 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 14248.00 НС Приход: 8788044.26 НС Возвр.Прихода: 12909.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871841 [00:02:45]StoreToDocumentArchive [00:02:45]MH_GetDate [00:02:45]Write to MH i2c: F0 00 00 36 00 25 [00:02:45]Write i2c OK [00:02:45]MH_I2C_Read... [00:02:45]Read from MH i2c: F0 [00:02:45]MH_I2C_Read... [00:02:45]Read from MH i2c: F0 09 00 [00:02:45]MH_I2C_Read... [00:02:45]Read from MH i2c: F0 09 00 36 00 00 26 C9 22 67 5B 68 A1 66 70 [00:02:45]shift 522 fd 1730332966 [00:02:45]Create dir for shift 0522 [00:02:45]save to /storage/0522/doc_1730332966 [00:02:45]save last doc name /storage/0522/doc_1730332966 to /storage/kkm_last_doc_name [00:02:45]save OK [00:02:45]Clear old archive folders... [00:02:45]NVStorageSaveData kkm_last_timestamp [00:02:45]File name is /storage/kkm_last_timestamp [00:02:45]Write 4 bytes [00:02:45]NVStorageSaveData done [00:02:45]ExternCall_PrintAddStr [00:02:45]wPrintStart [00:02:45]Write to MH i2c: 01 00 00 37 00 37 [00:02:45]Write i2c OK [00:02:45]MH_I2C_Read... [00:02:45]Read from MH i2c: 01 [00:02:45]MH_I2C_Read... [00:02:45]Read from MH i2c: 01 07 00 [00:02:45]MH_I2C_Read... [00:02:45]Read from MH i2c: 01 07 00 37 00 00 00 00 00 00 FF 0F 4C [00:02:45]RasterBufferAndPrint [00:02:45]line Х отчет [00:02:45]line ИНН: 02508201610067 [00:02:45]line Кассир: Темирбек уулу Э. [00:02:45]line 31.10.2024 00:02 [00:02:45]line Смена: 522 [00:02:45]line РНМ: 0000000000091684 [00:02:45]line ЗНМ: 0300000092 [00:02:45]line СНО: Общий режим [00:02:45]line Всего чеков: 72 [00:02:45]line ИТОГИ ПРИХОД [00:02:45]line Чеков: 72 [00:02:45]line Общий итог: 15634.00 [00:02:45]line Итого наличными: 14248.00 [00:02:45]line Итого безнал.: 1386.00 [00:02:45]line НДС 0% : 0.00 [00:02:45]line НДС 12% : 1660.10 [00:02:45]line НСП 0% : 0.00 [00:02:45]line НСП 1,50% : 0.00 [00:02:45]line НСП 0,50% : 0.00 [00:02:45]line НСП 5% : 0.00 [00:02:45]line НСП 3% : 0.00 [00:02:45]line НСП 2% : 0.00 [00:02:45]line НСП 1% : 138.30 [00:02:45]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:02:45]line Чеков: 0 [00:02:45]line Общий итог: 0.00 [00:02:45]line Итого наличными: 0.00 [00:02:45]line Итого безнал.: 0.00 [00:02:45]line НДС 0% : 0.00 [00:02:45]line НДС 12% : 0.00 [00:02:45]line НСП 0% : 0.00 [00:02:45]line НСП 1,50% : 0.00 [00:02:45]line НСП 0,50% : 0.00 [00:02:45]line НСП 5% : 0.00 [00:02:45]line НСП 3% : 0.00 [00:02:45]line НСП 2% : 0.00 [00:02:45]line НСП 1% : 0.00 [00:02:45]line ИТОГИ РАСХОД [00:02:45]line Чеков: 0 [00:02:45]line Общий итог: 0.00 [00:02:45]line Итого наличными: 0.00 [00:02:45]line Итого безнал.: 0.00 [00:02:45]line НДС 0% : 0.00 [00:02:45]line НДС 12% : 0.00 [00:02:45]line НСП 0% : 0.00 [00:02:45]line НСП 1,50% : 0.00 [00:02:45]line НСП 0,50% : 0.00 [00:02:45]line НСП 5% : 0.00 [00:02:45]line НСП 3% : 0.00 [00:02:45]line НСП 2% : 0.00 [00:02:45]line НСП 1% : 0.00 [00:02:45]line ИТОГИ ВОЗВРАТ РАСХОДА [00:02:45]line Чеков: 0 [00:02:45]line Общий итог: 0.00 [00:02:45]line Итого наличными: 0.00 [00:02:45]line Итого безнал.: 0.00 [00:02:45]line НДС 0% : 0.00 [00:02:45]line НДС 12% : 0.00 [00:02:45]line НСП 0% : 0.00 [00:02:45]line НСП 1,50% : 0.00 [00:02:45]line НСП 0,50% : 0.00 [00:02:45]line НСП 5% : 0.00 [00:02:45]line НСП 3% : 0.00 [00:02:45]line НСП 2% : 0.00 [00:02:45]line НСП 1% : 0.00 [00:02:45]line Сумма внесений: 0.00 [00:02:45]line Сумма выплат: 0.00 [00:02:45]line Нал. в кассе: 14248.00 [00:02:45]line НС Приход: 8788044.26 [00:02:45]line НС Возвр.Прихода: 12909.00 [00:02:45]line НС Расход: 0.00 [00:02:45]line НС Возвр.Расхода: 0.00 [00:02:45]line ФМ: 0000000000871841 [00:02:45]written 0, free lines is 4095 [00:02:46]Write to MH i2c: 01 00 00 82 00 82 [00:02:46]Write i2c OK [00:02:46]MH_I2C_Read... [00:02:46]Read from MH i2c: 01 [00:02:46]MH_I2C_Read... [00:02:46]Read from MH i2c: 01 07 00 [00:02:46]MH_I2C_Read... [00:02:46]Read from MH i2c: 01 07 00 82 00 00 00 00 00 00 86 0A 19 [00:02:46]RasterBufferAndPrint [00:02:46]line [00:02:46]line [00:02:46]line [00:02:46]line [00:02:46]line [00:02:46]written 0, free lines is 2726 [00:02:46]MH_Cut [00:02:46]Write to MH i2c: D1 01 00 89 00 01 5B [00:02:46]Write i2c OK [00:02:46]MH_I2C_Read... [00:02:46]Read from MH i2c: D1 [00:02:46]MH_I2C_Read... [00:02:46]Read from MH i2c: D1 01 00 [00:02:46]MH_I2C_Read... [00:02:46]Read from MH i2c: D1 01 00 89 00 00 5A [00:02:46]Write to MH i2c: 01 00 00 8A 00 8A [00:02:46]Write i2c OK [00:02:46]MH_I2C_Read... [00:02:47]*** Cut start [00:02:47]*** Partial cut [00:02:47]*** CUTSNS_PIN = 1 [00:02:47]*** CUTSNS_PIN = 0 [00:02:47]*** Brake cut motor [00:02:47]Read from MH i2c: 01 [00:02:47]MH_I2C_Read... [00:02:47]*** Stop cut motor [00:02:47]*** Cut end [00:02:47]Read from MH i2c: 01 07 00 [00:02:47]MH_I2C_Read... [00:02:47]Read from MH i2c: 01 07 00 8A 00 00 00 00 00 00 FF 0F 9F [00:02:47]process_action x_report done [00:02:47]requested_data is exist [00:02:47]produce_requested_data [00:02:47]requested_item fd.num is exist - process it [00:02:47]SAM_PROTO_GetFieldsCounters [00:02:47]wFMCommunicate request_size=4 [00:02:47]MH_SAM_APDU [00:02:47]CAPDU: 80 13 00 00 [00:02:47]Write to MH i2c: E2 08 00 8B 00 80 13 00 00 00 00 00 00 07 [00:02:48]Write i2c OK [00:02:48]MH_I2C_Read... [00:02:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:02:48]Read from MH i2c: E2 [00:02:48]MH_I2C_Read... [00:02:48]Read from MH i2c: E2 62 00 [00:02:48]MH_I2C_Read... [00:02:48]Read from MH i2c: E2 62 00 8B 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 66 94 00 00 0E 04 04 00 29 02 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 25 [00:02:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 66 94 00 00 0E 04 04 00 29 02 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 [00:02:48]wFMCommunicate OK [00:02:48]SAM_PROTO_GetFieldsCounters done [00:02:48]requested_item shift.num is exist - process it [00:02:48]requested_item shift.opened is exist - process it [00:02:48]req_shift_opened [00:02:48]FM_GetShiftState [00:02:48]SAM_PROTO_GetShiftState [00:02:48]wFMCommunicate request_size=4 [00:02:48]MH_SAM_APDU [00:02:48]CAPDU: 80 13 01 00 [00:02:48]Write to MH i2c: E2 08 00 8C 00 80 13 01 00 00 00 00 00 09 [00:02:48]Write i2c OK [00:02:48]MH_I2C_Read... [00:02:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:48]Read from MH i2c: E2 [00:02:48]MH_I2C_Read... [00:02:48]Read from MH i2c: E2 0E 00 [00:02:48]MH_I2C_Read... [00:02:48]Read from MH i2c: E2 0E 00 8C 00 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 CA [00:02:48]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [00:02:48]wFMCommunicate OK [00:02:48]SAM_PROTO_GetShiftState done [00:02:48]FM_GetShiftState done [00:02:48]req_shift_opened done [00:02:48]requested_item shift.open_date is exist - process it [00:02:48]req_shift_open_date [00:02:48]req_shift_open_date done [00:02:48]produce_requested_data done [00:02:48]produce_requested_data return {"fd.num":37990,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [00:02:48]process_action_free x_report [00:02:48]json_value_free [00:02:48]json_value_free done [00:02:48]process_json_proto returns [00:02:48]Send response to host [00:02:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37990,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [00:02:48]free response buf [00:02:48]execute_script done [00:02:48]execute_script returns [00:02:48]free content buf [00:02:48]Sock 7.Close socket [00:02:48]Sock 7.Thread stoped [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:14]accept exits with 9 [00:03:14]New connection [00:03:14]New thread 3067186532 created [00:03:14]Thread 3067043172 joined [00:03:14]Waiting for new connection... [00:03:14] Sock 9.Parse request [00:03:14]Sock 9.Check first char [00:03:14]Sock 9.First char is OK [00:03:14]request: POST /json_proto HTTP/1.0 [00:03:14]Method: POST [00:03:14]URL: /json_proto [00:03:14]Method is POST - this is cgi request [00:03:14]url: /json_proto [00:03:14]query_string will be loaded in cgi processing [00:03:14]execute_cgi json_proto POST (null) [00:03:14]execute_cgi path=json_proto method=POST [00:03:14]POST find Content-Length [00:03:14]Host: 172.17.40.196:8080 [00:03:14]Content-Length: 215 [00:03:14]Content-Type: application/json [00:03:14] [00:03:14]POST finish read [00:03:14]Found Content-Length = 215 [00:03:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:14]execute_script... [00:03:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:14]POST & json_proto [00:03:14]process_json_proto [00:03:14]json parsed OK: [00:03:14]protocol is kg_v1.0 [00:03:14]action value=get_value [00:03:14]process_action get_value [00:03:14]cmd_get_value [00:03:14]process_action get_value done [00:03:14]requested_data is exist [00:03:14]produce_requested_data [00:03:14]requested_item kkm.sn is exist - process it [00:03:14]requested_item kkm.ver is exist - process it [00:03:14]requested_item fm.sn is exist - process it [00:03:14]wFMCommunicate request_size=4 [00:03:14]MH_SAM_APDU [00:03:14]CAPDU: 80 11 00 00 [00:03:14]Write to MH i2c: E2 08 00 8D 00 80 11 00 00 00 00 00 00 07 [00:03:14]Write i2c OK [00:03:14]MH_I2C_Read... [00:03:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:03:14]Read from MH i2c: E2 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 17 00 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 17 00 8D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 57 [00:03:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:03:14]wFMCommunicate OK [00:03:14]requested_item fd.num is exist - process it [00:03:14]SAM_PROTO_GetFieldsCounters [00:03:14]wFMCommunicate request_size=4 [00:03:14]MH_SAM_APDU [00:03:14]CAPDU: 80 13 00 00 [00:03:14]Write to MH i2c: E2 08 00 8E 00 80 13 00 00 00 00 00 00 0A [00:03:14]Write i2c OK [00:03:14]MH_I2C_Read... [00:03:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:03:14]Read from MH i2c: E2 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 62 00 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 62 00 8E 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 66 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 28 [00:03:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 66 94 00 00 0E 04 04 00 29 02 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 [00:03:14]wFMCommunicate OK [00:03:14]SAM_PROTO_GetFieldsCounters done [00:03:14]requested_item shift.num is exist - process it [00:03:14]requested_item shift.opened is exist - process it [00:03:14]req_shift_opened [00:03:14]FM_GetShiftState [00:03:14]SAM_PROTO_GetShiftState [00:03:14]wFMCommunicate request_size=4 [00:03:14]MH_SAM_APDU [00:03:14]CAPDU: 80 13 01 00 [00:03:14]Write to MH i2c: E2 08 00 8F 00 80 13 01 00 00 00 00 00 0C [00:03:14]Write i2c OK [00:03:14]MH_I2C_Read... [00:03:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:14]Read from MH i2c: E2 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 0E 00 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 0E 00 8F 00 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 CD [00:03:14]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [00:03:14]wFMCommunicate OK [00:03:14]SAM_PROTO_GetShiftState done [00:03:14]FM_GetShiftState done [00:03:14]req_shift_opened done [00:03:14]requested_item shift.open_date is exist - process it [00:03:14]req_shift_open_date [00:03:14]req_shift_open_date done [00:03:14]produce_requested_data done [00:03:14]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37990,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [00:03:14]process_action_free get_value [00:03:14]json_value_free [00:03:14]json_value_free done [00:03:14]process_json_proto returns [00:03:14]Send response to host [00:03:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37990,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [00:03:14]free response buf [00:03:14]execute_script done [00:03:14]execute_script returns [00:03:14]free content buf [00:03:14]Sock 9.Close socket [00:03:14]Sock 9.Thread stoped [00:03:14]accept exits with 10 [00:03:14]New connection [00:03:14]New thread 3067043172 created [00:03:14]Thread 3067186532 joined [00:03:14]Waiting for new connection... [00:03:14] Sock 10.Parse request [00:03:14]Sock 10.Check first char [00:03:14]Sock 10.First char is OK [00:03:14]request: POST /json_proto HTTP/1.0 [00:03:14]Method: POST [00:03:14]URL: /json_proto [00:03:14]Method is POST - this is cgi request [00:03:14]url: /json_proto [00:03:14]query_string will be loaded in cgi processing [00:03:14]execute_cgi json_proto POST (null) [00:03:14]execute_cgi path=json_proto method=POST [00:03:14]POST find Content-Length [00:03:14]Host: 172.17.40.196:8080 [00:03:14]Content-Length: 331 [00:03:14]Content-Type: application/json [00:03:14] [00:03:14]POST finish read [00:03:14]Found Content-Length = 331 [00:03:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:14]execute_script... [00:03:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:14]POST & json_proto [00:03:14]process_json_proto [00:03:14]json parsed OK: [00:03:14]protocol is kg_v1.0 [00:03:14]action value=get_value [00:03:14]process_action get_value [00:03:14]cmd_get_value [00:03:14]process_action get_value done [00:03:14]requested_data is exist [00:03:14]produce_requested_data [00:03:14]requested_item fm.sale.total is exist - process it [00:03:14]SAM_PROTO_GetFMData [00:03:14]wFMCommunicate request_size=4 [00:03:14]MH_SAM_APDU [00:03:14]CAPDU: 80 13 03 00 [00:03:14]Write to MH i2c: E2 08 00 90 00 80 13 03 00 00 00 00 00 0F [00:03:14]Write i2c OK [00:03:14]MH_I2C_Read... [00:03:15]OFD Sender: No OFD packet to send [00:03:15]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:03:15]Read from MH i2c: E2 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: E2 FD 00 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: E2 FD 00 90 00 00 C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 78 [00:03:15]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:03:15]wFMCommunicate OK [00:03:15]wFMCommunicate request_size=4 [00:03:15]MH_SAM_APDU [00:03:15]CAPDU: 80 17 00 00 [00:03:15]Write to MH i2c: E2 08 00 91 00 80 17 00 00 00 00 00 00 11 [00:03:15]Write i2c OK [00:03:15]MH_I2C_Read... [00:03:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:15]Read from MH i2c: E2 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: E2 FD 00 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: E2 FD 00 91 00 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 0C [00:03:15]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:03:15]wFMCommunicate OK [00:03:15]wFMCommunicate request_size=4 [00:03:15]MH_SAM_APDU [00:03:15]CAPDU: 80 17 00 00 [00:03:15]Write to MH i2c: E2 08 00 92 00 80 17 00 00 00 00 00 00 12 [00:03:15]Write i2c OK [00:03:15]MH_I2C_Read... [00:03:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:16]Read from MH i2c: E2 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 FD 00 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 FD 00 92 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 B5 [00:03:16]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:03:16]wFMCommunicate OK [00:03:16]wFMCommunicate request_size=4 [00:03:16]MH_SAM_APDU [00:03:16]CAPDU: 80 17 00 00 [00:03:16]Write to MH i2c: E2 08 00 93 00 80 17 00 00 00 00 00 00 13 [00:03:16]Write i2c OK [00:03:16]MH_I2C_Read... [00:03:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:16]Read from MH i2c: E2 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 FD 00 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 FD 00 93 00 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 8B [00:03:16]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:03:16]wFMCommunicate OK [00:03:16]wFMCommunicate request_size=4 [00:03:16]MH_SAM_APDU [00:03:16]CAPDU: 80 17 00 00 [00:03:16]Write to MH i2c: E2 08 00 94 00 80 17 00 00 00 00 00 00 14 [00:03:16]Write i2c OK [00:03:16]MH_I2C_Read... [00:03:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:03:17]Read from MH i2c: E2 [00:03:17]MH_I2C_Read... [00:03:17]Read from MH i2c: E2 DD 00 [00:03:17]MH_I2C_Read... [00:03:17]Read from MH i2c: E2 DD 00 94 00 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 FC [00:03:17]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:03:17]wFMCommunicate OK [00:03:17]SAM_PROTO_GetFMData done [00:03:17]requested_item fm.sale_refund.total is exist - process it [00:03:17]requested_item fm.buy.total is exist - process it [00:03:17]requested_item shift.sale.total is exist - process it [00:03:17]SAM_PROTO_GetShiftData [00:03:17]wFMCommunicate request_size=4 [00:03:17]MH_SAM_APDU [00:03:17]CAPDU: 80 13 02 00 [00:03:17]Write to MH i2c: E2 08 00 95 00 80 13 02 00 00 00 00 00 13 [00:03:17]Write i2c OK [00:03:17]MH_I2C_Read... [00:03:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:03:17]Read from MH i2c: E2 [00:03:17]MH_I2C_Read... [00:03:17]Read from MH i2c: E2 FD 00 [00:03:17]MH_I2C_Read... [00:03:17]Read from MH i2c: E2 FD 00 95 00 00 AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 97 [00:03:18]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:03:18]wFMCommunicate OK [00:03:18]wFMCommunicate request_size=4 [00:03:18]MH_SAM_APDU [00:03:18]CAPDU: 80 17 00 00 [00:03:18]Write to MH i2c: E2 08 00 96 00 80 17 00 00 00 00 00 00 16 [00:03:18]Write i2c OK [00:03:18]MH_I2C_Read... [00:03:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:18]Read from MH i2c: E2 [00:03:18]MH_I2C_Read... [00:03:18]Read from MH i2c: E2 FD 00 [00:03:18]MH_I2C_Read... [00:03:18]Read from MH i2c: E2 FD 00 96 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 38 [00:03:18]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:03:18]wFMCommunicate OK [00:03:18]wFMCommunicate request_size=4 [00:03:18]MH_SAM_APDU [00:03:18]CAPDU: 80 17 00 00 [00:03:18]Write to MH i2c: E2 08 00 97 00 80 17 00 00 00 00 00 00 17 [00:03:18]Write i2c OK [00:03:18]MH_I2C_Read... [00:03:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:18]Read from MH i2c: E2 [00:03:18]MH_I2C_Read... [00:03:18]Read from MH i2c: E2 FD 00 [00:03:18]MH_I2C_Read... [00:03:18]Read from MH i2c: E2 FD 00 97 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 CE [00:03:19]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:03:19]wFMCommunicate OK [00:03:19]wFMCommunicate request_size=4 [00:03:19]MH_SAM_APDU [00:03:19]CAPDU: 80 17 00 00 [00:03:19]Write to MH i2c: E2 08 00 98 00 80 17 00 00 00 00 00 00 18 [00:03:19]Write i2c OK [00:03:19]MH_I2C_Read... [00:03:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:19]Read from MH i2c: E2 [00:03:19]MH_I2C_Read... [00:03:19]Read from MH i2c: E2 FD 00 [00:03:19]MH_I2C_Read... [00:03:19]Read from MH i2c: E2 FD 00 98 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 8A [00:03:19]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:03:19]wFMCommunicate OK [00:03:19]wFMCommunicate request_size=4 [00:03:19]MH_SAM_APDU [00:03:19]CAPDU: 80 17 00 00 [00:03:19]Write to MH i2c: E2 08 00 99 00 80 17 00 00 00 00 00 00 19 [00:03:19]Write i2c OK [00:03:19]MH_I2C_Read... [00:03:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:03:19]Read from MH i2c: E2 [00:03:20]MH_I2C_Read... [00:03:20]Read from MH i2c: E2 CB 00 [00:03:20]MH_I2C_Read... [00:03:20]Read from MH i2c: E2 CB 00 99 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 02 [00:03:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 OFD Sender: No OFD packet to send [00:03:20]6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:03:20]wFMCommunicate OK [00:03:20]SAM_PROTO_GetShiftData done [00:03:20]requested_item shift.sale.total_cash is exist - process it [00:03:20]requested_item shift.sale_refund.total is exist - process it [00:03:20]requested_item shift.sale_refund.total_cash is exist - process it [00:03:20]requested_item shift.buy.total is exist - process it [00:03:20]requested_item shift.buy.total_cash is exist - process it [00:03:20]produce_requested_data done [00:03:20]produce_requested_data return {"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15634.00,"shift.sale.total_cash":14248.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:03:20]process_action_free get_value [00:03:20]json_value_free [00:03:20]json_value_free done [00:03:20]process_json_proto returns [00:03:20]Send response to host [00:03:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15634.00,"shift.sale.total_cash":14248.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:03:20]free response buf [00:03:20]execute_script done [00:03:20]execute_script returns [00:03:20]free content buf [00:03:20]Sock 10.Close socket [00:03:20]Sock 10.Thread stoped [00:03:20]accept exits with 7 [00:03:20]New connection [00:03:20]New thread 3067186532 created [00:03:20]Thread 3067043172 joined [00:03:20]Waiting for new connection... [00:03:20] Sock 7.Parse request [00:03:20]Sock 7.Check first char [00:03:20]Sock 7.First char is OK [00:03:20]request: POST /json_proto HTTP/1.0 [00:03:20]Method: POST [00:03:20]URL: /json_proto [00:03:20]Method is POST - this is cgi request [00:03:20]url: /json_proto [00:03:20]query_string will be loaded in cgi processing [00:03:20]execute_cgi json_proto POST (null) [00:03:20]execute_cgi path=json_proto method=POST [00:03:20]POST find Content-Length [00:03:20]Host: 172.17.40.196:8080 [00:03:20]Content-Length: 331 [00:03:20]Content-Type: application/json [00:03:20] [00:03:20]POST finish read [00:03:20]Found Content-Length = 331 [00:03:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:20]execute_script... [00:03:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:20]POST & json_proto [00:03:20]process_json_proto [00:03:20]json parsed OK: [00:03:20]protocol is kg_v1.0 [00:03:20]action value=get_value [00:03:20]process_action get_value [00:03:20]cmd_get_value [00:03:20]process_action get_value done [00:03:20]requested_data is exist [00:03:20]produce_requested_data [00:03:20]requested_item fm.sale.total is exist - process it [00:03:20]SAM_PROTO_GetFMData [00:03:20]wFMCommunicate request_size=4 [00:03:20]MH_SAM_APDU [00:03:20]CAPDU: 80 13 03 00 [00:03:20]Write to MH i2c: E2 08 00 9A 00 80 13 03 00 00 00 00 00 19 [00:03:20]Write i2c OK [00:03:20]MH_I2C_Read... [00:03:20]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:03:20]Read from MH i2c: E2 [00:03:20]MH_I2C_Read... [00:03:20]Read from MH i2c: E2 FD 00 [00:03:20]MH_I2C_Read... [00:03:20]Read from MH i2c: E2 FD 00 9A 00 00 C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 82 [00:03:21]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:03:21]wFMCommunicate OK [00:03:21]wFMCommunicate request_size=4 [00:03:21]MH_SAM_APDU [00:03:21]CAPDU: 80 17 00 00 [00:03:21]Write to MH i2c: E2 08 00 9B 00 80 17 00 00 00 00 00 00 1B [00:03:21]Write i2c OK [00:03:21]MH_I2C_Read... [00:03:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:21]Read from MH i2c: E2 [00:03:21]MH_I2C_Read... [00:03:21]Read from MH i2c: E2 FD 00 [00:03:21]MH_I2C_Read... [00:03:21]Read from MH i2c: E2 FD 00 9B 00 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 16 [00:03:21]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:03:21]wFMCommunicate OK [00:03:21]wFMCommunicate request_size=4 [00:03:21]MH_SAM_APDU [00:03:21]CAPDU: 80 17 00 00 [00:03:21]Write to MH i2c: E2 08 00 9C 00 80 17 00 00 00 00 00 00 1C [00:03:21]Write i2c OK [00:03:21]MH_I2C_Read... [00:03:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:21]Read from MH i2c: E2 [00:03:21]MH_I2C_Read... [00:03:21]Read from MH i2c: E2 FD 00 [00:03:21]MH_I2C_Read... [00:03:21]Read from MH i2c: E2 FD 00 9C 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 BF [00:03:22]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:03:22]wFMCommunicate OK [00:03:22]wFMCommunicate request_size=4 [00:03:22]MH_SAM_APDU [00:03:22]CAPDU: 80 17 00 00 [00:03:22]Write to MH i2c: E2 08 00 9D 00 80 17 00 00 00 00 00 00 1D [00:03:22]Write i2c OK [00:03:22]MH_I2C_Read... [00:03:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:22]Read from MH i2c: E2 [00:03:22]MH_I2C_Read... [00:03:22]Read from MH i2c: E2 FD 00 [00:03:22]MH_I2C_Read... [00:03:22]Read from MH i2c: E2 FD 00 9D 00 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 95 [00:03:22]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:03:22]wFMCommunicate OK [00:03:22]wFMCommunicate request_size=4 [00:03:22]MH_SAM_APDU [00:03:22]CAPDU: 80 17 00 00 [00:03:22]Write to MH i2c: E2 08 00 9E 00 80 17 00 00 00 00 00 00 1E [00:03:22]Write i2c OK [00:03:22]MH_I2C_Read... [00:03:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:03:23]Read from MH i2c: E2 [00:03:23]MH_I2C_Read... [00:03:23]Read from MH i2c: E2 DD 00 [00:03:23]MH_I2C_Read... [00:03:23]Read from MH i2c: E2 DD 00 9E 00 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 06 [00:03:23]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:23]wFMCommunicate OK [00:03:23]SAM_PROTO_GetFMData done [00:03:23]requested_item fm.sale_refund.total is exist - process it [00:03:23]requested_item fm.buy.total is exist - process it [00:03:23]requested_item shift.sale.total is exist - process it [00:03:23]SAM_PROTO_GetShiftData [00:03:23]wFMCommunicate request_size=4 [00:03:23]MH_SAM_APDU [00:03:23]CAPDU: 80 13 02 00 [00:03:23]Write to MH i2c: E2 08 00 9F 00 80 13 02 00 00 00 00 00 1D [00:03:23]Write i2c OK [00:03:23]MH_I2C_Read... [00:03:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:03:23]Read from MH i2c: E2 [00:03:23]MH_I2C_Read... [00:03:23]Read from MH i2c: E2 FD 00 [00:03:23]MH_I2C_Read... [00:03:23]Read from MH i2c: E2 FD 00 9F 00 00 AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A1 [00:03:24]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:03:24]wFMCommunicate OK [00:03:24]wFMCommunicate request_size=4 [00:03:24]MH_SAM_APDU [00:03:24]CAPDU: 80 17 00 00 [00:03:24]Write to MH i2c: E2 08 00 A0 00 80 17 00 00 00 00 00 00 20 [00:03:24]Write i2c OK [00:03:24]MH_I2C_Read... [00:03:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:24]Read from MH i2c: E2 [00:03:24]MH_I2C_Read... [00:03:24]Read from MH i2c: E2 FD 00 [00:03:24]MH_I2C_Read... [00:03:24]Read from MH i2c: E2 FD 00 A0 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 42 [00:03:24]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:03:24]wFMCommunicate OK [00:03:24]wFMCommunicate request_size=4 [00:03:24]MH_SAM_APDU [00:03:24]CAPDU: 80 17 00 00 [00:03:24]Write to MH i2c: E2 08 00 A1 00 80 17 00 00 00 00 00 00 21 [00:03:24]Write i2c OK [00:03:24]MH_I2C_Read... [00:03:25]Read from MH i2c: E2 [00:03:25]MH_I2C_Read... [00:03:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:25]Read from MH i2c: E2 FD 00 [00:03:25]MH_I2C_Read... [00:03:25]Read from MH i2c: E2 FD 00 A1 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 D8 [00:03:25]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 OFD Sender: No OFD packet to send [00:03:25]03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:03:25]wFMCommunicate OK [00:03:25]wFMCommunicate request_size=4 [00:03:25]MH_SAM_APDU [00:03:25]CAPDU: 80 17 00 00 [00:03:25]Write to MH i2c: E2 08 00 A2 00 80 17 00 00 00 00 00 00 22 [00:03:25]Write i2c OK [00:03:25]MH_I2C_Read... [00:03:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:25]Read from MH i2c: E2 [00:03:25]MH_I2C_Read... [00:03:25]Read from MH i2c: E2 FD 00 [00:03:25]MH_I2C_Read... [00:03:25]Read from MH i2c: E2 FD 00 A2 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 94 [00:03:25]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:03:26]wFMCommunicate OK [00:03:26]wFMCommunicate request_size=4 [00:03:26]MH_SAM_APDU [00:03:26]CAPDU: 80 17 00 00 [00:03:26]Write to MH i2c: E2 08 00 A3 00 80 17 00 00 00 00 00 00 23 [00:03:26]Write i2c OK [00:03:26]MH_I2C_Read... [00:03:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:03:26]Read from MH i2c: E2 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: E2 CB 00 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: E2 CB 00 A3 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0C [00:03:26]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:26]wFMCommunicate OK [00:03:26]SAM_PROTO_GetShiftData done [00:03:26]requested_item shift.sale.total_cash is exist - process it [00:03:26]requested_item shift.sale_refund.total is exist - process it [00:03:26]requested_item shift.sale_refund.total_cash is exist - process it [00:03:26]requested_item shift.buy.total is exist - process it [00:03:26]requested_item shift.buy.total_cash is exist - process it [00:03:26]produce_requested_data done [00:03:26]produce_requested_data return {"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15634.00,"shift.sale.total_cash":14248.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:03:26]process_action_free get_value [00:03:26]json_value_free [00:03:26]json_value_free done [00:03:26]process_json_proto returns [00:03:26]Send response to host [00:03:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15634.00,"shift.sale.total_cash":14248.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:03:26]free response buf [00:03:26]execute_script done [00:03:26]execute_script returns [00:03:26]free content buf [00:03:26]Sock 7.Close socket [00:03:26]Sock 7.Thread stoped [00:03:26]accept exits with 10 [00:03:26]New connection [00:03:26]New thread 3067043172 created [00:03:26]Thread 3067186532 joined [00:03:26]Waiting for new connection... [00:03:26] Sock 10.Parse request [00:03:26]Sock 10.Check first char [00:03:26]Sock 10.First char is OK [00:03:26]request: POST /json_proto HTTP/1.0 [00:03:26]Method: POST [00:03:26]URL: /json_proto [00:03:26]Method is POST - this is cgi request [00:03:26]url: /json_proto [00:03:26]query_string will be loaded in cgi processing [00:03:26]execute_cgi json_proto POST (null) [00:03:26]execute_cgi path=json_proto method=POST [00:03:26]POST find Content-Length [00:03:26]Host: 172.17.40.196:8080 [00:03:26]Content-Length: 285 [00:03:26]Content-Type: application/json [00:03:26] [00:03:26]POST finish read [00:03:26]Found Content-Length = 285 [00:03:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0422\u0435\u043C\u0438\u0440\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:26]execute_script... [00:03:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0422\u0435\u043C\u0438\u0440\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:26]POST & json_proto [00:03:26]process_json_proto [00:03:26]json parsed OK: [00:03:26]protocol is kg_v1.0 [00:03:26]action value=close_shift [00:03:26]process_action close_shift [00:03:26]cmd_close_shift [00:03:26]MH_GetDate [00:03:26]Write to MH i2c: F0 00 00 A4 00 93 [00:03:26]Write i2c OK [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: F0 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: F0 09 00 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: F0 09 00 A4 00 00 4F C9 22 67 5B 68 A1 66 07 [00:03:26]GetLastDocTimeStamp 1730332957 [00:03:26]current date 1730333007 [00:03:26]FM_GetShiftState [00:03:26]SAM_PROTO_GetShiftState [00:03:26]wFMCommunicate request_size=4 [00:03:26]MH_SAM_APDU [00:03:26]CAPDU: 80 13 01 00 [00:03:26]Write to MH i2c: E2 08 00 A5 00 80 13 01 00 00 00 00 00 22 [00:03:26]Write i2c OK [00:03:26]MH_I2C_Read... [00:03:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:26]Read from MH i2c: E2 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: E2 0E 00 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: E2 0E 00 A5 00 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 E3 [00:03:26]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [00:03:26]wFMCommunicate OK [00:03:26]SAM_PROTO_GetShiftState done [00:03:26]FM_GetShiftState done [00:03:26]KKMCreateCloseShiftDocument [00:03:26]Load OK [00:03:26]Malloc new data [00:03:26]MH_GetDate [00:03:26]Write to MH i2c: F0 00 00 A6 00 95 [00:03:26]Write i2c OK [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: F0 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: F0 09 00 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: F0 09 00 A6 00 00 4F C9 22 67 5B 68 A1 66 09 [00:03:26]Malloc new data [00:03:26]Malloc new data [00:03:26]Malloc new data [00:03:26]Malloc new data [00:03:26]KKMCreateCloseShiftDocument OK [00:03:26]KKMSetCloseShiftData OK [00:03:26]ProcessDocumentItem done err = 0, tmpTLVsize=80 [00:03:26]tlvbuf is 012B7C30 [00:03:26]KKMLoadAndSignCloseShiftData [00:03:26]SAM_PROTO_ProcessDocument [00:03:26]wFMCommunicate request_size=9 [00:03:26]MH_SAM_APDU [00:03:26]CAPDU: 80 15 01 00 04 05 00 50 00 [00:03:26]Write to MH i2c: E2 0C 00 A7 00 80 15 01 00 04 00 05 00 50 00 00 00 83 [00:03:26]Write i2c OK [00:03:26]MH_I2C_Read... [00:03:26]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:03:26]Read from MH i2c: E2 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: E2 03 00 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: E2 03 00 A7 00 00 90 00 1B [00:03:27]RAPDU: 90 00 [00:03:27]wFMCommunicate OK [00:03:27]wFMCommunicate request_size=23 [00:03:27]MH_SAM_APDU [00:03:27]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:03:27]Write to MH i2c: E2 1A 00 A8 00 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 1D [00:03:27]Write i2c OK [00:03:27]MH_I2C_Read... [00:03:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:03:27]Read from MH i2c: E2 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 03 00 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 03 00 A8 00 00 90 00 1C [00:03:27]RAPDU: 90 00 [00:03:27]wFMCommunicate OK [00:03:27]wFMCommunicate request_size=39 [00:03:27]MH_SAM_APDU [00:03:27]CAPDU: 80 15 02 00 22 FD 03 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 [00:03:27]Write to MH i2c: E2 2A 00 A9 00 80 15 02 00 22 00 FD 03 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 00 00 09 [00:03:27]Write i2c OK [00:03:27]MH_I2C_Read... [00:03:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:03:27]Read from MH i2c: E2 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 03 00 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 03 00 A9 00 00 90 00 1D [00:03:27]RAPDU: 90 00 [00:03:27]wFMCommunicate OK [00:03:27]wFMCommunicate request_size=13 [00:03:27]MH_SAM_APDU [00:03:27]CAPDU: 80 15 02 00 08 F4 03 04 00 4F C9 22 67 [00:03:27]Write to MH i2c: E2 10 00 AA 00 80 15 02 00 08 00 F4 03 04 00 4F C9 22 67 00 00 D6 [00:03:27]Write i2c OK [00:03:27]MH_I2C_Read... [00:03:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:03:27]Read from MH i2c: E2 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 03 00 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 03 00 AA 00 00 90 00 1E [00:03:27]RAPDU: 90 00 [00:03:27]wFMCommunicate OK [00:03:27]wFMCommunicate request_size=25 [00:03:27]MH_SAM_APDU [00:03:27]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 [00:03:27]Write to MH i2c: E2 1C 00 AB 00 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 00 00 90 [00:03:27]Write i2c OK [00:03:27]MH_I2C_Read... [00:03:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:03:27]Read from MH i2c: E2 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 03 00 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 03 00 AB 00 00 90 00 1F [00:03:27]RAPDU: 90 00 [00:03:27]wFMCommunicate OK [00:03:27]wFMCommunicate request_size=4 [00:03:27]MH_SAM_APDU [00:03:27]CAPDU: 80 15 03 00 [00:03:27]Write to MH i2c: E2 08 00 AC 00 80 15 03 00 00 00 00 00 2D [00:03:27]Write i2c OK [00:03:27]MH_I2C_Read... [00:03:28]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:03:28]Read from MH i2c: E2 [00:03:28]MH_I2C_Read... [00:03:28]Read from MH i2c: E2 FD 00 [00:03:28]MH_I2C_Read... [00:03:28]Read from MH i2c: E2 FD 00 AC 00 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 67 94 00 00 0E 04 04 00 29 02 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 05 [00:03:28]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 67 94 00 00 0E 04 04 00 29 02 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:03:28]wFMCommunicate OK [00:03:28]SAM_PROTO_ProcessDocument answer len = 1265 [00:03:28]SAM_PROTO_ProcessDocument remain to read = 1017 [00:03:28]wFMCommunicate request_size=4 [00:03:28]MH_SAM_APDU [00:03:28]CAPDU: 80 17 00 00 [00:03:28]Write to MH i2c: E2 08 00 AD 00 80 17 00 00 00 00 00 00 2D [00:03:28]Write i2c OK [00:03:28]MH_I2C_Read... [00:03:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:28]Read from MH i2c: E2 [00:03:28]MH_I2C_Read... [00:03:28]Read from MH i2c: E2 FD 00 [00:03:28]MH_I2C_Read... [00:03:28]Read from MH i2c: E2 FD 00 AD 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 76 [00:03:28]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:03:29]wFMCommunicate OK [00:03:29]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:03:29]SAM_PROTO_ProcessDocument remain to read = 767 [00:03:29]wFMCommunicate request_size=4 [00:03:29]MH_SAM_APDU [00:03:29]CAPDU: 80 17 00 00 [00:03:29]Write to MH i2c: E2 08 00 AE 00 80 17 00 00 00 00 00 00 2E [00:03:29]Write i2c OK [00:03:29]MH_I2C_Read... [00:03:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:29]Read from MH i2c: E2 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 FD 00 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 FD 00 AE 00 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 90 [00:03:29]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:03:29]wFMCommunicate OK [00:03:29]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:03:29]SAM_PROTO_ProcessDocument remain to read = 517 [00:03:29]wFMCommunicate request_size=4 [00:03:29]MH_SAM_APDU [00:03:29]CAPDU: 80 17 00 00 [00:03:29]Write to MH i2c: E2 08 00 AF 00 80 17 00 00 00 00 00 00 2F [00:03:29]Write i2c OK [00:03:29]MH_I2C_Read... [00:03:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:29]Read from MH i2c: E2 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 AF 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 B9 [00:03:30]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [00:03:30]wFMCommunicate OK [00:03:30]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:03:30]SAM_PROTO_ProcessDocument remain to read = 267 [00:03:30]wFMCommunicate request_size=4 [00:03:30]MH_SAM_APDU [00:03:30]CAPDU: 80 17 00 00 [00:03:30]Write to MH i2c: E2 08 00 B0 00 80 17 00 00 00 00 00 00 30 [00:03:30]OFD Sender: No OFD packet to send [00:03:30]Write i2c OK [00:03:30]MH_I2C_Read... [00:03:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:30]Read from MH i2c: E2 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 B0 00 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 F8 [00:03:30]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:03:31]wFMCommunicate OK [00:03:31]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:03:31]SAM_PROTO_ProcessDocument remain to read = 17 [00:03:31]wFMCommunicate request_size=4 [00:03:31]MH_SAM_APDU [00:03:31]CAPDU: 80 17 00 00 [00:03:31]Write to MH i2c: E2 08 00 B1 00 80 17 00 00 00 00 00 00 31 [00:03:31]Write i2c OK [00:03:31]MH_I2C_Read... [00:03:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:03:31]Read from MH i2c: E2 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: E2 14 00 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: E2 14 00 B1 00 00 01 00 06 F7 03 00 00 35 04 06 00 6E D3 7F 7B C1 B5 90 00 27 [00:03:31]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 6E D3 7F 7B C1 B5 90 00 [00:03:31]wFMCommunicate OK [00:03:31]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:03:31]SAM_PROTO_ProcessDocument done [00:03:31]1209 (1) - 1.0 - номер версии ФФД [00:03:31]1041 (16) - 0000000000871841 - номер ФМ [00:03:31]1040 (4) - 37991 - номер ФД [00:03:31]1038 (4) - 553 - номер смены [00:03:31]1118 (4) - 72 - количество кассовых чеков за смену [00:03:31]1111 (4) - 74 - общее количество ФД за смену [00:03:31]1194 (1194) - счетчики итогов смены [00:03:31] 1134 (4) - 72 - количество чеков со всеми признаками расчетов [00:03:31] 1129 (155) - счетчики операций «приход» [00:03:31] 1135 (4) - 72 - количество чеков по признаку расчетов [00:03:31] 1201 (3) - 15634.00 - общая итоговая сумма в чеках [00:03:31] 1136 (3) - 14248.00 - итоговая сумма в чеках наличными [00:03:31] 1138 (3) - 1386.00 - итоговая сумма в чеках безналичными [00:03:31] 1024 (122) - суммы налогов [00:03:31] 1006 (9) - суммы НДС [00:03:31] 1010 (1) - 0% - код ставки НДС [00:03:31] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:31] 1006 (12) - суммы НДС [00:03:31] 1010 (1) - 12% - код ставки НДС [00:03:31] 1011 (3) - 1660.10 - сумма НДС по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 0% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (11) - суммы НСП [00:03:31] 1014 (1) - 1% - код ставки НСП [00:03:31] 1015 (2) - 138.30 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 2% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 3% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 5% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 0,50% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 1,50% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1130 (141) - счетчики операций «возврат прихода» [00:03:31] 1135 (4) - 0 - количество чеков по признаку расчетов [00:03:31] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:03:31] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:03:31] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:03:31] 1024 (117) - суммы налогов [00:03:31] 1006 (9) - суммы НДС [00:03:31] 1010 (1) - 0% - код ставки НДС [00:03:31] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:31] 1006 (9) - суммы НДС [00:03:31] 1010 (1) - 12% - код ставки НДС [00:03:31] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 0% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 1% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 2% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 3% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 5% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 0,50% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 1,50% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1131 (141) - счетчики операций «расход» [00:03:31] 1135 (4) - 0 - количество чеков по признаку расчетов [00:03:31] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:03:31] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:03:31] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:03:31] 1024 (117) - суммы налогов [00:03:31] 1006 (9) - суммы НДС [00:03:31] 1010 (1) - 0% - код ставки НДС [00:03:31] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:31] 1006 (9) - суммы НДС [00:03:31] 1010 (1) - 12% - код ставки НДС [00:03:31] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 0% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 1% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 2% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 3% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 5% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 0,50% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 1,50% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1132 (141) - счетчики операций «возврат расхода» [00:03:31] 1135 (4) - 0 - количество чеков по признаку расчетов [00:03:31] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:03:31] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:03:31] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:03:31] 1024 (117) - суммы налогов [00:03:31] 1006 (9) - суммы НДС [00:03:31] 1010 (1) - 0% - код ставки НДС [00:03:31] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:31] 1006 (9) - суммы НДС [00:03:31] 1010 (1) - 12% - код ставки НДС [00:03:31] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 0% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 1% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 2% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 3% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 5% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 0,50% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1007 (9) - суммы НСП [00:03:31] 1014 (1) - 1,50% - код ставки НСП [00:03:31] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:31] 1133 (588) - - счетчики коррекции - не используются [00:03:31]1077 (6) - 121854655971765 - ФПД [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1209 (04B9) [00:03:31]Malloc new data [00:03:31]Processing tag 1041 (0411) [00:03:31]Processing tag 1040 (0410) [00:03:31]Malloc new data [00:03:31]Processing tag 1038 (040E) [00:03:31]Malloc new data [00:03:31]Processing tag 1118 (045E) [00:03:31]Malloc new data [00:03:31]Processing tag 1111 (0457) [00:03:31]Malloc new data [00:03:31]Processing tag 1194 (04AA) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1134 (046E) [00:03:31]Malloc new data [00:03:31]Processing tag 1129 (0469) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1135 (046F) [00:03:31]Malloc new data [00:03:31]Processing tag 1201 (04B1) [00:03:31]Malloc new data [00:03:31]Processing tag 1136 (0470) [00:03:31]Malloc new data [00:03:31]Processing tag 1138 (0472) [00:03:31]Malloc new data [00:03:31]Processing tag 1024 (0400) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1006 (03EE) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1010 (03F2) [00:03:31]Malloc new data [00:03:31]Processing tag 1011 (03F3) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1006 (03EE) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1010 (03F2) [00:03:31]Malloc new data [00:03:31]Processing tag 1011 (03F3) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1007 (03EF) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1014 (03F6) [00:03:31]Malloc new data [00:03:31]Processing tag 1015 (03F7) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1007 (03EF) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1014 (03F6) [00:03:31]Malloc new data [00:03:31]Processing tag 1015 (03F7) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1007 (03EF) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1014 (03F6) [00:03:31]Malloc new data [00:03:31]Processing tag 1015 (03F7) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1007 (03EF) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1014 (03F6) [00:03:31]Malloc new data [00:03:31]Processing tag 1015 (03F7) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1007 (03EF) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1014 (03F6) [00:03:31]Malloc new data [00:03:31]Processing tag 1015 (03F7) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1007 (03EF) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1014 (03F6) [00:03:31]Malloc new data [00:03:31]Processing tag 1015 (03F7) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1007 (03EF) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1014 (03F6) [00:03:31]Malloc new data [00:03:31]Processing tag 1015 (03F7) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]SetTLVBufToDocument err=0 [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1130 (046A) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1135 (046F) [00:03:31]Malloc new data [00:03:31]Processing tag 1201 (04B1) [00:03:31]Malloc new data [00:03:31]Processing tag 1136 (0470) [00:03:31]Malloc new data [00:03:31]Processing tag 1138 (0472) [00:03:31]Malloc new data [00:03:31]Processing tag 1024 (0400) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1006 (03EE) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1010 (03F2) [00:03:31]Malloc new data [00:03:31]Processing tag 1011 (03F3) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1006 (03EE) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1010 (03F2) [00:03:31]Malloc new data [00:03:31]Processing tag 1011 (03F3) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1007 (03EF) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1014 (03F6) [00:03:31]Malloc new data [00:03:31]Processing tag 1015 (03F7) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1007 (03EF) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1014 (03F6) [00:03:31]Malloc new data [00:03:31]Processing tag 1015 (03F7) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1007 (03EF) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1014 (03F6) [00:03:31]Malloc new data [00:03:31]Processing tag 1015 (03F7) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1007 (03EF) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1014 (03F6) [00:03:31]Malloc new data [00:03:31]Processing tag 1015 (03F7) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1007 (03EF) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1014 (03F6) [00:03:31]Malloc new data [00:03:31]Processing tag 1015 (03F7) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1007 (03EF) [00:03:31]Load OK [00:03:31]SetTLVBufToDocument [00:03:31]Processing tag 1014 (03F6) [00:03:31]Malloc new data [00:03:31]Processing tag 1015 (03F7) [00:03:31]Malloc new data [00:03:31]SetTLVBufToDocument err=0 [00:03:31]Processing tag 1007 (03EF) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1014 (03F6) [00:03:32]Malloc new data [00:03:32]Processing tag 1015 (03F7) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]SetTLVBufToDocument err=0 [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1131 (046B) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1135 (046F) [00:03:32]Malloc new data [00:03:32]Processing tag 1201 (04B1) [00:03:32]Malloc new data [00:03:32]Processing tag 1136 (0470) [00:03:32]Malloc new data [00:03:32]Processing tag 1138 (0472) [00:03:32]Malloc new data [00:03:32]Processing tag 1024 (0400) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1006 (03EE) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1010 (03F2) [00:03:32]Malloc new data [00:03:32]Processing tag 1011 (03F3) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1006 (03EE) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1010 (03F2) [00:03:32]Malloc new data [00:03:32]Processing tag 1011 (03F3) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1007 (03EF) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1014 (03F6) [00:03:32]Malloc new data [00:03:32]Processing tag 1015 (03F7) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1007 (03EF) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1014 (03F6) [00:03:32]Malloc new data [00:03:32]Processing tag 1015 (03F7) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1007 (03EF) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1014 (03F6) [00:03:32]Malloc new data [00:03:32]Processing tag 1015 (03F7) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1007 (03EF) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1014 (03F6) [00:03:32]Malloc new data [00:03:32]Processing tag 1015 (03F7) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1007 (03EF) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1014 (03F6) [00:03:32]Malloc new data [00:03:32]Processing tag 1015 (03F7) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1007 (03EF) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1014 (03F6) [00:03:32]Malloc new data [00:03:32]Processing tag 1015 (03F7) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1007 (03EF) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1014 (03F6) [00:03:32]Malloc new data [00:03:32]Processing tag 1015 (03F7) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]SetTLVBufToDocument err=0 [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1132 (046C) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1135 (046F) [00:03:32]Malloc new data [00:03:32]Processing tag 1201 (04B1) [00:03:32]Malloc new data [00:03:32]Processing tag 1136 (0470) [00:03:32]Malloc new data [00:03:32]Processing tag 1138 (0472) [00:03:32]Malloc new data [00:03:32]Processing tag 1024 (0400) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1006 (03EE) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1010 (03F2) [00:03:32]Malloc new data [00:03:32]Processing tag 1011 (03F3) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1006 (03EE) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1010 (03F2) [00:03:32]Malloc new data [00:03:32]Processing tag 1011 (03F3) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1007 (03EF) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1014 (03F6) [00:03:32]Malloc new data [00:03:32]Processing tag 1015 (03F7) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1007 (03EF) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1014 (03F6) [00:03:32]Malloc new data [00:03:32]Processing tag 1015 (03F7) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1007 (03EF) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1014 (03F6) [00:03:32]Malloc new data [00:03:32]Processing tag 1015 (03F7) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1007 (03EF) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1014 (03F6) [00:03:32]Malloc new data [00:03:32]Processing tag 1015 (03F7) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1007 (03EF) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1014 (03F6) [00:03:32]Malloc new data [00:03:32]Processing tag 1015 (03F7) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1007 (03EF) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1014 (03F6) [00:03:32]Malloc new data [00:03:32]Processing tag 1015 (03F7) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1007 (03EF) [00:03:32]Load OK [00:03:32]SetTLVBufToDocument [00:03:32]Processing tag 1014 (03F6) [00:03:32]Malloc new data [00:03:32]Processing tag 1015 (03F7) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]SetTLVBufToDocument err=0 [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1133 (046D) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Processing tag 1077 (0435) [00:03:32]Malloc new data [00:03:32]SetTLVBufToDocument err=0 [00:03:32]Malloc new data [00:03:32]SAM_PROTO_GetFMData [00:03:32]wFMCommunicate request_size=4 [00:03:32]MH_SAM_APDU [00:03:32]CAPDU: 80 13 03 00 [00:03:32]Write to MH i2c: E2 08 00 B2 00 80 13 03 00 00 00 00 00 31 [00:03:32]Write i2c OK [00:03:32]MH_I2C_Read... [00:03:32]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:03:32]Read from MH i2c: E2 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 FD 00 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 FD 00 B2 00 00 C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 9A [00:03:33]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:03:33]wFMCommunicate OK [00:03:33]wFMCommunicate request_size=4 [00:03:33]MH_SAM_APDU [00:03:33]CAPDU: 80 17 00 00 [00:03:33]Write to MH i2c: E2 08 00 B3 00 80 17 00 00 00 00 00 00 33 [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:33]Read from MH i2c: E2 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 FD 00 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 FD 00 B3 00 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 2E [00:03:33]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:03:34]wFMCommunicate OK [00:03:34]wFMCommunicate request_size=4 [00:03:34]MH_SAM_APDU [00:03:34]CAPDU: 80 17 00 00 [00:03:34]Write to MH i2c: E2 08 00 B4 00 80 17 00 00 00 00 00 00 34 [00:03:34]Write i2c OK [00:03:34]MH_I2C_Read... [00:03:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:34]Read from MH i2c: E2 [00:03:34]MH_I2C_Read... [00:03:34]Read from MH i2c: E2 FD 00 [00:03:34]MH_I2C_Read... [00:03:34]Read from MH i2c: E2 FD 00 B4 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 D7 [00:03:34]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:03:34]wFMCommunicate OK [00:03:34]wFMCommunicate request_size=4 [00:03:34]MH_SAM_APDU [00:03:34]CAPDU: 80 17 00 00 [00:03:34]Write to MH i2c: E2 08 00 B5 00 80 17 00 00 00 00 00 00 35 [00:03:34]Write i2c OK [00:03:34]MH_I2C_Read... [00:03:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:35]Read from MH i2c: E2 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: E2 FD 00 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: E2 FD 00 B5 00 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 AD [00:03:35]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 OFD Sender: No OFD packet to send [00:03:35]01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:03:35]wFMCommunicate OK [00:03:35]wFMCommunicate request_size=4 [00:03:35]MH_SAM_APDU [00:03:35]CAPDU: 80 17 00 00 [00:03:35]Write to MH i2c: E2 08 00 B6 00 80 17 00 00 00 00 00 00 36 [00:03:35]Write i2c OK [00:03:35]MH_I2C_Read... [00:03:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:03:35]Read from MH i2c: E2 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 DD 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 DD 00 B6 00 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 1E [00:03:36]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:36]wFMCommunicate OK [00:03:36]SAM_PROTO_GetFMData done [00:03:36]Malloc new data [00:03:36]Malloc new data [00:03:36]Malloc new data [00:03:36]Malloc new data [00:03:36]KKMLoadAndSignCloseShiftData err=0 [00:03:36]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Темирбек уулу Э. 31.10.2024 00:03 Смена: 553 РНМ: 0000000000091684 ЗНМ: 0300000092 СНО: Общий режим Чеков за смену: 72 ФД за смену: 74 Всего чеков: 72 ИТОГИ ПРИХОД Чеков: 72 Общий итог: 15634.00 Итого наличными: 14248.00 Итого безнал.: 1386.00 НДС 0% : 0.00 НДС 12% : 1660.10 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 138.30 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 14248.00 НС Приход: 8788044.26 НС Возвр.Прихода: 12909.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 37991 ФМ: 0000000000871841 ФПД: 121854655971765 [00:03:36]StoreToDocumentArchive [00:03:36]shift 553 fd 37991 [00:03:36]Create dir for shift 0553 [00:03:36]save to /storage/0553/doc_00037991 [00:03:36]save last doc name /storage/0553/doc_00037991 to /storage/kkm_last_doc_name [00:03:36]save OK [00:03:36]Clear old archive folders... [00:03:36]Remove dir /storage/0522 [00:03:36]opendir ok [00:03:36]file . [00:03:36]file .. [00:03:36]file doc_1730332966 [00:03:36]remove file /storage/0522/doc_1730332966 [00:03:36]remove dir /storage/0522 [00:03:36]NVStorageSaveData kkm_registers [00:03:36]File name is /storage/kkm_registers [00:03:36]Write 24 bytes [00:03:36]NVStorageSaveData done [00:03:36]NVStorageSaveData kkm_registers [00:03:36]File name is /storage/kkm_registers [00:03:36]Write 24 bytes [00:03:36]NVStorageSaveData done [00:03:36]ProcessDocumentItem done err = 0, tmpTLVsize=1388 [00:03:36]tlvbuf is 01332B70 [00:03:36]SAM_PROTO_ClearQueue [00:03:36]wFMCommunicate request_size=4 [00:03:36]MH_SAM_APDU [00:03:36]CAPDU: 80 09 00 00 [00:03:36]Write to MH i2c: E2 08 00 B7 00 80 09 00 00 00 00 00 00 29 [00:03:36]Write i2c OK [00:03:36]MH_I2C_Read... [00:03:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:03:36]Read from MH i2c: E2 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 03 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 03 00 B7 00 00 90 00 2B [00:03:36]RAPDU: 90 00 [00:03:36]wFMCommunicate OK [00:03:36]SAM_PROTO_ClearQueue done [00:03:36]KKMCreateOFDPacket [00:03:36]OFDProtocolAddRootSTLVToBuf [00:03:36]FM_MakeSignedData [00:03:36]FM_MakeSignedData [00:03:36]SAM_PROTO_SignData [00:03:36]wFMCommunicate request_size=4 [00:03:36]MH_SAM_APDU [00:03:36]CAPDU: 80 0D 01 02 [00:03:36]Write to MH i2c: E2 08 00 B8 00 80 0D 01 02 00 00 00 00 31 [00:03:36]Write i2c OK [00:03:36]MH_I2C_Read... [00:03:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:03:36]Read from MH i2c: E2 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 03 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 03 00 B8 00 00 90 00 2C [00:03:36]RAPDU: 90 00 [00:03:36]wFMCommunicate OK [00:03:36]wFMCommunicate request_size=255 [00:03:36]MH_SAM_APDU [00:03:36]CAPDU: 80 0D 02 02 FA 05 00 6C 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 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 F4 03 04 00 4F C9 22 67 0E 04 04 00 29 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 AA 04 D5 04 6E 04 04 00 48 00 00 00 69 04 A2 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 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 7A 88 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 [00:03:36]Write to MH i2c: E2 02 01 B9 00 80 0D 02 02 FA 00 05 00 6C 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 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 F4 03 04 00 4F C9 22 67 0E 04 04 00 29 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 AA 04 D5 04 6E 04 04 00 48 00 00 00 69 04 A2 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 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 7A 88 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 00 00 0C [00:03:37]Write i2c OK [00:03:37]MH_I2C_Read... [00:03:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:37]Read from MH i2c: E2 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 03 00 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 03 00 B9 00 00 90 00 2D [00:03:37]RAPDU: 90 00 [00:03:37]wFMCommunicate OK [00:03:37]wFMCommunicate request_size=255 [00:03:37]MH_SAM_APDU [00:03:37]CAPDU: 80 0D 02 02 FA 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 06 36 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 [00:03:37]Write to MH i2c: E2 02 01 BA 00 80 0D 02 02 FA 00 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 06 36 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 00 E9 [00:03:38]Write i2c OK [00:03:38]MH_I2C_Read... [00:03:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:38]Read from MH i2c: E2 [00:03:38]MH_I2C_Read... [00:03:38]Read from MH i2c: E2 03 00 [00:03:38]MH_I2C_Read... [00:03:38]Read from MH i2c: E2 03 00 BA 00 00 90 00 2E [00:03:38]RAPDU: 90 00 [00:03:38]wFMCommunicate OK [00:03:38]wFMCommunicate request_size=255 [00:03:38]MH_SAM_APDU [00:03:38]CAPDU: 80 0D 02 02 FA 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 [00:03:38]Write to MH i2c: E2 02 01 BB 00 80 0D 02 02 FA 00 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 00 00 EF [00:03:38]Write i2c OK [00:03:38]MH_I2C_Read... [00:03:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:39]Read from MH i2c: E2 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: E2 03 00 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: E2 03 00 BB 00 00 90 00 2F [00:03:39]RAPDU: 90 00 [00:03:39]wFMCommunicate OK [00:03:39]wFMCommunicate request_size=255 [00:03:39]MH_SAM_APDU [00:03:39]CAPDU: 80 0D 02 02 FA 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 [00:03:39]Write to MH i2c: E2 02 01 BC 00 80 0D 02 02 FA 00 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 00 00 F9 [00:03:39]Write i2c OK [00:03:39]MH_I2C_Read... [00:03:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:39]Read from MH i2c: E2 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: E2 03 00 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: E2 03 00 BC 00 00 90 00 30 [00:03:39]RAPDU: 90 00 [00:03:39]wFMCommunicate OK [00:03:39]wFMCommunicate request_size=255 [00:03:39]MH_SAM_APDU [00:03:39]CAPDU: 80 0D 02 02 FA 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 [00:03:40]Write to MH i2c: E2 02 01 BD 00 80 0D 02 02 FA 00 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 00 00 D8 [00:03:40]Write i2c OK [00:03:40]MH_I2C_Read... [00:03:40]OFD Sender: No OFD packet to send [00:03:40]Read from MH i2c: E2 [00:03:40]MH_I2C_Read... [00:03:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:40]Read from MH i2c: E2 03 00 [00:03:40]MH_I2C_Read... [00:03:40]Read from MH i2c: E2 03 00 BD 00 00 90 00 31 [00:03:40]RAPDU: 90 00 [00:03:40]wFMCommunicate OK [00:03:40]wFMCommunicate request_size=147 [00:03:40]MH_SAM_APDU [00:03:40]CAPDU: 80 0D 02 02 8E EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 67 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 6E D3 7F 7B C1 B5 [00:03:40]Write to MH i2c: E2 96 00 BE 00 80 0D 02 02 8E 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 67 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 6E D3 7F 7B C1 B5 00 00 1E [00:03:41]Write i2c OK [00:03:41]MH_I2C_Read... [00:03:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:41]Read from MH i2c: E2 [00:03:41]MH_I2C_Read... [00:03:41]Read from MH i2c: E2 03 00 [00:03:41]MH_I2C_Read... [00:03:41]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [00:03:41]RAPDU: 90 00 [00:03:41]wFMCommunicate OK [00:03:41]wFMCommunicate request_size=4 [00:03:41]MH_SAM_APDU [00:03:41]CAPDU: 80 0D 03 02 [00:03:41]Write to MH i2c: E2 08 00 BF 00 80 0D 03 02 00 00 00 00 3A [00:03:41]Write i2c OK [00:03:41]MH_I2C_Read... [00:03:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:03:41]Read from MH i2c: E2 [00:03:41]MH_I2C_Read... [00:03:41]Read from MH i2c: E2 0B 00 [00:03:41]MH_I2C_Read... [00:03:41]Read from MH i2c: E2 0B 00 BF 00 00 64 57 09 5E 1F 8C 69 53 90 00 C4 [00:03:41]RAPDU: 64 57 09 5E 1F 8C 69 53 90 00 [00:03:41]wFMCommunicate OK [00:03:41]SAM_PROTO_SignData done [00:03:41]FM_MakeSignedData done [00:03:41]CreateOFDProtocolMessage [00:03:41]wFMCommunicate request_size=4 [00:03:41]MH_SAM_APDU [00:03:41]CAPDU: 80 11 00 00 [00:03:41]Write to MH i2c: E2 08 00 C0 00 80 11 00 00 00 00 00 00 3A [00:03:41]Write i2c OK [00:03:41]MH_I2C_Read... [00:03:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:03:41]Read from MH i2c: E2 [00:03:41]MH_I2C_Read... [00:03:41]Read from MH i2c: E2 17 00 [00:03:41]MH_I2C_Read... [00:03:41]Read from MH i2c: E2 17 00 C0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8A [00:03:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:03:41]wFMCommunicate OK [00:03:41]CreateOFDProtocolMessage done [00:03:41]OFDSenderStorePacket 37991 [00:03:41]StoreOFDPacket docnum=37991 [00:03:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 80 05 00 00 90 12 78 05 25 71 5A 05 01 00 05 00 6C 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 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 F4 03 04 00 4F C9 22 67 0E 04 04 00 29 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 AA 04 D5 04 6E 04 04 00 48 00 00 00 69 04 A2 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 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 7A 88 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 06 36 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 67 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 6E D3 7F 7B C1 B5 64 57 09 5E 1F 8C 69 53 [00:03:41]CheckFolder [00:03:41]dirname=/storage/ofd_packets [00:03:41]CheckFolder done [00:03:41]ProducePacketName [00:03:41]name=ofd_packets/00037991 [00:03:41]NVStorageSaveData ofd_packets/00037991 [00:03:41]File name is /storage/ofd_packets/00037991 [00:03:41]Write 1438 bytes [00:03:41]NVStorageSaveData done [00:03:41]OFDSenderStorePacket done [00:03:41]KKMCreateOFDPacket done [00:03:41]NVStorageSaveData kkm_last_timestamp [00:03:41]File name is /storage/kkm_last_timestamp [00:03:41]Write 4 bytes [00:03:41]NVStorageSaveData done [00:03:41]ExternCall_PrintAddStr [00:03:41]wPrintStart [00:03:41]Write to MH i2c: 01 00 00 C1 00 C1 [00:03:41]Write i2c OK [00:03:41]MH_I2C_Read... [00:03:41]Read from MH i2c: 01 [00:03:41]MH_I2C_Read... [00:03:41]Read from MH i2c: 01 07 00 [00:03:42]MH_I2C_Read... [00:03:42]Read from MH i2c: 01 07 00 C1 00 00 00 00 00 00 FF 0F D6 [00:03:42]RasterBufferAndPrint [00:03:42]line Отчет о закрытии смены [00:03:42]line ФФД: 1.0 [00:03:42]line ИНН: 02508201610067 [00:03:42]line Кассир: Темирбек уулу Э. [00:03:42]line 31.10.2024 00:03 [00:03:42]line Смена: 553 [00:03:42]line РНМ: 0000000000091684 [00:03:42]line ЗНМ: 0300000092 [00:03:42]line СНО: Общий режим [00:03:42]line Чеков за смену: 72 [00:03:42]line ФД за смену: 74 [00:03:42]line Всего чеков: 72 [00:03:42]line ИТОГИ ПРИХОД [00:03:42]line Чеков: 72 [00:03:42]line Общий итог: 15634.00 [00:03:42]line Итого наличными: 14248.00 [00:03:42]line Итого безнал.: 1386.00 [00:03:42]line НДС 0% : 0.00 [00:03:42]line НДС 12% : 1660.10 [00:03:42]line НСП 0% : 0.00 [00:03:42]line НСП 1,50% : 0.00 [00:03:42]line НСП 0,50% : 0.00 [00:03:42]line НСП 5% : 0.00 [00:03:42]line НСП 3% : 0.00 [00:03:42]line НСП 2% : 0.00 [00:03:42]line НСП 1% : 138.30 [00:03:42]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:03:42]line Чеков: 0 [00:03:42]line Общий итог: 0.00 [00:03:42]line Итого наличными: 0.00 [00:03:42]line Итого безнал.: 0.00 [00:03:42]line НДС 0% : 0.00 [00:03:42]line НДС 12% : 0.00 [00:03:42]line НСП 0% : 0.00 [00:03:42]line НСП 1,50% : 0.00 [00:03:42]line НСП 0,50% : 0.00 [00:03:42]line НСП 5% : 0.00 [00:03:42]line НСП 3% : 0.00 [00:03:42]line НСП 2% : 0.00 [00:03:42]line НСП 1% : 0.00 [00:03:42]line ИТОГИ РАСХОД [00:03:42]line Чеков: 0 [00:03:42]line Общий итог: 0.00 [00:03:42]line Итого наличными: 0.00 [00:03:42]line Итого безнал.: 0.00 [00:03:42]line НДС 0% : 0.00 [00:03:42]line НДС 12% : 0.00 [00:03:42]line НСП 0% : 0.00 [00:03:42]line НСП 1,50% : 0.00 [00:03:42]line НСП 0,50% : 0.00 [00:03:42]line НСП 5% : 0.00 [00:03:42]line НСП 3% : 0.00 [00:03:42]line НСП 2% : 0.00 [00:03:42]line НСП 1% : 0.00 [00:03:42]line ИТОГИ ВОЗВРАТ РАСХОДА [00:03:42]line Чеков: 0 [00:03:42]line Общий итог: 0.00 [00:03:42]line Итого наличными: 0.00 [00:03:42]line Итого безнал.: 0.00 [00:03:42]line НДС 0% : 0.00 [00:03:42]line НДС 12% : 0.00 [00:03:42]line НСП 0% : 0.00 [00:03:42]line НСП 1,50% : 0.00 [00:03:42]line НСП 0,50% : 0.00 [00:03:42]line НСП 5% : 0.00 [00:03:42]line НСП 3% : 0.00 [00:03:42]line НСП 2% : 0.00 [00:03:42]line НСП 1% : 0.00 [00:03:42]line Сумма внесений: 0.00 [00:03:42]line Сумма выплат: 0.00 [00:03:42]line Нал. в кассе: 14248.00 [00:03:42]line НС Приход: 8788044.26 [00:03:42]line НС Возвр.Прихода: 12909.00 [00:03:42]line НС Расход: 0.00 [00:03:42]line НС Возвр.Расхода: 0.00 [00:03:42]line ФД: 37991 [00:03:42]line ФМ: 0000000000871841 [00:03:42]line ФПД: 121854655971765 [00:03:42]OFD Sender: Processing packet 37991 [packets to send 42, broken 41] [00:03:42]ProducePacketName [00:03:42]name=ofd_packets/00037991 [00:03:42]OFD Sender: To server: pG, [00:03:42]CommunicateWithHost lk.salyk.kg:30040 [00:03:42]ConnectInit lk.salyk.kg [00:03:42]written 0, free lines is 4095 [00:03:43]Write to MH i2c: 01 00 00 11 01 12 [00:03:43]Write i2c OK [00:03:43]MH_I2C_Read... [00:03:43]Read from MH i2c: 01 [00:03:43]MH_I2C_Read... [00:03:43]Read from MH i2c: 01 07 00 [00:03:43]MH_I2C_Read... [00:03:43]Read from MH i2c: 01 07 00 11 01 00 00 00 00 00 42 0A 65 [00:03:43]RasterBufferAndPrint [00:03:43]line [00:03:43]line [00:03:43]line [00:03:43]line [00:03:43]line [00:03:43]written 0, free lines is 2674 [00:03:43]MH_Cut [00:03:43]Write to MH i2c: D1 01 00 18 01 01 EB [00:03:43]Write i2c OK [00:03:43]MH_I2C_Read... [00:03:43]Read from MH i2c: D1 [00:03:43]MH_I2C_Read... [00:03:43]Read from MH i2c: D1 01 00 [00:03:43]MH_I2C_Read... [00:03:43]Read from MH i2c: D1 01 00 18 01 00 EA [00:03:43]Write to MH i2c: 01 00 00 19 01 1A [00:03:43]Write i2c OK [00:03:43]MH_I2C_Read... [00:03:44]*** Cut start [00:03:44]*** Partial cut [00:03:44]*** CUTSNS_PIN = 1 [00:03:44]*** CUTSNS_PIN = 0 [00:03:44]*** Brake cut motor [00:03:44]Connected sock=11 [00:03:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 80 05 00 00 90 12 78 05 25 71 5A 05 01 00 05 00 6C 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 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 *** Stop cut motor [00:03:44]D1 *** Cut end [00:03:44]83 D0 BB D1 83 20 D0 AD 2E 20 F4 03 04 00 4F C9 22 67 0E 04 04 00 29 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 Read from MH i2c: 30 01 39 [00:03:44]31 MH_I2C_Read... [00:03:45]36 38 34 Read from MH i2c: 5E 01 04 07 04 00 [00:03:45]00 MH_I2C_Read... [00:03:45]48 Read from MH i2c: 00 01 00 07 00 00 57 19 04 01 04 00 00 00 4A 00 00 00 00 00 00 FF AA 0F 04 2F D5 [00:03:45]process_action close_shift done [00:03:45]requested_data is exist [00:03:45]produce_requested_data [00:03:45]requested_item fd.num is exist - process it [00:03:45]SAM_PROTO_GetFieldsCounters [00:03:45]wFMCommunicate request_size=4 [00:03:45]MH_SAM_APDU [00:03:45]CAPDU: 80 13 00 00 [00:03:45]Write to MH i2c: E2 08 00 1A 01 80 13 00 00 00 00 00 00 97 [00:03:45]04 6E 04 04 00 48 00 00 00 69 04 A2 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE Write i2c OK [00:03:45]MH_I2C_Read... [00:03:45]03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 02 EF 03 *** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:03:45]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 Read from MH i2c: 00 E2 F6 [00:03:45]03 MH_I2C_Read... [00:03:45]01 00 05 Read from MH i2c: F7 E2 03 62 01 00 00 [00:03:45]00 MH_I2C_Read... [00:03:45]EF 03 0A 00 F6 03 01 00 Read from MH i2c: 04 E2 62 F7 00 03 1A 01 01 00 00 00 EF 5D 03 00 0A B9 00 F6 03 01 00 03 F7 03 01 00 00 04 EF 01 03 00 0A 01 00 11 F6 03 01 00 02 F7 03 01 00 00 EF 04 03 10 0B 00 00 30 F6 30 03 30 01 30 00 30 01 30 F7 30 03 30 02 30 00 30 06 38 36 37 6A 04 99 00 6F 04 04 00 00 00 31 00 38 00 34 B1 31 04 0D 01 00 00 70 04 01 00 00 72 04 01 04 00 10 00 00 00 30 04 30 7E 30 00 30 EE 30 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 30 01 30 F3 30 03 30 01 30 00 30 00 39 EF 31 03 36 0A 38 00 34 F6 03 01 00 00 F7 03 01 00 00 EF 10 03 04 0A 04 00 00 F6 67 03 01 00 06 F7 03 01 00 00 EF 03 94 0A 00 00 00 F6 0E 03 04 01 00 05 F7 03 01 00 00 EF 03 0A 04 00 00 F6 29 03 02 01 00 00 04 F7 03 01 00 00 EF 03 0A 00 00 F6 12 03 04 01 04 00 00 03 F7 03 01 00 00 EF 03 0A 00 48 F6 00 03 00 01 00 00 5E 02 04 04 00 48 00 00 00 57 04 04 F7 00 03 4A 01 00 00 00 00 00 19 EF 04 03 04 0A 00 00 00 F6 00 00 00 90 00 B7 [00:03:45]RAPDU: 5D 00 03 B9 01 04 00 01 01 00 F7 01 11 03 04 01 10 00 00 00 30 6B 30 30 30 30 30 30 30 30 30 38 04 37 99 31 00 38 6F 34 04 31 04 0D 00 04 00 10 00 00 00 30 00 30 B1 30 04 30 01 30 00 30 00 30 70 30 04 30 01 30 00 30 39 31 36 38 34 10 04 00 04 72 00 04 67 01 94 00 00 00 00 00 0E 04 04 04 00 29 02 00 00 12 04 04 7E 00 00 48 EE 00 03 00 0A 00 00 5E F2 04 03 04 01 00 00 48 00 00 F3 00 03 00 01 57 00 04 00 04 EE 00 03 4A 0A 00 00 00 F2 00 03 19 01 04 00 04 01 00 F3 00 03 00 01 00 00 00 00 90 EF 00 03 [00:03:46]0A wFMCommunicate OK [00:03:46]00 SAM_PROTO_GetFieldsCounters done [00:03:46]F6 requested_item shift.num is exist - process it [00:03:46]03 requested_item shift.opened is exist - process it [00:03:46]01 req_shift_opened [00:03:46]FM_GetShiftState [00:03:46]SAM_PROTO_GetShiftState [00:03:46]wFMCommunicate request_size=4 [00:03:46]MH_SAM_APDU [00:03:46]CAPDU: 80 13 01 00 [00:03:46]00 Write to MH i2c: 00 E2 F7 08 03 00 01 1B 00 01 00 80 EF 13 03 01 0A 00 00 00 F6 00 03 00 01 00 00 99 06 [00:03:46]F7 03 01 00 00 Write i2c OK [00:03:46]EF MH_I2C_Read... [00:03:46]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 *** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:46]03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 Read from MH i2c: 00 E2 02 [00:03:46]F7 MH_I2C_Read... [00:03:46]03 01 00 00 EF 03 0A 00 F6 03 01 00 Read from MH i2c: 01 E2 F7 0E 03 00 01 [00:03:46]00 00 6C 04 99 00 6F 04 04 00 MH_I2C_Read... [00:03:46]00 Read from MH i2c: 00 E2 00 0E 00 00 B1 04 01 00 00 70 04 01 00 00 1B 72 01 04 00 01 09 00 00 00 00 04 7E 00 EE 03 0A 00 F2 03 00 01 00 00 00 00 00 F3 00 03 01 00 00 EE 03 0A 00 F2 03 00 01 00 00 00 01 00 F3 90 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 A4 00 [00:03:46]F7 RAPDU: 03 09 01 00 00 00 00 00 EF 00 03 00 0A 00 00 00 F6 00 03 00 01 00 00 90 06 00 F7 [00:03:46]03 wFMCommunicate OK [00:03:46]01 SAM_PROTO_GetShiftState done [00:03:46]00 FM_GetShiftState done [00:03:46]00 req_shift_opened done [00:03:46]EF requested_item shift.open_date is exist - process it [00:03:46]03 req_shift_open_date [00:03:46]0A FM_GetShiftState [00:03:46]SAM_PROTO_GetShiftState [00:03:46]wFMCommunicate request_size=4 [00:03:46]MH_SAM_APDU [00:03:46]CAPDU: 80 13 01 00 00 [00:03:46]F6 Write to MH i2c: 03 E2 01 08 00 00 05 1C 01 F7 80 03 13 01 01 00 00 00 00 00 9A [00:03:46]00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF Write i2c OK [00:03:46]03 MH_I2C_Read... [00:03:46]0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 Read from MH i2c: 01 E2 00 [00:03:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:46]MH_I2C_Read... [00:03:46]02 F7 03 Read from MH i2c: 01 E2 00 0E 00 00 EF [00:03:46]03 MH_I2C_Read... [00:03:46]0A 00 F6 03 01 00 01 F7 Read from MH i2c: 03 E2 01 0E 00 00 00 1C 6D 01 04 00 4C 09 02 00 78 00 04 00 04 00 00 00 00 00 00 00 00 00 00 00 00 90 00 A5 [00:03:46]RAPDU: 09 00 00 00 79 00 04 00 8D 00 00 00 6F 00 04 00 04 00 00 90 00 00 00 [00:03:46]00 wFMCommunicate OK [00:03:46]00 SAM_PROTO_GetShiftState done [00:03:46]B1 FM_GetShiftState done [00:03:46]04 req_shift_open_date done [00:03:46]produce_requested_data done [00:03:46]produce_requested_data return {"fd.num":37991,"shift.num":553,"shift.opened":0,"shift.open_date":0} [00:03:46]process_action_free close_shift [00:03:46]json_value_free [00:03:46]json_value_free done [00:03:46]process_json_proto returns [00:03:46]Send response to host [00:03:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37991,"shift.num":553,"shift.opened":0,"shift.open_date":0}}} [00:03:46]00 free response buf [00:03:46]00 execute_script done [00:03:46]70 execute_script returns [00:03:46]04 free content buf [00:03:46]Sock 10.Close socket [00:03:46]Sock 10.Thread stoped [00:03:46]00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 67 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 6E D3 7F 7B C1 B5 64 57 09 5E 1F 8C 69 53 [00:03:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 94 20 47 00 3C 31 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 67 94 00 00 F4 03 04 00 4F 74 22 67 B6 04 01 00 00 DC AE 59 49 D8 EE 6F 2E [00:03:48]CommunicateWithHost err = 0 [00:03:48]CheckOFDResponse [00:03:48]1017 (14) - 77093643461234 [00:03:48]1041 (16) - 0000000000871841 [00:03:48]1040 (4) - 37991 [00:03:48]1012 (4) - 30.10.2024 18:00 [00:03:48]1206 (1) - 0 [00:03:48]OFD Sender: Remove packet 37991 [00:03:48]ProducePacketName [00:03:48]name=ofd_packets/00037991 [00:03:48]NVStorageDeleteData [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:44]accept exits with 7 [00:05:44]New connection [00:05:44]New thread 3067186532 created [00:05:44]Thread 3067043172 joined [00:05:44]Waiting for new connection... [00:05:44] Sock 7.Parse request [00:05:44]Sock 7.Check first char [00:05:44]Sock 7.First char is OK [00:05:44]request: POST /json_proto HTTP/1.0 [00:05:44]Method: POST [00:05:44]URL: /json_proto [00:05:44]Method is POST - this is cgi request [00:05:44]url: /json_proto [00:05:44]query_string will be loaded in cgi processing [00:05:44]execute_cgi json_proto POST (null) [00:05:44]execute_cgi path=json_proto method=POST [00:05:44]POST find Content-Length [00:05:44]Host: 172.17.40.196:8080 [00:05:44]Content-Length: 215 [00:05:44]Content-Type: application/json [00:05:44] [00:05:44]POST finish read [00:05:44]Found Content-Length = 215 [00:05:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:44]execute_script... [00:05:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:44]POST & json_proto [00:05:44]process_json_proto [00:05:44]json parsed OK: [00:05:44]protocol is kg_v1.0 [00:05:44]action value=get_value [00:05:44]process_action get_value [00:05:44]cmd_get_value [00:05:44]process_action get_value done [00:05:44]requested_data is exist [00:05:44]produce_requested_data [00:05:44]requested_item kkm.sn is exist - process it [00:05:44]requested_item kkm.ver is exist - process it [00:05:44]requested_item fm.sn is exist - process it [00:05:44]wFMCommunicate request_size=4 [00:05:44]MH_SAM_APDU [00:05:44]CAPDU: 80 11 00 00 [00:05:44]Write to MH i2c: E2 08 00 1D 01 80 11 00 00 00 00 00 00 98 [00:05:44]Write i2c OK [00:05:44]MH_I2C_Read... [00:05:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:05:44]Read from MH i2c: E2 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: E2 17 00 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: E2 17 00 1D 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E8 [00:05:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:05:44]wFMCommunicate OK [00:05:44]requested_item fd.num is exist - process it [00:05:44]SAM_PROTO_GetFieldsCounters [00:05:44]wFMCommunicate request_size=4 [00:05:44]MH_SAM_APDU [00:05:44]CAPDU: 80 13 00 00 [00:05:44]Write to MH i2c: E2 08 00 1E 01 80 13 00 00 00 00 00 00 9B [00:05:44]Write i2c OK [00:05:44]MH_I2C_Read... [00:05:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:05:44]Read from MH i2c: E2 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: E2 62 00 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: E2 62 00 1E 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 67 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 BB [00:05:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 67 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:05:44]wFMCommunicate OK [00:05:44]SAM_PROTO_GetFieldsCounters done [00:05:44]requested_item shift.num is exist - process it [00:05:44]requested_item shift.opened is exist - process it [00:05:44]req_shift_opened [00:05:44]FM_GetShiftState [00:05:44]SAM_PROTO_GetShiftState [00:05:44]wFMCommunicate request_size=4 [00:05:44]MH_SAM_APDU [00:05:44]CAPDU: 80 13 01 00 [00:05:44]Write to MH i2c: E2 08 00 1F 01 80 13 01 00 00 00 00 00 9D [00:05:44]Write i2c OK [00:05:44]MH_I2C_Read... [00:05:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:44]Read from MH i2c: E2 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: E2 0E 00 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: E2 0E 00 1F 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A8 [00:05:44]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:05:44]wFMCommunicate OK [00:05:44]SAM_PROTO_GetShiftState done [00:05:44]FM_GetShiftState done [00:05:44]req_shift_opened done [00:05:44]requested_item shift.open_date is exist - process it [00:05:44]req_shift_open_date [00:05:44]FM_GetShiftState [00:05:44]SAM_PROTO_GetShiftState [00:05:44]wFMCommunicate request_size=4 [00:05:44]MH_SAM_APDU [00:05:44]CAPDU: 80 13 01 00 [00:05:44]Write to MH i2c: E2 08 00 20 01 80 13 01 00 00 00 00 00 9E [00:05:44]Write i2c OK [00:05:44]MH_I2C_Read... [00:05:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:44]Read from MH i2c: E2 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: E2 0E 00 [00:05:44]MH_I2C_Read... [00:05:44]Read from MH i2c: E2 0E 00 20 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A9 [00:05:44]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:05:44]wFMCommunicate OK [00:05:44]SAM_PROTO_GetShiftState done [00:05:44]FM_GetShiftState done [00:05:44]req_shift_open_date done [00:05:44]produce_requested_data done [00:05:44]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37991,"shift.num":553,"shift.opened":0,"shift.open_date":0} [00:05:44]process_action_free get_value [00:05:44]json_value_free [00:05:44]json_value_free done [00:05:44]process_json_proto returns [00:05:44]Send response to host [00:05:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37991,"shift.num":553,"shift.opened":0,"shift.open_date":0}}} [00:05:44]free response buf [00:05:44]execute_script done [00:05:44]execute_script returns [00:05:44]free content buf [00:05:44]Sock 7.Close socket [00:05:44]Sock 7.Thread stoped [00:05:44]accept exits with 9 [00:05:44]New connection [00:05:44]New thread 3067043172 created [00:05:44]Thread 3067186532 joined [00:05:44]Waiting for new connection... [00:05:44] Sock 9.Parse request [00:05:44]Sock 9.Check first char [00:05:44]Sock 9.First char is OK [00:05:44]request: POST /json_proto HTTP/1.0 [00:05:44]Method: POST [00:05:44]URL: /json_proto [00:05:44]Method is POST - this is cgi request [00:05:44]url: /json_proto [00:05:44]query_string will be loaded in cgi processing [00:05:44]execute_cgi json_proto POST (null) [00:05:44]execute_cgi path=json_proto method=POST [00:05:44]POST find Content-Length [00:05:44]Host: 172.17.40.196:8080 [00:05:44]Content-Length: 331 [00:05:44]Content-Type: application/json [00:05:44] [00:05:44]POST finish read [00:05:44]Found Content-Length = 331 [00:05:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:44]execute_script... [00:05:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:44]POST & json_proto [00:05:44]process_json_proto [00:05:44]json parsed OK: [00:05:44]protocol is kg_v1.0 [00:05:44]action value=get_value [00:05:44]process_action get_value [00:05:44]cmd_get_value [00:05:44]process_action get_value done [00:05:44]requested_data is exist [00:05:44]produce_requested_data [00:05:44]requested_item fm.sale.total is exist - process it [00:05:44]SAM_PROTO_GetFMData [00:05:44]wFMCommunicate request_size=4 [00:05:44]MH_SAM_APDU [00:05:44]CAPDU: 80 13 03 00 [00:05:44]Write to MH i2c: E2 08 00 21 01 80 13 03 00 00 00 00 00 A1 [00:05:44]Write i2c OK [00:05:44]MH_I2C_Read... [00:05:45]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:05:45]Read from MH i2c: E2 [00:05:45]MH_I2C_Read... [00:05:45]Read from MH i2c: E2 FD 00 [00:05:45]MH_I2C_Read... [00:05:45]Read from MH i2c: E2 FD 00 21 01 00 C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 0A [00:05:45]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:05:45]wFMCommunicate OK [00:05:45]wFMCommunicate request_size=4 [00:05:45]MH_SAM_APDU [00:05:45]CAPDU: 80 17 00 00 [00:05:45]Write to MH i2c: E2 08 00 22 01 80 17 00 00 00 00 00 00 A3 [00:05:45]Write i2c OK [00:05:45]MH_I2C_Read... [00:05:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:45]Read from MH i2c: E2 [00:05:45]MH_I2C_Read... [00:05:45]Read from MH i2c: E2 FD 00 [00:05:45]MH_I2C_Read... [00:05:45]Read from MH i2c: E2 FD 00 22 01 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 9E [00:05:45]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:05:45]wFMCommunicate OK [00:05:45]wFMCommunicate request_size=4 [00:05:45]MH_SAM_APDU [00:05:45]CAPDU: 80 17 00 00 [00:05:45]Write to MH i2c: E2 08 00 23 01 80 17 00 00 00 00 00 00 A4 [00:05:45]Write i2c OK [00:05:45]MH_I2C_Read... [00:05:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:45]Read from MH i2c: E2 [00:05:45]MH_I2C_Read... [00:05:45]Read from MH i2c: E2 FD 00 [00:05:45]MH_I2C_Read... [00:05:45]Read from MH i2c: E2 FD 00 23 01 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 47 [00:05:45]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:05:45]wFMCommunicate OK [00:05:45]wFMCommunicate request_size=4 [00:05:45]MH_SAM_APDU [00:05:45]CAPDU: 80 17 00 00 [00:05:45]Write to MH i2c: E2 08 00 24 01 80 17 00 00 00 00 00 00 A5 [00:05:45]Write i2c OK [00:05:45]MH_I2C_Read... [00:05:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:45]Read from MH i2c: E2 [00:05:45]MH_I2C_Read... [00:05:45]Read from MH i2c: E2 FD 00 [00:05:45]MH_I2C_Read... [00:05:45]Read from MH i2c: E2 FD 00 24 01 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 1D [00:05:45]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:05:45]wFMCommunicate OK [00:05:45]wFMCommunicate request_size=4 [00:05:45]MH_SAM_APDU [00:05:45]CAPDU: 80 17 00 00 [00:05:45]Write to MH i2c: E2 08 00 25 01 80 17 00 00 00 00 00 00 A6 [00:05:45]Write i2c OK [00:05:45]MH_I2C_Read... [00:05:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:05:46]Read from MH i2c: E2 [00:05:46]MH_I2C_Read... [00:05:46]Read from MH i2c: E2 DD 00 [00:05:46]MH_I2C_Read... [00:05:46]Read from MH i2c: E2 DD 00 25 01 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8E [00:05:46]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:46]wFMCommunicate OK [00:05:46]SAM_PROTO_GetFMData done [00:05:46]requested_item fm.sale_refund.total is exist - process it [00:05:46]requested_item fm.buy.total is exist - process it [00:05:46]requested_item shift.sale.total is exist - process it [00:05:46]SAM_PROTO_GetShiftData [00:05:46]wFMCommunicate request_size=4 [00:05:46]MH_SAM_APDU [00:05:46]CAPDU: 80 13 02 00 [00:05:46]Write to MH i2c: E2 08 00 26 01 80 13 02 00 00 00 00 00 A5 [00:05:46]Write i2c OK [00:05:46]MH_I2C_Read... [00:05:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:05:46]Read from MH i2c: E2 [00:05:46]MH_I2C_Read... [00:05:46]Read from MH i2c: E2 FD 00 [00:05:46]MH_I2C_Read... [00:05:46]Read from MH i2c: E2 FD 00 26 01 00 AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 29 [00:05:46]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 08 DB 17 70 04 03 00 A0 BD 15 72 04 03 00 68 1D 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7A 88 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 06 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:05:46]wFMCommunicate OK [00:05:46]wFMCommunicate request_size=4 [00:05:46]MH_SAM_APDU [00:05:46]CAPDU: 80 17 00 00 [00:05:46]Write to MH i2c: E2 08 00 27 01 80 17 00 00 00 00 00 00 A8 [00:05:46]Write i2c OK [00:05:46]MH_I2C_Read... [00:05:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:46]Read from MH i2c: E2 [00:05:46]MH_I2C_Read... [00:05:46]Read from MH i2c: E2 FD 00 [00:05:46]MH_I2C_Read... [00:05:46]Read from MH i2c: E2 FD 00 27 01 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 CA [00:05:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:05:46]wFMCommunicate OK [00:05:46]wFMCommunicate request_size=4 [00:05:46]MH_SAM_APDU [00:05:46]CAPDU: 80 17 00 00 [00:05:46]Write to MH i2c: E2 08 00 28 01 80 17 00 00 00 00 00 00 A9 [00:05:46]Write i2c OK [00:05:46]MH_I2C_Read... [00:05:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:47]Read from MH i2c: E2 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 FD 00 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 FD 00 28 01 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 60 [00:05:47]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:05:47]wFMCommunicate OK [00:05:47]wFMCommunicate request_size=4 [00:05:47]MH_SAM_APDU [00:05:47]CAPDU: 80 17 00 00 [00:05:47]Write to MH i2c: E2 08 00 29 01 80 17 00 00 00 00 00 00 AA [00:05:47]Write i2c OK [00:05:47]MH_I2C_Read... [00:05:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:47]Read from MH i2c: E2 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 FD 00 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 FD 00 29 01 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 1C [00:05:47]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:05:47]wFMCommunicate OK [00:05:47]wFMCommunicate request_size=4 [00:05:47]MH_SAM_APDU [00:05:47]CAPDU: 80 17 00 00 [00:05:47]Write to MH i2c: E2 08 00 2A 01 80 17 00 00 00 00 00 00 AB [00:05:47]Write i2c OK [00:05:47]MH_I2C_Read... [00:05:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:05:47]Read from MH i2c: E2 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 CB 00 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 CB 00 2A 01 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 94 [00:05:47]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:47]wFMCommunicate OK [00:05:47]SAM_PROTO_GetShiftData done [00:05:47]requested_item shift.sale.total_cash is exist - process it [00:05:47]requested_item shift.sale_refund.total is exist - process it [00:05:47]requested_item shift.sale_refund.total_cash is exist - process it [00:05:47]requested_item shift.buy.total is exist - process it [00:05:47]requested_item shift.buy.total_cash is exist - process it [00:05:47]produce_requested_data done [00:05:47]produce_requested_data return {"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15634.00,"shift.sale.total_cash":14248.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:05:47]process_action_free get_value [00:05:47]json_value_free [00:05:47]json_value_free done [00:05:47]process_json_proto returns [00:05:47]Send response to host [00:05:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15634.00,"shift.sale.total_cash":14248.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:05:47]free response buf [00:05:47]execute_script done [00:05:47]execute_script returns [00:05:47]free content buf [00:05:47]Sock 9.Close socket [00:05:47]Sock 9.Thread stoped [00:05:47]accept exits with 7 [00:05:47]New connection [00:05:47]New thread 3067186532 created [00:05:47]Thread 3067043172 joined [00:05:47]Waiting for new connection... [00:05:47] Sock 7.Parse request [00:05:47]Sock 7.Check first char [00:05:47]Sock 7.First char is OK [00:05:47]request: POST /json_proto HTTP/1.0 [00:05:47]Method: POST [00:05:47]URL: /json_proto [00:05:47]Method is POST - this is cgi request [00:05:47]url: /json_proto [00:05:47]query_string will be loaded in cgi processing [00:05:47]execute_cgi json_proto POST (null) [00:05:47]execute_cgi path=json_proto method=POST [00:05:47]POST find Content-Length [00:05:47]Host: 172.17.40.196:8080 [00:05:47]Content-Length: 265 [00:05:47]Content-Type: application/json [00:05:47] [00:05:47]POST finish read [00:05:47]Found Content-Length = 265 [00:05:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0414\u043E\u043B\u043E\u043D\u0431\u0430\u0435\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:47]execute_script... [00:05:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0414\u043E\u043B\u043E\u043D\u0431\u0430\u0435\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:47]POST & json_proto [00:05:47]process_json_proto [00:05:47]json parsed OK: [00:05:47]protocol is kg_v1.0 [00:05:47]action value=open_shift [00:05:47]process_action open_shift [00:05:47]cmd_open_shift [00:05:47]MH_GetDate [00:05:47]Write to MH i2c: F0 00 00 2B 01 1B [00:05:47]Write i2c OK [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: F0 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: F0 09 00 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: F0 09 00 2B 01 00 DC C9 22 67 5B 68 A1 66 1C [00:05:47]GetLastDocTimeStamp 1730333007 [00:05:47]current date 1730333148 [00:05:47]FM_GetShiftState [00:05:47]SAM_PROTO_GetShiftState [00:05:47]wFMCommunicate request_size=4 [00:05:47]MH_SAM_APDU [00:05:47]CAPDU: 80 13 01 00 [00:05:47]Write to MH i2c: E2 08 00 2C 01 80 13 01 00 00 00 00 00 AA [00:05:47]Write i2c OK [00:05:47]MH_I2C_Read... [00:05:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:47]Read from MH i2c: E2 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 0E 00 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 0E 00 2C 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 B5 [00:05:47]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:05:47]wFMCommunicate OK [00:05:47]SAM_PROTO_GetShiftState done [00:05:47]FM_GetShiftState done [00:05:47]KKMCreateOpenShiftDocument [00:05:47]Load OK [00:05:47]Malloc new data [00:05:47]MH_GetDate [00:05:47]Write to MH i2c: F0 00 00 2D 01 1D [00:05:47]Write i2c OK [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: F0 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: F0 09 00 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: F0 09 00 2D 01 00 DC C9 22 67 5B 68 A1 66 1E [00:05:47]Malloc new data [00:05:47]KKMCreateOpenShiftDocument OK [00:05:47]KKMSetOpenShiftData OK [00:05:47]ProcessDocumentItem done err = 0, tmpTLVsize=197 [00:05:47]tlvbuf is 012C0A10 [00:05:47]KKMLoadAndSignOpenShiftData [00:05:47]SAM_PROTO_ProcessDocument [00:05:47]wFMCommunicate request_size=9 [00:05:47]MH_SAM_APDU [00:05:47]CAPDU: 80 15 01 00 04 02 00 C5 00 [00:05:47]Write to MH i2c: E2 0C 00 2E 01 80 15 01 00 04 00 02 00 C5 00 00 00 7D [00:05:47]Write i2c OK [00:05:47]MH_I2C_Read... [00:05:47]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:05:47]Read from MH i2c: E2 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 03 00 [00:05:47]MH_I2C_Read... [00:05:47]Read from MH i2c: E2 03 00 2E 01 00 90 00 A3 [00:05:47]RAPDU: 90 00 [00:05:47]wFMCommunicate OK [00:05:47]wFMCommunicate request_size=23 [00:05:47]MH_SAM_APDU [00:05: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 [00:05:47]Write to MH i2c: E2 1A 00 2F 01 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 A5 [00:05:47]Write i2c OK [00:05:47]MH_I2C_Read... [00:05:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:48]Read from MH i2c: E2 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 2F 01 00 90 00 A4 [00:05:48]RAPDU: 90 00 [00:05:48]wFMCommunicate OK [00:05:48]wFMCommunicate request_size=32 [00:05:48]MH_SAM_APDU [00:05:48]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 94 D0 BE D0 BB D0 BE D0 BD D0 B1 D0 B0 D0 B5 D0 B2 20 D0 90 2E 20 [00:05:48]Write to MH i2c: E2 23 00 30 01 80 15 02 00 1B 00 FD 03 17 00 D0 94 D0 BE D0 BB D0 BE D0 BD D0 B1 D0 B0 D0 B5 D0 B2 20 D0 90 2E 20 00 00 6C [00:05:48]Write i2c OK [00:05:48]MH_I2C_Read... [00:05:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:48]Read from MH i2c: E2 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 30 01 00 90 00 A5 [00:05:48]RAPDU: 90 00 [00:05:48]wFMCommunicate OK [00:05:48]wFMCommunicate request_size=83 [00:05:48]MH_SAM_APDU [00:05:48]CAPDU: 80 15 02 00 4E F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 [00:05:48]Write to MH i2c: E2 56 00 31 01 80 15 02 00 4E 00 F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 00 00 05 [00:05:48]Write i2c OK [00:05:48]MH_I2C_Read... [00:05:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:48]Read from MH i2c: E2 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 31 01 00 90 00 A6 [00:05:48]RAPDU: 90 00 [00:05:48]wFMCommunicate OK [00:05:48]wFMCommunicate request_size=51 [00:05:48]MH_SAM_APDU [00:05:48]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 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:05:48]Write to MH i2c: E2 36 00 32 01 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 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 5E [00:05:48]Write i2c OK [00:05:48]MH_I2C_Read... [00:05:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:48]Read from MH i2c: E2 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 32 01 00 90 00 A7 [00:05:48]RAPDU: 90 00 [00:05:48]wFMCommunicate OK [00:05:48]wFMCommunicate request_size=13 [00:05:48]MH_SAM_APDU [00:05:48]CAPDU: 80 15 02 00 08 F4 03 04 00 DC C9 22 67 [00:05:48]Write to MH i2c: E2 10 00 33 01 80 15 02 00 08 00 F4 03 04 00 DC C9 22 67 00 00 ED [00:05:48]Write i2c OK [00:05:48]MH_I2C_Read... [00:05:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:48]Read from MH i2c: E2 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 33 01 00 90 00 A8 [00:05:48]RAPDU: 90 00 [00:05:48]wFMCommunicate OK [00:05:48]wFMCommunicate request_size=25 [00:05:48]MH_SAM_APDU [00:05:48]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 [00:05:48]Write to MH i2c: E2 1C 00 34 01 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 00 00 1A [00:05:48]Write i2c OK [00:05:48]MH_I2C_Read... [00:05:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:48]Read from MH i2c: E2 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 34 01 00 90 00 A9 [00:05:48]RAPDU: 90 00 [00:05:48]wFMCommunicate OK [00:05:48]wFMCommunicate request_size=4 [00:05:48]MH_SAM_APDU [00:05:48]CAPDU: 80 15 03 00 [00:05:48]Write to MH i2c: E2 08 00 35 01 80 15 03 00 00 00 00 00 B7 [00:05:48]Write i2c OK [00:05:48]MH_I2C_Read... [00:05:48]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:05:48]Read from MH i2c: E2 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 38 00 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 38 00 35 01 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 68 94 00 00 0E 04 04 00 2A 02 00 00 35 04 06 00 36 27 1D 4B 1E C7 90 00 52 [00:05:48]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 68 94 00 00 0E 04 04 00 2A 02 00 00 35 04 06 00 36 27 1D 4B 1E C7 90 00 [00:05:48]wFMCommunicate OK [00:05:48]SAM_PROTO_ProcessDocument answer len = 51 [00:05:48]SAM_PROTO_ProcessDocument done [00:05:48]SetTLVBufToDocument [00:05:48]Processing tag 1209 (04B9) [00:05:48]Malloc new data [00:05:48]Processing tag 1041 (0411) [00:05:48]Processing tag 1040 (0410) [00:05:48]Malloc new data [00:05:48]Processing tag 1038 (040E) [00:05:48]Malloc new data [00:05:48]Processing tag 1077 (0435) [00:05:48]Malloc new data [00:05:48]SetTLVBufToDocument err=0 [00:05:48]KKMLoadAndSignOpenShiftData store KKM data [00:05:48]KKMLoadAndSignOpenShiftData err=0 [00:05:48]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Долонбаев А. Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 Место: АЗС № 126 "Партнер Нефть" 31.10.2024 00:05 Смена: 554 РНМ: 0000000000091684 ЗНМ: 0300000092 ФД: 37992 ФМ: 0000000000871841 ФПД: 59541623086791 [00:05:48]StoreToDocumentArchive [00:05:48]shift 554 fd 37992 [00:05:48]Create dir for shift 0554 [00:05:48]save to /storage/0554/doc_00037992 [00:05:48]save last doc name /storage/0554/doc_00037992 to /storage/kkm_last_doc_name [00:05:48]save OK [00:05:48]Clear old archive folders... [00:05:48]Remove dir /storage/0553 [00:05:48]opendir ok [00:05:48]file . [00:05:48]file .. [00:05:48]file doc_00037991 [00:05:48]remove file /storage/0553/doc_00037991 [00:05:48]remove dir /storage/0553 [00:05:48]ProcessDocumentItem done err = 0, tmpTLVsize=248 [00:05:48]tlvbuf is 011A71B0 [00:05:48]SAM_PROTO_ClearQueue [00:05:48]wFMCommunicate request_size=4 [00:05:48]MH_SAM_APDU [00:05:48]CAPDU: 80 09 00 00 [00:05:48]Write to MH i2c: E2 08 00 36 01 80 09 00 00 00 00 00 00 A9 [00:05:48]Write i2c OK [00:05:48]MH_I2C_Read... [00:05:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:05:48]Read from MH i2c: E2 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 36 01 00 90 00 AB [00:05:48]RAPDU: 90 00 [00:05:48]wFMCommunicate OK [00:05:48]SAM_PROTO_ClearQueue done [00:05:48]KKMCreateOFDPacket [00:05:48]OFDProtocolAddRootSTLVToBuf [00:05:48]FM_MakeSignedData [00:05:48]FM_MakeSignedData [00:05:48]SAM_PROTO_SignData [00:05:48]wFMCommunicate request_size=4 [00:05:48]MH_SAM_APDU [00:05:48]CAPDU: 80 0D 01 02 [00:05:48]Write to MH i2c: E2 08 00 37 01 80 0D 01 02 00 00 00 00 B1 [00:05:48]OFD Sender: No OFD packet to send [00:05:48]Write i2c OK [00:05:48]MH_I2C_Read... [00:05:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:05:48]Read from MH i2c: E2 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 [00:05:48]MH_I2C_Read... [00:05:48]Read from MH i2c: E2 03 00 37 01 00 90 00 AC [00:05:48]RAPDU: 90 00 [00:05:48]wFMCommunicate OK [00:05:48]wFMCommunicate request_size=255 [00:05:48]MH_SAM_APDU [00:05:48]CAPDU: 80 0D 02 02 FA 02 00 F8 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 94 D0 BE D0 BB D0 BE D0 BD D0 B1 D0 B0 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 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 DC C9 22 67 0E 04 04 00 2A 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 68 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 36 27 1D 4B [00:05:48]Write to MH i2c: E2 02 01 38 01 80 0D 02 02 FA 00 02 00 F8 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 94 D0 BE D0 BB D0 BE D0 BD D0 B1 D0 B0 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 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 DC C9 22 67 0E 04 04 00 2A 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 68 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 36 27 1D 4B 00 00 BF [00:05:48]Write i2c OK [00:05:48]MH_I2C_Read... [00:05:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:05:49]Read from MH i2c: E2 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: E2 03 00 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: E2 03 00 38 01 00 90 00 AD [00:05:49]RAPDU: 90 00 [00:05:49]wFMCommunicate OK [00:05:49]wFMCommunicate request_size=7 [00:05:49]MH_SAM_APDU [00:05:49]CAPDU: 80 0D 02 02 02 1E C7 [00:05:49]Write to MH i2c: E2 0A 00 39 01 80 0D 02 02 02 00 1E C7 00 00 9D [00:05:49]Write i2c OK [00:05:49]MH_I2C_Read... [00:05:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:05:49]Read from MH i2c: E2 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: E2 03 00 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: E2 03 00 39 01 00 90 00 AE [00:05:49]RAPDU: 90 00 [00:05:49]wFMCommunicate OK [00:05:49]wFMCommunicate request_size=4 [00:05:49]MH_SAM_APDU [00:05:49]CAPDU: 80 0D 03 02 [00:05:49]Write to MH i2c: E2 08 00 3A 01 80 0D 03 02 00 00 00 00 B6 [00:05:49]Write i2c OK [00:05:49]MH_I2C_Read... [00:05:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:05:49]Read from MH i2c: E2 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: E2 0B 00 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: E2 0B 00 3A 01 00 8E 14 7E 13 65 57 05 43 90 00 EE [00:05:49]RAPDU: 8E 14 7E 13 65 57 05 43 90 00 [00:05:49]wFMCommunicate OK [00:05:49]SAM_PROTO_SignData done [00:05:49]FM_MakeSignedData done [00:05:49]CreateOFDProtocolMessage [00:05:49]wFMCommunicate request_size=4 [00:05:49]MH_SAM_APDU [00:05:49]CAPDU: 80 11 00 00 [00:05:49]Write to MH i2c: E2 08 00 3B 01 80 11 00 00 00 00 00 00 B6 [00:05:49]Write i2c OK [00:05:49]MH_I2C_Read... [00:05:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:05:49]Read from MH i2c: E2 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: E2 17 00 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: E2 17 00 3B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 06 [00:05:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:05:49]wFMCommunicate OK [00:05:49]CreateOFDProtocolMessage done [00:05:49]OFDSenderStorePacket 37992 [00:05:49]StoreOFDPacket docnum=37992 [00:05:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0C 01 00 00 F0 42 04 01 9C 3B 5A 02 01 00 02 00 F8 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 94 D0 BE D0 BB D0 BE D0 BD D0 B1 D0 B0 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 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 DC C9 22 67 0E 04 04 00 2A 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 68 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 36 27 1D 4B 1E C7 8E 14 7E 13 65 57 05 43 [00:05:49]CheckFolder [00:05:49]dirname=/storage/ofd_packets [00:05:49]CheckFolder done [00:05:49]ProducePacketName [00:05:49]name=ofd_packets/00037992 [00:05:49]NVStorageSaveData ofd_packets/00037992 [00:05:49]File name is /storage/ofd_packets/00037992 [00:05:49]Write 298 bytes [00:05:49]NVStorageSaveData done [00:05:49]OFDSenderStorePacket done [00:05:49]KKMCreateOFDPacket done [00:05:49]NVStorageSaveData kkm_last_timestamp [00:05:49]File name is /storage/kkm_last_timestamp [00:05:49]Write 4 bytes [00:05:49]NVStorageSaveData done [00:05:49]ExternCall_PrintAddStr [00:05:49]wPrintStart [00:05:49]Write to MH i2c: 01 00 00 3C 01 3D [00:05:49]Write i2c OK [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: 01 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: 01 07 00 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: 01 07 00 3C 01 00 00 00 00 00 FF 0F 52 [00:05:49]RasterBufferAndPrint [00:05:49]line Отчет об открытии смены [00:05:49]line ФФД: 1.0 [00:05:49]line ИНН: 02508201610067 [00:05:49]line Кассир: Долонбаев А. [00:05:49]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [00:05:49]line Место: АЗС № 126 "Партнер Нефть" [00:05:49]line 31.10.2024 00:05 [00:05:49]line Смена: 554 [00:05:49]line РНМ: 0000000000091684 [00:05:49]line ЗНМ: 0300000092 [00:05:49]line ФД: 37992 [00:05:49]line ФМ: 0000000000871841 [00:05:49]line ФПД: 59541623086791 [00:05:49]written 0, free lines is 4095 [00:05:49]OFD Sender: Processing packet 37992 [packets to send 42, broken 41] [00:05:49]ProducePacketName [00:05:49]name=ofd_packets/00037992 [00:05:49]OFD Sender: To server: pG, [00:05:49]CommunicateWithHost lk.salyk.kg:30040 [00:05:49]ConnectInit lk.salyk.kg [00:05:49]Write to MH i2c: 01 00 00 4E 01 4F [00:05:49]Write i2c OK [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: 01 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: 01 07 00 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: 01 07 00 4E 01 00 00 00 00 00 51 0E B5 [00:05:49]RasterBufferAndPrint [00:05:49]line [00:05:49]line [00:05:49]line [00:05:49]line [00:05:49]line [00:05:49]written 0, free lines is 3674 [00:05:49]MH_Cut [00:05:49]Write to MH i2c: D1 01 00 55 01 01 28 [00:05:49]Write i2c OK [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: D1 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: D1 01 00 [00:05:49]MH_I2C_Read... [00:05:49]Read from MH i2c: D1 01 00 55 01 00 27 [00:05:49]Write to MH i2c: 01 00 00 56 01 57 [00:05:49]Write i2c OK [00:05:49]MH_I2C_Read... [00:05:49]Connected sock=10 [00:05:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0C 01 00 00 F0 42 04 01 9C 3B 5A 02 01 00 02 00 F8 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 94 D0 BE D0 BB D0 BE D0 BD D0 B1 D0 B0 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 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 DC C9 22 67 0E 04 04 00 2A 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 68 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 36 27 1D 4B 1E C7 8E 14 7E 13 65 57 05 43 [00:05:50]*** Cut start [00:05:50]*** Partial cut [00:05:50]*** CUTSNS_PIN = 1 [00:05:50]*** CUTSNS_PIN = 0 [00:05:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 BA FD 47 00 7A 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 68 94 00 00 F4 03 04 00 C9 74 22 67 B6 04 01 00 00 CE 61 DE 0B CD 08 3F E7 [00:05:50]CommunicateWithHost err = 0 [00:05:50]CheckOFDResponse [00:05:50]1017 (14) - 77093643461234 [00:05:50]1041 (16) - 0000000000871841 [00:05:50]1040 (4) - 37992 [00:05:50]1012 (4) - 30.10.2024 18:02 [00:05:50]1206 (1) - 0 [00:05:50]OFD Sender: Remove packet 37992 [00:05:50]ProducePacketName [00:05:50]name=ofd_packets/00037992 [00:05:50]NVStorageDeleteData [00:05:50]*** Brake cut motor [00:05:50]Read from MH i2c: 01 [00:05:50]MH_I2C_Read... [00:05:50]*** Stop cut motor [00:05:50]*** Cut end [00:05:50]Read from MH i2c: 01 07 00 [00:05:50]MH_I2C_Read... [00:05:50]Read from MH i2c: 01 07 00 56 01 00 00 00 00 00 FF 0F 6C [00:05:50]process_action open_shift done [00:05:50]requested_data is exist [00:05:50]produce_requested_data [00:05:50]requested_item fd.num is exist - process it [00:05:50]SAM_PROTO_GetFieldsCounters [00:05:50]wFMCommunicate request_size=4 [00:05:50]MH_SAM_APDU [00:05:50]CAPDU: 80 13 00 00 [00:05:50]Write to MH i2c: E2 08 00 57 01 80 13 00 00 00 00 00 00 D4 [00:05:50]Write i2c OK [00:05:50]MH_I2C_Read... [00:05:50]OFD Sender: No OFD packet to send [00:05:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:05:50]Read from MH i2c: E2 [00:05:50]MH_I2C_Read... [00:05:50]Read from MH i2c: E2 62 00 [00:05:50]MH_I2C_Read... [00:05:50]Read from MH i2c: E2 62 00 57 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 68 94 00 00 0E 04 04 00 2A 02 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 1D [00:05:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 68 94 00 00 0E 04 04 00 2A 02 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:05:50]wFMCommunicate OK [00:05:50]SAM_PROTO_GetFieldsCounters done [00:05:50]requested_item shift.num is exist - process it [00:05:50]requested_item shift.opened is exist - process it [00:05:50]req_shift_opened [00:05:50]FM_GetShiftState [00:05:50]SAM_PROTO_GetShiftState [00:05:50]wFMCommunicate request_size=4 [00:05:50]MH_SAM_APDU [00:05:50]CAPDU: 80 13 01 00 [00:05:50]Write to MH i2c: E2 08 00 58 01 80 13 01 00 00 00 00 00 D6 [00:05:51]Write i2c OK [00:05:51]MH_I2C_Read... [00:05:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:51]Read from MH i2c: E2 [00:05:51]MH_I2C_Read... [00:05:51]Read from MH i2c: E2 0E 00 [00:05:51]MH_I2C_Read... [00:05:51]Read from MH i2c: E2 0E 00 58 01 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 10 [00:05:51]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [00:05:51]wFMCommunicate OK [00:05:51]SAM_PROTO_GetShiftState done [00:05:51]FM_GetShiftState done [00:05:51]req_shift_opened done [00:05:51]requested_item shift.open_date is exist - process it [00:05:51]req_shift_open_date [00:05:51]req_shift_open_date done [00:05:51]produce_requested_data done [00:05:51]produce_requested_data return {"fd.num":37992,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [00:05:51]process_action_free open_shift [00:05:51]json_value_free [00:05:51]json_value_free done [00:05:51]process_json_proto returns [00:05:51]Send response to host [00:05:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37992,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [00:05:51]free response buf [00:05:51]execute_script done [00:05:51]execute_script returns [00:05:51]free content buf [00:05:51]Sock 7.Close socket [00:05:51]Sock 7.Thread stoped [00:05:51]accept exits with 9 [00:05:51]New connection [00:05:51]New thread 3067043172 created [00:05:51]Thread 3067186532 joined [00:05:51]Waiting for new connection... [00:05:51] Sock 9.Parse request [00:05:51]Sock 9.Check first char [00:05:51]Sock 9.First char is OK [00:05:51]request: POST /json_proto HTTP/1.0 [00:05:51]Method: POST [00:05:51]URL: /json_proto [00:05:51]Method is POST - this is cgi request [00:05:51]url: /json_proto [00:05:51]query_string will be loaded in cgi processing [00:05:51]execute_cgi json_proto POST (null) [00:05:51]execute_cgi path=json_proto method=POST [00:05:51]POST find Content-Length [00:05:51]Host: 172.17.40.196:8080 [00:05:51]Content-Length: 331 [00:05:51]Content-Type: application/json [00:05:51] [00:05:51]POST finish read [00:05:51]Found Content-Length = 331 [00:05:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:51]execute_script... [00:05:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:51]POST & json_proto [00:05:51]process_json_proto [00:05:51]json parsed OK: [00:05:51]protocol is kg_v1.0 [00:05:51]action value=get_value [00:05:51]process_action get_value [00:05:51]cmd_get_value [00:05:51]process_action get_value done [00:05:51]requested_data is exist [00:05:51]produce_requested_data [00:05:51]requested_item fm.sale.total is exist - process it [00:05:51]SAM_PROTO_GetFMData [00:05:51]wFMCommunicate request_size=4 [00:05:51]MH_SAM_APDU [00:05:51]CAPDU: 80 13 03 00 [00:05:51]Write to MH i2c: E2 08 00 59 01 80 13 03 00 00 00 00 00 D9 [00:05:51]Write i2c OK [00:05:51]MH_I2C_Read... [00:05:51]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:05:51]Read from MH i2c: E2 [00:05:51]MH_I2C_Read... [00:05:51]Read from MH i2c: E2 FD 00 [00:05:51]MH_I2C_Read... [00:05:51]Read from MH i2c: E2 FD 00 59 01 00 C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 42 [00:05:51]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 14 90 00 00 69 04 A0 00 6F 04 04 00 0F 90 00 00 B1 04 04 00 CA 7D 61 34 70 04 04 00 A4 4D 85 2E 72 04 04 00 26 30 DC 05 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 3C 13 90 05 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 1F 9A 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 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 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:05:51]wFMCommunicate OK [00:05:51]wFMCommunicate request_size=4 [00:05:51]MH_SAM_APDU [00:05:51]CAPDU: 80 17 00 00 [00:05:51]Write to MH i2c: E2 08 00 5A 01 80 17 00 00 00 00 00 00 DB [00:05:51]Write i2c OK [00:05:51]MH_I2C_Read... [00:05:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:51]Read from MH i2c: E2 [00:05:51]MH_I2C_Read... [00:05:51]Read from MH i2c: E2 FD 00 [00:05:51]MH_I2C_Read... [00:05:51]Read from MH i2c: E2 FD 00 5A 01 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 D6 [00:05:52]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:05:52]wFMCommunicate OK [00:05:52]wFMCommunicate request_size=4 [00:05:52]MH_SAM_APDU [00:05:52]CAPDU: 80 17 00 00 [00:05:52]Write to MH i2c: E2 08 00 5B 01 80 17 00 00 00 00 00 00 DC [00:05:52]Write i2c OK [00:05:52]MH_I2C_Read... [00:05:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:52]Read from MH i2c: E2 [00:05:52]MH_I2C_Read... [00:05:52]Read from MH i2c: E2 FD 00 [00:05:52]MH_I2C_Read... [00:05:52]Read from MH i2c: E2 FD 00 5B 01 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 7F [00:05:52]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:05:52]wFMCommunicate OK [00:05:52]wFMCommunicate request_size=4 [00:05:52]MH_SAM_APDU [00:05:52]CAPDU: 80 17 00 00 [00:05:52]Write to MH i2c: E2 08 00 5C 01 80 17 00 00 00 00 00 00 DD [00:05:52]Write i2c OK [00:05:52]MH_I2C_Read... [00:05:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:52]Read from MH i2c: E2 [00:05:52]MH_I2C_Read... [00:05:52]Read from MH i2c: E2 FD 00 [00:05:52]MH_I2C_Read... [00:05:52]Read from MH i2c: E2 FD 00 5C 01 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 55 [00:05:52]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:05:53]wFMCommunicate OK [00:05:53]wFMCommunicate request_size=4 [00:05:53]MH_SAM_APDU [00:05:53]CAPDU: 80 17 00 00 [00:05:53]Write to MH i2c: E2 08 00 5D 01 80 17 00 00 00 00 00 00 DE [00:05:53]Write i2c OK [00:05:53]MH_I2C_Read... [00:05:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:05:53]Read from MH i2c: E2 [00:05:53]MH_I2C_Read... [00:05:53]Read from MH i2c: E2 DD 00 [00:05:53]MH_I2C_Read... [00:05:53]Read from MH i2c: E2 DD 00 5D 01 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C6 [00:05:53]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:53]wFMCommunicate OK [00:05:53]SAM_PROTO_GetFMData done [00:05:53]requested_item fm.sale_refund.total is exist - process it [00:05:53]requested_item fm.buy.total is exist - process it [00:05:53]requested_item shift.sale.total is exist - process it [00:05:53]SAM_PROTO_GetShiftData [00:05:53]wFMCommunicate request_size=4 [00:05:53]MH_SAM_APDU [00:05:53]CAPDU: 80 13 02 00 [00:05:53]Write to MH i2c: E2 08 00 5E 01 80 13 02 00 00 00 00 00 DD [00:05:53]Write i2c OK [00:05:53]MH_I2C_Read... [00:05:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:05:53]Read from MH i2c: E2 [00:05:53]MH_I2C_Read... [00:05:53]Read from MH i2c: E2 FD 00 [00:05:53]MH_I2C_Read... [00:05:53]Read from MH i2c: E2 FD 00 5E 01 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 50 [00:05:53]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:05:54]wFMCommunicate OK [00:05:54]wFMCommunicate request_size=4 [00:05:54]MH_SAM_APDU [00:05:54]CAPDU: 80 17 00 00 [00:05:54]Write to MH i2c: E2 08 00 5F 01 80 17 00 00 00 00 00 00 E0 [00:05:54]Write i2c OK [00:05:54]MH_I2C_Read... [00:05:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:54]Read from MH i2c: E2 [00:05:54]MH_I2C_Read... [00:05:54]Read from MH i2c: E2 FD 00 [00:05:54]MH_I2C_Read... [00:05:54]Read from MH i2c: E2 FD 00 5F 01 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 E8 [00:05:54]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:05:54]wFMCommunicate OK [00:05:54]wFMCommunicate request_size=4 [00:05:54]MH_SAM_APDU [00:05:54]CAPDU: 80 17 00 00 [00:05:54]Write to MH i2c: E2 08 00 60 01 80 17 00 00 00 00 00 00 E1 [00:05:54]Write i2c OK [00:05:54]MH_I2C_Read... [00:05:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:54]Read from MH i2c: E2 [00:05:54]MH_I2C_Read... [00:05:54]Read from MH i2c: E2 FD 00 [00:05:54]MH_I2C_Read... [00:05:54]Read from MH i2c: E2 FD 00 60 01 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 B3 [00:05:54]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:05:54]wFMCommunicate OK [00:05:54]wFMCommunicate request_size=4 [00:05:54]MH_SAM_APDU [00:05:54]CAPDU: 80 17 00 00 [00:05:54]Write to MH i2c: E2 08 00 61 01 80 17 00 00 00 00 00 00 E2 [00:05:54]Write i2c OK [00:05:54]MH_I2C_Read... [00:05:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:55]Read from MH i2c: E2 [00:05:55]MH_I2C_Read... [00:05:55]Read from MH i2c: E2 FD 00 [00:05:55]MH_I2C_Read... [00:05:55]Read from MH i2c: E2 FD 00 61 01 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 54 [00:05:55]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:05:55]wFMCommunicate OK [00:05:55]wFMCommunicate request_size=4 [00:05:55]MH_SAM_APDU [00:05:55]CAPDU: 80 17 00 00 [00:05:55]Write to MH i2c: E2 08 00 62 01 80 17 00 00 00 00 00 00 E3 [00:05:55]Write i2c OK [00:05:55]MH_I2C_Read... [00:05:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:05:55]Read from MH i2c: E2 [00:05:55]MH_I2C_Read... [00:05:55]Read from MH i2c: E2 BD 00 [00:05:55]MH_I2C_Read... [00:05:55]Read from MH i2c: E2 BD 00 62 01 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 C9 [00:05:55]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:55]wFMCommunicate OK [00:05:55]SAM_PROTO_GetShiftData done [00:05:55]requested_item shift.sale.total_cash is exist - process it [00:05:55]requested_item shift.sale_refund.total is exist - process it [00:05:55]requested_item shift.sale_refund.total_cash is exist - process it [00:05:55]requested_item shift.buy.total is exist - process it [00:05:55]requested_item shift.buy.total_cash is exist - process it [00:05:55]produce_requested_data done [00:05:55]produce_requested_data return {"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.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:05:55]process_action_free get_value [00:05:55]json_value_free [00:05:55]json_value_free done [00:05:55]process_json_proto returns [00:05:55]Send response to host [00:05:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8788044.26,"fm.sale_refund.total":12909.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:05:55]free response buf [00:05:55]execute_script done [00:05:55]execute_script returns [00:05:55]free content buf [00:05:55]Sock 9.Close socket [00:05:55]Sock 9.Thread stoped [00:05:56]OFD Sender: No OFD packet to send [00:06:01]OFD Sender: No OFD packet to send [00:06:06]OFD Sender: No OFD packet to send [00:06:11]OFD Sender: No OFD packet to send [00:06:16]OFD Sender: No OFD packet to send [00:06:21]OFD Sender: No OFD packet to send [00:06:26]OFD Sender: No OFD packet to send [00:06:31]OFD Sender: No OFD packet to send [00:06:36]OFD Sender: No OFD packet to send [00:06:41]OFD Sender: No OFD packet to send [00:06:46]OFD Sender: No OFD packet to send [00:06:51]OFD Sender: No OFD packet to send [00:06:56]OFD Sender: No OFD packet to send [00:07:01]OFD Sender: No OFD packet to send [00:07:06]OFD Sender: No OFD packet to send [00:07:11]OFD Sender: No OFD packet to send [00:07:16]OFD Sender: No OFD packet to send [00:07:21]OFD Sender: No OFD packet to send [00:07:26]OFD Sender: No OFD packet to send [00:07:31]OFD Sender: No OFD packet to send [00:07:36]OFD Sender: No OFD packet to send [00:07:41]OFD Sender: No OFD packet to send [00:07:46]OFD Sender: No OFD packet to send [00:07:51]OFD Sender: No OFD packet to send [00:07:56]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:31]OFD Sender: No OFD packet to send [00:08:36]OFD Sender: No OFD packet to send [00:08:41]OFD Sender: No OFD packet to send [00:08:46]OFD Sender: No OFD packet to send [00:08:51]OFD Sender: No OFD packet to send [00:08:56]OFD Sender: No OFD packet to send [00:09:01]OFD Sender: No OFD packet to send [00:09:06]OFD Sender: No OFD packet to send [00:09:11]OFD Sender: No OFD packet to send [00:09:16]OFD Sender: No OFD packet to send [00:09:21]OFD Sender: No OFD packet to send [00:09:26]OFD Sender: No OFD packet to send [00:09:31]OFD Sender: No OFD packet to send [00:09:36]OFD Sender: No OFD packet to send [00:09:41]OFD Sender: No OFD packet to send [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:16]OFD Sender: No OFD packet to send [00:10:21]OFD Sender: No OFD packet to send [00:10:26]OFD Sender: No OFD packet to send [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:56]OFD Sender: No OFD packet to send [00:11:01]OFD Sender: No OFD packet to send [00:11:06]OFD Sender: No OFD packet to send [00:11:11]OFD Sender: No OFD packet to send [00:11:16]OFD Sender: No OFD packet to send [00:11:21]OFD Sender: No OFD packet to send [00:11:26]OFD Sender: No OFD packet to send [00:11:31]OFD Sender: No OFD packet to send [00:11:36]OFD Sender: No OFD packet to send [00:11:41]OFD Sender: No OFD packet to send [00:11:46]OFD Sender: No OFD packet to send [00:11:51]OFD Sender: No OFD packet to send [00:11:56]OFD Sender: No OFD packet to send [00:12:01]OFD Sender: No OFD packet to send [00:12:06]OFD Sender: No OFD packet to send [00:12:11]OFD Sender: No OFD packet to send [00:12:16]OFD Sender: No OFD packet to send [00:12:21]OFD Sender: No OFD packet to send [00:12:26]OFD Sender: No OFD packet to send [00:12:31]OFD Sender: No OFD packet to send [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:01]OFD Sender: No OFD packet to send [00:13:06]OFD Sender: No OFD packet to send [00:13:11]OFD Sender: No OFD packet to send [00:13:16]OFD Sender: No OFD packet to send [00:13:21]OFD Sender: No OFD packet to send [00:13:26]OFD Sender: No OFD packet to send [00:13:31]OFD Sender: No OFD packet to send [00:13:36]OFD Sender: No OFD packet to send [00:13:41]OFD Sender: No OFD packet to send [00:13:46]OFD Sender: No OFD packet to send [00:13:51]OFD Sender: No OFD packet to send [00:13:56]OFD Sender: No OFD packet to send [00:14:01]OFD Sender: No OFD packet to send [00:14:06]OFD Sender: No OFD packet to send [00:14:11]OFD Sender: No OFD packet to send [00:14:16]OFD Sender: No OFD packet to send [00:14:21]OFD Sender: No OFD packet to send [00:14:26]OFD Sender: No OFD packet to send [00:14:31]OFD Sender: No OFD packet to send [00:14:36]OFD Sender: No OFD packet to send [00:14:41]OFD Sender: No OFD packet to send [00:14:46]OFD Sender: No OFD packet to send [00:14:51]OFD Sender: No OFD packet to send [00:14:56]OFD Sender: No OFD packet to send [00:15:01]OFD Sender: No OFD packet to send [00:15:06]OFD Sender: No OFD packet to send [00:15:11]OFD Sender: No OFD packet to send [00:15:16]OFD Sender: No OFD packet to send [00:15:21]OFD Sender: No OFD packet to send [00:15:26]OFD Sender: No OFD packet to send [00:15:31]OFD Sender: No OFD packet to send [00:15:36]OFD Sender: No OFD packet to send [00:15:41]OFD Sender: No OFD packet to send [00:15:46]OFD Sender: No OFD packet to send [00:15:51]OFD Sender: No OFD packet to send [00:15:56]OFD Sender: No OFD packet to send [00:16:01]OFD Sender: No OFD packet to send [00:16:06]OFD Sender: No OFD packet to send [00:16:11]OFD Sender: No OFD packet to send [00:16:16]OFD Sender: No OFD packet to send [00:16:21]OFD Sender: No OFD packet to send [00:16:26]OFD Sender: No OFD packet to send [00:16:31]OFD Sender: No OFD packet to send [00:16:36]OFD Sender: No OFD packet to send [00:16:41]OFD Sender: No OFD packet to send [00:16:46]OFD Sender: No OFD packet to send [00:16:51]OFD Sender: No OFD packet to send [00:16:56]OFD Sender: No OFD packet to send [00:17:01]OFD Sender: No OFD packet to send [00:17:06]OFD Sender: No OFD packet to send [00:17:11]OFD Sender: No OFD packet to send [00:17:16]OFD Sender: No OFD packet to send [00:17:21]OFD Sender: No OFD packet to send [00:17:26]OFD Sender: No OFD packet to send [00:17:31]OFD Sender: No OFD packet to send [00:17:36]OFD Sender: No OFD packet to send [00:17:41]OFD Sender: No OFD packet to send [00:17:46]OFD Sender: No OFD packet to send [00:17:51]OFD Sender: No OFD packet to send [00:17:56]OFD Sender: No OFD packet to send [00:18:01]OFD Sender: No OFD packet to send [00:18:06]OFD Sender: No OFD packet to send [00:18:11]OFD Sender: No OFD packet to send [00:18:16]OFD Sender: No OFD packet to send [00:18:21]OFD Sender: No OFD packet to send [00:18:26]OFD Sender: No OFD packet to send [00:18:31]OFD Sender: No OFD packet to send [00:18:36]OFD Sender: No OFD packet to send [00:18:41]OFD Sender: No OFD packet to send [00:18:46]OFD Sender: No OFD packet to send [00:18:51]OFD Sender: No OFD packet to send [00:18:56]OFD Sender: No OFD packet to send [00:19:01]OFD Sender: No OFD packet to send [00:19:06]OFD Sender: No OFD packet to send [00:19:11]OFD Sender: No OFD packet to send [00:19:16]OFD Sender: No OFD packet to send [00:19:21]OFD Sender: No OFD packet to send [00:19:26]OFD Sender: No OFD packet to send [00:19:31]OFD Sender: No OFD packet to send [00:19:36]OFD Sender: No OFD packet to send [00:19:41]OFD Sender: No OFD packet to send [00:19:46]OFD Sender: No OFD packet to send [00:19:51]OFD Sender: No OFD packet to send [00:19:56]OFD Sender: No OFD packet to send [00:20:01]OFD Sender: No OFD packet to send [00:20:06]OFD Sender: No OFD packet to send [00:20:11]OFD Sender: No OFD packet to send [00:20:16]OFD Sender: No OFD packet to send [00:20:21]OFD Sender: No OFD packet to send [00:20:26]OFD Sender: No OFD packet to send [00:20:31]OFD Sender: No OFD packet to send [00:20:36]OFD Sender: No OFD packet to send [00:20:41]OFD Sender: No OFD packet to send [00:20:46]OFD Sender: No OFD packet to send [00:20:51]OFD Sender: No OFD packet to send [00:20:56]OFD Sender: No OFD packet to send [00:21:01]OFD Sender: No OFD packet to send [00:21:06]OFD Sender: No OFD packet to send [00:21:11]OFD Sender: No OFD packet to send [00:21:16]OFD Sender: No OFD packet to send [00:21:21]OFD Sender: No OFD packet to send [00:21:26]OFD Sender: No OFD packet to send [00:21:31]OFD Sender: No OFD packet to send [00:21:36]OFD Sender: No OFD packet to send [00:21:41]OFD Sender: No OFD packet to send [00:21:46]OFD Sender: No OFD packet to send [00:21:51]OFD Sender: No OFD packet to send [00:21:56]OFD Sender: No OFD packet to send [00:22:01]OFD Sender: No OFD packet to send [00:22:06]OFD Sender: No OFD packet to send [00:22:11]OFD Sender: No OFD packet to send [00:22:16]OFD Sender: No OFD packet to send [00:22:21]OFD Sender: No OFD packet to send [00:22:26]OFD Sender: No OFD packet to send [00:22:31]OFD Sender: No OFD packet to send [00:22:36]OFD Sender: No OFD packet to send [00:22:41]OFD Sender: No OFD packet to send [00:22:46]OFD Sender: No OFD packet to send [00:22:51]OFD Sender: No OFD packet to send [00:22:56]OFD Sender: No OFD packet to send [00:23:01]OFD Sender: No OFD packet to send [00:23:06]OFD Sender: No OFD packet to send [00:23:11]OFD Sender: No OFD packet to send [00:23:16]OFD Sender: No OFD packet to send [00:23:21]OFD Sender: No OFD packet to send [00:23:26]OFD Sender: No OFD packet to send [00:23:31]OFD Sender: No OFD packet to send [00:23:36]OFD Sender: No OFD packet to send [00:23:41]OFD Sender: No OFD packet to send [00:23:46]OFD Sender: No OFD packet to send [00:23:51]OFD Sender: No OFD packet to send [00:23:56]OFD Sender: No OFD packet to send [00:24:01]OFD Sender: No OFD packet to send [00:24:06]OFD Sender: No OFD packet to send [00:24:11]OFD Sender: No OFD packet to send [00:24:16]OFD Sender: No OFD packet to send [00:24:21]OFD Sender: No OFD packet to send [00:24:26]OFD Sender: No OFD packet to send [00:24:31]OFD Sender: No OFD packet to send [00:24:36]OFD Sender: No OFD packet to send [00:24:41]OFD Sender: No OFD packet to send [00:24:46]OFD Sender: No OFD packet to send [00:24:52]OFD Sender: No OFD packet to send [00:24:57]OFD Sender: No OFD packet to send [00:25:02]OFD Sender: No OFD packet to send [00:25:07]OFD Sender: No OFD packet to send [00:25:12]OFD Sender: No OFD packet to send [00:25:17]OFD Sender: No OFD packet to send [00:25:22]OFD Sender: No OFD packet to send [00:25:27]OFD Sender: No OFD packet to send [00:25:32]OFD Sender: No OFD packet to send [00:25:37]OFD Sender: No OFD packet to send [00:25:42]OFD Sender: No OFD packet to send [00:25:47]OFD Sender: No OFD packet to send [00:25:52]OFD Sender: No OFD packet to send [00:25:57]OFD Sender: No OFD packet to send [00:26:02]OFD Sender: No OFD packet to send [00:26:07]OFD Sender: No OFD packet to send [00:26:12]OFD Sender: No OFD packet to send [00:26:17]OFD Sender: No OFD packet to send [00:26:22]OFD Sender: No OFD packet to send [00:26:27]OFD Sender: No OFD packet to send [00:26:32]OFD Sender: No OFD packet to send [00:26:37]OFD Sender: No OFD packet to send [00:26:42]OFD Sender: No OFD packet to send [00:26:47]OFD Sender: No OFD packet to send [00:26:52]OFD Sender: No OFD packet to send [00:26:57]OFD Sender: No OFD packet to send [00:27:02]OFD Sender: No OFD packet to send [00:27:07]OFD Sender: No OFD packet to send [00:27:12]OFD Sender: No OFD packet to send [00:27:17]OFD Sender: No OFD packet to send [00:27:22]OFD Sender: No OFD packet to send [00:27:27]OFD Sender: No OFD packet to send [00:27:32]OFD Sender: No OFD packet to send [00:27:37]OFD Sender: No OFD packet to send [00:27:42]OFD Sender: No OFD packet to send [00:27:47]OFD Sender: No OFD packet to send [00:27:52]OFD Sender: No OFD packet to send [00:27:57]OFD Sender: No OFD packet to send [00:28:02]OFD Sender: No OFD packet to send [00:28:07]OFD Sender: No OFD packet to send [00:28:12]OFD Sender: No OFD packet to send [00:28:17]OFD Sender: No OFD packet to send [00:28:22]OFD Sender: No OFD packet to send [00:28:27]OFD Sender: No OFD packet to send [00:28:32]OFD Sender: No OFD packet to send [00:28:37]OFD Sender: No OFD packet to send [00:28:42]OFD Sender: No OFD packet to send [00:28:47]OFD Sender: No OFD packet to send [00:28:52]OFD Sender: No OFD packet to send [00:28:57]OFD Sender: No OFD packet to send [00:29:02]OFD Sender: No OFD packet to send [00:29:07]OFD Sender: No OFD packet to send [00:29:12]OFD Sender: No OFD packet to send [00:29:17]OFD Sender: No OFD packet to send [00:29:22]OFD Sender: No OFD packet to send [00:29:27]OFD Sender: No OFD packet to send [00:29:32]OFD Sender: No OFD packet to send [00:29:37]OFD Sender: No OFD packet to send [00:29:42]OFD Sender: No OFD packet to send [00:29:47]OFD Sender: No OFD packet to send [00:29:52]OFD Sender: No OFD packet to send [00:29:57]OFD Sender: No OFD packet to send [00:30:02]OFD Sender: No OFD packet to send [00:30:07]OFD Sender: No OFD packet to send [00:30:12]OFD Sender: No OFD packet to send [00:30:17]OFD Sender: No OFD packet to send [00:30:22]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:22]OFD Sender: No OFD packet to send [00:35:27]OFD Sender: No OFD packet to send [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]OFD Sender: No OFD packet to send [00:36:17]OFD Sender: No OFD packet to send [00:36:22]OFD Sender: No OFD packet to send [00:36:27]OFD Sender: No OFD packet to send [00:36:32]OFD Sender: No OFD packet to send [00:36:37]OFD Sender: No OFD packet to send [00:36:42]OFD Sender: No OFD packet to send [00:36:47]OFD Sender: No OFD packet to send [00:36:52]OFD Sender: No OFD packet to send [00:36:57]OFD Sender: No OFD packet to send [00:37:02]OFD Sender: No OFD packet to send [00:37:07]OFD Sender: No OFD packet to send [00:37:12]OFD Sender: No OFD packet to send [00:37:17]OFD Sender: No OFD packet to send [00:37:22]OFD Sender: No OFD packet to send [00:37:27]OFD Sender: No OFD packet to send [00:37:32]OFD Sender: No OFD packet to send [00:37:37]OFD Sender: No OFD packet to send [00:37:42]OFD Sender: No OFD packet to send [00:37:47]OFD Sender: No OFD packet to send [00:37:52]OFD Sender: No OFD packet to send [00:37:57]OFD Sender: No OFD packet to send [00:38:02]OFD Sender: No OFD packet to send [00:38:07]OFD Sender: No OFD packet to send [00:38:12]OFD Sender: No OFD packet to send [00:38:17]OFD Sender: No OFD packet to send [00:38:22]OFD Sender: No OFD packet to send [00:38:27]OFD Sender: No OFD packet to send [00:38:32]OFD Sender: No OFD packet to send [00:38:37]OFD Sender: No OFD packet to send [00:38:42]OFD Sender: No OFD packet to send [00:38:47]OFD Sender: No OFD packet to send [00:38:52]OFD Sender: No OFD packet to send [00:38:57]OFD Sender: No OFD packet to send [00:39:02]OFD Sender: No OFD packet to send [00:39:07]OFD Sender: No OFD packet to send [00:39:12]OFD Sender: No OFD packet to send [00:39:17]OFD Sender: No OFD packet to send [00:39:22]OFD Sender: No OFD packet to send [00:39:27]OFD Sender: No OFD packet to send [00:39:32]OFD Sender: No OFD packet to send [00:39:37]OFD Sender: No OFD packet to send [00:39:42]OFD Sender: No OFD packet to send [00:39:47]OFD Sender: No OFD packet to send [00:39:52]OFD Sender: No OFD packet to send [00:39:57]OFD Sender: No OFD packet to send [00:40:02]OFD Sender: No OFD packet to send [00:40:07]OFD Sender: No OFD packet to send [00:40:12]OFD Sender: No OFD packet to send [00:40:17]OFD Sender: No OFD packet to send [00:40:22]OFD Sender: No OFD packet to send [00:40:27]OFD Sender: No OFD packet to send [00:40:32]OFD Sender: No OFD packet to send [00:40:37]OFD Sender: No OFD packet to send [00:40:42]OFD Sender: No OFD packet to send [00:40:47]OFD Sender: No OFD packet to send [00:40:52]OFD Sender: No OFD packet to send [00:40:57]OFD Sender: No OFD packet to send [00:41:02]OFD Sender: No OFD packet to send [00:41:07]OFD Sender: No OFD packet to send [00:41:12]OFD Sender: No OFD packet to send [00:41:17]OFD Sender: No OFD packet to send [00:41:22]OFD Sender: No OFD packet to send [00:41:27]OFD Sender: No OFD packet to send [00:41:32]OFD Sender: No OFD packet to send [00:41:37]OFD Sender: No OFD packet to send [00:41:42]OFD Sender: No OFD packet to send [00:41:47]OFD Sender: No OFD packet to send [00:41:52]OFD Sender: No OFD packet to send [00:41:57]OFD Sender: No OFD packet to send [00:42:02]OFD Sender: No OFD packet to send [00:42:07]OFD Sender: No OFD packet to send [00:42:12]OFD Sender: No OFD packet to send [00:42:17]OFD Sender: No OFD packet to send [00:42:22]OFD Sender: No OFD packet to send [00:42:27]OFD Sender: No OFD packet to send [00:42:32]OFD Sender: No OFD packet to send [00:42:37]OFD Sender: No OFD packet to send [00:42:42]OFD Sender: No OFD packet to send [00:42:47]OFD Sender: No OFD packet to send [00:42:52]OFD Sender: No OFD packet to send [00:42:57]OFD Sender: No OFD packet to send [00:43:02]OFD Sender: No OFD packet to send [00:43:07]OFD Sender: No OFD packet to send [00:43:12]OFD Sender: No OFD packet to send [00:43:17]OFD Sender: No OFD packet to send [00:43:22]OFD Sender: No OFD packet to send [00:43:27]OFD Sender: No OFD packet to send [00:43:32]OFD Sender: No OFD packet to send [00:43:37]OFD Sender: No OFD packet to send [00:43:42]OFD Sender: No OFD packet to send [00:43:48]OFD Sender: No OFD packet to send [00:43:53]OFD Sender: No OFD packet to send [00:43:58]OFD Sender: No OFD packet to send [00:44:03]OFD Sender: No OFD packet to send [00:44:08]OFD Sender: No OFD packet to send [00:44:13]OFD Sender: No OFD packet to send [00:44:18]OFD Sender: No OFD packet to send [00:44:23]OFD Sender: No OFD packet to send [00:44:28]OFD Sender: No OFD packet to send [00:44:33]OFD Sender: No OFD packet to send [00:44:38]OFD Sender: No OFD packet to send [00:44:43]OFD Sender: No OFD packet to send [00:44:48]OFD Sender: No OFD packet to send [00:44:53]OFD Sender: No OFD packet to send [00:44:58]OFD Sender: No OFD packet to send [00:45:03]OFD Sender: No OFD packet to send [00:45:08]OFD Sender: No OFD packet to send [00:45:13]OFD Sender: No OFD packet to send [00:45:18]OFD Sender: No OFD packet to send [00:45:23]OFD Sender: No OFD packet to send [00:45:28]OFD Sender: No OFD packet to send [00:45:33]OFD Sender: No OFD packet to send [00:45:38]OFD Sender: No OFD packet to send [00:45:43]OFD Sender: No OFD packet to send [00:45:48]OFD Sender: No OFD packet to send [00:45:53]OFD Sender: No OFD packet to send [00:45:58]OFD Sender: No OFD packet to send [00:45:58]accept exits with 7 [00:45:58]New connection [00:45:58]New thread 3067186532 created [00:45:58]Thread 3067043172 joined [00:45:58]Waiting for new connection... [00:45:58] Sock 7.Parse request [00:45:58]Sock 7.Check first char [00:45:58]Sock 7.First char is OK [00:45:58]request: POST /json_proto HTTP/1.0 [00:45:58]Method: POST [00:45:58]URL: /json_proto [00:45:58]Method is POST - this is cgi request [00:45:58]url: /json_proto [00:45:58]query_string will be loaded in cgi processing [00:45:58]execute_cgi json_proto POST (null) [00:45:58]execute_cgi path=json_proto method=POST [00:45:58]POST find Content-Length [00:45:58]Host: 172.17.40.196:8080 [00:45:58]Content-Length: 834 [00:45:58]Content-Type: application/json [00:45:58] [00:45:58]POST finish read [00:45:58]Found Content-Length = 834 [00:45:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35291", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.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" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:45:58]execute_script... [00:45:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35291", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.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" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:45:58]POST & json_proto [00:45:58]process_json_proto [00:45:58]json parsed OK: [00:45:58]protocol is kg_v1.0 [00:45:58]action value=close_receipt [00:45:58]process_action close_receipt [00:45:58]cmd_close_receipt [00:45:58]MH_GetDate [00:45:58]Write to MH i2c: F0 00 00 63 01 53 [00:45:58]Write i2c OK [00:45:58]MH_I2C_Read... [00:45:58]Read from MH i2c: F0 [00:45:58]MH_I2C_Read... [00:45:58]Read from MH i2c: F0 09 00 [00:45:58]MH_I2C_Read... [00:45:58]Read from MH i2c: F0 09 00 63 01 00 47 D3 22 67 5B 68 A1 66 C9 [00:45:58]GetLastDocTimeStamp 1730333148 [00:45:58]current date 1730335559 [00:45:58]FM_GetShiftState [00:45:58]SAM_PROTO_GetShiftState [00:45:58]wFMCommunicate request_size=4 [00:45:58]MH_SAM_APDU [00:45:58]CAPDU: 80 13 01 00 [00:45:58]Write to MH i2c: E2 08 00 64 01 80 13 01 00 00 00 00 00 E2 [00:45:58]Write i2c OK [00:45:58]MH_I2C_Read... [00:45:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:45:59]Read from MH i2c: E2 [00:45:59]MH_I2C_Read... [00:45:59]Read from MH i2c: E2 0E 00 [00:45:59]MH_I2C_Read... [00:45:59]Read from MH i2c: E2 0E 00 64 01 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 1C [00:45:59]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [00:45:59]wFMCommunicate OK [00:45:59]SAM_PROTO_GetShiftState done [00:45:59]FM_GetShiftState done [00:45:59]opened in 1730333148 [00:45:59]opened+sec_in_day 1730419548 [00:45:59]quantity*price = 12500 [00:45:59]sum+1 = 12501 [00:45:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 0.00 Безнал.: 125.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 1 31.10.2024 00:45 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000871841 ФД: 37993 ФПД: 14761146630146 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T004559&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37993&fm=14761146630146&tin=02508201610067®Number=0000000000091684&sum=12500 0 [00:46:00]StoreToDocumentArchive [00:46:00]shift 554 fd 37993 [00:46:00]save to /storage/0554/doc_00037993 [00:46:00]save last doc name /storage/0554/doc_00037993 to /storage/kkm_last_doc_name [00:46:00]save OK [00:46:00]Clear old archive folders... [00:46:00]ProcessDocumentItem done err = 0, tmpTLVsize=278 [00:46:00]tlvbuf is 0117EBE0 [00:46:00]SAM_PROTO_ClearQueue [00:46:00]wFMCommunicate request_size=4 [00:46:00]MH_SAM_APDU [00:46:00]CAPDU: 80 09 00 00 [00:46:00]Write to MH i2c: E2 08 00 71 01 80 09 00 00 00 00 00 00 E4 [00:46:00]Write i2c OK [00:46:00]MH_I2C_Read... [00:46:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:46:00]Read from MH i2c: E2 [00:46:00]MH_I2C_Read... [00:46:00]Read from MH i2c: E2 03 00 [00:46:00]MH_I2C_Read... [00:46:00]Read from MH i2c: E2 03 00 71 01 00 90 00 E6 [00:46:00]RAPDU: 90 00 [00:46:00]wFMCommunicate OK [00:46:00]SAM_PROTO_ClearQueue done [00:46:00]KKMCreateOFDPacket [00:46:00]OFDProtocolAddRootSTLVToBuf [00:46:00]FM_MakeSignedData [00:46:00]FM_MakeSignedData [00:46:00]SAM_PROTO_SignData [00:46:00]wFMCommunicate request_size=4 [00:46:00]MH_SAM_APDU [00:46:00]CAPDU: 80 0D 01 02 [00:46:00]Write to MH i2c: E2 08 00 72 01 80 0D 01 02 00 00 00 00 EC [00:46:00]Write i2c OK [00:46:00]MH_I2C_Read... [00:46:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:46:00]Read from MH i2c: E2 [00:46:00]MH_I2C_Read... [00:46:00]Read from MH i2c: E2 03 00 [00:46:00]MH_I2C_Read... [00:46:00]Read from MH i2c: E2 03 00 72 01 00 90 00 E7 [00:46:00]RAPDU: 90 00 [00:46:00]wFMCommunicate OK [00:46:00]wFMCommunicate request_size=255 [00:46:00]MH_SAM_APDU [00:46:00]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 47 D3 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 [00:46:00]Write to MH i2c: E2 02 01 73 01 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 47 D3 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 00 00 6B [00:46:00]Write i2c OK [00:46:00]MH_I2C_Read... [00:46:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:46:00]Read from MH i2c: E2 [00:46:00]MH_I2C_Read... [00:46:00]Read from MH i2c: E2 03 00 [00:46:00]MH_I2C_Read... [00:46:00]Read from MH i2c: E2 03 00 73 01 00 90 00 E8 [00:46:00]RAPDU: 90 00 [00:46:00]wFMCommunicate OK [00:46:00]wFMCommunicate request_size=37 [00:46:00]MH_SAM_APDU [00:46:00]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 69 94 00 00 35 04 06 00 0D 6C D8 E6 C0 02 [00:46:00]Write to MH i2c: E2 28 00 74 01 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 69 94 00 00 35 04 06 00 0D 6C D8 E6 C0 02 00 00 39 [00:46:00]Write i2c OK [00:46:00]MH_I2C_Read... [00:46:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:46:00]Read from MH i2c: E2 [00:46:00]MH_I2C_Read... [00:46:00]Read from MH i2c: E2 03 00 [00:46:00]MH_I2C_Read... [00:46:00]Read from MH i2c: E2 03 00 74 01 00 90 00 E9 [00:46:00]RAPDU: 90 00 [00:46:00]wFMCommunicate OK [00:46:00]wFMCommunicate request_size=4 [00:46:00]MH_SAM_APDU [00:46:00]CAPDU: 80 0D 03 02 [00:46:00]Write to MH i2c: E2 08 00 75 01 80 0D 03 02 00 00 00 00 F1 [00:46:00]Write i2c OK [00:46:00]MH_I2C_Read... [00:46:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:46:00]Read from MH i2c: E2 [00:46:00]MH_I2C_Read... [00:46:00]Read from MH i2c: E2 0B 00 [00:46:00]MH_I2C_Read... [00:46:00]Read from MH i2c: E2 0B 00 75 01 00 66 EB FE C4 91 7A 0B 96 90 00 B1 [00:46:00]RAPDU: 66 EB FE C4 91 7A 0B 96 90 00 [00:46:00]wFMCommunicate OK [00:46:00]SAM_PROTO_SignData done [00:46:00]FM_MakeSignedData done [00:46:00]CreateOFDProtocolMessage [00:46:00]wFMCommunicate request_size=4 [00:46:00]MH_SAM_APDU [00:46:00]CAPDU: 80 11 00 00 [00:46:00]Write to MH i2c: E2 08 00 76 01 80 11 00 00 00 00 00 00 F1 [00:46:00]Write i2c OK [00:46:00]MH_I2C_Read... [00:46:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:46:00]Read from MH i2c: E2 [00:46:00]MH_I2C_Read... [00:46:00]Read from MH i2c: E2 17 00 [00:46:00]MH_I2C_Read... [00:46:00]Read from MH i2c: E2 17 00 76 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 41 [00:46:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:46:00]wFMCommunicate OK [00:46:00]CreateOFDProtocolMessage done [00:46:00]OFDSenderStorePacket 37993 [00:46:00]StoreOFDPacket docnum=37993 [00:46:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2A 01 00 00 40 39 22 01 D2 5C 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 47 D3 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 69 94 00 00 35 04 06 00 0D 6C D8 E6 C0 02 66 EB FE C4 91 7A 0B 96 [00:46:00]CheckFolder [00:46:00]dirname=/storage/ofd_packets [00:46:00]CheckFolder done [00:46:00]ProducePacketName [00:46:00]name=ofd_packets/00037993 [00:46:00]NVStorageSaveData ofd_packets/00037993 [00:46:00]File name is /storage/ofd_packets/00037993 [00:46:00]Write 328 bytes [00:46:00]NVStorageSaveData done [00:46:00]OFDSenderStorePacket done [00:46:00]KKMCreateOFDPacket done [00:46:00]NVStorageSaveData kkm_last_timestamp [00:46:00]File name is /storage/kkm_last_timestamp [00:46:00]Write 4 bytes [00:46:00]NVStorageSaveData done [00:46:00]ExternCall_PrintAddStr [00:46:00]wPrintStart [00:46:00]Write to MH i2c: 01 00 00 77 01 78 [00:46:00]Write i2c OK [00:46:00]MH_I2C_Read... [00:46:00]Read from MH i2c: 01 [00:46:00]MH_I2C_Read... [00:46:00]Read from MH i2c: 01 07 00 [00:46:00]MH_I2C_Read... [00:46:00]Read from MH i2c: 01 07 00 77 01 00 00 00 00 00 FF 0F 8D [00:46:00]RasterBufferAndPrint [00:46:00]line Счет N : (3)35291 [00:46:00]line ИНН: 02508201610067 [00:46:00]line Контрольно-Кассовый Чек [00:46:00]line ПРОДАЖА [00:46:00]line Товар: 5449000054227 [00:46:00]line Напиток Кока-Кола 1л [00:46:00]line 1.000 * 125.00 [00:46:00]line = 125.00 [00:46:00]line НДС 12% НСП 1% [00:46:00]line > о реализуемом товаре [00:46:00]line ИТОГО: 125.00 [00:46:00]line НСП 1% : 1.11 [00:46:00]line НДС 12% : 13.27 [00:46:00]line Наличными: 0.00 [00:46:00]line Безнал.: 125.00 [00:46:00]line Место: АЗС № 126 "Партнер Нефть" [00:46:00]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [00:46:00]line СНО: Общий режим [00:46:00]line Чек 1 31.10.2024 00:45 [00:46:00]line Смена: 554 ФФД: 1.0 [00:46:00]line ЗНМ: 0300000092 [00:46:00]line РНМ: 0000000000091684 [00:46:00]line Версия ККМ: 001 [00:46:00]line Платежная система: Бакай Банк [00:46:00]line ФМ: 0000000000871841 [00:46:00]line ФД: 37993 [00:46:00]line ФПД: 14761146630146 [00:46:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T004559&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37993&fm=14761146630146&tin=02508201610067®Number=0000000000091684&sum=12500 [00:46:01]OFD Sender: Processing packet 37993 [packets to send 42, broken 41] [00:46:01]ProducePacketName [00:46:01]name=ofd_packets/00037993 [00:46:01]OFD Sender: To server: pG, [00:46:01]CommunicateWithHost lk.salyk.kg:30040 [00:46:01]ConnectInit lk.salyk.kg [00:46:01]line 0 [00:46:01]written 0, free lines is 4095 [00:46:01]Write to MH i2c: 01 00 00 A1 01 A2 [00:46:01]Write i2c OK [00:46:01]MH_I2C_Read... [00:46:01]Read from MH i2c: 01 [00:46:01]MH_I2C_Read... [00:46:01]Read from MH i2c: 01 07 00 [00:46:01]MH_I2C_Read... [00:46:01]Read from MH i2c: 01 07 00 A1 01 00 00 00 00 00 A3 0C 58 [00:46:01]RasterBufferAndPrint [00:46:01]line [00:46:01]line [00:46:01]line [00:46:01]line [00:46:01]line [00:46:01]written 0, free lines is 3241 [00:46:01]MH_Cut [00:46:01]Write to MH i2c: D1 01 00 A8 01 01 7B [00:46:01]Write i2c OK [00:46:01]MH_I2C_Read... [00:46:01]Read from MH i2c: D1 [00:46:01]MH_I2C_Read... [00:46:01]Read from MH i2c: D1 01 00 [00:46:01]MH_I2C_Read... [00:46:01]Read from MH i2c: D1 01 00 A8 01 00 7A [00:46:01]Write to MH i2c: 01 00 00 A9 01 AA [00:46:01]Write i2c OK [00:46:01]MH_I2C_Read... [00:46:02]*** Cut start [00:46:02]*** Partial cut [00:46:02]*** CUTSNS_PIN = 1 [00:46:02]*** CUTSNS_PIN = 0 [00:46:02]*** Brake cut motor [00:46:02]Read from MH i2c: 01 [00:46:03]MH_I2C_Read... [00:46:03]*** Stop cut motor [00:46:03]*** Cut end [00:46:03]Read from MH i2c: 01 07 00 [00:46:03]MH_I2C_Read... [00:46:03]Read from MH i2c: 01 07 00 A9 01 00 00 00 00 00 FF 0F BF [00:46:03]process_action close_receipt done [00:46:03]requested_data is exist [00:46:03]produce_requested_data [00:46:03]requested_item fm.sn is exist - process it [00:46:03]wFMCommunicate request_size=4 [00:46:03]MH_SAM_APDU [00:46:03]CAPDU: 80 11 00 00 [00:46:03]Write to MH i2c: E2 08 00 AA 01 80 11 00 00 00 00 00 00 25 [00:46:03]Write i2c OK [00:46:03]MH_I2C_Read... [00:46:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:46:03]Read from MH i2c: E2 [00:46:03]MH_I2C_Read... [00:46:03]Read from MH i2c: E2 17 00 [00:46:03]MH_I2C_Read... [00:46:03]Read from MH i2c: E2 17 00 AA 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 75 [00:46:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:46:03]wFMCommunicate OK [00:46:03]requested_item fd.num is exist - process it [00:46:03]SAM_PROTO_GetFieldsCounters [00:46:03]wFMCommunicate request_size=4 [00:46:03]MH_SAM_APDU [00:46:03]CAPDU: 80 13 00 00 [00:46:03]Write to MH i2c: E2 08 00 AB 01 80 13 00 00 00 00 00 00 28 [00:46:03]Write i2c OK [00:46:03]MH_I2C_Read... [00:46:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:46:03]Read from MH i2c: E2 [00:46:03]MH_I2C_Read... [00:46:03]Read from MH i2c: E2 62 00 [00:46:03]MH_I2C_Read... [00:46:03]Read from MH i2c: E2 62 00 AB 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 69 94 00 00 0E 04 04 00 2A 02 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 75 [00:46:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 69 94 00 00 0E 04 04 00 2A 02 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:46:03]wFMCommunicate OK [00:46:03]SAM_PROTO_GetFieldsCounters done [00:46:03]requested_item shift.num is exist - process it [00:46:03]requested_item shift.opened is exist - process it [00:46:03]req_shift_opened [00:46:03]FM_GetShiftState [00:46:03]SAM_PROTO_GetShiftState [00:46:03]wFMCommunicate request_size=4 [00:46:03]MH_SAM_APDU [00:46:03]CAPDU: 80 13 01 00 [00:46:03]Write to MH i2c: E2 08 00 AC 01 80 13 01 00 00 00 00 00 2A [00:46:03]Write i2c OK [00:46:03]MH_I2C_Read... [00:46:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:46:03]Read from MH i2c: E2 [00:46:03]MH_I2C_Read... [00:46:03]Read from MH i2c: E2 0E 00 [00:46:03]MH_I2C_Read... [00:46:03]Read from MH i2c: E2 0E 00 AC 01 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 64 [00:46:03]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [00:46:03]wFMCommunicate OK [00:46:03]SAM_PROTO_GetShiftState done [00:46:03]FM_GetShiftState done [00:46:03]req_shift_opened done [00:46:03]requested_item shift.open_date is exist - process it [00:46:03]req_shift_open_date [00:46:03]req_shift_open_date done [00:46:03]produce_requested_data done [00:46:03]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37993,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [00:46:03]process_action_free close_receipt [00:46:03]json_value_free [00:46:03]json_value_free done [00:46:03]process_json_proto returns [00:46:03]Send response to host [00:46:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37993,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [00:46:03]free response buf [00:46:03]execute_script done [00:46:03]execute_script returns [00:46:03]free content buf [00:46:03]Sock 7.Close socket [00:46:03]Sock 7.Thread stoped [00:46:03]Connected sock=11 [00:46:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2A 01 00 00 40 39 22 01 D2 5C 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 47 D3 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 69 94 00 00 35 04 06 00 0D 6C D8 E6 C0 02 66 EB FE C4 91 7A 0B 96 [00:46:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 48 C6 47 00 31 79 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 69 94 00 00 F4 03 04 00 37 7E 22 67 B6 04 01 00 00 BE D8 B6 3A F7 90 89 81 [00:46:04]CommunicateWithHost err = 0 [00:46:04]CheckOFDResponse [00:46:04]1017 (14) - 77093643461234 [00:46:04]1041 (16) - 0000000000871841 [00:46:04]1040 (4) - 37993 [00:46:04]1012 (4) - 30.10.2024 18:43 [00:46:04]1206 (1) - 0 [00:46:04]OFD Sender: Remove packet 37993 [00:46:04]ProducePacketName [00:46:04]name=ofd_packets/00037993 [00:46:04]NVStorageDeleteData [00:46:04]OFD Sender: No OFD packet to send [00:46:09]OFD Sender: No OFD packet to send [00:46:14]OFD Sender: No OFD packet to send [00:46:19]OFD Sender: No OFD packet to send [00:46:24]OFD Sender: No OFD packet to send [00:46:29]OFD Sender: No OFD packet to send [00:46:34]OFD Sender: No OFD packet to send [00:46:39]OFD Sender: No OFD packet to send [00:46:44]OFD Sender: No OFD packet to send [00:46:49]OFD Sender: No OFD packet to send [00:46:54]OFD Sender: No OFD packet to send [00:46:59]OFD Sender: No OFD packet to send [00:47:04]OFD Sender: No OFD packet to send [00:47:09]OFD Sender: No OFD packet to send [00:47:14]OFD Sender: No OFD packet to send [00:47:19]OFD Sender: No OFD packet to send [00:47:24]OFD Sender: No OFD packet to send [00:47:29]OFD Sender: No OFD packet to send [00:47:34]OFD Sender: No OFD packet to send [00:47:39]OFD Sender: No OFD packet to send [00:47:44]OFD Sender: No OFD packet to send [00:47:49]OFD Sender: No OFD packet to send [00:47:54]OFD Sender: No OFD packet to send [00:47:59]OFD Sender: No OFD packet to send [00:48:04]OFD Sender: No OFD packet to send [00:48:09]OFD Sender: No OFD packet to send [00:48:14]OFD Sender: No OFD packet to send [00:48:19]OFD Sender: No OFD packet to send [00:48:24]OFD Sender: No OFD packet to send [00:48:29]OFD Sender: No OFD packet to send [00:48:34]OFD Sender: No OFD packet to send [00:48:39]OFD Sender: No OFD packet to send [00:48:44]OFD Sender: No OFD packet to send [00:48:49]OFD Sender: No OFD packet to send [00:48:54]OFD Sender: No OFD packet to send [00:48:59]OFD Sender: No OFD packet to send [00:49:04]OFD Sender: No OFD packet to send [00:49:09]OFD Sender: No OFD packet to send [00:49:14]OFD Sender: No OFD packet to send [00:49:19]OFD Sender: No OFD packet to send [00:49:24]OFD Sender: No OFD packet to send [00:49:29]OFD Sender: No OFD packet to send [00:49:34]OFD Sender: No OFD packet to send [00:49:39]OFD Sender: No OFD packet to send [00:49:44]OFD Sender: No OFD packet to send [00:49:49]OFD Sender: No OFD packet to send [00:49:54]OFD Sender: No OFD packet to send [00:49:59]OFD Sender: No OFD packet to send [00:50:04]OFD Sender: No OFD packet to send [00:50:09]OFD Sender: No OFD packet to send [00:50:14]OFD Sender: No OFD packet to send [00:50:19]OFD Sender: No OFD packet to send [00:50:24]OFD Sender: No OFD packet to send [00:50:29]OFD Sender: No OFD packet to send [00:50:34]OFD Sender: No OFD packet to send [00:50:39]OFD Sender: No OFD packet to send [00:50:44]OFD Sender: No OFD packet to send [00:50:49]OFD Sender: No OFD packet to send [00:50:54]OFD Sender: No OFD packet to send [00:50:59]OFD Sender: No OFD packet to send [00:51:04]OFD Sender: No OFD packet to send [00:51:09]OFD Sender: No OFD packet to send [00:51:14]OFD Sender: No OFD packet to send [00:51:19]OFD Sender: No OFD packet to send [00:51:24]OFD Sender: No OFD packet to send [00:51:29]OFD Sender: No OFD packet to send [00:51:34]OFD Sender: No OFD packet to send [00:51:39]OFD Sender: No OFD packet to send [00:51:44]OFD Sender: No OFD packet to send [00:51:49]OFD Sender: No OFD packet to send [00:51:54]OFD Sender: No OFD packet to send [00:51:59]OFD Sender: No OFD packet to send [00:52:04]OFD Sender: No OFD packet to send [00:52:09]OFD Sender: No OFD packet to send [00:52:14]OFD Sender: No OFD packet to send [00:52:19]OFD Sender: No OFD packet to send [00:52:24]OFD Sender: No OFD packet to send [00:52:29]OFD Sender: No OFD packet to send [00:52:34]OFD Sender: No OFD packet to send [00:52:39]OFD Sender: No OFD packet to send [00:52:44]OFD Sender: No OFD packet to send [00:52:49]OFD Sender: No OFD packet to send [00:52:54]OFD Sender: No OFD packet to send [00:52:59]OFD Sender: No OFD packet to send [00:53:04]OFD Sender: No OFD packet to send [00:53:09]OFD Sender: No OFD packet to send [00:53:14]OFD Sender: No OFD packet to send [00:53:19]OFD Sender: No OFD packet to send [00:53:24]OFD Sender: No OFD packet to send [00:53:29]OFD Sender: No OFD packet to send [00:53:34]OFD Sender: No OFD packet to send [00:53:39]OFD Sender: No OFD packet to send [00:53:44]OFD Sender: No OFD packet to send [00:53:49]OFD Sender: No OFD packet to send [00:53:54]OFD Sender: No OFD packet to send [00:53:59]OFD Sender: No OFD packet to send [00:54:04]OFD Sender: No OFD packet to send [00:54:09]OFD Sender: No OFD packet to send [00:54:14]OFD Sender: No OFD packet to send [00:54:19]OFD Sender: No OFD packet to send [00:54:24]OFD Sender: No OFD packet to send [00:54:29]OFD Sender: No OFD packet to send [00:54: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:40]OFD Sender: No OFD packet to send [00:59:45]OFD Sender: No OFD packet to send [00:59:50]OFD Sender: No OFD packet to send [00:59:55]OFD Sender: No OFD packet to send [01:00:00]OFD Sender: No OFD packet to send [01:00:05]OFD Sender: No OFD packet to send [01:00:10]OFD Sender: No OFD packet to send [01:00:15]OFD Sender: No OFD packet to send [01:00:20]OFD Sender: No OFD packet to send [01:00:25]OFD Sender: No OFD packet to send [01:00:30]OFD Sender: No OFD packet to send [01:00:35]OFD Sender: No OFD packet to send [01:00:40]OFD Sender: No OFD packet to send [01:00:45]OFD Sender: No OFD packet to send [01:00:50]OFD Sender: No OFD packet to send [01:00:55]OFD Sender: No OFD packet to send [01:01:00]OFD Sender: No OFD packet to send [01:01:05]OFD Sender: No OFD packet to send [01:01:10]OFD Sender: No OFD packet to send [01:01:15]OFD Sender: No OFD packet to send [01:01:20]OFD Sender: No OFD packet to send [01:01:25]OFD Sender: No OFD packet to send [01:01:30]OFD Sender: No OFD packet to send [01:01:35]OFD Sender: No OFD packet to send [01:01:40]OFD Sender: No OFD packet to send [01:01:45]OFD Sender: No OFD packet to send [01:01:50]OFD Sender: No OFD packet to send [01:01:55]OFD Sender: No OFD packet to send [01:02:00]OFD Sender: No OFD packet to send [01:02:05]OFD Sender: No OFD packet to send [01:02:10]OFD Sender: No OFD packet to send [01:02:15]OFD Sender: No OFD packet to send [01:02:20]OFD Sender: No OFD packet to send [01:02:25]OFD Sender: No OFD packet to send [01:02:30]OFD Sender: No OFD packet to send [01:02:35]OFD Sender: No OFD packet to send [01:02:40]OFD Sender: No OFD packet to send [01:02:45]OFD Sender: No OFD packet to send [01:02:50]OFD Sender: No OFD packet to send [01:02:55]OFD Sender: No OFD packet to send [01:03:00]OFD Sender: No OFD packet to send [01:03:05]OFD Sender: No OFD packet to send [01:03:10]OFD Sender: No OFD packet to send [01:03:15]OFD Sender: No OFD packet to send [01:03:20]OFD Sender: No OFD packet to send [01:03:25]OFD Sender: No OFD packet to send [01:03:30]OFD Sender: No OFD packet to send [01:03:35]OFD Sender: No OFD packet to send [01:03:40]OFD Sender: No OFD packet to send [01:03:45]OFD Sender: No OFD packet to send [01:03:50]OFD Sender: No OFD packet to send [01:03:55]OFD Sender: No OFD packet to send [01:04:00]OFD Sender: No OFD packet to send [01:04:05]OFD Sender: No OFD packet to send [01:04:10]OFD Sender: No OFD packet to send [01:04:15]OFD Sender: No OFD packet to send [01:04:20]OFD Sender: No OFD packet to send [01:04:25]OFD Sender: No OFD packet to send [01:04:30]OFD Sender: No OFD packet to send [01:04:35]OFD Sender: No OFD packet to send [01:04:40]OFD Sender: No OFD packet to send [01:04:45]OFD Sender: No OFD packet to send [01:04:50]OFD Sender: No OFD packet to send [01:04:55]OFD Sender: No OFD packet to send [01:05:00]OFD Sender: No OFD packet to send [01:05:05]OFD Sender: No OFD packet to send [01:05:10]OFD Sender: No OFD packet to send [01:05:15]OFD Sender: No OFD packet to send [01:05:20]OFD Sender: No OFD packet to send [01:05:25]OFD Sender: No OFD packet to send [01:05:30]OFD Sender: No OFD packet to send [01:05:35]OFD Sender: No OFD packet to send [01:05:40]OFD Sender: No OFD packet to send [01:05:45]OFD Sender: No OFD packet to send [01:05:50]OFD Sender: No OFD packet to send [01:05:55]OFD Sender: No OFD packet to send [01:06:00]OFD Sender: No OFD packet to send [01:06:05]OFD Sender: No OFD packet to send [01:06:10]OFD Sender: No OFD packet to send [01:06:15]OFD Sender: No OFD packet to send [01:06:20]OFD Sender: No OFD packet to send [01:06:25]OFD Sender: No OFD packet to send [01:06:30]OFD Sender: No OFD packet to send [01:06:35]OFD Sender: No OFD packet to send [01:06:40]OFD Sender: No OFD packet to send [01:06:45]OFD Sender: No OFD packet to send [01:06:50]OFD Sender: No OFD packet to send [01:06:55]OFD Sender: No OFD packet to send [01:07:00]OFD Sender: No OFD packet to send [01:07:05]OFD Sender: No OFD packet to send [01:07:10]OFD Sender: No OFD packet to send [01:07:15]OFD Sender: No OFD packet to send [01:07:20]OFD Sender: No OFD packet to send [01:07:25]OFD Sender: No OFD packet to send [01:07:30]OFD Sender: No OFD packet to send [01:07:35]OFD Sender: No OFD packet to send [01:07:40]OFD Sender: No OFD packet to send [01:07:45]OFD Sender: No OFD packet to send [01:07:50]OFD Sender: No OFD packet to send [01:07:55]OFD Sender: No OFD packet to send [01:08:00]OFD Sender: No OFD packet to send [01:08:05]OFD Sender: No OFD packet to send [01:08:10]OFD Sender: No OFD packet to send [01:08:15]OFD Sender: No OFD packet to send [01:08:20]OFD Sender: No OFD packet to send [01:08:25]OFD Sender: No OFD packet to send [01:08:30]OFD Sender: No OFD packet to send [01:08:35]OFD Sender: No OFD packet to send [01:08:40]OFD Sender: No OFD packet to send [01:08:45]OFD Sender: No OFD packet to send [01:08:50]OFD Sender: No OFD packet to send [01:09:00]OFD Sender: No OFD packet to send [01:09:05]OFD Sender: No OFD packet to send [01:09:10]OFD Sender: No OFD packet to send [01:09:15]OFD Sender: No OFD packet to send [01:09:20]OFD Sender: No OFD packet to send [01:09:25]OFD Sender: No OFD packet to send [01:09:30]OFD Sender: No OFD packet to send [01:09:35]OFD Sender: No OFD packet to send [01:09:40]OFD Sender: No OFD packet to send [01:09:45]OFD Sender: No OFD packet to send [01:09:50]OFD Sender: No OFD packet to send [01:09:55]OFD Sender: No OFD packet to send [01:10:00]OFD Sender: No OFD packet to send [01:10:05]OFD Sender: No OFD packet to send [01:10:10]OFD Sender: No OFD packet to send [01:10:15]OFD Sender: No OFD packet to send [01:10:20]OFD Sender: No OFD packet to send [01:10:25]OFD Sender: No OFD packet to send [01:10:30]OFD Sender: No OFD packet to send [01:10:35]OFD Sender: No OFD packet to send [01:10:40]OFD Sender: No OFD packet to send [01:10:45]OFD Sender: No OFD packet to send [01:10:50]OFD Sender: No OFD packet to send [01:10:55]OFD Sender: No OFD packet to send [01:11:00]OFD Sender: No OFD packet to send [01:11:05]OFD Sender: No OFD packet to send [01:11:10]OFD Sender: No OFD packet to send [01:11:11]ConnectInit Can't connect to host [01:11:15]OFD Sender: No OFD packet to send [01:11:20]OFD Sender: No OFD packet to send [01:11:25]OFD Sender: No OFD packet to send [01:11:30]OFD Sender: No OFD packet to send [01:11:35]OFD Sender: No OFD packet to send [01:11:40]OFD Sender: No OFD packet to send [01:11:45]OFD Sender: No OFD packet to send [01:11:50]OFD Sender: No OFD packet to send [01:11:55]OFD Sender: No OFD packet to send [01:12:00]OFD Sender: No OFD packet to send [01:12:05]OFD Sender: No OFD packet to send [01:12:10]OFD Sender: No OFD packet to send [01:12:15]OFD Sender: No OFD packet to send [01:12:20]OFD Sender: No OFD packet to send [01:12:25]OFD Sender: No OFD packet to send [01:12:30]OFD Sender: No OFD packet to send [01:12:35]OFD Sender: No OFD packet to send [01:12:40]OFD Sender: No OFD packet to send [01:12:45]OFD Sender: No OFD packet to send [01:12:50]OFD Sender: No OFD packet to send [01:12:55]OFD Sender: No OFD packet to send [01:13:00]OFD Sender: No OFD packet to send [01:13:05]OFD Sender: No OFD packet to send [01:13:10]OFD Sender: No OFD packet to send [01:13:15]OFD Sender: No OFD packet to send [01:13:20]OFD Sender: No OFD packet to send [01:13: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]accept exits with 9 [01:14:41]New connection [01:14:41]New thread 3067043172 created [01:14:41]Thread 3067186532 joined [01:14:41]Waiting for new connection... [01:14:41] Sock 9.Parse request [01:14:41]Sock 9.Check first char [01:14:41]Sock 9.First char is OK [01:14:41]request: POST /json_proto HTTP/1.0 [01:14:41]Method: POST [01:14:41]URL: /json_proto [01:14:41]Method is POST - this is cgi request [01:14:41]url: /json_proto [01:14:41]query_string will be loaded in cgi processing [01:14:41]execute_cgi json_proto POST (null) [01:14:41]execute_cgi path=json_proto method=POST [01:14:41]POST find Content-Length [01:14:41]Host: 172.17.40.196:8080 [01:14:41]Content-Length: 656 [01:14:41]Content-Type: application/json [01:14:41] [01:14:41]POST finish read [01:14:41]Found Content-Length = 656 [01:14:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35292", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 2.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:14:41]execute_script... [01:14: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)35292", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 2.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:14:41]POST & json_proto [01:14:41]process_json_proto [01:14:41]json parsed OK: [01:14:41]protocol is kg_v1.0 [01:14:41]action value=close_receipt [01:14:41]process_action close_receipt [01:14:41]cmd_close_receipt [01:14:41]MH_GetDate [01:14:41]Write to MH i2c: F0 00 00 AD 01 9D [01:14:41]Write i2c OK [01:14:41]MH_I2C_Read... [01:14:41]Read from MH i2c: F0 [01:14:41]MH_I2C_Read... [01:14:41]Read from MH i2c: F0 09 00 [01:14:41]MH_I2C_Read... [01:14:41]Read from MH i2c: F0 09 00 AD 01 00 02 DA 22 67 5B 68 A1 66 D5 [01:14:41]GetLastDocTimeStamp 1730335559 [01:14:41]current date 1730337282 [01:14:41]FM_GetShiftState [01:14:41]SAM_PROTO_GetShiftState [01:14:41]wFMCommunicate request_size=4 [01:14:41]MH_SAM_APDU [01:14:41]CAPDU: 80 13 01 00 [01:14:41]Write to MH i2c: E2 08 00 AE 01 80 13 01 00 00 00 00 00 2C [01:14:41]Write i2c OK [01:14:41]MH_I2C_Read... [01:14:41]OFD Sender: No OFD packet to send [01:14:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:14:41]Read from MH i2c: E2 [01:14:41]MH_I2C_Read... [01:14:41]Read from MH i2c: E2 0E 00 [01:14:41]MH_I2C_Read... [01:14:41]Read from MH i2c: E2 0E 00 AE 01 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 66 [01:14:41]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [01:14:41]wFMCommunicate OK [01:14:41]SAM_PROTO_GetShiftState done [01:14:41]FM_GetShiftState done [01:14:41]opened in 1730333148 [01:14:41]opened+sec_in_day 1730419548 [01:14:41]quantity*price = 13800 [01:14:41]sum+1 = 13801 [01:14:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 2 31.10.2024 01:14 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37994 ФПД: 264629740505344 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T011442&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37994&fm=264629740505344&tin=02508201610067®Number=0000000000091684&sum=13800 0 [01:14:42]StoreToDocumentArchive [01:14:42]shift 554 fd 37994 [01:14:42]save to /storage/0554/doc_00037994 [01:14:42]save last doc name /storage/0554/doc_00037994 to /storage/kkm_last_doc_name [01:14:42]save OK [01:14:42]Clear old archive folders... [01:14:42]ProcessDocumentItem done err = 0, tmpTLVsize=294 [01:14:42]tlvbuf is 012E0AC0 [01:14:42]SAM_PROTO_ClearQueue [01:14:42]wFMCommunicate request_size=4 [01:14:42]MH_SAM_APDU [01:14:42]CAPDU: 80 09 00 00 [01:14:42]Write to MH i2c: E2 08 00 BB 01 80 09 00 00 00 00 00 00 2E [01:14:42]Write i2c OK [01:14:42]MH_I2C_Read... [01:14:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:14:42]Read from MH i2c: E2 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 BB 01 00 90 00 30 [01:14:42]RAPDU: 90 00 [01:14:42]wFMCommunicate OK [01:14:42]SAM_PROTO_ClearQueue done [01:14:42]KKMCreateOFDPacket [01:14:42]OFDProtocolAddRootSTLVToBuf [01:14:42]FM_MakeSignedData [01:14:42]FM_MakeSignedData [01:14:42]SAM_PROTO_SignData [01:14:42]wFMCommunicate request_size=4 [01:14:42]MH_SAM_APDU [01:14:42]CAPDU: 80 0D 01 02 [01:14:42]Write to MH i2c: E2 08 00 BC 01 80 0D 01 02 00 00 00 00 36 [01:14:42]Write i2c OK [01:14:42]MH_I2C_Read... [01:14:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:14:42]Read from MH i2c: E2 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 BC 01 00 90 00 31 [01:14:42]RAPDU: 90 00 [01:14:42]wFMCommunicate OK [01:14:42]wFMCommunicate request_size=255 [01:14:42]MH_SAM_APDU [01:14:42]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 02 DA 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [01:14:42]Write to MH i2c: E2 02 01 BD 01 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 02 DA 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 0D [01:14:42]Write i2c OK [01:14:42]MH_I2C_Read... [01:14:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:14:42]Read from MH i2c: E2 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 BD 01 00 90 00 32 [01:14:42]RAPDU: 90 00 [01:14:42]wFMCommunicate OK [01:14:42]wFMCommunicate request_size=53 [01:14:42]MH_SAM_APDU [01:14:42]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6A 94 00 00 35 04 06 00 F0 AD E9 AE 09 00 [01:14:42]Write to MH i2c: E2 38 00 BE 01 80 0D 02 02 30 00 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6A 94 00 00 35 04 06 00 F0 AD E9 AE 09 00 00 00 69 [01:14:42]Write i2c OK [01:14:42]MH_I2C_Read... [01:14:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:14:42]Read from MH i2c: E2 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 BE 01 00 90 00 33 [01:14:42]RAPDU: 90 00 [01:14:42]wFMCommunicate OK [01:14:42]wFMCommunicate request_size=4 [01:14:42]MH_SAM_APDU [01:14:42]CAPDU: 80 0D 03 02 [01:14:42]Write to MH i2c: E2 08 00 BF 01 80 0D 03 02 00 00 00 00 3B [01:14:42]Write i2c OK [01:14:42]MH_I2C_Read... [01:14:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:14:42]Read from MH i2c: E2 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 0B 00 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 0B 00 BF 01 00 2C 00 F5 60 F5 37 06 0B 90 00 FA [01:14:42]RAPDU: 2C 00 F5 60 F5 37 06 0B 90 00 [01:14:42]wFMCommunicate OK [01:14:42]SAM_PROTO_SignData done [01:14:42]FM_MakeSignedData done [01:14:42]CreateOFDProtocolMessage [01:14:42]wFMCommunicate request_size=4 [01:14:42]MH_SAM_APDU [01:14:42]CAPDU: 80 11 00 00 [01:14:42]Write to MH i2c: E2 08 00 C0 01 80 11 00 00 00 00 00 00 3B [01:14:42]Write i2c OK [01:14:42]MH_I2C_Read... [01:14:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:14:42]Read from MH i2c: E2 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 17 00 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 17 00 C0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8B [01:14:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:14:42]wFMCommunicate OK [01:14:42]CreateOFDProtocolMessage done [01:14:42]OFDSenderStorePacket 37994 [01:14:42]StoreOFDPacket docnum=37994 [01:14:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3A 01 00 00 1F 1F 32 01 19 4E 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 02 DA 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6A 94 00 00 35 04 06 00 F0 AD E9 AE 09 00 2C 00 F5 60 F5 37 06 0B [01:14:42]CheckFolder [01:14:42]dirname=/storage/ofd_packets [01:14:42]CheckFolder done [01:14:42]ProducePacketName [01:14:42]name=ofd_packets/00037994 [01:14:42]NVStorageSaveData ofd_packets/00037994 [01:14:42]File name is /storage/ofd_packets/00037994 [01:14:42]Write 344 bytes [01:14:42]NVStorageSaveData done [01:14:42]OFDSenderStorePacket done [01:14:42]KKMCreateOFDPacket done [01:14:42]NVStorageSaveData kkm_last_timestamp [01:14:42]File name is /storage/kkm_last_timestamp [01:14:42]Write 4 bytes [01:14:42]NVStorageSaveData done [01:14:42]ExternCall_PrintAddStr [01:14:42]wPrintStart [01:14:42]Write to MH i2c: 01 00 00 C1 01 C2 [01:14:42]Write i2c OK [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: 01 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: 01 07 00 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: 01 07 00 C1 01 00 00 00 00 00 FF 0F D7 [01:14:42]RasterBufferAndPrint [01:14:42]line Счет N : (3)35292 [01:14:42]line ИНН: 02508201610067 [01:14:42]line Контрольно-Кассовый Чек [01:14:42]line ПРОДАЖА [01:14:42]line Товар: 4600682557456 [01:14:42]line Напиток FLash up energy эн ж/б 0,5/0,45л [01:14:42]line 2.000 * 69.00 [01:14:42]line = 138.00 [01:14:42]line НДС 12% НСП 1% [01:14:42]line > о реализуемом товаре [01:14:42]line ИТОГО: 138.00 [01:14:42]line НСП 1% : 1.22 [01:14:42]line НДС 12% : 14.65 [01:14:42]line Наличными: 138.00 [01:14:42]line Безнал.: 0.00 [01:14:42]line Место: АЗС № 126 "Партнер Нефть" [01:14:42]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [01:14:42]line СНО: Общий режим [01:14:42]line Чек 2 31.10.2024 01:14 [01:14:42]line Смена: 554 ФФД: 1.0 [01:14:42]line ЗНМ: 0300000092 [01:14:42]line РНМ: 0000000000091684 [01:14:42]line Версия ККМ: 001 [01:14:42]line ФМ: 0000000000871841 [01:14:42]line ФД: 37994 [01:14:42]line ФПД: 264629740505344 [01:14:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T011442&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37994&fm=264629740505344&tin=02508201610067®Number=0000000000091684&sum=13800 [01:14:43]OFD Sender: Processing packet 37994 [packets to send 42, broken 41] [01:14:43]ProducePacketName [01:14:43]name=ofd_packets/00037994 [01:14:43]OFD Sender: To server: pG, [01:14:43]CommunicateWithHost lk.salyk.kg:30040 [01:14:43]ConnectInit lk.salyk.kg [01:14:43]line 0 [01:14:43]written 0, free lines is 4095 [01:14:43]Write to MH i2c: 01 00 00 EA 01 EB [01:14:43]Write i2c OK [01:14:43]MH_I2C_Read... [01:14:43]Read from MH i2c: 01 [01:14:43]MH_I2C_Read... [01:14:43]Read from MH i2c: 01 07 00 [01:14:43]MH_I2C_Read... [01:14:43]Read from MH i2c: 01 07 00 EA 01 00 00 00 00 00 B8 0C B6 [01:14:43]RasterBufferAndPrint [01:14:43]line [01:14:43]line [01:14:43]line [01:14:43]line [01:14:43]line [01:14:43]written 0, free lines is 3260 [01:14:43]MH_Cut [01:14:43]Write to MH i2c: D1 01 00 F1 01 01 C4 [01:14:43]Write i2c OK [01:14:43]MH_I2C_Read... [01:14:43]Read from MH i2c: D1 [01:14:43]MH_I2C_Read... [01:14:43]Read from MH i2c: D1 01 00 [01:14:43]MH_I2C_Read... [01:14:43]Read from MH i2c: D1 01 00 F1 01 00 C3 [01:14:43]Write to MH i2c: 01 00 00 F2 01 F3 [01:14:43]Write i2c OK [01:14:43]MH_I2C_Read... [01:14:43]Connected sock=10 [01:14:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3A 01 00 00 1F 1F 32 01 19 4E 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 02 DA 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6A 94 00 00 35 04 06 00 F0 AD E9 AE 09 00 2C 00 F5 60 F5 37 06 0B [01:14:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 DC 7C 47 00 BA 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 38 37 31 38 34 31 10 04 04 00 6A 94 00 00 F4 03 04 00 EF 84 22 67 B6 04 01 00 00 DC 45 9B 03 EF 75 E8 90 [01:14:44]CommunicateWithHost err = 0 [01:14:44]CheckOFDResponse [01:14:44]1017 (14) - 77093643461234 [01:14:44]1041 (16) - 0000000000871841 [01:14:44]1040 (4) - 37994 [01:14:44]1012 (4) - 30.10.2024 19:11 [01:14:44]1206 (1) - 0 [01:14:44]OFD Sender: Remove packet 37994 [01:14:44]ProducePacketName [01:14:44]name=ofd_packets/00037994 [01:14:44]NVStorageDeleteData [01:14:44]*** Cut start [01:14:44]*** Partial cut [01:14:44]*** CUTSNS_PIN = 1 [01:14:44]*** CUTSNS_PIN = 0 [01:14:44]OFD Sender: No OFD packet to send [01:14:44]*** Brake cut motor [01:14:45]Read from MH i2c: 01 [01:14:45]MH_I2C_Read... [01:14:45]*** Stop cut motor [01:14:45]*** Cut end [01:14:45]Read from MH i2c: 01 07 00 [01:14:45]MH_I2C_Read... [01:14:45]Read from MH i2c: 01 07 00 F2 01 00 00 00 00 00 FF 0F 08 [01:14:45]process_action close_receipt done [01:14:45]requested_data is exist [01:14:45]produce_requested_data [01:14:45]requested_item fm.sn is exist - process it [01:14:45]wFMCommunicate request_size=4 [01:14:45]MH_SAM_APDU [01:14:45]CAPDU: 80 11 00 00 [01:14:45]Write to MH i2c: E2 08 00 F3 01 80 11 00 00 00 00 00 00 6E [01:14:45]Write i2c OK [01:14:45]MH_I2C_Read... [01:14:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:14:45]Read from MH i2c: E2 [01:14:45]MH_I2C_Read... [01:14:45]Read from MH i2c: E2 17 00 [01:14:45]MH_I2C_Read... [01:14:45]Read from MH i2c: E2 17 00 F3 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BE [01:14:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:14:45]wFMCommunicate OK [01:14:45]requested_item fd.num is exist - process it [01:14:45]SAM_PROTO_GetFieldsCounters [01:14:45]wFMCommunicate request_size=4 [01:14:45]MH_SAM_APDU [01:14:45]CAPDU: 80 13 00 00 [01:14:45]Write to MH i2c: E2 08 00 F4 01 80 13 00 00 00 00 00 00 71 [01:14:45]Write i2c OK [01:14:45]MH_I2C_Read... [01:14:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:14:45]Read from MH i2c: E2 [01:14:45]MH_I2C_Read... [01:14:45]Read from MH i2c: E2 62 00 [01:14:45]MH_I2C_Read... [01:14:45]Read from MH i2c: E2 62 00 F4 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 6A 94 00 00 0E 04 04 00 2A 02 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 C2 [01:14:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 6A 94 00 00 0E 04 04 00 2A 02 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:14:45]wFMCommunicate OK [01:14:45]SAM_PROTO_GetFieldsCounters done [01:14:45]requested_item shift.num is exist - process it [01:14:45]requested_item shift.opened is exist - process it [01:14:45]req_shift_opened [01:14:45]FM_GetShiftState [01:14:45]SAM_PROTO_GetShiftState [01:14:45]wFMCommunicate request_size=4 [01:14:45]MH_SAM_APDU [01:14:45]CAPDU: 80 13 01 00 [01:14:45]Write to MH i2c: E2 08 00 F5 01 80 13 01 00 00 00 00 00 73 [01:14:45]Write i2c OK [01:14:45]MH_I2C_Read... [01:14:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:14:45]Read from MH i2c: E2 [01:14:45]MH_I2C_Read... [01:14:45]Read from MH i2c: E2 0E 00 [01:14:45]MH_I2C_Read... [01:14:45]Read from MH i2c: E2 0E 00 F5 01 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 AD [01:14:45]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [01:14:45]wFMCommunicate OK [01:14:45]SAM_PROTO_GetShiftState done [01:14:45]FM_GetShiftState done [01:14:45]req_shift_opened done [01:14:45]requested_item shift.open_date is exist - process it [01:14:45]req_shift_open_date [01:14:45]req_shift_open_date done [01:14:45]produce_requested_data done [01:14:45]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37994,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [01:14:45]process_action_free close_receipt [01:14:45]json_value_free [01:14:45]json_value_free done [01:14:45]process_json_proto returns [01:14:45]Send response to host [01:14:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37994,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [01:14:45]free response buf [01:14:45]execute_script done [01:14:45]execute_script returns [01:14:45]free content buf [01:14:45]Sock 9.Close socket [01:14:45]Sock 9.Thread stoped [01:14:49]OFD Sender: No OFD packet to send [01:14:54]OFD Sender: No OFD packet to send [01:14:59]OFD Sender: No OFD packet to send [01:15:04]OFD Sender: No OFD packet to send [01:15:09]OFD Sender: No OFD packet to send [01:15:14]OFD Sender: No OFD packet to send [01:15:19]OFD Sender: No OFD packet to send [01:15:24]OFD Sender: No OFD packet to send [01:15:29]OFD Sender: No OFD packet to send [01:15:34]OFD Sender: No OFD packet to send [01:15:39]OFD Sender: No OFD packet to send [01:15:44]OFD Sender: No OFD packet to send [01:15:49]OFD Sender: No OFD packet to send [01:15:54]OFD Sender: No OFD packet to send [01:15:59]OFD Sender: No OFD packet to send [01:16:04]OFD Sender: No OFD packet to send [01:16:09]OFD Sender: No OFD packet to send [01:16:14]OFD Sender: No OFD packet to send [01:16:19]OFD Sender: No OFD packet to send [01:16:24]OFD Sender: No OFD packet to send [01:16:29]OFD Sender: No OFD packet to send [01:16:34]OFD Sender: No OFD packet to send [01:16:39]OFD Sender: No OFD packet to send [01:16:44]OFD Sender: No OFD packet to send [01:16:49]OFD Sender: No OFD packet to send [01:16:54]OFD Sender: No OFD packet to send [01:16:59]OFD Sender: No OFD packet to send [01:17:04]OFD Sender: No OFD packet to send [01:17:09]OFD Sender: No OFD packet to send [01:17:14]OFD Sender: No OFD packet to send [01:17:19]OFD Sender: No OFD packet to send [01:17:24]OFD Sender: No OFD packet to send [01:17:29]OFD Sender: No OFD packet to send [01:17:34]OFD Sender: No OFD packet to send [01:17:39]OFD Sender: No OFD packet to send [01:17:44]OFD Sender: No OFD packet to send [01:17:49]OFD Sender: No OFD packet to send [01:17:54]OFD Sender: No OFD packet to send [01:17:59]OFD Sender: No OFD packet to send [01:18:04]OFD Sender: No OFD packet to send [01:18:09]OFD Sender: No OFD packet to send [01:18:14]OFD Sender: No OFD packet to send [01:18:19]OFD Sender: No OFD packet to send [01:18:24]OFD Sender: No OFD packet to send [01:18:29]OFD Sender: No OFD packet to send [01:18:34]OFD Sender: No OFD packet to send [01:18:39]OFD Sender: No OFD packet to send [01:18:44]OFD Sender: No OFD packet to send [01:18:49]OFD Sender: No OFD packet to send [01:18:54]OFD Sender: No OFD packet to send [01:18:59]OFD Sender: No OFD packet to send [01:19:04]OFD Sender: No OFD packet to send [01:19:09]OFD Sender: No OFD packet to send [01:19:14]OFD Sender: No OFD packet to send [01:19:19]OFD Sender: No OFD packet to send [01:19:24]OFD Sender: No OFD packet to send [01:19:29]OFD Sender: No OFD packet to send [01:19:34]OFD Sender: No OFD packet to send [01:19:39]OFD Sender: No OFD packet to send [01:19:44]OFD Sender: No OFD packet to send [01:19:49]OFD Sender: No OFD packet to send [01:19:54]OFD Sender: No OFD packet to send [01:19:59]OFD Sender: No OFD packet to send [01:20:04]OFD Sender: No OFD packet to send [01:20:09]OFD Sender: No OFD packet to send [01:20:14]OFD Sender: No OFD packet to send [01:20:19]OFD Sender: No OFD packet to send [01:20:24]OFD Sender: No OFD packet to send [01:20:29]OFD Sender: No OFD packet to send [01:20:34]OFD Sender: No OFD packet to send [01:20:39]OFD Sender: No OFD packet to send [01:20:44]OFD Sender: No OFD packet to send [01:20:49]OFD Sender: No OFD packet to send [01:20:54]OFD Sender: No OFD packet to send [01:20:59]OFD Sender: No OFD packet to send [01:21:04]OFD Sender: No OFD packet to send [01:21:09]OFD Sender: No OFD packet to send [01:21:14]OFD Sender: No OFD packet to send [01:21:19]OFD Sender: No OFD packet to send [01:21:24]OFD Sender: No OFD packet to send [01:21:29]OFD Sender: No OFD packet to send [01:21:34]OFD Sender: No OFD packet to send [01:21:40]OFD Sender: No OFD packet to send [01:21:45]OFD Sender: No OFD packet to send [01:21:50]OFD Sender: No OFD packet to send [01:21:55]OFD Sender: No OFD packet to send [01:22:00]OFD Sender: No OFD packet to send [01:22:05]OFD Sender: No OFD packet to send [01:22:10]OFD Sender: No OFD packet to send [01:22:15]OFD Sender: No OFD packet to send [01:22:20]OFD Sender: No OFD packet to send [01:22:25]OFD Sender: No OFD packet to send [01:22:30]OFD Sender: No OFD packet to send [01:22:35]OFD Sender: No OFD packet to send [01:22:40]OFD Sender: No OFD packet to send [01:22:45]OFD Sender: No OFD packet to send [01:22:50]OFD Sender: No OFD packet to send [01:22:55]OFD Sender: No OFD packet to send [01:23:00]OFD Sender: No OFD packet to send [01:23:05]OFD Sender: No OFD packet to send [01:23:10]OFD Sender: No OFD packet to send [01:23:15]OFD Sender: No OFD packet to send [01:23:20]OFD Sender: No OFD packet to send [01:23:25]OFD Sender: No OFD packet to send [01:23:30]OFD Sender: No OFD packet to send [01:23:35]OFD Sender: No OFD packet to send [01:23:40]OFD Sender: No OFD packet to send [01:23:45]OFD Sender: No OFD packet to send [01:23:50]OFD Sender: No OFD packet to send [01:23:55]OFD Sender: No OFD packet to send [01:24:00]OFD Sender: No OFD packet to send [01:24:05]OFD Sender: No OFD packet to send [01:24:10]OFD Sender: No OFD packet to send [01:24:15]OFD Sender: No OFD packet to send [01:24:20]OFD Sender: No OFD packet to send [01:24:25]OFD Sender: No OFD packet to send [01:24:30]OFD Sender: No OFD packet to send [01:24:35]OFD Sender: No OFD packet to send [01:24:40]OFD Sender: No OFD packet to send [01:24:45]OFD Sender: No OFD packet to send [01:24:50]OFD Sender: No OFD packet to send [01:24:55]OFD Sender: No OFD packet to send [01:25:00]OFD Sender: No OFD packet to send [01:25:05]OFD Sender: No OFD packet to send [01:25:10]OFD Sender: No OFD packet to send [01:25:15]OFD Sender: No OFD packet to send [01:25:20]OFD Sender: No OFD packet to send [01:25:25]OFD Sender: No OFD packet to send [01:25:30]OFD Sender: No OFD packet to send [01:25:35]OFD Sender: No OFD packet to send [01:25:40]OFD Sender: No OFD packet to send [01:25:45]OFD Sender: No OFD packet to send [01:25:50]OFD Sender: No OFD packet to send [01:25:55]OFD Sender: No OFD packet to send [01:26:00]OFD Sender: No OFD packet to send [01:26:05]OFD Sender: No OFD packet to send [01:26:10]OFD Sender: No OFD packet to send [01:26:15]OFD Sender: No OFD packet to send [01:26:20]OFD Sender: No OFD packet to send [01:26:25]OFD Sender: No OFD packet to send [01:26:30]OFD Sender: No OFD packet to send [01:26:30]int [01:26:30]Write to MH i2c: 01 00 00 F6 01 F7 [01:26:30]*** FLAG_PRN_KEY set [01:26:30]Write i2c OK [01:26:30]MH_I2C_Read... [01:26:30]Read from MH i2c: 01 [01:26:30]MH_I2C_Read... [01:26:30]Read from MH i2c: 01 07 00 [01:26:30]MH_I2C_Read... [01:26:30]Read from MH i2c: 01 07 00 F6 01 00 08 00 00 00 FF 0F 14 [01:26:30]state=0 [01:26:30]Key pressed [01:26:30]Feed [01:26:30]Write to MH i2c: D8 00 00 F7 01 CF [01:26:30]Write i2c OK [01:26:30]MH_I2C_Read... [01:26:30]Read from MH i2c: D8 [01:26:30]MH_I2C_Read... [01:26:30]Read from MH i2c: D8 01 00 [01:26:30]MH_I2C_Read... [01:26:30]Read from MH i2c: D8 01 00 F7 01 00 D0 [01:26:30]int [01:26:30]Write to MH i2c: 01 00 00 F8 01 F9 [01:26:30]Write i2c OK [01:26:30]MH_I2C_Read... [01:26:30]Read from MH i2c: 01 [01:26:30]MH_I2C_Read... [01:26:30]Read from MH i2c: 01 07 00 [01:26:30]MH_I2C_Read... [01:26:30]Read from MH i2c: 01 07 00 F8 01 00 48 00 00 00 3C 00 84 [01:26:30]state=2 [01:26:30]Key pressed [01:26:31]int [01:26:31]Write to MH i2c: 01 00 00 F9 01 FA [01:26:31]*** FLAG_PRN_KEY reset [01:26:31]Write i2c OK [01:26:31]MH_I2C_Read... [01:26:31]Read from MH i2c: 01 [01:26:31]MH_I2C_Read... [01:26:31]Read from MH i2c: 01 07 00 [01:26:31]MH_I2C_Read... [01:26:31]Read from MH i2c: 01 07 00 F9 01 00 00 00 00 00 F6 0F 06 [01:26:31]state=2 [01:26:31]Stop feed [01:26:35]OFD Sender: No OFD packet to send [01:26:40]OFD Sender: No OFD packet to send [01:26:45]OFD Sender: No OFD packet to send [01:26:50]OFD Sender: No OFD packet to send [01:26:55]OFD Sender: No OFD packet to send [01:27:00]OFD Sender: No OFD packet to send [01:27:05]OFD Sender: No OFD packet to send [01:27:10]OFD Sender: No OFD packet to send [01:27:15]OFD Sender: No OFD packet to send [01:27:20]OFD Sender: No OFD packet to send [01:27:25]OFD Sender: No OFD packet to send [01:27:30]OFD Sender: No OFD packet to send [01:27:35]OFD Sender: No OFD packet to send [01:27:40]OFD Sender: No OFD packet to send [01:27:45]OFD Sender: No OFD packet to send [01:27:50]OFD Sender: No OFD packet to send [01:27:55]OFD Sender: No OFD packet to send [01:28:00]OFD Sender: No OFD packet to send [01:28:05]OFD Sender: No OFD packet to send [01:28:10]OFD Sender: No OFD packet to send [01:28:15]OFD Sender: No OFD packet to send [01:28:20]OFD Sender: No OFD packet to send [01:28:25]OFD Sender: No OFD packet to send [01:28:30]OFD Sender: No OFD packet to send [01:28:35]OFD Sender: No OFD packet to send [01:28:40]OFD Sender: No OFD packet to send [01:28:45]OFD Sender: No OFD packet to send [01:28:50]OFD Sender: No OFD packet to send [01:28:51]accept exits with 7 [01:28:51]New connection [01:28:51]New thread 3067186532 created [01:28:51]Thread 3067043172 joined [01:28:51]Waiting for new connection... [01:28:51] Sock 7.Parse request [01:28:51]Sock 7.Check first char [01:28:51]Sock 7.First char is OK [01:28:51]request: POST /json_proto HTTP/1.0 [01:28:51]Method: POST [01:28:51]URL: /json_proto [01:28:51]Method is POST - this is cgi request [01:28:51]url: /json_proto [01:28:51]query_string will be loaded in cgi processing [01:28:51]execute_cgi json_proto POST (null) [01:28:51]execute_cgi path=json_proto method=POST [01:28:51]POST find Content-Length [01:28:51]Host: 172.17.40.196:8080 [01:28:51]Content-Length: 631 [01:28:51]Content-Type: application/json [01:28:51] [01:28:51]POST finish read [01:28:51]Found Content-Length = 631 [01:28:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35293", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:28:51]execute_script... [01:28:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35293", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:28:51]POST & json_proto [01:28:51]process_json_proto [01:28:51]json parsed OK: [01:28:51]protocol is kg_v1.0 [01:28:51]action value=close_receipt [01:28:51]process_action close_receipt [01:28:51]cmd_close_receipt [01:28:51]MH_GetDate [01:28:51]Write to MH i2c: F0 00 00 FA 01 EA [01:28:51]Write i2c OK [01:28:51]MH_I2C_Read... [01:28:51]Read from MH i2c: F0 [01:28:51]MH_I2C_Read... [01:28:51]Read from MH i2c: F0 09 00 [01:28:51]MH_I2C_Read... [01:28:51]Read from MH i2c: F0 09 00 FA 01 00 54 DD 22 67 5B 68 A1 66 77 [01:28:51]GetLastDocTimeStamp 1730337282 [01:28:51]current date 1730338132 [01:28:51]FM_GetShiftState [01:28:51]SAM_PROTO_GetShiftState [01:28:51]wFMCommunicate request_size=4 [01:28:51]MH_SAM_APDU [01:28:51]CAPDU: 80 13 01 00 [01:28:51]Write to MH i2c: E2 08 00 FB 01 80 13 01 00 00 00 00 00 79 [01:28:51]Write i2c OK [01:28:51]MH_I2C_Read... [01:28:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:28:51]Read from MH i2c: E2 [01:28:51]MH_I2C_Read... [01:28:51]Read from MH i2c: E2 0E 00 [01:28:51]MH_I2C_Read... [01:28:51]Read from MH i2c: E2 0E 00 FB 01 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 B3 [01:28:51]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [01:28:51]wFMCommunicate OK [01:28:51]SAM_PROTO_GetShiftState done [01:28:51]FM_GetShiftState done [01:28:51]opened in 1730333148 [01:28:51]opened+sec_in_day 1730419548 [01:28:51]quantity*price = 10000 [01:28:51]sum+1 = 10001 [01:28:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 3 31.10.2024 01:28 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37995 ФПД: 33570314045371 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T012852&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37995&fm=33570314045371&tin=02508201610067®Number=0000000000091684&sum=10000 0 [01:28:53]StoreToDocumentArchive [01:28:53]shift 554 fd 37995 [01:28:53]save to /storage/0554/doc_00037995 [01:28:53]save last doc name /storage/0554/doc_00037995 to /storage/kkm_last_doc_name [01:28:53]save OK [01:28:53]Clear old archive folders... [01:28:53]ProcessDocumentItem done err = 0, tmpTLVsize=269 [01:28:53]tlvbuf is 012F0CD0 [01:28:53]SAM_PROTO_ClearQueue [01:28:53]wFMCommunicate request_size=4 [01:28:53]MH_SAM_APDU [01:28:53]CAPDU: 80 09 00 00 [01:28:53]Write to MH i2c: E2 08 00 08 02 80 09 00 00 00 00 00 00 7C [01:28:53]Write i2c OK [01:28:53]MH_I2C_Read... [01:28:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:28:53]Read from MH i2c: E2 [01:28:53]MH_I2C_Read... [01:28:53]Read from MH i2c: E2 03 00 [01:28:53]MH_I2C_Read... [01:28:53]Read from MH i2c: E2 03 00 08 02 00 90 00 7E [01:28:53]RAPDU: 90 00 [01:28:53]wFMCommunicate OK [01:28:53]SAM_PROTO_ClearQueue done [01:28:53]KKMCreateOFDPacket [01:28:53]OFDProtocolAddRootSTLVToBuf [01:28:53]FM_MakeSignedData [01:28:53]FM_MakeSignedData [01:28:53]SAM_PROTO_SignData [01:28:53]wFMCommunicate request_size=4 [01:28:53]MH_SAM_APDU [01:28:53]CAPDU: 80 0D 01 02 [01:28:53]Write to MH i2c: E2 08 00 09 02 80 0D 01 02 00 00 00 00 84 [01:28:53]Write i2c OK [01:28:53]MH_I2C_Read... [01:28:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:28:53]Read from MH i2c: E2 [01:28:53]MH_I2C_Read... [01:28:53]Read from MH i2c: E2 03 00 [01:28:53]MH_I2C_Read... [01:28:53]Read from MH i2c: E2 03 00 09 02 00 90 00 7F [01:28:53]RAPDU: 90 00 [01:28:53]wFMCommunicate OK [01:28:53]wFMCommunicate request_size=255 [01:28:53]MH_SAM_APDU [01:28:53]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 54 DD 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [01:28:53]Write to MH i2c: E2 02 01 0A 02 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 54 DD 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 88 [01:28:53]Write i2c OK [01:28:53]MH_I2C_Read... [01:28:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:28:53]Read from MH i2c: E2 [01:28:53]MH_I2C_Read... [01:28:53]Read from MH i2c: E2 03 00 [01:28:53]MH_I2C_Read... [01:28:53]Read from MH i2c: E2 03 00 0A 02 00 90 00 80 [01:28:53]RAPDU: 90 00 [01:28:53]wFMCommunicate OK [01:28:53]wFMCommunicate request_size=28 [01:28:53]MH_SAM_APDU [01:28:53]CAPDU: 80 0D 02 02 17 37 31 38 34 31 10 04 04 00 6B 94 00 00 35 04 06 00 1E 88 32 A4 C7 BB [01:28:53]Write to MH i2c: E2 1F 00 0B 02 80 0D 02 02 17 00 37 31 38 34 31 10 04 04 00 6B 94 00 00 35 04 06 00 1E 88 32 A4 C7 BB 00 00 0E [01:28:53]Write i2c OK [01:28:53]MH_I2C_Read... [01:28:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:28:53]Read from MH i2c: E2 [01:28:53]MH_I2C_Read... [01:28:53]Read from MH i2c: E2 03 00 [01:28:53]MH_I2C_Read... [01:28:53]Read from MH i2c: E2 03 00 0B 02 00 90 00 81 [01:28:53]RAPDU: 90 00 [01:28:53]wFMCommunicate OK [01:28:53]wFMCommunicate request_size=4 [01:28:53]MH_SAM_APDU [01:28:53]CAPDU: 80 0D 03 02 [01:28:53]Write to MH i2c: E2 08 00 0C 02 80 0D 03 02 00 00 00 00 89 [01:28:53]Write i2c OK [01:28:53]MH_I2C_Read... [01:28:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:28:53]Read from MH i2c: E2 [01:28:53]MH_I2C_Read... [01:28:53]Read from MH i2c: E2 0B 00 [01:28:53]MH_I2C_Read... [01:28:53]Read from MH i2c: E2 0B 00 0C 02 00 1A 65 97 A9 5D 66 05 76 90 00 87 [01:28:53]RAPDU: 1A 65 97 A9 5D 66 05 76 90 00 [01:28:53]wFMCommunicate OK [01:28:53]SAM_PROTO_SignData done [01:28:53]FM_MakeSignedData done [01:28:53]CreateOFDProtocolMessage [01:28:53]wFMCommunicate request_size=4 [01:28:53]MH_SAM_APDU [01:28:53]CAPDU: 80 11 00 00 [01:28:53]Write to MH i2c: E2 08 00 0D 02 80 11 00 00 00 00 00 00 89 [01:28:53]Write i2c OK [01:28:53]MH_I2C_Read... [01:28:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:28:53]Read from MH i2c: E2 [01:28:53]MH_I2C_Read... [01:28:53]Read from MH i2c: E2 17 00 [01:28:53]MH_I2C_Read... [01:28:53]Read from MH i2c: E2 17 00 0D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D9 [01:28:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:28:53]wFMCommunicate OK [01:28:53]CreateOFDProtocolMessage done [01:28:53]OFDSenderStorePacket 37995 [01:28:53]StoreOFDPacket docnum=37995 [01:28:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 21 01 00 00 C0 4D 19 01 28 00 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 54 DD 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6B 94 00 00 35 04 06 00 1E 88 32 A4 C7 BB 1A 65 97 A9 5D 66 05 76 [01:28:53]CheckFolder [01:28:53]dirname=/storage/ofd_packets [01:28:53]CheckFolder done [01:28:53]ProducePacketName [01:28:53]name=ofd_packets/00037995 [01:28:53]NVStorageSaveData ofd_packets/00037995 [01:28:53]File name is /storage/ofd_packets/00037995 [01:28:53]Write 319 bytes [01:28:53]NVStorageSaveData done [01:28:53]OFDSenderStorePacket done [01:28:53]KKMCreateOFDPacket done [01:28:53]NVStorageSaveData kkm_last_timestamp [01:28:53]File name is /storage/kkm_last_timestamp [01:28:53]Write 4 bytes [01:28:53]NVStorageSaveData done [01:28:53]ExternCall_PrintAddStr [01:28:53]wPrintStart [01:28:53]Write to MH i2c: 01 00 00 0E 02 10 [01:28:53]Write i2c OK [01:28:53]MH_I2C_Read... [01:28:53]Read from MH i2c: 01 [01:28:53]MH_I2C_Read... [01:28:53]Read from MH i2c: 01 07 00 [01:28:53]MH_I2C_Read... [01:28:53]Read from MH i2c: 01 07 00 0E 02 00 00 00 00 00 FF 0F 25 [01:28:53]RasterBufferAndPrint [01:28:53]line Счет N : (3)35293 [01:28:53]line ИНН: 02508201610067 [01:28:53]line Контрольно-Кассовый Чек [01:28:53]line ПРОДАЖА [01:28:53]line Товар: 4700000160358 [01:28:53]line Вода Легенда 1л [01:28:53]line 2.000 * 50.00 [01:28:53]line = 100.00 [01:28:53]line НДС 12% НСП 1% [01:28:53]line > о реализуемом товаре [01:28:53]line ИТОГО: 100.00 [01:28:53]line НСП 1% : 0.88 [01:28:53]line НДС 12% : 10.62 [01:28:53]line Наличными: 100.00 [01:28:53]line Безнал.: 0.00 [01:28:53]line Место: АЗС № 126 "Партнер Нефть" [01:28:53]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [01:28:53]line СНО: Общий режим [01:28:53]line Чек 3 31.10.2024 01:28 [01:28:53]line Смена: 554 ФФД: 1.0 [01:28:53]line ЗНМ: 0300000092 [01:28:53]line РНМ: 0000000000091684 [01:28:53]line Версия ККМ: 001 [01:28:53]line ФМ: 0000000000871841 [01:28:53]line ФД: 37995 [01:28:53]line ФПД: 33570314045371 [01:28:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T012852&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37995&fm=33570314045371&tin=02508201610067®Number=0000000000091684&sum=10000 [01:28:53]OFD Sender: Processing packet 37995 [packets to send 42, broken 41] [01:28:53]ProducePacketName [01:28:53]name=ofd_packets/00037995 [01:28:53]OFD Sender: To server: pG, [01:28:53]CommunicateWithHost lk.salyk.kg:30040 [01:28:53]ConnectInit lk.salyk.kg [01:28:53]line 0 [01:28:53]written 0, free lines is 4095 [01:28:54]Connected sock=9 [01:28:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 21 01 00 00 C0 4D 19 01 28 00 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 54 DD 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6B 94 00 00 35 04 06 00 1E 88 32 A4 C7 BB 1A 65 97 A9 5D 66 05 76 [01:28:54]Write to MH i2c: 01 00 00 36 02 38 [01:28:54]Write i2c OK [01:28:54]MH_I2C_Read... [01:28:54]Read from MH i2c: 01 [01:28:54]MH_I2C_Read... [01:28:54]Read from MH i2c: 01 07 00 [01:28:54]MH_I2C_Read... [01:28:54]Read from MH i2c: 01 07 00 36 02 00 00 00 00 00 D3 0C 1E [01:28:54]RasterBufferAndPrint [01:28:54]line [01:28:54]line [01:28:54]line [01:28:54]line [01:28:54]line [01:28:54]written 0, free lines is 3289 [01:28:54]MH_Cut [01:28:54]Write to MH i2c: D1 01 00 3D 02 01 11 [01:28:54]Write i2c OK [01:28:54]MH_I2C_Read... [01:28:54]Read from MH i2c: D1 [01:28:54]MH_I2C_Read... [01:28:54]Read from MH i2c: D1 01 00 [01:28:54]MH_I2C_Read... [01:28:54]Read from MH i2c: D1 01 00 3D 02 00 10 [01:28:54]Write to MH i2c: 01 00 00 3E 02 40 [01:28:54]Write i2c OK [01:28:54]MH_I2C_Read... [01:28:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 06 0A 47 00 FB AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6B 94 00 00 F4 03 04 00 41 88 22 67 B6 04 01 00 00 FC FD 5D 54 02 C2 EC 84 [01:28:54]CommunicateWithHost err = 0 [01:28:54]CheckOFDResponse [01:28:54]1017 (14) - 77093643461234 [01:28:54]1041 (16) - 0000000000871841 [01:28:54]1040 (4) - 37995 [01:28:54]1012 (4) - 30.10.2024 19:25 [01:28:54]1206 (1) - 0 [01:28:54]OFD Sender: Remove packet 37995 [01:28:54]ProducePacketName [01:28:54]name=ofd_packets/00037995 [01:28:54]NVStorageDeleteData [01:28:55]OFD Sender: No OFD packet to send [01:28:55]*** Cut start [01:28:55]*** Partial cut [01:28:55]*** CUTSNS_PIN = 1 [01:28:55]*** CUTSNS_PIN = 0 [01:28:55]*** Brake cut motor [01:28:55]Read from MH i2c: 01 [01:28:55]MH_I2C_Read... [01:28:55]*** Stop cut motor [01:28:55]Read from MH i2c: *** Cut end [01:28:55]01 07 00 [01:28:55]MH_I2C_Read... [01:28:55]Read from MH i2c: 01 07 00 3E 02 00 00 00 00 00 FF 0F 55 [01:28:55]process_action close_receipt done [01:28:55]requested_data is exist [01:28:55]produce_requested_data [01:28:55]requested_item fm.sn is exist - process it [01:28:55]wFMCommunicate request_size=4 [01:28:55]MH_SAM_APDU [01:28:55]CAPDU: 80 11 00 00 [01:28:55]Write to MH i2c: E2 08 00 3F 02 80 11 00 00 00 00 00 00 BB [01:28:55]Write i2c OK [01:28:55]MH_I2C_Read... [01:28:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:28:55]Read from MH i2c: E2 [01:28:55]MH_I2C_Read... [01:28:55]Read from MH i2c: E2 17 00 [01:28:55]MH_I2C_Read... [01:28:55]Read from MH i2c: E2 17 00 3F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0B [01:28:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:28:55]wFMCommunicate OK [01:28:55]requested_item fd.num is exist - process it [01:28:55]SAM_PROTO_GetFieldsCounters [01:28:55]wFMCommunicate request_size=4 [01:28:55]MH_SAM_APDU [01:28:55]CAPDU: 80 13 00 00 [01:28:55]Write to MH i2c: E2 08 00 40 02 80 13 00 00 00 00 00 00 BE [01:28:55]Write i2c OK [01:28:55]MH_I2C_Read... [01:28:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:28:55]Read from MH i2c: E2 [01:28:55]MH_I2C_Read... [01:28:55]Read from MH i2c: E2 62 00 [01:28:55]MH_I2C_Read... [01:28:55]Read from MH i2c: E2 62 00 40 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 6B 94 00 00 0E 04 04 00 2A 02 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 13 [01:28:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 6B 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:28:55]wFMCommunicate OK [01:28:55]SAM_PROTO_GetFieldsCounters done [01:28:55]requested_item shift.num is exist - process it [01:28:55]requested_item shift.opened is exist - process it [01:28:55]req_shift_opened [01:28:55]FM_GetShiftState [01:28:55]SAM_PROTO_GetShiftState [01:28:55]wFMCommunicate request_size=4 [01:28:55]MH_SAM_APDU [01:28:55]CAPDU: 80 13 01 00 [01:28:55]Write to MH i2c: E2 08 00 41 02 80 13 01 00 00 00 00 00 C0 [01:28:55]Write i2c OK [01:28:55]MH_I2C_Read... [01:28:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:28:56]Read from MH i2c: E2 [01:28:56]MH_I2C_Read... [01:28:56]Read from MH i2c: E2 0E 00 [01:28:56]MH_I2C_Read... [01:28:56]Read from MH i2c: E2 0E 00 41 02 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 FA [01:28:56]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [01:28:56]wFMCommunicate OK [01:28:56]SAM_PROTO_GetShiftState done [01:28:56]FM_GetShiftState done [01:28:56]req_shift_opened done [01:28:56]requested_item shift.open_date is exist - process it [01:28:56]req_shift_open_date [01:28:56]req_shift_open_date done [01:28:56]produce_requested_data done [01:28:56]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37995,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [01:28:56]process_action_free close_receipt [01:28:56]json_value_free [01:28:56]json_value_free done [01:28:56]process_json_proto returns [01:28:56]Send response to host [01:28:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37995,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [01:28:56]free response buf [01:28:56]execute_script done [01:28:56]execute_script returns [01:28:56]free content buf [01:28:56]Sock 7.Close socket [01:28:56]Sock 7.Thread stoped [01:29:00]OFD Sender: No OFD packet to send [01:29:05]OFD Sender: No OFD packet to send [01:29:10]OFD Sender: No OFD packet to send [01:29:15]OFD Sender: No OFD packet to send [01:29:20]OFD Sender: No OFD packet to send [01:29:25]OFD Sender: No OFD packet to send [01:29:30]OFD Sender: No OFD packet to send [01:29:35]OFD Sender: No OFD packet to send [01:29:40]OFD Sender: No OFD packet to send [01:29:41]accept exits with 10 [01:29:41]New connection [01:29:41]New thread 3067043172 created [01:29:41]Thread 3067186532 joined [01:29:41]Waiting for new connection... [01:29:41] Sock 10.Parse request [01:29:41]Sock 10.Check first char [01:29:41]Sock 10.First char is OK [01:29:41]request: POST /json_proto HTTP/1.0 [01:29:41]Method: POST [01:29:41]URL: /json_proto [01:29:41]Method is POST - this is cgi request [01:29:41]url: /json_proto [01:29:41]query_string will be loaded in cgi processing [01:29:41]execute_cgi json_proto POST (null) [01:29:41]execute_cgi path=json_proto method=POST [01:29:41]POST find Content-Length [01:29:41]Host: 172.17.40.196:8080 [01:29:41]Content-Length: 656 [01:29:41]Content-Type: application/json [01:29:41] [01:29:41]POST finish read [01:29:41]Found Content-Length = 656 [01:29:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35294", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 2.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:29:41]execute_script... [01:29:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35294", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 2.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:29:41]POST & json_proto [01:29:41]process_json_proto [01:29:41]json parsed OK: [01:29:41]protocol is kg_v1.0 [01:29:41]action value=close_receipt [01:29:41]process_action close_receipt [01:29:41]cmd_close_receipt [01:29:41]MH_GetDate [01:29:41]Write to MH i2c: F0 00 00 42 02 33 [01:29:41]Write i2c OK [01:29:41]MH_I2C_Read... [01:29:41]Read from MH i2c: F0 [01:29:41]MH_I2C_Read... [01:29:41]Read from MH i2c: F0 09 00 [01:29:41]MH_I2C_Read... [01:29:41]Read from MH i2c: F0 09 00 42 02 00 86 DD 22 67 5B 68 A1 66 F2 [01:29:41]GetLastDocTimeStamp 1730338132 [01:29:41]current date 1730338182 [01:29:41]FM_GetShiftState [01:29:41]SAM_PROTO_GetShiftState [01:29:41]wFMCommunicate request_size=4 [01:29:41]MH_SAM_APDU [01:29:41]CAPDU: 80 13 01 00 [01:29:41]Write to MH i2c: E2 08 00 43 02 80 13 01 00 00 00 00 00 C2 [01:29:41]Write i2c OK [01:29:41]MH_I2C_Read... [01:29:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:29:41]Read from MH i2c: E2 [01:29:41]MH_I2C_Read... [01:29:41]Read from MH i2c: E2 0E 00 [01:29:41]MH_I2C_Read... [01:29:41]Read from MH i2c: E2 0E 00 43 02 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 FC [01:29:41]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [01:29:41]wFMCommunicate OK [01:29:41]SAM_PROTO_GetShiftState done [01:29:41]FM_GetShiftState done [01:29:41]opened in 1730333148 [01:29:41]opened+sec_in_day 1730419548 [01:29:41]quantity*price = 13800 [01:29:41]sum+1 = 13801 [01:29:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 4 31.10.2024 01:29 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37996 ФПД: 156376402501503 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T012942&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37996&fm=156376402501503&tin=02508201610067®Number=0000000000091684&sum=13800 0 [01:29:42]StoreToDocumentArchive [01:29:42]shift 554 fd 37996 [01:29:42]save to /storage/0554/doc_00037996 [01:29:42]save last doc name /storage/0554/doc_00037996 to /storage/kkm_last_doc_name [01:29:42]save OK [01:29:42]Clear old archive folders... [01:29:42]ProcessDocumentItem done err = 0, tmpTLVsize=294 [01:29:42]tlvbuf is 0116DED0 [01:29:42]SAM_PROTO_ClearQueue [01:29:42]wFMCommunicate request_size=4 [01:29:42]MH_SAM_APDU [01:29:42]CAPDU: 80 09 00 00 [01:29:42]Write to MH i2c: E2 08 00 50 02 80 09 00 00 00 00 00 00 C4 [01:29:42]Write i2c OK [01:29:42]MH_I2C_Read... [01:29:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:29:43]Read from MH i2c: E2 [01:29:43]MH_I2C_Read... [01:29:43]Read from MH i2c: E2 03 00 [01:29:43]MH_I2C_Read... [01:29:43]Read from MH i2c: E2 03 00 50 02 00 90 00 C6 [01:29:43]RAPDU: 90 00 [01:29:43]wFMCommunicate OK [01:29:43]SAM_PROTO_ClearQueue done [01:29:43]KKMCreateOFDPacket [01:29:43]OFDProtocolAddRootSTLVToBuf [01:29:43]FM_MakeSignedData [01:29:43]FM_MakeSignedData [01:29:43]SAM_PROTO_SignData [01:29:43]wFMCommunicate request_size=4 [01:29:43]MH_SAM_APDU [01:29:43]CAPDU: 80 0D 01 02 [01:29:43]Write to MH i2c: E2 08 00 51 02 80 0D 01 02 00 00 00 00 CC [01:29:43]Write i2c OK [01:29:43]MH_I2C_Read... [01:29:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:29:43]Read from MH i2c: E2 [01:29:43]MH_I2C_Read... [01:29:43]Read from MH i2c: E2 03 00 [01:29:43]MH_I2C_Read... [01:29:43]Read from MH i2c: E2 03 00 51 02 00 90 00 C7 [01:29:43]RAPDU: 90 00 [01:29:43]wFMCommunicate OK [01:29:43]wFMCommunicate request_size=255 [01:29:43]MH_SAM_APDU [01:29:43]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 86 DD 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [01:29:43]Write to MH i2c: E2 02 01 52 02 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 86 DD 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 2C [01:29:43]Write i2c OK [01:29:43]MH_I2C_Read... [01:29:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:29:43]Read from MH i2c: E2 [01:29:43]MH_I2C_Read... [01:29:43]Read from MH i2c: E2 03 00 [01:29:43]MH_I2C_Read... [01:29:43]Read from MH i2c: E2 03 00 52 02 00 90 00 C8 [01:29:43]RAPDU: 90 00 [01:29:43]wFMCommunicate OK [01:29:43]wFMCommunicate request_size=53 [01:29:43]MH_SAM_APDU [01:29:43]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6C 94 00 00 35 04 06 00 8E 39 37 EC 1F 7F [01:29:43]Write to MH i2c: E2 38 00 53 02 80 0D 02 02 30 00 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6C 94 00 00 35 04 06 00 8E 39 37 EC 1F 7F 00 00 4C [01:29:43]Write i2c OK [01:29:43]MH_I2C_Read... [01:29:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:29:43]Read from MH i2c: E2 [01:29:43]MH_I2C_Read... [01:29:43]Read from MH i2c: E2 03 00 [01:29:43]MH_I2C_Read... [01:29:43]Read from MH i2c: E2 03 00 53 02 00 90 00 C9 [01:29:43]RAPDU: 90 00 [01:29:43]wFMCommunicate OK [01:29:43]wFMCommunicate request_size=4 [01:29:43]MH_SAM_APDU [01:29:43]CAPDU: 80 0D 03 02 [01:29:43]Write to MH i2c: E2 08 00 54 02 80 0D 03 02 00 00 00 00 D1 [01:29:43]Write i2c OK [01:29:43]MH_I2C_Read... [01:29:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:29:43]Read from MH i2c: E2 [01:29:43]MH_I2C_Read... [01:29:43]Read from MH i2c: E2 0B 00 [01:29:43]MH_I2C_Read... [01:29:43]Read from MH i2c: E2 0B 00 54 02 00 9C 8F E0 8C 62 B5 88 91 90 00 99 [01:29:43]RAPDU: 9C 8F E0 8C 62 B5 88 91 90 00 [01:29:43]wFMCommunicate OK [01:29:43]SAM_PROTO_SignData done [01:29:43]FM_MakeSignedData done [01:29:43]CreateOFDProtocolMessage [01:29:43]wFMCommunicate request_size=4 [01:29:43]MH_SAM_APDU [01:29:43]CAPDU: 80 11 00 00 [01:29:43]Write to MH i2c: E2 08 00 55 02 80 11 00 00 00 00 00 00 D1 [01:29:43]Write i2c OK [01:29:43]MH_I2C_Read... [01:29:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:29:43]Read from MH i2c: E2 [01:29:43]MH_I2C_Read... [01:29:43]Read from MH i2c: E2 17 00 [01:29:43]MH_I2C_Read... [01:29:43]Read from MH i2c: E2 17 00 55 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 21 [01:29:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:29:43]wFMCommunicate OK [01:29:43]CreateOFDProtocolMessage done [01:29:43]OFDSenderStorePacket 37996 [01:29:43]StoreOFDPacket docnum=37996 [01:29:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3A 01 00 00 0D F2 32 01 6F 55 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 86 DD 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6C 94 00 00 35 04 06 00 8E 39 37 EC 1F 7F 9C 8F E0 8C 62 B5 88 91 [01:29:43]CheckFolder [01:29:43]dirname=/storage/ofd_packets [01:29:43]CheckFolder done [01:29:43]ProducePacketName [01:29:43]name=ofd_packets/00037996 [01:29:43]NVStorageSaveData ofd_packets/00037996 [01:29:43]File name is /storage/ofd_packets/00037996 [01:29:43]Write 344 bytes [01:29:43]NVStorageSaveData done [01:29:43]OFDSenderStorePacket done [01:29:43]KKMCreateOFDPacket done [01:29:43]NVStorageSaveData kkm_last_timestamp [01:29:43]File name is /storage/kkm_last_timestamp [01:29:43]Write 4 bytes [01:29:43]NVStorageSaveData done [01:29:43]ExternCall_PrintAddStr [01:29:43]wPrintStart [01:29:43]Write to MH i2c: 01 00 00 56 02 58 [01:29:43]Write i2c OK [01:29:43]MH_I2C_Read... [01:29:43]Read from MH i2c: 01 [01:29:43]MH_I2C_Read... [01:29:43]Read from MH i2c: 01 07 00 [01:29:43]MH_I2C_Read... [01:29:43]Read from MH i2c: 01 07 00 56 02 00 00 00 00 00 FF 0F 6D [01:29:43]RasterBufferAndPrint [01:29:43]line Счет N : (3)35294 [01:29:43]line ИНН: 02508201610067 [01:29:43]line Контрольно-Кассовый Чек [01:29:43]line ПРОДАЖА [01:29:43]line Товар: 4600682557456 [01:29:43]line Напиток FLash up energy эн ж/б 0,5/0,45л [01:29:43]line 2.000 * 69.00 [01:29:43]line = 138.00 [01:29:43]line НДС 12% НСП 1% [01:29:43]line > о реализуемом товаре [01:29:43]line ИТОГО: 138.00 [01:29:43]line НСП 1% : 1.22 [01:29:43]line НДС 12% : 14.65 [01:29:43]line Наличными: 138.00 [01:29:43]line Безнал.: 0.00 [01:29:43]line Место: АЗС № 126 "Партнер Нефть" [01:29:43]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [01:29:43]line СНО: Общий режим [01:29:43]line Чек 4 31.10.2024 01:29 [01:29:43]line Смена: 554 ФФД: 1.0 [01:29:43]line ЗНМ: 0300000092 [01:29:43]line РНМ: 0000000000091684 [01:29:43]line Версия ККМ: 001 [01:29:43]line ФМ: 0000000000871841 [01:29:43]line ФД: 37996 [01:29:43]line ФПД: 156376402501503 [01:29:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T012942&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37996&fm=156376402501503&tin=02508201610067®Number=0000000000091684&sum=13800 [01:29:43]line 0 [01:29:43]OFD Sender: Processing packet 37996 [packets to send 42, broken 41] [01:29:43]ProducePacketName [01:29:43]name=ofd_packets/00037996 [01:29:43]OFD Sender: To server: pG, [01:29:43]CommunicateWithHost lk.salyk.kg:30040 [01:29:43]ConnectInit lk.salyk.kg [01:29:43]written 0, free lines is 4095 [01:29:44]Write to MH i2c: 01 00 00 7F 02 81 [01:29:44]Write i2c OK [01:29:44]MH_I2C_Read... [01:29:44]Read from MH i2c: 01 [01:29:44]MH_I2C_Read... [01:29:44]Read from MH i2c: 01 07 00 [01:29:44]MH_I2C_Read... [01:29:44]Read from MH i2c: 01 07 00 7F 02 00 00 00 00 00 B8 0C 4C [01:29:44]RasterBufferAndPrint [01:29:44]line [01:29:44]line [01:29:44]line [01:29:44]line [01:29:44]line [01:29:44]written 0, free lines is 3260 [01:29:44]MH_Cut [01:29:44]Write to MH i2c: D1 01 00 86 02 01 5A [01:29:44]Write i2c OK [01:29:44]MH_I2C_Read... [01:29:44]Read from MH i2c: D1 [01:29:44]MH_I2C_Read... [01:29:44]Read from MH i2c: D1 01 00 [01:29:44]MH_I2C_Read... [01:29:44]Read from MH i2c: D1 01 00 86 02 00 59 [01:29:44]Write to MH i2c: 01 00 00 87 02 89 [01:29:44]Write i2c OK [01:29:44]MH_I2C_Read... [01:29:45]*** Cut start [01:29:45]*** Partial cut [01:29:45]*** CUTSNS_PIN = 1 [01:29:45]*** CUTSNS_PIN = 0 [01:29:45]*** Brake cut motor [01:29:45]Connected sock=11 [01:29:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3A 01 00 00 0D F2 32 01 6F 55 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 86 DD 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6C 94 00 00 35 04 06 00 8E 39 37 EC 1F 7F 9C 8F E0 8C 62 B5 88 91 [01:29:45]Read from MH i2c: 01 [01:29:45]MH_I2C_Read... [01:29:45]*** Stop cut motor [01:29:45]*** Cut end [01:29:45]Read from MH i2c: 01 07 00 [01:29:45]MH_I2C_Read... [01:29:45]Read from MH i2c: 01 07 00 87 02 00 00 00 00 00 FF 0F 9E [01:29:45]process_action close_receipt done [01:29:45]requested_data is exist [01:29:45]produce_requested_data [01:29:45]requested_item fm.sn is exist - process it [01:29:45]wFMCommunicate request_size=4 [01:29:45]MH_SAM_APDU [01:29:45]CAPDU: 80 11 00 00 [01:29:45]Write to MH i2c: E2 08 00 88 02 80 11 00 00 00 00 00 00 04 [01:29:45]Write i2c OK [01:29:45]MH_I2C_Read... [01:29:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:29:45]Read from MH i2c: E2 [01:29:45]MH_I2C_Read... [01:29:45]Read from MH i2c: E2 17 00 [01:29:45]MH_I2C_Read... [01:29:45]Read from MH i2c: E2 17 00 88 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 54 [01:29:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:29:45]wFMCommunicate OK [01:29:45]requested_item fd.num is exist - process it [01:29:45]SAM_PROTO_GetFieldsCounters [01:29:45]wFMCommunicate request_size=4 [01:29:45]MH_SAM_APDU [01:29:45]CAPDU: 80 13 00 00 [01:29:45]Write to MH i2c: E2 08 00 89 02 80 13 00 00 00 00 00 00 07 [01:29:45]Write i2c OK [01:29:45]MH_I2C_Read... [01:29:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:29:46]Read from MH i2c: E2 [01:29:46]MH_I2C_Read... [01:29:46]Read from MH i2c: E2 62 00 [01:29:46]MH_I2C_Read... [01:29:46]Read from MH i2c: E2 62 00 89 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 6C 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 60 [01:29:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 6C 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:29:46]wFMCommunicate OK [01:29:46]SAM_PROTO_GetFieldsCounters done [01:29:46]requested_item shift.num is exist - process it [01:29:46]requested_item shift.opened is exist - process it [01:29:46]req_shift_opened [01:29:46]FM_GetShiftState [01:29:46]SAM_PROTO_GetShiftState [01:29:46]wFMCommunicate request_size=4 [01:29:46]MH_SAM_APDU [01:29:46]CAPDU: 80 13 01 00 [01:29:46]Write to MH i2c: E2 08 00 8A 02 80 13 01 00 00 00 00 00 09 [01:29:46]Write i2c OK [01:29:46]MH_I2C_Read... [01:29:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:29:46]Read from MH i2c: E2 [01:29:46]MH_I2C_Read... [01:29:46]Read from MH i2c: E2 0E 00 [01:29:46]MH_I2C_Read... [01:29:46]Read from MH i2c: E2 0E 00 8A 02 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 43 [01:29:46]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [01:29:46]wFMCommunicate OK [01:29:46]SAM_PROTO_GetShiftState done [01:29:46]FM_GetShiftState done [01:29:46]req_shift_opened done [01:29:46]requested_item shift.open_date is exist - process it [01:29:46]req_shift_open_date [01:29:46]req_shift_open_date done [01:29:46]produce_requested_data done [01:29:46]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37996,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [01:29:46]process_action_free close_receipt [01:29:46]json_value_free [01:29:46]json_value_free done [01:29:46]process_json_proto returns [01:29:46]Send response to host [01:29:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37996,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [01:29:46]free response buf [01:29:46]execute_script done [01:29:46]execute_script returns [01:29:46]free content buf [01:29:46]Sock 10.Close socket [01:29:46]Sock 10.Thread stoped [01:29:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 F6 96 47 00 A4 35 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6C 94 00 00 F4 03 04 00 75 88 22 67 B6 04 01 00 00 8B 42 BC EA E4 95 7B 47 [01:29:46]CommunicateWithHost err = 0 [01:29:46]CheckOFDResponse [01:29:46]1017 (14) - 77093643461234 [01:29:46]1041 (16) - 0000000000871841 [01:29:46]1040 (4) - 37996 [01:29:46]1012 (4) - 30.10.2024 19:26 [01:29:46]1206 (1) - 0 [01:29:46]OFD Sender: Remove packet 37996 [01:29:46]ProducePacketName [01:29:46]name=ofd_packets/00037996 [01:29:46]NVStorageDeleteData [01:29:46]OFD Sender: No OFD packet to send [01:29:51]OFD Sender: No OFD packet to send [01:29:56]OFD Sender: No OFD packet to send [01:30:01]OFD Sender: No OFD packet to send [01:30:06]OFD Sender: No OFD packet to send [01:30:11]OFD Sender: No OFD packet to send [01:30:16]OFD Sender: No OFD packet to send [01:30:21]OFD Sender: No OFD packet to send [01:30:26]OFD Sender: No OFD packet to send [01:30:31]OFD Sender: No OFD packet to send [01:30:32]accept exits with 7 [01:30:32]New connection [01:30:32]New thread 3067186532 created [01:30:32]Thread 3067043172 joined [01:30:32]Waiting for new connection... [01:30:32] Sock 7.Parse request [01:30:32]Sock 7.Check first char [01:30:32]Sock 7.First char is OK [01:30:32]request: POST /json_proto HTTP/1.0 [01:30:32]Method: POST [01:30:32]URL: /json_proto [01:30:32]Method is POST - this is cgi request [01:30:32]url: /json_proto [01:30:32]query_string will be loaded in cgi processing [01:30:32]execute_cgi json_proto POST (null) [01:30:32]execute_cgi path=json_proto method=POST [01:30:32]POST find Content-Length [01:30:32]Host: 172.17.40.196:8080 [01:30:32]Content-Length: 629 [01:30:32]Content-Type: application/json [01:30:32] [01:30:32]POST finish read [01:30:32]Found Content-Length = 629 [01:30:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35295", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:30:32]execute_script... [01:30: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)35295", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:30:32]POST & json_proto [01:30:32]process_json_proto [01:30:32]json parsed OK: [01:30:32]protocol is kg_v1.0 [01:30:32]action value=close_receipt [01:30:32]process_action close_receipt [01:30:32]cmd_close_receipt [01:30:32]MH_GetDate [01:30:32]Write to MH i2c: F0 00 00 8B 02 7C [01:30:32]Write i2c OK [01:30:32]MH_I2C_Read... [01:30:32]Read from MH i2c: F0 [01:30:32]MH_I2C_Read... [01:30:32]Read from MH i2c: F0 09 00 [01:30:32]MH_I2C_Read... [01:30:32]Read from MH i2c: F0 09 00 8B 02 00 B9 DD 22 67 5B 68 A1 66 6E [01:30:32]GetLastDocTimeStamp 1730338182 [01:30:32]current date 1730338233 [01:30:32]FM_GetShiftState [01:30:32]SAM_PROTO_GetShiftState [01:30:32]wFMCommunicate request_size=4 [01:30:32]MH_SAM_APDU [01:30:32]CAPDU: 80 13 01 00 [01:30:32]Write to MH i2c: E2 08 00 8C 02 80 13 01 00 00 00 00 00 0B [01:30:32]Write i2c OK [01:30:32]MH_I2C_Read... [01:30:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:30:32]Read from MH i2c: E2 [01:30:32]MH_I2C_Read... [01:30:32]Read from MH i2c: E2 0E 00 [01:30:32]MH_I2C_Read... [01:30:32]Read from MH i2c: E2 0E 00 8C 02 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 45 [01:30:32]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [01:30:32]wFMCommunicate OK [01:30:32]SAM_PROTO_GetShiftState done [01:30:32]FM_GetShiftState done [01:30:32]opened in 1730333148 [01:30:32]opened+sec_in_day 1730419548 [01:30:32]quantity*price = 5000 [01:30:32]sum+1 = 5001 [01:30:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 5 31.10.2024 01:30 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37997 ФПД: 224756889594799 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T013033&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37997&fm=224756889594799&tin=02508201610067®Number=0000000000091684&sum=5000 0 [01:30:34]StoreToDocumentArchive [01:30:34]shift 554 fd 37997 [01:30:34]save to /storage/0554/doc_00037997 [01:30:34]save last doc name /storage/0554/doc_00037997 to /storage/kkm_last_doc_name [01:30:34]save OK [01:30:34]Clear old archive folders... [01:30:34]ProcessDocumentItem done err = 0, tmpTLVsize=269 [01:30:34]tlvbuf is 012DE700 [01:30:34]SAM_PROTO_ClearQueue [01:30:34]wFMCommunicate request_size=4 [01:30:34]MH_SAM_APDU [01:30:34]CAPDU: 80 09 00 00 [01:30:34]Write to MH i2c: E2 08 00 99 02 80 09 00 00 00 00 00 00 0D [01:30:34]Write i2c OK [01:30:34]MH_I2C_Read... [01:30:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:30:34]Read from MH i2c: E2 [01:30:34]MH_I2C_Read... [01:30:34]Read from MH i2c: E2 03 00 [01:30:34]MH_I2C_Read... [01:30:34]Read from MH i2c: E2 03 00 99 02 00 90 00 0F [01:30:34]RAPDU: 90 00 [01:30:34]wFMCommunicate OK [01:30:34]SAM_PROTO_ClearQueue done [01:30:34]KKMCreateOFDPacket [01:30:34]OFDProtocolAddRootSTLVToBuf [01:30:34]FM_MakeSignedData [01:30:34]FM_MakeSignedData [01:30:34]SAM_PROTO_SignData [01:30:34]wFMCommunicate request_size=4 [01:30:34]MH_SAM_APDU [01:30:34]CAPDU: 80 0D 01 02 [01:30:34]Write to MH i2c: E2 08 00 9A 02 80 0D 01 02 00 00 00 00 15 [01:30:34]Write i2c OK [01:30:34]MH_I2C_Read... [01:30:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:30:34]Read from MH i2c: E2 [01:30:34]MH_I2C_Read... [01:30:34]Read from MH i2c: E2 03 00 [01:30:34]MH_I2C_Read... [01:30:34]Read from MH i2c: E2 03 00 9A 02 00 90 00 10 [01:30:34]RAPDU: 90 00 [01:30:34]wFMCommunicate OK [01:30:34]wFMCommunicate request_size=255 [01:30:34]MH_SAM_APDU [01:30:34]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 B9 DD 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [01:30:34]Write to MH i2c: E2 02 01 9B 02 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 B9 DD 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 7F [01:30:34]Write i2c OK [01:30:34]MH_I2C_Read... [01:30:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:30:34]Read from MH i2c: E2 [01:30:34]MH_I2C_Read... [01:30:34]Read from MH i2c: E2 03 00 [01:30:34]MH_I2C_Read... [01:30:34]Read from MH i2c: E2 03 00 9B 02 00 90 00 11 [01:30:34]RAPDU: 90 00 [01:30:34]wFMCommunicate OK [01:30:34]wFMCommunicate request_size=28 [01:30:34]MH_SAM_APDU [01:30:34]CAPDU: 80 0D 02 02 17 37 31 38 34 31 10 04 04 00 6D 94 00 00 35 04 06 00 CC 6A 4A 90 AB AF [01:30:34]Write to MH i2c: E2 1F 00 9C 02 80 0D 02 02 17 00 37 31 38 34 31 10 04 04 00 6D 94 00 00 35 04 06 00 CC 6A 4A 90 AB AF 00 00 0D [01:30:34]Write i2c OK [01:30:34]MH_I2C_Read... [01:30:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:30:34]Read from MH i2c: E2 [01:30:34]MH_I2C_Read... [01:30:34]Read from MH i2c: E2 03 00 [01:30:34]MH_I2C_Read... [01:30:34]Read from MH i2c: E2 03 00 9C 02 00 90 00 12 [01:30:34]RAPDU: 90 00 [01:30:34]wFMCommunicate OK [01:30:34]wFMCommunicate request_size=4 [01:30:34]MH_SAM_APDU [01:30:34]CAPDU: 80 0D 03 02 [01:30:34]Write to MH i2c: E2 08 00 9D 02 80 0D 03 02 00 00 00 00 1A [01:30:34]Write i2c OK [01:30:34]MH_I2C_Read... [01:30:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:30:34]Read from MH i2c: E2 [01:30:34]MH_I2C_Read... [01:30:34]Read from MH i2c: E2 0B 00 [01:30:34]MH_I2C_Read... [01:30:34]Read from MH i2c: E2 0B 00 9D 02 00 65 45 7A E3 B1 89 2C 4A 90 00 D2 [01:30:34]RAPDU: 65 45 7A E3 B1 89 2C 4A 90 00 [01:30:34]wFMCommunicate OK [01:30:34]SAM_PROTO_SignData done [01:30:34]FM_MakeSignedData done [01:30:34]CreateOFDProtocolMessage [01:30:34]wFMCommunicate request_size=4 [01:30:34]MH_SAM_APDU [01:30:34]CAPDU: 80 11 00 00 [01:30:34]Write to MH i2c: E2 08 00 9E 02 80 11 00 00 00 00 00 00 1A [01:30:34]Write i2c OK [01:30:34]MH_I2C_Read... [01:30:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:30:34]Read from MH i2c: E2 [01:30:34]MH_I2C_Read... [01:30:34]Read from MH i2c: E2 17 00 [01:30:34]MH_I2C_Read... [01:30:34]Read from MH i2c: E2 17 00 9E 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 6A [01:30:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:30:34]wFMCommunicate OK [01:30:34]CreateOFDProtocolMessage done [01:30:34]OFDSenderStorePacket 37997 [01:30:34]StoreOFDPacket docnum=37997 [01:30:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 21 01 00 00 BA 25 19 01 04 6F 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 B9 DD 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6D 94 00 00 35 04 06 00 CC 6A 4A 90 AB AF 65 45 7A E3 B1 89 2C 4A [01:30:34]CheckFolder [01:30:34]dirname=/storage/ofd_packets [01:30:34]CheckFolder done [01:30:34]ProducePacketName [01:30:34]name=ofd_packets/00037997 [01:30:34]NVStorageSaveData ofd_packets/00037997 [01:30:34]File name is /storage/ofd_packets/00037997 [01:30:34]Write 319 bytes [01:30:34]NVStorageSaveData done [01:30:34]OFDSenderStorePacket done [01:30:34]KKMCreateOFDPacket done [01:30:34]NVStorageSaveData kkm_last_timestamp [01:30:34]File name is /storage/kkm_last_timestamp [01:30:34]Write 4 bytes [01:30:34]NVStorageSaveData done [01:30:34]ExternCall_PrintAddStr [01:30:34]wPrintStart [01:30:34]Write to MH i2c: 01 00 00 9F 02 A1 [01:30:34]Write i2c OK [01:30:34]MH_I2C_Read... [01:30:34]Read from MH i2c: 01 [01:30:34]MH_I2C_Read... [01:30:34]Read from MH i2c: 01 07 00 [01:30:34]MH_I2C_Read... [01:30:34]Read from MH i2c: 01 07 00 9F 02 00 00 00 00 00 FF 0F B6 [01:30:34]RasterBufferAndPrint [01:30:34]line Счет N : (3)35295 [01:30:34]line ИНН: 02508201610067 [01:30:34]line Контрольно-Кассовый Чек [01:30:34]line ПРОДАЖА [01:30:34]line Товар: 4700000160358 [01:30:34]line Вода Легенда 1л [01:30:34]line 1.000 * 50.00 [01:30:34]line = 50.00 [01:30:34]line НДС 12% НСП 1% [01:30:34]line > о реализуемом товаре [01:30:34]line ИТОГО: 50.00 [01:30:34]line НСП 1% : 0.44 [01:30:34]line НДС 12% : 5.31 [01:30:34]line Наличными: 50.00 [01:30:34]line Безнал.: 0.00 [01:30:34]line Место: АЗС № 126 "Партнер Нефть" [01:30:34]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [01:30:34]line СНО: Общий режим [01:30:34]line Чек 5 31.10.2024 01:30 [01:30:34]line Смена: 554 ФФД: 1.0 [01:30:34]line ЗНМ: 0300000092 [01:30:34]line РНМ: 0000000000091684 [01:30:34]line Версия ККМ: 001 [01:30:34]line ФМ: 0000000000871841 [01:30:34]line ФД: 37997 [01:30:34]line ФПД: 224756889594799 [01:30:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T013033&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37997&fm=224756889594799&tin=02508201610067®Number=0000000000091684&sum=5000 [01:30:34]OFD Sender: Processing packet 37997 [packets to send 42, broken 41] [01:30:34]ProducePacketName [01:30:34]name=ofd_packets/00037997 [01:30:34]OFD Sender: To server: pG, [01:30:34]CommunicateWithHost lk.salyk.kg:30040 [01:30:34]ConnectInit lk.salyk.kg [01:30:34]line 0 [01:30:34]written 0, free lines is 4095 [01:30:35]Write to MH i2c: 01 00 00 C7 02 C9 [01:30:35]Write i2c OK [01:30:35]MH_I2C_Read... [01:30:35]Read from MH i2c: 01 [01:30:35]MH_I2C_Read... [01:30:35]Read from MH i2c: 01 07 00 [01:30:35]MH_I2C_Read... [01:30:35]Read from MH i2c: 01 07 00 C7 02 00 00 00 00 00 C8 0C A4 [01:30:35]RasterBufferAndPrint [01:30:35]line [01:30:35]line [01:30:35]line [01:30:35]line [01:30:35]line [01:30:35]written 0, free lines is 3277 [01:30:35]MH_Cut [01:30:35]Write to MH i2c: D1 01 00 CE 02 01 A2 [01:30:35]Write i2c OK [01:30:35]MH_I2C_Read... [01:30:35]Read from MH i2c: D1 [01:30:35]MH_I2C_Read... [01:30:35]Read from MH i2c: D1 01 00 [01:30:35]MH_I2C_Read... [01:30:35]Read from MH i2c: D1 01 00 CE 02 00 A1 [01:30:35]Write to MH i2c: 01 00 00 CF 02 D1 [01:30:35]Write i2c OK [01:30:35]MH_I2C_Read... [01:30:35]Connected sock=11 [01:30:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 21 01 00 00 BA 25 19 01 04 6F 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 B9 DD 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6D 94 00 00 35 04 06 00 CC 6A 4A 90 AB AF 65 45 7A E3 B1 89 2C 4A [01:30:36]*** Cut start [01:30:36]*** Partial cut [01:30:36]*** CUTSNS_PIN = 1 [01:30:36]*** CUTSNS_PIN = 0 [01:30:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 B4 30 47 00 D4 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6D 94 00 00 F4 03 04 00 A7 88 22 67 B6 04 01 00 00 81 22 3D 89 91 38 5A 6A [01:30:36]CommunicateWithHost err = 0 [01:30:36]CheckOFDResponse [01:30:36]1017 (14) - 77093643461234 [01:30:36]1041 (16) - 0000000000871841 [01:30:36]1040 (4) - 37997 [01:30:36]1012 (4) - 30.10.2024 19:27 [01:30:36]1206 (1) - 0 [01:30:36]OFD Sender: Remove packet 37997 [01:30:36]ProducePacketName [01:30:36]name=ofd_packets/00037997 [01:30:36]NVStorageDeleteData [01:30:36]*** Brake cut motor [01:30:36]OFD Sender: No OFD packet to send [01:30:36]Read from MH i2c: 01 [01:30:36]MH_I2C_Read... [01:30:36]*** Stop cut motor [01:30:36]*** Cut end [01:30:36]Read from MH i2c: 01 07 00 [01:30:36]MH_I2C_Read... [01:30:36]Read from MH i2c: 01 07 00 CF 02 00 00 00 00 00 FF 0F E6 [01:30:36]process_action close_receipt done [01:30:36]requested_data is exist [01:30:36]produce_requested_data [01:30:36]requested_item fm.sn is exist - process it [01:30:36]wFMCommunicate request_size=4 [01:30:36]MH_SAM_APDU [01:30:36]CAPDU: 80 11 00 00 [01:30:36]Write to MH i2c: E2 08 00 D0 02 80 11 00 00 00 00 00 00 4C [01:30:36]Write i2c OK [01:30:36]MH_I2C_Read... [01:30:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:30:36]Read from MH i2c: E2 [01:30:36]MH_I2C_Read... [01:30:36]Read from MH i2c: E2 17 00 [01:30:36]MH_I2C_Read... [01:30:36]Read from MH i2c: E2 17 00 D0 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 9C [01:30:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:30:36]wFMCommunicate OK [01:30:36]requested_item fd.num is exist - process it [01:30:36]SAM_PROTO_GetFieldsCounters [01:30:36]wFMCommunicate request_size=4 [01:30:36]MH_SAM_APDU [01:30:36]CAPDU: 80 13 00 00 [01:30:36]Write to MH i2c: E2 08 00 D1 02 80 13 00 00 00 00 00 00 4F [01:30:36]Write i2c OK [01:30:36]MH_I2C_Read... [01:30:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:30:36]Read from MH i2c: E2 [01:30:36]MH_I2C_Read... [01:30:36]Read from MH i2c: E2 62 00 [01:30:36]MH_I2C_Read... [01:30:36]Read from MH i2c: E2 62 00 D1 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 6D 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 AC [01:30:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 6D 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:30:36]wFMCommunicate OK [01:30:36]SAM_PROTO_GetFieldsCounters done [01:30:36]requested_item shift.num is exist - process it [01:30:36]requested_item shift.opened is exist - process it [01:30:36]req_shift_opened [01:30:36]FM_GetShiftState [01:30:36]SAM_PROTO_GetShiftState [01:30:36]wFMCommunicate request_size=4 [01:30:36]MH_SAM_APDU [01:30:36]CAPDU: 80 13 01 00 [01:30:36]Write to MH i2c: E2 08 00 D2 02 80 13 01 00 00 00 00 00 51 [01:30:36]Write i2c OK [01:30:36]MH_I2C_Read... [01:30:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:30:37]Read from MH i2c: E2 [01:30:37]MH_I2C_Read... [01:30:37]Read from MH i2c: E2 0E 00 [01:30:37]MH_I2C_Read... [01:30:37]Read from MH i2c: E2 0E 00 D2 02 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 8B [01:30:37]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [01:30:37]wFMCommunicate OK [01:30:37]SAM_PROTO_GetShiftState done [01:30:37]FM_GetShiftState done [01:30:37]req_shift_opened done [01:30:37]requested_item shift.open_date is exist - process it [01:30:37]req_shift_open_date [01:30:37]req_shift_open_date done [01:30:37]produce_requested_data done [01:30:37]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37997,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [01:30:37]process_action_free close_receipt [01:30:37]json_value_free [01:30:37]json_value_free done [01:30:37]process_json_proto returns [01:30:37]Send response to host [01:30:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37997,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [01:30:37]free response buf [01:30:37]execute_script done [01:30:37]execute_script returns [01:30:37]free content buf [01:30:37]Sock 7.Close socket [01:30:37]Sock 7.Thread stoped [01:30:41]OFD Sender: No OFD packet to send [01:30:46]OFD Sender: No OFD packet to send [01:30:51]OFD Sender: No OFD packet to send [01:30:56]OFD Sender: No OFD packet to send [01:31:01]OFD Sender: No OFD packet to send [01:31:06]OFD Sender: No OFD packet to send [01:31:11]OFD Sender: No OFD packet to send [01:31:16]OFD Sender: No OFD packet to send [01:31:21]OFD Sender: No OFD packet to send [01:31:26]OFD Sender: No OFD packet to send [01:31:31]OFD Sender: No OFD packet to send [01:31:36]OFD Sender: No OFD packet to send [01:31:41]OFD Sender: No OFD packet to send [01:31:46]OFD Sender: No OFD packet to send [01:31:51]OFD Sender: No OFD packet to send [01:31:56]OFD Sender: No OFD packet to send [01:32:01]OFD Sender: No OFD packet to send [01:32:06]OFD Sender: No OFD packet to send [01:32:11]OFD Sender: No OFD packet to send [01:32:16]OFD Sender: No OFD packet to send [01:32:21]OFD Sender: No OFD packet to send [01:32:26]OFD Sender: No OFD packet to send [01:32:31]OFD Sender: No OFD packet to send [01:32:36]OFD Sender: No OFD packet to send [01:32:41]OFD Sender: No OFD packet to send [01:32:46]OFD Sender: No OFD packet to send [01:32:51]OFD Sender: No OFD packet to send [01:32:56]OFD Sender: No OFD packet to send [01:33:01]OFD Sender: No OFD packet to send [01:33:06]OFD Sender: No OFD packet to send [01:33:11]OFD Sender: No OFD packet to send [01:33:16]OFD Sender: No OFD packet to send [01:33:21]OFD Sender: No OFD packet to send [01:33:26]OFD Sender: No OFD packet to send [01:33:31]OFD Sender: No OFD packet to send [01:33:36]OFD Sender: No OFD packet to send [01:33:41]OFD Sender: No OFD packet to send [01:33:46]OFD Sender: No OFD packet to send [01:33:51]OFD Sender: No OFD packet to send [01:33:56]OFD Sender: No OFD packet to send [01:34:01]OFD Sender: No OFD packet to send [01:34:06]OFD Sender: No OFD packet to send [01:34:11]OFD Sender: No OFD packet to send [01:34:16]OFD Sender: No OFD packet to send [01:34:21]OFD Sender: No OFD packet to send [01:34:26]OFD Sender: No OFD packet to send [01:34:31]OFD Sender: No OFD packet to send [01:34:36]OFD Sender: No OFD packet to send [01:34:41]OFD Sender: No OFD packet to send [01:34:46]OFD Sender: No OFD packet to send [01:34:51]OFD Sender: No OFD packet to send [01:34:56]OFD Sender: No OFD packet to send [01:35:01]OFD Sender: No OFD packet to send [01:35:06]OFD Sender: No OFD packet to send [01:35:11]OFD Sender: No OFD packet to send [01:35:16]OFD Sender: No OFD packet to send [01:35:22]OFD Sender: No OFD packet to send [01:35:27]OFD Sender: No OFD packet to send [01:35:32]OFD Sender: No OFD packet to send [01:35:37]OFD Sender: No OFD packet to send [01:35:42]OFD Sender: No OFD packet to send [01:35:47]OFD Sender: No OFD packet to send [01:35:52]OFD Sender: No OFD packet to send [01:35:57]OFD Sender: No OFD packet to send [01:36:02]OFD Sender: No OFD packet to send [01:36:07]OFD Sender: No OFD packet to send [01:36:12]OFD Sender: No OFD packet to send [01:36:17]OFD Sender: No OFD packet to send [01:36:22]OFD Sender: No OFD packet to send [01:36:27]OFD Sender: No OFD packet to send [01:36:32]OFD Sender: No OFD packet to send [01:36:37]OFD Sender: No OFD packet to send [01:36:42]OFD Sender: No OFD packet to send [01:36:47]OFD Sender: No OFD packet to send [01:36:52]OFD Sender: No OFD packet to send [01:36:57]OFD Sender: No OFD packet to send [01:37:02]OFD Sender: No OFD packet to send [01:37:07]OFD Sender: No OFD packet to send [01:37:12]OFD Sender: No OFD packet to send [01:37:17]OFD Sender: No OFD packet to send [01:37:22]OFD Sender: No OFD packet to send [01:37:27]OFD Sender: No OFD packet to send [01:37:32]OFD Sender: No OFD packet to send [01:37:37]OFD Sender: No OFD packet to send [01:37:42]OFD Sender: No OFD packet to send [01:37:47]OFD Sender: No OFD packet to send [01:37:52]OFD Sender: No OFD packet to send [01:37:57]OFD Sender: No OFD packet to send [01:38:02]OFD Sender: No OFD packet to send [01:38:07]OFD Sender: No OFD packet to send [01:38:12]OFD Sender: No OFD packet to send [01:38:17]OFD Sender: No OFD packet to send [01:38:22]OFD Sender: No OFD packet to send [01:38:27]OFD Sender: No OFD packet to send [01:38:32]OFD Sender: No OFD packet to send [01:38:37]OFD Sender: No OFD packet to send [01:38:42]OFD Sender: No OFD packet to send [01:38:47]OFD Sender: No OFD packet to send [01:38:52]OFD Sender: No OFD packet to send [01:38:57]OFD Sender: No OFD packet to send [01:39:02]OFD Sender: No OFD packet to send [01:39:07]OFD Sender: No OFD packet to send [01:39:12]OFD Sender: No OFD packet to send [01:39:17]OFD Sender: No OFD packet to send [01:39:22]OFD Sender: No OFD packet to send [01:39:27]OFD Sender: No OFD packet to send [01:39:32]OFD Sender: No OFD packet to send [01:39:37]OFD Sender: No OFD packet to send [01:39:42]OFD Sender: No OFD packet to send [01:39:47]OFD Sender: No OFD packet to send [01:39:52]OFD Sender: No OFD packet to send [01:39:57]OFD Sender: No OFD packet to send [01:40:02]OFD Sender: No OFD packet to send [01:40:07]OFD Sender: No OFD packet to send [01:40:12]OFD Sender: No OFD packet to send [01:40:17]OFD Sender: No OFD packet to send [01:40:22]OFD Sender: No OFD packet to send [01:40:27]OFD Sender: No OFD packet to send [01:40:32]OFD Sender: No OFD packet to send [01:40:37]OFD Sender: No OFD packet to send [01:40:42]OFD Sender: No OFD packet to send [01:40:47]OFD Sender: No OFD packet to send [01:40:52]OFD Sender: No OFD packet to send [01:40:57]OFD Sender: No OFD packet to send [01:41:02]OFD Sender: No OFD packet to send [01:41:07]OFD Sender: No OFD packet to send [01:41:12]OFD Sender: No OFD packet to send [01:41:17]OFD Sender: No OFD packet to send [01:41:22]OFD Sender: No OFD packet to send [01:41:27]OFD Sender: No OFD packet to send [01:41:32]OFD Sender: No OFD packet to send [01:41:37]OFD Sender: No OFD packet to send [01:41:42]OFD Sender: No OFD packet to send [01:41:47]OFD Sender: No OFD packet to send [01:41:52]OFD Sender: No OFD packet to send [01:41:57]OFD Sender: No OFD packet to send [01:42:02]OFD Sender: No OFD packet to send [01:42:07]OFD Sender: No OFD packet to send [01:42:12]OFD Sender: No OFD packet to send [01:42:17]OFD Sender: No OFD packet to send [01:42:22]OFD Sender: No OFD packet to send [01:42:27]OFD Sender: No OFD packet to send [01:42:32]OFD Sender: No OFD packet to send [01:42:37]OFD Sender: No OFD packet to send [01:42:42]OFD Sender: No OFD packet to send [01:42:47]OFD Sender: No OFD packet to send [01:42:52]OFD Sender: No OFD packet to send [01:42:52]accept exits with 9 [01:42:52]New connection [01:42:52]New thread 3067043172 created [01:42:52]Thread 3067186532 joined [01:42:52]Waiting for new connection... [01:42:52] Sock 9.Parse request [01:42:52]Sock 9.Check first char [01:42:52]Sock 9.First char is OK [01:42:52]request: POST /json_proto HTTP/1.0 [01:42:52]Method: POST [01:42:52]URL: /json_proto [01:42:52]Method is POST - this is cgi request [01:42:52]url: /json_proto [01:42:52]query_string will be loaded in cgi processing [01:42:52]execute_cgi json_proto POST (null) [01:42:52]execute_cgi path=json_proto method=POST [01:42:52]POST find Content-Length [01:42:52]Host: 172.17.40.196:8080 [01:42:52]Content-Length: 1278 [01:42:52]Content-Type: application/json [01:42:52] [01:42:52]POST finish read [01:42:52]Found Content-Length = 1278 [01:42:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35296", "tax_sys" : 0, "items" : [ { "code": "4700003010803", "name": "\u0427\u0430\u0439 \u041B\u0435\u0442\u0441 \u0413\u043E\u0443 \u041C\u0430\u043B\u0438\u043D\u0430 0,9\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015235784", "name": "\u041F\u0435\u0447. \u0441\u0434. \u042F\u0448\u043A\u0438\u043D\u043E \u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 137\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:42:52]execute_script... [01:42: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)35296", "tax_sys" : 0, "items" : [ { "code": "4700003010803", "name": "\u0427\u0430\u0439 \u041B\u0435\u0442\u0441 \u0413\u043E\u0443 \u041C\u0430\u043B\u0438\u043D\u0430 0,9\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015235784", "name": "\u041F\u0435\u0447. \u0441\u0434. \u042F\u0448\u043A\u0438\u043D\u043E \u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 137\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:42:52]POST & json_proto [01:42:52]process_json_proto [01:42:52]json parsed OK: [01:42:52]protocol is kg_v1.0 [01:42:52]action value=close_receipt [01:42:52]process_action close_receipt [01:42:52]cmd_close_receipt [01:42:52]MH_GetDate [01:42:52]Write to MH i2c: F0 00 00 D3 02 C4 [01:42:52]Write i2c OK [01:42:52]MH_I2C_Read... [01:42:52]Read from MH i2c: F0 [01:42:52]MH_I2C_Read... [01:42:52]Read from MH i2c: F0 09 00 [01:42:52]MH_I2C_Read... [01:42:52]Read from MH i2c: F0 09 00 D3 02 00 9D E0 22 67 5B 68 A1 66 9D [01:42:52]GetLastDocTimeStamp 1730338233 [01:42:52]current date 1730338973 [01:42:52]FM_GetShiftState [01:42:52]SAM_PROTO_GetShiftState [01:42:52]wFMCommunicate request_size=4 [01:42:52]MH_SAM_APDU [01:42:52]CAPDU: 80 13 01 00 [01:42:52]Write to MH i2c: E2 08 00 D4 02 80 13 01 00 00 00 00 00 53 [01:42:52]Write i2c OK [01:42:52]MH_I2C_Read... [01:42:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:42:52]Read from MH i2c: E2 [01:42:52]MH_I2C_Read... [01:42:52]Read from MH i2c: E2 0E 00 [01:42:52]MH_I2C_Read... [01:42:52]Read from MH i2c: E2 0E 00 D4 02 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 8D [01:42:52]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [01:42:52]wFMCommunicate OK [01:42:52]SAM_PROTO_GetShiftState done [01:42:52]FM_GetShiftState done [01:42:52]opened in 1730333148 [01:42:52]opened+sec_in_day 1730419548 [01:42:52]quantity*price = 8500 [01:42:52]sum+1 = 8501 [01:42:52]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480364 Напиток энерг Nitro экзотик 0.45 ж/б 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607015235784 Печ. сд. Яшкино клубника 137г 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 270.00 НСП 1% : 2.39 НДС 12% : 28.68 Наличными: 270.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 6 31.10.2024 01:42 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37998 ФПД: 84312993657454 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T014253&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37998&fm=84312993657454&tin=02508201610067®Number=0000000000091684&sum=27000 0 [01:42:53]StoreToDocumentArchive [01:42:53]shift 554 fd 37998 [01:42:53]save to /storage/0554/doc_00037998 [01:42:53]save last doc name /storage/0554/doc_00037998 to /storage/kkm_last_doc_name [01:42:53]save OK [01:42:53]Clear old archive folders... [01:42:53]ProcessDocumentItem done err = 0, tmpTLVsize=533 [01:42:53]tlvbuf is 01170990 [01:42:53]SAM_PROTO_ClearQueue [01:42:53]wFMCommunicate request_size=4 [01:42:53]MH_SAM_APDU [01:42:53]CAPDU: 80 09 00 00 [01:42:53]Write to MH i2c: E2 08 00 E1 02 80 09 00 00 00 00 00 00 55 [01:42:53]Write i2c OK [01:42:53]MH_I2C_Read... [01:42:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:42:53]Read from MH i2c: E2 [01:42:53]MH_I2C_Read... [01:42:53]Read from MH i2c: E2 03 00 [01:42:53]MH_I2C_Read... [01:42:53]Read from MH i2c: E2 03 00 E1 02 00 90 00 57 [01:42:53]RAPDU: 90 00 [01:42:53]wFMCommunicate OK [01:42:53]SAM_PROTO_ClearQueue done [01:42:53]KKMCreateOFDPacket [01:42:53]OFDProtocolAddRootSTLVToBuf [01:42:53]FM_MakeSignedData [01:42:53]FM_MakeSignedData [01:42:53]SAM_PROTO_SignData [01:42:53]wFMCommunicate request_size=4 [01:42:53]MH_SAM_APDU [01:42:53]CAPDU: 80 0D 01 02 [01:42:53]Write to MH i2c: E2 08 00 E2 02 80 0D 01 02 00 00 00 00 5D [01:42:53]Write i2c OK [01:42:53]MH_I2C_Read... [01:42:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:42:53]Read from MH i2c: E2 [01:42:53]MH_I2C_Read... [01:42:53]Read from MH i2c: E2 03 00 [01:42:53]MH_I2C_Read... [01:42:53]Read from MH i2c: E2 03 00 E2 02 00 90 00 58 [01:42:53]RAPDU: 90 00 [01:42:53]wFMCommunicate OK [01:42:53]wFMCommunicate request_size=255 [01:42:53]MH_SAM_APDU [01:42:53]CAPDU: 80 0D 02 02 FA 03 00 15 02 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 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 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:42:54]Write to MH i2c: E2 02 01 E3 02 80 0D 02 02 FA 00 03 00 15 02 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 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 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 00 00 97 [01:42:54]Write i2c OK [01:42:54]MH_I2C_Read... [01:42:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:42:54]Read from MH i2c: E2 [01:42:54]MH_I2C_Read... [01:42:54]Read from MH i2c: E2 03 00 [01:42:54]MH_I2C_Read... [01:42:54]Read from MH i2c: E2 03 00 E3 02 00 90 00 59 [01:42:54]RAPDU: 90 00 [01:42:54]wFMCommunicate OK [01:42:54]wFMCommunicate request_size=255 [01:42:54]MH_SAM_APDU [01:42:54]CAPDU: 80 0D 02 02 FA 01 23 04 75 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 38 34 06 04 31 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 34 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 9D E0 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 [01:42:54]Write to MH i2c: E2 02 01 E4 02 80 0D 02 02 FA 00 01 23 04 75 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 38 34 06 04 31 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 34 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 9D E0 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 00 00 18 [01:42:54]Write i2c OK [01:42:54]MH_I2C_Read... [01:42:54]Read from MH i2c: E2 [01:42:54]MH_I2C_Read... [01:42:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:42:54]Read from MH i2c: E2 03 00 [01:42:54]MH_I2C_Read... [01:42:54]Read from MH i2c: E2 03 00 E4 02 00 90 00 5A [01:42:54]RAPDU: 90 00 [01:42:54]wFMCommunicate OK [01:42:54]wFMCommunicate request_size=42 [01:42:54]MH_SAM_APDU [01:42:54]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6E 94 00 00 35 04 06 00 4C AE A6 09 72 6E [01:42:54]Write to MH i2c: E2 2D 00 E5 02 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6E 94 00 00 35 04 06 00 4C AE A6 09 72 6E 00 00 BE [01:42:54]Write i2c OK [01:42:54]MH_I2C_Read... [01:42:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:42:54]Read from MH i2c: E2 [01:42:54]MH_I2C_Read... [01:42:54]Read from MH i2c: E2 03 00 [01:42:54]MH_I2C_Read... [01:42:54]Read from MH i2c: E2 03 00 E5 02 00 90 00 5B [01:42:54]RAPDU: 90 00 [01:42:54]wFMCommunicate OK [01:42:54]wFMCommunicate request_size=4 [01:42:54]MH_SAM_APDU [01:42:54]CAPDU: 80 0D 03 02 [01:42:54]Write to MH i2c: E2 08 00 E6 02 80 0D 03 02 00 00 00 00 63 [01:42:54]Write i2c OK [01:42:54]MH_I2C_Read... [01:42:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:42:54]Read from MH i2c: E2 [01:42:54]MH_I2C_Read... [01:42:54]Read from MH i2c: E2 0B 00 [01:42:54]MH_I2C_Read... [01:42:54]Read from MH i2c: E2 0B 00 E6 02 00 41 B0 33 D1 1F 32 00 24 90 00 CE [01:42:54]RAPDU: 41 B0 33 D1 1F 32 00 24 90 00 [01:42:54]wFMCommunicate OK [01:42:54]SAM_PROTO_SignData done [01:42:54]FM_MakeSignedData done [01:42:54]CreateOFDProtocolMessage [01:42:54]wFMCommunicate request_size=4 [01:42:54]MH_SAM_APDU [01:42:54]CAPDU: 80 11 00 00 [01:42:54]Write to MH i2c: E2 08 00 E7 02 80 11 00 00 00 00 00 00 63 [01:42:54]Write i2c OK [01:42:54]MH_I2C_Read... [01:42:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:42:54]Read from MH i2c: E2 [01:42:54]MH_I2C_Read... [01:42:54]Read from MH i2c: E2 17 00 [01:42:54]MH_I2C_Read... [01:42:54]Read from MH i2c: E2 17 00 E7 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B3 [01:42:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:42:54]wFMCommunicate OK [01:42:54]CreateOFDProtocolMessage done [01:42:54]OFDSenderStorePacket 37998 [01:42:54]StoreOFDPacket docnum=37998 [01:42:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 29 02 00 00 32 27 21 02 4D E4 5A 03 01 00 03 00 15 02 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 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 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 75 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 38 34 06 04 31 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 34 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 9D E0 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6E 94 00 00 35 04 06 00 4C AE A6 09 72 6E 41 B0 33 D1 1F 32 00 24 [01:42:54]CheckFolder [01:42:54]dirname=/storage/ofd_packets [01:42:54]CheckFolder done [01:42:54]ProducePacketName [01:42:54]name=ofd_packets/00037998 [01:42:54]NVStorageSaveData ofd_packets/00037998 [01:42:54]File name is /storage/ofd_packets/00037998 [01:42:54]Write 583 bytes [01:42:54]NVStorageSaveData done [01:42:54]OFDSenderStorePacket done [01:42:54]KKMCreateOFDPacket done [01:42:54]NVStorageSaveData kkm_last_timestamp [01:42:54]File name is /storage/kkm_last_timestamp [01:42:54]Write 4 bytes [01:42:54]NVStorageSaveData done [01:42:54]ExternCall_PrintAddStr [01:42:54]wPrintStart [01:42:54]Write to MH i2c: 01 00 00 E8 02 EA [01:42:54]Write i2c OK [01:42:54]MH_I2C_Read... [01:42:54]Read from MH i2c: 01 [01:42:54]MH_I2C_Read... [01:42:54]Read from MH i2c: 01 07 00 [01:42:54]MH_I2C_Read... [01:42:54]Read from MH i2c: 01 07 00 E8 02 00 00 00 00 00 FF 0F FF [01:42:54]RasterBufferAndPrint [01:42:54]line Счет N : (3)35296 [01:42:54]line ИНН: 02508201610067 [01:42:54]line Контрольно-Кассовый Чек [01:42:54]line ПРОДАЖА [01:42:54]line Товар: 4700003010803 [01:42:54]line Чай Летс Гоу Малина 0,9л [01:42:54]line 1.000 * 85.00 [01:42:54]line = 85.00 [01:42:54]line НДС 12% НСП 1% [01:42:54]line > о реализуемом товаре [01:42:54]line Товар: 4700000480364 [01:42:54]line Напиток энерг Nitro экзотик 0.45 ж/б [01:42:54]line 1.000 * 95.00 [01:42:54]line = 95.00 [01:42:54]line НДС 12% НСП 1% [01:42:54]line > о реализуемом товаре [01:42:54]line Товар: 4607015235784 [01:42:54]line Печ. сд. Яшкино клубника 137г [01:42:54]line 1.000 * 90.00 [01:42:54]line = 90.00 [01:42:54]line НДС 12% НСП 1% [01:42:54]line > о реализуемом товаре [01:42:54]line ИТОГО: 270.00 [01:42:54]line НСП 1% : 2.39 [01:42:54]line НДС 12% : 28.68 [01:42:54]line Наличными: 270.00 [01:42:54]line Безнал.: 0.00 [01:42:54]line Место: АЗС № 126 "Партнер Нефть" [01:42:54]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [01:42:54]line СНО: Общий режим [01:42:54]line Чек 6 31.10.2024 01:42 [01:42:54]line Смена: 554 ФФД: 1.0 [01:42:54]line ЗНМ: 0300000092 [01:42:54]line РНМ: 0000000000091684 [01:42:54]line Версия ККМ: 001 [01:42:54]line ФМ: 0000000000871841 [01:42:54]line ФД: 37998 [01:42:54]line ФПД: 84312993657454 [01:42:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T014253&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37998&fm=84312993657454&tin=02508201610067®Number=0000000000091684&sum=27000 [01:42:55]line 0 [01:42:55]OFD Sender: Processing packet 37998 [packets to send 42, broken 41] [01:42:55]ProducePacketName [01:42:55]name=ofd_packets/00037998 [01:42:55]OFD Sender: To server: pG, [01:42:55]CommunicateWithHost lk.salyk.kg:30040 [01:42:55]ConnectInit lk.salyk.kg [01:42:55]written 0, free lines is 4095 [01:42:55]Write to MH i2c: 01 00 00 1E 03 21 [01:42:55]Write i2c OK [01:42:55]MH_I2C_Read... [01:42:55]Read from MH i2c: 01 [01:42:55]MH_I2C_Read... [01:42:55]Read from MH i2c: 01 07 00 [01:42:55]MH_I2C_Read... [01:42:55]Read from MH i2c: 01 07 00 1E 03 00 00 00 00 00 E0 0B 13 [01:42:55]RasterBufferAndPrint [01:42:55]line [01:42:55]line [01:42:55]line [01:42:55]line [01:42:55]line [01:42:55]written 0, free lines is 3043 [01:42:55]MH_Cut [01:42:55]Write to MH i2c: D1 01 00 25 03 01 FA [01:42:55]Write i2c OK [01:42:55]MH_I2C_Read... [01:42:55]Read from MH i2c: D1 [01:42:55]MH_I2C_Read... [01:42:55]Read from MH i2c: D1 01 00 [01:42:55]MH_I2C_Read... [01:42:55]Read from MH i2c: D1 01 00 25 03 00 F9 [01:42:55]Write to MH i2c: 01 00 00 26 03 29 [01:42:55]Write i2c OK [01:42:55]MH_I2C_Read... [01:42:55]Connected sock=11 [01:42:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 29 02 00 00 32 27 21 02 4D E4 5A 03 01 00 03 00 15 02 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 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 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 75 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 38 34 06 04 31 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 34 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 9D E0 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6E 94 00 00 35 04 06 00 4C AE A6 09 72 6E 41 B0 33 D1 1F 32 00 24 [01:42:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 F3 8B 47 00 07 BF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6E 94 00 00 F4 03 04 00 8B 8B 22 67 B6 04 01 00 00 52 AF C1 51 D9 87 4E CD [01:42:56]CommunicateWithHost err = 0 [01:42:56]CheckOFDResponse [01:42:56]1017 (14) - 77093643461234 [01:42:56]1041 (16) - 0000000000871841 [01:42:56]1040 (4) - 37998 [01:42:56]1012 (4) - 30.10.2024 19:39 [01:42:56]1206 (1) - 0 [01:42:56]OFD Sender: Remove packet 37998 [01:42:56]ProducePacketName [01:42:56]name=ofd_packets/00037998 [01:42:56]NVStorageDeleteData [01:42:56]*** Cut start [01:42:56]*** Partial cut [01:42:56]*** CUTSNS_PIN = 1 [01:42:56]*** CUTSNS_PIN = 0 [01:42:56]OFD Sender: No OFD packet to send [01:42:56]*** Brake cut motor [01:42:57]Read from MH i2c: 01 [01:42:57]MH_I2C_Read... [01:42:57]*** Stop cut motor [01:42:57]*** Cut end [01:42:57]Read from MH i2c: 01 07 00 [01:42:57]MH_I2C_Read... [01:42:57]Read from MH i2c: 01 07 00 26 03 00 00 00 00 00 FF 0F 3E [01:42:57]process_action close_receipt done [01:42:57]requested_data is exist [01:42:57]produce_requested_data [01:42:57]requested_item fm.sn is exist - process it [01:42:57]wFMCommunicate request_size=4 [01:42:57]MH_SAM_APDU [01:42:57]CAPDU: 80 11 00 00 [01:42:57]Write to MH i2c: E2 08 00 27 03 80 11 00 00 00 00 00 00 A4 [01:42:57]Write i2c OK [01:42:57]MH_I2C_Read... [01:42:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:42:57]Read from MH i2c: E2 [01:42:57]MH_I2C_Read... [01:42:57]Read from MH i2c: E2 17 00 [01:42:57]MH_I2C_Read... [01:42:57]Read from MH i2c: E2 17 00 27 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F4 [01:42:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:42:57]wFMCommunicate OK [01:42:57]requested_item fd.num is exist - process it [01:42:57]SAM_PROTO_GetFieldsCounters [01:42:57]wFMCommunicate request_size=4 [01:42:57]MH_SAM_APDU [01:42:57]CAPDU: 80 13 00 00 [01:42:57]Write to MH i2c: E2 08 00 28 03 80 13 00 00 00 00 00 00 A7 [01:42:57]Write i2c OK [01:42:57]MH_I2C_Read... [01:42:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:42:57]Read from MH i2c: E2 [01:42:57]MH_I2C_Read... [01:42:57]Read from MH i2c: E2 62 00 [01:42:57]MH_I2C_Read... [01:42:57]Read from MH i2c: E2 62 00 28 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 6E 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [01:42:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 6E 94 00 00 0E 04 04 00 2A 02 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 [01:42:57]wFMCommunicate OK [01:42:57]SAM_PROTO_GetFieldsCounters done [01:42:57]requested_item shift.num is exist - process it [01:42:57]requested_item shift.opened is exist - process it [01:42:57]req_shift_opened [01:42:57]FM_GetShiftState [01:42:57]SAM_PROTO_GetShiftState [01:42:57]wFMCommunicate request_size=4 [01:42:57]MH_SAM_APDU [01:42:57]CAPDU: 80 13 01 00 [01:42:57]Write to MH i2c: E2 08 00 29 03 80 13 01 00 00 00 00 00 A9 [01:42:57]Write i2c OK [01:42:57]MH_I2C_Read... [01:42:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:42:57]Read from MH i2c: E2 [01:42:57]MH_I2C_Read... [01:42:57]Read from MH i2c: E2 0E 00 [01:42:57]MH_I2C_Read... [01:42:57]Read from MH i2c: E2 0E 00 29 03 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 E3 [01:42:57]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [01:42:57]wFMCommunicate OK [01:42:57]SAM_PROTO_GetShiftState done [01:42:57]FM_GetShiftState done [01:42:57]req_shift_opened done [01:42:57]requested_item shift.open_date is exist - process it [01:42:57]req_shift_open_date [01:42:57]req_shift_open_date done [01:42:57]produce_requested_data done [01:42:57]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37998,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [01:42:57]process_action_free close_receipt [01:42:57]json_value_free [01:42:57]json_value_free done [01:42:57]process_json_proto returns [01:42:57]Send response to host [01:42:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37998,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [01:42:57]free response buf [01:42:57]execute_script done [01:42:57]execute_script returns [01:42:57]free content buf [01:42:57]Sock 9.Close socket [01:42:57]Sock 9.Thread stoped [01:43:01]OFD Sender: No OFD packet to send [01:43:06]OFD Sender: No OFD packet to send [01:43:11]OFD Sender: No OFD packet to send [01:43:16]OFD Sender: No OFD packet to send [01:43:21]OFD Sender: No OFD packet to send [01:43:26]OFD Sender: No OFD packet to send [01:43:31]OFD Sender: No OFD packet to send [01:43:36]OFD Sender: No OFD packet to send [01:43:41]OFD Sender: No OFD packet to send [01:43:46]OFD Sender: No OFD packet to send [01:43:51]OFD Sender: No OFD packet to send [01:43:56]OFD Sender: No OFD packet to send [01:44:01]OFD Sender: No OFD packet to send [01:44:06]OFD Sender: No OFD packet to send [01:44:11]OFD Sender: No OFD packet to send [01:44:16]OFD Sender: No OFD packet to send [01:44:21]OFD Sender: No OFD packet to send [01:44:26]OFD Sender: No OFD packet to send [01:44:31]OFD Sender: No OFD packet to send [01:44:36]OFD Sender: No OFD packet to send [01:44:41]OFD Sender: No OFD packet to send [01:44:46]OFD Sender: No OFD packet to send [01:44:51]OFD Sender: No OFD packet to send [01:44:56]OFD Sender: No OFD packet to send [01:45:01]OFD Sender: No OFD packet to send [01:45:06]OFD Sender: No OFD packet to send [01:45:11]OFD Sender: No OFD packet to send [01:45:16]OFD Sender: No OFD packet to send [01:45:21]OFD Sender: No OFD packet to send [01:45:26]OFD Sender: No OFD packet to send [01:45:31]OFD Sender: No OFD packet to send [01:45:36]OFD Sender: No OFD packet to send [01:45:41]OFD Sender: No OFD packet to send [01:45:46]OFD Sender: No OFD packet to send [01:45:51]OFD Sender: No OFD packet to send [01:45:56]OFD Sender: No OFD packet to send [01:46:01]OFD Sender: No OFD packet to send [01:46:06]OFD Sender: No OFD packet to send [01:46:11]OFD Sender: No OFD packet to send [01:46:16]OFD Sender: No OFD packet to send [01:46:21]OFD Sender: No OFD packet to send [01:46:26]OFD Sender: No OFD packet to send [01:46:31]OFD Sender: No OFD packet to send [01:46:36]OFD Sender: No OFD packet to send [01:46:41]OFD Sender: No OFD packet to send [01:46:46]OFD Sender: No OFD packet to send [01:46:51]OFD Sender: No OFD packet to send [01:46:56]OFD Sender: No OFD packet to send [01:47:01]OFD Sender: No OFD packet to send [01:47:06]OFD Sender: No OFD packet to send [01:47:12]OFD Sender: No OFD packet to send [01:47:17]OFD Sender: No OFD packet to send [01:47:22]OFD Sender: No OFD packet to send [01:47:27]OFD Sender: No OFD packet to send [01:47:32]OFD Sender: No OFD packet to send [01:47:37]OFD Sender: No OFD packet to send [01:47:42]OFD Sender: No OFD packet to send [01:47:47]OFD Sender: No OFD packet to send [01:47:52]OFD Sender: No OFD packet to send [01:47:57]OFD Sender: No OFD packet to send [01:48:02]OFD Sender: No OFD packet to send [01:48:07]OFD Sender: No OFD packet to send [01:48:12]OFD Sender: No OFD packet to send [01:48:17]OFD Sender: No OFD packet to send [01:48:22]OFD Sender: No OFD packet to send [01:48:27]OFD Sender: No OFD packet to send [01:48:32]OFD Sender: No OFD packet to send [01:48:37]OFD Sender: No OFD packet to send [01:48:42]OFD Sender: No OFD packet to send [01:48:47]OFD Sender: No OFD packet to send [01:48:52]OFD Sender: No OFD packet to send [01:48:57]OFD Sender: No OFD packet to send [01:49:02]OFD Sender: No OFD packet to send [01:49:07]OFD Sender: No OFD packet to send [01:49:12]OFD Sender: No OFD packet to send [01:49:17]OFD Sender: No OFD packet to send [01:49:22]OFD Sender: No OFD packet to send [01:49:27]OFD Sender: No OFD packet to send [01:49:32]OFD Sender: No OFD packet to send [01:49:37]OFD Sender: No OFD packet to send [01:49:42]OFD Sender: No OFD packet to send [01:49:47]OFD Sender: No OFD packet to send [01:49:52]OFD Sender: No OFD packet to send [01:49:57]OFD Sender: No OFD packet to send [01:50:02]OFD Sender: No OFD packet to send [01:50:07]OFD Sender: No OFD packet to send [01:50:12]OFD Sender: No OFD packet to send [01:50:17]OFD Sender: No OFD packet to send [01:50:22]OFD Sender: No OFD packet to send [01:50:27]OFD Sender: No OFD packet to send [01:50:32]OFD Sender: No OFD packet to send [01:50:37]OFD Sender: No OFD packet to send [01:50:42]OFD Sender: No OFD packet to send [01:50:47]OFD Sender: No OFD packet to send [01:50:52]OFD Sender: No OFD packet to send [01:50:57]OFD Sender: No OFD packet to send [01:51:02]OFD Sender: No OFD packet to send [01:51:07]OFD Sender: No OFD packet to send [01:51:12]OFD Sender: No OFD packet to send [01:51:17]OFD Sender: No OFD packet to send [01:51:22]OFD Sender: No OFD packet to send [01:51:27]OFD Sender: No OFD packet to send [01:51:32]OFD Sender: No OFD packet to send [01:51:37]OFD Sender: No OFD packet to send [01:51:42]OFD Sender: No OFD packet to send [01:51:47]OFD Sender: No OFD packet to send [01:51:52]OFD Sender: No OFD packet to send [01:51:57]OFD Sender: No OFD packet to send [01:52:02]OFD Sender: No OFD packet to send [01:52:07]OFD Sender: No OFD packet to send [01:52:12]OFD Sender: No OFD packet to send [01:52:17]OFD Sender: No OFD packet to send [01:52:22]OFD Sender: No OFD packet to send [01:52:27]OFD Sender: No OFD packet to send [01:52:32]OFD Sender: No OFD packet to send [01:52:37]OFD Sender: No OFD packet to send [01:52:42]OFD Sender: No OFD packet to send [01:52:47]OFD Sender: No OFD packet to send [01:52:52]OFD Sender: No OFD packet to send [01:52:57]OFD Sender: No OFD packet to send [01:53:02]OFD Sender: No OFD packet to send [01:53:07]OFD Sender: No OFD packet to send [01:53:12]OFD Sender: No OFD packet to send [01:53:17]OFD Sender: No OFD packet to send [01:53:22]OFD Sender: No OFD packet to send [01:53:27]OFD Sender: No OFD packet to send [01:53:32]OFD Sender: No OFD packet to send [01:53:37]OFD Sender: No OFD packet to send [01:53:42]OFD Sender: No OFD packet to send [01:53:47]OFD Sender: No OFD packet to send [01:53:52]OFD Sender: No OFD packet to send [01:53:57]OFD Sender: No OFD packet to send [01:54:02]OFD Sender: No OFD packet to send [01:54:07]OFD Sender: No OFD packet to send [01:54:12]OFD Sender: No OFD packet to send [01:54:17]OFD Sender: No OFD packet to send [01:54:22]OFD Sender: No OFD packet to send [01:54:27]OFD Sender: No OFD packet to send [01:54:32]OFD Sender: No OFD packet to send [01:54:37]OFD Sender: No OFD packet to send [01:54:42]OFD Sender: No OFD packet to send [01:54:47]OFD Sender: No OFD packet to send [01:54:52]OFD Sender: No OFD packet to send [01:54:57]OFD Sender: No OFD packet to send [01:55:02]OFD Sender: No OFD packet to send [01:55:07]OFD Sender: No OFD packet to send [01:55:12]OFD Sender: No OFD packet to send [01:55:17]OFD Sender: No OFD packet to send [01:55:22]OFD Sender: No OFD packet to send [01:55:27]OFD Sender: No OFD packet to send [01:55:32]OFD Sender: No OFD packet to send [01:55:37]OFD Sender: No OFD packet to send [01:55:42]OFD Sender: No OFD packet to send [01:55:47]OFD Sender: No OFD packet to send [01:55:52]OFD Sender: No OFD packet to send [01:55:57]OFD Sender: No OFD packet to send [01:56:02]OFD Sender: No OFD packet to send [01:56:07]OFD Sender: No OFD packet to send [01:56:12]OFD Sender: No OFD packet to send [01:56:17]OFD Sender: No OFD packet to send [01:56:22]OFD Sender: No OFD packet to send [01:56:27]OFD Sender: No OFD packet to send [01:56:32]OFD Sender: No OFD packet to send [01:56:37]OFD Sender: No OFD packet to send [01:56:42]OFD Sender: No OFD packet to send [01:56:47]OFD Sender: No OFD packet to send [01:56:52]OFD Sender: No OFD packet to send [01:56:57]OFD Sender: No OFD packet to send [01:57:02]OFD Sender: No OFD packet to send [01:57:07]OFD Sender: No OFD packet to send [01:57:12]OFD Sender: No OFD packet to send [01:57:17]OFD Sender: No OFD packet to send [01:57:22]OFD Sender: No OFD packet to send [01:57:27]OFD Sender: No OFD packet to send [01:57:32]OFD Sender: No OFD packet to send [01:57:37]OFD Sender: No OFD packet to send [01:57:42]OFD Sender: No OFD packet to send [01:57:47]OFD Sender: No OFD packet to send [01:57:52]OFD Sender: No OFD packet to send [01:57:57]OFD Sender: No OFD packet to send [01:58:02]OFD Sender: No OFD packet to send [01:58:07]OFD Sender: No OFD packet to send [01:58:12]OFD Sender: No OFD packet to send [01:58:17]OFD Sender: No OFD packet to send [01:58:22]OFD Sender: No OFD packet to send [01:58:27]OFD Sender: No OFD packet to send [01:58:32]OFD Sender: No OFD packet to send [01:58:37]OFD Sender: No OFD packet to send [01:58:42]OFD Sender: No OFD packet to send [01:58:47]OFD Sender: No OFD packet to send [01:58:52]OFD Sender: No OFD packet to send [01:58:57]OFD Sender: No OFD packet to send [01:59:02]OFD Sender: No OFD packet to send [01:59:07]OFD Sender: No OFD packet to send [01:59:12]OFD Sender: No OFD packet to send [01:59:17]OFD Sender: No OFD packet to send [01:59:27]OFD Sender: No OFD packet to send [01:59:32]OFD Sender: No OFD packet to send [01:59:37]OFD Sender: No OFD packet to send [01:59:42]OFD Sender: No OFD packet to send [01:59:47]OFD Sender: No OFD packet to send [01:59:52]OFD Sender: No OFD packet to send [01:59:57]OFD Sender: No OFD packet to send [02:00:02]OFD Sender: No OFD packet to send [02:00:07]OFD Sender: No OFD packet to send [02:00:10]accept exits with 7 [02:00:10]New connection [02:00:10]New thread 3067186532 created [02:00:10]Thread 3067043172 joined [02:00:10]Waiting for new connection... [02:00:10] Sock 7.Parse request [02:00:10]Sock 7.Check first char [02:00:10]Sock 7.First char is OK [02:00:10]request: POST /json_proto HTTP/1.0 [02:00:10]Method: POST [02:00:10]URL: /json_proto [02:00:10]Method is POST - this is cgi request [02:00:10]url: /json_proto [02:00:10]query_string will be loaded in cgi processing [02:00:10]execute_cgi json_proto POST (null) [02:00:10]execute_cgi path=json_proto method=POST [02:00:10]POST find Content-Length [02:00:10]Host: 172.17.40.196:8080 [02:00:10]Content-Length: 877 [02:00:10]Content-Type: application/json [02:00:10] [02:00:10]POST finish read [02:00:10]Found Content-Length = 877 [02:00:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35297", "tax_sys" : 0, "items" : [ { "code": "4700002083334", "name": "\u0412\u043E\u0434\u043A\u0430 Level 0,7\u043B", "price" : 630.00, "quantity" : 1.000, "sum" : 630.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 755.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:00:10]execute_script... [02:00: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)35297", "tax_sys" : 0, "items" : [ { "code": "4700002083334", "name": "\u0412\u043E\u0434\u043A\u0430 Level 0,7\u043B", "price" : 630.00, "quantity" : 1.000, "sum" : 630.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 755.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:00:10]POST & json_proto [02:00:10]process_json_proto [02:00:10]json parsed OK: [02:00:10]protocol is kg_v1.0 [02:00:10]action value=close_receipt [02:00:10]process_action close_receipt [02:00:10]cmd_close_receipt [02:00:10]MH_GetDate [02:00:10]Write to MH i2c: F0 00 00 2A 03 1C [02:00:10]Write i2c OK [02:00:10]MH_I2C_Read... [02:00:10]Read from MH i2c: F0 [02:00:10]MH_I2C_Read... [02:00:10]Read from MH i2c: F0 09 00 [02:00:10]MH_I2C_Read... [02:00:10]Read from MH i2c: F0 09 00 2A 03 00 AB E4 22 67 5B 68 A1 66 07 [02:00:10]GetLastDocTimeStamp 1730338973 [02:00:10]current date 1730340011 [02:00:10]FM_GetShiftState [02:00:10]SAM_PROTO_GetShiftState [02:00:10]wFMCommunicate request_size=4 [02:00:10]MH_SAM_APDU [02:00:10]CAPDU: 80 13 01 00 [02:00:10]Write to MH i2c: E2 08 00 2B 03 80 13 01 00 00 00 00 00 AB [02:00:10]Write i2c OK [02:00:10]MH_I2C_Read... [02:00:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:00:10]Read from MH i2c: E2 [02:00:10]MH_I2C_Read... [02:00:10]Read from MH i2c: E2 0E 00 [02:00:10]MH_I2C_Read... [02:00:10]Read from MH i2c: E2 0E 00 2B 03 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 E5 [02:00:10]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [02:00:10]wFMCommunicate OK [02:00:10]SAM_PROTO_GetShiftState done [02:00:10]FM_GetShiftState done [02:00:10]opened in 1730333148 [02:00:10]opened+sec_in_day 1730419548 [02:00:10]quantity*price = 63000 [02:00:10]sum+1 = 63001 [02:00:10]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000054227 Напиток Кока-Кола 1л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 755.00 НСП 1% : 6.68 НДС 12% : 80.17 Наличными: 755.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 7 31.10.2024 02:00 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37999 ФПД: 253613594676815 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T020011&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37999&fm=253613594676815&tin=02508201610067®Number=0000000000091684&sum=75500 0 [02:00:11]StoreToDocumentArchive [02:00:11]shift 554 fd 37999 [02:00:11]save to /storage/0554/doc_00037999 [02:00:11]save last doc name /storage/0554/doc_00037999 to /storage/kkm_last_doc_name [02:00:11]save OK [02:00:11]Clear old archive folders... [02:00:11]ProcessDocumentItem done err = 0, tmpTLVsize=372 [02:00:11]tlvbuf is 012DD010 [02:00:11]SAM_PROTO_ClearQueue [02:00:11]wFMCommunicate request_size=4 [02:00:11]MH_SAM_APDU [02:00:11]CAPDU: 80 09 00 00 [02:00:11]Write to MH i2c: E2 08 00 38 03 80 09 00 00 00 00 00 00 AD [02:00:11]Write i2c OK [02:00:11]MH_I2C_Read... [02:00:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:00:11]Read from MH i2c: E2 [02:00:11]MH_I2C_Read... [02:00:11]Read from MH i2c: E2 03 00 [02:00:11]MH_I2C_Read... [02:00:11]Read from MH i2c: E2 03 00 38 03 00 90 00 AF [02:00:11]RAPDU: 90 00 [02:00:11]wFMCommunicate OK [02:00:11]SAM_PROTO_ClearQueue done [02:00:11]KKMCreateOFDPacket [02:00:11]OFDProtocolAddRootSTLVToBuf [02:00:11]FM_MakeSignedData [02:00:11]FM_MakeSignedData [02:00:11]SAM_PROTO_SignData [02:00:11]wFMCommunicate request_size=4 [02:00:11]MH_SAM_APDU [02:00:11]CAPDU: 80 0D 01 02 [02:00:11]Write to MH i2c: E2 08 00 39 03 80 0D 01 02 00 00 00 00 B5 [02:00:11]Write i2c OK [02:00:11]MH_I2C_Read... [02:00:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:00:11]Read from MH i2c: E2 [02:00:11]MH_I2C_Read... [02:00:11]Read from MH i2c: E2 03 00 [02:00:11]MH_I2C_Read... [02:00:11]Read from MH i2c: E2 03 00 39 03 00 90 00 B0 [02:00:11]RAPDU: 90 00 [02:00:11]wFMCommunicate OK [02:00:11]wFMCommunicate request_size=255 [02:00:11]MH_SAM_APDU [02:00:11]CAPDU: 80 0D 02 02 FA 03 00 74 01 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 33 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 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 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 26 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 02 00 00 00 00 EE 03 0F 00 F2 03 [02:00:11]Write to MH i2c: E2 02 01 3A 03 80 0D 02 02 FA 00 03 00 74 01 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 33 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 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 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 26 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 02 00 00 00 00 EE 03 0F 00 F2 03 00 00 6C [02:00:11]Write i2c OK [02:00:11]MH_I2C_Read... [02:00:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:00:11]Read from MH i2c: E2 [02:00:11]MH_I2C_Read... [02:00:11]Read from MH i2c: E2 03 00 [02:00:11]MH_I2C_Read... [02:00:11]Read from MH i2c: E2 03 00 3A 03 00 90 00 B1 [02:00:11]RAPDU: 90 00 [02:00:11]wFMCommunicate OK [02:00:11]wFMCommunicate request_size=131 [02:00:11]MH_SAM_APDU [02:00:11]CAPDU: 80 0D 02 02 7E 01 00 01 F3 03 06 00 51 1F 00 00 00 00 07 04 06 00 EC 26 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 AB E4 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6F 94 00 00 35 04 06 00 E6 A9 04 38 8E 4F [02:00:11]Write to MH i2c: E2 86 00 3B 03 80 0D 02 02 7E 00 01 00 01 F3 03 06 00 51 1F 00 00 00 00 07 04 06 00 EC 26 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 AB E4 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6F 94 00 00 35 04 06 00 E6 A9 04 38 8E 4F 00 00 65 [02:00:11]Write i2c OK [02:00:11]MH_I2C_Read... [02:00:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:00:11]Read from MH i2c: E2 [02:00:11]MH_I2C_Read... [02:00:11]Read from MH i2c: E2 03 00 [02:00:11]MH_I2C_Read... [02:00:11]Read from MH i2c: E2 03 00 3B 03 00 90 00 B2 [02:00:11]RAPDU: 90 00 [02:00:11]wFMCommunicate OK [02:00:11]wFMCommunicate request_size=4 [02:00:11]MH_SAM_APDU [02:00:11]CAPDU: 80 0D 03 02 [02:00:11]Write to MH i2c: E2 08 00 3C 03 80 0D 03 02 00 00 00 00 BA [02:00:11]Write i2c OK [02:00:11]MH_I2C_Read... [02:00:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:00:11]Read from MH i2c: E2 [02:00:11]MH_I2C_Read... [02:00:11]Read from MH i2c: E2 0B 00 [02:00:11]MH_I2C_Read... [02:00:11]Read from MH i2c: E2 0B 00 3C 03 00 47 D8 BB C9 BE FB 67 39 90 00 B7 [02:00:11]RAPDU: 47 D8 BB C9 BE FB 67 39 90 00 [02:00:11]wFMCommunicate OK [02:00:11]SAM_PROTO_SignData done [02:00:11]FM_MakeSignedData done [02:00:11]CreateOFDProtocolMessage [02:00:11]wFMCommunicate request_size=4 [02:00:11]MH_SAM_APDU [02:00:11]CAPDU: 80 11 00 00 [02:00:11]Write to MH i2c: E2 08 00 3D 03 80 11 00 00 00 00 00 00 BA [02:00:11]Write i2c OK [02:00:11]MH_I2C_Read... [02:00:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:00:11]Read from MH i2c: E2 [02:00:11]MH_I2C_Read... [02:00:11]Read from MH i2c: E2 17 00 [02:00:11]MH_I2C_Read... [02:00:11]Read from MH i2c: E2 17 00 3D 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0A [02:00:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [02:00:11]wFMCommunicate OK [02:00:11]CreateOFDProtocolMessage done [02:00:11]OFDSenderStorePacket 37999 [02:00:11]StoreOFDPacket docnum=37999 [02:00:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 88 01 00 00 37 6D 80 01 C3 38 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 33 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 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 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 26 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 51 1F 00 00 00 00 07 04 06 00 EC 26 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 AB E4 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6F 94 00 00 35 04 06 00 E6 A9 04 38 8E 4F 47 D8 BB C9 BE FB 67 39 [02:00:11]CheckFolder [02:00:11]dirname=/storage/ofd_packets [02:00:11]CheckFolder done [02:00:11]ProducePacketName [02:00:11]name=ofd_packets/00037999 [02:00:11]NVStorageSaveData ofd_packets/00037999 [02:00:11]File name is /storage/ofd_packets/00037999 [02:00:11]Write 422 bytes [02:00:11]NVStorageSaveData done [02:00:11]OFDSenderStorePacket done [02:00:11]KKMCreateOFDPacket done [02:00:11]NVStorageSaveData kkm_last_timestamp [02:00:11]File name is /storage/kkm_last_timestamp [02:00:11]Write 4 bytes [02:00:11]NVStorageSaveData done [02:00:11]ExternCall_PrintAddStr [02:00:11]wPrintStart [02:00:11]Write to MH i2c: 01 00 00 3E 03 41 [02:00:11]Write i2c OK [02:00:11]MH_I2C_Read... [02:00:11]Read from MH i2c: 01 [02:00:11]MH_I2C_Read... [02:00:11]Read from MH i2c: 01 07 00 [02:00:11]MH_I2C_Read... [02:00:11]Read from MH i2c: 01 07 00 3E 03 00 00 00 00 00 FF 0F 56 [02:00:11]RasterBufferAndPrint [02:00:11]line Счет N : (3)35297 [02:00:11]line ИНН: 02508201610067 [02:00:11]line Контрольно-Кассовый Чек [02:00:11]line ПРОДАЖА [02:00:11]line Товар: 4700002083334 [02:00:11]line Водка Level 0,7л [02:00:11]line 1.000 * 630.00 [02:00:11]line = 630.00 [02:00:11]line НДС 12% НСП 1% [02:00:11]line > о реализуемом товаре [02:00:11]line Товар: 5449000054227 [02:00:11]line Напиток Кока-Кола 1л [02:00:11]line 1.000 * 125.00 [02:00:11]line = 125.00 [02:00:11]line НДС 12% НСП 1% [02:00:11]line > о реализуемом товаре [02:00:11]line ИТОГО: 755.00 [02:00:11]line НСП 1% : 6.68 [02:00:11]line НДС 12% : 80.17 [02:00:11]line Наличными: 755.00 [02:00:11]line Безнал.: 0.00 [02:00:12]line Место: АЗС № 126 "Партнер Нефть" [02:00:12]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [02:00:12]line СНО: Общий режим [02:00:12]line Чек 7 31.10.2024 02:00 [02:00:12]line Смена: 554 ФФД: 1.0 [02:00:12]line ЗНМ: 0300000092 [02:00:12]line РНМ: 0000000000091684 [02:00:12]line Версия ККМ: 001 [02:00:12]line ФМ: 0000000000871841 [02:00:12]line ФД: 37999 [02:00:12]line ФПД: 253613594676815 [02:00:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T020011&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37999&fm=253613594676815&tin=02508201610067®Number=0000000000091684&sum=75500 [02:00:12]line 0 [02:00:12]OFD Sender: Processing packet 37999 [packets to send 42, broken 41] [02:00:12]ProducePacketName [02:00:12]name=ofd_packets/00037999 [02:00:12]OFD Sender: To server: pG, [02:00:12]CommunicateWithHost lk.salyk.kg:30040 [02:00:12]ConnectInit lk.salyk.kg [02:00:12]written 0, free lines is 4095 [02:00:12]Connected sock=11 [02:00:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 88 01 00 00 37 6D 80 01 C3 38 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 33 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 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 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 26 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 51 1F 00 00 00 00 07 04 06 00 EC 26 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 AB E4 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6F 94 00 00 35 04 06 00 E6 A9 04 38 8E 4F 47 D8 BB C9 BE FB 67 39 [02:00:12]Write to MH i2c: 01 00 00 6C 03 6F [02:00:12]Write i2c OK [02:00:12]MH_I2C_Read... [02:00:12]Read from MH i2c: 01 [02:00:12]MH_I2C_Read... [02:00:12]Read from MH i2c: 01 07 00 [02:00:12]MH_I2C_Read... [02:00:12]Read from MH i2c: 01 07 00 6C 03 00 00 00 00 00 73 0C F5 [02:00:12]RasterBufferAndPrint [02:00:12]line [02:00:12]line [02:00:12]line [02:00:12]line [02:00:12]line [02:00:12]written 0, free lines is 3194 [02:00:12]MH_Cut [02:00:12]Write to MH i2c: D1 01 00 73 03 01 48 [02:00:12]Write i2c OK [02:00:12]MH_I2C_Read... [02:00:12]Read from MH i2c: D1 [02:00:12]MH_I2C_Read... [02:00:12]Read from MH i2c: D1 01 00 [02:00:12]MH_I2C_Read... [02:00:12]Read from MH i2c: D1 01 00 73 03 00 47 [02:00:12]Write to MH i2c: 01 00 00 74 03 77 [02:00:12]Write i2c OK [02:00:12]MH_I2C_Read... [02:00:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 59 CA 47 00 BE A2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6F 94 00 00 F4 03 04 00 98 8F 22 67 B6 04 01 00 00 70 62 1A 8B 2A 48 F6 45 [02:00:13]CommunicateWithHost err = 0 [02:00:13]CheckOFDResponse [02:00:13]1017 (14) - 77093643461234 [02:00:13]1041 (16) - 0000000000871841 [02:00:13]1040 (4) - 37999 [02:00:13]1012 (4) - 30.10.2024 19:57 [02:00:13]1206 (1) - 0 [02:00:13]OFD Sender: Remove packet 37999 [02:00:13]ProducePacketName [02:00:13]name=ofd_packets/00037999 [02:00:13]NVStorageDeleteData [02:00:13]OFD Sender: No OFD packet to send [02:00:13]*** Cut start [02:00:13]*** Partial cut [02:00:13]*** CUTSNS_PIN = 1 [02:00:13]*** CUTSNS_PIN = 0 [02:00:13]*** Brake cut motor [02:00:14]Read from MH i2c: 01 [02:00:14]MH_I2C_Read... [02:00:14]*** Stop cut motor [02:00:14]*** Cut end [02:00:14]Read from MH i2c: 01 07 00 [02:00:14]MH_I2C_Read... [02:00:14]Read from MH i2c: 01 07 00 74 03 00 00 00 00 00 FF 0F 8C [02:00:14]process_action close_receipt done [02:00:14]requested_data is exist [02:00:14]produce_requested_data [02:00:14]requested_item fm.sn is exist - process it [02:00:14]wFMCommunicate request_size=4 [02:00:14]MH_SAM_APDU [02:00:14]CAPDU: 80 11 00 00 [02:00:14]Write to MH i2c: E2 08 00 75 03 80 11 00 00 00 00 00 00 F2 [02:00:14]Write i2c OK [02:00:14]MH_I2C_Read... [02:00:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:00:14]Read from MH i2c: E2 [02:00:14]MH_I2C_Read... [02:00:14]Read from MH i2c: E2 17 00 [02:00:14]MH_I2C_Read... [02:00:14]Read from MH i2c: E2 17 00 75 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 42 [02:00:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [02:00:14]wFMCommunicate OK [02:00:14]requested_item fd.num is exist - process it [02:00:14]SAM_PROTO_GetFieldsCounters [02:00:14]wFMCommunicate request_size=4 [02:00:14]MH_SAM_APDU [02:00:14]CAPDU: 80 13 00 00 [02:00:14]Write to MH i2c: E2 08 00 76 03 80 13 00 00 00 00 00 00 F5 [02:00:14]Write i2c OK [02:00:14]MH_I2C_Read... [02:00:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:00:14]Read from MH i2c: E2 [02:00:14]MH_I2C_Read... [02:00:14]Read from MH i2c: E2 62 00 [02:00:14]MH_I2C_Read... [02:00:14]Read from MH i2c: E2 62 00 76 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 6F 94 00 00 0E 04 04 00 2A 02 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 5A [02:00:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 6F 94 00 00 0E 04 04 00 2A 02 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 [02:00:14]wFMCommunicate OK [02:00:14]SAM_PROTO_GetFieldsCounters done [02:00:14]requested_item shift.num is exist - process it [02:00:14]requested_item shift.opened is exist - process it [02:00:14]req_shift_opened [02:00:14]FM_GetShiftState [02:00:14]SAM_PROTO_GetShiftState [02:00:14]wFMCommunicate request_size=4 [02:00:14]MH_SAM_APDU [02:00:14]CAPDU: 80 13 01 00 [02:00:14]Write to MH i2c: E2 08 00 77 03 80 13 01 00 00 00 00 00 F7 [02:00:14]Write i2c OK [02:00:14]MH_I2C_Read... [02:00:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:00:14]Read from MH i2c: E2 [02:00:14]MH_I2C_Read... [02:00:14]Read from MH i2c: E2 0E 00 [02:00:14]MH_I2C_Read... [02:00:14]Read from MH i2c: E2 0E 00 77 03 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 31 [02:00:14]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [02:00:14]wFMCommunicate OK [02:00:14]SAM_PROTO_GetShiftState done [02:00:14]FM_GetShiftState done [02:00:14]req_shift_opened done [02:00:14]requested_item shift.open_date is exist - process it [02:00:14]req_shift_open_date [02:00:14]req_shift_open_date done [02:00:14]produce_requested_data done [02:00:14]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37999,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [02:00:14]process_action_free close_receipt [02:00:14]json_value_free [02:00:14]json_value_free done [02:00:14]process_json_proto returns [02:00:14]Send response to host [02:00:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37999,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [02:00:14]free response buf [02:00:14]execute_script done [02:00:14]execute_script returns [02:00:14]free content buf [02:00:14]Sock 7.Close socket [02:00:14]Sock 7.Thread stoped [02:00:18]OFD Sender: No OFD packet to send [02:00:23]OFD Sender: No OFD packet to send [02:00:28]OFD Sender: No OFD packet to send [02:00:33]OFD Sender: No OFD packet to send [02:00:38]OFD Sender: No OFD packet to send [02:00:43]OFD Sender: No OFD packet to send [02:00:48]OFD Sender: No OFD packet to send [02:00:53]OFD Sender: No OFD packet to send [02:00:58]OFD Sender: No OFD packet to send [02:01:03]OFD Sender: No OFD packet to send [02:01:08]OFD Sender: No OFD packet to send [02:01:13]OFD Sender: No OFD packet to send [02:01:18]OFD Sender: No OFD packet to send [02:01:23]OFD Sender: No OFD packet to send [02:01:28]OFD Sender: No OFD packet to send [02:01:33]OFD Sender: No OFD packet to send [02:01:37]ConnectInit Can't connect to host [02:01:38]OFD Sender: No OFD packet to send [02:01:43]OFD Sender: No OFD packet to send [02:01:48]OFD Sender: No OFD packet to send [02:01:53]OFD Sender: No OFD packet to send [02:01:58]OFD Sender: No OFD packet to send [02:02:03]OFD Sender: No OFD packet to send [02:02:08]OFD Sender: No OFD packet to send [02:02:13]OFD Sender: No OFD packet to send [02:02:18]OFD Sender: No OFD packet to send [02:02:23]OFD Sender: No OFD packet to send [02:02:28]OFD Sender: No OFD packet to send [02:02:33]OFD Sender: No OFD packet to send [02:02:38]OFD Sender: No OFD packet to send [02:02:43]OFD Sender: No OFD packet to send [02:02:48]OFD Sender: No OFD packet to send [02:02:53]OFD Sender: No OFD packet to send [02:02:58]OFD Sender: No OFD packet to send [02:03:03]OFD Sender: No OFD packet to send [02:03:08]OFD Sender: No OFD packet to send [02:03:13]OFD Sender: No OFD packet to send [02:03:18]OFD Sender: No OFD packet to send [02:03:23]OFD Sender: No OFD packet to send [02:03:28]OFD Sender: No OFD packet to send [02:03:33]OFD Sender: No OFD packet to send [02:03:38]OFD Sender: No OFD packet to send [02:03:43]OFD Sender: No OFD packet to send [02:03:48]OFD Sender: No OFD packet to send [02:03:53]OFD Sender: No OFD packet to send [02:03:58]OFD Sender: No OFD packet to send [02:04:03]OFD Sender: No OFD packet to send [02:04:08]OFD Sender: No OFD packet to send [02:04:13]OFD Sender: No OFD packet to send [02:04:18]OFD Sender: No OFD packet to send [02:04:23]OFD Sender: No OFD packet to send [02:04:28]OFD Sender: No OFD packet to send [02:04:33]OFD Sender: No OFD packet to send [02:04:38]OFD Sender: No OFD packet to send [02:04:43]OFD Sender: No OFD packet to send [02:04:48]OFD Sender: No OFD packet to send [02:04:53]OFD Sender: No OFD packet to send [02:04:58]OFD Sender: No OFD packet to send [02:05:03]OFD Sender: No OFD packet to send [02:05:08]OFD Sender: No OFD packet to send [02:05:13]OFD Sender: No OFD packet to send [02:05:18]OFD Sender: No OFD packet to send [02:05:23]OFD Sender: No OFD packet to send [02:05:28]OFD Sender: No OFD packet to send [02:05:33]OFD Sender: No OFD packet to send [02:05:38]OFD Sender: No OFD packet to send [02:05:43]OFD Sender: No OFD packet to send [02:05:48]OFD Sender: No OFD packet to send [02:05:53]OFD Sender: No OFD packet to send [02:05:58]OFD Sender: No OFD packet to send [02:06:03]OFD Sender: No OFD packet to send [02:06:08]OFD Sender: No OFD packet to send [02:06:13]OFD Sender: No OFD packet to send [02:06:18]OFD Sender: No OFD packet to send [02:06:23]OFD Sender: No OFD packet to send [02:06:28]OFD Sender: No OFD packet to send [02:06:33]OFD Sender: No OFD packet to send [02:06:38]OFD Sender: No OFD packet to send [02:06:43]OFD Sender: No OFD packet to send [02:06:48]OFD Sender: No OFD packet to send [02:06:53]OFD Sender: No OFD packet to send [02:06:58]OFD Sender: No OFD packet to send [02:07:03]OFD Sender: No OFD packet to send [02:07:08]OFD Sender: No OFD packet to send [02:07:13]OFD Sender: No OFD packet to send [02:07:18]OFD Sender: No OFD packet to send [02:07:23]OFD Sender: No OFD packet to send [02:07:28]OFD Sender: No OFD packet to send [02:07:33]OFD Sender: No OFD packet to send [02:07:38]OFD Sender: No OFD packet to send [02:07:43]OFD Sender: No OFD packet to send [02:07:48]OFD Sender: No OFD packet to send [02:07:53]OFD Sender: No OFD packet to send [02:07:58]OFD Sender: No OFD packet to send [02:08:03]OFD Sender: No OFD packet to send [02:08:08]OFD Sender: No OFD packet to send [02:08:13]OFD Sender: No OFD packet to send [02:08:18]OFD Sender: No OFD packet to send [02:08:23]OFD Sender: No OFD packet to send [02:08:28]OFD Sender: No OFD packet to send [02:08:33]OFD Sender: No OFD packet to send [02:08:38]OFD Sender: No OFD packet to send [02:08:44]OFD Sender: No OFD packet to send [02:08:49]OFD Sender: No OFD packet to send [02:08:54]OFD Sender: No OFD packet to send [02:08:59]OFD Sender: No OFD packet to send [02:09:04]OFD Sender: No OFD packet to send [02:09:09]OFD Sender: No OFD packet to send [02:09:14]OFD Sender: No OFD packet to send [02:09:19]OFD Sender: No OFD packet to send [02:09:24]OFD Sender: No OFD packet to send [02:09:29]OFD Sender: No OFD packet to send [02:09:34]OFD Sender: No OFD packet to send [02:09:39]OFD Sender: No OFD packet to send [02:09:44]OFD Sender: No OFD packet to send [02:09:49]OFD Sender: No OFD packet to send [02:09:54]OFD Sender: No OFD packet to send [02:09:59]OFD Sender: No OFD packet to send [02:10:04]OFD Sender: No OFD packet to send [02:10:09]OFD Sender: No OFD packet to send [02:10:14]OFD Sender: No OFD packet to send [02:10:19]OFD Sender: No OFD packet to send [02:10:24]OFD Sender: No OFD packet to send [02:10:29]OFD Sender: No OFD packet to send [02:10:34]OFD Sender: No OFD packet to send [02:10:39]OFD Sender: No OFD packet to send [02:10:44]OFD Sender: No OFD packet to send [02:10:49]OFD Sender: No OFD packet to send [02:10:54]OFD Sender: No OFD packet to send [02:10:59]OFD Sender: No OFD packet to send [02:11:04]OFD Sender: No OFD packet to send [02:11:09]OFD Sender: No OFD packet to send [02:11:14]OFD Sender: No OFD packet to send [02:11:19]OFD Sender: No OFD packet to send [02:11:24]OFD Sender: No OFD packet to send [02:11:29]OFD Sender: No OFD packet to send [02:11:34]OFD Sender: No OFD packet to send [02:11:39]OFD Sender: No OFD packet to send [02:11:42]accept exits with 10 [02:11:42]New connection [02:11:42]New thread 3067043172 created [02:11:42]Thread 3067186532 joined [02:11:42]Waiting for new connection... [02:11:42] Sock 10.Parse request [02:11:42]Sock 10.Check first char [02:11:42]Sock 10.First char is OK [02:11:42]request: POST /json_proto HTTP/1.0 [02:11:42]Method: POST [02:11:42]URL: /json_proto [02:11:42]Method is POST - this is cgi request [02:11:42]url: /json_proto [02:11:42]query_string will be loaded in cgi processing [02:11:42]execute_cgi json_proto POST (null) [02:11:42]execute_cgi path=json_proto method=POST [02:11:42]POST find Content-Length [02:11:42]Host: 172.17.40.196:8080 [02:11:42]Content-Length: 646 [02:11:42]Content-Type: application/json [02:11:42] [02:11:42]POST finish read [02:11:42]Found Content-Length = 646 [02:11:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35298", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 2.000, "sum" : 158.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" ] } } [02:11:42]execute_script... [02:11:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35298", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 2.000, "sum" : 158.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" ] } } [02:11:42]POST & json_proto [02:11:42]process_json_proto [02:11:42]json parsed OK: [02:11:42]protocol is kg_v1.0 [02:11:42]action value=close_receipt [02:11:42]process_action close_receipt [02:11:42]cmd_close_receipt [02:11:42]MH_GetDate [02:11:42]Write to MH i2c: F0 00 00 78 03 6A [02:11:42]Write i2c OK [02:11:42]MH_I2C_Read... [02:11:42]Read from MH i2c: F0 [02:11:42]MH_I2C_Read... [02:11:42]Read from MH i2c: F0 09 00 [02:11:42]MH_I2C_Read... [02:11:42]Read from MH i2c: F0 09 00 78 03 00 5F E7 22 67 5B 68 A1 66 0C [02:11:42]GetLastDocTimeStamp 1730340011 [02:11:42]current date 1730340703 [02:11:42]FM_GetShiftState [02:11:42]SAM_PROTO_GetShiftState [02:11:42]wFMCommunicate request_size=4 [02:11:42]MH_SAM_APDU [02:11:42]CAPDU: 80 13 01 00 [02:11:42]Write to MH i2c: E2 08 00 79 03 80 13 01 00 00 00 00 00 F9 [02:11:42]Write i2c OK [02:11:42]MH_I2C_Read... [02:11:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:11:42]Read from MH i2c: E2 [02:11:42]MH_I2C_Read... [02:11:42]Read from MH i2c: E2 0E 00 [02:11:42]MH_I2C_Read... [02:11:42]Read from MH i2c: E2 0E 00 79 03 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 33 [02:11:42]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [02:11:42]wFMCommunicate OK [02:11:42]SAM_PROTO_GetShiftState done [02:11:42]FM_GetShiftState done [02:11:42]opened in 1730333148 [02:11:42]opened+sec_in_day 1730419548 [02:11:42]quantity*price = 15800 [02:11:42]sum+1 = 15801 [02:11:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 158.00 НСП 1% : 1.40 НДС 12% : 16.78 Наличными: 158.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 8 31.10.2024 02:11 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38000 ФПД: 45826718318825 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T021143&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38000&fm=45826718318825&tin=02508201610067®Number=0000000000091684&sum=15800 0 [02:11:43]StoreToDocumentArchive [02:11:43]shift 554 fd 38000 [02:11:43]save to /storage/0554/doc_00038000 [02:11:43]save last doc name /storage/0554/doc_00038000 to /storage/kkm_last_doc_name [02:11:43]save OK [02:11:43]Clear old archive folders... [02:11:43]ProcessDocumentItem done err = 0, tmpTLVsize=276 [02:11:43]tlvbuf is 01172CE0 [02:11:43]SAM_PROTO_ClearQueue [02:11:43]wFMCommunicate request_size=4 [02:11:43]MH_SAM_APDU [02:11:43]CAPDU: 80 09 00 00 [02:11:43]Write to MH i2c: E2 08 00 86 03 80 09 00 00 00 00 00 00 FB [02:11:43]Write i2c OK [02:11:43]MH_I2C_Read... [02:11:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:11:43]Read from MH i2c: E2 [02:11:43]MH_I2C_Read... [02:11:43]Read from MH i2c: E2 03 00 [02:11:43]MH_I2C_Read... [02:11:43]Read from MH i2c: E2 03 00 86 03 00 90 00 FD [02:11:43]RAPDU: 90 00 [02:11:43]wFMCommunicate OK [02:11:43]SAM_PROTO_ClearQueue done [02:11:43]KKMCreateOFDPacket [02:11:43]OFDProtocolAddRootSTLVToBuf [02:11:43]FM_MakeSignedData [02:11:43]FM_MakeSignedData [02:11:43]SAM_PROTO_SignData [02:11:43]wFMCommunicate request_size=4 [02:11:43]MH_SAM_APDU [02:11:43]CAPDU: 80 0D 01 02 [02:11:43]Write to MH i2c: E2 08 00 87 03 80 0D 01 02 00 00 00 00 03 [02:11:43]Write i2c OK [02:11:43]MH_I2C_Read... [02:11:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:11:43]Read from MH i2c: E2 [02:11:43]MH_I2C_Read... [02:11:43]Read from MH i2c: E2 03 00 [02:11:43]MH_I2C_Read... [02:11:43]Read from MH i2c: E2 03 00 87 03 00 90 00 FE [02:11:43]RAPDU: 90 00 [02:11:43]wFMCommunicate OK [02:11:43]wFMCommunicate request_size=255 [02:11:43]MH_SAM_APDU [02:11:43]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 B8 3D 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 08 00 00 00 F4 03 04 00 5F E7 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 [02:11:43]Write to MH i2c: E2 02 01 88 03 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 B8 3D 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 08 00 00 00 F4 03 04 00 5F E7 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 00 00 59 [02:11:43]Write i2c OK [02:11:43]MH_I2C_Read... [02:11:43]Read from MH i2c: E2 [02:11:43]MH_I2C_Read... [02:11:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:11:43]Read from MH i2c: E2 03 00 [02:11:43]MH_I2C_Read... [02:11:43]Read from MH i2c: E2 03 00 88 03 00 90 00 FF [02:11:43]RAPDU: 90 00 [02:11:43]wFMCommunicate OK [02:11:43]wFMCommunicate request_size=35 [02:11:43]MH_SAM_APDU [02:11:43]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 70 94 00 00 35 04 06 00 29 AD DD 44 40 E9 [02:11:43]Write to MH i2c: E2 26 00 89 03 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 70 94 00 00 35 04 06 00 29 AD DD 44 40 E9 00 00 1A [02:11:43]Write i2c OK [02:11:43]MH_I2C_Read... [02:11:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:11:43]Read from MH i2c: E2 [02:11:43]MH_I2C_Read... [02:11:43]Read from MH i2c: E2 03 00 [02:11:43]MH_I2C_Read... [02:11:43]Read from MH i2c: E2 03 00 89 03 00 90 00 00 [02:11:43]RAPDU: 90 00 [02:11:43]wFMCommunicate OK [02:11:43]wFMCommunicate request_size=4 [02:11:43]MH_SAM_APDU [02:11:43]CAPDU: 80 0D 03 02 [02:11:43]Write to MH i2c: E2 08 00 8A 03 80 0D 03 02 00 00 00 00 08 [02:11:43]Write i2c OK [02:11:43]MH_I2C_Read... [02:11:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:11:43]Read from MH i2c: E2 [02:11:43]MH_I2C_Read... [02:11:43]Read from MH i2c: E2 0B 00 [02:11:43]MH_I2C_Read... [02:11:43]Read from MH i2c: E2 0B 00 8A 03 00 AF 7A 68 2D A6 A3 BC 13 90 00 DF [02:11:43]RAPDU: AF 7A 68 2D A6 A3 BC 13 90 00 [02:11:43]wFMCommunicate OK [02:11:43]SAM_PROTO_SignData done [02:11:43]FM_MakeSignedData done [02:11:43]CreateOFDProtocolMessage [02:11:43]wFMCommunicate request_size=4 [02:11:43]MH_SAM_APDU [02:11:43]CAPDU: 80 11 00 00 [02:11:43]Write to MH i2c: E2 08 00 8B 03 80 11 00 00 00 00 00 00 08 [02:11:43]Write i2c OK [02:11:43]MH_I2C_Read... [02:11:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:11:43]Read from MH i2c: E2 [02:11:43]MH_I2C_Read... [02:11:43]Read from MH i2c: E2 17 00 [02:11:43]MH_I2C_Read... [02:11:43]Read from MH i2c: E2 17 00 8B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 58 [02:11:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [02:11:43]wFMCommunicate OK [02:11:43]CreateOFDProtocolMessage done [02:11:43]OFDSenderStorePacket 38000 [02:11:43]StoreOFDPacket docnum=38000 [02:11:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 98 0B 20 01 7F E8 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 B8 3D 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 08 00 00 00 F4 03 04 00 5F E7 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 70 94 00 00 35 04 06 00 29 AD DD 44 40 E9 AF 7A 68 2D A6 A3 BC 13 [02:11:43]CheckFolder [02:11:43]dirname=/storage/ofd_packets [02:11:43]CheckFolder done [02:11:43]ProducePacketName [02:11:43]name=ofd_packets/00038000 [02:11:43]NVStorageSaveData ofd_packets/00038000 [02:11:43]File name is /storage/ofd_packets/00038000 [02:11:43]Write 326 bytes [02:11:43]NVStorageSaveData done [02:11:43]OFDSenderStorePacket done [02:11:43]KKMCreateOFDPacket done [02:11:43]NVStorageSaveData kkm_last_timestamp [02:11:43]File name is /storage/kkm_last_timestamp [02:11:43]Write 4 bytes [02:11:43]NVStorageSaveData done [02:11:43]ExternCall_PrintAddStr [02:11:43]wPrintStart [02:11:43]Write to MH i2c: 01 00 00 8C 03 8F [02:11:43]Write i2c OK [02:11:43]MH_I2C_Read... [02:11:43]Read from MH i2c: 01 [02:11:43]MH_I2C_Read... [02:11:43]Read from MH i2c: 01 07 00 [02:11:43]MH_I2C_Read... [02:11:43]Read from MH i2c: 01 07 00 8C 03 00 00 00 00 00 FF 0F A4 [02:11:43]RasterBufferAndPrint [02:11:43]line Счет N : (3)35298 [02:11:43]line ИНН: 02508201610067 [02:11:43]line Контрольно-Кассовый Чек [02:11:43]line ПРОДАЖА [02:11:43]line Товар: 4700000310043 [02:11:43]line Вода Жалалабат 27 1л [02:11:43]line 2.000 * 79.00 [02:11:43]line = 158.00 [02:11:43]line НДС 12% НСП 1% [02:11:43]line > о реализуемом товаре [02:11:43]line ИТОГО: 158.00 [02:11:43]line НСП 1% : 1.40 [02:11:43]line НДС 12% : 16.78 [02:11:43]line Наличными: 158.00 [02:11:43]line Безнал.: 0.00 [02:11:43]line Место: АЗС № 126 "Партнер Нефть" [02:11:43]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [02:11:43]line СНО: Общий режим [02:11:43]line Чек 8 31.10.2024 02:11 [02:11:43]line Смена: 554 ФФД: 1.0 [02:11:43]line ЗНМ: 0300000092 [02:11:43]line РНМ: 0000000000091684 [02:11:43]line Версия ККМ: 001 [02:11:43]line ФМ: 0000000000871841 [02:11:43]line ФД: 38000 [02:11:43]line ФПД: 45826718318825 [02:11:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T021143&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38000&fm=45826718318825&tin=02508201610067®Number=0000000000091684&sum=15800 [02:11:44]OFD Sender: Processing packet 38000 [packets to send 42, broken 41] [02:11:44]ProducePacketName [02:11:44]name=ofd_packets/00038000 [02:11:44]OFD Sender: To server: pG, [02:11:44]CommunicateWithHost lk.salyk.kg:30040 [02:11:44]ConnectInit lk.salyk.kg [02:11:44]line 0 [02:11:44]written 0, free lines is 4095 [02:11:44]Write to MH i2c: 01 00 00 B4 03 B7 [02:11:44]Write i2c OK [02:11:44]MH_I2C_Read... [02:11:44]Read from MH i2c: 01 [02:11:44]MH_I2C_Read... [02:11:44]Read from MH i2c: 01 07 00 [02:11:44]MH_I2C_Read... [02:11:44]Read from MH i2c: 01 07 00 B4 03 00 00 00 00 00 CA 0C 94 [02:11:44]RasterBufferAndPrint [02:11:44]line [02:11:44]line [02:11:44]line [02:11:44]line [02:11:44]line [02:11:44]written 0, free lines is 3279 [02:11:44]MH_Cut [02:11:44]Write to MH i2c: D1 01 00 BB 03 01 90 [02:11:44]Write i2c OK [02:11:44]MH_I2C_Read... [02:11:44]Read from MH i2c: D1 [02:11:44]MH_I2C_Read... [02:11:44]Read from MH i2c: D1 01 00 [02:11:44]MH_I2C_Read... [02:11:44]Read from MH i2c: D1 01 00 BB 03 00 8F [02:11:44]Write to MH i2c: 01 00 00 BC 03 BF [02:11:44]Write i2c OK [02:11:44]MH_I2C_Read... [02:11:45]*** Cut start [02:11:45]*** Partial cut [02:11:45]*** CUTSNS_PIN = 1 [02:11:45]*** CUTSNS_PIN = 0 [02:11:45]*** Brake cut motor [02:11:46]Read from MH i2c: 01 [02:11:46]MH_I2C_Read... [02:11:46]*** Stop cut motor [02:11:46]*** Cut end [02:11:46]Read from MH i2c: 01 07 00 [02:11:46]MH_I2C_Read... [02:11:46]Read from MH i2c: 01 07 00 BC 03 00 00 00 00 00 FF 0F D4 [02:11:46]process_action close_receipt done [02:11:46]requested_data is exist [02:11:46]produce_requested_data [02:11:46]requested_item fm.sn is exist - process it [02:11:46]wFMCommunicate request_size=4 [02:11:46]MH_SAM_APDU [02:11:46]CAPDU: 80 11 00 00 [02:11:46]Write to MH i2c: E2 08 00 BD 03 80 11 00 00 00 00 00 00 3A [02:11:46]Write i2c OK [02:11:46]MH_I2C_Read... [02:11:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:11:46]Read from MH i2c: E2 [02:11:46]MH_I2C_Read... [02:11:46]Read from MH i2c: E2 17 00 [02:11:46]MH_I2C_Read... [02:11:46]Read from MH i2c: E2 17 00 BD 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8A [02:11:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [02:11:46]wFMCommunicate OK [02:11:46]requested_item fd.num is exist - process it [02:11:46]SAM_PROTO_GetFieldsCounters [02:11:46]wFMCommunicate request_size=4 [02:11:46]MH_SAM_APDU [02:11:46]CAPDU: 80 13 00 00 [02:11:46]Write to MH i2c: E2 08 00 BE 03 80 13 00 00 00 00 00 00 3D [02:11:46]Write i2c OK [02:11:46]MH_I2C_Read... [02:11:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:11:46]Read from MH i2c: E2 [02:11:46]MH_I2C_Read... [02:11:46]Read from MH i2c: E2 62 00 [02:11:46]MH_I2C_Read... [02:11:46]Read from MH i2c: E2 62 00 BE 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 70 94 00 00 0E 04 04 00 2A 02 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 A6 [02:11:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 70 94 00 00 0E 04 04 00 2A 02 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 [02:11:46]wFMCommunicate OK [02:11:46]SAM_PROTO_GetFieldsCounters done [02:11:46]requested_item shift.num is exist - process it [02:11:46]requested_item shift.opened is exist - process it [02:11:46]req_shift_opened [02:11:46]FM_GetShiftState [02:11:46]SAM_PROTO_GetShiftState [02:11:46]wFMCommunicate request_size=4 [02:11:46]MH_SAM_APDU [02:11:46]CAPDU: 80 13 01 00 [02:11:46]Write to MH i2c: E2 08 00 BF 03 80 13 01 00 00 00 00 00 3F [02:11:46]Write i2c OK [02:11:46]MH_I2C_Read... [02:11:46]Connected sock=11 [02:11:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 98 0B 20 01 7F E8 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 B8 3D 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 08 00 00 00 F4 03 04 00 5F E7 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 70 94 00 00 35 04 06 00 29 AD DD 44 40 E9 AF 7A 68 2D A6 A3 BC 13 [02:11:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:11:46]Read from MH i2c: E2 [02:11:46]MH_I2C_Read... [02:11:46]Read from MH i2c: E2 0E 00 [02:11:46]MH_I2C_Read... [02:11:46]Read from MH i2c: E2 0E 00 BF 03 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 79 [02:11:46]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [02:11:46]wFMCommunicate OK [02:11:46]SAM_PROTO_GetShiftState done [02:11:46]FM_GetShiftState done [02:11:46]req_shift_opened done [02:11:46]requested_item shift.open_date is exist - process it [02:11:46]req_shift_open_date [02:11:46]req_shift_open_date done [02:11:46]produce_requested_data done [02:11:46]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38000,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [02:11:46]process_action_free close_receipt [02:11:46]json_value_free [02:11:46]json_value_free done [02:11:46]process_json_proto returns [02:11:46]Send response to host [02:11:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38000,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [02:11:46]free response buf [02:11:46]execute_script done [02:11:46]execute_script returns [02:11:46]free content buf [02:11:46]Sock 10.Close socket [02:11:46]Sock 10.Thread stoped [02:11:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 16 68 47 00 73 4E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 70 94 00 00 F4 03 04 00 4E 92 22 67 B6 04 01 00 00 A2 D5 4A F7 A2 C4 D4 BA [02:11:46]CommunicateWithHost err = 0 [02:11:46]CheckOFDResponse [02:11:46]1017 (14) - 77093643461234 [02:11:46]1041 (16) - 0000000000871841 [02:11:46]1040 (4) - 38000 [02:11:46]1012 (4) - 30.10.2024 20:08 [02:11:46]1206 (1) - 0 [02:11:46]OFD Sender: Remove packet 38000 [02:11:46]ProducePacketName [02:11:46]name=ofd_packets/00038000 [02:11:46]NVStorageDeleteData [02:11:47]OFD Sender: No OFD packet to send [02:11:52]OFD Sender: No OFD packet to send [02:11:57]OFD Sender: No OFD packet to send [02:12:02]OFD Sender: No OFD packet to send [02:12:07]OFD Sender: No OFD packet to send [02:12:12]OFD Sender: No OFD packet to send [02:12:17]OFD Sender: No OFD packet to send [02:12:22]OFD Sender: No OFD packet to send [02:12:27]OFD Sender: No OFD packet to send [02:12:32]OFD Sender: No OFD packet to send [02:12:37]OFD Sender: No OFD packet to send [02:12:42]OFD Sender: No OFD packet to send [02:12:47]OFD Sender: No OFD packet to send [02:12:52]OFD Sender: No OFD packet to send [02:12:57]OFD Sender: No OFD packet to send [02:13:02]OFD Sender: No OFD packet to send [02:13:07]OFD Sender: No OFD packet to send [02:13:12]OFD Sender: No OFD packet to send [02:13:13]accept exits with 7 [02:13:13]New connection [02:13:13]New thread 3067186532 created [02:13:13]Thread 3067043172 joined [02:13:13]Waiting for new connection... [02:13:13] Sock 7.Parse request [02:13:13]Sock 7.Check first char [02:13:13]Sock 7.First char is OK [02:13:13]request: POST /json_proto HTTP/1.0 [02:13:13]Method: POST [02:13:13]URL: /json_proto [02:13:13]Method is POST - this is cgi request [02:13:13]url: /json_proto [02:13:13]query_string will be loaded in cgi processing [02:13:13]execute_cgi json_proto POST (null) [02:13:13]execute_cgi path=json_proto method=POST [02:13:13]POST find Content-Length [02:13:13]Host: 172.17.40.196:8080 [02:13:13]Content-Length: 620 [02:13:13]Content-Type: application/json [02:13:13] [02:13:13]POST finish read [02:13:13]Found Content-Length = 620 [02:13:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35299", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:13:13]execute_script... [02:13: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)35299", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:13:13]POST & json_proto [02:13:13]process_json_proto [02:13:13]json parsed OK: [02:13:13]protocol is kg_v1.0 [02:13:13]action value=close_receipt [02:13:13]process_action close_receipt [02:13:13]cmd_close_receipt [02:13:13]MH_GetDate [02:13:13]Write to MH i2c: F0 00 00 C0 03 B2 [02:13:13]Write i2c OK [02:13:13]MH_I2C_Read... [02:13:13]Read from MH i2c: F0 [02:13:13]MH_I2C_Read... [02:13:13]Read from MH i2c: F0 09 00 [02:13:13]MH_I2C_Read... [02:13:13]Read from MH i2c: F0 09 00 C0 03 00 BA E7 22 67 5B 68 A1 66 AF [02:13:13]GetLastDocTimeStamp 1730340703 [02:13:13]current date 1730340794 [02:13:13]FM_GetShiftState [02:13:13]SAM_PROTO_GetShiftState [02:13:13]wFMCommunicate request_size=4 [02:13:13]MH_SAM_APDU [02:13:13]CAPDU: 80 13 01 00 [02:13:13]Write to MH i2c: E2 08 00 C1 03 80 13 01 00 00 00 00 00 41 [02:13:13]Write i2c OK [02:13:13]MH_I2C_Read... [02:13:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:13:13]Read from MH i2c: E2 [02:13:13]MH_I2C_Read... [02:13:13]Read from MH i2c: E2 0E 00 [02:13:13]MH_I2C_Read... [02:13:13]Read from MH i2c: E2 0E 00 C1 03 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 7B [02:13:13]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [02:13:13]wFMCommunicate OK [02:13:13]SAM_PROTO_GetShiftState done [02:13:13]FM_GetShiftState done [02:13:13]opened in 1730333148 [02:13:13]opened+sec_in_day 1730419548 [02:13:13]quantity*price = 14400 [02:13:13]sum+1 = 14401 [02:13:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 9 31.10.2024 02:13 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38001 ФПД: 95249656937150 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T021315&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38001&fm=95249656937150&tin=02508201610067®Number=0000000000091684&sum=14400 0 [02:13:14]StoreToDocumentArchive [02:13:14]shift 554 fd 38001 [02:13:14]save to /storage/0554/doc_00038001 [02:13:14]save last doc name /storage/0554/doc_00038001 to /storage/kkm_last_doc_name [02:13:14]save OK [02:13:14]Clear old archive folders... [02:13:14]ProcessDocumentItem done err = 0, tmpTLVsize=273 [02:13:14]tlvbuf is 011814B0 [02:13:14]SAM_PROTO_ClearQueue [02:13:14]wFMCommunicate request_size=4 [02:13:14]MH_SAM_APDU [02:13:14]CAPDU: 80 09 00 00 [02:13:14]Write to MH i2c: E2 08 00 CE 03 80 09 00 00 00 00 00 00 43 [02:13:14]Write i2c OK [02:13:14]MH_I2C_Read... [02:13:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:13:14]Read from MH i2c: E2 [02:13:14]MH_I2C_Read... [02:13:14]Read from MH i2c: E2 03 00 [02:13:14]MH_I2C_Read... [02:13:14]Read from MH i2c: E2 03 00 CE 03 00 90 00 45 [02:13:14]RAPDU: 90 00 [02:13:14]wFMCommunicate OK [02:13:14]SAM_PROTO_ClearQueue done [02:13:14]KKMCreateOFDPacket [02:13:14]OFDProtocolAddRootSTLVToBuf [02:13:14]FM_MakeSignedData [02:13:14]FM_MakeSignedData [02:13:14]SAM_PROTO_SignData [02:13:14]wFMCommunicate request_size=4 [02:13:14]MH_SAM_APDU [02:13:14]CAPDU: 80 0D 01 02 [02:13:14]Write to MH i2c: E2 08 00 CF 03 80 0D 01 02 00 00 00 00 4B [02:13:14]Write i2c OK [02:13:14]MH_I2C_Read... [02:13:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:13:15]Read from MH i2c: E2 [02:13:15]MH_I2C_Read... [02:13:15]Read from MH i2c: E2 03 00 [02:13:15]MH_I2C_Read... [02:13:15]Read from MH i2c: E2 03 00 CF 03 00 90 00 46 [02:13:15]RAPDU: 90 00 [02:13:15]wFMCommunicate OK [02:13:15]wFMCommunicate request_size=255 [02:13:15]MH_SAM_APDU [02:13:15]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 BB E7 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [02:13:15]Write to MH i2c: E2 02 01 D0 03 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 BB E7 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 18 [02:13:15]Write i2c OK [02:13:15]MH_I2C_Read... [02:13:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:13:15]Read from MH i2c: E2 [02:13:15]MH_I2C_Read... [02:13:15]Read from MH i2c: E2 03 00 [02:13:15]MH_I2C_Read... [02:13:15]Read from MH i2c: E2 03 00 D0 03 00 90 00 47 [02:13:15]RAPDU: 90 00 [02:13:15]wFMCommunicate OK [02:13:15]wFMCommunicate request_size=32 [02:13:15]MH_SAM_APDU [02:13:15]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 71 94 00 00 35 04 06 00 56 A1 09 F7 7A BE [02:13:15]Write to MH i2c: E2 23 00 D1 03 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 71 94 00 00 35 04 06 00 56 A1 09 F7 7A BE 00 00 DC [02:13:15]Write i2c OK [02:13:15]MH_I2C_Read... [02:13:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:13:15]Read from MH i2c: E2 [02:13:15]MH_I2C_Read... [02:13:15]Read from MH i2c: E2 03 00 [02:13:15]MH_I2C_Read... [02:13:15]Read from MH i2c: E2 03 00 D1 03 00 90 00 48 [02:13:15]RAPDU: 90 00 [02:13:15]wFMCommunicate OK [02:13:15]wFMCommunicate request_size=4 [02:13:15]MH_SAM_APDU [02:13:15]CAPDU: 80 0D 03 02 [02:13:15]Write to MH i2c: E2 08 00 D2 03 80 0D 03 02 00 00 00 00 50 [02:13:15]Write i2c OK [02:13:15]MH_I2C_Read... [02:13:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:13:15]Read from MH i2c: E2 [02:13:15]MH_I2C_Read... [02:13:15]Read from MH i2c: E2 0B 00 [02:13:15]MH_I2C_Read... [02:13:15]Read from MH i2c: E2 0B 00 D2 03 00 E9 60 DC 2D 86 F1 66 9D 90 00 1D [02:13:15]RAPDU: E9 60 DC 2D 86 F1 66 9D 90 00 [02:13:15]wFMCommunicate OK [02:13:15]SAM_PROTO_SignData done [02:13:15]FM_MakeSignedData done [02:13:15]CreateOFDProtocolMessage [02:13:15]wFMCommunicate request_size=4 [02:13:15]MH_SAM_APDU [02:13:15]CAPDU: 80 11 00 00 [02:13:15]Write to MH i2c: E2 08 00 D3 03 80 11 00 00 00 00 00 00 50 [02:13:15]Write i2c OK [02:13:15]MH_I2C_Read... [02:13:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:13:15]Read from MH i2c: E2 [02:13:15]MH_I2C_Read... [02:13:15]Read from MH i2c: E2 17 00 [02:13:15]MH_I2C_Read... [02:13:15]Read from MH i2c: E2 17 00 D3 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A0 [02:13:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [02:13:15]wFMCommunicate OK [02:13:15]CreateOFDProtocolMessage done [02:13:15]OFDSenderStorePacket 38001 [02:13:15]StoreOFDPacket docnum=38001 [02:13:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 70 74 1D 01 8A A1 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 BB E7 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 71 94 00 00 35 04 06 00 56 A1 09 F7 7A BE E9 60 DC 2D 86 F1 66 9D [02:13:15]CheckFolder [02:13:15]dirname=/storage/ofd_packets [02:13:15]CheckFolder done [02:13:15]ProducePacketName [02:13:15]name=ofd_packets/00038001 [02:13:15]NVStorageSaveData ofd_packets/00038001 [02:13:15]File name is /storage/ofd_packets/00038001 [02:13:15]Write 323 bytes [02:13:15]NVStorageSaveData done [02:13:15]OFDSenderStorePacket done [02:13:15]KKMCreateOFDPacket done [02:13:15]NVStorageSaveData kkm_last_timestamp [02:13:15]File name is /storage/kkm_last_timestamp [02:13:15]Write 4 bytes [02:13:15]NVStorageSaveData done [02:13:15]ExternCall_PrintAddStr [02:13:15]wPrintStart [02:13:15]Write to MH i2c: 01 00 00 D4 03 D7 [02:13:15]Write i2c OK [02:13:15]MH_I2C_Read... [02:13:15]Read from MH i2c: 01 [02:13:15]MH_I2C_Read... [02:13:15]Read from MH i2c: 01 07 00 [02:13:15]MH_I2C_Read... [02:13:15]Read from MH i2c: 01 07 00 D4 03 00 00 00 00 00 FF 0F EC [02:13:15]RasterBufferAndPrint [02:13:15]line Счет N : (3)35299 [02:13:15]line ИНН: 02508201610067 [02:13:15]line Контрольно-Кассовый Чек [02:13:15]line ПРОДАЖА [02:13:15]line Товар: 48743570 [02:13:15]line Сигареты Winston XStyle Blue [02:13:15]line 1.000 * 144.00 [02:13:15]line = 144.00 [02:13:15]line НДС 12% НСП 1% [02:13:15]line > о реализуемом товаре [02:13:15]line ИТОГО: 144.00 [02:13:15]line НСП 1% : 1.27 [02:13:15]line НДС 12% : 15.29 [02:13:15]line Наличными: 144.00 [02:13:15]line Безнал.: 0.00 [02:13:15]line Место: АЗС № 126 "Партнер Нефть" [02:13:15]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [02:13:15]line СНО: Общий режим [02:13:15]line Чек 9 31.10.2024 02:13 [02:13:15]line Смена: 554 ФФД: 1.0 [02:13:15]line ЗНМ: 0300000092 [02:13:15]line РНМ: 0000000000091684 [02:13:15]line Версия ККМ: 001 [02:13:15]line ФМ: 0000000000871841 [02:13:15]line ФД: 38001 [02:13:15]line ФПД: 95249656937150 [02:13:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T021315&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38001&fm=95249656937150&tin=02508201610067®Number=0000000000091684&sum=14400 [02:13:15]OFD Sender: Processing packet 38001 [packets to send 42, broken 41] [02:13:15]ProducePacketName [02:13:15]name=ofd_packets/00038001 [02:13:15]OFD Sender: To server: pG, [02:13:15]CommunicateWithHost lk.salyk.kg:30040 [02:13:15]ConnectInit lk.salyk.kg [02:13:15]line 0 [02:13:15]written 0, free lines is 4095 [02:13:16]Connected sock=10 [02:13:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 70 74 1D 01 8A A1 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 BB E7 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 71 94 00 00 35 04 06 00 56 A1 09 F7 7A BE E9 60 DC 2D 86 F1 66 9D [02:13:16]Write to MH i2c: 01 00 00 FC 03 FF [02:13:16]Write i2c OK [02:13:16]MH_I2C_Read... [02:13:16]Read from MH i2c: 01 [02:13:16]MH_I2C_Read... [02:13:16]Read from MH i2c: 01 07 00 [02:13:16]MH_I2C_Read... [02:13:16]Read from MH i2c: 01 07 00 FC 03 00 00 00 00 00 CE 0C E0 [02:13:16]RasterBufferAndPrint [02:13:16]line [02:13:16]line [02:13:16]line [02:13:16]line [02:13:16]line [02:13:16]written 0, free lines is 3283 [02:13:16]MH_Cut [02:13:16]Write to MH i2c: D1 01 00 03 04 01 D9 [02:13:16]Write i2c OK [02:13:16]MH_I2C_Read... [02:13:16]Read from MH i2c: D1 [02:13:16]MH_I2C_Read... [02:13:16]Read from MH i2c: D1 01 00 [02:13:16]MH_I2C_Read... [02:13:16]Read from MH i2c: D1 01 00 03 04 00 D8 [02:13:16]Write to MH i2c: 01 00 00 04 04 08 [02:13:16]Write i2c OK [02:13:16]MH_I2C_Read... [02:13:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 C9 18 47 00 70 C7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 71 94 00 00 F4 03 04 00 A7 92 22 67 B6 04 01 00 00 E6 90 F8 54 E7 6E 8F 52 [02:13:16]CommunicateWithHost err = 0 [02:13:16]CheckOFDResponse [02:13:16]1017 (14) - 77093643461234 [02:13:16]1041 (16) - 0000000000871841 [02:13:16]1040 (4) - 38001 [02:13:16]1012 (4) - 30.10.2024 20:10 [02:13:16]1206 (1) - 0 [02:13:16]OFD Sender: Remove packet 38001 [02:13:16]ProducePacketName [02:13:16]name=ofd_packets/00038001 [02:13:16]NVStorageDeleteData [02:13:17]*** Cut start [02:13:17]*** Partial cut [02:13:17]*** CUTSNS_PIN = 1 [02:13:17]OFD Sender: No OFD packet to send [02:13:17]*** CUTSNS_PIN = 0 [02:13:17]*** Brake cut motor [02:13:17]Read from MH i2c: 01 [02:13:17]MH_I2C_Read... [02:13:17]*** Stop cut motor [02:13:17]*** Cut end [02:13:17]Read from MH i2c: 01 07 00 [02:13:17]MH_I2C_Read... [02:13:17]Read from MH i2c: 01 07 00 04 04 00 00 00 00 00 FF 0F 1D [02:13:17]process_action close_receipt done [02:13:17]requested_data is exist [02:13:17]produce_requested_data [02:13:17]requested_item fm.sn is exist - process it [02:13:17]wFMCommunicate request_size=4 [02:13:17]MH_SAM_APDU [02:13:17]CAPDU: 80 11 00 00 [02:13:17]Write to MH i2c: E2 08 00 05 04 80 11 00 00 00 00 00 00 83 [02:13:17]Write i2c OK [02:13:17]MH_I2C_Read... [02:13:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:13:17]Read from MH i2c: E2 [02:13:17]MH_I2C_Read... [02:13:17]Read from MH i2c: E2 17 00 [02:13:17]MH_I2C_Read... [02:13:17]Read from MH i2c: E2 17 00 05 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D3 [02:13:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [02:13:17]wFMCommunicate OK [02:13:17]requested_item fd.num is exist - process it [02:13:17]SAM_PROTO_GetFieldsCounters [02:13:17]wFMCommunicate request_size=4 [02:13:17]MH_SAM_APDU [02:13:17]CAPDU: 80 13 00 00 [02:13:17]Write to MH i2c: E2 08 00 06 04 80 13 00 00 00 00 00 00 86 [02:13:17]Write i2c OK [02:13:17]MH_I2C_Read... [02:13:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:13:17]Read from MH i2c: E2 [02:13:17]MH_I2C_Read... [02:13:17]Read from MH i2c: E2 62 00 [02:13:17]MH_I2C_Read... [02:13:17]Read from MH i2c: E2 62 00 06 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 71 94 00 00 0E 04 04 00 2A 02 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 F3 [02:13:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 71 94 00 00 0E 04 04 00 2A 02 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 [02:13:17]wFMCommunicate OK [02:13:17]SAM_PROTO_GetFieldsCounters done [02:13:17]requested_item shift.num is exist - process it [02:13:17]requested_item shift.opened is exist - process it [02:13:17]req_shift_opened [02:13:17]FM_GetShiftState [02:13:17]SAM_PROTO_GetShiftState [02:13:17]wFMCommunicate request_size=4 [02:13:17]MH_SAM_APDU [02:13:17]CAPDU: 80 13 01 00 [02:13:17]Write to MH i2c: E2 08 00 07 04 80 13 01 00 00 00 00 00 88 [02:13:17]Write i2c OK [02:13:17]MH_I2C_Read... [02:13:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:13:17]Read from MH i2c: E2 [02:13:17]MH_I2C_Read... [02:13:17]Read from MH i2c: E2 0E 00 [02:13:17]MH_I2C_Read... [02:13:17]Read from MH i2c: E2 0E 00 07 04 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 C2 [02:13:17]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [02:13:17]wFMCommunicate OK [02:13:17]SAM_PROTO_GetShiftState done [02:13:17]FM_GetShiftState done [02:13:17]req_shift_opened done [02:13:17]requested_item shift.open_date is exist - process it [02:13:17]req_shift_open_date [02:13:17]req_shift_open_date done [02:13:17]produce_requested_data done [02:13:17]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38001,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [02:13:17]process_action_free close_receipt [02:13:17]json_value_free [02:13:17]json_value_free done [02:13:17]process_json_proto returns [02:13:17]Send response to host [02:13:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38001,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [02:13:17]free response buf [02:13:17]execute_script done [02:13:17]execute_script returns [02:13:17]free content buf [02:13:17]Sock 7.Close socket [02:13:17]Sock 7.Thread stoped [02:13:22]OFD Sender: No OFD packet to send [02:13:27]OFD Sender: No OFD packet to send [02:13:32]OFD Sender: No OFD packet to send [02:13:37]OFD Sender: No OFD packet to send [02:13:42]OFD Sender: No OFD packet to send [02:13:47]OFD Sender: No OFD packet to send [02:13:52]OFD Sender: No OFD packet to send [02:13:57]OFD Sender: No OFD packet to send [02:14:02]OFD Sender: No OFD packet to send [02:14:07]OFD Sender: No OFD packet to send [02:14:12]OFD Sender: No OFD packet to send [02:14:17]OFD Sender: No OFD packet to send [02:14:22]OFD Sender: No OFD packet to send [02:14:27]OFD Sender: No OFD packet to send [02:14:32]OFD Sender: No OFD packet to send [02:14:37]OFD Sender: No OFD packet to send [02:14:42]OFD Sender: No OFD packet to send [02:14:47]OFD Sender: No OFD packet to send [02:14:52]OFD Sender: No OFD packet to send [02:14:57]OFD Sender: No OFD packet to send [02:15:02]OFD Sender: No OFD packet to send [02:15:07]OFD Sender: No OFD packet to send [02:15:12]OFD Sender: No OFD packet to send [02:15:17]OFD Sender: No OFD packet to send [02:15:22]OFD Sender: No OFD packet to send [02:15:27]OFD Sender: No OFD packet to send [02:15:32]OFD Sender: No OFD packet to send [02:15:37]OFD Sender: No OFD packet to send [02:15:42]OFD Sender: No OFD packet to send [02:15:47]OFD Sender: No OFD packet to send [02:15:52]OFD Sender: No OFD packet to send [02:15:57]OFD Sender: No OFD packet to send [02:16:02]OFD Sender: No OFD packet to send [02:16:07]OFD Sender: No OFD packet to send [02:16:12]OFD Sender: No OFD packet to send [02:16:17]OFD Sender: No OFD packet to send [02:16:22]OFD Sender: No OFD packet to send [02:16:27]OFD Sender: No OFD packet to send [02:16:32]OFD Sender: No OFD packet to send [02:16:37]OFD Sender: No OFD packet to send [02:16:42]OFD Sender: No OFD packet to send [02:16:47]OFD Sender: No OFD packet to send [02:16:52]OFD Sender: No OFD packet to send [02:16:57]OFD Sender: No OFD packet to send [02:17:02]OFD Sender: No OFD packet to send [02:17:07]OFD Sender: No OFD packet to send [02:17:12]OFD Sender: No OFD packet to send [02:17:17]OFD Sender: No OFD packet to send [02:17:22]OFD Sender: No OFD packet to send [02:17:27]OFD Sender: No OFD packet to send [02:17:32]OFD Sender: No OFD packet to send [02:17:37]OFD Sender: No OFD packet to send [02:17:42]OFD Sender: No OFD packet to send [02:17:47]OFD Sender: No OFD packet to send [02:17:52]OFD Sender: No OFD packet to send [02:17:57]OFD Sender: No OFD packet to send [02:18:02]OFD Sender: No OFD packet to send [02:18:07]OFD Sender: No OFD packet to send [02:18:12]OFD Sender: No OFD packet to send [02:18:17]OFD Sender: No OFD packet to send [02:18:22]OFD Sender: No OFD packet to send [02:18:27]OFD Sender: No OFD packet to send [02:18:32]OFD Sender: No OFD packet to send [02:18:37]OFD Sender: No OFD packet to send [02:18:42]OFD Sender: No OFD packet to send [02:18:47]OFD Sender: No OFD packet to send [02:18:52]OFD Sender: No OFD packet to send [02:18:57]OFD Sender: No OFD packet to send [02:19:02]OFD Sender: No OFD packet to send [02:19:07]OFD Sender: No OFD packet to send [02:19:12]OFD Sender: No OFD packet to send [02:19:17]OFD Sender: No OFD packet to send [02:19:22]OFD Sender: No OFD packet to send [02:19:27]OFD Sender: No OFD packet to send [02:19:32]OFD Sender: No OFD packet to send [02:19:37]OFD Sender: No OFD packet to send [02:19:42]OFD Sender: No OFD packet to send [02:19:47]OFD Sender: No OFD packet to send [02:19:52]OFD Sender: No OFD packet to send [02:19:57]OFD Sender: No OFD packet to send [02:20:02]OFD Sender: No OFD packet to send [02:20:07]OFD Sender: No OFD packet to send [02:20:12]OFD Sender: No OFD packet to send [02:20:17]OFD Sender: No OFD packet to send [02:20:22]OFD Sender: No OFD packet to send [02:20:27]OFD Sender: No OFD packet to send [02:20:32]OFD Sender: No OFD packet to send [02:20:37]OFD Sender: No OFD packet to send [02:20:42]OFD Sender: No OFD packet to send [02:20:47]OFD Sender: No OFD packet to send [02:20:52]OFD Sender: No OFD packet to send [02:20:57]OFD Sender: No OFD packet to send [02:21:02]OFD Sender: No OFD packet to send [02:21:07]OFD Sender: No OFD packet to send [02:21:12]OFD Sender: No OFD packet to send [02:21:17]OFD Sender: No OFD packet to send [02:21:22]OFD Sender: No OFD packet to send [02:21:27]OFD Sender: No OFD packet to send [02:21:32]OFD Sender: No OFD packet to send [02:21:37]OFD Sender: No OFD packet to send [02:21:42]OFD Sender: No OFD packet to send [02:21:47]OFD Sender: No OFD packet to send [02:21:52]OFD Sender: No OFD packet to send [02:21:57]OFD Sender: No OFD packet to send [02:22:02]OFD Sender: No OFD packet to send [02:22:07]OFD Sender: No OFD packet to send [02:22:12]OFD Sender: No OFD packet to send [02:22:17]OFD Sender: No OFD packet to send [02:22:22]OFD Sender: No OFD packet to send [02:22:27]OFD Sender: No OFD packet to send [02:22:32]OFD Sender: No OFD packet to send [02:22:37]OFD Sender: No OFD packet to send [02:22:42]OFD Sender: No OFD packet to send [02:22:47]OFD Sender: No OFD packet to send [02:22:52]OFD Sender: No OFD packet to send [02:22:57]OFD Sender: No OFD packet to send [02:23:02]OFD Sender: No OFD packet to send [02:23:07]OFD Sender: No OFD packet to send [02:23:12]OFD Sender: No OFD packet to send [02:23:17]OFD Sender: No OFD packet to send [02:23:22]OFD Sender: No OFD packet to send [02:23:27]OFD Sender: No OFD packet to send [02:23:32]OFD Sender: No OFD packet to send [02:23:37]OFD Sender: No OFD packet to send [02:23:42]OFD Sender: No OFD packet to send [02:23:47]OFD Sender: No OFD packet to send [02:23:52]OFD Sender: No OFD packet to send [02:23:57]OFD Sender: No OFD packet to send [02:24:02]OFD Sender: No OFD packet to send [02:24:07]OFD Sender: No OFD packet to send [02:24:12]OFD Sender: No OFD packet to send [02:24:17]OFD Sender: No OFD packet to send [02:24:22]OFD Sender: No OFD packet to send [02:24:27]OFD Sender: No OFD packet to send [02:24:32]OFD Sender: No OFD packet to send [02:24:37]OFD Sender: No OFD packet to send [02:24:42]OFD Sender: No OFD packet to send [02:24:47]OFD Sender: No OFD packet to send [02:24:52]OFD Sender: No OFD packet to send [02:24:57]OFD Sender: No OFD packet to send [02:25:02]OFD Sender: No OFD packet to send [02:25:07]OFD Sender: No OFD packet to send [02:25:12]OFD Sender: No OFD packet to send [02:25:17]OFD Sender: No OFD packet to send [02:25:22]OFD Sender: No OFD packet to send [02:25:27]OFD Sender: No OFD packet to send [02:25:32]OFD Sender: No OFD packet to send [02:25:37]OFD Sender: No OFD packet to send [02:25:42]OFD Sender: No OFD packet to send [02:25:47]OFD Sender: No OFD packet to send [02:25:52]OFD Sender: No OFD packet to send [02:25:57]OFD Sender: No OFD packet to send [02:26:02]OFD Sender: No OFD packet to send [02:26:07]OFD Sender: No OFD packet to send [02:26:12]OFD Sender: No OFD packet to send [02:26:17]OFD Sender: No OFD packet to send [02:26:22]OFD Sender: No OFD packet to send [02:26:27]OFD Sender: No OFD packet to send [02:26:32]OFD Sender: No OFD packet to send [02:26:37]OFD Sender: No OFD packet to send [02:26:42]OFD Sender: No OFD packet to send [02:26:47]OFD Sender: No OFD packet to send [02:26:52]OFD Sender: No OFD packet to send [02:26:57]OFD Sender: No OFD packet to send [02:27:02]OFD Sender: No OFD packet to send [02:27:07]OFD Sender: No OFD packet to send [02:27:12]OFD Sender: No OFD packet to send [02:27:17]OFD Sender: No OFD packet to send [02:27:22]OFD Sender: No OFD packet to send [02:27:27]OFD Sender: No OFD packet to send [02:27:32]OFD Sender: No OFD packet to send [02:27:37]OFD Sender: No OFD packet to send [02:27:42]OFD Sender: No OFD packet to send [02:27:47]OFD Sender: No OFD packet to send [02:27:52]OFD Sender: No OFD packet to send [02:27:57]OFD Sender: No OFD packet to send [02:28:02]OFD Sender: No OFD packet to send [02:28:07]OFD Sender: No OFD packet to send [02:28:12]OFD Sender: No OFD packet to send [02:28:17]OFD Sender: No OFD packet to send [02:28:22]OFD Sender: No OFD packet to send [02:28:27]OFD Sender: No OFD packet to send [02:28:32]OFD Sender: No OFD packet to send [02:28:37]OFD Sender: No OFD packet to send [02:28:42]OFD Sender: No OFD packet to send [02:28:47]OFD Sender: No OFD packet to send [02:28:52]OFD Sender: No OFD packet to send [02:28:57]OFD Sender: No OFD packet to send [02:29:02]OFD Sender: No OFD packet to send [02:29:07]OFD Sender: No OFD packet to send [02:29:12]OFD Sender: No OFD packet to send [02:29:17]OFD Sender: No OFD packet to send [02:29:22]OFD Sender: No OFD packet to send [02:29:27]OFD Sender: No OFD packet to send [02:29:32]OFD Sender: No OFD packet to send [02:29:37]OFD Sender: No OFD packet to send [02:29:42]OFD Sender: No OFD packet to send [02:29:47]OFD Sender: No OFD packet to send [02:29:52]OFD Sender: No OFD packet to send [02:29:57]OFD Sender: No OFD packet to send [02:30:02]OFD Sender: No OFD packet to send [02:30:08]OFD Sender: No OFD packet to send [02:30:13]OFD Sender: No OFD packet to send [02:30:18]OFD Sender: No OFD packet to send [02:30:23]OFD Sender: No OFD packet to send [02:30:28]OFD Sender: No OFD packet to send [02:30:33]OFD Sender: No OFD packet to send [02:30:38]OFD Sender: No OFD packet to send [02:30:43]OFD Sender: No OFD packet to send [02:30:48]OFD Sender: No OFD packet to send [02:30:53]OFD Sender: No OFD packet to send [02:30:58]OFD Sender: No OFD packet to send [02:31:03]OFD Sender: No OFD packet to send [02:31:08]OFD Sender: No OFD packet to send [02:31:13]OFD Sender: No OFD packet to send [02:31:18]OFD Sender: No OFD packet to send [02:31:23]OFD Sender: No OFD packet to send [02:31:28]OFD Sender: No OFD packet to send [02:31:33]OFD Sender: No OFD packet to send [02:31:38]OFD Sender: No OFD packet to send [02:31:43]OFD Sender: No OFD packet to send [02:31:48]OFD Sender: No OFD packet to send [02:31:53]OFD Sender: No OFD packet to send [02:31:58]OFD Sender: No OFD packet to send [02:32:03]OFD Sender: No OFD packet to send [02:32:08]OFD Sender: No OFD packet to send [02:32:13]OFD Sender: No OFD packet to send [02:32:18]OFD Sender: No OFD packet to send [02:32:23]OFD Sender: No OFD packet to send [02:32:28]OFD Sender: No OFD packet to send [02:32:33]OFD Sender: No OFD packet to send [02:32:38]OFD Sender: No OFD packet to send [02:32:43]OFD Sender: No OFD packet to send [02:32:48]OFD Sender: No OFD packet to send [02:32:53]OFD Sender: No OFD packet to send [02:32:58]OFD Sender: No OFD packet to send [02:33:03]OFD Sender: No OFD packet to send [02:33:08]OFD Sender: No OFD packet to send [02:33:13]OFD Sender: No OFD packet to send [02:33:18]OFD Sender: No OFD packet to send [02:33:23]OFD Sender: No OFD packet to send [02:33:28]OFD Sender: No OFD packet to send [02:33:33]OFD Sender: No OFD packet to send [02:33:38]OFD Sender: No OFD packet to send [02:33:43]OFD Sender: No OFD packet to send [02:33:48]OFD Sender: No OFD packet to send [02:33:53]OFD Sender: No OFD packet to send [02:33:58]OFD Sender: No OFD packet to send [02:34:03]OFD Sender: No OFD packet to send [02:34:08]OFD Sender: No OFD packet to send [02:34:13]OFD Sender: No OFD packet to send [02:34:18]OFD Sender: No OFD packet to send [02:34:23]OFD Sender: No OFD packet to send [02:34:28]OFD Sender: No OFD packet to send [02:34:33]OFD Sender: No OFD packet to send [02:34:38]OFD Sender: No OFD packet to send [02:34:43]OFD Sender: No OFD packet to send [02:34:48]OFD Sender: No OFD packet to send [02:34:53]OFD Sender: No OFD packet to send [02:34:58]OFD Sender: No OFD packet to send [02:35:03]OFD Sender: No OFD packet to send [02:35:08]OFD Sender: No OFD packet to send [02:35:13]OFD Sender: No OFD packet to send [02:35:18]OFD Sender: No OFD packet to send [02:35:23]OFD Sender: No OFD packet to send [02:35:28]OFD Sender: No OFD packet to send [02:35:33]OFD Sender: No OFD packet to send [02:35:38]OFD Sender: No OFD packet to send [02:35:43]OFD Sender: No OFD packet to send [02:35:48]OFD Sender: No OFD packet to send [02:35:53]OFD Sender: No OFD packet to send [02:35:58]OFD Sender: No OFD packet to send [02:36:03]OFD Sender: No OFD packet to send [02:36:08]OFD Sender: No OFD packet to send [02:36:13]OFD Sender: No OFD packet to send [02:36:18]OFD Sender: No OFD packet to send [02:36:23]OFD Sender: No OFD packet to send [02:36:28]OFD Sender: No OFD packet to send [02:36:33]OFD Sender: No OFD packet to send [02:36:38]OFD Sender: No OFD packet to send [02:36:43]OFD Sender: No OFD packet to send [02:36:48]OFD Sender: No OFD packet to send [02:36:53]OFD Sender: No OFD packet to send [02:36:58]OFD Sender: No OFD packet to send [02:37:03]OFD Sender: No OFD packet to send [02:37:08]OFD Sender: No OFD packet to send [02:37:13]OFD Sender: No OFD packet to send [02:37:18]OFD Sender: No OFD packet to send [02:37:23]OFD Sender: No OFD packet to send [02:37:28]OFD Sender: No OFD packet to send [02:37:33]OFD Sender: No OFD packet to send [02:37:38]OFD Sender: No OFD packet to send [02:37:43]OFD Sender: No OFD packet to send [02:37:48]OFD Sender: No OFD packet to send [02:37:53]OFD Sender: No OFD packet to send [02:37:58]OFD Sender: No OFD packet to send [02:38:03]OFD Sender: No OFD packet to send [02:38:08]OFD Sender: No OFD packet to send [02:38:13]OFD Sender: No OFD packet to send [02:38:18]OFD Sender: No OFD packet to send [02:38:23]OFD Sender: No OFD packet to send [02:38:28]OFD Sender: No OFD packet to send [02:38:33]OFD Sender: No OFD packet to send [02:38:38]OFD Sender: No OFD packet to send [02:38:43]OFD Sender: No OFD packet to send [02:38:48]OFD Sender: No OFD packet to send [02:38:53]OFD Sender: No OFD packet to send [02:38:58]OFD Sender: No OFD packet to send [02:39:03]OFD Sender: No OFD packet to send [02:39:08]OFD Sender: No OFD packet to send [02:39:13]OFD Sender: No OFD packet to send [02:39:18]OFD Sender: No OFD packet to send [02:39:23]OFD Sender: No OFD packet to send [02:39:28]OFD Sender: No OFD packet to send [02:39:33]OFD Sender: No OFD packet to send [02:39:38]OFD Sender: No OFD packet to send [02:39:43]OFD Sender: No OFD packet to send [02:39:48]OFD Sender: No OFD packet to send [02:39:53]OFD Sender: No OFD packet to send [02:39:58]OFD Sender: No OFD packet to send [02:40:03]OFD Sender: No OFD packet to send [02:40:08]OFD Sender: No OFD packet to send [02:40:13]OFD Sender: No OFD packet to send [02:40:18]OFD Sender: No OFD packet to send [02:40:23]OFD Sender: No OFD packet to send [02:40:28]OFD Sender: No OFD packet to send [02:40:33]OFD Sender: No OFD packet to send [02:40:38]OFD Sender: No OFD packet to send [02:40:43]OFD Sender: No OFD packet to send [02:40:48]OFD Sender: No OFD packet to send [02:40:53]OFD Sender: No OFD packet to send [02:40:58]OFD Sender: No OFD packet to send [02:41:03]OFD Sender: No OFD packet to send [02:41:08]OFD Sender: No OFD packet to send [02:41:13]OFD Sender: No OFD packet to send [02:41:18]OFD Sender: No OFD packet to send [02:41:23]OFD Sender: No OFD packet to send [02:41:28]OFD Sender: No OFD packet to send [02:41:33]OFD Sender: No OFD packet to send [02:41:38]OFD Sender: No OFD packet to send [02:41:43]OFD Sender: No OFD packet to send [02:41:48]OFD Sender: No OFD packet to send [02:41:53]OFD Sender: No OFD packet to send [02:41:58]OFD Sender: No OFD packet to send [02:42:03]OFD Sender: No OFD packet to send [02:42:08]OFD Sender: No OFD packet to send [02:42:13]OFD Sender: No OFD packet to send [02:42:18]OFD Sender: No OFD packet to send [02:42:23]OFD Sender: No OFD packet to send [02:42:28]OFD Sender: No OFD packet to send [02:42:33]OFD Sender: No OFD packet to send [02:42:38]OFD Sender: No OFD packet to send [02:42:43]OFD Sender: No OFD packet to send [02:42:48]OFD Sender: No OFD packet to send [02:42:53]OFD Sender: No OFD packet to send [02:42:58]OFD Sender: No OFD packet to send [02:43:03]OFD Sender: No OFD packet to send [02:43:08]OFD Sender: No OFD packet to send [02:43:13]OFD Sender: No OFD packet to send [02:43:18]OFD Sender: No OFD packet to send [02:43:23]OFD Sender: No OFD packet to send [02:43:28]OFD Sender: No OFD packet to send [02:43:33]OFD Sender: No OFD packet to send [02:43:38]OFD Sender: No OFD packet to send [02:43:43]OFD Sender: No OFD packet to send [02:43:48]OFD Sender: No OFD packet to send [02:43:53]OFD Sender: No OFD packet to send [02:43:58]OFD Sender: No OFD packet to send [02:44:03]OFD Sender: No OFD packet to send [02:44:08]OFD Sender: No OFD packet to send [02:44:13]OFD Sender: No OFD packet to send [02:44:18]OFD Sender: No OFD packet to send [02:44:23]OFD Sender: No OFD packet to send [02:44:28]OFD Sender: No OFD packet to send [02:44:33]OFD Sender: No OFD packet to send [02:44:38]OFD Sender: No OFD packet to send [02:44:43]OFD Sender: No OFD packet to send [02:44:48]OFD Sender: No OFD packet to send [02:44:53]OFD Sender: No OFD packet to send [02:44:58]OFD Sender: No OFD packet to send [02:45:03]OFD Sender: No OFD packet to send [02:45:08]OFD Sender: No OFD packet to send [02:45:13]OFD Sender: No OFD packet to send [02:45:18]OFD Sender: No OFD packet to send [02:45:23]OFD Sender: No OFD packet to send [02:45:28]OFD Sender: No OFD packet to send [02:45:33]OFD Sender: No OFD packet to send [02:45:38]OFD Sender: No OFD packet to send [02:45:43]OFD Sender: No OFD packet to send [02:45:48]OFD Sender: No OFD packet to send [02:45:53]OFD Sender: No OFD packet to send [02:45:58]OFD Sender: No OFD packet to send [02:46:03]OFD Sender: No OFD packet to send [02:46:08]OFD Sender: No OFD packet to send [02:46:13]OFD Sender: No OFD packet to send [02:46:18]OFD Sender: No OFD packet to send [02:46:23]OFD Sender: No OFD packet to send [02:46:28]OFD Sender: No OFD packet to send [02:46:33]OFD Sender: No OFD packet to send [02:46:38]OFD Sender: No OFD packet to send [02:46:43]OFD Sender: No OFD packet to send [02:46:48]OFD Sender: No OFD packet to send [02:46:53]OFD Sender: No OFD packet to send [02:46:58]OFD Sender: No OFD packet to send [02:47:03]OFD Sender: No OFD packet to send [02:47:08]OFD Sender: No OFD packet to send [02:47:13]OFD Sender: No OFD packet to send [02:47:18]OFD Sender: No OFD packet to send [02:47:23]OFD Sender: No OFD packet to send [02:47:28]OFD Sender: No OFD packet to send [02:47:33]OFD Sender: No OFD packet to send [02:47:38]OFD Sender: No OFD packet to send [02:47:43]OFD Sender: No OFD packet to send [02:47:48]OFD Sender: No OFD packet to send [02:47:53]OFD Sender: No OFD packet to send [02:47:58]OFD Sender: No OFD packet to send [02:48:03]OFD Sender: No OFD packet to send [02:48:08]OFD Sender: No OFD packet to send [02:48:13]OFD Sender: No OFD packet to send [02:48:18]OFD Sender: No OFD packet to send [02:48:23]OFD Sender: No OFD packet to send [02:48:28]OFD Sender: No OFD packet to send [02:48:33]OFD Sender: No OFD packet to send [02:48:38]OFD Sender: No OFD packet to send [02:48:43]OFD Sender: No OFD packet to send [02:48:48]OFD Sender: No OFD packet to send [02:48:53]OFD Sender: No OFD packet to send [02:48:58]OFD Sender: No OFD packet to send [02:49:03]OFD Sender: No OFD packet to send [02:49:09]OFD Sender: No OFD packet to send [02:49:14]OFD Sender: No OFD packet to send [02:49:19]OFD Sender: No OFD packet to send [02:49:24]OFD Sender: No OFD packet to send [02:49:29]OFD Sender: No OFD packet to send [02:49:34]OFD Sender: No OFD packet to send [02:49:39]OFD Sender: No OFD packet to send [02:49:44]OFD Sender: No OFD packet to send [02:49:49]OFD Sender: No OFD packet to send [02:49:54]OFD Sender: No OFD packet to send [02:49:59]OFD Sender: No OFD packet to send [02:50:04]OFD Sender: No OFD packet to send [02:50:09]OFD Sender: No OFD packet to send [02:50:14]OFD Sender: No OFD packet to send [02:50:19]OFD Sender: No OFD packet to send [02:50:24]OFD Sender: No OFD packet to send [02:50:29]OFD Sender: No OFD packet to send [02:50:34]OFD Sender: No OFD packet to send [02:50:39]OFD Sender: No OFD packet to send [02:50:44]OFD Sender: No OFD packet to send [02:50:49]OFD Sender: No OFD packet to send [02:50:54]OFD Sender: No OFD packet to send [02:50:59]OFD Sender: No OFD packet to send [02:51:04]OFD Sender: No OFD packet to send [02:51:09]OFD Sender: No OFD packet to send [02:51:14]OFD Sender: No OFD packet to send [02:51:19]OFD Sender: No OFD packet to send [02:51:24]OFD Sender: No OFD packet to send [02:51:29]OFD Sender: No OFD packet to send [02:51:34]OFD Sender: No OFD packet to send [02:51:39]OFD Sender: No OFD packet to send [02:51:44]OFD Sender: No OFD packet to send [02:51:49]OFD Sender: No OFD packet to send [02:51:54]OFD Sender: No OFD packet to send [02:51:59]OFD Sender: No OFD packet to send [02:52:04]OFD Sender: No OFD packet to send [02:52:09]OFD Sender: No OFD packet to send [02:52:14]OFD Sender: No OFD packet to send [02:52:19]OFD Sender: No OFD packet to send [02:52:24]OFD Sender: No OFD packet to send [02:52:29]OFD Sender: No OFD packet to send [02:52:34]OFD Sender: No OFD packet to send [02:52:39]OFD Sender: No OFD packet to send [02:52:44]OFD Sender: No OFD packet to send [02:52:49]OFD Sender: No OFD packet to send [02:52:54]OFD Sender: No OFD packet to send [02:52:59]OFD Sender: No OFD packet to send [02:53:04]OFD Sender: No OFD packet to send [02:53:09]OFD Sender: No OFD packet to send [02:53:14]OFD Sender: No OFD packet to send [02:53:19]OFD Sender: No OFD packet to send [02:53:24]OFD Sender: No OFD packet to send [02:53:29]OFD Sender: No OFD packet to send [02:53:34]OFD Sender: No OFD packet to send [02:53:39]OFD Sender: No OFD packet to send [02:53:44]OFD Sender: No OFD packet to send [02:53:49]OFD Sender: No OFD packet to send [02:53:54]OFD Sender: No OFD packet to send [02:53:59]OFD Sender: No OFD packet to send [02:54:04]OFD Sender: No OFD packet to send [02:54:09]OFD Sender: No OFD packet to send [02:54:14]OFD Sender: No OFD packet to send [02:54:19]OFD Sender: No OFD packet to send [02:54:24]OFD Sender: No OFD packet to send [02:54:29]OFD Sender: No OFD packet to send [02:54:34]OFD Sender: No OFD packet to send [02:54:39]OFD Sender: No OFD packet to send [02:54:44]OFD Sender: No OFD packet to send [02:54:49]OFD Sender: No OFD packet to send [02:54:54]OFD Sender: No OFD packet to send [02:54:59]OFD Sender: No OFD packet to send [02:55:04]OFD Sender: No OFD packet to send [02:55:09]OFD Sender: No OFD packet to send [02:55:14]OFD Sender: No OFD packet to send [02:55:19]OFD Sender: No OFD packet to send [02:55:24]OFD Sender: No OFD packet to send [02:55:29]OFD Sender: No OFD packet to send [02:55:34]OFD Sender: No OFD packet to send [02:55:39]OFD Sender: No OFD packet to send [02:55:44]OFD Sender: No OFD packet to send [02:55:49]OFD Sender: No OFD packet to send [02:55:54]OFD Sender: No OFD packet to send [02:55:59]OFD Sender: No OFD packet to send [02:56:04]OFD Sender: No OFD packet to send [02:56:09]OFD Sender: No OFD packet to send [02:56:14]OFD Sender: No OFD packet to send [02:56:19]OFD Sender: No OFD packet to send [02:56:24]OFD Sender: No OFD packet to send [02:56:29]OFD Sender: No OFD packet to send [02:56:34]OFD Sender: No OFD packet to send [02:56:39]OFD Sender: No OFD packet to send [02:56:44]OFD Sender: No OFD packet to send [02:56:49]OFD Sender: No OFD packet to send [02:56:54]OFD Sender: No OFD packet to send [02:56:59]OFD Sender: No OFD packet to send [02:57:04]OFD Sender: No OFD packet to send [02:57:09]OFD Sender: No OFD packet to send [02:57:14]OFD Sender: No OFD packet to send [02:57:19]OFD Sender: No OFD packet to send [02:57:24]OFD Sender: No OFD packet to send [02:57:29]OFD Sender: No OFD packet to send [02:57:34]OFD Sender: No OFD packet to send [02:57:39]OFD Sender: No OFD packet to send [02:57:44]OFD Sender: No OFD packet to send [02:57:49]OFD Sender: No OFD packet to send [02:57:54]OFD Sender: No OFD packet to send [02:57:59]OFD Sender: No OFD packet to send [02:58:04]OFD Sender: No OFD packet to send [02:58:09]OFD Sender: No OFD packet to send [02:58:14]OFD Sender: No OFD packet to send [02:58:19]OFD Sender: No OFD packet to send [02:58:24]OFD Sender: No OFD packet to send [02:58:29]OFD Sender: No OFD packet to send [02:58:34]OFD Sender: No OFD packet to send [02:58:39]OFD Sender: No OFD packet to send [02:58:44]OFD Sender: No OFD packet to send [02:58:49]OFD Sender: No OFD packet to send [02:58:54]OFD Sender: No OFD packet to send [02:58:59]OFD Sender: No OFD packet to send [02:59:04]OFD Sender: No OFD packet to send [02:59:09]OFD Sender: No OFD packet to send [02:59:14]OFD Sender: No OFD packet to send [02:59:19]OFD Sender: No OFD packet to send [02:59:24]OFD Sender: No OFD packet to send [02:59:29]OFD Sender: No OFD packet to send [02:59:34]OFD Sender: No OFD packet to send [02:59:39]OFD Sender: No OFD packet to send [02:59:44]OFD Sender: No OFD packet to send [02:59:49]OFD Sender: No OFD packet to send [02:59:54]OFD Sender: No OFD packet to send [02:59:59]OFD Sender: No OFD packet to send [03:00:04]OFD Sender: No OFD packet to send [03:00:09]OFD Sender: No OFD packet to send [03:00:14]OFD Sender: No OFD packet to send [03:00:19]OFD Sender: No OFD packet to send [03:00:24]OFD Sender: No OFD packet to send [03:00:29]OFD Sender: No OFD packet to send [03:00:34]OFD Sender: No OFD packet to send [03:00:39]OFD Sender: No OFD packet to send [03:00:44]OFD Sender: No OFD packet to send [03:00:49]OFD Sender: No OFD packet to send [03:00:54]OFD Sender: No OFD packet to send [03:00:59]OFD Sender: No OFD packet to send [03:01:04]OFD Sender: No OFD packet to send [03:01:09]OFD Sender: No OFD packet to send [03:01:14]OFD Sender: No OFD packet to send [03:01:19]OFD Sender: No OFD packet to send [03:01:24]OFD Sender: No OFD packet to send [03:01:29]OFD Sender: No OFD packet to send [03:01:34]OFD Sender: No OFD packet to send [03:01:39]OFD Sender: No OFD packet to send [03:01:44]OFD Sender: No OFD packet to send [03:01:49]OFD Sender: No OFD packet to send [03:01:54]OFD Sender: No OFD packet to send [03:01:59]OFD Sender: No OFD packet to send [03:02:04]OFD Sender: No OFD packet to send [03:02:09]OFD Sender: No OFD packet to send [03:02:14]OFD Sender: No OFD packet to send [03:02:19]OFD Sender: No OFD packet to send [03:02:24]OFD Sender: No OFD packet to send [03:02:29]OFD Sender: No OFD packet to send [03:02:34]OFD Sender: No OFD packet to send [03:02:39]OFD Sender: No OFD packet to send [03:02:44]OFD Sender: No OFD packet to send [03:02:49]OFD Sender: No OFD packet to send [03:02:54]OFD Sender: No OFD packet to send