[03:00:57]OFD Sender: No OFD packet to send [03:01:02]OFD Sender: No OFD packet to send [03:01:07]OFD Sender: No OFD packet to send [03:01:12]OFD Sender: No OFD packet to send [03:01:17]OFD Sender: No OFD packet to send [03:01:22]OFD Sender: No OFD packet to send [03:01:27]OFD Sender: No OFD packet to send [03:01:32]OFD Sender: No OFD packet to send [03:01:37]OFD Sender: No OFD packet to send [03:01:42]OFD Sender: No OFD packet to send [03:01:47]OFD Sender: No OFD packet to send [03:01:52]OFD Sender: No OFD packet to send [03:01:57]OFD Sender: No OFD packet to send [03:02:02]OFD Sender: No OFD packet to send [03:02:07]OFD Sender: No OFD packet to send [03:02:12]OFD Sender: No OFD packet to send [03:02:17]OFD Sender: No OFD packet to send [03:02:22]OFD Sender: No OFD packet to send [03:02:27]OFD Sender: No OFD packet to send [03:02:32]OFD Sender: No OFD packet to send [03:02:37]OFD Sender: No OFD packet to send [03:02:42]OFD Sender: No OFD packet to send [03:02:47]OFD Sender: No OFD packet to send [03:02:52]OFD Sender: No OFD packet to send [03:02:57]OFD Sender: No OFD packet to send [03:03:02]OFD Sender: No OFD packet to send [03:03:07]OFD Sender: No OFD packet to send [03:03:12]OFD Sender: No OFD packet to send [03:03:17]OFD Sender: No OFD packet to send [03:03:22]OFD Sender: No OFD packet to send [03:03:27]OFD Sender: No OFD packet to send [03:03:32]OFD Sender: No OFD packet to send [03:03:37]OFD Sender: No OFD packet to send [03:03:42]OFD Sender: No OFD packet to send [03:03:47]OFD Sender: No OFD packet to send [03:03:52]OFD Sender: No OFD packet to send [03:03:57]OFD Sender: No OFD packet to send [03:04:02]OFD Sender: No OFD packet to send [03:04:07]OFD Sender: No OFD packet to send [03:04:12]OFD Sender: No OFD packet to send [03:04:17]OFD Sender: No OFD packet to send [03:04:22]OFD Sender: No OFD packet to send [03:04:27]OFD Sender: No OFD packet to send [03:04:32]OFD Sender: No OFD packet to send [03:04:37]OFD Sender: No OFD packet to send [03:04:42]OFD Sender: No OFD packet to send [03:04:47]OFD Sender: No OFD packet to send [03:04:52]OFD Sender: No OFD packet to send [03:04:57]OFD Sender: No OFD packet to send [03:05:02]OFD Sender: No OFD packet to send [03:05:07]OFD Sender: No OFD packet to send [03:05:12]OFD Sender: No OFD packet to send [03:05:17]OFD Sender: No OFD packet to send [03:05:22]OFD Sender: No OFD packet to send [03:05:27]OFD Sender: No OFD packet to send [03:05:32]OFD Sender: No OFD packet to send [03:05:37]OFD Sender: No OFD packet to send [03:05:42]OFD Sender: No OFD packet to send [03:05:47]OFD Sender: No OFD packet to send [03:05:52]OFD Sender: No OFD packet to send [03:05:57]OFD Sender: No OFD packet to send [03:06:02]OFD Sender: No OFD packet to send [03:06:07]OFD Sender: No OFD packet to send [03:06:12]OFD Sender: No OFD packet to send [03:06:17]OFD Sender: No OFD packet to send [03:06:22]OFD Sender: No OFD packet to send [03:06:27]OFD Sender: No OFD packet to send [03:06:32]OFD Sender: No OFD packet to send [03:06:37]OFD Sender: No OFD packet to send [03:06:42]OFD Sender: No OFD packet to send [03:06:47]OFD Sender: No OFD packet to send [03:06:52]OFD Sender: No OFD packet to send [03:06:57]OFD Sender: No OFD packet to send [03:07:02]OFD Sender: No OFD packet to send [03:07:07]OFD Sender: No OFD packet to send [03:07:12]OFD Sender: No OFD packet to send [03:07:17]OFD Sender: No OFD packet to send [03:07:22]OFD Sender: No OFD packet to send [03:07:27]OFD Sender: No OFD packet to send [03:07:32]OFD Sender: No OFD packet to send [03:07:37]OFD Sender: No OFD packet to send [03:07:42]OFD Sender: No OFD packet to send [03:07:47]OFD Sender: No OFD packet to send [03:07:52]OFD Sender: No OFD packet to send [03:07:57]OFD Sender: No OFD packet to send [03:08:02]OFD Sender: No OFD packet to send [03:08:07]OFD Sender: No OFD packet to send [03:08:12]OFD Sender: No OFD packet to send [03:08:17]OFD Sender: No OFD packet to send [03:08:22]OFD Sender: No OFD packet to send [03:08:27]OFD Sender: No OFD packet to send [03:08:32]OFD Sender: No OFD packet to send [03:08:37]OFD Sender: No OFD packet to send [03:08:42]OFD Sender: No OFD packet to send [03:08:47]OFD Sender: No OFD packet to send [03:08: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:38]OFD Sender: No OFD packet to send [03:17:43]OFD Sender: No OFD packet to send [03:17:48]OFD Sender: No OFD packet to send [03:17:53]OFD Sender: No OFD packet to send [03:17:58]OFD Sender: No OFD packet to send [03:18:03]OFD Sender: No OFD packet to send [03:18:08]OFD Sender: No OFD packet to send [03:18:13]OFD Sender: No OFD packet to send [03:18:18]OFD Sender: No OFD packet to send [03:18:23]OFD Sender: No OFD packet to send [03:18:28]OFD Sender: No OFD packet to send [03:18:33]OFD Sender: No OFD packet to send [03:18:38]OFD Sender: No OFD packet to send [03:18:43]OFD Sender: No OFD packet to send [03:18:48]OFD Sender: No OFD packet to send [03:18:53]OFD Sender: No OFD packet to send [03:18:58]OFD Sender: No OFD packet to send [03:19:03]OFD Sender: No OFD packet to send [03:19:08]OFD Sender: No OFD packet to send [03:19:13]OFD Sender: No OFD packet to send [03:19:18]OFD Sender: No OFD packet to send [03:19:23]OFD Sender: No OFD packet to send [03:19:28]OFD Sender: No OFD packet to send [03:19:33]OFD Sender: No OFD packet to send [03:19:38]OFD Sender: No OFD packet to send [03:19:43]OFD Sender: No OFD packet to send [03:19:48]OFD Sender: No OFD packet to send [03:19:53]OFD Sender: No OFD packet to send [03:19:58]OFD Sender: No OFD packet to send [03:20:03]OFD Sender: No OFD packet to send [03:20:08]OFD Sender: No OFD packet to send [03:20:13]OFD Sender: No OFD packet to send [03:20:18]OFD Sender: No OFD packet to send [03:20:23]OFD Sender: No OFD packet to send [03:20:28]OFD Sender: No OFD packet to send [03:20:33]OFD Sender: No OFD packet to send [03:20:38]OFD Sender: No OFD packet to send [03:20:43]OFD Sender: No OFD packet to send [03:20:48]OFD Sender: No OFD packet to send [03:20:53]OFD Sender: No OFD packet to send [03:20:58]OFD Sender: No OFD packet to send [03:21:03]OFD Sender: No OFD packet to send [03:21:08]OFD Sender: No OFD packet to send [03:21:13]OFD Sender: No OFD packet to send [03:21:18]OFD Sender: No OFD packet to send [03:21:23]OFD Sender: No OFD packet to send [03:21:28]OFD Sender: No OFD packet to send [03:21:33]OFD Sender: No OFD packet to send [03:21:38]OFD Sender: No OFD packet to send [03:21:43]OFD Sender: No OFD packet to send [03:21:48]OFD Sender: No OFD packet to send [03:21:53]OFD Sender: No OFD packet to send [03:21:58]OFD Sender: No OFD packet to send [03:22:03]OFD Sender: No OFD packet to send [03:22:08]OFD Sender: No OFD packet to send [03:22:13]OFD Sender: No OFD packet to send [03:22:18]OFD Sender: No OFD packet to send [03:22:23]OFD Sender: No OFD packet to send [03:22:28]OFD Sender: No OFD packet to send [03:22:33]OFD Sender: No OFD packet to send [03:22:38]OFD Sender: No OFD packet to send [03:22:43]OFD Sender: No OFD packet to send [03:22:48]OFD Sender: No OFD packet to send [03:22:53]OFD Sender: No OFD packet to send [03:22:58]OFD Sender: No OFD packet to send [03:23:03]OFD Sender: No OFD packet to send [03:23:08]OFD Sender: No OFD packet to send [03:23:13]OFD Sender: No OFD packet to send [03:23:18]OFD Sender: No OFD packet to send [03:23:23]OFD Sender: No OFD packet to send [03:23:28]OFD Sender: No OFD packet to send [03:23:33]OFD Sender: No OFD packet to send [03:23:38]OFD Sender: No OFD packet to send [03:23:43]OFD Sender: No OFD packet to send [03:23:48]OFD Sender: No OFD packet to send [03:23:53]OFD Sender: No OFD packet to send [03:23:58]OFD Sender: No OFD packet to send [03:24:03]OFD Sender: No OFD packet to send [03:24:08]OFD Sender: No OFD packet to send [03:24:13]OFD Sender: No OFD packet to send [03:24:18]OFD Sender: No OFD packet to send [03:24:23]OFD Sender: No OFD packet to send [03:24:28]OFD Sender: No OFD packet to send [03:24:33]OFD Sender: No OFD packet to send [03:24:38]OFD Sender: No OFD packet to send [03:24:43]OFD Sender: No OFD packet to send [03:24:48]OFD Sender: No OFD packet to send [03:24:53]OFD Sender: No OFD packet to send [03:24:58]OFD Sender: No OFD packet to send [03:25:03]OFD Sender: No OFD packet to send [03:25:08]OFD Sender: No OFD packet to send [03:25:13]OFD Sender: No OFD packet to send [03:25:18]OFD Sender: No OFD packet to send [03:25:23]OFD Sender: No OFD packet to send [03:25:28]OFD Sender: No OFD packet to send [03:25:33]OFD Sender: No OFD packet to send [03:25:38]OFD Sender: No OFD packet to send [03:25:43]OFD Sender: No OFD packet to send [03:25:48]OFD Sender: No OFD packet to send [03:25:53]OFD Sender: No OFD packet to send [03:25:58]OFD Sender: No OFD packet to send [03:26:03]OFD Sender: No OFD packet to send [03:26:08]OFD Sender: No OFD packet to send [03:26:13]OFD Sender: No OFD packet to send [03:26:18]OFD Sender: No OFD packet to send [03:26:23]OFD Sender: No OFD packet to send [03:26:28]OFD Sender: No OFD packet to send [03:26:33]OFD Sender: No OFD packet to send [03:26:38]OFD Sender: No OFD packet to send [03:26:43]OFD Sender: No OFD packet to send [03:26:48]OFD Sender: No OFD packet to send [03:26:53]OFD Sender: No OFD packet to send [03:26:58]OFD Sender: No OFD packet to send [03:27:03]OFD Sender: No OFD packet to send [03:27:08]OFD Sender: No OFD packet to send [03:27:13]OFD Sender: No OFD packet to send [03:27:18]OFD Sender: No OFD packet to send [03:27:23]OFD Sender: No OFD packet to send [03:27:28]OFD Sender: No OFD packet to send [03:27:33]OFD Sender: No OFD packet to send [03:27:38]OFD Sender: No OFD packet to send [03:27:43]OFD Sender: No OFD packet to send [03:27:48]OFD Sender: No OFD packet to send [03:27:53]OFD Sender: No OFD packet to send [03:27:58]OFD Sender: No OFD packet to send [03:28:03]OFD Sender: No OFD packet to send [03:28:08]OFD Sender: No OFD packet to send [03:28:13]OFD Sender: No OFD packet to send [03:28:18]OFD Sender: No OFD packet to send [03:28:23]OFD Sender: No OFD packet to send [03:28:28]OFD Sender: No OFD packet to send [03:28:33]OFD Sender: No OFD packet to send [03:28:38]OFD Sender: No OFD packet to send [03:28:43]OFD Sender: No OFD packet to send [03:28:48]OFD Sender: No OFD packet to send [03:28:53]OFD Sender: No OFD packet to send [03:28:58]OFD Sender: No OFD packet to send [03:29:03]OFD Sender: No OFD packet to send [03:29:08]OFD Sender: No OFD packet to send [03:29:13]OFD Sender: No OFD packet to send [03:29:18]OFD Sender: No OFD packet to send [03:29:23]OFD Sender: No OFD packet to send [03:29:28]OFD Sender: No OFD packet to send [03:29:33]OFD Sender: No OFD packet to send [03:29:38]OFD Sender: No OFD packet to send [03:29:43]OFD Sender: No OFD packet to send [03:29:48]OFD Sender: No OFD packet to send [03:29:53]OFD Sender: No OFD packet to send [03:29:58]OFD Sender: No OFD packet to send [03:30:03]OFD Sender: No OFD packet to send [03:30:08]OFD Sender: No OFD packet to send [03:30:13]OFD Sender: No OFD packet to send [03:30:18]OFD Sender: No OFD packet to send [03:30:23]OFD Sender: No OFD packet to send [03:30:28]OFD Sender: No OFD packet to send [03:30:33]OFD Sender: No OFD packet to send [03:30:38]OFD Sender: No OFD packet to send [03:30:43]OFD Sender: No OFD packet to send [03:30:49]OFD Sender: No OFD packet to send [03:30:54]OFD Sender: No OFD packet to send [03:30:59]OFD Sender: No OFD packet to send [03:31:04]OFD Sender: No OFD packet to send [03:31:09]OFD Sender: No OFD packet to send [03:31:14]OFD Sender: No OFD packet to send [03:31:19]OFD Sender: No OFD packet to send [03:31:24]OFD Sender: No OFD packet to send [03:31:29]OFD Sender: No OFD packet to send [03:31:34]OFD Sender: No OFD packet to send [03:31:39]OFD Sender: No OFD packet to send [03:31:44]OFD Sender: No OFD packet to send [03:31:49]OFD Sender: No OFD packet to send [03:31:54]OFD Sender: No OFD packet to send [03:31:59]OFD Sender: No OFD packet to send [03:32:04]OFD Sender: No OFD packet to send [03:32:09]OFD Sender: No OFD packet to send [03:32:14]OFD Sender: No OFD packet to send [03:32:19]OFD Sender: No OFD packet to send [03:32:24]OFD Sender: No OFD packet to send [03:32:29]OFD Sender: No OFD packet to send [03:32:34]OFD Sender: No OFD packet to send [03:32:39]OFD Sender: No OFD packet to send [03:32:44]OFD Sender: No OFD packet to send [03:32:49]OFD Sender: No OFD packet to send [03:32:54]OFD Sender: No OFD packet to send [03:32:59]OFD Sender: No OFD packet to send [03:33:04]OFD Sender: No OFD packet to send [03:33:09]OFD Sender: No OFD packet to send [03:33:14]OFD Sender: No OFD packet to send [03:33:19]OFD Sender: No OFD packet to send [03:33:24]OFD Sender: No OFD packet to send [03:33:29]OFD Sender: No OFD packet to send [03:33:34]OFD Sender: No OFD packet to send [03:33:39]OFD Sender: No OFD packet to send [03:33:44]OFD Sender: No OFD packet to send [03:33:49]OFD Sender: No OFD packet to send [03:33:54]OFD Sender: No OFD packet to send [03:33:59]OFD Sender: No OFD packet to send [03:34:04]OFD Sender: No OFD packet to send [03:34:09]OFD Sender: No OFD packet to send [03:34:14]OFD Sender: No OFD packet to send [03:34:19]OFD Sender: No OFD packet to send [03:34:24]OFD Sender: No OFD packet to send [03:34:29]OFD Sender: No OFD packet to send [03:34:34]OFD Sender: No OFD packet to send [03:34:39]OFD Sender: No OFD packet to send [03:34:44]OFD Sender: No OFD packet to send [03:34:49]OFD Sender: No OFD packet to send [03:34:54]OFD Sender: No OFD packet to send [03:34:59]OFD Sender: No OFD packet to send [03:35:04]OFD Sender: No OFD packet to send [03:35:09]OFD Sender: No OFD packet to send [03:35:14]OFD Sender: No OFD packet to send [03:35:19]OFD Sender: No OFD packet to send [03:35:24]OFD Sender: No OFD packet to send [03:35:29]OFD Sender: No OFD packet to send [03:35:34]OFD Sender: No OFD packet to send [03:35:39]OFD Sender: No OFD packet to send [03:35:44]OFD Sender: No OFD packet to send [03:35:49]OFD Sender: No OFD packet to send [03:35:54]OFD Sender: No OFD packet to send [03:35:59]OFD Sender: No OFD packet to send [03:36:04]OFD Sender: No OFD packet to send [03:36:09]OFD Sender: No OFD packet to send [03:36:14]OFD Sender: No OFD packet to send [03:36:19]OFD Sender: No OFD packet to send [03:36:24]OFD Sender: No OFD packet to send [03:36:29]OFD Sender: No OFD packet to send [03:36:34]OFD Sender: No OFD packet to send [03:36:39]OFD Sender: No OFD packet to send [03:36:44]OFD Sender: No OFD packet to send [03:36:49]OFD Sender: No OFD packet to send [03:36:54]OFD Sender: No OFD packet to send [03:36:59]OFD Sender: No OFD packet to send [03:37:04]OFD Sender: No OFD packet to send [03:37:09]OFD Sender: No OFD packet to send [03:37:14]OFD Sender: No OFD packet to send [03:37:19]OFD Sender: No OFD packet to send [03:37:24]OFD Sender: No OFD packet to send [03:37:29]OFD Sender: No OFD packet to send [03:37:34]OFD Sender: No OFD packet to send [03:37:39]OFD Sender: No OFD packet to send [03:37:44]OFD Sender: No OFD packet to send [03:37:49]OFD Sender: No OFD packet to send [03:37:54]OFD Sender: No OFD packet to send [03:37:59]OFD Sender: No OFD packet to send [03:38:04]OFD Sender: No OFD packet to send [03:38:09]OFD Sender: No OFD packet to send [03:38:14]OFD Sender: No OFD packet to send [03:38:19]OFD Sender: No OFD packet to send [03:38:24]OFD Sender: No OFD packet to send [03:38:29]OFD Sender: No OFD packet to send [03:38:34]OFD Sender: No OFD packet to send [03:38:39]OFD Sender: No OFD packet to send [03:38:44]OFD Sender: No OFD packet to send [03:38:49]OFD Sender: No OFD packet to send [03:38:54]OFD Sender: No OFD packet to send [03:38:59]OFD Sender: No OFD packet to send [03:39:04]OFD Sender: No OFD packet to send [03:39:09]OFD Sender: No OFD packet to send [03:39:14]OFD Sender: No OFD packet to send [03:39:19]OFD Sender: No OFD packet to send [03:39:24]OFD Sender: No OFD packet to send [03:39:29]OFD Sender: No OFD packet to send [03:39:34]OFD Sender: No OFD packet to send [03:39:39]OFD Sender: No OFD packet to send [03:39:44]OFD Sender: No OFD packet to send [03:39:49]OFD Sender: No OFD packet to send [03:39:54]OFD Sender: No OFD packet to send [03:39:59]OFD Sender: No OFD packet to send [03:40:04]OFD Sender: No OFD packet to send [03:40:09]OFD Sender: No OFD packet to send [03:40:14]OFD Sender: No OFD packet to send [03:40:19]OFD Sender: No OFD packet to send [03:40:24]OFD Sender: No OFD packet to send [03:40:29]OFD Sender: No OFD packet to send [03:40:34]OFD Sender: No OFD packet to send [03:40:39]OFD Sender: No OFD packet to send [03:40:44]OFD Sender: No OFD packet to send [03:40:49]OFD Sender: No OFD packet to send [03:40:54]OFD Sender: No OFD packet to send [03:40:59]OFD Sender: No OFD packet to send [03:41:04]OFD Sender: No OFD packet to send [03:41:09]OFD Sender: No OFD packet to send [03:41:14]OFD Sender: No OFD packet to send [03:41:19]OFD Sender: No OFD packet to send [03:41:24]OFD Sender: No OFD packet to send [03:41:29]OFD Sender: No OFD packet to send [03:41:34]OFD Sender: No OFD packet to send [03:41:39]OFD Sender: No OFD packet to send [03:41:44]OFD Sender: No OFD packet to send [03:41:49]OFD Sender: No OFD packet to send [03:41:54]OFD Sender: No OFD packet to send [03:41:59]OFD Sender: No OFD packet to send [03:42:04]OFD Sender: No OFD packet to send [03:42:09]OFD Sender: No OFD packet to send [03:42:14]OFD Sender: No OFD packet to send [03:42:19]OFD Sender: No OFD packet to send [03:42:24]OFD Sender: No OFD packet to send [03:42:29]OFD Sender: No OFD packet to send [03:42:34]OFD Sender: No OFD packet to send [03:42:39]OFD Sender: No OFD packet to send [03:42:44]OFD Sender: No OFD packet to send [03:42:49]OFD Sender: No OFD packet to send [03:42:54]OFD Sender: No OFD packet to send [03:42:59]OFD Sender: No OFD packet to send [03:43:04]OFD Sender: No OFD packet to send [03:43:09]OFD Sender: No OFD packet to send [03:43:14]OFD Sender: No OFD packet to send [03:43:19]OFD Sender: No OFD packet to send [03:43:24]OFD Sender: No OFD packet to send [03:43:29]OFD Sender: No OFD packet to send [03:43:34]OFD Sender: No OFD packet to send [03:43:39]OFD Sender: No OFD packet to send [03:43:44]OFD Sender: No OFD packet to send [03:43:49]OFD Sender: No OFD packet to send [03:43:54]OFD Sender: No OFD packet to send [03:43:59]OFD Sender: No OFD packet to send [03:44:04]OFD Sender: No OFD packet to send [03:44:09]OFD Sender: No OFD packet to send [03:44:14]OFD Sender: No OFD packet to send [03:44:19]OFD Sender: No OFD packet to send [03:44:24]OFD Sender: No OFD packet to send [03:44:29]OFD Sender: No OFD packet to send [03:44:34]OFD Sender: No OFD packet to send [03:44:39]OFD Sender: No OFD packet to send [03:44:44]OFD Sender: No OFD packet to send [03:44:49]OFD Sender: No OFD packet to send [03:44:54]OFD Sender: No OFD packet to send [03:44:59]OFD Sender: No OFD packet to send [03:45:04]OFD Sender: No OFD packet to send [03:45:09]OFD Sender: No OFD packet to send [03:45:14]OFD Sender: No OFD packet to send [03:45:19]OFD Sender: No OFD packet to send [03:45:24]OFD Sender: No OFD packet to send [03:45:29]OFD Sender: No OFD packet to send [03:45:34]OFD Sender: No OFD packet to send [03:45:39]OFD Sender: No OFD packet to send [03:45:44]OFD Sender: No OFD packet to send [03:45:49]OFD Sender: No OFD packet to send [03:45:54]OFD Sender: No OFD packet to send [03:45:59]OFD Sender: No OFD packet to send [03:46:04]OFD Sender: No OFD packet to send [03:46:09]OFD Sender: No OFD packet to send [03:46:14]OFD Sender: No OFD packet to send [03:46:19]OFD Sender: No OFD packet to send [03:46:24]OFD Sender: No OFD packet to send [03:46:29]OFD Sender: No OFD packet to send [03:46:34]OFD Sender: No OFD packet to send [03:46:39]OFD Sender: No OFD packet to send [03:46:44]OFD Sender: No OFD packet to send [03:46:49]OFD Sender: No OFD packet to send [03:46:54]OFD Sender: No OFD packet to send [03:46:59]OFD Sender: No OFD packet to send [03:47:04]OFD Sender: No OFD packet to send [03:47:09]OFD Sender: No OFD packet to send [03:47:14]OFD Sender: No OFD packet to send [03:47:19]OFD Sender: No OFD packet to send [03:47:24]OFD Sender: No OFD packet to send [03:47:29]OFD Sender: No OFD packet to send [03:47:34]OFD Sender: No OFD packet to send [03:47:39]OFD Sender: No OFD packet to send [03:47:44]OFD Sender: No OFD packet to send [03:47:49]OFD Sender: No OFD packet to send [03:47:54]OFD Sender: No OFD packet to send [03:47:59]OFD Sender: No OFD packet to send [03:48:04]OFD Sender: No OFD packet to send [03:48:09]OFD Sender: No OFD packet to send [03:48:14]OFD Sender: No OFD packet to send [03:48:19]OFD Sender: No OFD packet to send [03:48:24]OFD Sender: No OFD packet to send [03:48:29]OFD Sender: No OFD packet to send [03:48:34]OFD Sender: No OFD packet to send [03:48:39]OFD Sender: No OFD packet to send [03:48:44]OFD Sender: No OFD packet to send [03:48:49]OFD Sender: No OFD packet to send [03:48:54]OFD Sender: No OFD packet to send [03:48:59]OFD Sender: No OFD packet to send [03:49:04]OFD Sender: No OFD packet to send [03:49:09]OFD Sender: No OFD packet to send [03:49:14]OFD Sender: No OFD packet to send [03:49:19]OFD Sender: No OFD packet to send [03:49:24]OFD Sender: No OFD packet to send [03:49:29]OFD Sender: No OFD packet to send [03:49:34]OFD Sender: No OFD packet to send [03:49:39]OFD Sender: No OFD packet to send [03:49:44]OFD Sender: No OFD packet to send [03:49:49]OFD Sender: No OFD packet to send [03:49:54]OFD Sender: No OFD packet to send [03:49:59]OFD Sender: No OFD packet to send [03:50:04]OFD Sender: No OFD packet to send [03:50:09]OFD Sender: No OFD packet to send [03:50:14]OFD Sender: No OFD packet to send [03:50:19]OFD Sender: No OFD packet to send [03:50:24]OFD Sender: No OFD packet to send [03:50:29]OFD Sender: No OFD packet to send [03:50:34]OFD Sender: No OFD packet to send [03:50:39]OFD Sender: No OFD packet to send [03:50:44]OFD Sender: No OFD packet to send [03:50:49]OFD Sender: No OFD packet to send [03:50:54]OFD Sender: No OFD packet to send [03:50:59]OFD Sender: No OFD packet to send [03:51:04]OFD Sender: No OFD packet to send [03:51:09]OFD Sender: No OFD packet to send [03:51:14]OFD Sender: No OFD packet to send [03:51:19]OFD Sender: No OFD packet to send [03:51:24]OFD Sender: No OFD packet to send [03:51:29]OFD Sender: No OFD packet to send [03:51:34]OFD Sender: No OFD packet to send [03:51:39]OFD Sender: No OFD packet to send [03:51:44]OFD Sender: No OFD packet to send [03:51:49]OFD Sender: No OFD packet to send [03:51:54]OFD Sender: No OFD packet to send [03:51:59]OFD Sender: No OFD packet to send [03:52:04]OFD Sender: No OFD packet to send [03:52:09]OFD Sender: No OFD packet to send [03:52:14]OFD Sender: No OFD packet to send [03:52:19]OFD Sender: No OFD packet to send [03:52:24]OFD Sender: No OFD packet to send [03:52:29]OFD Sender: No OFD packet to send [03:52:34]OFD Sender: No OFD packet to send [03:52:39]OFD Sender: No OFD packet to send [03:52:45]OFD Sender: No OFD packet to send [03:52:50]OFD Sender: No OFD packet to send [03:52:55]OFD Sender: No OFD packet to send [03:53:00]OFD Sender: No OFD packet to send [03:53:05]OFD Sender: No OFD packet to send [03:53:10]OFD Sender: No OFD packet to send [03:53:15]OFD Sender: No OFD packet to send [03:53:20]OFD Sender: No OFD packet to send [03:53:25]OFD Sender: No OFD packet to send [03:53:30]OFD Sender: No OFD packet to send [03:53:35]OFD Sender: No OFD packet to send [03:53:40]OFD Sender: No OFD packet to send [03:53:45]OFD Sender: No OFD packet to send [03:53:50]OFD Sender: No OFD packet to send [03:53:55]OFD Sender: No OFD packet to send [03:54:00]OFD Sender: No OFD packet to send [03:54:05]OFD Sender: No OFD packet to send [03:54:10]OFD Sender: No OFD packet to send [03:54:15]OFD Sender: No OFD packet to send [03:54:20]OFD Sender: No OFD packet to send [03:54:25]OFD Sender: No OFD packet to send [03:54:30]OFD Sender: No OFD packet to send [03:54:35]OFD Sender: No OFD packet to send [03:54:40]OFD Sender: No OFD packet to send [03:54:45]OFD Sender: No OFD packet to send [03:54:50]OFD Sender: No OFD packet to send [03:54:55]OFD Sender: No OFD packet to send [03:55:00]OFD Sender: No OFD packet to send [03:55:05]OFD Sender: No OFD packet to send [03:55:10]OFD Sender: No OFD packet to send [03:55:15]OFD Sender: No OFD packet to send [03:55:20]OFD Sender: No OFD packet to send [03:55:25]OFD Sender: No OFD packet to send [03:55:30]OFD Sender: No OFD packet to send [03:55:35]OFD Sender: No OFD packet to send [03:55:40]OFD Sender: No OFD packet to send [03:55:45]OFD Sender: No OFD packet to send [03:55:50]OFD Sender: No OFD packet to send [03:55:55]OFD Sender: No OFD packet to send [03:56:00]OFD Sender: No OFD packet to send [03:56:05]OFD Sender: No OFD packet to send [03:56:10]OFD Sender: No OFD packet to send [03:56:15]OFD Sender: No OFD packet to send [03:56:20]OFD Sender: No OFD packet to send [03:56:25]OFD Sender: No OFD packet to send [03:56:30]OFD Sender: No OFD packet to send [03:56:35]OFD Sender: No OFD packet to send [03:56:40]OFD Sender: No OFD packet to send [03:56:45]OFD Sender: No OFD packet to send [03:56:50]OFD Sender: No OFD packet to send [03:56:55]OFD Sender: No OFD packet to send [03:57:00]OFD Sender: No OFD packet to send [03:57:05]OFD Sender: No OFD packet to send [03:57:10]OFD Sender: No OFD packet to send [03:57:15]OFD Sender: No OFD packet to send [03:57:20]OFD Sender: No OFD packet to send [03:57:25]OFD Sender: No OFD packet to send [03:57:30]OFD Sender: No OFD packet to send [03:57:35]OFD Sender: No OFD packet to send [03:57:40]OFD Sender: No OFD packet to send [03:57:45]OFD Sender: No OFD packet to send [03:57:50]OFD Sender: No OFD packet to send [03:57:55]OFD Sender: No OFD packet to send [03:58:00]OFD Sender: No OFD packet to send [03:58:05]OFD Sender: No OFD packet to send [03:58:10]OFD Sender: No OFD packet to send [03:58:15]OFD Sender: No OFD packet to send [03:58:20]OFD Sender: No OFD packet to send [03:58:25]OFD Sender: No OFD packet to send [03:58:30]OFD Sender: No OFD packet to send [03:58:35]OFD Sender: No OFD packet to send [03:58:40]OFD Sender: No OFD packet to send [03:58:45]OFD Sender: No OFD packet to send [03:58:50]OFD Sender: No OFD packet to send [03:58:55]OFD Sender: No OFD packet to send [03:59:00]OFD Sender: No OFD packet to send [03:59:05]OFD Sender: No OFD packet to send [03:59:10]OFD Sender: No OFD packet to send [03:59:15]OFD Sender: No OFD packet to send [03:59:20]OFD Sender: No OFD packet to send [03:59:25]OFD Sender: No OFD packet to send [03:59:30]OFD Sender: No OFD packet to send [03:59:35]OFD Sender: No OFD packet to send [03:59:40]OFD Sender: No OFD packet to send [03:59:45]OFD Sender: No OFD packet to send [03:59:50]OFD Sender: No OFD packet to send [03:59:55]OFD Sender: No OFD packet to send [04:00:00]OFD Sender: No OFD packet to send [04:00:05]OFD Sender: No OFD packet to send [04:00:10]OFD Sender: No OFD packet to send [04:00:15]OFD Sender: No OFD packet to send [04:00:20]OFD Sender: No OFD packet to send [04:00:25]OFD Sender: No OFD packet to send [04:00:30]OFD Sender: No OFD packet to send [04:00:35]OFD Sender: No OFD packet to send [04:00:40]OFD Sender: No OFD packet to send [04:00:45]OFD Sender: No OFD packet to send [04:00:50]OFD Sender: No OFD packet to send [04:00:55]OFD Sender: No OFD packet to send [04:01:00]OFD Sender: No OFD packet to send [04:01:05]OFD Sender: No OFD packet to send [04:01:10]OFD Sender: No OFD packet to send [04:01:15]OFD Sender: No OFD packet to send [04:01:20]OFD Sender: No OFD packet to send [04:01:25]OFD Sender: No OFD packet to send [04:01:30]OFD Sender: No OFD packet to send [04:01:35]OFD Sender: No OFD packet to send [04:01:40]OFD Sender: No OFD packet to send [04:01:45]OFD Sender: No OFD packet to send [04:01:50]OFD Sender: No OFD packet to send [04:01:55]OFD Sender: No OFD packet to send [04:02:00]OFD Sender: No OFD packet to send [04:02:05]OFD Sender: No OFD packet to send [04:02:10]OFD Sender: No OFD packet to send [04:02:15]OFD Sender: No OFD packet to send [04:02:20]OFD Sender: No OFD packet to send [04:02:25]OFD Sender: No OFD packet to send [04:02:30]OFD Sender: No OFD packet to send [04:02:35]OFD Sender: No OFD packet to send [04:02:40]OFD Sender: No OFD packet to send [04:02:45]OFD Sender: No OFD packet to send [04:02:50]OFD Sender: No OFD packet to send [04:02:55]OFD Sender: No OFD packet to send [04:03:00]OFD Sender: No OFD packet to send [04:03:05]OFD Sender: No OFD packet to send [04:03:10]OFD Sender: No OFD packet to send [04:03:15]OFD Sender: No OFD packet to send [04:03:20]OFD Sender: No OFD packet to send [04:03:25]OFD Sender: No OFD packet to send [04:03:30]OFD Sender: No OFD packet to send [04:03:35]OFD Sender: No OFD packet to send [04:03:40]OFD Sender: No OFD packet to send [04:03:45]OFD Sender: No OFD packet to send [04:03:50]OFD Sender: No OFD packet to send [04:03:55]OFD Sender: No OFD packet to send [04:04:00]OFD Sender: No OFD packet to send [04:04:05]OFD Sender: No OFD packet to send [04:04:10]OFD Sender: No OFD packet to send [04:04:15]OFD Sender: No OFD packet to send [04:04:20]OFD Sender: No OFD packet to send [04:04:25]OFD Sender: No OFD packet to send [04:04:30]OFD Sender: No OFD packet to send [04:04:35]OFD Sender: No OFD packet to send [04:04:40]OFD Sender: No OFD packet to send [04:04:45]OFD Sender: No OFD packet to send [04:04:50]OFD Sender: No OFD packet to send [04:04:55]OFD Sender: No OFD packet to send [04:05:00]OFD Sender: No OFD packet to send [04:05:05]OFD Sender: No OFD packet to send [04:05:10]OFD Sender: No OFD packet to send [04:05:15]OFD Sender: No OFD packet to send [04:05:20]OFD Sender: No OFD packet to send [04:05:25]OFD Sender: No OFD packet to send [04:05:30]OFD Sender: No OFD packet to send [04:05:35]OFD Sender: No OFD packet to send [04:05:40]OFD Sender: No OFD packet to send [04:05:45]OFD Sender: No OFD packet to send [04:05:50]OFD Sender: No OFD packet to send [04:05:55]OFD Sender: No OFD packet to send [04:06:00]OFD Sender: No OFD packet to send [04:06:05]OFD Sender: No OFD packet to send [04:06:10]OFD Sender: No OFD packet to send [04:06:15]OFD Sender: No OFD packet to send [04:06:20]OFD Sender: No OFD packet to send [04:06:25]OFD Sender: No OFD packet to send [04:06:30]OFD Sender: No OFD packet to send [04:06:35]OFD Sender: No OFD packet to send [04:06:40]OFD Sender: No OFD packet to send [04:06:45]OFD Sender: No OFD packet to send [04:06:50]OFD Sender: No OFD packet to send [04:06:55]OFD Sender: No OFD packet to send [04:07:00]OFD Sender: No OFD packet to send [04:07:05]OFD Sender: No OFD packet to send [04:07:10]OFD Sender: No OFD packet to send [04:07:15]OFD Sender: No OFD packet to send [04:07:20]OFD Sender: No OFD packet to send [04:07:25]OFD Sender: No OFD packet to send [04:07:30]OFD Sender: No OFD packet to send [04:07:35]OFD Sender: No OFD packet to send [04:07:40]OFD Sender: No OFD packet to send [04:07:45]OFD Sender: No OFD packet to send [04:07:50]OFD Sender: No OFD packet to send [04:07:55]OFD Sender: No OFD packet to send [04:08:00]OFD Sender: No OFD packet to send [04:08:05]OFD Sender: No OFD packet to send [04:08:10]OFD Sender: No OFD packet to send [04:08:15]OFD Sender: No OFD packet to send [04:08:20]OFD Sender: No OFD packet to send [04:08:25]OFD Sender: No OFD packet to send [04:08:30]OFD Sender: No OFD packet to send [04:08:35]OFD Sender: No OFD packet to send [04:08:40]OFD Sender: No OFD packet to send [04:08:45]OFD Sender: No OFD packet to send [04:08:50]OFD Sender: No OFD packet to send [04:08:55]OFD Sender: No OFD packet to send [04:09:00]OFD Sender: No OFD packet to send [04:09:05]OFD Sender: No OFD packet to send [04:09:10]OFD Sender: No OFD packet to send [04:09:15]OFD Sender: No OFD packet to send [04:09:20]OFD Sender: No OFD packet to send [04:09:25]OFD Sender: No OFD packet to send [04:09:30]OFD Sender: No OFD packet to send [04:09:35]OFD Sender: No OFD packet to send [04:09:40]OFD Sender: No OFD packet to send [04:09:45]OFD Sender: No OFD packet to send [04:09:50]OFD Sender: No OFD packet to send [04:09:55]OFD Sender: No OFD packet to send [04:10:00]OFD Sender: No OFD packet to send [04:10:05]OFD Sender: No OFD packet to send [04:10:10]OFD Sender: No OFD packet to send [04:10:15]OFD Sender: No OFD packet to send [04:10:20]OFD Sender: No OFD packet to send [04:10:25]OFD Sender: No OFD packet to send [04:10:30]OFD Sender: No OFD packet to send [04:10:35]OFD Sender: No OFD packet to send [04:10:40]OFD Sender: No OFD packet to send [04:10:45]OFD Sender: No OFD packet to send [04:10:50]OFD Sender: No OFD packet to send [04:10:55]OFD Sender: No OFD packet to send [04:11:00]OFD Sender: No OFD packet to send [04:11:05]OFD Sender: No OFD packet to send [04:11:10]OFD Sender: No OFD packet to send [04:11:15]OFD Sender: No OFD packet to send [04:11:20]OFD Sender: No OFD packet to send [04:11:25]OFD Sender: No OFD packet to send [04:11:30]OFD Sender: No OFD packet to send [04:11:35]OFD Sender: No OFD packet to send [04:11:40]OFD Sender: No OFD packet to send [04:11:45]OFD Sender: No OFD packet to send [04:11:50]OFD Sender: No OFD packet to send [04:11:55]OFD Sender: No OFD packet to send [04:12:00]OFD Sender: No OFD packet to send [04:12:05]OFD Sender: No OFD packet to send [04:12:10]OFD Sender: No OFD packet to send [04:12:15]OFD Sender: No OFD packet to send [04:12:20]OFD Sender: No OFD packet to send [04:12:25]OFD Sender: No OFD packet to send [04:12:30]OFD Sender: No OFD packet to send [04:12:35]OFD Sender: No OFD packet to send [04:12:40]OFD Sender: No OFD packet to send [04:12:45]OFD Sender: No OFD packet to send [04:12:50]OFD Sender: No OFD packet to send [04:12:55]OFD Sender: No OFD packet to send [04:13:00]OFD Sender: No OFD packet to send [04:13:05]OFD Sender: No OFD packet to send [04:13:10]OFD Sender: No OFD packet to send [04:13:15]OFD Sender: No OFD packet to send [04:13:20]OFD Sender: No OFD packet to send [04:13:25]OFD Sender: No OFD packet to send [04:13:30]OFD Sender: No OFD packet to send [04:13:35]OFD Sender: No OFD packet to send [04:13:40]OFD Sender: No OFD packet to send [04:13:45]OFD Sender: No OFD packet to send [04:13:50]OFD Sender: No OFD packet to send [04:13:55]OFD Sender: No OFD packet to send [04:14:00]OFD Sender: No OFD packet to send [04:14:05]OFD Sender: No OFD packet to send [04:14:10]OFD Sender: No OFD packet to send [04:14:15]OFD Sender: No OFD packet to send [04:14:20]OFD Sender: No OFD packet to send [04:14:25]OFD Sender: No OFD packet to send [04:14:30]OFD Sender: No OFD packet to send [04:14:35]OFD Sender: No OFD packet to send [04:14:41]OFD Sender: No OFD packet to send [04:14:46]OFD Sender: No OFD packet to send [04:14:51]OFD Sender: No OFD packet to send [04:14:56]OFD Sender: No OFD packet to send [04:15:01]OFD Sender: No OFD packet to send [04:15:06]OFD Sender: No OFD packet to send [04:15:11]OFD Sender: No OFD packet to send [04:15:16]OFD Sender: No OFD packet to send [04:15:21]OFD Sender: No OFD packet to send [04:15:26]OFD Sender: No OFD packet to send [04:15:31]OFD Sender: No OFD packet to send [04:15:36]OFD Sender: No OFD packet to send [04:15:41]OFD Sender: No OFD packet to send [04:15:46]OFD Sender: No OFD packet to send [04:15:51]OFD Sender: No OFD packet to send [04:15:56]OFD Sender: No OFD packet to send [04:16:01]OFD Sender: No OFD packet to send [04:16:06]OFD Sender: No OFD packet to send [04:16:11]OFD Sender: No OFD packet to send [04:16:16]OFD Sender: No OFD packet to send [04:16:21]OFD Sender: No OFD packet to send [04:16:26]OFD Sender: No OFD packet to send [04:16:31]OFD Sender: No OFD packet to send [04:16:36]OFD Sender: No OFD packet to send [04:16:41]OFD Sender: No OFD packet to send [04:16:46]OFD Sender: No OFD packet to send [04:16:51]OFD Sender: No OFD packet to send [04:16:56]OFD Sender: No OFD packet to send [04:17:01]OFD Sender: No OFD packet to send [04:17:06]OFD Sender: No OFD packet to send [04:17:11]OFD Sender: No OFD packet to send [04:17:16]OFD Sender: No OFD packet to send [04:17:21]OFD Sender: No OFD packet to send [04:17:26]OFD Sender: No OFD packet to send [04:17:31]OFD Sender: No OFD packet to send [04:17:36]OFD Sender: No OFD packet to send [04:17:41]OFD Sender: No OFD packet to send [04:17:46]OFD Sender: No OFD packet to send [04:17:51]OFD Sender: No OFD packet to send [04:17:56]OFD Sender: No OFD packet to send [04:18:01]OFD Sender: No OFD packet to send [04:18:06]OFD Sender: No OFD packet to send [04:18:11]OFD Sender: No OFD packet to send [04:18:16]OFD Sender: No OFD packet to send [04:18:21]OFD Sender: No OFD packet to send [04:18:26]OFD Sender: No OFD packet to send [04:18:31]OFD Sender: No OFD packet to send [04:18:36]OFD Sender: No OFD packet to send [04:18:41]OFD Sender: No OFD packet to send [04:18:46]OFD Sender: No OFD packet to send [04:18:51]OFD Sender: No OFD packet to send [04:18:56]OFD Sender: No OFD packet to send [04:19:01]OFD Sender: No OFD packet to send [04:19:06]OFD Sender: No OFD packet to send [04:19:11]OFD Sender: No OFD packet to send [04:19:16]OFD Sender: No OFD packet to send [04:19:21]OFD Sender: No OFD packet to send [04:19:26]OFD Sender: No OFD packet to send [04:19:31]OFD Sender: No OFD packet to send [04:19:36]OFD Sender: No OFD packet to send [04:19:41]OFD Sender: No OFD packet to send [04:19:46]OFD Sender: No OFD packet to send [04:19:51]OFD Sender: No OFD packet to send [04:19:56]OFD Sender: No OFD packet to send [04:20:01]OFD Sender: No OFD packet to send [04:20:06]OFD Sender: No OFD packet to send [04:20:11]OFD Sender: No OFD packet to send [04:20:16]OFD Sender: No OFD packet to send [04:20:21]OFD Sender: No OFD packet to send [04:20:26]OFD Sender: No OFD packet to send [04:20:31]OFD Sender: No OFD packet to send [04:20:36]OFD Sender: No OFD packet to send [04:20:41]OFD Sender: No OFD packet to send [04:20:46]OFD Sender: No OFD packet to send [04:20:51]OFD Sender: No OFD packet to send [04:20:56]OFD Sender: No OFD packet to send [04:21:01]OFD Sender: No OFD packet to send [04:21:06]OFD Sender: No OFD packet to send [04:21:11]OFD Sender: No OFD packet to send [04:21:16]OFD Sender: No OFD packet to send [04:21:21]OFD Sender: No OFD packet to send [04:21:26]OFD Sender: No OFD packet to send [04:21:31]OFD Sender: No OFD packet to send [04:21:36]OFD Sender: No OFD packet to send [04:21:41]OFD Sender: No OFD packet to send [04:21:46]OFD Sender: No OFD packet to send [04:21:51]OFD Sender: No OFD packet to send [04:21:56]OFD Sender: No OFD packet to send [04:22:01]OFD Sender: No OFD packet to send [04:22:06]OFD Sender: No OFD packet to send [04:22:11]OFD Sender: No OFD packet to send [04:22:16]OFD Sender: No OFD packet to send [04:22:21]OFD Sender: No OFD packet to send [04:22:26]OFD Sender: No OFD packet to send [04:22:31]OFD Sender: No OFD packet to send [04:22:36]OFD Sender: No OFD packet to send [04:22:41]OFD Sender: No OFD packet to send [04:22:46]OFD Sender: No OFD packet to send [04:22:51]OFD Sender: No OFD packet to send [04:22:56]OFD Sender: No OFD packet to send [04:23:01]OFD Sender: No OFD packet to send [04:23:06]OFD Sender: No OFD packet to send [04:23:11]OFD Sender: No OFD packet to send [04:23:16]OFD Sender: No OFD packet to send [04:23:21]OFD Sender: No OFD packet to send [04:23:26]OFD Sender: No OFD packet to send [04:23:31]OFD Sender: No OFD packet to send [04:23:36]OFD Sender: No OFD packet to send [04:23:41]OFD Sender: No OFD packet to send [04:23:46]OFD Sender: No OFD packet to send [04:23:51]OFD Sender: No OFD packet to send [04:23:56]OFD Sender: No OFD packet to send [04:24:01]OFD Sender: No OFD packet to send [04:24:06]OFD Sender: No OFD packet to send [04:24:11]OFD Sender: No OFD packet to send [04:24:16]OFD Sender: No OFD packet to send [04:24:21]OFD Sender: No OFD packet to send [04:24:26]OFD Sender: No OFD packet to send [04:24:31]OFD Sender: No OFD packet to send [04:24:36]OFD Sender: No OFD packet to send [04:24:41]OFD Sender: No OFD packet to send [04:24:46]OFD Sender: No OFD packet to send [04:24:51]OFD Sender: No OFD packet to send [04:24:56]OFD Sender: No OFD packet to send [04:25:01]OFD Sender: No OFD packet to send [04:25:06]OFD Sender: No OFD packet to send [04:25:11]OFD Sender: No OFD packet to send [04:25:16]OFD Sender: No OFD packet to send [04:25:21]OFD Sender: No OFD packet to send [04:25:26]OFD Sender: No OFD packet to send [04:25:31]OFD Sender: No OFD packet to send [04:25:36]OFD Sender: No OFD packet to send [04:25:41]OFD Sender: No OFD packet to send [04:25:46]OFD Sender: No OFD packet to send [04:25:51]OFD Sender: No OFD packet to send [04:25:56]OFD Sender: No OFD packet to send [04:26:01]OFD Sender: No OFD packet to send [04:26:06]OFD Sender: No OFD packet to send [04:26:11]OFD Sender: No OFD packet to send [04:26:16]OFD Sender: No OFD packet to send [04:26:21]OFD Sender: No OFD packet to send [04:26:26]OFD Sender: No OFD packet to send [04:26:31]OFD Sender: No OFD packet to send [04:26:36]OFD Sender: No OFD packet to send [04:26:41]OFD Sender: No OFD packet to send [04:26:46]OFD Sender: No OFD packet to send [04:26:51]OFD Sender: No OFD packet to send [04:26:56]OFD Sender: No OFD packet to send [04:27:01]OFD Sender: No OFD packet to send [04:27:06]OFD Sender: No OFD packet to send [04:27:11]OFD Sender: No OFD packet to send [04:27:16]OFD Sender: No OFD packet to send [04:27:21]OFD Sender: No OFD packet to send [04:27:26]OFD Sender: No OFD packet to send [04:27:31]OFD Sender: No OFD packet to send [04:27:36]OFD Sender: No OFD packet to send [04:27:41]OFD Sender: No OFD packet to send [04:27:46]OFD Sender: No OFD packet to send [04:27:51]OFD Sender: No OFD packet to send [04:27:56]OFD Sender: No OFD packet to send [04:28:01]OFD Sender: No OFD packet to send [04:28:06]OFD Sender: No OFD packet to send [04:28:11]OFD Sender: No OFD packet to send [04:28:16]OFD Sender: No OFD packet to send [04:28:21]OFD Sender: No OFD packet to send [04:28:26]OFD Sender: No OFD packet to send [04:28:31]OFD Sender: No OFD packet to send [04:28:36]OFD Sender: No OFD packet to send [04:28:41]OFD Sender: No OFD packet to send [04:28:46]OFD Sender: No OFD packet to send [04:28:51]OFD Sender: No OFD packet to send [04:28:56]OFD Sender: No OFD packet to send [04:29:01]OFD Sender: No OFD packet to send [04:29:06]OFD Sender: No OFD packet to send [04:29:11]OFD Sender: No OFD packet to send [04:29:16]OFD Sender: No OFD packet to send [04:29:21]OFD Sender: No OFD packet to send [04:29:26]OFD Sender: No OFD packet to send [04:29:31]OFD Sender: No OFD packet to send [04:29:36]OFD Sender: No OFD packet to send [04:29:41]OFD Sender: No OFD packet to send [04:29:46]OFD Sender: No OFD packet to send [04:29:51]OFD Sender: No OFD packet to send [04:29:56]OFD Sender: No OFD packet to send [04:30:01]OFD Sender: No OFD packet to send [04:30:06]OFD Sender: No OFD packet to send [04:30:11]OFD Sender: No OFD packet to send [04:30:16]OFD Sender: No OFD packet to send [04:30:21]OFD Sender: No OFD packet to send [04:30:26]OFD Sender: No OFD packet to send [04:30:31]OFD Sender: No OFD packet to send [04:30:36]OFD Sender: No OFD packet to send [04:30:41]OFD Sender: No OFD packet to send [04:30:46]OFD Sender: No OFD packet to send [04:30:51]OFD Sender: No OFD packet to send [04:30:56]OFD Sender: No OFD packet to send [04:31:01]OFD Sender: No OFD packet to send [04:31:06]OFD Sender: No OFD packet to send [04:31:11]OFD Sender: No OFD packet to send [04:31:16]OFD Sender: No OFD packet to send [04:31:21]OFD Sender: No OFD packet to send [04:31:26]OFD Sender: No OFD packet to send [04:31:31]OFD Sender: No OFD packet to send [04:31:36]OFD Sender: No OFD packet to send [04:31:41]OFD Sender: No OFD packet to send [04:31:46]OFD Sender: No OFD packet to send [04:31:51]OFD Sender: No OFD packet to send [04:31:56]OFD Sender: No OFD packet to send [04:32:01]OFD Sender: No OFD packet to send [04:32:06]OFD Sender: No OFD packet to send [04:32:11]OFD Sender: No OFD packet to send [04:32:16]OFD Sender: No OFD packet to send [04:32:21]OFD Sender: No OFD packet to send [04:32:26]OFD Sender: No OFD packet to send [04:32:31]OFD Sender: No OFD packet to send [04:32:36]OFD Sender: No OFD packet to send [04:32:41]OFD Sender: No OFD packet to send [04:32:46]OFD Sender: No OFD packet to send [04:32:51]OFD Sender: No OFD packet to send [04:32:56]OFD Sender: No OFD packet to send [04:33:01]OFD Sender: No OFD packet to send [04:33:06]OFD Sender: No OFD packet to send [04:33:11]OFD Sender: No OFD packet to send [04:33:16]OFD Sender: No OFD packet to send [04:33:21]OFD Sender: No OFD packet to send [04:33:26]OFD Sender: No OFD packet to send [04:33:31]OFD Sender: No OFD packet to send [04:33:36]OFD Sender: No OFD packet to send [04:33:41]OFD Sender: No OFD packet to send [04:33:46]OFD Sender: No OFD packet to send [04:33:51]OFD Sender: No OFD packet to send [04:33:56]OFD Sender: No OFD packet to send [04:34:01]OFD Sender: No OFD packet to send [04:34:06]OFD Sender: No OFD packet to send [04:34:11]OFD Sender: No OFD packet to send [04:34:16]OFD Sender: No OFD packet to send [04:34:21]OFD Sender: No OFD packet to send [04:34:26]OFD Sender: No OFD packet to send [04:34:31]OFD Sender: No OFD packet to send [04:34:36]OFD Sender: No OFD packet to send [04:34:41]OFD Sender: No OFD packet to send [04:34:46]OFD Sender: No OFD packet to send [04:34:51]OFD Sender: No OFD packet to send [04:34:56]OFD Sender: No OFD packet to send [04:35:01]OFD Sender: No OFD packet to send [04:35:06]OFD Sender: No OFD packet to send [04:35:11]OFD Sender: No OFD packet to send [04:35:16]OFD Sender: No OFD packet to send [04:35:21]OFD Sender: No OFD packet to send [04:35:26]OFD Sender: No OFD packet to send [04:35:31]OFD Sender: No OFD packet to send [04:35:36]OFD Sender: No OFD packet to send [04:35:41]OFD Sender: No OFD packet to send [04:35:46]OFD Sender: No OFD packet to send [04:35:51]OFD Sender: No OFD packet to send [04:35:56]OFD Sender: No OFD packet to send [04:36:01]OFD Sender: No OFD packet to send [04:36:06]OFD Sender: No OFD packet to send [04:36:11]OFD Sender: No OFD packet to send [04:36:16]OFD Sender: No OFD packet to send [04:36:21]OFD Sender: No OFD packet to send [04:36:26]OFD Sender: No OFD packet to send [04:36:31]OFD Sender: No OFD packet to send [04:36:36]OFD Sender: No OFD packet to send [04:36:42]OFD Sender: No OFD packet to send [04:36:47]OFD Sender: No OFD packet to send [04:36:52]OFD Sender: No OFD packet to send [04:36:57]OFD Sender: No OFD packet to send [04:37:02]OFD Sender: No OFD packet to send [04:37:07]OFD Sender: No OFD packet to send [04:37:12]OFD Sender: No OFD packet to send [04:37:17]OFD Sender: No OFD packet to send [04:37:22]OFD Sender: No OFD packet to send [04:37:27]OFD Sender: No OFD packet to send [04:37:32]OFD Sender: No OFD packet to send [04:37:37]OFD Sender: No OFD packet to send [04:37:42]OFD Sender: No OFD packet to send [04:37:47]OFD Sender: No OFD packet to send [04:37:52]OFD Sender: No OFD packet to send [04:37:57]OFD Sender: No OFD packet to send [04:38:02]OFD Sender: No OFD packet to send [04:38:07]OFD Sender: No OFD packet to send [04:38:12]OFD Sender: No OFD packet to send [04:38:17]OFD Sender: No OFD packet to send [04:38:22]OFD Sender: No OFD packet to send [04:38:27]OFD Sender: No OFD packet to send [04:38:32]OFD Sender: No OFD packet to send [04:38:37]OFD Sender: No OFD packet to send [04:38:42]OFD Sender: No OFD packet to send [04:38:47]OFD Sender: No OFD packet to send [04:38:52]OFD Sender: No OFD packet to send [04:38:57]OFD Sender: No OFD packet to send [04:39:02]OFD Sender: No OFD packet to send [04:39:07]OFD Sender: No OFD packet to send [04:39:12]OFD Sender: No OFD packet to send [04:39:17]OFD Sender: No OFD packet to send [04:39:22]OFD Sender: No OFD packet to send [04:39:27]OFD Sender: No OFD packet to send [04:39:32]OFD Sender: No OFD packet to send [04:39:37]OFD Sender: No OFD packet to send [04:39:42]OFD Sender: No OFD packet to send [04:39:47]OFD Sender: No OFD packet to send [04:39:52]OFD Sender: No OFD packet to send [04:39:57]OFD Sender: No OFD packet to send [04:40:02]OFD Sender: No OFD packet to send [04:40:07]OFD Sender: No OFD packet to send [04:40:12]OFD Sender: No OFD packet to send [04:40:17]OFD Sender: No OFD packet to send [04:40:22]OFD Sender: No OFD packet to send [04:40:27]OFD Sender: No OFD packet to send [04:40:32]OFD Sender: No OFD packet to send [04:40:37]OFD Sender: No OFD packet to send [04:40:42]OFD Sender: No OFD packet to send [04:40:47]OFD Sender: No OFD packet to send [04:40:52]OFD Sender: No OFD packet to send [04:40:57]OFD Sender: No OFD packet to send [04:41:02]OFD Sender: No OFD packet to send [04:41:07]OFD Sender: No OFD packet to send [04:41:12]OFD Sender: No OFD packet to send [04:41:17]OFD Sender: No OFD packet to send [04:41:22]OFD Sender: No OFD packet to send [04:41:27]OFD Sender: No OFD packet to send [04:41:32]OFD Sender: No OFD packet to send [04:41:37]OFD Sender: No OFD packet to send [04:41:42]OFD Sender: No OFD packet to send [04:41:47]OFD Sender: No OFD packet to send [04:41:52]OFD Sender: No OFD packet to send [04:41:57]OFD Sender: No OFD packet to send [04:42:02]OFD Sender: No OFD packet to send [04:42:07]OFD Sender: No OFD packet to send [04:42:12]OFD Sender: No OFD packet to send [04:42:17]OFD Sender: No OFD packet to send [04:42:22]OFD Sender: No OFD packet to send [04:42:27]OFD Sender: No OFD packet to send [04:42:32]OFD Sender: No OFD packet to send [04:42:37]OFD Sender: No OFD packet to send [04:42:42]OFD Sender: No OFD packet to send [04:42:47]OFD Sender: No OFD packet to send [04:42:52]OFD Sender: No OFD packet to send [04:42:57]OFD Sender: No OFD packet to send [04:43:02]OFD Sender: No OFD packet to send [04:43:07]OFD Sender: No OFD packet to send [04:43:12]OFD Sender: No OFD packet to send [04:43:17]OFD Sender: No OFD packet to send [04:43:22]OFD Sender: No OFD packet to send [04:43:27]OFD Sender: No OFD packet to send [04:43:32]OFD Sender: No OFD packet to send [04:43:37]OFD Sender: No OFD packet to send [04:43:42]OFD Sender: No OFD packet to send [04:43:47]OFD Sender: No OFD packet to send [04:43:52]OFD Sender: No OFD packet to send [04:43:57]OFD Sender: No OFD packet to send [04:44:02]OFD Sender: No OFD packet to send [04:44:07]OFD Sender: No OFD packet to send [04:44:12]OFD Sender: No OFD packet to send [04:44:17]OFD Sender: No OFD packet to send [04:44:22]OFD Sender: No OFD packet to send [04:44:27]OFD Sender: No OFD packet to send [04:44:32]OFD Sender: No OFD packet to send [04:44:37]OFD Sender: No OFD packet to send [04:44:42]OFD Sender: No OFD packet to send [04:44:47]OFD Sender: No OFD packet to send [04:44:52]OFD Sender: No OFD packet to send [04:44:57]OFD Sender: No OFD packet to send [04:45:02]OFD Sender: No OFD packet to send [04:45:07]OFD Sender: No OFD packet to send [04:45:12]OFD Sender: No OFD packet to send [04:45:17]OFD Sender: No OFD packet to send [04:45:22]OFD Sender: No OFD packet to send [04:45:27]OFD Sender: No OFD packet to send [04:45:32]OFD Sender: No OFD packet to send [04:45:37]OFD Sender: No OFD packet to send [04:45:42]OFD Sender: No OFD packet to send [04:45:47]OFD Sender: No OFD packet to send [04:45:52]OFD Sender: No OFD packet to send [04:45:57]OFD Sender: No OFD packet to send [04:46:02]OFD Sender: No OFD packet to send [04:46:07]OFD Sender: No OFD packet to send [04:46:12]OFD Sender: No OFD packet to send [04:46:17]OFD Sender: No OFD packet to send [04:46:22]OFD Sender: No OFD packet to send [04:46:27]OFD Sender: No OFD packet to send [04:46:32]OFD Sender: No OFD packet to send [04:46:37]OFD Sender: No OFD packet to send [04:46:42]OFD Sender: No OFD packet to send [04:46:47]OFD Sender: No OFD packet to send [04:46:52]OFD Sender: No OFD packet to send [04:46:57]OFD Sender: No OFD packet to send [04:47:02]OFD Sender: No OFD packet to send [04:47:07]OFD Sender: No OFD packet to send [04:47:12]OFD Sender: No OFD packet to send [04:47:17]OFD Sender: No OFD packet to send [04:47:22]OFD Sender: No OFD packet to send [04:47:27]OFD Sender: No OFD packet to send [04:47:32]OFD Sender: No OFD packet to send [04:47:37]OFD Sender: No OFD packet to send [04:47:42]OFD Sender: No OFD packet to send [04:47:47]OFD Sender: No OFD packet to send [04:47:52]OFD Sender: No OFD packet to send [04:47:57]OFD Sender: No OFD packet to send [04:48:02]OFD Sender: No OFD packet to send [04:48:07]OFD Sender: No OFD packet to send [04:48:12]OFD Sender: No OFD packet to send [04:48:17]OFD Sender: No OFD packet to send [04:48:18]accept exits with 9 [04:48:18]New connection [04:48:18]New thread 3066850660 created [04:48:18]Thread 3066707300 joined [04:48:18]Waiting for new connection... [04:48:18] Sock 9.Parse request [04:48:18]Sock 9.Check first char [04:48:18]Sock 9.First char is OK [04:48:18]request: POST /json_proto HTTP/1.0 [04:48:18]Method: POST [04:48:18]URL: /json_proto [04:48:18]Method is POST - this is cgi request [04:48:18]url: /json_proto [04:48:18]query_string will be loaded in cgi processing [04:48:18]execute_cgi json_proto POST (null) [04:48:18]execute_cgi path=json_proto method=POST [04:48:18]POST find Content-Length [04:48:18]Host: 172.17.52.132:8080 [04:48:18]Content-Length: 620 [04:48:18]Content-Type: application/json [04:48:18] [04:48:18]POST finish read [04:48:18]Found Content-Length = 620 [04:48:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99927", "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" ] } } [04:48:18]execute_script... [04:48: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)99927", "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" ] } } [04:48:18]POST & json_proto [04:48:18]process_json_proto [04:48:18]json parsed OK: [04:48:18]protocol is kg_v1.0 [04:48:18]action value=close_receipt [04:48:18]process_action close_receipt [04:48:18]cmd_close_receipt [04:48:18]MH_GetDate [04:48:18]Write to MH i2c: F0 00 00 B7 40 E6 [04:48:18]Write i2c OK [04:48:18]MH_I2C_Read... [04:48:18]Read from MH i2c: F0 [04:48:18]MH_I2C_Read... [04:48:18]Read from MH i2c: F0 09 00 [04:48:18]MH_I2C_Read... [04:48:18]Read from MH i2c: F0 09 00 B7 40 00 19 3A 13 67 5A BE F6 66 30 [04:48:18]GetLastDocTimeStamp 1729296173 [04:48:18]current date 1729313305 [04:48:18]FM_GetShiftState [04:48:18]SAM_PROTO_GetShiftState [04:48:18]wFMCommunicate request_size=4 [04:48:18]MH_SAM_APDU [04:48:18]CAPDU: 80 13 01 00 [04:48:18]Write to MH i2c: E2 08 00 B8 40 80 13 01 00 00 00 00 00 75 [04:48:18]Write i2c OK [04:48:18]MH_I2C_Read... [04:48:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:48:18]Read from MH i2c: E2 [04:48:18]MH_I2C_Read... [04:48:18]Read from MH i2c: E2 0E 00 [04:48:18]MH_I2C_Read... [04:48:18]Read from MH i2c: E2 0E 00 B8 40 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 1E [04:48:18]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [04:48:18]wFMCommunicate OK [04:48:18]SAM_PROTO_GetShiftState done [04:48:18]FM_GetShiftState done [04:48:18]opened in 1729296173 [04:48:18]opened+sec_in_day 1729382573 [04:48:18]quantity*price = 14400 [04:48:18]sum+1 = 14401 [04:48:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 1 19.10.2024 04:48 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2540 ФПД: 130078354689542 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T044825&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2540&fm=130078354689542&tin=02508201610067®Number=0000000000207295&sum=14400 0 [04:48:19]StoreToDocumentArchive [04:48:19]shift 23 fd 2540 [04:48:19]save to /storage/0023/doc_00002540 [04:48:19]save last doc name /storage/0023/doc_00002540 to /storage/kkm_last_doc_name [04:48:19]save OK [04:48:19]Clear old archive folders... [04:48:19]ProcessDocumentItem done err = 0, tmpTLVsize=273 [04:48:19]tlvbuf is B6F3F280 [04:48:19]SAM_PROTO_ClearQueue [04:48:19]wFMCommunicate request_size=4 [04:48:19]MH_SAM_APDU [04:48:19]CAPDU: 80 09 00 00 [04:48:19]Write to MH i2c: E2 08 00 C5 40 80 09 00 00 00 00 00 00 77 [04:48:19]Write i2c OK [04:48:19]MH_I2C_Read... [04:48:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:48:19]Read from MH i2c: E2 [04:48:19]MH_I2C_Read... [04:48:19]Read from MH i2c: E2 03 00 [04:48:19]MH_I2C_Read... [04:48:19]Read from MH i2c: E2 03 00 C5 40 00 90 00 79 [04:48:19]RAPDU: 90 00 [04:48:19]wFMCommunicate OK [04:48:19]SAM_PROTO_ClearQueue done [04:48:19]KKMCreateOFDPacket [04:48:19]OFDProtocolAddRootSTLVToBuf [04:48:19]FM_MakeSignedData [04:48:19]FM_MakeSignedData [04:48:19]SAM_PROTO_SignData [04:48:19]wFMCommunicate request_size=4 [04:48:19]MH_SAM_APDU [04:48:19]CAPDU: 80 0D 01 02 [04:48:19]Write to MH i2c: E2 08 00 C6 40 80 0D 01 02 00 00 00 00 7F [04:48:19]Write i2c OK [04:48:19]MH_I2C_Read... [04:48:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:48:19]Read from MH i2c: E2 [04:48:19]MH_I2C_Read... [04:48:19]Read from MH i2c: E2 03 00 [04:48:19]MH_I2C_Read... [04:48:19]Read from MH i2c: E2 03 00 C6 40 00 90 00 7A [04:48:19]RAPDU: 90 00 [04:48:19]wFMCommunicate OK [04:48:19]wFMCommunicate request_size=255 [04:48:19]MH_SAM_APDU [04:48:19]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 01 00 00 00 F4 03 04 00 19 3A 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 [04:48:19]Write to MH i2c: E2 02 01 C7 40 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 01 00 00 00 F4 03 04 00 19 3A 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 00 00 CE [04:48:19]Write i2c OK [04:48:19]MH_I2C_Read... [04:48:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:48:19]Read from MH i2c: E2 [04:48:19]MH_I2C_Read... [04:48:19]Read from MH i2c: E2 03 00 [04:48:19]MH_I2C_Read... [04:48:19]Read from MH i2c: E2 03 00 C7 40 00 90 00 7B [04:48:19]RAPDU: 90 00 [04:48:19]wFMCommunicate OK [04:48:19]wFMCommunicate request_size=32 [04:48:19]MH_SAM_APDU [04:48:19]CAPDU: 80 0D 02 02 1B 30 30 32 33 34 32 38 32 30 10 04 04 00 EC 09 00 00 35 04 06 00 76 4E 3A 1F CE 06 [04:48:19]Write to MH i2c: E2 23 00 C8 40 80 0D 02 02 1B 00 30 30 32 33 34 32 38 32 30 10 04 04 00 EC 09 00 00 35 04 06 00 76 4E 3A 1F CE 06 00 00 BA [04:48:19]Write i2c OK [04:48:19]MH_I2C_Read... [04:48:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:48:19]Read from MH i2c: E2 [04:48:19]MH_I2C_Read... [04:48:19]Read from MH i2c: E2 03 00 [04:48:19]MH_I2C_Read... [04:48:19]Read from MH i2c: E2 03 00 C8 40 00 90 00 7C [04:48:19]RAPDU: 90 00 [04:48:19]wFMCommunicate OK [04:48:19]wFMCommunicate request_size=4 [04:48:19]MH_SAM_APDU [04:48:19]CAPDU: 80 0D 03 02 [04:48:19]Write to MH i2c: E2 08 00 C9 40 80 0D 03 02 00 00 00 00 84 [04:48:19]Write i2c OK [04:48:19]MH_I2C_Read... [04:48:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:48:19]Read from MH i2c: E2 [04:48:19]MH_I2C_Read... [04:48:19]Read from MH i2c: E2 0B 00 [04:48:19]MH_I2C_Read... [04:48:19]Read from MH i2c: E2 0B 00 C9 40 00 4B CD 25 AC C7 7E ED 91 90 00 31 [04:48:19]RAPDU: 4B CD 25 AC C7 7E ED 91 90 00 [04:48:19]wFMCommunicate OK [04:48:19]SAM_PROTO_SignData done [04:48:19]FM_MakeSignedData done [04:48:19]CreateOFDProtocolMessage [04:48:19]wFMCommunicate request_size=4 [04:48:19]MH_SAM_APDU [04:48:19]CAPDU: 80 11 00 00 [04:48:19]Write to MH i2c: E2 08 00 CA 40 80 11 00 00 00 00 00 00 84 [04:48:19]Write i2c OK [04:48:19]MH_I2C_Read... [04:48:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:48:19]Read from MH i2c: E2 [04:48:19]MH_I2C_Read... [04:48:19]Read from MH i2c: E2 17 00 [04:48:19]MH_I2C_Read... [04:48:19]Read from MH i2c: E2 17 00 CA 40 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 CC [04:48:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [04:48:19]wFMCommunicate OK [04:48:19]CreateOFDProtocolMessage done [04:48:19]OFDSenderStorePacket 2540 [04:48:19]StoreOFDPacket docnum=2540 [04:48:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 20 64 1D 01 A7 22 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 01 00 00 00 F4 03 04 00 19 3A 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 EC 09 00 00 35 04 06 00 76 4E 3A 1F CE 06 4B CD 25 AC C7 7E ED 91 [04:48:19]CheckFolder [04:48:19]dirname=/storage/ofd_packets [04:48:19]CheckFolder done [04:48:19]ProducePacketName [04:48:19]name=ofd_packets/00002540 [04:48:19]NVStorageSaveData ofd_packets/00002540 [04:48:19]File name is /storage/ofd_packets/00002540 [04:48:19]Write 323 bytes [04:48:19]NVStorageSaveData done [04:48:19]OFDSenderStorePacket done [04:48:19]KKMCreateOFDPacket done [04:48:19]NVStorageSaveData kkm_last_timestamp [04:48:19]File name is /storage/kkm_last_timestamp [04:48:19]Write 4 bytes [04:48:19]NVStorageSaveData done [04:48:19]ExternCall_PrintAddStr [04:48:19]wPrintStart [04:48:19]Write to MH i2c: 01 00 00 CB 40 0B [04:48:19]Write i2c OK [04:48:19]MH_I2C_Read... [04:48:19]Read from MH i2c: 01 [04:48:19]MH_I2C_Read... [04:48:19]Read from MH i2c: 01 07 00 [04:48:19]MH_I2C_Read... [04:48:19]Read from MH i2c: 01 07 00 CB 40 00 00 00 00 00 FF 0F 20 [04:48:19]RasterBufferAndPrint [04:48:19]line Счет N : (3)99927 [04:48:19]line ИНН: 02508201610067 [04:48:19]line Контрольно-Кассовый Чек [04:48:19]line ПРОДАЖА [04:48:19]line Товар: 48743570 [04:48:19]line Сигареты Winston XStyle Blue [04:48:19]line 1.000 * 144.00 [04:48:19]line = 144.00 [04:48:19]line НДС 12% НСП 1% [04:48:19]line > о реализуемом товаре [04:48:19]line ИТОГО: 144.00 [04:48:19]line НСП 1% : 1.27 [04:48:19]line НДС 12% : 15.29 [04:48:19]line Наличными: 144.00 [04:48:19]line Безнал.: 0.00 [04:48:19]line Место: АЗС № 162 "Партнер Нефть" [04:48:19]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [04:48:19]line СНО: Общий режим [04:48:19]line Чек 1 19.10.2024 04:48 [04:48:19]line Смена: 23 ФФД: 1.0 [04:48:19]line ЗНМ: 0300000191 [04:48:19]line РНМ: 0000000000207295 [04:48:19]line Версия ККМ: v1.0 [04:48:19]line ФМ: 0000000002342820 [04:48:19]line ФД: 2540 [04:48:19]line ФПД: 130078354689542 [04:48:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T044825&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2540&fm=130078354689542&tin=02508201610067®Number=0000000000207295&sum=14400 [04:48:20]line 0 [04:48:20]OFD Sender: Processing packet 2540 [packets to send 1, broken 0] [04:48:20]ProducePacketName [04:48:20]name=ofd_packets/00002540 [04:48:20]OFD Sender: To server: pG, [04:48:20]CommunicateWithHost lk.salyk.kg:30040 [04:48:20]ConnectInit lk.salyk.kg [04:48:20]written 0, free lines is 4095 [04:48:20]Connected sock=10 [04:48:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 20 64 1D 01 A7 22 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 01 00 00 00 F4 03 04 00 19 3A 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 EC 09 00 00 35 04 06 00 76 4E 3A 1F CE 06 4B CD 25 AC C7 7E ED 91 [04:48:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 0D AF 47 00 23 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 EC 09 00 00 F4 03 04 00 7B E5 12 67 B6 04 01 00 00 1F 83 A0 F5 6B 3B 3D E6 [04:48:20]CommunicateWithHost err = 0 [04:48:20]CheckOFDResponse [04:48:20]1017 (14) - 77093643461234 [04:48:20]1041 (16) - 0000000002342820 [04:48:20]1040 (4) - 2540 [04:48:20]1012 (4) - 18.10.2024 22:47 [04:48:20]1206 (1) - 0 [04:48:20]OFD Sender: Remove packet 2540 [04:48:20]ProducePacketName [04:48:20]name=ofd_packets/00002540 [04:48:20]NVStorageDeleteData [04:48:20]Write to MH i2c: 01 00 00 F3 40 33 [04:48:20]Write i2c OK [04:48:20]MH_I2C_Read... [04:48:20]Read from MH i2c: 01 [04:48:20]MH_I2C_Read... [04:48:20]Read from MH i2c: 01 07 00 [04:48:20]MH_I2C_Read... [04:48:20]Read from MH i2c: 01 07 00 F3 40 00 00 00 00 00 AE 0C F4 [04:48:20]RasterBufferAndPrint [04:48:20]line [04:48:20]line [04:48:20]line [04:48:20]line [04:48:20]line [04:48:20]written 0, free lines is 3249 [04:48:20]MH_Cut [04:48:20]Write to MH i2c: D1 01 00 FA 40 01 0C [04:48:20]Write i2c OK [04:48:20]MH_I2C_Read... [04:48:20]Read from MH i2c: D1 [04:48:20]MH_I2C_Read... [04:48:20]Read from MH i2c: D1 01 00 [04:48:20]MH_I2C_Read... [04:48:20]Read from MH i2c: D1 01 00 FA 40 00 0B [04:48:20]Write to MH i2c: 01 00 00 FB 40 3B [04:48:20]Write i2c OK [04:48:20]MH_I2C_Read... [04:48:20]OFD Sender: No OFD packet to send [04:48:21]*** Cut start [04:48:21]*** Partial cut [04:48:21]*** CUTSNS_PIN = 1 [04:48:21]*** CUTSNS_PIN = 0 [04:48:21]*** Brake cut motor [04:48:22]Read from MH i2c: 01 [04:48:22]MH_I2C_Read... [04:48:22]*** Stop cut motor [04:48:22]*** Cut end [04:48:22]Read from MH i2c: 01 07 00 [04:48:22]MH_I2C_Read... [04:48:22]Read from MH i2c: 01 07 00 FB 40 00 00 00 00 00 FF 0F 50 [04:48:22]process_action close_receipt done [04:48:22]requested_data is exist [04:48:22]produce_requested_data [04:48:22]requested_item fm.sn is exist - process it [04:48:22]wFMCommunicate request_size=4 [04:48:22]MH_SAM_APDU [04:48:22]CAPDU: 80 11 00 00 [04:48:22]Write to MH i2c: E2 08 00 FC 40 80 11 00 00 00 00 00 00 B6 [04:48:22]Write i2c OK [04:48:22]MH_I2C_Read... [04:48:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:48:22]Read from MH i2c: E2 [04:48:22]MH_I2C_Read... [04:48:22]Read from MH i2c: E2 17 00 [04:48:22]MH_I2C_Read... [04:48:22]Read from MH i2c: E2 17 00 FC 40 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 FE [04:48:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [04:48:22]wFMCommunicate OK [04:48:22]requested_item fd.num is exist - process it [04:48:22]SAM_PROTO_GetFieldsCounters [04:48:22]wFMCommunicate request_size=4 [04:48:22]MH_SAM_APDU [04:48:22]CAPDU: 80 13 00 00 [04:48:22]Write to MH i2c: E2 08 00 FD 40 80 13 00 00 00 00 00 00 B9 [04:48:22]Write i2c OK [04:48:22]MH_I2C_Read... [04:48:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:48:22]Read from MH i2c: E2 [04:48:22]MH_I2C_Read... [04:48:22]Read from MH i2c: E2 62 00 [04:48:22]MH_I2C_Read... [04:48:22]Read from MH i2c: E2 62 00 FD 40 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 EC 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 DE [04:48:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 EC 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [04:48:22]wFMCommunicate OK [04:48:22]SAM_PROTO_GetFieldsCounters done [04:48:22]requested_item shift.num is exist - process it [04:48:22]requested_item shift.opened is exist - process it [04:48:22]req_shift_opened [04:48:22]FM_GetShiftState [04:48:22]SAM_PROTO_GetShiftState [04:48:22]wFMCommunicate request_size=4 [04:48:22]MH_SAM_APDU [04:48:22]CAPDU: 80 13 01 00 [04:48:22]Write to MH i2c: E2 08 00 FE 40 80 13 01 00 00 00 00 00 BB [04:48:22]Write i2c OK [04:48:22]MH_I2C_Read... [04:48:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:48:22]Read from MH i2c: E2 [04:48:22]MH_I2C_Read... [04:48:22]Read from MH i2c: E2 0E 00 [04:48:22]MH_I2C_Read... [04:48:22]Read from MH i2c: E2 0E 00 FE 40 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 64 [04:48:22]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [04:48:22]wFMCommunicate OK [04:48:22]SAM_PROTO_GetShiftState done [04:48:22]FM_GetShiftState done [04:48:22]req_shift_opened done [04:48:22]requested_item shift.open_date is exist - process it [04:48:22]req_shift_open_date [04:48:22]req_shift_open_date done [04:48:22]produce_requested_data done [04:48:22]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2540,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [04:48:22]process_action_free close_receipt [04:48:22]json_value_free [04:48:22]json_value_free done [04:48:22]process_json_proto returns [04:48:22]Send response to host [04:48:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2540,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [04:48:22]free response buf [04:48:22]execute_script done [04:48:22]execute_script returns [04:48:22]free content buf [04:48:22]Sock 9.Close socket [04:48:22]Sock 9.Thread stoped [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:21]OFD Sender: No OFD packet to send [04:50:26]OFD Sender: No OFD packet to send [04:50:31]OFD Sender: No OFD packet to send [04:50:36]OFD Sender: No OFD packet to send [04:50:41]OFD Sender: No OFD packet to send [04:50:46]OFD Sender: No OFD packet to send [04:50:51]OFD Sender: No OFD packet to send [04:50:56]OFD Sender: No OFD packet to send [04:51:01]OFD Sender: No OFD packet to send [04:51:06]OFD Sender: No OFD packet to send [04:51:11]OFD Sender: No OFD packet to send [04:51:16]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:11]OFD Sender: No OFD packet to send [05:10:16]OFD Sender: No OFD packet to send [05:10:21]OFD Sender: No OFD packet to send [05:10:26]OFD Sender: No OFD packet to send [05:10:31]OFD Sender: No OFD packet to send [05:10:36]OFD Sender: No OFD packet to send [05:10:41]OFD Sender: No OFD packet to send [05:10:46]OFD Sender: No OFD packet to send [05:10:51]OFD Sender: No OFD packet to send [05:10:56]OFD Sender: No OFD packet to send [05:11:01]OFD Sender: No OFD packet to send [05:11:06]OFD Sender: No OFD packet to send [05:11:11]OFD Sender: No OFD packet to send [05:11:16]OFD Sender: No OFD packet to send [05:11:21]OFD Sender: No OFD packet to send [05:11:26]OFD Sender: No OFD packet to send [05:11:31]OFD Sender: No OFD packet to send [05:11:36]OFD Sender: No OFD packet to send [05:11:41]OFD Sender: No OFD packet to send [05:11:46]OFD Sender: No OFD packet to send [05:11:51]OFD Sender: No OFD packet to send [05:11:56]OFD Sender: No OFD packet to send [05:12:01]OFD Sender: No OFD packet to send [05:12: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:07]OFD Sender: No OFD packet to send [05:29:12]OFD Sender: No OFD packet to send [05:29:17]OFD Sender: No OFD packet to send [05:29:22]OFD Sender: No OFD packet to send [05:29:27]OFD Sender: No OFD packet to send [05:29:32]OFD Sender: No OFD packet to send [05:29:37]OFD Sender: No OFD packet to send [05:29:42]OFD Sender: No OFD packet to send [05:29:47]OFD Sender: No OFD packet to send [05:29:52]OFD Sender: No OFD packet to send [05:29:57]OFD Sender: No OFD packet to send [05:30:02]OFD Sender: No OFD packet to send [05:30:07]OFD Sender: No OFD packet to send [05:30:12]OFD Sender: No OFD packet to send [05:30:17]OFD Sender: No OFD packet to send [05:30:22]OFD Sender: No OFD packet to send [05:30:27]OFD Sender: No OFD packet to send [05:30:32]OFD Sender: No OFD packet to send [05:30:37]OFD Sender: No OFD packet to send [05:30:42]OFD Sender: No OFD packet to send [05:30:47]OFD Sender: No OFD packet to send [05:30:52]OFD Sender: No OFD packet to send [05:30:57]OFD Sender: No OFD packet to send [05:31:02]OFD Sender: No OFD packet to send [05:31:07]OFD Sender: No OFD packet to send [05:31:12]OFD Sender: No OFD packet to send [05:31:17]OFD Sender: No OFD packet to send [05:31:22]OFD Sender: No OFD packet to send [05:31:27]OFD Sender: No OFD packet to send [05:31:32]OFD Sender: No OFD packet to send [05:31:37]OFD Sender: No OFD packet to send [05:31:42]OFD Sender: No OFD packet to send [05:31:47]OFD Sender: No OFD packet to send [05:31:52]OFD Sender: No OFD packet to send [05:31:57]OFD Sender: No OFD packet to send [05:32:02]OFD Sender: No OFD packet to send [05:32:07]OFD Sender: No OFD packet to send [05:32:12]OFD Sender: No OFD packet to send [05:32:17]OFD Sender: No OFD packet to send [05:32:22]OFD Sender: No OFD packet to send [05:32:27]OFD Sender: No OFD packet to send [05:32:32]OFD Sender: No OFD packet to send [05:32:37]OFD Sender: No OFD packet to send [05:32:42]OFD Sender: No OFD packet to send [05:32:47]OFD Sender: No OFD packet to send [05:32:52]OFD Sender: No OFD packet to send [05:32:57]OFD Sender: No OFD packet to send [05:33:02]OFD Sender: No OFD packet to send [05:33:07]OFD Sender: No OFD packet to send [05:33:12]OFD Sender: No OFD packet to send [05:33:17]OFD Sender: No OFD packet to send [05:33:22]OFD Sender: No OFD packet to send [05:33:27]OFD Sender: No OFD packet to send [05:33:32]OFD Sender: No OFD packet to send [05:33:37]OFD Sender: No OFD packet to send [05:33:42]OFD Sender: No OFD packet to send [05:33:47]OFD Sender: No OFD packet to send [05:33:52]OFD Sender: No OFD packet to send [05:33:57]OFD Sender: No OFD packet to send [05:34:02]OFD Sender: No OFD packet to send [05:34:07]OFD Sender: No OFD packet to send [05:34: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:53]OFD Sender: No OFD packet to send [05:47:58]OFD Sender: No OFD packet to send [05:48:03]OFD Sender: No OFD packet to send [05:48:08]OFD Sender: No OFD packet to send [05:48:13]OFD Sender: No OFD packet to send [05:48:18]OFD Sender: No OFD packet to send [05:48:23]OFD Sender: No OFD packet to send [05:48:28]OFD Sender: No OFD packet to send [05:48:33]OFD Sender: No OFD packet to send [05:48:38]OFD Sender: No OFD packet to send [05:48:43]OFD Sender: No OFD packet to send [05:48:48]OFD Sender: No OFD packet to send [05:48:53]OFD Sender: No OFD packet to send [05:48:58]OFD Sender: No OFD packet to send [05:49:03]OFD Sender: No OFD packet to send [05:49:08]OFD Sender: No OFD packet to send [05:49:13]OFD Sender: No OFD packet to send [05:49:18]OFD Sender: No OFD packet to send [05:49:23]OFD Sender: No OFD packet to send [05:49:28]OFD Sender: No OFD packet to send [05:49:33]OFD Sender: No OFD packet to send [05:49:38]OFD Sender: No OFD packet to send [05:49:43]OFD Sender: No OFD packet to send [05:49:48]OFD Sender: No OFD packet to send [05:49:53]OFD Sender: No OFD packet to send [05:49:58]OFD Sender: No OFD packet to send [05:50:03]OFD Sender: No OFD packet to send [05:50:08]OFD Sender: No OFD packet to send [05:50:13]OFD Sender: No OFD packet to send [05:50:18]OFD Sender: No OFD packet to send [05:50:23]OFD Sender: No OFD packet to send [05:50:28]OFD Sender: No OFD packet to send [05:50:33]OFD Sender: No OFD packet to send [05:50:38]OFD Sender: No OFD packet to send [05:50:43]OFD Sender: No OFD packet to send [05:50:48]OFD Sender: No OFD packet to send [05:50:53]OFD Sender: No OFD packet to send [05:50:58]OFD Sender: No OFD packet to send [05:51:03]OFD Sender: No OFD packet to send [05:51:08]OFD Sender: No OFD packet to send [05:51:13]OFD Sender: No OFD packet to send [05:51:18]OFD Sender: No OFD packet to send [05:51:23]OFD Sender: No OFD packet to send [05:51:28]OFD Sender: No OFD packet to send [05:51:33]OFD Sender: No OFD packet to send [05:51:38]OFD Sender: No OFD packet to send [05:51:43]OFD Sender: No OFD packet to send [05:51:48]OFD Sender: No OFD packet to send [05:51:53]OFD Sender: No OFD packet to send [05:51:58]OFD Sender: No OFD packet to send [05:52:03]OFD Sender: No OFD packet to send [05:52:08]OFD Sender: No OFD packet to send [05:52:13]OFD Sender: No OFD packet to send [05:52:18]OFD Sender: No OFD packet to send [05:52:23]OFD Sender: No OFD packet to send [05:52:28]OFD Sender: No OFD packet to send [05:52:33]OFD Sender: No OFD packet to send [05:52:38]OFD Sender: No OFD packet to send [05:52:43]OFD Sender: No OFD packet to send [05:52:48]OFD Sender: No OFD packet to send [05:52:53]OFD Sender: No OFD packet to send [05:52:58]OFD Sender: No OFD packet to send [05:53:03]OFD Sender: No OFD packet to send [05:53:08]OFD Sender: No OFD packet to send [05:53:13]OFD Sender: No OFD packet to send [05:53:18]OFD Sender: No OFD packet to send [05:53:23]OFD Sender: No OFD packet to send [05:53:28]OFD Sender: No OFD packet to send [05:53:33]OFD Sender: No OFD packet to send [05:53:38]OFD Sender: No OFD packet to send [05:53:43]OFD Sender: No OFD packet to send [05:53:48]OFD Sender: No OFD packet to send [05:53:53]OFD Sender: No OFD packet to send [05:53:58]OFD Sender: No OFD packet to send [05:54:03]OFD Sender: No OFD packet to send [05:54:08]OFD Sender: No OFD packet to send [05:54:13]OFD Sender: No OFD packet to send [05:54:18]OFD Sender: No OFD packet to send [05:54:23]OFD Sender: No OFD packet to send [05:54:28]OFD Sender: No OFD packet to send [05:54:33]OFD Sender: No OFD packet to send [05:54:38]OFD Sender: No OFD packet to send [05:54:43]OFD Sender: No OFD packet to send [05:54:48]OFD Sender: No OFD packet to send [05:54:53]OFD Sender: No OFD packet to send [05:54:58]OFD Sender: No OFD packet to send [05:55:03]OFD Sender: No OFD packet to send [05:55:08]OFD Sender: No OFD packet to send [05:55:13]OFD Sender: No OFD packet to send [05:55:18]OFD Sender: No OFD packet to send [05:55:23]OFD Sender: No OFD packet to send [05:55:28]OFD Sender: No OFD packet to send [05:55:33]OFD Sender: No OFD packet to send [05:55:38]OFD Sender: No OFD packet to send [05:55:43]OFD Sender: No OFD packet to send [05:55:48]OFD Sender: No OFD packet to send [05:55:53]OFD Sender: No OFD packet to send [05:55:58]OFD Sender: No OFD packet to send [05:56:03]OFD Sender: No OFD packet to send [05:56:08]OFD Sender: No OFD packet to send [05:56:13]OFD Sender: No OFD packet to send [05:56:19]OFD Sender: No OFD packet to send [05:56:24]OFD Sender: No OFD packet to send [05:56:29]OFD Sender: No OFD packet to send [05:56:34]OFD Sender: No OFD packet to send [05:56:39]OFD Sender: No OFD packet to send [05:56:44]OFD Sender: No OFD packet to send [05:56:49]OFD Sender: No OFD packet to send [05:56:54]OFD Sender: No OFD packet to send [05:56:59]OFD Sender: No OFD packet to send [05:57:04]OFD Sender: No OFD packet to send [05:57:09]OFD Sender: No OFD packet to send [05:57:14]OFD Sender: No OFD packet to send [05:57:19]OFD Sender: No OFD packet to send [05:57:24]OFD Sender: No OFD packet to send [05:57:29]OFD Sender: No OFD packet to send [05:57:34]OFD Sender: No OFD packet to send [05:57:39]OFD Sender: No OFD packet to send [05:57:44]OFD Sender: No OFD packet to send [05:57:49]OFD Sender: No OFD packet to send [05:57:54]OFD Sender: No OFD packet to send [05:57:59]OFD Sender: No OFD packet to send [05:58:04]OFD Sender: No OFD packet to send [05:58:09]OFD Sender: No OFD packet to send [05:58:14]OFD Sender: No OFD packet to send [05:58:19]OFD Sender: No OFD packet to send [05:58:24]OFD Sender: No OFD packet to send [05:58:29]OFD Sender: No OFD packet to send [05:58:34]OFD Sender: No OFD packet to send [05:58:39]OFD Sender: No OFD packet to send [05:58:44]OFD Sender: No OFD packet to send [05:58:49]OFD Sender: No OFD packet to send [05:58:54]OFD Sender: No OFD packet to send [05:58:59]OFD Sender: No OFD packet to send [05:59:04]OFD Sender: No OFD packet to send [05:59:09]OFD Sender: No OFD packet to send [05:59:14]OFD Sender: No OFD packet to send [05:59:19]OFD Sender: No OFD packet to send [05:59:24]OFD Sender: No OFD packet to send [05:59:29]OFD Sender: No OFD packet to send [05:59:34]OFD Sender: No OFD packet to send [05:59:39]OFD Sender: No OFD packet to send [05:59:44]OFD Sender: No OFD packet to send [05:59:49]OFD Sender: No OFD packet to send [05:59:54]OFD Sender: No OFD packet to send [05:59:59]OFD Sender: No OFD packet to send [06:00:04]OFD Sender: No OFD packet to send [06:00:09]OFD Sender: No OFD packet to send [06:00:14]OFD Sender: No OFD packet to send [06:00:19]OFD Sender: No OFD packet to send [06:00:24]OFD Sender: No OFD packet to send [06:00:29]OFD Sender: No OFD packet to send [06:00:34]OFD Sender: No OFD packet to send [06:00:39]OFD Sender: No OFD packet to send [06:00:44]OFD Sender: No OFD packet to send [06:00:49]OFD Sender: No OFD packet to send [06:00:54]OFD Sender: No OFD packet to send [06:00:59]OFD Sender: No OFD packet to send [06:01:04]OFD Sender: No OFD packet to send [06:01:09]OFD Sender: No OFD packet to send [06:01:14]OFD Sender: No OFD packet to send [06:01:19]OFD Sender: No OFD packet to send [06:01:24]OFD Sender: No OFD packet to send [06:01:29]OFD Sender: No OFD packet to send [06:01:34]OFD Sender: No OFD packet to send [06:01:39]OFD Sender: No OFD packet to send [06:01:44]OFD Sender: No OFD packet to send [06:01:49]OFD Sender: No OFD packet to send [06:01:54]OFD Sender: No OFD packet to send [06:01:59]OFD Sender: No OFD packet to send [06:02:04]OFD Sender: No OFD packet to send [06:02:09]OFD Sender: No OFD packet to send [06:02:14]OFD Sender: No OFD packet to send [06:02:19]OFD Sender: No OFD packet to send [06:02:24]OFD Sender: No OFD packet to send [06:02:29]OFD Sender: No OFD packet to send [06:02:34]OFD Sender: No OFD packet to send [06:02:39]OFD Sender: No OFD packet to send [06:02:44]OFD Sender: No OFD packet to send [06:02:49]OFD Sender: No OFD packet to send [06:02:54]OFD Sender: No OFD packet to send [06:02:59]OFD Sender: No OFD packet to send [06:03:04]OFD Sender: No OFD packet to send [06:03:09]OFD Sender: No OFD packet to send [06:03:14]OFD Sender: No OFD packet to send [06:03:19]OFD Sender: No OFD packet to send [06:03:24]OFD Sender: No OFD packet to send [06:03:29]OFD Sender: No OFD packet to send [06:03:34]OFD Sender: No OFD packet to send [06:03:39]OFD Sender: No OFD packet to send [06:03:44]OFD Sender: No OFD packet to send [06:03:49]OFD Sender: No OFD packet to send [06:03:54]OFD Sender: No OFD packet to send [06:03:59]OFD Sender: No OFD packet to send [06:04:04]OFD Sender: No OFD packet to send [06:04:09]OFD Sender: No OFD packet to send [06:04:14]OFD Sender: No OFD packet to send [06:04:19]OFD Sender: No OFD packet to send [06:04:24]OFD Sender: No OFD packet to send [06:04:29]OFD Sender: No OFD packet to send [06:04:34]OFD Sender: No OFD packet to send [06:04:39]OFD Sender: No OFD packet to send [06:04:44]OFD Sender: No OFD packet to send [06:04:49]OFD Sender: No OFD packet to send [06:04:54]OFD Sender: No OFD packet to send [06:04:59]OFD Sender: No OFD packet to send [06:05:04]OFD Sender: No OFD packet to send [06:05:09]OFD Sender: No OFD packet to send [06:05:14]OFD Sender: No OFD packet to send [06:05:19]OFD Sender: No OFD packet to send [06:05:24]OFD Sender: No OFD packet to send [06:05:29]OFD Sender: No OFD packet to send [06:05:34]OFD Sender: No OFD packet to send [06:05:39]OFD Sender: No OFD packet to send [06:05:44]OFD Sender: No OFD packet to send [06:05:49]OFD Sender: No OFD packet to send [06:05:54]OFD Sender: No OFD packet to send [06:05:59]OFD Sender: No OFD packet to send [06:06:04]OFD Sender: No OFD packet to send [06:06:09]OFD Sender: No OFD packet to send [06:06:14]OFD Sender: No OFD packet to send [06:06:19]OFD Sender: No OFD packet to send [06:06:24]OFD Sender: No OFD packet to send [06:06:29]OFD Sender: No OFD packet to send [06:06:34]OFD Sender: No OFD packet to send [06:06:39]OFD Sender: No OFD packet to send [06:06:44]OFD Sender: No OFD packet to send [06:06:49]OFD Sender: No OFD packet to send [06:06:54]OFD Sender: No OFD packet to send [06:06:59]OFD Sender: No OFD packet to send [06:07:04]OFD Sender: No OFD packet to send [06:07:09]OFD Sender: No OFD packet to send [06:07:14]OFD Sender: No OFD packet to send [06:07:19]OFD Sender: No OFD packet to send [06:07:24]OFD Sender: No OFD packet to send [06:07:29]OFD Sender: No OFD packet to send [06:07:34]OFD Sender: No OFD packet to send [06:07:39]OFD Sender: No OFD packet to send [06:07:44]OFD Sender: No OFD packet to send [06:07:49]OFD Sender: No OFD packet to send [06:07:54]OFD Sender: No OFD packet to send [06:07:59]OFD Sender: No OFD packet to send [06:08:04]OFD Sender: No OFD packet to send [06:08:09]OFD Sender: No OFD packet to send [06:08:14]OFD Sender: No OFD packet to send [06:08:19]OFD Sender: No OFD packet to send [06:08:24]OFD Sender: No OFD packet to send [06:08:29]OFD Sender: No OFD packet to send [06:08:34]OFD Sender: No OFD packet to send [06:08:39]OFD Sender: No OFD packet to send [06:08:44]OFD Sender: No OFD packet to send [06:08:49]OFD Sender: No OFD packet to send [06:08:54]OFD Sender: No OFD packet to send [06:08:59]OFD Sender: No OFD packet to send [06:09:04]OFD Sender: No OFD packet to send [06:09:09]OFD Sender: No OFD packet to send [06:09:14]OFD Sender: No OFD packet to send [06:09:19]OFD Sender: No OFD packet to send [06:09:24]OFD Sender: No OFD packet to send [06:09:29]OFD Sender: No OFD packet to send [06:09:34]OFD Sender: No OFD packet to send [06:09:39]OFD Sender: No OFD packet to send [06:09:44]OFD Sender: No OFD packet to send [06:09:49]OFD Sender: No OFD packet to send [06:09:54]OFD Sender: No OFD packet to send [06:09:59]OFD Sender: No OFD packet to send [06:10:04]OFD Sender: No OFD packet to send [06:10:09]OFD Sender: No OFD packet to send [06:10:14]OFD Sender: No OFD packet to send [06:10:19]OFD Sender: No OFD packet to send [06:10:24]OFD Sender: No OFD packet to send [06:10:29]OFD Sender: No OFD packet to send [06:10:34]OFD Sender: No OFD packet to send [06:10:39]OFD Sender: No OFD packet to send [06:10:44]OFD Sender: No OFD packet to send [06:10:49]OFD Sender: No OFD packet to send [06:10:54]OFD Sender: No OFD packet to send [06:10:59]OFD Sender: No OFD packet to send [06:11:04]OFD Sender: No OFD packet to send [06:11:09]OFD Sender: No OFD packet to send [06:11:14]OFD Sender: No OFD packet to send [06:11:19]OFD Sender: No OFD packet to send [06:11:24]OFD Sender: No OFD packet to send [06:11:29]OFD Sender: No OFD packet to send [06:11:34]OFD Sender: No OFD packet to send [06:11:39]OFD Sender: No OFD packet to send [06:11:44]OFD Sender: No OFD packet to send [06:11:49]OFD Sender: No OFD packet to send [06:11:54]OFD Sender: No OFD packet to send [06:11:59]OFD Sender: No OFD packet to send [06:12:04]OFD Sender: No OFD packet to send [06:12:09]OFD Sender: No OFD packet to send [06:12:14]OFD Sender: No OFD packet to send [06:12:19]OFD Sender: No OFD packet to send [06:12:24]OFD Sender: No OFD packet to send [06:12:29]OFD Sender: No OFD packet to send [06:12:34]OFD Sender: No OFD packet to send [06:12:39]OFD Sender: No OFD packet to send [06:12:44]OFD Sender: No OFD packet to send [06:12:49]OFD Sender: No OFD packet to send [06:12:54]OFD Sender: No OFD packet to send [06:12:59]OFD Sender: No OFD packet to send [06:13:04]OFD Sender: No OFD packet to send [06:13:09]OFD Sender: No OFD packet to send [06:13:14]OFD Sender: No OFD packet to send [06:13:19]OFD Sender: No OFD packet to send [06:13:24]OFD Sender: No OFD packet to send [06:13:29]OFD Sender: No OFD packet to send [06:13:34]OFD Sender: No OFD packet to send [06:13:39]OFD Sender: No OFD packet to send [06:13:44]OFD Sender: No OFD packet to send [06:13:49]OFD Sender: No OFD packet to send [06:13:54]OFD Sender: No OFD packet to send [06:13:59]OFD Sender: No OFD packet to send [06:14:04]OFD Sender: No OFD packet to send [06:14:09]OFD Sender: No OFD packet to send [06:14:14]OFD Sender: No OFD packet to send [06:14:19]OFD Sender: No OFD packet to send [06:14:24]OFD Sender: No OFD packet to send [06:14:29]OFD Sender: No OFD packet to send [06:14:34]OFD Sender: No OFD packet to send [06:14:39]OFD Sender: No OFD packet to send [06:14:44]OFD Sender: No OFD packet to send [06:14:49]OFD Sender: No OFD packet to send [06:14:54]OFD Sender: No OFD packet to send [06:14:59]OFD Sender: No OFD packet to send [06:15:04]OFD Sender: No OFD packet to send [06:15:09]OFD Sender: No OFD packet to send [06:15:14]OFD Sender: No OFD packet to send [06:15:19]OFD Sender: No OFD packet to send [06:15:24]OFD Sender: No OFD packet to send [06:15:29]OFD Sender: No OFD packet to send [06:15:34]OFD Sender: No OFD packet to send [06:15:39]OFD Sender: No OFD packet to send [06:15:44]OFD Sender: No OFD packet to send [06:15:49]OFD Sender: No OFD packet to send [06:15:54]OFD Sender: No OFD packet to send [06:15:59]OFD Sender: No OFD packet to send [06:16:04]OFD Sender: No OFD packet to send [06:16:09]OFD Sender: No OFD packet to send [06:16:14]OFD Sender: No OFD packet to send [06:16:19]OFD Sender: No OFD packet to send [06:16:24]OFD Sender: No OFD packet to send [06:16:29]OFD Sender: No OFD packet to send [06:16:34]OFD Sender: No OFD packet to send [06:16:39]OFD Sender: No OFD packet to send [06:16:44]OFD Sender: No OFD packet to send [06:16:49]OFD Sender: No OFD packet to send [06:16:54]OFD Sender: No OFD packet to send [06:16:59]OFD Sender: No OFD packet to send [06:17:04]OFD Sender: No OFD packet to send [06:17:09]OFD Sender: No OFD packet to send [06:17:14]OFD Sender: No OFD packet to send [06:17:19]OFD Sender: No OFD packet to send [06:17:24]OFD Sender: No OFD packet to send [06:17:29]OFD Sender: No OFD packet to send [06:17:34]OFD Sender: No OFD packet to send [06:17:39]OFD Sender: No OFD packet to send [06:17:44]OFD Sender: No OFD packet to send [06:17:49]OFD Sender: No OFD packet to send [06:17:54]OFD Sender: No OFD packet to send [06:17:59]OFD Sender: No OFD packet to send [06:18:04]OFD Sender: No OFD packet to send [06:18:09]OFD Sender: No OFD packet to send [06:18:14]OFD Sender: No OFD packet to send [06:18: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:25]OFD Sender: No OFD packet to send [06:27:30]OFD Sender: No OFD packet to send [06:27:35]OFD Sender: No OFD packet to send [06:27:40]OFD Sender: No OFD packet to send [06:27:45]OFD Sender: No OFD packet to send [06:27:50]OFD Sender: No OFD packet to send [06:27:55]OFD Sender: No OFD packet to send [06:28:00]OFD Sender: No OFD packet to send [06:28:05]OFD Sender: No OFD packet to send [06:28:10]OFD Sender: No OFD packet to send [06:28:15]OFD Sender: No OFD packet to send [06:28:20]OFD Sender: No OFD packet to send [06:28:25]OFD Sender: No OFD packet to send [06:28:30]OFD Sender: No OFD packet to send [06:28:35]OFD Sender: No OFD packet to send [06:28:40]OFD Sender: No OFD packet to send [06:28:45]OFD Sender: No OFD packet to send [06:28:50]OFD Sender: No OFD packet to send [06:28:55]OFD Sender: No OFD packet to send [06:29:00]OFD Sender: No OFD packet to send [06:29:05]OFD Sender: No OFD packet to send [06:29:10]OFD Sender: No OFD packet to send [06:29:15]OFD Sender: No OFD packet to send [06:29:20]OFD Sender: No OFD packet to send [06:29:25]OFD Sender: No OFD packet to send [06:29:30]OFD Sender: No OFD packet to send [06:29:35]OFD Sender: No OFD packet to send [06:29:40]OFD Sender: No OFD packet to send [06:29:45]OFD Sender: No OFD packet to send [06:29:50]OFD Sender: No OFD packet to send [06:29:55]OFD Sender: No OFD packet to send [06:30:00]OFD Sender: No OFD packet to send [06:30:05]OFD Sender: No OFD packet to send [06:30:10]OFD Sender: No OFD packet to send [06:30:15]OFD Sender: No OFD packet to send [06:30:20]OFD Sender: No OFD packet to send [06:30:25]OFD Sender: No OFD packet to send [06:30:30]OFD Sender: No OFD packet to send [06:30:35]OFD Sender: No OFD packet to send [06:30:40]OFD Sender: No OFD packet to send [06:30:45]OFD Sender: No OFD packet to send [06:30:50]OFD Sender: No OFD packet to send [06:30:55]OFD Sender: No OFD packet to send [06:31:00]OFD Sender: No OFD packet to send [06:31:05]OFD Sender: No OFD packet to send [06:31:10]OFD Sender: No OFD packet to send [06:31:15]OFD Sender: No OFD packet to send [06:31:20]OFD Sender: No OFD packet to send [06:31:25]OFD Sender: No OFD packet to send [06:31:30]OFD Sender: No OFD packet to send [06:31:35]OFD Sender: No OFD packet to send [06:31:40]OFD Sender: No OFD packet to send [06:31:45]OFD Sender: No OFD packet to send [06:31:50]OFD Sender: No OFD packet to send [06:31:55]OFD Sender: No OFD packet to send [06:32:00]OFD Sender: No OFD packet to send [06:32:05]OFD Sender: No OFD packet to send [06:32:10]OFD Sender: No OFD packet to send [06:32:15]OFD Sender: No OFD packet to send [06:32:20]OFD Sender: No OFD packet to send [06:32:25]OFD Sender: No OFD packet to send [06:32:30]OFD Sender: No OFD packet to send [06:32:35]OFD Sender: No OFD packet to send [06:32:40]OFD Sender: No OFD packet to send [06:32:45]OFD Sender: No OFD packet to send [06:32:50]OFD Sender: No OFD packet to send [06:32:55]OFD Sender: No OFD packet to send [06:33:00]OFD Sender: No OFD packet to send [06:33:05]OFD Sender: No OFD packet to send [06:33:10]OFD Sender: No OFD packet to send [06:33:15]OFD Sender: No OFD packet to send [06:33:20]OFD Sender: No OFD packet to send [06:33:25]OFD Sender: No OFD packet to send [06:33:30]OFD Sender: No OFD packet to send [06:33:35]OFD Sender: No OFD packet to send [06:33:40]OFD Sender: No OFD packet to send [06:33:45]OFD Sender: No OFD packet to send [06:33:50]OFD Sender: No OFD packet to send [06:33:55]OFD Sender: No OFD packet to send [06:34:00]OFD Sender: No OFD packet to send [06:34:05]OFD Sender: No OFD packet to send [06:34:10]OFD Sender: No OFD packet to send [06:34:15]OFD Sender: No OFD packet to send [06:34:20]OFD Sender: No OFD packet to send [06:34:25]OFD Sender: No OFD packet to send [06:34:30]OFD Sender: No OFD packet to send [06:34:35]OFD Sender: No OFD packet to send [06:34:40]OFD Sender: No OFD packet to send [06:34:45]OFD Sender: No OFD packet to send [06:34:50]OFD Sender: No OFD packet to send [06:34:55]OFD Sender: No OFD packet to send [06:35:00]OFD Sender: No OFD packet to send [06:35:05]OFD Sender: No OFD packet to send [06:35:10]OFD Sender: No OFD packet to send [06:35:15]OFD Sender: No OFD packet to send [06:35:20]OFD Sender: No OFD packet to send [06:35:25]OFD Sender: No OFD packet to send [06:35:30]OFD Sender: No OFD packet to send [06:35:35]OFD Sender: No OFD packet to send [06:35:40]OFD Sender: No OFD packet to send [06:35:45]OFD Sender: No OFD packet to send [06:35:50]OFD Sender: No OFD packet to send [06:35:55]OFD Sender: No OFD packet to send [06:36:00]OFD Sender: No OFD packet to send [06:36:05]OFD Sender: No OFD packet to send [06:36:10]OFD Sender: No OFD packet to send [06:36:15]OFD Sender: No OFD packet to send [06:36:20]OFD Sender: No OFD packet to send [06:36:25]OFD Sender: No OFD packet to send [06:36:30]OFD Sender: No OFD packet to send [06:36:35]OFD Sender: No OFD packet to send [06:36:40]OFD Sender: No OFD packet to send [06:36:45]OFD Sender: No OFD packet to send [06:36:50]OFD Sender: No OFD packet to send [06:36:55]OFD Sender: No OFD packet to send [06:37:00]OFD Sender: No OFD packet to send [06:37:05]OFD Sender: No OFD packet to send [06:37:10]OFD Sender: No OFD packet to send [06:37:15]OFD Sender: No OFD packet to send [06:37:20]OFD Sender: No OFD packet to send [06:37:25]OFD Sender: No OFD packet to send [06:37:30]OFD Sender: No OFD packet to send [06:37:35]OFD Sender: No OFD packet to send [06:37:40]OFD Sender: No OFD packet to send [06:37:45]OFD Sender: No OFD packet to send [06:37:50]OFD Sender: No OFD packet to send [06:37:55]OFD Sender: No OFD packet to send [06:38:00]OFD Sender: No OFD packet to send [06:38:05]OFD Sender: No OFD packet to send [06:38:10]OFD Sender: No OFD packet to send [06:38:15]OFD Sender: No OFD packet to send [06:38:20]OFD Sender: No OFD packet to send [06:38:25]OFD Sender: No OFD packet to send [06:38:30]OFD Sender: No OFD packet to send [06:38:35]OFD Sender: No OFD packet to send [06:38:40]OFD Sender: No OFD packet to send [06:38:45]OFD Sender: No OFD packet to send [06:38:50]OFD Sender: No OFD packet to send [06:38:55]OFD Sender: No OFD packet to send [06:39:00]OFD Sender: No OFD packet to send [06:39:05]OFD Sender: No OFD packet to send [06:39:10]OFD Sender: No OFD packet to send [06:39:15]OFD Sender: No OFD packet to send [06:39:20]OFD Sender: No OFD packet to send [06:39:25]OFD Sender: No OFD packet to send [06:39:30]OFD Sender: No OFD packet to send [06:39:35]OFD Sender: No OFD packet to send [06:39:40]OFD Sender: No OFD packet to send [06:39:45]OFD Sender: No OFD packet to send [06:39:50]OFD Sender: No OFD packet to send [06:39:55]OFD Sender: No OFD packet to send [06:40:00]OFD Sender: No OFD packet to send [06:40:05]OFD Sender: No OFD packet to send [06:40:10]OFD Sender: No OFD packet to send [06:40: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:06]OFD Sender: No OFD packet to send [06:46:11]OFD Sender: No OFD packet to send [06:46:16]OFD Sender: No OFD packet to send [06:46:21]OFD Sender: No OFD packet to send [06:46:26]OFD Sender: No OFD packet to send [06:46:31]OFD Sender: No OFD packet to send [06:46:36]OFD Sender: No OFD packet to send [06:46:41]OFD Sender: No OFD packet to send [06:46:46]OFD Sender: No OFD packet to send [06:46:51]OFD Sender: No OFD packet to send [06:46:56]OFD Sender: No OFD packet to send [06:47:01]OFD Sender: No OFD packet to send [06:47:06]OFD Sender: No OFD packet to send [06:47:11]OFD Sender: No OFD packet to send [06:47:16]OFD Sender: No OFD packet to send [06:47:21]OFD Sender: No OFD packet to send [06:47:26]OFD Sender: No OFD packet to send [06:47:31]OFD Sender: No OFD packet to send [06:47:36]OFD Sender: No OFD packet to send [06:47:41]OFD Sender: No OFD packet to send [06:47:46]OFD Sender: No OFD packet to send [06:47:51]OFD Sender: No OFD packet to send [06:47:56]OFD Sender: No OFD packet to send [06:48:01]OFD Sender: No OFD packet to send [06:48:06]OFD Sender: No OFD packet to send [06:48:11]OFD Sender: No OFD packet to send [06:48:16]OFD Sender: No OFD packet to send [06:48:21]OFD Sender: No OFD packet to send [06:48:26]OFD Sender: No OFD packet to send [06:48:31]OFD Sender: No OFD packet to send [06:48:36]OFD Sender: No OFD packet to send [06:48:41]OFD Sender: No OFD packet to send [06:48:46]OFD Sender: No OFD packet to send [06:48:51]OFD Sender: No OFD packet to send [06:48:56]OFD Sender: No OFD packet to send [06:49:01]OFD Sender: No OFD packet to send [06:49:06]OFD Sender: No OFD packet to send [06:49:11]OFD Sender: No OFD packet to send [06:49:16]OFD Sender: No OFD packet to send [06:49:21]OFD Sender: No OFD packet to send [06:49:26]OFD Sender: No OFD packet to send [06:49:31]OFD Sender: No OFD packet to send [06:49:36]OFD Sender: No OFD packet to send [06:49:41]OFD Sender: No OFD packet to send [06:49:46]OFD Sender: No OFD packet to send [06:49:51]OFD Sender: No OFD packet to send [06:49:56]OFD Sender: No OFD packet to send [06:50:01]OFD Sender: No OFD packet to send [06:50:06]OFD Sender: No OFD packet to send [06:50:11]OFD Sender: No OFD packet to send [06:50:16]OFD Sender: No OFD packet to send [06:50:21]OFD Sender: No OFD packet to send [06:50:26]OFD Sender: No OFD packet to send [06:50:31]OFD Sender: No OFD packet to send [06:50:36]OFD Sender: No OFD packet to send [06:50:41]OFD Sender: No OFD packet to send [06:50:46]OFD Sender: No OFD packet to send [06:50:51]OFD Sender: No OFD packet to send [06:50:56]OFD Sender: No OFD packet to send [06:51:01]OFD Sender: No OFD packet to send [06:51:06]OFD Sender: No OFD packet to send [06:51:11]OFD Sender: No OFD packet to send [06:51:16]OFD Sender: No OFD packet to send [06:51:21]OFD Sender: No OFD packet to send [06:51:26]OFD Sender: No OFD packet to send [06:51:31]OFD Sender: No OFD packet to send [06:51:36]OFD Sender: No OFD packet to send [06:51:41]OFD Sender: No OFD packet to send [06:51:46]OFD Sender: No OFD packet to send [06:51:51]OFD Sender: No OFD packet to send [06:51:56]OFD Sender: No OFD packet to send [06:52:01]OFD Sender: No OFD packet to send [06:52:06]OFD Sender: No OFD packet to send [06:52:11]OFD Sender: No OFD packet to send [06:52:16]OFD Sender: No OFD packet to send [06:52:21]OFD Sender: No OFD packet to send [06:52:26]OFD Sender: No OFD packet to send [06:52:31]OFD Sender: No OFD packet to send [06:52:36]OFD Sender: No OFD packet to send [06:52:41]OFD Sender: No OFD packet to send [06:52:46]OFD Sender: No OFD packet to send [06:52:51]OFD Sender: No OFD packet to send [06:52:56]OFD Sender: No OFD packet to send [06:53:01]OFD Sender: No OFD packet to send [06:53:06]OFD Sender: No OFD packet to send [06:53:11]OFD Sender: No OFD packet to send [06:53:16]OFD Sender: No OFD packet to send [06:53:21]OFD Sender: No OFD packet to send [06:53:26]OFD Sender: No OFD packet to send [06:53:31]OFD Sender: No OFD packet to send [06:53:36]OFD Sender: No OFD packet to send [06:53:41]OFD Sender: No OFD packet to send [06:53:46]OFD Sender: No OFD packet to send [06:53:51]OFD Sender: No OFD packet to send [06:53:56]OFD Sender: No OFD packet to send [06:54:01]OFD Sender: No OFD packet to send [06:54:06]OFD Sender: No OFD packet to send [06:54:11]OFD Sender: No OFD packet to send [06:54:16]OFD Sender: No OFD packet to send [06:54:21]OFD Sender: No OFD packet to send [06:54:26]OFD Sender: No OFD packet to send [06:54:31]OFD Sender: No OFD packet to send [06:54:36]OFD Sender: No OFD packet to send [06:54:41]OFD Sender: No OFD packet to send [06:54:46]OFD Sender: No OFD packet to send [06:54:51]OFD Sender: No OFD packet to send [06:54:56]OFD Sender: No OFD packet to send [06:55:01]OFD Sender: No OFD packet to send [06:55:06]OFD Sender: No OFD packet to send [06:55:11]OFD Sender: No OFD packet to send [06:55:16]OFD Sender: No OFD packet to send [06:55:21]OFD Sender: No OFD packet to send [06:55:26]OFD Sender: No OFD packet to send [06:55:31]OFD Sender: No OFD packet to send [06:55:36]OFD Sender: No OFD packet to send [06:55:41]OFD Sender: No OFD packet to send [06:55:46]OFD Sender: No OFD packet to send [06:55:51]OFD Sender: No OFD packet to send [06:55:56]OFD Sender: No OFD packet to send [06:56:01]OFD Sender: No OFD packet to send [06:56:06]OFD Sender: No OFD packet to send [06:56:11]OFD Sender: No OFD packet to send [06:56:16]OFD Sender: No OFD packet to send [06:56:21]OFD Sender: No OFD packet to send [06:56:26]OFD Sender: No OFD packet to send [06:56:31]OFD Sender: No OFD packet to send [06:56:36]OFD Sender: No OFD packet to send [06:56:41]OFD Sender: No OFD packet to send [06:56:46]OFD Sender: No OFD packet to send [06:56:51]OFD Sender: No OFD packet to send [06:56:56]OFD Sender: No OFD packet to send [06:57:01]OFD Sender: No OFD packet to send [06:57:06]OFD Sender: No OFD packet to send [06:57:11]OFD Sender: No OFD packet to send [06:57:16]OFD Sender: No OFD packet to send [06:57:21]OFD Sender: No OFD packet to send [06:57:26]OFD Sender: No OFD packet to send [06:57:31]OFD Sender: No OFD packet to send [06:57:36]OFD Sender: No OFD packet to send [06:57:41]OFD Sender: No OFD packet to send [06:57:46]OFD Sender: No OFD packet to send [06:57:51]OFD Sender: No OFD packet to send [06:57:56]OFD Sender: No OFD packet to send [06:58:01]OFD Sender: No OFD packet to send [06:58:06]OFD Sender: No OFD packet to send [06:58:11]OFD Sender: No OFD packet to send [06:58:16]OFD Sender: No OFD packet to send [06:58:21]OFD Sender: No OFD packet to send [06:58:26]OFD Sender: No OFD packet to send [06:58:31]OFD Sender: No OFD packet to send [06:58:36]OFD Sender: No OFD packet to send [06:58:41]OFD Sender: No OFD packet to send [06:58:46]OFD Sender: No OFD packet to send [06:58:51]OFD Sender: No OFD packet to send [06:58:56]OFD Sender: No OFD packet to send [06:59:01]OFD Sender: No OFD packet to send [06:59:06]OFD Sender: No OFD packet to send [06:59:11]OFD Sender: No OFD packet to send [06:59:16]OFD Sender: No OFD packet to send [06:59:21]OFD Sender: No OFD packet to send [06:59:26]OFD Sender: No OFD packet to send [06:59:31]OFD Sender: No OFD packet to send [06:59:36]OFD Sender: No OFD packet to send [06:59:41]OFD Sender: No OFD packet to send [06:59:46]OFD Sender: No OFD packet to send [06:59:51]OFD Sender: No OFD packet to send [06:59:56]OFD Sender: No OFD packet to send [07:00:01]OFD Sender: No OFD packet to send [07:00:06]OFD Sender: No OFD packet to send [07:00:11]OFD Sender: No OFD packet to send [07:00:16]OFD Sender: No OFD packet to send [07:00:21]OFD Sender: No OFD packet to send [07:00:26]OFD Sender: No OFD packet to send [07:00:31]OFD Sender: No OFD packet to send [07:00:36]OFD Sender: No OFD packet to send [07:00:41]OFD Sender: No OFD packet to send [07:00:46]OFD Sender: No OFD packet to send [07:00:51]OFD Sender: No OFD packet to send [07:00:56]OFD Sender: No OFD packet to send [07:01:01]OFD Sender: No OFD packet to send [07:01:06]OFD Sender: No OFD packet to send [07:01:11]OFD Sender: No OFD packet to send [07:01:16]OFD Sender: No OFD packet to send [07:01:21]OFD Sender: No OFD packet to send [07:01:26]OFD Sender: No OFD packet to send [07:01:31]OFD Sender: No OFD packet to send [07:01:36]OFD Sender: No OFD packet to send [07:01:41]OFD Sender: No OFD packet to send [07:01:46]OFD Sender: No OFD packet to send [07:01:51]OFD Sender: No OFD packet to send [07:01:56]OFD Sender: No OFD packet to send [07:02:01]OFD Sender: No OFD packet to send [07:02:06]OFD Sender: No OFD packet to send [07:02:11]OFD Sender: No OFD packet to send [07:02: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:42]OFD Sender: No OFD packet to send [07:04:47]OFD Sender: No OFD packet to send [07:04:52]OFD Sender: No OFD packet to send [07:04:57]OFD Sender: No OFD packet to send [07:05:02]OFD Sender: No OFD packet to send [07:05:07]OFD Sender: No OFD packet to send [07:05:12]OFD Sender: No OFD packet to send [07:05:17]OFD Sender: No OFD packet to send [07:05:22]OFD Sender: No OFD packet to send [07:05:27]OFD Sender: No OFD packet to send [07:05:32]OFD Sender: No OFD packet to send [07:05:37]OFD Sender: No OFD packet to send [07:05:42]OFD Sender: No OFD packet to send [07:05:47]OFD Sender: No OFD packet to send [07:05:52]OFD Sender: No OFD packet to send [07:05:57]OFD Sender: No OFD packet to send [07:06:02]OFD Sender: No OFD packet to send [07:06:07]OFD Sender: No OFD packet to send [07:06:12]OFD Sender: No OFD packet to send [07:06:17]OFD Sender: No OFD packet to send [07:06:22]OFD Sender: No OFD packet to send [07:06:27]OFD Sender: No OFD packet to send [07:06:32]OFD Sender: No OFD packet to send [07:06:37]OFD Sender: No OFD packet to send [07:06:42]OFD Sender: No OFD packet to send [07:06:47]OFD Sender: No OFD packet to send [07:06:52]OFD Sender: No OFD packet to send [07:06:57]OFD Sender: No OFD packet to send [07:07:02]OFD Sender: No OFD packet to send [07:07:07]OFD Sender: No OFD packet to send [07:07:12]OFD Sender: No OFD packet to send [07:07:17]OFD Sender: No OFD packet to send [07:07:22]OFD Sender: No OFD packet to send [07:07:27]OFD Sender: No OFD packet to send [07:07:32]OFD Sender: No OFD packet to send [07:07:37]OFD Sender: No OFD packet to send [07:07:42]OFD Sender: No OFD packet to send [07:07:47]OFD Sender: No OFD packet to send [07:07:52]OFD Sender: No OFD packet to send [07:07:57]OFD Sender: No OFD packet to send [07:08:02]OFD Sender: No OFD packet to send [07:08:07]OFD Sender: No OFD packet to send [07:08:12]OFD Sender: No OFD packet to send [07:08:17]OFD Sender: No OFD packet to send [07:08:22]OFD Sender: No OFD packet to send [07:08:27]OFD Sender: No OFD packet to send [07:08:32]OFD Sender: No OFD packet to send [07:08:37]OFD Sender: No OFD packet to send [07:08:42]OFD Sender: No OFD packet to send [07:08:47]OFD Sender: No OFD packet to send [07:08:52]OFD Sender: No OFD packet to send [07:08:57]OFD Sender: No OFD packet to send [07:09:02]OFD Sender: No OFD packet to send [07:09:07]OFD Sender: No OFD packet to send [07:09:12]OFD Sender: No OFD packet to send [07:09:17]OFD Sender: No OFD packet to send [07:09:22]OFD Sender: No OFD packet to send [07:09:27]OFD Sender: No OFD packet to send [07:09:32]OFD Sender: No OFD packet to send [07:09:37]OFD Sender: No OFD packet to send [07:09:42]OFD Sender: No OFD packet to send [07:09:47]OFD Sender: No OFD packet to send [07:09:52]OFD Sender: No OFD packet to send [07:09:57]OFD Sender: No OFD packet to send [07:10:02]OFD Sender: No OFD packet to send [07:10:07]OFD Sender: No OFD packet to send [07:10:12]OFD Sender: No OFD packet to send [07:10:17]OFD Sender: No OFD packet to send [07:10:22]OFD Sender: No OFD packet to send [07:10:27]OFD Sender: No OFD packet to send [07:10:32]OFD Sender: No OFD packet to send [07:10:37]OFD Sender: No OFD packet to send [07:10:42]OFD Sender: No OFD packet to send [07:10:47]OFD Sender: No OFD packet to send [07:10:52]OFD Sender: No OFD packet to send [07:10:57]OFD Sender: No OFD packet to send [07:11:02]OFD Sender: No OFD packet to send [07:11:07]OFD Sender: No OFD packet to send [07:11:12]OFD Sender: No OFD packet to send [07:11:17]OFD Sender: No OFD packet to send [07:11:22]OFD Sender: No OFD packet to send [07:11:27]OFD Sender: No OFD packet to send [07:11:32]OFD Sender: No OFD packet to send [07:11:37]OFD Sender: No OFD packet to send [07:11:42]OFD Sender: No OFD packet to send [07:11:47]OFD Sender: No OFD packet to send [07:11:52]OFD Sender: No OFD packet to send [07:11:57]OFD Sender: No OFD packet to send [07:12:02]OFD Sender: No OFD packet to send [07:12:07]OFD Sender: No OFD packet to send [07:12:12]OFD Sender: No OFD packet to send [07:12:17]OFD Sender: No OFD packet to send [07:12:22]OFD Sender: No OFD packet to send [07:12:27]OFD Sender: No OFD packet to send [07:12:32]OFD Sender: No OFD packet to send [07:12:37]OFD Sender: No OFD packet to send [07:12:42]OFD Sender: No OFD packet to send [07:12:47]OFD Sender: No OFD packet to send [07:12:52]OFD Sender: No OFD packet to send [07:12:57]OFD Sender: No OFD packet to send [07:13:02]OFD Sender: No OFD packet to send [07:13:07]OFD Sender: No OFD packet to send [07:13:12]OFD Sender: No OFD packet to send [07:13:17]OFD Sender: No OFD packet to send [07:13:22]OFD Sender: No OFD packet to send [07:13:27]OFD Sender: No OFD packet to send [07:13:32]OFD Sender: No OFD packet to send [07:13:37]OFD Sender: No OFD packet to send [07:13:42]OFD Sender: No OFD packet to send [07:13:47]OFD Sender: No OFD packet to send [07:13:52]OFD Sender: No OFD packet to send [07:13:57]OFD Sender: No OFD packet to send [07:14:02]OFD Sender: No OFD packet to send [07:14:07]OFD Sender: No OFD packet to send [07:14:12]OFD Sender: No OFD packet to send [07:14:17]OFD Sender: No OFD packet to send [07:14:22]OFD Sender: No OFD packet to send [07:14:27]OFD Sender: No OFD packet to send [07:14:32]OFD Sender: No OFD packet to send [07:14:37]OFD Sender: No OFD packet to send [07:14:42]OFD Sender: No OFD packet to send [07:14:47]OFD Sender: No OFD packet to send [07:14:52]OFD Sender: No OFD packet to send [07:14:57]OFD Sender: No OFD packet to send [07:15:02]OFD Sender: No OFD packet to send [07:15:07]OFD Sender: No OFD packet to send [07:15:12]OFD Sender: No OFD packet to send [07:15:17]OFD Sender: No OFD packet to send [07:15:22]OFD Sender: No OFD packet to send [07:15:27]OFD Sender: No OFD packet to send [07:15:32]OFD Sender: No OFD packet to send [07:15:37]OFD Sender: No OFD packet to send [07:15:42]OFD Sender: No OFD packet to send [07:15:47]OFD Sender: No OFD packet to send [07:15:52]OFD Sender: No OFD packet to send [07:15:57]OFD Sender: No OFD packet to send [07:16:02]OFD Sender: No OFD packet to send [07:16:07]OFD Sender: No OFD packet to send [07:16:12]OFD Sender: No OFD packet to send [07:16:17]OFD Sender: No OFD packet to send [07:16:22]OFD Sender: No OFD packet to send [07:16:27]OFD Sender: No OFD packet to send [07:16:32]OFD Sender: No OFD packet to send [07:16:37]OFD Sender: No OFD packet to send [07:16:42]OFD Sender: No OFD packet to send [07:16:47]OFD Sender: No OFD packet to send [07:16:52]OFD Sender: No OFD packet to send [07:16:57]OFD Sender: No OFD packet to send [07:17:02]OFD Sender: No OFD packet to send [07:17:07]OFD Sender: No OFD packet to send [07:17:12]OFD Sender: No OFD packet to send [07:17:17]OFD Sender: No OFD packet to send [07:17:22]OFD Sender: No OFD packet to send [07:17:27]OFD Sender: No OFD packet to send [07:17:32]OFD Sender: No OFD packet to send [07:17:37]OFD Sender: No OFD packet to send [07:17:42]OFD Sender: No OFD packet to send [07:17:47]OFD Sender: No OFD packet to send [07:17:52]OFD Sender: No OFD packet to send [07:17:57]OFD Sender: No OFD packet to send [07:18:02]OFD Sender: No OFD packet to send [07:18:07]OFD Sender: No OFD packet to send [07:18:12]OFD Sender: No OFD packet to send [07:18:17]OFD Sender: No OFD packet to send [07:18:22]OFD Sender: No OFD packet to send [07:18:27]OFD Sender: No OFD packet to send [07:18:32]OFD Sender: No OFD packet to send [07:18:37]OFD Sender: No OFD packet to send [07:18:42]OFD Sender: No OFD packet to send [07:18:47]OFD Sender: No OFD packet to send [07:18:52]OFD Sender: No OFD packet to send [07:18:57]OFD Sender: No OFD packet to send [07:19:02]OFD Sender: No OFD packet to send [07:19:07]OFD Sender: No OFD packet to send [07:19:12]OFD Sender: No OFD packet to send [07:19:17]OFD Sender: No OFD packet to send [07:19:22]OFD Sender: No OFD packet to send [07:19:27]OFD Sender: No OFD packet to send [07:19:32]OFD Sender: No OFD packet to send [07:19:37]OFD Sender: No OFD packet to send [07:19:42]OFD Sender: No OFD packet to send [07:19:47]OFD Sender: No OFD packet to send [07:19:52]OFD Sender: No OFD packet to send [07:19:57]OFD Sender: No OFD packet to send [07:20:02]OFD Sender: No OFD packet to send [07:20:07]OFD Sender: No OFD packet to send [07:20:12]OFD Sender: No OFD packet to send [07:20:17]OFD Sender: No OFD packet to send [07:20:22]OFD Sender: No OFD packet to send [07:20:27]OFD Sender: No OFD packet to send [07:20:32]OFD Sender: No OFD packet to send [07:20:37]OFD Sender: No OFD packet to send [07:20:42]OFD Sender: No OFD packet to send [07:20:47]OFD Sender: No OFD packet to send [07:20:52]OFD Sender: No OFD packet to send [07:20:57]OFD Sender: No OFD packet to send [07:21:02]OFD Sender: No OFD packet to send [07:21:07]OFD Sender: No OFD packet to send [07:21:12]OFD Sender: No OFD packet to send [07:21:17]OFD Sender: No OFD packet to send [07:21:22]OFD Sender: No OFD packet to send [07:21:27]OFD Sender: No OFD packet to send [07:21:32]OFD Sender: No OFD packet to send [07:21:37]OFD Sender: No OFD packet to send [07:21:42]OFD Sender: No OFD packet to send [07:21:47]OFD Sender: No OFD packet to send [07:21:52]OFD Sender: No OFD packet to send [07:21:57]OFD Sender: No OFD packet to send [07:22:02]OFD Sender: No OFD packet to send [07:22:07]OFD Sender: No OFD packet to send [07:22:12]OFD Sender: No OFD packet to send [07:22:17]OFD Sender: No OFD packet to send [07:22:22]OFD Sender: No OFD packet to send [07:22:27]OFD Sender: No OFD packet to send [07:22:32]OFD Sender: No OFD packet to send [07:22:37]OFD Sender: No OFD packet to send [07:22:42]OFD Sender: No OFD packet to send [07:22:47]OFD Sender: No OFD packet to send [07:22:52]OFD Sender: No OFD packet to send [07:22:57]OFD Sender: No OFD packet to send [07:23:02]OFD Sender: No OFD packet to send [07:23:07]OFD Sender: No OFD packet to send [07:23:12]OFD Sender: No OFD packet to send [07:23:17]OFD Sender: No OFD packet to send [07:23:22]OFD Sender: No OFD packet to send [07:23:27]OFD Sender: No OFD packet to send [07:23:32]OFD Sender: No OFD packet to send [07:23:37]OFD Sender: No OFD packet to send [07:23:42]OFD Sender: No OFD packet to send [07:23:47]OFD Sender: No OFD packet to send [07:23:52]OFD Sender: No OFD packet to send [07:23:57]OFD Sender: No OFD packet to send [07:24:02]OFD Sender: No OFD packet to send [07:24:07]OFD Sender: No OFD packet to send [07:24:12]OFD Sender: No OFD packet to send [07:24:17]OFD Sender: No OFD packet to send [07:24:22]OFD Sender: No OFD packet to send [07:24:28]OFD Sender: No OFD packet to send [07:24:33]OFD Sender: No OFD packet to send [07:24:38]OFD Sender: No OFD packet to send [07:24:43]OFD Sender: No OFD packet to send [07:24:48]OFD Sender: No OFD packet to send [07:24:53]OFD Sender: No OFD packet to send [07:24:58]OFD Sender: No OFD packet to send [07:25:03]OFD Sender: No OFD packet to send [07:25:08]OFD Sender: No OFD packet to send [07:25:13]OFD Sender: No OFD packet to send [07:25:18]OFD Sender: No OFD packet to send [07:25:23]OFD Sender: No OFD packet to send [07:25:28]OFD Sender: No OFD packet to send [07:25:33]OFD Sender: No OFD packet to send [07:25:38]OFD Sender: No OFD packet to send [07:25:43]OFD Sender: No OFD packet to send [07:25:48]OFD Sender: No OFD packet to send [07:25:53]OFD Sender: No OFD packet to send [07:25:58]OFD Sender: No OFD packet to send [07:26:03]OFD Sender: No OFD packet to send [07:26:08]OFD Sender: No OFD packet to send [07:26:13]OFD Sender: No OFD packet to send [07:26:18]OFD Sender: No OFD packet to send [07:26:23]OFD Sender: No OFD packet to send [07:26:28]OFD Sender: No OFD packet to send [07:26:33]OFD Sender: No OFD packet to send [07:26:38]OFD Sender: No OFD packet to send [07:26:43]OFD Sender: No OFD packet to send [07:26:48]OFD Sender: No OFD packet to send [07:26:53]OFD Sender: No OFD packet to send [07:26:58]OFD Sender: No OFD packet to send [07:27:03]OFD Sender: No OFD packet to send [07:27:08]OFD Sender: No OFD packet to send [07:27:13]OFD Sender: No OFD packet to send [07:27:18]OFD Sender: No OFD packet to send [07:27:23]OFD Sender: No OFD packet to send [07:27:28]OFD Sender: No OFD packet to send [07:27:33]OFD Sender: No OFD packet to send [07:27:38]OFD Sender: No OFD packet to send [07:27:43]OFD Sender: No OFD packet to send [07:27:48]OFD Sender: No OFD packet to send [07:27:53]OFD Sender: No OFD packet to send [07:27:58]OFD Sender: No OFD packet to send [07:28:03]OFD Sender: No OFD packet to send [07:28:08]OFD Sender: No OFD packet to send [07:28:13]OFD Sender: No OFD packet to send [07:28:18]OFD Sender: No OFD packet to send [07:28:23]OFD Sender: No OFD packet to send [07:28:28]OFD Sender: No OFD packet to send [07:28:33]OFD Sender: No OFD packet to send [07:28:38]OFD Sender: No OFD packet to send [07:28:43]OFD Sender: No OFD packet to send [07:28:48]OFD Sender: No OFD packet to send [07:28:53]OFD Sender: No OFD packet to send [07:28:58]OFD Sender: No OFD packet to send [07:29:03]OFD Sender: No OFD packet to send [07:29:08]OFD Sender: No OFD packet to send [07:29:13]OFD Sender: No OFD packet to send [07:29:18]OFD Sender: No OFD packet to send [07:29:23]OFD Sender: No OFD packet to send [07:29:28]OFD Sender: No OFD packet to send [07:29:33]OFD Sender: No OFD packet to send [07:29:38]OFD Sender: No OFD packet to send [07:29:43]OFD Sender: No OFD packet to send [07:29:48]OFD Sender: No OFD packet to send [07:29:53]OFD Sender: No OFD packet to send [07:29:58]OFD Sender: No OFD packet to send [07:30:03]OFD Sender: No OFD packet to send [07:30:08]OFD Sender: No OFD packet to send [07:30:13]OFD Sender: No OFD packet to send [07:30:18]OFD Sender: No OFD packet to send [07:30:23]OFD Sender: No OFD packet to send [07:30:28]OFD Sender: No OFD packet to send [07:30:33]OFD Sender: No OFD packet to send [07:30:38]OFD Sender: No OFD packet to send [07:30:43]OFD Sender: No OFD packet to send [07:30:48]OFD Sender: No OFD packet to send [07:30:53]OFD Sender: No OFD packet to send [07:30:58]OFD Sender: No OFD packet to send [07:31:03]OFD Sender: No OFD packet to send [07:31:08]OFD Sender: No OFD packet to send [07:31:13]OFD Sender: No OFD packet to send [07:31:18]OFD Sender: No OFD packet to send [07:31:23]OFD Sender: No OFD packet to send [07:31:28]OFD Sender: No OFD packet to send [07:31:33]OFD Sender: No OFD packet to send [07:31:38]OFD Sender: No OFD packet to send [07:31:43]OFD Sender: No OFD packet to send [07:31:48]OFD Sender: No OFD packet to send [07:31:53]OFD Sender: No OFD packet to send [07:31:58]OFD Sender: No OFD packet to send [07:32:03]OFD Sender: No OFD packet to send [07:32:08]OFD Sender: No OFD packet to send [07:32:13]OFD Sender: No OFD packet to send [07:32:18]OFD Sender: No OFD packet to send [07:32:23]OFD Sender: No OFD packet to send [07:32:28]OFD Sender: No OFD packet to send [07:32:33]OFD Sender: No OFD packet to send [07:32:38]OFD Sender: No OFD packet to send [07:32:43]OFD Sender: No OFD packet to send [07:32:48]OFD Sender: No OFD packet to send [07:32:53]OFD Sender: No OFD packet to send [07:32:58]OFD Sender: No OFD packet to send [07:33:03]OFD Sender: No OFD packet to send [07:33:08]OFD Sender: No OFD packet to send [07:33:13]OFD Sender: No OFD packet to send [07:33:17]accept exits with 7 [07:33:17]New connection [07:33:17]New thread 3066707300 created [07:33:17]Thread 3066850660 joined [07:33:17]Waiting for new connection... [07:33:17] Sock 7.Parse request [07:33:17]Sock 7.Check first char [07:33:17]Sock 7.First char is OK [07:33:17]request: POST /json_proto HTTP/1.0 [07:33:17]Method: POST [07:33:17]URL: /json_proto [07:33:17]Method is POST - this is cgi request [07:33:17]url: /json_proto [07:33:17]query_string will be loaded in cgi processing [07:33:17]execute_cgi json_proto POST (null) [07:33:17]execute_cgi path=json_proto method=POST [07:33:17]POST find Content-Length [07:33:17]Host: 172.17.52.132:8080 [07:33:17]Content-Length: 893 [07:33:17]Content-Type: application/json [07:33:17] [07:33:17]POST finish read [07:33:17]Found Content-Length = 893 [07:33:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99928", "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 }]} ,{ "code": "4607065000868", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043E\u043C 45\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.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" ] } } [07:33:17]execute_script... [07:33:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99928", "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 }]} ,{ "code": "4607065000868", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043E\u043C 45\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.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" ] } } [07:33:17]POST & json_proto [07:33:17]process_json_proto [07:33:17]json parsed OK: [07:33:17]protocol is kg_v1.0 [07:33:17]action value=close_receipt [07:33:17]process_action close_receipt [07:33:17]cmd_close_receipt [07:33:17]MH_GetDate [07:33:17]Write to MH i2c: F0 00 00 FF 40 2E [07:33:17]Write i2c OK [07:33:17]MH_I2C_Read... [07:33:17]Read from MH i2c: F0 [07:33:17]MH_I2C_Read... [07:33:17]Read from MH i2c: F0 09 00 [07:33:17]MH_I2C_Read... [07:33:17]Read from MH i2c: F0 09 00 FF 40 00 C6 60 13 67 5A BE F6 66 4B [07:33:17]GetLastDocTimeStamp 1729313305 [07:33:17]current date 1729323206 [07:33:17]FM_GetShiftState [07:33:17]SAM_PROTO_GetShiftState [07:33:17]wFMCommunicate request_size=4 [07:33:17]MH_SAM_APDU [07:33:17]CAPDU: 80 13 01 00 [07:33:17]Write to MH i2c: E2 08 00 00 41 80 13 01 00 00 00 00 00 BE [07:33:17]Write i2c OK [07:33:17]MH_I2C_Read... [07:33:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:33:17]Read from MH i2c: E2 [07:33:17]MH_I2C_Read... [07:33:17]Read from MH i2c: E2 0E 00 [07:33:17]MH_I2C_Read... [07:33:17]Read from MH i2c: E2 0E 00 00 41 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 67 [07:33:17]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [07:33:17]wFMCommunicate OK [07:33:17]SAM_PROTO_GetShiftState done [07:33:17]FM_GetShiftState done [07:33:17]opened in 1729296173 [07:33:17]opened+sec_in_day 1729382573 [07:33:17]quantity*price = 16000 [07:33:17]sum+1 = 16001 [07:33:17]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065000868 Шок M&M`s с шоколадом 45г 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 230.00 НСП 1% : 2.04 НДС 12% : 24.42 Наличными: 230.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 2 19.10.2024 07:33 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2541 ФПД: 110978401464758 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T073326&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2541&fm=110978401464758&tin=02508201610067®Number=0000000000207295&sum=23000 0 [07:33:18]StoreToDocumentArchive [07:33:18]shift 23 fd 2541 [07:33:18]save to /storage/0023/doc_00002541 [07:33:18]save last doc name /storage/0023/doc_00002541 to /storage/kkm_last_doc_name [07:33:18]save OK [07:33:18]Clear old archive folders... [07:33:18]ProcessDocumentItem done err = 0, tmpTLVsize=385 [07:33:18]tlvbuf is B6EC1AE0 [07:33:18]SAM_PROTO_ClearQueue [07:33:18]wFMCommunicate request_size=4 [07:33:18]MH_SAM_APDU [07:33:18]CAPDU: 80 09 00 00 [07:33:18]Write to MH i2c: E2 08 00 0D 41 80 09 00 00 00 00 00 00 C0 [07:33:18]Write i2c OK [07:33:18]MH_I2C_Read... [07:33:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:33:18]Read from MH i2c: E2 [07:33:18]MH_I2C_Read... [07:33:18]Read from MH i2c: E2 03 00 [07:33:18]MH_I2C_Read... [07:33:18]Read from MH i2c: E2 03 00 0D 41 00 90 00 C2 [07:33:18]RAPDU: 90 00 [07:33:18]wFMCommunicate OK [07:33:18]SAM_PROTO_ClearQueue done [07:33:18]KKMCreateOFDPacket [07:33:18]OFDProtocolAddRootSTLVToBuf [07:33:18]FM_MakeSignedData [07:33:18]FM_MakeSignedData [07:33:18]SAM_PROTO_SignData [07:33:18]wFMCommunicate request_size=4 [07:33:18]MH_SAM_APDU [07:33:18]CAPDU: 80 0D 01 02 [07:33:18]Write to MH i2c: E2 08 00 0E 41 80 0D 01 02 00 00 00 00 C8 [07:33:18]Write i2c OK [07:33:18]MH_I2C_Read... [07:33:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:33:18]Read from MH i2c: E2 [07:33:18]MH_I2C_Read... [07:33:18]Read from MH i2c: E2 03 00 [07:33:18]MH_I2C_Read... [07:33:18]Read from MH i2c: E2 03 00 0E 41 00 90 00 C3 [07:33:18]RAPDU: 90 00 [07:33:18]wFMCommunicate OK [07:33:18]wFMCommunicate request_size=255 [07:33:18]MH_SAM_APDU [07:33:18]CAPDU: 80 0D 02 02 FA 03 00 81 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 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 38 36 38 06 04 27 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 [07:33:18]Write to MH i2c: E2 02 01 0F 41 80 0D 02 02 FA 00 03 00 81 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 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 38 36 38 06 04 27 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 A9 [07:33:18]Write i2c OK [07:33:18]MH_I2C_Read... [07:33:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:33:19]Read from MH i2c: E2 [07:33:19]MH_I2C_Read... [07:33:19]Read from MH i2c: E2 03 00 [07:33:19]MH_I2C_Read... [07:33:19]Read from MH i2c: E2 03 00 0F 41 00 90 00 C4 [07:33:19]RAPDU: 90 00 [07:33:19]wFMCommunicate OK [07:33:19]wFMCommunicate request_size=144 [07:33:19]MH_SAM_APDU [07:33:19]CAPDU: 80 0D 02 02 8B 00 CC 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 02 00 00 00 F4 03 04 00 C6 60 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 ED 09 00 00 35 04 06 00 64 EF 2C 32 71 B6 [07:33:19]Write to MH i2c: E2 93 00 10 41 80 0D 02 02 8B 00 00 CC 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 02 00 00 00 F4 03 04 00 C6 60 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 ED 09 00 00 35 04 06 00 64 EF 2C 32 71 B6 00 00 1A [07:33:19]Write i2c OK [07:33:19]MH_I2C_Read... [07:33:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:33:19]Read from MH i2c: E2 [07:33:19]MH_I2C_Read... [07:33:19]Read from MH i2c: E2 03 00 [07:33:19]MH_I2C_Read... [07:33:19]Read from MH i2c: E2 03 00 10 41 00 90 00 C5 [07:33:19]RAPDU: 90 00 [07:33:19]wFMCommunicate OK [07:33:19]wFMCommunicate request_size=4 [07:33:19]MH_SAM_APDU [07:33:19]CAPDU: 80 0D 03 02 [07:33:19]Write to MH i2c: E2 08 00 11 41 80 0D 03 02 00 00 00 00 CD [07:33:19]Write i2c OK [07:33:19]MH_I2C_Read... [07:33:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:33:19]Read from MH i2c: E2 [07:33:19]MH_I2C_Read... [07:33:19]Read from MH i2c: E2 0B 00 [07:33:19]MH_I2C_Read... [07:33:19]Read from MH i2c: E2 0B 00 11 41 00 E7 66 2D 2D B6 B8 F7 00 90 00 DA [07:33:19]RAPDU: E7 66 2D 2D B6 B8 F7 00 90 00 [07:33:19]wFMCommunicate OK [07:33:19]SAM_PROTO_SignData done [07:33:19]FM_MakeSignedData done [07:33:19]CreateOFDProtocolMessage [07:33:19]wFMCommunicate request_size=4 [07:33:19]MH_SAM_APDU [07:33:19]CAPDU: 80 11 00 00 [07:33:19]Write to MH i2c: E2 08 00 12 41 80 11 00 00 00 00 00 00 CD [07:33:19]Write i2c OK [07:33:19]MH_I2C_Read... [07:33:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:33:19]Read from MH i2c: E2 [07:33:19]MH_I2C_Read... [07:33:19]Read from MH i2c: E2 17 00 [07:33:19]MH_I2C_Read... [07:33:19]Read from MH i2c: E2 17 00 12 41 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 15 [07:33:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [07:33:19]wFMCommunicate OK [07:33:19]CreateOFDProtocolMessage done [07:33:19]OFDSenderStorePacket 2541 [07:33:19]StoreOFDPacket docnum=2541 [07:33:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 95 01 00 00 E9 AF 8D 01 E8 6A 5A 03 01 00 03 00 81 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 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 38 36 38 06 04 27 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CC 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 02 00 00 00 F4 03 04 00 C6 60 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 ED 09 00 00 35 04 06 00 64 EF 2C 32 71 B6 E7 66 2D 2D B6 B8 F7 00 [07:33:19]CheckFolder [07:33:19]dirname=/storage/ofd_packets [07:33:19]CheckFolder done [07:33:19]ProducePacketName [07:33:19]name=ofd_packets/00002541 [07:33:19]NVStorageSaveData ofd_packets/00002541 [07:33:19]File name is /storage/ofd_packets/00002541 [07:33:19]Write 435 bytes [07:33:19]NVStorageSaveData done [07:33:19]OFDSenderStorePacket done [07:33:19]KKMCreateOFDPacket done [07:33:19]NVStorageSaveData kkm_last_timestamp [07:33:19]File name is /storage/kkm_last_timestamp [07:33:19]Write 4 bytes [07:33:19]NVStorageSaveData done [07:33:19]ExternCall_PrintAddStr [07:33:19]wPrintStart [07:33:19]Write to MH i2c: 01 00 00 13 41 54 [07:33:19]Write i2c OK [07:33:19]MH_I2C_Read... [07:33:19]Read from MH i2c: 01 [07:33:19]MH_I2C_Read... [07:33:19]Read from MH i2c: 01 07 00 [07:33:19]MH_I2C_Read... [07:33:19]Read from MH i2c: 01 07 00 13 41 00 00 00 00 00 FF 0F 69 [07:33:19]RasterBufferAndPrint [07:33:19]line Счет N : (3)99928 [07:33:19]line ИНН: 02508201610067 [07:33:19]line Контрольно-Кассовый Чек [07:33:19]line ПРОДАЖА [07:33:19]line Товар: 48741958 [07:33:19]line Сигареты Parliament Aqua Blue [07:33:19]line 1.000 * 160.00 [07:33:19]line = 160.00 [07:33:19]line НДС 12% НСП 1% [07:33:19]line > о реализуемом товаре [07:33:19]line Товар: 4607065000868 [07:33:19]line Шок M&M`s с шоколадом 45г [07:33:19]line 1.000 * 70.00 [07:33:19]line = 70.00 [07:33:19]line НДС 12% НСП 1% [07:33:19]line > о реализуемом товаре [07:33:19]line ИТОГО: 230.00 [07:33:19]line НСП 1% : 2.04 [07:33:19]line НДС 12% : 24.42 [07:33:19]line Наличными: 230.00 [07:33:19]line Безнал.: 0.00 [07:33:19]line Место: АЗС № 162 "Партнер Нефть" [07:33:19]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [07:33:19]line СНО: Общий режим [07:33:19]line Чек 2 19.10.2024 07:33 [07:33:19]line Смена: 23 ФФД: 1.0 [07:33:19]line ЗНМ: 0300000191 [07:33:19]line РНМ: 0000000000207295 [07:33:19]line Версия ККМ: v1.0 [07:33:19]line ФМ: 0000000002342820 [07:33:19]line ФД: 2541 [07:33:19]line ФПД: 110978401464758 [07:33:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T073326&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2541&fm=110978401464758&tin=02508201610067®Number=0000000000207295&sum=23000 [07:33:19]OFD Sender: Processing packet 2541 [packets to send 1, broken 0] [07:33:19]ProducePacketName [07:33:19]name=ofd_packets/00002541 [07:33:19]OFD Sender: To server: pG, [07:33:19]CommunicateWithHost lk.salyk.kg:30040 [07:33:19]ConnectInit lk.salyk.kg [07:33:19]line 0 [07:33:19]written 0, free lines is 4095 [07:33:19]Connected sock=10 [07:33:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 95 01 00 00 E9 AF 8D 01 E8 6A 5A 03 01 00 03 00 81 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 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 38 36 38 06 04 27 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CC 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 02 00 00 00 F4 03 04 00 C6 60 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 ED 09 00 00 35 04 06 00 64 EF 2C 32 71 B6 E7 66 2D 2D B6 B8 F7 00 [07:33:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 24 94 47 00 5E F8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 ED 09 00 00 F4 03 04 00 27 0C 13 67 B6 04 01 00 00 45 27 AC F8 A6 D5 04 92 [07:33:20]CommunicateWithHost err = 0 [07:33:20]CheckOFDResponse [07:33:20]1017 (14) - 77093643461234 [07:33:20]1041 (16) - 0000000002342820 [07:33:20]1040 (4) - 2541 [07:33:20]1012 (4) - 19.10.2024 01:32 [07:33:20]1206 (1) - 0 [07:33:20]OFD Sender: Remove packet 2541 [07:33:20]ProducePacketName [07:33:20]name=ofd_packets/00002541 [07:33:20]NVStorageDeleteData [07:33:20]Write to MH i2c: 01 00 00 42 41 83 [07:33:20]Write i2c OK [07:33:20]MH_I2C_Read... [07:33:20]Read from MH i2c: 01 [07:33:20]MH_I2C_Read... [07:33:20]Read from MH i2c: 01 07 00 [07:33:20]MH_I2C_Read... [07:33:20]Read from MH i2c: 01 07 00 42 41 00 00 00 00 00 2D 0C C3 [07:33:20]RasterBufferAndPrint [07:33:20]line [07:33:20]line [07:33:20]line [07:33:20]line [07:33:20]line [07:33:20]written 0, free lines is 3120 [07:33:20]MH_Cut [07:33:20]Write to MH i2c: D1 01 00 49 41 01 5C [07:33:20]Write i2c OK [07:33:20]MH_I2C_Read... [07:33:20]Read from MH i2c: D1 [07:33:20]MH_I2C_Read... [07:33:20]Read from MH i2c: D1 01 00 [07:33:20]MH_I2C_Read... [07:33:20]Read from MH i2c: D1 01 00 49 41 00 5B [07:33:20]Write to MH i2c: 01 00 00 4A 41 8B [07:33:20]Write i2c OK [07:33:20]MH_I2C_Read... [07:33:20]OFD Sender: No OFD packet to send [07:33:21]*** Cut start [07:33:21]*** Partial cut [07:33:21]*** CUTSNS_PIN = 1 [07:33:21]*** CUTSNS_PIN = 0 [07:33:21]*** Brake cut motor [07:33:21]Read from MH i2c: 01 [07:33:21]MH_I2C_Read... [07:33:21]*** Stop cut motor [07:33:21]*** Cut end [07:33:21]Read from MH i2c: 01 07 00 [07:33:21]MH_I2C_Read... [07:33:21]Read from MH i2c: 01 07 00 4A 41 00 00 00 00 00 FF 0F A0 [07:33:21]process_action close_receipt done [07:33:21]requested_data is exist [07:33:21]produce_requested_data [07:33:21]requested_item fm.sn is exist - process it [07:33:21]wFMCommunicate request_size=4 [07:33:21]MH_SAM_APDU [07:33:21]CAPDU: 80 11 00 00 [07:33:21]Write to MH i2c: E2 08 00 4B 41 80 11 00 00 00 00 00 00 06 [07:33:21]Write i2c OK [07:33:21]MH_I2C_Read... [07:33:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:33:22]Read from MH i2c: E2 [07:33:22]MH_I2C_Read... [07:33:22]Read from MH i2c: E2 17 00 [07:33:22]MH_I2C_Read... [07:33:22]Read from MH i2c: E2 17 00 4B 41 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 4E [07:33:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [07:33:22]wFMCommunicate OK [07:33:22]requested_item fd.num is exist - process it [07:33:22]SAM_PROTO_GetFieldsCounters [07:33:22]wFMCommunicate request_size=4 [07:33:22]MH_SAM_APDU [07:33:22]CAPDU: 80 13 00 00 [07:33:22]Write to MH i2c: E2 08 00 4C 41 80 13 00 00 00 00 00 00 09 [07:33:22]Write i2c OK [07:33:22]MH_I2C_Read... [07:33:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:33:22]Read from MH i2c: E2 [07:33:22]MH_I2C_Read... [07:33:22]Read from MH i2c: E2 62 00 [07:33:22]MH_I2C_Read... [07:33:22]Read from MH i2c: E2 62 00 4C 41 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 ED 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 32 [07:33:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 ED 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:33:22]wFMCommunicate OK [07:33:22]SAM_PROTO_GetFieldsCounters done [07:33:22]requested_item shift.num is exist - process it [07:33:22]requested_item shift.opened is exist - process it [07:33:22]req_shift_opened [07:33:22]FM_GetShiftState [07:33:22]SAM_PROTO_GetShiftState [07:33:22]wFMCommunicate request_size=4 [07:33:22]MH_SAM_APDU [07:33:22]CAPDU: 80 13 01 00 [07:33:22]Write to MH i2c: E2 08 00 4D 41 80 13 01 00 00 00 00 00 0B [07:33:22]Write i2c OK [07:33:22]MH_I2C_Read... [07:33:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:33:22]Read from MH i2c: E2 [07:33:22]MH_I2C_Read... [07:33:22]Read from MH i2c: E2 0E 00 [07:33:22]MH_I2C_Read... [07:33:22]Read from MH i2c: E2 0E 00 4D 41 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 B4 [07:33:22]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [07:33:22]wFMCommunicate OK [07:33:22]SAM_PROTO_GetShiftState done [07:33:22]FM_GetShiftState done [07:33:22]req_shift_opened done [07:33:22]requested_item shift.open_date is exist - process it [07:33:22]req_shift_open_date [07:33:22]req_shift_open_date done [07:33:22]produce_requested_data done [07:33:22]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2541,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [07:33:22]process_action_free close_receipt [07:33:22]json_value_free [07:33:22]json_value_free done [07:33:22]process_json_proto returns [07:33:22]Send response to host [07:33:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2541,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [07:33:22]free response buf [07:33:22]execute_script done [07:33:22]execute_script returns [07:33:22]free content buf [07:33:22]Sock 7.Close socket [07:33:22]Sock 7.Thread stoped [07:33:25]OFD Sender: No OFD packet to send [07:33:30]OFD Sender: No OFD packet to send [07:33:35]OFD Sender: No OFD packet to send [07:33:40]OFD Sender: No OFD packet to send [07:33:45]OFD Sender: No OFD packet to send [07:33:50]OFD Sender: No OFD packet to send [07:33:55]OFD Sender: No OFD packet to send [07:34:00]OFD Sender: No OFD packet to send [07:34:05]OFD Sender: No OFD packet to send [07:34:10]OFD Sender: No OFD packet to send [07:34:15]OFD Sender: No OFD packet to send [07:34:20]OFD Sender: No OFD packet to send [07:34:25]OFD Sender: No OFD packet to send [07:34:30]OFD Sender: No OFD packet to send [07:34:35]OFD Sender: No OFD packet to send [07:34:40]OFD Sender: No OFD packet to send [07:34:45]OFD Sender: No OFD packet to send [07:34:50]OFD Sender: No OFD packet to send [07:34:55]OFD Sender: No OFD packet to send [07:35:00]OFD Sender: No OFD packet to send [07:35:05]OFD Sender: No OFD packet to send [07:35:10]OFD Sender: No OFD packet to send [07:35:15]OFD Sender: No OFD packet to send [07:35:20]OFD Sender: No OFD packet to send [07:35:25]OFD Sender: No OFD packet to send [07:35:30]OFD Sender: No OFD packet to send [07:35:35]OFD Sender: No OFD packet to send [07:35:40]OFD Sender: No OFD packet to send [07:35:45]OFD Sender: No OFD packet to send [07:35:50]OFD Sender: No OFD packet to send [07:35:55]OFD Sender: No OFD packet to send [07:36:00]OFD Sender: No OFD packet to send [07:36:05]OFD Sender: No OFD packet to send [07:36:10]OFD Sender: No OFD packet to send [07:36:15]OFD Sender: No OFD packet to send [07:36:20]OFD Sender: No OFD packet to send [07:36:25]OFD Sender: No OFD packet to send [07:36:30]OFD Sender: No OFD packet to send [07:36:35]OFD Sender: No OFD packet to send [07:36:40]OFD Sender: No OFD packet to send [07:36:45]OFD Sender: No OFD packet to send [07:36:50]OFD Sender: No OFD packet to send [07:36:55]OFD Sender: No OFD packet to send [07:37:00]OFD Sender: No OFD packet to send [07:37:05]OFD Sender: No OFD packet to send [07:37:10]OFD Sender: No OFD packet to send [07:37:15]OFD Sender: No OFD packet to send [07:37:20]OFD Sender: No OFD packet to send [07:37:25]OFD Sender: No OFD packet to send [07:37:30]OFD Sender: No OFD packet to send [07:37:35]OFD Sender: No OFD packet to send [07:37:40]OFD Sender: No OFD packet to send [07:37:45]OFD Sender: No OFD packet to send [07:37:50]OFD Sender: No OFD packet to send [07:37:55]OFD Sender: No OFD packet to send [07:38:00]OFD Sender: No OFD packet to send [07:38:05]OFD Sender: No OFD packet to send [07:38:10]OFD Sender: No OFD packet to send [07:38:15]OFD Sender: No OFD packet to send [07:38:20]OFD Sender: No OFD packet to send [07:38:25]OFD Sender: No OFD packet to send [07:38:30]OFD Sender: No OFD packet to send [07:38:35]OFD Sender: No OFD packet to send [07:38:40]OFD Sender: No OFD packet to send [07:38:45]OFD Sender: No OFD packet to send [07:38:50]OFD Sender: No OFD packet to send [07:38:55]OFD Sender: No OFD packet to send [07:39:00]OFD Sender: No OFD packet to send [07:39:05]OFD Sender: No OFD packet to send [07:39:10]OFD Sender: No OFD packet to send [07:39:15]OFD Sender: No OFD packet to send [07:39:20]OFD Sender: No OFD packet to send [07:39:25]OFD Sender: No OFD packet to send [07:39:30]OFD Sender: No OFD packet to send [07:39:35]OFD Sender: No OFD packet to send [07:39:40]OFD Sender: No OFD packet to send [07:39:45]OFD Sender: No OFD packet to send [07:39:50]OFD Sender: No OFD packet to send [07:39:55]OFD Sender: No OFD packet to send [07:40:00]OFD Sender: No OFD packet to send [07:40:05]OFD Sender: No OFD packet to send [07:40:10]OFD Sender: No OFD packet to send [07:40:15]OFD Sender: No OFD packet to send [07:40:20]OFD Sender: No OFD packet to send [07:40:25]OFD Sender: No OFD packet to send [07:40:30]OFD Sender: No OFD packet to send [07:40:35]OFD Sender: No OFD packet to send [07:40:40]OFD Sender: No OFD packet to send [07:40:45]OFD Sender: No OFD packet to send [07:40:50]OFD Sender: No OFD packet to send [07:40:55]OFD Sender: No OFD packet to send [07:41:00]OFD Sender: No OFD packet to send [07:41:05]OFD Sender: No OFD packet to send [07:41:10]OFD Sender: No OFD packet to send [07:41:15]OFD Sender: No OFD packet to send [07:41:20]OFD Sender: No OFD packet to send [07:41:25]OFD Sender: No OFD packet to send [07:41:30]OFD Sender: No OFD packet to send [07:41:35]OFD Sender: No OFD packet to send [07:41:40]OFD Sender: No OFD packet to send [07:41:45]OFD Sender: No OFD packet to send [07:41:50]OFD Sender: No OFD packet to send [07:41:55]OFD Sender: No OFD packet to send [07:42:00]OFD Sender: No OFD packet to send [07:42:05]OFD Sender: No OFD packet to send [07:42:10]OFD Sender: No OFD packet to send [07:42:15]OFD Sender: No OFD packet to send [07:42:20]OFD Sender: No OFD packet to send [07:42:25]OFD Sender: No OFD packet to send [07:42:30]OFD Sender: No OFD packet to send [07:42:35]OFD Sender: No OFD packet to send [07:42:40]OFD Sender: No OFD packet to send [07:42:45]OFD Sender: No OFD packet to send [07:42:51]OFD Sender: No OFD packet to send [07:42:56]OFD Sender: No OFD packet to send [07:43:01]OFD Sender: No OFD packet to send [07:43:06]OFD Sender: No OFD packet to send [07:43:11]OFD Sender: No OFD packet to send [07:43:16]OFD Sender: No OFD packet to send [07:43:21]OFD Sender: No OFD packet to send [07:43:26]OFD Sender: No OFD packet to send [07:43:31]OFD Sender: No OFD packet to send [07:43:36]OFD Sender: No OFD packet to send [07:43:41]OFD Sender: No OFD packet to send [07:43:46]OFD Sender: No OFD packet to send [07:43:51]OFD Sender: No OFD packet to send [07:43:56]OFD Sender: No OFD packet to send [07:44:01]OFD Sender: No OFD packet to send [07:44:06]OFD Sender: No OFD packet to send [07:44:11]OFD Sender: No OFD packet to send [07:44:16]OFD Sender: No OFD packet to send [07:44:21]OFD Sender: No OFD packet to send [07:44:26]OFD Sender: No OFD packet to send [07:44:31]OFD Sender: No OFD packet to send [07:44:36]OFD Sender: No OFD packet to send [07:44:41]OFD Sender: No OFD packet to send [07:44:46]OFD Sender: No OFD packet to send [07:44:51]OFD Sender: No OFD packet to send [07:44:56]OFD Sender: No OFD packet to send [07:45:01]OFD Sender: No OFD packet to send [07:45:06]OFD Sender: No OFD packet to send [07:45:11]OFD Sender: No OFD packet to send [07:45:16]OFD Sender: No OFD packet to send [07:45:21]OFD Sender: No OFD packet to send [07:45:26]OFD Sender: No OFD packet to send [07:45:31]OFD Sender: No OFD packet to send [07:45:36]OFD Sender: No OFD packet to send [07:45:41]OFD Sender: No OFD packet to send [07:45:46]OFD Sender: No OFD packet to send [07:45:51]OFD Sender: No OFD packet to send [07:45:56]OFD Sender: No OFD packet to send [07:46:01]OFD Sender: No OFD packet to send [07:46:06]OFD Sender: No OFD packet to send [07:46:11]OFD Sender: No OFD packet to send [07:46:16]OFD Sender: No OFD packet to send [07:46:21]OFD Sender: No OFD packet to send [07:46:26]OFD Sender: No OFD packet to send [07:46:31]OFD Sender: No OFD packet to send [07:46:36]OFD Sender: No OFD packet to send [07:46:41]OFD Sender: No OFD packet to send [07:46:46]OFD Sender: No OFD packet to send [07:46:51]OFD Sender: No OFD packet to send [07:46:56]OFD Sender: No OFD packet to send [07:47:01]OFD Sender: No OFD packet to send [07:47:06]OFD Sender: No OFD packet to send [07:47:11]OFD Sender: No OFD packet to send [07:47:16]OFD Sender: No OFD packet to send [07:47:21]OFD Sender: No OFD packet to send [07:47:26]OFD Sender: No OFD packet to send [07:47:31]OFD Sender: No OFD packet to send [07:47:36]OFD Sender: No OFD packet to send [07:47:41]OFD Sender: No OFD packet to send [07:47:46]OFD Sender: No OFD packet to send [07:47:51]OFD Sender: No OFD packet to send [07:47:56]OFD Sender: No OFD packet to send [07:48:01]OFD Sender: No OFD packet to send [07:48:06]OFD Sender: No OFD packet to send [07:48:11]OFD Sender: No OFD packet to send [07:48:16]OFD Sender: No OFD packet to send [07:48:21]OFD Sender: No OFD packet to send [07:48:26]OFD Sender: No OFD packet to send [07:48:31]OFD Sender: No OFD packet to send [07:48:36]OFD Sender: No OFD packet to send [07:48:41]OFD Sender: No OFD packet to send [07:48:46]OFD Sender: No OFD packet to send [07:48:51]OFD Sender: No OFD packet to send [07:48:56]OFD Sender: No OFD packet to send [07:49:01]OFD Sender: No OFD packet to send [07:49:06]OFD Sender: No OFD packet to send [07:49:11]OFD Sender: No OFD packet to send [07:49:16]OFD Sender: No OFD packet to send [07:49:21]OFD Sender: No OFD packet to send [07:49:26]OFD Sender: No OFD packet to send [07:49:31]OFD Sender: No OFD packet to send [07:49:36]OFD Sender: No OFD packet to send [07:49:41]OFD Sender: No OFD packet to send [07:49:46]OFD Sender: No OFD packet to send [07:49:51]OFD Sender: No OFD packet to send [07:49:56]OFD Sender: No OFD packet to send [07:50:01]OFD Sender: No OFD packet to send [07:50:06]OFD Sender: No OFD packet to send [07:50:11]OFD Sender: No OFD packet to send [07:50:16]OFD Sender: No OFD packet to send [07:50:21]OFD Sender: No OFD packet to send [07:50:26]OFD Sender: No OFD packet to send [07:50:31]OFD Sender: No OFD packet to send [07:50:36]OFD Sender: No OFD packet to send [07:50:41]OFD Sender: No OFD packet to send [07:50:46]OFD Sender: No OFD packet to send [07:50:51]OFD Sender: No OFD packet to send [07:50:56]OFD Sender: No OFD packet to send [07:51:01]OFD Sender: No OFD packet to send [07:51:06]OFD Sender: No OFD packet to send [07:51:11]OFD Sender: No OFD packet to send [07:51:16]OFD Sender: No OFD packet to send [07:51:21]OFD Sender: No OFD packet to send [07:51:26]OFD Sender: No OFD packet to send [07:51:31]OFD Sender: No OFD packet to send [07:51:36]OFD Sender: No OFD packet to send [07:51:41]OFD Sender: No OFD packet to send [07:51:46]OFD Sender: No OFD packet to send [07:51:51]OFD Sender: No OFD packet to send [07:51:56]OFD Sender: No OFD packet to send [07:52:01]OFD Sender: No OFD packet to send [07:52:06]OFD Sender: No OFD packet to send [07:52:11]OFD Sender: No OFD packet to send [07:52:16]OFD Sender: No OFD packet to send [07:52:21]OFD Sender: No OFD packet to send [07:52:26]OFD Sender: No OFD packet to send [07:52:31]OFD Sender: No OFD packet to send [07:52:36]OFD Sender: No OFD packet to send [07:52:41]OFD Sender: No OFD packet to send [07:52:46]OFD Sender: No OFD packet to send [07:52:51]OFD Sender: No OFD packet to send [07:52:56]OFD Sender: No OFD packet to send [07:53:01]OFD Sender: No OFD packet to send [07:53:06]OFD Sender: No OFD packet to send [07:53:11]OFD Sender: No OFD packet to send [07:53:16]OFD Sender: No OFD packet to send [07:53:21]OFD Sender: No OFD packet to send [07:53:26]OFD Sender: No OFD packet to send [07:53:31]OFD Sender: No OFD packet to send [07:53:36]OFD Sender: No OFD packet to send [07:53:41]OFD Sender: No OFD packet to send [07:53:46]OFD Sender: No OFD packet to send [07:53:51]OFD Sender: No OFD packet to send [07:53:56]OFD Sender: No OFD packet to send [07:54:01]OFD Sender: No OFD packet to send [07:54:06]OFD Sender: No OFD packet to send [07:54:11]OFD Sender: No OFD packet to send [07:54:16]OFD Sender: No OFD packet to send [07:54:21]OFD Sender: No OFD packet to send [07:54:26]OFD Sender: No OFD packet to send [07:54:31]OFD Sender: No OFD packet to send [07:54:36]OFD Sender: No OFD packet to send [07:54:41]OFD Sender: No OFD packet to send [07:54:46]OFD Sender: No OFD packet to send [07:54:51]OFD Sender: No OFD packet to send [07:54:56]OFD Sender: No OFD packet to send [07:55:01]OFD Sender: No OFD packet to send [07:55:06]OFD Sender: No OFD packet to send [07:55:11]OFD Sender: No OFD packet to send [07:55:16]OFD Sender: No OFD packet to send [07:55:21]OFD Sender: No OFD packet to send [07:55:26]OFD Sender: No OFD packet to send [07:55:31]OFD Sender: No OFD packet to send [07:55:36]OFD Sender: No OFD packet to send [07:55:41]OFD Sender: No OFD packet to send [07:55:46]OFD Sender: No OFD packet to send [07:55:51]OFD Sender: No OFD packet to send [07:55:56]OFD Sender: No OFD packet to send [07:56:01]OFD Sender: No OFD packet to send [07:56:06]OFD Sender: No OFD packet to send [07:56:11]OFD Sender: No OFD packet to send [07:56:16]OFD Sender: No OFD packet to send [07:56:21]OFD Sender: No OFD packet to send [07:56:26]OFD Sender: No OFD packet to send [07:56:31]OFD Sender: No OFD packet to send [07:56:36]OFD Sender: No OFD packet to send [07:56:41]OFD Sender: No OFD packet to send [07:56:46]OFD Sender: No OFD packet to send [07:56:51]OFD Sender: No OFD packet to send [07:56:56]OFD Sender: No OFD packet to send [07:57:01]OFD Sender: No OFD packet to send [07:57:06]OFD Sender: No OFD packet to send [07:57:11]OFD Sender: No OFD packet to send [07:57:16]OFD Sender: No OFD packet to send [07:57:21]OFD Sender: No OFD packet to send [07:57:26]OFD Sender: No OFD packet to send [07:57:31]OFD Sender: No OFD packet to send [07:57:36]OFD Sender: No OFD packet to send [07:57:41]OFD Sender: No OFD packet to send [07:57:46]OFD Sender: No OFD packet to send [07:57:51]OFD Sender: No OFD packet to send [07:57:56]OFD Sender: No OFD packet to send [07:58:01]OFD Sender: No OFD packet to send [07:58:06]OFD Sender: No OFD packet to send [07:58:11]OFD Sender: No OFD packet to send [07:58:16]OFD Sender: No OFD packet to send [07:58:21]OFD Sender: No OFD packet to send [07:58:26]OFD Sender: No OFD packet to send [07:58:31]OFD Sender: No OFD packet to send [07:58:36]OFD Sender: No OFD packet to send [07:58:41]OFD Sender: No OFD packet to send [07:58:43]int [07:58:43]Write to MH i2c: 01 00 00 4E 41 8F [07:58:43]*** FLAG_PRN_KEY set [07:58:43]Write i2c OK [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: 01 [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: 01 07 00 [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: 01 07 00 4E 41 00 08 00 00 00 FF 0F AC [07:58:43]state=0 [07:58:43]Key pressed [07:58:43]Feed [07:58:43]Write to MH i2c: D8 00 00 4F 41 67 [07:58:43]Write i2c OK [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: D8 [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: D8 01 00 [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: D8 01 00 4F 41 00 68 [07:58:43]int [07:58:43]Write to MH i2c: 01 00 00 50 41 91 [07:58:43]Write i2c OK [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: 01 [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: 01 07 00 [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: 01 07 00 50 41 00 48 00 00 00 3C 00 1C [07:58:43]state=2 [07:58:43]Key pressed [07:58:43]int [07:58:43]Write to MH i2c: 01 00 00 51 41 92 [07:58:43]*** FLAG_PRN_KEY reset [07:58:43]Write i2c OK [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: 01 [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: 01 07 00 [07:58:43]MH_I2C_Read... [07:58:43]Read from MH i2c: 01 07 00 51 41 00 00 00 00 00 F6 0F 9E [07:58:43]state=2 [07:58:43]Stop feed [07:58:46]OFD Sender: No OFD packet to send [07:58:51]OFD Sender: No OFD packet to send [07:58:56]OFD Sender: No OFD packet to send [07:59:01]OFD Sender: No OFD packet to send [07:59:06]OFD Sender: No OFD packet to send [07:59:11]OFD Sender: No OFD packet to send [07:59:16]OFD Sender: No OFD packet to send [07:59:21]OFD Sender: No OFD packet to send [07:59:26]OFD Sender: No OFD packet to send [07:59:31]OFD Sender: No OFD packet to send [07:59:36]OFD Sender: No OFD packet to send [07:59:41]OFD Sender: No OFD packet to send [07:59:46]OFD Sender: No OFD packet to send [07:59:51]OFD Sender: No OFD packet to send [07:59:56]OFD Sender: No OFD packet to send [08:00:01]OFD Sender: No OFD packet to send [08:00:06]OFD Sender: No OFD packet to send [08:00:11]OFD Sender: No OFD packet to send [08:00:16]OFD Sender: No OFD packet to send [08:00:21]OFD Sender: No OFD packet to send [08:00:26]OFD Sender: No OFD packet to send [08:00:31]OFD Sender: No OFD packet to send [08:00:36]OFD Sender: No OFD packet to send [08:00:41]OFD Sender: No OFD packet to send [08:00:46]OFD Sender: No OFD packet to send [08:00:51]OFD Sender: No OFD packet to send [08:00:56]OFD Sender: No OFD packet to send [08:01:01]OFD Sender: No OFD packet to send [08:01:06]OFD Sender: No OFD packet to send [08:01:11]OFD Sender: No OFD packet to send [08:01:16]OFD Sender: No OFD packet to send [08:01:21]OFD Sender: No OFD packet to send [08:01:26]OFD Sender: No OFD packet to send [08:01:31]OFD Sender: No OFD packet to send [08:01:36]OFD Sender: No OFD packet to send [08:01:41]OFD Sender: No OFD packet to send [08:01:46]OFD Sender: No OFD packet to send [08:01:51]OFD Sender: No OFD packet to send [08:01:56]OFD Sender: No OFD packet to send [08:02:01]OFD Sender: No OFD packet to send [08:02:06]OFD Sender: No OFD packet to send [08:02:11]OFD Sender: No OFD packet to send [08:02:16]OFD Sender: No OFD packet to send [08:02:21]OFD Sender: No OFD packet to send [08:02:26]OFD Sender: No OFD packet to send [08:02:31]OFD Sender: No OFD packet to send [08:02:36]OFD Sender: No OFD packet to send [08:02:41]OFD Sender: No OFD packet to send [08:02:46]OFD Sender: No OFD packet to send [08:02:51]OFD Sender: No OFD packet to send [08:02:56]OFD Sender: No OFD packet to send [08:03:01]OFD Sender: No OFD packet to send [08:03:06]OFD Sender: No OFD packet to send [08:03:11]OFD Sender: No OFD packet to send [08:03:16]OFD Sender: No OFD packet to send [08:03:21]OFD Sender: No OFD packet to send [08:03:26]OFD Sender: No OFD packet to send [08:03:31]OFD Sender: No OFD packet to send [08:03:36]OFD Sender: No OFD packet to send [08:03:41]OFD Sender: No OFD packet to send [08:03:46]OFD Sender: No OFD packet to send [08:03:51]OFD Sender: No OFD packet to send [08:03:56]OFD Sender: No OFD packet to send [08:04:01]OFD Sender: No OFD packet to send [08:04:06]OFD Sender: No OFD packet to send [08:04:11]OFD Sender: No OFD packet to send [08:04:16]OFD Sender: No OFD packet to send [08:04:21]OFD Sender: No OFD packet to send [08:04:26]OFD Sender: No OFD packet to send [08:04:31]OFD Sender: No OFD packet to send [08:04:36]OFD Sender: No OFD packet to send [08:04:42]OFD Sender: No OFD packet to send [08:04:47]OFD Sender: No OFD packet to send [08:04:52]OFD Sender: No OFD packet to send [08:04:57]OFD Sender: No OFD packet to send [08:05:02]OFD Sender: No OFD packet to send [08:05:07]OFD Sender: No OFD packet to send [08:05:12]OFD Sender: No OFD packet to send [08:05:17]OFD Sender: No OFD packet to send [08:05:22]OFD Sender: No OFD packet to send [08:05:27]OFD Sender: No OFD packet to send [08:05:32]OFD Sender: No OFD packet to send [08:05:37]OFD Sender: No OFD packet to send [08:05:42]OFD Sender: No OFD packet to send [08:05:47]OFD Sender: No OFD packet to send [08:05:52]OFD Sender: No OFD packet to send [08:05:57]OFD Sender: No OFD packet to send [08:06:02]OFD Sender: No OFD packet to send [08:06:07]OFD Sender: No OFD packet to send [08:06:12]OFD Sender: No OFD packet to send [08:06:17]OFD Sender: No OFD packet to send [08:06:22]OFD Sender: No OFD packet to send [08:06:27]OFD Sender: No OFD packet to send [08:06:32]OFD Sender: No OFD packet to send [08:06:37]OFD Sender: No OFD packet to send [08:06:42]OFD Sender: No OFD packet to send [08:06:47]OFD Sender: No OFD packet to send [08:06:52]OFD Sender: No OFD packet to send [08:06:57]OFD Sender: No OFD packet to send [08:07:02]OFD Sender: No OFD packet to send [08:07:07]OFD Sender: No OFD packet to send [08:07:12]OFD Sender: No OFD packet to send [08:07:17]OFD Sender: No OFD packet to send [08:07:22]OFD Sender: No OFD packet to send [08:07:27]OFD Sender: No OFD packet to send [08:07:32]OFD Sender: No OFD packet to send [08:07:37]OFD Sender: No OFD packet to send [08:07:42]OFD Sender: No OFD packet to send [08:07:47]OFD Sender: No OFD packet to send [08:07:52]OFD Sender: No OFD packet to send [08:07:57]OFD Sender: No OFD packet to send [08:08:02]OFD Sender: No OFD packet to send [08:08:07]OFD Sender: No OFD packet to send [08:08:12]OFD Sender: No OFD packet to send [08:08:17]OFD Sender: No OFD packet to send [08:08:22]OFD Sender: No OFD packet to send [08:08:27]OFD Sender: No OFD packet to send [08:08:32]OFD Sender: No OFD packet to send [08:08:37]OFD Sender: No OFD packet to send [08:08:42]OFD Sender: No OFD packet to send [08:08:47]OFD Sender: No OFD packet to send [08:08:52]OFD Sender: No OFD packet to send [08:08:57]OFD Sender: No OFD packet to send [08:09:02]OFD Sender: No OFD packet to send [08:09:07]OFD Sender: No OFD packet to send [08:09:12]OFD Sender: No OFD packet to send [08:09:17]OFD Sender: No OFD packet to send [08:09:22]OFD Sender: No OFD packet to send [08:09:27]OFD Sender: No OFD packet to send [08:09:32]OFD Sender: No OFD packet to send [08:09:37]OFD Sender: No OFD packet to send [08:09:42]OFD Sender: No OFD packet to send [08:09:47]accept exits with 9 [08:09:47]New connection [08:09:47]New thread 3066850660 created [08:09:47]Thread 3066707300 joined [08:09:47]Waiting for new connection... [08:09:47] Sock 9.Parse request [08:09:47]Sock 9.Check first char [08:09:47]Sock 9.First char is OK [08:09:47]request: POST /json_proto HTTP/1.0 [08:09:47]Method: POST [08:09:47]URL: /json_proto [08:09:47]Method is POST - this is cgi request [08:09:47]url: /json_proto [08:09:47]query_string will be loaded in cgi processing [08:09:47]execute_cgi json_proto POST (null) [08:09:47]execute_cgi path=json_proto method=POST [08:09:47]POST find Content-Length [08:09:47]Host: 172.17.52.132:8080 [08:09:47]Content-Length: 637 [08:09:47]Content-Type: application/json [08:09:47] [08:09:47]POST finish read [08:09:47]Found Content-Length = 637 [08:09:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99929", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:09:47]execute_script... [08:09: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)99929", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:09:47]POST & json_proto [08:09:47]process_json_proto [08:09:47]json parsed OK: [08:09:47]protocol is kg_v1.0 [08:09:47]action value=close_receipt [08:09:47]process_action close_receipt [08:09:47]cmd_close_receipt [08:09:47]MH_GetDate [08:09:47]Write to MH i2c: F0 00 00 52 41 82 [08:09:47]Write i2c OK [08:09:47]MH_I2C_Read... [08:09:47]Read from MH i2c: F0 [08:09:47]MH_I2C_Read... [08:09:47]Read from MH i2c: F0 09 00 [08:09:47]MH_I2C_Read... [08:09:47]Read from MH i2c: F0 09 00 52 41 00 53 69 13 67 5A BE F6 66 35 [08:09:47]GetLastDocTimeStamp 1729323206 [08:09:47]current date 1729325395 [08:09:47]FM_GetShiftState [08:09:47]SAM_PROTO_GetShiftState [08:09:47]wFMCommunicate request_size=4 [08:09:47]MH_SAM_APDU [08:09:47]CAPDU: 80 13 01 00 [08:09:47]Write to MH i2c: E2 08 00 53 41 80 13 01 00 00 00 00 00 11 [08:09:47]Write i2c OK [08:09:47]MH_I2C_Read... [08:09:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:09:47]Read from MH i2c: E2 [08:09:47]MH_I2C_Read... [08:09:47]Read from MH i2c: E2 0E 00 [08:09:47]MH_I2C_Read... [08:09:47]OFD Sender: No OFD packet to send [08:09:47]Read from MH i2c: E2 0E 00 53 41 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 BA [08:09:47]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:09:47]wFMCommunicate OK [08:09:47]SAM_PROTO_GetShiftState done [08:09:47]FM_GetShiftState done [08:09:47]opened in 1729296173 [08:09:47]opened+sec_in_day 1729382573 [08:09:47]quantity*price = 7000 [08:09:47]sum+1 = 7001 [08:09:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 3 19.10.2024 08:09 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2542 ФПД: 186764543673700 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T080955&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2542&fm=186764543673700&tin=02508201610067®Number=0000000000207295&sum=7000 0 [08:09:48]StoreToDocumentArchive [08:09:48]shift 23 fd 2542 [08:09:48]save to /storage/0023/doc_00002542 [08:09:48]save last doc name /storage/0023/doc_00002542 to /storage/kkm_last_doc_name [08:09:48]save OK [08:09:48]Clear old archive folders... [08:09:48]ProcessDocumentItem done err = 0, tmpTLVsize=273 [08:09:48]tlvbuf is B6F3FC50 [08:09:48]SAM_PROTO_ClearQueue [08:09:48]wFMCommunicate request_size=4 [08:09:48]MH_SAM_APDU [08:09:48]CAPDU: 80 09 00 00 [08:09:48]Write to MH i2c: E2 08 00 60 41 80 09 00 00 00 00 00 00 13 [08:09:48]Write i2c OK [08:09:48]MH_I2C_Read... [08:09:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:09:48]Read from MH i2c: E2 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: E2 03 00 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: E2 03 00 60 41 00 90 00 15 [08:09:48]RAPDU: 90 00 [08:09:48]wFMCommunicate OK [08:09:48]SAM_PROTO_ClearQueue done [08:09:48]KKMCreateOFDPacket [08:09:48]OFDProtocolAddRootSTLVToBuf [08:09:48]FM_MakeSignedData [08:09:48]FM_MakeSignedData [08:09:48]SAM_PROTO_SignData [08:09:48]wFMCommunicate request_size=4 [08:09:48]MH_SAM_APDU [08:09:48]CAPDU: 80 0D 01 02 [08:09:48]Write to MH i2c: E2 08 00 61 41 80 0D 01 02 00 00 00 00 1B [08:09:48]Write i2c OK [08:09:48]MH_I2C_Read... [08:09:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:09:48]Read from MH i2c: E2 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: E2 03 00 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: E2 03 00 61 41 00 90 00 16 [08:09:48]RAPDU: 90 00 [08:09:48]wFMCommunicate OK [08:09:48]wFMCommunicate request_size=255 [08:09:48]MH_SAM_APDU [08:09:48]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 53 69 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 [08:09:48]Write to MH i2c: E2 02 01 62 41 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 53 69 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 00 00 86 [08:09:48]Write i2c OK [08:09:48]MH_I2C_Read... [08:09:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:09:48]Read from MH i2c: E2 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: E2 03 00 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: E2 03 00 62 41 00 90 00 17 [08:09:48]RAPDU: 90 00 [08:09:48]wFMCommunicate OK [08:09:48]wFMCommunicate request_size=32 [08:09:48]MH_SAM_APDU [08:09:48]CAPDU: 80 0D 02 02 1B 30 30 32 33 34 32 38 32 30 10 04 04 00 EE 09 00 00 35 04 06 00 A9 DC 82 48 45 64 [08:09:48]Write to MH i2c: E2 23 00 63 41 80 0D 02 02 1B 00 30 30 32 33 34 32 38 32 30 10 04 04 00 EE 09 00 00 35 04 06 00 A9 DC 82 48 45 64 00 00 5F [08:09:48]Write i2c OK [08:09:48]MH_I2C_Read... [08:09:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:09:48]Read from MH i2c: E2 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: E2 03 00 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: E2 03 00 63 41 00 90 00 18 [08:09:48]RAPDU: 90 00 [08:09:48]wFMCommunicate OK [08:09:48]wFMCommunicate request_size=4 [08:09:48]MH_SAM_APDU [08:09:48]CAPDU: 80 0D 03 02 [08:09:48]Write to MH i2c: E2 08 00 64 41 80 0D 03 02 00 00 00 00 20 [08:09:48]Write i2c OK [08:09:48]MH_I2C_Read... [08:09:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:09:48]Read from MH i2c: E2 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: E2 0B 00 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: E2 0B 00 64 41 00 BD B9 3E 7B B1 80 04 42 90 00 C7 [08:09:48]RAPDU: BD B9 3E 7B B1 80 04 42 90 00 [08:09:48]wFMCommunicate OK [08:09:48]SAM_PROTO_SignData done [08:09:48]FM_MakeSignedData done [08:09:48]CreateOFDProtocolMessage [08:09:48]wFMCommunicate request_size=4 [08:09:48]MH_SAM_APDU [08:09:48]CAPDU: 80 11 00 00 [08:09:48]Write to MH i2c: E2 08 00 65 41 80 11 00 00 00 00 00 00 20 [08:09:48]Write i2c OK [08:09:48]MH_I2C_Read... [08:09:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:09:48]Read from MH i2c: E2 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: E2 17 00 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: E2 17 00 65 41 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 68 [08:09:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:09:48]wFMCommunicate OK [08:09:48]CreateOFDProtocolMessage done [08:09:48]OFDSenderStorePacket 2542 [08:09:48]StoreOFDPacket docnum=2542 [08:09:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 CA 0A 1D 01 0A EF 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 53 69 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 EE 09 00 00 35 04 06 00 A9 DC 82 48 45 64 BD B9 3E 7B B1 80 04 42 [08:09:48]CheckFolder [08:09:48]dirname=/storage/ofd_packets [08:09:48]CheckFolder done [08:09:48]ProducePacketName [08:09:48]name=ofd_packets/00002542 [08:09:48]NVStorageSaveData ofd_packets/00002542 [08:09:48]File name is /storage/ofd_packets/00002542 [08:09:48]Write 323 bytes [08:09:48]NVStorageSaveData done [08:09:48]OFDSenderStorePacket done [08:09:48]KKMCreateOFDPacket done [08:09:48]NVStorageSaveData kkm_last_timestamp [08:09:48]File name is /storage/kkm_last_timestamp [08:09:48]Write 4 bytes [08:09:48]NVStorageSaveData done [08:09:48]ExternCall_PrintAddStr [08:09:48]wPrintStart [08:09:48]Write to MH i2c: 01 00 00 66 41 A7 [08:09:48]Write i2c OK [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: 01 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: 01 07 00 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: 01 07 00 66 41 00 00 00 00 00 FF 0F BC [08:09:48]RasterBufferAndPrint [08:09:48]line Счет N : (3)99929 [08:09:48]line ИНН: 02508201610067 [08:09:48]line Контрольно-Кассовый Чек [08:09:48]line ПРОДАЖА [08:09:48]line Товар: 4700002082931 [08:09:48]line Водка Хорошая 0,1л [08:09:48]line 1.000 * 70.00 [08:09:48]line = 70.00 [08:09:48]line НДС 12% НСП 1% [08:09:48]line > о реализуемом товаре [08:09:48]line ИТОГО: 70.00 [08:09:48]line НСП 1% : 0.62 [08:09:48]line НДС 12% : 7.43 [08:09:48]line Наличными: 70.00 [08:09:48]line Безнал.: 0.00 [08:09:48]line Место: АЗС № 162 "Партнер Нефть" [08:09:48]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:09:48]line СНО: Общий режим [08:09:48]line Чек 3 19.10.2024 08:09 [08:09:48]line Смена: 23 ФФД: 1.0 [08:09:48]line ЗНМ: 0300000191 [08:09:48]line РНМ: 0000000000207295 [08:09:48]line Версия ККМ: v1.0 [08:09:48]line ФМ: 0000000002342820 [08:09:48]line ФД: 2542 [08:09:48]line ФПД: 186764543673700 [08:09:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T080955&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2542&fm=186764543673700&tin=02508201610067®Number=0000000000207295&sum=7000 [08:09:48]line 0 [08:09:48]written 0, free lines is 4095 [08:09:48]OFD Sender: Processing packet 2542 [packets to send 1, broken 0] [08:09:48]ProducePacketName [08:09:48]name=ofd_packets/00002542 [08:09:48]OFD Sender: To server: pG, [08:09:48]CommunicateWithHost lk.salyk.kg:30040 [08:09:48]ConnectInit lk.salyk.kg [08:09:49]Connected sock=11 [08:09:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 CA 0A 1D 01 0A EF 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 53 69 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 EE 09 00 00 35 04 06 00 A9 DC 82 48 45 64 BD B9 3E 7B B1 80 04 42 [08:09:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 B3 69 47 00 3F 45 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 EE 09 00 00 F4 03 04 00 B4 14 13 67 B6 04 01 00 00 33 BF C6 EC 9D 77 74 7C [08:09:49]CommunicateWithHost err = 0 [08:09:49]CheckOFDResponse [08:09:49]1017 (14) - 77093643461234 [08:09:49]1041 (16) - 0000000002342820 [08:09:49]1040 (4) - 2542 [08:09:49]1012 (4) - 19.10.2024 02:08 [08:09:49]1206 (1) - 0 [08:09:49]OFD Sender: Remove packet 2542 [08:09:49]ProducePacketName [08:09:49]name=ofd_packets/00002542 [08:09:49]NVStorageDeleteData [08:09:49]Write to MH i2c: 01 00 00 8E 41 CF [08:09:49]Write i2c OK [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: 01 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: 01 07 00 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: 01 07 00 8E 41 00 00 00 00 00 BE 0C A0 [08:09:49]RasterBufferAndPrint [08:09:49]line [08:09:49]line [08:09:49]line [08:09:49]line [08:09:49]line [08:09:49]written 0, free lines is 3266 [08:09:49]MH_Cut [08:09:49]Write to MH i2c: D1 01 00 95 41 01 A8 [08:09:49]Write i2c OK [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: D1 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: D1 01 00 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: D1 01 00 95 41 00 A7 [08:09:49]Write to MH i2c: 01 00 00 96 41 D7 [08:09:49]Write i2c OK [08:09:49]MH_I2C_Read... [08:09:49]OFD Sender: No OFD packet to send [08:09:50]*** Cut start [08:09:50]*** Partial cut [08:09:50]*** CUTSNS_PIN = 1 [08:09:50]*** CUTSNS_PIN = 0 [08:09:50]*** Brake cut motor [08:09:50]Read from MH i2c: 01 [08:09:50]MH_I2C_Read... [08:09:50]*** Stop cut motor [08:09:50]*** Cut end [08:09:50]Read from MH i2c: 01 07 00 [08:09:50]MH_I2C_Read... [08:09:50]Read from MH i2c: 01 07 00 96 41 00 00 00 00 00 FF 0F EC [08:09:50]process_action close_receipt done [08:09:50]requested_data is exist [08:09:50]produce_requested_data [08:09:50]requested_item fm.sn is exist - process it [08:09:50]wFMCommunicate request_size=4 [08:09:50]MH_SAM_APDU [08:09:50]CAPDU: 80 11 00 00 [08:09:50]Write to MH i2c: E2 08 00 97 41 80 11 00 00 00 00 00 00 52 [08:09:50]Write i2c OK [08:09:50]MH_I2C_Read... [08:09:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:09:50]Read from MH i2c: E2 [08:09:50]MH_I2C_Read... [08:09:50]Read from MH i2c: E2 17 00 [08:09:50]MH_I2C_Read... [08:09:50]Read from MH i2c: E2 17 00 97 41 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 9A [08:09:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:09:50]wFMCommunicate OK [08:09:50]requested_item fd.num is exist - process it [08:09:50]SAM_PROTO_GetFieldsCounters [08:09:50]wFMCommunicate request_size=4 [08:09:50]MH_SAM_APDU [08:09:50]CAPDU: 80 13 00 00 [08:09:50]Write to MH i2c: E2 08 00 98 41 80 13 00 00 00 00 00 00 55 [08:09:50]Write i2c OK [08:09:50]MH_I2C_Read... [08:09:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:09:51]Read from MH i2c: E2 [08:09:51]MH_I2C_Read... [08:09:51]Read from MH i2c: E2 62 00 [08:09:51]MH_I2C_Read... [08:09:51]Read from MH i2c: E2 62 00 98 41 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 EE 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 82 [08:09:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 EE 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:09:51]wFMCommunicate OK [08:09:51]SAM_PROTO_GetFieldsCounters done [08:09:51]requested_item shift.num is exist - process it [08:09:51]requested_item shift.opened is exist - process it [08:09:51]req_shift_opened [08:09:51]FM_GetShiftState [08:09:51]SAM_PROTO_GetShiftState [08:09:51]wFMCommunicate request_size=4 [08:09:51]MH_SAM_APDU [08:09:51]CAPDU: 80 13 01 00 [08:09:51]Write to MH i2c: E2 08 00 99 41 80 13 01 00 00 00 00 00 57 [08:09:51]Write i2c OK [08:09:51]MH_I2C_Read... [08:09:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:09:51]Read from MH i2c: E2 [08:09:51]MH_I2C_Read... [08:09:51]Read from MH i2c: E2 0E 00 [08:09:51]MH_I2C_Read... [08:09:51]Read from MH i2c: E2 0E 00 99 41 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 00 [08:09:51]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:09:51]wFMCommunicate OK [08:09:51]SAM_PROTO_GetShiftState done [08:09:51]FM_GetShiftState done [08:09:51]req_shift_opened done [08:09:51]requested_item shift.open_date is exist - process it [08:09:51]req_shift_open_date [08:09:51]req_shift_open_date done [08:09:51]produce_requested_data done [08:09:51]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2542,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:09:51]process_action_free close_receipt [08:09:51]json_value_free [08:09:51]json_value_free done [08:09:51]process_json_proto returns [08:09:51]Send response to host [08:09:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2542,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:09:51]free response buf [08:09:51]execute_script done [08:09:51]execute_script returns [08:09:51]free content buf [08:09:51]Sock 9.Close socket [08:09:51]Sock 9.Thread stoped [08:09:54]OFD Sender: No OFD packet to send [08:09:59]OFD Sender: No OFD packet to send [08:10:04]OFD Sender: No OFD packet to send [08:10:09]OFD Sender: No OFD packet to send [08:10:14]OFD Sender: No OFD packet to send [08:10:19]OFD Sender: No OFD packet to send [08:10:24]OFD Sender: No OFD packet to send [08:10:29]OFD Sender: No OFD packet to send [08:10:34]OFD Sender: No OFD packet to send [08:10:39]OFD Sender: No OFD packet to send [08:10:44]OFD Sender: No OFD packet to send [08:10:49]OFD Sender: No OFD packet to send [08:10:54]OFD Sender: No OFD packet to send [08:10:59]OFD Sender: No OFD packet to send [08:11:04]OFD Sender: No OFD packet to send [08:11:09]OFD Sender: No OFD packet to send [08:11:14]accept exits with 7 [08:11:14]New connection [08:11:14]New thread 3066707300 created [08:11:14]Thread 3066850660 joined [08:11:14]Waiting for new connection... [08:11:14] Sock 7.Parse request [08:11:14]Sock 7.Check first char [08:11:14]Sock 7.First char is OK [08:11:14]request: POST /json_proto HTTP/1.0 [08:11:14]Method: POST [08:11:14]URL: /json_proto [08:11:14]Method is POST - this is cgi request [08:11:14]url: /json_proto [08:11:14]query_string will be loaded in cgi processing [08:11:14]execute_cgi json_proto POST (null) [08:11:14]execute_cgi path=json_proto method=POST [08:11:14]POST find Content-Length [08:11:14]Host: 172.17.52.132:8080 [08:11:14]Content-Length: 1219 [08:11:14]Content-Type: application/json [08:11:14] [08:11:14]POST finish read [08:11:14]Found Content-Length = 1219 [08:11:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99930", "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 }]} ,{ "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521247", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043F\u0435\u0440\u0441\u0438\u043A", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 363.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:11:14]execute_script... [08:11:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99930", "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 }]} ,{ "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521247", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043F\u0435\u0440\u0441\u0438\u043A", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 363.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:11:14]POST & json_proto [08:11:14]process_json_proto [08:11:14]json parsed OK: [08:11:14]protocol is kg_v1.0 [08:11:14]action value=close_receipt [08:11:14]process_action close_receipt [08:11:14]cmd_close_receipt [08:11:14]MH_GetDate [08:11:14]Write to MH i2c: F0 00 00 9A 41 CA [08:11:14]Write i2c OK [08:11:14]MH_I2C_Read... [08:11:14]Read from MH i2c: F0 [08:11:14]MH_I2C_Read... [08:11:14]Read from MH i2c: F0 09 00 [08:11:14]MH_I2C_Read... [08:11:14]Read from MH i2c: F0 09 00 9A 41 00 AB 69 13 67 5A BE F6 66 D5 [08:11:14]GetLastDocTimeStamp 1729325395 [08:11:14]current date 1729325483 [08:11:14]FM_GetShiftState [08:11:14]SAM_PROTO_GetShiftState [08:11:14]wFMCommunicate request_size=4 [08:11:14]MH_SAM_APDU [08:11:14]CAPDU: 80 13 01 00 [08:11:14]Write to MH i2c: E2 08 00 9B 41 80 13 01 00 00 00 00 00 59 [08:11:14]Write i2c OK [08:11:14]MH_I2C_Read... [08:11:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:11:14]Read from MH i2c: E2 [08:11:14]MH_I2C_Read... [08:11:14]Read from MH i2c: E2 0E 00 [08:11:14]MH_I2C_Read... [08:11:14]Read from MH i2c: E2 0E 00 9B 41 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 02 [08:11:14]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:11:14]wFMCommunicate OK [08:11:14]SAM_PROTO_GetShiftState done [08:11:14]FM_GetShiftState done [08:11:14]opened in 1729296173 [08:11:14]opened+sec_in_day 1729382573 [08:11:14]quantity*price = 16000 [08:11:14]sum+1 = 16001 [08:11:14]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870022003312 Gorilla эн нап манго-кокос 0,45 ж/б 1.000 * 99.00 = 99.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202521247 Напиток MAXI чай 1,2 черн.персик 1.000 * 104.00 = 104.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 363.00 НСП 1% : 3.22 НДС 12% : 38.54 Наличными: 363.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 4 19.10.2024 08:11 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2543 ФПД: 252512471967821 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T081123&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2543&fm=252512471967821&tin=02508201610067®Number=0000000000207295&sum=36300 0 [08:11:15]StoreToDocumentArchive [08:11:15]shift 23 fd 2543 [08:11:15]save to /storage/0023/doc_00002543 [08:11:15]save last doc name /storage/0023/doc_00002543 to /storage/kkm_last_doc_name [08:11:15]save OK [08:11:15]Clear old archive folders... [08:11:15]ProcessDocumentItem done err = 0, tmpTLVsize=522 [08:11:15]tlvbuf is 013CE200 [08:11:15]SAM_PROTO_ClearQueue [08:11:15]wFMCommunicate request_size=4 [08:11:15]MH_SAM_APDU [08:11:15]CAPDU: 80 09 00 00 [08:11:15]Write to MH i2c: E2 08 00 A8 41 80 09 00 00 00 00 00 00 5B [08:11:15]Write i2c OK [08:11:15]MH_I2C_Read... [08:11:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:11:15]Read from MH i2c: E2 [08:11:15]MH_I2C_Read... [08:11:15]Read from MH i2c: E2 03 00 [08:11:15]MH_I2C_Read... [08:11:15]Read from MH i2c: E2 03 00 A8 41 00 90 00 5D [08:11:15]RAPDU: 90 00 [08:11:15]wFMCommunicate OK [08:11:15]SAM_PROTO_ClearQueue done [08:11:15]KKMCreateOFDPacket [08:11:15]OFDProtocolAddRootSTLVToBuf [08:11:15]FM_MakeSignedData [08:11:15]FM_MakeSignedData [08:11:15]SAM_PROTO_SignData [08:11:15]wFMCommunicate request_size=4 [08:11:15]MH_SAM_APDU [08:11:15]CAPDU: 80 0D 01 02 [08:11:15]Write to MH i2c: E2 08 00 A9 41 80 0D 01 02 00 00 00 00 63 [08:11:15]Write i2c OK [08:11:15]MH_I2C_Read... [08:11:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:11:15]Read from MH i2c: E2 [08:11:15]MH_I2C_Read... [08:11:15]Read from MH i2c: E2 03 00 [08:11:15]MH_I2C_Read... [08:11:15]Read from MH i2c: E2 03 00 A9 41 00 90 00 5E [08:11:15]RAPDU: 90 00 [08:11:15]wFMCommunicate OK [08:11:15]wFMCommunicate request_size=255 [08:11:15]MH_SAM_APDU [08:11:15]CAPDU: 80 0D 02 02 FA 03 00 0A 02 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 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 [08:11:16]Write to MH i2c: E2 02 01 AA 41 80 0D 02 02 FA 00 03 00 0A 02 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 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 00 00 49 [08:11:16]Write i2c OK [08:11:16]MH_I2C_Read... [08:11:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:11:16]Read from MH i2c: E2 [08:11:16]MH_I2C_Read... [08:11:16]Read from MH i2c: E2 03 00 [08:11:16]MH_I2C_Read... [08:11:16]Read from MH i2c: E2 03 00 AA 41 00 90 00 5F [08:11:16]RAPDU: 90 00 [08:11:16]wFMCommunicate OK [08:11:16]wFMCommunicate request_size=255 [08:11:16]MH_SAM_APDU [08:11:16]CAPDU: 80 0D 02 02 FA 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 CC 8D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 0F 00 00 00 00 07 04 06 00 CC 8D 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 AB 69 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 [08:11:16]Write to MH i2c: E2 02 01 AB 41 80 0D 02 02 FA 00 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 CC 8D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 0F 00 00 00 00 07 04 06 00 CC 8D 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 AB 69 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 00 00 90 [08:11:16]Write i2c OK [08:11:16]MH_I2C_Read... [08:11:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:11:16]Read from MH i2c: E2 [08:11:16]MH_I2C_Read... [08:11:16]Read from MH i2c: E2 03 00 [08:11:16]MH_I2C_Read... [08:11:16]Read from MH i2c: E2 03 00 AB 41 00 90 00 60 [08:11:16]RAPDU: 90 00 [08:11:16]wFMCommunicate OK [08:11:16]wFMCommunicate request_size=31 [08:11:16]MH_SAM_APDU [08:11:16]CAPDU: 80 0D 02 02 1A 30 32 33 34 32 38 32 30 10 04 04 00 EF 09 00 00 35 04 06 00 E5 A8 A4 31 68 4D [08:11:16]Write to MH i2c: E2 22 00 AC 41 80 0D 02 02 1A 00 30 32 33 34 32 38 32 30 10 04 04 00 EF 09 00 00 35 04 06 00 E5 A8 A4 31 68 4D 00 00 96 [08:11:16]Write i2c OK [08:11:16]MH_I2C_Read... [08:11:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:11:16]Read from MH i2c: E2 [08:11:16]MH_I2C_Read... [08:11:16]Read from MH i2c: E2 03 00 [08:11:16]MH_I2C_Read... [08:11:16]Read from MH i2c: E2 03 00 AC 41 00 90 00 61 [08:11:16]RAPDU: 90 00 [08:11:16]wFMCommunicate OK [08:11:16]wFMCommunicate request_size=4 [08:11:16]MH_SAM_APDU [08:11:16]CAPDU: 80 0D 03 02 [08:11:16]Write to MH i2c: E2 08 00 AD 41 80 0D 03 02 00 00 00 00 69 [08:11:16]Write i2c OK [08:11:16]MH_I2C_Read... [08:11:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:11:16]Read from MH i2c: E2 [08:11:16]MH_I2C_Read... [08:11:16]Read from MH i2c: E2 0B 00 [08:11:16]MH_I2C_Read... [08:11:16]Read from MH i2c: E2 0B 00 AD 41 00 3C 8A 5E 6E 6D 74 E1 EC 90 00 AA [08:11:16]RAPDU: 3C 8A 5E 6E 6D 74 E1 EC 90 00 [08:11:16]wFMCommunicate OK [08:11:16]SAM_PROTO_SignData done [08:11:16]FM_MakeSignedData done [08:11:16]CreateOFDProtocolMessage [08:11:16]wFMCommunicate request_size=4 [08:11:16]MH_SAM_APDU [08:11:16]CAPDU: 80 11 00 00 [08:11:16]Write to MH i2c: E2 08 00 AE 41 80 11 00 00 00 00 00 00 69 [08:11:16]Write i2c OK [08:11:16]MH_I2C_Read... [08:11:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:11:16]Read from MH i2c: E2 [08:11:16]MH_I2C_Read... [08:11:16]Read from MH i2c: E2 17 00 [08:11:16]MH_I2C_Read... [08:11:16]Read from MH i2c: E2 17 00 AE 41 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B1 [08:11:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:11:16]wFMCommunicate OK [08:11:16]CreateOFDProtocolMessage done [08:11:16]OFDSenderStorePacket 2543 [08:11:16]StoreOFDPacket docnum=2543 [08:11:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 1E 02 00 00 CC 57 16 02 05 A1 5A 03 01 00 03 00 0A 02 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 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 CC 8D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 0F 00 00 00 00 07 04 06 00 CC 8D 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 AB 69 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 EF 09 00 00 35 04 06 00 E5 A8 A4 31 68 4D 3C 8A 5E 6E 6D 74 E1 EC [08:11:16]CheckFolder [08:11:16]dirname=/storage/ofd_packets [08:11:16]CheckFolder done [08:11:16]ProducePacketName [08:11:16]name=ofd_packets/00002543 [08:11:16]NVStorageSaveData ofd_packets/00002543 [08:11:16]File name is /storage/ofd_packets/00002543 [08:11:16]Write 572 bytes [08:11:16]NVStorageSaveData done [08:11:16]OFDSenderStorePacket done [08:11:16]KKMCreateOFDPacket done [08:11:16]NVStorageSaveData kkm_last_timestamp [08:11:16]File name is /storage/kkm_last_timestamp [08:11:16]Write 4 bytes [08:11:16]NVStorageSaveData done [08:11:16]ExternCall_PrintAddStr [08:11:16]wPrintStart [08:11:16]Write to MH i2c: 01 00 00 AF 41 F0 [08:11:16]Write i2c OK [08:11:16]MH_I2C_Read... [08:11:16]Read from MH i2c: 01 [08:11:16]MH_I2C_Read... [08:11:16]Read from MH i2c: 01 07 00 [08:11:16]MH_I2C_Read... [08:11:16]Read from MH i2c: 01 07 00 AF 41 00 00 00 00 00 FF 0F 05 [08:11:16]RasterBufferAndPrint [08:11:16]line Счет N : (3)99930 [08:11:16]line ИНН: 02508201610067 [08:11:16]line Контрольно-Кассовый Чек [08:11:16]line ПРОДАЖА [08:11:16]line Товар: 48741958 [08:11:16]line Сигареты Parliament Aqua Blue [08:11:16]line 1.000 * 160.00 [08:11:16]line = 160.00 [08:11:16]line НДС 12% НСП 1% [08:11:16]line > о реализуемом товаре [08:11:16]line Товар: 4870022003312 [08:11:16]line Gorilla эн нап манго-кокос 0,45 ж/б [08:11:16]line 1.000 * 99.00 [08:11:16]line = 99.00 [08:11:16]line НДС 12% НСП 1% [08:11:16]line > о реализуемом товаре [08:11:16]line Товар: 4870202521247 [08:11:16]line Напиток MAXI чай 1,2 черн.персик [08:11:16]line 1.000 * 104.00 [08:11:16]line = 104.00 [08:11:16]line НДС 12% НСП 1% [08:11:16]line > о реализуемом товаре [08:11:16]line ИТОГО: 363.00 [08:11:16]line НСП 1% : 3.22 [08:11:16]line НДС 12% : 38.54 [08:11:16]line Наличными: 363.00 [08:11:16]line Безнал.: 0.00 [08:11:16]line Место: АЗС № 162 "Партнер Нефть" [08:11:16]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:11:16]line СНО: Общий режим [08:11:16]line Чек 4 19.10.2024 08:11 [08:11:16]line Смена: 23 ФФД: 1.0 [08:11:16]line ЗНМ: 0300000191 [08:11:16]line РНМ: 0000000000207295 [08:11:16]line Версия ККМ: v1.0 [08:11:16]line ФМ: 0000000002342820 [08:11:16]line ФД: 2543 [08:11:16]line ФПД: 252512471967821 [08:11:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T081123&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2543&fm=252512471967821&tin=02508201610067®Number=0000000000207295&sum=36300 [08:11:17]line 0 [08:11:17]OFD Sender: Processing packet 2543 [packets to send 1, broken 0] [08:11:17]ProducePacketName [08:11:17]name=ofd_packets/00002543 [08:11:17]OFD Sender: To server: pG, [08:11:17]CommunicateWithHost lk.salyk.kg:30040 [08:11:17]written 0, free lines is 4095 [08:11:17]ConnectInit lk.salyk.kg [08:11:17]Connected sock=10 [08:11:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 1E 02 00 00 CC 57 16 02 05 A1 5A 03 01 00 03 00 0A 02 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 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 CC 8D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 0F 00 00 00 00 07 04 06 00 CC 8D 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 AB 69 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 EF 09 00 00 35 04 06 00 E5 A8 A4 31 68 4D 3C 8A 5E 6E 6D 74 E1 EC [08:11:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 A2 66 47 00 21 B9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 EF 09 00 00 F4 03 04 00 0D 15 13 67 B6 04 01 00 00 49 EB 2F 80 0B F1 08 A2 [08:11:17]CommunicateWithHost err = 0 [08:11:17]CheckOFDResponse [08:11:17]1017 (14) - 77093643461234 [08:11:17]1041 (16) - 0000000002342820 [08:11:17]1040 (4) - 2543 [08:11:17]1012 (4) - 19.10.2024 02:10 [08:11:17]1206 (1) - 0 [08:11:17]OFD Sender: Remove packet 2543 [08:11:17]ProducePacketName [08:11:17]name=ofd_packets/00002543 [08:11:17]NVStorageDeleteData [08:11:17]Write to MH i2c: 01 00 00 E6 41 27 [08:11:17]Write i2c OK [08:11:17]MH_I2C_Read... [08:11:17]Read from MH i2c: 01 [08:11:17]MH_I2C_Read... [08:11:17]Read from MH i2c: 01 07 00 [08:11:17]MH_I2C_Read... [08:11:17]Read from MH i2c: 01 07 00 E6 41 00 00 00 00 00 B0 0B E9 [08:11:17]RasterBufferAndPrint [08:11:17]line [08:11:17]line [08:11:17]line [08:11:17]line [08:11:17]line [08:11:17]written 0, free lines is 2999 [08:11:17]MH_Cut [08:11:17]Write to MH i2c: D1 01 00 ED 41 01 00 [08:11:17]Write i2c OK [08:11:17]MH_I2C_Read... [08:11:17]Read from MH i2c: D1 [08:11:17]MH_I2C_Read... [08:11:17]Read from MH i2c: D1 01 00 [08:11:17]MH_I2C_Read... [08:11:17]Read from MH i2c: D1 01 00 ED 41 00 FF [08:11:17]Write to MH i2c: 01 00 00 EE 41 2F [08:11:17]Write i2c OK [08:11:17]MH_I2C_Read... [08:11:18]OFD Sender: No OFD packet to send [08:11:18]*** Cut start [08:11:18]*** Partial cut [08:11:18]*** CUTSNS_PIN = 1 [08:11:18]*** CUTSNS_PIN = 0 [08:11:19]*** Brake cut motor [08:11:19]Read from MH i2c: 01 [08:11:19]MH_I2C_Read... [08:11:19]*** Stop cut motor [08:11:19]*** Cut end [08:11:19]Read from MH i2c: 01 07 00 [08:11:19]MH_I2C_Read... [08:11:19]Read from MH i2c: 01 07 00 EE 41 00 00 00 00 00 FF 0F 44 [08:11:19]process_action close_receipt done [08:11:19]requested_data is exist [08:11:19]produce_requested_data [08:11:19]requested_item fm.sn is exist - process it [08:11:19]wFMCommunicate request_size=4 [08:11:19]MH_SAM_APDU [08:11:19]CAPDU: 80 11 00 00 [08:11:19]Write to MH i2c: E2 08 00 EF 41 80 11 00 00 00 00 00 00 AA [08:11:19]Write i2c OK [08:11:19]MH_I2C_Read... [08:11:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:11:19]Read from MH i2c: E2 [08:11:19]MH_I2C_Read... [08:11:19]Read from MH i2c: E2 17 00 [08:11:19]MH_I2C_Read... [08:11:19]Read from MH i2c: E2 17 00 EF 41 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 F2 [08:11:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:11:19]wFMCommunicate OK [08:11:19]requested_item fd.num is exist - process it [08:11:19]SAM_PROTO_GetFieldsCounters [08:11:19]wFMCommunicate request_size=4 [08:11:19]MH_SAM_APDU [08:11:19]CAPDU: 80 13 00 00 [08:11:19]Write to MH i2c: E2 08 00 F0 41 80 13 00 00 00 00 00 00 AD [08:11:19]Write i2c OK [08:11:19]MH_I2C_Read... [08:11:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:11:19]Read from MH i2c: E2 [08:11:19]MH_I2C_Read... [08:11:19]Read from MH i2c: E2 62 00 [08:11:19]MH_I2C_Read... [08:11:19]Read from MH i2c: E2 62 00 F0 41 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 EF 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 DE [08:11:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 EF 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:11:19]wFMCommunicate OK [08:11:19]SAM_PROTO_GetFieldsCounters done [08:11:19]requested_item shift.num is exist - process it [08:11:19]requested_item shift.opened is exist - process it [08:11:19]req_shift_opened [08:11:19]FM_GetShiftState [08:11:19]SAM_PROTO_GetShiftState [08:11:19]wFMCommunicate request_size=4 [08:11:19]MH_SAM_APDU [08:11:19]CAPDU: 80 13 01 00 [08:11:19]Write to MH i2c: E2 08 00 F1 41 80 13 01 00 00 00 00 00 AF [08:11:19]Write i2c OK [08:11:19]MH_I2C_Read... [08:11:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:11:19]Read from MH i2c: E2 [08:11:19]MH_I2C_Read... [08:11:19]Read from MH i2c: E2 0E 00 [08:11:19]MH_I2C_Read... [08:11:19]Read from MH i2c: E2 0E 00 F1 41 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 58 [08:11:19]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:11:19]wFMCommunicate OK [08:11:19]SAM_PROTO_GetShiftState done [08:11:19]FM_GetShiftState done [08:11:19]req_shift_opened done [08:11:19]requested_item shift.open_date is exist - process it [08:11:19]req_shift_open_date [08:11:19]req_shift_open_date done [08:11:19]produce_requested_data done [08:11:19]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2543,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:11:19]process_action_free close_receipt [08:11:19]json_value_free [08:11:19]json_value_free done [08:11:19]process_json_proto returns [08:11:19]Send response to host [08:11:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2543,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:11:19]free response buf [08:11:19]execute_script done [08:11:19]execute_script returns [08:11:19]free content buf [08:11:19]Sock 7.Close socket [08:11:19]Sock 7.Thread stoped [08:11:23]OFD Sender: No OFD packet to send [08:11:28]OFD Sender: No OFD packet to send [08:11:33]OFD Sender: No OFD packet to send [08:11:38]OFD Sender: No OFD packet to send [08:11:43]OFD Sender: No OFD packet to send [08:11:48]OFD Sender: No OFD packet to send [08:11:53]OFD Sender: No OFD packet to send [08:11:58]OFD Sender: No OFD packet to send [08:12:03]OFD Sender: No OFD packet to send [08:12:08]OFD Sender: No OFD packet to send [08:12:13]OFD Sender: No OFD packet to send [08:12:18]OFD Sender: No OFD packet to send [08:12:23]OFD Sender: No OFD packet to send [08:12:28]OFD Sender: No OFD packet to send [08:12:33]OFD Sender: No OFD packet to send [08:12:38]OFD Sender: No OFD packet to send [08:12:43]OFD Sender: No OFD packet to send [08:12:48]OFD Sender: No OFD packet to send [08:12:48]accept exits with 9 [08:12:48]New connection [08:12:48]New thread 3066850660 created [08:12:48]Thread 3066707300 joined [08:12:48]Waiting for new connection... [08:12:48] Sock 9.Parse request [08:12:48]Sock 9.Check first char [08:12:48]Sock 9.First char is OK [08:12:48]request: POST /json_proto HTTP/1.0 [08:12:48]Method: POST [08:12:48]URL: /json_proto [08:12:48]Method is POST - this is cgi request [08:12:48]url: /json_proto [08:12:48]query_string will be loaded in cgi processing [08:12:48]execute_cgi json_proto POST (null) [08:12:48]execute_cgi path=json_proto method=POST [08:12:48]POST find Content-Length [08:12:48]Host: 172.17.52.132:8080 [08:12:48]Content-Length: 619 [08:12:48]Content-Type: application/json [08:12:48] [08:12:48]POST finish read [08:12:48]Found Content-Length = 619 [08:12:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99931", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:12:48]execute_script... [08:12:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99931", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:12:48]POST & json_proto [08:12:48]process_json_proto [08:12:48]json parsed OK: [08:12:48]protocol is kg_v1.0 [08:12:48]action value=close_receipt [08:12:48]process_action close_receipt [08:12:48]cmd_close_receipt [08:12:48]MH_GetDate [08:12:48]Write to MH i2c: F0 00 00 F2 41 22 [08:12:48]Write i2c OK [08:12:48]MH_I2C_Read... [08:12:48]Read from MH i2c: F0 [08:12:48]MH_I2C_Read... [08:12:48]Read from MH i2c: F0 09 00 [08:12:48]MH_I2C_Read... [08:12:48]Read from MH i2c: F0 09 00 F2 41 00 08 6A 13 67 5A BE F6 66 8B [08:12:48]GetLastDocTimeStamp 1729325483 [08:12:48]current date 1729325576 [08:12:48]FM_GetShiftState [08:12:48]SAM_PROTO_GetShiftState [08:12:48]wFMCommunicate request_size=4 [08:12:48]MH_SAM_APDU [08:12:48]CAPDU: 80 13 01 00 [08:12:48]Write to MH i2c: E2 08 00 F3 41 80 13 01 00 00 00 00 00 B1 [08:12:48]Write i2c OK [08:12:48]MH_I2C_Read... [08:12:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:12:48]Read from MH i2c: E2 [08:12:48]MH_I2C_Read... [08:12:48]Read from MH i2c: E2 0E 00 [08:12:48]MH_I2C_Read... [08:12:48]Read from MH i2c: E2 0E 00 F3 41 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 5A [08:12:48]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:12:48]wFMCommunicate OK [08:12:48]SAM_PROTO_GetShiftState done [08:12:48]FM_GetShiftState done [08:12:48]opened in 1729296173 [08:12:48]opened+sec_in_day 1729382573 [08:12:48]quantity*price = 15000 [08:12:48]sum+1 = 15001 [08:12:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 5 19.10.2024 08:12 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2544 ФПД: 224569901914028 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T081256&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2544&fm=224569901914028&tin=02508201610067®Number=0000000000207295&sum=15000 0 [08:12:49]StoreToDocumentArchive [08:12:49]shift 23 fd 2544 [08:12:49]save to /storage/0023/doc_00002544 [08:12:49]save last doc name /storage/0023/doc_00002544 to /storage/kkm_last_doc_name [08:12:49]save OK [08:12:49]Clear old archive folders... [08:12:49]ProcessDocumentItem done err = 0, tmpTLVsize=272 [08:12:49]tlvbuf is 013B1D30 [08:12:49]SAM_PROTO_ClearQueue [08:12:49]wFMCommunicate request_size=4 [08:12:49]MH_SAM_APDU [08:12:49]CAPDU: 80 09 00 00 [08:12:49]Write to MH i2c: E2 08 00 00 42 80 09 00 00 00 00 00 00 B4 [08:12:49]Write i2c OK [08:12:49]MH_I2C_Read... [08:12:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:12:49]Read from MH i2c: E2 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 03 00 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 03 00 00 42 00 90 00 B6 [08:12:49]RAPDU: 90 00 [08:12:49]wFMCommunicate OK [08:12:49]SAM_PROTO_ClearQueue done [08:12:49]KKMCreateOFDPacket [08:12:49]OFDProtocolAddRootSTLVToBuf [08:12:49]FM_MakeSignedData [08:12:49]FM_MakeSignedData [08:12:49]SAM_PROTO_SignData [08:12:49]wFMCommunicate request_size=4 [08:12:49]MH_SAM_APDU [08:12:49]CAPDU: 80 0D 01 02 [08:12:49]Write to MH i2c: E2 08 00 01 42 80 0D 01 02 00 00 00 00 BC [08:12:49]Write i2c OK [08:12:49]MH_I2C_Read... [08:12:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:12:49]Read from MH i2c: E2 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 03 00 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 03 00 01 42 00 90 00 B7 [08:12:49]RAPDU: 90 00 [08:12:49]wFMCommunicate OK [08:12:49]wFMCommunicate request_size=255 [08:12:49]MH_SAM_APDU [08:12:49]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 08 6A 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 [08:12:49]Write to MH i2c: E2 02 01 02 42 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 08 6A 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 00 00 4C [08:12:49]Write i2c OK [08:12:49]MH_I2C_Read... [08:12:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:12:49]Read from MH i2c: E2 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 03 00 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 03 00 02 42 00 90 00 B8 [08:12:49]RAPDU: 90 00 [08:12:49]wFMCommunicate OK [08:12:49]wFMCommunicate request_size=31 [08:12:49]MH_SAM_APDU [08:12:49]CAPDU: 80 0D 02 02 1A 30 32 33 34 32 38 32 30 10 04 04 00 F0 09 00 00 35 04 06 00 CC 3E C1 3B 17 AC [08:12:49]Write to MH i2c: E2 22 00 03 42 80 0D 02 02 1A 00 30 32 33 34 32 38 32 30 10 04 04 00 F0 09 00 00 35 04 06 00 CC 3E C1 3B 17 AC 00 00 A1 [08:12:49]Write i2c OK [08:12:49]MH_I2C_Read... [08:12:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:12:49]Read from MH i2c: E2 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 03 00 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 03 00 03 42 00 90 00 B9 [08:12:49]RAPDU: 90 00 [08:12:49]wFMCommunicate OK [08:12:49]wFMCommunicate request_size=4 [08:12:49]MH_SAM_APDU [08:12:49]CAPDU: 80 0D 03 02 [08:12:49]Write to MH i2c: E2 08 00 04 42 80 0D 03 02 00 00 00 00 C1 [08:12:49]Write i2c OK [08:12:49]MH_I2C_Read... [08:12:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:12:49]Read from MH i2c: E2 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 0B 00 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 0B 00 04 42 00 F9 A8 DC 8F A0 58 3B 45 90 00 46 [08:12:49]RAPDU: F9 A8 DC 8F A0 58 3B 45 90 00 [08:12:49]wFMCommunicate OK [08:12:49]SAM_PROTO_SignData done [08:12:49]FM_MakeSignedData done [08:12:49]CreateOFDProtocolMessage [08:12:49]wFMCommunicate request_size=4 [08:12:49]MH_SAM_APDU [08:12:49]CAPDU: 80 11 00 00 [08:12:49]Write to MH i2c: E2 08 00 05 42 80 11 00 00 00 00 00 00 C1 [08:12:49]Write i2c OK [08:12:49]MH_I2C_Read... [08:12:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:12:49]Read from MH i2c: E2 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 17 00 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: E2 17 00 05 42 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 09 [08:12:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:12:49]wFMCommunicate OK [08:12:49]CreateOFDProtocolMessage done [08:12:49]OFDSenderStorePacket 2544 [08:12:49]StoreOFDPacket docnum=2544 [08:12:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 24 01 00 00 27 16 1C 01 7E E1 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 08 6A 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F0 09 00 00 35 04 06 00 CC 3E C1 3B 17 AC F9 A8 DC 8F A0 58 3B 45 [08:12:49]CheckFolder [08:12:49]dirname=/storage/ofd_packets [08:12:49]CheckFolder done [08:12:49]ProducePacketName [08:12:49]name=ofd_packets/00002544 [08:12:49]NVStorageSaveData ofd_packets/00002544 [08:12:49]File name is /storage/ofd_packets/00002544 [08:12:49]Write 322 bytes [08:12:49]NVStorageSaveData done [08:12:49]OFDSenderStorePacket done [08:12:49]KKMCreateOFDPacket done [08:12:49]NVStorageSaveData kkm_last_timestamp [08:12:49]File name is /storage/kkm_last_timestamp [08:12:49]Write 4 bytes [08:12:49]NVStorageSaveData done [08:12:49]ExternCall_PrintAddStr [08:12:49]wPrintStart [08:12:49]Write to MH i2c: 01 00 00 06 42 48 [08:12:49]Write i2c OK [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: 01 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: 01 07 00 [08:12:49]MH_I2C_Read... [08:12:49]Read from MH i2c: 01 07 00 06 42 00 00 00 00 00 FF 0F 5D [08:12:49]RasterBufferAndPrint [08:12:49]line Счет N : (3)99931 [08:12:49]line ИНН: 02508201610067 [08:12:49]line Контрольно-Кассовый Чек [08:12:49]line ПРОДАЖА [08:12:49]line Товар: 4640030091607 [08:12:49]line Сигареты ESSE Exchange [08:12:49]line 1.000 * 150.00 [08:12:49]line = 150.00 [08:12:49]line НДС 12% НСП 1% [08:12:49]line > о реализуемом товаре [08:12:49]line ИТОГО: 150.00 [08:12:49]line НСП 1% : 1.33 [08:12:49]line НДС 12% : 15.93 [08:12:49]line Наличными: 150.00 [08:12:49]line Безнал.: 0.00 [08:12:49]line Место: АЗС № 162 "Партнер Нефть" [08:12:49]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:12:49]line СНО: Общий режим [08:12:49]line Чек 5 19.10.2024 08:12 [08:12:49]line Смена: 23 ФФД: 1.0 [08:12:49]line ЗНМ: 0300000191 [08:12:50]line РНМ: 0000000000207295 [08:12:50]line Версия ККМ: v1.0 [08:12:50]line ФМ: 0000000002342820 [08:12:50]line ФД: 2544 [08:12:50]line ФПД: 224569901914028 [08:12:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T081256&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2544&fm=224569901914028&tin=02508201610067®Number=0000000000207295&sum=15000 [08:12:50]line 0 [08:12:50]OFD Sender: Processing packet 2544 [packets to send 1, broken 0] [08:12:50]ProducePacketName [08:12:50]name=ofd_packets/00002544 [08:12:50]OFD Sender: To server: pG, [08:12:50]CommunicateWithHost lk.salyk.kg:30040 [08:12:50]ConnectInit lk.salyk.kg [08:12:50]written 0, free lines is 4095 [08:12:50]Connected sock=10 [08:12:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 24 01 00 00 27 16 1C 01 7E E1 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 08 6A 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F0 09 00 00 35 04 06 00 CC 3E C1 3B 17 AC F9 A8 DC 8F A0 58 3B 45 [08:12:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 8D 6B 47 00 F5 BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F0 09 00 00 F4 03 04 00 6A 15 13 67 B6 04 01 00 00 92 0D 06 C5 72 16 BB 1A [08:12:50]CommunicateWithHost err = 0 [08:12:50]CheckOFDResponse [08:12:50]1017 (14) - 77093643461234 [08:12:50]1041 (16) - 0000000002342820 [08:12:50]1040 (4) - 2544 [08:12:50]1012 (4) - 19.10.2024 02:11 [08:12:50]1206 (1) - 0 [08:12:50]OFD Sender: Remove packet 2544 [08:12:50]ProducePacketName [08:12:50]name=ofd_packets/00002544 [08:12:50]NVStorageDeleteData [08:12:50]Write to MH i2c: 01 00 00 2E 42 70 [08:12:50]Write i2c OK [08:12:50]MH_I2C_Read... [08:12:50]Read from MH i2c: 01 [08:12:50]MH_I2C_Read... [08:12:50]Read from MH i2c: 01 07 00 [08:12:50]MH_I2C_Read... [08:12:50]Read from MH i2c: 01 07 00 2E 42 00 00 00 00 00 BE 0C 41 [08:12:50]RasterBufferAndPrint [08:12:50]line [08:12:50]line [08:12:50]line [08:12:50]line [08:12:50]line [08:12:50]written 0, free lines is 3266 [08:12:50]MH_Cut [08:12:50]Write to MH i2c: D1 01 00 35 42 01 49 [08:12:50]Write i2c OK [08:12:50]MH_I2C_Read... [08:12:50]Read from MH i2c: D1 [08:12:50]MH_I2C_Read... [08:12:50]Read from MH i2c: D1 01 00 [08:12:50]MH_I2C_Read... [08:12:50]Read from MH i2c: D1 01 00 35 42 00 48 [08:12:50]Write to MH i2c: 01 00 00 36 42 78 [08:12:50]Write i2c OK [08:12:50]MH_I2C_Read... [08:12:51]OFD Sender: No OFD packet to send [08:12:51]*** Cut start [08:12:51]*** Partial cut [08:12:51]*** CUTSNS_PIN = 1 [08:12:51]*** CUTSNS_PIN = 0 [08:12:51]*** Brake cut motor [08:12:52]Read from MH i2c: 01 [08:12:52]MH_I2C_Read... [08:12:52]*** Stop cut motor [08:12:52]*** Cut end [08:12:52]Read from MH i2c: 01 07 00 [08:12:52]MH_I2C_Read... [08:12:52]Read from MH i2c: 01 07 00 36 42 00 00 00 00 00 FF 0F 8D [08:12:52]process_action close_receipt done [08:12:52]requested_data is exist [08:12:52]produce_requested_data [08:12:52]requested_item fm.sn is exist - process it [08:12:52]wFMCommunicate request_size=4 [08:12:52]MH_SAM_APDU [08:12:52]CAPDU: 80 11 00 00 [08:12:52]Write to MH i2c: E2 08 00 37 42 80 11 00 00 00 00 00 00 F3 [08:12:52]Write i2c OK [08:12:52]MH_I2C_Read... [08:12:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:12:52]Read from MH i2c: E2 [08:12:52]MH_I2C_Read... [08:12:52]Read from MH i2c: E2 17 00 [08:12:52]MH_I2C_Read... [08:12:52]Read from MH i2c: E2 17 00 37 42 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 3B [08:12:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:12:52]wFMCommunicate OK [08:12:52]requested_item fd.num is exist - process it [08:12:52]SAM_PROTO_GetFieldsCounters [08:12:52]wFMCommunicate request_size=4 [08:12:52]MH_SAM_APDU [08:12:52]CAPDU: 80 13 00 00 [08:12:52]Write to MH i2c: E2 08 00 38 42 80 13 00 00 00 00 00 00 F6 [08:12:52]Write i2c OK [08:12:52]MH_I2C_Read... [08:12:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:12:52]Read from MH i2c: E2 [08:12:52]MH_I2C_Read... [08:12:52]Read from MH i2c: E2 62 00 [08:12:52]MH_I2C_Read... [08:12:52]Read from MH i2c: E2 62 00 38 42 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F0 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 2B [08:12:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F0 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:12:52]wFMCommunicate OK [08:12:52]SAM_PROTO_GetFieldsCounters done [08:12:52]requested_item shift.num is exist - process it [08:12:52]requested_item shift.opened is exist - process it [08:12:52]req_shift_opened [08:12:52]FM_GetShiftState [08:12:52]SAM_PROTO_GetShiftState [08:12:52]wFMCommunicate request_size=4 [08:12:52]MH_SAM_APDU [08:12:52]CAPDU: 80 13 01 00 [08:12:52]Write to MH i2c: E2 08 00 39 42 80 13 01 00 00 00 00 00 F8 [08:12:52]Write i2c OK [08:12:52]MH_I2C_Read... [08:12:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:12:52]Read from MH i2c: E2 [08:12:52]MH_I2C_Read... [08:12:52]Read from MH i2c: E2 0E 00 [08:12:52]MH_I2C_Read... [08:12:52]Read from MH i2c: E2 0E 00 39 42 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 A1 [08:12:52]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:12:52]wFMCommunicate OK [08:12:52]SAM_PROTO_GetShiftState done [08:12:52]FM_GetShiftState done [08:12:52]req_shift_opened done [08:12:52]requested_item shift.open_date is exist - process it [08:12:52]req_shift_open_date [08:12:52]req_shift_open_date done [08:12:52]produce_requested_data done [08:12:52]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2544,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:12:52]process_action_free close_receipt [08:12:52]json_value_free [08:12:52]json_value_free done [08:12:52]process_json_proto returns [08:12:52]Send response to host [08:12:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2544,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:12:52]free response buf [08:12:52]execute_script done [08:12:52]execute_script returns [08:12:52]free content buf [08:12:52]Sock 9.Close socket [08:12:52]Sock 9.Thread stoped [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:03]accept exits with 7 [08:17:03]New connection [08:17:03]New thread 3066707300 created [08:17:03]Thread 3066850660 joined [08:17:03]Waiting for new connection... [08:17:03] Sock 7.Parse request [08:17:03]Sock 7.Check first char [08:17:03]Sock 7.First char is OK [08:17:03]request: POST /json_proto HTTP/1.0 [08:17:03]Method: POST [08:17:03]URL: /json_proto [08:17:03]Method is POST - this is cgi request [08:17:03]url: /json_proto [08:17:03]query_string will be loaded in cgi processing [08:17:03]execute_cgi json_proto POST (null) [08:17:03]execute_cgi path=json_proto method=POST [08:17:03]POST find Content-Length [08:17:03]Host: 172.17.52.132:8080 [08:17:03]Content-Length: 215 [08:17:03]Content-Type: application/json [08:17:03] [08:17:03]POST finish read [08:17:03]Found Content-Length = 215 [08:17:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:17:03]execute_script... [08:17:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:17:03]POST & json_proto [08:17:03]process_json_proto [08:17:03]json parsed OK: [08:17:03]protocol is kg_v1.0 [08:17:03]action value=get_value [08:17:03]process_action get_value [08:17:03]cmd_get_value [08:17:03]process_action get_value done [08:17:03]requested_data is exist [08:17:03]produce_requested_data [08:17:03]requested_item kkm.sn is exist - process it [08:17:03]requested_item kkm.ver is exist - process it [08:17:03]requested_item fm.sn is exist - process it [08:17:03]wFMCommunicate request_size=4 [08:17:03]MH_SAM_APDU [08:17:03]CAPDU: 80 11 00 00 [08:17:03]Write to MH i2c: E2 08 00 3A 42 80 11 00 00 00 00 00 00 F6 [08:17:03]Write i2c OK [08:17:03]MH_I2C_Read... [08:17:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:17:03]Read from MH i2c: E2 [08:17:03]MH_I2C_Read... [08:17:03]Read from MH i2c: E2 17 00 [08:17:03]MH_I2C_Read... [08:17:03]Read from MH i2c: E2 17 00 3A 42 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 3E [08:17:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:17:03]wFMCommunicate OK [08:17:03]requested_item fd.num is exist - process it [08:17:03]SAM_PROTO_GetFieldsCounters [08:17:03]wFMCommunicate request_size=4 [08:17:03]MH_SAM_APDU [08:17:03]CAPDU: 80 13 00 00 [08:17:03]Write to MH i2c: E2 08 00 3B 42 80 13 00 00 00 00 00 00 F9 [08:17:03]Write i2c OK [08:17:03]MH_I2C_Read... [08:17:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:17:03]Read from MH i2c: E2 [08:17:03]MH_I2C_Read... [08:17:03]Read from MH i2c: E2 62 00 [08:17:03]MH_I2C_Read... [08:17:03]Read from MH i2c: E2 62 00 3B 42 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F0 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 2E [08:17:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F0 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:17:03]wFMCommunicate OK [08:17:03]SAM_PROTO_GetFieldsCounters done [08:17:03]requested_item shift.num is exist - process it [08:17:03]requested_item shift.opened is exist - process it [08:17:03]req_shift_opened [08:17:03]FM_GetShiftState [08:17:03]SAM_PROTO_GetShiftState [08:17:03]wFMCommunicate request_size=4 [08:17:03]MH_SAM_APDU [08:17:03]CAPDU: 80 13 01 00 [08:17:03]Write to MH i2c: E2 08 00 3C 42 80 13 01 00 00 00 00 00 FB [08:17:03]Write i2c OK [08:17:03]MH_I2C_Read... [08:17:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:17:03]Read from MH i2c: E2 [08:17:03]MH_I2C_Read... [08:17:03]Read from MH i2c: E2 0E 00 [08:17:03]MH_I2C_Read... [08:17:03]Read from MH i2c: E2 0E 00 3C 42 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 A4 [08:17:03]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:17:03]wFMCommunicate OK [08:17:03]SAM_PROTO_GetShiftState done [08:17:03]FM_GetShiftState done [08:17:03]req_shift_opened done [08:17:03]requested_item shift.open_date is exist - process it [08:17:03]req_shift_open_date [08:17:03]req_shift_open_date done [08:17:03]produce_requested_data done [08:17:03]produce_requested_data return {"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2544,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:17:03]process_action_free get_value [08:17:03]json_value_free [08:17:03]json_value_free done [08:17:03]process_json_proto returns [08:17:03]Send response to host [08:17:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2544,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:17:03]free response buf [08:17:03]execute_script done [08:17:03]execute_script returns [08:17:03]free content buf [08:17:03]Sock 7.Close socket [08:17:03]Sock 7.Thread stoped [08:17:03]accept exits with 9 [08:17:03]New connection [08:17:03]New thread 3066850660 created [08:17:03]Thread 3066707300 joined [08:17:03]Waiting for new connection... [08:17:03] Sock 9.Parse request [08:17:03]Sock 9.Check first char [08:17:03]Sock 9.First char is OK [08:17:03]request: POST /json_proto HTTP/1.0 [08:17:03]Method: POST [08:17:03]URL: /json_proto [08:17:03]Method is POST - this is cgi request [08:17:03]url: /json_proto [08:17:03]query_string will be loaded in cgi processing [08:17:03]execute_cgi json_proto POST (null) [08:17:03]execute_cgi path=json_proto method=POST [08:17:03]POST find Content-Length [08:17:03]Host: 172.17.52.132:8080 [08:17:03]Content-Length: 331 [08:17:03]Content-Type: application/json [08:17:03] [08:17:03]POST finish read [08:17:03]Found Content-Length = 331 [08:17:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:17:03]execute_script... [08:17:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:17:04]POST & json_proto [08:17:04]process_json_proto [08:17:04]json parsed OK: [08:17:04]protocol is kg_v1.0 [08:17:04]action value=get_value [08:17:04]process_action get_value [08:17:04]cmd_get_value [08:17:04]process_action get_value done [08:17:04]requested_data is exist [08:17:04]produce_requested_data [08:17:04]requested_item fm.sale.total is exist - process it [08:17:04]SAM_PROTO_GetFMData [08:17:04]wFMCommunicate request_size=4 [08:17:04]MH_SAM_APDU [08:17:04]CAPDU: 80 13 03 00 [08:17:04]Write to MH i2c: E2 08 00 3D 42 80 13 03 00 00 00 00 00 FE [08:17:04]Write i2c OK [08:17:04]MH_I2C_Read... [08:17:04]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:17:04]Read from MH i2c: E2 [08:17:04]MH_I2C_Read... [08:17:04]Read from MH i2c: E2 FD 00 [08:17:04]MH_I2C_Read... [08:17:04]Read from MH i2c: E2 FD 00 3D 42 00 BE 04 85 04 BA 04 6E 04 04 00 C2 09 00 00 69 04 9F 00 6F 04 04 00 BA 09 00 00 B1 04 04 00 5F F2 E4 04 70 04 04 00 70 52 A8 03 72 04 04 00 EF 9F 3C 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 10 85 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 C7 15 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 25 [08:17:04]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 C2 09 00 00 69 04 9F 00 6F 04 04 00 BA 09 00 00 B1 04 04 00 5F F2 E4 04 70 04 04 00 70 52 A8 03 72 04 04 00 EF 9F 3C 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 10 85 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 C7 15 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [08:17:04]wFMCommunicate OK [08:17:04]wFMCommunicate request_size=4 [08:17:04]MH_SAM_APDU [08:17:04]CAPDU: 80 17 00 00 [08:17:04]Write to MH i2c: E2 08 00 3E 42 80 17 00 00 00 00 00 00 00 [08:17:04]Write i2c OK [08:17:04]MH_I2C_Read... [08:17:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:04]Read from MH i2c: E2 [08:17:04]MH_I2C_Read... [08:17:04]Read from MH i2c: E2 FD 00 [08:17:04]MH_I2C_Read... [08:17:04]Read from MH i2c: E2 FD 00 3E 42 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 15 [08:17:04]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [08:17:04]wFMCommunicate OK [08:17:04]wFMCommunicate request_size=4 [08:17:04]MH_SAM_APDU [08:17:04]CAPDU: 80 17 00 00 [08:17:04]Write to MH i2c: E2 08 00 3F 42 80 17 00 00 00 00 00 00 01 [08:17:04]Write i2c OK [08:17:04]MH_I2C_Read... [08:17:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:04]Read from MH i2c: E2 [08:17:04]MH_I2C_Read... [08:17:04]Read from MH i2c: E2 FD 00 [08:17:04]MH_I2C_Read... [08:17:04]Read from MH i2c: E2 FD 00 3F 42 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 33 [08:17:04]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [08:17:04]wFMCommunicate OK [08:17:04]wFMCommunicate request_size=4 [08:17:04]MH_SAM_APDU [08:17:04]CAPDU: 80 17 00 00 [08:17:04]Write to MH i2c: E2 08 00 40 42 80 17 00 00 00 00 00 00 02 [08:17:04]Write i2c OK [08:17:04]MH_I2C_Read... [08:17:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:05]Read from MH i2c: E2 [08:17:05]MH_I2C_Read... [08:17:05]Read from MH i2c: E2 FD 00 [08:17:05]MH_I2C_Read... [08:17:05]Read from MH i2c: E2 FD 00 40 42 00 04 F7 03 00 00 EF 03 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 90 00 7D [08:17:05]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [08:17:05]wFMCommunicate OK [08:17:05]wFMCommunicate request_size=4 [08:17:05]MH_SAM_APDU [08:17:05]CAPDU: 80 17 00 00 [08:17:05]Write to MH i2c: E2 08 00 41 42 80 17 00 00 00 00 00 00 03 [08:17:05]Write i2c OK [08:17:05]MH_I2C_Read... [08:17:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [08:17:05]Read from MH i2c: E2 [08:17:05]MH_I2C_Read... [08:17:05]Read from MH i2c: E2 DB 00 [08:17:05]MH_I2C_Read... [08:17:05]Read from MH i2c: E2 DB 00 41 42 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E5 [08:17:05]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:17:05]wFMCommunicate OK [08:17:05]SAM_PROTO_GetFMData done [08:17:05]requested_item fm.sale_refund.total is exist - process it [08:17:05]requested_item fm.buy.total is exist - process it [08:17:05]requested_item shift.sale.total is exist - process it [08:17:05]SAM_PROTO_GetShiftData [08:17:05]wFMCommunicate request_size=4 [08:17:05]MH_SAM_APDU [08:17:05]CAPDU: 80 13 02 00 [08:17:05]Write to MH i2c: E2 08 00 42 42 80 13 02 00 00 00 00 00 02 [08:17:05]Write i2c OK [08:17:05]MH_I2C_Read... [08:17:05]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:17:05]Read from MH i2c: E2 [08:17:05]MH_I2C_Read... [08:17:05]Read from MH i2c: E2 FD 00 [08:17:05]MH_I2C_Read... [08:17:05]Read from MH i2c: E2 FD 00 42 42 00 AA 04 AA 04 A6 04 6E 04 04 00 05 00 00 00 69 04 97 00 6F 04 04 00 05 00 00 00 B1 04 03 00 D4 75 01 70 04 03 00 D4 75 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B1 27 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 50 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 90 00 6C [08:17:05]RAPDU: AA 04 AA 04 A6 04 6E 04 04 00 05 00 00 00 69 04 97 00 6F 04 04 00 05 00 00 00 B1 04 03 00 D4 75 01 70 04 03 00 D4 75 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B1 27 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 50 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 90 00 [08:17:05]wFMCommunicate OK [08:17:05]wFMCommunicate request_size=4 [08:17:05]MH_SAM_APDU [08:17:05]CAPDU: 80 17 00 00 [08:17:05]Write to MH i2c: E2 08 00 43 42 80 17 00 00 00 00 00 00 05 [08:17:05]Write i2c OK [08:17:05]MH_I2C_Read... [08:17:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:06]Read from MH i2c: E2 [08:17:06]MH_I2C_Read... [08:17:06]Read from MH i2c: E2 FD 00 [08:17:06]MH_I2C_Read... [08:17:06]Read from MH i2c: E2 FD 00 43 42 00 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 90 00 2B [08:17:06]RAPDU: 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 90 00 [08:17:06]wFMCommunicate OK [08:17:06]wFMCommunicate request_size=4 [08:17:06]MH_SAM_APDU [08:17:06]CAPDU: 80 17 00 00 [08:17:06]Write to MH i2c: E2 08 00 44 42 80 17 00 00 00 00 00 00 06 [08:17:06]Write i2c OK [08:17:06]MH_I2C_Read... [08:17:06]OFD Sender: No OFD packet to send [08:17:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:06]Read from MH i2c: E2 [08:17:06]MH_I2C_Read... [08:17:06]Read from MH i2c: E2 FD 00 [08:17:06]MH_I2C_Read... [08:17:06]Read from MH i2c: E2 FD 00 44 42 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 90 00 B9 [08:17:06]RAPDU: EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 90 00 [08:17:06]wFMCommunicate OK [08:17:06]wFMCommunicate request_size=4 [08:17:06]MH_SAM_APDU [08:17:06]CAPDU: 80 17 00 00 [08:17:06]Write to MH i2c: E2 08 00 45 42 80 17 00 00 00 00 00 00 07 [08:17:06]Write i2c OK [08:17:06]MH_I2C_Read... [08:17:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:06]Read from MH i2c: E2 [08:17:06]MH_I2C_Read... [08:17:06]Read from MH i2c: E2 FD 00 [08:17:06]MH_I2C_Read... [08:17:06]Read from MH i2c: E2 FD 00 45 42 00 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 90 00 79 [08:17:06]RAPDU: 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 90 00 [08:17:06]wFMCommunicate OK [08:17:06]wFMCommunicate request_size=4 [08:17:06]MH_SAM_APDU [08:17:06]CAPDU: 80 17 00 00 [08:17:06]Write to MH i2c: E2 08 00 46 42 80 17 00 00 00 00 00 00 08 [08:17:06]Write i2c OK [08:17:06]MH_I2C_Read... [08:17:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 196! [08:17:07]Read from MH i2c: E2 [08:17:07]MH_I2C_Read... [08:17:07]Read from MH i2c: E2 C7 00 [08:17:07]MH_I2C_Read... [08:17:07]Read from MH i2c: E2 C7 00 46 42 00 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 FB [08:17:07]RAPDU: 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:17:07]wFMCommunicate OK [08:17:07]SAM_PROTO_GetShiftData done [08:17:07]requested_item shift.sale.total_cash is exist - process it [08:17:07]requested_item shift.sale_refund.total is exist - process it [08:17:07]requested_item shift.sale_refund.total_cash is exist - process it [08:17:07]requested_item shift.buy.total is exist - process it [08:17:07]requested_item shift.buy.total_cash is exist - process it [08:17:07]produce_requested_data done [08:17:07]produce_requested_data return {"fm.sale.total":821131.19,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":957.00,"shift.sale.total_cash":957.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [08:17:07]process_action_free get_value [08:17:07]json_value_free [08:17:07]json_value_free done [08:17:07]process_json_proto returns [08:17:07]Send response to host [08:17:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":821131.19,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":957.00,"shift.sale.total_cash":957.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [08:17:07]free response buf [08:17:07]execute_script done [08:17:07]execute_script returns [08:17:07]free content buf [08:17:07]Sock 9.Close socket [08:17:07]Sock 9.Thread stoped [08:17:07]accept exits with 7 [08:17:07]New connection [08:17:07]New thread 3066707300 created [08:17:07]Thread 3066850660 joined [08:17:07]Waiting for new connection... [08:17:07] Sock 7.Parse request [08:17:07]Sock 7.Check first char [08:17:07]Sock 7.First char is OK [08:17:07]request: POST /json_proto HTTP/1.0 [08:17:07]Method: POST [08:17:07]URL: /json_proto [08:17:07]Method is POST - this is cgi request [08:17:07]url: /json_proto [08:17:07]query_string will be loaded in cgi processing [08:17:07]execute_cgi json_proto POST (null) [08:17:07]execute_cgi path=json_proto method=POST [08:17:07]POST find Content-Length [08:17:07]Host: 172.17.52.132:8080 [08:17:07]Content-Length: 331 [08:17:07]Content-Type: application/json [08:17:07] [08:17:07]POST finish read [08:17:07]Found Content-Length = 331 [08:17: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" ] } } [08:17:07]execute_script... [08:17:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:17:07]POST & json_proto [08:17:07]process_json_proto [08:17:07]json parsed OK: [08:17:07]protocol is kg_v1.0 [08:17:07]action value=get_value [08:17:07]process_action get_value [08:17:07]cmd_get_value [08:17:07]process_action get_value done [08:17:07]requested_data is exist [08:17:07]produce_requested_data [08:17:07]requested_item fm.sale.total is exist - process it [08:17:07]SAM_PROTO_GetFMData [08:17:07]wFMCommunicate request_size=4 [08:17:07]MH_SAM_APDU [08:17:07]CAPDU: 80 13 03 00 [08:17:07]Write to MH i2c: E2 08 00 47 42 80 13 03 00 00 00 00 00 08 [08:17:07]Write i2c OK [08:17:07]MH_I2C_Read... [08:17:07]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:17:07]Read from MH i2c: E2 [08:17:07]MH_I2C_Read... [08:17:07]Read from MH i2c: E2 FD 00 [08:17:07]MH_I2C_Read... [08:17:07]Read from MH i2c: E2 FD 00 47 42 00 BE 04 85 04 BA 04 6E 04 04 00 C2 09 00 00 69 04 9F 00 6F 04 04 00 BA 09 00 00 B1 04 04 00 5F F2 E4 04 70 04 04 00 70 52 A8 03 72 04 04 00 EF 9F 3C 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 10 85 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 C7 15 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 2F [08:17:07]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 C2 09 00 00 69 04 9F 00 6F 04 04 00 BA 09 00 00 B1 04 04 00 5F F2 E4 04 70 04 04 00 70 52 A8 03 72 04 04 00 EF 9F 3C 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 10 85 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 C7 15 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [08:17:07]wFMCommunicate OK [08:17:07]wFMCommunicate request_size=4 [08:17:07]MH_SAM_APDU [08:17:07]CAPDU: 80 17 00 00 [08:17:07]Write to MH i2c: E2 08 00 48 42 80 17 00 00 00 00 00 00 0A [08:17:07]Write i2c OK [08:17:07]MH_I2C_Read... [08:17:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:08]Read from MH i2c: E2 [08:17:08]MH_I2C_Read... [08:17:08]Read from MH i2c: E2 FD 00 [08:17:08]MH_I2C_Read... [08:17:08]Read from MH i2c: E2 FD 00 48 42 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 1F [08:17:08]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [08:17:08]wFMCommunicate OK [08:17:08]wFMCommunicate request_size=4 [08:17:08]MH_SAM_APDU [08:17:08]CAPDU: 80 17 00 00 [08:17:08]Write to MH i2c: E2 08 00 49 42 80 17 00 00 00 00 00 00 0B [08:17:08]Write i2c OK [08:17:08]MH_I2C_Read... [08:17:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:08]Read from MH i2c: E2 [08:17:08]MH_I2C_Read... [08:17:08]Read from MH i2c: E2 FD 00 [08:17:08]MH_I2C_Read... [08:17:08]Read from MH i2c: E2 FD 00 49 42 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 3D [08:17:08]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [08:17:08]wFMCommunicate OK [08:17:08]wFMCommunicate request_size=4 [08:17:08]MH_SAM_APDU [08:17:08]CAPDU: 80 17 00 00 [08:17:08]Write to MH i2c: E2 08 00 4A 42 80 17 00 00 00 00 00 00 0C [08:17:08]Write i2c OK [08:17:08]MH_I2C_Read... [08:17:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:08]Read from MH i2c: E2 [08:17:08]MH_I2C_Read... [08:17:08]Read from MH i2c: E2 FD 00 [08:17:08]MH_I2C_Read... [08:17:08]Read from MH i2c: E2 FD 00 4A 42 00 04 F7 03 00 00 EF 03 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 90 00 87 [08:17:08]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [08:17:09]wFMCommunicate OK [08:17:09]wFMCommunicate request_size=4 [08:17:09]MH_SAM_APDU [08:17:09]CAPDU: 80 17 00 00 [08:17:09]Write to MH i2c: E2 08 00 4B 42 80 17 00 00 00 00 00 00 0D [08:17:09]Write i2c OK [08:17:09]MH_I2C_Read... [08:17:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [08:17:09]Read from MH i2c: E2 [08:17:09]MH_I2C_Read... [08:17:09]Read from MH i2c: E2 DB 00 [08:17:09]MH_I2C_Read... [08:17:09]Read from MH i2c: E2 DB 00 4B 42 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 EF [08:17:09]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:17:09]wFMCommunicate OK [08:17:09]SAM_PROTO_GetFMData done [08:17:09]requested_item fm.sale_refund.total is exist - process it [08:17:09]requested_item fm.buy.total is exist - process it [08:17:09]requested_item shift.sale.total is exist - process it [08:17:09]SAM_PROTO_GetShiftData [08:17:09]wFMCommunicate request_size=4 [08:17:09]MH_SAM_APDU [08:17:09]CAPDU: 80 13 02 00 [08:17:09]Write to MH i2c: E2 08 00 4C 42 80 13 02 00 00 00 00 00 0C [08:17:09]Write i2c OK [08:17:09]MH_I2C_Read... [08:17:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:17:09]Read from MH i2c: E2 [08:17:09]MH_I2C_Read... [08:17:09]Read from MH i2c: E2 FD 00 [08:17:09]MH_I2C_Read... [08:17:09]Read from MH i2c: E2 FD 00 4C 42 00 AA 04 AA 04 A6 04 6E 04 04 00 05 00 00 00 69 04 97 00 6F 04 04 00 05 00 00 00 B1 04 03 00 D4 75 01 70 04 03 00 D4 75 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B1 27 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 50 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 90 00 76 [08:17:09]RAPDU: AA 04 AA 04 A6 04 6E 04 04 00 05 00 00 00 69 04 97 00 6F 04 04 00 05 00 00 00 B1 04 03 00 D4 75 01 70 04 03 00 D4 75 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B1 27 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 50 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 90 00 [08:17:10]wFMCommunicate OK [08:17:10]wFMCommunicate request_size=4 [08:17:10]MH_SAM_APDU [08:17:10]CAPDU: 80 17 00 00 [08:17:10]Write to MH i2c: E2 08 00 4D 42 80 17 00 00 00 00 00 00 0F [08:17:10]Write i2c OK [08:17:10]MH_I2C_Read... [08:17:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:10]Read from MH i2c: E2 [08:17:10]MH_I2C_Read... [08:17:10]Read from MH i2c: E2 FD 00 [08:17:10]MH_I2C_Read... [08:17:10]Read from MH i2c: E2 FD 00 4D 42 00 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 90 00 35 [08:17:10]RAPDU: 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 90 00 [08:17:10]wFMCommunicate OK [08:17:10]wFMCommunicate request_size=4 [08:17:10]MH_SAM_APDU [08:17:10]CAPDU: 80 17 00 00 [08:17:10]Write to MH i2c: E2 08 00 4E 42 80 17 00 00 00 00 00 00 10 [08:17:10]Write i2c OK [08:17:10]MH_I2C_Read... [08:17:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:10]Read from MH i2c: E2 [08:17:10]MH_I2C_Read... [08:17:10]Read from MH i2c: E2 FD 00 [08:17:10]MH_I2C_Read... [08:17:10]Read from MH i2c: E2 FD 00 4E 42 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 90 00 C3 [08:17:10]RAPDU: EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 90 00 [08:17:10]wFMCommunicate OK [08:17:10]wFMCommunicate request_size=4 [08:17:10]MH_SAM_APDU [08:17:10]CAPDU: 80 17 00 00 [08:17:10]Write to MH i2c: E2 08 00 4F 42 80 17 00 00 00 00 00 00 11 [08:17:10]Write i2c OK [08:17:10]MH_I2C_Read... [08:17:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:11]Read from MH i2c: E2 [08:17:11]MH_I2C_Read... [08:17:11]Read from MH i2c: E2 FD 00 [08:17:11]MH_I2C_Read... [08:17:11]Read from MH i2c: E2 FD 00 4F 42 00 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 90 00 83 [08:17:11]RAPDU: 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 90 00 [08:17:11]wFMCommunicate OK [08:17:11]wFMCommunicate request_size=4 [08:17:11]MH_SAM_APDU [08:17:11]CAPDU: 80 17 00 00 [08:17:11]Write to MH i2c: E2 08 00 50 42 80 17 00 00 00 00 00 00 12 [08:17:11]Write i2c OK [08:17:11]MH_I2C_Read... [08:17:11]OFD Sender: No OFD packet to send [08:17:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 196! [08:17:11]Read from MH i2c: E2 [08:17:11]MH_I2C_Read... [08:17:11]Read from MH i2c: E2 C7 00 [08:17:11]MH_I2C_Read... [08:17:11]Read from MH i2c: E2 C7 00 50 42 00 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 05 [08:17:11]RAPDU: 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:17:11]wFMCommunicate OK [08:17:11]SAM_PROTO_GetShiftData done [08:17:11]requested_item shift.sale.total_cash is exist - process it [08:17:11]requested_item shift.sale_refund.total is exist - process it [08:17:11]requested_item shift.sale_refund.total_cash is exist - process it [08:17:11]requested_item shift.buy.total is exist - process it [08:17:11]requested_item shift.buy.total_cash is exist - process it [08:17:11]produce_requested_data done [08:17:11]produce_requested_data return {"fm.sale.total":821131.19,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":957.00,"shift.sale.total_cash":957.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [08:17:11]process_action_free get_value [08:17:11]json_value_free [08:17:11]json_value_free done [08:17:11]process_json_proto returns [08:17:11]Send response to host [08:17:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":821131.19,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":957.00,"shift.sale.total_cash":957.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [08:17:11]free response buf [08:17:11]execute_script done [08:17:11]execute_script returns [08:17:11]free content buf [08:17:11]Sock 7.Close socket [08:17:11]Sock 7.Thread stoped [08:17:11]accept exits with 9 [08:17:11]New connection [08:17:11]New thread 3066850660 created [08:17:11]Thread 3066707300 joined [08:17:11]Waiting for new connection... [08:17:11] Sock 9.Parse request [08:17:11]Sock 9.Check first char [08:17:11]Sock 9.First char is OK [08:17:11]request: POST /json_proto HTTP/1.0 [08:17:11]Method: POST [08:17:11]URL: /json_proto [08:17:11]Method is POST - this is cgi request [08:17:11]url: /json_proto [08:17:11]query_string will be loaded in cgi processing [08:17:11]execute_cgi json_proto POST (null) [08:17:11]execute_cgi path=json_proto method=POST [08:17:11]POST find Content-Length [08:17:11]Host: 172.17.52.132:8080 [08:17:11]Content-Length: 257 [08:17:11]Content-Type: application/json [08:17:11] [08:17:11]POST finish read [08:17:11]Found Content-Length = 257 [08:17:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u042D\u0440\u0433\u0435\u0448\u043E\u0432\u0430 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:17:11]execute_script... [08:17:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u042D\u0440\u0433\u0435\u0448\u043E\u0432\u0430 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:17:11]POST & json_proto [08:17:11]process_json_proto [08:17:11]json parsed OK: [08:17:11]protocol is kg_v1.0 [08:17:11]action value=x_report [08:17:11]process_action x_report [08:17:11]cmd_x_report [08:17:11]MH_GetDate [08:17:11]Write to MH i2c: F0 00 00 51 42 82 [08:17:11]Write i2c OK [08:17:11]MH_I2C_Read... [08:17:11]Read from MH i2c: F0 [08:17:11]MH_I2C_Read... [08:17:11]Read from MH i2c: F0 09 00 [08:17:11]MH_I2C_Read... [08:17:11]Read from MH i2c: F0 09 00 51 42 00 10 6B 13 67 5A BE F6 66 F4 [08:17:11]GetLastDocTimeStamp 1729325576 [08:17:11]current date 1729325840 [08:17:11]FM_GetShiftState [08:17:11]SAM_PROTO_GetShiftState [08:17:11]wFMCommunicate request_size=4 [08:17:11]MH_SAM_APDU [08:17:11]CAPDU: 80 13 01 00 [08:17:11]Write to MH i2c: E2 08 00 52 42 80 13 01 00 00 00 00 00 11 [08:17:11]Write i2c OK [08:17:11]MH_I2C_Read... [08:17:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:17:11]Read from MH i2c: E2 [08:17:11]MH_I2C_Read... [08:17:11]Read from MH i2c: E2 0E 00 [08:17:11]MH_I2C_Read... [08:17:11]Read from MH i2c: E2 0E 00 52 42 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 BA [08:17:11]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:17:11]wFMCommunicate OK [08:17:11]SAM_PROTO_GetShiftState done [08:17:11]FM_GetShiftState done [08:17:11]KKMCreateXReportDocument [08:17:11]Load OK [08:17:11]Malloc new data [08:17:11]MH_GetDate [08:17:11]Write to MH i2c: F0 00 00 53 42 84 [08:17:11]Write i2c OK [08:17:11]MH_I2C_Read... [08:17:11]Read from MH i2c: F0 [08:17:11]MH_I2C_Read... [08:17:11]Read from MH i2c: F0 09 00 [08:17:11]MH_I2C_Read... [08:17:11]Read from MH i2c: F0 09 00 53 42 00 10 6B 13 67 5A BE F6 66 F6 [08:17:11]Malloc new data [08:17:11]Malloc new data [08:17:11]wFMCommunicate request_size=4 [08:17:11]MH_SAM_APDU [08:17:11]CAPDU: 80 11 00 00 [08:17:11]Write to MH i2c: E2 08 00 54 42 80 11 00 00 00 00 00 00 10 [08:17:11]Write i2c OK [08:17:11]MH_I2C_Read... [08:17:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:17:11]Read from MH i2c: E2 [08:17:11]MH_I2C_Read... [08:17:11]Read from MH i2c: E2 17 00 [08:17:11]MH_I2C_Read... [08:17:11]Read from MH i2c: E2 17 00 54 42 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 58 [08:17:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:17:11]wFMCommunicate OK [08:17:12]SAM_PROTO_GetFieldsCounters [08:17:12]wFMCommunicate request_size=4 [08:17:12]MH_SAM_APDU [08:17:12]CAPDU: 80 13 00 00 [08:17:12]Write to MH i2c: E2 08 00 55 42 80 13 00 00 00 00 00 00 13 [08:17:12]Write i2c OK [08:17:12]MH_I2C_Read... [08:17:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:17:12]Read from MH i2c: E2 [08:17:12]MH_I2C_Read... [08:17:12]Read from MH i2c: E2 62 00 [08:17:12]MH_I2C_Read... [08:17:12]Read from MH i2c: E2 62 00 55 42 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F0 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 48 [08:17:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F0 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:17:12]wFMCommunicate OK [08:17:12]SAM_PROTO_GetFieldsCounters done [08:17:12]Malloc new data [08:17:12]Malloc new data [08:17:12]Malloc new data [08:17:12]KKMCreateXReportDocument OK [08:17:12]KKMSetXReportData OK [08:17:12]KKMPrepareXReportFMData [08:17:12]SAM_PROTO_GetShiftData [08:17:12]wFMCommunicate request_size=4 [08:17:12]MH_SAM_APDU [08:17:12]CAPDU: 80 13 02 00 [08:17:12]Write to MH i2c: E2 08 00 56 42 80 13 02 00 00 00 00 00 16 [08:17:12]Write i2c OK [08:17:12]MH_I2C_Read... [08:17:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:17:12]Read from MH i2c: E2 [08:17:12]MH_I2C_Read... [08:17:12]Read from MH i2c: E2 FD 00 [08:17:12]MH_I2C_Read... [08:17:12]Read from MH i2c: E2 FD 00 56 42 00 AA 04 AA 04 A6 04 6E 04 04 00 05 00 00 00 69 04 97 00 6F 04 04 00 05 00 00 00 B1 04 03 00 D4 75 01 70 04 03 00 D4 75 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B1 27 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 50 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 90 00 80 [08:17:12]RAPDU: AA 04 AA 04 A6 04 6E 04 04 00 05 00 00 00 69 04 97 00 6F 04 04 00 05 00 00 00 B1 04 03 00 D4 75 01 70 04 03 00 D4 75 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B1 27 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 50 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 90 00 [08:17:12]wFMCommunicate OK [08:17:12]wFMCommunicate request_size=4 [08:17:12]MH_SAM_APDU [08:17:12]CAPDU: 80 17 00 00 [08:17:12]Write to MH i2c: E2 08 00 57 42 80 17 00 00 00 00 00 00 19 [08:17:12]Write i2c OK [08:17:12]MH_I2C_Read... [08:17:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:13]Read from MH i2c: E2 [08:17:13]MH_I2C_Read... [08:17:13]Read from MH i2c: E2 FD 00 [08:17:13]MH_I2C_Read... [08:17:13]Read from MH i2c: E2 FD 00 57 42 00 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 90 00 3F [08:17:13]RAPDU: 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 90 00 [08:17:13]wFMCommunicate OK [08:17:13]wFMCommunicate request_size=4 [08:17:13]MH_SAM_APDU [08:17:13]CAPDU: 80 17 00 00 [08:17:13]Write to MH i2c: E2 08 00 58 42 80 17 00 00 00 00 00 00 1A [08:17:13]Write i2c OK [08:17:13]MH_I2C_Read... [08:17:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:13]Read from MH i2c: E2 [08:17:13]MH_I2C_Read... [08:17:13]Read from MH i2c: E2 FD 00 [08:17:13]MH_I2C_Read... [08:17:13]Read from MH i2c: E2 FD 00 58 42 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 90 00 CD [08:17:13]RAPDU: EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 90 00 [08:17:13]wFMCommunicate OK [08:17:13]wFMCommunicate request_size=4 [08:17:13]MH_SAM_APDU [08:17:13]CAPDU: 80 17 00 00 [08:17:13]Write to MH i2c: E2 08 00 59 42 80 17 00 00 00 00 00 00 1B [08:17:14]Write i2c OK [08:17:14]MH_I2C_Read... [08:17:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:14]Read from MH i2c: E2 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 FD 00 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 FD 00 59 42 00 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 90 00 8D [08:17:14]RAPDU: 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 90 00 [08:17:14]wFMCommunicate OK [08:17:14]wFMCommunicate request_size=4 [08:17:14]MH_SAM_APDU [08:17:14]CAPDU: 80 17 00 00 [08:17:14]Write to MH i2c: E2 08 00 5A 42 80 17 00 00 00 00 00 00 1C [08:17:14]Write i2c OK [08:17:14]MH_I2C_Read... [08:17:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 196! [08:17:14]Read from MH i2c: E2 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 C7 00 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 C7 00 5A 42 00 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0F [08:17:14]RAPDU: 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:17:14]wFMCommunicate OK [08:17:14]SAM_PROTO_GetShiftData done [08:17:14]1194 (1190) - счетчики итогов смены [08:17:14] 1134 (4) - 5 - количество чеков со всеми признаками расчетов [08:17:14] 1129 (151) - счетчики операций «приход» [08:17:14] 1135 (4) - 5 - количество чеков по признаку расчетов [08:17:14] 1201 (3) - 957.00 - общая итоговая сумма в чеках [08:17:14] 1136 (3) - 957.00 - итоговая сумма в чеках наличными [08:17:14] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:17:14] 1024 (121) - суммы налогов [08:17:14] 1006 (9) - суммы НДС [08:17:14] 1010 (1) - 0% - код ставки НДС [08:17:14] 1011 (0) - 0.00 - сумма НДС по ставке [08:17:14] 1006 (11) - суммы НДС [08:17:14] 1010 (1) - 12% - код ставки НДС [08:17:14] 1011 (2) - 101.61 - сумма НДС по ставке [08:17:14] 1007 (9) - суммы НСП [08:17:14] 1014 (1) - 0% - код ставки НСП [08:17:14] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:14] 1007 (11) - суммы НСП [08:17:14] 1014 (1) - 1% - код ставки НСП [08:17:14] 1015 (2) - 8.48 - сумма НСП по ставке [08:17:14] 1007 (9) - суммы НСП [08:17:14] 1014 (1) - 2% - код ставки НСП [08:17:14] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:14] 1007 (9) - суммы НСП [08:17:14] 1014 (1) - 3% - код ставки НСП [08:17:14] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:14] 1007 (9) - суммы НСП [08:17:14] 1014 (1) - 5% - код ставки НСП [08:17:14] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:14] 1007 (9) - суммы НСП [08:17:14] 1014 (1) - 0,50% - код ставки НСП [08:17:14] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:14] 1007 (9) - суммы НСП [08:17:14] 1014 (1) - 1,50% - код ставки НСП [08:17:14] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:14] 1130 (141) - счетчики операций «возврат прихода» [08:17:14] 1135 (4) - 0 - количество чеков по признаку расчетов [08:17:14] 1201 (0) - 0.00 - общая итоговая сумма в чеках [08:17:14] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [08:17:14] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:17:14] 1024 (117) - суммы налогов [08:17:14] 1006 (9) - суммы НДС [08:17:14] 1010 (1) - 0% - код ставки НДС [08:17:14] 1011 (0) - 0.00 - сумма НДС по ставке [08:17:14] 1006 (9) - суммы НДС [08:17:14] 1010 (1) - 12% - код ставки НДС [08:17:14] 1011 (0) - 0.00 - сумма НДС по ставке [08:17:14] 1007 (9) - суммы НСП [08:17:14] 1014 (1) - 0% - код ставки НСП [08:17:14] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:14] 1007 (9) - суммы НСП [08:17:14] 1014 (1) - 1% - код ставки НСП [08:17:14] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:14] 1007 (9) - суммы НСП [08:17:14] 1014 (1) - 2% - код ставки НСП [08:17:14] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:14] 1007 (9) - суммы НСП [08:17:14] 1014 (1) - 3% - код ставки НСП [08:17:14] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 5% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 0,50% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 1,50% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1131 (141) - счетчики операций «расход» [08:17:15] 1135 (4) - 0 - количество чеков по признаку расчетов [08:17:15] 1201 (0) - 0.00 - общая итоговая сумма в чеках [08:17:15] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [08:17:15] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:17:15] 1024 (117) - суммы налогов [08:17:15] 1006 (9) - суммы НДС [08:17:15] 1010 (1) - 0% - код ставки НДС [08:17:15] 1011 (0) - 0.00 - сумма НДС по ставке [08:17:15] 1006 (9) - суммы НДС [08:17:15] 1010 (1) - 12% - код ставки НДС [08:17:15] 1011 (0) - 0.00 - сумма НДС по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 0% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 1% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 2% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 3% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 5% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 0,50% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 1,50% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1132 (141) - счетчики операций «возврат расхода» [08:17:15] 1135 (4) - 0 - количество чеков по признаку расчетов [08:17:15] 1201 (0) - 0.00 - общая итоговая сумма в чеках [08:17:15] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [08:17:15] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:17:15] 1024 (117) - суммы налогов [08:17:15] 1006 (9) - суммы НДС [08:17:15] 1010 (1) - 0% - код ставки НДС [08:17:15] 1011 (0) - 0.00 - сумма НДС по ставке [08:17:15] 1006 (9) - суммы НДС [08:17:15] 1010 (1) - 12% - код ставки НДС [08:17:15] 1011 (0) - 0.00 - сумма НДС по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 0% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 1% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 2% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 3% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 5% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 0,50% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1007 (9) - суммы НСП [08:17:15] 1014 (1) - 1,50% - код ставки НСП [08:17:15] 1015 (0) - 0.00 - сумма НСП по ставке [08:17:15] 1133 (588) - - счетчики коррекции - не используются [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1194 (04AA) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1134 (046E) [08:17:15]Malloc new data [08:17:15]Processing tag 1129 (0469) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1135 (046F) [08:17:15]Malloc new data [08:17:15]Processing tag 1201 (04B1) [08:17:15]Malloc new data [08:17:15]Processing tag 1136 (0470) [08:17:15]Malloc new data [08:17:15]Processing tag 1138 (0472) [08:17:15]Malloc new data [08:17:15]Processing tag 1024 (0400) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1006 (03EE) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1010 (03F2) [08:17:15]Malloc new data [08:17:15]Processing tag 1011 (03F3) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1006 (03EE) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1010 (03F2) [08:17:15]Malloc new data [08:17:15]Processing tag 1011 (03F3) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]SetTLVBufToDocument err=0 [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1130 (046A) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1135 (046F) [08:17:15]Malloc new data [08:17:15]Processing tag 1201 (04B1) [08:17:15]Malloc new data [08:17:15]Processing tag 1136 (0470) [08:17:15]Malloc new data [08:17:15]Processing tag 1138 (0472) [08:17:15]Malloc new data [08:17:15]Processing tag 1024 (0400) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1006 (03EE) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1010 (03F2) [08:17:15]Malloc new data [08:17:15]Processing tag 1011 (03F3) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1006 (03EE) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1010 (03F2) [08:17:15]Malloc new data [08:17:15]Processing tag 1011 (03F3) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]SetTLVBufToDocument err=0 [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1131 (046B) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1135 (046F) [08:17:15]Malloc new data [08:17:15]Processing tag 1201 (04B1) [08:17:15]Malloc new data [08:17:15]Processing tag 1136 (0470) [08:17:15]Malloc new data [08:17:15]Processing tag 1138 (0472) [08:17:15]Malloc new data [08:17:15]Processing tag 1024 (0400) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1006 (03EE) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1010 (03F2) [08:17:15]Malloc new data [08:17:15]Processing tag 1011 (03F3) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1006 (03EE) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1010 (03F2) [08:17:15]Malloc new data [08:17:15]Processing tag 1011 (03F3) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1007 (03EF) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1014 (03F6) [08:17:15]Malloc new data [08:17:15]Processing tag 1015 (03F7) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]SetTLVBufToDocument err=0 [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1132 (046C) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1135 (046F) [08:17:15]Malloc new data [08:17:15]Processing tag 1201 (04B1) [08:17:15]Malloc new data [08:17:15]Processing tag 1136 (0470) [08:17:15]Malloc new data [08:17:15]Processing tag 1138 (0472) [08:17:15]Malloc new data [08:17:15]Processing tag 1024 (0400) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1006 (03EE) [08:17:15]Load OK [08:17:15]SetTLVBufToDocument [08:17:15]Processing tag 1010 (03F2) [08:17:15]Malloc new data [08:17:15]Processing tag 1011 (03F3) [08:17:15]Malloc new data [08:17:15]SetTLVBufToDocument err=0 [08:17:15]Processing tag 1006 (03EE) [08:17:15]Load OK [08:17:16]SetTLVBufToDocument [08:17:16]Processing tag 1010 (03F2) [08:17:16]Malloc new data [08:17:16]Processing tag 1011 (03F3) [08:17:16]Malloc new data [08:17:16]SetTLVBufToDocument err=0 [08:17:16]Processing tag 1007 (03EF) [08:17:16]Load OK [08:17:16]SetTLVBufToDocument [08:17:16]Processing tag 1014 (03F6) [08:17:16]Malloc new data [08:17:16]Processing tag 1015 (03F7) [08:17:16]Malloc new data [08:17:16]SetTLVBufToDocument err=0 [08:17:16]Processing tag 1007 (03EF) [08:17:16]Load OK [08:17:16]SetTLVBufToDocument [08:17:16]Processing tag 1014 (03F6) [08:17:16]Malloc new data [08:17:16]Processing tag 1015 (03F7) [08:17:16]Malloc new data [08:17:16]SetTLVBufToDocument err=0 [08:17:16]Processing tag 1007 (03EF) [08:17:16]Load OK [08:17:16]SetTLVBufToDocument [08:17:16]Processing tag 1014 (03F6) [08:17:16]Malloc new data [08:17:16]Processing tag 1015 (03F7) [08:17:16]Malloc new data [08:17:16]SetTLVBufToDocument err=0 [08:17:16]Processing tag 1007 (03EF) [08:17:16]Load OK [08:17:16]SetTLVBufToDocument [08:17:16]Processing tag 1014 (03F6) [08:17:16]Malloc new data [08:17:16]Processing tag 1015 (03F7) [08:17:16]Malloc new data [08:17:16]SetTLVBufToDocument err=0 [08:17:16]Processing tag 1007 (03EF) [08:17:16]Load OK [08:17:16]SetTLVBufToDocument [08:17:16]Processing tag 1014 (03F6) [08:17:16]Malloc new data [08:17:16]Processing tag 1015 (03F7) [08:17:16]Malloc new data [08:17:16]SetTLVBufToDocument err=0 [08:17:16]Processing tag 1007 (03EF) [08:17:16]Load OK [08:17:16]SetTLVBufToDocument [08:17:16]Processing tag 1014 (03F6) [08:17:16]Malloc new data [08:17:16]Processing tag 1015 (03F7) [08:17:16]Malloc new data [08:17:16]SetTLVBufToDocument err=0 [08:17:16]Processing tag 1007 (03EF) [08:17:16]Load OK [08:17:16]SetTLVBufToDocument [08:17:16]Processing tag 1014 (03F6) [08:17:16]Malloc new data [08:17:16]Processing tag 1015 (03F7) [08:17:16]Malloc new data [08:17:16]SetTLVBufToDocument err=0 [08:17:16]SetTLVBufToDocument err=0 [08:17:16]SetTLVBufToDocument err=0 [08:17:16]Processing tag 1133 (046D) [08:17:16]Malloc new data [08:17:16]SetTLVBufToDocument err=0 [08:17:16]SetTLVBufToDocument err=0 [08:17:16]Malloc new data [08:17:16]SAM_PROTO_GetFMData [08:17:16]wFMCommunicate request_size=4 [08:17:16]MH_SAM_APDU [08:17:16]CAPDU: 80 13 03 00 [08:17:16]Write to MH i2c: E2 08 00 5B 42 80 13 03 00 00 00 00 00 1C [08:17:16]Write i2c OK [08:17:16]MH_I2C_Read... [08:17:16]OFD Sender: No OFD packet to send [08:17:16]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:17:16]Read from MH i2c: E2 [08:17:16]MH_I2C_Read... [08:17:16]Read from MH i2c: E2 FD 00 [08:17:16]MH_I2C_Read... [08:17:16]Read from MH i2c: E2 FD 00 5B 42 00 BE 04 85 04 BA 04 6E 04 04 00 C2 09 00 00 69 04 9F 00 6F 04 04 00 BA 09 00 00 B1 04 04 00 5F F2 E4 04 70 04 04 00 70 52 A8 03 72 04 04 00 EF 9F 3C 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 10 85 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 C7 15 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 43 [08:17:16]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 C2 09 00 00 69 04 9F 00 6F 04 04 00 BA 09 00 00 B1 04 04 00 5F F2 E4 04 70 04 04 00 70 52 A8 03 72 04 04 00 EF 9F 3C 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 10 85 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 C7 15 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [08:17:16]wFMCommunicate OK [08:17:16]wFMCommunicate request_size=4 [08:17:16]MH_SAM_APDU [08:17:16]CAPDU: 80 17 00 00 [08:17:16]Write to MH i2c: E2 08 00 5C 42 80 17 00 00 00 00 00 00 1E [08:17:16]Write i2c OK [08:17:16]MH_I2C_Read... [08:17:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:17]Read from MH i2c: E2 [08:17:17]MH_I2C_Read... [08:17:17]Read from MH i2c: E2 FD 00 [08:17:17]MH_I2C_Read... [08:17:17]Read from MH i2c: E2 FD 00 5C 42 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 33 [08:17:17]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [08:17:17]wFMCommunicate OK [08:17:17]wFMCommunicate request_size=4 [08:17:17]MH_SAM_APDU [08:17:17]CAPDU: 80 17 00 00 [08:17:17]Write to MH i2c: E2 08 00 5D 42 80 17 00 00 00 00 00 00 1F [08:17:17]Write i2c OK [08:17:17]MH_I2C_Read... [08:17:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:17]Read from MH i2c: E2 [08:17:17]MH_I2C_Read... [08:17:17]Read from MH i2c: E2 FD 00 [08:17:17]MH_I2C_Read... [08:17:17]Read from MH i2c: E2 FD 00 5D 42 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 51 [08:17:17]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [08:17:17]wFMCommunicate OK [08:17:17]wFMCommunicate request_size=4 [08:17:17]MH_SAM_APDU [08:17:17]CAPDU: 80 17 00 00 [08:17:17]Write to MH i2c: E2 08 00 5E 42 80 17 00 00 00 00 00 00 20 [08:17:17]Write i2c OK [08:17:17]MH_I2C_Read... [08:17:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:18]Read from MH i2c: E2 [08:17:18]MH_I2C_Read... [08:17:18]Read from MH i2c: E2 FD 00 [08:17:18]MH_I2C_Read... [08:17:18]Read from MH i2c: E2 FD 00 5E 42 00 04 F7 03 00 00 EF 03 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 90 00 9B [08:17:18]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [08:17:18]wFMCommunicate OK [08:17:18]wFMCommunicate request_size=4 [08:17:18]MH_SAM_APDU [08:17:18]CAPDU: 80 17 00 00 [08:17:18]Write to MH i2c: E2 08 00 5F 42 80 17 00 00 00 00 00 00 21 [08:17:18]Write i2c OK [08:17:18]MH_I2C_Read... [08:17:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [08:17:18]Read from MH i2c: E2 [08:17:18]MH_I2C_Read... [08:17:18]Read from MH i2c: E2 DB 00 [08:17:18]MH_I2C_Read... [08:17:18]Read from MH i2c: E2 DB 00 5F 42 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 03 [08:17:18]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:17:19]wFMCommunicate OK [08:17:19]SAM_PROTO_GetFMData done [08:17:19]FM_GetFMData:85 04 BA 04 6E 04 04 00 C2 09 00 00 69 04 9F 00 6F 04 04 00 BA 09 00 00 B1 04 04 00 5F F2 E4 04 70 04 04 00 70 52 A8 03 72 04 04 00 EF 9F 3C 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 10 85 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 C7 15 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 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 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:17:19]oper:6F 04 04 00 BA 09 00 00 B1 04 04 00 5F F2 E4 04 70 04 04 00 70 52 A8 03 72 04 04 00 EF 9F 3C 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 80 10 85 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 C7 15 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:17:19]total:5F F2 E4 04 [08:17:19]Malloc new data [08:17:19]oper:6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 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 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:17:19]total:58 F6 01 [08:17:19]Malloc new data [08:17:19]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 [08:17:20]total: [08:17:20]Malloc new data [08:17:20]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:17:20]total: [08:17:20]Malloc new data [08:17:20]KKMPrepareXReportFMData err=0 [08:17:20]Х отчет ИНН: 02508201610067 Кассир: Эргешова А. 19.10.2024 08:17 Смена: 10 РНМ: 0000000000207295 ЗНМ: 0300000191 СНО: Общий режим Всего чеков: 5 ИТОГИ ПРИХОД Чеков: 5 Общий итог: 957.00 Итого наличными: 957.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 101.61 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 8.48 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 957.00 НС Приход: 821131.19 НС Возвр.Прихода: 1286.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000002342820 [08:17:20]StoreToDocumentArchive [08:17:20]MH_GetDate [08:17:20]Write to MH i2c: F0 00 00 60 42 91 [08:17:20]Write i2c OK [08:17:20]MH_I2C_Read... [08:17:20]Read from MH i2c: F0 [08:17:20]MH_I2C_Read... [08:17:20]Read from MH i2c: F0 09 00 [08:17:20]MH_I2C_Read... [08:17:20]Read from MH i2c: F0 09 00 60 42 00 18 6B 13 67 5A BE F6 66 0B [08:17:20]shift 10 fd 1729325848 [08:17:20]Create dir for shift 0010 [08:17:20]save to /storage/0010/doc_1729325848 [08:17:20]save last doc name /storage/0010/doc_1729325848 to /storage/kkm_last_doc_name [08:17:20]save OK [08:17:20]Clear old archive folders... [08:17:20]NVStorageSaveData kkm_last_timestamp [08:17:20]File name is /storage/kkm_last_timestamp [08:17:20]Write 4 bytes [08:17:20]NVStorageSaveData done [08:17:20]ExternCall_PrintAddStr [08:17:20]wPrintStart [08:17:20]Write to MH i2c: 01 00 00 61 42 A3 [08:17:20]Write i2c OK [08:17:20]MH_I2C_Read... [08:17:20]Read from MH i2c: 01 [08:17:20]MH_I2C_Read... [08:17:20]Read from MH i2c: 01 07 00 [08:17:20]MH_I2C_Read... [08:17:20]Read from MH i2c: 01 07 00 61 42 00 00 00 00 00 FF 0F B8 [08:17:20]RasterBufferAndPrint [08:17:20]line Х отчет [08:17:20]line ИНН: 02508201610067 [08:17:20]line Кассир: Эргешова А. [08:17:20]line 19.10.2024 08:17 [08:17:20]line Смена: 10 [08:17:20]line РНМ: 0000000000207295 [08:17:20]line ЗНМ: 0300000191 [08:17:20]line СНО: Общий режим [08:17:20]line Всего чеков: 5 [08:17:20]line ИТОГИ ПРИХОД [08:17:20]line Чеков: 5 [08:17:20]line Общий итог: 957.00 [08:17:20]line Итого наличными: 957.00 [08:17:20]line Итого безнал.: 0.00 [08:17:20]line НДС 0% : 0.00 [08:17:20]line НДС 12% : 101.61 [08:17:20]line НСП 0% : 0.00 [08:17:20]line НСП 1,50% : 0.00 [08:17:20]line НСП 0,50% : 0.00 [08:17:20]line НСП 5% : 0.00 [08:17:20]line НСП 3% : 0.00 [08:17:20]line НСП 2% : 0.00 [08:17:20]line НСП 1% : 8.48 [08:17:20]line ИТОГИ ВОЗВРАТ ПРИХОДА [08:17:20]line Чеков: 0 [08:17:20]line Общий итог: 0.00 [08:17:20]line Итого наличными: 0.00 [08:17:20]line Итого безнал.: 0.00 [08:17:20]line НДС 0% : 0.00 [08:17:20]line НДС 12% : 0.00 [08:17:20]line НСП 0% : 0.00 [08:17:20]line НСП 1,50% : 0.00 [08:17:20]line НСП 0,50% : 0.00 [08:17:20]line НСП 5% : 0.00 [08:17:20]line НСП 3% : 0.00 [08:17:20]line НСП 2% : 0.00 [08:17:20]line НСП 1% : 0.00 [08:17:20]line ИТОГИ РАСХОД [08:17:20]line Чеков: 0 [08:17:20]line Общий итог: 0.00 [08:17:20]line Итого наличными: 0.00 [08:17:20]line Итого безнал.: 0.00 [08:17:20]line НДС 0% : 0.00 [08:17:20]line НДС 12% : 0.00 [08:17:20]line НСП 0% : 0.00 [08:17:20]line НСП 1,50% : 0.00 [08:17:20]line НСП 0,50% : 0.00 [08:17:20]line НСП 5% : 0.00 [08:17:20]line НСП 3% : 0.00 [08:17:20]line НСП 2% : 0.00 [08:17:20]line НСП 1% : 0.00 [08:17:20]line ИТОГИ ВОЗВРАТ РАСХОДА [08:17:20]line Чеков: 0 [08:17:20]line Общий итог: 0.00 [08:17:20]line Итого наличными: 0.00 [08:17:20]line Итого безнал.: 0.00 [08:17:20]line НДС 0% : 0.00 [08:17:20]line НДС 12% : 0.00 [08:17:20]line НСП 0% : 0.00 [08:17:20]line НСП 1,50% : 0.00 [08:17:20]line НСП 0,50% : 0.00 [08:17:20]line НСП 5% : 0.00 [08:17:20]line НСП 3% : 0.00 [08:17:20]line НСП 2% : 0.00 [08:17:20]line НСП 1% : 0.00 [08:17:20]line Сумма внесений: 0.00 [08:17:20]line Сумма выплат: 0.00 [08:17:20]line Нал. в кассе: 957.00 [08:17:20]line НС Приход: 821131.19 [08:17:20]line НС Возвр.Прихода: 1286.00 [08:17:20]line НС Расход: 0.00 [08:17:20]line НС Возвр.Расхода: 0.00 [08:17:20]line ФМ: 0000000002342820 [08:17:20]written 0, free lines is 4095 [08:17:20]Write to MH i2c: 01 00 00 AC 42 EE [08:17:20]Write i2c OK [08:17:20]MH_I2C_Read... [08:17:20]Read from MH i2c: 01 [08:17:20]MH_I2C_Read... [08:17:20]Read from MH i2c: 01 07 00 [08:17:20]MH_I2C_Read... [08:17:20]Read from MH i2c: 01 07 00 AC 42 00 00 00 00 00 21 0A 20 [08:17:20]RasterBufferAndPrint [08:17:20]line [08:17:20]line [08:17:20]line [08:17:20]line [08:17:20]line [08:17:20]written 0, free lines is 2613 [08:17:20]MH_Cut [08:17:20]Write to MH i2c: D1 01 00 B3 42 01 C7 [08:17:20]Write i2c OK [08:17:20]MH_I2C_Read... [08:17:20]Read from MH i2c: D1 [08:17:20]MH_I2C_Read... [08:17:21]Read from MH i2c: D1 01 00 [08:17:21]MH_I2C_Read... [08:17:21]Read from MH i2c: D1 01 00 B3 42 00 C6 [08:17:21]Write to MH i2c: 01 00 00 B4 42 F6 [08:17:21]Write i2c OK [08:17:21]MH_I2C_Read... [08:17:21]OFD Sender: No OFD packet to send [08:17:22]*** Cut start [08:17:22]*** Partial cut [08:17:22]*** CUTSNS_PIN = 1 [08:17:22]*** CUTSNS_PIN = 0 [08:17:22]*** Brake cut motor [08:17:22]Read from MH i2c: 01 [08:17:22]MH_I2C_Read... [08:17:22]*** Stop cut motor [08:17:22]*** Cut end [08:17:22]Read from MH i2c: 01 07 00 [08:17:22]MH_I2C_Read... [08:17:22]Read from MH i2c: 01 07 00 B4 42 00 00 00 00 00 FF 0F 0B [08:17:22]process_action x_report done [08:17:22]requested_data is exist [08:17:22]produce_requested_data [08:17:22]requested_item fd.num is exist - process it [08:17:22]SAM_PROTO_GetFieldsCounters [08:17:22]wFMCommunicate request_size=4 [08:17:22]MH_SAM_APDU [08:17:22]CAPDU: 80 13 00 00 [08:17:22]Write to MH i2c: E2 08 00 B5 42 80 13 00 00 00 00 00 00 73 [08:17:22]Write i2c OK [08:17:22]MH_I2C_Read... [08:17:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:17:23]Read from MH i2c: E2 [08:17:23]MH_I2C_Read... [08:17:23]Read from MH i2c: E2 62 00 [08:17:23]MH_I2C_Read... [08:17:23]Read from MH i2c: E2 62 00 B5 42 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F0 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 A8 [08:17:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F0 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:17:23]wFMCommunicate OK [08:17:23]SAM_PROTO_GetFieldsCounters done [08:17:23]requested_item shift.num is exist - process it [08:17:23]requested_item shift.opened is exist - process it [08:17:23]req_shift_opened [08:17:23]FM_GetShiftState [08:17:23]SAM_PROTO_GetShiftState [08:17:23]wFMCommunicate request_size=4 [08:17:23]MH_SAM_APDU [08:17:23]CAPDU: 80 13 01 00 [08:17:23]Write to MH i2c: E2 08 00 B6 42 80 13 01 00 00 00 00 00 75 [08:17:23]Write i2c OK [08:17:23]MH_I2C_Read... [08:17:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:17:23]Read from MH i2c: E2 [08:17:23]MH_I2C_Read... [08:17:23]Read from MH i2c: E2 0E 00 [08:17:23]MH_I2C_Read... [08:17:23]Read from MH i2c: E2 0E 00 B6 42 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 1E [08:17:23]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:17:23]wFMCommunicate OK [08:17:23]SAM_PROTO_GetShiftState done [08:17:23]FM_GetShiftState done [08:17:23]req_shift_opened done [08:17:23]requested_item shift.open_date is exist - process it [08:17:23]req_shift_open_date [08:17:23]req_shift_open_date done [08:17:23]produce_requested_data done [08:17:23]produce_requested_data return {"fd.num":2544,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:17:23]process_action_free x_report [08:17:23]json_value_free [08:17:23]json_value_free done [08:17:23]process_json_proto returns [08:17:23]Send response to host [08:17:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":2544,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:17:23]free response buf [08:17:23]execute_script done [08:17:23]execute_script returns [08:17:23]free content buf [08:17:23]Sock 9.Close socket [08:17:23]Sock 9.Thread stoped [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:05]accept exits with 7 [08:24:05]New connection [08:24:05]New thread 3066707300 created [08:24:05]Thread 3066850660 joined [08:24:05]Waiting for new connection... [08:24:05] Sock 7.Parse request [08:24:05]Sock 7.Check first char [08:24:05]Sock 7.First char is OK [08:24:05]request: POST /json_proto HTTP/1.0 [08:24:05]Method: POST [08:24:05]URL: /json_proto [08:24:05]Method is POST - this is cgi request [08:24:05]url: /json_proto [08:24:05]query_string will be loaded in cgi processing [08:24:05]execute_cgi json_proto POST (null) [08:24:05]execute_cgi path=json_proto method=POST [08:24:05]POST find Content-Length [08:24:05]Host: 172.17.52.132:8080 [08:24:05]Content-Length: 769 [08:24:05]Content-Type: application/json [08:24:05] [08:24:05]POST finish read [08:24:05]Found Content-Length = 769 [08:24:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475892", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:24:05]execute_script... [08:24:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475892", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:24:05]POST & json_proto [08:24:05]process_json_proto [08:24:05]json parsed OK: [08:24:05]protocol is kg_v1.0 [08:24:05]action value=close_receipt [08:24:05]process_action close_receipt [08:24:05]cmd_close_receipt [08:24:05]MH_GetDate [08:24:05]Write to MH i2c: F0 00 00 B7 42 E8 [08:24:05]Write i2c OK [08:24:05]MH_I2C_Read... [08:24:05]Read from MH i2c: F0 [08:24:05]MH_I2C_Read... [08:24:05]Read from MH i2c: F0 09 00 [08:24:05]MH_I2C_Read... [08:24:05]Read from MH i2c: F0 09 00 B7 42 00 AD 6C 13 67 5A BE F6 66 F8 [08:24:05]GetLastDocTimeStamp 1729325840 [08:24:05]current date 1729326253 [08:24:05]FM_GetShiftState [08:24:05]SAM_PROTO_GetShiftState [08:24:05]wFMCommunicate request_size=4 [08:24:05]MH_SAM_APDU [08:24:05]CAPDU: 80 13 01 00 [08:24:05]Write to MH i2c: E2 08 00 B8 42 80 13 01 00 00 00 00 00 77 [08:24:05]Write i2c OK [08:24:05]MH_I2C_Read... [08:24:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:24:05]Read from MH i2c: E2 [08:24:05]MH_I2C_Read... [08:24:05]Read from MH i2c: E2 0E 00 [08:24:05]MH_I2C_Read... [08:24:05]Read from MH i2c: E2 0E 00 B8 42 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 20 [08:24:05]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:24:05]wFMCommunicate OK [08:24:05]SAM_PROTO_GetShiftState done [08:24:05]FM_GetShiftState done [08:24:05]opened in 1729296173 [08:24:05]opened+sec_in_day 1729382573 [08:24:05]quantity*price = 100015 [08:24:05]sum+1 = 100017 [08:24:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.16 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 0.00 Безнал.: 1000.16 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 6 19.10.2024 08:24 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2545 ФПД: 259559141969142 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T082413&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2545&fm=259559141969142&tin=02508201610067®Number=0000000000207295&sum=100016 [08:24:06]StoreToDocumentArchive [08:24:06]shift 23 fd 2545 [08:24:06]save to /storage/0023/doc_00002545 [08:24:06]save last doc name /storage/0023/doc_00002545 to /storage/kkm_last_doc_name [08:24:06]save OK [08:24:06]Clear old archive folders... [08:24:06]Remove dir /storage/0010 [08:24:06]opendir ok [08:24:06]file . [08:24:06]file .. [08:24:06]file doc_1729325848 [08:24:06]remove file /storage/0010/doc_1729325848 [08:24:06]remove dir /storage/0010 [08:24:06]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:24:06]tlvbuf is 014457A0 [08:24:06]SAM_PROTO_ClearQueue [08:24:06]wFMCommunicate request_size=4 [08:24:06]MH_SAM_APDU [08:24:06]CAPDU: 80 09 00 00 [08:24:06]Write to MH i2c: E2 08 00 C5 42 80 09 00 00 00 00 00 00 79 [08:24:06]Write i2c OK [08:24:06]MH_I2C_Read... [08:24:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:24:06]Read from MH i2c: E2 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 C5 42 00 90 00 7B [08:24:06]RAPDU: 90 00 [08:24:06]wFMCommunicate OK [08:24:06]SAM_PROTO_ClearQueue done [08:24:06]KKMCreateOFDPacket [08:24:06]OFDProtocolAddRootSTLVToBuf [08:24:06]FM_MakeSignedData [08:24:06]FM_MakeSignedData [08:24:06]SAM_PROTO_SignData [08:24:06]wFMCommunicate request_size=4 [08:24:06]MH_SAM_APDU [08:24:06]CAPDU: 80 0D 01 02 [08:24:06]Write to MH i2c: E2 08 00 C6 42 80 0D 01 02 00 00 00 00 81 [08:24:06]Write i2c OK [08:24:06]MH_I2C_Read... [08:24:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:24:06]Read from MH i2c: E2 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 C6 42 00 90 00 7C [08:24:06]RAPDU: 90 00 [08:24:06]wFMCommunicate OK [08:24:06]wFMCommunicate request_size=255 [08:24:06]MH_SAM_APDU [08:24:06]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 AD 6C 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F1 09 00 00 35 04 06 00 EC [08:24:06]Write to MH i2c: E2 02 01 C7 42 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 AD 6C 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F1 09 00 00 35 04 06 00 EC 00 00 B5 [08:24:06]Write i2c OK [08:24:06]MH_I2C_Read... [08:24:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:06]Read from MH i2c: E2 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 C7 42 00 90 00 7D [08:24:06]RAPDU: 90 00 [08:24:06]wFMCommunicate OK [08:24:06]wFMCommunicate request_size=10 [08:24:06]MH_SAM_APDU [08:24:06]CAPDU: 80 0D 02 02 05 11 52 74 8C F6 [08:24:06]Write to MH i2c: E2 0D 00 C8 42 80 0D 02 02 05 00 11 52 74 8C F6 00 00 E7 [08:24:06]Write i2c OK [08:24:06]MH_I2C_Read... [08:24:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:06]Read from MH i2c: E2 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 C8 42 00 90 00 7E [08:24:06]RAPDU: 90 00 [08:24:06]wFMCommunicate OK [08:24:06]wFMCommunicate request_size=4 [08:24:06]MH_SAM_APDU [08:24:06]CAPDU: 80 0D 03 02 [08:24:06]Write to MH i2c: E2 08 00 C9 42 80 0D 03 02 00 00 00 00 86 [08:24:06]Write i2c OK [08:24:06]MH_I2C_Read... [08:24:06]OFD Sender: No OFD packet to send [08:24:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:24:06]Read from MH i2c: E2 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 0B 00 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 0B 00 C9 42 00 C1 3A 1E 12 93 8E C3 E4 90 00 7A [08:24:06]RAPDU: C1 3A 1E 12 93 8E C3 E4 90 00 [08:24:06]wFMCommunicate OK [08:24:06]SAM_PROTO_SignData done [08:24:06]FM_MakeSignedData done [08:24:06]CreateOFDProtocolMessage [08:24:06]wFMCommunicate request_size=4 [08:24:06]MH_SAM_APDU [08:24:06]CAPDU: 80 11 00 00 [08:24:06]Write to MH i2c: E2 08 00 CA 42 80 11 00 00 00 00 00 00 86 [08:24:06]Write i2c OK [08:24:06]MH_I2C_Read... [08:24:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:24:06]Read from MH i2c: E2 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 17 00 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 17 00 CA 42 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 CE [08:24:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:24:06]wFMCommunicate OK [08:24:06]CreateOFDProtocolMessage done [08:24:06]OFDSenderStorePacket 2545 [08:24:06]StoreOFDPacket docnum=2545 [08:24:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0F 01 00 00 17 02 07 01 10 B0 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 AD 6C 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F1 09 00 00 35 04 06 00 EC 11 52 74 8C F6 C1 3A 1E 12 93 8E C3 E4 [08:24:06]CheckFolder [08:24:06]dirname=/storage/ofd_packets [08:24:06]CheckFolder done [08:24:06]ProducePacketName [08:24:06]name=ofd_packets/00002545 [08:24:06]NVStorageSaveData ofd_packets/00002545 [08:24:06]File name is /storage/ofd_packets/00002545 [08:24:06]Write 301 bytes [08:24:06]NVStorageSaveData done [08:24:06]OFDSenderStorePacket done [08:24:06]KKMCreateOFDPacket done [08:24:06]NVStorageSaveData kkm_last_timestamp [08:24:06]File name is /storage/kkm_last_timestamp [08:24:06]Write 4 bytes [08:24:06]NVStorageSaveData done [08:24:06]ExternCall_PrintAddStr [08:24:06]wPrintStart [08:24:06]Write to MH i2c: 01 00 00 CB 42 0D [08:24:06]Write i2c OK [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: 01 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: 01 07 00 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: 01 07 00 CB 42 00 00 00 00 00 FF 0F 22 [08:24:06]RasterBufferAndPrint [08:24:06]line Счет N : (1)475892 [08:24:06]line ИНН: 02508201610067 [08:24:06]line Контрольно-Кассовый Чек [08:24:06]line ПРОДАЖА [08:24:06]line ТРК (МРК, ГНК) : 12 [08:24:06]line Товар: 2710124130 [08:24:06]line Аи-92-К-5 [08:24:06]line 14.950 * 66.90 [08:24:06]line = 1000.16 [08:24:06]line НДС 12% НСП 1% [08:24:06]line > о реализуемом товаре [08:24:06]line ИТОГО: 1000.16 [08:24:06]line НСП 1% : 8.85 [08:24:06]line НДС 12% : 106.21 [08:24:06]line Наличными: 0.00 [08:24:06]line Безнал.: 1000.16 [08:24:06]line Место: АЗС № 162 "Партнер Нефть" [08:24:06]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:24:06]line СНО: Общий режим [08:24:06]line Чек 6 19.10.2024 08:24 [08:24:06]line Смена: 23 ФФД: 1.0 [08:24:06]line ЗНМ: 0300000191 [08:24:07]line РНМ: 0000000000207295 [08:24:07]line Версия ККМ: v1.0 [08:24:07]line Платежная система: Mbank [08:24:07]line ФМ: 0000000002342820 [08:24:07]line ФД: 2545 [08:24:07]line ФПД: 259559141969142 [08:24:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T082413&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2545&fm=259559141969142&tin=02508201610067®Number=0000000000207295&sum=100016 [08:24:07]OFD Sender: Processing packet 2545 [packets to send 1, broken 0] [08:24:07]ProducePacketName [08:24:07]name=ofd_packets/00002545 [08:24:07]OFD Sender: To server: pG, [08:24:07]CommunicateWithHost lk.salyk.kg:30040 [08:24:07]ConnectInit lk.salyk.kg [08:24:07]written 0, free lines is 4095 [08:24:07]Connected sock=10 [08:24:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0F 01 00 00 17 02 07 01 10 B0 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 AD 6C 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F1 09 00 00 35 04 06 00 EC 11 52 74 8C F6 C1 3A 1E 12 93 8E C3 E4 [08:24:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 29 D4 47 00 1F 14 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F1 09 00 00 F4 03 04 00 0F 18 13 67 B6 04 01 00 00 C2 22 A1 5E 3C D6 18 67 [08:24:07]CommunicateWithHost err = 0 [08:24:07]CheckOFDResponse [08:24:07]1017 (14) - 77093643461234 [08:24:07]1041 (16) - 0000000002342820 [08:24:07]1040 (4) - 2545 [08:24:07]1012 (4) - 19.10.2024 02:23 [08:24:07]1206 (1) - 0 [08:24:07]OFD Sender: Remove packet 2545 [08:24:07]ProducePacketName [08:24:07]name=ofd_packets/00002545 [08:24:07]NVStorageDeleteData [08:24:07]Write to MH i2c: 01 00 00 F4 42 36 [08:24:07]Write i2c OK [08:24:07]MH_I2C_Read... [08:24:07]Read from MH i2c: 01 [08:24:07]MH_I2C_Read... [08:24:07]Read from MH i2c: 01 07 00 [08:24:07]MH_I2C_Read... [08:24:07]Read from MH i2c: 01 07 00 F4 42 00 00 00 00 00 BE 0C 07 [08:24:07]RasterBufferAndPrint [08:24:07]line [08:24:07]line [08:24:07]line [08:24:07]line [08:24:07]line [08:24:07]written 0, free lines is 3267 [08:24:07]MH_Cut [08:24:07]Write to MH i2c: D1 01 00 FB 42 01 0F [08:24:07]Write i2c OK [08:24:07]MH_I2C_Read... [08:24:07]Read from MH i2c: D1 [08:24:07]MH_I2C_Read... [08:24:07]Read from MH i2c: D1 01 00 [08:24:07]MH_I2C_Read... [08:24:07]Read from MH i2c: D1 01 00 FB 42 00 0E [08:24:07]Write to MH i2c: 01 00 00 FC 42 3E [08:24:07]Write i2c OK [08:24:07]MH_I2C_Read... [08:24:08]OFD Sender: No OFD packet to send [08:24:08]*** Cut start [08:24:08]*** Partial cut [08:24:08]*** CUTSNS_PIN = 1 [08:24:08]*** CUTSNS_PIN = 0 [08:24:08]*** Brake cut motor [08:24:09]Read from MH i2c: 01 [08:24:09]MH_I2C_Read... [08:24:09]*** Stop cut motor [08:24:09]*** Cut end [08:24:09]Read from MH i2c: 01 07 00 [08:24:09]MH_I2C_Read... [08:24:09]Read from MH i2c: 01 07 00 FC 42 00 00 00 00 00 FF 0F 53 [08:24:09]process_action close_receipt done [08:24:09]requested_data is exist [08:24:09]produce_requested_data [08:24:09]requested_item fm.sn is exist - process it [08:24:09]wFMCommunicate request_size=4 [08:24:09]MH_SAM_APDU [08:24:09]CAPDU: 80 11 00 00 [08:24:09]Write to MH i2c: E2 08 00 FD 42 80 11 00 00 00 00 00 00 B9 [08:24:09]Write i2c OK [08:24:09]MH_I2C_Read... [08:24:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:24:09]Read from MH i2c: E2 [08:24:09]MH_I2C_Read... [08:24:09]Read from MH i2c: E2 17 00 [08:24:09]MH_I2C_Read... [08:24:09]Read from MH i2c: E2 17 00 FD 42 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 01 [08:24:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:24:09]wFMCommunicate OK [08:24:09]requested_item fd.num is exist - process it [08:24:09]SAM_PROTO_GetFieldsCounters [08:24:09]wFMCommunicate request_size=4 [08:24:09]MH_SAM_APDU [08:24:09]CAPDU: 80 13 00 00 [08:24:09]Write to MH i2c: E2 08 00 FE 42 80 13 00 00 00 00 00 00 BC [08:24:09]Write i2c OK [08:24:09]MH_I2C_Read... [08:24:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:24:09]Read from MH i2c: E2 [08:24:09]MH_I2C_Read... [08:24:09]Read from MH i2c: E2 62 00 [08:24:09]MH_I2C_Read... [08:24:09]Read from MH i2c: E2 62 00 FE 42 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F1 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 F5 [08:24:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F1 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:24:09]wFMCommunicate OK [08:24:09]SAM_PROTO_GetFieldsCounters done [08:24:09]requested_item shift.num is exist - process it [08:24:09]requested_item shift.opened is exist - process it [08:24:09]req_shift_opened [08:24:09]FM_GetShiftState [08:24:09]SAM_PROTO_GetShiftState [08:24:09]wFMCommunicate request_size=4 [08:24:09]MH_SAM_APDU [08:24:09]CAPDU: 80 13 01 00 [08:24:09]Write to MH i2c: E2 08 00 FF 42 80 13 01 00 00 00 00 00 BE [08:24:09]Write i2c OK [08:24:09]MH_I2C_Read... [08:24:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:24:09]Read from MH i2c: E2 [08:24:09]MH_I2C_Read... [08:24:09]Read from MH i2c: E2 0E 00 [08:24:09]MH_I2C_Read... [08:24:09]Read from MH i2c: E2 0E 00 FF 42 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 67 [08:24:09]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:24:09]wFMCommunicate OK [08:24:09]SAM_PROTO_GetShiftState done [08:24:09]FM_GetShiftState done [08:24:09]req_shift_opened done [08:24:09]requested_item shift.open_date is exist - process it [08:24:09]req_shift_open_date [08:24:09]req_shift_open_date done [08:24:09]produce_requested_data done [08:24:09]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2545,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:24:09]process_action_free close_receipt [08:24:09]json_value_free [08:24:09]json_value_free done [08:24:09]process_json_proto returns [08:24:09]Send response to host [08:24:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2545,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:24:09]free response buf [08:24:09]execute_script done [08:24:09]execute_script returns [08:24:09]free content buf [08:24:09]Sock 7.Close socket [08:24:09]Sock 7.Thread stoped [08:24:13]OFD Sender: No OFD packet to send [08:24:18]OFD Sender: No OFD packet to send [08:24:23]OFD Sender: No OFD packet to send [08:24:28]OFD Sender: No OFD packet to send [08:24:33]OFD Sender: No OFD packet to send [08:24:38]OFD Sender: No OFD packet to send [08:24:43]OFD Sender: No OFD packet to send [08:24:48]OFD Sender: No OFD packet to send [08:24:53]OFD Sender: No OFD packet to send [08:24:58]OFD Sender: No OFD packet to send [08:25:03]OFD Sender: No OFD packet to send [08:25:08]OFD Sender: No OFD packet to send [08:25:13]OFD Sender: No OFD packet to send [08:25:15]accept exits with 9 [08:25:15]New connection [08:25:15]New thread 3066850660 created [08:25:15]Thread 3066707300 joined [08:25:15]Waiting for new connection... [08:25:15] Sock 9.Parse request [08:25:15]Sock 9.Check first char [08:25:15]Sock 9.First char is OK [08:25:15]request: POST /json_proto HTTP/1.0 [08:25:15]Method: POST [08:25:15]URL: /json_proto [08:25:15]Method is POST - this is cgi request [08:25:15]url: /json_proto [08:25:15]query_string will be loaded in cgi processing [08:25:15]execute_cgi json_proto POST (null) [08:25:15]execute_cgi path=json_proto method=POST [08:25:15]POST find Content-Length [08:25:15]Host: 172.17.52.132:8080 [08:25:15]Content-Length: 766 [08:25:15]Content-Type: application/json [08:25:15] [08:25:15]POST finish read [08:25:15]Found Content-Length = 766 [08:25:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475893", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 64", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 26.250, "sum" : 2000.25, "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" : 2000.25 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:25:15]execute_script... [08:25:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475893", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 64", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 26.250, "sum" : 2000.25, "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" : 2000.25 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:25:15]POST & json_proto [08:25:15]process_json_proto [08:25:15]json parsed OK: [08:25:15]protocol is kg_v1.0 [08:25:15]action value=close_receipt [08:25:15]process_action close_receipt [08:25:15]cmd_close_receipt [08:25:15]MH_GetDate [08:25:15]Write to MH i2c: F0 00 00 00 43 32 [08:25:15]Write i2c OK [08:25:15]MH_I2C_Read... [08:25:15]Read from MH i2c: F0 [08:25:15]MH_I2C_Read... [08:25:15]Read from MH i2c: F0 09 00 [08:25:15]MH_I2C_Read... [08:25:15]Read from MH i2c: F0 09 00 00 43 00 F4 6C 13 67 5A BE F6 66 89 [08:25:15]GetLastDocTimeStamp 1729326253 [08:25:15]current date 1729326324 [08:25:15]FM_GetShiftState [08:25:15]SAM_PROTO_GetShiftState [08:25:15]wFMCommunicate request_size=4 [08:25:15]MH_SAM_APDU [08:25:15]CAPDU: 80 13 01 00 [08:25:15]Write to MH i2c: E2 08 00 01 43 80 13 01 00 00 00 00 00 C1 [08:25:15]Write i2c OK [08:25:15]MH_I2C_Read... [08:25:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:25:15]Read from MH i2c: E2 [08:25:15]MH_I2C_Read... [08:25:15]Read from MH i2c: E2 0E 00 [08:25:15]MH_I2C_Read... [08:25:15]Read from MH i2c: E2 0E 00 01 43 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 6A [08:25:15]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:25:15]wFMCommunicate OK [08:25:15]SAM_PROTO_GetShiftState done [08:25:15]FM_GetShiftState done [08:25:15]opened in 1729296173 [08:25:15]opened+sec_in_day 1729382573 [08:25:15]quantity*price = 200025 [08:25:15]sum+1 = 200026 [08:25:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2000.25 НСП 1% : 17.70 НДС 12% : 212.42 Наличными: 0.00 Безнал.: 2000.25 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 7 19.10.2024 08:25 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2546 ФПД: 172466812968942 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T082524&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2546&fm=172466812968942&tin=02508201610067®Number=0000000000207295&sum=200025 [08:25:16]StoreToDocumentArchive [08:25:16]shift 23 fd 2546 [08:25:16]save to /storage/0023/doc_00002546 [08:25:16]save last doc name /storage/0023/doc_00002546 to /storage/kkm_last_doc_name [08:25:16]save OK [08:25:16]Clear old archive folders... [08:25:16]ProcessDocumentItem done err = 0, tmpTLVsize=248 [08:25:16]tlvbuf is 013A63E0 [08:25:16]SAM_PROTO_ClearQueue [08:25:16]wFMCommunicate request_size=4 [08:25:16]MH_SAM_APDU [08:25:16]CAPDU: 80 09 00 00 [08:25:16]Write to MH i2c: E2 08 00 0E 43 80 09 00 00 00 00 00 00 C3 [08:25:16]Write i2c OK [08:25:16]MH_I2C_Read... [08:25:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:25:16]Read from MH i2c: E2 [08:25:16]MH_I2C_Read... [08:25:16]Read from MH i2c: E2 03 00 [08:25:16]MH_I2C_Read... [08:25:16]Read from MH i2c: E2 03 00 0E 43 00 90 00 C5 [08:25:16]RAPDU: 90 00 [08:25:16]wFMCommunicate OK [08:25:16]SAM_PROTO_ClearQueue done [08:25:16]KKMCreateOFDPacket [08:25:16]OFDProtocolAddRootSTLVToBuf [08:25:16]FM_MakeSignedData [08:25:16]FM_MakeSignedData [08:25:16]SAM_PROTO_SignData [08:25:16]wFMCommunicate request_size=4 [08:25:16]MH_SAM_APDU [08:25:16]CAPDU: 80 0D 01 02 [08:25:16]Write to MH i2c: E2 08 00 0F 43 80 0D 01 02 00 00 00 00 CB [08:25:16]Write i2c OK [08:25:16]MH_I2C_Read... [08:25:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:25:16]Read from MH i2c: E2 [08:25:16]MH_I2C_Read... [08:25:16]Read from MH i2c: E2 03 00 [08:25:16]MH_I2C_Read... [08:25:16]Read from MH i2c: E2 03 00 0F 43 00 90 00 C6 [08:25:16]RAPDU: 90 00 [08:25:16]wFMCommunicate OK [08:25:16]wFMCommunicate request_size=255 [08:25:16]MH_SAM_APDU [08:25:16]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 59 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 59 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 F4 6C 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F2 09 00 00 35 04 06 00 9C DB 8F 1F [08:25:16]Write to MH i2c: E2 02 01 10 43 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 59 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 59 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 F4 6C 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F2 09 00 00 35 04 06 00 9C DB 8F 1F 00 00 7D [08:25:16]Write i2c OK [08:25:16]MH_I2C_Read... [08:25:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:25:17]Read from MH i2c: E2 [08:25:17]MH_I2C_Read... [08:25:17]Read from MH i2c: E2 03 00 [08:25:17]MH_I2C_Read... [08:25:17]Read from MH i2c: E2 03 00 10 43 00 90 00 C7 [08:25:17]RAPDU: 90 00 [08:25:17]wFMCommunicate OK [08:25:17]wFMCommunicate request_size=7 [08:25:17]MH_SAM_APDU [08:25:17]CAPDU: 80 0D 02 02 02 5F EE [08:25:17]Write to MH i2c: E2 0A 00 11 43 80 0D 02 02 02 00 5F EE 00 00 1F [08:25:17]Write i2c OK [08:25:17]MH_I2C_Read... [08:25:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:25:17]Read from MH i2c: E2 [08:25:17]MH_I2C_Read... [08:25:17]Read from MH i2c: E2 03 00 [08:25:17]MH_I2C_Read... [08:25:17]Read from MH i2c: E2 03 00 11 43 00 90 00 C8 [08:25:17]RAPDU: 90 00 [08:25:17]wFMCommunicate OK [08:25:17]wFMCommunicate request_size=4 [08:25:17]MH_SAM_APDU [08:25:17]CAPDU: 80 0D 03 02 [08:25:17]Write to MH i2c: E2 08 00 12 43 80 0D 03 02 00 00 00 00 D0 [08:25:17]Write i2c OK [08:25:17]MH_I2C_Read... [08:25:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:25:17]Read from MH i2c: E2 [08:25:17]MH_I2C_Read... [08:25:17]Read from MH i2c: E2 0B 00 [08:25:17]MH_I2C_Read... [08:25:17]Read from MH i2c: E2 0B 00 12 43 00 6C 80 D0 E3 A7 C3 46 4C 90 00 6C [08:25:17]RAPDU: 6C 80 D0 E3 A7 C3 46 4C 90 00 [08:25:17]wFMCommunicate OK [08:25:17]SAM_PROTO_SignData done [08:25:17]FM_MakeSignedData done [08:25:17]CreateOFDProtocolMessage [08:25:17]wFMCommunicate request_size=4 [08:25:17]MH_SAM_APDU [08:25:17]CAPDU: 80 11 00 00 [08:25:17]Write to MH i2c: E2 08 00 13 43 80 11 00 00 00 00 00 00 D0 [08:25:17]Write i2c OK [08:25:17]MH_I2C_Read... [08:25:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:25:17]Read from MH i2c: E2 [08:25:17]MH_I2C_Read... [08:25:17]Read from MH i2c: E2 17 00 [08:25:17]MH_I2C_Read... [08:25:17]Read from MH i2c: E2 17 00 13 43 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 18 [08:25:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:25:17]wFMCommunicate OK [08:25:17]CreateOFDProtocolMessage done [08:25:17]OFDSenderStorePacket 2546 [08:25:17]StoreOFDPacket docnum=2546 [08:25:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0C 01 00 00 D9 FA 04 01 56 BD 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 59 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 59 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 F4 6C 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F2 09 00 00 35 04 06 00 9C DB 8F 1F 5F EE 6C 80 D0 E3 A7 C3 46 4C [08:25:17]CheckFolder [08:25:17]dirname=/storage/ofd_packets [08:25:17]CheckFolder done [08:25:17]ProducePacketName [08:25:17]name=ofd_packets/00002546 [08:25:17]NVStorageSaveData ofd_packets/00002546 [08:25:17]File name is /storage/ofd_packets/00002546 [08:25:17]Write 298 bytes [08:25:17]NVStorageSaveData done [08:25:17]OFDSenderStorePacket done [08:25:17]KKMCreateOFDPacket done [08:25:17]NVStorageSaveData kkm_last_timestamp [08:25:17]File name is /storage/kkm_last_timestamp [08:25:17]Write 4 bytes [08:25:17]NVStorageSaveData done [08:25:17]ExternCall_PrintAddStr [08:25:17]wPrintStart [08:25:17]Write to MH i2c: 01 00 00 14 43 57 [08:25:17]Write i2c OK [08:25:17]MH_I2C_Read... [08:25:17]Read from MH i2c: 01 [08:25:17]MH_I2C_Read... [08:25:17]Read from MH i2c: 01 07 00 [08:25:17]MH_I2C_Read... [08:25:17]Read from MH i2c: 01 07 00 14 43 00 00 00 00 00 FF 0F 6C [08:25:17]RasterBufferAndPrint [08:25:17]line Счет N : (1)475893 [08:25:17]line ИНН: 02508201610067 [08:25:17]line Контрольно-Кассовый Чек [08:25:17]line ПРОДАЖА [08:25:17]line ТРК (МРК, ГНК) : 64 [08:25:17]line Товар: 2710194210 [08:25:17]line ДТ-К-5 [08:25:17]line 26.250 * 76.20 [08:25:17]line = 2000.25 [08:25:17]line НДС 12% НСП 1% [08:25:17]line > о реализуемом товаре [08:25:17]line ИТОГО: 2000.25 [08:25:17]line НСП 1% : 17.70 [08:25:17]line НДС 12% : 212.42 [08:25:17]line Наличными: 0.00 [08:25:17]line Безнал.: 2000.25 [08:25:17]line Место: АЗС № 162 "Партнер Нефть" [08:25:17]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:25:17]line СНО: Общий режим [08:25:17]line Чек 7 19.10.2024 08:25 [08:25:17]line Смена: 23 ФФД: 1.0 [08:25:17]line ЗНМ: 0300000191 [08:25:17]line РНМ: 0000000000207295 [08:25:17]line Версия ККМ: v1.0 [08:25:17]line Платежная система: Mbank [08:25:17]line ФМ: 0000000002342820 [08:25:17]line ФД: 2546 [08:25:17]line ФПД: 172466812968942 [08:25:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T082524&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2546&fm=172466812968942&tin=02508201610067®Number=0000000000207295&sum=200025 [08:25:17]OFD Sender: Processing packet 2546 [packets to send 1, broken 0] [08:25:17]ProducePacketName [08:25:17]name=ofd_packets/00002546 [08:25:17]OFD Sender: To server: pG, [08:25:17]CommunicateWithHost lk.salyk.kg:30040 [08:25:17]ConnectInit lk.salyk.kg [08:25:17]written 0, free lines is 4095 [08:25:17]Connected sock=10 [08:25:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0C 01 00 00 D9 FA 04 01 56 BD 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 59 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 59 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 F4 6C 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F2 09 00 00 35 04 06 00 9C DB 8F 1F 5F EE 6C 80 D0 E3 A7 C3 46 4C [08:25:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 5E 4D 47 00 5E 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 32 33 34 32 38 32 30 10 04 04 00 F2 09 00 00 F4 03 04 00 55 18 13 67 B6 04 01 00 00 3B F2 25 40 ED E9 F3 1E [08:25:17]CommunicateWithHost err = 0 [08:25:17]CheckOFDResponse [08:25:17]1017 (14) - 77093643461234 [08:25:17]1041 (16) - 0000000002342820 [08:25:17]1040 (4) - 2546 [08:25:17]1012 (4) - 19.10.2024 02:24 [08:25:17]1206 (1) - 0 [08:25:17]OFD Sender: Remove packet 2546 [08:25:17]ProducePacketName [08:25:17]name=ofd_packets/00002546 [08:25:17]NVStorageDeleteData [08:25:18]Write to MH i2c: 01 00 00 3D 43 80 [08:25:18]Write i2c OK [08:25:18]MH_I2C_Read... [08:25:18]Read from MH i2c: 01 [08:25:18]MH_I2C_Read... [08:25:18]Read from MH i2c: 01 07 00 [08:25:18]MH_I2C_Read... [08:25:18]Read from MH i2c: 01 07 00 3D 43 00 00 00 00 00 C1 0C 54 [08:25:18]RasterBufferAndPrint [08:25:18]line [08:25:18]line [08:25:18]line [08:25:18]line [08:25:18]line [08:25:18]written 0, free lines is 3270 [08:25:18]MH_Cut [08:25:18]Write to MH i2c: D1 01 00 44 43 01 59 [08:25:18]Write i2c OK [08:25:18]MH_I2C_Read... [08:25:18]Read from MH i2c: D1 [08:25:18]MH_I2C_Read... [08:25:18]Read from MH i2c: D1 01 00 [08:25:18]MH_I2C_Read... [08:25:18]Read from MH i2c: D1 01 00 44 43 00 58 [08:25:18]Write to MH i2c: 01 00 00 45 43 88 [08:25:18]Write i2c OK [08:25:18]MH_I2C_Read... [08:25:18]OFD Sender: No OFD packet to send [08:25:18]*** Cut start [08:25:18]*** Partial cut [08:25:18]*** CUTSNS_PIN = 1 [08:25:19]*** CUTSNS_PIN = 0 [08:25:19]*** Brake cut motor [08:25:19]Read from MH i2c: 01 [08:25:19]MH_I2C_Read... [08:25:19]*** Stop cut motor [08:25:19]*** Cut end [08:25:19]Read from MH i2c: 01 07 00 [08:25:19]MH_I2C_Read... [08:25:19]Read from MH i2c: 01 07 00 45 43 00 00 00 00 00 FF 0F 9D [08:25:19]process_action close_receipt done [08:25:19]requested_data is exist [08:25:19]produce_requested_data [08:25:19]requested_item fm.sn is exist - process it [08:25:19]wFMCommunicate request_size=4 [08:25:19]MH_SAM_APDU [08:25:19]CAPDU: 80 11 00 00 [08:25:19]Write to MH i2c: E2 08 00 46 43 80 11 00 00 00 00 00 00 03 [08:25:19]Write i2c OK [08:25:19]MH_I2C_Read... [08:25:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:25:19]Read from MH i2c: E2 [08:25:19]MH_I2C_Read... [08:25:19]Read from MH i2c: E2 17 00 [08:25:19]MH_I2C_Read... [08:25:19]Read from MH i2c: E2 17 00 46 43 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 4B [08:25:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:25:19]wFMCommunicate OK [08:25:19]requested_item fd.num is exist - process it [08:25:19]SAM_PROTO_GetFieldsCounters [08:25:19]wFMCommunicate request_size=4 [08:25:19]MH_SAM_APDU [08:25:19]CAPDU: 80 13 00 00 [08:25:19]Write to MH i2c: E2 08 00 47 43 80 13 00 00 00 00 00 00 06 [08:25:19]Write i2c OK [08:25:19]MH_I2C_Read... [08:25:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:25:19]Read from MH i2c: E2 [08:25:19]MH_I2C_Read... [08:25:19]Read from MH i2c: E2 62 00 [08:25:19]MH_I2C_Read... [08:25:19]Read from MH i2c: E2 62 00 47 43 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F2 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 43 [08:25:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F2 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:25:19]wFMCommunicate OK [08:25:19]SAM_PROTO_GetFieldsCounters done [08:25:19]requested_item shift.num is exist - process it [08:25:19]requested_item shift.opened is exist - process it [08:25:19]req_shift_opened [08:25:19]FM_GetShiftState [08:25:19]SAM_PROTO_GetShiftState [08:25:19]wFMCommunicate request_size=4 [08:25:19]MH_SAM_APDU [08:25:19]CAPDU: 80 13 01 00 [08:25:19]Write to MH i2c: E2 08 00 48 43 80 13 01 00 00 00 00 00 08 [08:25:19]Write i2c OK [08:25:19]MH_I2C_Read... [08:25:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:25:19]Read from MH i2c: E2 [08:25:19]MH_I2C_Read... [08:25:19]Read from MH i2c: E2 0E 00 [08:25:19]MH_I2C_Read... [08:25:19]Read from MH i2c: E2 0E 00 48 43 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 B1 [08:25:19]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:25:19]wFMCommunicate OK [08:25:19]SAM_PROTO_GetShiftState done [08:25:19]FM_GetShiftState done [08:25:19]req_shift_opened done [08:25:19]requested_item shift.open_date is exist - process it [08:25:19]req_shift_open_date [08:25:19]req_shift_open_date done [08:25:19]produce_requested_data done [08:25:19]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2546,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:25:19]process_action_free close_receipt [08:25:19]json_value_free [08:25:19]json_value_free done [08:25:19]process_json_proto returns [08:25:19]Send response to host [08:25:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2546,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:25:19]free response buf [08:25:19]execute_script done [08:25:19]execute_script returns [08:25:19]free content buf [08:25:19]Sock 9.Close socket [08:25:19]Sock 9.Thread stoped [08:25:23]OFD Sender: No OFD packet to send [08:25:28]OFD Sender: No OFD packet to send [08:25:33]OFD Sender: No OFD packet to send [08:25:38]OFD Sender: No OFD packet to send [08:25:43]OFD Sender: No OFD packet to send [08:25:48]OFD Sender: No OFD packet to send [08:25:53]OFD Sender: No OFD packet to send [08:25:58]OFD Sender: No OFD packet to send [08:26:03]OFD Sender: No OFD packet to send [08:26:08]OFD Sender: No OFD packet to send [08:26:13]OFD Sender: No OFD packet to send [08:26:18]OFD Sender: No OFD packet to send [08:26:23]OFD Sender: No OFD packet to send [08:26:28]OFD Sender: No OFD packet to send [08:26:33]OFD Sender: No OFD packet to send [08:26:38]OFD Sender: No OFD packet to send [08:26:43]OFD Sender: No OFD packet to send [08:26:48]OFD Sender: No OFD packet to send [08:26:53]OFD Sender: No OFD packet to send [08:26:58]OFD Sender: No OFD packet to send [08:27:03]OFD Sender: No OFD packet to send [08:27:08]OFD Sender: No OFD packet to send [08:27:13]OFD Sender: No OFD packet to send [08:27:18]OFD Sender: No OFD packet to send [08:27:23]OFD Sender: No OFD packet to send [08:27:28]OFD Sender: No OFD packet to send [08:27:33]OFD Sender: No OFD packet to send [08:27:38]OFD Sender: No OFD packet to send [08:27:43]OFD Sender: No OFD packet to send [08:27:48]OFD Sender: No OFD packet to send [08:27:53]OFD Sender: No OFD packet to send [08:27:58]OFD Sender: No OFD packet to send [08:28:03]OFD Sender: No OFD packet to send [08:28:08]OFD Sender: No OFD packet to send [08:28:10]accept exits with 7 [08:28:10]New connection [08:28:10]New thread 3066707300 created [08:28:10]Thread 3066850660 joined [08:28:10]Waiting for new connection... [08:28:10] Sock 7.Parse request [08:28:10]Sock 7.Check first char [08:28:10]Sock 7.First char is OK [08:28:10]request: POST /json_proto HTTP/1.0 [08:28:10]Method: POST [08:28:10]URL: /json_proto [08:28:10]Method is POST - this is cgi request [08:28:10]url: /json_proto [08:28:10]query_string will be loaded in cgi processing [08:28:10]execute_cgi json_proto POST (null) [08:28:10]execute_cgi path=json_proto method=POST [08:28:10]POST find Content-Length [08:28:10]Host: 172.17.52.132:8080 [08:28:10]Content-Length: 677 [08:28:10]Content-Type: application/json [08:28:10] [08:28:10]POST finish read [08:28:10]Found Content-Length = 677 [08:28:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475895", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:28:10]execute_script... [08:28:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475895", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:28:10]POST & json_proto [08:28:10]process_json_proto [08:28:10]json parsed OK: [08:28:10]protocol is kg_v1.0 [08:28:10]action value=close_receipt [08:28:10]process_action close_receipt [08:28:10]cmd_close_receipt [08:28:10]MH_GetDate [08:28:10]Write to MH i2c: F0 00 00 49 43 7B [08:28:10]Write i2c OK [08:28:10]MH_I2C_Read... [08:28:10]Read from MH i2c: F0 [08:28:10]MH_I2C_Read... [08:28:10]Read from MH i2c: F0 09 00 [08:28:10]MH_I2C_Read... [08:28:10]Read from MH i2c: F0 09 00 49 43 00 A3 6D 13 67 5A BE F6 66 82 [08:28:10]GetLastDocTimeStamp 1729326324 [08:28:10]current date 1729326499 [08:28:10]FM_GetShiftState [08:28:10]SAM_PROTO_GetShiftState [08:28:10]wFMCommunicate request_size=4 [08:28:10]MH_SAM_APDU [08:28:10]CAPDU: 80 13 01 00 [08:28:10]Write to MH i2c: E2 08 00 4A 43 80 13 01 00 00 00 00 00 0A [08:28:10]Write i2c OK [08:28:10]MH_I2C_Read... [08:28:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:28:10]Read from MH i2c: E2 [08:28:10]MH_I2C_Read... [08:28:10]Read from MH i2c: E2 0E 00 [08:28:10]MH_I2C_Read... [08:28:10]Read from MH i2c: E2 0E 00 4A 43 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 B3 [08:28:10]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:28:10]wFMCommunicate OK [08:28:10]SAM_PROTO_GetShiftState done [08:28:10]FM_GetShiftState done [08:28:10]opened in 1729296173 [08:28:10]opened+sec_in_day 1729382573 [08:28:10]quantity*price = 50041 [08:28:10]sum+1 = 50042 [08:28:10]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.41 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 8 19.10.2024 08:28 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2547 ФПД: 152386645750336 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T082819&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2547&fm=152386645750336&tin=02508201610067®Number=0000000000207295&sum=50000 [08:28:11]StoreToDocumentArchive [08:28:11]shift 23 fd 2547 [08:28:11]save to /storage/0023/doc_00002547 [08:28:11]save last doc name /storage/0023/doc_00002547 to /storage/kkm_last_doc_name [08:28:11]save OK [08:28:11]Clear old archive folders... [08:28:11]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:28:11]tlvbuf is 01382010 [08:28:11]SAM_PROTO_ClearQueue [08:28:11]wFMCommunicate request_size=4 [08:28:11]MH_SAM_APDU [08:28:11]CAPDU: 80 09 00 00 [08:28:11]Write to MH i2c: E2 08 00 57 43 80 09 00 00 00 00 00 00 0C [08:28:11]Write i2c OK [08:28:11]MH_I2C_Read... [08:28:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:28:11]Read from MH i2c: E2 [08:28:11]MH_I2C_Read... [08:28:11]Read from MH i2c: E2 03 00 [08:28:11]MH_I2C_Read... [08:28:11]Read from MH i2c: E2 03 00 57 43 00 90 00 0E [08:28:11]RAPDU: 90 00 [08:28:11]wFMCommunicate OK [08:28:11]SAM_PROTO_ClearQueue done [08:28:11]KKMCreateOFDPacket [08:28:11]OFDProtocolAddRootSTLVToBuf [08:28:11]FM_MakeSignedData [08:28:11]FM_MakeSignedData [08:28:11]SAM_PROTO_SignData [08:28:11]wFMCommunicate request_size=4 [08:28:11]MH_SAM_APDU [08:28:11]CAPDU: 80 0D 01 02 [08:28:11]Write to MH i2c: E2 08 00 58 43 80 0D 01 02 00 00 00 00 14 [08:28:11]Write i2c OK [08:28:11]MH_I2C_Read... [08:28:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:28:11]Read from MH i2c: E2 [08:28:11]MH_I2C_Read... [08:28:11]Read from MH i2c: E2 03 00 [08:28:11]MH_I2C_Read... [08:28:11]Read from MH i2c: E2 03 00 58 43 00 90 00 0F [08:28:11]RAPDU: 90 00 [08:28:11]wFMCommunicate OK [08:28:11]wFMCommunicate request_size=255 [08:28:11]MH_SAM_APDU [08:28:11]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 A3 6D 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F3 09 00 00 35 04 06 00 8A [08:28:11]Write to MH i2c: E2 02 01 59 43 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 A3 6D 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F3 09 00 00 35 04 06 00 8A 00 00 C7 [08:28:11]Write i2c OK [08:28:11]MH_I2C_Read... [08:28:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:28:12]Read from MH i2c: E2 [08:28:12]MH_I2C_Read... [08:28:12]Read from MH i2c: E2 03 00 [08:28:12]MH_I2C_Read... [08:28:12]Read from MH i2c: E2 03 00 59 43 00 90 00 10 [08:28:12]RAPDU: 90 00 [08:28:12]wFMCommunicate OK [08:28:12]wFMCommunicate request_size=10 [08:28:12]MH_SAM_APDU [08:28:12]CAPDU: 80 0D 02 02 05 98 47 E3 72 40 [08:28:12]Write to MH i2c: E2 0D 00 5A 43 80 0D 02 02 05 00 98 47 E3 72 40 00 00 95 [08:28:12]Write i2c OK [08:28:12]MH_I2C_Read... [08:28:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:28:12]Read from MH i2c: E2 [08:28:12]MH_I2C_Read... [08:28:12]Read from MH i2c: E2 03 00 [08:28:12]MH_I2C_Read... [08:28:12]Read from MH i2c: E2 03 00 5A 43 00 90 00 11 [08:28:12]RAPDU: 90 00 [08:28:12]wFMCommunicate OK [08:28:12]wFMCommunicate request_size=4 [08:28:12]MH_SAM_APDU [08:28:12]CAPDU: 80 0D 03 02 [08:28:12]Write to MH i2c: E2 08 00 5B 43 80 0D 03 02 00 00 00 00 19 [08:28:12]Write i2c OK [08:28:12]MH_I2C_Read... [08:28:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:28:12]Read from MH i2c: E2 [08:28:12]MH_I2C_Read... [08:28:12]Read from MH i2c: E2 0B 00 [08:28:12]MH_I2C_Read... [08:28:12]Read from MH i2c: E2 0B 00 5B 43 00 C9 C2 36 09 5D 70 07 26 90 00 DE [08:28:12]RAPDU: C9 C2 36 09 5D 70 07 26 90 00 [08:28:12]wFMCommunicate OK [08:28:12]SAM_PROTO_SignData done [08:28:12]FM_MakeSignedData done [08:28:12]CreateOFDProtocolMessage [08:28:12]wFMCommunicate request_size=4 [08:28:12]MH_SAM_APDU [08:28:12]CAPDU: 80 11 00 00 [08:28:12]Write to MH i2c: E2 08 00 5C 43 80 11 00 00 00 00 00 00 19 [08:28:12]Write i2c OK [08:28:12]MH_I2C_Read... [08:28:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:28:12]Read from MH i2c: E2 [08:28:12]MH_I2C_Read... [08:28:12]Read from MH i2c: E2 17 00 [08:28:12]MH_I2C_Read... [08:28:12]Read from MH i2c: E2 17 00 5C 43 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 61 [08:28:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:28:12]wFMCommunicate OK [08:28:12]CreateOFDProtocolMessage done [08:28:12]OFDSenderStorePacket 2547 [08:28:12]StoreOFDPacket docnum=2547 [08:28:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0F 01 00 00 F6 B0 07 01 31 57 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 A3 6D 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F3 09 00 00 35 04 06 00 8A 98 47 E3 72 40 C9 C2 36 09 5D 70 07 26 [08:28:12]CheckFolder [08:28:12]dirname=/storage/ofd_packets [08:28:12]CheckFolder done [08:28:12]ProducePacketName [08:28:12]name=ofd_packets/00002547 [08:28:12]NVStorageSaveData ofd_packets/00002547 [08:28:12]File name is /storage/ofd_packets/00002547 [08:28:12]Write 301 bytes [08:28:12]NVStorageSaveData done [08:28:12]OFDSenderStorePacket done [08:28:12]KKMCreateOFDPacket done [08:28:12]NVStorageSaveData kkm_last_timestamp [08:28:12]File name is /storage/kkm_last_timestamp [08:28:12]Write 4 bytes [08:28:12]NVStorageSaveData done [08:28:12]ExternCall_PrintAddStr [08:28:12]wPrintStart [08:28:12]Write to MH i2c: 01 00 00 5D 43 A0 [08:28:12]Write i2c OK [08:28:12]MH_I2C_Read... [08:28:12]Read from MH i2c: 01 [08:28:12]MH_I2C_Read... [08:28:12]Read from MH i2c: 01 07 00 [08:28:12]MH_I2C_Read... [08:28:12]Read from MH i2c: 01 07 00 5D 43 00 00 00 00 00 FF 0F B5 [08:28:12]RasterBufferAndPrint [08:28:12]line Счет N : (1)475895 [08:28:12]line ИНН: 02508201610067 [08:28:12]line Контрольно-Кассовый Чек [08:28:12]line ПРОДАЖА [08:28:12]line ТРК (МРК, ГНК) : 12 [08:28:12]line Товар: 2710124130 [08:28:12]line Аи-92-К-5 [08:28:12]line 7.480 * 66.90 [08:28:12]line = 500.41 [08:28:12]line НДС 12% НСП 1% [08:28:12]line > о реализуемом товаре [08:28:12]line ОКРУГЛЕНИЕ: -0.41 [08:28:12]line ИТОГО: 500.00 [08:28:12]line Внесено: 500.00 [08:28:12]line СДАЧА: 0.00 [08:28:12]line НСП 1% : 4.43 [08:28:12]line НДС 12% : 53.14 [08:28:12]line Наличными: 500.00 [08:28:12]line Безнал.: 0.00 [08:28:12]line Место: АЗС № 162 "Партнер Нефть" [08:28:12]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:28:12]line СНО: Общий режим [08:28:12]line Чек 8 19.10.2024 08:28 [08:28:12]line Смена: 23 ФФД: 1.0 [08:28:12]line ЗНМ: 0300000191 [08:28:12]line РНМ: 0000000000207295 [08:28:12]line Версия ККМ: v1.0 [08:28:12]line ФМ: 0000000002342820 [08:28:12]line ФД: 2547 [08:28:12]line ФПД: 152386645750336 [08:28:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T082819&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2547&fm=152386645750336&tin=02508201610067®Number=0000000000207295&sum=50000 [08:28:12]OFD Sender: Processing packet 2547 [packets to send 1, broken 0] [08:28:12]ProducePacketName [08:28:12]name=ofd_packets/00002547 [08:28:12]OFD Sender: To server: pG, [08:28:12]CommunicateWithHost lk.salyk.kg:30040 [08:28:12]ConnectInit lk.salyk.kg [08:28:12]written 0, free lines is 4095 [08:28:12]Connected sock=10 [08:28:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0F 01 00 00 F6 B0 07 01 31 57 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 A3 6D 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F3 09 00 00 35 04 06 00 8A 98 47 E3 72 40 C9 C2 36 09 5D 70 07 26 [08:28:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 23 5A 47 00 3F CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F3 09 00 00 F4 03 04 00 04 19 13 67 B6 04 01 00 00 B4 78 76 16 3C DA 00 C2 [08:28:12]CommunicateWithHost err = 0 [08:28:12]CheckOFDResponse [08:28:12]1017 (14) - 77093643461234 [08:28:12]1041 (16) - 0000000002342820 [08:28:12]1040 (4) - 2547 [08:28:12]1012 (4) - 19.10.2024 02:27 [08:28:12]1206 (1) - 0 [08:28:12]OFD Sender: Remove packet 2547 [08:28:12]ProducePacketName [08:28:12]name=ofd_packets/00002547 [08:28:13]NVStorageDeleteData [08:28:13]Write to MH i2c: 01 00 00 88 43 CB [08:28:13]Write i2c OK [08:28:13]MH_I2C_Read... [08:28:13]Read from MH i2c: 01 [08:28:13]MH_I2C_Read... [08:28:13]Read from MH i2c: 01 07 00 [08:28:13]MH_I2C_Read... [08:28:13]Read from MH i2c: 01 07 00 88 43 00 00 00 00 00 9B 0C 79 [08:28:13]RasterBufferAndPrint [08:28:13]line [08:28:13]line [08:28:13]line [08:28:13]line [08:28:13]line [08:28:13]written 0, free lines is 3233 [08:28:13]MH_Cut [08:28:13]Write to MH i2c: D1 01 00 8F 43 01 A4 [08:28:13]Write i2c OK [08:28:13]MH_I2C_Read... [08:28:13]Read from MH i2c: D1 [08:28:13]MH_I2C_Read... [08:28:13]Read from MH i2c: D1 01 00 [08:28:13]MH_I2C_Read... [08:28:13]Read from MH i2c: D1 01 00 8F 43 00 A3 [08:28:13]Write to MH i2c: 01 00 00 90 43 D3 [08:28:13]Write i2c OK [08:28:13]MH_I2C_Read... [08:28:13]OFD Sender: No OFD packet to send [08:28:14]*** Cut start [08:28:14]*** Partial cut [08:28:14]*** CUTSNS_PIN = 1 [08:28:14]*** CUTSNS_PIN = 0 [08:28:14]*** Brake cut motor [08:28:14]Read from MH i2c: 01 [08:28:14]MH_I2C_Read... [08:28:14]*** Stop cut motor [08:28:14]*** Cut end [08:28:14]Read from MH i2c: 01 07 00 [08:28:14]MH_I2C_Read... [08:28:14]Read from MH i2c: 01 07 00 90 43 00 00 00 00 00 FF 0F E8 [08:28:14]process_action close_receipt done [08:28:14]requested_data is exist [08:28:14]produce_requested_data [08:28:14]requested_item fm.sn is exist - process it [08:28:14]wFMCommunicate request_size=4 [08:28:14]MH_SAM_APDU [08:28:14]CAPDU: 80 11 00 00 [08:28:14]Write to MH i2c: E2 08 00 91 43 80 11 00 00 00 00 00 00 4E [08:28:14]Write i2c OK [08:28:14]MH_I2C_Read... [08:28:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:28:14]Read from MH i2c: E2 [08:28:14]MH_I2C_Read... [08:28:14]Read from MH i2c: E2 17 00 [08:28:14]MH_I2C_Read... [08:28:14]Read from MH i2c: E2 17 00 91 43 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 96 [08:28:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:28:14]wFMCommunicate OK [08:28:14]requested_item fd.num is exist - process it [08:28:14]SAM_PROTO_GetFieldsCounters [08:28:14]wFMCommunicate request_size=4 [08:28:14]MH_SAM_APDU [08:28:14]CAPDU: 80 13 00 00 [08:28:14]Write to MH i2c: E2 08 00 92 43 80 13 00 00 00 00 00 00 51 [08:28:14]Write i2c OK [08:28:14]MH_I2C_Read... [08:28:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:28:14]Read from MH i2c: E2 [08:28:14]MH_I2C_Read... [08:28:14]Read from MH i2c: E2 62 00 [08:28:14]MH_I2C_Read... [08:28:14]Read from MH i2c: E2 62 00 92 43 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F3 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 92 [08:28:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F3 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:28:14]wFMCommunicate OK [08:28:14]SAM_PROTO_GetFieldsCounters done [08:28:14]requested_item shift.num is exist - process it [08:28:14]requested_item shift.opened is exist - process it [08:28:14]req_shift_opened [08:28:14]FM_GetShiftState [08:28:14]SAM_PROTO_GetShiftState [08:28:14]wFMCommunicate request_size=4 [08:28:14]MH_SAM_APDU [08:28:14]CAPDU: 80 13 01 00 [08:28:14]Write to MH i2c: E2 08 00 93 43 80 13 01 00 00 00 00 00 53 [08:28:14]Write i2c OK [08:28:14]MH_I2C_Read... [08:28:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:28:15]Read from MH i2c: E2 [08:28:15]MH_I2C_Read... [08:28:15]Read from MH i2c: E2 0E 00 [08:28:15]MH_I2C_Read... [08:28:15]Read from MH i2c: E2 0E 00 93 43 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 FC [08:28:15]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:28:15]wFMCommunicate OK [08:28:15]SAM_PROTO_GetShiftState done [08:28:15]FM_GetShiftState done [08:28:15]req_shift_opened done [08:28:15]requested_item shift.open_date is exist - process it [08:28:15]req_shift_open_date [08:28:15]req_shift_open_date done [08:28:15]produce_requested_data done [08:28:15]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2547,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:28:15]process_action_free close_receipt [08:28:15]json_value_free [08:28:15]json_value_free done [08:28:15]process_json_proto returns [08:28:15]Send response to host [08:28:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2547,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:28:15]free response buf [08:28:15]execute_script done [08:28:15]execute_script returns [08:28:15]free content buf [08:28:15]Sock 7.Close socket [08:28:15]Sock 7.Thread stoped [08:28:18]OFD Sender: No OFD packet to send [08:28:23]OFD Sender: No OFD packet to send [08:28:28]OFD Sender: No OFD packet to send [08:28:33]OFD Sender: No OFD packet to send [08:28:38]OFD Sender: No OFD packet to send [08:28:43]OFD Sender: No OFD packet to send [08:28:48]OFD Sender: No OFD packet to send [08:28:53]OFD Sender: No OFD packet to send [08:28:58]OFD Sender: No OFD packet to send [08:29:03]OFD Sender: No OFD packet to send [08:29:08]OFD Sender: No OFD packet to send [08:29:13]OFD Sender: No OFD packet to send [08:29:14]accept exits with 9 [08:29:14]New connection [08:29:14]New thread 3066850660 created [08:29:14]Thread 3066707300 joined [08:29:14]Waiting for new connection... [08:29:14] Sock 9.Parse request [08:29:14]Sock 9.Check first char [08:29:14]Sock 9.First char is OK [08:29:14]request: POST /json_proto HTTP/1.0 [08:29:14]Method: POST [08:29:14]URL: /json_proto [08:29:14]Method is POST - this is cgi request [08:29:14]url: /json_proto [08:29:14]query_string will be loaded in cgi processing [08:29:14]execute_cgi json_proto POST (null) [08:29:14]execute_cgi path=json_proto method=POST [08:29:14]POST find Content-Length [08:29:14]Host: 172.17.52.132:8080 [08:29:14]Content-Length: 769 [08:29:14]Content-Type: application/json [08:29:14] [08:29:14]POST finish read [08:29:14]Found Content-Length = 769 [08:29:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475896", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 52", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:29:14]execute_script... [08:29:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475896", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 52", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:29:14]POST & json_proto [08:29:14]process_json_proto [08:29:14]json parsed OK: [08:29:14]protocol is kg_v1.0 [08:29:14]action value=close_receipt [08:29:14]process_action close_receipt [08:29:14]cmd_close_receipt [08:29:14]MH_GetDate [08:29:14]Write to MH i2c: F0 00 00 94 43 C6 [08:29:14]Write i2c OK [08:29:14]MH_I2C_Read... [08:29:14]Read from MH i2c: F0 [08:29:14]MH_I2C_Read... [08:29:14]Read from MH i2c: F0 09 00 [08:29:14]MH_I2C_Read... [08:29:14]Read from MH i2c: F0 09 00 94 43 00 E3 6D 13 67 5A BE F6 66 0D [08:29:14]GetLastDocTimeStamp 1729326499 [08:29:14]current date 1729326563 [08:29:14]FM_GetShiftState [08:29:14]SAM_PROTO_GetShiftState [08:29:14]wFMCommunicate request_size=4 [08:29:14]MH_SAM_APDU [08:29:14]CAPDU: 80 13 01 00 [08:29:14]Write to MH i2c: E2 08 00 95 43 80 13 01 00 00 00 00 00 55 [08:29:14]Write i2c OK [08:29:14]MH_I2C_Read... [08:29:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:29:14]Read from MH i2c: E2 [08:29:14]MH_I2C_Read... [08:29:14]Read from MH i2c: E2 0E 00 [08:29:14]MH_I2C_Read... [08:29:14]Read from MH i2c: E2 0E 00 95 43 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 FE [08:29:14]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:29:14]wFMCommunicate OK [08:29:14]SAM_PROTO_GetShiftState done [08:29:14]FM_GetShiftState done [08:29:14]opened in 1729296173 [08:29:14]opened+sec_in_day 1729382573 [08:29:14]quantity*price = 100015 [08:29:14]sum+1 = 100017 [08:29:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.16 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 0.00 Безнал.: 1000.16 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 9 19.10.2024 08:29 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2548 ФПД: 92387420950742 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T082923&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2548&fm=92387420950742&tin=02508201610067®Number=0000000000207295&sum=100016 [08:29:15]StoreToDocumentArchive [08:29:15]shift 23 fd 2548 [08:29:15]save to /storage/0023/doc_00002548 [08:29:15]save last doc name /storage/0023/doc_00002548 to /storage/kkm_last_doc_name [08:29:15]save OK [08:29:15]Clear old archive folders... [08:29:15]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:29:15]tlvbuf is 01381D50 [08:29:15]SAM_PROTO_ClearQueue [08:29:15]wFMCommunicate request_size=4 [08:29:15]MH_SAM_APDU [08:29:15]CAPDU: 80 09 00 00 [08:29:15]Write to MH i2c: E2 08 00 A2 43 80 09 00 00 00 00 00 00 57 [08:29:15]Write i2c OK [08:29:15]MH_I2C_Read... [08:29:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:29:15]Read from MH i2c: E2 [08:29:15]MH_I2C_Read... [08:29:15]Read from MH i2c: E2 03 00 [08:29:15]MH_I2C_Read... [08:29:15]Read from MH i2c: E2 03 00 A2 43 00 90 00 59 [08:29:15]RAPDU: 90 00 [08:29:15]wFMCommunicate OK [08:29:15]SAM_PROTO_ClearQueue done [08:29:15]KKMCreateOFDPacket [08:29:15]OFDProtocolAddRootSTLVToBuf [08:29:15]FM_MakeSignedData [08:29:15]FM_MakeSignedData [08:29:15]SAM_PROTO_SignData [08:29:15]wFMCommunicate request_size=4 [08:29:15]MH_SAM_APDU [08:29:15]CAPDU: 80 0D 01 02 [08:29:15]Write to MH i2c: E2 08 00 A3 43 80 0D 01 02 00 00 00 00 5F [08:29:15]Write i2c OK [08:29:15]MH_I2C_Read... [08:29:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:29:15]Read from MH i2c: E2 [08:29:15]MH_I2C_Read... [08:29:15]Read from MH i2c: E2 03 00 [08:29:15]MH_I2C_Read... [08:29:15]Read from MH i2c: E2 03 00 A3 43 00 90 00 5A [08:29:15]RAPDU: 90 00 [08:29:15]wFMCommunicate OK [08:29:15]wFMCommunicate request_size=255 [08:29:15]MH_SAM_APDU [08:29:15]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 E3 6D 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F4 09 00 00 35 04 06 00 54 [08:29:15]Write to MH i2c: E2 02 01 A4 43 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 E3 6D 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F4 09 00 00 35 04 06 00 54 00 00 38 [08:29:15]Write i2c OK [08:29:15]MH_I2C_Read... [08:29:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:29:16]Read from MH i2c: E2 [08:29:16]MH_I2C_Read... [08:29:16]Read from MH i2c: E2 03 00 [08:29:16]MH_I2C_Read... [08:29:16]Read from MH i2c: E2 03 00 A4 43 00 90 00 5B [08:29:16]RAPDU: 90 00 [08:29:16]wFMCommunicate OK [08:29:16]wFMCommunicate request_size=10 [08:29:16]MH_SAM_APDU [08:29:16]CAPDU: 80 0D 02 02 05 06 9F 68 50 D6 [08:29:16]Write to MH i2c: E2 0D 00 A5 43 80 0D 02 02 05 00 06 9F 68 50 D6 00 00 9F [08:29:16]Write i2c OK [08:29:16]MH_I2C_Read... [08:29:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:29:16]Read from MH i2c: E2 [08:29:16]MH_I2C_Read... [08:29:16]Read from MH i2c: E2 03 00 [08:29:16]MH_I2C_Read... [08:29:16]Read from MH i2c: E2 03 00 A5 43 00 90 00 5C [08:29:16]RAPDU: 90 00 [08:29:16]wFMCommunicate OK [08:29:16]wFMCommunicate request_size=4 [08:29:16]MH_SAM_APDU [08:29:16]CAPDU: 80 0D 03 02 [08:29:16]Write to MH i2c: E2 08 00 A6 43 80 0D 03 02 00 00 00 00 64 [08:29:16]Write i2c OK [08:29:16]MH_I2C_Read... [08:29:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:29:16]Read from MH i2c: E2 [08:29:16]MH_I2C_Read... [08:29:16]Read from MH i2c: E2 0B 00 [08:29:16]MH_I2C_Read... [08:29:16]Read from MH i2c: E2 0B 00 A6 43 00 7D CE 34 09 C9 41 9B 64 90 00 F6 [08:29:16]RAPDU: 7D CE 34 09 C9 41 9B 64 90 00 [08:29:16]wFMCommunicate OK [08:29:16]SAM_PROTO_SignData done [08:29:16]FM_MakeSignedData done [08:29:16]CreateOFDProtocolMessage [08:29:16]wFMCommunicate request_size=4 [08:29:16]MH_SAM_APDU [08:29:16]CAPDU: 80 11 00 00 [08:29:16]Write to MH i2c: E2 08 00 A7 43 80 11 00 00 00 00 00 00 64 [08:29:16]Write i2c OK [08:29:16]MH_I2C_Read... [08:29:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:29:16]Read from MH i2c: E2 [08:29:16]MH_I2C_Read... [08:29:16]Read from MH i2c: E2 17 00 [08:29:16]MH_I2C_Read... [08:29:16]Read from MH i2c: E2 17 00 A7 43 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 AC [08:29:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:29:16]wFMCommunicate OK [08:29:16]CreateOFDProtocolMessage done [08:29:16]OFDSenderStorePacket 2548 [08:29:16]StoreOFDPacket docnum=2548 [08:29:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0F 01 00 00 A0 F8 07 01 34 67 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 E3 6D 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F4 09 00 00 35 04 06 00 54 06 9F 68 50 D6 7D CE 34 09 C9 41 9B 64 [08:29:16]CheckFolder [08:29:16]dirname=/storage/ofd_packets [08:29:16]CheckFolder done [08:29:16]ProducePacketName [08:29:16]name=ofd_packets/00002548 [08:29:16]NVStorageSaveData ofd_packets/00002548 [08:29:16]File name is /storage/ofd_packets/00002548 [08:29:16]Write 301 bytes [08:29:16]NVStorageSaveData done [08:29:16]OFDSenderStorePacket done [08:29:16]KKMCreateOFDPacket done [08:29:16]NVStorageSaveData kkm_last_timestamp [08:29:16]File name is /storage/kkm_last_timestamp [08:29:16]Write 4 bytes [08:29:16]NVStorageSaveData done [08:29:16]ExternCall_PrintAddStr [08:29:16]wPrintStart [08:29:16]Write to MH i2c: 01 00 00 A8 43 EB [08:29:16]Write i2c OK [08:29:16]MH_I2C_Read... [08:29:16]Read from MH i2c: 01 [08:29:16]MH_I2C_Read... [08:29:16]Read from MH i2c: 01 07 00 [08:29:16]MH_I2C_Read... [08:29:16]Read from MH i2c: 01 07 00 A8 43 00 00 00 00 00 FF 0F 00 [08:29:16]RasterBufferAndPrint [08:29:16]line Счет N : (1)475896 [08:29:16]line ИНН: 02508201610067 [08:29:16]line Контрольно-Кассовый Чек [08:29:16]line ПРОДАЖА [08:29:16]line ТРК (МРК, ГНК) : 52 [08:29:16]line Товар: 2710124130 [08:29:16]line Аи-92-К-5 [08:29:16]line 14.950 * 66.90 [08:29:16]line = 1000.16 [08:29:16]line НДС 12% НСП 1% [08:29:16]line > о реализуемом товаре [08:29:16]line ИТОГО: 1000.16 [08:29:16]line НСП 1% : 8.85 [08:29:16]line НДС 12% : 106.21 [08:29:16]line Наличными: 0.00 [08:29:16]line Безнал.: 1000.16 [08:29:16]line Место: АЗС № 162 "Партнер Нефть" [08:29:16]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:29:16]line СНО: Общий режим [08:29:16]line Чек 9 19.10.2024 08:29 [08:29:16]line Смена: 23 ФФД: 1.0 [08:29:16]line ЗНМ: 0300000191 [08:29:16]line РНМ: 0000000000207295 [08:29:16]line Версия ККМ: v1.0 [08:29:16]line Платежная система: Mbank [08:29:16]line ФМ: 0000000002342820 [08:29:16]line ФД: 2548 [08:29:16]line ФПД: 92387420950742 [08:29:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T082923&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2548&fm=92387420950742&tin=02508201610067®Number=0000000000207295&sum=100016 [08:29:16]OFD Sender: Processing packet 2548 [packets to send 1, broken 0] [08:29:16]ProducePacketName [08:29:16]name=ofd_packets/00002548 [08:29:16]OFD Sender: To server: pG, [08:29:16]CommunicateWithHost lk.salyk.kg:30040 [08:29:16]ConnectInit lk.salyk.kg [08:29:16]written 0, free lines is 4095 [08:29:16]Connected sock=10 [08:29:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0F 01 00 00 A0 F8 07 01 34 67 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 E3 6D 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F4 09 00 00 35 04 06 00 54 06 9F 68 50 D6 7D CE 34 09 C9 41 9B 64 [08:29:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 E5 BE 47 00 DE 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 32 33 34 32 38 32 30 10 04 04 00 F4 09 00 00 F4 03 04 00 44 19 13 67 B6 04 01 00 00 CF 87 CB 80 16 20 F1 31 [08:29:17]CommunicateWithHost err = 0 [08:29:17]CheckOFDResponse [08:29:17]1017 (14) - 77093643461234 [08:29:17]1041 (16) - 0000000002342820 [08:29:17]1040 (4) - 2548 [08:29:17]1012 (4) - 19.10.2024 02:28 [08:29:17]1206 (1) - 0 [08:29:17]OFD Sender: Remove packet 2548 [08:29:17]ProducePacketName [08:29:17]name=ofd_packets/00002548 [08:29:17]NVStorageDeleteData [08:29:17]Write to MH i2c: 01 00 00 D1 43 14 [08:29:17]Write i2c OK [08:29:17]MH_I2C_Read... [08:29:17]Read from MH i2c: 01 [08:29:17]MH_I2C_Read... [08:29:17]Read from MH i2c: 01 07 00 [08:29:17]MH_I2C_Read... [08:29:17]Read from MH i2c: 01 07 00 D1 43 00 00 00 00 00 C0 0C E7 [08:29:17]RasterBufferAndPrint [08:29:17]line [08:29:17]line [08:29:17]line [08:29:17]line [08:29:17]line [08:29:17]written 0, free lines is 3270 [08:29:17]MH_Cut [08:29:17]Write to MH i2c: D1 01 00 D8 43 01 ED [08:29:17]Write i2c OK [08:29:17]MH_I2C_Read... [08:29:17]Read from MH i2c: D1 [08:29:17]MH_I2C_Read... [08:29:17]Read from MH i2c: D1 01 00 [08:29:17]MH_I2C_Read... [08:29:17]Read from MH i2c: D1 01 00 D8 43 00 EC [08:29:17]Write to MH i2c: 01 00 00 D9 43 1C [08:29:17]Write i2c OK [08:29:17]MH_I2C_Read... [08:29:17]OFD Sender: No OFD packet to send [08:29:18]*** Cut start [08:29:18]*** Partial cut [08:29:18]*** CUTSNS_PIN = 1 [08:29:18]*** CUTSNS_PIN = 0 [08:29:18]*** Brake cut motor [08:29:18]Read from MH i2c: 01 [08:29:18]MH_I2C_Read... [08:29:18]*** Stop cut motor [08:29:18]*** Cut end [08:29:18]Read from MH i2c: 01 07 00 [08:29:18]MH_I2C_Read... [08:29:18]Read from MH i2c: 01 07 00 D9 43 00 00 00 00 00 FF 0F 31 [08:29:18]process_action close_receipt done [08:29:18]requested_data is exist [08:29:18]produce_requested_data [08:29:18]requested_item fm.sn is exist - process it [08:29:18]wFMCommunicate request_size=4 [08:29:18]MH_SAM_APDU [08:29:18]CAPDU: 80 11 00 00 [08:29:18]Write to MH i2c: E2 08 00 DA 43 80 11 00 00 00 00 00 00 97 [08:29:18]Write i2c OK [08:29:18]MH_I2C_Read... [08:29:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:29:18]Read from MH i2c: E2 [08:29:18]MH_I2C_Read... [08:29:18]Read from MH i2c: E2 17 00 [08:29:18]MH_I2C_Read... [08:29:18]Read from MH i2c: E2 17 00 DA 43 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 DF [08:29:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:29:18]wFMCommunicate OK [08:29:18]requested_item fd.num is exist - process it [08:29:18]SAM_PROTO_GetFieldsCounters [08:29:18]wFMCommunicate request_size=4 [08:29:18]MH_SAM_APDU [08:29:18]CAPDU: 80 13 00 00 [08:29:18]Write to MH i2c: E2 08 00 DB 43 80 13 00 00 00 00 00 00 9A [08:29:18]Write i2c OK [08:29:18]MH_I2C_Read... [08:29:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:29:18]Read from MH i2c: E2 [08:29:18]MH_I2C_Read... [08:29:18]Read from MH i2c: E2 62 00 [08:29:18]MH_I2C_Read... [08:29:18]Read from MH i2c: E2 62 00 DB 43 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F4 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 DF [08:29:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F4 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:29:18]wFMCommunicate OK [08:29:18]SAM_PROTO_GetFieldsCounters done [08:29:18]requested_item shift.num is exist - process it [08:29:18]requested_item shift.opened is exist - process it [08:29:18]req_shift_opened [08:29:18]FM_GetShiftState [08:29:18]SAM_PROTO_GetShiftState [08:29:18]wFMCommunicate request_size=4 [08:29:18]MH_SAM_APDU [08:29:18]CAPDU: 80 13 01 00 [08:29:18]Write to MH i2c: E2 08 00 DC 43 80 13 01 00 00 00 00 00 9C [08:29:18]Write i2c OK [08:29:18]MH_I2C_Read... [08:29:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:29:18]Read from MH i2c: E2 [08:29:18]MH_I2C_Read... [08:29:18]Read from MH i2c: E2 0E 00 [08:29:18]MH_I2C_Read... [08:29:18]Read from MH i2c: E2 0E 00 DC 43 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 45 [08:29:18]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:29:18]wFMCommunicate OK [08:29:18]SAM_PROTO_GetShiftState done [08:29:18]FM_GetShiftState done [08:29:18]req_shift_opened done [08:29:18]requested_item shift.open_date is exist - process it [08:29:18]req_shift_open_date [08:29:18]req_shift_open_date done [08:29:18]produce_requested_data done [08:29:18]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2548,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:29:18]process_action_free close_receipt [08:29:18]json_value_free [08:29:18]json_value_free done [08:29:18]process_json_proto returns [08:29:18]Send response to host [08:29:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2548,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:29:18]free response buf [08:29:18]execute_script done [08:29:18]execute_script returns [08:29:18]free content buf [08:29:18]Sock 9.Close socket [08:29:18]Sock 9.Thread stoped [08:29:22]OFD Sender: No OFD packet to send [08:29:27]OFD Sender: No OFD packet to send [08:29:32]OFD Sender: No OFD packet to send [08:29:37]OFD Sender: No OFD packet to send [08:29:42]OFD Sender: No OFD packet to send [08:29:47]OFD Sender: No OFD packet to send [08:29:52]OFD Sender: No OFD packet to send [08:29:57]OFD Sender: No OFD packet to send [08:30:02]OFD Sender: No OFD packet to send [08:30:07]OFD Sender: No OFD packet to send [08:30:12]OFD Sender: No OFD packet to send [08:30:17]OFD Sender: No OFD packet to send [08:30:22]OFD Sender: No OFD packet to send [08:30:27]OFD Sender: No OFD packet to send [08:30:32]OFD Sender: No OFD packet to send [08:30:37]OFD Sender: No OFD packet to send [08:30:37]accept exits with 7 [08:30:37]New connection [08:30:37]New thread 3066707300 created [08:30:37]Thread 3066850660 joined [08:30:37]Waiting for new connection... [08:30:37] Sock 7.Parse request [08:30:37]Sock 7.Check first char [08:30:37]Sock 7.First char is OK [08:30:37]request: POST /json_proto HTTP/1.0 [08:30:37]Method: POST [08:30:37]URL: /json_proto [08:30:37]Method is POST - this is cgi request [08:30:37]url: /json_proto [08:30:37]query_string will be loaded in cgi processing [08:30:37]execute_cgi json_proto POST (null) [08:30:37]execute_cgi path=json_proto method=POST [08:30:37]POST find Content-Length [08:30:37]Host: 172.17.52.132:8080 [08:30:37]Content-Length: 674 [08:30:37]Content-Type: application/json [08:30:37] [08:30:37]POST finish read [08:30:37]Found Content-Length = 674 [08:30:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475898", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 0.980, "sum" : 65.56, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 65.00, "payments": [ { "type": 0, "sum" : 65.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:30:37]execute_script... [08:30: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 : (1)475898", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 0.980, "sum" : 65.56, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 65.00, "payments": [ { "type": 0, "sum" : 65.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:30:37]POST & json_proto [08:30:37]process_json_proto [08:30:37]json parsed OK: [08:30:37]protocol is kg_v1.0 [08:30:37]action value=close_receipt [08:30:37]process_action close_receipt [08:30:37]cmd_close_receipt [08:30:37]MH_GetDate [08:30:37]Write to MH i2c: F0 00 00 DD 43 0F [08:30:37]Write i2c OK [08:30:37]MH_I2C_Read... [08:30:37]Read from MH i2c: F0 [08:30:37]MH_I2C_Read... [08:30:37]Read from MH i2c: F0 09 00 [08:30:37]MH_I2C_Read... [08:30:37]Read from MH i2c: F0 09 00 DD 43 00 36 6E 13 67 5A BE F6 66 AA [08:30:37]GetLastDocTimeStamp 1729326563 [08:30:37]current date 1729326646 [08:30:37]FM_GetShiftState [08:30:37]SAM_PROTO_GetShiftState [08:30:37]wFMCommunicate request_size=4 [08:30:37]MH_SAM_APDU [08:30:37]CAPDU: 80 13 01 00 [08:30:37]Write to MH i2c: E2 08 00 DE 43 80 13 01 00 00 00 00 00 9E [08:30:37]Write i2c OK [08:30:37]MH_I2C_Read... [08:30:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:30:37]Read from MH i2c: E2 [08:30:37]MH_I2C_Read... [08:30:37]Read from MH i2c: E2 0E 00 [08:30:37]MH_I2C_Read... [08:30:37]Read from MH i2c: E2 0E 00 DE 43 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 47 [08:30:37]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:30:37]wFMCommunicate OK [08:30:37]SAM_PROTO_GetShiftState done [08:30:37]FM_GetShiftState done [08:30:37]opened in 1729296173 [08:30:37]opened+sec_in_day 1729382573 [08:30:37]quantity*price = 6556 [08:30:37]sum+1 = 6557 [08:30:37]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.56 ИТОГО: 65.00 Внесено: 200.00 СДАЧА: 135.00 НСП 1% : 0.58 НДС 12% : 6.96 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 10 19.10.2024 08:30 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2549 ФПД: 234210396915379 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T083046&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2549&fm=234210396915379&tin=02508201610067®Number=0000000000207295&sum=6500 [08:30:39]StoreToDocumentArchive [08:30:39]shift 23 fd 2549 [08:30:39]save to /storage/0023/doc_00002549 [08:30:39]save last doc name /storage/0023/doc_00002549 to /storage/kkm_last_doc_name [08:30:39]save OK [08:30:39]Clear old archive folders... [08:30:39]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:30:39]tlvbuf is 014164F0 [08:30:39]SAM_PROTO_ClearQueue [08:30:39]wFMCommunicate request_size=4 [08:30:39]MH_SAM_APDU [08:30:39]CAPDU: 80 09 00 00 [08:30:39]Write to MH i2c: E2 08 00 EB 43 80 09 00 00 00 00 00 00 A0 [08:30:39]Write i2c OK [08:30:39]MH_I2C_Read... [08:30:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:30:39]Read from MH i2c: E2 [08:30:39]MH_I2C_Read... [08:30:39]Read from MH i2c: E2 03 00 [08:30:39]MH_I2C_Read... [08:30:39]Read from MH i2c: E2 03 00 EB 43 00 90 00 A2 [08:30:39]RAPDU: 90 00 [08:30:39]wFMCommunicate OK [08:30:39]SAM_PROTO_ClearQueue done [08:30:39]KKMCreateOFDPacket [08:30:39]OFDProtocolAddRootSTLVToBuf [08:30:39]FM_MakeSignedData [08:30:39]FM_MakeSignedData [08:30:39]SAM_PROTO_SignData [08:30:39]wFMCommunicate request_size=4 [08:30:39]MH_SAM_APDU [08:30:39]CAPDU: 80 0D 01 02 [08:30:39]Write to MH i2c: E2 08 00 EC 43 80 0D 01 02 00 00 00 00 A8 [08:30:39]Write i2c OK [08:30:39]MH_I2C_Read... [08:30:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:30:39]Read from MH i2c: E2 [08:30:39]MH_I2C_Read... [08:30:39]Read from MH i2c: E2 03 00 [08:30:39]MH_I2C_Read... [08:30:39]Read from MH i2c: E2 03 00 EC 43 00 90 00 A3 [08:30:39]RAPDU: 90 00 [08:30:39]wFMCommunicate OK [08:30:39]wFMCommunicate request_size=255 [08:30:39]MH_SAM_APDU [08:30:39]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 03 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 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 3A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 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 0A 00 00 00 F4 03 04 00 36 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F5 09 00 00 35 04 06 00 D5 [08:30:39]Write to MH i2c: E2 02 01 ED 43 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 03 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 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 3A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 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 0A 00 00 00 F4 03 04 00 36 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F5 09 00 00 35 04 06 00 D5 00 00 6F [08:30:39]Write i2c OK [08:30:39]MH_I2C_Read... [08:30:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:30:39]Read from MH i2c: E2 [08:30:39]MH_I2C_Read... [08:30:39]Read from MH i2c: E2 03 00 [08:30:39]MH_I2C_Read... [08:30:39]Read from MH i2c: E2 03 00 ED 43 00 90 00 A4 [08:30:39]RAPDU: 90 00 [08:30:39]wFMCommunicate OK [08:30:39]wFMCommunicate request_size=10 [08:30:39]MH_SAM_APDU [08:30:39]CAPDU: 80 0D 02 02 05 03 5B 82 C6 B3 [08:30:39]Write to MH i2c: E2 0D 00 EE 43 80 0D 02 02 05 00 03 5B 82 C6 B3 00 00 0E [08:30:39]Write i2c OK [08:30:39]MH_I2C_Read... [08:30:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:30:39]Read from MH i2c: E2 [08:30:39]MH_I2C_Read... [08:30:39]Read from MH i2c: E2 03 00 [08:30:39]MH_I2C_Read... [08:30:39]Read from MH i2c: E2 03 00 EE 43 00 90 00 A5 [08:30:39]RAPDU: 90 00 [08:30:39]wFMCommunicate OK [08:30:39]wFMCommunicate request_size=4 [08:30:39]MH_SAM_APDU [08:30:39]CAPDU: 80 0D 03 02 [08:30:39]Write to MH i2c: E2 08 00 EF 43 80 0D 03 02 00 00 00 00 AD [08:30:39]Write i2c OK [08:30:39]MH_I2C_Read... [08:30:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:30:39]Read from MH i2c: E2 [08:30:39]MH_I2C_Read... [08:30:39]Read from MH i2c: E2 0B 00 [08:30:39]MH_I2C_Read... [08:30:39]Read from MH i2c: E2 0B 00 EF 43 00 E2 1F A3 8B 5A 96 A1 95 90 00 03 [08:30:39]RAPDU: E2 1F A3 8B 5A 96 A1 95 90 00 [08:30:39]wFMCommunicate OK [08:30:39]SAM_PROTO_SignData done [08:30:39]FM_MakeSignedData done [08:30:39]CreateOFDProtocolMessage [08:30:39]wFMCommunicate request_size=4 [08:30:39]MH_SAM_APDU [08:30:39]CAPDU: 80 11 00 00 [08:30:39]Write to MH i2c: E2 08 00 F0 43 80 11 00 00 00 00 00 00 AD [08:30:39]Write i2c OK [08:30:39]MH_I2C_Read... [08:30:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:30:39]Read from MH i2c: E2 [08:30:39]MH_I2C_Read... [08:30:39]Read from MH i2c: E2 17 00 [08:30:39]MH_I2C_Read... [08:30:39]Read from MH i2c: E2 17 00 F0 43 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 F5 [08:30:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:30:39]wFMCommunicate OK [08:30:39]CreateOFDProtocolMessage done [08:30:39]OFDSenderStorePacket 2549 [08:30:39]StoreOFDPacket docnum=2549 [08:30:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0F 01 00 00 4B 4C 07 01 A8 7E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 03 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 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 3A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 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 0A 00 00 00 F4 03 04 00 36 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F5 09 00 00 35 04 06 00 D5 03 5B 82 C6 B3 E2 1F A3 8B 5A 96 A1 95 [08:30:39]CheckFolder [08:30:39]dirname=/storage/ofd_packets [08:30:39]CheckFolder done [08:30:39]ProducePacketName [08:30:39]name=ofd_packets/00002549 [08:30:39]NVStorageSaveData ofd_packets/00002549 [08:30:39]File name is /storage/ofd_packets/00002549 [08:30:39]Write 301 bytes [08:30:39]NVStorageSaveData done [08:30:39]OFDSenderStorePacket done [08:30:39]KKMCreateOFDPacket done [08:30:39]NVStorageSaveData kkm_last_timestamp [08:30:39]File name is /storage/kkm_last_timestamp [08:30:39]Write 4 bytes [08:30:39]NVStorageSaveData done [08:30:39]ExternCall_PrintAddStr [08:30:39]wPrintStart [08:30:39]Write to MH i2c: 01 00 00 F1 43 34 [08:30:39]OFD Sender: Processing packet 2549 [packets to send 1, broken 0] [08:30:39]ProducePacketName [08:30:39]name=ofd_packets/00002549 [08:30:39]OFD Sender: To server: pG, [08:30:39]CommunicateWithHost lk.salyk.kg:30040 [08:30:39]ConnectInit lk.salyk.kg [08:30:39]Write i2c OK [08:30:39]MH_I2C_Read... [08:30:39]Read from MH i2c: 01 [08:30:39]MH_I2C_Read... [08:30:39]Read from MH i2c: 01 07 00 [08:30:39]MH_I2C_Read... [08:30:39]Read from MH i2c: 01 07 00 F1 43 00 00 00 00 00 FF 0F 49 [08:30:39]RasterBufferAndPrint [08:30:39]line Счет N : (1)475898 [08:30:39]line ИНН: 02508201610067 [08:30:39]line Контрольно-Кассовый Чек [08:30:39]line ПРОДАЖА [08:30:39]line ТРК (МРК, ГНК) : 22 [08:30:39]line Товар: 2710124130 [08:30:39]line Аи-92-К-5 [08:30:39]line 0.980 * 66.90 [08:30:39]line = 65.56 [08:30:39]line НДС 12% НСП 1% [08:30:39]line > о реализуемом товаре [08:30:39]line ОКРУГЛЕНИЕ: -0.56 [08:30:39]line ИТОГО: 65.00 [08:30:39]line Внесено: 200.00 [08:30:39]line СДАЧА: 135.00 [08:30:39]line НСП 1% : 0.58 [08:30:39]line НДС 12% : 6.96 [08:30:39]line Наличными: 65.00 [08:30:39]line Безнал.: 0.00 [08:30:39]line Место: АЗС № 162 "Партнер Нефть" [08:30:39]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:30:39]line СНО: Общий режим [08:30:39]line Чек 10 19.10.2024 08:30 [08:30:39]line Смена: 23 ФФД: 1.0 [08:30:39]line ЗНМ: 0300000191 [08:30:39]line РНМ: 0000000000207295 [08:30:39]line Версия ККМ: v1.0 [08:30:39]line ФМ: 0000000002342820 [08:30:39]line ФД: 2549 [08:30:39]line ФПД: 234210396915379 [08:30:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T083046&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2549&fm=234210396915379&tin=02508201610067®Number=0000000000207295&sum=6500 [08:30:39]Connected sock=9 [08:30:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0F 01 00 00 4B 4C 07 01 A8 7E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 03 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9C 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 3A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 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 0A 00 00 00 F4 03 04 00 36 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F5 09 00 00 35 04 06 00 D5 03 5B 82 C6 B3 E2 1F A3 8B 5A 96 A1 95 [08:30:39]written 0, free lines is 4095 [08:30:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 07 4E 47 00 34 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 32 33 34 32 38 32 30 10 04 04 00 F5 09 00 00 F4 03 04 00 97 19 13 67 B6 04 01 00 00 C6 C1 93 88 F5 AF 56 80 [08:30:40]CommunicateWithHost err = 0 [08:30:40]CheckOFDResponse [08:30:40]1017 (14) - 77093643461234 [08:30:40]1041 (16) - 0000000002342820 [08:30:40]1040 (4) - 2549 [08:30:40]1012 (4) - 19.10.2024 02:29 [08:30:40]1206 (1) - 0 [08:30:40]OFD Sender: Remove packet 2549 [08:30:40]ProducePacketName [08:30:40]name=ofd_packets/00002549 [08:30:40]NVStorageDeleteData [08:30:40]Write to MH i2c: 01 00 00 1C 44 60 [08:30:40]Write i2c OK [08:30:40]MH_I2C_Read... [08:30:40]Read from MH i2c: 01 [08:30:40]MH_I2C_Read... [08:30:40]Read from MH i2c: 01 07 00 [08:30:40]MH_I2C_Read... [08:30:40]Read from MH i2c: 01 07 00 1C 44 00 00 00 00 00 95 0C 08 [08:30:40]RasterBufferAndPrint [08:30:40]line [08:30:40]line [08:30:40]line [08:30:40]line [08:30:40]line [08:30:40]written 0, free lines is 3226 [08:30:40]MH_Cut [08:30:40]Write to MH i2c: D1 01 00 23 44 01 39 [08:30:40]Write i2c OK [08:30:40]MH_I2C_Read... [08:30:40]Read from MH i2c: D1 [08:30:40]MH_I2C_Read... [08:30:40]Read from MH i2c: D1 01 00 [08:30:40]MH_I2C_Read... [08:30:40]Read from MH i2c: D1 01 00 23 44 00 38 [08:30:40]Write to MH i2c: 01 00 00 24 44 68 [08:30:40]Write i2c OK [08:30:40]MH_I2C_Read... [08:30:40]OFD Sender: No OFD packet to send [08:30:41]*** Cut start [08:30:41]*** Partial cut [08:30:41]*** CUTSNS_PIN = 1 [08:30:41]*** CUTSNS_PIN = 0 [08:30:41]*** Brake cut motor [08:30:41]Read from MH i2c: 01 [08:30:41]MH_I2C_Read... [08:30:41]*** Stop cut motor [08:30:41]*** Cut end [08:30:41]Read from MH i2c: 01 07 00 [08:30:41]MH_I2C_Read... [08:30:41]Read from MH i2c: 01 07 00 24 44 00 00 00 00 00 FF 0F 7D [08:30:41]process_action close_receipt done [08:30:41]requested_data is exist [08:30:41]produce_requested_data [08:30:41]requested_item fm.sn is exist - process it [08:30:41]wFMCommunicate request_size=4 [08:30:41]MH_SAM_APDU [08:30:41]CAPDU: 80 11 00 00 [08:30:41]Write to MH i2c: E2 08 00 25 44 80 11 00 00 00 00 00 00 E3 [08:30:41]Write i2c OK [08:30:41]MH_I2C_Read... [08:30:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:30:42]Read from MH i2c: E2 [08:30:42]MH_I2C_Read... [08:30:42]Read from MH i2c: E2 17 00 [08:30:42]MH_I2C_Read... [08:30:42]Read from MH i2c: E2 17 00 25 44 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 2B [08:30:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:30:42]wFMCommunicate OK [08:30:42]requested_item fd.num is exist - process it [08:30:42]SAM_PROTO_GetFieldsCounters [08:30:42]wFMCommunicate request_size=4 [08:30:42]MH_SAM_APDU [08:30:42]CAPDU: 80 13 00 00 [08:30:42]Write to MH i2c: E2 08 00 26 44 80 13 00 00 00 00 00 00 E6 [08:30:42]Write i2c OK [08:30:42]MH_I2C_Read... [08:30:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:30:42]Read from MH i2c: E2 [08:30:42]MH_I2C_Read... [08:30:42]Read from MH i2c: E2 62 00 [08:30:42]MH_I2C_Read... [08:30:42]Read from MH i2c: E2 62 00 26 44 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F5 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 2F [08:30:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F5 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:30:42]wFMCommunicate OK [08:30:42]SAM_PROTO_GetFieldsCounters done [08:30:42]requested_item shift.num is exist - process it [08:30:42]requested_item shift.opened is exist - process it [08:30:42]req_shift_opened [08:30:42]FM_GetShiftState [08:30:42]SAM_PROTO_GetShiftState [08:30:42]wFMCommunicate request_size=4 [08:30:42]MH_SAM_APDU [08:30:42]CAPDU: 80 13 01 00 [08:30:42]Write to MH i2c: E2 08 00 27 44 80 13 01 00 00 00 00 00 E8 [08:30:42]Write i2c OK [08:30:42]MH_I2C_Read... [08:30:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:30:42]Read from MH i2c: E2 [08:30:42]MH_I2C_Read... [08:30:42]Read from MH i2c: E2 0E 00 [08:30:42]MH_I2C_Read... [08:30:42]Read from MH i2c: E2 0E 00 27 44 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 91 [08:30:42]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:30:42]wFMCommunicate OK [08:30:42]SAM_PROTO_GetShiftState done [08:30:42]FM_GetShiftState done [08:30:42]req_shift_opened done [08:30:42]requested_item shift.open_date is exist - process it [08:30:42]req_shift_open_date [08:30:42]req_shift_open_date done [08:30:42]produce_requested_data done [08:30:42]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2549,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:30:42]process_action_free close_receipt [08:30:42]json_value_free [08:30:42]json_value_free done [08:30:42]process_json_proto returns [08:30:42]Send response to host [08:30:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2549,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:30:42]free response buf [08:30:42]execute_script done [08:30:42]execute_script returns [08:30:42]free content buf [08:30:42]Sock 7.Close socket [08:30:42]Sock 7.Thread stoped [08:30:45]OFD Sender: No OFD packet to send [08:30:50]OFD Sender: No OFD packet to send [08:30:55]OFD Sender: No OFD packet to send [08:31:00]OFD Sender: No OFD packet to send [08:31:03]accept exits with 10 [08:31:03]New connection [08:31:03]New thread 3066850660 created [08:31:03]Thread 3066707300 joined [08:31:03]Waiting for new connection... [08:31:03] Sock 10.Parse request [08:31:03]Sock 10.Check first char [08:31:03]Sock 10.First char is OK [08:31:03]request: POST /json_proto HTTP/1.0 [08:31:03]Method: POST [08:31:03]URL: /json_proto [08:31:03]Method is POST - this is cgi request [08:31:03]url: /json_proto [08:31:03]query_string will be loaded in cgi processing [08:31:03]execute_cgi json_proto POST (null) [08:31:03]execute_cgi path=json_proto method=POST [08:31:03]POST find Content-Length [08:31:03]Host: 172.17.52.132:8080 [08:31:03]Content-Length: 677 [08:31:03]Content-Type: application/json [08:31:03] [08:31:03]POST finish read [08:31:03]Found Content-Length = 677 [08:31:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475899", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.020, "sum" : 135.14, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 135.00, "total" : 135.00, "payments": [ { "type": 0, "sum" : 135.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:31:03]execute_script... [08:31:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475899", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.020, "sum" : 135.14, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 135.00, "total" : 135.00, "payments": [ { "type": 0, "sum" : 135.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:31:03]POST & json_proto [08:31:03]process_json_proto [08:31:03]json parsed OK: [08:31:03]protocol is kg_v1.0 [08:31:03]action value=close_receipt [08:31:03]process_action close_receipt [08:31:03]cmd_close_receipt [08:31:03]MH_GetDate [08:31:03]Write to MH i2c: F0 00 00 28 44 5B [08:31:03]Write i2c OK [08:31:03]MH_I2C_Read... [08:31:03]Read from MH i2c: F0 [08:31:03]MH_I2C_Read... [08:31:03]Read from MH i2c: F0 09 00 [08:31:03]MH_I2C_Read... [08:31:03]Read from MH i2c: F0 09 00 28 44 00 4F 6E 13 67 5A BE F6 66 0F [08:31:03]GetLastDocTimeStamp 1729326646 [08:31:03]current date 1729326671 [08:31:03]FM_GetShiftState [08:31:03]SAM_PROTO_GetShiftState [08:31:03]wFMCommunicate request_size=4 [08:31:03]MH_SAM_APDU [08:31:03]CAPDU: 80 13 01 00 [08:31:03]Write to MH i2c: E2 08 00 29 44 80 13 01 00 00 00 00 00 EA [08:31:03]Write i2c OK [08:31:03]MH_I2C_Read... [08:31:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:31:03]Read from MH i2c: E2 [08:31:03]MH_I2C_Read... [08:31:03]Read from MH i2c: E2 0E 00 [08:31:03]MH_I2C_Read... [08:31:03]Read from MH i2c: E2 0E 00 29 44 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 93 [08:31:03]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:31:03]wFMCommunicate OK [08:31:03]SAM_PROTO_GetShiftState done [08:31:03]FM_GetShiftState done [08:31:03]opened in 1729296173 [08:31:03]opened+sec_in_day 1729382573 [08:31:03]quantity*price = 13513 [08:31:03]sum+1 = 13515 [08:31:03]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.14 ИТОГО: 135.00 Внесено: 135.00 СДАЧА: 0.00 НСП 1% : 1.20 НДС 12% : 14.35 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 11 19.10.2024 08:31 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2550 ФПД: 32792938757185 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T083111&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2550&fm=32792938757185&tin=02508201610067®Number=0000000000207295&sum=13500 [08:31:04]StoreToDocumentArchive [08:31:04]shift 23 fd 2550 [08:31:04]save to /storage/0023/doc_00002550 [08:31:04]save last doc name /storage/0023/doc_00002550 to /storage/kkm_last_doc_name [08:31:04]save OK [08:31:04]Clear old archive folders... [08:31:04]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:31:04]tlvbuf is 0143EDB0 [08:31:04]SAM_PROTO_ClearQueue [08:31:04]wFMCommunicate request_size=4 [08:31:04]MH_SAM_APDU [08:31:04]CAPDU: 80 09 00 00 [08:31:04]Write to MH i2c: E2 08 00 36 44 80 09 00 00 00 00 00 00 EC [08:31:04]Write i2c OK [08:31:04]MH_I2C_Read... [08:31:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:31:04]Read from MH i2c: E2 [08:31:04]MH_I2C_Read... [08:31:04]Read from MH i2c: E2 03 00 [08:31:04]MH_I2C_Read... [08:31:04]Read from MH i2c: E2 03 00 36 44 00 90 00 EE [08:31:04]RAPDU: 90 00 [08:31:04]wFMCommunicate OK [08:31:04]SAM_PROTO_ClearQueue done [08:31:04]KKMCreateOFDPacket [08:31:04]OFDProtocolAddRootSTLVToBuf [08:31:04]FM_MakeSignedData [08:31:04]FM_MakeSignedData [08:31:04]SAM_PROTO_SignData [08:31:04]wFMCommunicate request_size=4 [08:31:04]MH_SAM_APDU [08:31:04]CAPDU: 80 0D 01 02 [08:31:04]Write to MH i2c: E2 08 00 37 44 80 0D 01 02 00 00 00 00 F4 [08:31:04]Write i2c OK [08:31:04]MH_I2C_Read... [08:31:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:31:04]Read from MH i2c: E2 [08:31:04]MH_I2C_Read... [08:31:04]Read from MH i2c: E2 03 00 [08:31:04]MH_I2C_Read... [08:31:04]Read from MH i2c: E2 03 00 37 44 00 90 00 EF [08:31:04]RAPDU: 90 00 [08:31:04]wFMCommunicate OK [08:31:04]wFMCommunicate request_size=255 [08:31:04]MH_SAM_APDU [08:31:04]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E4 07 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 CA 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 4F 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F6 09 00 00 35 04 06 00 1D [08:31:04]Write to MH i2c: E2 02 01 38 44 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E4 07 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 CA 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 4F 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F6 09 00 00 35 04 06 00 1D 00 00 85 [08:31:04]Write i2c OK [08:31:04]MH_I2C_Read... [08:31:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:31:04]Read from MH i2c: E2 [08:31:04]MH_I2C_Read... [08:31:04]Read from MH i2c: E2 03 00 [08:31:04]MH_I2C_Read... [08:31:04]Read from MH i2c: E2 03 00 38 44 00 90 00 F0 [08:31:04]RAPDU: 90 00 [08:31:04]wFMCommunicate OK [08:31:04]wFMCommunicate request_size=10 [08:31:04]MH_SAM_APDU [08:31:04]CAPDU: 80 0D 02 02 05 D3 33 77 3C 41 [08:31:04]Write to MH i2c: E2 0D 00 39 44 80 0D 02 02 05 00 D3 33 77 3C 41 00 00 FB [08:31:04]Write i2c OK [08:31:04]MH_I2C_Read... [08:31:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:31:04]Read from MH i2c: E2 [08:31:04]MH_I2C_Read... [08:31:04]Read from MH i2c: E2 03 00 [08:31:04]MH_I2C_Read... [08:31:04]Read from MH i2c: E2 03 00 39 44 00 90 00 F1 [08:31:04]RAPDU: 90 00 [08:31:04]wFMCommunicate OK [08:31:04]wFMCommunicate request_size=4 [08:31:04]MH_SAM_APDU [08:31:04]CAPDU: 80 0D 03 02 [08:31:04]Write to MH i2c: E2 08 00 3A 44 80 0D 03 02 00 00 00 00 F9 [08:31:04]Write i2c OK [08:31:04]MH_I2C_Read... [08:31:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:31:04]Read from MH i2c: E2 [08:31:04]MH_I2C_Read... [08:31:04]Read from MH i2c: E2 0B 00 [08:31:04]MH_I2C_Read... [08:31:04]Read from MH i2c: E2 0B 00 3A 44 00 4B 2D 89 95 17 B2 B7 89 90 00 99 [08:31:04]RAPDU: 4B 2D 89 95 17 B2 B7 89 90 00 [08:31:04]wFMCommunicate OK [08:31:04]SAM_PROTO_SignData done [08:31:04]FM_MakeSignedData done [08:31:04]CreateOFDProtocolMessage [08:31:04]wFMCommunicate request_size=4 [08:31:04]MH_SAM_APDU [08:31:04]CAPDU: 80 11 00 00 [08:31:04]Write to MH i2c: E2 08 00 3B 44 80 11 00 00 00 00 00 00 F9 [08:31:04]Write i2c OK [08:31:04]MH_I2C_Read... [08:31:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:31:04]Read from MH i2c: E2 [08:31:04]MH_I2C_Read... [08:31:04]Read from MH i2c: E2 17 00 [08:31:04]MH_I2C_Read... [08:31:04]Read from MH i2c: E2 17 00 3B 44 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 41 [08:31:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:31:04]wFMCommunicate OK [08:31:04]CreateOFDProtocolMessage done [08:31:04]OFDSenderStorePacket 2550 [08:31:04]StoreOFDPacket docnum=2550 [08:31:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0F 01 00 00 29 55 07 01 E8 18 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E4 07 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 CA 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 4F 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F6 09 00 00 35 04 06 00 1D D3 33 77 3C 41 4B 2D 89 95 17 B2 B7 89 [08:31:04]CheckFolder [08:31:04]dirname=/storage/ofd_packets [08:31:04]CheckFolder done [08:31:04]ProducePacketName [08:31:04]name=ofd_packets/00002550 [08:31:04]NVStorageSaveData ofd_packets/00002550 [08:31:04]File name is /storage/ofd_packets/00002550 [08:31:04]Write 301 bytes [08:31:04]NVStorageSaveData done [08:31:04]OFDSenderStorePacket done [08:31:04]KKMCreateOFDPacket done [08:31:04]NVStorageSaveData kkm_last_timestamp [08:31:04]File name is /storage/kkm_last_timestamp [08:31:04]Write 4 bytes [08:31:04]NVStorageSaveData done [08:31:04]ExternCall_PrintAddStr [08:31:04]wPrintStart [08:31:04]Write to MH i2c: 01 00 00 3C 44 80 [08:31:04]Write i2c OK [08:31:04]MH_I2C_Read... [08:31:04]Read from MH i2c: 01 [08:31:04]MH_I2C_Read... [08:31:04]Read from MH i2c: 01 07 00 [08:31:04]MH_I2C_Read... [08:31:04]Read from MH i2c: 01 07 00 3C 44 00 00 00 00 00 FF 0F 95 [08:31:04]RasterBufferAndPrint [08:31:04]line Счет N : (1)475899 [08:31:04]line ИНН: 02508201610067 [08:31:04]line Контрольно-Кассовый Чек [08:31:04]line ПРОДАЖА [08:31:04]line ТРК (МРК, ГНК) : 22 [08:31:04]line Товар: 2710124130 [08:31:04]line Аи-92-К-5 [08:31:04]line 2.020 * 66.90 [08:31:04]line = 135.14 [08:31:04]line НДС 12% НСП 1% [08:31:04]line > о реализуемом товаре [08:31:04]line ОКРУГЛЕНИЕ: -0.14 [08:31:04]line ИТОГО: 135.00 [08:31:04]line Внесено: 135.00 [08:31:04]line СДАЧА: 0.00 [08:31:04]line НСП 1% : 1.20 [08:31:04]line НДС 12% : 14.35 [08:31:04]line Наличными: 135.00 [08:31:04]line Безнал.: 0.00 [08:31:04]line Место: АЗС № 162 "Партнер Нефть" [08:31:04]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:31:04]line СНО: Общий режим [08:31:04]line Чек 11 19.10.2024 08:31 [08:31:04]line Смена: 23 ФФД: 1.0 [08:31:04]line ЗНМ: 0300000191 [08:31:04]line РНМ: 0000000000207295 [08:31:04]line Версия ККМ: v1.0 [08:31:04]line ФМ: 0000000002342820 [08:31:04]line ФД: 2550 [08:31:04]line ФПД: 32792938757185 [08:31:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T083111&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2550&fm=32792938757185&tin=02508201610067®Number=0000000000207295&sum=13500 [08:31:05]OFD Sender: Processing packet 2550 [packets to send 1, broken 0] [08:31:05]ProducePacketName [08:31:05]name=ofd_packets/00002550 [08:31:05]OFD Sender: To server: pG, [08:31:05]CommunicateWithHost lk.salyk.kg:30040 [08:31:05]ConnectInit lk.salyk.kg [08:31:05]written 0, free lines is 4095 [08:31:05]Connected sock=9 [08:31:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0F 01 00 00 29 55 07 01 E8 18 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E4 07 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 CA 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 4F 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F6 09 00 00 35 04 06 00 1D D3 33 77 3C 41 4B 2D 89 95 17 B2 B7 89 [08:31:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 52 03 47 00 C0 17 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F6 09 00 00 F4 03 04 00 B1 19 13 67 B6 04 01 00 00 99 27 C7 DF 09 C5 77 B4 [08:31:05]CommunicateWithHost err = 0 [08:31:05]CheckOFDResponse [08:31:05]1017 (14) - 77093643461234 [08:31:05]1041 (16) - 0000000002342820 [08:31:05]1040 (4) - 2550 [08:31:05]1012 (4) - 19.10.2024 02:30 [08:31:05]1206 (1) - 0 [08:31:05]OFD Sender: Remove packet 2550 [08:31:05]ProducePacketName [08:31:05]name=ofd_packets/00002550 [08:31:05]NVStorageDeleteData [08:31:05]Write to MH i2c: 01 00 00 67 44 AB [08:31:05]Write i2c OK [08:31:05]MH_I2C_Read... [08:31:05]Read from MH i2c: 01 [08:31:05]MH_I2C_Read... [08:31:05]Read from MH i2c: 01 07 00 [08:31:05]MH_I2C_Read... [08:31:05]Read from MH i2c: 01 07 00 67 44 00 00 00 00 00 92 0C 50 [08:31:05]RasterBufferAndPrint [08:31:05]line [08:31:05]line [08:31:05]line [08:31:05]line [08:31:05]line [08:31:05]written 0, free lines is 3223 [08:31:05]MH_Cut [08:31:05]Write to MH i2c: D1 01 00 6E 44 01 84 [08:31:05]Write i2c OK [08:31:05]MH_I2C_Read... [08:31:05]Read from MH i2c: D1 [08:31:05]MH_I2C_Read... [08:31:05]Read from MH i2c: D1 01 00 [08:31:05]MH_I2C_Read... [08:31:05]Read from MH i2c: D1 01 00 6E 44 00 83 [08:31:05]Write to MH i2c: 01 00 00 6F 44 B3 [08:31:05]Write i2c OK [08:31:05]MH_I2C_Read... [08:31:06]OFD Sender: No OFD packet to send [08:31:06]*** Cut start [08:31:06]*** Partial cut [08:31:06]*** CUTSNS_PIN = 1 [08:31:06]*** CUTSNS_PIN = 0 [08:31:06]*** Brake cut motor [08:31:07]Read from MH i2c: 01 [08:31:07]MH_I2C_Read... [08:31:07]*** Stop cut motor [08:31:07]*** Cut end [08:31:07]Read from MH i2c: 01 07 00 [08:31:07]MH_I2C_Read... [08:31:07]Read from MH i2c: 01 07 00 6F 44 00 00 00 00 00 FF 0F C8 [08:31:07]process_action close_receipt done [08:31:07]requested_data is exist [08:31:07]produce_requested_data [08:31:07]requested_item fm.sn is exist - process it [08:31:07]wFMCommunicate request_size=4 [08:31:07]MH_SAM_APDU [08:31:07]CAPDU: 80 11 00 00 [08:31:07]Write to MH i2c: E2 08 00 70 44 80 11 00 00 00 00 00 00 2E [08:31:07]Write i2c OK [08:31:07]MH_I2C_Read... [08:31:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:31:07]Read from MH i2c: E2 [08:31:07]MH_I2C_Read... [08:31:07]Read from MH i2c: E2 17 00 [08:31:07]MH_I2C_Read... [08:31:07]Read from MH i2c: E2 17 00 70 44 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 76 [08:31:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:31:07]wFMCommunicate OK [08:31:07]requested_item fd.num is exist - process it [08:31:07]SAM_PROTO_GetFieldsCounters [08:31:07]wFMCommunicate request_size=4 [08:31:07]MH_SAM_APDU [08:31:07]CAPDU: 80 13 00 00 [08:31:07]Write to MH i2c: E2 08 00 71 44 80 13 00 00 00 00 00 00 31 [08:31:07]Write i2c OK [08:31:07]MH_I2C_Read... [08:31:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:31:07]Read from MH i2c: E2 [08:31:07]MH_I2C_Read... [08:31:07]Read from MH i2c: E2 62 00 [08:31:07]MH_I2C_Read... [08:31:07]Read from MH i2c: E2 62 00 71 44 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F6 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 7E [08:31:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F6 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:31:07]wFMCommunicate OK [08:31:07]SAM_PROTO_GetFieldsCounters done [08:31:07]requested_item shift.num is exist - process it [08:31:07]requested_item shift.opened is exist - process it [08:31:07]req_shift_opened [08:31:07]FM_GetShiftState [08:31:07]SAM_PROTO_GetShiftState [08:31:07]wFMCommunicate request_size=4 [08:31:07]MH_SAM_APDU [08:31:07]CAPDU: 80 13 01 00 [08:31:07]Write to MH i2c: E2 08 00 72 44 80 13 01 00 00 00 00 00 33 [08:31:07]Write i2c OK [08:31:07]MH_I2C_Read... [08:31:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:31:07]Read from MH i2c: E2 [08:31:07]MH_I2C_Read... [08:31:07]Read from MH i2c: E2 0E 00 [08:31:07]MH_I2C_Read... [08:31:07]Read from MH i2c: E2 0E 00 72 44 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 DC [08:31:07]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:31:07]wFMCommunicate OK [08:31:07]SAM_PROTO_GetShiftState done [08:31:07]FM_GetShiftState done [08:31:07]req_shift_opened done [08:31:07]requested_item shift.open_date is exist - process it [08:31:07]req_shift_open_date [08:31:07]req_shift_open_date done [08:31:07]produce_requested_data done [08:31:07]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2550,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:31:07]process_action_free close_receipt [08:31:07]json_value_free [08:31:07]json_value_free done [08:31:07]process_json_proto returns [08:31:07]Send response to host [08:31:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2550,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:31:07]free response buf [08:31:07]execute_script done [08:31:07]execute_script returns [08:31:07]free content buf [08:31:07]Sock 10.Close socket [08:31:07]Sock 10.Thread stoped [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:36]OFD Sender: No OFD packet to send [08:31:40]accept exits with 7 [08:31:40]New connection [08:31:40]New thread 3066707300 created [08:31:40]Thread 3066850660 joined [08:31:40]Waiting for new connection... [08:31:40] Sock 7.Parse request [08:31:40]Sock 7.Check first char [08:31:40]Sock 7.First char is OK [08:31:40]request: POST /json_proto HTTP/1.0 [08:31:40]Method: POST [08:31:40]URL: /json_proto [08:31:40]Method is POST - this is cgi request [08:31:40]url: /json_proto [08:31:40]query_string will be loaded in cgi processing [08:31:40]execute_cgi json_proto POST (null) [08:31:40]execute_cgi path=json_proto method=POST [08:31:40]POST find Content-Length [08:31:40]Host: 172.17.52.132:8080 [08:31:40]Content-Length: 766 [08:31:40]Content-Type: application/json [08:31:40] [08:31:40]POST finish read [08:31:40]Found Content-Length = 766 [08:31:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475900", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 500.41 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:31:40]execute_script... [08:31: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 : (1)475900", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 500.41 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:31:40]POST & json_proto [08:31:40]process_json_proto [08:31:40]json parsed OK: [08:31:40]protocol is kg_v1.0 [08:31:40]action value=close_receipt [08:31:40]process_action close_receipt [08:31:40]cmd_close_receipt [08:31:40]MH_GetDate [08:31:40]Write to MH i2c: F0 00 00 73 44 A6 [08:31:40]Write i2c OK [08:31:40]MH_I2C_Read... [08:31:40]Read from MH i2c: F0 [08:31:40]MH_I2C_Read... [08:31:40]Read from MH i2c: F0 09 00 [08:31:40]MH_I2C_Read... [08:31:40]Read from MH i2c: F0 09 00 73 44 00 74 6E 13 67 5A BE F6 66 7F [08:31:40]GetLastDocTimeStamp 1729326671 [08:31:40]current date 1729326708 [08:31:40]FM_GetShiftState [08:31:40]SAM_PROTO_GetShiftState [08:31:40]wFMCommunicate request_size=4 [08:31:40]MH_SAM_APDU [08:31:40]CAPDU: 80 13 01 00 [08:31:40]Write to MH i2c: E2 08 00 74 44 80 13 01 00 00 00 00 00 35 [08:31:40]Write i2c OK [08:31:40]MH_I2C_Read... [08:31:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:31:40]Read from MH i2c: E2 [08:31:40]MH_I2C_Read... [08:31:40]Read from MH i2c: E2 0E 00 [08:31:40]MH_I2C_Read... [08:31:40]Read from MH i2c: E2 0E 00 74 44 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 DE [08:31:40]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:31:40]wFMCommunicate OK [08:31:40]SAM_PROTO_GetShiftState done [08:31:40]FM_GetShiftState done [08:31:40]opened in 1729296173 [08:31:40]opened+sec_in_day 1729382573 [08:31:40]quantity*price = 50041 [08:31:40]sum+1 = 50042 [08:31:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.41 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 0.00 Безнал.: 500.41 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 12 19.10.2024 08:31 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2551 ФПД: 265753811041616 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T083148&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2551&fm=265753811041616&tin=02508201610067®Number=0000000000207295&sum=50041 [08:31:41]StoreToDocumentArchive [08:31:41]shift 23 fd 2551 [08:31:41]save to /storage/0023/doc_00002551 [08:31:41]save last doc name /storage/0023/doc_00002551 to /storage/kkm_last_doc_name [08:31:41]save OK [08:31:41]Clear old archive folders... [08:31:41]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:31:41]tlvbuf is 0136E310 [08:31:41]SAM_PROTO_ClearQueue [08:31:41]wFMCommunicate request_size=4 [08:31:41]MH_SAM_APDU [08:31:41]CAPDU: 80 09 00 00 [08:31:41]Write to MH i2c: E2 08 00 81 44 80 09 00 00 00 00 00 00 37 [08:31:41]Write i2c OK [08:31:41]MH_I2C_Read... [08:31:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:31:41]Read from MH i2c: E2 [08:31:41]MH_I2C_Read... [08:31:41]Read from MH i2c: E2 03 00 [08:31:41]MH_I2C_Read... [08:31:41]Read from MH i2c: E2 03 00 81 44 00 90 00 39 [08:31:41]RAPDU: 90 00 [08:31:41]wFMCommunicate OK [08:31:41]SAM_PROTO_ClearQueue done [08:31:41]KKMCreateOFDPacket [08:31:41]OFDProtocolAddRootSTLVToBuf [08:31:41]FM_MakeSignedData [08:31:41]FM_MakeSignedData [08:31:41]SAM_PROTO_SignData [08:31:41]wFMCommunicate request_size=4 [08:31:41]MH_SAM_APDU [08:31:41]CAPDU: 80 0D 01 02 [08:31:41]Write to MH i2c: E2 08 00 82 44 80 0D 01 02 00 00 00 00 3F [08:31:41]Write i2c OK [08:31:41]MH_I2C_Read... [08:31:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:31:41]Read from MH i2c: E2 [08:31:41]MH_I2C_Read... [08:31:41]Read from MH i2c: E2 03 00 [08:31:41]MH_I2C_Read... [08:31:41]Read from MH i2c: E2 03 00 82 44 00 90 00 3A [08:31:41]RAPDU: 90 00 [08:31:41]wFMCommunicate OK [08:31:41]wFMCommunicate request_size=255 [08:31:41]MH_SAM_APDU [08:31:41]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 74 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F7 09 00 00 35 04 06 00 F1 [08:31:41]Write to MH i2c: E2 02 01 83 44 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 74 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F7 09 00 00 35 04 06 00 F1 00 00 85 [08:31:41]Write i2c OK [08:31:41]MH_I2C_Read... [08:31:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:31:41]Read from MH i2c: E2 [08:31:41]MH_I2C_Read... [08:31:41]Read from MH i2c: E2 03 00 [08:31:41]MH_I2C_Read... [08:31:41]Read from MH i2c: E2 03 00 83 44 00 90 00 3B [08:31:41]RAPDU: 90 00 [08:31:41]wFMCommunicate OK [08:31:41]wFMCommunicate request_size=10 [08:31:41]MH_SAM_APDU [08:31:41]CAPDU: 80 0D 02 02 05 B3 A1 81 3D 50 [08:31:41]Write to MH i2c: E2 0D 00 84 44 80 0D 02 02 05 00 B3 A1 81 3D 50 00 00 AE [08:31:41]Write i2c OK [08:31:41]MH_I2C_Read... [08:31:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:31:41]Read from MH i2c: E2 [08:31:41]MH_I2C_Read... [08:31:41]Read from MH i2c: E2 03 00 [08:31:41]MH_I2C_Read... [08:31:41]Read from MH i2c: E2 03 00 84 44 00 90 00 3C [08:31:41]RAPDU: 90 00 [08:31:41]wFMCommunicate OK [08:31:41]wFMCommunicate request_size=4 [08:31:41]MH_SAM_APDU [08:31:41]CAPDU: 80 0D 03 02 [08:31:41]Write to MH i2c: E2 08 00 85 44 80 0D 03 02 00 00 00 00 44 [08:31:41]Write i2c OK [08:31:41]MH_I2C_Read... [08:31:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:31:41]Read from MH i2c: E2 [08:31:41]MH_I2C_Read... [08:31:41]Read from MH i2c: E2 0B 00 [08:31:41]MH_I2C_Read... [08:31:41]Read from MH i2c: E2 0B 00 85 44 00 09 B6 5D E6 EC 68 84 4F 90 00 6E [08:31:41]RAPDU: 09 B6 5D E6 EC 68 84 4F 90 00 [08:31:41]wFMCommunicate OK [08:31:41]SAM_PROTO_SignData done [08:31:41]FM_MakeSignedData done [08:31:41]CreateOFDProtocolMessage [08:31:41]wFMCommunicate request_size=4 [08:31:41]MH_SAM_APDU [08:31:41]CAPDU: 80 11 00 00 [08:31:41]Write to MH i2c: E2 08 00 86 44 80 11 00 00 00 00 00 00 44 [08:31:41]Write i2c OK [08:31:41]MH_I2C_Read... [08:31:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:31:41]Read from MH i2c: E2 [08:31:41]MH_I2C_Read... [08:31:41]Read from MH i2c: E2 17 00 [08:31:41]MH_I2C_Read... [08:31:41]Read from MH i2c: E2 17 00 86 44 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 8C [08:31:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:31:41]wFMCommunicate OK [08:31:41]CreateOFDProtocolMessage done [08:31:41]OFDSenderStorePacket 2551 [08:31:41]StoreOFDPacket docnum=2551 [08:31:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0F 01 00 00 9E 17 07 01 99 5D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 74 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F7 09 00 00 35 04 06 00 F1 B3 A1 81 3D 50 09 B6 5D E6 EC 68 84 4F [08:31:41]CheckFolder [08:31:41]dirname=/storage/ofd_packets [08:31:41]CheckFolder done [08:31:41]ProducePacketName [08:31:41]name=ofd_packets/00002551 [08:31:41]NVStorageSaveData ofd_packets/00002551 [08:31:41]File name is /storage/ofd_packets/00002551 [08:31:41]Write 301 bytes [08:31:41]NVStorageSaveData done [08:31:41]OFDSenderStorePacket done [08:31:41]KKMCreateOFDPacket done [08:31:41]NVStorageSaveData kkm_last_timestamp [08:31:41]File name is /storage/kkm_last_timestamp [08:31:41]Write 4 bytes [08:31:41]NVStorageSaveData done [08:31:41]ExternCall_PrintAddStr [08:31:41]wPrintStart [08:31:41]Write to MH i2c: 01 00 00 87 44 CB [08:31:41]Write i2c OK [08:31:41]MH_I2C_Read... [08:31:41]Read from MH i2c: 01 [08:31:41]MH_I2C_Read... [08:31:41]Read from MH i2c: 01 07 00 [08:31:41]MH_I2C_Read... [08:31:41]Read from MH i2c: 01 07 00 87 44 00 00 00 00 00 FF 0F E0 [08:31:41]RasterBufferAndPrint [08:31:41]line Счет N : (1)475900 [08:31:41]line ИНН: 02508201610067 [08:31:41]line Контрольно-Кассовый Чек [08:31:41]line ПРОДАЖА [08:31:41]line ТРК (МРК, ГНК) : 42 [08:31:41]line Товар: 2710124130 [08:31:41]line Аи-92-К-5 [08:31:41]line 7.480 * 66.90 [08:31:41]line = 500.41 [08:31:41]line НДС 12% НСП 1% [08:31:41]line > о реализуемом товаре [08:31:41]line ИТОГО: 500.41 [08:31:41]line НСП 1% : 4.43 [08:31:41]line НДС 12% : 53.14 [08:31:41]line Наличными: 0.00 [08:31:41]line Безнал.: 500.41 [08:31:41]line Место: АЗС № 162 "Партнер Нефть" [08:31:41]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:31:41]line СНО: Общий режим [08:31:41]line Чек 12 19.10.2024 08:31 [08:31:41]line Смена: 23 ФФД: 1.0 [08:31:41]line ЗНМ: 0300000191 [08:31:41]line РНМ: 0000000000207295 [08:31:41]line Версия ККМ: v1.0 [08:31:41]line Платежная система: Mbank [08:31:41]line ФМ: 0000000002342820 [08:31:41]line ФД: 2551 [08:31:41]line ФПД: 265753811041616 [08:31:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T083148&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2551&fm=265753811041616&tin=02508201610067®Number=0000000000207295&sum=50041 [08:31:42]OFD Sender: Processing packet 2551 [packets to send 1, broken 0] [08:31:42]ProducePacketName [08:31:42]name=ofd_packets/00002551 [08:31:42]OFD Sender: To server: pG, [08:31:42]CommunicateWithHost lk.salyk.kg:30040 [08:31:42]ConnectInit lk.salyk.kg [08:31:42]written 0, free lines is 4095 [08:31:42]Connected sock=10 [08:31:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0F 01 00 00 9E 17 07 01 99 5D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 74 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F7 09 00 00 35 04 06 00 F1 B3 A1 81 3D 50 09 B6 5D E6 EC 68 84 4F [08:31:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 E5 4B 47 00 7B 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 32 33 34 32 38 32 30 10 04 04 00 F7 09 00 00 F4 03 04 00 D6 19 13 67 B6 04 01 00 00 B3 53 7F E0 60 3D A6 B9 [08:31:42]CommunicateWithHost err = 0 [08:31:42]CheckOFDResponse [08:31:42]1017 (14) - 77093643461234 [08:31:42]1041 (16) - 0000000002342820 [08:31:42]1040 (4) - 2551 [08:31:42]1012 (4) - 19.10.2024 02:30 [08:31:42]1206 (1) - 0 [08:31:42]OFD Sender: Remove packet 2551 [08:31:42]ProducePacketName [08:31:42]name=ofd_packets/00002551 [08:31:42]NVStorageDeleteData [08:31:42]Write to MH i2c: 01 00 00 B0 44 F4 [08:31:42]Write i2c OK [08:31:42]MH_I2C_Read... [08:31:42]Read from MH i2c: 01 [08:31:42]MH_I2C_Read... [08:31:42]Read from MH i2c: 01 07 00 [08:31:42]MH_I2C_Read... [08:31:42]Read from MH i2c: 01 07 00 B0 44 00 00 00 00 00 C5 0C CC [08:31:42]RasterBufferAndPrint [08:31:42]line [08:31:42]line [08:31:42]line [08:31:42]line [08:31:42]line [08:31:42]written 0, free lines is 3272 [08:31:42]MH_Cut [08:31:42]Write to MH i2c: D1 01 00 B7 44 01 CD [08:31:42]Write i2c OK [08:31:42]MH_I2C_Read... [08:31:42]Read from MH i2c: D1 [08:31:42]MH_I2C_Read... [08:31:42]Read from MH i2c: D1 01 00 [08:31:42]MH_I2C_Read... [08:31:42]Read from MH i2c: D1 01 00 B7 44 00 CC [08:31:42]Write to MH i2c: 01 00 00 B8 44 FC [08:31:42]Write i2c OK [08:31:42]MH_I2C_Read... [08:31:43]OFD Sender: No OFD packet to send [08:31:43]*** Cut start [08:31:43]*** Partial cut [08:31:43]*** CUTSNS_PIN = 1 [08:31:43]*** CUTSNS_PIN = 0 [08:31:43]*** Brake cut motor [08:31:44]Read from MH i2c: 01 [08:31:44]MH_I2C_Read... [08:31:44]*** Stop cut motor [08:31:44]*** Cut end [08:31:44]Read from MH i2c: 01 07 00 [08:31:44]MH_I2C_Read... [08:31:44]Read from MH i2c: 01 07 00 B8 44 00 00 00 00 00 FF 0F 11 [08:31:44]process_action close_receipt done [08:31:44]requested_data is exist [08:31:44]produce_requested_data [08:31:44]requested_item fm.sn is exist - process it [08:31:44]wFMCommunicate request_size=4 [08:31:44]MH_SAM_APDU [08:31:44]CAPDU: 80 11 00 00 [08:31:44]Write to MH i2c: E2 08 00 B9 44 80 11 00 00 00 00 00 00 77 [08:31:44]Write i2c OK [08:31:44]MH_I2C_Read... [08:31:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:31:44]Read from MH i2c: E2 [08:31:44]MH_I2C_Read... [08:31:44]Read from MH i2c: E2 17 00 [08:31:44]MH_I2C_Read... [08:31:44]Read from MH i2c: E2 17 00 B9 44 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 BF [08:31:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:31:44]wFMCommunicate OK [08:31:44]requested_item fd.num is exist - process it [08:31:44]SAM_PROTO_GetFieldsCounters [08:31:44]wFMCommunicate request_size=4 [08:31:44]MH_SAM_APDU [08:31:44]CAPDU: 80 13 00 00 [08:31:44]Write to MH i2c: E2 08 00 BA 44 80 13 00 00 00 00 00 00 7A [08:31:44]Write i2c OK [08:31:44]MH_I2C_Read... [08:31:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:31:44]Read from MH i2c: E2 [08:31:44]MH_I2C_Read... [08:31:44]Read from MH i2c: E2 62 00 [08:31:44]MH_I2C_Read... [08:31:44]Read from MH i2c: E2 62 00 BA 44 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F7 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 CB [08:31:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F7 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:31:44]wFMCommunicate OK [08:31:44]SAM_PROTO_GetFieldsCounters done [08:31:44]requested_item shift.num is exist - process it [08:31:44]requested_item shift.opened is exist - process it [08:31:44]req_shift_opened [08:31:44]FM_GetShiftState [08:31:44]SAM_PROTO_GetShiftState [08:31:44]wFMCommunicate request_size=4 [08:31:44]MH_SAM_APDU [08:31:44]CAPDU: 80 13 01 00 [08:31:44]Write to MH i2c: E2 08 00 BB 44 80 13 01 00 00 00 00 00 7C [08:31:44]Write i2c OK [08:31:44]MH_I2C_Read... [08:31:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:31:44]Read from MH i2c: E2 [08:31:44]MH_I2C_Read... [08:31:44]Read from MH i2c: E2 0E 00 [08:31:44]MH_I2C_Read... [08:31:44]Read from MH i2c: E2 0E 00 BB 44 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 25 [08:31:44]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:31:44]wFMCommunicate OK [08:31:44]SAM_PROTO_GetShiftState done [08:31:44]FM_GetShiftState done [08:31:44]req_shift_opened done [08:31:44]requested_item shift.open_date is exist - process it [08:31:44]req_shift_open_date [08:31:44]req_shift_open_date done [08:31:44]produce_requested_data done [08:31:44]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2551,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:31:44]process_action_free close_receipt [08:31:44]json_value_free [08:31:44]json_value_free done [08:31:44]process_json_proto returns [08:31:44]Send response to host [08:31:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2551,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:31:44]free response buf [08:31:44]execute_script done [08:31:44]execute_script returns [08:31:44]free content buf [08:31:44]Sock 7.Close socket [08:31:44]Sock 7.Thread stoped [08:31:48]OFD Sender: No OFD packet to send [08:31:53]OFD Sender: No OFD packet to send [08:31:58]OFD Sender: No OFD packet to send [08:32:03]OFD Sender: No OFD packet to send [08:32:08]OFD Sender: No OFD packet to send [08:32:13]OFD Sender: No OFD packet to send [08:32:18]OFD Sender: No OFD packet to send [08:32:23]OFD Sender: No OFD packet to send [08:32:28]OFD Sender: No OFD packet to send [08:32:33]OFD Sender: No OFD packet to send [08:32:38]OFD Sender: No OFD packet to send [08:32:43]OFD Sender: No OFD packet to send [08:32:48]OFD Sender: No OFD packet to send [08:32:53]OFD Sender: No OFD packet to send [08:32:58]OFD Sender: No OFD packet to send [08:33:03]OFD Sender: No OFD packet to send [08:33:08]OFD Sender: No OFD packet to send [08:33:08]accept exits with 9 [08:33:08]New connection [08:33:08]New thread 3066850660 created [08:33:08]Thread 3066707300 joined [08:33:08]Waiting for new connection... [08:33:08] Sock 9.Parse request [08:33:08]Sock 9.Check first char [08:33:08]Sock 9.First char is OK [08:33:08]request: POST /json_proto HTTP/1.0 [08:33:08]Method: POST [08:33:08]URL: /json_proto [08:33:08]Method is POST - this is cgi request [08:33:08]url: /json_proto [08:33:08]query_string will be loaded in cgi processing [08:33:08]execute_cgi json_proto POST (null) [08:33:08]execute_cgi path=json_proto method=POST [08:33:08]POST find Content-Length [08:33:08]Host: 172.17.52.132:8080 [08:33:08]Content-Length: 766 [08:33:08]Content-Type: application/json [08:33:08] [08:33:08]POST finish read [08:33:08]Found Content-Length = 766 [08:33:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475901", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 500.41 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:33:08]execute_script... [08:33:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475901", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 500.41 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:33:08]POST & json_proto [08:33:08]process_json_proto [08:33:08]json parsed OK: [08:33:08]protocol is kg_v1.0 [08:33:08]action value=close_receipt [08:33:08]process_action close_receipt [08:33:08]cmd_close_receipt [08:33:08]MH_GetDate [08:33:08]Write to MH i2c: F0 00 00 BC 44 EF [08:33:08]Write i2c OK [08:33:08]MH_I2C_Read... [08:33:08]Read from MH i2c: F0 [08:33:08]MH_I2C_Read... [08:33:08]Read from MH i2c: F0 09 00 [08:33:08]MH_I2C_Read... [08:33:08]Read from MH i2c: F0 09 00 BC 44 00 CD 6E 13 67 5A BE F6 66 21 [08:33:08]GetLastDocTimeStamp 1729326708 [08:33:08]current date 1729326797 [08:33:08]FM_GetShiftState [08:33:08]SAM_PROTO_GetShiftState [08:33:08]wFMCommunicate request_size=4 [08:33:08]MH_SAM_APDU [08:33:08]CAPDU: 80 13 01 00 [08:33:08]Write to MH i2c: E2 08 00 BD 44 80 13 01 00 00 00 00 00 7E [08:33:08]Write i2c OK [08:33:08]MH_I2C_Read... [08:33:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:33:08]Read from MH i2c: E2 [08:33:08]MH_I2C_Read... [08:33:08]Read from MH i2c: E2 0E 00 [08:33:08]MH_I2C_Read... [08:33:08]Read from MH i2c: E2 0E 00 BD 44 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 27 [08:33:08]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:33:08]wFMCommunicate OK [08:33:08]SAM_PROTO_GetShiftState done [08:33:08]FM_GetShiftState done [08:33:08]opened in 1729296173 [08:33:08]opened+sec_in_day 1729382573 [08:33:08]quantity*price = 50041 [08:33:08]sum+1 = 50042 [08:33:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.41 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 0.00 Безнал.: 500.41 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 13 19.10.2024 08:33 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2552 ФПД: 118971696698387 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T083317&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2552&fm=118971696698387&tin=02508201610067®Number=0000000000207295&sum=50041 [08:33:09]StoreToDocumentArchive [08:33:09]shift 23 fd 2552 [08:33:09]save to /storage/0023/doc_00002552 [08:33:09]save last doc name /storage/0023/doc_00002552 to /storage/kkm_last_doc_name [08:33:09]save OK [08:33:09]Clear old archive folders... [08:33:09]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:33:09]tlvbuf is B6F3C2D0 [08:33:09]SAM_PROTO_ClearQueue [08:33:09]wFMCommunicate request_size=4 [08:33:09]MH_SAM_APDU [08:33:09]CAPDU: 80 09 00 00 [08:33:09]Write to MH i2c: E2 08 00 CA 44 80 09 00 00 00 00 00 00 80 [08:33:09]Write i2c OK [08:33:09]MH_I2C_Read... [08:33:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:33:09]Read from MH i2c: E2 [08:33:09]MH_I2C_Read... [08:33:09]Read from MH i2c: E2 03 00 [08:33:09]MH_I2C_Read... [08:33:09]Read from MH i2c: E2 03 00 CA 44 00 90 00 82 [08:33:09]RAPDU: 90 00 [08:33:09]wFMCommunicate OK [08:33:09]SAM_PROTO_ClearQueue done [08:33:09]KKMCreateOFDPacket [08:33:09]OFDProtocolAddRootSTLVToBuf [08:33:09]FM_MakeSignedData [08:33:09]FM_MakeSignedData [08:33:09]SAM_PROTO_SignData [08:33:09]wFMCommunicate request_size=4 [08:33:09]MH_SAM_APDU [08:33:09]CAPDU: 80 0D 01 02 [08:33:09]Write to MH i2c: E2 08 00 CB 44 80 0D 01 02 00 00 00 00 88 [08:33:09]Write i2c OK [08:33:09]MH_I2C_Read... [08:33:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:33:09]Read from MH i2c: E2 [08:33:09]MH_I2C_Read... [08:33:09]Read from MH i2c: E2 03 00 [08:33:09]MH_I2C_Read... [08:33:09]Read from MH i2c: E2 03 00 CB 44 00 90 00 83 [08:33:09]RAPDU: 90 00 [08:33:09]wFMCommunicate OK [08:33:09]wFMCommunicate request_size=255 [08:33:09]MH_SAM_APDU [08:33:09]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 CD 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F8 09 00 00 35 04 06 00 6C [08:33:09]Write to MH i2c: E2 02 01 CC 44 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 CD 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F8 09 00 00 35 04 06 00 6C 00 00 A4 [08:33:09]Write i2c OK [08:33:09]MH_I2C_Read... [08:33:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:33:10]Read from MH i2c: E2 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: E2 03 00 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: E2 03 00 CC 44 00 90 00 84 [08:33:10]RAPDU: 90 00 [08:33:10]wFMCommunicate OK [08:33:10]wFMCommunicate request_size=10 [08:33:10]MH_SAM_APDU [08:33:10]CAPDU: 80 0D 02 02 05 34 41 B8 54 13 [08:33:10]Write to MH i2c: E2 0D 00 CD 44 80 0D 02 02 05 00 34 41 B8 54 13 00 00 29 [08:33:10]Write i2c OK [08:33:10]MH_I2C_Read... [08:33:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:33:10]Read from MH i2c: E2 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: E2 03 00 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: E2 03 00 CD 44 00 90 00 85 [08:33:10]RAPDU: 90 00 [08:33:10]wFMCommunicate OK [08:33:10]wFMCommunicate request_size=4 [08:33:10]MH_SAM_APDU [08:33:10]CAPDU: 80 0D 03 02 [08:33:10]Write to MH i2c: E2 08 00 CE 44 80 0D 03 02 00 00 00 00 8D [08:33:10]Write i2c OK [08:33:10]MH_I2C_Read... [08:33:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:33:10]Read from MH i2c: E2 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: E2 0B 00 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: E2 0B 00 CE 44 00 B4 EA A0 A0 DE 17 7D 15 90 00 F3 [08:33:10]RAPDU: B4 EA A0 A0 DE 17 7D 15 90 00 [08:33:10]wFMCommunicate OK [08:33:10]SAM_PROTO_SignData done [08:33:10]FM_MakeSignedData done [08:33:10]CreateOFDProtocolMessage [08:33:10]wFMCommunicate request_size=4 [08:33:10]MH_SAM_APDU [08:33:10]CAPDU: 80 11 00 00 [08:33:10]Write to MH i2c: E2 08 00 CF 44 80 11 00 00 00 00 00 00 8D [08:33:10]Write i2c OK [08:33:10]MH_I2C_Read... [08:33:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:33:10]Read from MH i2c: E2 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: E2 17 00 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: E2 17 00 CF 44 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 D5 [08:33:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:33:10]wFMCommunicate OK [08:33:10]CreateOFDProtocolMessage done [08:33:10]OFDSenderStorePacket 2552 [08:33:10]StoreOFDPacket docnum=2552 [08:33:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0F 01 00 00 41 B9 07 01 CB 80 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 CD 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F8 09 00 00 35 04 06 00 6C 34 41 B8 54 13 B4 EA A0 A0 DE 17 7D 15 [08:33:10]CheckFolder [08:33:10]dirname=/storage/ofd_packets [08:33:10]CheckFolder done [08:33:10]ProducePacketName [08:33:10]name=ofd_packets/00002552 [08:33:10]NVStorageSaveData ofd_packets/00002552 [08:33:10]File name is /storage/ofd_packets/00002552 [08:33:10]Write 301 bytes [08:33:10]NVStorageSaveData done [08:33:10]OFDSenderStorePacket done [08:33:10]KKMCreateOFDPacket done [08:33:10]NVStorageSaveData kkm_last_timestamp [08:33:10]File name is /storage/kkm_last_timestamp [08:33:10]Write 4 bytes [08:33:10]NVStorageSaveData done [08:33:10]ExternCall_PrintAddStr [08:33:10]wPrintStart [08:33:10]Write to MH i2c: 01 00 00 D0 44 14 [08:33:10]Write i2c OK [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: 01 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: 01 07 00 [08:33:10]MH_I2C_Read... [08:33:10]Read from MH i2c: 01 07 00 D0 44 00 00 00 00 00 FF 0F 29 [08:33:10]RasterBufferAndPrint [08:33:10]line Счет N : (1)475901 [08:33:10]line ИНН: 02508201610067 [08:33:10]line Контрольно-Кассовый Чек [08:33:10]line ПРОДАЖА [08:33:10]line ТРК (МРК, ГНК) : 12 [08:33:10]line Товар: 2710124130 [08:33:10]line Аи-92-К-5 [08:33:10]line 7.480 * 66.90 [08:33:10]line = 500.41 [08:33:10]line НДС 12% НСП 1% [08:33:10]line > о реализуемом товаре [08:33:10]line ИТОГО: 500.41 [08:33:10]line НСП 1% : 4.43 [08:33:10]line НДС 12% : 53.14 [08:33:10]line Наличными: 0.00 [08:33:10]line Безнал.: 500.41 [08:33:10]line Место: АЗС № 162 "Партнер Нефть" [08:33:10]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:33:10]line СНО: Общий режим [08:33:10]line Чек 13 19.10.2024 08:33 [08:33:10]line Смена: 23 ФФД: 1.0 [08:33:10]line ЗНМ: 0300000191 [08:33:10]line РНМ: 0000000000207295 [08:33:10]line Версия ККМ: v1.0 [08:33:10]line Платежная система: Mbank [08:33:10]line ФМ: 0000000002342820 [08:33:10]line ФД: 2552 [08:33:10]line ФПД: 118971696698387 [08:33:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T083317&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2552&fm=118971696698387&tin=02508201610067®Number=0000000000207295&sum=50041 [08:33:10]OFD Sender: Processing packet 2552 [packets to send 1, broken 0] [08:33:10]ProducePacketName [08:33:10]name=ofd_packets/00002552 [08:33:10]OFD Sender: To server: pG, [08:33:10]CommunicateWithHost lk.salyk.kg:30040 [08:33:10]ConnectInit lk.salyk.kg [08:33:10]written 0, free lines is 4095 [08:33:10]Connected sock=10 [08:33:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0F 01 00 00 41 B9 07 01 CB 80 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 CD 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F8 09 00 00 35 04 06 00 6C 34 41 B8 54 13 B4 EA A0 A0 DE 17 7D 15 [08:33:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 48 D3 47 00 7A 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 32 33 34 32 38 32 30 10 04 04 00 F8 09 00 00 F4 03 04 00 2E 1A 13 67 B6 04 01 00 00 23 CD 72 AA 7C A1 7C 50 [08:33:11]CommunicateWithHost err = 0 [08:33:11]CheckOFDResponse [08:33:11]1017 (14) - 77093643461234 [08:33:11]1041 (16) - 0000000002342820 [08:33:11]1040 (4) - 2552 [08:33:11]1012 (4) - 19.10.2024 02:32 [08:33:11]1206 (1) - 0 [08:33:11]OFD Sender: Remove packet 2552 [08:33:11]ProducePacketName [08:33:11]name=ofd_packets/00002552 [08:33:11]NVStorageDeleteData [08:33:11]Write to MH i2c: 01 00 00 F9 44 3D [08:33:11]Write i2c OK [08:33:11]MH_I2C_Read... [08:33:11]Read from MH i2c: 01 [08:33:11]MH_I2C_Read... [08:33:11]Read from MH i2c: 01 07 00 [08:33:11]MH_I2C_Read... [08:33:11]Read from MH i2c: 01 07 00 F9 44 00 00 00 00 00 C4 0C 14 [08:33:11]RasterBufferAndPrint [08:33:11]line [08:33:11]line [08:33:11]line [08:33:11]line [08:33:11]line [08:33:11]written 0, free lines is 3274 [08:33:11]MH_Cut [08:33:11]Write to MH i2c: D1 01 00 00 45 01 17 [08:33:11]Write i2c OK [08:33:11]MH_I2C_Read... [08:33:11]Read from MH i2c: D1 [08:33:11]MH_I2C_Read... [08:33:11]Read from MH i2c: D1 01 00 [08:33:11]MH_I2C_Read... [08:33:11]Read from MH i2c: D1 01 00 00 45 00 16 [08:33:11]Write to MH i2c: 01 00 00 01 45 46 [08:33:11]Write i2c OK [08:33:11]MH_I2C_Read... [08:33:11]OFD Sender: No OFD packet to send [08:33:12]*** Cut start [08:33:12]*** Partial cut [08:33:12]*** CUTSNS_PIN = 1 [08:33:12]*** CUTSNS_PIN = 0 [08:33:12]*** Brake cut motor [08:33:12]Read from MH i2c: 01 [08:33:12]MH_I2C_Read... [08:33:12]*** Stop cut motor [08:33:12]*** Cut end [08:33:12]Read from MH i2c: 01 07 00 [08:33:12]MH_I2C_Read... [08:33:12]Read from MH i2c: 01 07 00 01 45 00 00 00 00 00 FF 0F 5B [08:33:12]process_action close_receipt done [08:33:12]requested_data is exist [08:33:12]produce_requested_data [08:33:12]requested_item fm.sn is exist - process it [08:33:12]wFMCommunicate request_size=4 [08:33:12]MH_SAM_APDU [08:33:12]CAPDU: 80 11 00 00 [08:33:12]Write to MH i2c: E2 08 00 02 45 80 11 00 00 00 00 00 00 C1 [08:33:12]Write i2c OK [08:33:12]MH_I2C_Read... [08:33:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:33:12]Read from MH i2c: E2 [08:33:12]MH_I2C_Read... [08:33:12]Read from MH i2c: E2 17 00 [08:33:12]MH_I2C_Read... [08:33:12]Read from MH i2c: E2 17 00 02 45 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 09 [08:33:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:33:12]wFMCommunicate OK [08:33:12]requested_item fd.num is exist - process it [08:33:12]SAM_PROTO_GetFieldsCounters [08:33:12]wFMCommunicate request_size=4 [08:33:12]MH_SAM_APDU [08:33:12]CAPDU: 80 13 00 00 [08:33:12]Write to MH i2c: E2 08 00 03 45 80 13 00 00 00 00 00 00 C4 [08:33:12]Write i2c OK [08:33:12]MH_I2C_Read... [08:33:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:33:12]Read from MH i2c: E2 [08:33:12]MH_I2C_Read... [08:33:12]Read from MH i2c: E2 62 00 [08:33:12]MH_I2C_Read... [08:33:12]Read from MH i2c: E2 62 00 03 45 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F8 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 19 [08:33:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F8 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:33:12]wFMCommunicate OK [08:33:12]SAM_PROTO_GetFieldsCounters done [08:33:12]requested_item shift.num is exist - process it [08:33:12]requested_item shift.opened is exist - process it [08:33:12]req_shift_opened [08:33:12]FM_GetShiftState [08:33:12]SAM_PROTO_GetShiftState [08:33:12]wFMCommunicate request_size=4 [08:33:12]MH_SAM_APDU [08:33:12]CAPDU: 80 13 01 00 [08:33:12]Write to MH i2c: E2 08 00 04 45 80 13 01 00 00 00 00 00 C6 [08:33:12]Write i2c OK [08:33:12]MH_I2C_Read... [08:33:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:33:12]Read from MH i2c: E2 [08:33:12]MH_I2C_Read... [08:33:12]Read from MH i2c: E2 0E 00 [08:33:12]MH_I2C_Read... [08:33:12]Read from MH i2c: E2 0E 00 04 45 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 6F [08:33:12]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:33:12]wFMCommunicate OK [08:33:12]SAM_PROTO_GetShiftState done [08:33:12]FM_GetShiftState done [08:33:12]req_shift_opened done [08:33:12]requested_item shift.open_date is exist - process it [08:33:12]req_shift_open_date [08:33:12]req_shift_open_date done [08:33:12]produce_requested_data done [08:33:12]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2552,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:33:12]process_action_free close_receipt [08:33:12]json_value_free [08:33:12]json_value_free done [08:33:12]process_json_proto returns [08:33:12]Send response to host [08:33:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2552,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:33:12]free response buf [08:33:12]execute_script done [08:33:12]execute_script returns [08:33:12]free content buf [08:33:12]Sock 9.Close socket [08:33:12]Sock 9.Thread stoped [08:33:16]OFD Sender: No OFD packet to send [08:33:21]OFD Sender: No OFD packet to send [08:33:26]OFD Sender: No OFD packet to send [08:33:31]OFD Sender: No OFD packet to send [08:33:35]accept exits with 7 [08:33:35]New connection [08:33:35]New thread 3066707300 created [08:33:35]Thread 3066850660 joined [08:33:35]Waiting for new connection... [08:33:35] Sock 7.Parse request [08:33:35]Sock 7.Check first char [08:33:35]Sock 7.First char is OK [08:33:35]request: POST /json_proto HTTP/1.0 [08:33:35]Method: POST [08:33:35]URL: /json_proto [08:33:35]Method is POST - this is cgi request [08:33:35]url: /json_proto [08:33:35]query_string will be loaded in cgi processing [08:33:35]execute_cgi json_proto POST (null) [08:33:35]execute_cgi path=json_proto method=POST [08:33:35]POST find Content-Length [08:33:35]Host: 172.17.52.132:8080 [08:33:35]Content-Length: 670 [08:33:35]Content-Type: application/json [08:33:35] [08:33:35]POST finish read [08:33:35]Found Content-Length = 670 [08:33:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475902", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 4.390, "sum" : 300.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:33:35]execute_script... [08:33:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)475902", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 4.390, "sum" : 300.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:33:35]POST & json_proto [08:33:35]process_json_proto [08:33:35]json parsed OK: [08:33:35]protocol is kg_v1.0 [08:33:35]action value=close_receipt [08:33:35]process_action close_receipt [08:33:35]cmd_close_receipt [08:33:35]MH_GetDate [08:33:35]Write to MH i2c: F0 00 00 05 45 39 [08:33:35]Write i2c OK [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: F0 [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: F0 09 00 [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: F0 09 00 05 45 00 E8 6E 13 67 5A BE F6 66 86 [08:33:35]GetLastDocTimeStamp 1729326797 [08:33:35]current date 1729326824 [08:33:35]FM_GetShiftState [08:33:35]SAM_PROTO_GetShiftState [08:33:35]wFMCommunicate request_size=4 [08:33:35]MH_SAM_APDU [08:33:35]CAPDU: 80 13 01 00 [08:33:35]Write to MH i2c: E2 08 00 06 45 80 13 01 00 00 00 00 00 C8 [08:33:35]Write i2c OK [08:33:35]MH_I2C_Read... [08:33:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:33:35]Read from MH i2c: E2 [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: E2 0E 00 [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: E2 0E 00 06 45 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 71 [08:33:35]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:33:35]wFMCommunicate OK [08:33:35]SAM_PROTO_GetShiftState done [08:33:35]FM_GetShiftState done [08:33:35]opened in 1729296173 [08:33:35]opened+sec_in_day 1729382573 [08:33:35]quantity*price = 30027 [08:33:35]sum+1 = 30029 [08:33:35]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.28 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.89 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 14 19.10.2024 08:33 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2553 ФПД: 118646254762755 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T083344&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2553&fm=118646254762755&tin=02508201610067®Number=0000000000207295&sum=30000 [08:33:36]StoreToDocumentArchive [08:33:36]shift 23 fd 2553 [08:33:36]save to /storage/0023/doc_00002553 [08:33:36]save last doc name /storage/0023/doc_00002553 to /storage/kkm_last_doc_name [08:33:36]save OK [08:33:36]Clear old archive folders... [08:33:36]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:33:36]tlvbuf is 0149CE20 [08:33:36]SAM_PROTO_ClearQueue [08:33:36]wFMCommunicate request_size=4 [08:33:36]MH_SAM_APDU [08:33:36]CAPDU: 80 09 00 00 [08:33:36]Write to MH i2c: E2 08 00 13 45 80 09 00 00 00 00 00 00 CA [08:33:36]Write i2c OK [08:33:36]MH_I2C_Read... [08:33:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:33:36]Read from MH i2c: E2 [08:33:36]MH_I2C_Read... [08:33:36]Read from MH i2c: E2 03 00 [08:33:36]MH_I2C_Read... [08:33:36]Read from MH i2c: E2 03 00 13 45 00 90 00 CC [08:33:36]RAPDU: 90 00 [08:33:36]wFMCommunicate OK [08:33:36]SAM_PROTO_ClearQueue done [08:33:36]KKMCreateOFDPacket [08:33:36]OFDProtocolAddRootSTLVToBuf [08:33:36]FM_MakeSignedData [08:33:36]FM_MakeSignedData [08:33:36]SAM_PROTO_SignData [08:33:36]wFMCommunicate request_size=4 [08:33:36]MH_SAM_APDU [08:33:36]CAPDU: 80 0D 01 02 [08:33:36]Write to MH i2c: E2 08 00 14 45 80 0D 01 02 00 00 00 00 D2 [08:33:36]Write i2c OK [08:33:36]MH_I2C_Read... [08:33:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:33:37]Read from MH i2c: E2 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 03 00 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 03 00 14 45 00 90 00 CD [08:33:37]RAPDU: 90 00 [08:33:37]wFMCommunicate OK [08:33:37]wFMCommunicate request_size=255 [08:33:37]MH_SAM_APDU [08:33:37]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 11 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 E8 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F9 09 00 00 35 04 06 00 [08:33:37]Write to MH i2c: E2 02 01 15 45 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 11 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 E8 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F9 09 00 00 35 04 06 00 00 00 12 [08:33:37]Write i2c OK [08:33:37]MH_I2C_Read... [08:33:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:33:37]Read from MH i2c: E2 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 03 00 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 03 00 15 45 00 90 00 CE [08:33:37]RAPDU: 90 00 [08:33:37]wFMCommunicate OK [08:33:37]wFMCommunicate request_size=11 [08:33:37]MH_SAM_APDU [08:33:37]CAPDU: 80 0D 02 02 06 6B E8 7B DE 7B 03 [08:33:37]Write to MH i2c: E2 0E 00 16 45 80 0D 02 02 06 00 6B E8 7B DE 7B 03 00 00 0B [08:33:37]Write i2c OK [08:33:37]MH_I2C_Read... [08:33:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:33:37]Read from MH i2c: E2 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 03 00 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 03 00 16 45 00 90 00 CF [08:33:37]RAPDU: 90 00 [08:33:37]wFMCommunicate OK [08:33:37]wFMCommunicate request_size=4 [08:33:37]MH_SAM_APDU [08:33:37]CAPDU: 80 0D 03 02 [08:33:37]Write to MH i2c: E2 08 00 17 45 80 0D 03 02 00 00 00 00 D7 [08:33:37]Write i2c OK [08:33:37]MH_I2C_Read... [08:33:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:33:37]Read from MH i2c: E2 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 0B 00 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 0B 00 17 45 00 6E AE 2A E4 7D BD CF 96 90 00 A1 [08:33:37]RAPDU: 6E AE 2A E4 7D BD CF 96 90 00 [08:33:37]wFMCommunicate OK [08:33:37]SAM_PROTO_SignData done [08:33:37]FM_MakeSignedData done [08:33:37]CreateOFDProtocolMessage [08:33:37]wFMCommunicate request_size=4 [08:33:37]MH_SAM_APDU [08:33:37]CAPDU: 80 11 00 00 [08:33:37]Write to MH i2c: E2 08 00 18 45 80 11 00 00 00 00 00 00 D7 [08:33:37]Write i2c OK [08:33:37]MH_I2C_Read... [08:33:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:33:37]Read from MH i2c: E2 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 17 00 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: E2 17 00 18 45 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 1F [08:33:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:33:37]wFMCommunicate OK [08:33:37]CreateOFDProtocolMessage done [08:33:37]OFDSenderStorePacket 2553 [08:33:37]StoreOFDPacket docnum=2553 [08:33:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 01 00 00 4B FC 08 01 AB 7C 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 11 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 E8 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F9 09 00 00 35 04 06 00 6B E8 7B DE 7B 03 6E AE 2A E4 7D BD CF 96 [08:33:37]CheckFolder [08:33:37]dirname=/storage/ofd_packets [08:33:37]CheckFolder done [08:33:37]ProducePacketName [08:33:37]name=ofd_packets/00002553 [08:33:37]NVStorageSaveData ofd_packets/00002553 [08:33:37]File name is /storage/ofd_packets/00002553 [08:33:37]Write 302 bytes [08:33:37]NVStorageSaveData done [08:33:37]OFDSenderStorePacket done [08:33:37]KKMCreateOFDPacket done [08:33:37]NVStorageSaveData kkm_last_timestamp [08:33:37]File name is /storage/kkm_last_timestamp [08:33:37]Write 4 bytes [08:33:37]NVStorageSaveData done [08:33:37]ExternCall_PrintAddStr [08:33:37]wPrintStart [08:33:37]Write to MH i2c: 01 00 00 19 45 5E [08:33:37]Write i2c OK [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: 01 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: 01 07 00 [08:33:37]MH_I2C_Read... [08:33:37]Read from MH i2c: 01 07 00 19 45 00 00 00 00 00 FF 0F 73 [08:33:37]RasterBufferAndPrint [08:33:37]line Счет N : (1)475902 [08:33:37]line ИНН: 02508201610067 [08:33:37]line Контрольно-Кассовый Чек [08:33:37]line ПРОДАЖА [08:33:37]line ТРК (МРК, ГНК) : 33 [08:33:37]line Товар: 2710124130 [08:33:37]line SUPER-92-К-5 [08:33:37]line 4.390 * 68.40 [08:33:37]line = 300.28 [08:33:37]line НДС 12% НСП 1% [08:33:37]line > о реализуемом товаре [08:33:37]line ОКРУГЛЕНИЕ: -0.28 [08:33:37]line ИТОГО: 300.00 [08:33:37]line Внесено: 300.00 [08:33:37]line СДАЧА: 0.00 [08:33:37]line НСП 1% : 2.66 [08:33:37]line НДС 12% : 31.89 [08:33:37]line Наличными: 300.00 [08:33:37]line Безнал.: 0.00 [08:33:37]line Место: АЗС № 162 "Партнер Нефть" [08:33:37]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:33:37]line СНО: Общий режим [08:33:37]line Чек 14 19.10.2024 08:33 [08:33:37]line Смена: 23 ФФД: 1.0 [08:33:37]line ЗНМ: 0300000191 [08:33:37]line РНМ: 0000000000207295 [08:33:37]line Версия ККМ: v1.0 [08:33:37]line ФМ: 0000000002342820 [08:33:37]line ФД: 2553 [08:33:37]line ФПД: 118646254762755 [08:33:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T083344&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2553&fm=118646254762755&tin=02508201610067®Number=0000000000207295&sum=30000 [08:33:37]OFD Sender: Processing packet 2553 [packets to send 1, broken 0] [08:33:37]ProducePacketName [08:33:37]name=ofd_packets/00002553 [08:33:37]OFD Sender: To server: pG, [08:33:37]CommunicateWithHost lk.salyk.kg:30040 [08:33:37]ConnectInit lk.salyk.kg [08:33:37]written 0, free lines is 4095 [08:33:37]Connected sock=11 [08:33:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 01 00 00 4B FC 08 01 AB 7C 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 11 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 E8 6E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F9 09 00 00 35 04 06 00 6B E8 7B DE 7B 03 6E AE 2A E4 7D BD CF 96 [08:33:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 6B CF 47 00 0E 5E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 F9 09 00 00 F4 03 04 00 49 1A 13 67 B6 04 01 00 00 01 73 9F 77 19 C6 69 60 [08:33:38]CommunicateWithHost err = 0 [08:33:38]CheckOFDResponse [08:33:38]1017 (14) - 77093643461234 [08:33:38]1041 (16) - 0000000002342820 [08:33:38]1040 (4) - 2553 [08:33:38]1012 (4) - 19.10.2024 02:32 [08:33:38]1206 (1) - 0 [08:33:38]OFD Sender: Remove packet 2553 [08:33:38]ProducePacketName [08:33:38]name=ofd_packets/00002553 [08:33:38]NVStorageDeleteData [08:33:38]Write to MH i2c: 01 00 00 44 45 89 [08:33:38]Write i2c OK [08:33:38]MH_I2C_Read... [08:33:38]Read from MH i2c: 01 [08:33:38]MH_I2C_Read... [08:33:38]Read from MH i2c: 01 07 00 [08:33:38]MH_I2C_Read... [08:33:38]Read from MH i2c: 01 07 00 44 45 00 00 00 00 00 97 0C 33 [08:33:38]RasterBufferAndPrint [08:33:38]line [08:33:38]line [08:33:38]line [08:33:38]line [08:33:38]line [08:33:38]written 0, free lines is 3227 [08:33:38]MH_Cut [08:33:38]Write to MH i2c: D1 01 00 4B 45 01 62 [08:33:38]Write i2c OK [08:33:38]MH_I2C_Read... [08:33:38]Read from MH i2c: D1 [08:33:38]MH_I2C_Read... [08:33:38]Read from MH i2c: D1 01 00 [08:33:38]MH_I2C_Read... [08:33:38]Read from MH i2c: D1 01 00 4B 45 00 61 [08:33:38]Write to MH i2c: 01 00 00 4C 45 91 [08:33:38]Write i2c OK [08:33:38]MH_I2C_Read... [08:33:38]OFD Sender: No OFD packet to send [08:33:39]*** Cut start [08:33:39]*** Partial cut [08:33:39]*** CUTSNS_PIN = 1 [08:33:39]*** CUTSNS_PIN = 0 [08:33:39]*** Brake cut motor [08:33:39]Read from MH i2c: 01 [08:33:39]MH_I2C_Read... [08:33:39]*** Stop cut motor [08:33:39]*** Cut end [08:33:39]Read from MH i2c: 01 07 00 [08:33:39]MH_I2C_Read... [08:33:39]Read from MH i2c: 01 07 00 4C 45 00 00 00 00 00 FF 0F A6 [08:33:39]process_action close_receipt done [08:33:39]requested_data is exist [08:33:39]produce_requested_data [08:33:39]requested_item fm.sn is exist - process it [08:33:39]wFMCommunicate request_size=4 [08:33:39]MH_SAM_APDU [08:33:39]CAPDU: 80 11 00 00 [08:33:39]Write to MH i2c: E2 08 00 4D 45 80 11 00 00 00 00 00 00 0C [08:33:39]Write i2c OK [08:33:39]MH_I2C_Read... [08:33:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:33:39]Read from MH i2c: E2 [08:33:39]MH_I2C_Read... [08:33:39]Read from MH i2c: E2 17 00 [08:33:39]MH_I2C_Read... [08:33:39]Read from MH i2c: E2 17 00 4D 45 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 54 [08:33:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:33:39]wFMCommunicate OK [08:33:39]requested_item fd.num is exist - process it [08:33:39]SAM_PROTO_GetFieldsCounters [08:33:39]wFMCommunicate request_size=4 [08:33:39]MH_SAM_APDU [08:33:39]CAPDU: 80 13 00 00 [08:33:39]Write to MH i2c: E2 08 00 4E 45 80 13 00 00 00 00 00 00 0F [08:33:39]Write i2c OK [08:33:39]MH_I2C_Read... [08:33:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:33:40]Read from MH i2c: E2 [08:33:40]MH_I2C_Read... [08:33:40]Read from MH i2c: E2 62 00 [08:33:40]MH_I2C_Read... [08:33:40]Read from MH i2c: E2 62 00 4E 45 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F9 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 68 [08:33:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 F9 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:33:40]wFMCommunicate OK [08:33:40]SAM_PROTO_GetFieldsCounters done [08:33:40]requested_item shift.num is exist - process it [08:33:40]requested_item shift.opened is exist - process it [08:33:40]req_shift_opened [08:33:40]FM_GetShiftState [08:33:40]SAM_PROTO_GetShiftState [08:33:40]wFMCommunicate request_size=4 [08:33:40]MH_SAM_APDU [08:33:40]CAPDU: 80 13 01 00 [08:33:40]Write to MH i2c: E2 08 00 4F 45 80 13 01 00 00 00 00 00 11 [08:33:40]Write i2c OK [08:33:40]MH_I2C_Read... [08:33:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:33:40]Read from MH i2c: E2 [08:33:40]MH_I2C_Read... [08:33:40]Read from MH i2c: E2 0E 00 [08:33:40]MH_I2C_Read... [08:33:40]Read from MH i2c: E2 0E 00 4F 45 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 BA [08:33:40]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:33:40]wFMCommunicate OK [08:33:40]SAM_PROTO_GetShiftState done [08:33:40]FM_GetShiftState done [08:33:40]req_shift_opened done [08:33:40]requested_item shift.open_date is exist - process it [08:33:40]req_shift_open_date [08:33:40]req_shift_open_date done [08:33:40]produce_requested_data done [08:33:40]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2553,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:33:40]process_action_free close_receipt [08:33:40]json_value_free [08:33:40]json_value_free done [08:33:40]process_json_proto returns [08:33:40]Send response to host [08:33:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2553,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:33:40]free response buf [08:33:40]execute_script done [08:33:40]execute_script returns [08:33:40]free content buf [08:33:40]Sock 7.Close socket [08:33:40]Sock 7.Thread stoped [08:33:43]OFD Sender: No OFD packet to send [08:33:48]OFD Sender: No OFD packet to send [08:33:53]OFD Sender: No OFD packet to send [08:33:58]OFD Sender: No OFD packet to send [08:34:03]OFD Sender: No OFD packet to send [08:34:08]OFD Sender: No OFD packet to send [08:34:13]OFD Sender: No OFD packet to send [08:34:18]OFD Sender: No OFD packet to send [08:34:23]OFD Sender: No OFD packet to send [08:34:28]OFD Sender: No OFD packet to send [08:34:33]OFD Sender: No OFD packet to send [08:34:38]OFD Sender: No OFD packet to send [08:34:43]OFD Sender: No OFD packet to send [08:34:48]OFD Sender: No OFD packet to send [08:34:53]OFD Sender: No OFD packet to send [08:34:58]OFD Sender: No OFD packet to send [08:35:03]OFD Sender: No OFD packet to send [08:35:08]OFD Sender: No OFD packet to send [08:35:13]OFD Sender: No OFD packet to send [08:35:18]OFD Sender: No OFD packet to send [08:35:23]OFD Sender: No OFD packet to send [08:35:28]OFD Sender: No OFD packet to send [08:35:33]OFD Sender: No OFD packet to send [08:35:38]OFD Sender: No OFD packet to send [08:35:43]OFD Sender: No OFD packet to send [08:35:48]OFD Sender: No OFD packet to send [08:35:53]OFD Sender: No OFD packet to send [08:35:58]OFD Sender: No OFD packet to send [08:36:03]OFD Sender: No OFD packet to send [08:36:08]OFD Sender: No OFD packet to send [08:36:13]OFD Sender: No OFD packet to send [08:36:18]OFD Sender: No OFD packet to send [08:36:23]OFD Sender: No OFD packet to send [08:36:28]OFD Sender: No OFD packet to send [08:36:33]OFD Sender: No OFD packet to send [08:36:38]OFD Sender: No OFD packet to send [08:36:43]OFD Sender: No OFD packet to send [08:36:48]OFD Sender: No OFD packet to send [08:36:53]OFD Sender: No OFD packet to send [08:36:58]OFD Sender: No OFD packet to send [08:37:03]OFD Sender: No OFD packet to send [08:37:08]OFD Sender: No OFD packet to send [08:37:13]OFD Sender: No OFD packet to send [08:37:18]OFD Sender: No OFD packet to send [08:37:23]OFD Sender: No OFD packet to send [08:37:28]OFD Sender: No OFD packet to send [08:37:33]OFD Sender: No OFD packet to send [08:37:38]OFD Sender: No OFD packet to send [08:37:43]OFD Sender: No OFD packet to send [08:37:48]OFD Sender: No OFD packet to send [08:37:53]OFD Sender: No OFD packet to send [08:37:58]OFD Sender: No OFD packet to send [08:38:03]OFD Sender: No OFD packet to send [08:38:08]OFD Sender: No OFD packet to send [08:38:13]OFD Sender: No OFD packet to send [08:38:18]OFD Sender: No OFD packet to send [08:38:23]OFD Sender: No OFD packet to send [08:38:28]OFD Sender: No OFD packet to send [08:38:33]OFD Sender: No OFD packet to send [08:38:38]OFD Sender: No OFD packet to send [08:38:43]OFD Sender: No OFD packet to send [08:38:48]OFD Sender: No OFD packet to send [08:38:53]OFD Sender: No OFD packet to send [08:38:58]OFD Sender: No OFD packet to send [08:39:03]OFD Sender: No OFD packet to send [08:39:08]OFD Sender: No OFD packet to send [08:39:13]OFD Sender: No OFD packet to send [08:39:18]OFD Sender: No OFD packet to send [08:39:23]OFD Sender: No OFD packet to send [08:39:28]OFD Sender: No OFD packet to send [08:39:33]OFD Sender: No OFD packet to send [08:39:38]OFD Sender: No OFD packet to send [08:39:43]OFD Sender: No OFD packet to send [08:39:48]OFD Sender: No OFD packet to send [08:39:53]OFD Sender: No OFD packet to send [08:39:58]OFD Sender: No OFD packet to send [08:40:03]OFD Sender: No OFD packet to send [08:40:08]OFD Sender: No OFD packet to send [08:40:13]OFD Sender: No OFD packet to send [08:40:18]OFD Sender: No OFD packet to send [08:40:23]OFD Sender: No OFD packet to send [08:40:28]OFD Sender: No OFD packet to send [08:40:33]OFD Sender: No OFD packet to send [08:40:38]OFD Sender: No OFD packet to send [08:40:43]OFD Sender: No OFD packet to send [08:40:48]OFD Sender: No OFD packet to send [08:40:53]OFD Sender: No OFD packet to send [08:40:58]OFD Sender: No OFD packet to send [08:41:03]OFD Sender: No OFD packet to send [08:41:08]OFD Sender: No OFD packet to send [08:41:13]OFD Sender: No OFD packet to send [08:41:18]OFD Sender: No OFD packet to send [08:41:23]OFD Sender: No OFD packet to send [08:41:28]OFD Sender: No OFD packet to send [08:41:33]OFD Sender: No OFD packet to send [08:41:38]OFD Sender: No OFD packet to send [08:41:43]OFD Sender: No OFD packet to send [08:41:48]OFD Sender: No OFD packet to send [08:41:53]OFD Sender: No OFD packet to send [08:41:58]OFD Sender: No OFD packet to send [08:42:04]OFD Sender: No OFD packet to send [08:42:09]OFD Sender: No OFD packet to send [08:42:14]OFD Sender: No OFD packet to send [08:42:19]OFD Sender: No OFD packet to send [08:42:24]OFD Sender: No OFD packet to send [08:42:29]OFD Sender: No OFD packet to send [08:42:34]OFD Sender: No OFD packet to send [08:42:39]OFD Sender: No OFD packet to send [08:42:44]OFD Sender: No OFD packet to send [08:42:49]OFD Sender: No OFD packet to send [08:42:54]OFD Sender: No OFD packet to send [08:42:59]OFD Sender: No OFD packet to send [08:43:04]OFD Sender: No OFD packet to send [08:43:09]OFD Sender: No OFD packet to send [08:43:14]OFD Sender: No OFD packet to send [08:43:19]OFD Sender: No OFD packet to send [08:43:24]OFD Sender: No OFD packet to send [08:43:29]OFD Sender: No OFD packet to send [08:43:34]OFD Sender: No OFD packet to send [08:43:39]OFD Sender: No OFD packet to send [08:43:44]OFD Sender: No OFD packet to send [08:43:49]OFD Sender: No OFD packet to send [08:43:54]OFD Sender: No OFD packet to send [08:43:59]OFD Sender: No OFD packet to send [08:44:04]OFD Sender: No OFD packet to send [08:44:09]OFD Sender: No OFD packet to send [08:44:14]OFD Sender: No OFD packet to send [08:44:15]accept exits with 9 [08:44:15]New connection [08:44:15]New thread 3066850660 created [08:44:15]Thread 3066707300 joined [08:44:15]Waiting for new connection... [08:44:15] Sock 9.Parse request [08:44:15]Sock 9.Check first char [08:44:15]Sock 9.First char is OK [08:44:15]request: POST /json_proto HTTP/1.0 [08:44:15]Method: POST [08:44:15]URL: /json_proto [08:44:15]Method is POST - this is cgi request [08:44:15]url: /json_proto [08:44:15]query_string will be loaded in cgi processing [08:44:15]execute_cgi json_proto POST (null) [08:44:15]execute_cgi path=json_proto method=POST [08:44:15]POST find Content-Length [08:44:15]Host: 172.17.52.132:8080 [08:44:15]Content-Length: 885 [08:44:15]Content-Type: application/json [08:44:15] [08:44:15]POST finish read [08:44:15]Found Content-Length = 885 [08:44:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99932", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:44:15]execute_script... [08:44:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99932", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:44:15]POST & json_proto [08:44:15]process_json_proto [08:44:15]json parsed OK: [08:44:15]protocol is kg_v1.0 [08:44:15]action value=close_receipt [08:44:15]process_action close_receipt [08:44:15]cmd_close_receipt [08:44:15]MH_GetDate [08:44:15]Write to MH i2c: F0 00 00 50 45 84 [08:44:15]Write i2c OK [08:44:15]MH_I2C_Read... [08:44:15]Read from MH i2c: F0 [08:44:15]MH_I2C_Read... [08:44:15]Read from MH i2c: F0 09 00 [08:44:15]MH_I2C_Read... [08:44:15]Read from MH i2c: F0 09 00 50 45 00 67 71 13 67 5A BE F6 66 53 [08:44:15]GetLastDocTimeStamp 1729326824 [08:44:15]current date 1729327463 [08:44:15]FM_GetShiftState [08:44:15]SAM_PROTO_GetShiftState [08:44:15]wFMCommunicate request_size=4 [08:44:15]MH_SAM_APDU [08:44:15]CAPDU: 80 13 01 00 [08:44:15]Write to MH i2c: E2 08 00 51 45 80 13 01 00 00 00 00 00 13 [08:44:15]Write i2c OK [08:44:15]MH_I2C_Read... [08:44:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:44:15]Read from MH i2c: E2 [08:44:15]MH_I2C_Read... [08:44:15]Read from MH i2c: E2 0E 00 [08:44:15]MH_I2C_Read... [08:44:15]Read from MH i2c: E2 0E 00 51 45 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 BC [08:44:15]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:44:15]wFMCommunicate OK [08:44:15]SAM_PROTO_GetShiftState done [08:44:15]FM_GetShiftState done [08:44:15]opened in 1729296173 [08:44:15]opened+sec_in_day 1729382573 [08:44:15]quantity*price = 9500 [08:44:15]sum+1 = 9501 [08:44:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 15 19.10.2024 08:44 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000002342820 ФД: 2554 ФПД: 182025346117659 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T084423&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2554&fm=182025346117659&tin=02508201610067®Number=0000000000207295&sum=9500 0 [08:44:16]StoreToDocumentArchive [08:44:16]shift 23 fd 2554 [08:44:16]save to /storage/0023/doc_00002554 [08:44:16]save last doc name /storage/0023/doc_00002554 to /storage/kkm_last_doc_name [08:44:16]save OK [08:44:16]Clear old archive folders... [08:44:16]ProcessDocumentItem done err = 0, tmpTLVsize=304 [08:44:16]tlvbuf is 013821F0 [08:44:16]SAM_PROTO_ClearQueue [08:44:16]wFMCommunicate request_size=4 [08:44:16]MH_SAM_APDU [08:44:16]CAPDU: 80 09 00 00 [08:44:16]Write to MH i2c: E2 08 00 5E 45 80 09 00 00 00 00 00 00 15 [08:44:16]Write i2c OK [08:44:16]MH_I2C_Read... [08:44:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:44:16]Read from MH i2c: E2 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: E2 03 00 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: E2 03 00 5E 45 00 90 00 17 [08:44:16]RAPDU: 90 00 [08:44:16]wFMCommunicate OK [08:44:16]SAM_PROTO_ClearQueue done [08:44:16]KKMCreateOFDPacket [08:44:16]OFDProtocolAddRootSTLVToBuf [08:44:16]FM_MakeSignedData [08:44:16]FM_MakeSignedData [08:44:16]SAM_PROTO_SignData [08:44:16]wFMCommunicate request_size=4 [08:44:16]MH_SAM_APDU [08:44:16]CAPDU: 80 0D 01 02 [08:44:16]Write to MH i2c: E2 08 00 5F 45 80 0D 01 02 00 00 00 00 1D [08:44:16]Write i2c OK [08:44:16]MH_I2C_Read... [08:44:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:44:16]Read from MH i2c: E2 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: E2 03 00 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: E2 03 00 5F 45 00 90 00 18 [08:44:16]RAPDU: 90 00 [08:44:16]wFMCommunicate OK [08:44:16]wFMCommunicate request_size=255 [08:44:16]MH_SAM_APDU [08:44:16]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 67 71 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 [08:44:16]Write to MH i2c: E2 02 01 60 45 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 67 71 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 00 00 DB [08:44:16]Write i2c OK [08:44:16]MH_I2C_Read... [08:44:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:44:16]Read from MH i2c: E2 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: E2 03 00 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: E2 03 00 60 45 00 90 00 19 [08:44:16]RAPDU: 90 00 [08:44:16]wFMCommunicate OK [08:44:16]wFMCommunicate request_size=63 [08:44:16]MH_SAM_APDU [08:44:16]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FA 09 00 00 35 04 06 00 A5 8D 14 18 70 1B [08:44:16]Write to MH i2c: E2 42 00 61 45 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FA 09 00 00 35 04 06 00 A5 8D 14 18 70 1B 00 00 4B [08:44:16]Write i2c OK [08:44:16]MH_I2C_Read... [08:44:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:44:16]Read from MH i2c: E2 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: E2 03 00 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: E2 03 00 61 45 00 90 00 1A [08:44:16]RAPDU: 90 00 [08:44:16]wFMCommunicate OK [08:44:16]wFMCommunicate request_size=4 [08:44:16]MH_SAM_APDU [08:44:16]CAPDU: 80 0D 03 02 [08:44:16]Write to MH i2c: E2 08 00 62 45 80 0D 03 02 00 00 00 00 22 [08:44:16]Write i2c OK [08:44:16]MH_I2C_Read... [08:44:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:44:16]Read from MH i2c: E2 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: E2 0B 00 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: E2 0B 00 62 45 00 06 BC F5 DE C2 EB 92 BA 90 00 B1 [08:44:16]RAPDU: 06 BC F5 DE C2 EB 92 BA 90 00 [08:44:16]wFMCommunicate OK [08:44:16]SAM_PROTO_SignData done [08:44:16]FM_MakeSignedData done [08:44:16]CreateOFDProtocolMessage [08:44:16]wFMCommunicate request_size=4 [08:44:16]MH_SAM_APDU [08:44:16]CAPDU: 80 11 00 00 [08:44:16]Write to MH i2c: E2 08 00 63 45 80 11 00 00 00 00 00 00 22 [08:44:16]Write i2c OK [08:44:16]MH_I2C_Read... [08:44:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:44:16]Read from MH i2c: E2 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: E2 17 00 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: E2 17 00 63 45 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 6A [08:44:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:44:16]wFMCommunicate OK [08:44:16]CreateOFDProtocolMessage done [08:44:16]OFDSenderStorePacket 2554 [08:44:16]StoreOFDPacket docnum=2554 [08:44:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 44 01 00 00 4F 30 3C 01 A6 17 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 67 71 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FA 09 00 00 35 04 06 00 A5 8D 14 18 70 1B 06 BC F5 DE C2 EB 92 BA [08:44:16]CheckFolder [08:44:16]dirname=/storage/ofd_packets [08:44:16]CheckFolder done [08:44:16]ProducePacketName [08:44:16]name=ofd_packets/00002554 [08:44:16]NVStorageSaveData ofd_packets/00002554 [08:44:16]File name is /storage/ofd_packets/00002554 [08:44:16]Write 354 bytes [08:44:16]NVStorageSaveData done [08:44:16]OFDSenderStorePacket done [08:44:16]KKMCreateOFDPacket done [08:44:16]NVStorageSaveData kkm_last_timestamp [08:44:16]File name is /storage/kkm_last_timestamp [08:44:16]Write 4 bytes [08:44:16]NVStorageSaveData done [08:44:16]ExternCall_PrintAddStr [08:44:16]wPrintStart [08:44:16]Write to MH i2c: 01 00 00 64 45 A9 [08:44:16]Write i2c OK [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: 01 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: 01 07 00 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: 01 07 00 64 45 00 00 00 00 00 FF 0F BE [08:44:16]RasterBufferAndPrint [08:44:16]line Счет N : (3)99932 [08:44:16]line ИНН: 02508201610067 [08:44:16]line Контрольно-Кассовый Чек [08:44:16]line ПРОДАЖА [08:44:16]line Товар: 4700000480302 [08:44:16]line Напиток энерг Nitro манго-клуб 0.45 ж/б [08:44:16]line 1.000 * 95.00 [08:44:16]line = 95.00 [08:44:16]line НДС 12% НСП 1% [08:44:16]line > о реализуемом товаре [08:44:16]line ИТОГО: 95.00 [08:44:16]line НСП 1% : 0.84 [08:44:16]line НДС 12% : 10.09 [08:44:16]line Наличными: 0.00 [08:44:16]line Безнал.: 95.00 [08:44:16]line Место: АЗС № 162 "Партнер Нефть" [08:44:16]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:44:16]line СНО: Общий режим [08:44:16]line Чек 15 19.10.2024 08:44 [08:44:16]line Смена: 23 ФФД: 1.0 [08:44:16]line ЗНМ: 0300000191 [08:44:16]line РНМ: 0000000000207295 [08:44:16]line Версия ККМ: v1.0 [08:44:16]line Платежная система: Бакай Банк [08:44:16]line ФМ: 0000000002342820 [08:44:16]line ФД: 2554 [08:44:16]line ФПД: 182025346117659 [08:44:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T084423&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2554&fm=182025346117659&tin=02508201610067®Number=0000000000207295&sum=9500 [08:44:17]line 0 [08:44:17]OFD Sender: Processing packet 2554 [packets to send 1, broken 0] [08:44:17]ProducePacketName [08:44:17]name=ofd_packets/00002554 [08:44:17]OFD Sender: To server: pG, [08:44:17]CommunicateWithHost lk.salyk.kg:30040 [08:44:17]ConnectInit lk.salyk.kg [08:44:17]written 0, free lines is 4095 [08:44:17]Connected sock=10 [08:44:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 44 01 00 00 4F 30 3C 01 A6 17 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 67 71 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FA 09 00 00 35 04 06 00 A5 8D 14 18 70 1B 06 BC F5 DE C2 EB 92 BA [08:44:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 25 99 47 00 33 1B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FA 09 00 00 F4 03 04 00 C9 1C 13 67 B6 04 01 00 00 33 CB 27 3B A5 98 AF AE [08:44:17]CommunicateWithHost err = 0 [08:44:17]CheckOFDResponse [08:44:17]1017 (14) - 77093643461234 [08:44:17]1041 (16) - 0000000002342820 [08:44:17]1040 (4) - 2554 [08:44:17]1012 (4) - 19.10.2024 02:43 [08:44:17]1206 (1) - 0 [08:44:17]OFD Sender: Remove packet 2554 [08:44:17]ProducePacketName [08:44:17]name=ofd_packets/00002554 [08:44:17]NVStorageDeleteData [08:44:17]Write to MH i2c: 01 00 00 8F 45 D4 [08:44:17]Write i2c OK [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: 01 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: 01 07 00 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: 01 07 00 8F 45 00 00 00 00 00 80 0C 67 [08:44:17]RasterBufferAndPrint [08:44:17]line [08:44:17]line [08:44:17]line [08:44:17]line [08:44:17]line [08:44:17]written 0, free lines is 3205 [08:44:17]MH_Cut [08:44:17]Write to MH i2c: D1 01 00 96 45 01 AD [08:44:17]Write i2c OK [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: D1 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: D1 01 00 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: D1 01 00 96 45 00 AC [08:44:17]Write to MH i2c: 01 00 00 97 45 DC [08:44:17]Write i2c OK [08:44:17]MH_I2C_Read... [08:44:17]OFD Sender: No OFD packet to send [08:44:18]*** Cut start [08:44:18]*** Partial cut [08:44:18]*** CUTSNS_PIN = 1 [08:44:18]*** CUTSNS_PIN = 0 [08:44:18]*** Brake cut motor [08:44:19]Read from MH i2c: 01 [08:44:19]MH_I2C_Read... [08:44:19]*** Stop cut motor [08:44:19]*** Cut end [08:44:19]Read from MH i2c: 01 07 00 [08:44:19]MH_I2C_Read... [08:44:19]Read from MH i2c: 01 07 00 97 45 00 00 00 00 00 FF 0F F1 [08:44:19]process_action close_receipt done [08:44:19]requested_data is exist [08:44:19]produce_requested_data [08:44:19]requested_item fm.sn is exist - process it [08:44:19]wFMCommunicate request_size=4 [08:44:19]MH_SAM_APDU [08:44:19]CAPDU: 80 11 00 00 [08:44:19]Write to MH i2c: E2 08 00 98 45 80 11 00 00 00 00 00 00 57 [08:44:19]Write i2c OK [08:44:19]MH_I2C_Read... [08:44:19]Read from MH i2c: E2 [08:44:19]MH_I2C_Read... [08:44:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:44:19]Read from MH i2c: E2 17 00 [08:44:19]MH_I2C_Read... [08:44:19]Read from MH i2c: E2 17 00 98 45 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 9F [08:44:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:44:19]wFMCommunicate OK [08:44:19]requested_item fd.num is exist - process it [08:44:19]SAM_PROTO_GetFieldsCounters [08:44:19]wFMCommunicate request_size=4 [08:44:19]MH_SAM_APDU [08:44:19]CAPDU: 80 13 00 00 [08:44:19]Write to MH i2c: E2 08 00 99 45 80 13 00 00 00 00 00 00 5A [08:44:19]Write i2c OK [08:44:19]MH_I2C_Read... [08:44:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:44:19]Read from MH i2c: E2 [08:44:19]MH_I2C_Read... [08:44:19]Read from MH i2c: E2 62 00 [08:44:19]MH_I2C_Read... [08:44:19]Read from MH i2c: E2 62 00 99 45 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 FA 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 B7 [08:44:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 FA 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:44:19]wFMCommunicate OK [08:44:19]SAM_PROTO_GetFieldsCounters done [08:44:19]requested_item shift.num is exist - process it [08:44:19]requested_item shift.opened is exist - process it [08:44:19]req_shift_opened [08:44:19]FM_GetShiftState [08:44:19]SAM_PROTO_GetShiftState [08:44:19]wFMCommunicate request_size=4 [08:44:19]MH_SAM_APDU [08:44:19]CAPDU: 80 13 01 00 [08:44:19]Write to MH i2c: E2 08 00 9A 45 80 13 01 00 00 00 00 00 5C [08:44:19]Write i2c OK [08:44:19]MH_I2C_Read... [08:44:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:44:19]Read from MH i2c: E2 [08:44:19]MH_I2C_Read... [08:44:19]Read from MH i2c: E2 0E 00 [08:44:19]MH_I2C_Read... [08:44:19]Read from MH i2c: E2 0E 00 9A 45 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 05 [08:44:19]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:44:19]wFMCommunicate OK [08:44:19]SAM_PROTO_GetShiftState done [08:44:19]FM_GetShiftState done [08:44:19]req_shift_opened done [08:44:19]requested_item shift.open_date is exist - process it [08:44:19]req_shift_open_date [08:44:19]req_shift_open_date done [08:44:19]produce_requested_data done [08:44:19]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2554,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:44:19]process_action_free close_receipt [08:44:19]json_value_free [08:44:19]json_value_free done [08:44:19]process_json_proto returns [08:44:19]Send response to host [08:44:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2554,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:44:19]free response buf [08:44:19]execute_script done [08:44:19]execute_script returns [08:44:19]free content buf [08:44:19]Sock 9.Close socket [08:44:19]Sock 9.Thread stoped [08:44:22]OFD Sender: No OFD packet to send [08:44:27]OFD Sender: No OFD packet to send [08:44:32]OFD Sender: No OFD packet to send [08:44:37]OFD Sender: No OFD packet to send [08:44:42]OFD Sender: No OFD packet to send [08:44:47]OFD Sender: No OFD packet to send [08:44:52]OFD Sender: No OFD packet to send [08:44:57]OFD Sender: No OFD packet to send [08:45:02]OFD Sender: No OFD packet to send [08:45:07]OFD Sender: No OFD packet to send [08:45:12]OFD Sender: No OFD packet to send [08:45:17]OFD Sender: No OFD packet to send [08:45:22]OFD Sender: No OFD packet to send [08:45:27]OFD Sender: No OFD packet to send [08:45:32]OFD Sender: No OFD packet to send [08:45:37]OFD Sender: No OFD packet to send [08:45:42]OFD Sender: No OFD packet to send [08:45:48]OFD Sender: No OFD packet to send [08:45:53]OFD Sender: No OFD packet to send [08:45:58]OFD Sender: No OFD packet to send [08:46:03]OFD Sender: No OFD packet to send [08:46:08]OFD Sender: No OFD packet to send [08:46:13]OFD Sender: No OFD packet to send [08:46:18]OFD Sender: No OFD packet to send [08:46:23]OFD Sender: No OFD packet to send [08:46:28]OFD Sender: No OFD packet to send [08:46:33]OFD Sender: No OFD packet to send [08:46:38]OFD Sender: No OFD packet to send [08:46:43]OFD Sender: No OFD packet to send [08:46:48]OFD Sender: No OFD packet to send [08:46:53]OFD Sender: No OFD packet to send [08:46:58]OFD Sender: No OFD packet to send [08:47:03]OFD Sender: No OFD packet to send [08:47:08]OFD Sender: No OFD packet to send [08:47:13]OFD Sender: No OFD packet to send [08:47:18]OFD Sender: No OFD packet to send [08:47:23]OFD Sender: No OFD packet to send [08:47:28]OFD Sender: No OFD packet to send [08:47:33]OFD Sender: No OFD packet to send [08:47:38]OFD Sender: No OFD packet to send [08:47:43]OFD Sender: No OFD packet to send [08:47:48]OFD Sender: No OFD packet to send [08:47:53]OFD Sender: No OFD packet to send [08:47:58]OFD Sender: No OFD packet to send [08:48:03]OFD Sender: No OFD packet to send [08:48:08]OFD Sender: No OFD packet to send [08:48:13]OFD Sender: No OFD packet to send [08:48:18]OFD Sender: No OFD packet to send [08:48:23]OFD Sender: No OFD packet to send [08:48:28]OFD Sender: No OFD packet to send [08:48:33]OFD Sender: No OFD packet to send [08:48:38]OFD Sender: No OFD packet to send [08:48:43]OFD Sender: No OFD packet to send [08:48:48]OFD Sender: No OFD packet to send [08:48:53]OFD Sender: No OFD packet to send [08:48:58]OFD Sender: No OFD packet to send [08:49:03]OFD Sender: No OFD packet to send [08:49:08]OFD Sender: No OFD packet to send [08:49:13]OFD Sender: No OFD packet to send [08:49:18]OFD Sender: No OFD packet to send [08:49:23]OFD Sender: No OFD packet to send [08:49:28]OFD Sender: No OFD packet to send [08:49:33]OFD Sender: No OFD packet to send [08:49:38]OFD Sender: No OFD packet to send [08:49:43]OFD Sender: No OFD packet to send [08:49:48]OFD Sender: No OFD packet to send [08:49:53]OFD Sender: No OFD packet to send [08:49:58]OFD Sender: No OFD packet to send [08:50:03]OFD Sender: No OFD packet to send [08:50:08]OFD Sender: No OFD packet to send [08:50:13]OFD Sender: No OFD packet to send [08:50:18]OFD Sender: No OFD packet to send [08:50:23]OFD Sender: No OFD packet to send [08:50:28]OFD Sender: No OFD packet to send [08:50:33]OFD Sender: No OFD packet to send [08:50:38]OFD Sender: No OFD packet to send [08:50:43]OFD Sender: No OFD packet to send [08:50:48]OFD Sender: No OFD packet to send [08:50:53]OFD Sender: No OFD packet to send [08:50:58]OFD Sender: No OFD packet to send [08:51:03]OFD Sender: No OFD packet to send [08:51:08]OFD Sender: No OFD packet to send [08:51:13]OFD Sender: No OFD packet to send [08:51:18]OFD Sender: No OFD packet to send [08:51:23]OFD Sender: No OFD packet to send [08:51:28]OFD Sender: No OFD packet to send [08:51:33]OFD Sender: No OFD packet to send [08:51:38]OFD Sender: No OFD packet to send [08:51:43]OFD Sender: No OFD packet to send [08:51:48]OFD Sender: No OFD packet to send [08:51:53]OFD Sender: No OFD packet to send [08:51:58]OFD Sender: No OFD packet to send [08:52:03]OFD Sender: No OFD packet to send [08:52:08]OFD Sender: No OFD packet to send [08:52:13]OFD Sender: No OFD packet to send [08:52:18]OFD Sender: No OFD packet to send [08:52:23]OFD Sender: No OFD packet to send [08:52:28]OFD Sender: No OFD packet to send [08:52:33]OFD Sender: No OFD packet to send [08:52:38]OFD Sender: No OFD packet to send [08:52:43]OFD Sender: No OFD packet to send [08:52:48]OFD Sender: No OFD packet to send [08:52:53]OFD Sender: No OFD packet to send [08:52:58]OFD Sender: No OFD packet to send [08:53:03]OFD Sender: No OFD packet to send [08:53:08]OFD Sender: No OFD packet to send [08:53:13]OFD Sender: No OFD packet to send [08:53:18]OFD Sender: No OFD packet to send [08:53:23]OFD Sender: No OFD packet to send [08:53:28]OFD Sender: No OFD packet to send [08:53:33]OFD Sender: No OFD packet to send [08:53:38]OFD Sender: No OFD packet to send [08:53:43]OFD Sender: No OFD packet to send [08:53:48]OFD Sender: No OFD packet to send [08:53:53]OFD Sender: No OFD packet to send [08:53:58]OFD Sender: No OFD packet to send [08:54:03]OFD Sender: No OFD packet to send [08:54:08]OFD Sender: No OFD packet to send [08:54:09]accept exits with 7 [08:54:09]New connection [08:54:09]New thread 3066707300 created [08:54:09]Thread 3066850660 joined [08:54:09]Waiting for new connection... [08:54:09] Sock 7.Parse request [08:54:09]Sock 7.Check first char [08:54:09]Sock 7.First char is OK [08:54:09]request: POST /json_proto HTTP/1.0 [08:54:09]Method: POST [08:54:09]URL: /json_proto [08:54:09]Method is POST - this is cgi request [08:54:09]url: /json_proto [08:54:09]query_string will be loaded in cgi processing [08:54:09]execute_cgi json_proto POST (null) [08:54:09]execute_cgi path=json_proto method=POST [08:54:09]POST find Content-Length [08:54:09]Host: 172.17.52.132:8080 [08:54:09]Content-Length: 643 [08:54:09]Content-Type: application/json [08:54:09] [08:54:09]POST finish read [08:54:09]Found Content-Length = 643 [08:54:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99933", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:54:09]execute_script... [08:54:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99933", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:54:09]POST & json_proto [08:54:09]process_json_proto [08:54:09]json parsed OK: [08:54:09]protocol is kg_v1.0 [08:54:09]action value=close_receipt [08:54:09]process_action close_receipt [08:54:09]cmd_close_receipt [08:54:09]MH_GetDate [08:54:09]Write to MH i2c: F0 00 00 9B 45 CF [08:54:09]Write i2c OK [08:54:09]MH_I2C_Read... [08:54:09]Read from MH i2c: F0 [08:54:09]MH_I2C_Read... [08:54:09]Read from MH i2c: F0 09 00 [08:54:09]MH_I2C_Read... [08:54:09]Read from MH i2c: F0 09 00 9B 45 00 BA 73 13 67 5A BE F6 66 F3 [08:54:09]GetLastDocTimeStamp 1729327463 [08:54:09]current date 1729328058 [08:54:09]FM_GetShiftState [08:54:09]SAM_PROTO_GetShiftState [08:54:09]wFMCommunicate request_size=4 [08:54:09]MH_SAM_APDU [08:54:09]CAPDU: 80 13 01 00 [08:54:09]Write to MH i2c: E2 08 00 9C 45 80 13 01 00 00 00 00 00 5E [08:54:09]Write i2c OK [08:54:09]MH_I2C_Read... [08:54:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:54:09]Read from MH i2c: E2 [08:54:09]MH_I2C_Read... [08:54:09]Read from MH i2c: E2 0E 00 [08:54:09]MH_I2C_Read... [08:54:09]Read from MH i2c: E2 0E 00 9C 45 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 07 [08:54:09]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:54:09]wFMCommunicate OK [08:54:09]SAM_PROTO_GetShiftState done [08:54:09]FM_GetShiftState done [08:54:09]opened in 1729296173 [08:54:09]opened+sec_in_day 1729382573 [08:54:09]quantity*price = 11500 [08:54:09]sum+1 = 11501 [08:54:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 16 19.10.2024 08:54 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2555 ФПД: 40197036868880 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T085418&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2555&fm=40197036868880&tin=02508201610067®Number=0000000000207295&sum=11500 0 [08:54:11]StoreToDocumentArchive [08:54:11]shift 23 fd 2555 [08:54:11]save to /storage/0023/doc_00002555 [08:54:11]save last doc name /storage/0023/doc_00002555 to /storage/kkm_last_doc_name [08:54:11]save OK [08:54:11]Clear old archive folders... [08:54:11]ProcessDocumentItem done err = 0, tmpTLVsize=280 [08:54:11]tlvbuf is 014ADCA0 [08:54:11]SAM_PROTO_ClearQueue [08:54:11]wFMCommunicate request_size=4 [08:54:11]MH_SAM_APDU [08:54:11]CAPDU: 80 09 00 00 [08:54:11]Write to MH i2c: E2 08 00 A9 45 80 09 00 00 00 00 00 00 60 [08:54:11]Write i2c OK [08:54:11]MH_I2C_Read... [08:54:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:54:11]Read from MH i2c: E2 [08:54:11]MH_I2C_Read... [08:54:11]Read from MH i2c: E2 03 00 [08:54:11]MH_I2C_Read... [08:54:11]Read from MH i2c: E2 03 00 A9 45 00 90 00 62 [08:54:11]RAPDU: 90 00 [08:54:11]wFMCommunicate OK [08:54:11]SAM_PROTO_ClearQueue done [08:54:11]KKMCreateOFDPacket [08:54:11]OFDProtocolAddRootSTLVToBuf [08:54:11]FM_MakeSignedData [08:54:11]FM_MakeSignedData [08:54:11]SAM_PROTO_SignData [08:54:11]wFMCommunicate request_size=4 [08:54:11]MH_SAM_APDU [08:54:11]CAPDU: 80 0D 01 02 [08:54:11]Write to MH i2c: E2 08 00 AA 45 80 0D 01 02 00 00 00 00 68 [08:54:11]Write i2c OK [08:54:11]MH_I2C_Read... [08:54:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:54:11]Read from MH i2c: E2 [08:54:11]MH_I2C_Read... [08:54:11]Read from MH i2c: E2 03 00 [08:54:11]MH_I2C_Read... [08:54:11]Read from MH i2c: E2 03 00 AA 45 00 90 00 63 [08:54:11]RAPDU: 90 00 [08:54:11]wFMCommunicate OK [08:54:11]wFMCommunicate request_size=255 [08:54:11]MH_SAM_APDU [08:54:11]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 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 10 00 00 00 F4 03 04 00 BA 73 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 [08:54:11]Write to MH i2c: E2 02 01 AB 45 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 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 10 00 00 00 F4 03 04 00 BA 73 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 00 00 76 [08:54:11]Write i2c OK [08:54:11]MH_I2C_Read... [08:54:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:54:11]Read from MH i2c: E2 [08:54:11]MH_I2C_Read... [08:54:11]Read from MH i2c: E2 03 00 [08:54:11]MH_I2C_Read... [08:54:11]Read from MH i2c: E2 03 00 AB 45 00 90 00 64 [08:54:11]RAPDU: 90 00 [08:54:11]wFMCommunicate OK [08:54:11]wFMCommunicate request_size=39 [08:54:11]MH_SAM_APDU [08:54:11]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FB 09 00 00 35 04 06 00 24 8F 1A 1A 85 10 [08:54:11]Write to MH i2c: E2 2A 00 AC 45 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FB 09 00 00 35 04 06 00 24 8F 1A 1A 85 10 00 00 9B [08:54:11]Write i2c OK [08:54:11]MH_I2C_Read... [08:54:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:54:11]Read from MH i2c: E2 [08:54:11]MH_I2C_Read... [08:54:11]Read from MH i2c: E2 03 00 [08:54:11]MH_I2C_Read... [08:54:11]Read from MH i2c: E2 03 00 AC 45 00 90 00 65 [08:54:11]RAPDU: 90 00 [08:54:11]wFMCommunicate OK [08:54:11]wFMCommunicate request_size=4 [08:54:11]MH_SAM_APDU [08:54:11]CAPDU: 80 0D 03 02 [08:54:11]Write to MH i2c: E2 08 00 AD 45 80 0D 03 02 00 00 00 00 6D [08:54:11]Write i2c OK [08:54:11]MH_I2C_Read... [08:54:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:54:11]Read from MH i2c: E2 [08:54:11]MH_I2C_Read... [08:54:11]Read from MH i2c: E2 0B 00 [08:54:11]MH_I2C_Read... [08:54:11]Read from MH i2c: E2 0B 00 AD 45 00 47 9E 5C B6 81 81 F2 C5 90 00 1E [08:54:11]RAPDU: 47 9E 5C B6 81 81 F2 C5 90 00 [08:54:11]wFMCommunicate OK [08:54:11]SAM_PROTO_SignData done [08:54:11]FM_MakeSignedData done [08:54:11]CreateOFDProtocolMessage [08:54:11]wFMCommunicate request_size=4 [08:54:11]MH_SAM_APDU [08:54:11]CAPDU: 80 11 00 00 [08:54:11]Write to MH i2c: E2 08 00 AE 45 80 11 00 00 00 00 00 00 6D [08:54:11]Write i2c OK [08:54:11]MH_I2C_Read... [08:54:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:54:11]Read from MH i2c: E2 [08:54:11]MH_I2C_Read... [08:54:11]Read from MH i2c: E2 17 00 [08:54:11]MH_I2C_Read... [08:54:11]Read from MH i2c: E2 17 00 AE 45 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B5 [08:54:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:54:11]wFMCommunicate OK [08:54:11]CreateOFDProtocolMessage done [08:54:11]OFDSenderStorePacket 2555 [08:54:11]StoreOFDPacket docnum=2555 [08:54:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2C 01 00 00 CC 1E 24 01 1A 9A 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 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 10 00 00 00 F4 03 04 00 BA 73 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FB 09 00 00 35 04 06 00 24 8F 1A 1A 85 10 47 9E 5C B6 81 81 F2 C5 [08:54:11]CheckFolder [08:54:11]dirname=/storage/ofd_packets [08:54:11]CheckFolder done [08:54:11]ProducePacketName [08:54:11]name=ofd_packets/00002555 [08:54:11]NVStorageSaveData ofd_packets/00002555 [08:54:11]File name is /storage/ofd_packets/00002555 [08:54:11]Write 330 bytes [08:54:11]NVStorageSaveData done [08:54:11]OFDSenderStorePacket done [08:54:11]KKMCreateOFDPacket done [08:54:11]NVStorageSaveData kkm_last_timestamp [08:54:11]File name is /storage/kkm_last_timestamp [08:54:11]Write 4 bytes [08:54:11]NVStorageSaveData done [08:54:11]ExternCall_PrintAddStr [08:54:11]wPrintStart [08:54:11]Write to MH i2c: 01 00 00 AF 45 F4 [08:54:11]Write i2c OK [08:54:11]MH_I2C_Read... [08:54:11]Read from MH i2c: 01 [08:54:11]MH_I2C_Read... [08:54:11]Read from MH i2c: 01 07 00 [08:54:11]MH_I2C_Read... [08:54:11]Read from MH i2c: 01 07 00 AF 45 00 00 00 00 00 FF 0F 09 [08:54:11]RasterBufferAndPrint [08:54:11]line Счет N : (3)99933 [08:54:11]line ИНН: 02508201610067 [08:54:11]line Контрольно-Кассовый Чек [08:54:11]line ПРОДАЖА [08:54:11]line Товар: 2000036210013 [08:54:11]line Кофе Капучино (GABB TRADE) [08:54:11]line 1.000 * 115.00 [08:54:11]line = 115.00 [08:54:11]line НДС 12% НСП 1% [08:54:11]line > о реализуемом товаре [08:54:11]line ИТОГО: 115.00 [08:54:11]line НСП 1% : 1.02 [08:54:11]line НДС 12% : 12.21 [08:54:11]line Наличными: 115.00 [08:54:11]line Безнал.: 0.00 [08:54:11]line Место: АЗС № 162 "Партнер Нефть" [08:54:11]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:54:11]line СНО: Общий режим [08:54:11]line Чек 16 19.10.2024 08:54 [08:54:11]line Смена: 23 ФФД: 1.0 [08:54:11]line ЗНМ: 0300000191 [08:54:11]line РНМ: 0000000000207295 [08:54:11]line Версия ККМ: v1.0 [08:54:11]line ФМ: 0000000002342820 [08:54:11]line ФД: 2555 [08:54:11]line ФПД: 40197036868880 [08:54:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T085418&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2555&fm=40197036868880&tin=02508201610067®Number=0000000000207295&sum=11500 [08:54:11]line 0 [08:54:11]OFD Sender: Processing packet 2555 [packets to send 1, broken 0] [08:54:11]ProducePacketName [08:54:11]name=ofd_packets/00002555 [08:54:11]OFD Sender: To server: pG, [08:54:11]CommunicateWithHost lk.salyk.kg:30040 [08:54:11]ConnectInit lk.salyk.kg [08:54:11]written 0, free lines is 4095 [08:54:12]Connected sock=10 [08:54:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2C 01 00 00 CC 1E 24 01 1A 9A 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 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 10 00 00 00 F4 03 04 00 BA 73 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FB 09 00 00 35 04 06 00 24 8F 1A 1A 85 10 47 9E 5C B6 81 81 F2 C5 [08:54:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 35 C4 47 00 38 09 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FB 09 00 00 F4 03 04 00 1C 1F 13 67 B6 04 01 00 00 23 4B 83 7E F0 E5 B9 B3 [08:54:12]CommunicateWithHost err = 0 [08:54:12]CheckOFDResponse [08:54:12]1017 (14) - 77093643461234 [08:54:12]1041 (16) - 0000000002342820 [08:54:12]1040 (4) - 2555 [08:54:12]1012 (4) - 19.10.2024 02:53 [08:54:12]1206 (1) - 0 [08:54:12]OFD Sender: Remove packet 2555 [08:54:12]ProducePacketName [08:54:12]name=ofd_packets/00002555 [08:54:12]NVStorageDeleteData [08:54:12]Write to MH i2c: 01 00 00 D7 45 1C [08:54:12]Write i2c OK [08:54:12]MH_I2C_Read... [08:54:12]Read from MH i2c: 01 [08:54:12]MH_I2C_Read... [08:54:12]Read from MH i2c: 01 07 00 [08:54:12]MH_I2C_Read... [08:54:12]Read from MH i2c: 01 07 00 D7 45 00 00 00 00 00 BC 0C EB [08:54:12]RasterBufferAndPrint [08:54:12]line [08:54:12]line [08:54:12]line [08:54:12]line [08:54:12]line [08:54:12]written 0, free lines is 3265 [08:54:12]MH_Cut [08:54:12]Write to MH i2c: D1 01 00 DE 45 01 F5 [08:54:12]Write i2c OK [08:54:12]MH_I2C_Read... [08:54:12]Read from MH i2c: D1 [08:54:12]MH_I2C_Read... [08:54:12]Read from MH i2c: D1 01 00 [08:54:12]MH_I2C_Read... [08:54:12]Read from MH i2c: D1 01 00 DE 45 00 F4 [08:54:12]Write to MH i2c: 01 00 00 DF 45 24 [08:54:12]Write i2c OK [08:54:12]MH_I2C_Read... [08:54:12]OFD Sender: No OFD packet to send [08:54:13]*** Cut start [08:54:13]*** Partial cut [08:54:13]*** CUTSNS_PIN = 1 [08:54:13]*** CUTSNS_PIN = 0 [08:54:13]*** Brake cut motor [08:54:13]Read from MH i2c: 01 [08:54:13]MH_I2C_Read... [08:54:13]*** Stop cut motor [08:54:13]*** Cut end [08:54:13]Read from MH i2c: 01 07 00 [08:54:13]MH_I2C_Read... [08:54:13]Read from MH i2c: 01 07 00 DF 45 00 00 00 00 00 FF 0F 39 [08:54:13]process_action close_receipt done [08:54:13]requested_data is exist [08:54:13]produce_requested_data [08:54:13]requested_item fm.sn is exist - process it [08:54:13]wFMCommunicate request_size=4 [08:54:13]MH_SAM_APDU [08:54:13]CAPDU: 80 11 00 00 [08:54:13]Write to MH i2c: E2 08 00 E0 45 80 11 00 00 00 00 00 00 9F [08:54:13]Write i2c OK [08:54:13]MH_I2C_Read... [08:54:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:54:14]Read from MH i2c: E2 [08:54:14]MH_I2C_Read... [08:54:14]Read from MH i2c: E2 17 00 [08:54:14]MH_I2C_Read... [08:54:14]Read from MH i2c: E2 17 00 E0 45 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 E7 [08:54:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:54:14]wFMCommunicate OK [08:54:14]requested_item fd.num is exist - process it [08:54:14]SAM_PROTO_GetFieldsCounters [08:54:14]wFMCommunicate request_size=4 [08:54:14]MH_SAM_APDU [08:54:14]CAPDU: 80 13 00 00 [08:54:14]Write to MH i2c: E2 08 00 E1 45 80 13 00 00 00 00 00 00 A2 [08:54:14]Write i2c OK [08:54:14]MH_I2C_Read... [08:54:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:54:14]Read from MH i2c: E2 [08:54:14]MH_I2C_Read... [08:54:14]Read from MH i2c: E2 62 00 [08:54:14]MH_I2C_Read... [08:54:14]Read from MH i2c: E2 62 00 E1 45 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 FB 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 03 [08:54:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 FB 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:54:14]wFMCommunicate OK [08:54:14]SAM_PROTO_GetFieldsCounters done [08:54:14]requested_item shift.num is exist - process it [08:54:14]requested_item shift.opened is exist - process it [08:54:14]req_shift_opened [08:54:14]FM_GetShiftState [08:54:14]SAM_PROTO_GetShiftState [08:54:14]wFMCommunicate request_size=4 [08:54:14]MH_SAM_APDU [08:54:14]CAPDU: 80 13 01 00 [08:54:14]Write to MH i2c: E2 08 00 E2 45 80 13 01 00 00 00 00 00 A4 [08:54:14]Write i2c OK [08:54:14]MH_I2C_Read... [08:54:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:54:14]Read from MH i2c: E2 [08:54:14]MH_I2C_Read... [08:54:14]Read from MH i2c: E2 0E 00 [08:54:14]MH_I2C_Read... [08:54:14]Read from MH i2c: E2 0E 00 E2 45 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 4D [08:54:14]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:54:14]wFMCommunicate OK [08:54:14]SAM_PROTO_GetShiftState done [08:54:14]FM_GetShiftState done [08:54:14]req_shift_opened done [08:54:14]requested_item shift.open_date is exist - process it [08:54:14]req_shift_open_date [08:54:14]req_shift_open_date done [08:54:14]produce_requested_data done [08:54:14]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2555,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:54:14]process_action_free close_receipt [08:54:14]json_value_free [08:54:14]json_value_free done [08:54:14]process_json_proto returns [08:54:14]Send response to host [08:54:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2555,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:54:14]free response buf [08:54:14]execute_script done [08:54:14]execute_script returns [08:54:14]free content buf [08:54:14]Sock 7.Close socket [08:54:14]Sock 7.Thread stoped [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:28]accept exits with 9 [08:55:28]New connection [08:55:28]New thread 3066850660 created [08:55:28]Thread 3066707300 joined [08:55:28]Waiting for new connection... [08:55:28] Sock 9.Parse request [08:55:28]Sock 9.Check first char [08:55:28]Sock 9.First char is OK [08:55:28]request: POST /json_proto HTTP/1.0 [08:55:28]Method: POST [08:55:28]URL: /json_proto [08:55:28]Method is POST - this is cgi request [08:55:28]url: /json_proto [08:55:28]query_string will be loaded in cgi processing [08:55:28]execute_cgi json_proto POST (null) [08:55:28]execute_cgi path=json_proto method=POST [08:55:28]POST find Content-Length [08:55:28]Host: 172.17.52.132:8080 [08:55:28]Content-Length: 746 [08:55:28]Content-Type: application/json [08:55:28] [08:55:28]POST finish read [08:55:28]Found Content-Length = 746 [08:55:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99934", "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" ] } } [08:55:28]execute_script... [08:55: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)99934", "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" ] } } [08:55:28]POST & json_proto [08:55:28]process_json_proto [08:55:28]json parsed OK: [08:55:28]protocol is kg_v1.0 [08:55:28]action value=close_receipt [08:55:28]process_action close_receipt [08:55:28]cmd_close_receipt [08:55:28]MH_GetDate [08:55:28]Write to MH i2c: F0 00 00 E3 45 17 [08:55:28]Write i2c OK [08:55:28]MH_I2C_Read... [08:55:28]Read from MH i2c: F0 [08:55:28]MH_I2C_Read... [08:55:28]Read from MH i2c: F0 09 00 [08:55:28]MH_I2C_Read... [08:55:28]Read from MH i2c: F0 09 00 E3 45 00 08 74 13 67 5A BE F6 66 8A [08:55:28]GetLastDocTimeStamp 1729328058 [08:55:28]current date 1729328136 [08:55:28]FM_GetShiftState [08:55:28]SAM_PROTO_GetShiftState [08:55:28]wFMCommunicate request_size=4 [08:55:28]MH_SAM_APDU [08:55:28]CAPDU: 80 13 01 00 [08:55:28]Write to MH i2c: E2 08 00 E4 45 80 13 01 00 00 00 00 00 A6 [08:55:28]Write i2c OK [08:55:28]MH_I2C_Read... [08:55:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:55:28]Read from MH i2c: E2 [08:55:28]MH_I2C_Read... [08:55:28]Read from MH i2c: E2 0E 00 [08:55:28]MH_I2C_Read... [08:55:28]Read from MH i2c: E2 0E 00 E4 45 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 4F [08:55:28]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:55:28]wFMCommunicate OK [08:55:28]SAM_PROTO_GetShiftState done [08:55:28]FM_GetShiftState done [08:55:28]opened in 1729296173 [08:55:28]opened+sec_in_day 1729382573 [08:55:28]quantity*price = 13900 [08:55:28]sum+1 = 13901 [08:55:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 0.00 Безнал.: 139.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 17 19.10.2024 08:55 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2556 ФПД: 190055240625468 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T085536&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2556&fm=190055240625468&tin=02508201610067®Number=0000000000207295&sum=13900 0 [08:55:29]StoreToDocumentArchive [08:55:29]shift 23 fd 2556 [08:55:29]save to /storage/0023/doc_00002556 [08:55:29]save last doc name /storage/0023/doc_00002556 to /storage/kkm_last_doc_name [08:55:29]save OK [08:55:29]Clear old archive folders... [08:55:29]ProcessDocumentItem done err = 0, tmpTLVsize=272 [08:55:29]tlvbuf is 013FFB90 [08:55:29]SAM_PROTO_ClearQueue [08:55:29]wFMCommunicate request_size=4 [08:55:29]MH_SAM_APDU [08:55:29]CAPDU: 80 09 00 00 [08:55:29]Write to MH i2c: E2 08 00 F1 45 80 09 00 00 00 00 00 00 A8 [08:55:29]Write i2c OK [08:55:29]MH_I2C_Read... [08:55:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:55:29]Read from MH i2c: E2 [08:55:29]MH_I2C_Read... [08:55:29]Read from MH i2c: E2 03 00 [08:55:29]MH_I2C_Read... [08:55:29]Read from MH i2c: E2 03 00 F1 45 00 90 00 AA [08:55:29]RAPDU: 90 00 [08:55:29]wFMCommunicate OK [08:55:29]SAM_PROTO_ClearQueue done [08:55:29]KKMCreateOFDPacket [08:55:29]OFDProtocolAddRootSTLVToBuf [08:55:29]FM_MakeSignedData [08:55:29]FM_MakeSignedData [08:55:29]SAM_PROTO_SignData [08:55:29]wFMCommunicate request_size=4 [08:55:29]MH_SAM_APDU [08:55:29]CAPDU: 80 0D 01 02 [08:55:29]Write to MH i2c: E2 08 00 F2 45 80 0D 01 02 00 00 00 00 B0 [08:55:29]Write i2c OK [08:55:29]MH_I2C_Read... [08:55:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:55:29]Read from MH i2c: E2 [08:55:29]MH_I2C_Read... [08:55:29]Read from MH i2c: E2 03 00 [08:55:29]MH_I2C_Read... [08:55:29]Read from MH i2c: E2 03 00 F2 45 00 90 00 AB [08:55:29]RAPDU: 90 00 [08:55:29]wFMCommunicate OK [08:55:29]wFMCommunicate request_size=255 [08:55:29]MH_SAM_APDU [08:55: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 11 00 00 00 F4 03 04 00 08 74 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 [08:55:29]Write to MH i2c: E2 02 01 F3 45 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 11 00 00 00 F4 03 04 00 08 74 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 00 00 FF [08:55:29]Write i2c OK [08:55:29]MH_I2C_Read... [08:55:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:55:29]Read from MH i2c: E2 [08:55:29]MH_I2C_Read... [08:55:29]Read from MH i2c: E2 03 00 [08:55:29]MH_I2C_Read... [08:55:29]Read from MH i2c: E2 03 00 F3 45 00 90 00 AC [08:55:29]RAPDU: 90 00 [08:55:29]wFMCommunicate OK [08:55:29]wFMCommunicate request_size=31 [08:55:29]MH_SAM_APDU [08:55:29]CAPDU: 80 0D 02 02 1A 30 32 33 34 32 38 32 30 10 04 04 00 FC 09 00 00 35 04 06 00 AC DA AF 1A ED 3C [08:55:29]Write to MH i2c: E2 22 00 F4 45 80 0D 02 02 1A 00 30 32 33 34 32 38 32 30 10 04 04 00 FC 09 00 00 35 04 06 00 AC DA AF 1A ED 3C 00 00 50 [08:55:29]Write i2c OK [08:55:29]MH_I2C_Read... [08:55:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:55:29]Read from MH i2c: E2 [08:55:29]MH_I2C_Read... [08:55:29]Read from MH i2c: E2 03 00 [08:55:29]MH_I2C_Read... [08:55:29]Read from MH i2c: E2 03 00 F4 45 00 90 00 AD [08:55:29]RAPDU: 90 00 [08:55:29]wFMCommunicate OK [08:55:29]wFMCommunicate request_size=4 [08:55:29]MH_SAM_APDU [08:55:29]CAPDU: 80 0D 03 02 [08:55:29]Write to MH i2c: E2 08 00 F5 45 80 0D 03 02 00 00 00 00 B5 [08:55:29]Write i2c OK [08:55:29]MH_I2C_Read... [08:55:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:55:29]Read from MH i2c: E2 [08:55:29]MH_I2C_Read... [08:55:29]Read from MH i2c: E2 0B 00 [08:55:29]MH_I2C_Read... [08:55:29]Read from MH i2c: E2 0B 00 F5 45 00 4D FB 9A 77 3C 5D BD 27 90 00 8C [08:55:29]RAPDU: 4D FB 9A 77 3C 5D BD 27 90 00 [08:55:29]wFMCommunicate OK [08:55:29]SAM_PROTO_SignData done [08:55:29]FM_MakeSignedData done [08:55:29]CreateOFDProtocolMessage [08:55:29]wFMCommunicate request_size=4 [08:55:29]MH_SAM_APDU [08:55:29]CAPDU: 80 11 00 00 [08:55:29]Write to MH i2c: E2 08 00 F6 45 80 11 00 00 00 00 00 00 B5 [08:55:29]Write i2c OK [08:55:29]MH_I2C_Read... [08:55:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:55:29]Read from MH i2c: E2 [08:55:29]MH_I2C_Read... [08:55:29]Read from MH i2c: E2 17 00 [08:55:29]MH_I2C_Read... [08:55:29]Read from MH i2c: E2 17 00 F6 45 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 FD [08:55:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:55:29]wFMCommunicate OK [08:55:29]CreateOFDProtocolMessage done [08:55:29]OFDSenderStorePacket 2556 [08:55:29]StoreOFDPacket docnum=2556 [08:55:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 24 01 00 00 B3 71 1C 01 69 3F 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 11 00 00 00 F4 03 04 00 08 74 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FC 09 00 00 35 04 06 00 AC DA AF 1A ED 3C 4D FB 9A 77 3C 5D BD 27 [08:55:29]CheckFolder [08:55:29]dirname=/storage/ofd_packets [08:55:29]CheckFolder done [08:55:29]ProducePacketName [08:55:29]name=ofd_packets/00002556 [08:55:29]NVStorageSaveData ofd_packets/00002556 [08:55:29]File name is /storage/ofd_packets/00002556 [08:55:29]Write 322 bytes [08:55:29]NVStorageSaveData done [08:55:29]OFDSenderStorePacket done [08:55:29]KKMCreateOFDPacket done [08:55:29]NVStorageSaveData kkm_last_timestamp [08:55:29]File name is /storage/kkm_last_timestamp [08:55:29]Write 4 bytes [08:55:29]NVStorageSaveData done [08:55:29]ExternCall_PrintAddStr [08:55:29]wPrintStart [08:55:29]Write to MH i2c: 01 00 00 F7 45 3C [08:55:29]Write i2c OK [08:55:29]MH_I2C_Read... [08:55:29]Read from MH i2c: 01 [08:55:29]MH_I2C_Read... [08:55:29]Read from MH i2c: 01 07 00 [08:55:29]MH_I2C_Read... [08:55:29]Read from MH i2c: 01 07 00 F7 45 00 00 00 00 00 FF 0F 51 [08:55:29]RasterBufferAndPrint [08:55:29]line Счет N : (3)99934 [08:55:29]line ИНН: 02508201610067 [08:55:29]line Контрольно-Кассовый Чек [08:55:29]line ПРОДАЖА [08:55:29]line Товар: 48745000 [08:55:29]line Сигареты Winston Purple Mix [08:55:29]line 1.000 * 139.00 [08:55:29]line = 139.00 [08:55:29]line НДС 12% НСП 1% [08:55:29]line > о реализуемом товаре [08:55:29]line ИТОГО: 139.00 [08:55:29]line НСП 1% : 1.23 [08:55:29]line НДС 12% : 14.76 [08:55:29]line Наличными: 0.00 [08:55:29]line Безнал.: 139.00 [08:55:29]line Место: АЗС № 162 "Партнер Нефть" [08:55:29]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:55:29]line СНО: Общий режим [08:55:29]line Чек 17 19.10.2024 08:55 [08:55:29]line Смена: 23 ФФД: 1.0 [08:55:29]line ЗНМ: 0300000191 [08:55:29]line РНМ: 0000000000207295 [08:55:29]line Версия ККМ: v1.0 [08:55:29]line Платежная система: Mbank [08:55:29]line ФМ: 0000000002342820 [08:55:29]line ФД: 2556 [08:55:29]line ФПД: 190055240625468 [08:55:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T085536&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2556&fm=190055240625468&tin=02508201610067®Number=0000000000207295&sum=13900 [08:55:30]line 0 [08:55:30]OFD Sender: Processing packet 2556 [packets to send 1, broken 0] [08:55:30]ProducePacketName [08:55:30]name=ofd_packets/00002556 [08:55:30]OFD Sender: To server: pG, [08:55:30]CommunicateWithHost lk.salyk.kg:30040 [08:55:30]ConnectInit lk.salyk.kg [08:55:30]written 0, free lines is 4095 [08:55:30]Connected sock=10 [08:55:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 24 01 00 00 B3 71 1C 01 69 3F 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 11 00 00 00 F4 03 04 00 08 74 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FC 09 00 00 35 04 06 00 AC DA AF 1A ED 3C 4D FB 9A 77 3C 5D BD 27 [08:55:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 84 67 47 00 B0 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 32 33 34 32 38 32 30 10 04 04 00 FC 09 00 00 F4 03 04 00 6A 1F 13 67 B6 04 01 00 00 CE FD 7B C3 23 30 95 DD [08:55:30]CommunicateWithHost err = 0 [08:55:30]CheckOFDResponse [08:55:30]1017 (14) - 77093643461234 [08:55:30]1041 (16) - 0000000002342820 [08:55:30]1040 (4) - 2556 [08:55:30]1012 (4) - 19.10.2024 02:54 [08:55:30]1206 (1) - 0 [08:55:30]OFD Sender: Remove packet 2556 [08:55:30]ProducePacketName [08:55:30]name=ofd_packets/00002556 [08:55:30]NVStorageDeleteData [08:55:30]Write to MH i2c: 01 00 00 20 46 66 [08:55:30]Write i2c OK [08:55:30]MH_I2C_Read... [08:55:30]Read from MH i2c: 01 [08:55:30]MH_I2C_Read... [08:55:30]Read from MH i2c: 01 07 00 [08:55:30]MH_I2C_Read... [08:55:30]Read from MH i2c: 01 07 00 20 46 00 00 00 00 00 B7 0C 30 [08:55:30]RasterBufferAndPrint [08:55:30]line [08:55:30]line [08:55:30]line [08:55:30]line [08:55:30]line [08:55:30]written 0, free lines is 3262 [08:55:30]MH_Cut [08:55:30]Write to MH i2c: D1 01 00 27 46 01 3F [08:55:30]Write i2c OK [08:55:30]MH_I2C_Read... [08:55:30]Read from MH i2c: D1 [08:55:30]MH_I2C_Read... [08:55:30]Read from MH i2c: D1 01 00 [08:55:30]MH_I2C_Read... [08:55:30]Read from MH i2c: D1 01 00 27 46 00 3E [08:55:30]Write to MH i2c: 01 00 00 28 46 6E [08:55:30]Write i2c OK [08:55:30]MH_I2C_Read... [08:55:30]OFD Sender: No OFD packet to send [08:55:31]*** Cut start [08:55:31]*** Partial cut [08:55:31]*** CUTSNS_PIN = 1 [08:55:31]*** CUTSNS_PIN = 0 [08:55:31]*** Brake cut motor [08:55:32]Read from MH i2c: 01 [08:55:32]MH_I2C_Read... [08:55:32]*** Stop cut motor [08:55:32]*** Cut end [08:55:32]Read from MH i2c: 01 07 00 [08:55:32]MH_I2C_Read... [08:55:32]Read from MH i2c: 01 07 00 28 46 00 00 00 00 00 FF 0F 83 [08:55:32]process_action close_receipt done [08:55:32]requested_data is exist [08:55:32]produce_requested_data [08:55:32]requested_item fm.sn is exist - process it [08:55:32]wFMCommunicate request_size=4 [08:55:32]MH_SAM_APDU [08:55:32]CAPDU: 80 11 00 00 [08:55:32]Write to MH i2c: E2 08 00 29 46 80 11 00 00 00 00 00 00 E9 [08:55:32]Write i2c OK [08:55:32]MH_I2C_Read... [08:55:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:55:32]Read from MH i2c: E2 [08:55:32]MH_I2C_Read... [08:55:32]Read from MH i2c: E2 17 00 [08:55:32]MH_I2C_Read... [08:55:32]Read from MH i2c: E2 17 00 29 46 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 31 [08:55:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:55:32]wFMCommunicate OK [08:55:32]requested_item fd.num is exist - process it [08:55:32]SAM_PROTO_GetFieldsCounters [08:55:32]wFMCommunicate request_size=4 [08:55:32]MH_SAM_APDU [08:55:32]CAPDU: 80 13 00 00 [08:55:32]Write to MH i2c: E2 08 00 2A 46 80 13 00 00 00 00 00 00 EC [08:55:32]Write i2c OK [08:55:32]MH_I2C_Read... [08:55:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:55:32]Read from MH i2c: E2 [08:55:32]MH_I2C_Read... [08:55:32]Read from MH i2c: E2 62 00 [08:55:32]MH_I2C_Read... [08:55:32]Read from MH i2c: E2 62 00 2A 46 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 FC 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 51 [08:55:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 FC 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:55:32]wFMCommunicate OK [08:55:32]SAM_PROTO_GetFieldsCounters done [08:55:32]requested_item shift.num is exist - process it [08:55:32]requested_item shift.opened is exist - process it [08:55:32]req_shift_opened [08:55:32]FM_GetShiftState [08:55:32]SAM_PROTO_GetShiftState [08:55:32]wFMCommunicate request_size=4 [08:55:32]MH_SAM_APDU [08:55:32]CAPDU: 80 13 01 00 [08:55:32]Write to MH i2c: E2 08 00 2B 46 80 13 01 00 00 00 00 00 EE [08:55:32]Write i2c OK [08:55:32]MH_I2C_Read... [08:55:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:55:32]Read from MH i2c: E2 [08:55:32]MH_I2C_Read... [08:55:32]Read from MH i2c: E2 0E 00 [08:55:32]MH_I2C_Read... [08:55:32]Read from MH i2c: E2 0E 00 2B 46 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 97 [08:55:32]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:55:32]wFMCommunicate OK [08:55:32]SAM_PROTO_GetShiftState done [08:55:32]FM_GetShiftState done [08:55:32]req_shift_opened done [08:55:32]requested_item shift.open_date is exist - process it [08:55:32]req_shift_open_date [08:55:32]req_shift_open_date done [08:55:32]produce_requested_data done [08:55:32]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2556,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:55:32]process_action_free close_receipt [08:55:32]json_value_free [08:55:32]json_value_free done [08:55:32]process_json_proto returns [08:55:32]Send response to host [08:55:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2556,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:55:32]free response buf [08:55:32]execute_script done [08:55:32]execute_script returns [08:55:32]free content buf [08:55:32]Sock 9.Close socket [08:55:32]Sock 9.Thread stoped [08:55:35]OFD Sender: No OFD packet to send [08:55:40]OFD Sender: No OFD packet to send [08:55:45]OFD Sender: No OFD packet to send [08:55:50]OFD Sender: No OFD packet to send [08:55:55]OFD Sender: No OFD packet to send [08:56:00]OFD Sender: No OFD packet to send [08:56:03]accept exits with 7 [08:56:03]New connection [08:56:03]New thread 3066707300 created [08:56:03]Thread 3066850660 joined [08:56:03]Waiting for new connection... [08:56:03] Sock 7.Parse request [08:56:03]Sock 7.Check first char [08:56:03]Sock 7.First char is OK [08:56:03]request: POST /json_proto HTTP/1.0 [08:56:03]Method: POST [08:56:03]URL: /json_proto [08:56:03]Method is POST - this is cgi request [08:56:03]url: /json_proto [08:56:03]query_string will be loaded in cgi processing [08:56:03]execute_cgi json_proto POST (null) [08:56:03]execute_cgi path=json_proto method=POST [08:56:03]POST find Content-Length [08:56:03]Host: 172.17.52.132:8080 [08:56:03]Content-Length: 645 [08:56:03]Content-Type: application/json [08:56:03] [08:56:03]POST finish read [08:56:03]Found Content-Length = 645 [08:56:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99935", "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" ] } } [08:56:03]execute_script... [08:56: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)99935", "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" ] } } [08:56:03]POST & json_proto [08:56:03]process_json_proto [08:56:03]json parsed OK: [08:56:03]protocol is kg_v1.0 [08:56:03]action value=close_receipt [08:56:03]process_action close_receipt [08:56:03]cmd_close_receipt [08:56:03]MH_GetDate [08:56:03]Write to MH i2c: F0 00 00 2C 46 61 [08:56:03]Write i2c OK [08:56:03]MH_I2C_Read... [08:56:03]Read from MH i2c: F0 [08:56:03]MH_I2C_Read... [08:56:03]Read from MH i2c: F0 09 00 [08:56:03]MH_I2C_Read... [08:56:03]Read from MH i2c: F0 09 00 2C 46 00 2C 74 13 67 5A BE F6 66 F8 [08:56:03]GetLastDocTimeStamp 1729328136 [08:56:03]current date 1729328172 [08:56:03]FM_GetShiftState [08:56:03]SAM_PROTO_GetShiftState [08:56:03]wFMCommunicate request_size=4 [08:56:03]MH_SAM_APDU [08:56:03]CAPDU: 80 13 01 00 [08:56:03]Write to MH i2c: E2 08 00 2D 46 80 13 01 00 00 00 00 00 F0 [08:56:03]Write i2c OK [08:56:03]MH_I2C_Read... [08:56:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:56:04]Read from MH i2c: E2 [08:56:04]MH_I2C_Read... [08:56:04]Read from MH i2c: E2 0E 00 [08:56:04]MH_I2C_Read... [08:56:04]Read from MH i2c: E2 0E 00 2D 46 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 99 [08:56:04]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:56:04]wFMCommunicate OK [08:56:04]SAM_PROTO_GetShiftState done [08:56:04]FM_GetShiftState done [08:56:04]opened in 1729296173 [08:56:04]opened+sec_in_day 1729382573 [08:56:04]quantity*price = 13000 [08:56:04]sum+1 = 13001 [08:56:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 18 19.10.2024 08:56 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2557 ФПД: 47832937739454 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T085612&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2557&fm=47832937739454&tin=02508201610067®Number=0000000000207295&sum=13000 0 [08:56:05]StoreToDocumentArchive [08:56:05]shift 23 fd 2557 [08:56:05]save to /storage/0023/doc_00002557 [08:56:05]save last doc name /storage/0023/doc_00002557 to /storage/kkm_last_doc_name [08:56:05]save OK [08:56:05]Clear old archive folders... [08:56:05]ProcessDocumentItem done err = 0, tmpTLVsize=282 [08:56:05]tlvbuf is 01415BB0 [08:56:05]SAM_PROTO_ClearQueue [08:56:05]wFMCommunicate request_size=4 [08:56:05]MH_SAM_APDU [08:56:05]CAPDU: 80 09 00 00 [08:56:05]Write to MH i2c: E2 08 00 3A 46 80 09 00 00 00 00 00 00 F2 [08:56:05]Write i2c OK [08:56:05]MH_I2C_Read... [08:56:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:56:05]Read from MH i2c: E2 [08:56:05]MH_I2C_Read... [08:56:05]Read from MH i2c: E2 03 00 [08:56:05]MH_I2C_Read... [08:56:05]Read from MH i2c: E2 03 00 3A 46 00 90 00 F4 [08:56:05]RAPDU: 90 00 [08:56:05]wFMCommunicate OK [08:56:05]SAM_PROTO_ClearQueue done [08:56:05]KKMCreateOFDPacket [08:56:05]OFDProtocolAddRootSTLVToBuf [08:56:05]FM_MakeSignedData [08:56:05]FM_MakeSignedData [08:56:05]SAM_PROTO_SignData [08:56:05]wFMCommunicate request_size=4 [08:56:05]MH_SAM_APDU [08:56:05]CAPDU: 80 0D 01 02 [08:56:05]Write to MH i2c: E2 08 00 3B 46 80 0D 01 02 00 00 00 00 FA [08:56:05]Write i2c OK [08:56:05]MH_I2C_Read... [08:56:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:56:05]Read from MH i2c: E2 [08:56:05]MH_I2C_Read... [08:56:05]Read from MH i2c: E2 03 00 [08:56:05]MH_I2C_Read... [08:56:05]Read from MH i2c: E2 03 00 3B 46 00 90 00 F5 [08:56:05]RAPDU: 90 00 [08:56:05]wFMCommunicate OK [08:56:05]wFMCommunicate request_size=255 [08:56:05]MH_SAM_APDU [08:56:05]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 12 00 00 00 F4 03 04 00 2C 74 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 [08:56:05]Write to MH i2c: E2 02 01 3C 46 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 12 00 00 00 F4 03 04 00 2C 74 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 00 00 4C [08:56:05]Write i2c OK [08:56:05]MH_I2C_Read... [08:56:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:56:05]Read from MH i2c: E2 [08:56:05]MH_I2C_Read... [08:56:05]Read from MH i2c: E2 03 00 [08:56:05]MH_I2C_Read... [08:56:05]Read from MH i2c: E2 03 00 3C 46 00 90 00 F6 [08:56:05]RAPDU: 90 00 [08:56:05]wFMCommunicate OK [08:56:05]wFMCommunicate request_size=41 [08:56:05]MH_SAM_APDU [08:56:05]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FD 09 00 00 35 04 06 00 2B 80 F9 43 34 BE [08:56:05]Write to MH i2c: E2 2C 00 3D 46 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FD 09 00 00 35 04 06 00 2B 80 F9 43 34 BE 00 00 A0 [08:56:05]Write i2c OK [08:56:05]MH_I2C_Read... [08:56:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:56:05]Read from MH i2c: E2 [08:56:05]MH_I2C_Read... [08:56:05]Read from MH i2c: E2 03 00 [08:56:05]MH_I2C_Read... [08:56:05]Read from MH i2c: E2 03 00 3D 46 00 90 00 F7 [08:56:05]RAPDU: 90 00 [08:56:05]wFMCommunicate OK [08:56:05]wFMCommunicate request_size=4 [08:56:05]MH_SAM_APDU [08:56:05]CAPDU: 80 0D 03 02 [08:56:05]Write to MH i2c: E2 08 00 3E 46 80 0D 03 02 00 00 00 00 FF [08:56:05]Write i2c OK [08:56:05]MH_I2C_Read... [08:56:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:56:05]Read from MH i2c: E2 [08:56:05]MH_I2C_Read... [08:56:05]Read from MH i2c: E2 0B 00 [08:56:05]MH_I2C_Read... [08:56:05]Read from MH i2c: E2 0B 00 3E 46 00 09 D2 BF F2 98 27 66 A9 90 00 5A [08:56:05]RAPDU: 09 D2 BF F2 98 27 66 A9 90 00 [08:56:05]wFMCommunicate OK [08:56:05]SAM_PROTO_SignData done [08:56:05]FM_MakeSignedData done [08:56:05]CreateOFDProtocolMessage [08:56:05]wFMCommunicate request_size=4 [08:56:05]MH_SAM_APDU [08:56:05]CAPDU: 80 11 00 00 [08:56:05]Write to MH i2c: E2 08 00 3F 46 80 11 00 00 00 00 00 00 FF [08:56:05]Write i2c OK [08:56:05]MH_I2C_Read... [08:56:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:56:05]Read from MH i2c: E2 [08:56:05]MH_I2C_Read... [08:56:05]Read from MH i2c: E2 17 00 [08:56:05]MH_I2C_Read... [08:56:05]Read from MH i2c: E2 17 00 3F 46 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 47 [08:56:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:56:05]wFMCommunicate OK [08:56:05]CreateOFDProtocolMessage done [08:56:05]OFDSenderStorePacket 2557 [08:56:05]StoreOFDPacket docnum=2557 [08:56:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2E 01 00 00 43 11 26 01 AC 8D 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 12 00 00 00 F4 03 04 00 2C 74 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FD 09 00 00 35 04 06 00 2B 80 F9 43 34 BE 09 D2 BF F2 98 27 66 A9 [08:56:05]CheckFolder [08:56:05]dirname=/storage/ofd_packets [08:56:05]CheckFolder done [08:56:05]ProducePacketName [08:56:05]name=ofd_packets/00002557 [08:56:05]NVStorageSaveData ofd_packets/00002557 [08:56:05]File name is /storage/ofd_packets/00002557 [08:56:05]Write 332 bytes [08:56:05]NVStorageSaveData done [08:56:05]OFDSenderStorePacket done [08:56:05]KKMCreateOFDPacket done [08:56:05]NVStorageSaveData kkm_last_timestamp [08:56:05]File name is /storage/kkm_last_timestamp [08:56:05]Write 4 bytes [08:56:05]NVStorageSaveData done [08:56:05]ExternCall_PrintAddStr [08:56:05]wPrintStart [08:56:05]Write to MH i2c: 01 00 00 40 46 86 [08:56:05]Write i2c OK [08:56:05]MH_I2C_Read... [08:56:05]Read from MH i2c: 01 [08:56:05]MH_I2C_Read... [08:56:05]Read from MH i2c: 01 07 00 [08:56:05]MH_I2C_Read... [08:56:05]Read from MH i2c: 01 07 00 40 46 00 00 00 00 00 FF 0F 9B [08:56:05]RasterBufferAndPrint [08:56:05]line Счет N : (3)99935 [08:56:05]line ИНН: 02508201610067 [08:56:05]line Контрольно-Кассовый Чек [08:56:05]line ПРОДАЖА [08:56:05]line Товар: 2000036220012 [08:56:05]line Кофе Капучино XL(GABB TRADE) [08:56:05]line 1.000 * 130.00 [08:56:05]line = 130.00 [08:56:05]line НДС 12% НСП 1% [08:56:05]line > о реализуемом товаре [08:56:05]line ИТОГО: 130.00 [08:56:05]line НСП 1% : 1.15 [08:56:05]line НДС 12% : 13.80 [08:56:05]line Наличными: 130.00 [08:56:05]line Безнал.: 0.00 [08:56:05]line Место: АЗС № 162 "Партнер Нефть" [08:56:05]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [08:56:05]line СНО: Общий режим [08:56:05]line Чек 18 19.10.2024 08:56 [08:56:05]line Смена: 23 ФФД: 1.0 [08:56:05]line ЗНМ: 0300000191 [08:56:05]line РНМ: 0000000000207295 [08:56:05]line Версия ККМ: v1.0 [08:56:05]line ФМ: 0000000002342820 [08:56:05]line ФД: 2557 [08:56:05]line ФПД: 47832937739454 [08:56:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T085612&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2557&fm=47832937739454&tin=02508201610067®Number=0000000000207295&sum=13000 [08:56:06]line 0 [08:56:06]OFD Sender: Processing packet 2557 [packets to send 1, broken 0] [08:56:06]ProducePacketName [08:56:06]name=ofd_packets/00002557 [08:56:06]OFD Sender: To server: pG, [08:56:06]CommunicateWithHost lk.salyk.kg:30040 [08:56:06]ConnectInit lk.salyk.kg [08:56:06]written 0, free lines is 4095 [08:56:06]Connected sock=10 [08:56:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2E 01 00 00 43 11 26 01 AC 8D 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 12 00 00 00 F4 03 04 00 2C 74 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FD 09 00 00 35 04 06 00 2B 80 F9 43 34 BE 09 D2 BF F2 98 27 66 A9 [08:56:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 96 9E 47 00 1D 56 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FD 09 00 00 F4 03 04 00 8E 1F 13 67 B6 04 01 00 00 D8 F2 45 32 65 48 FB 7F [08:56:06]CommunicateWithHost err = 0 [08:56:06]CheckOFDResponse [08:56:06]1017 (14) - 77093643461234 [08:56:06]1041 (16) - 0000000002342820 [08:56:06]1040 (4) - 2557 [08:56:06]1012 (4) - 19.10.2024 02:55 [08:56:06]1206 (1) - 0 [08:56:06]OFD Sender: Remove packet 2557 [08:56:06]ProducePacketName [08:56:06]name=ofd_packets/00002557 [08:56:06]NVStorageDeleteData [08:56:06]Write to MH i2c: 01 00 00 69 46 AF [08:56:06]Write i2c OK [08:56:06]MH_I2C_Read... [08:56:06]Read from MH i2c: 01 [08:56:06]MH_I2C_Read... [08:56:06]Read from MH i2c: 01 07 00 [08:56:06]MH_I2C_Read... [08:56:06]Read from MH i2c: 01 07 00 69 46 00 00 00 00 00 B7 0C 79 [08:56:06]RasterBufferAndPrint [08:56:06]line [08:56:06]line [08:56:06]line [08:56:06]line [08:56:06]line [08:56:06]written 0, free lines is 3260 [08:56:06]MH_Cut [08:56:06]Write to MH i2c: D1 01 00 70 46 01 88 [08:56:06]Write i2c OK [08:56:06]MH_I2C_Read... [08:56:06]Read from MH i2c: D1 [08:56:06]MH_I2C_Read... [08:56:06]Read from MH i2c: D1 01 00 [08:56:06]MH_I2C_Read... [08:56:06]Read from MH i2c: D1 01 00 70 46 00 87 [08:56:06]Write to MH i2c: 01 00 00 71 46 B7 [08:56:06]Write i2c OK [08:56:06]MH_I2C_Read... [08:56:06]OFD Sender: No OFD packet to send [08:56:07]*** Cut start [08:56:07]*** Partial cut [08:56:07]*** CUTSNS_PIN = 1 [08:56:07]*** CUTSNS_PIN = 0 [08:56:07]*** Brake cut motor [08:56:07]Read from MH i2c: 01 [08:56:08]MH_I2C_Read... [08:56:08]*** Stop cut motor [08:56:08]*** Cut end [08:56:08]Read from MH i2c: 01 07 00 [08:56:08]MH_I2C_Read... [08:56:08]Read from MH i2c: 01 07 00 71 46 00 00 00 00 00 FF 0F CC [08:56:08]process_action close_receipt done [08:56:08]requested_data is exist [08:56:08]produce_requested_data [08:56:08]requested_item fm.sn is exist - process it [08:56:08]wFMCommunicate request_size=4 [08:56:08]MH_SAM_APDU [08:56:08]CAPDU: 80 11 00 00 [08:56:08]Write to MH i2c: E2 08 00 72 46 80 11 00 00 00 00 00 00 32 [08:56:08]Write i2c OK [08:56:08]MH_I2C_Read... [08:56:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:56:08]Read from MH i2c: E2 [08:56:08]MH_I2C_Read... [08:56:08]Read from MH i2c: E2 17 00 [08:56:08]MH_I2C_Read... [08:56:08]Read from MH i2c: E2 17 00 72 46 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 7A [08:56:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [08:56:08]wFMCommunicate OK [08:56:08]requested_item fd.num is exist - process it [08:56:08]SAM_PROTO_GetFieldsCounters [08:56:08]wFMCommunicate request_size=4 [08:56:08]MH_SAM_APDU [08:56:08]CAPDU: 80 13 00 00 [08:56:08]Write to MH i2c: E2 08 00 73 46 80 13 00 00 00 00 00 00 35 [08:56:08]Write i2c OK [08:56:08]MH_I2C_Read... [08:56:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:56:08]Read from MH i2c: E2 [08:56:08]MH_I2C_Read... [08:56:08]Read from MH i2c: E2 62 00 [08:56:08]MH_I2C_Read... [08:56:08]Read from MH i2c: E2 62 00 73 46 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 FD 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 9E [08:56:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 FD 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:56:08]wFMCommunicate OK [08:56:08]SAM_PROTO_GetFieldsCounters done [08:56:08]requested_item shift.num is exist - process it [08:56:08]requested_item shift.opened is exist - process it [08:56:08]req_shift_opened [08:56:08]FM_GetShiftState [08:56:08]SAM_PROTO_GetShiftState [08:56:08]wFMCommunicate request_size=4 [08:56:08]MH_SAM_APDU [08:56:08]CAPDU: 80 13 01 00 [08:56:08]Write to MH i2c: E2 08 00 74 46 80 13 01 00 00 00 00 00 37 [08:56:08]Write i2c OK [08:56:08]MH_I2C_Read... [08:56:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:56:08]Read from MH i2c: E2 [08:56:08]MH_I2C_Read... [08:56:08]Read from MH i2c: E2 0E 00 [08:56:08]MH_I2C_Read... [08:56:08]Read from MH i2c: E2 0E 00 74 46 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 E0 [08:56:08]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [08:56:08]wFMCommunicate OK [08:56:08]SAM_PROTO_GetShiftState done [08:56:08]FM_GetShiftState done [08:56:08]req_shift_opened done [08:56:08]requested_item shift.open_date is exist - process it [08:56:08]req_shift_open_date [08:56:08]req_shift_open_date done [08:56:08]produce_requested_data done [08:56:08]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2557,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [08:56:08]process_action_free close_receipt [08:56:08]json_value_free [08:56:08]json_value_free done [08:56:08]process_json_proto returns [08:56:08]Send response to host [08:56:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2557,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [08:56:08]free response buf [08:56:08]execute_script done [08:56:08]execute_script returns [08:56:08]free content buf [08:56:08]Sock 7.Close socket [08:56:08]Sock 7.Thread stoped [08:56:11]OFD Sender: No OFD packet to send [08:56:16]OFD Sender: No OFD packet to send [08:56:21]OFD Sender: No OFD packet to send [08:56:26]OFD Sender: No OFD packet to send [08:56:31]OFD Sender: No OFD packet to send [08:56:36]OFD Sender: No OFD packet to send [08:56:41]OFD Sender: No OFD packet to send [08:56:46]OFD Sender: No OFD packet to send [08:56:51]OFD Sender: No OFD packet to send [08:56:56]OFD Sender: No OFD packet to send [08:57:01]OFD Sender: No OFD packet to send [08:57:06]OFD Sender: No OFD packet to send [08:57:11]OFD Sender: No OFD packet to send [08:57:16]OFD Sender: No OFD packet to send [08:57:21]OFD Sender: No OFD packet to send [08:57:26]OFD Sender: No OFD packet to send [08:57:31]OFD Sender: No OFD packet to send [08:57:36]OFD Sender: No OFD packet to send [08:57:41]OFD Sender: No OFD packet to send [08:57:46]OFD Sender: No OFD packet to send [08:57:51]OFD Sender: No OFD packet to send [08:57:56]OFD Sender: No OFD packet to send [08:58:01]OFD Sender: No OFD packet to send [08:58:06]OFD Sender: No OFD packet to send [08:58:11]OFD Sender: No OFD packet to send [08:58:16]OFD Sender: No OFD packet to send [08:58:21]OFD Sender: No OFD packet to send [08:58:26]OFD Sender: No OFD packet to send [08:58:31]OFD Sender: No OFD packet to send [08:58:36]OFD Sender: No OFD packet to send [08:58:41]OFD Sender: No OFD packet to send [08:58:46]OFD Sender: No OFD packet to send [08:58:51]OFD Sender: No OFD packet to send [08:58:56]OFD Sender: No OFD packet to send [08:59: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 [08:59:27]OFD Sender: No OFD packet to send [08:59:32]OFD Sender: No OFD packet to send [08:59:37]OFD Sender: No OFD packet to send [08:59:42]OFD Sender: No OFD packet to send [08:59:47]OFD Sender: No OFD packet to send [08:59:52]OFD Sender: No OFD packet to send [08:59:57]OFD Sender: No OFD packet to send [09:00:02]OFD Sender: No OFD packet to send [09:00:07]OFD Sender: No OFD packet to send [09:00:12]OFD Sender: No OFD packet to send [09:00:17]OFD Sender: No OFD packet to send [09:00:22]OFD Sender: No OFD packet to send [09:00:27]OFD Sender: No OFD packet to send [09:00:32]OFD Sender: No OFD packet to send [09:00:37]OFD Sender: No OFD packet to send [09:00:42]OFD Sender: No OFD packet to send [09:00:47]OFD Sender: No OFD packet to send [09:00:52]OFD Sender: No OFD packet to send [09:00:57]OFD Sender: No OFD packet to send [09:01:02]OFD Sender: No OFD packet to send [09:01:07]OFD Sender: No OFD packet to send [09:01:12]OFD Sender: No OFD packet to send [09:01:17]OFD Sender: No OFD packet to send [09:01:22]OFD Sender: No OFD packet to send [09:01:27]OFD Sender: No OFD packet to send [09:01:32]OFD Sender: No OFD packet to send [09:01:37]OFD Sender: No OFD packet to send [09:01:42]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:32]OFD Sender: No OFD packet to send [09:02:37]OFD Sender: No OFD packet to send [09:02:42]OFD Sender: No OFD packet to send [09:02:47]OFD Sender: No OFD packet to send [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:03]accept exits with 9 [09:03:03]New connection [09:03:03]New thread 3066850660 created [09:03:03]Thread 3066707300 joined [09:03:03]Waiting for new connection... [09:03:03] Sock 9.Parse request [09:03:03]Sock 9.Check first char [09:03:03]Sock 9.First char is OK [09:03:03]request: POST /json_proto HTTP/1.0 [09:03:03]Method: POST [09:03:03]URL: /json_proto [09:03:03]Method is POST - this is cgi request [09:03:03]url: /json_proto [09:03:03]query_string will be loaded in cgi processing [09:03:03]execute_cgi json_proto POST (null) [09:03:03]execute_cgi path=json_proto method=POST [09:03:03]POST find Content-Length [09:03:03]Host: 172.17.52.132:8080 [09:03:03]Content-Length: 747 [09:03:03]Content-Type: application/json [09:03:03] [09:03:03]POST finish read [09:03:03]Found Content-Length = 747 [09:03:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99936", "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 }]} ], "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" ] } } [09:03:03]execute_script... [09:03: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)99936", "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 }]} ], "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" ] } } [09:03:03]POST & json_proto [09:03:03]process_json_proto [09:03:03]json parsed OK: [09:03:03]protocol is kg_v1.0 [09:03:03]action value=close_receipt [09:03:03]process_action close_receipt [09:03:03]cmd_close_receipt [09:03:03]MH_GetDate [09:03:03]Write to MH i2c: F0 00 00 75 46 AA [09:03:03]Write i2c OK [09:03:03]MH_I2C_Read... [09:03:03]Read from MH i2c: F0 [09:03:03]MH_I2C_Read... [09:03:03]Read from MH i2c: F0 09 00 [09:03:03]MH_I2C_Read... [09:03:03]Read from MH i2c: F0 09 00 75 46 00 D0 75 13 67 5A BE F6 66 E6 [09:03:03]GetLastDocTimeStamp 1729328172 [09:03:03]current date 1729328592 [09:03:03]FM_GetShiftState [09:03:03]SAM_PROTO_GetShiftState [09:03:03]wFMCommunicate request_size=4 [09:03:03]MH_SAM_APDU [09:03:03]CAPDU: 80 13 01 00 [09:03:03]Write to MH i2c: E2 08 00 76 46 80 13 01 00 00 00 00 00 39 [09:03:03]Write i2c OK [09:03:03]MH_I2C_Read... [09:03:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:03:03]Read from MH i2c: E2 [09:03:03]MH_I2C_Read... [09:03:03]Read from MH i2c: E2 0E 00 [09:03:03]MH_I2C_Read... [09:03:03]Read from MH i2c: E2 0E 00 76 46 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 E2 [09:03:03]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [09:03:03]wFMCommunicate OK [09:03:03]SAM_PROTO_GetShiftState done [09:03:03]FM_GetShiftState done [09:03:03]opened in 1729296173 [09:03:03]opened+sec_in_day 1729382573 [09:03:03]quantity*price = 14400 [09:03:03]sum+1 = 14401 [09:03:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 19 19.10.2024 09:03 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2558 ФПД: 223758995500331 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T090312&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2558&fm=223758995500331&tin=02508201610067®Number=0000000000207295&sum=14400 0 [09:03:05]StoreToDocumentArchive [09:03:05]shift 23 fd 2558 [09:03:05]save to /storage/0023/doc_00002558 [09:03:05]save last doc name /storage/0023/doc_00002558 to /storage/kkm_last_doc_name [09:03:05]save OK [09:03:05]Clear old archive folders... [09:03:05]ProcessDocumentItem done err = 0, tmpTLVsize=273 [09:03:05]tlvbuf is 0136A8A0 [09:03:05]SAM_PROTO_ClearQueue [09:03:05]wFMCommunicate request_size=4 [09:03:05]MH_SAM_APDU [09:03:05]CAPDU: 80 09 00 00 [09:03:05]Write to MH i2c: E2 08 00 83 46 80 09 00 00 00 00 00 00 3B [09:03:05]Write i2c OK [09:03:05]MH_I2C_Read... [09:03:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:03:05]Read from MH i2c: E2 [09:03:05]MH_I2C_Read... [09:03:05]Read from MH i2c: E2 03 00 [09:03:05]MH_I2C_Read... [09:03:05]Read from MH i2c: E2 03 00 83 46 00 90 00 3D [09:03:05]RAPDU: 90 00 [09:03:05]wFMCommunicate OK [09:03:05]SAM_PROTO_ClearQueue done [09:03:05]KKMCreateOFDPacket [09:03:05]OFDProtocolAddRootSTLVToBuf [09:03:05]FM_MakeSignedData [09:03:05]FM_MakeSignedData [09:03:05]SAM_PROTO_SignData [09:03:05]wFMCommunicate request_size=4 [09:03:05]MH_SAM_APDU [09:03:05]CAPDU: 80 0D 01 02 [09:03:05]Write to MH i2c: E2 08 00 84 46 80 0D 01 02 00 00 00 00 43 [09:03:05]Write i2c OK [09:03:05]MH_I2C_Read... [09:03:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:03:05]Read from MH i2c: E2 [09:03:05]MH_I2C_Read... [09:03:05]Read from MH i2c: E2 03 00 [09:03:05]MH_I2C_Read... [09:03:05]Read from MH i2c: E2 03 00 84 46 00 90 00 3E [09:03:05]RAPDU: 90 00 [09:03:05]wFMCommunicate OK [09:03:05]wFMCommunicate request_size=255 [09:03:05]MH_SAM_APDU [09:03:05]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 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 13 00 00 00 F4 03 04 00 D0 75 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 [09:03:05]Write to MH i2c: E2 02 01 85 46 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 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 13 00 00 00 F4 03 04 00 D0 75 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 00 00 82 [09:03:05]Write i2c OK [09:03:05]MH_I2C_Read... [09:03:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:03:05]Read from MH i2c: E2 [09:03:05]MH_I2C_Read... [09:03:05]Read from MH i2c: E2 03 00 [09:03:05]MH_I2C_Read... [09:03:05]Read from MH i2c: E2 03 00 85 46 00 90 00 3F [09:03:05]RAPDU: 90 00 [09:03:05]wFMCommunicate OK [09:03:05]wFMCommunicate request_size=32 [09:03:05]MH_SAM_APDU [09:03:05]CAPDU: 80 0D 02 02 1B 30 30 32 33 34 32 38 32 30 10 04 04 00 FE 09 00 00 35 04 06 00 CB 81 F3 71 2D 2B [09:03:05]Write to MH i2c: E2 23 00 86 46 80 0D 02 02 1B 00 30 30 32 33 34 32 38 32 30 10 04 04 00 FE 09 00 00 35 04 06 00 CB 81 F3 71 2D 2B 00 00 A7 [09:03:05]Write i2c OK [09:03:05]MH_I2C_Read... [09:03:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:03:05]Read from MH i2c: E2 [09:03:05]MH_I2C_Read... [09:03:05]Read from MH i2c: E2 03 00 [09:03:05]MH_I2C_Read... [09:03:05]Read from MH i2c: E2 03 00 86 46 00 90 00 40 [09:03:05]RAPDU: 90 00 [09:03:05]wFMCommunicate OK [09:03:05]wFMCommunicate request_size=4 [09:03:05]MH_SAM_APDU [09:03:05]CAPDU: 80 0D 03 02 [09:03:05]Write to MH i2c: E2 08 00 87 46 80 0D 03 02 00 00 00 00 48 [09:03:05]Write i2c OK [09:03:05]MH_I2C_Read... [09:03:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:03:05]Read from MH i2c: E2 [09:03:05]MH_I2C_Read... [09:03:05]Read from MH i2c: E2 0B 00 [09:03:05]MH_I2C_Read... [09:03:05]Read from MH i2c: E2 0B 00 87 46 00 BA 34 3F 6E B0 47 A9 30 90 00 B4 [09:03:05]RAPDU: BA 34 3F 6E B0 47 A9 30 90 00 [09:03:05]wFMCommunicate OK [09:03:05]SAM_PROTO_SignData done [09:03:05]FM_MakeSignedData done [09:03:05]CreateOFDProtocolMessage [09:03:05]wFMCommunicate request_size=4 [09:03:05]MH_SAM_APDU [09:03:05]CAPDU: 80 11 00 00 [09:03:05]Write to MH i2c: E2 08 00 88 46 80 11 00 00 00 00 00 00 48 [09:03:05]Write i2c OK [09:03:05]MH_I2C_Read... [09:03:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:03:05]Read from MH i2c: E2 [09:03:05]MH_I2C_Read... [09:03:05]Read from MH i2c: E2 17 00 [09:03:05]MH_I2C_Read... [09:03:05]Read from MH i2c: E2 17 00 88 46 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 90 [09:03:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:03:05]wFMCommunicate OK [09:03:05]CreateOFDProtocolMessage done [09:03:05]OFDSenderStorePacket 2558 [09:03:05]StoreOFDPacket docnum=2558 [09:03:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 04 25 1D 01 F3 2B 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 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 13 00 00 00 F4 03 04 00 D0 75 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FE 09 00 00 35 04 06 00 CB 81 F3 71 2D 2B BA 34 3F 6E B0 47 A9 30 [09:03:05]CheckFolder [09:03:05]dirname=/storage/ofd_packets [09:03:05]CheckFolder done [09:03:05]ProducePacketName [09:03:05]name=ofd_packets/00002558 [09:03:05]NVStorageSaveData ofd_packets/00002558 [09:03:05]File name is /storage/ofd_packets/00002558 [09:03:05]Write 323 bytes [09:03:05]NVStorageSaveData done [09:03:05]OFDSenderStorePacket done [09:03:05]KKMCreateOFDPacket done [09:03:05]NVStorageSaveData kkm_last_timestamp [09:03:05]File name is /storage/kkm_last_timestamp [09:03:05]Write 4 bytes [09:03:05]NVStorageSaveData done [09:03:05]ExternCall_PrintAddStr [09:03:05]wPrintStart [09:03:05]Write to MH i2c: 01 00 00 89 46 CF [09:03:05]Write i2c OK [09:03:05]MH_I2C_Read... [09:03:05]Read from MH i2c: 01 [09:03:05]MH_I2C_Read... [09:03:05]Read from MH i2c: 01 07 00 [09:03:05]MH_I2C_Read... [09:03:05]Read from MH i2c: 01 07 00 89 46 00 00 00 00 00 FF 0F E4 [09:03:05]RasterBufferAndPrint [09:03:05]line Счет N : (3)99936 [09:03:05]line ИНН: 02508201610067 [09:03:05]line Контрольно-Кассовый Чек [09:03:05]line ПРОДАЖА [09:03:05]line Товар: 48747059 [09:03:05]line Сигареты Winston Legend Blue [09:03:05]line 1.000 * 144.00 [09:03:05]line = 144.00 [09:03:05]line НДС 12% НСП 1% [09:03:05]line > о реализуемом товаре [09:03:05]line ИТОГО: 144.00 [09:03:05]line НСП 1% : 1.27 [09:03:05]line НДС 12% : 15.29 [09:03:05]line Наличными: 0.00 [09:03:05]line Безнал.: 144.00 [09:03:05]line Место: АЗС № 162 "Партнер Нефть" [09:03:05]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [09:03:05]line СНО: Общий режим [09:03:05]line Чек 19 19.10.2024 09:03 [09:03:05]line Смена: 23 ФФД: 1.0 [09:03:05]line ЗНМ: 0300000191 [09:03:05]line РНМ: 0000000000207295 [09:03:05]line Версия ККМ: v1.0 [09:03:05]line Платежная система: Mbank [09:03:05]line ФМ: 0000000002342820 [09:03:05]line ФД: 2558 [09:03:05]line ФПД: 223758995500331 [09:03:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T090312&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2558&fm=223758995500331&tin=02508201610067®Number=0000000000207295&sum=14400 [09:03:05]line 0 [09:03:05]OFD Sender: Processing packet 2558 [packets to send 1, broken 0] [09:03:05]ProducePacketName [09:03:05]name=ofd_packets/00002558 [09:03:05]OFD Sender: To server: pG, [09:03:05]CommunicateWithHost lk.salyk.kg:30040 [09:03:05]ConnectInit lk.salyk.kg [09:03:05]written 0, free lines is 4095 [09:03:05]Connected sock=10 [09:03:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 04 25 1D 01 F3 2B 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 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 13 00 00 00 F4 03 04 00 D0 75 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FE 09 00 00 35 04 06 00 CB 81 F3 71 2D 2B BA 34 3F 6E B0 47 A9 30 [09:03:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 35 4A 47 00 A4 53 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FE 09 00 00 F4 03 04 00 31 21 13 67 B6 04 01 00 00 6A 25 67 2E 08 98 0F 05 [09:03:06]CommunicateWithHost err = 0 [09:03:06]CheckOFDResponse [09:03:06]1017 (14) - 77093643461234 [09:03:06]1041 (16) - 0000000002342820 [09:03:06]1040 (4) - 2558 [09:03:06]1012 (4) - 19.10.2024 03:02 [09:03:06]1206 (1) - 0 [09:03:06]OFD Sender: Remove packet 2558 [09:03:06]ProducePacketName [09:03:06]name=ofd_packets/00002558 [09:03:06]NVStorageDeleteData [09:03:06]Write to MH i2c: 01 00 00 B3 46 F9 [09:03:06]Write i2c OK [09:03:06]MH_I2C_Read... [09:03:06]Read from MH i2c: 01 [09:03:06]MH_I2C_Read... [09:03:06]Read from MH i2c: 01 07 00 [09:03:06]MH_I2C_Read... [09:03:06]Read from MH i2c: 01 07 00 B3 46 00 00 00 00 00 90 0C 9C [09:03:06]RasterBufferAndPrint [09:03:06]line [09:03:06]line [09:03:06]line [09:03:06]line [09:03:06]line [09:03:06]written 0, free lines is 3220 [09:03:06]MH_Cut [09:03:06]Write to MH i2c: D1 01 00 BA 46 01 D2 [09:03:06]Write i2c OK [09:03:06]MH_I2C_Read... [09:03:06]Read from MH i2c: D1 [09:03:06]MH_I2C_Read... [09:03:06]Read from MH i2c: D1 01 00 [09:03:06]MH_I2C_Read... [09:03:06]Read from MH i2c: D1 01 00 BA 46 00 D1 [09:03:06]Write to MH i2c: 01 00 00 BB 46 01 [09:03:06]Write i2c OK [09:03:06]MH_I2C_Read... [09:03:06]OFD Sender: No OFD packet to send [09:03:07]*** Cut start [09:03:07]*** Partial cut [09:03:07]*** CUTSNS_PIN = 1 [09:03:07]*** CUTSNS_PIN = 0 [09:03:07]*** Brake cut motor [09:03:07]Read from MH i2c: 01 [09:03:07]MH_I2C_Read... [09:03:07]*** Stop cut motor [09:03:07]*** Cut end [09:03:07]Read from MH i2c: 01 07 00 [09:03:07]MH_I2C_Read... [09:03:07]Read from MH i2c: 01 07 00 BB 46 00 00 00 00 00 FF 0F 16 [09:03:07]process_action close_receipt done [09:03:07]requested_data is exist [09:03:07]produce_requested_data [09:03:07]requested_item fm.sn is exist - process it [09:03:07]wFMCommunicate request_size=4 [09:03:07]MH_SAM_APDU [09:03:07]CAPDU: 80 11 00 00 [09:03:07]Write to MH i2c: E2 08 00 BC 46 80 11 00 00 00 00 00 00 7C [09:03:07]Write i2c OK [09:03:07]MH_I2C_Read... [09:03:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:03:07]Read from MH i2c: E2 [09:03:07]MH_I2C_Read... [09:03:07]Read from MH i2c: E2 17 00 [09:03:07]MH_I2C_Read... [09:03:07]Read from MH i2c: E2 17 00 BC 46 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C4 [09:03:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:03:07]wFMCommunicate OK [09:03:07]requested_item fd.num is exist - process it [09:03:07]SAM_PROTO_GetFieldsCounters [09:03:07]wFMCommunicate request_size=4 [09:03:07]MH_SAM_APDU [09:03:07]CAPDU: 80 13 00 00 [09:03:07]Write to MH i2c: E2 08 00 BD 46 80 13 00 00 00 00 00 00 7F [09:03:08]Write i2c OK [09:03:08]MH_I2C_Read... [09:03:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:03:08]Read from MH i2c: E2 [09:03:08]MH_I2C_Read... [09:03:08]Read from MH i2c: E2 62 00 [09:03:08]MH_I2C_Read... [09:03:08]Read from MH i2c: E2 62 00 BD 46 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 FE 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 EC [09:03:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 FE 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:03:08]wFMCommunicate OK [09:03:08]SAM_PROTO_GetFieldsCounters done [09:03:08]requested_item shift.num is exist - process it [09:03:08]requested_item shift.opened is exist - process it [09:03:08]req_shift_opened [09:03:08]FM_GetShiftState [09:03:08]SAM_PROTO_GetShiftState [09:03:08]wFMCommunicate request_size=4 [09:03:08]MH_SAM_APDU [09:03:08]CAPDU: 80 13 01 00 [09:03:08]Write to MH i2c: E2 08 00 BE 46 80 13 01 00 00 00 00 00 81 [09:03:08]Write i2c OK [09:03:08]MH_I2C_Read... [09:03:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:03:08]Read from MH i2c: E2 [09:03:08]MH_I2C_Read... [09:03:08]Read from MH i2c: E2 0E 00 [09:03:08]MH_I2C_Read... [09:03:08]Read from MH i2c: E2 0E 00 BE 46 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 2A [09:03:08]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [09:03:08]wFMCommunicate OK [09:03:08]SAM_PROTO_GetShiftState done [09:03:08]FM_GetShiftState done [09:03:08]req_shift_opened done [09:03:08]requested_item shift.open_date is exist - process it [09:03:08]req_shift_open_date [09:03:08]req_shift_open_date done [09:03:08]produce_requested_data done [09:03:08]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2558,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [09:03:08]process_action_free close_receipt [09:03:08]json_value_free [09:03:08]json_value_free done [09:03:08]process_json_proto returns [09:03:08]Send response to host [09:03:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2558,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [09:03:08]free response buf [09:03:08]execute_script done [09:03:08]execute_script returns [09:03:08]free content buf [09:03:08]Sock 9.Close socket [09:03:08]Sock 9.Thread stoped [09:03:11]OFD Sender: No OFD packet to send [09:03:16]OFD Sender: No OFD packet to send [09:03:21]OFD Sender: No OFD packet to send [09:03:26]OFD Sender: No OFD packet to send [09:03:31]OFD Sender: No OFD packet to send [09:03:36]OFD Sender: No OFD packet to send [09:03:41]OFD Sender: No OFD packet to send [09:03:46]OFD Sender: No OFD packet to send [09:03:51]OFD Sender: No OFD packet to send [09:03:56]OFD Sender: No OFD packet to send [09:04:01]OFD Sender: No OFD packet to send [09:04:06]OFD Sender: No OFD packet to send [09:04:11]OFD Sender: No OFD packet to send [09:04:16]OFD Sender: No OFD packet to send [09:04:21]OFD Sender: No OFD packet to send [09:04:26]OFD Sender: No OFD packet to send [09:04:31]OFD Sender: No OFD packet to send [09:04:36]OFD Sender: No OFD packet to send [09:04:41]OFD Sender: No OFD packet to send [09:04:46]OFD Sender: No OFD packet to send [09:04:51]OFD Sender: No OFD packet to send [09:04:56]OFD Sender: No OFD packet to send [09:05:01]OFD Sender: No OFD packet to send [09:05:06]OFD Sender: No OFD packet to send [09:05:11]OFD Sender: No OFD packet to send [09:05:16]OFD Sender: No OFD packet to send [09:05:21]OFD Sender: No OFD packet to send [09:05:26]OFD Sender: No OFD packet to send [09:05:31]OFD Sender: No OFD packet to send [09:05:36]OFD Sender: No OFD packet to send [09:05:41]OFD Sender: No OFD packet to send [09:05:46]OFD Sender: No OFD packet to send [09:05:51]OFD Sender: No OFD packet to send [09:05:56]OFD Sender: No OFD packet to send [09:06:01]OFD Sender: No OFD packet to send [09:06:06]OFD Sender: No OFD packet to send [09:06:11]OFD Sender: No OFD packet to send [09:06:16]OFD Sender: No OFD packet to send [09:06:21]OFD Sender: No OFD packet to send [09:06:26]OFD Sender: No OFD packet to send [09:06:31]OFD Sender: No OFD packet to send [09:06:36]OFD Sender: No OFD packet to send [09:06:41]OFD Sender: No OFD packet to send [09:06:46]OFD Sender: No OFD packet to send [09:06:51]OFD Sender: No OFD packet to send [09:06:56]OFD Sender: No OFD packet to send [09:07:01]OFD Sender: No OFD packet to send [09:07:06]OFD Sender: No OFD packet to send [09:07:11]OFD Sender: No OFD packet to send [09:07:16]OFD Sender: No OFD packet to send [09:07:21]OFD Sender: No OFD packet to send [09:07:26]OFD Sender: No OFD packet to send [09:07:31]OFD Sender: No OFD packet to send [09:07:36]OFD Sender: No OFD packet to send [09:07:41]OFD Sender: No OFD packet to send [09:07:46]OFD Sender: No OFD packet to send [09:07:51]OFD Sender: No OFD packet to send [09:07:56]OFD Sender: No OFD packet to send [09:08:01]OFD Sender: No OFD packet to send [09:08:06]OFD Sender: No OFD packet to send [09:08:11]OFD Sender: No OFD packet to send [09:08:16]OFD Sender: No OFD packet to send [09:08:21]OFD Sender: No OFD packet to send [09:08:26]OFD Sender: No OFD packet to send [09:08:31]OFD Sender: No OFD packet to send [09:08:36]OFD Sender: No OFD packet to send [09:08:41]OFD Sender: No OFD packet to send [09:08:46]OFD Sender: No OFD packet to send [09:08:51]OFD Sender: No OFD packet to send [09:08:56]OFD Sender: No OFD packet to send [09:09:01]OFD Sender: No OFD packet to send [09:09:06]OFD Sender: No OFD packet to send [09:09:11]OFD Sender: No OFD packet to send [09:09:16]OFD Sender: No OFD packet to send [09:09:21]OFD Sender: No OFD packet to send [09:09:26]OFD Sender: No OFD packet to send [09:09:31]OFD Sender: No OFD packet to send [09:09: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:47]OFD Sender: No OFD packet to send [09:17:52]OFD Sender: No OFD packet to send [09:17:57]OFD Sender: No OFD packet to send [09:18:02]OFD Sender: No OFD packet to send [09:18:07]OFD Sender: No OFD packet to send [09:18:12]OFD Sender: No OFD packet to send [09:18:17]OFD Sender: No OFD packet to send [09:18:22]OFD Sender: No OFD packet to send [09:18:27]OFD Sender: No OFD packet to send [09:18:32]OFD Sender: No OFD packet to send [09:18:37]OFD Sender: No OFD packet to send [09:18:42]OFD Sender: No OFD packet to send [09:18:47]OFD Sender: No OFD packet to send [09:18:52]OFD Sender: No OFD packet to send [09:18:57]OFD Sender: No OFD packet to send [09:19:02]OFD Sender: No OFD packet to send [09:19:07]OFD Sender: No OFD packet to send [09:19:12]OFD Sender: No OFD packet to send [09:19:17]OFD Sender: No OFD packet to send [09:19:22]OFD Sender: No OFD packet to send [09:19:27]OFD Sender: No OFD packet to send [09:19:32]OFD Sender: No OFD packet to send [09:19:37]OFD Sender: No OFD packet to send [09:19:42]OFD Sender: No OFD packet to send [09:19:47]OFD Sender: No OFD packet to send [09:19:52]OFD Sender: No OFD packet to send [09:19:57]OFD Sender: No OFD packet to send [09:20:02]OFD Sender: No OFD packet to send [09:20:07]OFD Sender: No OFD packet to send [09:20:12]OFD Sender: No OFD packet to send [09:20:17]OFD Sender: No OFD packet to send [09:20:22]OFD Sender: No OFD packet to send [09:20:27]OFD Sender: No OFD packet to send [09:20:32]OFD Sender: No OFD packet to send [09:20:37]OFD Sender: No OFD packet to send [09:20:42]OFD Sender: No OFD packet to send [09:20:47]OFD Sender: No OFD packet to send [09:20:52]OFD Sender: No OFD packet to send [09:20:57]OFD Sender: No OFD packet to send [09:21:02]OFD Sender: No OFD packet to send [09:21:07]OFD Sender: No OFD packet to send [09:21:12]OFD Sender: No OFD packet to send [09:21:17]OFD Sender: No OFD packet to send [09:21:22]OFD Sender: No OFD packet to send [09:21:27]OFD Sender: No OFD packet to send [09:21:32]OFD Sender: No OFD packet to send [09:21:37]OFD Sender: No OFD packet to send [09:21:42]OFD Sender: No OFD packet to send [09:21:47]OFD Sender: No OFD packet to send [09:21:52]OFD Sender: No OFD packet to send [09:21:57]OFD Sender: No OFD packet to send [09:22:02]OFD Sender: No OFD packet to send [09:22:07]OFD Sender: No OFD packet to send [09:22:12]OFD Sender: No OFD packet to send [09:22:17]OFD Sender: No OFD packet to send [09:22:22]OFD Sender: No OFD packet to send [09:22:27]OFD Sender: No OFD packet to send [09:22:32]OFD Sender: No OFD packet to send [09:22:37]OFD Sender: No OFD packet to send [09:22:42]OFD Sender: No OFD packet to send [09:22:47]OFD Sender: No OFD packet to send [09:22:52]OFD Sender: No OFD packet to send [09:22:57]OFD Sender: No OFD packet to send [09:23:02]OFD Sender: No OFD packet to send [09:23:07]OFD Sender: No OFD packet to send [09:23:12]OFD Sender: No OFD packet to send [09:23:17]OFD Sender: No OFD packet to send [09:23:22]OFD Sender: No OFD packet to send [09:23:27]OFD Sender: No OFD packet to send [09:23:32]OFD Sender: No OFD packet to send [09:23:37]OFD Sender: No OFD packet to send [09:23:42]OFD Sender: No OFD packet to send [09:23:47]OFD Sender: No OFD packet to send [09:23:52]OFD Sender: No OFD packet to send [09:23:57]OFD Sender: No OFD packet to send [09:24:02]OFD Sender: No OFD packet to send [09:24:07]OFD Sender: No OFD packet to send [09:24:12]OFD Sender: No OFD packet to send [09:24:17]OFD Sender: No OFD packet to send [09:24:22]OFD Sender: No OFD packet to send [09:24:27]OFD Sender: No OFD packet to send [09:24:32]OFD Sender: No OFD packet to send [09:24:37]OFD Sender: No OFD packet to send [09:24:42]OFD Sender: No OFD packet to send [09:24:47]OFD Sender: No OFD packet to send [09:24:52]OFD Sender: No OFD packet to send [09:24:57]OFD Sender: No OFD packet to send [09:25:02]OFD Sender: No OFD packet to send [09:25:07]OFD Sender: No OFD packet to send [09:25:12]OFD Sender: No OFD packet to send [09:25:17]OFD Sender: No OFD packet to send [09:25:22]OFD Sender: No OFD packet to send [09:25:27]OFD Sender: No OFD packet to send [09:25:32]OFD Sender: No OFD packet to send [09:25:37]OFD Sender: No OFD packet to send [09:25:42]OFD Sender: No OFD packet to send [09:25:47]OFD Sender: No OFD packet to send [09:25:52]OFD Sender: No OFD packet to send [09:25:57]OFD Sender: No OFD packet to send [09:26:02]OFD Sender: No OFD packet to send [09:26:07]OFD Sender: No OFD packet to send [09:26:12]OFD Sender: No OFD packet to send [09:26:17]OFD Sender: No OFD packet to send [09:26:22]OFD Sender: No OFD packet to send [09:26:27]OFD Sender: No OFD packet to send [09:26:32]OFD Sender: No OFD packet to send [09:26:37]OFD Sender: No OFD packet to send [09:26:42]OFD Sender: No OFD packet to send [09:26:47]OFD Sender: No OFD packet to send [09:26:52]OFD Sender: No OFD packet to send [09:26:57]OFD Sender: No OFD packet to send [09:27:02]OFD Sender: No OFD packet to send [09:27:07]OFD Sender: No OFD packet to send [09:27:12]OFD Sender: No OFD packet to send [09:27:17]OFD Sender: No OFD packet to send [09:27:22]OFD Sender: No OFD packet to send [09:27:27]OFD Sender: No OFD packet to send [09:27:32]OFD Sender: No OFD packet to send [09:27:37]OFD Sender: No OFD packet to send [09:27:42]OFD Sender: No OFD packet to send [09:27:47]OFD Sender: No OFD packet to send [09:27:52]OFD Sender: No OFD packet to send [09:27:57]OFD Sender: No OFD packet to send [09:28:02]OFD Sender: No OFD packet to send [09:28:07]OFD Sender: No OFD packet to send [09:28:12]OFD Sender: No OFD packet to send [09:28:17]OFD Sender: No OFD packet to send [09:28:22]OFD Sender: No OFD packet to send [09:28:27]OFD Sender: No OFD packet to send [09:28:32]OFD Sender: No OFD packet to send [09:28:37]OFD Sender: No OFD packet to send [09:28:42]OFD Sender: No OFD packet to send [09:28:47]OFD Sender: No OFD packet to send [09:28:52]OFD Sender: No OFD packet to send [09:28:57]OFD Sender: No OFD packet to send [09:29:02]OFD Sender: No OFD packet to send [09:29:07]accept exits with 7 [09:29:07]New connection [09:29:07]New thread 3066707300 created [09:29:07]Thread 3066850660 joined [09:29:07]Waiting for new connection... [09:29:07] Sock 7.Parse request [09:29:07]Sock 7.Check first char [09:29:07]Sock 7.First char is OK [09:29:07]request: POST /json_proto HTTP/1.0 [09:29:07]Method: POST [09:29:07]URL: /json_proto [09:29:07]Method is POST - this is cgi request [09:29:07]url: /json_proto [09:29:07]query_string will be loaded in cgi processing [09:29:07]execute_cgi json_proto POST (null) [09:29:07]execute_cgi path=json_proto method=POST [09:29:07]POST find Content-Length [09:29:07]Host: 172.17.52.132:8080 [09:29:07]Content-Length: 1189 [09:29:07]Content-Type: application/json [09:29:07] [09:29:07]POST finish read [09:29:07]Found Content-Length = 1189 [09:29:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99937", "tax_sys" : 0, "items" : [ { "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 2.000, "sum" : 278.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 512.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:29:07]execute_script... [09:29: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)99937", "tax_sys" : 0, "items" : [ { "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 2.000, "sum" : 278.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 512.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:29:07]POST & json_proto [09:29:07]process_json_proto [09:29:07]json parsed OK: [09:29:07]protocol is kg_v1.0 [09:29:07]action value=close_receipt [09:29:07]process_action close_receipt [09:29:07]cmd_close_receipt [09:29:07]MH_GetDate [09:29:07]Write to MH i2c: F0 00 00 BF 46 F4 [09:29:07]Write i2c OK [09:29:07]MH_I2C_Read... [09:29:07]Read from MH i2c: F0 [09:29:07]MH_I2C_Read... [09:29:07]Read from MH i2c: F0 09 00 [09:29:07]MH_I2C_Read... [09:29:07]Read from MH i2c: F0 09 00 BF 46 00 EC 7B 13 67 5A BE F6 66 52 [09:29:07]GetLastDocTimeStamp 1729328592 [09:29:07]current date 1729330156 [09:29:07]FM_GetShiftState [09:29:07]SAM_PROTO_GetShiftState [09:29:07]wFMCommunicate request_size=4 [09:29:07]MH_SAM_APDU [09:29:07]CAPDU: 80 13 01 00 [09:29:07]Write to MH i2c: E2 08 00 C0 46 80 13 01 00 00 00 00 00 83 [09:29:07]Write i2c OK [09:29:07]MH_I2C_Read... [09:29:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:29:07]Read from MH i2c: E2 [09:29:07]MH_I2C_Read... [09:29:07]Read from MH i2c: E2 0E 00 [09:29:07]MH_I2C_Read... [09:29:07]Read from MH i2c: E2 0E 00 C0 46 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 2C [09:29:07]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [09:29:07]wFMCommunicate OK [09:29:07]SAM_PROTO_GetShiftState done [09:29:07]FM_GetShiftState done [09:29:07]opened in 1729296173 [09:29:07]opened+sec_in_day 1729382573 [09:29:07]quantity*price = 9000 [09:29:07]sum+1 = 9001 [09:29:07]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48741231 Сигареты Winston Super Slims Silver 2.000 * 139.00 = 278.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 512.00 НСП 1% : 4.53 НДС 12% : 54.37 Наличными: 512.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 20 19.10.2024 09:29 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2559 ФПД: 32308947588202 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T092916&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2559&fm=32308947588202&tin=02508201610067®Number=0000000000207295&sum=51200 0 [09:29:08]StoreToDocumentArchive [09:29:08]shift 23 fd 2559 [09:29:08]save to /storage/0023/doc_00002559 [09:29:08]save last doc name /storage/0023/doc_00002559 to /storage/kkm_last_doc_name [09:29:08]save OK [09:29:08]Clear old archive folders... [09:29:08]ProcessDocumentItem done err = 0, tmpTLVsize=512 [09:29:08]tlvbuf is 01487F00 [09:29:08]SAM_PROTO_ClearQueue [09:29:08]wFMCommunicate request_size=4 [09:29:08]MH_SAM_APDU [09:29:08]CAPDU: 80 09 00 00 [09:29:08]Write to MH i2c: E2 08 00 CD 46 80 09 00 00 00 00 00 00 85 [09:29:08]Write i2c OK [09:29:08]MH_I2C_Read... [09:29:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:29:08]Read from MH i2c: E2 [09:29:08]MH_I2C_Read... [09:29:08]Read from MH i2c: E2 03 00 [09:29:08]MH_I2C_Read... [09:29:08]Read from MH i2c: E2 03 00 CD 46 00 90 00 87 [09:29:08]RAPDU: 90 00 [09:29:08]wFMCommunicate OK [09:29:08]SAM_PROTO_ClearQueue done [09:29:08]KKMCreateOFDPacket [09:29:08]OFDProtocolAddRootSTLVToBuf [09:29:08]FM_MakeSignedData [09:29:08]FM_MakeSignedData [09:29:08]SAM_PROTO_SignData [09:29:08]wFMCommunicate request_size=4 [09:29:08]MH_SAM_APDU [09:29:08]CAPDU: 80 0D 01 02 [09:29:08]Write to MH i2c: E2 08 00 CE 46 80 0D 01 02 00 00 00 00 8D [09:29:08]Write i2c OK [09:29:08]MH_I2C_Read... [09:29:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:29:08]Read from MH i2c: E2 [09:29:08]MH_I2C_Read... [09:29:08]Read from MH i2c: E2 03 00 [09:29:08]MH_I2C_Read... [09:29:08]Read from MH i2c: E2 03 00 CE 46 00 90 00 88 [09:29:08]RAPDU: 90 00 [09:29:08]wFMCommunicate OK [09:29:08]wFMCommunicate request_size=255 [09:29:08]MH_SAM_APDU [09:29:08]CAPDU: 80 0D 02 02 FA 03 00 00 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 [09:29:08]Write to MH i2c: E2 02 01 CF 46 80 0D 02 02 FA 00 03 00 00 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 00 00 12 [09:29:08]Write i2c OK [09:29:08]MH_I2C_Read... [09:29:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:29:09]Read from MH i2c: E2 [09:29:09]MH_I2C_Read... [09:29:09]Read from MH i2c: E2 03 00 [09:29:09]MH_I2C_Read... [09:29:09]Read from MH i2c: E2 03 00 CF 46 00 90 00 89 [09:29:09]RAPDU: 90 00 [09:29:09]wFMCommunicate OK [09:29:09]wFMCommunicate request_size=255 [09:29:09]MH_SAM_APDU [09:29:09]CAPDU: 80 0D 02 02 FA 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 C8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 15 00 00 00 00 07 04 06 00 00 C8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 EC 7B 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 [09:29:09]Write to MH i2c: E2 02 01 D0 46 80 0D 02 02 FA 00 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 C8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 15 00 00 00 00 07 04 06 00 00 C8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 EC 7B 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 00 00 C7 [09:29:09]Write i2c OK [09:29:09]MH_I2C_Read... [09:29:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:29:09]Read from MH i2c: E2 [09:29:09]MH_I2C_Read... [09:29:09]Read from MH i2c: E2 03 00 [09:29:09]MH_I2C_Read... [09:29:09]Read from MH i2c: E2 03 00 D0 46 00 90 00 8A [09:29:09]RAPDU: 90 00 [09:29:09]wFMCommunicate OK [09:29:09]wFMCommunicate request_size=21 [09:29:09]MH_SAM_APDU [09:29:09]CAPDU: 80 0D 02 02 10 04 00 FF 09 00 00 35 04 06 00 1D 62 83 58 14 6A [09:29:09]Write to MH i2c: E2 18 00 D1 46 80 0D 02 02 10 00 04 00 FF 09 00 00 35 04 06 00 1D 62 83 58 14 6A 00 00 D4 [09:29:09]Write i2c OK [09:29:09]MH_I2C_Read... [09:29:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:29:09]Read from MH i2c: E2 [09:29:09]MH_I2C_Read... [09:29:09]Read from MH i2c: E2 03 00 [09:29:09]MH_I2C_Read... [09:29:09]Read from MH i2c: E2 03 00 D1 46 00 90 00 8B [09:29:09]RAPDU: 90 00 [09:29:09]wFMCommunicate OK [09:29:09]wFMCommunicate request_size=4 [09:29:09]MH_SAM_APDU [09:29:09]CAPDU: 80 0D 03 02 [09:29:09]Write to MH i2c: E2 08 00 D2 46 80 0D 03 02 00 00 00 00 93 [09:29:09]Write i2c OK [09:29:09]MH_I2C_Read... [09:29:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:29:09]Read from MH i2c: E2 [09:29:09]MH_I2C_Read... [09:29:09]Read from MH i2c: E2 0B 00 [09:29:09]MH_I2C_Read... [09:29:09]Read from MH i2c: E2 0B 00 D2 46 00 51 F4 CC 09 C5 EC 51 CB 90 00 7B [09:29:09]RAPDU: 51 F4 CC 09 C5 EC 51 CB 90 00 [09:29:09]wFMCommunicate OK [09:29:09]SAM_PROTO_SignData done [09:29:09]FM_MakeSignedData done [09:29:09]CreateOFDProtocolMessage [09:29:09]wFMCommunicate request_size=4 [09:29:09]MH_SAM_APDU [09:29:09]CAPDU: 80 11 00 00 [09:29:09]Write to MH i2c: E2 08 00 D3 46 80 11 00 00 00 00 00 00 93 [09:29:09]Write i2c OK [09:29:09]MH_I2C_Read... [09:29:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:29:09]Read from MH i2c: E2 [09:29:09]MH_I2C_Read... [09:29:09]Read from MH i2c: E2 17 00 [09:29:09]MH_I2C_Read... [09:29:09]Read from MH i2c: E2 17 00 D3 46 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 DB [09:29:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:29:09]wFMCommunicate OK [09:29:09]CreateOFDProtocolMessage done [09:29:09]OFDSenderStorePacket 2559 [09:29:09]StoreOFDPacket docnum=2559 [09:29:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 14 02 00 00 AF 85 0C 02 9E BD 5A 03 01 00 03 00 00 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 C8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 15 00 00 00 00 07 04 06 00 00 C8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 EC 7B 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FF 09 00 00 35 04 06 00 1D 62 83 58 14 6A 51 F4 CC 09 C5 EC 51 CB [09:29:09]CheckFolder [09:29:09]dirname=/storage/ofd_packets [09:29:09]CheckFolder done [09:29:09]ProducePacketName [09:29:09]name=ofd_packets/00002559 [09:29:09]NVStorageSaveData ofd_packets/00002559 [09:29:09]File name is /storage/ofd_packets/00002559 [09:29:09]Write 562 bytes [09:29:09]NVStorageSaveData done [09:29:09]OFDSenderStorePacket done [09:29:09]KKMCreateOFDPacket done [09:29:09]NVStorageSaveData kkm_last_timestamp [09:29:09]File name is /storage/kkm_last_timestamp [09:29:09]Write 4 bytes [09:29:09]NVStorageSaveData done [09:29:09]ExternCall_PrintAddStr [09:29:09]wPrintStart [09:29:09]Write to MH i2c: 01 00 00 D4 46 1A [09:29:09]Write i2c OK [09:29:09]MH_I2C_Read... [09:29:09]Read from MH i2c: 01 [09:29:09]MH_I2C_Read... [09:29:09]Read from MH i2c: 01 07 00 [09:29:09]MH_I2C_Read... [09:29:09]Read from MH i2c: 01 07 00 D4 46 00 00 00 00 00 FF 0F 2F [09:29:09]RasterBufferAndPrint [09:29:09]line Счет N : (3)99937 [09:29:09]line ИНН: 02508201610067 [09:29:09]line Контрольно-Кассовый Чек [09:29:09]line ПРОДАЖА [09:29:09]line Товар: 4660085515163 [09:29:09]line Шок Батончик Сникерс супер 95/80г [09:29:09]line 1.000 * 90.00 [09:29:09]line = 90.00 [09:29:09]line НДС 12% НСП 1% [09:29:09]line > о реализуемом товаре [09:29:09]line Товар: 48743570 [09:29:09]line Сигареты Winston XStyle Blue [09:29:09]line 1.000 * 144.00 [09:29:09]line = 144.00 [09:29:09]line НДС 12% НСП 1% [09:29:09]line > о реализуемом товаре [09:29:09]line Товар: 48741231 [09:29:09]line Сигареты Winston Super Slims Silver [09:29:09]line 2.000 * 139.00 [09:29:09]line = 278.00 [09:29:09]line НДС 12% НСП 1% [09:29:09]line > о реализуемом товаре [09:29:09]line ИТОГО: 512.00 [09:29:09]line НСП 1% : 4.53 [09:29:09]line НДС 12% : 54.37 [09:29:09]line Наличными: 512.00 [09:29:09]line Безнал.: 0.00 [09:29:09]line Место: АЗС № 162 "Партнер Нефть" [09:29:09]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [09:29:09]line СНО: Общий режим [09:29:09]line Чек 20 19.10.2024 09:29 [09:29:09]line Смена: 23 ФФД: 1.0 [09:29:09]line ЗНМ: 0300000191 [09:29:09]line РНМ: 0000000000207295 [09:29:09]line Версия ККМ: v1.0 [09:29:09]line ФМ: 0000000002342820 [09:29:09]line ФД: 2559 [09:29:09]line ФПД: 32308947588202 [09:29:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T092916&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2559&fm=32308947588202&tin=02508201610067®Number=0000000000207295&sum=51200 [09:29:09]line 0 [09:29:09]OFD Sender: Processing packet 2559 [packets to send 1, broken 0] [09:29:09]ProducePacketName [09:29:09]name=ofd_packets/00002559 [09:29:09]OFD Sender: To server: pG, [09:29:09]CommunicateWithHost lk.salyk.kg:30040 [09:29:09]ConnectInit lk.salyk.kg [09:29:09]written 0, free lines is 4095 [09:29:10]Connected sock=10 [09:29:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 14 02 00 00 AF 85 0C 02 9E BD 5A 03 01 00 03 00 00 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 C8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 15 00 00 00 00 07 04 06 00 00 C8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 EC 7B 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FF 09 00 00 35 04 06 00 1D 62 83 58 14 6A 51 F4 CC 09 C5 EC 51 CB [09:29:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 93 BF 47 00 AC 0B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 FF 09 00 00 F4 03 04 00 4D 27 13 67 B6 04 01 00 00 46 3D 45 3B 69 9E C0 7A [09:29:10]CommunicateWithHost err = 0 [09:29:10]CheckOFDResponse [09:29:10]1017 (14) - 77093643461234 [09:29:10]1041 (16) - 0000000002342820 [09:29:10]1040 (4) - 2559 [09:29:10]1012 (4) - 19.10.2024 03:28 [09:29:10]1206 (1) - 0 [09:29:10]OFD Sender: Remove packet 2559 [09:29:10]ProducePacketName [09:29:10]name=ofd_packets/00002559 [09:29:10]NVStorageDeleteData [09:29:10]Write to MH i2c: 01 00 00 0A 47 51 [09:29:10]Write i2c OK [09:29:10]MH_I2C_Read... [09:29:10]Read from MH i2c: 01 [09:29:10]MH_I2C_Read... [09:29:10]Read from MH i2c: 01 07 00 [09:29:10]MH_I2C_Read... [09:29:10]Read from MH i2c: 01 07 00 0A 47 00 00 00 00 00 B3 0B 16 [09:29:10]RasterBufferAndPrint [09:29:10]line [09:29:10]line [09:29:10]line [09:29:10]line [09:29:10]line [09:29:10]written 0, free lines is 3002 [09:29:10]MH_Cut [09:29:10]Write to MH i2c: D1 01 00 11 47 01 2A [09:29:10]Write i2c OK [09:29:10]MH_I2C_Read... [09:29:10]Read from MH i2c: D1 [09:29:10]MH_I2C_Read... [09:29:10]Read from MH i2c: D1 01 00 [09:29:10]MH_I2C_Read... [09:29:10]Read from MH i2c: D1 01 00 11 47 00 29 [09:29:10]Write to MH i2c: 01 00 00 12 47 59 [09:29:10]Write i2c OK [09:29:10]MH_I2C_Read... [09:29:10]OFD Sender: No OFD packet to send [09:29:11]*** Cut start [09:29:11]*** Partial cut [09:29:11]*** CUTSNS_PIN = 1 [09:29:11]*** CUTSNS_PIN = 0 [09:29:11]*** Brake cut motor [09:29:12]Read from MH i2c: 01 [09:29:12]MH_I2C_Read... [09:29:12]*** Stop cut motor [09:29:12]*** Cut end [09:29:12]Read from MH i2c: 01 07 00 [09:29:12]MH_I2C_Read... [09:29:12]Read from MH i2c: 01 07 00 12 47 00 00 00 00 00 FF 0F 6E [09:29:12]process_action close_receipt done [09:29:12]requested_data is exist [09:29:12]produce_requested_data [09:29:12]requested_item fm.sn is exist - process it [09:29:12]wFMCommunicate request_size=4 [09:29:12]MH_SAM_APDU [09:29:12]CAPDU: 80 11 00 00 [09:29:12]Write to MH i2c: E2 08 00 13 47 80 11 00 00 00 00 00 00 D4 [09:29:12]Write i2c OK [09:29:12]MH_I2C_Read... [09:29:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:29:12]Read from MH i2c: E2 [09:29:12]MH_I2C_Read... [09:29:12]Read from MH i2c: E2 17 00 [09:29:12]MH_I2C_Read... [09:29:12]Read from MH i2c: E2 17 00 13 47 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 1C [09:29:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [09:29:12]wFMCommunicate OK [09:29:12]requested_item fd.num is exist - process it [09:29:12]SAM_PROTO_GetFieldsCounters [09:29:12]wFMCommunicate request_size=4 [09:29:12]MH_SAM_APDU [09:29:12]CAPDU: 80 13 00 00 [09:29:12]Write to MH i2c: E2 08 00 14 47 80 13 00 00 00 00 00 00 D7 [09:29:12]Write i2c OK [09:29:12]MH_I2C_Read... [09:29:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:29:12]Read from MH i2c: E2 [09:29:12]MH_I2C_Read... [09:29:12]Read from MH i2c: E2 62 00 [09:29:12]MH_I2C_Read... [09:29:12]Read from MH i2c: E2 62 00 14 47 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 FF 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 48 [09:29:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 FF 09 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:29:12]wFMCommunicate OK [09:29:12]SAM_PROTO_GetFieldsCounters done [09:29:12]requested_item shift.num is exist - process it [09:29:12]requested_item shift.opened is exist - process it [09:29:12]req_shift_opened [09:29:12]FM_GetShiftState [09:29:12]SAM_PROTO_GetShiftState [09:29:12]wFMCommunicate request_size=4 [09:29:12]MH_SAM_APDU [09:29:12]CAPDU: 80 13 01 00 [09:29:12]Write to MH i2c: E2 08 00 15 47 80 13 01 00 00 00 00 00 D9 [09:29:12]Write i2c OK [09:29:12]MH_I2C_Read... [09:29:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:29:12]Read from MH i2c: E2 [09:29:12]MH_I2C_Read... [09:29:12]Read from MH i2c: E2 0E 00 [09:29:12]MH_I2C_Read... [09:29:12]Read from MH i2c: E2 0E 00 15 47 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 82 [09:29:12]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [09:29:12]wFMCommunicate OK [09:29:12]SAM_PROTO_GetShiftState done [09:29:12]FM_GetShiftState done [09:29:12]req_shift_opened done [09:29:12]requested_item shift.open_date is exist - process it [09:29:12]req_shift_open_date [09:29:12]req_shift_open_date done [09:29:12]produce_requested_data done [09:29:12]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2559,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [09:29:12]process_action_free close_receipt [09:29:12]json_value_free [09:29:12]json_value_free done [09:29:12]process_json_proto returns [09:29:12]Send response to host [09:29:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2559,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [09:29:12]free response buf [09:29:12]execute_script done [09:29:12]execute_script returns [09:29:12]free content buf [09:29:12]Sock 7.Close socket [09:29:12]Sock 7.Thread stoped [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:46]OFD Sender: No OFD packet to send [09:34:51]OFD Sender: No OFD packet to send [09:34:56]OFD Sender: No OFD packet to send [09:35:01]OFD Sender: No OFD packet to send [09:35:06]OFD Sender: No OFD packet to send [09:35:11]OFD Sender: No OFD packet to send [09:35:16]OFD Sender: No OFD packet to send [09:35:21]OFD Sender: No OFD packet to send [09:35:26]OFD Sender: No OFD packet to send [09:35:31]OFD Sender: No OFD packet to send [09:35:36]OFD Sender: No OFD packet to send [09:35:41]OFD Sender: No OFD packet to send [09:35:46]OFD Sender: No OFD packet to send [09:35:51]OFD Sender: No OFD packet to send [09:35:56]OFD Sender: No OFD packet to send [09:36:01]OFD Sender: No OFD packet to send [09:36:06]OFD Sender: No OFD packet to send [09:36:11]OFD Sender: No OFD packet to send [09:36:16]OFD Sender: No OFD packet to send [09:36:21]OFD Sender: No OFD packet to send [09:36:26]OFD Sender: No OFD packet to send [09:36:31]OFD Sender: No OFD packet to send [09:36:36]OFD Sender: No OFD packet to send [09:36:41]OFD Sender: No OFD packet to send [09:36:46]OFD Sender: No OFD packet to send [09:36:51]OFD Sender: No OFD packet to send [09:36:56]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:26]OFD Sender: No OFD packet to send [09:55:31]OFD Sender: No OFD packet to send [09:55:36]OFD Sender: No OFD packet to send [09:55:41]OFD Sender: No OFD packet to send [09:55:46]OFD Sender: No OFD packet to send [09:55:51]OFD Sender: No OFD packet to send [09:55:56]OFD Sender: No OFD packet to send [09:56:01]OFD Sender: No OFD packet to send [09:56:06]OFD Sender: No OFD packet to send [09:56:11]OFD Sender: No OFD packet to send [09:56:16]OFD Sender: No OFD packet to send [09:56:21]OFD Sender: No OFD packet to send [09:56:26]OFD Sender: No OFD packet to send [09:56:31]OFD Sender: No OFD packet to send [09:56:36]OFD Sender: No OFD packet to send [09:56:41]OFD Sender: No OFD packet to send [09:56: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:13]accept exits with 9 [10:06:13]New connection [10:06:13]New thread 3066850660 created [10:06:13]Thread 3066707300 joined [10:06:13]Waiting for new connection... [10:06:13] Sock 9.Parse request [10:06:13]Sock 9.Check first char [10:06:13]Sock 9.First char is OK [10:06:13]request: POST /json_proto HTTP/1.0 [10:06:13]Method: POST [10:06:13]URL: /json_proto [10:06:13]Method is POST - this is cgi request [10:06:13]url: /json_proto [10:06:13]query_string will be loaded in cgi processing [10:06:13]execute_cgi json_proto POST (null) [10:06:13]execute_cgi path=json_proto method=POST [10:06:13]POST find Content-Length [10:06:13]Host: 172.17.52.132:8080 [10:06:13]Content-Length: 913 [10:06:13]Content-Type: application/json [10:06:13] [10:06:13]POST finish read [10:06:13]Found Content-Length = 913 [10:06:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99938", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 255.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:06:13]execute_script... [10:06: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)99938", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 255.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:06:13]POST & json_proto [10:06:13]process_json_proto [10:06:13]json parsed OK: [10:06:13]protocol is kg_v1.0 [10:06:13]action value=close_receipt [10:06:13]process_action close_receipt [10:06:13]cmd_close_receipt [10:06:13]MH_GetDate [10:06:13]Write to MH i2c: F0 00 00 16 47 4C [10:06:13]Write i2c OK [10:06:13]MH_I2C_Read... [10:06:13]Read from MH i2c: F0 [10:06:13]MH_I2C_Read... [10:06:13]Read from MH i2c: F0 09 00 [10:06:13]MH_I2C_Read... [10:06:13]Read from MH i2c: F0 09 00 16 47 00 9E 84 13 67 5A BE F6 66 65 [10:06:13]GetLastDocTimeStamp 1729330156 [10:06:13]current date 1729332382 [10:06:13]FM_GetShiftState [10:06:13]SAM_PROTO_GetShiftState [10:06:13]wFMCommunicate request_size=4 [10:06:13]MH_SAM_APDU [10:06:13]CAPDU: 80 13 01 00 [10:06:13]Write to MH i2c: E2 08 00 17 47 80 13 01 00 00 00 00 00 DB [10:06:13]Write i2c OK [10:06:13]MH_I2C_Read... [10:06:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:06:13]Read from MH i2c: E2 [10:06:13]MH_I2C_Read... [10:06:13]Read from MH i2c: E2 0E 00 [10:06:13]MH_I2C_Read... [10:06:13]Read from MH i2c: E2 0E 00 17 47 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 84 [10:06:13]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [10:06:13]wFMCommunicate OK [10:06:13]SAM_PROTO_GetShiftState done [10:06:13]FM_GetShiftState done [10:06:13]opened in 1729296173 [10:06:13]opened+sec_in_day 1729382573 [10:06:13]quantity*price = 12500 [10:06:13]sum+1 = 12501 [10:06:13]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 255.00 НСП 1% : 2.26 НДС 12% : 27.07 Наличными: 255.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 21 19.10.2024 10:06 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2560 ФПД: 41689852525904 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T100622&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2560&fm=41689852525904&tin=02508201610067®Number=0000000000207295&sum=25500 0 [10:06:14]StoreToDocumentArchive [10:06:14]shift 23 fd 2560 [10:06:14]save to /storage/0023/doc_00002560 [10:06:14]save last doc name /storage/0023/doc_00002560 to /storage/kkm_last_doc_name [10:06:14]save OK [10:06:14]Clear old archive folders... [10:06:14]ProcessDocumentItem done err = 0, tmpTLVsize=396 [10:06:14]tlvbuf is 014ADA90 [10:06:14]SAM_PROTO_ClearQueue [10:06:14]wFMCommunicate request_size=4 [10:06:14]MH_SAM_APDU [10:06:14]CAPDU: 80 09 00 00 [10:06:14]Write to MH i2c: E2 08 00 24 47 80 09 00 00 00 00 00 00 DD [10:06:14]Write i2c OK [10:06:14]MH_I2C_Read... [10:06:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:06:15]Read from MH i2c: E2 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: E2 03 00 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: E2 03 00 24 47 00 90 00 DF [10:06:15]RAPDU: 90 00 [10:06:15]wFMCommunicate OK [10:06:15]SAM_PROTO_ClearQueue done [10:06:15]KKMCreateOFDPacket [10:06:15]OFDProtocolAddRootSTLVToBuf [10:06:15]FM_MakeSignedData [10:06:15]FM_MakeSignedData [10:06:15]SAM_PROTO_SignData [10:06:15]wFMCommunicate request_size=4 [10:06:15]MH_SAM_APDU [10:06:15]CAPDU: 80 0D 01 02 [10:06:15]Write to MH i2c: E2 08 00 25 47 80 0D 01 02 00 00 00 00 E5 [10:06:15]Write i2c OK [10:06:15]MH_I2C_Read... [10:06:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:06:15]Read from MH i2c: E2 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: E2 03 00 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: E2 03 00 25 47 00 90 00 E0 [10:06:15]RAPDU: 90 00 [10:06:15]wFMCommunicate OK [10:06:15]wFMCommunicate request_size=255 [10:06:15]MH_SAM_APDU [10:06:15]CAPDU: 80 0D 02 02 FA 03 00 8C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 9C 63 00 00 00 00 EB 03 26 00 EF [10:06:15]Write to MH i2c: E2 02 01 26 47 80 0D 02 02 FA 00 03 00 8C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 9C 63 00 00 00 00 EB 03 26 00 EF 00 00 F8 [10:06:15]Write i2c OK [10:06:15]MH_I2C_Read... [10:06:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:15]Read from MH i2c: E2 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: E2 03 00 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: E2 03 00 26 47 00 90 00 E1 [10:06:15]RAPDU: 90 00 [10:06:15]wFMCommunicate OK [10:06:15]wFMCommunicate request_size=155 [10:06:15]MH_SAM_APDU [10:06:15]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 9C 63 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 9E 84 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 00 0A 00 00 35 04 06 00 25 EA AC D9 BD 50 [10:06:15]Write to MH i2c: E2 9E 00 27 47 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 9C 63 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 9E 84 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 00 0A 00 00 35 04 06 00 25 EA AC D9 BD 50 00 00 34 [10:06:15]Write i2c OK [10:06:15]MH_I2C_Read... [10:06:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:15]Read from MH i2c: E2 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: E2 03 00 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: E2 03 00 27 47 00 90 00 E2 [10:06:15]RAPDU: 90 00 [10:06:15]wFMCommunicate OK [10:06:15]wFMCommunicate request_size=4 [10:06:15]MH_SAM_APDU [10:06:15]CAPDU: 80 0D 03 02 [10:06:15]Write to MH i2c: E2 08 00 28 47 80 0D 03 02 00 00 00 00 EA [10:06:15]Write i2c OK [10:06:15]MH_I2C_Read... [10:06:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:06:15]Read from MH i2c: E2 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: E2 0B 00 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: E2 0B 00 28 47 00 8B C0 1C CF F4 74 B8 5B 90 00 9C [10:06:15]RAPDU: 8B C0 1C CF F4 74 B8 5B 90 00 [10:06:15]wFMCommunicate OK [10:06:15]SAM_PROTO_SignData done [10:06:15]FM_MakeSignedData done [10:06:15]CreateOFDProtocolMessage [10:06:15]wFMCommunicate request_size=4 [10:06:15]MH_SAM_APDU [10:06:15]CAPDU: 80 11 00 00 [10:06:15]Write to MH i2c: E2 08 00 29 47 80 11 00 00 00 00 00 00 EA [10:06:15]Write i2c OK [10:06:15]MH_I2C_Read... [10:06:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:06:15]Read from MH i2c: E2 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: E2 17 00 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: E2 17 00 29 47 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 32 [10:06:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [10:06:15]wFMCommunicate OK [10:06:15]CreateOFDProtocolMessage done [10:06:15]OFDSenderStorePacket 2560 [10:06:15]StoreOFDPacket docnum=2560 [10:06:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 A0 01 00 00 C9 25 98 01 E2 96 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 9C 63 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 9E 84 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 00 0A 00 00 35 04 06 00 25 EA AC D9 BD 50 8B C0 1C CF F4 74 B8 5B [10:06:15]CheckFolder [10:06:15]dirname=/storage/ofd_packets [10:06:15]CheckFolder done [10:06:15]ProducePacketName [10:06:15]name=ofd_packets/00002560 [10:06:15]NVStorageSaveData ofd_packets/00002560 [10:06:15]File name is /storage/ofd_packets/00002560 [10:06:15]Write 446 bytes [10:06:15]NVStorageSaveData done [10:06:15]OFDSenderStorePacket done [10:06:15]KKMCreateOFDPacket done [10:06:15]NVStorageSaveData kkm_last_timestamp [10:06:15]File name is /storage/kkm_last_timestamp [10:06:15]Write 4 bytes [10:06:15]NVStorageSaveData done [10:06:15]ExternCall_PrintAddStr [10:06:15]wPrintStart [10:06:15]Write to MH i2c: 01 00 00 2A 47 71 [10:06:15]Write i2c OK [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: 01 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: 01 07 00 [10:06:15]MH_I2C_Read... [10:06:15]OFD Sender: Processing packet 2560 [packets to send 1, broken 0] [10:06:15]ProducePacketName [10:06:15]name=ofd_packets/00002560 [10:06:15]OFD Sender: To server: pG, [10:06:15]CommunicateWithHost lk.salyk.kg:30040 [10:06:15]ConnectInit lk.salyk.kg [10:06:15]Read from MH i2c: 01 07 00 2A 47 00 00 00 00 00 FF 0F 86 [10:06:15]RasterBufferAndPrint [10:06:15]line Счет N : (3)99938 [10:06:15]line ИНН: 02508201610067 [10:06:15]line Контрольно-Кассовый Чек [10:06:15]line ПРОДАЖА [10:06:15]line Товар: 2000036190018 [10:06:15]line Кофе Американо XL(GABB TRADE) [10:06:15]line 1.000 * 125.00 [10:06:15]line = 125.00 [10:06:15]line НДС 12% НСП 1% [10:06:15]line > о реализуемом товаре [10:06:15]line Товар: 2000036220012 [10:06:15]line Кофе Капучино XL(GABB TRADE) [10:06:15]line 1.000 * 130.00 [10:06:15]line = 130.00 [10:06:15]line НДС 12% НСП 1% [10:06:15]line > о реализуемом товаре [10:06:15]line ИТОГО: 255.00 [10:06:15]line НСП 1% : 2.26 [10:06:15]line НДС 12% : 27.07 [10:06:15]line Наличными: 255.00 [10:06:15]line Безнал.: 0.00 [10:06:15]line Место: АЗС № 162 "Партнер Нефть" [10:06:15]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [10:06:15]line СНО: Общий режим [10:06:15]line Чек 21 19.10.2024 10:06 [10:06:15]line Смена: 23 ФФД: 1.0 [10:06:15]line ЗНМ: 0300000191 [10:06:15]line РНМ: 0000000000207295 [10:06:15]line Версия ККМ: v1.0 [10:06:15]line ФМ: 0000000002342820 [10:06:15]line ФД: 2560 [10:06:15]line ФПД: 41689852525904 [10:06:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T100622&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2560&fm=41689852525904&tin=02508201610067®Number=0000000000207295&sum=25500 [10:06:15]line 0 [10:06:15]written 0, free lines is 4095 [10:06:16]Connected sock=10 [10:06:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 A0 01 00 00 C9 25 98 01 E2 96 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 9C 63 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 9E 84 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 00 0A 00 00 35 04 06 00 25 EA AC D9 BD 50 8B C0 1C CF F4 74 B8 5B [10:06:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 03 B0 47 00 F8 AE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 00 0A 00 00 F4 03 04 00 00 30 13 67 B6 04 01 00 00 9D 5B DE 94 B3 06 D5 0C [10:06:16]CommunicateWithHost err = 0 [10:06:16]CheckOFDResponse [10:06:16]1017 (14) - 77093643461234 [10:06:16]1041 (16) - 0000000002342820 [10:06:16]1040 (4) - 2560 [10:06:16]1012 (4) - 19.10.2024 04:05 [10:06:16]1206 (1) - 0 [10:06:16]OFD Sender: Remove packet 2560 [10:06:16]ProducePacketName [10:06:16]name=ofd_packets/00002560 [10:06:16]NVStorageDeleteData [10:06:16]Write to MH i2c: 01 00 00 5A 47 A1 [10:06:16]Write i2c OK [10:06:16]MH_I2C_Read... [10:06:16]Read from MH i2c: 01 [10:06:16]MH_I2C_Read... [10:06:16]Read from MH i2c: 01 07 00 [10:06:16]MH_I2C_Read... [10:06:16]Read from MH i2c: 01 07 00 5A 47 00 00 00 00 00 3E 0C F2 [10:06:16]RasterBufferAndPrint [10:06:16]line [10:06:16]line [10:06:16]line [10:06:16]line [10:06:16]line [10:06:16]written 0, free lines is 3140 [10:06:16]MH_Cut [10:06:16]Write to MH i2c: D1 01 00 61 47 01 7A [10:06:16]Write i2c OK [10:06:16]MH_I2C_Read... [10:06:16]Read from MH i2c: D1 [10:06:16]MH_I2C_Read... [10:06:16]Read from MH i2c: D1 01 00 [10:06:16]MH_I2C_Read... [10:06:16]Read from MH i2c: D1 01 00 61 47 00 79 [10:06:16]Write to MH i2c: 01 00 00 62 47 A9 [10:06:16]Write i2c OK [10:06:16]MH_I2C_Read... [10:06:16]OFD Sender: No OFD packet to send [10:06:17]*** Cut start [10:06:17]*** Partial cut [10:06:17]*** CUTSNS_PIN = 1 [10:06:17]*** CUTSNS_PIN = 0 [10:06:17]*** Brake cut motor [10:06:18]Read from MH i2c: 01 [10:06:18]MH_I2C_Read... [10:06:18]*** Stop cut motor [10:06:18]*** Cut end [10:06:18]Read from MH i2c: 01 07 00 [10:06:18]MH_I2C_Read... [10:06:18]Read from MH i2c: 01 07 00 62 47 00 00 00 00 00 FF 0F BE [10:06:18]process_action close_receipt done [10:06:18]requested_data is exist [10:06:18]produce_requested_data [10:06:18]requested_item fm.sn is exist - process it [10:06:18]wFMCommunicate request_size=4 [10:06:18]MH_SAM_APDU [10:06:18]CAPDU: 80 11 00 00 [10:06:18]Write to MH i2c: E2 08 00 63 47 80 11 00 00 00 00 00 00 24 [10:06:18]Write i2c OK [10:06:18]MH_I2C_Read... [10:06:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:06:18]Read from MH i2c: E2 [10:06:18]MH_I2C_Read... [10:06:18]Read from MH i2c: E2 17 00 [10:06:18]MH_I2C_Read... [10:06:18]Read from MH i2c: E2 17 00 63 47 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 6C [10:06:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [10:06:18]wFMCommunicate OK [10:06:18]requested_item fd.num is exist - process it [10:06:18]SAM_PROTO_GetFieldsCounters [10:06:18]wFMCommunicate request_size=4 [10:06:18]MH_SAM_APDU [10:06:18]CAPDU: 80 13 00 00 [10:06:18]Write to MH i2c: E2 08 00 64 47 80 13 00 00 00 00 00 00 27 [10:06:18]Write i2c OK [10:06:18]MH_I2C_Read... [10:06:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:06:18]Read from MH i2c: E2 [10:06:18]MH_I2C_Read... [10:06:18]Read from MH i2c: E2 62 00 [10:06:18]MH_I2C_Read... [10:06:18]Read from MH i2c: E2 62 00 64 47 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 00 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 9D [10:06:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 00 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:06:18]wFMCommunicate OK [10:06:18]SAM_PROTO_GetFieldsCounters done [10:06:18]requested_item shift.num is exist - process it [10:06:18]requested_item shift.opened is exist - process it [10:06:18]req_shift_opened [10:06:18]FM_GetShiftState [10:06:18]SAM_PROTO_GetShiftState [10:06:18]wFMCommunicate request_size=4 [10:06:18]MH_SAM_APDU [10:06:18]CAPDU: 80 13 01 00 [10:06:18]Write to MH i2c: E2 08 00 65 47 80 13 01 00 00 00 00 00 29 [10:06:18]Write i2c OK [10:06:18]MH_I2C_Read... [10:06:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:06:18]Read from MH i2c: E2 [10:06:18]MH_I2C_Read... [10:06:18]Read from MH i2c: E2 0E 00 [10:06:18]MH_I2C_Read... [10:06:18]Read from MH i2c: E2 0E 00 65 47 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 D2 [10:06:18]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [10:06:18]wFMCommunicate OK [10:06:18]SAM_PROTO_GetShiftState done [10:06:18]FM_GetShiftState done [10:06:18]req_shift_opened done [10:06:18]requested_item shift.open_date is exist - process it [10:06:18]req_shift_open_date [10:06:18]req_shift_open_date done [10:06:18]produce_requested_data done [10:06:18]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2560,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [10:06:18]process_action_free close_receipt [10:06:18]json_value_free [10:06:18]json_value_free done [10:06:18]process_json_proto returns [10:06:18]Send response to host [10:06:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2560,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [10:06:18]free response buf [10:06:18]execute_script done [10:06:18]execute_script returns [10:06:18]free content buf [10:06:18]Sock 9.Close socket [10:06:18]Sock 9.Thread stoped [10:06:21]OFD Sender: No OFD packet to send [10:06:26]OFD Sender: No OFD packet to send [10:06:31]OFD Sender: No OFD packet to send [10:06:36]OFD Sender: No OFD packet to send [10:06:41]OFD Sender: No OFD packet to send [10:06:46]OFD Sender: No OFD packet to send [10:06:51]OFD Sender: No OFD packet to send [10:06:56]OFD Sender: No OFD packet to send [10:07:01]OFD Sender: No OFD packet to send [10:07:06]OFD Sender: No OFD packet to send [10:07:11]OFD Sender: No OFD packet to send [10:07:16]OFD Sender: No OFD packet to send [10:07:21]OFD Sender: No OFD packet to send [10:07:26]OFD Sender: No OFD packet to send [10:07:31]OFD Sender: No OFD packet to send [10:07:36]OFD Sender: No OFD packet to send [10:07:41]OFD Sender: No OFD packet to send [10:07:46]OFD Sender: No OFD packet to send [10:07:51]OFD Sender: No OFD packet to send [10:07:56]OFD Sender: No OFD packet to send [10:08:01]OFD Sender: No OFD packet to send [10:08:06]OFD Sender: No OFD packet to send [10:08:11]OFD Sender: No OFD packet to send [10:08:16]OFD Sender: No OFD packet to send [10:08:21]OFD Sender: No OFD packet to send [10:08:26]OFD Sender: No OFD packet to send [10:08:31]OFD Sender: No OFD packet to send [10:08:36]OFD Sender: No OFD packet to send [10:08:41]OFD Sender: No OFD packet to send [10:08:46]OFD Sender: No OFD packet to send [10:08:51]OFD Sender: No OFD packet to send [10:08:56]OFD Sender: No OFD packet to send [10:09:01]OFD Sender: No OFD packet to send [10:09:06]OFD Sender: No OFD packet to send [10:09:11]OFD Sender: No OFD packet to send [10:09:16]OFD Sender: No OFD packet to send [10:09:21]OFD Sender: No OFD packet to send [10:09:26]OFD Sender: No OFD packet to send [10:09:31]OFD Sender: No OFD packet to send [10:09:36]OFD Sender: No OFD packet to send [10:09:41]OFD Sender: No OFD packet to send [10:09:46]OFD Sender: No OFD packet to send [10:09:51]OFD Sender: No OFD packet to send [10:09:56]OFD Sender: No OFD packet to send [10:10:01]OFD Sender: No OFD packet to send [10:10:06]OFD Sender: No OFD packet to send [10:10:11]OFD Sender: No OFD packet to send [10:10:16]OFD Sender: No OFD packet to send [10:10:21]OFD Sender: No OFD packet to send [10:10:26]OFD Sender: No OFD packet to send [10:10:31]OFD Sender: No OFD packet to send [10:10:36]OFD Sender: No OFD packet to send [10:10:42]OFD Sender: No OFD packet to send [10:10:47]OFD Sender: No OFD packet to send [10:10:52]OFD Sender: No OFD packet to send [10:10:57]OFD Sender: No OFD packet to send [10:11:02]OFD Sender: No OFD packet to send [10:11:07]OFD Sender: No OFD packet to send [10:11:12]OFD Sender: No OFD packet to send [10:11:17]OFD Sender: No OFD packet to send [10:11:22]OFD Sender: No OFD packet to send [10:11:27]OFD Sender: No OFD packet to send [10:11:32]OFD Sender: No OFD packet to send [10:11:37]OFD Sender: No OFD packet to send [10:11:42]OFD Sender: No OFD packet to send [10:11:47]OFD Sender: No OFD packet to send [10:11:52]OFD Sender: No OFD packet to send [10:11:57]OFD Sender: No OFD packet to send [10:12:02]OFD Sender: No OFD packet to send [10:12:07]OFD Sender: No OFD packet to send [10:12:12]OFD Sender: No OFD packet to send [10:12:17]OFD Sender: No OFD packet to send [10:12:22]OFD Sender: No OFD packet to send [10:12:27]OFD Sender: No OFD packet to send [10:12:32]OFD Sender: No OFD packet to send [10:12:37]OFD Sender: No OFD packet to send [10:12:42]OFD Sender: No OFD packet to send [10:12:47]OFD Sender: No OFD packet to send [10:12:52]OFD Sender: No OFD packet to send [10:12:57]OFD Sender: No OFD packet to send [10:13:02]OFD Sender: No OFD packet to send [10:13:07]OFD Sender: No OFD packet to send [10:13:12]OFD Sender: No OFD packet to send [10:13:17]OFD Sender: No OFD packet to send [10:13:22]OFD Sender: No OFD packet to send [10:13:27]OFD Sender: No OFD packet to send [10:13:32]OFD Sender: No OFD packet to send [10:13:37]OFD Sender: No OFD packet to send [10:13:42]OFD Sender: No OFD packet to send [10:13:47]OFD Sender: No OFD packet to send [10:13:52]OFD Sender: No OFD packet to send [10:13:57]OFD Sender: No OFD packet to send [10:14:02]OFD Sender: No OFD packet to send [10:14:07]OFD Sender: No OFD packet to send [10:14:12]OFD Sender: No OFD packet to send [10:14:17]OFD Sender: No OFD packet to send [10:14:22]OFD Sender: No OFD packet to send [10:14:27]OFD Sender: No OFD packet to send [10:14:32]OFD Sender: No OFD packet to send [10:14:37]OFD Sender: No OFD packet to send [10:14:42]OFD Sender: No OFD packet to send [10:14:47]OFD Sender: No OFD packet to send [10:14:52]OFD Sender: No OFD packet to send [10:14:57]OFD Sender: No OFD packet to send [10:15:02]OFD Sender: No OFD packet to send [10:15:07]OFD Sender: No OFD packet to send [10:15:12]OFD Sender: No OFD packet to send [10:15:17]OFD Sender: No OFD packet to send [10:15:22]OFD Sender: No OFD packet to send [10:15:27]OFD Sender: No OFD packet to send [10:15:32]OFD Sender: No OFD packet to send [10:15:37]OFD Sender: No OFD packet to send [10:15:42]OFD Sender: No OFD packet to send [10:15:47]OFD Sender: No OFD packet to send [10:15:52]OFD Sender: No OFD packet to send [10:15:57]OFD Sender: No OFD packet to send [10:16:02]OFD Sender: No OFD packet to send [10:16:07]OFD Sender: No OFD packet to send [10:16:12]OFD Sender: No OFD packet to send [10:16:17]OFD Sender: No OFD packet to send [10:16:22]OFD Sender: No OFD packet to send [10:16:27]OFD Sender: No OFD packet to send [10:16:32]OFD Sender: No OFD packet to send [10:16:37]OFD Sender: No OFD packet to send [10:16:42]OFD Sender: No OFD packet to send [10:16:47]OFD Sender: No OFD packet to send [10:16:52]OFD Sender: No OFD packet to send [10:16:57]OFD Sender: No OFD packet to send [10:17:02]OFD Sender: No OFD packet to send [10:17:07]OFD Sender: No OFD packet to send [10:17:12]OFD Sender: No OFD packet to send [10:17:17]OFD Sender: No OFD packet to send [10:17:22]OFD Sender: No OFD packet to send [10:17:27]OFD Sender: No OFD packet to send [10:17:32]OFD Sender: No OFD packet to send [10:17:37]OFD Sender: No OFD packet to send [10:17:42]OFD Sender: No OFD packet to send [10:17:47]OFD Sender: No OFD packet to send [10:17:52]OFD Sender: No OFD packet to send [10:17:57]OFD Sender: No OFD packet to send [10:18:02]OFD Sender: No OFD packet to send [10:18:07]OFD Sender: No OFD packet to send [10:18:12]OFD Sender: No OFD packet to send [10:18:17]OFD Sender: No OFD packet to send [10:18:22]OFD Sender: No OFD packet to send [10:18:27]OFD Sender: No OFD packet to send [10:18:32]OFD Sender: No OFD packet to send [10:18:37]OFD Sender: No OFD packet to send [10:18:42]OFD Sender: No OFD packet to send [10:18:47]OFD Sender: No OFD packet to send [10:18:52]OFD Sender: No OFD packet to send [10:18:57]OFD Sender: No OFD packet to send [10:19:02]OFD Sender: No OFD packet to send [10:19:07]OFD Sender: No OFD packet to send [10:19:12]OFD Sender: No OFD packet to send [10:19:17]OFD Sender: No OFD packet to send [10:19:22]OFD Sender: No OFD packet to send [10:19:27]OFD Sender: No OFD packet to send [10:19:32]OFD Sender: No OFD packet to send [10:19:37]OFD Sender: No OFD packet to send [10:19:42]OFD Sender: No OFD packet to send [10:19:47]OFD Sender: No OFD packet to send [10:19:52]OFD Sender: No OFD packet to send [10:19:57]OFD Sender: No OFD packet to send [10:20:02]OFD Sender: No OFD packet to send [10:20:07]OFD Sender: No OFD packet to send [10:20:12]OFD Sender: No OFD packet to send [10:20:17]OFD Sender: No OFD packet to send [10:20:22]OFD Sender: No OFD packet to send [10:20:27]OFD Sender: No OFD packet to send [10:20:32]OFD Sender: No OFD packet to send [10:20:37]OFD Sender: No OFD packet to send [10:20:42]OFD Sender: No OFD packet to send [10:20:47]OFD Sender: No OFD packet to send [10:20:52]OFD Sender: No OFD packet to send [10:20:57]OFD Sender: No OFD packet to send [10:21:02]OFD Sender: No OFD packet to send [10:21:07]OFD Sender: No OFD packet to send [10:21:12]OFD Sender: No OFD packet to send [10:21:17]OFD Sender: No OFD packet to send [10:21:22]OFD Sender: No OFD packet to send [10:21:27]OFD Sender: No OFD packet to send [10:21:32]OFD Sender: No OFD packet to send [10:21:37]OFD Sender: No OFD packet to send [10:21:42]OFD Sender: No OFD packet to send [10:21:47]OFD Sender: No OFD packet to send [10:21:52]OFD Sender: No OFD packet to send [10:21:57]OFD Sender: No OFD packet to send [10:22:02]OFD Sender: No OFD packet to send [10:22:07]OFD Sender: No OFD packet to send [10:22:12]OFD Sender: No OFD packet to send [10:22:17]OFD Sender: No OFD packet to send [10:22:22]OFD Sender: No OFD packet to send [10:22:27]OFD Sender: No OFD packet to send [10:22:32]OFD Sender: No OFD packet to send [10:22:37]OFD Sender: No OFD packet to send [10:22:42]OFD Sender: No OFD packet to send [10:22:47]OFD Sender: No OFD packet to send [10:22:52]OFD Sender: No OFD packet to send [10:22:57]OFD Sender: No OFD packet to send [10:23:02]OFD Sender: No OFD packet to send [10:23:07]OFD Sender: No OFD packet to send [10:23:12]OFD Sender: No OFD packet to send [10:23:17]OFD Sender: No OFD packet to send [10:23:22]OFD Sender: No OFD packet to send [10:23:27]OFD Sender: No OFD packet to send [10:23:32]OFD Sender: No OFD packet to send [10:23:37]OFD Sender: No OFD packet to send [10:23:42]OFD Sender: No OFD packet to send [10:23:47]OFD Sender: No OFD packet to send [10:23:52]OFD Sender: No OFD packet to send [10:23:57]OFD Sender: No OFD packet to send [10:24:02]OFD Sender: No OFD packet to send [10:24:07]OFD Sender: No OFD packet to send [10:24:12]OFD Sender: No OFD packet to send [10:24:17]OFD Sender: No OFD packet to send [10:24:22]OFD Sender: No OFD packet to send [10:24:27]OFD Sender: No OFD packet to send [10:24:32]OFD Sender: No OFD packet to send [10:24:37]OFD Sender: No OFD packet to send [10:24:42]OFD Sender: No OFD packet to send [10:24:47]OFD Sender: No OFD packet to send [10:24:52]OFD Sender: No OFD packet to send [10:24:57]OFD Sender: No OFD packet to send [10:25:02]OFD Sender: No OFD packet to send [10:25:07]OFD Sender: No OFD packet to send [10:25:12]OFD Sender: No OFD packet to send [10:25:17]OFD Sender: No OFD packet to send [10:25:22]OFD Sender: No OFD packet to send [10:25:27]OFD Sender: No OFD packet to send [10:25:32]OFD Sender: No OFD packet to send [10:25:37]OFD Sender: No OFD packet to send [10:25:42]OFD Sender: No OFD packet to send [10:25:47]OFD Sender: No OFD packet to send [10:25:52]OFD Sender: No OFD packet to send [10:25:57]OFD Sender: No OFD packet to send [10:26:02]OFD Sender: No OFD packet to send [10:26:07]OFD Sender: No OFD packet to send [10:26:12]OFD Sender: No OFD packet to send [10:26:17]OFD Sender: No OFD packet to send [10:26:22]OFD Sender: No OFD packet to send [10:26:27]OFD Sender: No OFD packet to send [10:26:32]OFD Sender: No OFD packet to send [10:26:37]OFD Sender: No OFD packet to send [10:26:42]OFD Sender: No OFD packet to send [10:26:47]OFD Sender: No OFD packet to send [10:26:52]OFD Sender: No OFD packet to send [10:26:57]OFD Sender: No OFD packet to send [10:27:02]OFD Sender: No OFD packet to send [10:27:07]OFD Sender: No OFD packet to send [10:27:12]OFD Sender: No OFD packet to send [10:27:17]OFD Sender: No OFD packet to send [10:27:22]OFD Sender: No OFD packet to send [10:27:27]OFD Sender: No OFD packet to send [10:27:32]OFD Sender: No OFD packet to send [10:27:37]OFD Sender: No OFD packet to send [10:27:42]OFD Sender: No OFD packet to send [10:27:47]OFD Sender: No OFD packet to send [10:27:52]OFD Sender: No OFD packet to send [10:27:57]OFD Sender: No OFD packet to send [10:28:02]OFD Sender: No OFD packet to send [10:28:07]OFD Sender: No OFD packet to send [10:28:12]OFD Sender: No OFD packet to send [10:28:17]OFD Sender: No OFD packet to send [10:28:22]OFD Sender: No OFD packet to send [10:28:27]OFD Sender: No OFD packet to send [10:28:32]OFD Sender: No OFD packet to send [10:28:37]OFD Sender: No OFD packet to send [10:28:42]OFD Sender: No OFD packet to send [10:28:47]OFD Sender: No OFD packet to send [10:28:52]OFD Sender: No OFD packet to send [10:28:57]OFD Sender: No OFD packet to send [10:29:02]OFD Sender: No OFD packet to send [10:29:07]OFD Sender: No OFD packet to send [10:29:12]OFD Sender: No OFD packet to send [10:29:17]OFD Sender: No OFD packet to send [10:29:22]OFD Sender: No OFD packet to send [10:29:27]OFD Sender: No OFD packet to send [10:29:32]OFD Sender: No OFD packet to send [10:29:37]OFD Sender: No OFD packet to send [10:29:42]OFD Sender: No OFD packet to send [10:29:47]OFD Sender: No OFD packet to send [10:29:52]OFD Sender: No OFD packet to send [10:29:57]OFD Sender: No OFD packet to send [10:30:02]OFD Sender: No OFD packet to send [10:30:07]OFD Sender: No OFD packet to send [10:30:12]OFD Sender: No OFD packet to send [10:30:17]OFD Sender: No OFD packet to send [10:30:22]OFD Sender: No OFD packet to send [10:30:27]OFD Sender: No OFD packet to send [10:30:32]OFD Sender: No OFD packet to send [10:30:37]OFD Sender: No OFD packet to send [10:30:42]OFD Sender: No OFD packet to send [10:30:47]OFD Sender: No OFD packet to send [10:30:52]OFD Sender: No OFD packet to send [10:30:57]OFD Sender: No OFD packet to send [10:31:02]OFD Sender: No OFD packet to send [10:31:07]OFD Sender: No OFD packet to send [10:31:12]OFD Sender: No OFD packet to send [10:31:17]OFD Sender: No OFD packet to send [10:31:22]OFD Sender: No OFD packet to send [10:31:27]OFD Sender: No OFD packet to send [10:31:32]OFD Sender: No OFD packet to send [10:31:37]OFD Sender: No OFD packet to send [10:31:42]OFD Sender: No OFD packet to send [10:31:47]OFD Sender: No OFD packet to send [10:31:52]OFD Sender: No OFD packet to send [10:31:57]OFD Sender: No OFD packet to send [10:32:02]OFD Sender: No OFD packet to send [10:32:07]OFD Sender: No OFD packet to send [10:32:12]OFD Sender: No OFD packet to send [10:32:17]OFD Sender: No OFD packet to send [10:32:22]OFD Sender: No OFD packet to send [10:32:27]OFD Sender: No OFD packet to send [10:32:32]OFD Sender: No OFD packet to send [10:32:37]OFD Sender: No OFD packet to send [10:32:42]OFD Sender: No OFD packet to send [10:32:48]OFD Sender: No OFD packet to send [10:32:53]OFD Sender: No OFD packet to send [10:32:58]OFD Sender: No OFD packet to send [10:33:03]OFD Sender: No OFD packet to send [10:33:08]OFD Sender: No OFD packet to send [10:33:13]OFD Sender: No OFD packet to send [10:33:18]OFD Sender: No OFD packet to send [10:33:23]OFD Sender: No OFD packet to send [10:33:28]OFD Sender: No OFD packet to send [10:33:33]OFD Sender: No OFD packet to send [10:33:38]OFD Sender: No OFD packet to send [10:33:43]OFD Sender: No OFD packet to send [10:33:48]OFD Sender: No OFD packet to send [10:33:53]OFD Sender: No OFD packet to send [10:33:58]OFD Sender: No OFD packet to send [10:34:03]OFD Sender: No OFD packet to send [10:34:08]OFD Sender: No OFD packet to send [10:34:13]OFD Sender: No OFD packet to send [10:34:18]OFD Sender: No OFD packet to send [10:34:23]OFD Sender: No OFD packet to send [10:34:28]OFD Sender: No OFD packet to send [10:34:33]OFD Sender: No OFD packet to send [10:34:38]OFD Sender: No OFD packet to send [10:34:43]OFD Sender: No OFD packet to send [10:34:48]OFD Sender: No OFD packet to send [10:34:53]OFD Sender: No OFD packet to send [10:34:58]OFD Sender: No OFD packet to send [10:35:03]OFD Sender: No OFD packet to send [10:35:08]OFD Sender: No OFD packet to send [10:35:13]OFD Sender: No OFD packet to send [10:35:18]OFD Sender: No OFD packet to send [10:35:23]OFD Sender: No OFD packet to send [10:35:28]OFD Sender: No OFD packet to send [10:35:33]OFD Sender: No OFD packet to send [10:35:38]OFD Sender: No OFD packet to send [10:35:43]OFD Sender: No OFD packet to send [10:35:48]OFD Sender: No OFD packet to send [10:35:53]OFD Sender: No OFD packet to send [10:35:58]OFD Sender: No OFD packet to send [10:36:03]OFD Sender: No OFD packet to send [10:36:08]OFD Sender: No OFD packet to send [10:36:13]OFD Sender: No OFD packet to send [10:36:18]OFD Sender: No OFD packet to send [10:36:23]OFD Sender: No OFD packet to send [10:36:28]OFD Sender: No OFD packet to send [10:36:33]OFD Sender: No OFD packet to send [10:36:38]OFD Sender: No OFD packet to send [10:36:43]OFD Sender: No OFD packet to send [10:36:48]OFD Sender: No OFD packet to send [10:36:53]OFD Sender: No OFD packet to send [10:36:58]OFD Sender: No OFD packet to send [10:37:03]OFD Sender: No OFD packet to send [10:37:08]OFD Sender: No OFD packet to send [10:37:13]OFD Sender: No OFD packet to send [10:37:18]OFD Sender: No OFD packet to send [10:37:23]OFD Sender: No OFD packet to send [10:37:28]OFD Sender: No OFD packet to send [10:37:33]OFD Sender: No OFD packet to send [10:37:38]OFD Sender: No OFD packet to send [10:37:43]OFD Sender: No OFD packet to send [10:37:48]OFD Sender: No OFD packet to send [10:37:53]OFD Sender: No OFD packet to send [10:37:58]OFD Sender: No OFD packet to send [10:38:03]OFD Sender: No OFD packet to send [10:38:08]OFD Sender: No OFD packet to send [10:38:13]OFD Sender: No OFD packet to send [10:38:18]OFD Sender: No OFD packet to send [10:38:23]OFD Sender: No OFD packet to send [10:38:28]OFD Sender: No OFD packet to send [10:38:33]OFD Sender: No OFD packet to send [10:38:38]OFD Sender: No OFD packet to send [10:38:43]OFD Sender: No OFD packet to send [10:38:48]OFD Sender: No OFD packet to send [10:38:53]OFD Sender: No OFD packet to send [10:38:58]OFD Sender: No OFD packet to send [10:39:03]OFD Sender: No OFD packet to send [10:39:08]OFD Sender: No OFD packet to send [10:39:13]OFD Sender: No OFD packet to send [10:39:18]OFD Sender: No OFD packet to send [10:39:23]OFD Sender: No OFD packet to send [10:39:28]OFD Sender: No OFD packet to send [10:39:33]OFD Sender: No OFD packet to send [10:39:38]OFD Sender: No OFD packet to send [10:39:43]OFD Sender: No OFD packet to send [10:39:48]OFD Sender: No OFD packet to send [10:39:53]OFD Sender: No OFD packet to send [10:39:58]OFD Sender: No OFD packet to send [10:40:03]OFD Sender: No OFD packet to send [10:40:08]OFD Sender: No OFD packet to send [10:40:13]OFD Sender: No OFD packet to send [10:40:18]OFD Sender: No OFD packet to send [10:40:23]OFD Sender: No OFD packet to send [10:40:28]OFD Sender: No OFD packet to send [10:40:33]OFD Sender: No OFD packet to send [10:40:38]OFD Sender: No OFD packet to send [10:40:43]OFD Sender: No OFD packet to send [10:40:48]OFD Sender: No OFD packet to send [10:40:53]OFD Sender: No OFD packet to send [10:40:58]OFD Sender: No OFD packet to send [10:41:03]OFD Sender: No OFD packet to send [10:41:08]OFD Sender: No OFD packet to send [10:41:13]OFD Sender: No OFD packet to send [10:41:18]OFD Sender: No OFD packet to send [10:41:23]OFD Sender: No OFD packet to send [10:41:28]OFD Sender: No OFD packet to send [10:41:33]OFD Sender: No OFD packet to send [10:41:38]OFD Sender: No OFD packet to send [10:41:43]OFD Sender: No OFD packet to send [10:41:48]OFD Sender: No OFD packet to send [10:41:53]OFD Sender: No OFD packet to send [10:41:58]OFD Sender: No OFD packet to send [10:42:03]OFD Sender: No OFD packet to send [10:42:08]OFD Sender: No OFD packet to send [10:42:13]OFD Sender: No OFD packet to send [10:42:18]OFD Sender: No OFD packet to send [10:42:23]OFD Sender: No OFD packet to send [10:42:28]OFD Sender: No OFD packet to send [10:42:33]OFD Sender: No OFD packet to send [10:42:38]OFD Sender: No OFD packet to send [10:42:43]OFD Sender: No OFD packet to send [10:42:48]OFD Sender: No OFD packet to send [10:42:53]OFD Sender: No OFD packet to send [10:42:58]OFD Sender: No OFD packet to send [10:43:03]OFD Sender: No OFD packet to send [10:43:08]OFD Sender: No OFD packet to send [10:43:13]OFD Sender: No OFD packet to send [10:43:18]OFD Sender: No OFD packet to send [10:43:23]OFD Sender: No OFD packet to send [10:43:28]OFD Sender: No OFD packet to send [10:43:33]OFD Sender: No OFD packet to send [10:43:38]OFD Sender: No OFD packet to send [10:43:43]OFD Sender: No OFD packet to send [10:43:48]OFD Sender: No OFD packet to send [10:43:53]OFD Sender: No OFD packet to send [10:43:58]OFD Sender: No OFD packet to send [10:44:03]OFD Sender: No OFD packet to send [10:44:08]OFD Sender: No OFD packet to send [10:44:13]OFD Sender: No OFD packet to send [10:44:18]OFD Sender: No OFD packet to send [10:44:23]OFD Sender: No OFD packet to send [10:44:28]OFD Sender: No OFD packet to send [10:44:33]OFD Sender: No OFD packet to send [10:44:38]OFD Sender: No OFD packet to send [10:44:43]OFD Sender: No OFD packet to send [10:44:48]OFD Sender: No OFD packet to send [10:44:53]OFD Sender: No OFD packet to send [10:44:58]OFD Sender: No OFD packet to send [10:45:03]OFD Sender: No OFD packet to send [10:45:08]OFD Sender: No OFD packet to send [10:45:13]OFD Sender: No OFD packet to send [10:45:18]OFD Sender: No OFD packet to send [10:45:23]OFD Sender: No OFD packet to send [10:45:28]OFD Sender: No OFD packet to send [10:45:33]OFD Sender: No OFD packet to send [10:45:38]OFD Sender: No OFD packet to send [10:45:43]OFD Sender: No OFD packet to send [10:45:48]OFD Sender: No OFD packet to send [10:45:53]OFD Sender: No OFD packet to send [10:45:58]OFD Sender: No OFD packet to send [10:46:03]OFD Sender: No OFD packet to send [10:46:08]OFD Sender: No OFD packet to send [10:46:13]OFD Sender: No OFD packet to send [10:46:18]OFD Sender: No OFD packet to send [10:46:23]OFD Sender: No OFD packet to send [10:46:28]OFD Sender: No OFD packet to send [10:46:33]OFD Sender: No OFD packet to send [10:46:38]OFD Sender: No OFD packet to send [10:46:43]OFD Sender: No OFD packet to send [10:46:48]OFD Sender: No OFD packet to send [10:46:53]OFD Sender: No OFD packet to send [10:46:58]OFD Sender: No OFD packet to send [10:47:03]OFD Sender: No OFD packet to send [10:47:08]OFD Sender: No OFD packet to send [10:47:13]OFD Sender: No OFD packet to send [10:47:18]OFD Sender: No OFD packet to send [10:47:23]OFD Sender: No OFD packet to send [10:47:28]OFD Sender: No OFD packet to send [10:47:33]OFD Sender: No OFD packet to send [10:47:38]OFD Sender: No OFD packet to send [10:47:43]OFD Sender: No OFD packet to send [10:47:48]OFD Sender: No OFD packet to send [10:47:53]OFD Sender: No OFD packet to send [10:47:58]OFD Sender: No OFD packet to send [10:48:03]OFD Sender: No OFD packet to send [10:48:08]OFD Sender: No OFD packet to send [10:48:13]OFD Sender: No OFD packet to send [10:48:18]OFD Sender: No OFD packet to send [10:48:23]OFD Sender: No OFD packet to send [10:48:28]OFD Sender: No OFD packet to send [10:48:33]OFD Sender: No OFD packet to send [10:48:38]OFD Sender: No OFD packet to send [10:48:43]OFD Sender: No OFD packet to send [10:48:48]OFD Sender: No OFD packet to send [10:48:53]OFD Sender: No OFD packet to send [10:48:58]OFD Sender: No OFD packet to send [10:49:03]OFD Sender: No OFD packet to send [10:49:08]OFD Sender: No OFD packet to send [10:49:13]OFD Sender: No OFD packet to send [10:49:18]OFD Sender: No OFD packet to send [10:49:23]OFD Sender: No OFD packet to send [10:49:28]OFD Sender: No OFD packet to send [10:49:33]OFD Sender: No OFD packet to send [10:49:38]OFD Sender: No OFD packet to send [10:49:43]OFD Sender: No OFD packet to send [10:49:48]OFD Sender: No OFD packet to send [10:49:53]OFD Sender: No OFD packet to send [10:49:58]OFD Sender: No OFD packet to send [10:50:03]OFD Sender: No OFD packet to send [10:50:08]OFD Sender: No OFD packet to send [10:50:13]OFD Sender: No OFD packet to send [10:50:18]OFD Sender: No OFD packet to send [10:50:23]OFD Sender: No OFD packet to send [10:50:28]OFD Sender: No OFD packet to send [10:50:33]OFD Sender: No OFD packet to send [10:50:38]OFD Sender: No OFD packet to send [10:50:43]OFD Sender: No OFD packet to send [10:50:48]OFD Sender: No OFD packet to send [10:50:53]OFD Sender: No OFD packet to send [10:50:58]OFD Sender: No OFD packet to send [10:51:03]OFD Sender: No OFD packet to send [10:51:08]OFD Sender: No OFD packet to send [10:51:13]OFD Sender: No OFD packet to send [10:51:18]OFD Sender: No OFD packet to send [10:51:23]OFD Sender: No OFD packet to send [10:51:28]OFD Sender: No OFD packet to send [10:51:33]OFD Sender: No OFD packet to send [10:51:38]OFD Sender: No OFD packet to send [10:51:43]OFD Sender: No OFD packet to send [10:51:48]OFD Sender: No OFD packet to send [10:51:53]OFD Sender: No OFD packet to send [10:51:58]OFD Sender: No OFD packet to send [10:52:03]OFD Sender: No OFD packet to send [10:52:08]OFD Sender: No OFD packet to send [10:52:13]OFD Sender: No OFD packet to send [10:52:18]OFD Sender: No OFD packet to send [10:52:23]OFD Sender: No OFD packet to send [10:52:28]OFD Sender: No OFD packet to send [10:52:33]OFD Sender: No OFD packet to send [10:52:38]OFD Sender: No OFD packet to send [10:52:43]OFD Sender: No OFD packet to send [10:52:48]OFD Sender: No OFD packet to send [10:52:53]OFD Sender: No OFD packet to send [10:52:58]OFD Sender: No OFD packet to send [10:53:03]OFD Sender: No OFD packet to send [10:53:08]OFD Sender: No OFD packet to send [10:53:13]OFD Sender: No OFD packet to send [10:53:18]OFD Sender: No OFD packet to send [10:53:23]OFD Sender: No OFD packet to send [10:53:28]OFD Sender: No OFD packet to send [10:53:33]OFD Sender: No OFD packet to send [10:53:38]OFD Sender: No OFD packet to send [10:53:43]OFD Sender: No OFD packet to send [10:53:48]OFD Sender: No OFD packet to send [10:53:53]OFD Sender: No OFD packet to send [10:53:58]OFD Sender: No OFD packet to send [10:54:03]OFD Sender: No OFD packet to send [10:54:08]OFD Sender: No OFD packet to send [10:54:13]OFD Sender: No OFD packet to send [10:54:18]OFD Sender: No OFD packet to send [10:54:23]OFD Sender: No OFD packet to send [10:54:28]OFD Sender: No OFD packet to send [10:54:33]OFD Sender: No OFD packet to send [10:54:38]OFD Sender: No OFD packet to send [10:54:43]OFD Sender: No OFD packet to send [10:54:48]OFD Sender: No OFD packet to send [10:54:53]OFD Sender: No OFD packet to send [10:54:59]OFD Sender: No OFD packet to send [10:55:04]OFD Sender: No OFD packet to send [10:55:09]OFD Sender: No OFD packet to send [10:55:14]OFD Sender: No OFD packet to send [10:55:19]OFD Sender: No OFD packet to send [10:55:21]accept exits with 7 [10:55:21]New connection [10:55:21]New thread 3066707300 created [10:55:21]Thread 3066850660 joined [10:55:21]Waiting for new connection... [10:55:21] Sock 7.Parse request [10:55:21]Sock 7.Check first char [10:55:21]Sock 7.First char is OK [10:55:21]request: POST /json_proto HTTP/1.0 [10:55:21]Method: POST [10:55:21]URL: /json_proto [10:55:21]Method is POST - this is cgi request [10:55:21]url: /json_proto [10:55:21]query_string will be loaded in cgi processing [10:55:21]execute_cgi json_proto POST (null) [10:55:21]execute_cgi path=json_proto method=POST [10:55:21]POST find Content-Length [10:55:21]Host: 172.17.52.132:8080 [10:55:21]Content-Length: 2307 [10:55:21]Content-Type: application/json [10:55:21] [10:55:21]POST finish read [10:55:21]Found Content-Length = 2307 [10:55:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99939", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1141.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:55:21]execute_script... [10:55: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)99939", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1141.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:55:22]POST & json_proto [10:55:22]process_json_proto [10:55:22]json parsed OK: [10:55:22]protocol is kg_v1.0 [10:55:22]action value=close_receipt [10:55:22]process_action close_receipt [10:55:22]cmd_close_receipt [10:55:22]MH_GetDate [10:55:22]Write to MH i2c: F0 00 00 66 47 9C [10:55:22]Write i2c OK [10:55:22]MH_I2C_Read... [10:55:22]Read from MH i2c: F0 [10:55:22]MH_I2C_Read... [10:55:22]Read from MH i2c: F0 09 00 [10:55:22]MH_I2C_Read... [10:55:22]Read from MH i2c: F0 09 00 66 47 00 23 90 13 67 5A BE F6 66 46 [10:55:22]GetLastDocTimeStamp 1729332382 [10:55:22]current date 1729335331 [10:55:22]FM_GetShiftState [10:55:22]SAM_PROTO_GetShiftState [10:55:22]wFMCommunicate request_size=4 [10:55:22]MH_SAM_APDU [10:55:22]CAPDU: 80 13 01 00 [10:55:22]Write to MH i2c: E2 08 00 67 47 80 13 01 00 00 00 00 00 2B [10:55:22]Write i2c OK [10:55:22]MH_I2C_Read... [10:55:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:55:22]Read from MH i2c: E2 [10:55:22]MH_I2C_Read... [10:55:22]Read from MH i2c: E2 0E 00 [10:55:22]MH_I2C_Read... [10:55:22]Read from MH i2c: E2 0E 00 67 47 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 D4 [10:55:22]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [10:55:22]wFMCommunicate OK [10:55:22]SAM_PROTO_GetShiftState done [10:55:22]FM_GetShiftState done [10:55:22]opened in 1729296173 [10:55:22]opened+sec_in_day 1729382573 [10:55:22]quantity*price = 4500 [10:55:22]sum+1 = 4501 [10:55:22]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036190018 Кофе Американо XL(GABB TRADE) 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 1.000 * 69.00 = 69.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48744119 Сигареты Winston Xstyle Dual 1.000 * 149.00 = 149.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48744539 LD Compact Blue 2.000 * 134.00 = 268.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4620006996716 Водка Талка 0,1л 2.000 * 130.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1141.00 НСП 1% : 10.10 НДС 12% : 121.16 Наличными: 1141.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 22 19.10.2024 10:55 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2561 ФПД: 75322480336482 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T105531&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2561&fm=75322480336482&tin=02508201610067®Number=0000000000207295&sum=114100 0 [10:55:23]StoreToDocumentArchive [10:55:23]shift 23 fd 2561 [10:55:23]save to /storage/0023/doc_00002561 [10:55:23]save last doc name /storage/0023/doc_00002561 to /storage/kkm_last_doc_name [10:55:23]save OK [10:55:23]Clear old archive folders... [10:55:23]ProcessDocumentItem done err = 0, tmpTLVsize=1011 [10:55:23]tlvbuf is 013FF860 [10:55:23]SAM_PROTO_ClearQueue [10:55:23]wFMCommunicate request_size=4 [10:55:23]MH_SAM_APDU [10:55:23]CAPDU: 80 09 00 00 [10:55:23]Write to MH i2c: E2 08 00 74 47 80 09 00 00 00 00 00 00 2D [10:55:23]Write i2c OK [10:55:23]MH_I2C_Read... [10:55:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:55:23]Read from MH i2c: E2 [10:55:23]MH_I2C_Read... [10:55:23]Read from MH i2c: E2 03 00 [10:55:23]MH_I2C_Read... [10:55:23]Read from MH i2c: E2 03 00 74 47 00 90 00 2F [10:55:23]RAPDU: 90 00 [10:55:23]wFMCommunicate OK [10:55:23]SAM_PROTO_ClearQueue done [10:55:23]KKMCreateOFDPacket [10:55:23]OFDProtocolAddRootSTLVToBuf [10:55:23]FM_MakeSignedData [10:55:23]FM_MakeSignedData [10:55:23]SAM_PROTO_SignData [10:55:23]wFMCommunicate request_size=4 [10:55:23]MH_SAM_APDU [10:55:23]CAPDU: 80 0D 01 02 [10:55:23]Write to MH i2c: E2 08 00 75 47 80 0D 01 02 00 00 00 00 35 [10:55:23]Write i2c OK [10:55:23]MH_I2C_Read... [10:55:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:55:23]Read from MH i2c: E2 [10:55:23]MH_I2C_Read... [10:55:23]Read from MH i2c: E2 03 00 [10:55:23]MH_I2C_Read... [10:55:23]Read from MH i2c: E2 03 00 75 47 00 90 00 30 [10:55:23]RAPDU: 90 00 [10:55:23]wFMCommunicate OK [10:55:23]wFMCommunicate request_size=255 [10:55:23]MH_SAM_APDU [10:55:23]CAPDU: 80 0D 02 02 FA 03 00 F3 03 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 [10:55:23]Write to MH i2c: E2 02 01 76 47 80 0D 02 02 FA 00 03 00 F3 03 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 00 00 F7 [10:55:23]Write i2c OK [10:55:23]MH_I2C_Read... [10:55:24]OFD Sender: No OFD packet to send [10:55:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:55:24]Read from MH i2c: E2 [10:55:24]MH_I2C_Read... [10:55:24]Read from MH i2c: E2 03 00 [10:55:24]MH_I2C_Read... [10:55:24]Read from MH i2c: E2 03 00 76 47 00 90 00 31 [10:55:24]RAPDU: 90 00 [10:55:24]wFMCommunicate OK [10:55:24]wFMCommunicate request_size=255 [10:55:24]MH_SAM_APDU [10:55:24]CAPDU: 80 0D 02 02 FA 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 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 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD [10:55:24]Write to MH i2c: E2 02 01 77 47 80 0D 02 02 FA 00 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 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 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 00 00 CE [10:55:24]Write i2c OK [10:55:24]MH_I2C_Read... [10:55:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:55:24]Read from MH i2c: E2 [10:55:24]MH_I2C_Read... [10:55:24]Read from MH i2c: E2 03 00 [10:55:24]MH_I2C_Read... [10:55:24]Read from MH i2c: E2 03 00 77 47 00 90 00 32 [10:55:24]RAPDU: 90 00 [10:55:24]wFMCommunicate OK [10:55:24]wFMCommunicate request_size=255 [10:55:24]MH_SAM_APDU [10:55:24]CAPDU: 80 0D 02 02 FA 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 [10:55:24]Write to MH i2c: E2 02 01 78 47 80 0D 02 02 FA 00 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 00 F5 [10:55:24]Write i2c OK [10:55:24]MH_I2C_Read... [10:55:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:55:24]Read from MH i2c: E2 [10:55:24]MH_I2C_Read... [10:55:24]Read from MH i2c: E2 03 00 [10:55:24]MH_I2C_Read... [10:55:24]Read from MH i2c: E2 03 00 78 47 00 90 00 33 [10:55:24]RAPDU: 90 00 [10:55:24]wFMCommunicate OK [10:55:24]wFMCommunicate request_size=255 [10:55:24]MH_SAM_APDU [10:55:24]CAPDU: 80 0D 02 02 FA 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 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 B4 BD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F2 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 54 2F 00 00 00 00 07 04 06 00 B4 BD 01 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 23 90 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 [10:55:24]Write to MH i2c: E2 02 01 79 47 80 0D 02 02 FA 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 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 B4 BD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F2 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 54 2F 00 00 00 00 07 04 06 00 B4 BD 01 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 23 90 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 00 0E [10:55:24]Write i2c OK [10:55:24]MH_I2C_Read... [10:55:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:55:25]Read from MH i2c: E2 [10:55:25]MH_I2C_Read... [10:55:25]Read from MH i2c: E2 03 00 [10:55:25]MH_I2C_Read... [10:55:25]Read from MH i2c: E2 03 00 79 47 00 90 00 34 [10:55:25]RAPDU: 90 00 [10:55:25]wFMCommunicate OK [10:55:25]wFMCommunicate request_size=20 [10:55:25]MH_SAM_APDU [10:55:25]CAPDU: 80 0D 02 02 0F 00 01 0A 00 00 35 04 06 00 44 81 61 AF 1E 62 [10:55:25]Write to MH i2c: E2 17 00 7A 47 80 0D 02 02 0F 00 00 01 0A 00 00 35 04 06 00 44 81 61 AF 1E 62 00 00 F8 [10:55:25]Write i2c OK [10:55:25]MH_I2C_Read... [10:55:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:55:25]Read from MH i2c: E2 [10:55:25]MH_I2C_Read... [10:55:25]Read from MH i2c: E2 03 00 [10:55:25]MH_I2C_Read... [10:55:25]Read from MH i2c: E2 03 00 7A 47 00 90 00 35 [10:55:25]RAPDU: 90 00 [10:55:25]wFMCommunicate OK [10:55:25]wFMCommunicate request_size=4 [10:55:25]MH_SAM_APDU [10:55:25]CAPDU: 80 0D 03 02 [10:55:25]Write to MH i2c: E2 08 00 7B 47 80 0D 03 02 00 00 00 00 3D [10:55:25]Write i2c OK [10:55:25]MH_I2C_Read... [10:55:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:55:25]Read from MH i2c: E2 [10:55:25]MH_I2C_Read... [10:55:25]Read from MH i2c: E2 0B 00 [10:55:25]MH_I2C_Read... [10:55:25]Read from MH i2c: E2 0B 00 7B 47 00 4D C9 D9 D6 37 E9 F1 3A 90 00 4E [10:55:25]RAPDU: 4D C9 D9 D6 37 E9 F1 3A 90 00 [10:55:25]wFMCommunicate OK [10:55:25]SAM_PROTO_SignData done [10:55:25]FM_MakeSignedData done [10:55:25]CreateOFDProtocolMessage [10:55:25]wFMCommunicate request_size=4 [10:55:25]MH_SAM_APDU [10:55:25]CAPDU: 80 11 00 00 [10:55:25]Write to MH i2c: E2 08 00 7C 47 80 11 00 00 00 00 00 00 3D [10:55:25]Write i2c OK [10:55:25]MH_I2C_Read... [10:55:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:55:25]Read from MH i2c: E2 [10:55:25]MH_I2C_Read... [10:55:25]Read from MH i2c: E2 17 00 [10:55:25]MH_I2C_Read... [10:55:25]Read from MH i2c: E2 17 00 7C 47 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 85 [10:55:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [10:55:25]wFMCommunicate OK [10:55:25]CreateOFDProtocolMessage done [10:55:25]OFDSenderStorePacket 2561 [10:55:25]StoreOFDPacket docnum=2561 [10:55:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 07 04 00 00 9E 0B FF 03 B4 8F 5A 03 01 00 03 00 F3 03 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 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 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 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 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 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 B4 BD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F2 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 54 2F 00 00 00 00 07 04 06 00 B4 BD 01 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 23 90 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 01 0A 00 00 35 04 06 00 44 81 61 AF 1E 62 4D C9 D9 D6 37 E9 F1 3A [10:55:25]CheckFolder [10:55:25]dirname=/storage/ofd_packets [10:55:25]CheckFolder done [10:55:25]ProducePacketName [10:55:25]name=ofd_packets/00002561 [10:55:25]NVStorageSaveData ofd_packets/00002561 [10:55:25]File name is /storage/ofd_packets/00002561 [10:55:25]Write 1061 bytes [10:55:25]NVStorageSaveData done [10:55:25]OFDSenderStorePacket done [10:55:25]KKMCreateOFDPacket done [10:55:25]NVStorageSaveData kkm_last_timestamp [10:55:25]File name is /storage/kkm_last_timestamp [10:55:25]Write 4 bytes [10:55:25]NVStorageSaveData done [10:55:25]ExternCall_PrintAddStr [10:55:25]wPrintStart [10:55:25]Write to MH i2c: 01 00 00 7D 47 C4 [10:55:25]Write i2c OK [10:55:25]MH_I2C_Read... [10:55:25]Read from MH i2c: 01 [10:55:25]MH_I2C_Read... [10:55:25]Read from MH i2c: 01 07 00 [10:55:25]MH_I2C_Read... [10:55:25]Read from MH i2c: 01 07 00 7D 47 00 00 00 00 00 FF 0F D9 [10:55:25]RasterBufferAndPrint [10:55:25]line Счет N : (3)99939 [10:55:25]line ИНН: 02508201610067 [10:55:25]line Контрольно-Кассовый Чек [10:55:25]line ПРОДАЖА [10:55:25]line Товар: 50173808 [10:55:25]line Жев Orbit Sweet Mint [10:55:25]line 1.000 * 45.00 [10:55:25]line = 45.00 [10:55:25]line НДС 12% НСП 1% [10:55:25]line > о реализуемом товаре [10:55:25]line Товар: 2000036190018 [10:55:25]line Кофе Американо XL(GABB TRADE) [10:55:25]line 1.000 * 125.00 [10:55:25]line = 125.00 [10:55:25]line НДС 12% НСП 1% [10:55:25]line > о реализуемом товаре [10:55:25]line Товар: 2000036230011 [10:55:25]line Кофе Латте XL(GABB TRADE) [10:55:25]line 1.000 * 130.00 [10:55:25]line = 130.00 [10:55:25]line НДС 12% НСП 1% [10:55:25]line > о реализуемом товаре [10:55:25]line Товар: 4600682557456 [10:55:25]line Напиток FLash up energy эн ж/б 0,5/0,45л [10:55:25]line 1.000 * 69.00 [10:55:25]line = 69.00 [10:55:25]line НДС 12% НСП 1% [10:55:25]line > о реализуемом товаре [10:55:25]line Товар: 4700000480050 [10:55:25]line Напиток Nitro Energy эн green ж/б 0,45л [10:55:25]line 1.000 * 95.00 [10:55:25]line = 95.00 [10:55:25]line НДС 12% НСП 1% [10:55:25]line > о реализуемом товаре [10:55:25]line Товар: 48744119 [10:55:25]line Сигареты Winston Xstyle Dual [10:55:25]line 1.000 * 149.00 [10:55:25]line = 149.00 [10:55:25]line НДС 12% НСП 1% [10:55:25]line > о реализуемом товаре [10:55:25]line Товар: 48744539 [10:55:25]line LD Compact Blue [10:55:25]line 2.000 * 134.00 [10:55:25]line = 268.00 [10:55:25]line НДС 12% НСП 1% [10:55:25]line > о реализуемом товаре [10:55:25]line Товар: 4620006996716 [10:55:25]line Водка Талка 0,1л [10:55:25]line 2.000 * 130.00 [10:55:25]line = 260.00 [10:55:25]line НДС 12% НСП 1% [10:55:25]line > о реализуемом товаре [10:55:25]line ИТОГО: 1141.00 [10:55:25]line НСП 1% : 10.10 [10:55:25]line НДС 12% : 121.16 [10:55:25]line Наличными: 1141.00 [10:55:25]line Безнал.: 0.00 [10:55:25]line Место: АЗС № 162 "Партнер Нефть" [10:55:25]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [10:55:25]line СНО: Общий режим [10:55:25]line Чек 22 19.10.2024 10:55 [10:55:25]line Смена: 23 ФФД: 1.0 [10:55:25]line ЗНМ: 0300000191 [10:55:25]line РНМ: 0000000000207295 [10:55:25]line Версия ККМ: v1.0 [10:55:25]line ФМ: 0000000002342820 [10:55:25]line ФД: 2561 [10:55:25]line ФПД: 75322480336482 [10:55:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T105531&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2561&fm=75322480336482&tin=02508201610067®Number=0000000000207295&sum=114100 [10:55:25]line 0 [10:55:25]written 0, free lines is 4095 [10:55:25]OFD Sender: Processing packet 2561 [packets to send 1, broken 0] [10:55:25]ProducePacketName [10:55:25]name=ofd_packets/00002561 [10:55:25]OFD Sender: To server: pG, [10:55:25]CommunicateWithHost lk.salyk.kg:30040 [10:55:25]ConnectInit lk.salyk.kg [10:55:25]Connected sock=10 [10:55:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 07 04 00 00 9E 0B FF 03 B4 8F 5A 03 01 00 03 00 F3 03 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 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 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 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 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 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 B4 BD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F2 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 54 2F 00 00 00 00 07 04 06 00 B4 BD 01 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 23 90 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 01 0A 00 00 35 04 06 00 44 81 61 AF 1E 62 4D C9 D9 D6 37 E9 F1 3A [10:55:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 D7 1F 47 00 19 CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 01 0A 00 00 F4 03 04 00 86 3B 13 67 B6 04 01 00 00 91 AD 37 61 7F 13 C8 68 [10:55:26]CommunicateWithHost err = 0 [10:55:26]CheckOFDResponse [10:55:26]1017 (14) - 77093643461234 [10:55:26]1041 (16) - 0000000002342820 [10:55:26]1040 (4) - 2561 [10:55:26]1012 (4) - 19.10.2024 04:54 [10:55:26]1206 (1) - 0 [10:55:26]OFD Sender: Remove packet 2561 [10:55:26]ProducePacketName [10:55:26]name=ofd_packets/00002561 [10:55:26]NVStorageDeleteData [10:55:26]Write to MH i2c: 01 00 00 D2 47 19 [10:55:26]Write i2c OK [10:55:26]MH_I2C_Read... [10:55:26]Read from MH i2c: 01 [10:55:26]MH_I2C_Read... [10:55:26]Read from MH i2c: 01 07 00 [10:55:26]MH_I2C_Read... [10:55:26]Read from MH i2c: 01 07 00 D2 47 00 00 00 00 00 AF 09 D8 [10:55:26]RasterBufferAndPrint [10:55:26]line [10:55:26]line [10:55:26]line [10:55:26]line [10:55:26]line [10:55:26]written 0, free lines is 2491 [10:55:26]MH_Cut [10:55:26]Write to MH i2c: D1 01 00 D9 47 01 F2 [10:55:26]Write i2c OK [10:55:26]MH_I2C_Read... [10:55:26]Read from MH i2c: D1 [10:55:26]MH_I2C_Read... [10:55:26]Read from MH i2c: D1 01 00 [10:55:26]MH_I2C_Read... [10:55:26]Read from MH i2c: D1 01 00 D9 47 00 F1 [10:55:26]Write to MH i2c: 01 00 00 DA 47 21 [10:55:26]Write i2c OK [10:55:26]MH_I2C_Read... [10:55:26]OFD Sender: No OFD packet to send [10:55:28]*** Cut start [10:55:28]*** Partial cut [10:55:28]*** CUTSNS_PIN = 1 [10:55:28]*** CUTSNS_PIN = 0 [10:55:28]*** Brake cut motor [10:55:28]Read from MH i2c: 01 [10:55:28]MH_I2C_Read... [10:55:28]*** Stop cut motor [10:55:28]*** Cut end [10:55:28]Read from MH i2c: 01 07 00 [10:55:28]MH_I2C_Read... [10:55:28]Read from MH i2c: 01 07 00 DA 47 00 00 00 00 00 FF 0F 36 [10:55:28]process_action close_receipt done [10:55:28]requested_data is exist [10:55:28]produce_requested_data [10:55:28]requested_item fm.sn is exist - process it [10:55:28]wFMCommunicate request_size=4 [10:55:28]MH_SAM_APDU [10:55:28]CAPDU: 80 11 00 00 [10:55:28]Write to MH i2c: E2 08 00 DB 47 80 11 00 00 00 00 00 00 9C [10:55:28]Write i2c OK [10:55:28]MH_I2C_Read... [10:55:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:55:28]Read from MH i2c: E2 [10:55:28]MH_I2C_Read... [10:55:28]Read from MH i2c: E2 17 00 [10:55:28]MH_I2C_Read... [10:55:28]Read from MH i2c: E2 17 00 DB 47 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 E4 [10:55:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [10:55:28]wFMCommunicate OK [10:55:28]requested_item fd.num is exist - process it [10:55:28]SAM_PROTO_GetFieldsCounters [10:55:28]wFMCommunicate request_size=4 [10:55:28]MH_SAM_APDU [10:55:28]CAPDU: 80 13 00 00 [10:55:28]Write to MH i2c: E2 08 00 DC 47 80 13 00 00 00 00 00 00 9F [10:55:28]Write i2c OK [10:55:28]MH_I2C_Read... [10:55:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:55:28]Read from MH i2c: E2 [10:55:28]MH_I2C_Read... [10:55:28]Read from MH i2c: E2 62 00 [10:55:28]MH_I2C_Read... [10:55:28]Read from MH i2c: E2 62 00 DC 47 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 01 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 19 [10:55:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 01 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:55:28]wFMCommunicate OK [10:55:28]SAM_PROTO_GetFieldsCounters done [10:55:28]requested_item shift.num is exist - process it [10:55:28]requested_item shift.opened is exist - process it [10:55:28]req_shift_opened [10:55:28]FM_GetShiftState [10:55:28]SAM_PROTO_GetShiftState [10:55:28]wFMCommunicate request_size=4 [10:55:28]MH_SAM_APDU [10:55:28]CAPDU: 80 13 01 00 [10:55:28]Write to MH i2c: E2 08 00 DD 47 80 13 01 00 00 00 00 00 A1 [10:55:28]Write i2c OK [10:55:28]MH_I2C_Read... [10:55:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:55:29]Read from MH i2c: E2 [10:55:29]MH_I2C_Read... [10:55:29]Read from MH i2c: E2 0E 00 [10:55:29]MH_I2C_Read... [10:55:29]Read from MH i2c: E2 0E 00 DD 47 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 4A [10:55:29]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [10:55:29]wFMCommunicate OK [10:55:29]SAM_PROTO_GetShiftState done [10:55:29]FM_GetShiftState done [10:55:29]req_shift_opened done [10:55:29]requested_item shift.open_date is exist - process it [10:55:29]req_shift_open_date [10:55:29]req_shift_open_date done [10:55:29]produce_requested_data done [10:55:29]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2561,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [10:55:29]process_action_free close_receipt [10:55:29]json_value_free [10:55:29]json_value_free done [10:55:29]process_json_proto returns [10:55:29]Send response to host [10:55:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2561,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [10:55:29]free response buf [10:55:29]execute_script done [10:55:29]execute_script returns [10:55:29]free content buf [10:55:29]Sock 7.Close socket [10:55:29]Sock 7.Thread stoped [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:52]OFD Sender: No OFD packet to send [10:58:57]OFD Sender: No OFD packet to send [10:59:02]OFD Sender: No OFD packet to send [10:59:07]OFD Sender: No OFD packet to send [10:59:12]OFD Sender: No OFD packet to send [10:59:17]OFD Sender: No OFD packet to send [10:59:22]OFD Sender: No OFD packet to send [10:59:27]OFD Sender: No OFD packet to send [10:59:32]OFD Sender: No OFD packet to send [10:59:37]OFD Sender: No OFD packet to send [10:59:42]OFD Sender: No OFD packet to send [10:59:47]OFD Sender: No OFD packet to send [10:59:52]OFD Sender: No OFD packet to send [10:59:57]OFD Sender: No OFD packet to send [11:00:02]OFD Sender: No OFD packet to send [11:00:07]OFD Sender: No OFD packet to send [11:00:12]OFD Sender: No OFD packet to send [11:00:17]OFD Sender: No OFD packet to send [11:00:22]OFD Sender: No OFD packet to send [11:00:27]OFD Sender: No OFD packet to send [11:00:32]OFD Sender: No OFD packet to send [11:00:37]OFD Sender: No OFD packet to send [11:00:42]OFD Sender: No OFD packet to send [11:00:47]OFD Sender: No OFD packet to send [11:00:52]OFD Sender: No OFD packet to send [11:00:57]OFD Sender: No OFD packet to send [11:01:02]OFD Sender: No OFD packet to send [11:01:07]OFD Sender: No OFD packet to send [11:01:12]OFD Sender: No OFD packet to send [11:01:17]OFD Sender: No OFD packet to send [11:01:22]OFD Sender: No OFD packet to send [11:01:27]OFD Sender: No OFD packet to send [11:01:32]OFD Sender: No OFD packet to send [11:01:37]OFD Sender: No OFD packet to send [11:01:42]OFD Sender: No OFD packet to send [11:01:47]OFD Sender: No OFD packet to send [11:01:52]OFD Sender: No OFD packet to send [11:01:57]OFD Sender: No OFD packet to send [11:02:02]OFD Sender: No OFD packet to send [11:02:07]OFD Sender: No OFD packet to send [11:02:12]OFD Sender: No OFD packet to send [11:02:17]OFD Sender: No OFD packet to send [11:02:22]OFD Sender: No OFD packet to send [11:02:27]OFD Sender: No OFD packet to send [11:02:32]OFD Sender: No OFD packet to send [11:02:37]OFD Sender: No OFD packet to send [11:02:42]OFD Sender: No OFD packet to send [11:02:47]OFD Sender: No OFD packet to send [11:02:52]OFD Sender: No OFD packet to send [11:02:57]OFD Sender: No OFD packet to send [11:03:02]OFD Sender: No OFD packet to send [11:03:07]OFD Sender: No OFD packet to send [11:03:12]OFD Sender: No OFD packet to send [11:03:17]OFD Sender: No OFD packet to send [11:03:22]OFD Sender: No OFD packet to send [11:03:27]OFD Sender: No OFD packet to send [11:03:32]OFD Sender: No OFD packet to send [11:03:37]OFD Sender: No OFD packet to send [11:03:42]OFD Sender: No OFD packet to send [11:03:47]OFD Sender: No OFD packet to send [11:03:52]OFD Sender: No OFD packet to send [11:03:57]OFD Sender: No OFD packet to send [11:04:02]OFD Sender: No OFD packet to send [11:04:07]OFD Sender: No OFD packet to send [11:04:12]OFD Sender: No OFD packet to send [11:04:17]OFD Sender: No OFD packet to send [11:04:22]OFD Sender: No OFD packet to send [11:04:27]OFD Sender: No OFD packet to send [11:04:32]OFD Sender: No OFD packet to send [11:04:37]OFD Sender: No OFD packet to send [11:04:42]OFD Sender: No OFD packet to send [11:04:47]OFD Sender: No OFD packet to send [11:04:52]OFD Sender: No OFD packet to send [11:04:57]OFD Sender: No OFD packet to send [11:05:02]OFD Sender: No OFD packet to send [11:05:07]OFD Sender: No OFD packet to send [11:05:12]OFD Sender: No OFD packet to send [11:05:17]OFD Sender: No OFD packet to send [11:05:21]accept exits with 9 [11:05:21]New connection [11:05:21]New thread 3066850660 created [11:05:21]Thread 3066707300 joined [11:05:21]Waiting for new connection... [11:05:21] Sock 9.Parse request [11:05:21]Sock 9.Check first char [11:05:21]Sock 9.First char is OK [11:05:21]request: POST /json_proto HTTP/1.0 [11:05:21]Method: POST [11:05:21]URL: /json_proto [11:05:21]Method is POST - this is cgi request [11:05:21]url: /json_proto [11:05:21]query_string will be loaded in cgi processing [11:05:21]execute_cgi json_proto POST (null) [11:05:21]execute_cgi path=json_proto method=POST [11:05:21]POST find Content-Length [11:05:21]Host: 172.17.52.132:8080 [11:05:21]Content-Length: 746 [11:05:21]Content-Type: application/json [11:05:21] [11:05:21]POST finish read [11:05:21]Found Content-Length = 746 [11:05:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99940", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:21]execute_script... [11:05: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)99940", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:21]POST & json_proto [11:05:21]process_json_proto [11:05:21]json parsed OK: [11:05:21]protocol is kg_v1.0 [11:05:21]action value=close_receipt [11:05:21]process_action close_receipt [11:05:21]cmd_close_receipt [11:05:21]MH_GetDate [11:05:21]Write to MH i2c: F0 00 00 DE 47 14 [11:05:21]Write i2c OK [11:05:21]MH_I2C_Read... [11:05:21]Read from MH i2c: F0 [11:05:21]MH_I2C_Read... [11:05:21]Read from MH i2c: F0 09 00 [11:05:21]MH_I2C_Read... [11:05:21]Read from MH i2c: F0 09 00 DE 47 00 7A 92 13 67 5A BE F6 66 17 [11:05:21]GetLastDocTimeStamp 1729335331 [11:05:21]current date 1729335930 [11:05:21]FM_GetShiftState [11:05:21]SAM_PROTO_GetShiftState [11:05:21]wFMCommunicate request_size=4 [11:05:21]MH_SAM_APDU [11:05:21]CAPDU: 80 13 01 00 [11:05:21]Write to MH i2c: E2 08 00 DF 47 80 13 01 00 00 00 00 00 A3 [11:05:21]Write i2c OK [11:05:21]MH_I2C_Read... [11:05:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:21]Read from MH i2c: E2 [11:05:21]MH_I2C_Read... [11:05:21]Read from MH i2c: E2 0E 00 [11:05:21]MH_I2C_Read... [11:05:21]Read from MH i2c: E2 0E 00 DF 47 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 4C [11:05:21]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [11:05:21]wFMCommunicate OK [11:05:21]SAM_PROTO_GetShiftState done [11:05:21]FM_GetShiftState done [11:05:21]opened in 1729296173 [11:05:21]opened+sec_in_day 1729382573 [11:05:21]quantity*price = 15000 [11:05:21]sum+1 = 15001 [11:05:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 0.00 Безнал.: 150.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 23 19.10.2024 11:05 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2562 ФПД: 60374191372386 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T110530&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2562&fm=60374191372386&tin=02508201610067®Number=0000000000207295&sum=15000 0 [11:05:22]StoreToDocumentArchive [11:05:22]shift 23 fd 2562 [11:05:22]save to /storage/0023/doc_00002562 [11:05:22]save last doc name /storage/0023/doc_00002562 to /storage/kkm_last_doc_name [11:05:22]save OK [11:05:22]Clear old archive folders... [11:05:22]ProcessDocumentItem done err = 0, tmpTLVsize=272 [11:05:22]tlvbuf is 01435B80 [11:05:22]SAM_PROTO_ClearQueue [11:05:22]wFMCommunicate request_size=4 [11:05:22]MH_SAM_APDU [11:05:22]CAPDU: 80 09 00 00 [11:05:22]Write to MH i2c: E2 08 00 EC 47 80 09 00 00 00 00 00 00 A5 [11:05:22]Write i2c OK [11:05:22]MH_I2C_Read... [11:05:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:05:22]Read from MH i2c: E2 [11:05:22]MH_I2C_Read... [11:05:22]Read from MH i2c: E2 03 00 [11:05:22]MH_I2C_Read... [11:05:22]Read from MH i2c: E2 03 00 EC 47 00 90 00 A7 [11:05:22]RAPDU: 90 00 [11:05:22]wFMCommunicate OK [11:05:22]SAM_PROTO_ClearQueue done [11:05:22]KKMCreateOFDPacket [11:05:22]OFDProtocolAddRootSTLVToBuf [11:05:22]FM_MakeSignedData [11:05:22]FM_MakeSignedData [11:05:22]SAM_PROTO_SignData [11:05:22]wFMCommunicate request_size=4 [11:05:22]MH_SAM_APDU [11:05:22]CAPDU: 80 0D 01 02 [11:05:22]Write to MH i2c: E2 08 00 ED 47 80 0D 01 02 00 00 00 00 AD [11:05:22]Write i2c OK [11:05:22]MH_I2C_Read... [11:05:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:05:22]Read from MH i2c: E2 [11:05:22]MH_I2C_Read... [11:05:22]Read from MH i2c: E2 03 00 [11:05:22]MH_I2C_Read... [11:05:22]Read from MH i2c: E2 03 00 ED 47 00 90 00 A8 [11:05:22]RAPDU: 90 00 [11:05:22]wFMCommunicate OK [11:05:22]wFMCommunicate request_size=255 [11:05:22]MH_SAM_APDU [11:05:22]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 7A 92 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 [11:05:22]Write to MH i2c: E2 02 01 EE 47 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 7A 92 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 00 00 E9 [11:05:22]Write i2c OK [11:05:22]MH_I2C_Read... [11:05:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:22]Read from MH i2c: E2 [11:05:22]MH_I2C_Read... [11:05:22]Read from MH i2c: E2 03 00 [11:05:22]MH_I2C_Read... [11:05:22]Read from MH i2c: E2 03 00 EE 47 00 90 00 A9 [11:05:22]RAPDU: 90 00 [11:05:22]wFMCommunicate OK [11:05:22]wFMCommunicate request_size=31 [11:05:22]MH_SAM_APDU [11:05:22]CAPDU: 80 0D 02 02 1A 30 32 33 34 32 38 32 30 10 04 04 00 02 0A 00 00 35 04 06 00 36 E8 F6 3A F8 62 [11:05:22]Write to MH i2c: E2 22 00 EF 47 80 0D 02 02 1A 00 30 32 33 34 32 38 32 30 10 04 04 00 02 0A 00 00 35 04 06 00 36 E8 F6 3A F8 62 00 00 84 [11:05:22]Write i2c OK [11:05:22]MH_I2C_Read... [11:05:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:22]Read from MH i2c: E2 [11:05:22]MH_I2C_Read... [11:05:22]Read from MH i2c: E2 03 00 [11:05:22]MH_I2C_Read... [11:05:22]Read from MH i2c: E2 03 00 EF 47 00 90 00 AA [11:05:22]RAPDU: 90 00 [11:05:22]wFMCommunicate OK [11:05:22]wFMCommunicate request_size=4 [11:05:22]MH_SAM_APDU [11:05:22]CAPDU: 80 0D 03 02 [11:05:22]Write to MH i2c: E2 08 00 F0 47 80 0D 03 02 00 00 00 00 B2 [11:05:22]Write i2c OK [11:05:22]MH_I2C_Read... [11:05:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:05:22]Read from MH i2c: E2 [11:05:22]MH_I2C_Read... [11:05:22]Read from MH i2c: E2 0B 00 [11:05:22]MH_I2C_Read... [11:05:22]Read from MH i2c: E2 0B 00 F0 47 00 A4 53 4C 9E C2 D0 0E 51 90 00 85 [11:05:22]RAPDU: A4 53 4C 9E C2 D0 0E 51 90 00 [11:05:22]wFMCommunicate OK [11:05:22]SAM_PROTO_SignData done [11:05:22]FM_MakeSignedData done [11:05:22]CreateOFDProtocolMessage [11:05:22]wFMCommunicate request_size=4 [11:05:22]MH_SAM_APDU [11:05:22]CAPDU: 80 11 00 00 [11:05:22]Write to MH i2c: E2 08 00 F1 47 80 11 00 00 00 00 00 00 B2 [11:05:22]Write i2c OK [11:05:22]MH_I2C_Read... [11:05:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:23]Read from MH i2c: E2 [11:05:23]MH_I2C_Read... [11:05:23]Read from MH i2c: E2 17 00 [11:05:23]MH_I2C_Read... [11:05:23]Read from MH i2c: E2 17 00 F1 47 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 FA [11:05:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:05:23]wFMCommunicate OK [11:05:23]CreateOFDProtocolMessage done [11:05:23]OFDSenderStorePacket 2562 [11:05:23]StoreOFDPacket docnum=2562 [11:05:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 24 01 00 00 4B 46 1C 01 7C F1 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 7A 92 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 02 0A 00 00 35 04 06 00 36 E8 F6 3A F8 62 A4 53 4C 9E C2 D0 0E 51 [11:05:23]CheckFolder [11:05:23]dirname=/storage/ofd_packets [11:05:23]CheckFolder done [11:05:23]ProducePacketName [11:05:23]name=ofd_packets/00002562 [11:05:23]NVStorageSaveData ofd_packets/00002562 [11:05:23]File name is /storage/ofd_packets/00002562 [11:05:23]Write 322 bytes [11:05:23]NVStorageSaveData done [11:05:23]OFDSenderStorePacket done [11:05:23]KKMCreateOFDPacket done [11:05:23]NVStorageSaveData kkm_last_timestamp [11:05:23]File name is /storage/kkm_last_timestamp [11:05:23]Write 4 bytes [11:05:23]NVStorageSaveData done [11:05:23]ExternCall_PrintAddStr [11:05:23]wPrintStart [11:05:23]Write to MH i2c: 01 00 00 F2 47 39 [11:05:23]OFD Sender: Processing packet 2562 [packets to send 1, broken 0] [11:05:23]ProducePacketName [11:05:23]name=ofd_packets/00002562 [11:05:23]OFD Sender: To server: pG, [11:05:23]CommunicateWithHost lk.salyk.kg:30040 [11:05:23]ConnectInit lk.salyk.kg [11:05:23]Write i2c OK [11:05:23]MH_I2C_Read... [11:05:23]Read from MH i2c: 01 [11:05:23]MH_I2C_Read... [11:05:23]Read from MH i2c: 01 07 00 [11:05:23]MH_I2C_Read... [11:05:23]Read from MH i2c: 01 07 00 F2 47 00 00 00 00 00 FF 0F 4E [11:05:23]RasterBufferAndPrint [11:05:23]line Счет N : (3)99940 [11:05:23]line ИНН: 02508201610067 [11:05:23]line Контрольно-Кассовый Чек [11:05:23]line ПРОДАЖА [11:05:23]line Товар: 4640030091607 [11:05:23]line Сигареты ESSE Exchange [11:05:23]line 1.000 * 150.00 [11:05:23]line = 150.00 [11:05:23]line НДС 12% НСП 1% [11:05:23]line > о реализуемом товаре [11:05:23]line ИТОГО: 150.00 [11:05:23]line НСП 1% : 1.33 [11:05:23]line НДС 12% : 15.93 [11:05:23]line Наличными: 0.00 [11:05:23]line Безнал.: 150.00 [11:05:23]line Место: АЗС № 162 "Партнер Нефть" [11:05:23]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:05:23]line СНО: Общий режим [11:05:23]line Чек 23 19.10.2024 11:05 [11:05:23]line Смена: 23 ФФД: 1.0 [11:05:23]line ЗНМ: 0300000191 [11:05:23]line РНМ: 0000000000207295 [11:05:23]line Версия ККМ: v1.0 [11:05:23]line Платежная система: Mbank [11:05:23]line ФМ: 0000000002342820 [11:05:23]line ФД: 2562 [11:05:23]line ФПД: 60374191372386 [11:05:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T110530&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2562&fm=60374191372386&tin=02508201610067®Number=0000000000207295&sum=15000 [11:05:23]line 0 [11:05:23]Connected sock=10 [11:05:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 24 01 00 00 4B 46 1C 01 7C F1 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 7A 92 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 02 0A 00 00 35 04 06 00 36 E8 F6 3A F8 62 A4 53 4C 9E C2 D0 0E 51 [11:05:23]written 0, free lines is 4095 [11:05:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 18 15 47 00 C1 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 32 33 34 32 38 32 30 10 04 04 00 02 0A 00 00 F4 03 04 00 DB 3D 13 67 B6 04 01 00 00 F3 E8 3C 02 9D 3E 1F 75 [11:05:23]CommunicateWithHost err = 0 [11:05:23]CheckOFDResponse [11:05:23]1017 (14) - 77093643461234 [11:05:23]1041 (16) - 0000000002342820 [11:05:23]1040 (4) - 2562 [11:05:23]1012 (4) - 19.10.2024 05:04 [11:05:23]1206 (1) - 0 [11:05:23]OFD Sender: Remove packet 2562 [11:05:23]ProducePacketName [11:05:23]name=ofd_packets/00002562 [11:05:23]NVStorageDeleteData [11:05:23]Write to MH i2c: 01 00 00 1B 48 63 [11:05:23]Write i2c OK [11:05:23]MH_I2C_Read... [11:05:23]Read from MH i2c: 01 [11:05:23]MH_I2C_Read... [11:05:23]Read from MH i2c: 01 07 00 [11:05:23]MH_I2C_Read... [11:05:23]Read from MH i2c: 01 07 00 1B 48 00 00 00 00 00 B1 0C 27 [11:05:23]RasterBufferAndPrint [11:05:23]line [11:05:23]line [11:05:23]line [11:05:23]line [11:05:23]line [11:05:23]written 0, free lines is 3255 [11:05:23]MH_Cut [11:05:23]Write to MH i2c: D1 01 00 22 48 01 3C [11:05:23]Write i2c OK [11:05:23]MH_I2C_Read... [11:05:23]Read from MH i2c: D1 [11:05:23]MH_I2C_Read... [11:05:23]Read from MH i2c: D1 01 00 [11:05:23]MH_I2C_Read... [11:05:23]Read from MH i2c: D1 01 00 22 48 00 3B [11:05:23]Write to MH i2c: 01 00 00 23 48 6B [11:05:23]Write i2c OK [11:05:23]MH_I2C_Read... [11:05:24]OFD Sender: No OFD packet to send [11:05:24]*** Cut start [11:05:24]*** Partial cut [11:05:24]*** CUTSNS_PIN = 1 [11:05:24]*** CUTSNS_PIN = 0 [11:05:25]*** Brake cut motor [11:05:25]Read from MH i2c: 01 [11:05:25]MH_I2C_Read... [11:05:25]*** Stop cut motor [11:05:25]*** Cut end [11:05:25]Read from MH i2c: 01 07 00 [11:05:25]MH_I2C_Read... [11:05:25]Read from MH i2c: 01 07 00 23 48 00 00 00 00 00 FF 0F 80 [11:05:25]process_action close_receipt done [11:05:25]requested_data is exist [11:05:25]produce_requested_data [11:05:25]requested_item fm.sn is exist - process it [11:05:25]wFMCommunicate request_size=4 [11:05:25]MH_SAM_APDU [11:05:25]CAPDU: 80 11 00 00 [11:05:25]Write to MH i2c: E2 08 00 24 48 80 11 00 00 00 00 00 00 E6 [11:05:25]Write i2c OK [11:05:25]MH_I2C_Read... [11:05:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:25]Read from MH i2c: E2 [11:05:25]MH_I2C_Read... [11:05:25]Read from MH i2c: E2 17 00 [11:05:25]MH_I2C_Read... [11:05:25]Read from MH i2c: E2 17 00 24 48 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 2E [11:05:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:05:25]wFMCommunicate OK [11:05:25]requested_item fd.num is exist - process it [11:05:25]SAM_PROTO_GetFieldsCounters [11:05:25]wFMCommunicate request_size=4 [11:05:25]MH_SAM_APDU [11:05:25]CAPDU: 80 13 00 00 [11:05:25]Write to MH i2c: E2 08 00 25 48 80 13 00 00 00 00 00 00 E9 [11:05:25]Write i2c OK [11:05:25]MH_I2C_Read... [11:05:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:05:25]Read from MH i2c: E2 [11:05:25]MH_I2C_Read... [11:05:25]Read from MH i2c: E2 62 00 [11:05:25]MH_I2C_Read... [11:05:25]Read from MH i2c: E2 62 00 25 48 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 02 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 67 [11:05:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 02 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:05:25]wFMCommunicate OK [11:05:25]SAM_PROTO_GetFieldsCounters done [11:05:25]requested_item shift.num is exist - process it [11:05:25]requested_item shift.opened is exist - process it [11:05:25]req_shift_opened [11:05:25]FM_GetShiftState [11:05:25]SAM_PROTO_GetShiftState [11:05:25]wFMCommunicate request_size=4 [11:05:25]MH_SAM_APDU [11:05:25]CAPDU: 80 13 01 00 [11:05:25]Write to MH i2c: E2 08 00 26 48 80 13 01 00 00 00 00 00 EB [11:05:25]Write i2c OK [11:05:25]MH_I2C_Read... [11:05:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:25]Read from MH i2c: E2 [11:05:25]MH_I2C_Read... [11:05:25]Read from MH i2c: E2 0E 00 [11:05:25]MH_I2C_Read... [11:05:25]Read from MH i2c: E2 0E 00 26 48 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 94 [11:05:25]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [11:05:25]wFMCommunicate OK [11:05:25]SAM_PROTO_GetShiftState done [11:05:25]FM_GetShiftState done [11:05:25]req_shift_opened done [11:05:25]requested_item shift.open_date is exist - process it [11:05:25]req_shift_open_date [11:05:25]req_shift_open_date done [11:05:25]produce_requested_data done [11:05:25]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2562,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [11:05:25]process_action_free close_receipt [11:05:25]json_value_free [11:05:25]json_value_free done [11:05:25]process_json_proto returns [11:05:25]Send response to host [11:05:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2562,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [11:05:25]free response buf [11:05:25]execute_script done [11:05:25]execute_script returns [11:05:25]free content buf [11:05:25]Sock 9.Close socket [11:05:25]Sock 9.Thread stoped [11:05:29]OFD Sender: No OFD packet to send [11:05:34]OFD Sender: No OFD packet to send [11:05:39]OFD Sender: No OFD packet to send [11:05:44]OFD Sender: No OFD packet to send [11:05:49]OFD Sender: No OFD packet to send [11:05:54]OFD Sender: No OFD packet to send [11:05:59]OFD Sender: No OFD packet to send [11:06:04]OFD Sender: No OFD packet to send [11:06:09]OFD Sender: No OFD packet to send [11:06:14]OFD Sender: No OFD packet to send [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:44]OFD Sender: No OFD packet to send [11:07:49]OFD Sender: No OFD packet to send [11:07:54]OFD Sender: No OFD packet to send [11:07:59]OFD Sender: No OFD packet to send [11:08:04]OFD Sender: No OFD packet to send [11:08:09]OFD Sender: No OFD packet to send [11:08:14]OFD Sender: No OFD packet to send [11:08:19]OFD Sender: No OFD packet to send [11:08:24]OFD Sender: No OFD packet to send [11:08:29]OFD Sender: No OFD packet to send [11:08:34]OFD Sender: No OFD packet to send [11:08:39]OFD Sender: No OFD packet to send [11:08:44]OFD Sender: No OFD packet to send [11:08:49]OFD Sender: No OFD packet to send [11:08:54]OFD Sender: No OFD packet to send [11:08:59]OFD Sender: No OFD packet to send [11:09:04]OFD Sender: No OFD packet to send [11:09:09]OFD Sender: No OFD packet to send [11:09:14]OFD Sender: No OFD packet to send [11:09:19]OFD Sender: No OFD packet to send [11:09:24]OFD Sender: No OFD packet to send [11:09:29]OFD Sender: No OFD packet to send [11:09:34]OFD Sender: No OFD packet to send [11:09:39]OFD Sender: No OFD packet to send [11:09:44]OFD Sender: No OFD packet to send [11:09:49]OFD Sender: No OFD packet to send [11:09:54]OFD Sender: No OFD packet to send [11:09:59]OFD Sender: No OFD packet to send [11:10:04]OFD Sender: No OFD packet to send [11:10:09]OFD Sender: No OFD packet to send [11:10:14]OFD Sender: No OFD packet to send [11:10:19]OFD Sender: No OFD packet to send [11:10:24]OFD Sender: No OFD packet to send [11:10:29]OFD Sender: No OFD packet to send [11:10:34]OFD Sender: No OFD packet to send [11:10:39]OFD Sender: No OFD packet to send [11:10:44]OFD Sender: No OFD packet to send [11:10:49]OFD Sender: No OFD packet to send [11:10:54]OFD Sender: No OFD packet to send [11:10:59]OFD Sender: No OFD packet to send [11:11:04]OFD Sender: No OFD packet to send [11:11:09]OFD Sender: No OFD packet to send [11:11:14]OFD Sender: No OFD packet to send [11:11:19]OFD Sender: No OFD packet to send [11:11:24]OFD Sender: No OFD packet to send [11:11:29]OFD Sender: No OFD packet to send [11:11:34]OFD Sender: No OFD packet to send [11:11:39]OFD Sender: No OFD packet to send [11:11:44]OFD Sender: No OFD packet to send [11:11:49]OFD Sender: No OFD packet to send [11:11:54]OFD Sender: No OFD packet to send [11:11:59]OFD Sender: No OFD packet to send [11:12:04]OFD Sender: No OFD packet to send [11:12:09]OFD Sender: No OFD packet to send [11:12:14]OFD Sender: No OFD packet to send [11:12:19]OFD Sender: No OFD packet to send [11:12:24]OFD Sender: No OFD packet to send [11:12:29]OFD Sender: No OFD packet to send [11:12:34]OFD Sender: No OFD packet to send [11:12:39]OFD Sender: No OFD packet to send [11:12:44]OFD Sender: No OFD packet to send [11:12:49]OFD Sender: No OFD packet to send [11:12:54]OFD Sender: No OFD packet to send [11:12:59]OFD Sender: No OFD packet to send [11:13:04]OFD Sender: No OFD packet to send [11:13:09]OFD Sender: No OFD packet to send [11:13:14]OFD Sender: No OFD packet to send [11:13:19]OFD Sender: No OFD packet to send [11:13:24]OFD Sender: No OFD packet to send [11:13:29]OFD Sender: No OFD packet to send [11:13:34]OFD Sender: No OFD packet to send [11:13:39]OFD Sender: No OFD packet to send [11:13:44]OFD Sender: No OFD packet to send [11:13:49]OFD Sender: No OFD packet to send [11:13:54]OFD Sender: No OFD packet to send [11:13:59]OFD Sender: No OFD packet to send [11:14:04]OFD Sender: No OFD packet to send [11:14:09]OFD Sender: No OFD packet to send [11:14:14]OFD Sender: No OFD packet to send [11:14:19]OFD Sender: No OFD packet to send [11:14:24]OFD Sender: No OFD packet to send [11:14:29]OFD Sender: No OFD packet to send [11:14:34]OFD Sender: No OFD packet to send [11:14:39]OFD Sender: No OFD packet to send [11:14:44]OFD Sender: No OFD packet to send [11:14:49]OFD Sender: No OFD packet to send [11:14:54]OFD Sender: No OFD packet to send [11:14:59]OFD Sender: No OFD packet to send [11:15:04]OFD Sender: No OFD packet to send [11:15:09]OFD Sender: No OFD packet to send [11:15:14]OFD Sender: No OFD packet to send [11:15:19]OFD Sender: No OFD packet to send [11:15:24]OFD Sender: No OFD packet to send [11:15:29]OFD Sender: No OFD packet to send [11:15:34]OFD Sender: No OFD packet to send [11:15:39]OFD Sender: No OFD packet to send [11:15:44]OFD Sender: No OFD packet to send [11:15:49]OFD Sender: No OFD packet to send [11:15:54]OFD Sender: No OFD packet to send [11:15:59]OFD Sender: No OFD packet to send [11:16:04]OFD Sender: No OFD packet to send [11:16:09]OFD Sender: No OFD packet to send [11:16:14]OFD Sender: No OFD packet to send [11:16:19]OFD Sender: No OFD packet to send [11:16:24]OFD Sender: No OFD packet to send [11:16:29]OFD Sender: No OFD packet to send [11:16:34]OFD Sender: No OFD packet to send [11:16:39]OFD Sender: No OFD packet to send [11:16:44]OFD Sender: No OFD packet to send [11:16:49]OFD Sender: No OFD packet to send [11:16:54]OFD Sender: No OFD packet to send [11:16:59]OFD Sender: No OFD packet to send [11:17:04]OFD Sender: No OFD packet to send [11:17:09]OFD Sender: No OFD packet to send [11:17:14]OFD Sender: No OFD packet to send [11:17:19]OFD Sender: No OFD packet to send [11:17:24]OFD Sender: No OFD packet to send [11:17:29]OFD Sender: No OFD packet to send [11:17:34]OFD Sender: No OFD packet to send [11:17:39]OFD Sender: No OFD packet to send [11:17:44]OFD Sender: No OFD packet to send [11:17:49]OFD Sender: No OFD packet to send [11:17:54]OFD Sender: No OFD packet to send [11:17:59]OFD Sender: No OFD packet to send [11:18:04]OFD Sender: No OFD packet to send [11:18:09]OFD Sender: No OFD packet to send [11:18:14]OFD Sender: No OFD packet to send [11:18:19]OFD Sender: No OFD packet to send [11:18:24]OFD Sender: No OFD packet to send [11:18:29]OFD Sender: No OFD packet to send [11:18:34]OFD Sender: No OFD packet to send [11:18:39]OFD Sender: No OFD packet to send [11:18:44]OFD Sender: No OFD packet to send [11:18:49]OFD Sender: No OFD packet to send [11:18:54]OFD Sender: No OFD packet to send [11:18:59]OFD Sender: No OFD packet to send [11:19:04]OFD Sender: No OFD packet to send [11:19:09]OFD Sender: No OFD packet to send [11:19:14]OFD Sender: No OFD packet to send [11:19:19]OFD Sender: No OFD packet to send [11:19:24]OFD Sender: No OFD packet to send [11:19:29]OFD Sender: No OFD packet to send [11:19:34]OFD Sender: No OFD packet to send [11:19:39]OFD Sender: No OFD packet to send [11:19:44]OFD Sender: No OFD packet to send [11:19:49]OFD Sender: No OFD packet to send [11:19:54]OFD Sender: No OFD packet to send [11:19:59]OFD Sender: No OFD packet to send [11:20:04]OFD Sender: No OFD packet to send [11:20:09]OFD Sender: No OFD packet to send [11:20:14]OFD Sender: No OFD packet to send [11:20:19]OFD Sender: No OFD packet to send [11:20:24]OFD Sender: No OFD packet to send [11:20:29]OFD Sender: No OFD packet to send [11:20:34]OFD Sender: No OFD packet to send [11:20:39]OFD Sender: No OFD packet to send [11:20:44]OFD Sender: No OFD packet to send [11:20:49]OFD Sender: No OFD packet to send [11:20:54]OFD Sender: No OFD packet to send [11:20:59]OFD Sender: No OFD packet to send [11:21:04]OFD Sender: No OFD packet to send [11:21:09]OFD Sender: No OFD packet to send [11:21:14]OFD Sender: No OFD packet to send [11:21:19]OFD Sender: No OFD packet to send [11:21:24]OFD Sender: No OFD packet to send [11:21: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:26]accept exits with 7 [11:22:26]New connection [11:22:26]New thread 3066707300 created [11:22:26]Thread 3066850660 joined [11:22:26]Waiting for new connection... [11:22:26] Sock 7.Parse request [11:22:26]Sock 7.Check first char [11:22:26]Sock 7.First char is OK [11:22:26]request: POST /json_proto HTTP/1.0 [11:22:26]Method: POST [11:22:26]URL: /json_proto [11:22:26]Method is POST - this is cgi request [11:22:26]url: /json_proto [11:22:26]query_string will be loaded in cgi processing [11:22:26]execute_cgi json_proto POST (null) [11:22:26]execute_cgi path=json_proto method=POST [11:22:26]POST find Content-Length [11:22:26]Host: 172.17.52.132:8080 [11:22:26]Content-Length: 667 [11:22:26]Content-Type: application/json [11:22:26] [11:22:26]POST finish read [11:22:26]Found Content-Length = 667 [11:22:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99941", "tax_sys" : 0, "items" : [ { "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:22:26]execute_script... [11:22:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99941", "tax_sys" : 0, "items" : [ { "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:22:26]POST & json_proto [11:22:26]process_json_proto [11:22:26]json parsed OK: [11:22:26]protocol is kg_v1.0 [11:22:26]action value=close_receipt [11:22:26]process_action close_receipt [11:22:26]cmd_close_receipt [11:22:26]MH_GetDate [11:22:26]Write to MH i2c: F0 00 00 27 48 5E [11:22:26]Write i2c OK [11:22:26]MH_I2C_Read... [11:22:26]Read from MH i2c: F0 [11:22:26]MH_I2C_Read... [11:22:26]Read from MH i2c: F0 09 00 [11:22:26]MH_I2C_Read... [11:22:26]Read from MH i2c: F0 09 00 27 48 00 7B 96 13 67 5A BE F6 66 66 [11:22:26]GetLastDocTimeStamp 1729335930 [11:22:26]current date 1729336955 [11:22:26]FM_GetShiftState [11:22:26]SAM_PROTO_GetShiftState [11:22:26]wFMCommunicate request_size=4 [11:22:26]MH_SAM_APDU [11:22:26]CAPDU: 80 13 01 00 [11:22:26]Write to MH i2c: E2 08 00 28 48 80 13 01 00 00 00 00 00 ED [11:22:26]Write i2c OK [11:22:26]MH_I2C_Read... [11:22:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:22:26]Read from MH i2c: E2 [11:22:26]MH_I2C_Read... [11:22:26]Read from MH i2c: E2 0E 00 [11:22:26]MH_I2C_Read... [11:22:26]Read from MH i2c: E2 0E 00 28 48 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 96 [11:22:26]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [11:22:26]wFMCommunicate OK [11:22:26]SAM_PROTO_GetShiftState done [11:22:26]FM_GetShiftState done [11:22:26]opened in 1729296173 [11:22:26]opened+sec_in_day 1729382573 [11:22:26]quantity*price = 7500 [11:22:26]sum+1 = 7501 [11:22:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 24 19.10.2024 11:22 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2563 ФПД: 115455929490029 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T112235&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2563&fm=115455929490029&tin=02508201610067®Number=0000000000207295&sum=7500 0 [11:22:27]StoreToDocumentArchive [11:22:27]shift 23 fd 2563 [11:22:27]save to /storage/0023/doc_00002563 [11:22:27]save last doc name /storage/0023/doc_00002563 to /storage/kkm_last_doc_name [11:22:27]save OK [11:22:27]Clear old archive folders... [11:22:27]ProcessDocumentItem done err = 0, tmpTLVsize=287 [11:22:27]tlvbuf is 013B3C90 [11:22:27]SAM_PROTO_ClearQueue [11:22:27]wFMCommunicate request_size=4 [11:22:27]MH_SAM_APDU [11:22:27]CAPDU: 80 09 00 00 [11:22:27]Write to MH i2c: E2 08 00 35 48 80 09 00 00 00 00 00 00 EF [11:22:27]Write i2c OK [11:22:27]MH_I2C_Read... [11:22:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:22:27]Read from MH i2c: E2 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 03 00 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 03 00 35 48 00 90 00 F1 [11:22:27]RAPDU: 90 00 [11:22:27]wFMCommunicate OK [11:22:27]SAM_PROTO_ClearQueue done [11:22:27]KKMCreateOFDPacket [11:22:27]OFDProtocolAddRootSTLVToBuf [11:22:27]FM_MakeSignedData [11:22:27]FM_MakeSignedData [11:22:27]SAM_PROTO_SignData [11:22:27]wFMCommunicate request_size=4 [11:22:27]MH_SAM_APDU [11:22:27]CAPDU: 80 0D 01 02 [11:22:27]Write to MH i2c: E2 08 00 36 48 80 0D 01 02 00 00 00 00 F7 [11:22:27]Write i2c OK [11:22:27]MH_I2C_Read... [11:22:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:22:27]Read from MH i2c: E2 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 03 00 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 03 00 36 48 00 90 00 F2 [11:22:27]RAPDU: 90 00 [11:22:27]wFMCommunicate OK [11:22:27]wFMCommunicate request_size=255 [11:22:27]MH_SAM_APDU [11:22:27]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 7B 96 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 [11:22:27]Write to MH i2c: E2 02 01 37 48 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 7B 96 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 00 00 2D [11:22:27]Write i2c OK [11:22:27]MH_I2C_Read... [11:22:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:22:27]Read from MH i2c: E2 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 03 00 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 03 00 37 48 00 90 00 F3 [11:22:27]RAPDU: 90 00 [11:22:27]wFMCommunicate OK [11:22:27]wFMCommunicate request_size=46 [11:22:27]MH_SAM_APDU [11:22:27]CAPDU: 80 0D 02 02 29 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 03 0A 00 00 35 04 06 00 69 01 AD AA 1A 6D [11:22:27]Write to MH i2c: E2 31 00 38 48 80 0D 02 02 29 00 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 03 0A 00 00 35 04 06 00 69 01 AD AA 1A 6D 00 00 D2 [11:22:27]Write i2c OK [11:22:27]MH_I2C_Read... [11:22:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:22:27]Read from MH i2c: E2 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 03 00 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 03 00 38 48 00 90 00 F4 [11:22:27]RAPDU: 90 00 [11:22:27]wFMCommunicate OK [11:22:27]wFMCommunicate request_size=4 [11:22:27]MH_SAM_APDU [11:22:27]CAPDU: 80 0D 03 02 [11:22:27]Write to MH i2c: E2 08 00 39 48 80 0D 03 02 00 00 00 00 FC [11:22:27]Write i2c OK [11:22:27]MH_I2C_Read... [11:22:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:22:27]Read from MH i2c: E2 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 0B 00 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 0B 00 39 48 00 53 E8 E2 3A 15 CB 43 26 90 00 9D [11:22:27]RAPDU: 53 E8 E2 3A 15 CB 43 26 90 00 [11:22:27]wFMCommunicate OK [11:22:27]SAM_PROTO_SignData done [11:22:27]FM_MakeSignedData done [11:22:27]CreateOFDProtocolMessage [11:22:27]wFMCommunicate request_size=4 [11:22:27]MH_SAM_APDU [11:22:27]CAPDU: 80 11 00 00 [11:22:27]Write to MH i2c: E2 08 00 3A 48 80 11 00 00 00 00 00 00 FC [11:22:27]Write i2c OK [11:22:27]MH_I2C_Read... [11:22:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:22:27]Read from MH i2c: E2 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 17 00 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 17 00 3A 48 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 44 [11:22:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:22:27]wFMCommunicate OK [11:22:27]CreateOFDProtocolMessage done [11:22:27]OFDSenderStorePacket 2563 [11:22:27]StoreOFDPacket docnum=2563 [11:22:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 33 01 00 00 06 38 2B 01 F7 3D 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 7B 96 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 03 0A 00 00 35 04 06 00 69 01 AD AA 1A 6D 53 E8 E2 3A 15 CB 43 26 [11:22:27]CheckFolder [11:22:27]dirname=/storage/ofd_packets [11:22:27]CheckFolder done [11:22:27]ProducePacketName [11:22:27]name=ofd_packets/00002563 [11:22:27]NVStorageSaveData ofd_packets/00002563 [11:22:27]File name is /storage/ofd_packets/00002563 [11:22:27]Write 337 bytes [11:22:27]NVStorageSaveData done [11:22:27]OFDSenderStorePacket done [11:22:27]KKMCreateOFDPacket done [11:22:27]NVStorageSaveData kkm_last_timestamp [11:22:27]File name is /storage/kkm_last_timestamp [11:22:27]Write 4 bytes [11:22:27]NVStorageSaveData done [11:22:27]ExternCall_PrintAddStr [11:22:27]wPrintStart [11:22:27]Write to MH i2c: 01 00 00 3B 48 83 [11:22:27]Write i2c OK [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: 01 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: 01 07 00 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: 01 07 00 3B 48 00 00 00 00 00 FF 0F 98 [11:22:27]RasterBufferAndPrint [11:22:27]line Счет N : (3)99941 [11:22:27]line ИНН: 02508201610067 [11:22:27]line Контрольно-Кассовый Чек [11:22:27]line ПРОДАЖА [11:22:27]line Товар: 5449000189394 [11:22:27]line Холодный чай Fuse ягода 0,5л [11:22:27]line 1.000 * 75.00 [11:22:27]line = 75.00 [11:22:27]line НДС 12% НСП 1% [11:22:27]line > о реализуемом товаре [11:22:27]line ИТОГО: 75.00 [11:22:27]line НСП 1% : 0.66 [11:22:27]line НДС 12% : 7.96 [11:22:27]line Наличными: 75.00 [11:22:27]line Безнал.: 0.00 [11:22:27]line Место: АЗС № 162 "Партнер Нефть" [11:22:27]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:22:27]line СНО: Общий режим [11:22:27]line Чек 24 19.10.2024 11:22 [11:22:27]line Смена: 23 ФФД: 1.0 [11:22:27]line ЗНМ: 0300000191 [11:22:27]line РНМ: 0000000000207295 [11:22:27]line Версия ККМ: v1.0 [11:22:27]line ФМ: 0000000002342820 [11:22:27]line ФД: 2563 [11:22:27]line ФПД: 115455929490029 [11:22:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T112235&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2563&fm=115455929490029&tin=02508201610067®Number=0000000000207295&sum=7500 [11:22:28]line 0 [11:22:28]OFD Sender: Processing packet 2563 [packets to send 1, broken 0] [11:22:28]ProducePacketName [11:22:28]name=ofd_packets/00002563 [11:22:28]OFD Sender: To server: pG, [11:22:28]CommunicateWithHost lk.salyk.kg:30040 [11:22:28]ConnectInit lk.salyk.kg [11:22:28]written 0, free lines is 4095 [11:22:28]Connected sock=10 [11:22:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 33 01 00 00 06 38 2B 01 F7 3D 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 7B 96 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 03 0A 00 00 35 04 06 00 69 01 AD AA 1A 6D 53 E8 E2 3A 15 CB 43 26 [11:22:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 D9 FA 47 00 88 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 32 33 34 32 38 32 30 10 04 04 00 03 0A 00 00 F4 03 04 00 DC 41 13 67 B6 04 01 00 00 CB 80 37 4E F2 C4 D2 16 [11:22:28]CommunicateWithHost err = 0 [11:22:28]CheckOFDResponse [11:22:28]1017 (14) - 77093643461234 [11:22:28]1041 (16) - 0000000002342820 [11:22:28]1040 (4) - 2563 [11:22:28]1012 (4) - 19.10.2024 05:21 [11:22:28]1206 (1) - 0 [11:22:28]OFD Sender: Remove packet 2563 [11:22:28]ProducePacketName [11:22:28]name=ofd_packets/00002563 [11:22:28]NVStorageDeleteData [11:22:28]Write to MH i2c: 01 00 00 63 48 AB [11:22:28]Write i2c OK [11:22:28]MH_I2C_Read... [11:22:28]Read from MH i2c: 01 [11:22:28]MH_I2C_Read... [11:22:28]Read from MH i2c: 01 07 00 [11:22:28]MH_I2C_Read... [11:22:28]Read from MH i2c: 01 07 00 63 48 00 00 00 00 00 B1 0C 6F [11:22:28]RasterBufferAndPrint [11:22:28]line [11:22:28]line [11:22:28]line [11:22:28]line [11:22:28]line [11:22:28]written 0, free lines is 3254 [11:22:28]MH_Cut [11:22:28]Write to MH i2c: D1 01 00 6A 48 01 84 [11:22:28]Write i2c OK [11:22:28]MH_I2C_Read... [11:22:28]Read from MH i2c: D1 [11:22:28]MH_I2C_Read... [11:22:28]Read from MH i2c: D1 01 00 [11:22:28]MH_I2C_Read... [11:22:28]Read from MH i2c: D1 01 00 6A 48 00 83 [11:22:28]Write to MH i2c: 01 00 00 6B 48 B3 [11:22:28]Write i2c OK [11:22:28]MH_I2C_Read... [11:22:29]OFD Sender: No OFD packet to send [11:22:29]*** Cut start [11:22:29]*** Partial cut [11:22:29]*** CUTSNS_PIN = 1 [11:22:29]*** CUTSNS_PIN = 0 [11:22:29]*** Brake cut motor [11:22:30]Read from MH i2c: 01 [11:22:30]MH_I2C_Read... [11:22:30]*** Stop cut motor [11:22:30]*** Cut end [11:22:30]Read from MH i2c: 01 07 00 [11:22:30]MH_I2C_Read... [11:22:30]Read from MH i2c: 01 07 00 6B 48 00 00 00 00 00 FF 0F C8 [11:22:30]process_action close_receipt done [11:22:30]requested_data is exist [11:22:30]produce_requested_data [11:22:30]requested_item fm.sn is exist - process it [11:22:30]wFMCommunicate request_size=4 [11:22:30]MH_SAM_APDU [11:22:30]CAPDU: 80 11 00 00 [11:22:30]Write to MH i2c: E2 08 00 6C 48 80 11 00 00 00 00 00 00 2E [11:22:30]Write i2c OK [11:22:30]MH_I2C_Read... [11:22:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:22:30]Read from MH i2c: E2 [11:22:30]MH_I2C_Read... [11:22:30]Read from MH i2c: E2 17 00 [11:22:30]MH_I2C_Read... [11:22:30]Read from MH i2c: E2 17 00 6C 48 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 76 [11:22:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:22:30]wFMCommunicate OK [11:22:30]requested_item fd.num is exist - process it [11:22:30]SAM_PROTO_GetFieldsCounters [11:22:30]wFMCommunicate request_size=4 [11:22:30]MH_SAM_APDU [11:22:30]CAPDU: 80 13 00 00 [11:22:30]Write to MH i2c: E2 08 00 6D 48 80 13 00 00 00 00 00 00 31 [11:22:30]Write i2c OK [11:22:30]MH_I2C_Read... [11:22:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:22:30]Read from MH i2c: E2 [11:22:30]MH_I2C_Read... [11:22:30]Read from MH i2c: E2 62 00 [11:22:30]MH_I2C_Read... [11:22:30]Read from MH i2c: E2 62 00 6D 48 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 03 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 B3 [11:22:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 03 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:22:30]wFMCommunicate OK [11:22:30]SAM_PROTO_GetFieldsCounters done [11:22:30]requested_item shift.num is exist - process it [11:22:30]requested_item shift.opened is exist - process it [11:22:30]req_shift_opened [11:22:30]FM_GetShiftState [11:22:30]SAM_PROTO_GetShiftState [11:22:30]wFMCommunicate request_size=4 [11:22:30]MH_SAM_APDU [11:22:30]CAPDU: 80 13 01 00 [11:22:30]Write to MH i2c: E2 08 00 6E 48 80 13 01 00 00 00 00 00 33 [11:22:30]Write i2c OK [11:22:30]MH_I2C_Read... [11:22:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:22:30]Read from MH i2c: E2 [11:22:30]MH_I2C_Read... [11:22:30]Read from MH i2c: E2 0E 00 [11:22:30]MH_I2C_Read... [11:22:30]Read from MH i2c: E2 0E 00 6E 48 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 DC [11:22:30]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [11:22:30]wFMCommunicate OK [11:22:30]SAM_PROTO_GetShiftState done [11:22:30]FM_GetShiftState done [11:22:30]req_shift_opened done [11:22:30]requested_item shift.open_date is exist - process it [11:22:30]req_shift_open_date [11:22:30]req_shift_open_date done [11:22:30]produce_requested_data done [11:22:30]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2563,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [11:22:30]process_action_free close_receipt [11:22:30]json_value_free [11:22:30]json_value_free done [11:22:30]process_json_proto returns [11:22:30]Send response to host [11:22:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2563,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [11:22:30]free response buf [11:22:30]execute_script done [11:22:30]execute_script returns [11:22:30]free content buf [11:22:30]Sock 7.Close socket [11:22:30]Sock 7.Thread stoped [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:29]OFD Sender: No OFD packet to send [11:34:34]OFD Sender: No OFD packet to send [11:34:39]OFD Sender: No OFD packet to send [11:34:44]OFD Sender: No OFD packet to send [11:34:49]OFD Sender: No OFD packet to send [11:34:54]OFD Sender: No OFD packet to send [11:34:59]OFD Sender: No OFD packet to send [11:35:04]OFD Sender: No OFD packet to send [11:35:09]OFD Sender: No OFD packet to send [11:35:14]OFD Sender: No OFD packet to send [11:35:19]OFD Sender: No OFD packet to send [11:35:24]OFD Sender: No OFD packet to send [11:35:29]OFD Sender: No OFD packet to send [11:35:34]OFD Sender: No OFD packet to send [11:35:39]OFD Sender: No OFD packet to send [11:35:44]OFD Sender: No OFD packet to send [11:35:49]OFD Sender: No OFD packet to send [11:35:54]OFD Sender: No OFD packet to send [11:35:59]OFD Sender: No OFD packet to send [11:36:04]OFD Sender: No OFD packet to send [11:36:09]OFD Sender: No OFD packet to send [11:36:14]OFD Sender: No OFD packet to send [11:36:19]OFD Sender: No OFD packet to send [11:36:24]OFD Sender: No OFD packet to send [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:22]accept exits with 9 [11:37:22]New connection [11:37:22]New thread 3066850660 created [11:37:22]Thread 3066707300 joined [11:37:22]Waiting for new connection... [11:37:22] Sock 9.Parse request [11:37:22]Sock 9.Check first char [11:37:22]Sock 9.First char is OK [11:37:22]request: POST /json_proto HTTP/1.0 [11:37:22]Method: POST [11:37:22]URL: /json_proto [11:37:22]Method is POST - this is cgi request [11:37:22]url: /json_proto [11:37:22]query_string will be loaded in cgi processing [11:37:22]execute_cgi json_proto POST (null) [11:37:22]execute_cgi path=json_proto method=POST [11:37:22]POST find Content-Length [11:37:22]Host: 172.17.52.132:8080 [11:37:22]Content-Length: 1159 [11:37:22]Content-Type: application/json [11:37:22] [11:37:22]POST finish read [11:37:22]Found Content-Length = 1159 [11:37:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99942", "tax_sys" : 0, "items" : [ { "code": "4620017453536", "name": "\u0422\u0430\u0440\u0430\u043B\u043B\u0438\u043D\u0438 NF 180\u0433 \u0447\u0435\u0441\u043D\u043E\u043A", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 2.000, "sum" : 308.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" : 658.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:37:22]execute_script... [11:37: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)99942", "tax_sys" : 0, "items" : [ { "code": "4620017453536", "name": "\u0422\u0430\u0440\u0430\u043B\u043B\u0438\u043D\u0438 NF 180\u0433 \u0447\u0435\u0441\u043D\u043E\u043A", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 2.000, "sum" : 308.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" : 658.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:37:22]POST & json_proto [11:37:22]process_json_proto [11:37:22]json parsed OK: [11:37:22]protocol is kg_v1.0 [11:37:22]action value=close_receipt [11:37:22]process_action close_receipt [11:37:22]cmd_close_receipt [11:37:22]MH_GetDate [11:37:22]Write to MH i2c: F0 00 00 6F 48 A6 [11:37:22]Write i2c OK [11:37:22]MH_I2C_Read... [11:37:22]Read from MH i2c: F0 [11:37:22]MH_I2C_Read... [11:37:22]Read from MH i2c: F0 09 00 [11:37:22]MH_I2C_Read... [11:37:22]Read from MH i2c: F0 09 00 6F 48 00 FC 99 13 67 5A BE F6 66 32 [11:37:22]GetLastDocTimeStamp 1729336955 [11:37:22]current date 1729337852 [11:37:22]FM_GetShiftState [11:37:22]SAM_PROTO_GetShiftState [11:37:22]wFMCommunicate request_size=4 [11:37:22]MH_SAM_APDU [11:37:22]CAPDU: 80 13 01 00 [11:37:22]Write to MH i2c: E2 08 00 70 48 80 13 01 00 00 00 00 00 35 [11:37:22]Write i2c OK [11:37:22]MH_I2C_Read... [11:37:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:37:22]Read from MH i2c: E2 [11:37:22]MH_I2C_Read... [11:37:22]Read from MH i2c: E2 0E 00 [11:37:22]MH_I2C_Read... [11:37:22]Read from MH i2c: E2 0E 00 70 48 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 DE [11:37:22]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [11:37:22]wFMCommunicate OK [11:37:22]SAM_PROTO_GetShiftState done [11:37:22]FM_GetShiftState done [11:37:22]opened in 1729296173 [11:37:22]opened+sec_in_day 1729382573 [11:37:22]quantity*price = 9000 [11:37:22]sum+1 = 9001 [11:37:22]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46230614 Сигареты Richmond Red Edition 2.000 * 154.00 = 308.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 2.000 * 130.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 658.00 НСП 1% : 5.83 НДС 12% : 69.88 Наличными: 658.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 25 19.10.2024 11:37 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2564 ФПД: 175719124833863 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T113732&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2564&fm=175719124833863&tin=02508201610067®Number=0000000000207295&sum=65800 0 [11:37:23]StoreToDocumentArchive [11:37:23]shift 23 fd 2564 [11:37:23]save to /storage/0023/doc_00002564 [11:37:23]save last doc name /storage/0023/doc_00002564 to /storage/kkm_last_doc_name [11:37:23]save OK [11:37:23]Clear old archive folders... [11:37:23]ProcessDocumentItem done err = 0, tmpTLVsize=498 [11:37:23]tlvbuf is 0137E010 [11:37:23]SAM_PROTO_ClearQueue [11:37:23]wFMCommunicate request_size=4 [11:37:23]MH_SAM_APDU [11:37:23]CAPDU: 80 09 00 00 [11:37:23]Write to MH i2c: E2 08 00 7D 48 80 09 00 00 00 00 00 00 37 [11:37:23]Write i2c OK [11:37:23]MH_I2C_Read... [11:37:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:37:23]Read from MH i2c: E2 [11:37:23]MH_I2C_Read... [11:37:23]Read from MH i2c: E2 03 00 [11:37:23]MH_I2C_Read... [11:37:23]Read from MH i2c: E2 03 00 7D 48 00 90 00 39 [11:37:23]RAPDU: 90 00 [11:37:23]wFMCommunicate OK [11:37:23]SAM_PROTO_ClearQueue done [11:37:23]KKMCreateOFDPacket [11:37:23]OFDProtocolAddRootSTLVToBuf [11:37:23]FM_MakeSignedData [11:37:23]FM_MakeSignedData [11:37:23]SAM_PROTO_SignData [11:37:23]wFMCommunicate request_size=4 [11:37:23]MH_SAM_APDU [11:37:23]CAPDU: 80 0D 01 02 [11:37:23]Write to MH i2c: E2 08 00 7E 48 80 0D 01 02 00 00 00 00 3F [11:37:23]Write i2c OK [11:37:23]MH_I2C_Read... [11:37:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:37:23]Read from MH i2c: E2 [11:37:23]MH_I2C_Read... [11:37:23]Read from MH i2c: E2 03 00 [11:37:23]MH_I2C_Read... [11:37:23]Read from MH i2c: E2 03 00 7E 48 00 90 00 3A [11:37:23]RAPDU: 90 00 [11:37:23]wFMCommunicate OK [11:37:23]wFMCommunicate request_size=255 [11:37:23]MH_SAM_APDU [11:37:23]CAPDU: 80 0D 02 02 FA 03 00 F2 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 33 35 33 36 06 04 28 00 D0 A2 D0 B0 D1 80 D0 B0 D0 BB D0 BB D0 B8 D0 BD D0 B8 20 4E 46 20 31 38 30 D0 B3 20 D1 87 D0 B5 D1 81 D0 BD D0 BE D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 50 78 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 [11:37:24]Write to MH i2c: E2 02 01 7F 48 80 0D 02 02 FA 00 03 00 F2 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 33 35 33 36 06 04 28 00 D0 A2 D0 B0 D1 80 D0 B0 D0 BB D0 BB D0 B8 D0 BD D0 B8 20 4E 46 20 31 38 30 D0 B3 20 D1 87 D0 B5 D1 81 D0 BD D0 BE D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 50 78 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 00 00 32 [11:37:24]Write i2c OK [11:37:24]MH_I2C_Read... [11:37:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:37:24]Read from MH i2c: E2 [11:37:24]MH_I2C_Read... [11:37:24]Read from MH i2c: E2 03 00 [11:37:24]MH_I2C_Read... [11:37:24]Read from MH i2c: E2 03 00 7F 48 00 90 00 3B [11:37:24]RAPDU: 90 00 [11:37:24]wFMCommunicate OK [11:37:24]wFMCommunicate request_size=255 [11:37:24]MH_SAM_APDU [11:37:24]CAPDU: 80 0D 02 02 FA 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 08 01 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 1B 00 00 00 00 07 04 06 00 08 01 01 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 FC 99 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 04 0A 00 00 35 04 06 00 9F D0 CC 04 [11:37:24]Write to MH i2c: E2 02 01 80 48 80 0D 02 02 FA 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 08 01 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 1B 00 00 00 00 07 04 06 00 08 01 01 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 FC 99 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 04 0A 00 00 35 04 06 00 9F D0 CC 04 00 00 0E [11:37:24]Write i2c OK [11:37:24]MH_I2C_Read... [11:37:24]OFD Sender: No OFD packet to send [11:37:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:37:24]Read from MH i2c: E2 [11:37:24]MH_I2C_Read... [11:37:24]Read from MH i2c: E2 03 00 [11:37:24]MH_I2C_Read... [11:37:24]Read from MH i2c: E2 03 00 80 48 00 90 00 3C [11:37:24]RAPDU: 90 00 [11:37:24]wFMCommunicate OK [11:37:24]wFMCommunicate request_size=7 [11:37:24]MH_SAM_APDU [11:37:24]CAPDU: 80 0D 02 02 02 16 47 [11:37:24]Write to MH i2c: E2 0A 00 81 48 80 0D 02 02 02 00 16 47 00 00 A4 [11:37:24]Write i2c OK [11:37:24]MH_I2C_Read... [11:37:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:37:24]Read from MH i2c: E2 [11:37:24]MH_I2C_Read... [11:37:24]Read from MH i2c: E2 03 00 [11:37:24]MH_I2C_Read... [11:37:24]Read from MH i2c: E2 03 00 81 48 00 90 00 3D [11:37:24]RAPDU: 90 00 [11:37:24]wFMCommunicate OK [11:37:24]wFMCommunicate request_size=4 [11:37:24]MH_SAM_APDU [11:37:24]CAPDU: 80 0D 03 02 [11:37:24]Write to MH i2c: E2 08 00 82 48 80 0D 03 02 00 00 00 00 45 [11:37:24]Write i2c OK [11:37:24]MH_I2C_Read... [11:37:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:37:24]Read from MH i2c: E2 [11:37:24]MH_I2C_Read... [11:37:24]Read from MH i2c: E2 0B 00 [11:37:24]MH_I2C_Read... [11:37:24]Read from MH i2c: E2 0B 00 82 48 00 5F 30 F5 92 B1 E7 6D BF 90 00 20 [11:37:24]RAPDU: 5F 30 F5 92 B1 E7 6D BF 90 00 [11:37:24]wFMCommunicate OK [11:37:24]SAM_PROTO_SignData done [11:37:24]FM_MakeSignedData done [11:37:24]CreateOFDProtocolMessage [11:37:24]wFMCommunicate request_size=4 [11:37:24]MH_SAM_APDU [11:37:24]CAPDU: 80 11 00 00 [11:37:24]Write to MH i2c: E2 08 00 83 48 80 11 00 00 00 00 00 00 45 [11:37:24]Write i2c OK [11:37:24]MH_I2C_Read... [11:37:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:37:24]Read from MH i2c: E2 [11:37:24]MH_I2C_Read... [11:37:24]Read from MH i2c: E2 17 00 [11:37:24]MH_I2C_Read... [11:37:24]Read from MH i2c: E2 17 00 83 48 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 8D [11:37:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:37:24]wFMCommunicate OK [11:37:24]CreateOFDProtocolMessage done [11:37:24]OFDSenderStorePacket 2564 [11:37:24]StoreOFDPacket docnum=2564 [11:37:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 06 02 00 00 5B B7 FE 01 FB E9 5A 03 01 00 03 00 F2 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 33 35 33 36 06 04 28 00 D0 A2 D0 B0 D1 80 D0 B0 D0 BB D0 BB D0 B8 D0 BD D0 B8 20 4E 46 20 31 38 30 D0 B3 20 D1 87 D0 B5 D1 81 D0 BD D0 BE D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 50 78 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 08 01 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 1B 00 00 00 00 07 04 06 00 08 01 01 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 FC 99 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 04 0A 00 00 35 04 06 00 9F D0 CC 04 16 47 5F 30 F5 92 B1 E7 6D BF [11:37:24]CheckFolder [11:37:24]dirname=/storage/ofd_packets [11:37:24]CheckFolder done [11:37:24]ProducePacketName [11:37:24]name=ofd_packets/00002564 [11:37:24]NVStorageSaveData ofd_packets/00002564 [11:37:24]File name is /storage/ofd_packets/00002564 [11:37:24]Write 548 bytes [11:37:24]NVStorageSaveData done [11:37:24]OFDSenderStorePacket done [11:37:24]KKMCreateOFDPacket done [11:37:24]NVStorageSaveData kkm_last_timestamp [11:37:24]File name is /storage/kkm_last_timestamp [11:37:24]Write 4 bytes [11:37:24]NVStorageSaveData done [11:37:24]ExternCall_PrintAddStr [11:37:24]wPrintStart [11:37:24]Write to MH i2c: 01 00 00 84 48 CC [11:37:24]Write i2c OK [11:37:24]MH_I2C_Read... [11:37:24]Read from MH i2c: 01 [11:37:24]MH_I2C_Read... [11:37:24]Read from MH i2c: 01 07 00 [11:37:24]MH_I2C_Read... [11:37:24]Read from MH i2c: 01 07 00 84 48 00 00 00 00 00 FF 0F E1 [11:37:24]RasterBufferAndPrint [11:37:24]line Счет N : (3)99942 [11:37:24]line ИНН: 02508201610067 [11:37:24]line Контрольно-Кассовый Чек [11:37:24]line ПРОДАЖА [11:37:24]line Товар: 4620017453536 [11:37:24]line Тараллини NF 180г чеснок [11:37:24]line 1.000 * 90.00 [11:37:24]line = 90.00 [11:37:24]line НДС 12% НСП 1% [11:37:24]line > о реализуемом товаре [11:37:24]line Товар: 46230614 [11:37:24]line Сигареты Richmond Red Edition [11:37:24]line 2.000 * 154.00 [11:37:24]line = 308.00 [11:37:24]line НДС 12% НСП 1% [11:37:24]line > о реализуемом товаре [11:37:24]line Товар: 2000036220012 [11:37:24]line Кофе Капучино XL(GABB TRADE) [11:37:24]line 2.000 * 130.00 [11:37:24]line = 260.00 [11:37:24]line НДС 12% НСП 1% [11:37:24]line > о реализуемом товаре [11:37:24]line ИТОГО: 658.00 [11:37:24]line НСП 1% : 5.83 [11:37:24]line НДС 12% : 69.88 [11:37:24]line Наличными: 658.00 [11:37:24]line Безнал.: 0.00 [11:37:24]line Место: АЗС № 162 "Партнер Нефть" [11:37:24]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:37:24]line СНО: Общий режим [11:37:24]line Чек 25 19.10.2024 11:37 [11:37:24]line Смена: 23 ФФД: 1.0 [11:37:24]line ЗНМ: 0300000191 [11:37:24]line РНМ: 0000000000207295 [11:37:24]line Версия ККМ: v1.0 [11:37:24]line ФМ: 0000000002342820 [11:37:24]line ФД: 2564 [11:37:24]line ФПД: 175719124833863 [11:37:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T113732&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2564&fm=175719124833863&tin=02508201610067®Number=0000000000207295&sum=65800 [11:37:25]OFD Sender: Processing packet 2564 [packets to send 1, broken 0] [11:37:25]ProducePacketName [11:37:25]name=ofd_packets/00002564 [11:37:25]OFD Sender: To server: pG, [11:37:25]CommunicateWithHost lk.salyk.kg:30040 [11:37:25]ConnectInit lk.salyk.kg [11:37:25]line 0 [11:37:25]written 0, free lines is 4095 [11:37:25]Connected sock=10 [11:37:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 06 02 00 00 5B B7 FE 01 FB E9 5A 03 01 00 03 00 F2 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 33 35 33 36 06 04 28 00 D0 A2 D0 B0 D1 80 D0 B0 D0 BB D0 BB D0 B8 D0 BD D0 B8 20 4E 46 20 31 38 30 D0 B3 20 D1 87 D0 B5 D1 81 D0 BD D0 BE D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 50 78 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 08 01 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 1B 00 00 00 00 07 04 06 00 08 01 01 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 FC 99 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 04 0A 00 00 35 04 06 00 9F D0 CC 04 16 47 5F 30 F5 92 B1 E7 6D BF [11:37:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 73 21 47 00 C6 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 04 0A 00 00 F4 03 04 00 5D 45 13 67 B6 04 01 00 00 0E A8 09 50 AF B8 EB 95 [11:37:25]CommunicateWithHost err = 0 [11:37:25]CheckOFDResponse [11:37:25]1017 (14) - 77093643461234 [11:37:25]1041 (16) - 0000000002342820 [11:37:25]1040 (4) - 2564 [11:37:25]1012 (4) - 19.10.2024 05:36 [11:37:25]1206 (1) - 0 [11:37:25]OFD Sender: Remove packet 2564 [11:37:25]ProducePacketName [11:37:25]name=ofd_packets/00002564 [11:37:25]NVStorageDeleteData [11:37:25]Write to MH i2c: 01 00 00 BA 48 02 [11:37:25]Write i2c OK [11:37:25]MH_I2C_Read... [11:37:25]Read from MH i2c: 01 [11:37:25]MH_I2C_Read... [11:37:25]Read from MH i2c: 01 07 00 [11:37:25]MH_I2C_Read... [11:37:25]Read from MH i2c: 01 07 00 BA 48 00 00 00 00 00 B7 0B CB [11:37:25]RasterBufferAndPrint [11:37:25]line [11:37:25]line [11:37:25]line [11:37:25]line [11:37:25]line [11:37:25]written 0, free lines is 3005 [11:37:25]MH_Cut [11:37:25]Write to MH i2c: D1 01 00 C1 48 01 DB [11:37:25]Write i2c OK [11:37:25]MH_I2C_Read... [11:37:25]Read from MH i2c: D1 [11:37:25]MH_I2C_Read... [11:37:25]Read from MH i2c: D1 01 00 [11:37:25]MH_I2C_Read... [11:37:25]Read from MH i2c: D1 01 00 C1 48 00 DA [11:37:25]Write to MH i2c: 01 00 00 C2 48 0A [11:37:25]Write i2c OK [11:37:25]MH_I2C_Read... [11:37:26]OFD Sender: No OFD packet to send [11:37:27]*** Cut start [11:37:27]*** Partial cut [11:37:27]*** CUTSNS_PIN = 1 [11:37:27]*** CUTSNS_PIN = 0 [11:37:27]*** Brake cut motor [11:37:27]Read from MH i2c: 01 [11:37:27]MH_I2C_Read... [11:37:27]*** Stop cut motor [11:37:27]*** Cut end [11:37:27]Read from MH i2c: 01 07 00 [11:37:27]MH_I2C_Read... [11:37:27]Read from MH i2c: 01 07 00 C2 48 00 00 00 00 00 FF 0F 1F [11:37:27]process_action close_receipt done [11:37:27]requested_data is exist [11:37:27]produce_requested_data [11:37:27]requested_item fm.sn is exist - process it [11:37:27]wFMCommunicate request_size=4 [11:37:27]MH_SAM_APDU [11:37:27]CAPDU: 80 11 00 00 [11:37:27]Write to MH i2c: E2 08 00 C3 48 80 11 00 00 00 00 00 00 85 [11:37:27]Write i2c OK [11:37:27]MH_I2C_Read... [11:37:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:37:27]Read from MH i2c: E2 [11:37:27]MH_I2C_Read... [11:37:27]Read from MH i2c: E2 17 00 [11:37:27]MH_I2C_Read... [11:37:27]Read from MH i2c: E2 17 00 C3 48 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 CD [11:37:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:37:27]wFMCommunicate OK [11:37:27]requested_item fd.num is exist - process it [11:37:27]SAM_PROTO_GetFieldsCounters [11:37:27]wFMCommunicate request_size=4 [11:37:27]MH_SAM_APDU [11:37:27]CAPDU: 80 13 00 00 [11:37:27]Write to MH i2c: E2 08 00 C4 48 80 13 00 00 00 00 00 00 88 [11:37:27]Write i2c OK [11:37:27]MH_I2C_Read... [11:37:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:37:27]Read from MH i2c: E2 [11:37:27]MH_I2C_Read... [11:37:27]Read from MH i2c: E2 62 00 [11:37:27]MH_I2C_Read... [11:37:27]Read from MH i2c: E2 62 00 C4 48 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 04 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 0E [11:37:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 04 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:37:27]wFMCommunicate OK [11:37:27]SAM_PROTO_GetFieldsCounters done [11:37:27]requested_item shift.num is exist - process it [11:37:27]requested_item shift.opened is exist - process it [11:37:27]req_shift_opened [11:37:27]FM_GetShiftState [11:37:27]SAM_PROTO_GetShiftState [11:37:27]wFMCommunicate request_size=4 [11:37:27]MH_SAM_APDU [11:37:27]CAPDU: 80 13 01 00 [11:37:27]Write to MH i2c: E2 08 00 C5 48 80 13 01 00 00 00 00 00 8A [11:37:27]Write i2c OK [11:37:27]MH_I2C_Read... [11:37:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:37:27]Read from MH i2c: E2 [11:37:27]MH_I2C_Read... [11:37:27]Read from MH i2c: E2 0E 00 [11:37:27]MH_I2C_Read... [11:37:27]Read from MH i2c: E2 0E 00 C5 48 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 33 [11:37:27]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [11:37:27]wFMCommunicate OK [11:37:27]SAM_PROTO_GetShiftState done [11:37:27]FM_GetShiftState done [11:37:27]req_shift_opened done [11:37:27]requested_item shift.open_date is exist - process it [11:37:27]req_shift_open_date [11:37:27]req_shift_open_date done [11:37:27]produce_requested_data done [11:37:27]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2564,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [11:37:27]process_action_free close_receipt [11:37:27]json_value_free [11:37:27]json_value_free done [11:37:27]process_json_proto returns [11:37:27]Send response to host [11:37:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2564,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [11:37:27]free response buf [11:37:27]execute_script done [11:37:27]execute_script returns [11:37:27]free content buf [11:37:27]Sock 9.Close socket [11:37:27]Sock 9.Thread stoped [11:37:31]OFD Sender: No OFD packet to send [11:37:36]OFD Sender: No OFD packet to send [11:37:41]OFD Sender: No OFD packet to send [11:37:46]OFD Sender: No OFD packet to send [11:37:51]OFD Sender: No OFD packet to send [11:37:56]OFD Sender: No OFD packet to send [11:38:01]OFD Sender: No OFD packet to send [11:38:06]OFD Sender: No OFD packet to send [11:38:11]OFD Sender: No OFD packet to send [11:38:16]OFD Sender: No OFD packet to send [11:38:21]OFD Sender: No OFD packet to send [11:38:26]OFD Sender: No OFD packet to send [11:38:31]OFD Sender: No OFD packet to send [11:38:36]OFD Sender: No OFD packet to send [11:38:41]OFD Sender: No OFD packet to send [11:38:46]OFD Sender: No OFD packet to send [11:38:51]OFD Sender: No OFD packet to send [11:38:56]OFD Sender: No OFD packet to send [11:39:01]OFD Sender: No OFD packet to send [11:39:06]OFD Sender: No OFD packet to send [11:39:11]OFD Sender: No OFD packet to send [11:39:16]OFD Sender: No OFD packet to send [11:39:21]OFD Sender: No OFD packet to send [11:39:26]OFD Sender: No OFD packet to send [11:39:31]OFD Sender: No OFD packet to send [11:39:36]OFD Sender: No OFD packet to send [11:39:41]OFD Sender: No OFD packet to send [11:39:46]OFD Sender: No OFD packet to send [11:39:51]OFD Sender: No OFD packet to send [11:39:56]OFD Sender: No OFD packet to send [11:40:01]OFD Sender: No OFD packet to send [11:40:06]OFD Sender: No OFD packet to send [11:40:11]OFD Sender: No OFD packet to send [11:40:16]OFD Sender: No OFD packet to send [11:40:21]OFD Sender: No OFD packet to send [11:40:26]OFD Sender: No OFD packet to send [11:40:31]OFD Sender: No OFD packet to send [11:40:36]OFD Sender: No OFD packet to send [11:40:41]OFD Sender: No OFD packet to send [11:40:46]OFD Sender: No OFD packet to send [11:40:51]OFD Sender: No OFD packet to send [11:40:56]OFD Sender: No OFD packet to send [11:41:01]OFD Sender: No OFD packet to send [11:41:06]OFD Sender: No OFD packet to send [11:41:11]OFD Sender: No OFD packet to send [11:41:16]OFD Sender: No OFD packet to send [11:41:21]OFD Sender: No OFD packet to send [11:41:26]OFD Sender: No OFD packet to send [11:41:31]OFD Sender: No OFD packet to send [11:41:36]OFD Sender: No OFD packet to send [11:41:41]OFD Sender: No OFD packet to send [11:41:46]OFD Sender: No OFD packet to send [11:41:51]OFD Sender: No OFD packet to send [11:41:56]OFD Sender: No OFD packet to send [11:42:01]OFD Sender: No OFD packet to send [11:42:06]OFD Sender: No OFD packet to send [11:42:11]OFD Sender: No OFD packet to send [11:42:16]OFD Sender: No OFD packet to send [11:42:21]OFD Sender: No OFD packet to send [11:42:26]accept exits with 7 [11:42:26]New connection [11:42:26]New thread 3066707300 created [11:42:26]Thread 3066850660 joined [11:42:26]Waiting for new connection... [11:42:26] Sock 7.Parse request [11:42:26]Sock 7.Check first char [11:42:26]Sock 7.First char is OK [11:42:26]request: POST /json_proto HTTP/1.0 [11:42:26]Method: POST [11:42:26]URL: /json_proto [11:42:26]Method is POST - this is cgi request [11:42:26]url: /json_proto [11:42:26]query_string will be loaded in cgi processing [11:42:26]execute_cgi json_proto POST (null) [11:42:26]execute_cgi path=json_proto method=POST [11:42:26]POST find Content-Length [11:42:26]Host: 172.17.52.132:8080 [11:42:26]Content-Length: 988 [11:42:26]Content-Type: application/json [11:42:26] [11:42:26]POST finish read [11:42:26]Found Content-Length = 988 [11:42:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99943", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:42:26]execute_script... [11:42:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99943", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:42:26]POST & json_proto [11:42:26]process_json_proto [11:42:26]json parsed OK: [11:42:26]protocol is kg_v1.0 [11:42:26]action value=close_receipt [11:42:26]process_action close_receipt [11:42:26]cmd_close_receipt [11:42:26]MH_GetDate [11:42:26]Write to MH i2c: F0 00 00 C6 48 FD [11:42:26]OFD Sender: No OFD packet to send [11:42:26]Write i2c OK [11:42:26]MH_I2C_Read... [11:42:26]Read from MH i2c: F0 [11:42:26]MH_I2C_Read... [11:42:26]Read from MH i2c: F0 09 00 [11:42:26]MH_I2C_Read... [11:42:26]Read from MH i2c: F0 09 00 C6 48 00 2B 9B 13 67 5A BE F6 66 BA [11:42:26]GetLastDocTimeStamp 1729337852 [11:42:26]current date 1729338155 [11:42:26]FM_GetShiftState [11:42:26]SAM_PROTO_GetShiftState [11:42:26]wFMCommunicate request_size=4 [11:42:26]MH_SAM_APDU [11:42:26]CAPDU: 80 13 01 00 [11:42:26]Write to MH i2c: E2 08 00 C7 48 80 13 01 00 00 00 00 00 8C [11:42:26]Write i2c OK [11:42:26]MH_I2C_Read... [11:42:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:42:26]Read from MH i2c: E2 [11:42:26]MH_I2C_Read... [11:42:26]Read from MH i2c: E2 0E 00 [11:42:26]MH_I2C_Read... [11:42:26]Read from MH i2c: E2 0E 00 C7 48 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 35 [11:42:26]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [11:42:26]wFMCommunicate OK [11:42:26]SAM_PROTO_GetShiftState done [11:42:26]FM_GetShiftState done [11:42:26]opened in 1729296173 [11:42:26]opened+sec_in_day 1729382573 [11:42:26]quantity*price = 3500 [11:42:26]sum+1 = 3501 [11:42:26]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160792 Снек Курут классический (круглый) 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 26 19.10.2024 11:42 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2565 ФПД: 51801578263629 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T114235&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2565&fm=51801578263629&tin=02508201610067®Number=0000000000207295&sum=9500 0 [11:42:27]StoreToDocumentArchive [11:42:27]shift 23 fd 2565 [11:42:27]save to /storage/0023/doc_00002565 [11:42:27]save last doc name /storage/0023/doc_00002565 to /storage/kkm_last_doc_name [11:42:27]save OK [11:42:27]Clear old archive folders... [11:42:27]ProcessDocumentItem done err = 0, tmpTLVsize=408 [11:42:27]tlvbuf is 01420570 [11:42:27]SAM_PROTO_ClearQueue [11:42:27]wFMCommunicate request_size=4 [11:42:27]MH_SAM_APDU [11:42:27]CAPDU: 80 09 00 00 [11:42:27]Write to MH i2c: E2 08 00 D4 48 80 09 00 00 00 00 00 00 8E [11:42:27]Write i2c OK [11:42:27]MH_I2C_Read... [11:42:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:42:27]Read from MH i2c: E2 [11:42:27]MH_I2C_Read... [11:42:27]Read from MH i2c: E2 03 00 [11:42:27]MH_I2C_Read... [11:42:27]Read from MH i2c: E2 03 00 D4 48 00 90 00 90 [11:42:27]RAPDU: 90 00 [11:42:27]wFMCommunicate OK [11:42:27]SAM_PROTO_ClearQueue done [11:42:27]KKMCreateOFDPacket [11:42:27]OFDProtocolAddRootSTLVToBuf [11:42:27]FM_MakeSignedData [11:42:27]FM_MakeSignedData [11:42:27]SAM_PROTO_SignData [11:42:27]wFMCommunicate request_size=4 [11:42:27]MH_SAM_APDU [11:42:27]CAPDU: 80 0D 01 02 [11:42:27]Write to MH i2c: E2 08 00 D5 48 80 0D 01 02 00 00 00 00 96 [11:42:27]Write i2c OK [11:42:27]MH_I2C_Read... [11:42:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:42:27]Read from MH i2c: E2 [11:42:27]MH_I2C_Read... [11:42:27]Read from MH i2c: E2 03 00 [11:42:27]MH_I2C_Read... [11:42:27]Read from MH i2c: E2 03 00 D5 48 00 90 00 91 [11:42:27]RAPDU: 90 00 [11:42:27]wFMCommunicate OK [11:42:27]wFMCommunicate request_size=255 [11:42:27]MH_SAM_APDU [11:42:27]CAPDU: 80 0D 02 02 FA 03 00 98 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 [11:42:27]Write to MH i2c: E2 02 01 D6 48 80 0D 02 02 FA 00 03 00 98 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 9E [11:42:27]Write i2c OK [11:42:27]MH_I2C_Read... [11:42:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:42:27]Read from MH i2c: E2 [11:42:27]MH_I2C_Read... [11:42:27]Read from MH i2c: E2 03 00 [11:42:27]MH_I2C_Read... [11:42:27]Read from MH i2c: E2 03 00 D6 48 00 90 00 92 [11:42:27]RAPDU: 90 00 [11:42:27]wFMCommunicate OK [11:42:27]wFMCommunicate request_size=167 [11:42:27]MH_SAM_APDU [11:42:27]CAPDU: 80 0D 02 02 A2 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 1A 00 00 00 F4 03 04 00 2B 9B 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 05 0A 00 00 35 04 06 00 2F 1C FE AB D4 4D [11:42:27]Write to MH i2c: E2 AA 00 D7 48 80 0D 02 02 A2 00 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 1A 00 00 00 F4 03 04 00 2B 9B 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 05 0A 00 00 35 04 06 00 2F 1C FE AB D4 4D 00 00 6E [11:42:27]Write i2c OK [11:42:27]MH_I2C_Read... [11:42:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:42:28]Read from MH i2c: E2 [11:42:28]MH_I2C_Read... [11:42:28]Read from MH i2c: E2 03 00 [11:42:28]MH_I2C_Read... [11:42:28]Read from MH i2c: E2 03 00 D7 48 00 90 00 93 [11:42:28]RAPDU: 90 00 [11:42:28]wFMCommunicate OK [11:42:28]wFMCommunicate request_size=4 [11:42:28]MH_SAM_APDU [11:42:28]CAPDU: 80 0D 03 02 [11:42:28]Write to MH i2c: E2 08 00 D8 48 80 0D 03 02 00 00 00 00 9B [11:42:28]Write i2c OK [11:42:28]MH_I2C_Read... [11:42:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:42:28]Read from MH i2c: E2 [11:42:28]MH_I2C_Read... [11:42:28]Read from MH i2c: E2 0B 00 [11:42:28]MH_I2C_Read... [11:42:28]Read from MH i2c: E2 0B 00 D8 48 00 D2 4A E0 E2 36 35 70 54 90 00 A9 [11:42:28]RAPDU: D2 4A E0 E2 36 35 70 54 90 00 [11:42:28]wFMCommunicate OK [11:42:28]SAM_PROTO_SignData done [11:42:28]FM_MakeSignedData done [11:42:28]CreateOFDProtocolMessage [11:42:28]wFMCommunicate request_size=4 [11:42:28]MH_SAM_APDU [11:42:28]CAPDU: 80 11 00 00 [11:42:28]Write to MH i2c: E2 08 00 D9 48 80 11 00 00 00 00 00 00 9B [11:42:28]Write i2c OK [11:42:28]MH_I2C_Read... [11:42:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:42:28]Read from MH i2c: E2 [11:42:28]MH_I2C_Read... [11:42:28]Read from MH i2c: E2 17 00 [11:42:28]MH_I2C_Read... [11:42:28]Read from MH i2c: E2 17 00 D9 48 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 E3 [11:42:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:42:28]wFMCommunicate OK [11:42:28]CreateOFDProtocolMessage done [11:42:28]OFDSenderStorePacket 2565 [11:42:28]StoreOFDPacket docnum=2565 [11:42:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 AC 01 00 00 94 12 A4 01 35 78 5A 03 01 00 03 00 98 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1A 00 00 00 F4 03 04 00 2B 9B 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 05 0A 00 00 35 04 06 00 2F 1C FE AB D4 4D D2 4A E0 E2 36 35 70 54 [11:42:28]CheckFolder [11:42:28]dirname=/storage/ofd_packets [11:42:28]CheckFolder done [11:42:28]ProducePacketName [11:42:28]name=ofd_packets/00002565 [11:42:28]NVStorageSaveData ofd_packets/00002565 [11:42:28]File name is /storage/ofd_packets/00002565 [11:42:28]Write 458 bytes [11:42:28]NVStorageSaveData done [11:42:28]OFDSenderStorePacket done [11:42:28]KKMCreateOFDPacket done [11:42:28]NVStorageSaveData kkm_last_timestamp [11:42:28]File name is /storage/kkm_last_timestamp [11:42:28]Write 4 bytes [11:42:28]NVStorageSaveData done [11:42:28]ExternCall_PrintAddStr [11:42:28]wPrintStart [11:42:28]Write to MH i2c: 01 00 00 DA 48 22 [11:42:28]OFD Sender: Processing packet 2565 [packets to send 1, broken 0] [11:42:28]ProducePacketName [11:42:28]name=ofd_packets/00002565 [11:42:28]OFD Sender: To server: pG, [11:42:28]CommunicateWithHost lk.salyk.kg:30040 [11:42:28]ConnectInit lk.salyk.kg [11:42:28]Write i2c OK [11:42:28]MH_I2C_Read... [11:42:28]Read from MH i2c: 01 [11:42:28]MH_I2C_Read... [11:42:28]Read from MH i2c: 01 07 00 [11:42:28]MH_I2C_Read... [11:42:28]Read from MH i2c: 01 07 00 DA 48 00 00 00 00 00 FF 0F 37 [11:42:28]RasterBufferAndPrint [11:42:28]line Счет N : (3)99943 [11:42:28]line ИНН: 02508201610067 [11:42:28]line Контрольно-Кассовый Чек [11:42:28]line ПРОДАЖА [11:42:28]line Товар: 4700000310326 [11:42:28]line Вода Адыгене 1л б/г [11:42:28]line 1.000 * 35.00 [11:42:28]line = 35.00 [11:42:28]line НДС 12% НСП 1% [11:42:28]line > о реализуемом товаре [11:42:28]line Товар: 4700000160792 [11:42:28]line Снек Курут классический (круглый) [11:42:28]line 1.000 * 60.00 [11:42:28]line = 60.00 [11:42:28]line НДС 12% НСП 1% [11:42:28]line > о реализуемом товаре [11:42:28]line ИТОГО: 95.00 [11:42:28]line НСП 1% : 0.84 [11:42:28]line НДС 12% : 10.09 [11:42:28]line Наличными: 95.00 [11:42:28]line Безнал.: 0.00 [11:42:28]line Место: АЗС № 162 "Партнер Нефть" [11:42:28]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:42:28]line СНО: Общий режим [11:42:28]line Чек 26 19.10.2024 11:42 [11:42:28]line Смена: 23 ФФД: 1.0 [11:42:28]line ЗНМ: 0300000191 [11:42:28]line РНМ: 0000000000207295 [11:42:28]line Версия ККМ: v1.0 [11:42:28]line ФМ: 0000000002342820 [11:42:28]line ФД: 2565 [11:42:28]line ФПД: 51801578263629 [11:42:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T114235&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2565&fm=51801578263629&tin=02508201610067®Number=0000000000207295&sum=9500 [11:42:28]Connected sock=10 [11:42:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 AC 01 00 00 94 12 A4 01 35 78 5A 03 01 00 03 00 98 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1A 00 00 00 F4 03 04 00 2B 9B 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 05 0A 00 00 35 04 06 00 2F 1C FE AB D4 4D D2 4A E0 E2 36 35 70 54 [11:42:28]line 0 [11:42:28]written 0, free lines is 4095 [11:42:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 73 6A 47 00 93 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 32 33 34 32 38 32 30 10 04 04 00 05 0A 00 00 F4 03 04 00 8C 46 13 67 B6 04 01 00 00 EE C3 54 0A 90 86 E6 07 [11:42:28]CommunicateWithHost err = 0 [11:42:28]CheckOFDResponse [11:42:28]1017 (14) - 77093643461234 [11:42:28]1041 (16) - 0000000002342820 [11:42:28]1040 (4) - 2565 [11:42:28]1012 (4) - 19.10.2024 05:41 [11:42:28]1206 (1) - 0 [11:42:28]OFD Sender: Remove packet 2565 [11:42:28]ProducePacketName [11:42:28]name=ofd_packets/00002565 [11:42:28]NVStorageDeleteData [11:42:29]Write to MH i2c: 01 00 00 09 49 52 [11:42:29]Write i2c OK [11:42:29]MH_I2C_Read... [11:42:29]Read from MH i2c: 01 [11:42:29]MH_I2C_Read... [11:42:29]Read from MH i2c: 01 07 00 [11:42:29]MH_I2C_Read... [11:42:29]Read from MH i2c: 01 07 00 09 49 00 00 00 00 00 40 0C A5 [11:42:29]RasterBufferAndPrint [11:42:29]line [11:42:29]line [11:42:29]line [11:42:29]line [11:42:29]line [11:42:29]written 0, free lines is 3143 [11:42:29]MH_Cut [11:42:29]Write to MH i2c: D1 01 00 10 49 01 2B [11:42:29]Write i2c OK [11:42:29]MH_I2C_Read... [11:42:29]Read from MH i2c: D1 [11:42:29]MH_I2C_Read... [11:42:29]Read from MH i2c: D1 01 00 [11:42:29]MH_I2C_Read... [11:42:29]Read from MH i2c: D1 01 00 10 49 00 2A [11:42:29]Write to MH i2c: 01 00 00 11 49 5A [11:42:29]Write i2c OK [11:42:29]MH_I2C_Read... [11:42:29]OFD Sender: No OFD packet to send [11:42:30]*** Cut start [11:42:30]*** Partial cut [11:42:30]*** CUTSNS_PIN = 1 [11:42:30]*** CUTSNS_PIN = 0 [11:42:30]*** Brake cut motor [11:42:30]Read from MH i2c: 01 [11:42:30]MH_I2C_Read... [11:42:30]*** Stop cut motor [11:42:30]*** Cut end [11:42:30]Read from MH i2c: 01 07 00 [11:42:30]MH_I2C_Read... [11:42:30]Read from MH i2c: 01 07 00 11 49 00 00 00 00 00 FF 0F 6F [11:42:30]process_action close_receipt done [11:42:30]requested_data is exist [11:42:30]produce_requested_data [11:42:30]requested_item fm.sn is exist - process it [11:42:30]wFMCommunicate request_size=4 [11:42:30]MH_SAM_APDU [11:42:30]CAPDU: 80 11 00 00 [11:42:30]Write to MH i2c: E2 08 00 12 49 80 11 00 00 00 00 00 00 D5 [11:42:30]Write i2c OK [11:42:30]MH_I2C_Read... [11:42:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:42:30]Read from MH i2c: E2 [11:42:30]MH_I2C_Read... [11:42:30]Read from MH i2c: E2 17 00 [11:42:30]MH_I2C_Read... [11:42:30]Read from MH i2c: E2 17 00 12 49 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 1D [11:42:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:42:30]wFMCommunicate OK [11:42:30]requested_item fd.num is exist - process it [11:42:30]SAM_PROTO_GetFieldsCounters [11:42:30]wFMCommunicate request_size=4 [11:42:30]MH_SAM_APDU [11:42:30]CAPDU: 80 13 00 00 [11:42:30]Write to MH i2c: E2 08 00 13 49 80 13 00 00 00 00 00 00 D8 [11:42:30]Write i2c OK [11:42:30]MH_I2C_Read... [11:42:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:42:30]Read from MH i2c: E2 [11:42:30]MH_I2C_Read... [11:42:30]Read from MH i2c: E2 62 00 [11:42:30]MH_I2C_Read... [11:42:30]Read from MH i2c: E2 62 00 13 49 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 05 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 62 [11:42:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 05 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:42:31]wFMCommunicate OK [11:42:31]SAM_PROTO_GetFieldsCounters done [11:42:31]requested_item shift.num is exist - process it [11:42:31]requested_item shift.opened is exist - process it [11:42:31]req_shift_opened [11:42:31]FM_GetShiftState [11:42:31]SAM_PROTO_GetShiftState [11:42:31]wFMCommunicate request_size=4 [11:42:31]MH_SAM_APDU [11:42:31]CAPDU: 80 13 01 00 [11:42:31]Write to MH i2c: E2 08 00 14 49 80 13 01 00 00 00 00 00 DA [11:42:31]Write i2c OK [11:42:31]MH_I2C_Read... [11:42:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:42:31]Read from MH i2c: E2 [11:42:31]MH_I2C_Read... [11:42:31]Read from MH i2c: E2 0E 00 [11:42:31]MH_I2C_Read... [11:42:31]Read from MH i2c: E2 0E 00 14 49 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 83 [11:42:31]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [11:42:31]wFMCommunicate OK [11:42:31]SAM_PROTO_GetShiftState done [11:42:31]FM_GetShiftState done [11:42:31]req_shift_opened done [11:42:31]requested_item shift.open_date is exist - process it [11:42:31]req_shift_open_date [11:42:31]req_shift_open_date done [11:42:31]produce_requested_data done [11:42:31]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2565,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [11:42:31]process_action_free close_receipt [11:42:31]json_value_free [11:42:31]json_value_free done [11:42:31]process_json_proto returns [11:42:31]Send response to host [11:42:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2565,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [11:42:31]free response buf [11:42:31]execute_script done [11:42:31]execute_script returns [11:42:31]free content buf [11:42:31]Sock 7.Close socket [11:42:31]Sock 7.Thread stoped [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:08]accept exits with 9 [11:43:08]New connection [11:43:08]New thread 3066850660 created [11:43:08]Thread 3066707300 joined [11:43:08]Waiting for new connection... [11:43:08] Sock 9.Parse request [11:43:08]Sock 9.Check first char [11:43:08]Sock 9.First char is OK [11:43:08]request: POST /json_proto HTTP/1.0 [11:43:08]Method: POST [11:43:08]URL: /json_proto [11:43:08]Method is POST - this is cgi request [11:43:08]url: /json_proto [11:43:08]query_string will be loaded in cgi processing [11:43:08]execute_cgi json_proto POST (null) [11:43:08]execute_cgi path=json_proto method=POST [11:43:08]POST find Content-Length [11:43:08]Host: 172.17.52.132:8080 [11:43:08]Content-Length: 780 [11:43:08]Content-Type: application/json [11:43:08] [11:43:08]POST finish read [11:43:08]Found Content-Length = 780 [11:43:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99944", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:43:08]execute_script... [11:43:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99944", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:43:08]POST & json_proto [11:43:08]process_json_proto [11:43:08]json parsed OK: [11:43:08]protocol is kg_v1.0 [11:43:08]action value=close_receipt [11:43:08]process_action close_receipt [11:43:08]cmd_close_receipt [11:43:08]MH_GetDate [11:43:08]Write to MH i2c: F0 00 00 15 49 4D [11:43:08]Write i2c OK [11:43:08]MH_I2C_Read... [11:43:08]Read from MH i2c: F0 [11:43:08]MH_I2C_Read... [11:43:08]Read from MH i2c: F0 09 00 [11:43:08]MH_I2C_Read... [11:43:08]Read from MH i2c: F0 09 00 15 49 00 55 9B 13 67 5A BE F6 66 34 [11:43:08]GetLastDocTimeStamp 1729338155 [11:43:08]current date 1729338197 [11:43:08]FM_GetShiftState [11:43:08]SAM_PROTO_GetShiftState [11:43:08]wFMCommunicate request_size=4 [11:43:08]MH_SAM_APDU [11:43:08]CAPDU: 80 13 01 00 [11:43:08]Write to MH i2c: E2 08 00 16 49 80 13 01 00 00 00 00 00 DC [11:43:08]Write i2c OK [11:43:08]MH_I2C_Read... [11:43:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:43:08]Read from MH i2c: E2 [11:43:08]MH_I2C_Read... [11:43:08]Read from MH i2c: E2 0E 00 [11:43:08]MH_I2C_Read... [11:43:08]Read from MH i2c: E2 0E 00 16 49 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 85 [11:43:08]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [11:43:08]wFMCommunicate OK [11:43:08]SAM_PROTO_GetShiftState done [11:43:08]FM_GetShiftState done [11:43:08]opened in 1729296173 [11:43:08]opened+sec_in_day 1729382573 [11:43:08]quantity*price = 9500 [11:43:08]sum+1 = 9501 [11:43:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 27 19.10.2024 11:43 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2566 ФПД: 86102886459179 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T114317&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2566&fm=86102886459179&tin=02508201610067®Number=0000000000207295&sum=9500 0 [11:43:09]StoreToDocumentArchive [11:43:09]shift 23 fd 2566 [11:43:09]save to /storage/0023/doc_00002566 [11:43:09]save last doc name /storage/0023/doc_00002566 to /storage/kkm_last_doc_name [11:43:09]save OK [11:43:09]Clear old archive folders... [11:43:09]ProcessDocumentItem done err = 0, tmpTLVsize=293 [11:43:09]tlvbuf is 01447740 [11:43:09]SAM_PROTO_ClearQueue [11:43:09]wFMCommunicate request_size=4 [11:43:09]MH_SAM_APDU [11:43:09]CAPDU: 80 09 00 00 [11:43:09]Write to MH i2c: E2 08 00 23 49 80 09 00 00 00 00 00 00 DE [11:43:09]Write i2c OK [11:43:09]MH_I2C_Read... [11:43:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:43:09]Read from MH i2c: E2 [11:43:09]MH_I2C_Read... [11:43:09]Read from MH i2c: E2 03 00 [11:43:09]MH_I2C_Read... [11:43:09]Read from MH i2c: E2 03 00 23 49 00 90 00 E0 [11:43:09]RAPDU: 90 00 [11:43:09]wFMCommunicate OK [11:43:09]SAM_PROTO_ClearQueue done [11:43:09]KKMCreateOFDPacket [11:43:09]OFDProtocolAddRootSTLVToBuf [11:43:09]FM_MakeSignedData [11:43:09]FM_MakeSignedData [11:43:09]SAM_PROTO_SignData [11:43:09]wFMCommunicate request_size=4 [11:43:09]MH_SAM_APDU [11:43:09]CAPDU: 80 0D 01 02 [11:43:09]Write to MH i2c: E2 08 00 24 49 80 0D 01 02 00 00 00 00 E6 [11:43:09]OFD Sender: No OFD packet to send [11:43:09]Write i2c OK [11:43:09]MH_I2C_Read... [11:43:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:43:09]Read from MH i2c: E2 [11:43:09]MH_I2C_Read... [11:43:09]Read from MH i2c: E2 03 00 [11:43:09]MH_I2C_Read... [11:43:09]Read from MH i2c: E2 03 00 24 49 00 90 00 E1 [11:43:09]RAPDU: 90 00 [11:43:09]wFMCommunicate OK [11:43:09]wFMCommunicate request_size=255 [11:43:09]MH_SAM_APDU [11:43:09]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 55 9B 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [11:43:09]Write to MH i2c: E2 02 01 25 49 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 55 9B 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 22 [11:43:09]Write i2c OK [11:43:09]MH_I2C_Read... [11:43:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:09]Read from MH i2c: E2 [11:43:09]MH_I2C_Read... [11:43:09]Read from MH i2c: E2 03 00 [11:43:09]MH_I2C_Read... [11:43:09]Read from MH i2c: E2 03 00 25 49 00 90 00 E2 [11:43:09]RAPDU: 90 00 [11:43:09]wFMCommunicate OK [11:43:09]wFMCommunicate request_size=52 [11:43:09]MH_SAM_APDU [11:43:09]CAPDU: 80 0D 02 02 2F 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 06 0A 00 00 35 04 06 00 4E 4F 63 F6 27 2B [11:43:09]Write to MH i2c: E2 37 00 26 49 80 0D 02 02 2F 00 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 06 0A 00 00 35 04 06 00 4E 4F 63 F6 27 2B 00 00 F9 [11:43:09]Write i2c OK [11:43:09]MH_I2C_Read... [11:43:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:09]Read from MH i2c: E2 [11:43:09]MH_I2C_Read... [11:43:09]Read from MH i2c: E2 03 00 [11:43:09]MH_I2C_Read... [11:43:09]Read from MH i2c: E2 03 00 26 49 00 90 00 E3 [11:43:09]RAPDU: 90 00 [11:43:09]wFMCommunicate OK [11:43:09]wFMCommunicate request_size=4 [11:43:09]MH_SAM_APDU [11:43:09]CAPDU: 80 0D 03 02 [11:43:09]Write to MH i2c: E2 08 00 27 49 80 0D 03 02 00 00 00 00 EB [11:43:09]Write i2c OK [11:43:09]MH_I2C_Read... [11:43:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:43:09]Read from MH i2c: E2 [11:43:09]MH_I2C_Read... [11:43:09]Read from MH i2c: E2 0B 00 [11:43:09]MH_I2C_Read... [11:43:09]Read from MH i2c: E2 0B 00 27 49 00 70 30 96 02 18 F8 6A 56 90 00 F4 [11:43:09]RAPDU: 70 30 96 02 18 F8 6A 56 90 00 [11:43:09]wFMCommunicate OK [11:43:09]SAM_PROTO_SignData done [11:43:09]FM_MakeSignedData done [11:43:09]CreateOFDProtocolMessage [11:43:09]wFMCommunicate request_size=4 [11:43:09]MH_SAM_APDU [11:43:09]CAPDU: 80 11 00 00 [11:43:09]Write to MH i2c: E2 08 00 28 49 80 11 00 00 00 00 00 00 EB [11:43:09]Write i2c OK [11:43:09]MH_I2C_Read... [11:43:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:43:09]Read from MH i2c: E2 [11:43:09]MH_I2C_Read... [11:43:09]Read from MH i2c: E2 17 00 [11:43:09]MH_I2C_Read... [11:43:09]Read from MH i2c: E2 17 00 28 49 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 33 [11:43:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:43:09]wFMCommunicate OK [11:43:09]CreateOFDProtocolMessage done [11:43:09]OFDSenderStorePacket 2566 [11:43:09]StoreOFDPacket docnum=2566 [11:43:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 39 01 00 00 86 06 31 01 49 75 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 55 9B 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 06 0A 00 00 35 04 06 00 4E 4F 63 F6 27 2B 70 30 96 02 18 F8 6A 56 [11:43:09]CheckFolder [11:43:09]dirname=/storage/ofd_packets [11:43:09]CheckFolder done [11:43:09]ProducePacketName [11:43:09]name=ofd_packets/00002566 [11:43:09]NVStorageSaveData ofd_packets/00002566 [11:43:09]File name is /storage/ofd_packets/00002566 [11:43:09]Write 343 bytes [11:43:09]NVStorageSaveData done [11:43:09]OFDSenderStorePacket done [11:43:09]KKMCreateOFDPacket done [11:43:09]NVStorageSaveData kkm_last_timestamp [11:43:09]File name is /storage/kkm_last_timestamp [11:43:09]Write 4 bytes [11:43:09]NVStorageSaveData done [11:43:09]ExternCall_PrintAddStr [11:43:09]wPrintStart [11:43:09]Write to MH i2c: 01 00 00 29 49 72 [11:43:09]Write i2c OK [11:43:09]MH_I2C_Read... [11:43:09]Read from MH i2c: 01 [11:43:09]MH_I2C_Read... [11:43:09]Read from MH i2c: 01 07 00 [11:43:09]MH_I2C_Read... [11:43:09]Read from MH i2c: 01 07 00 29 49 00 00 00 00 00 FF 0F 87 [11:43:09]RasterBufferAndPrint [11:43:09]line Счет N : (3)99944 [11:43:09]line ИНН: 02508201610067 [11:43:09]line Контрольно-Кассовый Чек [11:43:09]line ПРОДАЖА [11:43:09]line Товар: 4700000480050 [11:43:09]line Напиток Nitro Energy эн green ж/б 0,45л [11:43:09]line 1.000 * 95.00 [11:43:09]line = 95.00 [11:43:09]line НДС 12% НСП 1% [11:43:09]line > о реализуемом товаре [11:43:09]line ИТОГО: 95.00 [11:43:09]line НСП 1% : 0.84 [11:43:09]line НДС 12% : 10.09 [11:43:09]line Наличными: 0.00 [11:43:09]line Безнал.: 95.00 [11:43:09]line Место: АЗС № 162 "Партнер Нефть" [11:43:09]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:43:09]line СНО: Общий режим [11:43:09]line Чек 27 19.10.2024 11:43 [11:43:09]line Смена: 23 ФФД: 1.0 [11:43:09]line ЗНМ: 0300000191 [11:43:09]line РНМ: 0000000000207295 [11:43:09]line Версия ККМ: v1.0 [11:43:09]line Платежная система: Mbank [11:43:09]line ФМ: 0000000002342820 [11:43:09]line ФД: 2566 [11:43:09]line ФПД: 86102886459179 [11:43:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T114317&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2566&fm=86102886459179&tin=02508201610067®Number=0000000000207295&sum=9500 [11:43:10]line 0 [11:43:10]OFD Sender: Processing packet 2566 [packets to send 1, broken 0] [11:43:10]ProducePacketName [11:43:10]name=ofd_packets/00002566 [11:43:10]OFD Sender: To server: pG, [11:43:10]CommunicateWithHost lk.salyk.kg:30040 [11:43:10]ConnectInit lk.salyk.kg [11:43:10]written 0, free lines is 4095 [11:43:10]Connected sock=10 [11:43:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 39 01 00 00 86 06 31 01 49 75 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 55 9B 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 06 0A 00 00 35 04 06 00 4E 4F 63 F6 27 2B 70 30 96 02 18 F8 6A 56 [11:43:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 95 6B 47 00 5A 30 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 06 0A 00 00 F4 03 04 00 B6 46 13 67 B6 04 01 00 00 2E B8 37 AE 57 A1 D1 D0 [11:43:10]CommunicateWithHost err = 0 [11:43:10]CheckOFDResponse [11:43:10]1017 (14) - 77093643461234 [11:43:10]1041 (16) - 0000000002342820 [11:43:10]1040 (4) - 2566 [11:43:10]1012 (4) - 19.10.2024 05:42 [11:43:10]1206 (1) - 0 [11:43:10]OFD Sender: Remove packet 2566 [11:43:10]ProducePacketName [11:43:10]name=ofd_packets/00002566 [11:43:10]NVStorageDeleteData [11:43:10]Write to MH i2c: 01 00 00 53 49 9C [11:43:10]Write i2c OK [11:43:10]MH_I2C_Read... [11:43:10]Read from MH i2c: 01 [11:43:10]MH_I2C_Read... [11:43:10]Read from MH i2c: 01 07 00 [11:43:10]MH_I2C_Read... [11:43:10]Read from MH i2c: 01 07 00 53 49 00 00 00 00 00 9D 0C 4C [11:43:10]RasterBufferAndPrint [11:43:10]line [11:43:10]line [11:43:10]line [11:43:10]line [11:43:10]line [11:43:10]written 0, free lines is 3235 [11:43:10]MH_Cut [11:43:10]Write to MH i2c: D1 01 00 5A 49 01 75 [11:43:10]Write i2c OK [11:43:10]MH_I2C_Read... [11:43:10]Read from MH i2c: D1 [11:43:10]MH_I2C_Read... [11:43:10]Read from MH i2c: D1 01 00 [11:43:10]MH_I2C_Read... [11:43:10]Read from MH i2c: D1 01 00 5A 49 00 74 [11:43:10]Write to MH i2c: 01 00 00 5B 49 A4 [11:43:10]Write i2c OK [11:43:10]MH_I2C_Read... [11:43:11]OFD Sender: No OFD packet to send [11:43:11]*** Cut start [11:43:11]*** Partial cut [11:43:11]*** CUTSNS_PIN = 1 [11:43:11]*** CUTSNS_PIN = 0 [11:43:11]*** Brake cut motor [11:43:12]Read from MH i2c: 01 [11:43:12]MH_I2C_Read... [11:43:12]*** Stop cut motor [11:43:12]*** Cut end [11:43:12]Read from MH i2c: 01 07 00 [11:43:12]MH_I2C_Read... [11:43:12]Read from MH i2c: 01 07 00 5B 49 00 00 00 00 00 FF 0F B9 [11:43:12]process_action close_receipt done [11:43:12]requested_data is exist [11:43:12]produce_requested_data [11:43:12]requested_item fm.sn is exist - process it [11:43:12]wFMCommunicate request_size=4 [11:43:12]MH_SAM_APDU [11:43:12]CAPDU: 80 11 00 00 [11:43:12]Write to MH i2c: E2 08 00 5C 49 80 11 00 00 00 00 00 00 1F [11:43:12]Write i2c OK [11:43:12]MH_I2C_Read... [11:43:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:43:12]Read from MH i2c: E2 [11:43:12]MH_I2C_Read... [11:43:12]Read from MH i2c: E2 17 00 [11:43:12]MH_I2C_Read... [11:43:12]Read from MH i2c: E2 17 00 5C 49 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 67 [11:43:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:43:12]wFMCommunicate OK [11:43:12]requested_item fd.num is exist - process it [11:43:12]SAM_PROTO_GetFieldsCounters [11:43:12]wFMCommunicate request_size=4 [11:43:12]MH_SAM_APDU [11:43:12]CAPDU: 80 13 00 00 [11:43:12]Write to MH i2c: E2 08 00 5D 49 80 13 00 00 00 00 00 00 22 [11:43:12]Write i2c OK [11:43:12]MH_I2C_Read... [11:43:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:43:12]Read from MH i2c: E2 [11:43:12]MH_I2C_Read... [11:43:12]Read from MH i2c: E2 62 00 [11:43:12]MH_I2C_Read... [11:43:12]Read from MH i2c: E2 62 00 5D 49 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 06 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 B0 [11:43:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 06 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:43:12]wFMCommunicate OK [11:43:12]SAM_PROTO_GetFieldsCounters done [11:43:12]requested_item shift.num is exist - process it [11:43:12]requested_item shift.opened is exist - process it [11:43:12]req_shift_opened [11:43:12]FM_GetShiftState [11:43:12]SAM_PROTO_GetShiftState [11:43:12]wFMCommunicate request_size=4 [11:43:12]MH_SAM_APDU [11:43:12]CAPDU: 80 13 01 00 [11:43:12]Write to MH i2c: E2 08 00 5E 49 80 13 01 00 00 00 00 00 24 [11:43:12]Write i2c OK [11:43:12]MH_I2C_Read... [11:43:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:43:12]Read from MH i2c: E2 [11:43:12]MH_I2C_Read... [11:43:12]Read from MH i2c: E2 0E 00 [11:43:12]MH_I2C_Read... [11:43:12]Read from MH i2c: E2 0E 00 5E 49 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 CD [11:43:12]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [11:43:12]wFMCommunicate OK [11:43:12]SAM_PROTO_GetShiftState done [11:43:12]FM_GetShiftState done [11:43:12]req_shift_opened done [11:43:12]requested_item shift.open_date is exist - process it [11:43:12]req_shift_open_date [11:43:12]req_shift_open_date done [11:43:12]produce_requested_data done [11:43:12]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2566,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [11:43:12]process_action_free close_receipt [11:43:12]json_value_free [11:43:12]json_value_free done [11:43:12]process_json_proto returns [11:43:12]Send response to host [11:43:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2566,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [11:43:12]free response buf [11:43:12]execute_script done [11:43:12]execute_script returns [11:43:12]free content buf [11:43:12]Sock 9.Close socket [11:43:12]Sock 9.Thread stoped [11:43:16]OFD Sender: No OFD packet to send [11:43:21]OFD Sender: No OFD packet to send [11:43:26]OFD Sender: No OFD packet to send [11:43:31]OFD Sender: No OFD packet to send [11:43:36]OFD Sender: No OFD packet to send [11:43:41]OFD Sender: No OFD packet to send [11:43:46]OFD Sender: No OFD packet to send [11:43:51]OFD Sender: No OFD packet to send [11:43:56]OFD Sender: No OFD packet to send [11:44:01]OFD Sender: No OFD packet to send [11:44:06]OFD Sender: No OFD packet to send [11:44:11]OFD Sender: No OFD packet to send [11:44:16]OFD Sender: No OFD packet to send [11:44:21]OFD Sender: No OFD packet to send [11:44:26]OFD Sender: No OFD packet to send [11:44:31]OFD Sender: No OFD packet to send [11:44:36]OFD Sender: No OFD packet to send [11:44:41]OFD Sender: No OFD packet to send [11:44:46]OFD Sender: No OFD packet to send [11:44:51]OFD Sender: No OFD packet to send [11:44:56]OFD Sender: No OFD packet to send [11:45:01]OFD Sender: No OFD packet to send [11:45:06]OFD Sender: No OFD packet to send [11:45:11]OFD Sender: No OFD packet to send [11:45:16]OFD Sender: No OFD packet to send [11:45:21]OFD Sender: No OFD packet to send [11:45:26]OFD Sender: No OFD packet to send [11:45:31]OFD Sender: No OFD packet to send [11:45:36]OFD Sender: No OFD packet to send [11:45:41]OFD Sender: No OFD packet to send [11:45:46]OFD Sender: No OFD packet to send [11:45:51]OFD Sender: No OFD packet to send [11:45:56]OFD Sender: No OFD packet to send [11:46:01]OFD Sender: No OFD packet to send [11:46:06]OFD Sender: No OFD packet to send [11:46:11]OFD Sender: No OFD packet to send [11:46:16]OFD Sender: No OFD packet to send [11:46:21]OFD Sender: No OFD packet to send [11:46:26]OFD Sender: No OFD packet to send [11:46:31]OFD Sender: No OFD packet to send [11:46:36]OFD Sender: No OFD packet to send [11:46:41]OFD Sender: No OFD packet to send [11:46:46]OFD Sender: No OFD packet to send [11:46:51]OFD Sender: No OFD packet to send [11:46:56]OFD Sender: No OFD packet to send [11:47:01]OFD Sender: No OFD packet to send [11:47:06]OFD Sender: No OFD packet to send [11:47:11]OFD Sender: No OFD packet to send [11:47:16]OFD Sender: No OFD packet to send [11:47:21]OFD Sender: No OFD packet to send [11:47:26]OFD Sender: No OFD packet to send [11:47:31]OFD Sender: No OFD packet to send [11:47:36]OFD Sender: No OFD packet to send [11:47:41]OFD Sender: No OFD packet to send [11:47:46]OFD Sender: No OFD packet to send [11:47:51]OFD Sender: No OFD packet to send [11:47:56]OFD Sender: No OFD packet to send [11:48:01]OFD Sender: No OFD packet to send [11:48:06]OFD Sender: No OFD packet to send [11:48:11]OFD Sender: No OFD packet to send [11:48:16]OFD Sender: No OFD packet to send [11:48:21]OFD Sender: No OFD packet to send [11:48:26]OFD Sender: No OFD packet to send [11:48:31]OFD Sender: No OFD packet to send [11:48:36]OFD Sender: No OFD packet to send [11:48:41]OFD Sender: No OFD packet to send [11:48:46]OFD Sender: No OFD packet to send [11:48:51]OFD Sender: No OFD packet to send [11:48:56]OFD Sender: No OFD packet to send [11:49:01]OFD Sender: No OFD packet to send [11:49:06]OFD Sender: No OFD packet to send [11:49:11]OFD Sender: No OFD packet to send [11:49:16]OFD Sender: No OFD packet to send [11:49:21]OFD Sender: No OFD packet to send [11:49:26]OFD Sender: No OFD packet to send [11:49:31]OFD Sender: No OFD packet to send [11:49:36]OFD Sender: No OFD packet to send [11:49:41]OFD Sender: No OFD packet to send [11:49:46]OFD Sender: No OFD packet to send [11:49:51]OFD Sender: No OFD packet to send [11:49:56]OFD Sender: No OFD packet to send [11:50:01]OFD Sender: No OFD packet to send [11:50:06]OFD Sender: No OFD packet to send [11:50:11]OFD Sender: No OFD packet to send [11:50:16]OFD Sender: No OFD packet to send [11:50:21]OFD Sender: No OFD packet to send [11:50:26]OFD Sender: No OFD packet to send [11:50:31]OFD Sender: No OFD packet to send [11:50:36]OFD Sender: No OFD packet to send [11:50:41]OFD Sender: No OFD packet to send [11:50:46]OFD Sender: No OFD packet to send [11:50:51]OFD Sender: No OFD packet to send [11:50:56]OFD Sender: No OFD packet to send [11:51:01]OFD Sender: No OFD packet to send [11:51:06]OFD Sender: No OFD packet to send [11:51:11]OFD Sender: No OFD packet to send [11:51:16]OFD Sender: No OFD packet to send [11:51:21]OFD Sender: No OFD packet to send [11:51:26]OFD Sender: No OFD packet to send [11:51:31]OFD Sender: No OFD packet to send [11:51:36]OFD Sender: No OFD packet to send [11:51:41]OFD Sender: No OFD packet to send [11:51:46]OFD Sender: No OFD packet to send [11:51:51]OFD Sender: No OFD packet to send [11:51:56]OFD Sender: No OFD packet to send [11:52:01]OFD Sender: No OFD packet to send [11:52:06]OFD Sender: No OFD packet to send [11:52:11]OFD Sender: No OFD packet to send [11:52:16]OFD Sender: No OFD packet to send [11:52:21]OFD Sender: No OFD packet to send [11:52:26]OFD Sender: No OFD packet to send [11:52:31]OFD Sender: No OFD packet to send [11:52:36]OFD Sender: No OFD packet to send [11:52:41]OFD Sender: No OFD packet to send [11:52:46]OFD Sender: No OFD packet to send [11:52:51]OFD Sender: No OFD packet to send [11:52:56]OFD Sender: No OFD packet to send [11:53:01]OFD Sender: No OFD packet to send [11:53:06]OFD Sender: No OFD packet to send [11:53:11]OFD Sender: No OFD packet to send [11:53:16]OFD Sender: No OFD packet to send [11:53:21]OFD Sender: No OFD packet to send [11:53:26]OFD Sender: No OFD packet to send [11:53:31]OFD Sender: No OFD packet to send [11:53:36]OFD Sender: No OFD packet to send [11:53:41]OFD Sender: No OFD packet to send [11:53:46]OFD Sender: No OFD packet to send [11:53:51]OFD Sender: No OFD packet to send [11:53:56]OFD Sender: No OFD packet to send [11:54:01]OFD Sender: No OFD packet to send [11:54:06]OFD Sender: No OFD packet to send [11:54:11]OFD Sender: No OFD packet to send [11:54:16]OFD Sender: No OFD packet to send [11:54:21]OFD Sender: No OFD packet to send [11:54:26]OFD Sender: No OFD packet to send [11:54:31]OFD Sender: No OFD packet to send [11:54:36]OFD Sender: No OFD packet to send [11:54:41]OFD Sender: No OFD packet to send [11:54:46]OFD Sender: No OFD packet to send [11:54:51]OFD Sender: No OFD packet to send [11:54:56]OFD Sender: No OFD packet to send [11:55:01]OFD Sender: No OFD packet to send [11:55:06]OFD Sender: No OFD packet to send [11:55:11]OFD Sender: No OFD packet to send [11:55:16]OFD Sender: No OFD packet to send [11:55:21]OFD Sender: No OFD packet to send [11:55:26]OFD Sender: No OFD packet to send [11:55:31]OFD Sender: No OFD packet to send [11:55:36]OFD Sender: No OFD packet to send [11:55:41]OFD Sender: No OFD packet to send [11:55:46]OFD Sender: No OFD packet to send [11:55:51]OFD Sender: No OFD packet to send [11:55:56]OFD Sender: No OFD packet to send [11:56:01]OFD Sender: No OFD packet to send [11:56:06]OFD Sender: No OFD packet to send [11:56:11]OFD Sender: No OFD packet to send [11:56:16]OFD Sender: No OFD packet to send [11:56:21]OFD Sender: No OFD packet to send [11:56:26]OFD Sender: No OFD packet to send [11:56:31]OFD Sender: No OFD packet to send [11:56:36]OFD Sender: No OFD packet to send [11:56:41]OFD Sender: No OFD packet to send [11:56:46]OFD Sender: No OFD packet to send [11:56:51]OFD Sender: No OFD packet to send [11:56:56]OFD Sender: No OFD packet to send [11:57:01]OFD Sender: No OFD packet to send [11:57:06]OFD Sender: No OFD packet to send [11:57:11]OFD Sender: No OFD packet to send [11:57:16]OFD Sender: No OFD packet to send [11:57:21]OFD Sender: No OFD packet to send [11:57:26]OFD Sender: No OFD packet to send [11:57:31]OFD Sender: No OFD packet to send [11:57:36]OFD Sender: No OFD packet to send [11:57:41]OFD Sender: No OFD packet to send [11:57:46]OFD Sender: No OFD packet to send [11:57:51]OFD Sender: No OFD packet to send [11:57:56]OFD Sender: No OFD packet to send [11:58:01]OFD Sender: No OFD packet to send [11:58:06]OFD Sender: No OFD packet to send [11:58:11]OFD Sender: No OFD packet to send [11:58:16]OFD Sender: No OFD packet to send [11:58:21]OFD Sender: No OFD packet to send [11:58:22]accept exits with 7 [11:58:22]New connection [11:58:22]New thread 3066707300 created [11:58:22]Thread 3066850660 joined [11:58:22]Waiting for new connection... [11:58:22] Sock 7.Parse request [11:58:22]Sock 7.Check first char [11:58:22]Sock 7.First char is OK [11:58:22]request: POST /json_proto HTTP/1.0 [11:58:22]Method: POST [11:58:22]URL: /json_proto [11:58:22]Method is POST - this is cgi request [11:58:22]url: /json_proto [11:58:22]query_string will be loaded in cgi processing [11:58:22]execute_cgi json_proto POST (null) [11:58:22]execute_cgi path=json_proto method=POST [11:58:22]POST find Content-Length [11:58:22]Host: 172.17.52.132:8080 [11:58:22]Content-Length: 814 [11:58:22]Content-Type: application/json [11:58:22] [11:58:22]POST finish read [11:58:22]Found Content-Length = 814 [11:58:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99945", "tax_sys" : 0, "items" : [ { "code": "4700003010070", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:58:22]execute_script... [11:58: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)99945", "tax_sys" : 0, "items" : [ { "code": "4700003010070", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:58:22]POST & json_proto [11:58:22]process_json_proto [11:58:22]json parsed OK: [11:58:22]protocol is kg_v1.0 [11:58:22]action value=close_receipt [11:58:22]process_action close_receipt [11:58:22]cmd_close_receipt [11:58:22]MH_GetDate [11:58:22]Write to MH i2c: F0 00 00 5F 49 97 [11:58:22]Write i2c OK [11:58:22]MH_I2C_Read... [11:58:22]Read from MH i2c: F0 [11:58:22]MH_I2C_Read... [11:58:22]Read from MH i2c: F0 09 00 [11:58:22]MH_I2C_Read... [11:58:22]Read from MH i2c: F0 09 00 5F 49 00 E7 9E 13 67 5A BE F6 66 13 [11:58:22]GetLastDocTimeStamp 1729338197 [11:58:22]current date 1729339111 [11:58:22]FM_GetShiftState [11:58:22]SAM_PROTO_GetShiftState [11:58:22]wFMCommunicate request_size=4 [11:58:22]MH_SAM_APDU [11:58:22]CAPDU: 80 13 01 00 [11:58:22]Write to MH i2c: E2 08 00 60 49 80 13 01 00 00 00 00 00 26 [11:58:22]Write i2c OK [11:58:22]MH_I2C_Read... [11:58:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:58:22]Read from MH i2c: E2 [11:58:22]MH_I2C_Read... [11:58:22]Read from MH i2c: E2 0E 00 [11:58:22]MH_I2C_Read... [11:58:22]Read from MH i2c: E2 0E 00 60 49 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 CF [11:58:22]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [11:58:22]wFMCommunicate OK [11:58:22]SAM_PROTO_GetShiftState done [11:58:22]FM_GetShiftState done [11:58:22]opened in 1729296173 [11:58:22]opened+sec_in_day 1729382573 [11:58:22]quantity*price = 9500 [11:58:22]sum+1 = 9501 [11:58:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 28 19.10.2024 11:58 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2567 ФПД: 183299481135659 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T115831&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2567&fm=183299481135659&tin=02508201610067®Number=0000000000207295&sum=9500 0 [11:58:23]StoreToDocumentArchive [11:58:23]shift 23 fd 2567 [11:58:23]save to /storage/0023/doc_00002567 [11:58:23]save last doc name /storage/0023/doc_00002567 to /storage/kkm_last_doc_name [11:58:23]save OK [11:58:23]Clear old archive folders... [11:58:23]ProcessDocumentItem done err = 0, tmpTLVsize=299 [11:58:23]tlvbuf is 01447740 [11:58:23]SAM_PROTO_ClearQueue [11:58:23]wFMCommunicate request_size=4 [11:58:23]MH_SAM_APDU [11:58:23]CAPDU: 80 09 00 00 [11:58:23]Write to MH i2c: E2 08 00 6D 49 80 09 00 00 00 00 00 00 28 [11:58:23]Write i2c OK [11:58:23]MH_I2C_Read... [11:58:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:58:23]Read from MH i2c: E2 [11:58:23]MH_I2C_Read... [11:58:23]Read from MH i2c: E2 03 00 [11:58:23]MH_I2C_Read... [11:58:23]Read from MH i2c: E2 03 00 6D 49 00 90 00 2A [11:58:23]RAPDU: 90 00 [11:58:23]wFMCommunicate OK [11:58:23]SAM_PROTO_ClearQueue done [11:58:23]KKMCreateOFDPacket [11:58:23]OFDProtocolAddRootSTLVToBuf [11:58:23]FM_MakeSignedData [11:58:23]FM_MakeSignedData [11:58:23]SAM_PROTO_SignData [11:58:23]wFMCommunicate request_size=4 [11:58:23]MH_SAM_APDU [11:58:23]CAPDU: 80 0D 01 02 [11:58:23]Write to MH i2c: E2 08 00 6E 49 80 0D 01 02 00 00 00 00 30 [11:58:23]Write i2c OK [11:58:23]MH_I2C_Read... [11:58:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:58:23]Read from MH i2c: E2 [11:58:23]MH_I2C_Read... [11:58:23]Read from MH i2c: E2 03 00 [11:58:23]MH_I2C_Read... [11:58:23]Read from MH i2c: E2 03 00 6E 49 00 90 00 2B [11:58:23]RAPDU: 90 00 [11:58:23]wFMCommunicate OK [11:58:23]wFMCommunicate request_size=255 [11:58:23]MH_SAM_APDU [11:58:23]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 E7 9E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 [11:58:23]Write to MH i2c: E2 02 01 6F 49 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 E7 9E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 09 [11:58:23]Write i2c OK [11:58:23]MH_I2C_Read... [11:58:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:58:23]Read from MH i2c: E2 [11:58:23]MH_I2C_Read... [11:58:23]Read from MH i2c: E2 03 00 [11:58:23]MH_I2C_Read... [11:58:23]Read from MH i2c: E2 03 00 6F 49 00 90 00 2C [11:58:23]RAPDU: 90 00 [11:58:23]wFMCommunicate OK [11:58:23]wFMCommunicate request_size=58 [11:58:23]MH_SAM_APDU [11:58:23]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 07 0A 00 00 35 04 06 00 A6 B5 BC 75 EA 2B [11:58:23]Write to MH i2c: E2 3D 00 70 49 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 07 0A 00 00 35 04 06 00 A6 B5 BC 75 EA 2B 00 00 C9 [11:58:23]Write i2c OK [11:58:23]MH_I2C_Read... [11:58:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:58:23]Read from MH i2c: E2 [11:58:23]MH_I2C_Read... [11:58:23]Read from MH i2c: E2 03 00 [11:58:23]MH_I2C_Read... [11:58:23]Read from MH i2c: E2 03 00 70 49 00 90 00 2D [11:58:23]RAPDU: 90 00 [11:58:23]wFMCommunicate OK [11:58:23]wFMCommunicate request_size=4 [11:58:23]MH_SAM_APDU [11:58:23]CAPDU: 80 0D 03 02 [11:58:23]Write to MH i2c: E2 08 00 71 49 80 0D 03 02 00 00 00 00 35 [11:58:23]Write i2c OK [11:58:23]MH_I2C_Read... [11:58:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:58:23]Read from MH i2c: E2 [11:58:23]MH_I2C_Read... [11:58:23]Read from MH i2c: E2 0B 00 [11:58:23]MH_I2C_Read... [11:58:23]Read from MH i2c: E2 0B 00 71 49 00 E4 E0 26 A4 5A 77 20 D8 90 00 8D [11:58:23]RAPDU: E4 E0 26 A4 5A 77 20 D8 90 00 [11:58:23]wFMCommunicate OK [11:58:23]SAM_PROTO_SignData done [11:58:23]FM_MakeSignedData done [11:58:23]CreateOFDProtocolMessage [11:58:23]wFMCommunicate request_size=4 [11:58:23]MH_SAM_APDU [11:58:23]CAPDU: 80 11 00 00 [11:58:23]Write to MH i2c: E2 08 00 72 49 80 11 00 00 00 00 00 00 35 [11:58:23]Write i2c OK [11:58:23]MH_I2C_Read... [11:58:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:58:23]Read from MH i2c: E2 [11:58:23]MH_I2C_Read... [11:58:23]Read from MH i2c: E2 17 00 [11:58:23]MH_I2C_Read... [11:58:23]Read from MH i2c: E2 17 00 72 49 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 7D [11:58:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:58:23]wFMCommunicate OK [11:58:23]CreateOFDProtocolMessage done [11:58:23]OFDSenderStorePacket 2567 [11:58:23]StoreOFDPacket docnum=2567 [11:58:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3F 01 00 00 02 24 37 01 F3 19 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 E7 9E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 07 0A 00 00 35 04 06 00 A6 B5 BC 75 EA 2B E4 E0 26 A4 5A 77 20 D8 [11:58:23]CheckFolder [11:58:23]dirname=/storage/ofd_packets [11:58:23]CheckFolder done [11:58:23]ProducePacketName [11:58:23]name=ofd_packets/00002567 [11:58:23]NVStorageSaveData ofd_packets/00002567 [11:58:23]File name is /storage/ofd_packets/00002567 [11:58:23]Write 349 bytes [11:58:23]NVStorageSaveData done [11:58:23]OFDSenderStorePacket done [11:58:23]KKMCreateOFDPacket done [11:58:23]NVStorageSaveData kkm_last_timestamp [11:58:23]File name is /storage/kkm_last_timestamp [11:58:23]Write 4 bytes [11:58:23]NVStorageSaveData done [11:58:23]ExternCall_PrintAddStr [11:58:23]wPrintStart [11:58:23]Write to MH i2c: 01 00 00 73 49 BC [11:58:23]Write i2c OK [11:58:23]MH_I2C_Read... [11:58:23]Read from MH i2c: 01 [11:58:23]MH_I2C_Read... [11:58:23]Read from MH i2c: 01 07 00 [11:58:23]MH_I2C_Read... [11:58:23]Read from MH i2c: 01 07 00 73 49 00 00 00 00 00 FF 0F D1 [11:58:23]RasterBufferAndPrint [11:58:23]line Счет N : (3)99945 [11:58:23]line ИНН: 02508201610067 [11:58:23]line Контрольно-Кассовый Чек [11:58:23]line ПРОДАЖА [11:58:23]line Товар: 4700003010070 [11:58:23]line Чай хол Let`s Go! чер персик ПЭТ 1,25л [11:58:23]line 1.000 * 95.00 [11:58:23]line = 95.00 [11:58:23]line НДС 12% НСП 1% [11:58:23]line > о реализуемом товаре [11:58:23]line ИТОГО: 95.00 [11:58:23]line НСП 1% : 0.84 [11:58:23]line НДС 12% : 10.09 [11:58:23]line Наличными: 0.00 [11:58:23]line Безнал.: 95.00 [11:58:23]line Место: АЗС № 162 "Партнер Нефть" [11:58:23]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [11:58:23]line СНО: Общий режим [11:58:23]line Чек 28 19.10.2024 11:58 [11:58:23]line Смена: 23 ФФД: 1.0 [11:58:23]line ЗНМ: 0300000191 [11:58:23]line РНМ: 0000000000207295 [11:58:23]line Версия ККМ: v1.0 [11:58:23]line Платежная система: Mbank [11:58:23]line ФМ: 0000000002342820 [11:58:24]line ФД: 2567 [11:58:24]line ФПД: 183299481135659 [11:58:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T115831&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2567&fm=183299481135659&tin=02508201610067®Number=0000000000207295&sum=9500 [11:58:24]line 0 [11:58:24]OFD Sender: Processing packet 2567 [packets to send 1, broken 0] [11:58:24]ProducePacketName [11:58:24]name=ofd_packets/00002567 [11:58:24]OFD Sender: To server: pG, [11:58:24]CommunicateWithHost lk.salyk.kg:30040 [11:58:24]ConnectInit lk.salyk.kg [11:58:24]written 0, free lines is 4095 [11:58:24]Connected sock=10 [11:58:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3F 01 00 00 02 24 37 01 F3 19 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 E7 9E 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 07 0A 00 00 35 04 06 00 A6 B5 BC 75 EA 2B E4 E0 26 A4 5A 77 20 D8 [11:58:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 8A 3C 47 00 97 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 32 33 34 32 38 32 30 10 04 04 00 07 0A 00 00 F4 03 04 00 48 4A 13 67 B6 04 01 00 00 30 1F E3 DF 87 18 18 2F [11:58:24]CommunicateWithHost err = 0 [11:58:24]CheckOFDResponse [11:58:24]1017 (14) - 77093643461234 [11:58:24]1041 (16) - 0000000002342820 [11:58:24]1040 (4) - 2567 [11:58:24]1012 (4) - 19.10.2024 05:57 [11:58:24]1206 (1) - 0 [11:58:24]OFD Sender: Remove packet 2567 [11:58:24]ProducePacketName [11:58:24]name=ofd_packets/00002567 [11:58:24]NVStorageDeleteData [11:58:24]Write to MH i2c: 01 00 00 9D 49 E6 [11:58:24]Write i2c OK [11:58:24]MH_I2C_Read... [11:58:24]Read from MH i2c: 01 [11:58:24]MH_I2C_Read... [11:58:24]Read from MH i2c: 01 07 00 [11:58:24]MH_I2C_Read... [11:58:24]Read from MH i2c: 01 07 00 9D 49 00 00 00 00 00 A8 0C A1 [11:58:24]RasterBufferAndPrint [11:58:24]line [11:58:24]line [11:58:24]line [11:58:24]line [11:58:24]line [11:58:24]written 0, free lines is 3243 [11:58:24]MH_Cut [11:58:24]Write to MH i2c: D1 01 00 A4 49 01 BF [11:58:24]Write i2c OK [11:58:24]MH_I2C_Read... [11:58:24]Read from MH i2c: D1 [11:58:24]MH_I2C_Read... [11:58:24]Read from MH i2c: D1 01 00 [11:58:24]MH_I2C_Read... [11:58:24]Read from MH i2c: D1 01 00 A4 49 00 BE [11:58:24]Write to MH i2c: 01 00 00 A5 49 EE [11:58:24]Write i2c OK [11:58:24]MH_I2C_Read... [11:58:24]OFD Sender: No OFD packet to send [11:58:25]*** Cut start [11:58:25]*** Partial cut [11:58:25]*** CUTSNS_PIN = 1 [11:58:25]*** CUTSNS_PIN = 0 [11:58:25]*** Brake cut motor [11:58:26]Read from MH i2c: 01 [11:58:26]MH_I2C_Read... [11:58:26]*** Stop cut motor [11:58:26]*** Cut end [11:58:26]Read from MH i2c: 01 07 00 [11:58:26]MH_I2C_Read... [11:58:26]Read from MH i2c: 01 07 00 A5 49 00 00 00 00 00 FF 0F 03 [11:58:26]process_action close_receipt done [11:58:26]requested_data is exist [11:58:26]produce_requested_data [11:58:26]requested_item fm.sn is exist - process it [11:58:26]wFMCommunicate request_size=4 [11:58:26]MH_SAM_APDU [11:58:26]CAPDU: 80 11 00 00 [11:58:26]Write to MH i2c: E2 08 00 A6 49 80 11 00 00 00 00 00 00 69 [11:58:26]Write i2c OK [11:58:26]MH_I2C_Read... [11:58:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:58:26]Read from MH i2c: E2 [11:58:26]MH_I2C_Read... [11:58:26]Read from MH i2c: E2 17 00 [11:58:26]MH_I2C_Read... [11:58:26]Read from MH i2c: E2 17 00 A6 49 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B1 [11:58:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [11:58:26]wFMCommunicate OK [11:58:26]requested_item fd.num is exist - process it [11:58:26]SAM_PROTO_GetFieldsCounters [11:58:26]wFMCommunicate request_size=4 [11:58:26]MH_SAM_APDU [11:58:26]CAPDU: 80 13 00 00 [11:58:26]Write to MH i2c: E2 08 00 A7 49 80 13 00 00 00 00 00 00 6C [11:58:26]Write i2c OK [11:58:26]MH_I2C_Read... [11:58:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:58:26]Read from MH i2c: E2 [11:58:26]MH_I2C_Read... [11:58:26]Read from MH i2c: E2 62 00 [11:58:26]MH_I2C_Read... [11:58:26]Read from MH i2c: E2 62 00 A7 49 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 07 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [11:58:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 07 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:58:26]wFMCommunicate OK [11:58:26]SAM_PROTO_GetFieldsCounters done [11:58:26]requested_item shift.num is exist - process it [11:58:26]requested_item shift.opened is exist - process it [11:58:26]req_shift_opened [11:58:26]FM_GetShiftState [11:58:26]SAM_PROTO_GetShiftState [11:58:26]wFMCommunicate request_size=4 [11:58:26]MH_SAM_APDU [11:58:26]CAPDU: 80 13 01 00 [11:58:26]Write to MH i2c: E2 08 00 A8 49 80 13 01 00 00 00 00 00 6E [11:58:26]Write i2c OK [11:58:26]MH_I2C_Read... [11:58:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:58:26]Read from MH i2c: E2 [11:58:26]MH_I2C_Read... [11:58:26]Read from MH i2c: E2 0E 00 [11:58:26]MH_I2C_Read... [11:58:26]Read from MH i2c: E2 0E 00 A8 49 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 17 [11:58:26]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [11:58:26]wFMCommunicate OK [11:58:26]SAM_PROTO_GetShiftState done [11:58:26]FM_GetShiftState done [11:58:26]req_shift_opened done [11:58:26]requested_item shift.open_date is exist - process it [11:58:26]req_shift_open_date [11:58:26]req_shift_open_date done [11:58:26]produce_requested_data done [11:58:26]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2567,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [11:58:26]process_action_free close_receipt [11:58:26]json_value_free [11:58:26]json_value_free done [11:58:26]process_json_proto returns [11:58:26]Send response to host [11:58:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2567,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [11:58:26]free response buf [11:58:26]execute_script done [11:58:26]execute_script returns [11:58:26]free content buf [11:58:26]Sock 7.Close socket [11:58:26]Sock 7.Thread stoped [11:58:29]OFD Sender: No OFD packet to send [11:58:35]OFD Sender: No OFD packet to send [11:58:40]OFD Sender: No OFD packet to send [11:58:45]OFD Sender: No OFD packet to send [11:58:50]OFD Sender: No OFD packet to send [11:58:55]OFD Sender: No OFD packet to send [11:59:00]OFD Sender: No OFD packet to send [11:59:05]OFD Sender: No OFD packet to send [11:59:10]OFD Sender: No OFD packet to send [11:59:15]OFD Sender: No OFD packet to send [11:59:20]OFD Sender: No OFD packet to send [11:59:25]OFD Sender: No OFD packet to send [11:59:30]OFD Sender: No OFD packet to send [11:59:35]OFD Sender: No OFD packet to send [11:59:40]OFD Sender: No OFD packet to send [11:59:45]OFD Sender: No OFD packet to send [11:59:50]OFD Sender: No OFD packet to send [11:59:55]OFD Sender: No OFD packet to send [12:00:00]OFD Sender: No OFD packet to send [12:00:05]OFD Sender: No OFD packet to send [12:00:10]OFD Sender: No OFD packet to send [12:00:15]OFD Sender: No OFD packet to send [12:00:20]OFD Sender: No OFD packet to send [12:00:25]OFD Sender: No OFD packet to send [12:00:30]OFD Sender: No OFD packet to send [12:00:35]OFD Sender: No OFD packet to send [12:00:40]OFD Sender: No OFD packet to send [12:00:45]OFD Sender: No OFD packet to send [12:00:50]OFD Sender: No OFD packet to send [12:00:55]OFD Sender: No OFD packet to send [12:01:00]OFD Sender: No OFD packet to send [12:01:05]OFD Sender: No OFD packet to send [12:01:10]OFD Sender: No OFD packet to send [12:01:15]OFD Sender: No OFD packet to send [12:01:20]OFD Sender: No OFD packet to send [12:01:25]OFD Sender: No OFD packet to send [12:01:30]OFD Sender: No OFD packet to send [12:01:35]OFD Sender: No OFD packet to send [12:01:40]OFD Sender: No OFD packet to send [12:01:45]OFD Sender: No OFD packet to send [12:01:50]OFD Sender: No OFD packet to send [12:01:55]OFD Sender: No OFD packet to send [12:02:00]OFD Sender: No OFD packet to send [12:02:05]OFD Sender: No OFD packet to send [12:02:10]OFD Sender: No OFD packet to send [12:02:15]OFD Sender: No OFD packet to send [12:02:20]OFD Sender: No OFD packet to send [12:02:25]OFD Sender: No OFD packet to send [12:02:30]OFD Sender: No OFD packet to send [12:02:35]OFD Sender: No OFD packet to send [12:02:40]OFD Sender: No OFD packet to send [12:02:45]OFD Sender: No OFD packet to send [12:02:50]OFD Sender: No OFD packet to send [12:02:55]OFD Sender: No OFD packet to send [12:03:00]OFD Sender: No OFD packet to send [12:03:05]OFD Sender: No OFD packet to send [12:03:10]OFD Sender: No OFD packet to send [12:03:15]OFD Sender: No OFD packet to send [12:03:20]OFD Sender: No OFD packet to send [12:03:25]OFD Sender: No OFD packet to send [12:03:30]OFD Sender: No OFD packet to send [12:03:35]OFD Sender: No OFD packet to send [12:03:40]OFD Sender: No OFD packet to send [12:03:45]OFD Sender: No OFD packet to send [12:03:50]OFD Sender: No OFD packet to send [12:03:55]OFD Sender: No OFD packet to send [12:04:00]OFD Sender: No OFD packet to send [12:04:05]OFD Sender: No OFD packet to send [12:04:10]OFD Sender: No OFD packet to send [12:04:15]OFD Sender: No OFD packet to send [12:04:20]OFD Sender: No OFD packet to send [12:04:25]OFD Sender: No OFD packet to send [12:04:30]OFD Sender: No OFD packet to send [12:04:35]OFD Sender: No OFD packet to send [12:04:40]OFD Sender: No OFD packet to send [12:04:45]OFD Sender: No OFD packet to send [12:04:50]OFD Sender: No OFD packet to send [12:04:55]OFD Sender: No OFD packet to send [12:05:00]OFD Sender: No OFD packet to send [12:05:05]OFD Sender: No OFD packet to send [12:05:10]OFD Sender: No OFD packet to send [12:05:15]OFD Sender: No OFD packet to send [12:05:20]OFD Sender: No OFD packet to send [12:05:25]OFD Sender: No OFD packet to send [12:05:30]OFD Sender: No OFD packet to send [12:05:35]OFD Sender: No OFD packet to send [12:05:40]OFD Sender: No OFD packet to send [12:05:45]OFD Sender: No OFD packet to send [12:05:50]OFD Sender: No OFD packet to send [12:05:55]OFD Sender: No OFD packet to send [12:06:00]OFD Sender: No OFD packet to send [12:06:05]OFD Sender: No OFD packet to send [12:06:10]OFD Sender: No OFD packet to send [12:06:15]OFD Sender: No OFD packet to send [12:06:20]OFD Sender: No OFD packet to send [12:06:25]OFD Sender: No OFD packet to send [12:06:30]OFD Sender: No OFD packet to send [12:06:35]OFD Sender: No OFD packet to send [12:06:40]OFD Sender: No OFD packet to send [12:06:45]OFD Sender: No OFD packet to send [12:06:50]OFD Sender: No OFD packet to send [12:06:55]OFD Sender: No OFD packet to send [12:07:00]OFD Sender: No OFD packet to send [12:07:05]OFD Sender: No OFD packet to send [12:07:10]OFD Sender: No OFD packet to send [12:07:15]OFD Sender: No OFD packet to send [12:07:20]OFD Sender: No OFD packet to send [12:07:25]OFD Sender: No OFD packet to send [12:07:30]OFD Sender: No OFD packet to send [12:07:35]OFD Sender: No OFD packet to send [12:07:40]OFD Sender: No OFD packet to send [12:07:45]OFD Sender: No OFD packet to send [12:07:50]OFD Sender: No OFD packet to send [12:07:55]OFD Sender: No OFD packet to send [12:08:00]OFD Sender: No OFD packet to send [12:08:05]OFD Sender: No OFD packet to send [12:08:10]OFD Sender: No OFD packet to send [12:08:15]OFD Sender: No OFD packet to send [12:08:20]OFD Sender: No OFD packet to send [12:08:25]OFD Sender: No OFD packet to send [12:08:30]OFD Sender: No OFD packet to send [12:08:35]OFD Sender: No OFD packet to send [12:08:40]OFD Sender: No OFD packet to send [12:08:45]OFD Sender: No OFD packet to send [12:08:50]OFD Sender: No OFD packet to send [12:08:55]OFD Sender: No OFD packet to send [12:09:00]OFD Sender: No OFD packet to send [12:09:05]OFD Sender: No OFD packet to send [12:09:10]OFD Sender: No OFD packet to send [12:09:15]OFD Sender: No OFD packet to send [12:09:20]OFD Sender: No OFD packet to send [12:09:25]OFD Sender: No OFD packet to send [12:09:30]OFD Sender: No OFD packet to send [12:09:35]OFD Sender: No OFD packet to send [12:09:40]OFD Sender: No OFD packet to send [12:09:45]OFD Sender: No OFD packet to send [12:09:50]OFD Sender: No OFD packet to send [12:09:55]OFD Sender: No OFD packet to send [12:10:00]OFD Sender: No OFD packet to send [12:10:05]OFD Sender: No OFD packet to send [12:10:10]OFD Sender: No OFD packet to send [12:10:15]OFD Sender: No OFD packet to send [12:10:20]OFD Sender: No OFD packet to send [12:10:25]OFD Sender: No OFD packet to send [12:10:30]OFD Sender: No OFD packet to send [12:10:35]OFD Sender: No OFD packet to send [12:10:40]OFD Sender: No OFD packet to send [12:10:45]OFD Sender: No OFD packet to send [12:10:50]OFD Sender: No OFD packet to send [12:10:55]OFD Sender: No OFD packet to send [12:11:00]OFD Sender: No OFD packet to send [12:11:05]OFD Sender: No OFD packet to send [12:11:10]OFD Sender: No OFD packet to send [12:11:15]OFD Sender: No OFD packet to send [12:11:20]OFD Sender: No OFD packet to send [12:11:25]OFD Sender: No OFD packet to send [12:11:30]OFD Sender: No OFD packet to send [12:11:35]OFD Sender: No OFD packet to send [12:11:40]OFD Sender: No OFD packet to send [12:11:45]OFD Sender: No OFD packet to send [12:11:50]OFD Sender: No OFD packet to send [12:11:55]OFD Sender: No OFD packet to send [12:12:00]OFD Sender: No OFD packet to send [12:12:05]OFD Sender: No OFD packet to send [12:12:10]OFD Sender: No OFD packet to send [12:12:15]OFD Sender: No OFD packet to send [12:12:20]OFD Sender: No OFD packet to send [12:12:25]OFD Sender: No OFD packet to send [12:12:30]OFD Sender: No OFD packet to send [12:12:35]OFD Sender: No OFD packet to send [12:12:40]OFD Sender: No OFD packet to send [12:12:45]OFD Sender: No OFD packet to send [12:12:50]OFD Sender: No OFD packet to send [12:12:55]OFD Sender: No OFD packet to send [12:13:00]OFD Sender: No OFD packet to send [12:13:05]OFD Sender: No OFD packet to send [12:13:10]OFD Sender: No OFD packet to send [12:13:15]OFD Sender: No OFD packet to send [12:13:20]OFD Sender: No OFD packet to send [12:13:25]OFD Sender: No OFD packet to send [12:13:30]OFD Sender: No OFD packet to send [12:13:35]OFD Sender: No OFD packet to send [12:13:40]OFD Sender: No OFD packet to send [12:13:45]OFD Sender: No OFD packet to send [12:13:50]OFD Sender: No OFD packet to send [12:13:55]OFD Sender: No OFD packet to send [12:14:00]OFD Sender: No OFD packet to send [12:14:05]OFD Sender: No OFD packet to send [12:14:10]OFD Sender: No OFD packet to send [12:14:15]OFD Sender: No OFD packet to send [12:14:20]OFD Sender: No OFD packet to send [12:14:25]OFD Sender: No OFD packet to send [12:14:30]OFD Sender: No OFD packet to send [12:14:35]OFD Sender: No OFD packet to send [12:14:40]OFD Sender: No OFD packet to send [12:14:45]OFD Sender: No OFD packet to send [12:14:50]OFD Sender: No OFD packet to send [12:14:55]OFD Sender: No OFD packet to send [12:15:00]OFD Sender: No OFD packet to send [12:15:05]OFD Sender: No OFD packet to send [12:15:10]OFD Sender: No OFD packet to send [12:15:15]OFD Sender: No OFD packet to send [12:15:20]OFD Sender: No OFD packet to send [12:15:25]OFD Sender: No OFD packet to send [12:15:30]OFD Sender: No OFD packet to send [12:15:35]OFD Sender: No OFD packet to send [12:15:40]OFD Sender: No OFD packet to send [12:15:45]OFD Sender: No OFD packet to send [12:15:50]OFD Sender: No OFD packet to send [12:15:55]OFD Sender: No OFD packet to send [12:16:00]OFD Sender: No OFD packet to send [12:16:05]OFD Sender: No OFD packet to send [12:16:10]OFD Sender: No OFD packet to send [12:16:15]OFD Sender: No OFD packet to send [12:16:20]OFD Sender: No OFD packet to send [12:16:25]OFD Sender: No OFD packet to send [12:16:30]OFD Sender: No OFD packet to send [12:16:35]OFD Sender: No OFD packet to send [12:16:40]OFD Sender: No OFD packet to send [12:16:45]OFD Sender: No OFD packet to send [12:16:50]OFD Sender: No OFD packet to send [12:16:55]OFD Sender: No OFD packet to send [12:17:00]OFD Sender: No OFD packet to send [12:17:05]OFD Sender: No OFD packet to send [12:17:10]OFD Sender: No OFD packet to send [12:17:15]OFD Sender: No OFD packet to send [12:17:20]OFD Sender: No OFD packet to send [12:17:25]OFD Sender: No OFD packet to send [12:17:30]OFD Sender: No OFD packet to send [12:17:35]OFD Sender: No OFD packet to send [12:17:40]OFD Sender: No OFD packet to send [12:17:45]OFD Sender: No OFD packet to send [12:17:50]OFD Sender: No OFD packet to send [12:17:55]OFD Sender: No OFD packet to send [12:18:00]OFD Sender: No OFD packet to send [12:18:05]OFD Sender: No OFD packet to send [12:18:10]OFD Sender: No OFD packet to send [12:18:15]OFD Sender: No OFD packet to send [12:18:20]OFD Sender: No OFD packet to send [12:18:25]OFD Sender: No OFD packet to send [12:18:30]OFD Sender: No OFD packet to send [12:18:35]OFD Sender: No OFD packet to send [12:18:40]OFD Sender: No OFD packet to send [12:18:45]OFD Sender: No OFD packet to send [12:18:50]OFD Sender: No OFD packet to send [12:18:55]OFD Sender: No OFD packet to send [12:19:00]OFD Sender: No OFD packet to send [12:19:05]OFD Sender: No OFD packet to send [12:19:10]OFD Sender: No OFD packet to send [12:19:15]OFD Sender: No OFD packet to send [12:19:20]OFD Sender: No OFD packet to send [12:19:25]OFD Sender: No OFD packet to send [12:19:30]OFD Sender: No OFD packet to send [12:19:35]OFD Sender: No OFD packet to send [12:19:40]OFD Sender: No OFD packet to send [12:19:45]OFD Sender: No OFD packet to send [12:19:50]OFD Sender: No OFD packet to send [12:19:55]OFD Sender: No OFD packet to send [12:20:00]OFD Sender: No OFD packet to send [12:20:05]OFD Sender: No OFD packet to send [12:20:10]OFD Sender: No OFD packet to send [12:20:15]OFD Sender: No OFD packet to send [12:20:20]OFD Sender: No OFD packet to send [12:20:25]OFD Sender: No OFD packet to send [12:20:30]OFD Sender: No OFD packet to send [12:20:35]OFD Sender: No OFD packet to send [12:20:40]OFD Sender: No OFD packet to send [12:20:46]OFD Sender: No OFD packet to send [12:20:51]OFD Sender: No OFD packet to send [12:20:56]OFD Sender: No OFD packet to send [12:21:01]OFD Sender: No OFD packet to send [12:21:06]OFD Sender: No OFD packet to send [12:21:11]OFD Sender: No OFD packet to send [12:21:16]OFD Sender: No OFD packet to send [12:21:21]OFD Sender: No OFD packet to send [12:21:26]OFD Sender: No OFD packet to send [12:21:31]OFD Sender: No OFD packet to send [12:21:36]OFD Sender: No OFD packet to send [12:21:41]OFD Sender: No OFD packet to send [12:21:46]OFD Sender: No OFD packet to send [12:21:51]OFD Sender: No OFD packet to send [12:21:56]OFD Sender: No OFD packet to send [12:22:01]OFD Sender: No OFD packet to send [12:22:06]OFD Sender: No OFD packet to send [12:22:11]OFD Sender: No OFD packet to send [12:22:16]OFD Sender: No OFD packet to send [12:22:21]OFD Sender: No OFD packet to send [12:22:26]OFD Sender: No OFD packet to send [12:22:31]OFD Sender: No OFD packet to send [12:22:36]OFD Sender: No OFD packet to send [12:22:41]OFD Sender: No OFD packet to send [12:22:46]OFD Sender: No OFD packet to send [12:22:51]OFD Sender: No OFD packet to send [12:22:56]OFD Sender: No OFD packet to send [12:23:01]OFD Sender: No OFD packet to send [12:23:06]OFD Sender: No OFD packet to send [12:23:11]OFD Sender: No OFD packet to send [12:23:16]OFD Sender: No OFD packet to send [12:23:21]OFD Sender: No OFD packet to send [12:23:26]OFD Sender: No OFD packet to send [12:23:31]OFD Sender: No OFD packet to send [12:23:36]OFD Sender: No OFD packet to send [12:23:41]OFD Sender: No OFD packet to send [12:23:46]OFD Sender: No OFD packet to send [12:23:51]OFD Sender: No OFD packet to send [12:23:56]OFD Sender: No OFD packet to send [12:24:01]OFD Sender: No OFD packet to send [12:24:06]OFD Sender: No OFD packet to send [12:24:11]OFD Sender: No OFD packet to send [12:24:16]OFD Sender: No OFD packet to send [12:24:21]OFD Sender: No OFD packet to send [12:24:26]OFD Sender: No OFD packet to send [12:24:31]OFD Sender: No OFD packet to send [12:24:36]OFD Sender: No OFD packet to send [12:24:41]OFD Sender: No OFD packet to send [12:24:46]OFD Sender: No OFD packet to send [12:24:51]OFD Sender: No OFD packet to send [12:24:56]OFD Sender: No OFD packet to send [12:25:01]OFD Sender: No OFD packet to send [12:25:06]OFD Sender: No OFD packet to send [12:25:11]OFD Sender: No OFD packet to send [12:25:16]OFD Sender: No OFD packet to send [12:25:21]OFD Sender: No OFD packet to send [12:25:26]OFD Sender: No OFD packet to send [12:25:31]OFD Sender: No OFD packet to send [12:25:36]OFD Sender: No OFD packet to send [12:25:41]OFD Sender: No OFD packet to send [12:25:46]OFD Sender: No OFD packet to send [12:25:51]OFD Sender: No OFD packet to send [12:25:56]OFD Sender: No OFD packet to send [12:26:01]OFD Sender: No OFD packet to send [12:26:06]OFD Sender: No OFD packet to send [12:26:11]OFD Sender: No OFD packet to send [12:26:16]OFD Sender: No OFD packet to send [12:26:21]OFD Sender: No OFD packet to send [12:26:26]OFD Sender: No OFD packet to send [12:26:31]OFD Sender: No OFD packet to send [12:26:36]OFD Sender: No OFD packet to send [12:26:41]OFD Sender: No OFD packet to send [12:26:46]OFD Sender: No OFD packet to send [12:26:51]OFD Sender: No OFD packet to send [12:26:56]OFD Sender: No OFD packet to send [12:27:01]OFD Sender: No OFD packet to send [12:27:06]OFD Sender: No OFD packet to send [12:27:11]OFD Sender: No OFD packet to send [12:27:16]OFD Sender: No OFD packet to send [12:27:21]OFD Sender: No OFD packet to send [12:27:26]OFD Sender: No OFD packet to send [12:27:31]OFD Sender: No OFD packet to send [12:27:36]OFD Sender: No OFD packet to send [12:27:41]OFD Sender: No OFD packet to send [12:27:46]OFD Sender: No OFD packet to send [12:27:51]OFD Sender: No OFD packet to send [12:27:56]OFD Sender: No OFD packet to send [12:28:01]OFD Sender: No OFD packet to send [12:28:06]OFD Sender: No OFD packet to send [12:28:11]OFD Sender: No OFD packet to send [12:28:16]OFD Sender: No OFD packet to send [12:28:21]OFD Sender: No OFD packet to send [12:28:26]OFD Sender: No OFD packet to send [12:28:31]OFD Sender: No OFD packet to send [12:28:36]OFD Sender: No OFD packet to send [12:28:41]OFD Sender: No OFD packet to send [12:28:46]OFD Sender: No OFD packet to send [12:28:51]OFD Sender: No OFD packet to send [12:28:56]OFD Sender: No OFD packet to send [12:29:01]OFD Sender: No OFD packet to send [12:29:06]OFD Sender: No OFD packet to send [12:29:11]OFD Sender: No OFD packet to send [12:29:16]OFD Sender: No OFD packet to send [12:29:21]OFD Sender: No OFD packet to send [12:29:26]OFD Sender: No OFD packet to send [12:29:31]OFD Sender: No OFD packet to send [12:29:36]OFD Sender: No OFD packet to send [12:29:41]OFD Sender: No OFD packet to send [12:29:46]OFD Sender: No OFD packet to send [12:29:51]OFD Sender: No OFD packet to send [12:29:56]OFD Sender: No OFD packet to send [12:30:01]OFD Sender: No OFD packet to send [12:30:06]OFD Sender: No OFD packet to send [12:30:11]OFD Sender: No OFD packet to send [12:30:16]OFD Sender: No OFD packet to send [12:30:21]OFD Sender: No OFD packet to send [12:30:26]OFD Sender: No OFD packet to send [12:30:31]OFD Sender: No OFD packet to send [12:30:36]OFD Sender: No OFD packet to send [12:30:41]OFD Sender: No OFD packet to send [12:30:46]OFD Sender: No OFD packet to send [12:30:51]OFD Sender: No OFD packet to send [12:30:56]OFD Sender: No OFD packet to send [12:31:01]OFD Sender: No OFD packet to send [12:31:06]OFD Sender: No OFD packet to send [12:31:11]OFD Sender: No OFD packet to send [12:31:16]OFD Sender: No OFD packet to send [12:31:21]OFD Sender: No OFD packet to send [12:31:26]OFD Sender: No OFD packet to send [12:31:31]OFD Sender: No OFD packet to send [12:31:36]OFD Sender: No OFD packet to send [12:31:41]OFD Sender: No OFD packet to send [12:31:46]OFD Sender: No OFD packet to send [12:31:51]OFD Sender: No OFD packet to send [12:31:56]OFD Sender: No OFD packet to send [12:32:01]OFD Sender: No OFD packet to send [12:32:06]OFD Sender: No OFD packet to send [12:32:11]OFD Sender: No OFD packet to send [12:32:16]OFD Sender: No OFD packet to send [12:32:21]OFD Sender: No OFD packet to send [12:32:26]OFD Sender: No OFD packet to send [12:32:31]OFD Sender: No OFD packet to send [12:32:36]OFD Sender: No OFD packet to send [12:32:41]OFD Sender: No OFD packet to send [12:32:46]OFD Sender: No OFD packet to send [12:32:51]OFD Sender: No OFD packet to send [12:32:56]OFD Sender: No OFD packet to send [12:33:01]OFD Sender: No OFD packet to send [12:33:06]OFD Sender: No OFD packet to send [12:33:11]OFD Sender: No OFD packet to send [12:33:16]OFD Sender: No OFD packet to send [12:33:21]OFD Sender: No OFD packet to send [12:33:26]OFD Sender: No OFD packet to send [12:33:31]OFD Sender: No OFD packet to send [12:33:36]OFD Sender: No OFD packet to send [12:33:41]OFD Sender: No OFD packet to send [12:33:46]OFD Sender: No OFD packet to send [12:33:51]OFD Sender: No OFD packet to send [12:33:56]OFD Sender: No OFD packet to send [12:34:01]OFD Sender: No OFD packet to send [12:34:06]OFD Sender: No OFD packet to send [12:34:11]OFD Sender: No OFD packet to send [12:34:16]OFD Sender: No OFD packet to send [12:34:21]OFD Sender: No OFD packet to send [12:34:26]OFD Sender: No OFD packet to send [12:34:31]OFD Sender: No OFD packet to send [12:34:36]OFD Sender: No OFD packet to send [12:34:41]OFD Sender: No OFD packet to send [12:34:46]OFD Sender: No OFD packet to send [12:34:51]OFD Sender: No OFD packet to send [12:34:56]OFD Sender: No OFD packet to send [12:35:01]OFD Sender: No OFD packet to send [12:35:06]OFD Sender: No OFD packet to send [12:35:11]OFD Sender: No OFD packet to send [12:35:16]OFD Sender: No OFD packet to send [12:35:21]OFD Sender: No OFD packet to send [12:35:26]OFD Sender: No OFD packet to send [12:35:31]OFD Sender: No OFD packet to send [12:35:36]OFD Sender: No OFD packet to send [12:35:41]OFD Sender: No OFD packet to send [12:35:46]OFD Sender: No OFD packet to send [12:35:51]OFD Sender: No OFD packet to send [12:35:56]OFD Sender: No OFD packet to send [12:36:01]OFD Sender: No OFD packet to send [12:36:06]OFD Sender: No OFD packet to send [12:36:11]OFD Sender: No OFD packet to send [12:36:16]OFD Sender: No OFD packet to send [12:36:21]OFD Sender: No OFD packet to send [12:36:26]OFD Sender: No OFD packet to send [12:36:31]OFD Sender: No OFD packet to send [12:36:36]OFD Sender: No OFD packet to send [12:36:41]OFD Sender: No OFD packet to send [12:36:46]OFD Sender: No OFD packet to send [12:36:51]OFD Sender: No OFD packet to send [12:36:56]OFD Sender: No OFD packet to send [12:37:01]OFD Sender: No OFD packet to send [12:37:06]OFD Sender: No OFD packet to send [12:37:11]OFD Sender: No OFD packet to send [12:37:16]OFD Sender: No OFD packet to send [12:37:21]OFD Sender: No OFD packet to send [12:37:26]OFD Sender: No OFD packet to send [12:37:31]OFD Sender: No OFD packet to send [12:37:36]OFD Sender: No OFD packet to send [12:37:41]OFD Sender: No OFD packet to send [12:37:46]OFD Sender: No OFD packet to send [12:37:51]OFD Sender: No OFD packet to send [12:37:56]OFD Sender: No OFD packet to send [12:38:01]OFD Sender: No OFD packet to send [12:38:06]OFD Sender: No OFD packet to send [12:38:11]OFD Sender: No OFD packet to send [12:38:16]OFD Sender: No OFD packet to send [12:38:21]OFD Sender: No OFD packet to send [12:38:26]OFD Sender: No OFD packet to send [12:38:31]OFD Sender: No OFD packet to send [12:38:36]OFD Sender: No OFD packet to send [12:38:41]OFD Sender: No OFD packet to send [12:38:46]OFD Sender: No OFD packet to send [12:38:51]OFD Sender: No OFD packet to send [12:38:56]OFD Sender: No OFD packet to send [12:39:01]OFD Sender: No OFD packet to send [12:39:06]OFD Sender: No OFD packet to send [12:39:11]OFD Sender: No OFD packet to send [12:39:16]OFD Sender: No OFD packet to send [12:39:21]OFD Sender: No OFD packet to send [12:39:26]OFD Sender: No OFD packet to send [12:39:31]OFD Sender: No OFD packet to send [12:39:36]OFD Sender: No OFD packet to send [12:39:41]OFD Sender: No OFD packet to send [12:39:46]OFD Sender: No OFD packet to send [12:39:51]OFD Sender: No OFD packet to send [12:39:56]OFD Sender: No OFD packet to send [12:40:01]accept exits with 9 [12:40:01]New connection [12:40:01]New thread 3066850660 created [12:40:01]Thread 3066707300 joined [12:40:01]Waiting for new connection... [12:40:01] Sock 9.Parse request [12:40:01]Sock 9.Check first char [12:40:01]Sock 9.First char is OK [12:40:01]request: POST /json_proto HTTP/1.0 [12:40:01]Method: POST [12:40:01]URL: /json_proto [12:40:01]Method is POST - this is cgi request [12:40:01]url: /json_proto [12:40:01]query_string will be loaded in cgi processing [12:40:01]execute_cgi json_proto POST (null) [12:40:01]execute_cgi path=json_proto method=POST [12:40:01]POST find Content-Length [12:40:01]Host: 172.17.52.132:8080 [12:40:01]Content-Length: 1433 [12:40:01]Content-Type: application/json [12:40:01] [12:40:01]POST finish read [12:40:01]Found Content-Length = 1433 [12:40:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99946", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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": "48746526", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 159.00, "quantity" : 2.000, "sum" : 318.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100977624", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 55\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 602.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:40:01]execute_script... [12:40: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)99946", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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": "48746526", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 159.00, "quantity" : 2.000, "sum" : 318.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100977624", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 55\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 602.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:40:01]POST & json_proto [12:40:01]process_json_proto [12:40:01]json parsed OK: [12:40:01]protocol is kg_v1.0 [12:40:01]action value=close_receipt [12:40:01]process_action close_receipt [12:40:01]cmd_close_receipt [12:40:01]MH_GetDate [12:40:01]Write to MH i2c: F0 00 00 A9 49 E1 [12:40:01]Write i2c OK [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: F0 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: F0 09 00 [12:40:01]MH_I2C_Read... [12:40:01]Read from MH i2c: F0 09 00 A9 49 00 AB A8 13 67 5A BE F6 66 2B [12:40:01]GetLastDocTimeStamp 1729339111 [12:40:01]current date 1729341611 [12:40:01]FM_GetShiftState [12:40:01]SAM_PROTO_GetShiftState [12:40:01]wFMCommunicate request_size=4 [12:40:01]MH_SAM_APDU [12:40:01]CAPDU: 80 13 01 00 [12:40:01]Write to MH i2c: E2 08 00 AA 49 80 13 01 00 00 00 00 00 70 [12:40:01]OFD Sender: No OFD packet to send [12:40:01]Write i2c OK [12:40:01]MH_I2C_Read... [12:40:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:40:02]Read from MH i2c: E2 [12:40:02]MH_I2C_Read... [12:40:02]Read from MH i2c: E2 0E 00 [12:40:02]MH_I2C_Read... [12:40:02]Read from MH i2c: E2 0E 00 AA 49 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 19 [12:40:02]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [12:40:02]wFMCommunicate OK [12:40:02]SAM_PROTO_GetShiftState done [12:40:02]FM_GetShiftState done [12:40:02]opened in 1729296173 [12:40:02]opened+sec_in_day 1729382573 [12:40:02]quantity*price = 9500 [12:40:02]sum+1 = 9501 [12:40:02]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48746526 Сигареты Mevius Wind Blue 2.000 * 159.00 = 318.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4011100977624 Шок Батончик Баунти 55г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 602.00 НСП 1% : 5.32 НДС 12% : 63.92 Наличными: 602.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 29 19.10.2024 12:40 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2568 ФПД: 150230543612091 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T124011&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2568&fm=150230543612091&tin=02508201610067®Number=0000000000207295&sum=60200 0 [12:40:03]StoreToDocumentArchive [12:40:03]shift 23 fd 2568 [12:40:03]save to /storage/0023/doc_00002568 [12:40:03]save last doc name /storage/0023/doc_00002568 to /storage/kkm_last_doc_name [12:40:03]save OK [12:40:03]Clear old archive folders... [12:40:03]ProcessDocumentItem done err = 0, tmpTLVsize=612 [12:40:03]tlvbuf is 0133DB30 [12:40:03]SAM_PROTO_ClearQueue [12:40:03]wFMCommunicate request_size=4 [12:40:03]MH_SAM_APDU [12:40:03]CAPDU: 80 09 00 00 [12:40:03]Write to MH i2c: E2 08 00 B7 49 80 09 00 00 00 00 00 00 72 [12:40:03]Write i2c OK [12:40:03]MH_I2C_Read... [12:40:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:40:03]Read from MH i2c: E2 [12:40:03]MH_I2C_Read... [12:40:03]Read from MH i2c: E2 03 00 [12:40:03]MH_I2C_Read... [12:40:03]Read from MH i2c: E2 03 00 B7 49 00 90 00 74 [12:40:03]RAPDU: 90 00 [12:40:03]wFMCommunicate OK [12:40:03]SAM_PROTO_ClearQueue done [12:40:03]KKMCreateOFDPacket [12:40:03]OFDProtocolAddRootSTLVToBuf [12:40:03]FM_MakeSignedData [12:40:03]FM_MakeSignedData [12:40:03]SAM_PROTO_SignData [12:40:03]wFMCommunicate request_size=4 [12:40:03]MH_SAM_APDU [12:40:03]CAPDU: 80 0D 01 02 [12:40:03]Write to MH i2c: E2 08 00 B8 49 80 0D 01 02 00 00 00 00 7A [12:40:03]Write i2c OK [12:40:03]MH_I2C_Read... [12:40:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:40:03]Read from MH i2c: E2 [12:40:03]MH_I2C_Read... [12:40:03]Read from MH i2c: E2 03 00 [12:40:03]MH_I2C_Read... [12:40:03]Read from MH i2c: E2 03 00 B8 49 00 90 00 75 [12:40:03]RAPDU: 90 00 [12:40:03]wFMCommunicate OK [12:40:03]wFMCommunicate request_size=255 [12:40:03]MH_SAM_APDU [12:40:03]CAPDU: 80 0D 02 02 FA 03 00 64 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 60 00 8A 04 08 00 34 38 37 34 [12:40:03]Write to MH i2c: E2 02 01 B9 49 80 0D 02 02 FA 00 03 00 64 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 60 00 8A 04 08 00 34 38 37 34 00 00 8C [12:40:03]Write i2c OK [12:40:03]MH_I2C_Read... [12:40:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:40:03]Read from MH i2c: E2 [12:40:03]MH_I2C_Read... [12:40:03]Read from MH i2c: E2 03 00 [12:40:03]MH_I2C_Read... [12:40:03]Read from MH i2c: E2 03 00 B9 49 00 90 00 76 [12:40:03]RAPDU: 90 00 [12:40:03]wFMCommunicate OK [12:40:03]wFMCommunicate request_size=255 [12:40:03]MH_SAM_APDU [12:40:03]CAPDU: 80 0D 02 02 FA 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 EB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 18 00 [12:40:03]Write to MH i2c: E2 02 01 BA 49 80 0D 02 02 FA 00 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 EB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 18 00 00 00 A8 [12:40:03]Write i2c OK [12:40:03]MH_I2C_Read... [12:40:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:40:03]Read from MH i2c: E2 [12:40:03]MH_I2C_Read... [12:40:03]Read from MH i2c: E2 03 00 [12:40:03]MH_I2C_Read... [12:40:03]Read from MH i2c: E2 03 00 BA 49 00 90 00 77 [12:40:03]RAPDU: 90 00 [12:40:03]wFMCommunicate OK [12:40:03]wFMCommunicate request_size=121 [12:40:03]MH_SAM_APDU [12:40:03]CAPDU: 80 0D 02 02 74 00 00 00 07 04 06 00 28 EB 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 AB A8 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 08 0A 00 00 35 04 06 00 88 A2 46 2F B8 BB [12:40:03]Write to MH i2c: E2 7C 00 BB 49 80 0D 02 02 74 00 00 00 00 07 04 06 00 28 EB 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 AB A8 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 08 0A 00 00 35 04 06 00 88 A2 46 2F B8 BB 00 00 CD [12:40:03]Write i2c OK [12:40:03]MH_I2C_Read... [12:40:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:40:03]Read from MH i2c: E2 [12:40:03]MH_I2C_Read... [12:40:03]Read from MH i2c: E2 03 00 [12:40:03]MH_I2C_Read... [12:40:03]Read from MH i2c: E2 03 00 BB 49 00 90 00 78 [12:40:03]RAPDU: 90 00 [12:40:03]wFMCommunicate OK [12:40:03]wFMCommunicate request_size=4 [12:40:03]MH_SAM_APDU [12:40:03]CAPDU: 80 0D 03 02 [12:40:03]Write to MH i2c: E2 08 00 BC 49 80 0D 03 02 00 00 00 00 80 [12:40:03]Write i2c OK [12:40:03]MH_I2C_Read... [12:40:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:40:04]Read from MH i2c: E2 [12:40:04]MH_I2C_Read... [12:40:04]Read from MH i2c: E2 0B 00 [12:40:04]MH_I2C_Read... [12:40:04]Read from MH i2c: E2 0B 00 BC 49 00 55 FA 63 E3 B4 87 C7 B6 90 00 CE [12:40:04]RAPDU: 55 FA 63 E3 B4 87 C7 B6 90 00 [12:40:04]wFMCommunicate OK [12:40:04]SAM_PROTO_SignData done [12:40:04]FM_MakeSignedData done [12:40:04]CreateOFDProtocolMessage [12:40:04]wFMCommunicate request_size=4 [12:40:04]MH_SAM_APDU [12:40:04]CAPDU: 80 11 00 00 [12:40:04]Write to MH i2c: E2 08 00 BD 49 80 11 00 00 00 00 00 00 80 [12:40:04]Write i2c OK [12:40:04]MH_I2C_Read... [12:40:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:04]Read from MH i2c: E2 [12:40:04]MH_I2C_Read... [12:40:04]Read from MH i2c: E2 17 00 [12:40:04]MH_I2C_Read... [12:40:04]Read from MH i2c: E2 17 00 BD 49 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C8 [12:40:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [12:40:04]wFMCommunicate OK [12:40:04]CreateOFDProtocolMessage done [12:40:04]OFDSenderStorePacket 2568 [12:40:04]StoreOFDPacket docnum=2568 [12:40:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 78 02 00 00 47 B3 70 02 28 AC 5A 03 01 00 03 00 64 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 EB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 18 00 00 00 00 07 04 06 00 28 EB 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 AB A8 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 08 0A 00 00 35 04 06 00 88 A2 46 2F B8 BB 55 FA 63 E3 B4 87 C7 B6 [12:40:04]CheckFolder [12:40:04]dirname=/storage/ofd_packets [12:40:04]CheckFolder done [12:40:04]ProducePacketName [12:40:04]name=ofd_packets/00002568 [12:40:04]NVStorageSaveData ofd_packets/00002568 [12:40:04]File name is /storage/ofd_packets/00002568 [12:40:04]Write 662 bytes [12:40:04]NVStorageSaveData done [12:40:04]OFDSenderStorePacket done [12:40:04]KKMCreateOFDPacket done [12:40:04]NVStorageSaveData kkm_last_timestamp [12:40:04]File name is /storage/kkm_last_timestamp [12:40:04]Write 4 bytes [12:40:04]NVStorageSaveData done [12:40:04]ExternCall_PrintAddStr [12:40:04]wPrintStart [12:40:04]Write to MH i2c: 01 00 00 BE 49 07 [12:40:04]Write i2c OK [12:40:04]MH_I2C_Read... [12:40:04]Read from MH i2c: 01 [12:40:04]MH_I2C_Read... [12:40:04]Read from MH i2c: 01 07 00 [12:40:04]MH_I2C_Read... [12:40:04]Read from MH i2c: 01 07 00 BE 49 00 00 00 00 00 FF 0F 1C [12:40:04]RasterBufferAndPrint [12:40:04]line Счет N : (3)99946 [12:40:04]line ИНН: 02508201610067 [12:40:04]line Контрольно-Кассовый Чек [12:40:04]line ПРОДАЖА [12:40:04]line Товар: 4700003010056 [12:40:04]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [12:40:04]line 1.000 * 95.00 [12:40:04]line = 95.00 [12:40:04]line НДС 12% НСП 1% [12:40:04]line > о реализуемом товаре [12:40:04]line Товар: 2000036230011 [12:40:04]line Кофе Латте XL(GABB TRADE) [12:40:04]line 1.000 * 130.00 [12:40:04]line = 130.00 [12:40:04]line НДС 12% НСП 1% [12:40:04]line > о реализуемом товаре [12:40:04]line Товар: 48746526 [12:40:04]line Сигареты Mevius Wind Blue [12:40:04]line 2.000 * 159.00 [12:40:04]line = 318.00 [12:40:04]line НДС 12% НСП 1% [12:40:04]line > о реализуемом товаре [12:40:04]line Товар: 4011100977624 [12:40:04]line Шок Батончик Баунти 55г [12:40:04]line 1.000 * 59.00 [12:40:04]line = 59.00 [12:40:04]line НДС 12% НСП 1% [12:40:04]line > о реализуемом товаре [12:40:04]line ИТОГО: 602.00 [12:40:04]line НСП 1% : 5.32 [12:40:04]line НДС 12% : 63.92 [12:40:04]line Наличными: 602.00 [12:40:04]line Безнал.: 0.00 [12:40:04]line Место: АЗС № 162 "Партнер Нефть" [12:40:04]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [12:40:04]line СНО: Общий режим [12:40:04]line Чек 29 19.10.2024 12:40 [12:40:04]line Смена: 23 ФФД: 1.0 [12:40:04]line ЗНМ: 0300000191 [12:40:04]line РНМ: 0000000000207295 [12:40:04]line Версия ККМ: v1.0 [12:40:04]line ФМ: 0000000002342820 [12:40:04]line ФД: 2568 [12:40:04]line ФПД: 150230543612091 [12:40:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T124011&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2568&fm=150230543612091&tin=02508201610067®Number=0000000000207295&sum=60200 [12:40:04]line 0 [12:40:04]OFD Sender: Processing packet 2568 [packets to send 1, broken 0] [12:40:04]ProducePacketName [12:40:04]name=ofd_packets/00002568 [12:40:04]OFD Sender: To server: pG, [12:40:04]CommunicateWithHost lk.salyk.kg:30040 [12:40:04]ConnectInit lk.salyk.kg [12:40:04]written 0, free lines is 4095 [12:40:04]Connected sock=10 [12:40:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 78 02 00 00 47 B3 70 02 28 AC 5A 03 01 00 03 00 64 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 EB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 18 00 00 00 00 07 04 06 00 28 EB 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 AB A8 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 08 0A 00 00 35 04 06 00 88 A2 46 2F B8 BB 55 FA 63 E3 B4 87 C7 B6 [12:40:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 7C 7B 47 00 97 53 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 08 0A 00 00 F4 03 04 00 0C 54 13 67 B6 04 01 00 00 4F 0A 6B A9 97 E3 92 1F [12:40:04]CommunicateWithHost err = 0 [12:40:04]CheckOFDResponse [12:40:04]1017 (14) - 77093643461234 [12:40:04]1041 (16) - 0000000002342820 [12:40:04]1040 (4) - 2568 [12:40:04]1012 (4) - 19.10.2024 06:39 [12:40:04]1206 (1) - 0 [12:40:04]OFD Sender: Remove packet 2568 [12:40:04]ProducePacketName [12:40:04]name=ofd_packets/00002568 [12:40:04]NVStorageDeleteData [12:40:05]Write to MH i2c: 01 00 00 F9 49 42 [12:40:05]Write i2c OK [12:40:05]MH_I2C_Read... [12:40:05]Read from MH i2c: 01 [12:40:05]MH_I2C_Read... [12:40:05]Read from MH i2c: 01 07 00 [12:40:05]MH_I2C_Read... [12:40:05]Read from MH i2c: 01 07 00 F9 49 00 00 00 00 00 7B 0B CF [12:40:05]RasterBufferAndPrint [12:40:05]line [12:40:05]line [12:40:05]line [12:40:05]line [12:40:05]line [12:40:05]written 0, free lines is 2945 [12:40:05]MH_Cut [12:40:05]Write to MH i2c: D1 01 00 00 4A 01 1C [12:40:05]Write i2c OK [12:40:05]MH_I2C_Read... [12:40:05]Read from MH i2c: D1 [12:40:05]MH_I2C_Read... [12:40:05]Read from MH i2c: D1 01 00 [12:40:05]MH_I2C_Read... [12:40:05]Read from MH i2c: D1 01 00 00 4A 00 1B [12:40:05]Write to MH i2c: 01 00 00 01 4A 4B [12:40:05]Write i2c OK [12:40:05]MH_I2C_Read... [12:40:05]OFD Sender: No OFD packet to send [12:40:06]*** Cut start [12:40:06]*** Partial cut [12:40:06]*** CUTSNS_PIN = 1 [12:40:06]*** CUTSNS_PIN = 0 [12:40:06]*** Brake cut motor [12:40:06]Read from MH i2c: 01 [12:40:06]MH_I2C_Read... [12:40:06]*** Stop cut motor [12:40:06]*** Cut end [12:40:06]Read from MH i2c: 01 07 00 [12:40:06]MH_I2C_Read... [12:40:06]Read from MH i2c: 01 07 00 01 4A 00 00 00 00 00 FF 0F 60 [12:40:06]process_action close_receipt done [12:40:06]requested_data is exist [12:40:06]produce_requested_data [12:40:06]requested_item fm.sn is exist - process it [12:40:06]wFMCommunicate request_size=4 [12:40:06]MH_SAM_APDU [12:40:06]CAPDU: 80 11 00 00 [12:40:06]Write to MH i2c: E2 08 00 02 4A 80 11 00 00 00 00 00 00 C6 [12:40:06]Write i2c OK [12:40:06]MH_I2C_Read... [12:40:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:06]Read from MH i2c: E2 [12:40:06]MH_I2C_Read... [12:40:06]Read from MH i2c: E2 17 00 [12:40:06]MH_I2C_Read... [12:40:06]Read from MH i2c: E2 17 00 02 4A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 0E [12:40:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [12:40:06]wFMCommunicate OK [12:40:06]requested_item fd.num is exist - process it [12:40:06]SAM_PROTO_GetFieldsCounters [12:40:06]wFMCommunicate request_size=4 [12:40:06]MH_SAM_APDU [12:40:06]CAPDU: 80 13 00 00 [12:40:06]Write to MH i2c: E2 08 00 03 4A 80 13 00 00 00 00 00 00 C9 [12:40:06]Write i2c OK [12:40:06]MH_I2C_Read... [12:40:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:40:07]Read from MH i2c: E2 [12:40:07]MH_I2C_Read... [12:40:07]Read from MH i2c: E2 62 00 [12:40:07]MH_I2C_Read... [12:40:07]Read from MH i2c: E2 62 00 03 4A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 08 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 5F [12:40:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 08 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:40:07]wFMCommunicate OK [12:40:07]SAM_PROTO_GetFieldsCounters done [12:40:07]requested_item shift.num is exist - process it [12:40:07]requested_item shift.opened is exist - process it [12:40:07]req_shift_opened [12:40:07]FM_GetShiftState [12:40:07]SAM_PROTO_GetShiftState [12:40:07]wFMCommunicate request_size=4 [12:40:07]MH_SAM_APDU [12:40:07]CAPDU: 80 13 01 00 [12:40:07]Write to MH i2c: E2 08 00 04 4A 80 13 01 00 00 00 00 00 CB [12:40:07]Write i2c OK [12:40:07]MH_I2C_Read... [12:40:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:40:07]Read from MH i2c: E2 [12:40:07]MH_I2C_Read... [12:40:07]Read from MH i2c: E2 0E 00 [12:40:07]MH_I2C_Read... [12:40:07]Read from MH i2c: E2 0E 00 04 4A 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 74 [12:40:07]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [12:40:07]wFMCommunicate OK [12:40:07]SAM_PROTO_GetShiftState done [12:40:07]FM_GetShiftState done [12:40:07]req_shift_opened done [12:40:07]requested_item shift.open_date is exist - process it [12:40:07]req_shift_open_date [12:40:07]req_shift_open_date done [12:40:07]produce_requested_data done [12:40:07]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2568,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [12:40:07]process_action_free close_receipt [12:40:07]json_value_free [12:40:07]json_value_free done [12:40:07]process_json_proto returns [12:40:07]Send response to host [12:40:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2568,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [12:40:07]free response buf [12:40:07]execute_script done [12:40:07]execute_script returns [12:40:07]free content buf [12:40:07]Sock 9.Close socket [12:40:07]Sock 9.Thread stoped [12:40:10]OFD Sender: No OFD packet to send [12:40:15]OFD Sender: No OFD packet to send [12:40:20]OFD Sender: No OFD packet to send [12:40:25]OFD Sender: No OFD packet to send [12:40:30]OFD Sender: No OFD packet to send [12:40:35]OFD Sender: No OFD packet to send [12:40:40]OFD Sender: No OFD packet to send [12:40:45]OFD Sender: No OFD packet to send [12:40:50]OFD Sender: No OFD packet to send [12:40:55]OFD Sender: No OFD packet to send [12:41:00]OFD Sender: No OFD packet to send [12:41:05]OFD Sender: No OFD packet to send [12:41:10]OFD Sender: No OFD packet to send [12:41:15]OFD Sender: No OFD packet to send [12:41:20]OFD Sender: No OFD packet to send [12:41:25]OFD Sender: No OFD packet to send [12:41:30]OFD Sender: No OFD packet to send [12:41:35]OFD Sender: No OFD packet to send [12:41:40]OFD Sender: No OFD packet to send [12:41:45]OFD Sender: No OFD packet to send [12:41:50]OFD Sender: No OFD packet to send [12:41:55]OFD Sender: No OFD packet to send [12:42:00]OFD Sender: No OFD packet to send [12:42:05]OFD Sender: No OFD packet to send [12:42:10]OFD Sender: No OFD packet to send [12:42:15]OFD Sender: No OFD packet to send [12:42:20]OFD Sender: No OFD packet to send [12:42:25]OFD Sender: No OFD packet to send [12:42:30]OFD Sender: No OFD packet to send [12:42:35]OFD Sender: No OFD packet to send [12:42:40]OFD Sender: No OFD packet to send [12:42:45]OFD Sender: No OFD packet to send [12:42:50]OFD Sender: No OFD packet to send [12:42:55]OFD Sender: No OFD packet to send [12:43:00]OFD Sender: No OFD packet to send [12:43:05]OFD Sender: No OFD packet to send [12:43:10]OFD Sender: No OFD packet to send [12:43:15]OFD Sender: No OFD packet to send [12:43:20]OFD Sender: No OFD packet to send [12:43:25]OFD Sender: No OFD packet to send [12:43:30]OFD Sender: No OFD packet to send [12:43:35]OFD Sender: No OFD packet to send [12:43:40]OFD Sender: No OFD packet to send [12:43:45]OFD Sender: No OFD packet to send [12:43:50]OFD Sender: No OFD packet to send [12:43:55]OFD Sender: No OFD packet to send [12:44:00]OFD Sender: No OFD packet to send [12:44:05]OFD Sender: No OFD packet to send [12:44:10]OFD Sender: No OFD packet to send [12:44:15]OFD Sender: No OFD packet to send [12:44:20]OFD Sender: No OFD packet to send [12:44:25]OFD Sender: No OFD packet to send [12:44:30]OFD Sender: No OFD packet to send [12:44:35]OFD Sender: No OFD packet to send [12:44:40]OFD Sender: No OFD packet to send [12:44:45]OFD Sender: No OFD packet to send [12:44:50]OFD Sender: No OFD packet to send [12:44:55]OFD Sender: No OFD packet to send [12:45:00]OFD Sender: No OFD packet to send [12:45:05]OFD Sender: No OFD packet to send [12:45:10]OFD Sender: No OFD packet to send [12:45:15]OFD Sender: No OFD packet to send [12:45:20]OFD Sender: No OFD packet to send [12:45:25]OFD Sender: No OFD packet to send [12:45:30]OFD Sender: No OFD packet to send [12:45:35]OFD Sender: No OFD packet to send [12:45:40]OFD Sender: No OFD packet to send [12:45:45]OFD Sender: No OFD packet to send [12:45:50]OFD Sender: No OFD packet to send [12:45:55]OFD Sender: No OFD packet to send [12:46:00]OFD Sender: No OFD packet to send [12:46:05]OFD Sender: No OFD packet to send [12:46:10]OFD Sender: No OFD packet to send [12:46:15]OFD Sender: No OFD packet to send [12:46:20]OFD Sender: No OFD packet to send [12:46:25]OFD Sender: No OFD packet to send [12:46:30]OFD Sender: No OFD packet to send [12:46:35]OFD Sender: No OFD packet to send [12:46:40]OFD Sender: No OFD packet to send [12:46:45]OFD Sender: No OFD packet to send [12:46:50]OFD Sender: No OFD packet to send [12:46:55]OFD Sender: No OFD packet to send [12:47:00]OFD Sender: No OFD packet to send [12:47:05]OFD Sender: No OFD packet to send [12:47:10]OFD Sender: No OFD packet to send [12:47:15]OFD Sender: No OFD packet to send [12:47:20]OFD Sender: No OFD packet to send [12:47:25]OFD Sender: No OFD packet to send [12:47:30]OFD Sender: No OFD packet to send [12:47:35]OFD Sender: No OFD packet to send [12:47:40]OFD Sender: No OFD packet to send [12:47:45]OFD Sender: No OFD packet to send [12:47:50]OFD Sender: No OFD packet to send [12:47:55]OFD Sender: No OFD packet to send [12:48:00]OFD Sender: No OFD packet to send [12:48:05]OFD Sender: No OFD packet to send [12:48:10]OFD Sender: No OFD packet to send [12:48:15]OFD Sender: No OFD packet to send [12:48:20]OFD Sender: No OFD packet to send [12:48:25]OFD Sender: No OFD packet to send [12:48:30]OFD Sender: No OFD packet to send [12:48:35]OFD Sender: No OFD packet to send [12:48:40]OFD Sender: No OFD packet to send [12:48:45]OFD Sender: No OFD packet to send [12:48:50]OFD Sender: No OFD packet to send [12:48:55]OFD Sender: No OFD packet to send [12:49:00]OFD Sender: No OFD packet to send [12:49:05]OFD Sender: No OFD packet to send [12:49:10]OFD Sender: No OFD packet to send [12:49:15]OFD Sender: No OFD packet to send [12:49:20]OFD Sender: No OFD packet to send [12:49:25]OFD Sender: No OFD packet to send [12:49:30]OFD Sender: No OFD packet to send [12:49:35]OFD Sender: No OFD packet to send [12:49:40]OFD Sender: No OFD packet to send [12:49:45]OFD Sender: No OFD packet to send [12:49:50]OFD Sender: No OFD packet to send [12:49:55]OFD Sender: No OFD packet to send [12:50:00]OFD Sender: No OFD packet to send [12:50:05]OFD Sender: No OFD packet to send [12:50:10]OFD Sender: No OFD packet to send [12:50:15]OFD Sender: No OFD packet to send [12:50:20]OFD Sender: No OFD packet to send [12:50:25]OFD Sender: No OFD packet to send [12:50:30]OFD Sender: No OFD packet to send [12:50:35]OFD Sender: No OFD packet to send [12:50:40]OFD Sender: No OFD packet to send [12:50:45]OFD Sender: No OFD packet to send [12:50:50]OFD Sender: No OFD packet to send [12:50:55]OFD Sender: No OFD packet to send [12:51:00]OFD Sender: No OFD packet to send [12:51:05]OFD Sender: No OFD packet to send [12:51:10]OFD Sender: No OFD packet to send [12:51:15]OFD Sender: No OFD packet to send [12:51:20]OFD Sender: No OFD packet to send [12:51:25]OFD Sender: No OFD packet to send [12:51:30]OFD Sender: No OFD packet to send [12:51:35]OFD Sender: No OFD packet to send [12:51:40]OFD Sender: No OFD packet to send [12:51:45]OFD Sender: No OFD packet to send [12:51:50]OFD Sender: No OFD packet to send [12:51:55]OFD Sender: No OFD packet to send [12:52:00]OFD Sender: No OFD packet to send [12:52:05]OFD Sender: No OFD packet to send [12:52:10]OFD Sender: No OFD packet to send [12:52:15]OFD Sender: No OFD packet to send [12:52:20]OFD Sender: No OFD packet to send [12:52:25]OFD Sender: No OFD packet to send [12:52:30]OFD Sender: No OFD packet to send [12:52:35]OFD Sender: No OFD packet to send [12:52:40]OFD Sender: No OFD packet to send [12:52:45]OFD Sender: No OFD packet to send [12:52:50]OFD Sender: No OFD packet to send [12:52:55]OFD Sender: No OFD packet to send [12:53:00]OFD Sender: No OFD packet to send [12:53:05]OFD Sender: No OFD packet to send [12:53:10]OFD Sender: No OFD packet to send [12:53:15]OFD Sender: No OFD packet to send [12:53:20]OFD Sender: No OFD packet to send [12:53:25]OFD Sender: No OFD packet to send [12:53:30]OFD Sender: No OFD packet to send [12:53:35]OFD Sender: No OFD packet to send [12:53:40]OFD Sender: No OFD packet to send [12:53:45]OFD Sender: No OFD packet to send [12:53:50]OFD Sender: No OFD packet to send [12:53:55]OFD Sender: No OFD packet to send [12:54:00]OFD Sender: No OFD packet to send [12:54:05]OFD Sender: No OFD packet to send [12:54:10]OFD Sender: No OFD packet to send [12:54:15]OFD Sender: No OFD packet to send [12:54:20]OFD Sender: No OFD packet to send [12:54:25]OFD Sender: No OFD packet to send [12:54:30]OFD Sender: No OFD packet to send [12:54:35]OFD Sender: No OFD packet to send [12:54:40]OFD Sender: No OFD packet to send [12:54:45]OFD Sender: No OFD packet to send [12:54:50]OFD Sender: No OFD packet to send [12:54:55]OFD Sender: No OFD packet to send [12:55:00]OFD Sender: No OFD packet to send [12:55:05]OFD Sender: No OFD packet to send [12:55:10]OFD Sender: No OFD packet to send [12:55:15]OFD Sender: No OFD packet to send [12:55:20]OFD Sender: No OFD packet to send [12:55:25]OFD Sender: No OFD packet to send [12:55:30]OFD Sender: No OFD packet to send [12:55:35]OFD Sender: No OFD packet to send [12:55:40]OFD Sender: No OFD packet to send [12:55:45]OFD Sender: No OFD packet to send [12:55:50]OFD Sender: No OFD packet to send [12:55:55]OFD Sender: No OFD packet to send [12:56:00]OFD Sender: No OFD packet to send [12:56:05]OFD Sender: No OFD packet to send [12:56:10]OFD Sender: No OFD packet to send [12:56:15]OFD Sender: No OFD packet to send [12:56:20]OFD Sender: No OFD packet to send [12:56:25]OFD Sender: No OFD packet to send [12:56:30]OFD Sender: No OFD packet to send [12:56:35]OFD Sender: No OFD packet to send [12:56:40]OFD Sender: No OFD packet to send [12:56:46]OFD Sender: No OFD packet to send [12:56:51]OFD Sender: No OFD packet to send [12:56:56]OFD Sender: No OFD packet to send [12:57:01]OFD Sender: No OFD packet to send [12:57:06]OFD Sender: No OFD packet to send [12:57:11]OFD Sender: No OFD packet to send [12:57:16]OFD Sender: No OFD packet to send [12:57:21]OFD Sender: No OFD packet to send [12:57:26]OFD Sender: No OFD packet to send [12:57:31]OFD Sender: No OFD packet to send [12:57:36]OFD Sender: No OFD packet to send [12:57:41]OFD Sender: No OFD packet to send [12:57:46]OFD Sender: No OFD packet to send [12:57:51]OFD Sender: No OFD packet to send [12:57:56]OFD Sender: No OFD packet to send [12:58:01]OFD Sender: No OFD packet to send [12:58:06]OFD Sender: No OFD packet to send [12:58:11]OFD Sender: No OFD packet to send [12:58:16]OFD Sender: No OFD packet to send [12:58:21]OFD Sender: No OFD packet to send [12:58:26]OFD Sender: No OFD packet to send [12:58:31]OFD Sender: No OFD packet to send [12:58:36]OFD Sender: No OFD packet to send [12:58:41]OFD Sender: No OFD packet to send [12:58:46]OFD Sender: No OFD packet to send [12:58:51]OFD Sender: No OFD packet to send [12:58:56]OFD Sender: No OFD packet to send [12:59:01]OFD Sender: No OFD packet to send [12:59:06]OFD Sender: No OFD packet to send [12:59:11]OFD Sender: No OFD packet to send [12:59:16]OFD Sender: No OFD packet to send [12:59:21]OFD Sender: No OFD packet to send [12:59:26]OFD Sender: No OFD packet to send [12:59:31]OFD Sender: No OFD packet to send [12:59:36]OFD Sender: No OFD packet to send [12:59:41]OFD Sender: No OFD packet to send [12:59:46]OFD Sender: No OFD packet to send [12:59:51]OFD Sender: No OFD packet to send [12:59:56]OFD Sender: No OFD packet to send [13:00:01]OFD Sender: No OFD packet to send [13:00:06]OFD Sender: No OFD packet to send [13:00:11]OFD Sender: No OFD packet to send [13:00:16]OFD Sender: No OFD packet to send [13:00:21]OFD Sender: No OFD packet to send [13:00:26]OFD Sender: No OFD packet to send [13:00:31]OFD Sender: No OFD packet to send [13:00:36]OFD Sender: No OFD packet to send [13:00:41]OFD Sender: No OFD packet to send [13:00:46]OFD Sender: No OFD packet to send [13:00:51]OFD Sender: No OFD packet to send [13:00:56]OFD Sender: No OFD packet to send [13:01:01]OFD Sender: No OFD packet to send [13:01:06]OFD Sender: No OFD packet to send [13:01:11]OFD Sender: No OFD packet to send [13:01:16]OFD Sender: No OFD packet to send [13:01:21]OFD Sender: No OFD packet to send [13:01:26]OFD Sender: No OFD packet to send [13:01:31]OFD Sender: No OFD packet to send [13:01:36]OFD Sender: No OFD packet to send [13:01:41]OFD Sender: No OFD packet to send [13:01:46]OFD Sender: No OFD packet to send [13:01:51]OFD Sender: No OFD packet to send [13:01:56]OFD Sender: No OFD packet to send [13:02:01]OFD Sender: No OFD packet to send [13:02:06]OFD Sender: No OFD packet to send [13:02:11]OFD Sender: No OFD packet to send [13:02:16]OFD Sender: No OFD packet to send [13:02:21]OFD Sender: No OFD packet to send [13:02:26]OFD Sender: No OFD packet to send [13:02:31]OFD Sender: No OFD packet to send [13:02:35]accept exits with 7 [13:02:35]New connection [13:02:35]New thread 3066707300 created [13:02:35]Thread 3066850660 joined [13:02:35]Waiting for new connection... [13:02:35] Sock 7.Parse request [13:02:35]Sock 7.Check first char [13:02:35]Sock 7.First char is OK [13:02:35]request: POST /json_proto HTTP/1.0 [13:02:35]Method: POST [13:02:35]URL: /json_proto [13:02:35]Method is POST - this is cgi request [13:02:35]url: /json_proto [13:02:35]query_string will be loaded in cgi processing [13:02:35]execute_cgi json_proto POST (null) [13:02:35]execute_cgi path=json_proto method=POST [13:02:35]POST find Content-Length [13:02:35]Host: 172.17.52.132:8080 [13:02:35]Content-Length: 1151 [13:02:35]Content-Type: application/json [13:02:35] [13:02:35]POST finish read [13:02:35]Found Content-Length = 1151 [13:02:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99947", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 2.000, "sum" : 320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 430.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:02:35]execute_script... [13:02:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99947", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 2.000, "sum" : 320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 430.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:02:35]POST & json_proto [13:02:35]process_json_proto [13:02:35]json parsed OK: [13:02:35]protocol is kg_v1.0 [13:02:35]action value=close_receipt [13:02:35]process_action close_receipt [13:02:35]cmd_close_receipt [13:02:35]MH_GetDate [13:02:35]Write to MH i2c: F0 00 00 05 4A 3E [13:02:35]Write i2c OK [13:02:35]MH_I2C_Read... [13:02:35]Read from MH i2c: F0 [13:02:35]MH_I2C_Read... [13:02:35]Read from MH i2c: F0 09 00 [13:02:35]MH_I2C_Read... [13:02:35]Read from MH i2c: F0 09 00 05 4A 00 F5 AD 13 67 5A BE F6 66 D7 [13:02:35]GetLastDocTimeStamp 1729341611 [13:02:35]current date 1729342965 [13:02:35]FM_GetShiftState [13:02:35]SAM_PROTO_GetShiftState [13:02:35]wFMCommunicate request_size=4 [13:02:35]MH_SAM_APDU [13:02:35]CAPDU: 80 13 01 00 [13:02:35]Write to MH i2c: E2 08 00 06 4A 80 13 01 00 00 00 00 00 CD [13:02:35]Write i2c OK [13:02:35]MH_I2C_Read... [13:02:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:02:35]Read from MH i2c: E2 [13:02:35]MH_I2C_Read... [13:02:35]Read from MH i2c: E2 0E 00 [13:02:35]MH_I2C_Read... [13:02:35]Read from MH i2c: E2 0E 00 06 4A 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 76 [13:02:35]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [13:02:35]wFMCommunicate OK [13:02:35]SAM_PROTO_GetShiftState done [13:02:35]FM_GetShiftState done [13:02:35]opened in 1729296173 [13:02:35]opened+sec_in_day 1729382573 [13:02:35]quantity*price = 32000 [13:02:35]sum+1 = 32001 [13:02:35]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 54491472 Напиток Кока-Кола 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000310326 Вода Адыгене 1л б/г 1.000 * 35.00 = 35.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 430.00 НСП 1% : 3.80 НДС 12% : 45.66 Наличными: 430.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 30 19.10.2024 13:02 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2569 ФПД: 185852286128664 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T130245&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2569&fm=185852286128664&tin=02508201610067®Number=0000000000207295&sum=43000 0 [13:02:36]StoreToDocumentArchive [13:02:36]shift 23 fd 2569 [13:02:36]save to /storage/0023/doc_00002569 [13:02:36]save last doc name /storage/0023/doc_00002569 to /storage/kkm_last_doc_name [13:02:36]save OK [13:02:36]Clear old archive folders... [13:02:36]ProcessDocumentItem done err = 0, tmpTLVsize=484 [13:02:36]tlvbuf is 01492410 [13:02:36]SAM_PROTO_ClearQueue [13:02:36]wFMCommunicate request_size=4 [13:02:36]MH_SAM_APDU [13:02:36]CAPDU: 80 09 00 00 [13:02:36]Write to MH i2c: E2 08 00 13 4A 80 09 00 00 00 00 00 00 CF [13:02:36]Write i2c OK [13:02:36]MH_I2C_Read... [13:02:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:02:36]Read from MH i2c: E2 [13:02:36]MH_I2C_Read... [13:02:36]Read from MH i2c: E2 03 00 [13:02:36]MH_I2C_Read... [13:02:36]Read from MH i2c: E2 03 00 13 4A 00 90 00 D1 [13:02:36]RAPDU: 90 00 [13:02:36]wFMCommunicate OK [13:02:36]SAM_PROTO_ClearQueue done [13:02:36]KKMCreateOFDPacket [13:02:36]OFDProtocolAddRootSTLVToBuf [13:02:36]FM_MakeSignedData [13:02:36]FM_MakeSignedData [13:02:36]SAM_PROTO_SignData [13:02:36]wFMCommunicate request_size=4 [13:02:36]MH_SAM_APDU [13:02:36]CAPDU: 80 0D 01 02 [13:02:36]Write to MH i2c: E2 08 00 14 4A 80 0D 01 02 00 00 00 00 D7 [13:02:36]Write i2c OK [13:02:36]MH_I2C_Read... [13:02:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:02:36]Read from MH i2c: E2 [13:02:36]MH_I2C_Read... [13:02:36]Read from MH i2c: E2 03 00 [13:02:36]MH_I2C_Read... [13:02:36]Read from MH i2c: E2 03 00 14 4A 00 90 00 D2 [13:02:36]RAPDU: 90 00 [13:02:36]wFMCommunicate OK [13:02:36]wFMCommunicate request_size=255 [13:02:36]MH_SAM_APDU [13:02:36]CAPDU: 80 0D 02 02 FA 03 00 E4 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 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 [13:02:37]Write to MH i2c: E2 02 01 15 4A 80 0D 02 02 FA 00 03 00 E4 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 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 F6 [13:02:37]Write i2c OK [13:02:37]MH_I2C_Read... [13:02:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:02:37]Read from MH i2c: E2 [13:02:37]MH_I2C_Read... [13:02:37]Read from MH i2c: E2 03 00 [13:02:37]MH_I2C_Read... [13:02:37]Read from MH i2c: E2 03 00 15 4A 00 90 00 D3 [13:02:37]RAPDU: 90 00 [13:02:37]wFMCommunicate OK [13:02:37]wFMCommunicate request_size=243 [13:02:37]MH_SAM_APDU [13:02:37]CAPDU: 80 0D 02 02 EE B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 F8 A7 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F5 AD 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 09 0A 00 00 35 04 06 00 A9 08 1B 7E D2 18 [13:02:37]Write to MH i2c: E2 F6 00 16 4A 80 0D 02 02 EE 00 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 F8 A7 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F5 AD 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 09 0A 00 00 35 04 06 00 A9 08 1B 7E D2 18 00 00 FC [13:02:37]Write i2c OK [13:02:37]MH_I2C_Read... [13:02:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:02:37]Read from MH i2c: E2 [13:02:37]MH_I2C_Read... [13:02:37]Read from MH i2c: E2 03 00 [13:02:37]MH_I2C_Read... [13:02:37]Read from MH i2c: E2 03 00 16 4A 00 90 00 D4 [13:02:37]RAPDU: 90 00 [13:02:37]wFMCommunicate OK [13:02:37]wFMCommunicate request_size=4 [13:02:37]MH_SAM_APDU [13:02:37]CAPDU: 80 0D 03 02 [13:02:37]Write to MH i2c: E2 08 00 17 4A 80 0D 03 02 00 00 00 00 DC [13:02:37]Write i2c OK [13:02:37]MH_I2C_Read... [13:02:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:02:37]Read from MH i2c: E2 [13:02:37]MH_I2C_Read... [13:02:37]Read from MH i2c: E2 0B 00 [13:02:37]MH_I2C_Read... [13:02:37]Read from MH i2c: E2 0B 00 17 4A 00 2F 9B A9 E4 98 74 A0 A2 90 00 82 [13:02:37]RAPDU: 2F 9B A9 E4 98 74 A0 A2 90 00 [13:02:37]wFMCommunicate OK [13:02:37]SAM_PROTO_SignData done [13:02:37]FM_MakeSignedData done [13:02:37]CreateOFDProtocolMessage [13:02:37]wFMCommunicate request_size=4 [13:02:37]MH_SAM_APDU [13:02:37]CAPDU: 80 11 00 00 [13:02:37]Write to MH i2c: E2 08 00 18 4A 80 11 00 00 00 00 00 00 DC [13:02:37]Write i2c OK [13:02:37]MH_I2C_Read... [13:02:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:02:37]Read from MH i2c: E2 [13:02:37]MH_I2C_Read... [13:02:37]Read from MH i2c: E2 17 00 [13:02:37]MH_I2C_Read... [13:02:37]Read from MH i2c: E2 17 00 18 4A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 24 [13:02:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:02:37]wFMCommunicate OK [13:02:37]CreateOFDProtocolMessage done [13:02:37]OFDSenderStorePacket 2569 [13:02:37]StoreOFDPacket docnum=2569 [13:02:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 F8 01 00 00 D4 33 F0 01 B9 31 5A 03 01 00 03 00 E4 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 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 F8 A7 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F5 AD 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 09 0A 00 00 35 04 06 00 A9 08 1B 7E D2 18 2F 9B A9 E4 98 74 A0 A2 [13:02:37]CheckFolder [13:02:37]dirname=/storage/ofd_packets [13:02:37]CheckFolder done [13:02:37]ProducePacketName [13:02:37]name=ofd_packets/00002569 [13:02:37]NVStorageSaveData ofd_packets/00002569 [13:02:37]File name is /storage/ofd_packets/00002569 [13:02:37]Write 534 bytes [13:02:37]NVStorageSaveData done [13:02:37]OFDSenderStorePacket done [13:02:37]KKMCreateOFDPacket done [13:02:37]NVStorageSaveData kkm_last_timestamp [13:02:37]File name is /storage/kkm_last_timestamp [13:02:37]Write 4 bytes [13:02:37]NVStorageSaveData done [13:02:37]ExternCall_PrintAddStr [13:02:37]wPrintStart [13:02:37]Write to MH i2c: 01 00 00 19 4A 63 [13:02:37]Write i2c OK [13:02:37]MH_I2C_Read... [13:02:37]Read from MH i2c: 01 [13:02:37]MH_I2C_Read... [13:02:37]Read from MH i2c: 01 07 00 [13:02:37]MH_I2C_Read... [13:02:37]Read from MH i2c: 01 07 00 19 4A 00 00 00 00 00 FF 0F 78 [13:02:37]RasterBufferAndPrint [13:02:37]line Счет N : (3)99947 [13:02:37]line ИНН: 02508201610067 [13:02:37]line Контрольно-Кассовый Чек [13:02:37]line ПРОДАЖА [13:02:37]line Товар: 48741958 [13:02:37]line Сигареты Parliament Aqua Blue [13:02:37]line 2.000 * 160.00 [13:02:37]line = 320.00 [13:02:37]line НДС 12% НСП 1% [13:02:37]line > о реализуемом товаре [13:02:37]line Товар: 54491472 [13:02:37]line Напиток Кока-Кола 0,5л [13:02:37]line 1.000 * 75.00 [13:02:37]line = 75.00 [13:02:37]line НДС 12% НСП 1% [13:02:37]line > о реализуемом товаре [13:02:37]line Товар: 4700000310326 [13:02:37]line Вода Адыгене 1л б/г [13:02:37]line 1.000 * 35.00 [13:02:37]line = 35.00 [13:02:37]line НДС 12% НСП 1% [13:02:37]line > о реализуемом товаре [13:02:37]line ИТОГО: 430.00 [13:02:37]line НСП 1% : 3.80 [13:02:37]line НДС 12% : 45.66 [13:02:37]line Наличными: 430.00 [13:02:37]line Безнал.: 0.00 [13:02:37]line Место: АЗС № 162 "Партнер Нефть" [13:02:37]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [13:02:37]line СНО: Общий режим [13:02:37]line Чек 30 19.10.2024 13:02 [13:02:37]line Смена: 23 ФФД: 1.0 [13:02:37]line ЗНМ: 0300000191 [13:02:37]line РНМ: 0000000000207295 [13:02:37]line Версия ККМ: v1.0 [13:02:37]line ФМ: 0000000002342820 [13:02:37]line ФД: 2569 [13:02:37]line ФПД: 185852286128664 [13:02:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T130245&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2569&fm=185852286128664&tin=02508201610067®Number=0000000000207295&sum=43000 [13:02:37]line 0 [13:02:37]written 0, free lines is 4095 [13:02:37]OFD Sender: Processing packet 2569 [packets to send 1, broken 0] [13:02:37]ProducePacketName [13:02:37]name=ofd_packets/00002569 [13:02:37]OFD Sender: To server: pG, [13:02:37]CommunicateWithHost lk.salyk.kg:30040 [13:02:38]ConnectInit lk.salyk.kg [13:02:38]Connected sock=10 [13:02:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 F8 01 00 00 D4 33 F0 01 B9 31 5A 03 01 00 03 00 E4 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 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 F8 A7 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F5 AD 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 09 0A 00 00 35 04 06 00 A9 08 1B 7E D2 18 2F 9B A9 E4 98 74 A0 A2 [13:02:38]Write to MH i2c: 01 00 00 4E 4A 98 [13:02:38]Write i2c OK [13:02:38]MH_I2C_Read... [13:02:38]Read from MH i2c: 01 [13:02:38]MH_I2C_Read... [13:02:38]Read from MH i2c: 01 07 00 [13:02:38]MH_I2C_Read... [13:02:38]Read from MH i2c: 01 07 00 4E 4A 00 00 00 00 00 CE 0B 78 [13:02:38]RasterBufferAndPrint [13:02:38]line [13:02:38]line [13:02:38]line [13:02:38]line [13:02:38]line [13:02:38]written 0, free lines is 3028 [13:02:38]MH_Cut [13:02:38]Write to MH i2c: D1 01 00 55 4A 01 71 [13:02:38]Write i2c OK [13:02:38]MH_I2C_Read... [13:02:38]Read from MH i2c: D1 [13:02:38]MH_I2C_Read... [13:02:38]Read from MH i2c: D1 01 00 [13:02:38]MH_I2C_Read... [13:02:38]Read from MH i2c: D1 01 00 55 4A 00 70 [13:02:38]Write to MH i2c: 01 00 00 56 4A A0 [13:02:38]Write i2c OK [13:02:38]MH_I2C_Read... [13:02:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 4C AC 47 00 E6 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 09 0A 00 00 F4 03 04 00 56 59 13 67 B6 04 01 00 00 3A 36 8D AD 40 18 5A 02 [13:02:38]CommunicateWithHost err = 0 [13:02:38]CheckOFDResponse [13:02:38]1017 (14) - 77093643461234 [13:02:38]1041 (16) - 0000000002342820 [13:02:38]1040 (4) - 2569 [13:02:38]1012 (4) - 19.10.2024 07:01 [13:02:38]1206 (1) - 0 [13:02:38]OFD Sender: Remove packet 2569 [13:02:38]ProducePacketName [13:02:38]name=ofd_packets/00002569 [13:02:38]NVStorageDeleteData [13:02:38]OFD Sender: No OFD packet to send [13:02:39]*** Cut start [13:02:39]*** Partial cut [13:02:39]*** CUTSNS_PIN = 1 [13:02:39]*** CUTSNS_PIN = 0 [13:02:39]*** Brake cut motor [13:02:40]Read from MH i2c: 01 [13:02:40]MH_I2C_Read... [13:02:40]*** Stop cut motor [13:02:40]*** Cut end [13:02:40]Read from MH i2c: 01 07 00 [13:02:40]MH_I2C_Read... [13:02:40]Read from MH i2c: 01 07 00 56 4A 00 00 00 00 00 FF 0F B5 [13:02:40]process_action close_receipt done [13:02:40]requested_data is exist [13:02:40]produce_requested_data [13:02:40]requested_item fm.sn is exist - process it [13:02:40]wFMCommunicate request_size=4 [13:02:40]MH_SAM_APDU [13:02:40]CAPDU: 80 11 00 00 [13:02:40]Write to MH i2c: E2 08 00 57 4A 80 11 00 00 00 00 00 00 1B [13:02:40]Write i2c OK [13:02:40]MH_I2C_Read... [13:02:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:02:40]Read from MH i2c: E2 [13:02:40]MH_I2C_Read... [13:02:40]Read from MH i2c: E2 17 00 [13:02:40]MH_I2C_Read... [13:02:40]Read from MH i2c: E2 17 00 57 4A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 63 [13:02:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:02:40]wFMCommunicate OK [13:02:40]requested_item fd.num is exist - process it [13:02:40]SAM_PROTO_GetFieldsCounters [13:02:40]wFMCommunicate request_size=4 [13:02:40]MH_SAM_APDU [13:02:40]CAPDU: 80 13 00 00 [13:02:40]Write to MH i2c: E2 08 00 58 4A 80 13 00 00 00 00 00 00 1E [13:02:40]Write i2c OK [13:02:40]MH_I2C_Read... [13:02:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:02:40]Read from MH i2c: E2 [13:02:40]MH_I2C_Read... [13:02:40]Read from MH i2c: E2 62 00 [13:02:40]MH_I2C_Read... [13:02:40]Read from MH i2c: E2 62 00 58 4A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 09 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 B8 [13:02:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 09 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:02:40]wFMCommunicate OK [13:02:40]SAM_PROTO_GetFieldsCounters done [13:02:40]requested_item shift.num is exist - process it [13:02:40]requested_item shift.opened is exist - process it [13:02:40]req_shift_opened [13:02:40]FM_GetShiftState [13:02:40]SAM_PROTO_GetShiftState [13:02:40]wFMCommunicate request_size=4 [13:02:40]MH_SAM_APDU [13:02:40]CAPDU: 80 13 01 00 [13:02:40]Write to MH i2c: E2 08 00 59 4A 80 13 01 00 00 00 00 00 20 [13:02:40]Write i2c OK [13:02:40]MH_I2C_Read... [13:02:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:02:40]Read from MH i2c: E2 [13:02:40]MH_I2C_Read... [13:02:40]Read from MH i2c: E2 0E 00 [13:02:40]MH_I2C_Read... [13:02:40]Read from MH i2c: E2 0E 00 59 4A 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 C9 [13:02:40]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [13:02:40]wFMCommunicate OK [13:02:40]SAM_PROTO_GetShiftState done [13:02:40]FM_GetShiftState done [13:02:40]req_shift_opened done [13:02:40]requested_item shift.open_date is exist - process it [13:02:40]req_shift_open_date [13:02:40]req_shift_open_date done [13:02:40]produce_requested_data done [13:02:40]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2569,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [13:02:40]process_action_free close_receipt [13:02:40]json_value_free [13:02:40]json_value_free done [13:02:40]process_json_proto returns [13:02:40]Send response to host [13:02:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2569,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [13:02:40]free response buf [13:02:40]execute_script done [13:02:40]execute_script returns [13:02:40]free content buf [13:02:40]Sock 7.Close socket [13:02:40]Sock 7.Thread stoped [13:02:43]OFD Sender: No OFD packet to send [13:02:48]OFD Sender: No OFD packet to send [13:02:53]OFD Sender: No OFD packet to send [13:02:58]OFD Sender: No OFD packet to send [13:03:03]OFD Sender: No OFD packet to send [13:03:08]OFD Sender: No OFD packet to send [13:03:13]OFD Sender: No OFD packet to send [13:03:18]OFD Sender: No OFD packet to send [13:03:23]OFD Sender: No OFD packet to send [13:03:28]OFD Sender: No OFD packet to send [13:03:33]OFD Sender: No OFD packet to send [13:03:38]OFD Sender: No OFD packet to send [13:03:43]OFD Sender: No OFD packet to send [13:03:48]OFD Sender: No OFD packet to send [13:03:53]OFD Sender: No OFD packet to send [13:03:59]OFD Sender: No OFD packet to send [13:04:04]OFD Sender: No OFD packet to send [13:04:09]OFD Sender: No OFD packet to send [13:04:14]OFD Sender: No OFD packet to send [13:04:19]OFD Sender: No OFD packet to send [13:04:24]OFD Sender: No OFD packet to send [13:04:29]OFD Sender: No OFD packet to send [13:04:34]OFD Sender: No OFD packet to send [13:04:39]OFD Sender: No OFD packet to send [13:04:44]OFD Sender: No OFD packet to send [13:04:49]OFD Sender: No OFD packet to send [13:04:54]OFD Sender: No OFD packet to send [13:04:59]OFD Sender: No OFD packet to send [13:05:04]OFD Sender: No OFD packet to send [13:05:09]OFD Sender: No OFD packet to send [13:05:14]OFD Sender: No OFD packet to send [13:05:19]OFD Sender: No OFD packet to send [13:05:24]OFD Sender: No OFD packet to send [13:05:29]OFD Sender: No OFD packet to send [13:05:34]OFD Sender: No OFD packet to send [13:05:39]OFD Sender: No OFD packet to send [13:05:44]OFD Sender: No OFD packet to send [13:05:49]OFD Sender: No OFD packet to send [13:05:54]OFD Sender: No OFD packet to send [13:05:59]OFD Sender: No OFD packet to send [13:06:04]OFD Sender: No OFD packet to send [13:06:09]OFD Sender: No OFD packet to send [13:06:14]OFD Sender: No OFD packet to send [13:06:19]OFD Sender: No OFD packet to send [13:06:24]OFD Sender: No OFD packet to send [13:06:29]OFD Sender: No OFD packet to send [13:06:34]OFD Sender: No OFD packet to send [13:06:39]OFD Sender: No OFD packet to send [13:06:44]OFD Sender: No OFD packet to send [13:06:49]OFD Sender: No OFD packet to send [13:06:54]OFD Sender: No OFD packet to send [13:06:59]OFD Sender: No OFD packet to send [13:07:04]OFD Sender: No OFD packet to send [13:07:09]OFD Sender: No OFD packet to send [13:07:14]OFD Sender: No OFD packet to send [13:07:19]OFD Sender: No OFD packet to send [13:07:24]OFD Sender: No OFD packet to send [13:07:29]OFD Sender: No OFD packet to send [13:07:34]OFD Sender: No OFD packet to send [13:07:39]OFD Sender: No OFD packet to send [13:07:44]OFD Sender: No OFD packet to send [13:07:49]OFD Sender: No OFD packet to send [13:07:54]OFD Sender: No OFD packet to send [13:07:59]OFD Sender: No OFD packet to send [13:08:04]OFD Sender: No OFD packet to send [13:08:09]OFD Sender: No OFD packet to send [13:08:14]OFD Sender: No OFD packet to send [13:08:19]OFD Sender: No OFD packet to send [13:08:24]OFD Sender: No OFD packet to send [13:08:29]OFD Sender: No OFD packet to send [13:08:34]OFD Sender: No OFD packet to send [13:08:39]OFD Sender: No OFD packet to send [13:08:44]OFD Sender: No OFD packet to send [13:08:49]OFD Sender: No OFD packet to send [13:08:54]OFD Sender: No OFD packet to send [13:08:59]OFD Sender: No OFD packet to send [13:09:04]OFD Sender: No OFD packet to send [13:09:09]OFD Sender: No OFD packet to send [13:09:14]OFD Sender: No OFD packet to send [13:09:19]OFD Sender: No OFD packet to send [13:09:24]OFD Sender: No OFD packet to send [13:09:29]OFD Sender: No OFD packet to send [13:09:34]OFD Sender: No OFD packet to send [13:09:39]OFD Sender: No OFD packet to send [13:09:44]OFD Sender: No OFD packet to send [13:09:49]OFD Sender: No OFD packet to send [13:09:54]OFD Sender: No OFD packet to send [13:09:59]OFD Sender: No OFD packet to send [13:10:04]OFD Sender: No OFD packet to send [13:10:09]OFD Sender: No OFD packet to send [13:10:14]OFD Sender: No OFD packet to send [13:10:19]OFD Sender: No OFD packet to send [13:10:24]OFD Sender: No OFD packet to send [13:10:29]OFD Sender: No OFD packet to send [13:10:34]OFD Sender: No OFD packet to send [13:10:39]OFD Sender: No OFD packet to send [13:10:44]OFD Sender: No OFD packet to send [13:10:49]OFD Sender: No OFD packet to send [13:10:54]OFD Sender: No OFD packet to send [13:10:59]OFD Sender: No OFD packet to send [13:11:04]OFD Sender: No OFD packet to send [13:11:09]OFD Sender: No OFD packet to send [13:11:13]accept exits with 9 [13:11:13]New connection [13:11:13]New thread 3066850660 created [13:11:13]Thread 3066707300 joined [13:11:13]Waiting for new connection... [13:11:13] Sock 9.Parse request [13:11:13]Sock 9.Check first char [13:11:13]Sock 9.First char is OK [13:11:13]request: POST /json_proto HTTP/1.0 [13:11:13]Method: POST [13:11:13]URL: /json_proto [13:11:13]Method is POST - this is cgi request [13:11:13]url: /json_proto [13:11:13]query_string will be loaded in cgi processing [13:11:13]execute_cgi json_proto POST (null) [13:11:13]execute_cgi path=json_proto method=POST [13:11:13]POST find Content-Length [13:11:13]Host: 172.17.52.132:8080 [13:11:13]Content-Length: 669 [13:11:13]Content-Type: application/json [13:11:13] [13:11:13]POST finish read [13:11:13]Found Content-Length = 669 [13:11:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99948", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:11:13]execute_script... [13:11: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)99948", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:11:13]POST & json_proto [13:11:13]process_json_proto [13:11:13]json parsed OK: [13:11:13]protocol is kg_v1.0 [13:11:13]action value=close_receipt [13:11:13]process_action close_receipt [13:11:13]cmd_close_receipt [13:11:13]MH_GetDate [13:11:13]Write to MH i2c: F0 00 00 5A 4A 93 [13:11:13]Write i2c OK [13:11:13]MH_I2C_Read... [13:11:13]Read from MH i2c: F0 [13:11:13]MH_I2C_Read... [13:11:13]Read from MH i2c: F0 09 00 [13:11:13]MH_I2C_Read... [13:11:13]Read from MH i2c: F0 09 00 5A 4A 00 FB AF 13 67 5A BE F6 66 34 [13:11:13]GetLastDocTimeStamp 1729342965 [13:11:13]current date 1729343483 [13:11:13]FM_GetShiftState [13:11:13]SAM_PROTO_GetShiftState [13:11:13]wFMCommunicate request_size=4 [13:11:13]MH_SAM_APDU [13:11:13]CAPDU: 80 13 01 00 [13:11:13]Write to MH i2c: E2 08 00 5B 4A 80 13 01 00 00 00 00 00 22 [13:11:13]Write i2c OK [13:11:13]MH_I2C_Read... [13:11:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:11:13]Read from MH i2c: E2 [13:11:13]MH_I2C_Read... [13:11:13]Read from MH i2c: E2 0E 00 [13:11:13]MH_I2C_Read... [13:11:13]Read from MH i2c: E2 0E 00 5B 4A 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 CB [13:11:13]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [13:11:13]wFMCommunicate OK [13:11:13]SAM_PROTO_GetShiftState done [13:11:13]FM_GetShiftState done [13:11:13]opened in 1729296173 [13:11:13]opened+sec_in_day 1729382573 [13:11:13]quantity*price = 9500 [13:11:13]sum+1 = 9501 [13:11:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 31 19.10.2024 13:11 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2570 ФПД: 94093215134017 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T131123&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2570&fm=94093215134017&tin=02508201610067®Number=0000000000207295&sum=9500 0 [13:11:15]StoreToDocumentArchive [13:11:15]shift 23 fd 2570 [13:11:15]save to /storage/0023/doc_00002570 [13:11:15]save last doc name /storage/0023/doc_00002570 to /storage/kkm_last_doc_name [13:11:15]save OK [13:11:15]Clear old archive folders... [13:11:15]ProcessDocumentItem done err = 0, tmpTLVsize=293 [13:11:15]tlvbuf is 014381A0 [13:11:15]SAM_PROTO_ClearQueue [13:11:15]wFMCommunicate request_size=4 [13:11:15]MH_SAM_APDU [13:11:15]CAPDU: 80 09 00 00 [13:11:15]Write to MH i2c: E2 08 00 68 4A 80 09 00 00 00 00 00 00 24 [13:11:15]Write i2c OK [13:11:15]MH_I2C_Read... [13:11:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:11:15]Read from MH i2c: E2 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: E2 03 00 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: E2 03 00 68 4A 00 90 00 26 [13:11:15]RAPDU: 90 00 [13:11:15]wFMCommunicate OK [13:11:15]SAM_PROTO_ClearQueue done [13:11:15]KKMCreateOFDPacket [13:11:15]OFDProtocolAddRootSTLVToBuf [13:11:15]FM_MakeSignedData [13:11:15]FM_MakeSignedData [13:11:15]SAM_PROTO_SignData [13:11:15]wFMCommunicate request_size=4 [13:11:15]MH_SAM_APDU [13:11:15]CAPDU: 80 0D 01 02 [13:11:15]Write to MH i2c: E2 08 00 69 4A 80 0D 01 02 00 00 00 00 2C [13:11:15]Write i2c OK [13:11:15]MH_I2C_Read... [13:11:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:11:15]Read from MH i2c: E2 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: E2 03 00 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: E2 03 00 69 4A 00 90 00 27 [13:11:15]RAPDU: 90 00 [13:11:15]wFMCommunicate OK [13:11:15]wFMCommunicate request_size=255 [13:11:15]MH_SAM_APDU [13:11:15]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 1F 00 00 00 F4 03 04 00 FB AF 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [13:11:15]Write to MH i2c: E2 02 01 6A 4A 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 1F 00 00 00 F4 03 04 00 FB AF 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 7E [13:11:15]Write i2c OK [13:11:15]MH_I2C_Read... [13:11:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:11:15]Read from MH i2c: E2 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: E2 03 00 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: E2 03 00 6A 4A 00 90 00 28 [13:11:15]RAPDU: 90 00 [13:11:15]wFMCommunicate OK [13:11:15]wFMCommunicate request_size=52 [13:11:15]MH_SAM_APDU [13:11:15]CAPDU: 80 0D 02 02 2F 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0A 0A 00 00 35 04 06 00 55 93 C8 A9 F1 41 [13:11:15]Write to MH i2c: E2 37 00 6B 4A 80 0D 02 02 2F 00 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0A 0A 00 00 35 04 06 00 55 93 C8 A9 F1 41 00 00 86 [13:11:15]Write i2c OK [13:11:15]MH_I2C_Read... [13:11:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:11:15]Read from MH i2c: E2 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: E2 03 00 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: E2 03 00 6B 4A 00 90 00 29 [13:11:15]RAPDU: 90 00 [13:11:15]wFMCommunicate OK [13:11:15]wFMCommunicate request_size=4 [13:11:15]MH_SAM_APDU [13:11:15]CAPDU: 80 0D 03 02 [13:11:15]Write to MH i2c: E2 08 00 6C 4A 80 0D 03 02 00 00 00 00 31 [13:11:15]Write i2c OK [13:11:15]MH_I2C_Read... [13:11:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:11:15]Read from MH i2c: E2 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: E2 0B 00 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: E2 0B 00 6C 4A 00 D8 D8 D7 65 7A 71 BD EF 90 00 B5 [13:11:15]RAPDU: D8 D8 D7 65 7A 71 BD EF 90 00 [13:11:15]wFMCommunicate OK [13:11:15]SAM_PROTO_SignData done [13:11:15]FM_MakeSignedData done [13:11:15]CreateOFDProtocolMessage [13:11:15]wFMCommunicate request_size=4 [13:11:15]MH_SAM_APDU [13:11:15]CAPDU: 80 11 00 00 [13:11:15]Write to MH i2c: E2 08 00 6D 4A 80 11 00 00 00 00 00 00 31 [13:11:15]Write i2c OK [13:11:15]MH_I2C_Read... [13:11:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:11:15]Read from MH i2c: E2 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: E2 17 00 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: E2 17 00 6D 4A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 79 [13:11:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:11:15]wFMCommunicate OK [13:11:15]CreateOFDProtocolMessage done [13:11:15]OFDSenderStorePacket 2570 [13:11:15]StoreOFDPacket docnum=2570 [13:11:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 39 01 00 00 47 BC 31 01 96 32 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 1F 00 00 00 F4 03 04 00 FB AF 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0A 0A 00 00 35 04 06 00 55 93 C8 A9 F1 41 D8 D8 D7 65 7A 71 BD EF [13:11:15]CheckFolder [13:11:15]dirname=/storage/ofd_packets [13:11:15]CheckFolder done [13:11:15]ProducePacketName [13:11:15]name=ofd_packets/00002570 [13:11:15]NVStorageSaveData ofd_packets/00002570 [13:11:15]File name is /storage/ofd_packets/00002570 [13:11:15]Write 343 bytes [13:11:15]NVStorageSaveData done [13:11:15]OFDSenderStorePacket done [13:11:15]KKMCreateOFDPacket done [13:11:15]NVStorageSaveData kkm_last_timestamp [13:11:15]File name is /storage/kkm_last_timestamp [13:11:15]Write 4 bytes [13:11:15]NVStorageSaveData done [13:11:15]ExternCall_PrintAddStr [13:11:15]wPrintStart [13:11:15]Write to MH i2c: 01 00 00 6E 4A B8 [13:11:15]Write i2c OK [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: 01 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: 01 07 00 [13:11:15]MH_I2C_Read... [13:11:15]Read from MH i2c: 01 07 00 6E 4A 00 00 00 00 00 FF 0F CD [13:11:15]RasterBufferAndPrint [13:11:15]line Счет N : (3)99948 [13:11:15]line ИНН: 02508201610067 [13:11:15]line Контрольно-Кассовый Чек [13:11:15]line ПРОДАЖА [13:11:15]line Товар: 4700003010056 [13:11:15]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [13:11:15]line 1.000 * 95.00 [13:11:15]line = 95.00 [13:11:15]line НДС 12% НСП 1% [13:11:15]line > о реализуемом товаре [13:11:15]line ИТОГО: 95.00 [13:11:15]line НСП 1% : 0.84 [13:11:15]line НДС 12% : 10.09 [13:11:15]line Наличными: 95.00 [13:11:15]line Безнал.: 0.00 [13:11:15]line Место: АЗС № 162 "Партнер Нефть" [13:11:15]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [13:11:15]line СНО: Общий режим [13:11:15]line Чек 31 19.10.2024 13:11 [13:11:15]line Смена: 23 ФФД: 1.0 [13:11:15]line ЗНМ: 0300000191 [13:11:15]line РНМ: 0000000000207295 [13:11:15]line Версия ККМ: v1.0 [13:11:15]line ФМ: 0000000002342820 [13:11:15]line ФД: 2570 [13:11:15]line ФПД: 94093215134017 [13:11:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T131123&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2570&fm=94093215134017&tin=02508201610067®Number=0000000000207295&sum=9500 [13:11:15]line 0 [13:11:15]OFD Sender: Processing packet 2570 [packets to send 1, broken 0] [13:11:15]ProducePacketName [13:11:15]name=ofd_packets/00002570 [13:11:15]OFD Sender: To server: pG, [13:11:15]CommunicateWithHost lk.salyk.kg:30040 [13:11:15]ConnectInit lk.salyk.kg [13:11:15]written 0, free lines is 4095 [13:11:16]Connected sock=10 [13:11:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 39 01 00 00 47 BC 31 01 96 32 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 1F 00 00 00 F4 03 04 00 FB AF 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0A 0A 00 00 35 04 06 00 55 93 C8 A9 F1 41 D8 D8 D7 65 7A 71 BD EF [13:11:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 2E F8 47 00 44 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 32 33 34 32 38 32 30 10 04 04 00 0A 0A 00 00 F4 03 04 00 5C 5B 13 67 B6 04 01 00 00 0C A0 51 C2 B2 45 56 15 [13:11:16]CommunicateWithHost err = 0 [13:11:16]CheckOFDResponse [13:11:16]1017 (14) - 77093643461234 [13:11:16]1041 (16) - 0000000002342820 [13:11:16]1040 (4) - 2570 [13:11:16]1012 (4) - 19.10.2024 07:10 [13:11:16]1206 (1) - 0 [13:11:16]OFD Sender: Remove packet 2570 [13:11:16]ProducePacketName [13:11:16]name=ofd_packets/00002570 [13:11:16]NVStorageDeleteData [13:11:16]Write to MH i2c: 01 00 00 97 4A E1 [13:11:16]Write i2c OK [13:11:16]MH_I2C_Read... [13:11:16]Read from MH i2c: 01 [13:11:16]MH_I2C_Read... [13:11:16]Read from MH i2c: 01 07 00 [13:11:16]MH_I2C_Read... [13:11:16]Read from MH i2c: 01 07 00 97 4A 00 00 00 00 00 AF 0C A3 [13:11:16]RasterBufferAndPrint [13:11:16]line [13:11:16]line [13:11:16]line [13:11:16]line [13:11:16]line [13:11:16]written 0, free lines is 3252 [13:11:16]MH_Cut [13:11:16]Write to MH i2c: D1 01 00 9E 4A 01 BA [13:11:16]Write i2c OK [13:11:16]MH_I2C_Read... [13:11:16]Read from MH i2c: D1 [13:11:16]MH_I2C_Read... [13:11:16]Read from MH i2c: D1 01 00 [13:11:16]MH_I2C_Read... [13:11:16]Read from MH i2c: D1 01 00 9E 4A 00 B9 [13:11:16]Write to MH i2c: 01 00 00 9F 4A E9 [13:11:16]Write i2c OK [13:11:16]MH_I2C_Read... [13:11:16]OFD Sender: No OFD packet to send [13:11:17]*** Cut start [13:11:17]*** Partial cut [13:11:17]*** CUTSNS_PIN = 1 [13:11:17]*** CUTSNS_PIN = 0 [13:11:17]*** Brake cut motor [13:11:17]Read from MH i2c: 01 [13:11:17]MH_I2C_Read... [13:11:17]*** Stop cut motor [13:11:17]*** Cut end [13:11:17]Read from MH i2c: 01 07 00 [13:11:17]MH_I2C_Read... [13:11:17]Read from MH i2c: 01 07 00 9F 4A 00 00 00 00 00 FF 0F FE [13:11:17]process_action close_receipt done [13:11:17]requested_data is exist [13:11:17]produce_requested_data [13:11:17]requested_item fm.sn is exist - process it [13:11:17]wFMCommunicate request_size=4 [13:11:17]MH_SAM_APDU [13:11:17]CAPDU: 80 11 00 00 [13:11:17]Write to MH i2c: E2 08 00 A0 4A 80 11 00 00 00 00 00 00 64 [13:11:17]Write i2c OK [13:11:17]MH_I2C_Read... [13:11:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:11:17]Read from MH i2c: E2 [13:11:17]MH_I2C_Read... [13:11:17]Read from MH i2c: E2 17 00 [13:11:17]MH_I2C_Read... [13:11:17]Read from MH i2c: E2 17 00 A0 4A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 AC [13:11:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:11:17]wFMCommunicate OK [13:11:17]requested_item fd.num is exist - process it [13:11:17]SAM_PROTO_GetFieldsCounters [13:11:17]wFMCommunicate request_size=4 [13:11:17]MH_SAM_APDU [13:11:17]CAPDU: 80 13 00 00 [13:11:17]Write to MH i2c: E2 08 00 A1 4A 80 13 00 00 00 00 00 00 67 [13:11:17]Write i2c OK [13:11:17]MH_I2C_Read... [13:11:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:11:18]Read from MH i2c: E2 [13:11:18]MH_I2C_Read... [13:11:18]Read from MH i2c: E2 62 00 [13:11:18]MH_I2C_Read... [13:11:18]Read from MH i2c: E2 62 00 A1 4A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 0A 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 05 [13:11:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 0A 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:11:18]wFMCommunicate OK [13:11:18]SAM_PROTO_GetFieldsCounters done [13:11:18]requested_item shift.num is exist - process it [13:11:18]requested_item shift.opened is exist - process it [13:11:18]req_shift_opened [13:11:18]FM_GetShiftState [13:11:18]SAM_PROTO_GetShiftState [13:11:18]wFMCommunicate request_size=4 [13:11:18]MH_SAM_APDU [13:11:18]CAPDU: 80 13 01 00 [13:11:18]Write to MH i2c: E2 08 00 A2 4A 80 13 01 00 00 00 00 00 69 [13:11:18]Write i2c OK [13:11:18]MH_I2C_Read... [13:11:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:11:18]Read from MH i2c: E2 [13:11:18]MH_I2C_Read... [13:11:18]Read from MH i2c: E2 0E 00 [13:11:18]MH_I2C_Read... [13:11:18]Read from MH i2c: E2 0E 00 A2 4A 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 12 [13:11:18]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [13:11:18]wFMCommunicate OK [13:11:18]SAM_PROTO_GetShiftState done [13:11:18]FM_GetShiftState done [13:11:18]req_shift_opened done [13:11:18]requested_item shift.open_date is exist - process it [13:11:18]req_shift_open_date [13:11:18]req_shift_open_date done [13:11:18]produce_requested_data done [13:11:18]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2570,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [13:11:18]process_action_free close_receipt [13:11:18]json_value_free [13:11:18]json_value_free done [13:11:18]process_json_proto returns [13:11:18]Send response to host [13:11:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2570,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [13:11:18]free response buf [13:11:18]execute_script done [13:11:18]execute_script returns [13:11:18]free content buf [13:11:18]Sock 9.Close socket [13:11:18]Sock 9.Thread stoped [13:11:21]OFD Sender: No OFD packet to send [13:11:26]OFD Sender: No OFD packet to send [13:11:31]OFD Sender: No OFD packet to send [13:11:36]OFD Sender: No OFD packet to send [13:11:41]OFD Sender: No OFD packet to send [13:11:46]OFD Sender: No OFD packet to send [13:11:49]accept exits with 7 [13:11:49]New connection [13:11:49]New thread 3066707300 created [13:11:49]Thread 3066850660 joined [13:11:49]Waiting for new connection... [13:11:49] Sock 7.Parse request [13:11:49]Sock 7.Check first char [13:11:49]Sock 7.First char is OK [13:11:49]request: POST /json_proto HTTP/1.0 [13:11:49]Method: POST [13:11:49]URL: /json_proto [13:11:49]Method is POST - this is cgi request [13:11:49]url: /json_proto [13:11:49]query_string will be loaded in cgi processing [13:11:49]execute_cgi json_proto POST (null) [13:11:49]execute_cgi path=json_proto method=POST [13:11:49]POST find Content-Length [13:11:49]Host: 172.17.52.132:8080 [13:11:49]Content-Length: 741 [13:11:49]Content-Type: application/json [13:11:49] [13:11:49]POST finish read [13:11:49]Found Content-Length = 741 [13:11:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99949", "tax_sys" : 0, "items" : [ { "code": "4650075420409", "name": "\u0421\u043E\u043A Rich \u0412\u0438\u0448\u043D\u044F 0,2", "price" : 85.00, "quantity" : 2.000, "sum" : 170.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" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:11:49]execute_script... [13:11: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)99949", "tax_sys" : 0, "items" : [ { "code": "4650075420409", "name": "\u0421\u043E\u043A Rich \u0412\u0438\u0448\u043D\u044F 0,2", "price" : 85.00, "quantity" : 2.000, "sum" : 170.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" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:11:49]POST & json_proto [13:11:49]process_json_proto [13:11:49]json parsed OK: [13:11:49]protocol is kg_v1.0 [13:11:49]action value=close_receipt [13:11:49]process_action close_receipt [13:11:49]cmd_close_receipt [13:11:49]MH_GetDate [13:11:49]Write to MH i2c: F0 00 00 A3 4A DC [13:11:49]Write i2c OK [13:11:49]MH_I2C_Read... [13:11:49]Read from MH i2c: F0 [13:11:49]MH_I2C_Read... [13:11:49]Read from MH i2c: F0 09 00 [13:11:49]MH_I2C_Read... [13:11:49]Read from MH i2c: F0 09 00 A3 4A 00 1F B0 13 67 5A BE F6 66 A2 [13:11:49]GetLastDocTimeStamp 1729343483 [13:11:49]current date 1729343519 [13:11:49]FM_GetShiftState [13:11:49]SAM_PROTO_GetShiftState [13:11:49]wFMCommunicate request_size=4 [13:11:49]MH_SAM_APDU [13:11:49]CAPDU: 80 13 01 00 [13:11:49]Write to MH i2c: E2 08 00 A4 4A 80 13 01 00 00 00 00 00 6B [13:11:49]Write i2c OK [13:11:49]MH_I2C_Read... [13:11:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:11:49]Read from MH i2c: E2 [13:11:49]MH_I2C_Read... [13:11:49]Read from MH i2c: E2 0E 00 [13:11:49]MH_I2C_Read... [13:11:49]Read from MH i2c: E2 0E 00 A4 4A 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 14 [13:11:49]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [13:11:49]wFMCommunicate OK [13:11:49]SAM_PROTO_GetShiftState done [13:11:49]FM_GetShiftState done [13:11:49]opened in 1729296173 [13:11:49]opened+sec_in_day 1729382573 [13:11:49]quantity*price = 17000 [13:11:49]sum+1 = 17001 [13:11:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 0.00 Безнал.: 170.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 32 19.10.2024 13:11 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2571 ФПД: 76564657834376 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T131159&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2571&fm=76564657834376&tin=02508201610067®Number=0000000000207295&sum=17000 0 [13:11:50]StoreToDocumentArchive [13:11:50]shift 23 fd 2571 [13:11:50]save to /storage/0023/doc_00002571 [13:11:50]save last doc name /storage/0023/doc_00002571 to /storage/kkm_last_doc_name [13:11:50]save OK [13:11:50]Clear old archive folders... [13:11:50]ProcessDocumentItem done err = 0, tmpTLVsize=268 [13:11:50]tlvbuf is 0139A0E0 [13:11:50]SAM_PROTO_ClearQueue [13:11:50]wFMCommunicate request_size=4 [13:11:50]MH_SAM_APDU [13:11:50]CAPDU: 80 09 00 00 [13:11:50]Write to MH i2c: E2 08 00 B1 4A 80 09 00 00 00 00 00 00 6D [13:11:50]Write i2c OK [13:11:50]MH_I2C_Read... [13:11:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:11:50]Read from MH i2c: E2 [13:11:50]MH_I2C_Read... [13:11:50]Read from MH i2c: E2 03 00 [13:11:50]MH_I2C_Read... [13:11:50]Read from MH i2c: E2 03 00 B1 4A 00 90 00 6F [13:11:50]RAPDU: 90 00 [13:11:50]wFMCommunicate OK [13:11:50]SAM_PROTO_ClearQueue done [13:11:50]KKMCreateOFDPacket [13:11:50]OFDProtocolAddRootSTLVToBuf [13:11:50]FM_MakeSignedData [13:11:50]FM_MakeSignedData [13:11:50]SAM_PROTO_SignData [13:11:50]wFMCommunicate request_size=4 [13:11:50]MH_SAM_APDU [13:11:50]CAPDU: 80 0D 01 02 [13:11:50]Write to MH i2c: E2 08 00 B2 4A 80 0D 01 02 00 00 00 00 75 [13:11:50]Write i2c OK [13:11:50]MH_I2C_Read... [13:11:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:11:51]Read from MH i2c: E2 [13:11:51]MH_I2C_Read... [13:11:51]Read from MH i2c: E2 03 00 [13:11:51]MH_I2C_Read... [13:11:51]Read from MH i2c: E2 03 00 B2 4A 00 90 00 70 [13:11:51]RAPDU: 90 00 [13:11:51]wFMCommunicate OK [13:11:51]wFMCommunicate request_size=255 [13:11:51]MH_SAM_APDU [13:11:51]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 35 30 30 37 35 34 32 30 34 30 39 06 04 1A 00 D0 A1 D0 BE D0 BA 20 52 69 63 68 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 30 2C 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 1F B0 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 [13:11:51]Write to MH i2c: E2 02 01 B3 4A 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 35 30 30 37 35 34 32 30 34 30 39 06 04 1A 00 D0 A1 D0 BE D0 BA 20 52 69 63 68 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 30 2C 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 1F B0 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 00 00 36 [13:11:51]Write i2c OK [13:11:51]MH_I2C_Read... [13:11:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:11:51]Read from MH i2c: E2 [13:11:51]MH_I2C_Read... [13:11:51]Read from MH i2c: E2 03 00 [13:11:51]MH_I2C_Read... [13:11:51]Read from MH i2c: E2 03 00 B3 4A 00 90 00 71 [13:11:51]RAPDU: 90 00 [13:11:51]wFMCommunicate OK [13:11:51]wFMCommunicate request_size=27 [13:11:51]MH_SAM_APDU [13:11:51]CAPDU: 80 0D 02 02 16 32 38 32 30 10 04 04 00 0B 0A 00 00 35 04 06 00 45 A2 99 3B 89 88 [13:11:51]Write to MH i2c: E2 1E 00 B4 4A 80 0D 02 02 16 00 32 38 32 30 10 04 04 00 0B 0A 00 00 35 04 06 00 45 A2 99 3B 89 88 00 00 A8 [13:11:51]Write i2c OK [13:11:51]MH_I2C_Read... [13:11:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:11:51]Read from MH i2c: E2 [13:11:51]MH_I2C_Read... [13:11:51]Read from MH i2c: E2 03 00 [13:11:51]MH_I2C_Read... [13:11:51]Read from MH i2c: E2 03 00 B4 4A 00 90 00 72 [13:11:51]RAPDU: 90 00 [13:11:51]wFMCommunicate OK [13:11:51]wFMCommunicate request_size=4 [13:11:51]MH_SAM_APDU [13:11:51]CAPDU: 80 0D 03 02 [13:11:51]Write to MH i2c: E2 08 00 B5 4A 80 0D 03 02 00 00 00 00 7A [13:11:51]Write i2c OK [13:11:51]MH_I2C_Read... [13:11:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:11:51]Read from MH i2c: E2 [13:11:51]MH_I2C_Read... [13:11:51]Read from MH i2c: E2 0B 00 [13:11:51]MH_I2C_Read... [13:11:51]Read from MH i2c: E2 0B 00 B5 4A 00 A4 FC 88 30 66 F2 38 B6 90 00 19 [13:11:51]RAPDU: A4 FC 88 30 66 F2 38 B6 90 00 [13:11:51]wFMCommunicate OK [13:11:51]SAM_PROTO_SignData done [13:11:51]FM_MakeSignedData done [13:11:51]CreateOFDProtocolMessage [13:11:51]wFMCommunicate request_size=4 [13:11:51]MH_SAM_APDU [13:11:51]CAPDU: 80 11 00 00 [13:11:51]Write to MH i2c: E2 08 00 B6 4A 80 11 00 00 00 00 00 00 7A [13:11:51]Write i2c OK [13:11:51]MH_I2C_Read... [13:11:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:11:51]Read from MH i2c: E2 [13:11:51]MH_I2C_Read... [13:11:51]Read from MH i2c: E2 17 00 [13:11:51]MH_I2C_Read... [13:11:51]Read from MH i2c: E2 17 00 B6 4A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C2 [13:11:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:11:51]wFMCommunicate OK [13:11:51]CreateOFDProtocolMessage done [13:11:51]OFDSenderStorePacket 2571 [13:11:51]StoreOFDPacket docnum=2571 [13:11:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 20 01 00 00 57 0E 18 01 89 AA 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 35 30 30 37 35 34 32 30 34 30 39 06 04 1A 00 D0 A1 D0 BE D0 BA 20 52 69 63 68 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 30 2C 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 1F B0 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0B 0A 00 00 35 04 06 00 45 A2 99 3B 89 88 A4 FC 88 30 66 F2 38 B6 [13:11:51]CheckFolder [13:11:51]dirname=/storage/ofd_packets [13:11:51]CheckFolder done [13:11:51]ProducePacketName [13:11:51]name=ofd_packets/00002571 [13:11:51]NVStorageSaveData ofd_packets/00002571 [13:11:51]File name is /storage/ofd_packets/00002571 [13:11:51]Write 318 bytes [13:11:51]NVStorageSaveData done [13:11:51]OFDSenderStorePacket done [13:11:51]KKMCreateOFDPacket done [13:11:51]NVStorageSaveData kkm_last_timestamp [13:11:51]File name is /storage/kkm_last_timestamp [13:11:51]Write 4 bytes [13:11:51]NVStorageSaveData done [13:11:51]ExternCall_PrintAddStr [13:11:51]wPrintStart [13:11:51]Write to MH i2c: 01 00 00 B7 4A 01 [13:11:51]Write i2c OK [13:11:51]MH_I2C_Read... [13:11:51]Read from MH i2c: 01 [13:11:51]MH_I2C_Read... [13:11:51]Read from MH i2c: 01 07 00 [13:11:51]MH_I2C_Read... [13:11:51]Read from MH i2c: 01 07 00 B7 4A 00 00 00 00 00 FF 0F 16 [13:11:51]RasterBufferAndPrint [13:11:51]line Счет N : (3)99949 [13:11:51]line ИНН: 02508201610067 [13:11:51]line Контрольно-Кассовый Чек [13:11:51]line ПРОДАЖА [13:11:51]line Товар: 4650075420409 [13:11:51]line Сок Rich Вишня 0,2 [13:11:51]line 2.000 * 85.00 [13:11:51]line = 170.00 [13:11:51]line НДС 12% НСП 1% [13:11:51]line > о реализуемом товаре [13:11:51]line ИТОГО: 170.00 [13:11:51]line НСП 1% : 1.50 [13:11:51]line НДС 12% : 18.05 [13:11:51]line Наличными: 0.00 [13:11:51]line Безнал.: 170.00 [13:11:51]line Место: АЗС № 162 "Партнер Нефть" [13:11:51]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [13:11:51]line СНО: Общий режим [13:11:51]line Чек 32 19.10.2024 13:11 [13:11:51]line Смена: 23 ФФД: 1.0 [13:11:51]line ЗНМ: 0300000191 [13:11:51]line РНМ: 0000000000207295 [13:11:51]line Версия ККМ: v1.0 [13:11:51]line Платежная система: Mbank [13:11:51]line ФМ: 0000000002342820 [13:11:51]line ФД: 2571 [13:11:51]line ФПД: 76564657834376 [13:11:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T131159&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2571&fm=76564657834376&tin=02508201610067®Number=0000000000207295&sum=17000 [13:11:51]line 0 [13:11:51]OFD Sender: Processing packet 2571 [packets to send 1, broken 0] [13:11:51]ProducePacketName [13:11:51]name=ofd_packets/00002571 [13:11:51]OFD Sender: To server: pG, [13:11:51]CommunicateWithHost lk.salyk.kg:30040 [13:11:51]ConnectInit lk.salyk.kg [13:11:51]written 0, free lines is 4095 [13:11:51]Connected sock=10 [13:11:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 20 01 00 00 57 0E 18 01 89 AA 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 35 30 30 37 35 34 32 30 34 30 39 06 04 1A 00 D0 A1 D0 BE D0 BA 20 52 69 63 68 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 30 2C 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 1F B0 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0B 0A 00 00 35 04 06 00 45 A2 99 3B 89 88 A4 FC 88 30 66 F2 38 B6 [13:11:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 63 5B 47 00 1D 32 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0B 0A 00 00 F4 03 04 00 80 5B 13 67 B6 04 01 00 00 5E 1F 36 66 E7 8F 00 F6 [13:11:52]CommunicateWithHost err = 0 [13:11:52]CheckOFDResponse [13:11:52]1017 (14) - 77093643461234 [13:11:52]1041 (16) - 0000000002342820 [13:11:52]1040 (4) - 2571 [13:11:52]1012 (4) - 19.10.2024 07:10 [13:11:52]1206 (1) - 0 [13:11:52]OFD Sender: Remove packet 2571 [13:11:52]ProducePacketName [13:11:52]name=ofd_packets/00002571 [13:11:52]NVStorageDeleteData [13:11:52]Write to MH i2c: 01 00 00 E0 4A 2A [13:11:52]Write i2c OK [13:11:52]MH_I2C_Read... [13:11:52]Read from MH i2c: 01 [13:11:52]MH_I2C_Read... [13:11:52]Read from MH i2c: 01 07 00 [13:11:52]MH_I2C_Read... [13:11:52]Read from MH i2c: 01 07 00 E0 4A 00 00 00 00 00 BD 0C FA [13:11:52]RasterBufferAndPrint [13:11:52]line [13:11:52]line [13:11:52]line [13:11:52]line [13:11:52]line [13:11:52]written 0, free lines is 3267 [13:11:52]MH_Cut [13:11:52]Write to MH i2c: D1 01 00 E7 4A 01 03 [13:11:52]Write i2c OK [13:11:52]MH_I2C_Read... [13:11:52]Read from MH i2c: D1 [13:11:52]MH_I2C_Read... [13:11:52]Read from MH i2c: D1 01 00 [13:11:52]MH_I2C_Read... [13:11:52]Read from MH i2c: D1 01 00 E7 4A 00 02 [13:11:52]Write to MH i2c: 01 00 00 E8 4A 32 [13:11:52]Write i2c OK [13:11:52]MH_I2C_Read... [13:11:52]OFD Sender: No OFD packet to send [13:11:53]*** Cut start [13:11:53]*** Partial cut [13:11:53]*** CUTSNS_PIN = 1 [13:11:53]*** CUTSNS_PIN = 0 [13:11:53]*** Brake cut motor [13:11:53]Read from MH i2c: 01 [13:11:53]MH_I2C_Read... [13:11:53]*** Stop cut motor [13:11:53]*** Cut end [13:11:53]Read from MH i2c: 01 07 00 [13:11:53]MH_I2C_Read... [13:11:53]Read from MH i2c: 01 07 00 E8 4A 00 00 00 00 00 FF 0F 47 [13:11:53]process_action close_receipt done [13:11:53]requested_data is exist [13:11:53]produce_requested_data [13:11:53]requested_item fm.sn is exist - process it [13:11:53]wFMCommunicate request_size=4 [13:11:53]MH_SAM_APDU [13:11:53]CAPDU: 80 11 00 00 [13:11:53]Write to MH i2c: E2 08 00 E9 4A 80 11 00 00 00 00 00 00 AD [13:11:53]Write i2c OK [13:11:53]MH_I2C_Read... [13:11:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:11:53]Read from MH i2c: E2 [13:11:53]MH_I2C_Read... [13:11:53]Read from MH i2c: E2 17 00 [13:11:53]MH_I2C_Read... [13:11:53]Read from MH i2c: E2 17 00 E9 4A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 F5 [13:11:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:11:53]wFMCommunicate OK [13:11:53]requested_item fd.num is exist - process it [13:11:53]SAM_PROTO_GetFieldsCounters [13:11:53]wFMCommunicate request_size=4 [13:11:53]MH_SAM_APDU [13:11:53]CAPDU: 80 13 00 00 [13:11:53]Write to MH i2c: E2 08 00 EA 4A 80 13 00 00 00 00 00 00 B0 [13:11:53]Write i2c OK [13:11:53]MH_I2C_Read... [13:11:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:11:53]Read from MH i2c: E2 [13:11:53]MH_I2C_Read... [13:11:53]Read from MH i2c: E2 62 00 [13:11:53]MH_I2C_Read... [13:11:53]Read from MH i2c: E2 62 00 EA 4A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 0B 0A 00 00 0E 04 04 00 17 00 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 52 [13:11:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 0B 0A 00 00 0E 04 04 00 17 00 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:11:53]wFMCommunicate OK [13:11:53]SAM_PROTO_GetFieldsCounters done [13:11:53]requested_item shift.num is exist - process it [13:11:53]requested_item shift.opened is exist - process it [13:11:53]req_shift_opened [13:11:53]FM_GetShiftState [13:11:53]SAM_PROTO_GetShiftState [13:11:53]wFMCommunicate request_size=4 [13:11:53]MH_SAM_APDU [13:11:53]CAPDU: 80 13 01 00 [13:11:53]Write to MH i2c: E2 08 00 EB 4A 80 13 01 00 00 00 00 00 B2 [13:11:53]Write i2c OK [13:11:53]MH_I2C_Read... [13:11:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:11:53]Read from MH i2c: E2 [13:11:53]MH_I2C_Read... [13:11:53]Read from MH i2c: E2 0E 00 [13:11:53]MH_I2C_Read... [13:11:53]Read from MH i2c: E2 0E 00 EB 4A 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 5B [13:11:53]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [13:11:53]wFMCommunicate OK [13:11:53]SAM_PROTO_GetShiftState done [13:11:53]FM_GetShiftState done [13:11:53]req_shift_opened done [13:11:53]requested_item shift.open_date is exist - process it [13:11:53]req_shift_open_date [13:11:53]req_shift_open_date done [13:11:53]produce_requested_data done [13:11:53]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2571,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [13:11:53]process_action_free close_receipt [13:11:53]json_value_free [13:11:53]json_value_free done [13:11:53]process_json_proto returns [13:11:53]Send response to host [13:11:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2571,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [13:11:53]free response buf [13:11:53]execute_script done [13:11:53]execute_script returns [13:11:53]free content buf [13:11:53]Sock 7.Close socket [13:11:53]Sock 7.Thread stoped [13:11:57]OFD Sender: No OFD packet to send [13:12:02]OFD Sender: No OFD packet to send [13:12:07]OFD Sender: No OFD packet to send [13:12:12]OFD Sender: No OFD packet to send [13:12:17]OFD Sender: No OFD packet to send [13:12:22]OFD Sender: No OFD packet to send [13:12:27]OFD Sender: No OFD packet to send [13:12:32]OFD Sender: No OFD packet to send [13:12:37]OFD Sender: No OFD packet to send [13:12:42]OFD Sender: No OFD packet to send [13:12:47]OFD Sender: No OFD packet to send [13:12:52]OFD Sender: No OFD packet to send [13:12:57]OFD Sender: No OFD packet to send [13:13:02]OFD Sender: No OFD packet to send [13:13:07]OFD Sender: No OFD packet to send [13:13:12]OFD Sender: No OFD packet to send [13:13:17]OFD Sender: No OFD packet to send [13:13:22]OFD Sender: No OFD packet to send [13:13:27]OFD Sender: No OFD packet to send [13:13:32]OFD Sender: No OFD packet to send [13:13:37]OFD Sender: No OFD packet to send [13:13:42]OFD Sender: No OFD packet to send [13:13:47]OFD Sender: No OFD packet to send [13:13:52]OFD Sender: No OFD packet to send [13:13:57]OFD Sender: No OFD packet to send [13:14:02]OFD Sender: No OFD packet to send [13:14:07]OFD Sender: No OFD packet to send [13:14:12]OFD Sender: No OFD packet to send [13:14:17]OFD Sender: No OFD packet to send [13:14:22]OFD Sender: No OFD packet to send [13:14:27]OFD Sender: No OFD packet to send [13:14:32]OFD Sender: No OFD packet to send [13:14:37]OFD Sender: No OFD packet to send [13:14:42]OFD Sender: No OFD packet to send [13:14:47]OFD Sender: No OFD packet to send [13:14:52]OFD Sender: No OFD packet to send [13:14:57]OFD Sender: No OFD packet to send [13:15:02]OFD Sender: No OFD packet to send [13:15:07]OFD Sender: No OFD packet to send [13:15:12]OFD Sender: No OFD packet to send [13:15:17]OFD Sender: No OFD packet to send [13:15:22]OFD Sender: No OFD packet to send [13:15:27]OFD Sender: No OFD packet to send [13:15:32]OFD Sender: No OFD packet to send [13:15:37]OFD Sender: No OFD packet to send [13:15:42]OFD Sender: No OFD packet to send [13:15:47]OFD Sender: No OFD packet to send [13:15:52]OFD Sender: No OFD packet to send [13:15:57]OFD Sender: No OFD packet to send [13:16:02]OFD Sender: No OFD packet to send [13:16:07]OFD Sender: No OFD packet to send [13:16:12]OFD Sender: No OFD packet to send [13:16:17]OFD Sender: No OFD packet to send [13:16:22]OFD Sender: No OFD packet to send [13:16:27]OFD Sender: No OFD packet to send [13:16:32]OFD Sender: No OFD packet to send [13:16:37]OFD Sender: No OFD packet to send [13:16:42]OFD Sender: No OFD packet to send [13:16:47]OFD Sender: No OFD packet to send [13:16:52]OFD Sender: No OFD packet to send [13:16:57]OFD Sender: No OFD packet to send [13:17:02]OFD Sender: No OFD packet to send [13:17:07]OFD Sender: No OFD packet to send [13:17:12]OFD Sender: No OFD packet to send [13:17:17]OFD Sender: No OFD packet to send [13:17:22]OFD Sender: No OFD packet to send [13:17:27]OFD Sender: No OFD packet to send [13:17:32]OFD Sender: No OFD packet to send [13:17:37]OFD Sender: No OFD packet to send [13:17:42]OFD Sender: No OFD packet to send [13:17:47]OFD Sender: No OFD packet to send [13:17:52]OFD Sender: No OFD packet to send [13:17:57]OFD Sender: No OFD packet to send [13:18:02]OFD Sender: No OFD packet to send [13:18:07]OFD Sender: No OFD packet to send [13:18:12]OFD Sender: No OFD packet to send [13:18: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:18]accept exits with 9 [13:19:18]New connection [13:19:18]New thread 3066850660 created [13:19:18]Thread 3066707300 joined [13:19:18]Waiting for new connection... [13:19:18] Sock 9.Parse request [13:19:18]Sock 9.Check first char [13:19:18]Sock 9.First char is OK [13:19:18]request: POST /json_proto HTTP/1.0 [13:19:18]Method: POST [13:19:18]URL: /json_proto [13:19:18]Method is POST - this is cgi request [13:19:18]url: /json_proto [13:19:18]query_string will be loaded in cgi processing [13:19:18]execute_cgi json_proto POST (null) [13:19:18]execute_cgi path=json_proto method=POST [13:19:18]POST find Content-Length [13:19:18]Host: 172.17.52.132:8080 [13:19:18]Content-Length: 1219 [13:19:18]Content-Type: application/json [13:19:18] [13:19:18]POST finish read [13:19:18]Found Content-Length = 1219 [13:19:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99950", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243870968", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B \u041F\u0435\u0440\u0441\u0438\u043A \u0410\u0431\u0440\u0438\u043A\u043E\u0441", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 279.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:19:18]execute_script... [13:19: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)99950", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243870968", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B \u041F\u0435\u0440\u0441\u0438\u043A \u0410\u0431\u0440\u0438\u043A\u043E\u0441", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 279.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:19:18]POST & json_proto [13:19:18]process_json_proto [13:19:18]json parsed OK: [13:19:18]protocol is kg_v1.0 [13:19:18]action value=close_receipt [13:19:18]process_action close_receipt [13:19:18]cmd_close_receipt [13:19:18]MH_GetDate [13:19:18]Write to MH i2c: F0 00 00 EC 4A 25 [13:19:18]Write i2c OK [13:19:18]MH_I2C_Read... [13:19:18]Read from MH i2c: F0 [13:19:18]MH_I2C_Read... [13:19:18]Read from MH i2c: F0 09 00 [13:19:18]MH_I2C_Read... [13:19:18]Read from MH i2c: F0 09 00 EC 4A 00 DF B1 13 67 5A BE F6 66 AC [13:19:18]GetLastDocTimeStamp 1729343519 [13:19:18]current date 1729343967 [13:19:18]FM_GetShiftState [13:19:18]SAM_PROTO_GetShiftState [13:19:18]wFMCommunicate request_size=4 [13:19:18]MH_SAM_APDU [13:19:18]CAPDU: 80 13 01 00 [13:19:18]Write to MH i2c: E2 08 00 ED 4A 80 13 01 00 00 00 00 00 B4 [13:19:18]Write i2c OK [13:19:18]MH_I2C_Read... [13:19:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:19:18]Read from MH i2c: E2 [13:19:18]MH_I2C_Read... [13:19:18]Read from MH i2c: E2 0E 00 [13:19:18]MH_I2C_Read... [13:19:18]Read from MH i2c: E2 0E 00 ED 4A 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 5D [13:19:18]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [13:19:18]wFMCommunicate OK [13:19:18]SAM_PROTO_GetShiftState done [13:19:18]FM_GetShiftState done [13:19:18]opened in 1729296173 [13:19:18]opened+sec_in_day 1729382573 [13:19:18]quantity*price = 13000 [13:19:18]sum+1 = 13001 [13:19:18]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4650243870968 Напиток Gorilla ж/б 0,45л Персик Абрикос 1.000 * 99.00 = 99.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 279.00 НСП 1% : 2.47 НДС 12% : 29.62 Наличными: 279.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 33 19.10.2024 13:19 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2572 ФПД: 215221190799949 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T131927&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2572&fm=215221190799949&tin=02508201610067®Number=0000000000207295&sum=27900 0 [13:19:19]StoreToDocumentArchive [13:19:19]shift 23 fd 2572 [13:19:19]save to /storage/0023/doc_00002572 [13:19:19]save last doc name /storage/0023/doc_00002572 to /storage/kkm_last_doc_name [13:19:19]save OK [13:19:19]Clear old archive folders... [13:19:19]ProcessDocumentItem done err = 0, tmpTLVsize=516 [13:19:19]tlvbuf is 01415C90 [13:19:19]SAM_PROTO_ClearQueue [13:19:19]wFMCommunicate request_size=4 [13:19:19]MH_SAM_APDU [13:19:19]CAPDU: 80 09 00 00 [13:19:19]Write to MH i2c: E2 08 00 FA 4A 80 09 00 00 00 00 00 00 B6 [13:19:19]Write i2c OK [13:19:19]MH_I2C_Read... [13:19:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:19:19]Read from MH i2c: E2 [13:19:19]MH_I2C_Read... [13:19:19]Read from MH i2c: E2 03 00 [13:19:19]MH_I2C_Read... [13:19:19]Read from MH i2c: E2 03 00 FA 4A 00 90 00 B8 [13:19:19]RAPDU: 90 00 [13:19:19]wFMCommunicate OK [13:19:19]SAM_PROTO_ClearQueue done [13:19:19]KKMCreateOFDPacket [13:19:19]OFDProtocolAddRootSTLVToBuf [13:19:19]FM_MakeSignedData [13:19:19]FM_MakeSignedData [13:19:19]SAM_PROTO_SignData [13:19:19]wFMCommunicate request_size=4 [13:19:19]MH_SAM_APDU [13:19:19]CAPDU: 80 0D 01 02 [13:19:19]Write to MH i2c: E2 08 00 FB 4A 80 0D 01 02 00 00 00 00 BE [13:19:19]Write i2c OK [13:19:19]MH_I2C_Read... [13:19:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:19:19]Read from MH i2c: E2 [13:19:19]MH_I2C_Read... [13:19:19]Read from MH i2c: E2 03 00 [13:19:19]MH_I2C_Read... [13:19:19]Read from MH i2c: E2 03 00 FB 4A 00 90 00 B9 [13:19:19]RAPDU: 90 00 [13:19:19]wFMCommunicate OK [13:19:19]wFMCommunicate request_size=255 [13:19:19]MH_SAM_APDU [13:19:19]CAPDU: 80 0D 02 02 FA 03 00 04 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 30 39 36 38 06 04 3F 00 D0 9D D0 B0 D0 [13:19:19]Write to MH i2c: E2 02 01 FC 4A 80 0D 02 02 FA 00 03 00 04 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 30 39 36 38 06 04 3F 00 D0 9D D0 B0 D0 00 00 B7 [13:19:19]Write i2c OK [13:19:19]MH_I2C_Read... [13:19:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:19:19]Read from MH i2c: E2 [13:19:19]MH_I2C_Read... [13:19:19]Read from MH i2c: E2 03 00 [13:19:19]MH_I2C_Read... [13:19:19]Read from MH i2c: E2 03 00 FC 4A 00 90 00 BA [13:19:19]RAPDU: 90 00 [13:19:19]wFMCommunicate OK [13:19:19]wFMCommunicate request_size=255 [13:19:19]MH_SAM_APDU [13:19:19]CAPDU: 80 0D 02 02 FA BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9F D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 90 D0 B1 D1 80 D0 B8 D0 BA D0 BE D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 0B 00 00 00 00 07 04 06 00 FC 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DF B1 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 [13:19:19]Write to MH i2c: E2 02 01 FD 4A 80 0D 02 02 FA 00 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9F D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 90 D0 B1 D1 80 D0 B8 D0 BA D0 BE D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 0B 00 00 00 00 07 04 06 00 FC 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DF B1 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 00 00 F7 [13:19:19]Write i2c OK [13:19:19]MH_I2C_Read... [13:19:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:19:20]Read from MH i2c: E2 [13:19:20]MH_I2C_Read... [13:19:20]Read from MH i2c: E2 03 00 [13:19:20]MH_I2C_Read... [13:19:20]Read from MH i2c: E2 03 00 FD 4A 00 90 00 BB [13:19:20]RAPDU: 90 00 [13:19:20]wFMCommunicate OK [13:19:20]wFMCommunicate request_size=25 [13:19:20]MH_SAM_APDU [13:19:20]CAPDU: 80 0D 02 02 14 32 30 10 04 04 00 0C 0A 00 00 35 04 06 00 C3 BE 16 A0 32 4D [13:19:20]Write to MH i2c: E2 1C 00 FE 4A 80 0D 02 02 14 00 32 30 10 04 04 00 0C 0A 00 00 35 04 06 00 C3 BE 16 A0 32 4D 00 00 6F [13:19:20]Write i2c OK [13:19:20]MH_I2C_Read... [13:19:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:19:20]Read from MH i2c: E2 [13:19:20]MH_I2C_Read... [13:19:20]Read from MH i2c: E2 03 00 [13:19:20]MH_I2C_Read... [13:19:20]Read from MH i2c: E2 03 00 FE 4A 00 90 00 BC [13:19:20]RAPDU: 90 00 [13:19:20]wFMCommunicate OK [13:19:20]wFMCommunicate request_size=4 [13:19:20]MH_SAM_APDU [13:19:20]CAPDU: 80 0D 03 02 [13:19:20]Write to MH i2c: E2 08 00 FF 4A 80 0D 03 02 00 00 00 00 C4 [13:19:20]Write i2c OK [13:19:20]MH_I2C_Read... [13:19:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:19:20]Read from MH i2c: E2 [13:19:20]MH_I2C_Read... [13:19:20]Read from MH i2c: E2 0B 00 [13:19:20]MH_I2C_Read... [13:19:20]Read from MH i2c: E2 0B 00 FF 4A 00 87 AA B3 AE 83 3D 8A 72 90 00 13 [13:19:20]RAPDU: 87 AA B3 AE 83 3D 8A 72 90 00 [13:19:20]wFMCommunicate OK [13:19:20]SAM_PROTO_SignData done [13:19:20]FM_MakeSignedData done [13:19:20]CreateOFDProtocolMessage [13:19:20]wFMCommunicate request_size=4 [13:19:20]MH_SAM_APDU [13:19:20]CAPDU: 80 11 00 00 [13:19:20]Write to MH i2c: E2 08 00 00 4B 80 11 00 00 00 00 00 00 C5 [13:19:20]Write i2c OK [13:19:20]MH_I2C_Read... [13:19:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:19:20]Read from MH i2c: E2 [13:19:20]MH_I2C_Read... [13:19:20]Read from MH i2c: E2 17 00 [13:19:20]MH_I2C_Read... [13:19:20]Read from MH i2c: E2 17 00 00 4B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 0D [13:19:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:19:20]wFMCommunicate OK [13:19:20]CreateOFDProtocolMessage done [13:19:20]OFDSenderStorePacket 2572 [13:19:20]StoreOFDPacket docnum=2572 [13:19:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 18 02 00 00 A0 A1 10 02 4A D2 5A 03 01 00 03 00 04 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 30 39 36 38 06 04 3F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9F D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 90 D0 B1 D1 80 D0 B8 D0 BA D0 BE D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 0B 00 00 00 00 07 04 06 00 FC 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DF B1 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0C 0A 00 00 35 04 06 00 C3 BE 16 A0 32 4D 87 AA B3 AE 83 3D 8A 72 [13:19:20]CheckFolder [13:19:20]dirname=/storage/ofd_packets [13:19:20]CheckFolder done [13:19:20]ProducePacketName [13:19:20]name=ofd_packets/00002572 [13:19:20]NVStorageSaveData ofd_packets/00002572 [13:19:20]File name is /storage/ofd_packets/00002572 [13:19:20]Write 566 bytes [13:19:20]NVStorageSaveData done [13:19:20]OFDSenderStorePacket done [13:19:20]KKMCreateOFDPacket done [13:19:20]NVStorageSaveData kkm_last_timestamp [13:19:20]File name is /storage/kkm_last_timestamp [13:19:20]Write 4 bytes [13:19:20]NVStorageSaveData done [13:19:20]ExternCall_PrintAddStr [13:19:20]wPrintStart [13:19:20]Write to MH i2c: 01 00 00 01 4B 4C [13:19:20]Write i2c OK [13:19:20]MH_I2C_Read... [13:19:20]Read from MH i2c: 01 [13:19:20]MH_I2C_Read... [13:19:20]Read from MH i2c: 01 07 00 [13:19:20]MH_I2C_Read... [13:19:20]Read from MH i2c: 01 07 00 01 4B 00 00 00 00 00 FF 0F 61 [13:19:20]RasterBufferAndPrint [13:19:20]line Счет N : (3)99950 [13:19:20]line ИНН: 02508201610067 [13:19:20]line Контрольно-Кассовый Чек [13:19:20]line ПРОДАЖА [13:19:20]line Товар: 2000036220012 [13:19:20]line Кофе Капучино XL(GABB TRADE) [13:19:20]line 1.000 * 130.00 [13:19:20]line = 130.00 [13:19:20]line НДС 12% НСП 1% [13:19:20]line > о реализуемом товаре [13:19:20]line Товар: 4700000160358 [13:19:20]line Вода Легенда 1л [13:19:20]line 1.000 * 50.00 [13:19:20]line = 50.00 [13:19:20]line НДС 12% НСП 1% [13:19:20]line > о реализуемом товаре [13:19:20]line Товар: 4650243870968 [13:19:20]line Напиток Gorilla ж/б 0,45л Персик Абрикос [13:19:20]line 1.000 * 99.00 [13:19:20]line = 99.00 [13:19:20]line НДС 12% НСП 1% [13:19:20]line > о реализуемом товаре [13:19:20]line ИТОГО: 279.00 [13:19:20]line НСП 1% : 2.47 [13:19:20]line НДС 12% : 29.62 [13:19:20]line Наличными: 279.00 [13:19:20]line Безнал.: 0.00 [13:19:20]line Место: АЗС № 162 "Партнер Нефть" [13:19:20]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [13:19:20]line СНО: Общий режим [13:19:20]line Чек 33 19.10.2024 13:19 [13:19:20]line Смена: 23 ФФД: 1.0 [13:19:20]line ЗНМ: 0300000191 [13:19:20]line РНМ: 0000000000207295 [13:19:20]line Версия ККМ: v1.0 [13:19:20]line ФМ: 0000000002342820 [13:19:20]line ФД: 2572 [13:19:20]line ФПД: 215221190799949 [13:19:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T131927&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2572&fm=215221190799949&tin=02508201610067®Number=0000000000207295&sum=27900 [13:19:20]line 0 [13:19:20]OFD Sender: Processing packet 2572 [packets to send 1, broken 0] [13:19:20]ProducePacketName [13:19:20]name=ofd_packets/00002572 [13:19:20]OFD Sender: To server: pG, [13:19:20]CommunicateWithHost lk.salyk.kg:30040 [13:19:20]ConnectInit lk.salyk.kg [13:19:20]written 0, free lines is 4095 [13:19:21]Write to MH i2c: 01 00 00 37 4B 82 [13:19:21]Write i2c OK [13:19:21]MH_I2C_Read... [13:19:21]Read from MH i2c: 01 [13:19:21]MH_I2C_Read... [13:19:21]Read from MH i2c: 01 07 00 [13:19:21]MH_I2C_Read... [13:19:21]Read from MH i2c: 01 07 00 37 4B 00 00 00 00 00 D7 0B 6B [13:19:21]RasterBufferAndPrint [13:19:21]line [13:19:21]line [13:19:21]line [13:19:21]line [13:19:21]line [13:19:21]written 0, free lines is 3035 [13:19:21]MH_Cut [13:19:21]Write to MH i2c: D1 01 00 3E 4B 01 5B [13:19:21]Write i2c OK [13:19:21]MH_I2C_Read... [13:19:21]Read from MH i2c: D1 [13:19:21]MH_I2C_Read... [13:19:21]Read from MH i2c: D1 01 00 [13:19:21]MH_I2C_Read... [13:19:21]Read from MH i2c: D1 01 00 3E 4B 00 5A [13:19:21]Write to MH i2c: 01 00 00 3F 4B 8A [13:19:21]Write i2c OK [13:19:21]MH_I2C_Read... [13:19:22]*** Cut start [13:19:22]*** Partial cut [13:19:22]*** CUTSNS_PIN = 1 [13:19:22]*** CUTSNS_PIN = 0 [13:19:22]*** Brake cut motor [13:19:23]Read from MH i2c: 01 [13:19:23]MH_I2C_Read... [13:19:23]*** Stop cut motor [13:19:23]*** Cut end [13:19:23]Read from MH i2c: 01 07 00 [13:19:23]MH_I2C_Read... [13:19:23]Read from MH i2c: 01 07 00 3F 4B 00 00 00 00 00 FF 0F 9F [13:19:23]process_action close_receipt done [13:19:23]requested_data is exist [13:19:23]produce_requested_data [13:19:23]requested_item fm.sn is exist - process it [13:19:23]wFMCommunicate request_size=4 [13:19:23]MH_SAM_APDU [13:19:23]CAPDU: 80 11 00 00 [13:19:23]Write to MH i2c: E2 08 00 40 4B 80 11 00 00 00 00 00 00 05 [13:19:23]Write i2c OK [13:19:23]MH_I2C_Read... [13:19:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:19:23]Read from MH i2c: E2 [13:19:23]MH_I2C_Read... [13:19:23]Read from MH i2c: E2 17 00 [13:19:23]MH_I2C_Read... [13:19:23]Read from MH i2c: E2 17 00 40 4B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 4D [13:19:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:19:23]wFMCommunicate OK [13:19:23]requested_item fd.num is exist - process it [13:19:23]SAM_PROTO_GetFieldsCounters [13:19:23]wFMCommunicate request_size=4 [13:19:23]MH_SAM_APDU [13:19:23]CAPDU: 80 13 00 00 [13:19:23]Write to MH i2c: E2 08 00 41 4B 80 13 00 00 00 00 00 00 08 [13:19:23]Write i2c OK [13:19:23]MH_I2C_Read... [13:19:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:19:23]Read from MH i2c: E2 [13:19:23]MH_I2C_Read... [13:19:23]Read from MH i2c: E2 62 00 [13:19:23]MH_I2C_Read... [13:19:23]Read from MH i2c: E2 62 00 41 4B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 0C 0A 00 00 0E 04 04 00 17 00 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 AE [13:19:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 0C 0A 00 00 0E 04 04 00 17 00 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:19:23]wFMCommunicate OK [13:19:23]SAM_PROTO_GetFieldsCounters done [13:19:23]requested_item shift.num is exist - process it [13:19:23]requested_item shift.opened is exist - process it [13:19:23]req_shift_opened [13:19:23]FM_GetShiftState [13:19:23]SAM_PROTO_GetShiftState [13:19:23]wFMCommunicate request_size=4 [13:19:23]MH_SAM_APDU [13:19:23]CAPDU: 80 13 01 00 [13:19:23]Write to MH i2c: E2 08 00 42 4B 80 13 01 00 00 00 00 00 0A [13:19:23]Write i2c OK [13:19:23]MH_I2C_Read... [13:19:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:19:23]Read from MH i2c: E2 [13:19:23]MH_I2C_Read... [13:19:23]Read from MH i2c: E2 0E 00 [13:19:23]MH_I2C_Read... [13:19:23]Read from MH i2c: E2 0E 00 42 4B 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 B3 [13:19:23]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [13:19:23]wFMCommunicate OK [13:19:23]SAM_PROTO_GetShiftState done [13:19:23]FM_GetShiftState done [13:19:23]req_shift_opened done [13:19:23]requested_item shift.open_date is exist - process it [13:19:23]req_shift_open_date [13:19:23]req_shift_open_date done [13:19:23]produce_requested_data done [13:19:23]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2572,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [13:19:23]process_action_free close_receipt [13:19:23]json_value_free [13:19:23]json_value_free done [13:19:23]process_json_proto returns [13:19:23]Send response to host [13:19:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2572,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [13:19:23]free response buf [13:19:23]execute_script done [13:19:23]execute_script returns [13:19:23]free content buf [13:19:23]Sock 9.Close socket [13:19:23]Sock 9.Thread stoped [13:21:32]ConnectInit Can't connect to host [13:21:32]CommunicateWithHost connect error [13:21:32]CommunicateWithHost err = -1 [13:21:32]OFD Sender: Server communicate error [13:21:37]OFD Sender: Processing packet 2572 [packets to send 1, broken 0] [13:21:37]ProducePacketName [13:21:37]name=ofd_packets/00002572 [13:21:37]OFD Sender: To server: pG, [13:21:37]CommunicateWithHost lk.salyk.kg:30040 [13:21:37]ConnectInit lk.salyk.kg [13:21:37]Connected sock=9 [13:21:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 18 02 00 00 A0 A1 10 02 4A D2 5A 03 01 00 03 00 04 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 30 39 36 38 06 04 3F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9F D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 90 D0 B1 D1 80 D0 B8 D0 BA D0 BE D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 0B 00 00 00 00 07 04 06 00 FC 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DF B1 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0C 0A 00 00 35 04 06 00 C3 BE 16 A0 32 4D 87 AA B3 AE 83 3D 8A 72 [13:21:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 53 1A 47 00 C6 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 32 33 34 32 38 32 30 10 04 04 00 0C 0A 00 00 F4 03 04 00 C9 5D 13 67 B6 04 01 00 00 C8 66 91 49 9F 5A B9 13 [13:21:37]CommunicateWithHost err = 0 [13:21:37]CheckOFDResponse [13:21:37]1017 (14) - 77093643461234 [13:21:37]1041 (16) - 0000000002342820 [13:21:37]1040 (4) - 2572 [13:21:37]1012 (4) - 19.10.2024 07:20 [13:21:37]1206 (1) - 0 [13:21:37]OFD Sender: Remove packet 2572 [13:21:37]ProducePacketName [13:21:37]name=ofd_packets/00002572 [13:21:37]NVStorageDeleteData [13:21:38]OFD Sender: No OFD packet to send [13:21:43]OFD Sender: No OFD packet to send [13:21:48]OFD Sender: No OFD packet to send [13:21:53]OFD Sender: No OFD packet to send [13:21:58]OFD Sender: No OFD packet to send [13:22:03]OFD Sender: No OFD packet to send [13:22:08]OFD Sender: No OFD packet to send [13:22:13]OFD Sender: No OFD packet to send [13:22:18]OFD Sender: No OFD packet to send [13:22:23]OFD Sender: No OFD packet to send [13:22:28]OFD Sender: No OFD packet to send [13:22:33]OFD Sender: No OFD packet to send [13:22:38]OFD Sender: No OFD packet to send [13:22:43]OFD Sender: No OFD packet to send [13:22:48]OFD Sender: No OFD packet to send [13:22:53]OFD Sender: No OFD packet to send [13:22:58]OFD Sender: No OFD packet to send [13:23:03]OFD Sender: No OFD packet to send [13:23:08]OFD Sender: No OFD packet to send [13:23:13]OFD Sender: No OFD packet to send [13:23:18]OFD Sender: No OFD packet to send [13:23:23]OFD Sender: No OFD packet to send [13:23:28]OFD Sender: No OFD packet to send [13:23:33]OFD Sender: No OFD packet to send [13:23:38]OFD Sender: No OFD packet to send [13:23:43]OFD Sender: No OFD packet to send [13:23:48]OFD Sender: No OFD packet to send [13:23:53]OFD Sender: No OFD packet to send [13:23:58]OFD Sender: No OFD packet to send [13:24:03]OFD Sender: No OFD packet to send [13:24:08]OFD Sender: No OFD packet to send [13:24:13]OFD Sender: No OFD packet to send [13:24:18]OFD Sender: No OFD packet to send [13:24:23]OFD Sender: No OFD packet to send [13:24:28]OFD Sender: No OFD packet to send [13:24:33]OFD Sender: No OFD packet to send [13:24:38]OFD Sender: No OFD packet to send [13:24:43]OFD Sender: No OFD packet to send [13:24:48]OFD Sender: No OFD packet to send [13:24:53]OFD Sender: No OFD packet to send [13:24:58]OFD Sender: No OFD packet to send [13:25:03]OFD Sender: No OFD packet to send [13:25:08]OFD Sender: No OFD packet to send [13:25:13]OFD Sender: No OFD packet to send [13:25:18]OFD Sender: No OFD packet to send [13:25:23]OFD Sender: No OFD packet to send [13:25:28]OFD Sender: No OFD packet to send [13:25:33]OFD Sender: No OFD packet to send [13:25:38]OFD Sender: No OFD packet to send [13:25:43]OFD Sender: No OFD packet to send [13:25:48]OFD Sender: No OFD packet to send [13:25:53]OFD Sender: No OFD packet to send [13:25:58]OFD Sender: No OFD packet to send [13:26:03]OFD Sender: No OFD packet to send [13:26:08]OFD Sender: No OFD packet to send [13:26:13]OFD Sender: No OFD packet to send [13:26:18]OFD Sender: No OFD packet to send [13:26:23]OFD Sender: No OFD packet to send [13:26:28]OFD Sender: No OFD packet to send [13:26:33]OFD Sender: No OFD packet to send [13:26:38]OFD Sender: No OFD packet to send [13:26:43]OFD Sender: No OFD packet to send [13:26:48]OFD Sender: No OFD packet to send [13:26:53]OFD Sender: No OFD packet to send [13:26:58]OFD Sender: No OFD packet to send [13:27:03]OFD Sender: No OFD packet to send [13:27:08]OFD Sender: No OFD packet to send [13:27:13]OFD Sender: No OFD packet to send [13:27:18]OFD Sender: No OFD packet to send [13:27:23]OFD Sender: No OFD packet to send [13:27:28]OFD Sender: No OFD packet to send [13:27:33]OFD Sender: No OFD packet to send [13:27:38]OFD Sender: No OFD packet to send [13:27:43]OFD Sender: No OFD packet to send [13:27:48]OFD Sender: No OFD packet to send [13:27:53]OFD Sender: No OFD packet to send [13:27:58]OFD Sender: No OFD packet to send [13:28:03]OFD Sender: No OFD packet to send [13:28:08]OFD Sender: No OFD packet to send [13:28:13]OFD Sender: No OFD packet to send [13:28:18]OFD Sender: No OFD packet to send [13:28:23]OFD Sender: No OFD packet to send [13:28:28]OFD Sender: No OFD packet to send [13:28:33]OFD Sender: No OFD packet to send [13:28:38]OFD Sender: No OFD packet to send [13:28:43]OFD Sender: No OFD packet to send [13:28:48]OFD Sender: No OFD packet to send [13:28:53]OFD Sender: No OFD packet to send [13:28:58]OFD Sender: No OFD packet to send [13:29:03]OFD Sender: No OFD packet to send [13:29:08]OFD Sender: No OFD packet to send [13:29:13]OFD Sender: No OFD packet to send [13:29:18]OFD Sender: No OFD packet to send [13:29:23]OFD Sender: No OFD packet to send [13:29:28]OFD Sender: No OFD packet to send [13:29:33]OFD Sender: No OFD packet to send [13:29:38]OFD Sender: No OFD packet to send [13:29:43]OFD Sender: No OFD packet to send [13:29:48]OFD Sender: No OFD packet to send [13:29:53]OFD Sender: No OFD packet to send [13:29:58]OFD Sender: No OFD packet to send [13:30:03]OFD Sender: No OFD packet to send [13:30:08]OFD Sender: No OFD packet to send [13:30:13]OFD Sender: No OFD packet to send [13:30:18]OFD Sender: No OFD packet to send [13:30:23]OFD Sender: No OFD packet to send [13:30:28]OFD Sender: No OFD packet to send [13:30:33]OFD Sender: No OFD packet to send [13:30:38]OFD Sender: No OFD packet to send [13:30:43]OFD Sender: No OFD packet to send [13:30:48]OFD Sender: No OFD packet to send [13:30:53]OFD Sender: No OFD packet to send [13:30:58]OFD Sender: No OFD packet to send [13:31:03]OFD Sender: No OFD packet to send [13:31:08]OFD Sender: No OFD packet to send [13:31:13]OFD Sender: No OFD packet to send [13:31:18]OFD Sender: No OFD packet to send [13:31:23]OFD Sender: No OFD packet to send [13:31:28]OFD Sender: No OFD packet to send [13:31:33]OFD Sender: No OFD packet to send [13:31:38]OFD Sender: No OFD packet to send [13:31:43]OFD Sender: No OFD packet to send [13:31:48]OFD Sender: No OFD packet to send [13:31:53]OFD Sender: No OFD packet to send [13:31:58]OFD Sender: No OFD packet to send [13:32:03]OFD Sender: No OFD packet to send [13:32:08]OFD Sender: No OFD packet to send [13:32:13]OFD Sender: No OFD packet to send [13:32:18]OFD Sender: No OFD packet to send [13:32:23]OFD Sender: No OFD packet to send [13:32:28]OFD Sender: No OFD packet to send [13:32:33]OFD Sender: No OFD packet to send [13:32:38]OFD Sender: No OFD packet to send [13:32:43]OFD Sender: No OFD packet to send [13:32:48]OFD Sender: No OFD packet to send [13:32:53]OFD Sender: No OFD packet to send [13:32:58]OFD Sender: No OFD packet to send [13:33:03]OFD Sender: No OFD packet to send [13:33:08]OFD Sender: No OFD packet to send [13:33:13]OFD Sender: No OFD packet to send [13:33:18]OFD Sender: No OFD packet to send [13:33:23]OFD Sender: No OFD packet to send [13:33:28]OFD Sender: No OFD packet to send [13:33:33]OFD Sender: No OFD packet to send [13:33:38]OFD Sender: No OFD packet to send [13:33:43]OFD Sender: No OFD packet to send [13:33:48]OFD Sender: No OFD packet to send [13:33:53]OFD Sender: No OFD packet to send [13:33:58]OFD Sender: No OFD packet to send [13:34:03]OFD Sender: No OFD packet to send [13:34:08]OFD Sender: No OFD packet to send [13:34:13]OFD Sender: No OFD packet to send [13:34:18]OFD Sender: No OFD packet to send [13:34:23]OFD Sender: No OFD packet to send [13:34:28]OFD Sender: No OFD packet to send [13:34:33]OFD Sender: No OFD packet to send [13:34:38]OFD Sender: No OFD packet to send [13:34:43]OFD Sender: No OFD packet to send [13:34:48]OFD Sender: No OFD packet to send [13:34:53]OFD Sender: No OFD packet to send [13:34:58]OFD Sender: No OFD packet to send [13:35:03]OFD Sender: No OFD packet to send [13:35:08]OFD Sender: No OFD packet to send [13:35:13]OFD Sender: No OFD packet to send [13:35:18]OFD Sender: No OFD packet to send [13:35:23]OFD Sender: No OFD packet to send [13:35:28]OFD Sender: No OFD packet to send [13:35:33]OFD Sender: No OFD packet to send [13:35:38]OFD Sender: No OFD packet to send [13:35:43]OFD Sender: No OFD packet to send [13:35:48]OFD Sender: No OFD packet to send [13:35:53]OFD Sender: No OFD packet to send [13:35:58]OFD Sender: No OFD packet to send [13:36:03]OFD Sender: No OFD packet to send [13:36:08]OFD Sender: No OFD packet to send [13:36:13]OFD Sender: No OFD packet to send [13:36:18]OFD Sender: No OFD packet to send [13:36:23]OFD Sender: No OFD packet to send [13:36:28]OFD Sender: No OFD packet to send [13:36:33]OFD Sender: No OFD packet to send [13:36:38]OFD Sender: No OFD packet to send [13:36:43]OFD Sender: No OFD packet to send [13:36:48]OFD Sender: No OFD packet to send [13:36:53]OFD Sender: No OFD packet to send [13:36:59]OFD Sender: No OFD packet to send [13:37:04]OFD Sender: No OFD packet to send [13:37:09]OFD Sender: No OFD packet to send [13:37:14]OFD Sender: No OFD packet to send [13:37:19]OFD Sender: No OFD packet to send [13:37:24]OFD Sender: No OFD packet to send [13:37:29]OFD Sender: No OFD packet to send [13:37:34]OFD Sender: No OFD packet to send [13:37:39]OFD Sender: No OFD packet to send [13:37:44]OFD Sender: No OFD packet to send [13:37:49]OFD Sender: No OFD packet to send [13:37:54]OFD Sender: No OFD packet to send [13:37:59]OFD Sender: No OFD packet to send [13:38:04]OFD Sender: No OFD packet to send [13:38:09]OFD Sender: No OFD packet to send [13:38:14]OFD Sender: No OFD packet to send [13:38:19]OFD Sender: No OFD packet to send [13:38:24]OFD Sender: No OFD packet to send [13:38:29]OFD Sender: No OFD packet to send [13:38:34]OFD Sender: No OFD packet to send [13:38:39]OFD Sender: No OFD packet to send [13:38:44]OFD Sender: No OFD packet to send [13:38:49]OFD Sender: No OFD packet to send [13:38:54]OFD Sender: No OFD packet to send [13:38:59]OFD Sender: No OFD packet to send [13:39:04]OFD Sender: No OFD packet to send [13:39:09]OFD Sender: No OFD packet to send [13:39:14]OFD Sender: No OFD packet to send [13:39:19]OFD Sender: No OFD packet to send [13:39:24]OFD Sender: No OFD packet to send [13:39:29]OFD Sender: No OFD packet to send [13:39:34]OFD Sender: No OFD packet to send [13:39:39]OFD Sender: No OFD packet to send [13:39:44]OFD Sender: No OFD packet to send [13:39:49]OFD Sender: No OFD packet to send [13:39:54]OFD Sender: No OFD packet to send [13:39:59]OFD Sender: No OFD packet to send [13:40:04]OFD Sender: No OFD packet to send [13:40:09]OFD Sender: No OFD packet to send [13:40:14]OFD Sender: No OFD packet to send [13:40:19]OFD Sender: No OFD packet to send [13:40:24]OFD Sender: No OFD packet to send [13:40:29]OFD Sender: No OFD packet to send [13:40:34]OFD Sender: No OFD packet to send [13:40:39]OFD Sender: No OFD packet to send [13:40:44]OFD Sender: No OFD packet to send [13:40:49]OFD Sender: No OFD packet to send [13:40:54]OFD Sender: No OFD packet to send [13:40:59]OFD Sender: No OFD packet to send [13:41:04]OFD Sender: No OFD packet to send [13:41:09]OFD Sender: No OFD packet to send [13:41:14]OFD Sender: No OFD packet to send [13:41:19]OFD Sender: No OFD packet to send [13:41:24]OFD Sender: No OFD packet to send [13:41:29]OFD Sender: No OFD packet to send [13:41:34]OFD Sender: No OFD packet to send [13:41:39]OFD Sender: No OFD packet to send [13:41:44]OFD Sender: No OFD packet to send [13:41:49]OFD Sender: No OFD packet to send [13:41:54]OFD Sender: No OFD packet to send [13:41:59]OFD Sender: No OFD packet to send [13:42:04]OFD Sender: No OFD packet to send [13:42:09]OFD Sender: No OFD packet to send [13:42:14]OFD Sender: No OFD packet to send [13:42:19]OFD Sender: No OFD packet to send [13:42:24]OFD Sender: No OFD packet to send [13:42:29]OFD Sender: No OFD packet to send [13:42:34]OFD Sender: No OFD packet to send [13:42:39]OFD Sender: No OFD packet to send [13:42:44]OFD Sender: No OFD packet to send [13:42:49]OFD Sender: No OFD packet to send [13:42:54]OFD Sender: No OFD packet to send [13:42:59]OFD Sender: No OFD packet to send [13:43:04]OFD Sender: No OFD packet to send [13:43:09]OFD Sender: No OFD packet to send [13:43:14]OFD Sender: No OFD packet to send [13:43:19]OFD Sender: No OFD packet to send [13:43:24]OFD Sender: No OFD packet to send [13:43:29]OFD Sender: No OFD packet to send [13:43:34]OFD Sender: No OFD packet to send [13:43:39]OFD Sender: No OFD packet to send [13:43:44]OFD Sender: No OFD packet to send [13:43:49]OFD Sender: No OFD packet to send [13:43:54]OFD Sender: No OFD packet to send [13:43:59]OFD Sender: No OFD packet to send [13:44:04]OFD Sender: No OFD packet to send [13:44:09]OFD Sender: No OFD packet to send [13:44:14]OFD Sender: No OFD packet to send [13:44:19]OFD Sender: No OFD packet to send [13:44:24]OFD Sender: No OFD packet to send [13:44:29]OFD Sender: No OFD packet to send [13:44:34]OFD Sender: No OFD packet to send [13:44:39]OFD Sender: No OFD packet to send [13:44:44]OFD Sender: No OFD packet to send [13:44:49]OFD Sender: No OFD packet to send [13:44:54]OFD Sender: No OFD packet to send [13:44:59]OFD Sender: No OFD packet to send [13:45:04]OFD Sender: No OFD packet to send [13:45:09]OFD Sender: No OFD packet to send [13:45:14]OFD Sender: No OFD packet to send [13:45:19]OFD Sender: No OFD packet to send [13:45:24]OFD Sender: No OFD packet to send [13:45:29]OFD Sender: No OFD packet to send [13:45:34]OFD Sender: No OFD packet to send [13:45:39]OFD Sender: No OFD packet to send [13:45:44]OFD Sender: No OFD packet to send [13:45:49]OFD Sender: No OFD packet to send [13:45:54]OFD Sender: No OFD packet to send [13:45:59]OFD Sender: No OFD packet to send [13:46:04]OFD Sender: No OFD packet to send [13:46:09]OFD Sender: No OFD packet to send [13:46:14]OFD Sender: No OFD packet to send [13:46:19]OFD Sender: No OFD packet to send [13:46:24]OFD Sender: No OFD packet to send [13:46:29]OFD Sender: No OFD packet to send [13:46:34]OFD Sender: No OFD packet to send [13:46:39]OFD Sender: No OFD packet to send [13:46:44]OFD Sender: No OFD packet to send [13:46:49]OFD Sender: No OFD packet to send [13:46:54]OFD Sender: No OFD packet to send [13:46:59]OFD Sender: No OFD packet to send [13:47:04]OFD Sender: No OFD packet to send [13:47:09]OFD Sender: No OFD packet to send [13:47:14]OFD Sender: No OFD packet to send [13:47:19]OFD Sender: No OFD packet to send [13:47:24]OFD Sender: No OFD packet to send [13:47:29]OFD Sender: No OFD packet to send [13:47:34]OFD Sender: No OFD packet to send [13:47:39]OFD Sender: No OFD packet to send [13:47:44]OFD Sender: No OFD packet to send [13:47:49]OFD Sender: No OFD packet to send [13:47:54]OFD Sender: No OFD packet to send [13:47:59]OFD Sender: No OFD packet to send [13:48:04]OFD Sender: No OFD packet to send [13:48:09]OFD Sender: No OFD packet to send [13:48:14]OFD Sender: No OFD packet to send [13:48:19]OFD Sender: No OFD packet to send [13:48:24]OFD Sender: No OFD packet to send [13:48:29]OFD Sender: No OFD packet to send [13:48:34]OFD Sender: No OFD packet to send [13:48:39]OFD Sender: No OFD packet to send [13:48:44]OFD Sender: No OFD packet to send [13:48:49]OFD Sender: No OFD packet to send [13:48:54]OFD Sender: No OFD packet to send [13:48:59]OFD Sender: No OFD packet to send [13:49:04]OFD Sender: No OFD packet to send [13:49:09]OFD Sender: No OFD packet to send [13:49:14]OFD Sender: No OFD packet to send [13:49:19]OFD Sender: No OFD packet to send [13:49:24]OFD Sender: No OFD packet to send [13:49:29]OFD Sender: No OFD packet to send [13:49:34]OFD Sender: No OFD packet to send [13:49:39]OFD Sender: No OFD packet to send [13:49:44]OFD Sender: No OFD packet to send [13:49:49]OFD Sender: No OFD packet to send [13:49:54]OFD Sender: No OFD packet to send [13:49:59]OFD Sender: No OFD packet to send [13:50:04]OFD Sender: No OFD packet to send [13:50:09]OFD Sender: No OFD packet to send [13:50:14]OFD Sender: No OFD packet to send [13:50:19]OFD Sender: No OFD packet to send [13:50:24]OFD Sender: No OFD packet to send [13:50:29]OFD Sender: No OFD packet to send [13:50:34]OFD Sender: No OFD packet to send [13:50:39]OFD Sender: No OFD packet to send [13:50:44]OFD Sender: No OFD packet to send [13:50:49]OFD Sender: No OFD packet to send [13:50:54]OFD Sender: No OFD packet to send [13:50:59]OFD Sender: No OFD packet to send [13:51:04]OFD Sender: No OFD packet to send [13:51:09]OFD Sender: No OFD packet to send [13:51:14]OFD Sender: No OFD packet to send [13:51:19]OFD Sender: No OFD packet to send [13:51:24]OFD Sender: No OFD packet to send [13:51:29]OFD Sender: No OFD packet to send [13:51:34]OFD Sender: No OFD packet to send [13:51:39]OFD Sender: No OFD packet to send [13:51:44]OFD Sender: No OFD packet to send [13:51:49]OFD Sender: No OFD packet to send [13:51:54]OFD Sender: No OFD packet to send [13:51:59]OFD Sender: No OFD packet to send [13:52:04]OFD Sender: No OFD packet to send [13:52:09]OFD Sender: No OFD packet to send [13:52:14]OFD Sender: No OFD packet to send [13:52:19]OFD Sender: No OFD packet to send [13:52:24]OFD Sender: No OFD packet to send [13:52:29]OFD Sender: No OFD packet to send [13:52:34]OFD Sender: No OFD packet to send [13:52:39]OFD Sender: No OFD packet to send [13:52:44]OFD Sender: No OFD packet to send [13:52:49]OFD Sender: No OFD packet to send [13:52:54]OFD Sender: No OFD packet to send [13:52:59]OFD Sender: No OFD packet to send [13:53:04]OFD Sender: No OFD packet to send [13:53:09]OFD Sender: No OFD packet to send [13:53:14]OFD Sender: No OFD packet to send [13:53:19]OFD Sender: No OFD packet to send [13:53:24]OFD Sender: No OFD packet to send [13:53:29]OFD Sender: No OFD packet to send [13:53:34]OFD Sender: No OFD packet to send [13:53:39]OFD Sender: No OFD packet to send [13:53:44]OFD Sender: No OFD packet to send [13:53:49]OFD Sender: No OFD packet to send [13:53:54]OFD Sender: No OFD packet to send [13:53:59]OFD Sender: No OFD packet to send [13:54:04]OFD Sender: No OFD packet to send [13:54:09]OFD Sender: No OFD packet to send [13:54:14]OFD Sender: No OFD packet to send [13:54:19]OFD Sender: No OFD packet to send [13:54:24]OFD Sender: No OFD packet to send [13:54:29]OFD Sender: No OFD packet to send [13:54:34]OFD Sender: No OFD packet to send [13:54:39]OFD Sender: No OFD packet to send [13:54:44]OFD Sender: No OFD packet to send [13:54:49]OFD Sender: No OFD packet to send [13:54:54]OFD Sender: No OFD packet to send [13:54:59]OFD Sender: No OFD packet to send [13:55:04]OFD Sender: No OFD packet to send [13:55:09]OFD Sender: No OFD packet to send [13:55:14]OFD Sender: No OFD packet to send [13:55:19]OFD Sender: No OFD packet to send [13:55:24]OFD Sender: No OFD packet to send [13:55:29]OFD Sender: No OFD packet to send [13:55:34]OFD Sender: No OFD packet to send [13:55:39]OFD Sender: No OFD packet to send [13:55:44]OFD Sender: No OFD packet to send [13:55:45]accept exits with 7 [13:55:45]New connection [13:55:45]New thread 3066707300 created [13:55:45]Thread 3066850660 joined [13:55:45]Waiting for new connection... [13:55:45] Sock 7.Parse request [13:55:45]Sock 7.Check first char [13:55:45]Sock 7.First char is OK [13:55:45]request: POST /json_proto HTTP/1.0 [13:55:45]Method: POST [13:55:45]URL: /json_proto [13:55:45]Method is POST - this is cgi request [13:55:45]url: /json_proto [13:55:45]query_string will be loaded in cgi processing [13:55:45]execute_cgi json_proto POST (null) [13:55:45]execute_cgi path=json_proto method=POST [13:55:45]POST find Content-Length [13:55:45]Host: 172.17.52.132:8080 [13:55:45]Content-Length: 649 [13:55:45]Content-Type: application/json [13:55:45] [13:55:45]POST finish read [13:55:45]Found Content-Length = 649 [13:55:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99951", "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" ] } } [13:55:45]execute_script... [13:55:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99951", "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" ] } } [13:55:45]POST & json_proto [13:55:45]process_json_proto [13:55:45]json parsed OK: [13:55:45]protocol is kg_v1.0 [13:55:45]action value=close_receipt [13:55:45]process_action close_receipt [13:55:45]cmd_close_receipt [13:55:45]MH_GetDate [13:55:45]Write to MH i2c: F0 00 00 43 4B 7D [13:55:45]Write i2c OK [13:55:45]MH_I2C_Read... [13:55:45]Read from MH i2c: F0 [13:55:45]MH_I2C_Read... [13:55:45]Read from MH i2c: F0 09 00 [13:55:45]MH_I2C_Read... [13:55:45]Read from MH i2c: F0 09 00 43 4B 00 6B BA 13 67 5A BE F6 66 99 [13:55:45]GetLastDocTimeStamp 1729343967 [13:55:45]current date 1729346155 [13:55:45]FM_GetShiftState [13:55:45]SAM_PROTO_GetShiftState [13:55:45]wFMCommunicate request_size=4 [13:55:45]MH_SAM_APDU [13:55:45]CAPDU: 80 13 01 00 [13:55:45]Write to MH i2c: E2 08 00 44 4B 80 13 01 00 00 00 00 00 0C [13:55:45]Write i2c OK [13:55:45]MH_I2C_Read... [13:55:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:55:45]Read from MH i2c: E2 [13:55:45]MH_I2C_Read... [13:55:45]Read from MH i2c: E2 0E 00 [13:55:45]MH_I2C_Read... [13:55:45]Read from MH i2c: E2 0E 00 44 4B 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 B5 [13:55:45]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [13:55:45]wFMCommunicate OK [13:55:45]SAM_PROTO_GetShiftState done [13:55:45]FM_GetShiftState done [13:55:45]opened in 1729296173 [13:55:45]opened+sec_in_day 1729382573 [13:55:45]quantity*price = 10500 [13:55:45]sum+1 = 10501 [13:55:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 34 19.10.2024 13:55 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2573 ФПД: 105080820984927 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T135555&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2573&fm=105080820984927&tin=02508201610067®Number=0000000000207295&sum=10500 0 [13:55:46]StoreToDocumentArchive [13:55:46]shift 23 fd 2573 [13:55:46]save to /storage/0023/doc_00002573 [13:55:46]save last doc name /storage/0023/doc_00002573 to /storage/kkm_last_doc_name [13:55:46]save OK [13:55:46]Clear old archive folders... [13:55:46]ProcessDocumentItem done err = 0, tmpTLVsize=282 [13:55:46]tlvbuf is 0140EC40 [13:55:46]SAM_PROTO_ClearQueue [13:55:46]wFMCommunicate request_size=4 [13:55:46]MH_SAM_APDU [13:55:46]CAPDU: 80 09 00 00 [13:55:46]Write to MH i2c: E2 08 00 51 4B 80 09 00 00 00 00 00 00 0E [13:55:46]Write i2c OK [13:55:46]MH_I2C_Read... [13:55:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:55:46]Read from MH i2c: E2 [13:55:46]MH_I2C_Read... [13:55:46]Read from MH i2c: E2 03 00 [13:55:46]MH_I2C_Read... [13:55:46]Read from MH i2c: E2 03 00 51 4B 00 90 00 10 [13:55:46]RAPDU: 90 00 [13:55:46]wFMCommunicate OK [13:55:46]SAM_PROTO_ClearQueue done [13:55:46]KKMCreateOFDPacket [13:55:46]OFDProtocolAddRootSTLVToBuf [13:55:46]FM_MakeSignedData [13:55:46]FM_MakeSignedData [13:55:46]SAM_PROTO_SignData [13:55:46]wFMCommunicate request_size=4 [13:55:46]MH_SAM_APDU [13:55:46]CAPDU: 80 0D 01 02 [13:55:46]Write to MH i2c: E2 08 00 52 4B 80 0D 01 02 00 00 00 00 16 [13:55:46]Write i2c OK [13:55:46]MH_I2C_Read... [13:55:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:55:46]Read from MH i2c: E2 [13:55:46]MH_I2C_Read... [13:55:46]Read from MH i2c: E2 03 00 [13:55:46]MH_I2C_Read... [13:55:46]Read from MH i2c: E2 03 00 52 4B 00 90 00 11 [13:55:46]RAPDU: 90 00 [13:55:46]wFMCommunicate OK [13:55:46]wFMCommunicate request_size=255 [13:55:46]MH_SAM_APDU [13:55:46]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 22 00 00 00 F4 03 04 00 6B BA 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 [13:55:46]Write to MH i2c: E2 02 01 53 4B 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 22 00 00 00 F4 03 04 00 6B BA 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 00 00 B6 [13:55:46]Write i2c OK [13:55:46]MH_I2C_Read... [13:55:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:55:47]Read from MH i2c: E2 [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: E2 03 00 [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: E2 03 00 53 4B 00 90 00 12 [13:55:47]RAPDU: 90 00 [13:55:47]wFMCommunicate OK [13:55:47]wFMCommunicate request_size=41 [13:55:47]MH_SAM_APDU [13:55:47]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0D 0A 00 00 35 04 06 00 5F 92 09 01 EC 5F [13:55:47]Write to MH i2c: E2 2C 00 54 4B 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0D 0A 00 00 35 04 06 00 5F 92 09 01 EC 5F 00 00 3A [13:55:47]Write i2c OK [13:55:47]MH_I2C_Read... [13:55:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:55:47]Read from MH i2c: E2 [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: E2 03 00 [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: E2 03 00 54 4B 00 90 00 13 [13:55:47]RAPDU: 90 00 [13:55:47]wFMCommunicate OK [13:55:47]wFMCommunicate request_size=4 [13:55:47]MH_SAM_APDU [13:55:47]CAPDU: 80 0D 03 02 [13:55:47]Write to MH i2c: E2 08 00 55 4B 80 0D 03 02 00 00 00 00 1B [13:55:47]Write i2c OK [13:55:47]MH_I2C_Read... [13:55:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:55:47]Read from MH i2c: E2 [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: E2 0B 00 [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: E2 0B 00 55 4B 00 17 84 56 0D 0F 1F CE AF 90 00 C5 [13:55:47]RAPDU: 17 84 56 0D 0F 1F CE AF 90 00 [13:55:47]wFMCommunicate OK [13:55:47]SAM_PROTO_SignData done [13:55:47]FM_MakeSignedData done [13:55:47]CreateOFDProtocolMessage [13:55:47]wFMCommunicate request_size=4 [13:55:47]MH_SAM_APDU [13:55:47]CAPDU: 80 11 00 00 [13:55:47]Write to MH i2c: E2 08 00 56 4B 80 11 00 00 00 00 00 00 1B [13:55:47]Write i2c OK [13:55:47]MH_I2C_Read... [13:55:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:55:47]Read from MH i2c: E2 [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: E2 17 00 [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: E2 17 00 56 4B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 63 [13:55:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:55:47]wFMCommunicate OK [13:55:47]CreateOFDProtocolMessage done [13:55:47]OFDSenderStorePacket 2573 [13:55:47]StoreOFDPacket docnum=2573 [13:55:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2E 01 00 00 0F 98 26 01 12 1E 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 22 00 00 00 F4 03 04 00 6B BA 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0D 0A 00 00 35 04 06 00 5F 92 09 01 EC 5F 17 84 56 0D 0F 1F CE AF [13:55:47]CheckFolder [13:55:47]dirname=/storage/ofd_packets [13:55:47]CheckFolder done [13:55:47]ProducePacketName [13:55:47]name=ofd_packets/00002573 [13:55:47]NVStorageSaveData ofd_packets/00002573 [13:55:47]File name is /storage/ofd_packets/00002573 [13:55:47]Write 332 bytes [13:55:47]NVStorageSaveData done [13:55:47]OFDSenderStorePacket done [13:55:47]KKMCreateOFDPacket done [13:55:47]NVStorageSaveData kkm_last_timestamp [13:55:47]File name is /storage/kkm_last_timestamp [13:55:47]Write 4 bytes [13:55:47]NVStorageSaveData done [13:55:47]ExternCall_PrintAddStr [13:55:47]wPrintStart [13:55:47]Write to MH i2c: 01 00 00 57 4B A2 [13:55:47]Write i2c OK [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: 01 [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: 01 07 00 [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: 01 07 00 57 4B 00 00 00 00 00 FF 0F B7 [13:55:47]RasterBufferAndPrint [13:55:47]line Счет N : (3)99951 [13:55:47]line ИНН: 02508201610067 [13:55:47]line Контрольно-Кассовый Чек [13:55:47]line ПРОДАЖА [13:55:47]line Товар: 2000034730018 [13:55:47]line Кофе Американо (GABB TRADE) [13:55:47]line 1.000 * 105.00 [13:55:47]line = 105.00 [13:55:47]line НДС 12% НСП 1% [13:55:47]line > о реализуемом товаре [13:55:47]line ИТОГО: 105.00 [13:55:47]line НСП 1% : 0.93 [13:55:47]line НДС 12% : 11.15 [13:55:47]line Наличными: 105.00 [13:55:47]line Безнал.: 0.00 [13:55:47]line Место: АЗС № 162 "Партнер Нефть" [13:55:47]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [13:55:47]line СНО: Общий режим [13:55:47]line Чек 34 19.10.2024 13:55 [13:55:47]line Смена: 23 ФФД: 1.0 [13:55:47]line ЗНМ: 0300000191 [13:55:47]line РНМ: 0000000000207295 [13:55:47]line Версия ККМ: v1.0 [13:55:47]line ФМ: 0000000002342820 [13:55:47]line ФД: 2573 [13:55:47]line ФПД: 105080820984927 [13:55:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T135555&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2573&fm=105080820984927&tin=02508201610067®Number=0000000000207295&sum=10500 [13:55:47]line 0 [13:55:47]OFD Sender: Processing packet 2573 [packets to send 1, broken 0] [13:55:47]ProducePacketName [13:55:47]name=ofd_packets/00002573 [13:55:47]OFD Sender: To server: pG, [13:55:47]CommunicateWithHost lk.salyk.kg:30040 [13:55:47]ConnectInit lk.salyk.kg [13:55:47]written 0, free lines is 4095 [13:55:47]Connected sock=10 [13:55:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2E 01 00 00 0F 98 26 01 12 1E 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 22 00 00 00 F4 03 04 00 6B BA 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0D 0A 00 00 35 04 06 00 5F 92 09 01 EC 5F 17 84 56 0D 0F 1F CE AF [13:55:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 4A BE 47 00 6B 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0D 0A 00 00 F4 03 04 00 CC 65 13 67 B6 04 01 00 00 F7 18 00 39 07 36 7D 2B [13:55:47]CommunicateWithHost err = 0 [13:55:47]CheckOFDResponse [13:55:47]1017 (14) - 77093643461234 [13:55:47]1041 (16) - 0000000002342820 [13:55:47]1040 (4) - 2573 [13:55:47]1012 (4) - 19.10.2024 07:54 [13:55:47]1206 (1) - 0 [13:55:47]OFD Sender: Remove packet 2573 [13:55:47]ProducePacketName [13:55:47]name=ofd_packets/00002573 [13:55:47]NVStorageDeleteData [13:55:48]Write to MH i2c: 01 00 00 80 4B CB [13:55:48]Write i2c OK [13:55:48]MH_I2C_Read... [13:55:48]Read from MH i2c: 01 [13:55:48]MH_I2C_Read... [13:55:48]Read from MH i2c: 01 07 00 [13:55:48]MH_I2C_Read... [13:55:48]Read from MH i2c: 01 07 00 80 4B 00 00 00 00 00 BF 0C 9D [13:55:48]RasterBufferAndPrint [13:55:48]line [13:55:48]line [13:55:48]line [13:55:48]line [13:55:48]line [13:55:48]written 0, free lines is 3268 [13:55:48]MH_Cut [13:55:48]Write to MH i2c: D1 01 00 87 4B 01 A4 [13:55:48]Write i2c OK [13:55:48]MH_I2C_Read... [13:55:48]Read from MH i2c: D1 [13:55:48]MH_I2C_Read... [13:55:48]Read from MH i2c: D1 01 00 [13:55:48]MH_I2C_Read... [13:55:48]Read from MH i2c: D1 01 00 87 4B 00 A3 [13:55:48]Write to MH i2c: 01 00 00 88 4B D3 [13:55:48]Write i2c OK [13:55:48]MH_I2C_Read... [13:55:48]OFD Sender: No OFD packet to send [13:55:48]*** Cut start [13:55:48]*** Partial cut [13:55:48]*** CUTSNS_PIN = 1 [13:55:49]*** CUTSNS_PIN = 0 [13:55:49]*** Brake cut motor [13:55:49]Read from MH i2c: 01 [13:55:49]MH_I2C_Read... [13:55:49]*** Stop cut motor [13:55:49]*** Cut end [13:55:49]Read from MH i2c: 01 07 00 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: 01 07 00 88 4B 00 00 00 00 00 FF 0F E8 [13:55:49]process_action close_receipt done [13:55:49]requested_data is exist [13:55:49]produce_requested_data [13:55:49]requested_item fm.sn is exist - process it [13:55:49]wFMCommunicate request_size=4 [13:55:49]MH_SAM_APDU [13:55:49]CAPDU: 80 11 00 00 [13:55:49]Write to MH i2c: E2 08 00 89 4B 80 11 00 00 00 00 00 00 4E [13:55:49]Write i2c OK [13:55:49]MH_I2C_Read... [13:55:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:55:49]Read from MH i2c: E2 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: E2 17 00 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: E2 17 00 89 4B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 96 [13:55:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [13:55:49]wFMCommunicate OK [13:55:49]requested_item fd.num is exist - process it [13:55:49]SAM_PROTO_GetFieldsCounters [13:55:49]wFMCommunicate request_size=4 [13:55:49]MH_SAM_APDU [13:55:49]CAPDU: 80 13 00 00 [13:55:49]Write to MH i2c: E2 08 00 8A 4B 80 13 00 00 00 00 00 00 51 [13:55:49]Write i2c OK [13:55:49]MH_I2C_Read... [13:55:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:55:49]Read from MH i2c: E2 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: E2 62 00 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: E2 62 00 8A 4B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 0D 0A 00 00 0E 04 04 00 17 00 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 FB [13:55:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 0D 0A 00 00 0E 04 04 00 17 00 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:55:49]wFMCommunicate OK [13:55:49]SAM_PROTO_GetFieldsCounters done [13:55:49]requested_item shift.num is exist - process it [13:55:49]requested_item shift.opened is exist - process it [13:55:49]req_shift_opened [13:55:49]FM_GetShiftState [13:55:49]SAM_PROTO_GetShiftState [13:55:49]wFMCommunicate request_size=4 [13:55:49]MH_SAM_APDU [13:55:49]CAPDU: 80 13 01 00 [13:55:49]Write to MH i2c: E2 08 00 8B 4B 80 13 01 00 00 00 00 00 53 [13:55:49]Write i2c OK [13:55:49]MH_I2C_Read... [13:55:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:55:49]Read from MH i2c: E2 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: E2 0E 00 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: E2 0E 00 8B 4B 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 FC [13:55:49]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [13:55:49]wFMCommunicate OK [13:55:49]SAM_PROTO_GetShiftState done [13:55:49]FM_GetShiftState done [13:55:49]req_shift_opened done [13:55:49]requested_item shift.open_date is exist - process it [13:55:49]req_shift_open_date [13:55:49]req_shift_open_date done [13:55:49]produce_requested_data done [13:55:49]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2573,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [13:55:49]process_action_free close_receipt [13:55:49]json_value_free [13:55:49]json_value_free done [13:55:49]process_json_proto returns [13:55:49]Send response to host [13:55:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2573,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [13:55:49]free response buf [13:55:49]execute_script done [13:55:49]execute_script returns [13:55:49]free content buf [13:55:49]Sock 7.Close socket [13:55:49]Sock 7.Thread stoped [13:55:53]OFD Sender: No OFD packet to send [13:55:58]OFD Sender: No OFD packet to send [13:56:03]OFD Sender: No OFD packet to send [13:56:08]OFD Sender: No OFD packet to send [13:56:13]OFD Sender: No OFD packet to send [13:56:18]OFD Sender: No OFD packet to send [13:56:23]OFD Sender: No OFD packet to send [13:56:28]OFD Sender: No OFD packet to send [13:56:33]OFD Sender: No OFD packet to send [13:56:38]OFD Sender: No OFD packet to send [13:56:43]OFD Sender: No OFD packet to send [13:56:48]OFD Sender: No OFD packet to send [13:56:53]OFD Sender: No OFD packet to send [13:56:58]OFD Sender: No OFD packet to send [13:57:03]OFD Sender: No OFD packet to send [13:57:08]OFD Sender: No OFD packet to send [13:57:13]OFD Sender: No OFD packet to send [13:57:18]OFD Sender: No OFD packet to send [13:57:23]OFD Sender: No OFD packet to send [13:57:28]OFD Sender: No OFD packet to send [13:57:33]OFD Sender: No OFD packet to send [13:57:38]OFD Sender: No OFD packet to send [13:57:43]OFD Sender: No OFD packet to send [13:57:48]OFD Sender: No OFD packet to send [13:57:53]OFD Sender: No OFD packet to send [13:57:58]OFD Sender: No OFD packet to send [13:58:03]OFD Sender: No OFD packet to send [13:58:08]OFD Sender: No OFD packet to send [13:58:13]OFD Sender: No OFD packet to send [13:58:18]OFD Sender: No OFD packet to send [13:58:23]OFD Sender: No OFD packet to send [13:58:28]OFD Sender: No OFD packet to send [13:58:33]OFD Sender: No OFD packet to send [13:58:38]OFD Sender: No OFD packet to send [13:58:43]OFD Sender: No OFD packet to send [13:58:48]OFD Sender: No OFD packet to send [13:58:53]OFD Sender: No OFD packet to send [13:58:58]OFD Sender: No OFD packet to send [13:59:03]OFD Sender: No OFD packet to send [13:59:08]OFD Sender: No OFD packet to send [13:59:13]OFD Sender: No OFD packet to send [13:59:18]OFD Sender: No OFD packet to send [13:59:23]OFD Sender: No OFD packet to send [13:59:28]OFD Sender: No OFD packet to send [13:59:33]OFD Sender: No OFD packet to send [13:59:38]OFD Sender: No OFD packet to send [13:59:43]OFD Sender: No OFD packet to send [13:59:48]OFD Sender: No OFD packet to send [13:59:53]OFD Sender: No OFD packet to send [13:59:58]OFD Sender: No OFD packet to send [14:00:03]OFD Sender: No OFD packet to send [14:00:08]OFD Sender: No OFD packet to send [14:00:13]OFD Sender: No OFD packet to send [14:00:18]OFD Sender: No OFD packet to send [14:00:23]OFD Sender: No OFD packet to send [14:00:28]OFD Sender: No OFD packet to send [14:00:33]OFD Sender: No OFD packet to send [14:00:38]OFD Sender: No OFD packet to send [14:00:43]OFD Sender: No OFD packet to send [14:00:48]OFD Sender: No OFD packet to send [14:00:53]OFD Sender: No OFD packet to send [14:00:58]OFD Sender: No OFD packet to send [14:01:03]OFD Sender: No OFD packet to send [14:01:08]OFD Sender: No OFD packet to send [14:01:13]OFD Sender: No OFD packet to send [14:01:18]OFD Sender: No OFD packet to send [14:01:23]OFD Sender: No OFD packet to send [14:01:28]OFD Sender: No OFD packet to send [14:01:33]OFD Sender: No OFD packet to send [14:01:38]OFD Sender: No OFD packet to send [14:01:43]OFD Sender: No OFD packet to send [14:01:48]OFD Sender: No OFD packet to send [14:01:53]OFD Sender: No OFD packet to send [14:01:58]OFD Sender: No OFD packet to send [14:02:03]OFD Sender: No OFD packet to send [14:02:08]OFD Sender: No OFD packet to send [14:02:13]OFD Sender: No OFD packet to send [14:02:18]OFD Sender: No OFD packet to send [14:02:23]OFD Sender: No OFD packet to send [14:02:28]OFD Sender: No OFD packet to send [14:02:33]OFD Sender: No OFD packet to send [14:02:38]OFD Sender: No OFD packet to send [14:02:43]OFD Sender: No OFD packet to send [14:02:48]OFD Sender: No OFD packet to send [14:02:53]OFD Sender: No OFD packet to send [14:02:58]OFD Sender: No OFD packet to send [14:03:03]OFD Sender: No OFD packet to send [14:03:08]OFD Sender: No OFD packet to send [14:03:13]OFD Sender: No OFD packet to send [14:03:18]OFD Sender: No OFD packet to send [14:03:23]OFD Sender: No OFD packet to send [14:03:28]OFD Sender: No OFD packet to send [14:03:33]OFD Sender: No OFD packet to send [14:03:38]OFD Sender: No OFD packet to send [14:03:43]OFD Sender: No OFD packet to send [14:03:48]OFD Sender: No OFD packet to send [14:03:53]OFD Sender: No OFD packet to send [14:03:58]OFD Sender: No OFD packet to send [14:04:03]OFD Sender: No OFD packet to send [14:04:08]OFD Sender: No OFD packet to send [14:04:13]OFD Sender: No OFD packet to send [14:04:18]OFD Sender: No OFD packet to send [14:04:23]OFD Sender: No OFD packet to send [14:04:28]OFD Sender: No OFD packet to send [14:04:33]OFD Sender: No OFD packet to send [14:04:38]OFD Sender: No OFD packet to send [14:04:43]OFD Sender: No OFD packet to send [14:04:48]OFD Sender: No OFD packet to send [14:04:53]OFD Sender: No OFD packet to send [14:04:58]OFD Sender: No OFD packet to send [14:05:03]OFD Sender: No OFD packet to send [14:05:08]OFD Sender: No OFD packet to send [14:05:13]OFD Sender: No OFD packet to send [14:05:18]OFD Sender: No OFD packet to send [14:05:23]OFD Sender: No OFD packet to send [14:05:28]OFD Sender: No OFD packet to send [14:05:33]OFD Sender: No OFD packet to send [14:05:38]OFD Sender: No OFD packet to send [14:05:43]OFD Sender: No OFD packet to send [14:05:48]OFD Sender: No OFD packet to send [14:05:53]OFD Sender: No OFD packet to send [14:05:58]OFD Sender: No OFD packet to send [14:06:03]OFD Sender: No OFD packet to send [14:06:08]OFD Sender: No OFD packet to send [14:06:13]OFD Sender: No OFD packet to send [14:06:18]OFD Sender: No OFD packet to send [14:06:23]OFD Sender: No OFD packet to send [14:06:28]OFD Sender: No OFD packet to send [14:06:33]OFD Sender: No OFD packet to send [14:06:38]OFD Sender: No OFD packet to send [14:06:43]OFD Sender: No OFD packet to send [14:06:48]OFD Sender: No OFD packet to send [14:06:53]OFD Sender: No OFD packet to send [14:06:58]OFD Sender: No OFD packet to send [14:07:03]OFD Sender: No OFD packet to send [14:07:08]OFD Sender: No OFD packet to send [14:07:13]OFD Sender: No OFD packet to send [14:07:18]OFD Sender: No OFD packet to send [14:07:23]OFD Sender: No OFD packet to send [14:07:28]OFD Sender: No OFD packet to send [14:07:33]OFD Sender: No OFD packet to send [14:07:39]OFD Sender: No OFD packet to send [14:07:44]OFD Sender: No OFD packet to send [14:07:49]OFD Sender: No OFD packet to send [14:07:54]OFD Sender: No OFD packet to send [14:07:59]OFD Sender: No OFD packet to send [14:08:04]OFD Sender: No OFD packet to send [14:08:09]OFD Sender: No OFD packet to send [14:08:14]OFD Sender: No OFD packet to send [14:08:19]OFD Sender: No OFD packet to send [14:08:24]OFD Sender: No OFD packet to send [14:08:29]OFD Sender: No OFD packet to send [14:08:34]OFD Sender: No OFD packet to send [14:08:39]OFD Sender: No OFD packet to send [14:08:44]OFD Sender: No OFD packet to send [14:08:49]OFD Sender: No OFD packet to send [14:08:54]OFD Sender: No OFD packet to send [14:08:59]OFD Sender: No OFD packet to send [14:09:04]OFD Sender: No OFD packet to send [14:09:05]accept exits with 9 [14:09:05]New connection [14:09:05]New thread 3066850660 created [14:09:05]Thread 3066707300 joined [14:09:05]Waiting for new connection... [14:09:05] Sock 9.Parse request [14:09:05]Sock 9.Check first char [14:09:05]Sock 9.First char is OK [14:09:05]request: POST /json_proto HTTP/1.0 [14:09:05]Method: POST [14:09:05]URL: /json_proto [14:09:05]Method is POST - this is cgi request [14:09:05]url: /json_proto [14:09:05]query_string will be loaded in cgi processing [14:09:05]execute_cgi json_proto POST (null) [14:09:05]execute_cgi path=json_proto method=POST [14:09:05]POST find Content-Length [14:09:05]Host: 172.17.52.132:8080 [14:09:05]Content-Length: 1755 [14:09:05]Content-Type: application/json [14:09:05] [14:09:05]POST finish read [14:09:05]Found Content-Length = 1755 [14:09:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99952", "tax_sys" : 0, "items" : [ { "code": "8683130060278", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 \u0417\u043E\u043B\u043E\u0442\u043E\u0439 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 \u0427\u0435\u0440\u043D\u0438\u043A\u0430 \u0441\u0442\u0430\u043A\u0430", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521247", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043F\u0435\u0440\u0441\u0438\u043A", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 513.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:09:05]execute_script... [14:09: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)99952", "tax_sys" : 0, "items" : [ { "code": "8683130060278", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 \u0417\u043E\u043B\u043E\u0442\u043E\u0439 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 \u0427\u0435\u0440\u043D\u0438\u043A\u0430 \u0441\u0442\u0430\u043A\u0430", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521247", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043F\u0435\u0440\u0441\u0438\u043A", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 513.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:09:05]POST & json_proto [14:09:05]process_json_proto [14:09:05]json parsed OK: [14:09:05]protocol is kg_v1.0 [14:09:05]action value=close_receipt [14:09:05]process_action close_receipt [14:09:05]cmd_close_receipt [14:09:05]MH_GetDate [14:09:05]Write to MH i2c: F0 00 00 8C 4B C6 [14:09:05]Write i2c OK [14:09:05]MH_I2C_Read... [14:09:05]Read from MH i2c: F0 [14:09:05]MH_I2C_Read... [14:09:05]Read from MH i2c: F0 09 00 [14:09:05]MH_I2C_Read... [14:09:05]Read from MH i2c: F0 09 00 8C 4B 00 8B BD 13 67 5A BE F6 66 05 [14:09:05]GetLastDocTimeStamp 1729346155 [14:09:05]current date 1729346955 [14:09:05]FM_GetShiftState [14:09:05]SAM_PROTO_GetShiftState [14:09:05]wFMCommunicate request_size=4 [14:09:05]MH_SAM_APDU [14:09:05]CAPDU: 80 13 01 00 [14:09:05]Write to MH i2c: E2 08 00 8D 4B 80 13 01 00 00 00 00 00 55 [14:09:05]Write i2c OK [14:09:05]MH_I2C_Read... [14:09:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:09:05]Read from MH i2c: E2 [14:09:05]MH_I2C_Read... [14:09:05]Read from MH i2c: E2 0E 00 [14:09:05]MH_I2C_Read... [14:09:05]Read from MH i2c: E2 0E 00 8D 4B 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 FE [14:09:05]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [14:09:05]wFMCommunicate OK [14:09:05]SAM_PROTO_GetShiftState done [14:09:05]FM_GetShiftState done [14:09:05]opened in 1729296173 [14:09:05]opened+sec_in_day 1729382573 [14:09:05]quantity*price = 19000 [14:09:05]sum+1 = 19001 [14:09:05]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870112003925 Конд ULKER-Albeni 40gr (6*24) 1.000 * 44.00 = 44.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 42069942 Жев Orbit White Fresh Mint 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202521247 Напиток MAXI чай 1,2 черн.персик 1.000 * 104.00 = 104.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 513.00 НСП 1% : 4.54 НДС 12% : 54.47 Наличными: 513.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 35 19.10.2024 14:09 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2574 ФПД: 279489905882517 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T140915&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2574&fm=279489905882517&tin=02508201610067®Number=0000000000207295&sum=51300 0 [14:09:06]StoreToDocumentArchive [14:09:06]shift 23 fd 2574 [14:09:06]save to /storage/0023/doc_00002574 [14:09:06]save last doc name /storage/0023/doc_00002574 to /storage/kkm_last_doc_name [14:09:06]save OK [14:09:06]Clear old archive folders... [14:09:06]ProcessDocumentItem done err = 0, tmpTLVsize=749 [14:09:06]tlvbuf is B6D8F550 [14:09:06]SAM_PROTO_ClearQueue [14:09:06]wFMCommunicate request_size=4 [14:09:06]MH_SAM_APDU [14:09:06]CAPDU: 80 09 00 00 [14:09:06]Write to MH i2c: E2 08 00 9A 4B 80 09 00 00 00 00 00 00 57 [14:09:06]Write i2c OK [14:09:06]MH_I2C_Read... [14:09:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:09:06]Read from MH i2c: E2 [14:09:06]MH_I2C_Read... [14:09:06]Read from MH i2c: E2 03 00 [14:09:06]MH_I2C_Read... [14:09:06]Read from MH i2c: E2 03 00 9A 4B 00 90 00 59 [14:09:06]RAPDU: 90 00 [14:09:06]wFMCommunicate OK [14:09:06]SAM_PROTO_ClearQueue done [14:09:06]KKMCreateOFDPacket [14:09:06]OFDProtocolAddRootSTLVToBuf [14:09:06]FM_MakeSignedData [14:09:06]FM_MakeSignedData [14:09:06]SAM_PROTO_SignData [14:09:06]wFMCommunicate request_size=4 [14:09:06]MH_SAM_APDU [14:09:06]CAPDU: 80 0D 01 02 [14:09:06]Write to MH i2c: E2 08 00 9B 4B 80 0D 01 02 00 00 00 00 5F [14:09:06]Write i2c OK [14:09:06]MH_I2C_Read... [14:09:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:09:07]Read from MH i2c: E2 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: E2 03 00 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: E2 03 00 9B 4B 00 90 00 5A [14:09:07]RAPDU: 90 00 [14:09:07]wFMCommunicate OK [14:09:07]wFMCommunicate request_size=255 [14:09:07]MH_SAM_APDU [14:09:07]CAPDU: 80 0D 02 02 FA 03 00 ED 02 1E 04 01 00 01 23 04 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 36 30 32 37 38 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 A7 D0 B5 D1 80 D0 BD D0 B8 D0 BA D0 B0 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 [14:09:07]Write to MH i2c: E2 02 01 9C 4B 80 0D 02 02 FA 00 03 00 ED 02 1E 04 01 00 01 23 04 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 36 30 32 37 38 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 A7 D0 B5 D1 80 D0 BD D0 B8 D0 BA D0 B0 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 00 00 CF [14:09:07]Write i2c OK [14:09:07]MH_I2C_Read... [14:09:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:09:07]Read from MH i2c: E2 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: E2 03 00 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: E2 03 00 9C 4B 00 90 00 5B [14:09:07]RAPDU: 90 00 [14:09:07]wFMCommunicate OK [14:09:07]wFMCommunicate request_size=255 [14:09:07]MH_SAM_APDU [14:09:07]CAPDU: 80 0D 02 02 FA 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 [14:09:07]Write to MH i2c: E2 02 01 9D 4B 80 0D 02 02 FA 00 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 00 00 37 [14:09:07]Write i2c OK [14:09:07]MH_I2C_Read... [14:09:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:09:07]Read from MH i2c: E2 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: E2 03 00 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: E2 03 00 9D 4B 00 90 00 5C [14:09:07]RAPDU: 90 00 [14:09:07]wFMCommunicate OK [14:09:07]wFMCommunicate request_size=255 [14:09:07]MH_SAM_APDU [14:09:07]CAPDU: 80 0D 02 02 FA BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 64 C8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 15 00 00 00 00 07 04 06 00 64 C8 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 BD 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0E 0A 00 00 35 04 06 00 FE 31 D0 [14:09:07]Write to MH i2c: E2 02 01 9E 4B 80 0D 02 02 FA 00 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 64 C8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 15 00 00 00 00 07 04 06 00 64 C8 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 BD 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0E 0A 00 00 35 04 06 00 FE 31 D0 00 00 50 [14:09:07]Write i2c OK [14:09:07]MH_I2C_Read... [14:09:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:09:07]Read from MH i2c: E2 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: E2 03 00 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: E2 03 00 9E 4B 00 90 00 5D [14:09:07]RAPDU: 90 00 [14:09:07]wFMCommunicate OK [14:09:07]wFMCommunicate request_size=8 [14:09:07]MH_SAM_APDU [14:09:07]CAPDU: 80 0D 02 02 03 8E F5 95 [14:09:07]Write to MH i2c: E2 0B 00 9F 4B 80 0D 02 02 03 00 8E F5 95 00 00 82 [14:09:07]Write i2c OK [14:09:07]MH_I2C_Read... [14:09:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:09:07]Read from MH i2c: E2 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: E2 03 00 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: E2 03 00 9F 4B 00 90 00 5E [14:09:07]RAPDU: 90 00 [14:09:07]wFMCommunicate OK [14:09:07]wFMCommunicate request_size=4 [14:09:07]MH_SAM_APDU [14:09:07]CAPDU: 80 0D 03 02 [14:09:07]Write to MH i2c: E2 08 00 A0 4B 80 0D 03 02 00 00 00 00 66 [14:09:07]Write i2c OK [14:09:07]MH_I2C_Read... [14:09:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:09:07]Read from MH i2c: E2 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: E2 0B 00 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: E2 0B 00 A0 4B 00 4E 9B 48 28 88 C6 0C 31 90 00 4B [14:09:07]RAPDU: 4E 9B 48 28 88 C6 0C 31 90 00 [14:09:07]wFMCommunicate OK [14:09:07]SAM_PROTO_SignData done [14:09:07]FM_MakeSignedData done [14:09:07]CreateOFDProtocolMessage [14:09:07]wFMCommunicate request_size=4 [14:09:07]MH_SAM_APDU [14:09:07]CAPDU: 80 11 00 00 [14:09:07]Write to MH i2c: E2 08 00 A1 4B 80 11 00 00 00 00 00 00 66 [14:09:07]Write i2c OK [14:09:07]MH_I2C_Read... [14:09:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:09:07]Read from MH i2c: E2 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: E2 17 00 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: E2 17 00 A1 4B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 AE [14:09:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [14:09:07]wFMCommunicate OK [14:09:07]CreateOFDProtocolMessage done [14:09:07]OFDSenderStorePacket 2574 [14:09:07]StoreOFDPacket docnum=2574 [14:09:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 01 03 00 00 8B B3 F9 02 56 32 5A 03 01 00 03 00 ED 02 1E 04 01 00 01 23 04 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 36 30 32 37 38 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 A7 D0 B5 D1 80 D0 BD D0 B8 D0 BA D0 B0 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 64 C8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 15 00 00 00 00 07 04 06 00 64 C8 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 BD 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0E 0A 00 00 35 04 06 00 FE 31 D0 8E F5 95 4E 9B 48 28 88 C6 0C 31 [14:09:07]CheckFolder [14:09:07]dirname=/storage/ofd_packets [14:09:07]CheckFolder done [14:09:07]ProducePacketName [14:09:07]name=ofd_packets/00002574 [14:09:07]NVStorageSaveData ofd_packets/00002574 [14:09:07]File name is /storage/ofd_packets/00002574 [14:09:07]Write 799 bytes [14:09:07]NVStorageSaveData done [14:09:07]OFDSenderStorePacket done [14:09:07]KKMCreateOFDPacket done [14:09:07]NVStorageSaveData kkm_last_timestamp [14:09:07]File name is /storage/kkm_last_timestamp [14:09:07]Write 4 bytes [14:09:07]NVStorageSaveData done [14:09:07]ExternCall_PrintAddStr [14:09:07]wPrintStart [14:09:07]Write to MH i2c: 01 00 00 A2 4B ED [14:09:07]Write i2c OK [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: 01 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: 01 07 00 [14:09:07]MH_I2C_Read... [14:09:07]Read from MH i2c: 01 07 00 A2 4B 00 00 00 00 00 FF 0F 02 [14:09:07]RasterBufferAndPrint [14:09:07]line Счет N : (3)99952 [14:09:07]line ИНН: 02508201610067 [14:09:07]line Контрольно-Кассовый Чек [14:09:07]line ПРОДАЖА [14:09:07]line Товар: 8683130060278 [14:09:07]line Мороженое Золотой Стандарт Черника стака [14:09:07]line 2.000 * 95.00 [14:09:07]line = 190.00 [14:09:07]line НДС 12% НСП 1% [14:09:07]line > о реализуемом товаре [14:09:07]line Товар: 2000036230011 [14:09:07]line Кофе Латте XL(GABB TRADE) [14:09:07]line 1.000 * 130.00 [14:09:07]line = 130.00 [14:09:07]line НДС 12% НСП 1% [14:09:07]line > о реализуемом товаре [14:09:07]line Товар: 4870112003925 [14:09:07]line Конд ULKER-Albeni 40gr (6*24) [14:09:07]line 1.000 * 44.00 [14:09:07]line = 44.00 [14:09:07]line НДС 12% НСП 1% [14:09:07]line > о реализуемом товаре [14:09:08]line Товар: 42069942 [14:09:08]line Жев Orbit White Fresh Mint [14:09:08]line 1.000 * 45.00 [14:09:08]line = 45.00 [14:09:08]line НДС 12% НСП 1% [14:09:08]line > о реализуемом товаре [14:09:08]line Товар: 4870202521247 [14:09:08]line Напиток MAXI чай 1,2 черн.персик [14:09:08]line 1.000 * 104.00 [14:09:08]line = 104.00 [14:09:08]line НДС 12% НСП 1% [14:09:08]line > о реализуемом товаре [14:09:08]line ИТОГО: 513.00 [14:09:08]line НСП 1% : 4.54 [14:09:08]line НДС 12% : 54.47 [14:09:08]line Наличными: 513.00 [14:09:08]line Безнал.: 0.00 [14:09:08]line Место: АЗС № 162 "Партнер Нефть" [14:09:08]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [14:09:08]line СНО: Общий режим [14:09:08]line Чек 35 19.10.2024 14:09 [14:09:08]line Смена: 23 ФФД: 1.0 [14:09:08]line ЗНМ: 0300000191 [14:09:08]line РНМ: 0000000000207295 [14:09:08]line Версия ККМ: v1.0 [14:09:08]line ФМ: 0000000002342820 [14:09:08]line ФД: 2574 [14:09:08]line ФПД: 279489905882517 [14:09:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T140915&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2574&fm=279489905882517&tin=02508201610067®Number=0000000000207295&sum=51300 [14:09:08]line 0 [14:09:08]OFD Sender: Processing packet 2574 [packets to send 1, broken 0] [14:09:08]ProducePacketName [14:09:08]name=ofd_packets/00002574 [14:09:08]OFD Sender: To server: pG, [14:09:08]CommunicateWithHost lk.salyk.kg:30040 [14:09:08]ConnectInit lk.salyk.kg [14:09:08]written 0, free lines is 4095 [14:09:08]Connected sock=10 [14:09:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 01 03 00 00 8B B3 F9 02 56 32 5A 03 01 00 03 00 ED 02 1E 04 01 00 01 23 04 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 36 30 32 37 38 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 A7 D0 B5 D1 80 D0 BD D0 B8 D0 BA D0 B0 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 64 C8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 15 00 00 00 00 07 04 06 00 64 C8 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 BD 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0E 0A 00 00 35 04 06 00 FE 31 D0 8E F5 95 4E 9B 48 28 88 C6 0C 31 [14:09:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 F5 FB 47 00 86 D1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0E 0A 00 00 F4 03 04 00 EC 68 13 67 B6 04 01 00 00 A5 BF E7 FC 02 62 26 5D [14:09:08]CommunicateWithHost err = 0 [14:09:08]CheckOFDResponse [14:09:08]1017 (14) - 77093643461234 [14:09:08]1041 (16) - 0000000002342820 [14:09:08]1040 (4) - 2574 [14:09:08]1012 (4) - 19.10.2024 08:08 [14:09:08]1206 (1) - 0 [14:09:08]OFD Sender: Remove packet 2574 [14:09:08]ProducePacketName [14:09:08]name=ofd_packets/00002574 [14:09:08]NVStorageDeleteData [14:09:09]Write to MH i2c: 01 00 00 E4 4B 2F [14:09:09]Write i2c OK [14:09:09]MH_I2C_Read... [14:09:09]Read from MH i2c: 01 [14:09:09]MH_I2C_Read... [14:09:09]Read from MH i2c: 01 07 00 [14:09:09]MH_I2C_Read... [14:09:09]Read from MH i2c: 01 07 00 E4 4B 00 00 00 00 00 F8 0A 38 [14:09:09]RasterBufferAndPrint [14:09:09]line [14:09:09]line [14:09:09]line [14:09:09]line [14:09:09]line [14:09:09]written 0, free lines is 2818 [14:09:09]MH_Cut [14:09:09]Write to MH i2c: D1 01 00 EB 4B 01 08 [14:09:09]Write i2c OK [14:09:09]MH_I2C_Read... [14:09:09]Read from MH i2c: D1 [14:09:09]MH_I2C_Read... [14:09:09]Read from MH i2c: D1 01 00 [14:09:09]MH_I2C_Read... [14:09:09]Read from MH i2c: D1 01 00 EB 4B 00 07 [14:09:09]Write to MH i2c: 01 00 00 EC 4B 37 [14:09:09]Write i2c OK [14:09:09]MH_I2C_Read... [14:09:09]OFD Sender: No OFD packet to send [14:09:10]*** Cut start [14:09:10]*** Partial cut [14:09:10]*** CUTSNS_PIN = 1 [14:09:10]*** CUTSNS_PIN = 0 [14:09:10]*** Brake cut motor [14:09:10]Read from MH i2c: 01 [14:09:10]MH_I2C_Read... [14:09:10]*** Stop cut motor [14:09:10]*** Cut end [14:09:10]Read from MH i2c: 01 07 00 [14:09:10]MH_I2C_Read... [14:09:10]Read from MH i2c: 01 07 00 EC 4B 00 00 00 00 00 FF 0F 4C [14:09:10]process_action close_receipt done [14:09:10]requested_data is exist [14:09:10]produce_requested_data [14:09:10]requested_item fm.sn is exist - process it [14:09:10]wFMCommunicate request_size=4 [14:09:10]MH_SAM_APDU [14:09:10]CAPDU: 80 11 00 00 [14:09:10]Write to MH i2c: E2 08 00 ED 4B 80 11 00 00 00 00 00 00 B2 [14:09:10]Write i2c OK [14:09:10]MH_I2C_Read... [14:09:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:09:11]Read from MH i2c: E2 [14:09:11]MH_I2C_Read... [14:09:11]Read from MH i2c: E2 17 00 [14:09:11]MH_I2C_Read... [14:09:11]Read from MH i2c: E2 17 00 ED 4B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 FA [14:09:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [14:09:11]wFMCommunicate OK [14:09:11]requested_item fd.num is exist - process it [14:09:11]SAM_PROTO_GetFieldsCounters [14:09:11]wFMCommunicate request_size=4 [14:09:11]MH_SAM_APDU [14:09:11]CAPDU: 80 13 00 00 [14:09:11]Write to MH i2c: E2 08 00 EE 4B 80 13 00 00 00 00 00 00 B5 [14:09:11]Write i2c OK [14:09:11]MH_I2C_Read... [14:09:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:09:11]Read from MH i2c: E2 [14:09:11]MH_I2C_Read... [14:09:11]Read from MH i2c: E2 62 00 [14:09:11]MH_I2C_Read... [14:09:11]Read from MH i2c: E2 62 00 EE 4B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 0E 0A 00 00 0E 04 04 00 17 00 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 63 [14:09:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 0E 0A 00 00 0E 04 04 00 17 00 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 [14:09:11]wFMCommunicate OK [14:09:11]SAM_PROTO_GetFieldsCounters done [14:09:11]requested_item shift.num is exist - process it [14:09:11]requested_item shift.opened is exist - process it [14:09:11]req_shift_opened [14:09:11]FM_GetShiftState [14:09:11]SAM_PROTO_GetShiftState [14:09:11]wFMCommunicate request_size=4 [14:09:11]MH_SAM_APDU [14:09:11]CAPDU: 80 13 01 00 [14:09:11]Write to MH i2c: E2 08 00 EF 4B 80 13 01 00 00 00 00 00 B7 [14:09:11]Write i2c OK [14:09:11]MH_I2C_Read... [14:09:11]Read from MH i2c: E2 [14:09:11]MH_I2C_Read... [14:09:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:09:11]Read from MH i2c: E2 0E 00 [14:09:11]MH_I2C_Read... [14:09:11]Read from MH i2c: E2 0E 00 EF 4B 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 60 [14:09:11]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [14:09:11]wFMCommunicate OK [14:09:11]SAM_PROTO_GetShiftState done [14:09:11]FM_GetShiftState done [14:09:11]req_shift_opened done [14:09:11]requested_item shift.open_date is exist - process it [14:09:11]req_shift_open_date [14:09:11]req_shift_open_date done [14:09:11]produce_requested_data done [14:09:11]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2574,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [14:09:11]process_action_free close_receipt [14:09:11]json_value_free [14:09:11]json_value_free done [14:09:11]process_json_proto returns [14:09:11]Send response to host [14:09:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2574,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [14:09:11]free response buf [14:09:11]execute_script done [14:09:11]execute_script returns [14:09:11]free content buf [14:09:11]Sock 9.Close socket [14:09:11]Sock 9.Thread stoped [14:09:14]OFD Sender: No OFD packet to send [14:09:19]OFD Sender: No OFD packet to send [14:09:24]OFD Sender: No OFD packet to send [14:09:29]OFD Sender: No OFD packet to send [14:09:34]OFD Sender: No OFD packet to send [14:09:39]OFD Sender: No OFD packet to send [14:09:44]OFD Sender: No OFD packet to send [14:09:49]OFD Sender: No OFD packet to send [14:09:54]OFD Sender: No OFD packet to send [14:09:59]OFD Sender: No OFD packet to send [14:10:04]OFD Sender: No OFD packet to send [14:10:09]OFD Sender: No OFD packet to send [14:10:14]OFD Sender: No OFD packet to send [14:10:19]OFD Sender: No OFD packet to send [14:10:24]OFD Sender: No OFD packet to send [14:10:29]OFD Sender: No OFD packet to send [14:10:34]OFD Sender: No OFD packet to send [14:10:39]OFD Sender: No OFD packet to send [14:10:44]OFD Sender: No OFD packet to send [14:10:49]OFD Sender: No OFD packet to send [14:10:54]OFD Sender: No OFD packet to send [14:10:59]OFD Sender: No OFD packet to send [14:11:04]OFD Sender: No OFD packet to send [14:11:09]OFD Sender: No OFD packet to send [14:11:14]OFD Sender: No OFD packet to send [14:11:19]OFD Sender: No OFD packet to send [14:11:24]OFD Sender: No OFD packet to send [14:11:29]OFD Sender: No OFD packet to send [14:11:34]OFD Sender: No OFD packet to send [14:11:39]OFD Sender: No OFD packet to send [14:11:44]OFD Sender: No OFD packet to send [14:11:49]OFD Sender: No OFD packet to send [14:11:54]OFD Sender: No OFD packet to send [14:11:59]OFD Sender: No OFD packet to send [14:12:04]OFD Sender: No OFD packet to send [14:12:09]OFD Sender: No OFD packet to send [14:12:14]OFD Sender: No OFD packet to send [14:12:19]OFD Sender: No OFD packet to send [14:12:24]OFD Sender: No OFD packet to send [14:12:29]OFD Sender: No OFD packet to send [14:12:34]OFD Sender: No OFD packet to send [14:12:39]OFD Sender: No OFD packet to send [14:12:44]OFD Sender: No OFD packet to send [14:12:49]OFD Sender: No OFD packet to send [14:12:54]OFD Sender: No OFD packet to send [14:12:59]OFD Sender: No OFD packet to send [14:13:04]OFD Sender: No OFD packet to send [14:13:09]OFD Sender: No OFD packet to send [14:13:14]OFD Sender: No OFD packet to send [14:13:19]OFD Sender: No OFD packet to send [14:13:24]OFD Sender: No OFD packet to send [14:13:29]OFD Sender: No OFD packet to send [14:13:34]OFD Sender: No OFD packet to send [14:13:39]OFD Sender: No OFD packet to send [14:13:44]OFD Sender: No OFD packet to send [14:13:49]OFD Sender: No OFD packet to send [14:13:54]OFD Sender: No OFD packet to send [14:13:59]OFD Sender: No OFD packet to send [14:14:04]OFD Sender: No OFD packet to send [14:14:09]OFD Sender: No OFD packet to send [14:14:14]OFD Sender: No OFD packet to send [14:14:19]OFD Sender: No OFD packet to send [14:14:24]OFD Sender: No OFD packet to send [14:14:29]OFD Sender: No OFD packet to send [14:14:34]OFD Sender: No OFD packet to send [14:14:39]OFD Sender: No OFD packet to send [14:14:44]OFD Sender: No OFD packet to send [14:14:49]OFD Sender: No OFD packet to send [14:14:54]OFD Sender: No OFD packet to send [14:14:59]OFD Sender: No OFD packet to send [14:15:04]OFD Sender: No OFD packet to send [14:15:09]OFD Sender: No OFD packet to send [14:15:14]OFD Sender: No OFD packet to send [14:15:19]OFD Sender: No OFD packet to send [14:15:24]OFD Sender: No OFD packet to send [14:15:29]OFD Sender: No OFD packet to send [14:15:34]OFD Sender: No OFD packet to send [14:15:39]OFD Sender: No OFD packet to send [14:15:44]OFD Sender: No OFD packet to send [14:15:49]OFD Sender: No OFD packet to send [14:15:54]OFD Sender: No OFD packet to send [14:15:59]OFD Sender: No OFD packet to send [14:16:04]OFD Sender: No OFD packet to send [14:16:09]OFD Sender: No OFD packet to send [14:16:14]OFD Sender: No OFD packet to send [14:16:19]OFD Sender: No OFD packet to send [14:16:24]OFD Sender: No OFD packet to send [14:16:29]OFD Sender: No OFD packet to send [14:16:34]OFD Sender: No OFD packet to send [14:16:39]OFD Sender: No OFD packet to send [14:16:44]OFD Sender: No OFD packet to send [14:16:49]OFD Sender: No OFD packet to send [14:16:54]OFD Sender: No OFD packet to send [14:16:59]OFD Sender: No OFD packet to send [14:17:04]OFD Sender: No OFD packet to send [14:17:09]OFD Sender: No OFD packet to send [14:17:14]OFD Sender: No OFD packet to send [14:17:19]OFD Sender: No OFD packet to send [14:17:24]OFD Sender: No OFD packet to send [14:17:29]OFD Sender: No OFD packet to send [14:17:34]OFD Sender: No OFD packet to send [14:17:39]OFD Sender: No OFD packet to send [14:17:44]OFD Sender: No OFD packet to send [14:17:49]OFD Sender: No OFD packet to send [14:17:54]OFD Sender: No OFD packet to send [14:17:59]OFD Sender: No OFD packet to send [14:18:04]OFD Sender: No OFD packet to send [14:18:09]OFD Sender: No OFD packet to send [14:18:14]OFD Sender: No OFD packet to send [14:18:19]OFD Sender: No OFD packet to send [14:18:24]OFD Sender: No OFD packet to send [14:18:29]OFD Sender: No OFD packet to send [14:18:34]OFD Sender: No OFD packet to send [14:18:39]OFD Sender: No OFD packet to send [14:18:44]OFD Sender: No OFD packet to send [14:18:49]OFD Sender: No OFD packet to send [14:18:54]OFD Sender: No OFD packet to send [14:18:59]OFD Sender: No OFD packet to send [14:19:04]OFD Sender: No OFD packet to send [14:19:09]OFD Sender: No OFD packet to send [14:19:14]OFD Sender: No OFD packet to send [14:19:19]OFD Sender: No OFD packet to send [14:19:24]OFD Sender: No OFD packet to send [14:19:29]OFD Sender: No OFD packet to send [14:19:34]OFD Sender: No OFD packet to send [14:19:39]OFD Sender: No OFD packet to send [14:19:44]OFD Sender: No OFD packet to send [14:19:49]OFD Sender: No OFD packet to send [14:19:54]OFD Sender: No OFD packet to send [14:19: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:35]accept exits with 7 [14:21:35]New connection [14:21:35]New thread 3066707300 created [14:21:35]Thread 3066850660 joined [14:21:35]Waiting for new connection... [14:21:35] Sock 7.Parse request [14:21:35]Sock 7.Check first char [14:21:35]Sock 7.First char is OK [14:21:35]request: POST /json_proto HTTP/1.0 [14:21:35]Method: POST [14:21:35]URL: /json_proto [14:21:35]Method is POST - this is cgi request [14:21:35]url: /json_proto [14:21:35]query_string will be loaded in cgi processing [14:21:35]execute_cgi json_proto POST (null) [14:21:35]execute_cgi path=json_proto method=POST [14:21:35]POST find Content-Length [14:21:35]Host: 172.17.52.132:8080 [14:21:35]Content-Length: 667 [14:21:35]Content-Type: application/json [14:21:35] [14:21:35]POST finish read [14:21:35]Found Content-Length = 667 [14:21:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99953", "tax_sys" : 0, "items" : [ { "code": "4607010740191", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0441\u0430\u043B\u044F\u043C\u0438 40\u0433", "price" : 21.00, "quantity" : 1.000, "sum" : 21.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 21.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:21:35]execute_script... [14:21:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99953", "tax_sys" : 0, "items" : [ { "code": "4607010740191", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0441\u0430\u043B\u044F\u043C\u0438 40\u0433", "price" : 21.00, "quantity" : 1.000, "sum" : 21.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 21.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:21:35]POST & json_proto [14:21:35]process_json_proto [14:21:35]json parsed OK: [14:21:35]protocol is kg_v1.0 [14:21:35]action value=close_receipt [14:21:35]process_action close_receipt [14:21:35]cmd_close_receipt [14:21:35]MH_GetDate [14:21:35]Write to MH i2c: F0 00 00 F0 4B 2A [14:21:35]Write i2c OK [14:21:35]MH_I2C_Read... [14:21:35]Read from MH i2c: F0 [14:21:35]MH_I2C_Read... [14:21:35]Read from MH i2c: F0 09 00 [14:21:35]MH_I2C_Read... [14:21:35]Read from MH i2c: F0 09 00 F0 4B 00 79 C0 13 67 5A BE F6 66 5A [14:21:35]GetLastDocTimeStamp 1729346955 [14:21:35]current date 1729347705 [14:21:35]FM_GetShiftState [14:21:35]SAM_PROTO_GetShiftState [14:21:35]wFMCommunicate request_size=4 [14:21:35]MH_SAM_APDU [14:21:35]CAPDU: 80 13 01 00 [14:21:35]Write to MH i2c: E2 08 00 F1 4B 80 13 01 00 00 00 00 00 B9 [14:21:35]Write i2c OK [14:21:35]MH_I2C_Read... [14:21:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:21:35]Read from MH i2c: E2 [14:21:35]MH_I2C_Read... [14:21:35]Read from MH i2c: E2 0E 00 [14:21:35]MH_I2C_Read... [14:21:35]Read from MH i2c: E2 0E 00 F1 4B 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 62 [14:21:35]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [14:21:35]wFMCommunicate OK [14:21:35]SAM_PROTO_GetShiftState done [14:21:35]FM_GetShiftState done [14:21:35]opened in 1729296173 [14:21:35]opened+sec_in_day 1729382573 [14:21:35]quantity*price = 2100 [14:21:35]sum+1 = 2101 [14:21:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 21.00 НСП 1% : 0.19 НДС 12% : 2.23 Наличными: 21.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 36 19.10.2024 14:21 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2575 ФПД: 11397366647635 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T142145&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2575&fm=11397366647635&tin=02508201610067®Number=0000000000207295&sum=2100 0 [14:21:36]StoreToDocumentArchive [14:21:36]shift 23 fd 2575 [14:21:36]save to /storage/0023/doc_00002575 [14:21:36]save last doc name /storage/0023/doc_00002575 to /storage/kkm_last_doc_name [14:21:36]save OK [14:21:36]Clear old archive folders... [14:21:36]ProcessDocumentItem done err = 0, tmpTLVsize=283 [14:21:36]tlvbuf is 01416150 [14:21:36]SAM_PROTO_ClearQueue [14:21:36]wFMCommunicate request_size=4 [14:21:36]MH_SAM_APDU [14:21:36]CAPDU: 80 09 00 00 [14:21:36]Write to MH i2c: E2 08 00 FE 4B 80 09 00 00 00 00 00 00 BB [14:21:36]Write i2c OK [14:21:36]MH_I2C_Read... [14:21:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:21:36]Read from MH i2c: E2 [14:21:36]MH_I2C_Read... [14:21:36]Read from MH i2c: E2 03 00 [14:21:36]MH_I2C_Read... [14:21:36]Read from MH i2c: E2 03 00 FE 4B 00 90 00 BD [14:21:36]RAPDU: 90 00 [14:21:36]wFMCommunicate OK [14:21:36]SAM_PROTO_ClearQueue done [14:21:36]KKMCreateOFDPacket [14:21:36]OFDProtocolAddRootSTLVToBuf [14:21:36]FM_MakeSignedData [14:21:36]FM_MakeSignedData [14:21:36]SAM_PROTO_SignData [14:21:36]wFMCommunicate request_size=4 [14:21:36]MH_SAM_APDU [14:21:36]CAPDU: 80 0D 01 02 [14:21:36]Write to MH i2c: E2 08 00 FF 4B 80 0D 01 02 00 00 00 00 C3 [14:21:36]Write i2c OK [14:21:36]MH_I2C_Read... [14:21:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:21:36]Read from MH i2c: E2 [14:21:36]MH_I2C_Read... [14:21:36]Read from MH i2c: E2 03 00 [14:21:36]MH_I2C_Read... [14:21:36]Read from MH i2c: E2 03 00 FF 4B 00 90 00 BE [14:21:36]RAPDU: 90 00 [14:21:36]wFMCommunicate OK [14:21:36]wFMCommunicate request_size=255 [14:21:36]MH_SAM_APDU [14:21:36]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 31 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 34 08 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 79 C0 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 [14:21:36]Write to MH i2c: E2 02 01 00 4C 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 31 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 34 08 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 79 C0 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 00 00 77 [14:21:36]Write i2c OK [14:21:36]MH_I2C_Read... [14:21:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:21:37]Read from MH i2c: E2 [14:21:37]MH_I2C_Read... [14:21:37]Read from MH i2c: E2 03 00 [14:21:37]MH_I2C_Read... [14:21:37]Read from MH i2c: E2 03 00 00 4C 00 90 00 C0 [14:21:37]RAPDU: 90 00 [14:21:37]wFMCommunicate OK [14:21:37]wFMCommunicate request_size=42 [14:21:37]MH_SAM_APDU [14:21:37]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0F 0A 00 00 35 04 06 00 0A 5D A7 FD 8B 53 [14:21:37]Write to MH i2c: E2 2D 00 01 4C 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0F 0A 00 00 35 04 06 00 0A 5D A7 FD 8B 53 00 00 93 [14:21:37]Write i2c OK [14:21:37]MH_I2C_Read... [14:21:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:21:37]Read from MH i2c: E2 [14:21:37]MH_I2C_Read... [14:21:37]Read from MH i2c: E2 03 00 [14:21:37]MH_I2C_Read... [14:21:37]Read from MH i2c: E2 03 00 01 4C 00 90 00 C1 [14:21:37]RAPDU: 90 00 [14:21:37]wFMCommunicate OK [14:21:37]wFMCommunicate request_size=4 [14:21:37]MH_SAM_APDU [14:21:37]CAPDU: 80 0D 03 02 [14:21:37]Write to MH i2c: E2 08 00 02 4C 80 0D 03 02 00 00 00 00 C9 [14:21:37]Write i2c OK [14:21:37]MH_I2C_Read... [14:21:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:21:37]Read from MH i2c: E2 [14:21:37]MH_I2C_Read... [14:21:37]Read from MH i2c: E2 0B 00 [14:21:37]MH_I2C_Read... [14:21:37]Read from MH i2c: E2 0B 00 02 4C 00 B6 C5 56 63 73 E0 CE 91 90 00 B0 [14:21:37]RAPDU: B6 C5 56 63 73 E0 CE 91 90 00 [14:21:37]wFMCommunicate OK [14:21:37]SAM_PROTO_SignData done [14:21:37]FM_MakeSignedData done [14:21:37]CreateOFDProtocolMessage [14:21:37]wFMCommunicate request_size=4 [14:21:37]MH_SAM_APDU [14:21:37]CAPDU: 80 11 00 00 [14:21:37]Write to MH i2c: E2 08 00 03 4C 80 11 00 00 00 00 00 00 C9 [14:21:37]Write i2c OK [14:21:37]MH_I2C_Read... [14:21:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:21:37]Read from MH i2c: E2 [14:21:37]MH_I2C_Read... [14:21:37]Read from MH i2c: E2 17 00 [14:21:37]MH_I2C_Read... [14:21:37]Read from MH i2c: E2 17 00 03 4C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 11 [14:21:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [14:21:37]wFMCommunicate OK [14:21:37]CreateOFDProtocolMessage done [14:21:37]OFDSenderStorePacket 2575 [14:21:37]StoreOFDPacket docnum=2575 [14:21:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2F 01 00 00 71 81 27 01 45 11 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 31 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 34 08 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 79 C0 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0F 0A 00 00 35 04 06 00 0A 5D A7 FD 8B 53 B6 C5 56 63 73 E0 CE 91 [14:21:37]CheckFolder [14:21:37]dirname=/storage/ofd_packets [14:21:37]CheckFolder done [14:21:37]ProducePacketName [14:21:37]name=ofd_packets/00002575 [14:21:37]NVStorageSaveData ofd_packets/00002575 [14:21:37]File name is /storage/ofd_packets/00002575 [14:21:37]Write 333 bytes [14:21:37]NVStorageSaveData done [14:21:37]OFDSenderStorePacket done [14:21:37]KKMCreateOFDPacket done [14:21:37]NVStorageSaveData kkm_last_timestamp [14:21:37]File name is /storage/kkm_last_timestamp [14:21:37]Write 4 bytes [14:21:37]NVStorageSaveData done [14:21:37]ExternCall_PrintAddStr [14:21:37]wPrintStart [14:21:37]Write to MH i2c: 01 00 00 04 4C 50 [14:21:37]Write i2c OK [14:21:37]MH_I2C_Read... [14:21:37]Read from MH i2c: 01 [14:21:37]MH_I2C_Read... [14:21:37]Read from MH i2c: 01 07 00 [14:21:37]MH_I2C_Read... [14:21:37]Read from MH i2c: 01 07 00 04 4C 00 00 00 00 00 FF 0F 65 [14:21:37]RasterBufferAndPrint [14:21:37]line Счет N : (3)99953 [14:21:37]line ИНН: 02508201610067 [14:21:37]line Контрольно-Кассовый Чек [14:21:37]line ПРОДАЖА [14:21:37]line Товар: 4607010740191 [14:21:37]line Сух Кириешки салями 40г [14:21:37]line 1.000 * 21.00 [14:21:37]line = 21.00 [14:21:37]line НДС 12% НСП 1% [14:21:37]line > о реализуемом товаре [14:21:37]line ИТОГО: 21.00 [14:21:37]line НСП 1% : 0.19 [14:21:37]line НДС 12% : 2.23 [14:21:37]line Наличными: 21.00 [14:21:37]line Безнал.: 0.00 [14:21:37]line Место: АЗС № 162 "Партнер Нефть" [14:21:37]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [14:21:37]line СНО: Общий режим [14:21:37]line Чек 36 19.10.2024 14:21 [14:21:37]line Смена: 23 ФФД: 1.0 [14:21:37]line ЗНМ: 0300000191 [14:21:37]line РНМ: 0000000000207295 [14:21:37]line Версия ККМ: v1.0 [14:21:37]line ФМ: 0000000002342820 [14:21:37]line ФД: 2575 [14:21:37]line ФПД: 11397366647635 [14:21:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T142145&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2575&fm=11397366647635&tin=02508201610067®Number=0000000000207295&sum=2100 [14:21:37]line 0 [14:21:37]OFD Sender: Processing packet 2575 [packets to send 1, broken 0] [14:21:37]ProducePacketName [14:21:37]name=ofd_packets/00002575 [14:21:37]OFD Sender: To server: pG, [14:21:37]CommunicateWithHost lk.salyk.kg:30040 [14:21:37]ConnectInit lk.salyk.kg [14:21:37]written 0, free lines is 4095 [14:21:37]Connected sock=10 [14:21:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2F 01 00 00 71 81 27 01 45 11 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 31 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 34 08 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 79 C0 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 0F 0A 00 00 35 04 06 00 0A 5D A7 FD 8B 53 B6 C5 56 63 73 E0 CE 91 [14:21:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 54 A0 47 00 52 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 32 33 34 32 38 32 30 10 04 04 00 0F 0A 00 00 F4 03 04 00 DA 6B 13 67 B6 04 01 00 00 42 F1 62 B6 6A 1E F2 65 [14:21:37]CommunicateWithHost err = 0 [14:21:37]CheckOFDResponse [14:21:37]1017 (14) - 77093643461234 [14:21:37]1041 (16) - 0000000002342820 [14:21:37]1040 (4) - 2575 [14:21:37]1012 (4) - 19.10.2024 08:20 [14:21:37]1206 (1) - 0 [14:21:37]OFD Sender: Remove packet 2575 [14:21:37]ProducePacketName [14:21:37]name=ofd_packets/00002575 [14:21:37]NVStorageDeleteData [14:21:37]Write to MH i2c: 01 00 00 2C 4C 78 [14:21:37]Write i2c OK [14:21:37]MH_I2C_Read... [14:21:37]Read from MH i2c: 01 [14:21:37]MH_I2C_Read... [14:21:37]Read from MH i2c: 01 07 00 [14:21:37]MH_I2C_Read... [14:21:37]Read from MH i2c: 01 07 00 2C 4C 00 00 00 00 00 C0 0C 4B [14:21:37]RasterBufferAndPrint [14:21:37]line [14:21:37]line [14:21:37]line [14:21:37]line [14:21:37]line [14:21:37]written 0, free lines is 3269 [14:21:38]MH_Cut [14:21:38]Write to MH i2c: D1 01 00 33 4C 01 51 [14:21:38]Write i2c OK [14:21:38]MH_I2C_Read... [14:21:38]Read from MH i2c: D1 [14:21:38]MH_I2C_Read... [14:21:38]Read from MH i2c: D1 01 00 [14:21:38]MH_I2C_Read... [14:21:38]Read from MH i2c: D1 01 00 33 4C 00 50 [14:21:38]Write to MH i2c: 01 00 00 34 4C 80 [14:21:38]Write i2c OK [14:21:38]MH_I2C_Read... [14:21:38]OFD Sender: No OFD packet to send [14:21:38]*** Cut start [14:21:38]*** Partial cut [14:21:38]*** CUTSNS_PIN = 1 [14:21:38]*** CUTSNS_PIN = 0 [14:21:39]*** Brake cut motor [14:21:39]Read from MH i2c: 01 [14:21:39]MH_I2C_Read... [14:21:39]*** Stop cut motor [14:21:39]*** Cut end [14:21:39]Read from MH i2c: 01 07 00 [14:21:39]MH_I2C_Read... [14:21:39]Read from MH i2c: 01 07 00 34 4C 00 00 00 00 00 FF 0F 95 [14:21:39]process_action close_receipt done [14:21:39]requested_data is exist [14:21:39]produce_requested_data [14:21:39]requested_item fm.sn is exist - process it [14:21:39]wFMCommunicate request_size=4 [14:21:39]MH_SAM_APDU [14:21:39]CAPDU: 80 11 00 00 [14:21:39]Write to MH i2c: E2 08 00 35 4C 80 11 00 00 00 00 00 00 FB [14:21:39]Write i2c OK [14:21:39]MH_I2C_Read... [14:21:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:21:39]Read from MH i2c: E2 [14:21:39]MH_I2C_Read... [14:21:39]Read from MH i2c: E2 17 00 [14:21:39]MH_I2C_Read... [14:21:39]Read from MH i2c: E2 17 00 35 4C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 43 [14:21:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [14:21:39]wFMCommunicate OK [14:21:39]requested_item fd.num is exist - process it [14:21:39]SAM_PROTO_GetFieldsCounters [14:21:39]wFMCommunicate request_size=4 [14:21:39]MH_SAM_APDU [14:21:39]CAPDU: 80 13 00 00 [14:21:39]Write to MH i2c: E2 08 00 36 4C 80 13 00 00 00 00 00 00 FE [14:21:39]Write i2c OK [14:21:39]MH_I2C_Read... [14:21:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:21:39]Read from MH i2c: E2 [14:21:39]MH_I2C_Read... [14:21:39]Read from MH i2c: E2 62 00 [14:21:39]MH_I2C_Read... [14:21:39]Read from MH i2c: E2 62 00 36 4C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 0F 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 B0 [14:21:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 0F 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:21:39]wFMCommunicate OK [14:21:39]SAM_PROTO_GetFieldsCounters done [14:21:39]requested_item shift.num is exist - process it [14:21:39]requested_item shift.opened is exist - process it [14:21:39]req_shift_opened [14:21:39]FM_GetShiftState [14:21:39]SAM_PROTO_GetShiftState [14:21:39]wFMCommunicate request_size=4 [14:21:39]MH_SAM_APDU [14:21:39]CAPDU: 80 13 01 00 [14:21:39]Write to MH i2c: E2 08 00 37 4C 80 13 01 00 00 00 00 00 00 [14:21:39]Write i2c OK [14:21:39]MH_I2C_Read... [14:21:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:21:39]Read from MH i2c: E2 [14:21:39]MH_I2C_Read... [14:21:39]Read from MH i2c: E2 0E 00 [14:21:39]MH_I2C_Read... [14:21:39]Read from MH i2c: E2 0E 00 37 4C 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 A9 [14:21:39]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [14:21:39]wFMCommunicate OK [14:21:39]SAM_PROTO_GetShiftState done [14:21:39]FM_GetShiftState done [14:21:39]req_shift_opened done [14:21:39]requested_item shift.open_date is exist - process it [14:21:39]req_shift_open_date [14:21:39]req_shift_open_date done [14:21:39]produce_requested_data done [14:21:39]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2575,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [14:21:39]process_action_free close_receipt [14:21:39]json_value_free [14:21:39]json_value_free done [14:21:39]process_json_proto returns [14:21:39]Send response to host [14:21:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2575,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [14:21:39]free response buf [14:21:39]execute_script done [14:21:39]execute_script returns [14:21:39]free content buf [14:21:39]Sock 7.Close socket [14:21:39]Sock 7.Thread stoped [14:21:43]OFD Sender: No OFD packet to send [14:21:48]OFD Sender: No OFD packet to send [14:21:53]OFD Sender: No OFD packet to send [14:21:58]OFD Sender: No OFD packet to send [14:22:03]OFD Sender: No OFD packet to send [14:22:08]OFD Sender: No OFD packet to send [14:22:13]OFD Sender: No OFD packet to send [14:22:18]OFD Sender: No OFD packet to send [14:22:23]OFD Sender: No OFD packet to send [14:22:28]OFD Sender: No OFD packet to send [14:22:33]OFD Sender: No OFD packet to send [14:22:38]OFD Sender: No OFD packet to send [14:22:43]OFD Sender: No OFD packet to send [14:22:48]OFD Sender: No OFD packet to send [14:22:53]OFD Sender: No OFD packet to send [14:22:58]OFD Sender: No OFD packet to send [14:23:03]OFD Sender: No OFD packet to send [14:23:08]OFD Sender: No OFD packet to send [14:23:13]OFD Sender: No OFD packet to send [14:23:18]OFD Sender: No OFD packet to send [14:23:23]OFD Sender: No OFD packet to send [14:23:28]OFD Sender: No OFD packet to send [14:23:33]OFD Sender: No OFD packet to send [14:23:38]OFD Sender: No OFD packet to send [14:23:43]OFD Sender: No OFD packet to send [14:23:48]OFD Sender: No OFD packet to send [14:23:53]OFD Sender: No OFD packet to send [14:23:58]OFD Sender: No OFD packet to send [14:24:03]OFD Sender: No OFD packet to send [14:24:08]OFD Sender: No OFD packet to send [14:24:13]OFD Sender: No OFD packet to send [14:24:18]OFD Sender: No OFD packet to send [14:24:23]OFD Sender: No OFD packet to send [14:24:28]OFD Sender: No OFD packet to send [14:24:33]OFD Sender: No OFD packet to send [14:24:38]OFD Sender: No OFD packet to send [14:24:43]OFD Sender: No OFD packet to send [14:24:48]OFD Sender: No OFD packet to send [14:24:53]OFD Sender: No OFD packet to send [14:24:58]OFD Sender: No OFD packet to send [14:25:03]OFD Sender: No OFD packet to send [14:25:08]OFD Sender: No OFD packet to send [14:25:13]OFD Sender: No OFD packet to send [14:25:18]OFD Sender: No OFD packet to send [14:25:23]OFD Sender: No OFD packet to send [14:25:28]OFD Sender: No OFD packet to send [14:25:33]OFD Sender: No OFD packet to send [14:25:38]OFD Sender: No OFD packet to send [14:25:43]OFD Sender: No OFD packet to send [14:25:48]OFD Sender: No OFD packet to send [14:25:53]OFD Sender: No OFD packet to send [14:25:58]OFD Sender: No OFD packet to send [14:26:03]OFD Sender: No OFD packet to send [14:26:08]OFD Sender: No OFD packet to send [14:26:13]OFD Sender: No OFD packet to send [14:26:18]OFD Sender: No OFD packet to send [14:26:23]OFD Sender: No OFD packet to send [14:26:28]OFD Sender: No OFD packet to send [14:26:33]OFD Sender: No OFD packet to send [14:26:38]OFD Sender: No OFD packet to send [14:26:43]OFD Sender: No OFD packet to send [14:26:48]OFD Sender: No OFD packet to send [14:26:53]OFD Sender: No OFD packet to send [14:26:58]OFD Sender: No OFD packet to send [14:27:03]OFD Sender: No OFD packet to send [14:27:08]OFD Sender: No OFD packet to send [14:27:13]OFD Sender: No OFD packet to send [14:27:18]OFD Sender: No OFD packet to send [14:27:23]OFD Sender: No OFD packet to send [14:27:28]OFD Sender: No OFD packet to send [14:27:33]OFD Sender: No OFD packet to send [14:27:38]OFD Sender: No OFD packet to send [14:27:43]OFD Sender: No OFD packet to send [14:27:48]OFD Sender: No OFD packet to send [14:27:53]OFD Sender: No OFD packet to send [14:27:58]OFD Sender: No OFD packet to send [14:28:03]OFD Sender: No OFD packet to send [14:28:08]OFD Sender: No OFD packet to send [14:28:13]OFD Sender: No OFD packet to send [14:28:18]OFD Sender: No OFD packet to send [14:28:23]OFD Sender: No OFD packet to send [14:28:28]OFD Sender: No OFD packet to send [14:28:33]OFD Sender: No OFD packet to send [14:28:38]OFD Sender: No OFD packet to send [14:28:43]OFD Sender: No OFD packet to send [14:28:48]OFD Sender: No OFD packet to send [14:28:53]OFD Sender: No OFD packet to send [14:28:58]OFD Sender: No OFD packet to send [14:29:03]OFD Sender: No OFD packet to send [14:29:08]OFD Sender: No OFD packet to send [14:29:13]OFD Sender: No OFD packet to send [14:29:18]OFD Sender: No OFD packet to send [14:29:23]OFD Sender: No OFD packet to send [14:29:28]OFD Sender: No OFD packet to send [14:29:33]OFD Sender: No OFD packet to send [14:29:38]OFD Sender: No OFD packet to send [14:29:43]OFD Sender: No OFD packet to send [14:29:48]OFD Sender: No OFD packet to send [14:29:53]OFD Sender: No OFD packet to send [14:29:58]OFD Sender: No OFD packet to send [14:30:03]OFD Sender: No OFD packet to send [14:30:08]OFD Sender: No OFD packet to send [14:30:13]OFD Sender: No OFD packet to send [14:30:18]OFD Sender: No OFD packet to send [14:30:23]OFD Sender: No OFD packet to send [14:30:28]OFD Sender: No OFD packet to send [14:30:33]OFD Sender: No OFD packet to send [14:30:38]OFD Sender: No OFD packet to send [14:30:43]OFD Sender: No OFD packet to send [14:30:48]OFD Sender: No OFD packet to send [14:30:53]OFD Sender: No OFD packet to send [14:30:58]OFD Sender: No OFD packet to send [14:31:03]OFD Sender: No OFD packet to send [14:31:08]OFD Sender: No OFD packet to send [14:31:13]OFD Sender: No OFD packet to send [14:31:18]OFD Sender: No OFD packet to send [14:31:23]OFD Sender: No OFD packet to send [14:31:28]OFD Sender: No OFD packet to send [14:31:33]OFD Sender: No OFD packet to send [14:31:38]OFD Sender: No OFD packet to send [14:31:43]OFD Sender: No OFD packet to send [14:31:48]OFD Sender: No OFD packet to send [14:31:53]OFD Sender: No OFD packet to send [14:31:58]OFD Sender: No OFD packet to send [14:32:03]OFD Sender: No OFD packet to send [14:32:08]OFD Sender: No OFD packet to send [14:32:13]OFD Sender: No OFD packet to send [14:32:18]OFD Sender: No OFD packet to send [14:32:23]OFD Sender: No OFD packet to send [14:32:28]OFD Sender: No OFD packet to send [14:32:33]OFD Sender: No OFD packet to send [14:32:38]OFD Sender: No OFD packet to send [14:32:43]OFD Sender: No OFD packet to send [14:32:48]OFD Sender: No OFD packet to send [14:32:53]OFD Sender: No OFD packet to send [14:32:58]OFD Sender: No OFD packet to send [14:33:03]OFD Sender: No OFD packet to send [14:33:08]OFD Sender: No OFD packet to send [14:33:13]OFD Sender: No OFD packet to send [14:33:18]OFD Sender: No OFD packet to send [14:33:23]OFD Sender: No OFD packet to send [14:33:28]OFD Sender: No OFD packet to send [14:33: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:49]OFD Sender: No OFD packet to send [14:34:54]OFD Sender: No OFD packet to send [14:34:59]OFD Sender: No OFD packet to send [14:35:04]OFD Sender: No OFD packet to send [14:35:09]OFD Sender: No OFD packet to send [14:35:14]OFD Sender: No OFD packet to send [14:35:19]OFD Sender: No OFD packet to send [14:35:24]OFD Sender: No OFD packet to send [14:35:29]OFD Sender: No OFD packet to send [14:35:34]OFD Sender: No OFD packet to send [14:35:39]OFD Sender: No OFD packet to send [14:35:44]OFD Sender: No OFD packet to send [14:35:49]OFD Sender: No OFD packet to send [14:35:54]OFD Sender: No OFD packet to send [14:35:59]OFD Sender: No OFD packet to send [14:36:04]OFD Sender: No OFD packet to send [14:36:09]OFD Sender: No OFD packet to send [14:36:14]OFD Sender: No OFD packet to send [14:36:19]OFD Sender: No OFD packet to send [14:36:24]OFD Sender: No OFD packet to send [14:36:29]OFD Sender: No OFD packet to send [14:36:34]OFD Sender: No OFD packet to send [14:36:39]OFD Sender: No OFD packet to send [14:36:44]OFD Sender: No OFD packet to send [14:36:49]OFD Sender: No OFD packet to send [14:36:54]OFD Sender: No OFD packet to send [14:36:59]OFD Sender: No OFD packet to send [14:37:04]OFD Sender: No OFD packet to send [14:37:09]OFD Sender: No OFD packet to send [14:37:14]OFD Sender: No OFD packet to send [14:37:19]OFD Sender: No OFD packet to send [14:37:24]OFD Sender: No OFD packet to send [14:37:29]OFD Sender: No OFD packet to send [14:37:34]OFD Sender: No OFD packet to send [14:37:39]OFD Sender: No OFD packet to send [14:37:44]OFD Sender: No OFD packet to send [14:37:49]OFD Sender: No OFD packet to send [14:37:54]OFD Sender: No OFD packet to send [14:37:59]OFD Sender: No OFD packet to send [14:38:04]OFD Sender: No OFD packet to send [14:38:09]OFD Sender: No OFD packet to send [14:38:14]OFD Sender: No OFD packet to send [14:38:19]OFD Sender: No OFD packet to send [14:38:24]OFD Sender: No OFD packet to send [14:38:29]OFD Sender: No OFD packet to send [14:38:34]OFD Sender: No OFD packet to send [14:38:39]OFD Sender: No OFD packet to send [14:38:44]OFD Sender: No OFD packet to send [14:38:49]OFD Sender: No OFD packet to send [14:38:54]OFD Sender: No OFD packet to send [14:38:59]OFD Sender: No OFD packet to send [14:39:04]OFD Sender: No OFD packet to send [14:39:09]OFD Sender: No OFD packet to send [14:39:14]OFD Sender: No OFD packet to send [14:39:19]OFD Sender: No OFD packet to send [14:39:24]OFD Sender: No OFD packet to send [14:39:29]OFD Sender: No OFD packet to send [14:39:34]OFD Sender: No OFD packet to send [14:39:39]OFD Sender: No OFD packet to send [14:39:44]OFD Sender: No OFD packet to send [14:39:49]OFD Sender: No OFD packet to send [14:39:54]OFD Sender: No OFD packet to send [14:39:59]OFD Sender: No OFD packet to send [14:40:04]OFD Sender: No OFD packet to send [14:40:09]OFD Sender: No OFD packet to send [14:40:14]OFD Sender: No OFD packet to send [14:40:19]OFD Sender: No OFD packet to send [14:40:24]OFD Sender: No OFD packet to send [14:40:29]OFD Sender: No OFD packet to send [14:40:34]OFD Sender: No OFD packet to send [14:40:39]OFD Sender: No OFD packet to send [14:40:44]OFD Sender: No OFD packet to send [14:40:49]OFD Sender: No OFD packet to send [14:40:54]OFD Sender: No OFD packet to send [14:40:59]OFD Sender: No OFD packet to send [14:41:04]OFD Sender: No OFD packet to send [14:41:09]OFD Sender: No OFD packet to send [14:41:14]OFD Sender: No OFD packet to send [14:41:19]OFD Sender: No OFD packet to send [14:41:24]OFD Sender: No OFD packet to send [14:41:29]OFD Sender: No OFD packet to send [14:41:34]OFD Sender: No OFD packet to send [14:41:39]OFD Sender: No OFD packet to send [14:41:44]OFD Sender: No OFD packet to send [14:41:49]OFD Sender: No OFD packet to send [14:41:54]OFD Sender: No OFD packet to send [14:41:59]OFD Sender: No OFD packet to send [14:42:04]OFD Sender: No OFD packet to send [14:42:09]OFD Sender: No OFD packet to send [14:42:14]OFD Sender: No OFD packet to send [14:42:19]OFD Sender: No OFD packet to send [14:42:24]OFD Sender: No OFD packet to send [14:42:29]OFD Sender: No OFD packet to send [14:42:34]OFD Sender: No OFD packet to send [14:42:39]OFD Sender: No OFD packet to send [14:42:44]OFD Sender: No OFD packet to send [14:42:49]OFD Sender: No OFD packet to send [14:42:54]OFD Sender: No OFD packet to send [14:42:59]OFD Sender: No OFD packet to send [14:43:04]OFD Sender: No OFD packet to send [14:43:09]OFD Sender: No OFD packet to send [14:43:14]OFD Sender: No OFD packet to send [14:43:19]OFD Sender: No OFD packet to send [14:43:24]OFD Sender: No OFD packet to send [14:43:29]OFD Sender: No OFD packet to send [14:43:34]OFD Sender: No OFD packet to send [14:43:39]OFD Sender: No OFD packet to send [14:43:44]OFD Sender: No OFD packet to send [14:43:49]OFD Sender: No OFD packet to send [14:43:54]OFD Sender: No OFD packet to send [14:43:59]OFD Sender: No OFD packet to send [14:44:04]OFD Sender: No OFD packet to send [14:44:09]OFD Sender: No OFD packet to send [14:44:14]OFD Sender: No OFD packet to send [14:44:19]OFD Sender: No OFD packet to send [14:44:24]OFD Sender: No OFD packet to send [14:44:29]OFD Sender: No OFD packet to send [14:44:34]OFD Sender: No OFD packet to send [14:44:39]OFD Sender: No OFD packet to send [14:44:44]OFD Sender: No OFD packet to send [14:44:49]OFD Sender: No OFD packet to send [14:44:54]OFD Sender: No OFD packet to send [14:44:59]OFD Sender: No OFD packet to send [14:45:04]OFD Sender: No OFD packet to send [14:45:09]OFD Sender: No OFD packet to send [14:45:14]OFD Sender: No OFD packet to send [14:45:19]OFD Sender: No OFD packet to send [14:45:24]OFD Sender: No OFD packet to send [14:45:29]OFD Sender: No OFD packet to send [14:45:34]OFD Sender: No OFD packet to send [14:45:39]OFD Sender: No OFD packet to send [14:45:44]OFD Sender: No OFD packet to send [14:45:49]OFD Sender: No OFD packet to send [14:45:54]OFD Sender: No OFD packet to send [14:45:59]OFD Sender: No OFD packet to send [14:46:04]OFD Sender: No OFD packet to send [14:46:09]OFD Sender: No OFD packet to send [14:46:14]OFD Sender: No OFD packet to send [14:46:19]OFD Sender: No OFD packet to send [14:46:24]OFD Sender: No OFD packet to send [14:46:29]OFD Sender: No OFD packet to send [14:46:34]OFD Sender: No OFD packet to send [14:46:39]OFD Sender: No OFD packet to send [14:46:44]OFD Sender: No OFD packet to send [14:46:49]OFD Sender: No OFD packet to send [14:46:54]OFD Sender: No OFD packet to send [14:46:59]OFD Sender: No OFD packet to send [14:47:04]OFD Sender: No OFD packet to send [14:47:09]OFD Sender: No OFD packet to send [14:47:14]OFD Sender: No OFD packet to send [14:47:19]OFD Sender: No OFD packet to send [14:47:24]OFD Sender: No OFD packet to send [14:47:29]OFD Sender: No OFD packet to send [14:47:34]OFD Sender: No OFD packet to send [14:47:39]OFD Sender: No OFD packet to send [14:47:44]OFD Sender: No OFD packet to send [14:47:49]OFD Sender: No OFD packet to send [14:47:54]OFD Sender: No OFD packet to send [14:47:59]OFD Sender: No OFD packet to send [14:48:04]OFD Sender: No OFD packet to send [14:48:09]OFD Sender: No OFD packet to send [14:48:14]OFD Sender: No OFD packet to send [14:48:19]OFD Sender: No OFD packet to send [14:48:24]OFD Sender: No OFD packet to send [14:48:29]OFD Sender: No OFD packet to send [14:48:34]OFD Sender: No OFD packet to send [14:48:39]OFD Sender: No OFD packet to send [14:48:44]OFD Sender: No OFD packet to send [14:48:49]OFD Sender: No OFD packet to send [14:48:54]OFD Sender: No OFD packet to send [14:48:59]OFD Sender: No OFD packet to send [14:49:04]OFD Sender: No OFD packet to send [14:49:09]OFD Sender: No OFD packet to send [14:49:14]OFD Sender: No OFD packet to send [14:49:19]OFD Sender: No OFD packet to send [14:49:24]OFD Sender: No OFD packet to send [14:49:29]OFD Sender: No OFD packet to send [14:49:34]OFD Sender: No OFD packet to send [14:49:39]OFD Sender: No OFD packet to send [14:49:44]OFD Sender: No OFD packet to send [14:49:46]accept exits with 9 [14:49:46]New connection [14:49:46]New thread 3066850660 created [14:49:46]Thread 3066707300 joined [14:49:46]Waiting for new connection... [14:49:46] Sock 9.Parse request [14:49:46]Sock 9.Check first char [14:49:46]Sock 9.First char is OK [14:49:46]request: POST /json_proto HTTP/1.0 [14:49:46]Method: POST [14:49:46]URL: /json_proto [14:49:46]Method is POST - this is cgi request [14:49:46]url: /json_proto [14:49:46]query_string will be loaded in cgi processing [14:49:46]execute_cgi json_proto POST (null) [14:49:46]execute_cgi path=json_proto method=POST [14:49:46]POST find Content-Length [14:49:46]Host: 172.17.52.132:8080 [14:49:46]Content-Length: 1937 [14:49:46]Content-Type: application/json [14:49:46] [14:49:46]POST finish read [14:49:46]Found Content-Length = 1937 [14:49:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99954", "tax_sys" : 0, "items" : [ { "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4601025117788", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0430\u0440\u0431\u0443\u0437 \u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 478.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:49:46]execute_script... [14:49: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)99954", "tax_sys" : 0, "items" : [ { "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4601025117788", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0430\u0440\u0431\u0443\u0437 \u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 478.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:49:46]POST & json_proto [14:49:46]process_json_proto [14:49:46]json parsed OK: [14:49:46]protocol is kg_v1.0 [14:49:46]action value=close_receipt [14:49:46]process_action close_receipt [14:49:46]cmd_close_receipt [14:49:46]MH_GetDate [14:49:46]Write to MH i2c: F0 00 00 38 4C 73 [14:49:46]Write i2c OK [14:49:46]MH_I2C_Read... [14:49:46]Read from MH i2c: F0 [14:49:46]MH_I2C_Read... [14:49:46]Read from MH i2c: F0 09 00 [14:49:46]MH_I2C_Read... [14:49:46]Read from MH i2c: F0 09 00 38 4C 00 14 C7 13 67 5A BE F6 66 45 [14:49:46]GetLastDocTimeStamp 1729347705 [14:49:46]current date 1729349396 [14:49:46]FM_GetShiftState [14:49:46]SAM_PROTO_GetShiftState [14:49:46]wFMCommunicate request_size=4 [14:49:46]MH_SAM_APDU [14:49:46]CAPDU: 80 13 01 00 [14:49:46]Write to MH i2c: E2 08 00 39 4C 80 13 01 00 00 00 00 00 02 [14:49:46]Write i2c OK [14:49:46]MH_I2C_Read... [14:49:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:49:46]Read from MH i2c: E2 [14:49:46]MH_I2C_Read... [14:49:46]Read from MH i2c: E2 0E 00 [14:49:46]MH_I2C_Read... [14:49:46]Read from MH i2c: E2 0E 00 39 4C 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 AB [14:49:46]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [14:49:46]wFMCommunicate OK [14:49:46]SAM_PROTO_GetShiftState done [14:49:46]FM_GetShiftState done [14:49:46]opened in 1729296173 [14:49:46]opened+sec_in_day 1729382573 [14:49:46]quantity*price = 9900 [14:49:46]sum+1 = 9901 [14:49:46]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4601025117788 Напиток Фрутмотив арбуз клубника 0,5 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4640030091607 Сигареты ESSE Exchange 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001571030 Вода ASU пит н.газ клубн,киви ПЭТ 1л 1.000 * 84.00 = 84.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160792 Снек Курут классический (круглый) 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 478.00 НСП 1% : 4.23 НДС 12% : 50.76 Наличными: 478.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 37 19.10.2024 14:49 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2576 ФПД: 192066689800714 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T144956&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2576&fm=192066689800714&tin=02508201610067®Number=0000000000207295&sum=47800 0 [14:49:47]StoreToDocumentArchive [14:49:47]shift 23 fd 2576 [14:49:47]save to /storage/0023/doc_00002576 [14:49:47]save last doc name /storage/0023/doc_00002576 to /storage/kkm_last_doc_name [14:49:47]save OK [14:49:47]Clear old archive folders... [14:49:47]ProcessDocumentItem done err = 0, tmpTLVsize=798 [14:49:47]tlvbuf is 013E0360 [14:49:47]SAM_PROTO_ClearQueue [14:49:47]wFMCommunicate request_size=4 [14:49:47]MH_SAM_APDU [14:49:47]CAPDU: 80 09 00 00 [14:49:47]Write to MH i2c: E2 08 00 46 4C 80 09 00 00 00 00 00 00 04 [14:49:47]Write i2c OK [14:49:47]MH_I2C_Read... [14:49:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:49:47]Read from MH i2c: E2 [14:49:47]MH_I2C_Read... [14:49:47]Read from MH i2c: E2 03 00 [14:49:47]MH_I2C_Read... [14:49:47]Read from MH i2c: E2 03 00 46 4C 00 90 00 06 [14:49:47]RAPDU: 90 00 [14:49:47]wFMCommunicate OK [14:49:47]SAM_PROTO_ClearQueue done [14:49:47]KKMCreateOFDPacket [14:49:47]OFDProtocolAddRootSTLVToBuf [14:49:47]FM_MakeSignedData [14:49:47]FM_MakeSignedData [14:49:47]SAM_PROTO_SignData [14:49:47]wFMCommunicate request_size=4 [14:49:47]MH_SAM_APDU [14:49:47]CAPDU: 80 0D 01 02 [14:49:47]Write to MH i2c: E2 08 00 47 4C 80 0D 01 02 00 00 00 00 0C [14:49:47]Write i2c OK [14:49:47]MH_I2C_Read... [14:49:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:49:47]Read from MH i2c: E2 [14:49:47]MH_I2C_Read... [14:49:47]Read from MH i2c: E2 03 00 [14:49:47]MH_I2C_Read... [14:49:47]Read from MH i2c: E2 03 00 47 4C 00 90 00 07 [14:49:47]RAPDU: 90 00 [14:49:47]wFMCommunicate OK [14:49:47]wFMCommunicate request_size=255 [14:49:47]MH_SAM_APDU [14:49:47]CAPDU: 80 0D 02 02 FA 03 00 1E 03 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 85 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 38 38 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 30 2C 35 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 [14:49:47]Write to MH i2c: E2 02 01 48 4C 80 0D 02 02 FA 00 03 00 1E 03 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 85 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 38 38 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 30 2C 35 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 00 00 F2 [14:49:48]Write i2c OK [14:49:48]MH_I2C_Read... [14:49:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:49:48]Read from MH i2c: E2 [14:49:48]MH_I2C_Read... [14:49:48]Read from MH i2c: E2 03 00 [14:49:48]MH_I2C_Read... [14:49:48]Read from MH i2c: E2 03 00 48 4C 00 90 00 08 [14:49:48]RAPDU: 90 00 [14:49:48]wFMCommunicate OK [14:49:48]wFMCommunicate request_size=255 [14:49:48]MH_SAM_APDU [14:49:48]CAPDU: 80 0D 02 02 FA 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC [14:49:48]Write to MH i2c: E2 02 01 49 4C 80 0D 02 02 FA 00 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 00 00 A4 [14:49:48]Write i2c OK [14:49:48]MH_I2C_Read... [14:49:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:49:48]Read from MH i2c: E2 [14:49:48]MH_I2C_Read... [14:49:48]Read from MH i2c: E2 03 00 [14:49:48]MH_I2C_Read... [14:49:48]Read from MH i2c: E2 03 00 49 4C 00 90 00 09 [14:49:48]RAPDU: 90 00 [14:49:48]wFMCommunicate OK [14:49:48]wFMCommunicate request_size=255 [14:49:48]MH_SAM_APDU [14:49:48]CAPDU: 80 0D 02 02 FA 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 BA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 13 00 00 00 00 07 04 06 00 B8 BA 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 14 C7 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [14:49:48]Write to MH i2c: E2 02 01 4A 4C 80 0D 02 02 FA 00 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 BA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 13 00 00 00 00 07 04 06 00 B8 BA 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 14 C7 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 53 [14:49:48]Write i2c OK [14:49:48]MH_I2C_Read... [14:49:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:49:48]Read from MH i2c: E2 [14:49:48]MH_I2C_Read... [14:49:48]Read from MH i2c: E2 03 00 [14:49:48]MH_I2C_Read... [14:49:48]Read from MH i2c: E2 03 00 4A 4C 00 90 00 0A [14:49:48]RAPDU: 90 00 [14:49:48]wFMCommunicate OK [14:49:48]wFMCommunicate request_size=57 [14:49:48]MH_SAM_APDU [14:49:48]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 10 0A 00 00 35 04 06 00 AE AF 02 D1 9A 0A [14:49:48]Write to MH i2c: E2 3C 00 4B 4C 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 10 0A 00 00 35 04 06 00 AE AF 02 D1 9A 0A 00 00 B1 [14:49:48]Write i2c OK [14:49:48]MH_I2C_Read... [14:49:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:49:48]Read from MH i2c: E2 [14:49:48]MH_I2C_Read... [14:49:48]Read from MH i2c: E2 03 00 [14:49:48]MH_I2C_Read... [14:49:48]Read from MH i2c: E2 03 00 4B 4C 00 90 00 0B [14:49:48]RAPDU: 90 00 [14:49:48]wFMCommunicate OK [14:49:48]wFMCommunicate request_size=4 [14:49:48]MH_SAM_APDU [14:49:48]CAPDU: 80 0D 03 02 [14:49:48]Write to MH i2c: E2 08 00 4C 4C 80 0D 03 02 00 00 00 00 13 [14:49:48]Write i2c OK [14:49:48]MH_I2C_Read... [14:49:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:49:48]Read from MH i2c: E2 [14:49:49]MH_I2C_Read... [14:49:49]Read from MH i2c: E2 0B 00 [14:49:49]MH_I2C_Read... [14:49:49]Read from MH i2c: E2 0B 00 4C 4C 00 76 FA 76 24 CA 35 AE E9 90 00 B4 [14:49:49]RAPDU: 76 FA 76 24 CA 35 AE E9 90 00 [14:49:49]wFMCommunicate OK [14:49:49]SAM_PROTO_SignData done [14:49:49]FM_MakeSignedData done [14:49:49]CreateOFDProtocolMessage [14:49:49]wFMCommunicate request_size=4 [14:49:49]MH_SAM_APDU [14:49:49]CAPDU: 80 11 00 00 [14:49:49]Write to MH i2c: E2 08 00 4D 4C 80 11 00 00 00 00 00 00 13 [14:49:49]Write i2c OK [14:49:49]MH_I2C_Read... [14:49:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:49:49]Read from MH i2c: E2 [14:49:49]MH_I2C_Read... [14:49:49]Read from MH i2c: E2 17 00 [14:49:49]MH_I2C_Read... [14:49:49]Read from MH i2c: E2 17 00 4D 4C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 5B [14:49:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [14:49:49]wFMCommunicate OK [14:49:49]CreateOFDProtocolMessage done [14:49:49]OFDSenderStorePacket 2576 [14:49:49]StoreOFDPacket docnum=2576 [14:49:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 32 03 00 00 0B 06 2A 03 78 D3 5A 03 01 00 03 00 1E 03 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 85 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 38 38 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 30 2C 35 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 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 BA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 13 00 00 00 00 07 04 06 00 B8 BA 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 14 C7 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 10 0A 00 00 35 04 06 00 AE AF 02 D1 9A 0A 76 FA 76 24 CA 35 AE E9 [14:49:49]CheckFolder [14:49:49]dirname=/storage/ofd_packets [14:49:49]CheckFolder done [14:49:49]ProducePacketName [14:49:49]name=ofd_packets/00002576 [14:49:49]NVStorageSaveData ofd_packets/00002576 [14:49:49]File name is /storage/ofd_packets/00002576 [14:49:49]Write 848 bytes [14:49:49]NVStorageSaveData done [14:49:49]OFDSenderStorePacket done [14:49:49]KKMCreateOFDPacket done [14:49:49]NVStorageSaveData kkm_last_timestamp [14:49:49]File name is /storage/kkm_last_timestamp [14:49:49]Write 4 bytes [14:49:49]NVStorageSaveData done [14:49:49]ExternCall_PrintAddStr [14:49:49]wPrintStart [14:49:49]Write to MH i2c: 01 00 00 4E 4C 9A [14:49:49]Write i2c OK [14:49:49]MH_I2C_Read... [14:49:49]Read from MH i2c: 01 [14:49:49]MH_I2C_Read... [14:49:49]Read from MH i2c: 01 07 00 [14:49:49]MH_I2C_Read... [14:49:49]Read from MH i2c: 01 07 00 4E 4C 00 00 00 00 00 FF 0F AF [14:49:49]RasterBufferAndPrint [14:49:49]line Счет N : (3)99954 [14:49:49]line ИНН: 02508201610067 [14:49:49]line Контрольно-Кассовый Чек [14:49:49]line ПРОДАЖА [14:49:49]line Товар: 4870022003312 [14:49:49]line Gorilla эн нап манго-кокос 0,45 ж/б [14:49:49]line 1.000 * 99.00 [14:49:49]line = 99.00 [14:49:49]line НДС 12% НСП 1% [14:49:49]line > о реализуемом товаре [14:49:49]line Товар: 4601025117788 [14:49:49]line Напиток Фрутмотив арбуз клубника 0,5 [14:49:49]line 1.000 * 85.00 [14:49:49]line = 85.00 [14:49:49]line НДС 12% НСП 1% [14:49:49]line > о реализуемом товаре [14:49:49]line Товар: 4640030091607 [14:49:49]line Сигареты ESSE Exchange [14:49:49]line 1.000 * 150.00 [14:49:49]line = 150.00 [14:49:49]line НДС 12% НСП 1% [14:49:49]line > о реализуемом товаре [14:49:49]line Товар: 4870001571030 [14:49:49]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [14:49:49]line 1.000 * 84.00 [14:49:49]line = 84.00 [14:49:49]line НДС 12% НСП 1% [14:49:49]line > о реализуемом товаре [14:49:49]line Товар: 4700000160792 [14:49:49]line Снек Курут классический (круглый) [14:49:49]line 1.000 * 60.00 [14:49:49]line = 60.00 [14:49:49]line НДС 12% НСП 1% [14:49:49]line > о реализуемом товаре [14:49:49]line ИТОГО: 478.00 [14:49:49]line НСП 1% : 4.23 [14:49:49]line НДС 12% : 50.76 [14:49:49]line Наличными: 478.00 [14:49:49]line Безнал.: 0.00 [14:49:49]line Место: АЗС № 162 "Партнер Нефть" [14:49:49]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [14:49:49]line СНО: Общий режим [14:49:49]line Чек 37 19.10.2024 14:49 [14:49:49]line Смена: 23 ФФД: 1.0 [14:49:49]line ЗНМ: 0300000191 [14:49:49]line РНМ: 0000000000207295 [14:49:49]line Версия ККМ: v1.0 [14:49:49]line ФМ: 0000000002342820 [14:49:49]line ФД: 2576 [14:49:49]line ФПД: 192066689800714 [14:49:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T144956&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2576&fm=192066689800714&tin=02508201610067®Number=0000000000207295&sum=47800 [14:49:49]OFD Sender: Processing packet 2576 [packets to send 1, broken 0] [14:49:49]ProducePacketName [14:49:49]name=ofd_packets/00002576 [14:49:49]OFD Sender: To server: pG, [14:49:49]CommunicateWithHost lk.salyk.kg:30040 [14:49:49]ConnectInit lk.salyk.kg [14:49:49]line 0 [14:49:49]written 0, free lines is 4095 [14:49:49]Connected sock=10 [14:49:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 32 03 00 00 0B 06 2A 03 78 D3 5A 03 01 00 03 00 1E 03 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 85 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 38 38 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 30 2C 35 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 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 BA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 13 00 00 00 00 07 04 06 00 B8 BA 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 14 C7 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 10 0A 00 00 35 04 06 00 AE AF 02 D1 9A 0A 76 FA 76 24 CA 35 AE E9 [14:49:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 DB 2A 47 00 9D 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 10 0A 00 00 F4 03 04 00 75 72 13 67 B6 04 01 00 00 B2 A9 31 2F 86 39 A9 E8 [14:49:49]CommunicateWithHost err = 0 [14:49:49]CheckOFDResponse [14:49:49]1017 (14) - 77093643461234 [14:49:49]1041 (16) - 0000000002342820 [14:49:49]1040 (4) - 2576 [14:49:49]1012 (4) - 19.10.2024 08:48 [14:49:49]1206 (1) - 0 [14:49:49]OFD Sender: Remove packet 2576 [14:49:49]ProducePacketName [14:49:49]name=ofd_packets/00002576 [14:49:49]NVStorageDeleteData [14:49:50]Write to MH i2c: 01 00 00 92 4C DE [14:49:50]Write i2c OK [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: 01 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: 01 07 00 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: 01 07 00 92 4C 00 00 00 00 00 0B 0B FB [14:49:50]RasterBufferAndPrint [14:49:50]line [14:49:50]line [14:49:50]line [14:49:50]line [14:49:50]line [14:49:50]written 0, free lines is 2835 [14:49:50]MH_Cut [14:49:50]Write to MH i2c: D1 01 00 99 4C 01 B7 [14:49:50]Write i2c OK [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: D1 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: D1 01 00 [14:49:50]MH_I2C_Read... [14:49:50]Read from MH i2c: D1 01 00 99 4C 00 B6 [14:49:50]Write to MH i2c: 01 00 00 9A 4C E6 [14:49:50]Write i2c OK [14:49:50]MH_I2C_Read... [14:49:50]OFD Sender: No OFD packet to send [14:49:51]*** Cut start [14:49:51]*** Partial cut [14:49:51]*** CUTSNS_PIN = 1 [14:49:51]*** CUTSNS_PIN = 0 [14:49:51]*** Brake cut motor [14:49:52]Read from MH i2c: 01 [14:49:52]MH_I2C_Read... [14:49:52]*** Stop cut motor [14:49:52]*** Cut end [14:49:52]Read from MH i2c: 01 07 00 [14:49:52]MH_I2C_Read... [14:49:52]Read from MH i2c: 01 07 00 9A 4C 00 00 00 00 00 FF 0F FB [14:49:52]process_action close_receipt done [14:49:52]requested_data is exist [14:49:52]produce_requested_data [14:49:52]requested_item fm.sn is exist - process it [14:49:52]wFMCommunicate request_size=4 [14:49:52]MH_SAM_APDU [14:49:52]CAPDU: 80 11 00 00 [14:49:52]Write to MH i2c: E2 08 00 9B 4C 80 11 00 00 00 00 00 00 61 [14:49:52]Write i2c OK [14:49:52]MH_I2C_Read... [14:49:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:49:52]Read from MH i2c: E2 [14:49:52]MH_I2C_Read... [14:49:52]Read from MH i2c: E2 17 00 [14:49:52]MH_I2C_Read... [14:49:52]Read from MH i2c: E2 17 00 9B 4C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 A9 [14:49:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [14:49:52]wFMCommunicate OK [14:49:52]requested_item fd.num is exist - process it [14:49:52]SAM_PROTO_GetFieldsCounters [14:49:52]wFMCommunicate request_size=4 [14:49:52]MH_SAM_APDU [14:49:52]CAPDU: 80 13 00 00 [14:49:52]Write to MH i2c: E2 08 00 9C 4C 80 13 00 00 00 00 00 00 64 [14:49:52]Write i2c OK [14:49:52]MH_I2C_Read... [14:49:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:49:52]Read from MH i2c: E2 [14:49:52]MH_I2C_Read... [14:49:52]Read from MH i2c: E2 62 00 [14:49:52]MH_I2C_Read... [14:49:52]Read from MH i2c: E2 62 00 9C 4C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 10 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 1A [14:49:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 10 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:49:52]wFMCommunicate OK [14:49:52]SAM_PROTO_GetFieldsCounters done [14:49:52]requested_item shift.num is exist - process it [14:49:52]requested_item shift.opened is exist - process it [14:49:52]req_shift_opened [14:49:52]FM_GetShiftState [14:49:52]SAM_PROTO_GetShiftState [14:49:52]wFMCommunicate request_size=4 [14:49:52]MH_SAM_APDU [14:49:52]CAPDU: 80 13 01 00 [14:49:52]Write to MH i2c: E2 08 00 9D 4C 80 13 01 00 00 00 00 00 66 [14:49:52]Write i2c OK [14:49:52]MH_I2C_Read... [14:49:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:49:52]Read from MH i2c: E2 [14:49:52]MH_I2C_Read... [14:49:52]Read from MH i2c: E2 0E 00 [14:49:52]MH_I2C_Read... [14:49:52]Read from MH i2c: E2 0E 00 9D 4C 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 0F [14:49:52]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [14:49:52]wFMCommunicate OK [14:49:52]SAM_PROTO_GetShiftState done [14:49:52]FM_GetShiftState done [14:49:52]req_shift_opened done [14:49:52]requested_item shift.open_date is exist - process it [14:49:52]req_shift_open_date [14:49:52]req_shift_open_date done [14:49:52]produce_requested_data done [14:49:52]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2576,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [14:49:52]process_action_free close_receipt [14:49:52]json_value_free [14:49:52]json_value_free done [14:49:52]process_json_proto returns [14:49:52]Send response to host [14:49:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2576,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [14:49:52]free response buf [14:49:52]execute_script done [14:49:52]execute_script returns [14:49:52]free content buf [14:49:52]Sock 9.Close socket [14:49:52]Sock 9.Thread stoped [14:49:55]OFD Sender: No OFD packet to send [14:50:00]OFD Sender: No OFD packet to send [14:50:05]OFD Sender: No OFD packet to send [14:50:10]OFD Sender: No OFD packet to send [14:50:15]OFD Sender: No OFD packet to send [14:50:20]OFD Sender: No OFD packet to send [14:50:25]OFD Sender: No OFD packet to send [14:50:30]OFD Sender: No OFD packet to send [14:50:35]OFD Sender: No OFD packet to send [14:50:40]OFD Sender: No OFD packet to send [14:50:45]OFD Sender: No OFD packet to send [14:50:50]OFD Sender: No OFD packet to send [14:50:55]OFD Sender: No OFD packet to send [14:51:00]OFD Sender: No OFD packet to send [14:51:05]OFD Sender: No OFD packet to send [14:51:10]OFD Sender: No OFD packet to send [14:51:15]OFD Sender: No OFD packet to send [14:51:20]OFD Sender: No OFD packet to send [14:51:25]OFD Sender: No OFD packet to send [14:51:30]OFD Sender: No OFD packet to send [14:51:35]OFD Sender: No OFD packet to send [14:51:40]OFD Sender: No OFD packet to send [14:51:45]OFD Sender: No OFD packet to send [14:51:50]OFD Sender: No OFD packet to send [14:51:55]OFD Sender: No OFD packet to send [14:52:00]OFD Sender: No OFD packet to send [14:52:05]OFD Sender: No OFD packet to send [14:52:10]OFD Sender: No OFD packet to send [14:52:15]OFD Sender: No OFD packet to send [14:52:20]OFD Sender: No OFD packet to send [14:52:25]OFD Sender: No OFD packet to send [14:52:30]OFD Sender: No OFD packet to send [14:52:35]OFD Sender: No OFD packet to send [14:52:40]OFD Sender: No OFD packet to send [14:52:45]OFD Sender: No OFD packet to send [14:52:50]OFD Sender: No OFD packet to send [14:52:55]OFD Sender: No OFD packet to send [14:53:00]OFD Sender: No OFD packet to send [14:53:05]OFD Sender: No OFD packet to send [14:53:10]OFD Sender: No OFD packet to send [14:53:15]OFD Sender: No OFD packet to send [14:53:20]OFD Sender: No OFD packet to send [14:53:25]OFD Sender: No OFD packet to send [14:53:30]OFD Sender: No OFD packet to send [14:53:35]OFD Sender: No OFD packet to send [14:53:40]OFD Sender: No OFD packet to send [14:53:45]OFD Sender: No OFD packet to send [14:53:50]OFD Sender: No OFD packet to send [14:53:55]OFD Sender: No OFD packet to send [14:54:00]OFD Sender: No OFD packet to send [14:54:05]OFD Sender: No OFD packet to send [14:54:10]OFD Sender: No OFD packet to send [14:54:15]OFD Sender: No OFD packet to send [14:54:20]OFD Sender: No OFD packet to send [14:54:25]OFD Sender: No OFD packet to send [14:54:30]OFD Sender: No OFD packet to send [14:54:35]OFD Sender: No OFD packet to send [14:54:40]OFD Sender: No OFD packet to send [14:54:45]OFD Sender: No OFD packet to send [14:54:50]OFD Sender: No OFD packet to send [14:54:55]OFD Sender: No OFD packet to send [14:55:00]OFD Sender: No OFD packet to send [14:55:05]OFD Sender: No OFD packet to send [14:55:10]OFD Sender: No OFD packet to send [14:55:15]OFD Sender: No OFD packet to send [14:55:20]OFD Sender: No OFD packet to send [14:55:25]OFD Sender: No OFD packet to send [14:55:30]OFD Sender: No OFD packet to send [14:55:35]OFD Sender: No OFD packet to send [14:55:40]OFD Sender: No OFD packet to send [14:55:45]OFD Sender: No OFD packet to send [14:55:50]OFD Sender: No OFD packet to send [14:55:55]OFD Sender: No OFD packet to send [14:56:00]OFD Sender: No OFD packet to send [14:56:05]OFD Sender: No OFD packet to send [14:56:10]OFD Sender: No OFD packet to send [14:56:15]OFD Sender: No OFD packet to send [14:56:20]OFD Sender: No OFD packet to send [14:56:25]OFD Sender: No OFD packet to send [14:56:30]OFD Sender: No OFD packet to send [14:56:35]OFD Sender: No OFD packet to send [14:56:40]OFD Sender: No OFD packet to send [14:56:45]OFD Sender: No OFD packet to send [14:56:50]OFD Sender: No OFD packet to send [14:56:55]OFD Sender: No OFD packet to send [14:57:00]OFD Sender: No OFD packet to send [14:57:05]OFD Sender: No OFD packet to send [14:57:10]OFD Sender: No OFD packet to send [14:57:15]OFD Sender: No OFD packet to send [14:57:20]OFD Sender: No OFD packet to send [14:57:25]OFD Sender: No OFD packet to send [14:57:30]OFD Sender: No OFD packet to send [14:57:35]OFD Sender: No OFD packet to send [14:57:40]OFD Sender: No OFD packet to send [14:57:45]OFD Sender: No OFD packet to send [14:57:50]OFD Sender: No OFD packet to send [14:57:55]OFD Sender: No OFD packet to send [14:58:00]OFD Sender: No OFD packet to send [14:58:05]OFD Sender: No OFD packet to send [14:58:10]OFD Sender: No OFD packet to send [14:58:15]OFD Sender: No OFD packet to send [14:58:20]OFD Sender: No OFD packet to send [14:58:25]OFD Sender: No OFD packet to send [14:58:30]OFD Sender: No OFD packet to send [14:58:35]OFD Sender: No OFD packet to send [14:58:40]OFD Sender: No OFD packet to send [14:58:45]OFD Sender: No OFD packet to send [14:58:50]OFD Sender: No OFD packet to send [14:58:55]OFD Sender: No OFD packet to send [14:59:00]OFD Sender: No OFD packet to send [14:59:05]OFD Sender: No OFD packet to send [14:59:10]OFD Sender: No OFD packet to send [14:59:15]OFD Sender: No OFD packet to send [14:59:20]OFD Sender: No OFD packet to send [14:59:25]OFD Sender: No OFD packet to send [14:59:30]OFD Sender: No OFD packet to send [14:59:35]OFD Sender: No OFD packet to send [14:59:40]OFD Sender: No OFD packet to send [14:59:45]OFD Sender: No OFD packet to send [14:59:50]OFD Sender: No OFD packet to send [14:59:55]OFD Sender: No OFD packet to send [15:00:00]OFD Sender: No OFD packet to send [15:00:05]OFD Sender: No OFD packet to send [15:00:10]OFD Sender: No OFD packet to send [15:00:15]OFD Sender: No OFD packet to send [15:00:20]OFD Sender: No OFD packet to send [15:00:25]OFD Sender: No OFD packet to send [15:00:30]OFD Sender: No OFD packet to send [15:00:35]OFD Sender: No OFD packet to send [15:00:40]OFD Sender: No OFD packet to send [15:00:45]OFD Sender: No OFD packet to send [15:00:50]OFD Sender: No OFD packet to send [15:00:55]OFD Sender: No OFD packet to send [15:01:00]OFD Sender: No OFD packet to send [15:01:05]OFD Sender: No OFD packet to send [15:01:10]OFD Sender: No OFD packet to send [15:01:15]OFD Sender: No OFD packet to send [15:01:20]OFD Sender: No OFD packet to send [15:01:25]OFD Sender: No OFD packet to send [15:01:30]OFD Sender: No OFD packet to send [15:01:35]OFD Sender: No OFD packet to send [15:01:40]OFD Sender: No OFD packet to send [15:01:45]OFD Sender: No OFD packet to send [15:01:50]OFD Sender: No OFD packet to send [15:01:55]OFD Sender: No OFD packet to send [15:02:00]OFD Sender: No OFD packet to send [15:02:05]OFD Sender: No OFD packet to send [15:02:10]OFD Sender: No OFD packet to send [15:02:15]OFD Sender: No OFD packet to send [15:02:20]OFD Sender: No OFD packet to send [15:02:25]OFD Sender: No OFD packet to send [15:02:30]OFD Sender: No OFD packet to send [15:02:35]OFD Sender: No OFD packet to send [15:02:40]OFD Sender: No OFD packet to send [15:02:45]OFD Sender: No OFD packet to send [15:02:50]OFD Sender: No OFD packet to send [15:02:55]OFD Sender: No OFD packet to send [15:03:00]OFD Sender: No OFD packet to send [15:03:05]OFD Sender: No OFD packet to send [15:03:10]OFD Sender: No OFD packet to send [15:03:15]OFD Sender: No OFD packet to send [15:03:20]OFD Sender: No OFD packet to send [15:03:25]OFD Sender: No OFD packet to send [15:03:30]OFD Sender: No OFD packet to send [15:03:35]OFD Sender: No OFD packet to send [15:03:40]OFD Sender: No OFD packet to send [15:03:45]OFD Sender: No OFD packet to send [15:03:50]OFD Sender: No OFD packet to send [15:03:55]OFD Sender: No OFD packet to send [15:04:00]OFD Sender: No OFD packet to send [15:04:05]OFD Sender: No OFD packet to send [15:04:10]OFD Sender: No OFD packet to send [15:04:15]OFD Sender: No OFD packet to send [15:04:20]OFD Sender: No OFD packet to send [15:04:25]OFD Sender: No OFD packet to send [15:04:30]OFD Sender: No OFD packet to send [15:04:35]OFD Sender: No OFD packet to send [15:04:40]OFD Sender: No OFD packet to send [15:04:45]OFD Sender: No OFD packet to send [15:04:50]OFD Sender: No OFD packet to send [15:04:55]OFD Sender: No OFD packet to send [15:05:00]OFD Sender: No OFD packet to send [15:05:05]OFD Sender: No OFD packet to send [15:05:10]OFD Sender: No OFD packet to send [15:05:15]OFD Sender: No OFD packet to send [15:05:20]OFD Sender: No OFD packet to send [15:05:25]OFD Sender: No OFD packet to send [15:05:30]OFD Sender: No OFD packet to send [15:05:35]OFD Sender: No OFD packet to send [15:05:40]OFD Sender: No OFD packet to send [15:05:45]OFD Sender: No OFD packet to send [15:05:50]OFD Sender: No OFD packet to send [15:05:55]OFD Sender: No OFD packet to send [15:06:00]OFD Sender: No OFD packet to send [15:06:06]OFD Sender: No OFD packet to send [15:06:11]OFD Sender: No OFD packet to send [15:06:16]OFD Sender: No OFD packet to send [15:06:21]OFD Sender: No OFD packet to send [15:06:26]OFD Sender: No OFD packet to send [15:06:31]OFD Sender: No OFD packet to send [15:06:36]OFD Sender: No OFD packet to send [15:06:41]OFD Sender: No OFD packet to send [15:06:46]OFD Sender: No OFD packet to send [15:06:51]OFD Sender: No OFD packet to send [15:06:56]OFD Sender: No OFD packet to send [15:07:01]OFD Sender: No OFD packet to send [15:07:06]OFD Sender: No OFD packet to send [15:07:11]OFD Sender: No OFD packet to send [15:07:16]OFD Sender: No OFD packet to send [15:07:21]OFD Sender: No OFD packet to send [15:07:26]OFD Sender: No OFD packet to send [15:07:31]OFD Sender: No OFD packet to send [15:07:36]OFD Sender: No OFD packet to send [15:07:41]OFD Sender: No OFD packet to send [15:07:46]OFD Sender: No OFD packet to send [15:07:51]OFD Sender: No OFD packet to send [15:07:56]OFD Sender: No OFD packet to send [15:08:01]OFD Sender: No OFD packet to send [15:08:06]OFD Sender: No OFD packet to send [15:08:11]OFD Sender: No OFD packet to send [15:08:16]OFD Sender: No OFD packet to send [15:08:21]OFD Sender: No OFD packet to send [15:08:26]OFD Sender: No OFD packet to send [15:08:31]OFD Sender: No OFD packet to send [15:08:36]OFD Sender: No OFD packet to send [15:08:41]OFD Sender: No OFD packet to send [15:08:46]OFD Sender: No OFD packet to send [15:08:51]OFD Sender: No OFD packet to send [15:08:56]OFD Sender: No OFD packet to send [15:09:01]OFD Sender: No OFD packet to send [15:09:06]OFD Sender: No OFD packet to send [15:09:11]OFD Sender: No OFD packet to send [15:09:16]OFD Sender: No OFD packet to send [15:09:21]OFD Sender: No OFD packet to send [15:09:26]OFD Sender: No OFD packet to send [15:09:31]OFD Sender: No OFD packet to send [15:09:36]OFD Sender: No OFD packet to send [15:09:41]OFD Sender: No OFD packet to send [15:09:46]OFD Sender: No OFD packet to send [15:09:51]OFD Sender: No OFD packet to send [15:09:56]OFD Sender: No OFD packet to send [15:10:01]OFD Sender: No OFD packet to send [15:10:06]OFD Sender: No OFD packet to send [15:10:11]OFD Sender: No OFD packet to send [15:10:16]OFD Sender: No OFD packet to send [15:10:21]OFD Sender: No OFD packet to send [15:10:26]OFD Sender: No OFD packet to send [15:10:31]OFD Sender: No OFD packet to send [15:10:36]OFD Sender: No OFD packet to send [15:10:41]OFD Sender: No OFD packet to send [15:10:46]OFD Sender: No OFD packet to send [15:10:51]OFD Sender: No OFD packet to send [15:10:56]OFD Sender: No OFD packet to send [15:11:01]OFD Sender: No OFD packet to send [15:11:06]OFD Sender: No OFD packet to send [15:11:11]OFD Sender: No OFD packet to send [15:11:16]OFD Sender: No OFD packet to send [15:11:21]OFD Sender: No OFD packet to send [15:11:26]OFD Sender: No OFD packet to send [15:11:31]OFD Sender: No OFD packet to send [15:11:36]OFD Sender: No OFD packet to send [15:11:41]OFD Sender: No OFD packet to send [15:11:46]OFD Sender: No OFD packet to send [15:11:51]OFD Sender: No OFD packet to send [15:11:56]OFD Sender: No OFD packet to send [15:12:01]OFD Sender: No OFD packet to send [15:12:06]OFD Sender: No OFD packet to send [15:12:11]OFD Sender: No OFD packet to send [15:12:16]OFD Sender: No OFD packet to send [15:12:21]OFD Sender: No OFD packet to send [15:12:26]OFD Sender: No OFD packet to send [15:12:31]OFD Sender: No OFD packet to send [15:12:36]OFD Sender: No OFD packet to send [15:12:41]OFD Sender: No OFD packet to send [15:12:46]OFD Sender: No OFD packet to send [15:12:51]OFD Sender: No OFD packet to send [15:12:56]OFD Sender: No OFD packet to send [15:13:01]OFD Sender: No OFD packet to send [15:13:06]OFD Sender: No OFD packet to send [15:13:11]OFD Sender: No OFD packet to send [15:13:16]OFD Sender: No OFD packet to send [15:13:21]OFD Sender: No OFD packet to send [15:13:26]OFD Sender: No OFD packet to send [15:13:31]OFD Sender: No OFD packet to send [15:13:36]OFD Sender: No OFD packet to send [15:13:41]OFD Sender: No OFD packet to send [15:13:46]OFD Sender: No OFD packet to send [15:13:51]OFD Sender: No OFD packet to send [15:13:56]OFD Sender: No OFD packet to send [15:14:01]OFD Sender: No OFD packet to send [15:14:06]OFD Sender: No OFD packet to send [15:14:11]OFD Sender: No OFD packet to send [15:14:16]OFD Sender: No OFD packet to send [15:14:21]OFD Sender: No OFD packet to send [15:14:26]OFD Sender: No OFD packet to send [15:14:31]OFD Sender: No OFD packet to send [15:14:36]OFD Sender: No OFD packet to send [15:14:41]OFD Sender: No OFD packet to send [15:14:46]OFD Sender: No OFD packet to send [15:14:51]OFD Sender: No OFD packet to send [15:14:56]OFD Sender: No OFD packet to send [15:15:01]OFD Sender: No OFD packet to send [15:15:06]OFD Sender: No OFD packet to send [15:15:11]OFD Sender: No OFD packet to send [15:15:16]OFD Sender: No OFD packet to send [15:15:21]OFD Sender: No OFD packet to send [15:15:26]OFD Sender: No OFD packet to send [15:15:31]OFD Sender: No OFD packet to send [15:15:36]OFD Sender: No OFD packet to send [15:15:41]OFD Sender: No OFD packet to send [15:15:46]OFD Sender: No OFD packet to send [15:15:51]OFD Sender: No OFD packet to send [15:15:56]OFD Sender: No OFD packet to send [15:16:01]OFD Sender: No OFD packet to send [15:16:06]OFD Sender: No OFD packet to send [15:16:11]OFD Sender: No OFD packet to send [15:16:16]OFD Sender: No OFD packet to send [15:16:21]OFD Sender: No OFD packet to send [15:16:26]OFD Sender: No OFD packet to send [15:16:31]OFD Sender: No OFD packet to send [15:16:36]OFD Sender: No OFD packet to send [15:16:41]OFD Sender: No OFD packet to send [15:16:46]OFD Sender: No OFD packet to send [15:16:51]OFD Sender: No OFD packet to send [15:16:56]OFD Sender: No OFD packet to send [15:17:01]OFD Sender: No OFD packet to send [15:17:06]OFD Sender: No OFD packet to send [15:17:11]OFD Sender: No OFD packet to send [15:17:16]OFD Sender: No OFD packet to send [15:17:21]OFD Sender: No OFD packet to send [15:17:26]OFD Sender: No OFD packet to send [15:17:31]OFD Sender: No OFD packet to send [15:17:36]OFD Sender: No OFD packet to send [15:17:41]OFD Sender: No OFD packet to send [15:17:46]OFD Sender: No OFD packet to send [15:17:51]OFD Sender: No OFD packet to send [15:17:56]OFD Sender: No OFD packet to send [15:18:01]OFD Sender: No OFD packet to send [15:18:06]OFD Sender: No OFD packet to send [15:18:11]OFD Sender: No OFD packet to send [15:18:16]OFD Sender: No OFD packet to send [15:18:21]OFD Sender: No OFD packet to send [15:18:26]OFD Sender: No OFD packet to send [15:18:31]OFD Sender: No OFD packet to send [15:18:36]OFD Sender: No OFD packet to send [15:18:41]OFD Sender: No OFD packet to send [15:18:46]OFD Sender: No OFD packet to send [15:18:51]OFD Sender: No OFD packet to send [15:18:56]OFD Sender: No OFD packet to send [15:19:01]OFD Sender: No OFD packet to send [15:19:06]OFD Sender: No OFD packet to send [15:19:11]OFD Sender: No OFD packet to send [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:36]OFD Sender: No OFD packet to send [15:23:41]OFD Sender: No OFD packet to send [15:23:46]OFD Sender: No OFD packet to send [15:23:51]OFD Sender: No OFD packet to send [15:23:56]OFD Sender: No OFD packet to send [15:24:01]OFD Sender: No OFD packet to send [15:24:06]OFD Sender: No OFD packet to send [15:24:11]OFD Sender: No OFD packet to send [15:24:16]OFD Sender: No OFD packet to send [15:24:21]OFD Sender: No OFD packet to send [15:24:26]OFD Sender: No OFD packet to send [15:24:31]OFD Sender: No OFD packet to send [15:24:36]OFD Sender: No OFD packet to send [15:24:41]OFD Sender: No OFD packet to send [15:24:46]OFD Sender: No OFD packet to send [15:24:51]OFD Sender: No OFD packet to send [15:24:56]OFD Sender: No OFD packet to send [15:25:01]OFD Sender: No OFD packet to send [15:25:06]OFD Sender: No OFD packet to send [15:25:11]OFD Sender: No OFD packet to send [15:25:16]OFD Sender: No OFD packet to send [15:25:21]OFD Sender: No OFD packet to send [15:25:26]OFD Sender: No OFD packet to send [15:25:31]OFD Sender: No OFD packet to send [15:25:36]OFD Sender: No OFD packet to send [15:25:41]OFD Sender: No OFD packet to send [15:25:46]OFD Sender: No OFD packet to send [15:25:51]OFD Sender: No OFD packet to send [15:25:56]OFD Sender: No OFD packet to send [15:26:01]OFD Sender: No OFD packet to send [15:26:06]OFD Sender: No OFD packet to send [15:26:11]OFD Sender: No OFD packet to send [15:26:16]OFD Sender: No OFD packet to send [15:26:21]OFD Sender: No OFD packet to send [15:26:26]OFD Sender: No OFD packet to send [15:26:31]OFD Sender: No OFD packet to send [15:26:36]OFD Sender: No OFD packet to send [15:26:41]OFD Sender: No OFD packet to send [15:26:46]OFD Sender: No OFD packet to send [15:26:51]OFD Sender: No OFD packet to send [15:26:56]OFD Sender: No OFD packet to send [15:27:01]OFD Sender: No OFD packet to send [15:27:06]OFD Sender: No OFD packet to send [15:27:11]OFD Sender: No OFD packet to send [15:27:16]OFD Sender: No OFD packet to send [15:27:21]OFD Sender: No OFD packet to send [15:27:26]OFD Sender: No OFD packet to send [15:27:31]OFD Sender: No OFD packet to send [15:27:36]OFD Sender: No OFD packet to send [15:27:41]OFD Sender: No OFD packet to send [15:27:46]OFD Sender: No OFD packet to send [15:27:51]OFD Sender: No OFD packet to send [15:27:56]OFD Sender: No OFD packet to send [15:28:01]OFD Sender: No OFD packet to send [15:28:06]OFD Sender: No OFD packet to send [15:28:11]OFD Sender: No OFD packet to send [15:28:16]OFD Sender: No OFD packet to send [15:28:21]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:05]accept exits with 7 [15:40:05]New connection [15:40:05]New thread 3066707300 created [15:40:05]Thread 3066850660 joined [15:40:05]Waiting for new connection... [15:40:05] Sock 7.Parse request [15:40:05]Sock 7.Check first char [15:40:05]Sock 7.First char is OK [15:40:05]request: POST /json_proto HTTP/1.0 [15:40:05]Method: POST [15:40:05]URL: /json_proto [15:40:05]Method is POST - this is cgi request [15:40:05]url: /json_proto [15:40:05]query_string will be loaded in cgi processing [15:40:05]execute_cgi json_proto POST (null) [15:40:05]execute_cgi path=json_proto method=POST [15:40:05]POST find Content-Length [15:40:05]Host: 172.17.52.132:8080 [15:40:05]Content-Length: 1502 [15:40:05]Content-Type: application/json [15:40:05] [15:40:05]POST finish read [15:40:05]Found Content-Length = 1502 [15:40:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99955", "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 }]} ,{ "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 }]} ,{ "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 418.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:40:05]execute_script... [15:40: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)99955", "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 }]} ,{ "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 }]} ,{ "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 418.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:40:05]POST & json_proto [15:40:05]process_json_proto [15:40:05]json parsed OK: [15:40:05]protocol is kg_v1.0 [15:40:05]action value=close_receipt [15:40:05]process_action close_receipt [15:40:05]cmd_close_receipt [15:40:05]MH_GetDate [15:40:05]Write to MH i2c: F0 00 00 9E 4C D9 [15:40:05]Write i2c OK [15:40:05]MH_I2C_Read... [15:40:05]Read from MH i2c: F0 [15:40:05]MH_I2C_Read... [15:40:05]Read from MH i2c: F0 09 00 [15:40:05]MH_I2C_Read... [15:40:05]Read from MH i2c: F0 09 00 9E 4C 00 E0 D2 13 67 5A BE F6 66 82 [15:40:05]GetLastDocTimeStamp 1729349396 [15:40:06]current date 1729352416 [15:40:06]FM_GetShiftState [15:40:06]SAM_PROTO_GetShiftState [15:40:06]wFMCommunicate request_size=4 [15:40:06]MH_SAM_APDU [15:40:06]CAPDU: 80 13 01 00 [15:40:06]Write to MH i2c: E2 08 00 9F 4C 80 13 01 00 00 00 00 00 68 [15:40:06]Write i2c OK [15:40:06]MH_I2C_Read... [15:40:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:40:06]Read from MH i2c: E2 [15:40:06]MH_I2C_Read... [15:40:06]Read from MH i2c: E2 0E 00 [15:40:06]MH_I2C_Read... [15:40:06]Read from MH i2c: E2 0E 00 9F 4C 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 11 [15:40:06]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [15:40:06]wFMCommunicate OK [15:40:06]SAM_PROTO_GetShiftState done [15:40:06]FM_GetShiftState done [15:40:06]opened in 1729296173 [15:40:06]opened+sec_in_day 1729382573 [15:40:06]quantity*price = 14400 [15:40:06]sum+1 = 14401 [15:40:06]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000005489 Вода Бонаква 1л б/г 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202522015 Напиток Maxi Чай Грушевый 1,2л 1.000 * 104.00 = 104.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189356 Холодный чай Fuse манго ананас 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 418.00 НСП 1% : 3.69 НДС 12% : 44.38 Наличными: 418.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 38 19.10.2024 15:40 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2577 ФПД: 63512606739421 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T154016&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2577&fm=63512606739421&tin=02508201610067®Number=0000000000207295&sum=41800 0 [15:40:07]StoreToDocumentArchive [15:40:07]shift 23 fd 2577 [15:40:07]save to /storage/0023/doc_00002577 [15:40:07]save last doc name /storage/0023/doc_00002577 to /storage/kkm_last_doc_name [15:40:07]save OK [15:40:07]Clear old archive folders... [15:40:07]ProcessDocumentItem done err = 0, tmpTLVsize=627 [15:40:07]tlvbuf is 013CE400 [15:40:07]SAM_PROTO_ClearQueue [15:40:07]wFMCommunicate request_size=4 [15:40:07]MH_SAM_APDU [15:40:07]CAPDU: 80 09 00 00 [15:40:07]Write to MH i2c: E2 08 00 AC 4C 80 09 00 00 00 00 00 00 6A [15:40:07]Write i2c OK [15:40:07]MH_I2C_Read... [15:40:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:40:07]Read from MH i2c: E2 [15:40:07]MH_I2C_Read... [15:40:07]Read from MH i2c: E2 03 00 [15:40:07]MH_I2C_Read... [15:40:07]Read from MH i2c: E2 03 00 AC 4C 00 90 00 6C [15:40:07]RAPDU: 90 00 [15:40:07]wFMCommunicate OK [15:40:07]SAM_PROTO_ClearQueue done [15:40:07]KKMCreateOFDPacket [15:40:07]OFDProtocolAddRootSTLVToBuf [15:40:07]FM_MakeSignedData [15:40:07]FM_MakeSignedData [15:40:07]SAM_PROTO_SignData [15:40:07]wFMCommunicate request_size=4 [15:40:07]MH_SAM_APDU [15:40:07]CAPDU: 80 0D 01 02 [15:40:07]Write to MH i2c: E2 08 00 AD 4C 80 0D 01 02 00 00 00 00 72 [15:40:07]Write i2c OK [15:40:07]MH_I2C_Read... [15:40:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:40:07]Read from MH i2c: E2 [15:40:07]MH_I2C_Read... [15:40:07]Read from MH i2c: E2 03 00 [15:40:07]MH_I2C_Read... [15:40:07]Read from MH i2c: E2 03 00 AD 4C 00 90 00 6D [15:40:07]RAPDU: 90 00 [15:40:07]wFMCommunicate OK [15:40:07]wFMCommunicate request_size=255 [15:40:07]MH_SAM_APDU [15:40:07]CAPDU: 80 0D 02 02 FA 03 00 73 02 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 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 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 [15:40:07]Write to MH i2c: E2 02 01 AE 4C 80 0D 02 02 FA 00 03 00 73 02 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 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 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 00 00 C0 [15:40:07]Write i2c OK [15:40:07]MH_I2C_Read... [15:40:07]OFD Sender: No OFD packet to send [15:40:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:40:07]Read from MH i2c: E2 [15:40:07]MH_I2C_Read... [15:40:07]Read from MH i2c: E2 03 00 [15:40:07]MH_I2C_Read... [15:40:07]Read from MH i2c: E2 03 00 AE 4C 00 90 00 6E [15:40:07]RAPDU: 90 00 [15:40:07]wFMCommunicate OK [15:40:07]wFMCommunicate request_size=255 [15:40:07]MH_SAM_APDU [15:40:07]CAPDU: 80 0D 02 02 FA D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB 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 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 48 A3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 71 01 00 00 00 00 EE [15:40:07]Write to MH i2c: E2 02 01 AF 4C 80 0D 02 02 FA 00 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB 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 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 48 A3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 71 01 00 00 00 00 EE 00 00 09 [15:40:07]Write i2c OK [15:40:07]MH_I2C_Read... [15:40:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:40:07]Read from MH i2c: E2 [15:40:07]MH_I2C_Read... [15:40:07]Read from MH i2c: E2 03 00 [15:40:07]MH_I2C_Read... [15:40:07]Read from MH i2c: E2 03 00 AF 4C 00 90 00 6F [15:40:07]RAPDU: 90 00 [15:40:07]wFMCommunicate OK [15:40:07]wFMCommunicate request_size=136 [15:40:07]MH_SAM_APDU [15:40:07]CAPDU: 80 0D 02 02 83 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 11 00 00 00 00 07 04 06 00 48 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 26 00 00 00 F4 03 04 00 E0 D2 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 11 0A 00 00 35 04 06 00 39 C3 AE 5D 0B DD [15:40:07]Write to MH i2c: E2 8B 00 B0 4C 80 0D 02 02 83 00 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 11 00 00 00 00 07 04 06 00 48 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 26 00 00 00 F4 03 04 00 E0 D2 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 11 0A 00 00 35 04 06 00 39 C3 AE 5D 0B DD 00 00 75 [15:40:08]Write i2c OK [15:40:08]MH_I2C_Read... [15:40:08]Read from MH i2c: E2 [15:40:08]MH_I2C_Read... [15:40:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:40:08]Read from MH i2c: E2 03 00 [15:40:08]MH_I2C_Read... [15:40:08]Read from MH i2c: E2 03 00 B0 4C 00 90 00 70 [15:40:08]RAPDU: 90 00 [15:40:08]wFMCommunicate OK [15:40:08]wFMCommunicate request_size=4 [15:40:08]MH_SAM_APDU [15:40:08]CAPDU: 80 0D 03 02 [15:40:08]Write to MH i2c: E2 08 00 B1 4C 80 0D 03 02 00 00 00 00 78 [15:40:08]Write i2c OK [15:40:08]MH_I2C_Read... [15:40:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:40:08]Read from MH i2c: E2 [15:40:08]MH_I2C_Read... [15:40:08]Read from MH i2c: E2 0B 00 [15:40:08]MH_I2C_Read... [15:40:08]Read from MH i2c: E2 0B 00 B1 4C 00 81 C9 B5 53 71 6B 60 4E 90 00 55 [15:40:08]RAPDU: 81 C9 B5 53 71 6B 60 4E 90 00 [15:40:08]wFMCommunicate OK [15:40:08]SAM_PROTO_SignData done [15:40:08]FM_MakeSignedData done [15:40:08]CreateOFDProtocolMessage [15:40:08]wFMCommunicate request_size=4 [15:40:08]MH_SAM_APDU [15:40:08]CAPDU: 80 11 00 00 [15:40:08]Write to MH i2c: E2 08 00 B2 4C 80 11 00 00 00 00 00 00 78 [15:40:08]Write i2c OK [15:40:08]MH_I2C_Read... [15:40:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:40:08]Read from MH i2c: E2 [15:40:08]MH_I2C_Read... [15:40:08]Read from MH i2c: E2 17 00 [15:40:08]MH_I2C_Read... [15:40:08]Read from MH i2c: E2 17 00 B2 4C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C0 [15:40:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:40:08]wFMCommunicate OK [15:40:08]CreateOFDProtocolMessage done [15:40:08]OFDSenderStorePacket 2577 [15:40:08]StoreOFDPacket docnum=2577 [15:40:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 87 02 00 00 81 5D 7F 02 C4 0F 5A 03 01 00 03 00 73 02 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 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 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB 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 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 48 A3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 71 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 11 00 00 00 00 07 04 06 00 48 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 26 00 00 00 F4 03 04 00 E0 D2 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 11 0A 00 00 35 04 06 00 39 C3 AE 5D 0B DD 81 C9 B5 53 71 6B 60 4E [15:40:08]CheckFolder [15:40:08]dirname=/storage/ofd_packets [15:40:08]CheckFolder done [15:40:08]ProducePacketName [15:40:08]name=ofd_packets/00002577 [15:40:08]NVStorageSaveData ofd_packets/00002577 [15:40:08]File name is /storage/ofd_packets/00002577 [15:40:08]Write 677 bytes [15:40:08]NVStorageSaveData done [15:40:08]OFDSenderStorePacket done [15:40:08]KKMCreateOFDPacket done [15:40:08]NVStorageSaveData kkm_last_timestamp [15:40:08]File name is /storage/kkm_last_timestamp [15:40:08]Write 4 bytes [15:40:08]NVStorageSaveData done [15:40:08]ExternCall_PrintAddStr [15:40:08]wPrintStart [15:40:08]Write to MH i2c: 01 00 00 B3 4C FF [15:40:08]Write i2c OK [15:40:08]MH_I2C_Read... [15:40:08]Read from MH i2c: 01 [15:40:08]MH_I2C_Read... [15:40:08]Read from MH i2c: 01 07 00 [15:40:08]MH_I2C_Read... [15:40:08]Read from MH i2c: 01 07 00 B3 4C 00 00 00 00 00 FF 0F 14 [15:40:08]RasterBufferAndPrint [15:40:08]line Счет N : (3)99955 [15:40:08]line ИНН: 02508201610067 [15:40:08]line Контрольно-Кассовый Чек [15:40:08]line ПРОДАЖА [15:40:08]line Товар: 48743570 [15:40:08]line Сигареты Winston XStyle Blue [15:40:08]line 1.000 * 144.00 [15:40:08]line = 144.00 [15:40:08]line НДС 12% НСП 1% [15:40:08]line > о реализуемом товаре [15:40:08]line Товар: 5449000005489 [15:40:08]line Вода Бонаква 1л б/г [15:40:08]line 1.000 * 50.00 [15:40:08]line = 50.00 [15:40:08]line НДС 12% НСП 1% [15:40:08]line > о реализуемом товаре [15:40:08]line Товар: 4870202522015 [15:40:08]line Напиток Maxi Чай Грушевый 1,2л [15:40:08]line 1.000 * 104.00 [15:40:08]line = 104.00 [15:40:08]line НДС 12% НСП 1% [15:40:08]line > о реализуемом товаре [15:40:08]line Товар: 5449000189356 [15:40:08]line Холодный чай Fuse манго ананас 1л [15:40:08]line 1.000 * 120.00 [15:40:08]line = 120.00 [15:40:08]line НДС 12% НСП 1% [15:40:08]line > о реализуемом товаре [15:40:08]line ИТОГО: 418.00 [15:40:08]line НСП 1% : 3.69 [15:40:08]line НДС 12% : 44.38 [15:40:08]line Наличными: 418.00 [15:40:08]line Безнал.: 0.00 [15:40:08]line Место: АЗС № 162 "Партнер Нефть" [15:40:08]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [15:40:08]line СНО: Общий режим [15:40:08]line Чек 38 19.10.2024 15:40 [15:40:08]line Смена: 23 ФФД: 1.0 [15:40:08]line ЗНМ: 0300000191 [15:40:08]line РНМ: 0000000000207295 [15:40:08]line Версия ККМ: v1.0 [15:40:08]line ФМ: 0000000002342820 [15:40:08]line ФД: 2577 [15:40:08]line ФПД: 63512606739421 [15:40:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T154016&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2577&fm=63512606739421&tin=02508201610067®Number=0000000000207295&sum=41800 [15:40:08]line 0 [15:40:08]OFD Sender: Processing packet 2577 [packets to send 1, broken 0] [15:40:08]ProducePacketName [15:40:08]name=ofd_packets/00002577 [15:40:08]OFD Sender: To server: pG, [15:40:08]CommunicateWithHost lk.salyk.kg:30040 [15:40:08]ConnectInit lk.salyk.kg [15:40:08]written 0, free lines is 4095 [15:40:08]Connected sock=10 [15:40:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 87 02 00 00 81 5D 7F 02 C4 0F 5A 03 01 00 03 00 73 02 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 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 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB 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 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 48 A3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 71 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 11 00 00 00 00 07 04 06 00 48 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 26 00 00 00 F4 03 04 00 E0 D2 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 11 0A 00 00 35 04 06 00 39 C3 AE 5D 0B DD 81 C9 B5 53 71 6B 60 4E [15:40:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 0C E5 47 00 46 3A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 11 0A 00 00 F4 03 04 00 41 7E 13 67 B6 04 01 00 00 7D DC F1 9E AB 68 38 12 [15:40:08]CommunicateWithHost err = 0 [15:40:08]CheckOFDResponse [15:40:08]1017 (14) - 77093643461234 [15:40:08]1041 (16) - 0000000002342820 [15:40:08]1040 (4) - 2577 [15:40:08]1012 (4) - 19.10.2024 09:39 [15:40:08]1206 (1) - 0 [15:40:08]OFD Sender: Remove packet 2577 [15:40:08]ProducePacketName [15:40:08]name=ofd_packets/00002577 [15:40:08]NVStorageDeleteData [15:40:09]Write to MH i2c: 01 00 00 EF 4C 3B [15:40:09]Write i2c OK [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: 01 [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: 01 07 00 [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: 01 07 00 EF 4C 00 00 00 00 00 6B 0B B8 [15:40:09]RasterBufferAndPrint [15:40:09]line [15:40:09]line [15:40:09]line [15:40:09]line [15:40:09]line [15:40:09]written 0, free lines is 2932 [15:40:09]MH_Cut [15:40:09]Write to MH i2c: D1 01 00 F6 4C 01 14 [15:40:09]Write i2c OK [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: D1 [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: D1 01 00 [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: D1 01 00 F6 4C 00 13 [15:40:09]Write to MH i2c: 01 00 00 F7 4C 43 [15:40:09]Write i2c OK [15:40:09]MH_I2C_Read... [15:40:09]OFD Sender: No OFD packet to send [15:40:10]*** Cut start [15:40:10]*** Partial cut [15:40:10]*** CUTSNS_PIN = 1 [15:40:10]*** CUTSNS_PIN = 0 [15:40:10]*** Brake cut motor [15:40:11]Read from MH i2c: 01 [15:40:11]MH_I2C_Read... [15:40:11]*** Stop cut motor [15:40:11]*** Cut end [15:40:11]Read from MH i2c: 01 07 00 [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: 01 07 00 F7 4C 00 00 00 00 00 FF 0F 58 [15:40:11]process_action close_receipt done [15:40:11]requested_data is exist [15:40:11]produce_requested_data [15:40:11]requested_item fm.sn is exist - process it [15:40:11]wFMCommunicate request_size=4 [15:40:11]MH_SAM_APDU [15:40:11]CAPDU: 80 11 00 00 [15:40:11]Write to MH i2c: E2 08 00 F8 4C 80 11 00 00 00 00 00 00 BE [15:40:11]Write i2c OK [15:40:11]MH_I2C_Read... [15:40:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:40:11]Read from MH i2c: E2 [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: E2 17 00 [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: E2 17 00 F8 4C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 06 [15:40:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:40:11]wFMCommunicate OK [15:40:11]requested_item fd.num is exist - process it [15:40:11]SAM_PROTO_GetFieldsCounters [15:40:11]wFMCommunicate request_size=4 [15:40:11]MH_SAM_APDU [15:40:11]CAPDU: 80 13 00 00 [15:40:11]Write to MH i2c: E2 08 00 F9 4C 80 13 00 00 00 00 00 00 C1 [15:40:11]Write i2c OK [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: E2 [15:40:11]MH_I2C_Read... [15:40:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:40:11]Read from MH i2c: E2 62 00 [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: E2 62 00 F9 4C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 11 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 7B [15:40:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 11 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:40:11]wFMCommunicate OK [15:40:11]SAM_PROTO_GetFieldsCounters done [15:40:11]requested_item shift.num is exist - process it [15:40:11]requested_item shift.opened is exist - process it [15:40:11]req_shift_opened [15:40:11]FM_GetShiftState [15:40:11]SAM_PROTO_GetShiftState [15:40:11]wFMCommunicate request_size=4 [15:40:11]MH_SAM_APDU [15:40:11]CAPDU: 80 13 01 00 [15:40:11]Write to MH i2c: E2 08 00 FA 4C 80 13 01 00 00 00 00 00 C3 [15:40:11]Write i2c OK [15:40:11]MH_I2C_Read... [15:40:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:40:11]Read from MH i2c: E2 [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: E2 0E 00 [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: E2 0E 00 FA 4C 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 6C [15:40:11]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [15:40:11]wFMCommunicate OK [15:40:11]SAM_PROTO_GetShiftState done [15:40:11]FM_GetShiftState done [15:40:11]req_shift_opened done [15:40:11]requested_item shift.open_date is exist - process it [15:40:11]req_shift_open_date [15:40:11]req_shift_open_date done [15:40:11]produce_requested_data done [15:40:11]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2577,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [15:40:11]process_action_free close_receipt [15:40:11]json_value_free [15:40:11]json_value_free done [15:40:11]process_json_proto returns [15:40:11]Send response to host [15:40:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2577,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [15:40:11]free response buf [15:40:11]execute_script done [15:40:11]execute_script returns [15:40:11]free content buf [15:40:11]Sock 7.Close socket [15:40:11]Sock 7.Thread stoped [15:40:14]OFD Sender: No OFD packet to send [15:40:19]OFD Sender: No OFD packet to send [15:40:24]OFD Sender: No OFD packet to send [15:40:29]OFD Sender: No OFD packet to send [15:40:34]OFD Sender: No OFD packet to send [15:40:39]OFD Sender: No OFD packet to send [15:40:44]OFD Sender: No OFD packet to send [15:40:49]OFD Sender: No OFD packet to send [15:40:54]OFD Sender: No OFD packet to send [15:40:59]OFD Sender: No OFD packet to send [15:41:04]OFD Sender: No OFD packet to send [15:41:09]OFD Sender: No OFD packet to send [15:41:14]OFD Sender: No OFD packet to send [15:41:19]OFD Sender: No OFD packet to send [15:41:24]OFD Sender: No OFD packet to send [15:41:29]OFD Sender: No OFD packet to send [15:41:34]OFD Sender: No OFD packet to send [15:41:39]OFD Sender: No OFD packet to send [15:41:44]OFD Sender: No OFD packet to send [15:41:49]OFD Sender: No OFD packet to send [15:41:54]OFD Sender: No OFD packet to send [15:41:59]OFD Sender: No OFD packet to send [15:42:04]OFD Sender: No OFD packet to send [15:42:09]OFD Sender: No OFD packet to send [15:42:14]OFD Sender: No OFD packet to send [15:42:19]OFD Sender: No OFD packet to send [15:42:24]OFD Sender: No OFD packet to send [15:42:29]OFD Sender: No OFD packet to send [15:42:34]OFD Sender: No OFD packet to send [15:42:39]OFD Sender: No OFD packet to send [15:42:44]OFD Sender: No OFD packet to send [15:42:49]OFD Sender: No OFD packet to send [15:42:54]OFD Sender: No OFD packet to send [15:42:59]OFD Sender: No OFD packet to send [15:43:04]OFD Sender: No OFD packet to send [15:43:09]OFD Sender: No OFD packet to send [15:43:14]OFD Sender: No OFD packet to send [15:43:19]OFD Sender: No OFD packet to send [15:43:24]OFD Sender: No OFD packet to send [15:43:29]OFD Sender: No OFD packet to send [15:43:34]OFD Sender: No OFD packet to send [15:43:39]OFD Sender: No OFD packet to send [15:43:44]OFD Sender: No OFD packet to send [15:43:49]OFD Sender: No OFD packet to send [15:43:54]OFD Sender: No OFD packet to send [15:43:59]OFD Sender: No OFD packet to send [15:44:04]OFD Sender: No OFD packet to send [15:44:09]OFD Sender: No OFD packet to send [15:44:14]OFD Sender: No OFD packet to send [15:44:19]OFD Sender: No OFD packet to send [15:44:24]OFD Sender: No OFD packet to send [15:44:29]OFD Sender: No OFD packet to send [15:44:34]OFD Sender: No OFD packet to send [15:44:39]OFD Sender: No OFD packet to send [15:44:44]OFD Sender: No OFD packet to send [15:44:49]OFD Sender: No OFD packet to send [15:44:54]OFD Sender: No OFD packet to send [15:44:59]OFD Sender: No OFD packet to send [15:45:04]OFD Sender: No OFD packet to send [15:45:09]OFD Sender: No OFD packet to send [15:45:14]OFD Sender: No OFD packet to send [15:45:19]OFD Sender: No OFD packet to send [15:45:24]OFD Sender: No OFD packet to send [15:45:29]OFD Sender: No OFD packet to send [15:45:34]OFD Sender: No OFD packet to send [15:45:39]OFD Sender: No OFD packet to send [15:45:44]OFD Sender: No OFD packet to send [15:45:49]OFD Sender: No OFD packet to send [15:45:54]OFD Sender: No OFD packet to send [15:45:59]OFD Sender: No OFD packet to send [15:46:04]OFD Sender: No OFD packet to send [15:46:09]OFD Sender: No OFD packet to send [15:46:14]OFD Sender: No OFD packet to send [15:46:19]OFD Sender: No OFD packet to send [15:46:24]OFD Sender: No OFD packet to send [15:46:29]OFD Sender: No OFD packet to send [15:46:34]OFD Sender: No OFD packet to send [15:46:39]OFD Sender: No OFD packet to send [15:46:44]OFD Sender: No OFD packet to send [15:46:49]OFD Sender: No OFD packet to send [15:46:54]OFD Sender: No OFD packet to send [15:46:59]OFD Sender: No OFD packet to send [15:47:04]OFD Sender: No OFD packet to send [15:47:09]OFD Sender: No OFD packet to send [15:47:14]OFD Sender: No OFD packet to send [15:47:19]OFD Sender: No OFD packet to send [15:47:24]OFD Sender: No OFD packet to send [15:47:29]OFD Sender: No OFD packet to send [15:47:34]OFD Sender: No OFD packet to send [15:47:39]OFD Sender: No OFD packet to send [15:47:44]OFD Sender: No OFD packet to send [15:47:49]OFD Sender: No OFD packet to send [15:47:54]OFD Sender: No OFD packet to send [15:47:59]OFD Sender: No OFD packet to send [15:48:04]OFD Sender: No OFD packet to send [15:48:09]OFD Sender: No OFD packet to send [15:48:14]OFD Sender: No OFD packet to send [15:48:19]OFD Sender: No OFD packet to send [15:48:24]OFD Sender: No OFD packet to send [15:48:29]OFD Sender: No OFD packet to send [15:48:34]OFD Sender: No OFD packet to send [15:48:39]OFD Sender: No OFD packet to send [15:48:44]OFD Sender: No OFD packet to send [15:48:49]OFD Sender: No OFD packet to send [15:48:54]OFD Sender: No OFD packet to send [15:48:59]OFD Sender: No OFD packet to send [15:49:04]OFD Sender: No OFD packet to send [15:49:09]OFD Sender: No OFD packet to send [15:49:14]OFD Sender: No OFD packet to send [15:49:19]OFD Sender: No OFD packet to send [15:49:24]OFD Sender: No OFD packet to send [15:49:29]OFD Sender: No OFD packet to send [15:49:34]OFD Sender: No OFD packet to send [15:49:39]OFD Sender: No OFD packet to send [15:49:44]OFD Sender: No OFD packet to send [15:49:49]OFD Sender: No OFD packet to send [15:49:54]OFD Sender: No OFD packet to send [15:49:59]OFD Sender: No OFD packet to send [15:50:04]OFD Sender: No OFD packet to send [15:50:09]OFD Sender: No OFD packet to send [15:50:14]OFD Sender: No OFD packet to send [15:50:19]OFD Sender: No OFD packet to send [15:50:24]OFD Sender: No OFD packet to send [15:50:29]OFD Sender: No OFD packet to send [15:50:34]OFD Sender: No OFD packet to send [15:50:39]OFD Sender: No OFD packet to send [15:50:44]OFD Sender: No OFD packet to send [15:50:49]OFD Sender: No OFD packet to send [15:50:54]OFD Sender: No OFD packet to send [15:50:59]OFD Sender: No OFD packet to send [15:51:04]OFD Sender: No OFD packet to send [15:51:09]OFD Sender: No OFD packet to send [15:51:14]OFD Sender: No OFD packet to send [15:51:19]OFD Sender: No OFD packet to send [15:51:24]OFD Sender: No OFD packet to send [15:51:29]OFD Sender: No OFD packet to send [15:51:34]OFD Sender: No OFD packet to send [15:51:39]OFD Sender: No OFD packet to send [15:51:45]OFD Sender: No OFD packet to send [15:51:50]OFD Sender: No OFD packet to send [15:51:55]OFD Sender: No OFD packet to send [15:52:00]OFD Sender: No OFD packet to send [15:52:05]OFD Sender: No OFD packet to send [15:52:10]OFD Sender: No OFD packet to send [15:52:15]OFD Sender: No OFD packet to send [15:52:20]OFD Sender: No OFD packet to send [15:52:25]OFD Sender: No OFD packet to send [15:52:30]OFD Sender: No OFD packet to send [15:52:35]OFD Sender: No OFD packet to send [15:52:40]OFD Sender: No OFD packet to send [15:52:45]OFD Sender: No OFD packet to send [15:52:50]OFD Sender: No OFD packet to send [15:52:55]OFD Sender: No OFD packet to send [15:53:00]OFD Sender: No OFD packet to send [15:53:05]OFD Sender: No OFD packet to send [15:53:10]OFD Sender: No OFD packet to send [15:53:14]accept exits with 9 [15:53:14]New connection [15:53:14]New thread 3066850660 created [15:53:14]Thread 3066707300 joined [15:53:14]Waiting for new connection... [15:53:14] Sock 9.Parse request [15:53:14]Sock 9.Check first char [15:53:14]Sock 9.First char is OK [15:53:14]request: POST /json_proto HTTP/1.0 [15:53:14]Method: POST [15:53:14]URL: /json_proto [15:53:14]Method is POST - this is cgi request [15:53:14]url: /json_proto [15:53:14]query_string will be loaded in cgi processing [15:53:14]execute_cgi json_proto POST (null) [15:53:14]execute_cgi path=json_proto method=POST [15:53:14]POST find Content-Length [15:53:14]Host: 172.17.52.132:8080 [15:53:14]Content-Length: 1135 [15:53:14]Content-Type: application/json [15:53:14] [15:53:14]POST finish read [15:53:14]Found Content-Length = 1135 [15:53:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99956", "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 }]} ,{ "code": "5449000325907", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,45\u043B \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 389.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:53:14]execute_script... [15:53:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99956", "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 }]} ,{ "code": "5449000325907", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,45\u043B \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 389.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:53:14]POST & json_proto [15:53:14]process_json_proto [15:53:14]json parsed OK: [15:53:14]protocol is kg_v1.0 [15:53:14]action value=close_receipt [15:53:14]process_action close_receipt [15:53:14]cmd_close_receipt [15:53:14]MH_GetDate [15:53:14]Write to MH i2c: F0 00 00 FB 4C 36 [15:53:14]Write i2c OK [15:53:14]MH_I2C_Read... [15:53:14]Read from MH i2c: F0 [15:53:14]MH_I2C_Read... [15:53:14]Read from MH i2c: F0 09 00 [15:53:14]MH_I2C_Read... [15:53:14]Read from MH i2c: F0 09 00 FB 4C 00 F4 D5 13 67 5A BE F6 66 F6 [15:53:14]GetLastDocTimeStamp 1729352416 [15:53:14]current date 1729353204 [15:53:14]FM_GetShiftState [15:53:14]SAM_PROTO_GetShiftState [15:53:14]wFMCommunicate request_size=4 [15:53:14]MH_SAM_APDU [15:53:14]CAPDU: 80 13 01 00 [15:53:14]Write to MH i2c: E2 08 00 FC 4C 80 13 01 00 00 00 00 00 C5 [15:53:14]Write i2c OK [15:53:14]MH_I2C_Read... [15:53:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:53:14]Read from MH i2c: E2 [15:53:14]MH_I2C_Read... [15:53:14]Read from MH i2c: E2 0E 00 [15:53:14]MH_I2C_Read... [15:53:14]Read from MH i2c: E2 0E 00 FC 4C 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 6E [15:53:14]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [15:53:14]wFMCommunicate OK [15:53:14]SAM_PROTO_GetShiftState done [15:53:14]FM_GetShiftState done [15:53:14]opened in 1729296173 [15:53:14]opened+sec_in_day 1729382573 [15:53:14]quantity*price = 16000 [15:53:14]sum+1 = 16001 [15:53:14]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000325907 Напиток Фанта 0,45л ж/б 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48741231 Сигареты Winston Super Slims Silver 1.000 * 139.00 = 139.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 389.00 НСП 1% : 3.45 НДС 12% : 41.31 Наличными: 389.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 39 19.10.2024 15:53 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2578 ФПД: 61055369919810 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T155324&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2578&fm=61055369919810&tin=02508201610067®Number=0000000000207295&sum=38900 0 [15:53:15]StoreToDocumentArchive [15:53:15]shift 23 fd 2578 [15:53:15]save to /storage/0023/doc_00002578 [15:53:15]save last doc name /storage/0023/doc_00002578 to /storage/kkm_last_doc_name [15:53:15]save OK [15:53:15]Clear old archive folders... [15:53:15]ProcessDocumentItem done err = 0, tmpTLVsize=494 [15:53:15]tlvbuf is 01457500 [15:53:15]SAM_PROTO_ClearQueue [15:53:15]wFMCommunicate request_size=4 [15:53:15]MH_SAM_APDU [15:53:15]CAPDU: 80 09 00 00 [15:53:15]Write to MH i2c: E2 08 00 09 4D 80 09 00 00 00 00 00 00 C8 [15:53:15]Write i2c OK [15:53:15]MH_I2C_Read... [15:53:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:53:15]Read from MH i2c: E2 [15:53:15]MH_I2C_Read... [15:53:15]Read from MH i2c: E2 03 00 [15:53:15]MH_I2C_Read... [15:53:15]Read from MH i2c: E2 03 00 09 4D 00 90 00 CA [15:53:15]RAPDU: 90 00 [15:53:15]wFMCommunicate OK [15:53:15]SAM_PROTO_ClearQueue done [15:53:15]KKMCreateOFDPacket [15:53:15]OFDProtocolAddRootSTLVToBuf [15:53:15]FM_MakeSignedData [15:53:15]FM_MakeSignedData [15:53:15]SAM_PROTO_SignData [15:53:15]wFMCommunicate request_size=4 [15:53:15]MH_SAM_APDU [15:53:15]CAPDU: 80 0D 01 02 [15:53:15]Write to MH i2c: E2 08 00 0A 4D 80 0D 01 02 00 00 00 00 D0 [15:53:15]Write i2c OK [15:53:15]MH_I2C_Read... [15:53:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:53:15]Read from MH i2c: E2 [15:53:15]MH_I2C_Read... [15:53:15]Read from MH i2c: E2 03 00 [15:53:15]MH_I2C_Read... [15:53:15]Read from MH i2c: E2 03 00 0A 4D 00 90 00 CB [15:53:15]RAPDU: 90 00 [15:53:15]wFMCommunicate OK [15:53:15]wFMCommunicate request_size=255 [15:53:15]MH_SAM_APDU [15:53:15]CAPDU: 80 0D 02 02 FA 03 00 EE 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 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 33 32 35 39 30 37 06 04 26 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 30 2C 34 35 D0 BB 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 [15:53:16]Write to MH i2c: E2 02 01 0B 4D 80 0D 02 02 FA 00 03 00 EE 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 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 33 32 35 39 30 37 06 04 26 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 30 2C 34 35 D0 BB 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 00 00 EA [15:53:16]Write i2c OK [15:53:16]MH_I2C_Read... [15:53:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:53:16]Read from MH i2c: E2 [15:53:16]MH_I2C_Read... [15:53:16]Read from MH i2c: E2 03 00 [15:53:16]MH_I2C_Read... [15:53:16]Read from MH i2c: E2 03 00 0B 4D 00 90 00 CC [15:53:16]RAPDU: 90 00 [15:53:16]wFMCommunicate OK [15:53:16]wFMCommunicate request_size=253 [15:53:16]MH_SAM_APDU [15:53:16]CAPDU: 80 0D 02 02 F8 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 F4 97 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 10 00 00 00 00 07 04 06 00 F4 97 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 F4 D5 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 12 0A 00 00 35 04 06 00 37 87 8F A2 BD 42 [15:53:16]Write to MH i2c: E2 00 01 0C 4D 80 0D 02 02 F8 00 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 F4 97 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 10 00 00 00 00 07 04 06 00 F4 97 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 F4 D5 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 12 0A 00 00 35 04 06 00 37 87 8F A2 BD 42 00 00 6A [15:53:16]Write i2c OK [15:53:16]MH_I2C_Read... [15:53:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:53:16]Read from MH i2c: E2 [15:53:16]MH_I2C_Read... [15:53:16]Read from MH i2c: E2 03 00 [15:53:16]MH_I2C_Read... [15:53:16]Read from MH i2c: E2 03 00 0C 4D 00 90 00 CD [15:53:16]RAPDU: 90 00 [15:53:16]wFMCommunicate OK [15:53:16]wFMCommunicate request_size=4 [15:53:16]MH_SAM_APDU [15:53:16]CAPDU: 80 0D 03 02 [15:53:16]Write to MH i2c: E2 08 00 0D 4D 80 0D 03 02 00 00 00 00 D5 [15:53:16]Write i2c OK [15:53:16]MH_I2C_Read... [15:53:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:53:16]Read from MH i2c: E2 [15:53:16]MH_I2C_Read... [15:53:16]Read from MH i2c: E2 0B 00 [15:53:16]MH_I2C_Read... [15:53:16]Read from MH i2c: E2 0B 00 0D 4D 00 AE 85 F3 DE BC 31 E8 86 90 00 35 [15:53:16]RAPDU: AE 85 F3 DE BC 31 E8 86 90 00 [15:53:16]wFMCommunicate OK [15:53:16]SAM_PROTO_SignData done [15:53:16]FM_MakeSignedData done [15:53:16]CreateOFDProtocolMessage [15:53:16]wFMCommunicate request_size=4 [15:53:16]MH_SAM_APDU [15:53:16]CAPDU: 80 11 00 00 [15:53:16]Write to MH i2c: E2 08 00 0E 4D 80 11 00 00 00 00 00 00 D5 [15:53:16]Write i2c OK [15:53:16]MH_I2C_Read... [15:53:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:53:16]Read from MH i2c: E2 [15:53:16]MH_I2C_Read... [15:53:16]Read from MH i2c: E2 17 00 [15:53:16]MH_I2C_Read... [15:53:16]Read from MH i2c: E2 17 00 0E 4D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 1D [15:53:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:53:16]wFMCommunicate OK [15:53:16]CreateOFDProtocolMessage done [15:53:16]OFDSenderStorePacket 2578 [15:53:16]StoreOFDPacket docnum=2578 [15:53:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 02 02 00 00 B4 60 FA 01 7A C7 5A 03 01 00 03 00 EE 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 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 33 32 35 39 30 37 06 04 26 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 30 2C 34 35 D0 BB 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 F4 97 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 10 00 00 00 00 07 04 06 00 F4 97 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 F4 D5 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 12 0A 00 00 35 04 06 00 37 87 8F A2 BD 42 AE 85 F3 DE BC 31 E8 86 [15:53:16]CheckFolder [15:53:16]dirname=/storage/ofd_packets [15:53:16]CheckFolder done [15:53:16]ProducePacketName [15:53:16]name=ofd_packets/00002578 [15:53:16]NVStorageSaveData ofd_packets/00002578 [15:53:16]File name is /storage/ofd_packets/00002578 [15:53:16]Write 544 bytes [15:53:16]NVStorageSaveData done [15:53:16]OFDSenderStorePacket done [15:53:16]KKMCreateOFDPacket done [15:53:16]NVStorageSaveData kkm_last_timestamp [15:53:16]File name is /storage/kkm_last_timestamp [15:53:16]Write 4 bytes [15:53:16]NVStorageSaveData done [15:53:16]ExternCall_PrintAddStr [15:53:16]wPrintStart [15:53:16]Write to MH i2c: 01 00 00 0F 4D 5C [15:53:16]Write i2c OK [15:53:16]MH_I2C_Read... [15:53:16]Read from MH i2c: 01 [15:53:16]MH_I2C_Read... [15:53:16]Read from MH i2c: 01 07 00 [15:53:16]MH_I2C_Read... [15:53:16]Read from MH i2c: 01 07 00 0F 4D 00 00 00 00 00 FF 0F 71 [15:53:16]RasterBufferAndPrint [15:53:16]line Счет N : (3)99956 [15:53:16]line ИНН: 02508201610067 [15:53:16]line Контрольно-Кассовый Чек [15:53:16]line ПРОДАЖА [15:53:16]line Товар: 48741958 [15:53:16]line Сигареты Parliament Aqua Blue [15:53:16]line 1.000 * 160.00 [15:53:16]line = 160.00 [15:53:16]line НДС 12% НСП 1% [15:53:16]line > о реализуемом товаре [15:53:16]line Товар: 5449000325907 [15:53:16]line Напиток Фанта 0,45л ж/б [15:53:16]line 1.000 * 90.00 [15:53:16]line = 90.00 [15:53:16]line НДС 12% НСП 1% [15:53:16]line > о реализуемом товаре [15:53:16]line Товар: 48741231 [15:53:16]line Сигареты Winston Super Slims Silver [15:53:16]line 1.000 * 139.00 [15:53:16]line = 139.00 [15:53:16]line НДС 12% НСП 1% [15:53:16]line > о реализуемом товаре [15:53:16]line ИТОГО: 389.00 [15:53:16]line НСП 1% : 3.45 [15:53:16]line НДС 12% : 41.31 [15:53:16]line Наличными: 389.00 [15:53:16]line Безнал.: 0.00 [15:53:16]line Место: АЗС № 162 "Партнер Нефть" [15:53:16]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [15:53:16]line СНО: Общий режим [15:53:16]line Чек 39 19.10.2024 15:53 [15:53:16]line Смена: 23 ФФД: 1.0 [15:53:16]line ЗНМ: 0300000191 [15:53:16]line РНМ: 0000000000207295 [15:53:16]line Версия ККМ: v1.0 [15:53:16]line ФМ: 0000000002342820 [15:53:16]line ФД: 2578 [15:53:16]line ФПД: 61055369919810 [15:53:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T155324&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2578&fm=61055369919810&tin=02508201610067®Number=0000000000207295&sum=38900 [15:53:16]line 0 [15:53:16]written 0, free lines is 4095 [15:53:16]OFD Sender: Processing packet 2578 [packets to send 1, broken 0] [15:53:16]ProducePacketName [15:53:16]name=ofd_packets/00002578 [15:53:16]OFD Sender: To server: pG, [15:53:16]CommunicateWithHost lk.salyk.kg:30040 [15:53:16]ConnectInit lk.salyk.kg [15:53:16]Connected sock=10 [15:53:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 02 02 00 00 B4 60 FA 01 7A C7 5A 03 01 00 03 00 EE 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 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 33 32 35 39 30 37 06 04 26 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 30 2C 34 35 D0 BB 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 F4 97 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 10 00 00 00 00 07 04 06 00 F4 97 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 F4 D5 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 12 0A 00 00 35 04 06 00 37 87 8F A2 BD 42 AE 85 F3 DE BC 31 E8 86 [15:53:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 E6 81 47 00 DA 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 32 33 34 32 38 32 30 10 04 04 00 12 0A 00 00 F4 03 04 00 55 81 13 67 B6 04 01 00 00 4C FD 86 94 7E 6F BF 72 [15:53:17]CommunicateWithHost err = 0 [15:53:17]CheckOFDResponse [15:53:17]1017 (14) - 77093643461234 [15:53:17]1041 (16) - 0000000002342820 [15:53:17]1040 (4) - 2578 [15:53:17]1012 (4) - 19.10.2024 09:52 [15:53:17]1206 (1) - 0 [15:53:17]OFD Sender: Remove packet 2578 [15:53:17]ProducePacketName [15:53:17]name=ofd_packets/00002578 [15:53:17]NVStorageDeleteData [15:53:17]Write to MH i2c: 01 00 00 45 4D 92 [15:53:17]Write i2c OK [15:53:17]MH_I2C_Read... [15:53:17]Read from MH i2c: 01 [15:53:17]MH_I2C_Read... [15:53:17]Read from MH i2c: 01 07 00 [15:53:17]MH_I2C_Read... [15:53:17]Read from MH i2c: 01 07 00 45 4D 00 00 00 00 00 D2 0B 76 [15:53:17]RasterBufferAndPrint [15:53:17]line [15:53:17]line [15:53:17]line [15:53:17]line [15:53:17]line [15:53:17]written 0, free lines is 3033 [15:53:17]MH_Cut [15:53:17]Write to MH i2c: D1 01 00 4C 4D 01 6B [15:53:17]Write i2c OK [15:53:17]MH_I2C_Read... [15:53:17]Read from MH i2c: D1 [15:53:17]MH_I2C_Read... [15:53:17]Read from MH i2c: D1 01 00 [15:53:17]MH_I2C_Read... [15:53:17]Read from MH i2c: D1 01 00 4C 4D 00 6A [15:53:17]Write to MH i2c: 01 00 00 4D 4D 9A [15:53:17]Write i2c OK [15:53:17]MH_I2C_Read... [15:53:17]OFD Sender: No OFD packet to send [15:53:18]*** Cut start [15:53:18]*** Partial cut [15:53:18]*** CUTSNS_PIN = 1 [15:53:18]*** CUTSNS_PIN = 0 [15:53:18]*** Brake cut motor [15:53:18]Read from MH i2c: 01 [15:53:19]MH_I2C_Read... [15:53:19]*** Stop cut motor [15:53:19]*** Cut end [15:53:19]Read from MH i2c: 01 07 00 [15:53:19]MH_I2C_Read... [15:53:19]Read from MH i2c: 01 07 00 4D 4D 00 00 00 00 00 FF 0F AF [15:53:19]process_action close_receipt done [15:53:19]requested_data is exist [15:53:19]produce_requested_data [15:53:19]requested_item fm.sn is exist - process it [15:53:19]wFMCommunicate request_size=4 [15:53:19]MH_SAM_APDU [15:53:19]CAPDU: 80 11 00 00 [15:53:19]Write to MH i2c: E2 08 00 4E 4D 80 11 00 00 00 00 00 00 15 [15:53:19]Write i2c OK [15:53:19]MH_I2C_Read... [15:53:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:53:19]Read from MH i2c: E2 [15:53:19]MH_I2C_Read... [15:53:19]Read from MH i2c: E2 17 00 [15:53:19]MH_I2C_Read... [15:53:19]Read from MH i2c: E2 17 00 4E 4D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 5D [15:53:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:53:19]wFMCommunicate OK [15:53:19]requested_item fd.num is exist - process it [15:53:19]SAM_PROTO_GetFieldsCounters [15:53:19]wFMCommunicate request_size=4 [15:53:19]MH_SAM_APDU [15:53:19]CAPDU: 80 13 00 00 [15:53:19]Write to MH i2c: E2 08 00 4F 4D 80 13 00 00 00 00 00 00 18 [15:53:19]Write i2c OK [15:53:19]MH_I2C_Read... [15:53:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:53:19]Read from MH i2c: E2 [15:53:19]MH_I2C_Read... [15:53:19]Read from MH i2c: E2 62 00 [15:53:19]MH_I2C_Read... [15:53:19]Read from MH i2c: E2 62 00 4F 4D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 12 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 D6 [15:53:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 12 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:53:19]wFMCommunicate OK [15:53:19]SAM_PROTO_GetFieldsCounters done [15:53:19]requested_item shift.num is exist - process it [15:53:19]requested_item shift.opened is exist - process it [15:53:19]req_shift_opened [15:53:19]FM_GetShiftState [15:53:19]SAM_PROTO_GetShiftState [15:53:19]wFMCommunicate request_size=4 [15:53:19]MH_SAM_APDU [15:53:19]CAPDU: 80 13 01 00 [15:53:19]Write to MH i2c: E2 08 00 50 4D 80 13 01 00 00 00 00 00 1A [15:53:19]Write i2c OK [15:53:19]MH_I2C_Read... [15:53:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:53:19]Read from MH i2c: E2 [15:53:19]MH_I2C_Read... [15:53:19]Read from MH i2c: E2 0E 00 [15:53:19]MH_I2C_Read... [15:53:19]Read from MH i2c: E2 0E 00 50 4D 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 C3 [15:53:19]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [15:53:19]wFMCommunicate OK [15:53:19]SAM_PROTO_GetShiftState done [15:53:19]FM_GetShiftState done [15:53:19]req_shift_opened done [15:53:19]requested_item shift.open_date is exist - process it [15:53:19]req_shift_open_date [15:53:19]req_shift_open_date done [15:53:19]produce_requested_data done [15:53:19]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2578,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [15:53:19]process_action_free close_receipt [15:53:19]json_value_free [15:53:19]json_value_free done [15:53:19]process_json_proto returns [15:53:19]Send response to host [15:53:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2578,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [15:53:19]free response buf [15:53:19]execute_script done [15:53:19]execute_script returns [15:53:19]free content buf [15:53:19]Sock 9.Close socket [15:53:19]Sock 9.Thread stoped [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:38]accept exits with 7 [15:55:38]New connection [15:55:38]New thread 3066707300 created [15:55:38]Thread 3066850660 joined [15:55:38]Waiting for new connection... [15:55:38] Sock 7.Parse request [15:55:38]Sock 7.Check first char [15:55:38]Sock 7.First char is OK [15:55:38]request: POST /json_proto HTTP/1.0 [15:55:38]Method: POST [15:55:38]URL: /json_proto [15:55:38]Method is POST - this is cgi request [15:55:38]url: /json_proto [15:55:38]query_string will be loaded in cgi processing [15:55:38]execute_cgi json_proto POST (null) [15:55:38]execute_cgi path=json_proto method=POST [15:55:38]POST find Content-Length [15:55:38]Host: 172.17.52.132:8080 [15:55:38]Content-Length: 1059 [15:55:38]Content-Type: application/json [15:55:38] [15:55:38]POST finish read [15:55:38]Found Content-Length = 1059 [15:55:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99957", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 259.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:55:38]execute_script... [15:55: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)99957", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 259.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:55:38]POST & json_proto [15:55:38]process_json_proto [15:55:38]json parsed OK: [15:55:38]protocol is kg_v1.0 [15:55:38]action value=close_receipt [15:55:38]process_action close_receipt [15:55:38]cmd_close_receipt [15:55:38]MH_GetDate [15:55:38]Write to MH i2c: F0 00 00 51 4D 8D [15:55:38]Write i2c OK [15:55:38]MH_I2C_Read... [15:55:38]Read from MH i2c: F0 [15:55:38]MH_I2C_Read... [15:55:38]Read from MH i2c: F0 09 00 [15:55:38]MH_I2C_Read... [15:55:38]Read from MH i2c: F0 09 00 51 4D 00 84 D6 13 67 5A BE F6 66 DE [15:55:38]GetLastDocTimeStamp 1729353204 [15:55:38]current date 1729353348 [15:55:38]FM_GetShiftState [15:55:38]SAM_PROTO_GetShiftState [15:55:38]wFMCommunicate request_size=4 [15:55:38]MH_SAM_APDU [15:55:38]CAPDU: 80 13 01 00 [15:55:38]Write to MH i2c: E2 08 00 52 4D 80 13 01 00 00 00 00 00 1C [15:55:38]Write i2c OK [15:55:38]MH_I2C_Read... [15:55:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:55:38]Read from MH i2c: E2 [15:55:38]MH_I2C_Read... [15:55:38]Read from MH i2c: E2 0E 00 [15:55:38]MH_I2C_Read... [15:55:38]Read from MH i2c: E2 0E 00 52 4D 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 C5 [15:55:38]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [15:55:38]wFMCommunicate OK [15:55:38]SAM_PROTO_GetShiftState done [15:55:38]FM_GetShiftState done [15:55:38]opened in 1729296173 [15:55:38]opened+sec_in_day 1729382573 [15:55:38]quantity*price = 14400 [15:55:38]sum+1 = 14401 [15:55:38]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036210013 Кофе Капучино (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 259.00 НСП 1% : 2.29 НДС 12% : 27.50 Наличными: 0.00 Безнал.: 259.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 40 19.10.2024 15:55 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000002342820 ФД: 2579 ФПД: 162029614824864 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T155548&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2579&fm=162029614824864&tin=02508201610067®Number=0000000000207295&sum=25900 0 [15:55:39]StoreToDocumentArchive [15:55:39]shift 23 fd 2579 [15:55:39]save to /storage/0023/doc_00002579 [15:55:39]save last doc name /storage/0023/doc_00002579 to /storage/kkm_last_doc_name [15:55:39]save OK [15:55:39]Clear old archive folders... [15:55:39]ProcessDocumentItem done err = 0, tmpTLVsize=385 [15:55:39]tlvbuf is 0149D530 [15:55:39]SAM_PROTO_ClearQueue [15:55:39]wFMCommunicate request_size=4 [15:55:39]MH_SAM_APDU [15:55:39]CAPDU: 80 09 00 00 [15:55:39]Write to MH i2c: E2 08 00 5F 4D 80 09 00 00 00 00 00 00 1E [15:55:39]Write i2c OK [15:55:39]MH_I2C_Read... [15:55:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:55:39]Read from MH i2c: E2 [15:55:39]MH_I2C_Read... [15:55:39]Read from MH i2c: E2 03 00 [15:55:39]MH_I2C_Read... [15:55:39]Read from MH i2c: E2 03 00 5F 4D 00 90 00 20 [15:55:39]RAPDU: 90 00 [15:55:39]wFMCommunicate OK [15:55:39]SAM_PROTO_ClearQueue done [15:55:39]KKMCreateOFDPacket [15:55:39]OFDProtocolAddRootSTLVToBuf [15:55:39]FM_MakeSignedData [15:55:39]FM_MakeSignedData [15:55:39]SAM_PROTO_SignData [15:55:39]wFMCommunicate request_size=4 [15:55:39]MH_SAM_APDU [15:55:39]CAPDU: 80 0D 01 02 [15:55:39]Write to MH i2c: E2 08 00 60 4D 80 0D 01 02 00 00 00 00 26 [15:55:39]Write i2c OK [15:55:39]MH_I2C_Read... [15:55:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:55:39]Read from MH i2c: E2 [15:55:39]MH_I2C_Read... [15:55:39]Read from MH i2c: E2 03 00 [15:55:39]MH_I2C_Read... [15:55:39]Read from MH i2c: E2 03 00 60 4D 00 90 00 21 [15:55:39]RAPDU: 90 00 [15:55:39]wFMCommunicate OK [15:55:39]wFMCommunicate request_size=255 [15:55:39]MH_SAM_APDU [15:55:39]CAPDU: 80 0D 02 02 FA 03 00 81 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 [15:55:39]Write to MH i2c: E2 02 01 61 4D 80 0D 02 02 FA 00 03 00 81 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 F6 [15:55:39]Write i2c OK [15:55:39]MH_I2C_Read... [15:55:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:55:39]Read from MH i2c: E2 [15:55:39]MH_I2C_Read... [15:55:39]Read from MH i2c: E2 03 00 [15:55:39]MH_I2C_Read... [15:55:39]Read from MH i2c: E2 03 00 61 4D 00 90 00 22 [15:55:39]RAPDU: 90 00 [15:55:39]wFMCommunicate OK [15:55:39]wFMCommunicate request_size=144 [15:55:39]MH_SAM_APDU [15:55:39]CAPDU: 80 0D 02 02 8B 00 E5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 84 D6 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 13 0A 00 00 35 04 06 00 93 5D 75 A2 7D A0 [15:55:39]Write to MH i2c: E2 93 00 62 4D 80 0D 02 02 8B 00 00 E5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 84 D6 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 13 0A 00 00 35 04 06 00 93 5D 75 A2 7D A0 00 00 F3 [15:55:39]Write i2c OK [15:55:39]MH_I2C_Read... [15:55:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:55:40]Read from MH i2c: E2 [15:55:40]MH_I2C_Read... [15:55:40]Read from MH i2c: E2 03 00 [15:55:40]MH_I2C_Read... [15:55:40]Read from MH i2c: E2 03 00 62 4D 00 90 00 23 [15:55:40]RAPDU: 90 00 [15:55:40]wFMCommunicate OK [15:55:40]wFMCommunicate request_size=4 [15:55:40]MH_SAM_APDU [15:55:40]CAPDU: 80 0D 03 02 [15:55:40]Write to MH i2c: E2 08 00 63 4D 80 0D 03 02 00 00 00 00 2B [15:55:40]Write i2c OK [15:55:40]MH_I2C_Read... [15:55:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:55:40]Read from MH i2c: E2 [15:55:40]MH_I2C_Read... [15:55:40]Read from MH i2c: E2 0B 00 [15:55:40]MH_I2C_Read... [15:55:40]Read from MH i2c: E2 0B 00 63 4D 00 6D A4 8A 02 5E 46 6E 03 90 00 DE [15:55:40]RAPDU: 6D A4 8A 02 5E 46 6E 03 90 00 [15:55:40]wFMCommunicate OK [15:55:40]SAM_PROTO_SignData done [15:55:40]FM_MakeSignedData done [15:55:40]CreateOFDProtocolMessage [15:55:40]wFMCommunicate request_size=4 [15:55:40]MH_SAM_APDU [15:55:40]CAPDU: 80 11 00 00 [15:55:40]Write to MH i2c: E2 08 00 64 4D 80 11 00 00 00 00 00 00 2B [15:55:40]Write i2c OK [15:55:40]MH_I2C_Read... [15:55:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:55:40]Read from MH i2c: E2 [15:55:40]MH_I2C_Read... [15:55:40]Read from MH i2c: E2 17 00 [15:55:40]MH_I2C_Read... [15:55:40]Read from MH i2c: E2 17 00 64 4D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 73 [15:55:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:55:40]wFMCommunicate OK [15:55:40]CreateOFDProtocolMessage done [15:55:40]OFDSenderStorePacket 2579 [15:55:40]StoreOFDPacket docnum=2579 [15:55:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 95 01 00 00 5C 04 8D 01 40 EC 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 84 D6 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 13 0A 00 00 35 04 06 00 93 5D 75 A2 7D A0 6D A4 8A 02 5E 46 6E 03 [15:55:40]CheckFolder [15:55:40]dirname=/storage/ofd_packets [15:55:40]CheckFolder done [15:55:40]ProducePacketName [15:55:40]name=ofd_packets/00002579 [15:55:40]NVStorageSaveData ofd_packets/00002579 [15:55:40]File name is /storage/ofd_packets/00002579 [15:55:40]Write 435 bytes [15:55:40]NVStorageSaveData done [15:55:40]OFDSenderStorePacket done [15:55:40]KKMCreateOFDPacket done [15:55:40]NVStorageSaveData kkm_last_timestamp [15:55:40]File name is /storage/kkm_last_timestamp [15:55:40]Write 4 bytes [15:55:40]NVStorageSaveData done [15:55:40]ExternCall_PrintAddStr [15:55:40]wPrintStart [15:55:40]Write to MH i2c: 01 00 00 65 4D B2 [15:55:40]OFD Sender: Processing packet 2579 [packets to send 1, broken 0] [15:55:40]ProducePacketName [15:55:40]name=ofd_packets/00002579 [15:55:40]OFD Sender: To server: pG, [15:55:40]CommunicateWithHost lk.salyk.kg:30040 [15:55:40]ConnectInit lk.salyk.kg [15:55:40]Write i2c OK [15:55:40]MH_I2C_Read... [15:55:40]Read from MH i2c: 01 [15:55:40]MH_I2C_Read... [15:55:40]Read from MH i2c: 01 07 00 [15:55:40]MH_I2C_Read... [15:55:40]Read from MH i2c: 01 07 00 65 4D 00 00 00 00 00 FF 0F C7 [15:55:40]RasterBufferAndPrint [15:55:40]line Счет N : (3)99957 [15:55:40]line ИНН: 02508201610067 [15:55:40]line Контрольно-Кассовый Чек [15:55:40]line ПРОДАЖА [15:55:40]line Товар: 48743587 [15:55:40]line Сигареты Winston XStyle Silver [15:55:40]line 1.000 * 144.00 [15:55:40]line = 144.00 [15:55:40]line НДС 12% НСП 1% [15:55:40]line > о реализуемом товаре [15:55:40]line Товар: 2000036210013 [15:55:40]line Кофе Капучино (GABB TRADE) [15:55:40]line 1.000 * 115.00 [15:55:40]line = 115.00 [15:55:40]line НДС 12% НСП 1% [15:55:40]line > о реализуемом товаре [15:55:40]line ИТОГО: 259.00 [15:55:40]line НСП 1% : 2.29 [15:55:40]line НДС 12% : 27.50 [15:55:40]line Наличными: 0.00 [15:55:40]line Безнал.: 259.00 [15:55:40]line Место: АЗС № 162 "Партнер Нефть" [15:55:40]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [15:55:40]line СНО: Общий режим [15:55:40]line Чек 40 19.10.2024 15:55 [15:55:40]line Смена: 23 ФФД: 1.0 [15:55:40]line ЗНМ: 0300000191 [15:55:40]line РНМ: 0000000000207295 [15:55:40]line Версия ККМ: v1.0 [15:55:40]line Платежная система: Бакай Банк [15:55:40]line ФМ: 0000000002342820 [15:55:40]line ФД: 2579 [15:55:40]line ФПД: 162029614824864 [15:55:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T155548&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2579&fm=162029614824864&tin=02508201610067®Number=0000000000207295&sum=25900 [15:55:40]line 0 [15:55:40]written 0, free lines is 4095 [15:55:40]Connected sock=10 [15:55:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 95 01 00 00 5C 04 8D 01 40 EC 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 84 D6 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 13 0A 00 00 35 04 06 00 93 5D 75 A2 7D A0 6D A4 8A 02 5E 46 6E 03 [15:55:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 CC FD 47 00 6E 4F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 13 0A 00 00 F4 03 04 00 E5 81 13 67 B6 04 01 00 00 0A 77 DF AF 73 3F 79 4B [15:55:40]CommunicateWithHost err = 0 [15:55:40]CheckOFDResponse [15:55:40]1017 (14) - 77093643461234 [15:55:40]1041 (16) - 0000000002342820 [15:55:40]1040 (4) - 2579 [15:55:40]1012 (4) - 19.10.2024 09:54 [15:55:40]1206 (1) - 0 [15:55:40]OFD Sender: Remove packet 2579 [15:55:40]ProducePacketName [15:55:40]name=ofd_packets/00002579 [15:55:40]NVStorageDeleteData [15:55:41]Write to MH i2c: 01 00 00 96 4D E3 [15:55:41]Write i2c OK [15:55:41]MH_I2C_Read... [15:55:41]Read from MH i2c: 01 [15:55:41]MH_I2C_Read... [15:55:41]Read from MH i2c: 01 07 00 [15:55:41]MH_I2C_Read... [15:55:41]Read from MH i2c: 01 07 00 96 4D 00 00 00 00 00 4C 0C 42 [15:55:41]RasterBufferAndPrint [15:55:41]line [15:55:41]line [15:55:41]line [15:55:41]line [15:55:41]line [15:55:41]written 0, free lines is 3152 [15:55:41]MH_Cut [15:55:41]Write to MH i2c: D1 01 00 9D 4D 01 BC [15:55:41]Write i2c OK [15:55:41]MH_I2C_Read... [15:55:41]Read from MH i2c: D1 [15:55:41]MH_I2C_Read... [15:55:41]Read from MH i2c: D1 01 00 [15:55:41]MH_I2C_Read... [15:55:41]Read from MH i2c: D1 01 00 9D 4D 00 BB [15:55:41]Write to MH i2c: 01 00 00 9E 4D EB [15:55:41]Write i2c OK [15:55:41]MH_I2C_Read... [15:55:41]OFD Sender: No OFD packet to send [15:55:41]*** Cut start [15:55:41]*** Partial cut [15:55:41]*** CUTSNS_PIN = 1 [15:55:42]*** CUTSNS_PIN = 0 [15:55:42]*** Brake cut motor [15:55:42]Read from MH i2c: 01 [15:55:42]MH_I2C_Read... [15:55:42]*** Stop cut motor [15:55:42]*** Cut end [15:55:42]Read from MH i2c: 01 07 00 [15:55:42]MH_I2C_Read... [15:55:42]Read from MH i2c: 01 07 00 9E 4D 00 00 00 00 00 FF 0F 00 [15:55:42]process_action close_receipt done [15:55:42]requested_data is exist [15:55:42]produce_requested_data [15:55:42]requested_item fm.sn is exist - process it [15:55:42]wFMCommunicate request_size=4 [15:55:42]MH_SAM_APDU [15:55:42]CAPDU: 80 11 00 00 [15:55:42]Write to MH i2c: E2 08 00 9F 4D 80 11 00 00 00 00 00 00 66 [15:55:42]Write i2c OK [15:55:42]MH_I2C_Read... [15:55:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:55:42]Read from MH i2c: E2 [15:55:42]MH_I2C_Read... [15:55:42]Read from MH i2c: E2 17 00 [15:55:42]MH_I2C_Read... [15:55:42]Read from MH i2c: E2 17 00 9F 4D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 AE [15:55:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [15:55:42]wFMCommunicate OK [15:55:42]requested_item fd.num is exist - process it [15:55:42]SAM_PROTO_GetFieldsCounters [15:55:42]wFMCommunicate request_size=4 [15:55:42]MH_SAM_APDU [15:55:42]CAPDU: 80 13 00 00 [15:55:42]Write to MH i2c: E2 08 00 A0 4D 80 13 00 00 00 00 00 00 69 [15:55:42]Write i2c OK [15:55:42]MH_I2C_Read... [15:55:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:55:42]Read from MH i2c: E2 [15:55:42]MH_I2C_Read... [15:55:42]Read from MH i2c: E2 62 00 [15:55:42]MH_I2C_Read... [15:55:42]Read from MH i2c: E2 62 00 A0 4D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 13 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 2B [15:55:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 13 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:55:42]wFMCommunicate OK [15:55:42]SAM_PROTO_GetFieldsCounters done [15:55:42]requested_item shift.num is exist - process it [15:55:42]requested_item shift.opened is exist - process it [15:55:42]req_shift_opened [15:55:42]FM_GetShiftState [15:55:42]SAM_PROTO_GetShiftState [15:55:42]wFMCommunicate request_size=4 [15:55:42]MH_SAM_APDU [15:55:42]CAPDU: 80 13 01 00 [15:55:42]Write to MH i2c: E2 08 00 A1 4D 80 13 01 00 00 00 00 00 6B [15:55:42]Write i2c OK [15:55:42]MH_I2C_Read... [15:55:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:55:42]Read from MH i2c: E2 [15:55:42]MH_I2C_Read... [15:55:42]Read from MH i2c: E2 0E 00 [15:55:42]MH_I2C_Read... [15:55:42]Read from MH i2c: E2 0E 00 A1 4D 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 14 [15:55:42]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [15:55:42]wFMCommunicate OK [15:55:42]SAM_PROTO_GetShiftState done [15:55:42]FM_GetShiftState done [15:55:42]req_shift_opened done [15:55:42]requested_item shift.open_date is exist - process it [15:55:42]req_shift_open_date [15:55:42]req_shift_open_date done [15:55:42]produce_requested_data done [15:55:42]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2579,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [15:55:42]process_action_free close_receipt [15:55:42]json_value_free [15:55:42]json_value_free done [15:55:42]process_json_proto returns [15:55:42]Send response to host [15:55:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2579,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [15:55:42]free response buf [15:55:42]execute_script done [15:55:42]execute_script returns [15:55:42]free content buf [15:55:42]Sock 7.Close socket [15:55:42]Sock 7.Thread stoped [15:55:46]OFD Sender: No OFD packet to send [15:55:51]OFD Sender: No OFD packet to send [15:55:56]OFD Sender: No OFD packet to send [15:56:01]OFD Sender: No OFD packet to send [15:56:06]OFD Sender: No OFD packet to send [15:56:11]OFD Sender: No OFD packet to send [15:56:16]OFD Sender: No OFD packet to send [15:56:21]OFD Sender: No OFD packet to send [15:56:26]OFD Sender: No OFD packet to send [15:56:31]OFD Sender: No OFD packet to send [15:56:36]OFD Sender: No OFD packet to send [15:56:41]OFD Sender: No OFD packet to send [15:56:46]OFD Sender: No OFD packet to send [15:56:51]OFD Sender: No OFD packet to send [15:56:56]OFD Sender: No OFD packet to send [15:57:01]OFD Sender: No OFD packet to send [15:57:06]OFD Sender: No OFD packet to send [15:57:11]OFD Sender: No OFD packet to send [15:57:16]OFD Sender: No OFD packet to send [15:57:21]OFD Sender: No OFD packet to send [15:57:26]OFD Sender: No OFD packet to send [15:57:31]OFD Sender: No OFD packet to send [15:57:36]OFD Sender: No OFD packet to send [15:57:41]OFD Sender: No OFD packet to send [15:57:46]OFD Sender: No OFD packet to send [15:57:51]OFD Sender: No OFD packet to send [15:57:56]OFD Sender: No OFD packet to send [15:58:01]OFD Sender: No OFD packet to send [15:58:06]OFD Sender: No OFD packet to send [15:58:11]OFD Sender: No OFD packet to send [15:58:16]OFD Sender: No OFD packet to send [15:58:21]OFD Sender: No OFD packet to send [15:58:26]OFD Sender: No OFD packet to send [15:58:31]OFD Sender: No OFD packet to send [15:58:36]OFD Sender: No OFD packet to send [15:58:41]OFD Sender: No OFD packet to send [15:58:46]OFD Sender: No OFD packet to send [15:58:51]OFD Sender: No OFD packet to send [15:58:56]OFD Sender: No OFD packet to send [15:59:01]OFD Sender: No OFD packet to send [15:59:06]OFD Sender: No OFD packet to send [15:59:11]OFD Sender: No OFD packet to send [15:59:16]OFD Sender: No OFD packet to send [15:59:21]OFD Sender: No OFD packet to send [15:59:26]OFD Sender: No OFD packet to send [15:59:31]OFD Sender: No OFD packet to send [15:59:36]OFD Sender: No OFD packet to send [15:59:41]OFD Sender: No OFD packet to send [15:59:46]OFD Sender: No OFD packet to send [15:59:51]OFD Sender: No OFD packet to send [15:59:56]OFD Sender: No OFD packet to send [16:00:01]OFD Sender: No OFD packet to send [16:00:06]OFD Sender: No OFD packet to send [16:00:11]OFD Sender: No OFD packet to send [16:00:16]OFD Sender: No OFD packet to send [16:00:21]OFD Sender: No OFD packet to send [16:00:26]OFD Sender: No OFD packet to send [16:00:31]OFD Sender: No OFD packet to send [16:00:36]OFD Sender: No OFD packet to send [16:00:41]OFD Sender: No OFD packet to send [16:00:46]OFD Sender: No OFD packet to send [16:00:51]OFD Sender: No OFD packet to send [16:00:56]OFD Sender: No OFD packet to send [16:01:01]OFD Sender: No OFD packet to send [16:01:06]OFD Sender: No OFD packet to send [16:01:11]OFD Sender: No OFD packet to send [16:01:16]OFD Sender: No OFD packet to send [16:01:21]OFD Sender: No OFD packet to send [16:01:26]OFD Sender: No OFD packet to send [16:01:31]OFD Sender: No OFD packet to send [16:01:36]OFD Sender: No OFD packet to send [16:01:41]OFD Sender: No OFD packet to send [16:01:46]OFD Sender: No OFD packet to send [16:01:51]OFD Sender: No OFD packet to send [16:01:56]OFD Sender: No OFD packet to send [16:02:01]OFD Sender: No OFD packet to send [16:02:06]OFD Sender: No OFD packet to send [16:02:11]OFD Sender: No OFD packet to send [16:02:16]OFD Sender: No OFD packet to send [16:02:21]OFD Sender: No OFD packet to send [16:02:26]OFD Sender: No OFD packet to send [16:02:31]OFD Sender: No OFD packet to send [16:02:36]OFD Sender: No OFD packet to send [16:02:41]OFD Sender: No OFD packet to send [16:02:46]OFD Sender: No OFD packet to send [16:02:51]OFD Sender: No OFD packet to send [16:02:56]OFD Sender: No OFD packet to send [16:03:01]OFD Sender: No OFD packet to send [16:03:06]OFD Sender: No OFD packet to send [16:03:11]OFD Sender: No OFD packet to send [16:03:16]OFD Sender: No OFD packet to send [16:03:21]OFD Sender: No OFD packet to send [16:03:26]OFD Sender: No OFD packet to send [16:03:31]OFD Sender: No OFD packet to send [16:03:36]OFD Sender: No OFD packet to send [16:03:41]OFD Sender: No OFD packet to send [16:03:46]OFD Sender: No OFD packet to send [16:03:51]OFD Sender: No OFD packet to send [16:03:56]OFD Sender: No OFD packet to send [16:04:01]OFD Sender: No OFD packet to send [16:04:06]OFD Sender: No OFD packet to send [16:04:11]OFD Sender: No OFD packet to send [16:04:16]OFD Sender: No OFD packet to send [16:04:21]OFD Sender: No OFD packet to send [16:04:26]OFD Sender: No OFD packet to send [16:04:31]OFD Sender: No OFD packet to send [16:04:36]OFD Sender: No OFD packet to send [16:04:41]OFD Sender: No OFD packet to send [16:04:46]OFD Sender: No OFD packet to send [16:04:51]OFD Sender: No OFD packet to send [16:04:56]OFD Sender: No OFD packet to send [16:05:01]OFD Sender: No OFD packet to send [16:05:06]OFD Sender: No OFD packet to send [16:05:11]OFD Sender: No OFD packet to send [16:05:16]OFD Sender: No OFD packet to send [16:05:21]OFD Sender: No OFD packet to send [16:05:26]OFD Sender: No OFD packet to send [16:05:31]OFD Sender: No OFD packet to send [16:05:36]OFD Sender: No OFD packet to send [16:05:41]OFD Sender: No OFD packet to send [16:05:46]OFD Sender: No OFD packet to send [16:05:51]OFD Sender: No OFD packet to send [16:05:56]OFD Sender: No OFD packet to send [16:06:01]OFD Sender: No OFD packet to send [16:06:06]OFD Sender: No OFD packet to send [16:06:11]OFD Sender: No OFD packet to send [16:06:16]OFD Sender: No OFD packet to send [16:06:21]OFD Sender: No OFD packet to send [16:06:26]OFD Sender: No OFD packet to send [16:06:31]OFD Sender: No OFD packet to send [16:06:36]OFD Sender: No OFD packet to send [16:06:41]OFD Sender: No OFD packet to send [16:06:46]OFD Sender: No OFD packet to send [16:06:51]OFD Sender: No OFD packet to send [16:06:56]OFD Sender: No OFD packet to send [16:07:01]OFD Sender: No OFD packet to send [16:07:06]OFD Sender: No OFD packet to send [16:07:11]OFD Sender: No OFD packet to send [16:07:16]OFD Sender: No OFD packet to send [16:07:21]OFD Sender: No OFD packet to send [16:07:26]OFD Sender: No OFD packet to send [16:07:31]OFD Sender: No OFD packet to send [16:07:36]OFD Sender: No OFD packet to send [16:07:41]OFD Sender: No OFD packet to send [16:07:46]OFD Sender: No OFD packet to send [16:07:51]OFD Sender: No OFD packet to send [16:07:56]OFD Sender: No OFD packet to send [16:08:01]OFD Sender: No OFD packet to send [16:08:06]OFD Sender: No OFD packet to send [16:08:11]OFD Sender: No OFD packet to send [16:08:16]OFD Sender: No OFD packet to send [16:08:21]OFD Sender: No OFD packet to send [16:08:26]OFD Sender: No OFD packet to send [16:08:31]OFD Sender: No OFD packet to send [16:08:36]OFD Sender: No OFD packet to send [16:08:41]OFD Sender: No OFD packet to send [16:08:46]OFD Sender: No OFD packet to send [16:08:51]OFD Sender: No OFD packet to send [16:08:56]OFD Sender: No OFD packet to send [16:09:01]OFD Sender: No OFD packet to send [16:09:06]OFD Sender: No OFD packet to send [16:09:11]OFD Sender: No OFD packet to send [16:09:16]OFD Sender: No OFD packet to send [16:09:21]OFD Sender: No OFD packet to send [16:09:26]OFD Sender: No OFD packet to send [16:09:31]OFD Sender: No OFD packet to send [16:09:36]OFD Sender: No OFD packet to send [16:09:41]OFD Sender: No OFD packet to send [16:09:46]OFD Sender: No OFD packet to send [16:09:51]OFD Sender: No OFD packet to send [16:09:56]OFD Sender: No OFD packet to send [16:10:01]OFD Sender: No OFD packet to send [16:10:06]OFD Sender: No OFD packet to send [16:10:11]OFD Sender: No OFD packet to send [16:10:16]OFD Sender: No OFD packet to send [16:10:21]OFD Sender: No OFD packet to send [16:10:26]OFD Sender: No OFD packet to send [16:10:31]OFD Sender: No OFD packet to send [16:10:36]OFD Sender: No OFD packet to send [16:10:41]OFD Sender: No OFD packet to send [16:10:46]OFD Sender: No OFD packet to send [16:10:51]OFD Sender: No OFD packet to send [16:10:56]OFD Sender: No OFD packet to send [16:11:01]OFD Sender: No OFD packet to send [16:11:06]OFD Sender: No OFD packet to send [16:11:12]OFD Sender: No OFD packet to send [16:11:17]OFD Sender: No OFD packet to send [16:11:22]OFD Sender: No OFD packet to send [16:11:27]OFD Sender: No OFD packet to send [16:11:32]OFD Sender: No OFD packet to send [16:11:37]OFD Sender: No OFD packet to send [16:11:42]OFD Sender: No OFD packet to send [16:11:47]OFD Sender: No OFD packet to send [16:11:52]OFD Sender: No OFD packet to send [16:11:57]OFD Sender: No OFD packet to send [16:12:02]OFD Sender: No OFD packet to send [16:12:07]OFD Sender: No OFD packet to send [16:12:12]OFD Sender: No OFD packet to send [16:12:17]OFD Sender: No OFD packet to send [16:12:22]OFD Sender: No OFD packet to send [16:12:27]OFD Sender: No OFD packet to send [16:12:32]OFD Sender: No OFD packet to send [16:12:37]OFD Sender: No OFD packet to send [16:12:42]OFD Sender: No OFD packet to send [16:12:47]OFD Sender: No OFD packet to send [16:12:52]OFD Sender: No OFD packet to send [16:12:57]OFD Sender: No OFD packet to send [16:13:02]OFD Sender: No OFD packet to send [16:13:05]accept exits with 9 [16:13:05]New connection [16:13:05]New thread 3066850660 created [16:13:05]Thread 3066707300 joined [16:13:05]Waiting for new connection... [16:13:05] Sock 9.Parse request [16:13:05]Sock 9.Check first char [16:13:05]Sock 9.First char is OK [16:13:05]request: POST /json_proto HTTP/1.0 [16:13:05]Method: POST [16:13:05]URL: /json_proto [16:13:05]Method is POST - this is cgi request [16:13:05]url: /json_proto [16:13:05]query_string will be loaded in cgi processing [16:13:05]execute_cgi json_proto POST (null) [16:13:05]execute_cgi path=json_proto method=POST [16:13:05]POST find Content-Length [16:13:05]Host: 172.17.52.132:8080 [16:13:05]Content-Length: 1104 [16:13:05]Content-Type: application/json [16:13:05] [16:13:05]POST finish read [16:13:05]Found Content-Length = 1104 [16:13:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99958", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 548.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:13:05]execute_script... [16:13: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)99958", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 548.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:13:05]POST & json_proto [16:13:05]process_json_proto [16:13:05]json parsed OK: [16:13:05]protocol is kg_v1.0 [16:13:05]action value=close_receipt [16:13:05]process_action close_receipt [16:13:05]cmd_close_receipt [16:13:05]MH_GetDate [16:13:05]Write to MH i2c: F0 00 00 A2 4D DE [16:13:05]Write i2c OK [16:13:05]MH_I2C_Read... [16:13:05]Read from MH i2c: F0 [16:13:05]MH_I2C_Read... [16:13:05]Read from MH i2c: F0 09 00 [16:13:05]MH_I2C_Read... [16:13:05]Read from MH i2c: F0 09 00 A2 4D 00 9B DA 13 67 5A BE F6 66 4A [16:13:05]GetLastDocTimeStamp 1729353348 [16:13:05]current date 1729354395 [16:13:05]FM_GetShiftState [16:13:05]SAM_PROTO_GetShiftState [16:13:05]wFMCommunicate request_size=4 [16:13:05]MH_SAM_APDU [16:13:05]CAPDU: 80 13 01 00 [16:13:05]Write to MH i2c: E2 08 00 A3 4D 80 13 01 00 00 00 00 00 6D [16:13:05]Write i2c OK [16:13:05]MH_I2C_Read... [16:13:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:13:05]Read from MH i2c: E2 [16:13:05]MH_I2C_Read... [16:13:05]Read from MH i2c: E2 0E 00 [16:13:05]MH_I2C_Read... [16:13:05]Read from MH i2c: E2 0E 00 A3 4D 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 16 [16:13:05]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [16:13:05]wFMCommunicate OK [16:13:05]SAM_PROTO_GetShiftState done [16:13:05]FM_GetShiftState done [16:13:05]opened in 1729296173 [16:13:05]opened+sec_in_day 1729382573 [16:13:05]quantity*price = 14400 [16:13:05]sum+1 = 14401 [16:13:05]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4620006996716 Водка Талка 0,1л 2.000 * 130.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743587 Сигареты Winston XStyle Silver 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 548.00 НСП 1% : 4.84 НДС 12% : 58.19 Наличными: 548.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 41 19.10.2024 16:13 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2580 ФПД: 32312526011546 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T161315&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2580&fm=32312526011546&tin=02508201610067®Number=0000000000207295&sum=54800 0 [16:13:06]StoreToDocumentArchive [16:13:06]shift 23 fd 2580 [16:13:06]save to /storage/0023/doc_00002580 [16:13:06]save last doc name /storage/0023/doc_00002580 to /storage/kkm_last_doc_name [16:13:06]save OK [16:13:06]Clear old archive folders... [16:13:06]ProcessDocumentItem done err = 0, tmpTLVsize=477 [16:13:06]tlvbuf is 014DA2C0 [16:13:06]SAM_PROTO_ClearQueue [16:13:06]wFMCommunicate request_size=4 [16:13:06]MH_SAM_APDU [16:13:06]CAPDU: 80 09 00 00 [16:13:06]Write to MH i2c: E2 08 00 B0 4D 80 09 00 00 00 00 00 00 6F [16:13:06]Write i2c OK [16:13:06]MH_I2C_Read... [16:13:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:13:06]Read from MH i2c: E2 [16:13:06]MH_I2C_Read... [16:13:06]Read from MH i2c: E2 03 00 [16:13:06]MH_I2C_Read... [16:13:06]Read from MH i2c: E2 03 00 B0 4D 00 90 00 71 [16:13:06]RAPDU: 90 00 [16:13:06]wFMCommunicate OK [16:13:06]SAM_PROTO_ClearQueue done [16:13:06]KKMCreateOFDPacket [16:13:06]OFDProtocolAddRootSTLVToBuf [16:13:06]FM_MakeSignedData [16:13:06]FM_MakeSignedData [16:13:06]SAM_PROTO_SignData [16:13:06]wFMCommunicate request_size=4 [16:13:06]MH_SAM_APDU [16:13:06]CAPDU: 80 0D 01 02 [16:13:06]Write to MH i2c: E2 08 00 B1 4D 80 0D 01 02 00 00 00 00 77 [16:13:06]Write i2c OK [16:13:06]MH_I2C_Read... [16:13:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:13:06]Read from MH i2c: E2 [16:13:06]MH_I2C_Read... [16:13:06]Read from MH i2c: E2 03 00 [16:13:06]MH_I2C_Read... [16:13:06]Read from MH i2c: E2 03 00 B1 4D 00 90 00 72 [16:13:06]RAPDU: 90 00 [16:13:06]wFMCommunicate OK [16:13:06]wFMCommunicate request_size=255 [16:13:06]MH_SAM_APDU [16:13:06]CAPDU: 80 0D 02 02 FA 03 00 DD 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 [16:13:06]Write to MH i2c: E2 02 01 B2 4D 80 0D 02 02 FA 00 03 00 DD 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 00 00 DE [16:13:06]Write i2c OK [16:13:06]MH_I2C_Read... [16:13:07]OFD Sender: No OFD packet to send [16:13:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:13:07]Read from MH i2c: E2 [16:13:07]MH_I2C_Read... [16:13:07]Read from MH i2c: E2 03 00 [16:13:07]MH_I2C_Read... [16:13:07]Read from MH i2c: E2 03 00 B2 4D 00 90 00 73 [16:13:07]RAPDU: 90 00 [16:13:07]wFMCommunicate OK [16:13:07]wFMCommunicate request_size=236 [16:13:07]MH_SAM_APDU [16:13:07]CAPDU: 80 0D 02 02 E7 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E4 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 16 00 00 00 00 07 04 06 00 10 D6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 9B DA 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 14 0A 00 00 35 04 06 00 1D 63 58 A2 7C 9A [16:13:07]Write to MH i2c: E2 EF 00 B3 4D 80 0D 02 02 E7 00 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E4 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 16 00 00 00 00 07 04 06 00 10 D6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 9B DA 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 14 0A 00 00 35 04 06 00 1D 63 58 A2 7C 9A 00 00 28 [16:13:07]Write i2c OK [16:13:07]MH_I2C_Read... [16:13:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:13:07]Read from MH i2c: E2 [16:13:07]MH_I2C_Read... [16:13:07]Read from MH i2c: E2 03 00 [16:13:07]MH_I2C_Read... [16:13:07]Read from MH i2c: E2 03 00 B3 4D 00 90 00 74 [16:13:07]RAPDU: 90 00 [16:13:07]wFMCommunicate OK [16:13:07]wFMCommunicate request_size=4 [16:13:07]MH_SAM_APDU [16:13:07]CAPDU: 80 0D 03 02 [16:13:07]Write to MH i2c: E2 08 00 B4 4D 80 0D 03 02 00 00 00 00 7C [16:13:07]Write i2c OK [16:13:07]MH_I2C_Read... [16:13:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:13:07]Read from MH i2c: E2 [16:13:07]MH_I2C_Read... [16:13:07]Read from MH i2c: E2 0B 00 [16:13:07]MH_I2C_Read... [16:13:07]Read from MH i2c: E2 0B 00 B4 4D 00 DA 7E 61 52 FB FA 28 43 90 00 E8 [16:13:07]RAPDU: DA 7E 61 52 FB FA 28 43 90 00 [16:13:07]wFMCommunicate OK [16:13:07]SAM_PROTO_SignData done [16:13:07]FM_MakeSignedData done [16:13:07]CreateOFDProtocolMessage [16:13:07]wFMCommunicate request_size=4 [16:13:07]MH_SAM_APDU [16:13:07]CAPDU: 80 11 00 00 [16:13:07]Write to MH i2c: E2 08 00 B5 4D 80 11 00 00 00 00 00 00 7C [16:13:07]Write i2c OK [16:13:07]MH_I2C_Read... [16:13:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:13:07]Read from MH i2c: E2 [16:13:07]MH_I2C_Read... [16:13:07]Read from MH i2c: E2 17 00 [16:13:07]MH_I2C_Read... [16:13:07]Read from MH i2c: E2 17 00 B5 4D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C4 [16:13:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:13:07]wFMCommunicate OK [16:13:07]CreateOFDProtocolMessage done [16:13:07]OFDSenderStorePacket 2580 [16:13:07]StoreOFDPacket docnum=2580 [16:13:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 F1 01 00 00 25 57 E9 01 E9 9A 5A 03 01 00 03 00 DD 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E4 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 16 00 00 00 00 07 04 06 00 10 D6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 9B DA 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 14 0A 00 00 35 04 06 00 1D 63 58 A2 7C 9A DA 7E 61 52 FB FA 28 43 [16:13:07]CheckFolder [16:13:07]dirname=/storage/ofd_packets [16:13:07]CheckFolder done [16:13:07]ProducePacketName [16:13:07]name=ofd_packets/00002580 [16:13:07]NVStorageSaveData ofd_packets/00002580 [16:13:07]File name is /storage/ofd_packets/00002580 [16:13:07]Write 527 bytes [16:13:07]NVStorageSaveData done [16:13:07]OFDSenderStorePacket done [16:13:07]KKMCreateOFDPacket done [16:13:07]NVStorageSaveData kkm_last_timestamp [16:13:07]File name is /storage/kkm_last_timestamp [16:13:07]Write 4 bytes [16:13:07]NVStorageSaveData done [16:13:07]ExternCall_PrintAddStr [16:13:07]wPrintStart [16:13:07]Write to MH i2c: 01 00 00 B6 4D 03 [16:13:07]Write i2c OK [16:13:07]MH_I2C_Read... [16:13:07]Read from MH i2c: 01 [16:13:07]MH_I2C_Read... [16:13:07]Read from MH i2c: 01 07 00 [16:13:07]MH_I2C_Read... [16:13:07]Read from MH i2c: 01 07 00 B6 4D 00 00 00 00 00 FF 0F 18 [16:13:07]RasterBufferAndPrint [16:13:07]line Счет N : (3)99958 [16:13:07]line ИНН: 02508201610067 [16:13:07]line Контрольно-Кассовый Чек [16:13:07]line ПРОДАЖА [16:13:07]line Товар: 48747066 [16:13:07]line Сигареты Winston True Silver [16:13:07]line 1.000 * 144.00 [16:13:07]line = 144.00 [16:13:07]line НДС 12% НСП 1% [16:13:07]line > о реализуемом товаре [16:13:07]line Товар: 4620006996716 [16:13:07]line Водка Талка 0,1л [16:13:07]line 2.000 * 130.00 [16:13:07]line = 260.00 [16:13:07]line НДС 12% НСП 1% [16:13:07]line > о реализуемом товаре [16:13:07]line Товар: 48743587 [16:13:07]line Сигареты Winston XStyle Silver [16:13:07]line 1.000 * 144.00 [16:13:07]line = 144.00 [16:13:07]line НДС 12% НСП 1% [16:13:07]line > о реализуемом товаре [16:13:07]line ИТОГО: 548.00 [16:13:07]line НСП 1% : 4.84 [16:13:07]line НДС 12% : 58.19 [16:13:07]line Наличными: 548.00 [16:13:07]line Безнал.: 0.00 [16:13:07]line Место: АЗС № 162 "Партнер Нефть" [16:13:07]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [16:13:07]line СНО: Общий режим [16:13:07]line Чек 41 19.10.2024 16:13 [16:13:07]line Смена: 23 ФФД: 1.0 [16:13:07]line ЗНМ: 0300000191 [16:13:07]line РНМ: 0000000000207295 [16:13:07]line Версия ККМ: v1.0 [16:13:07]line ФМ: 0000000002342820 [16:13:07]line ФД: 2580 [16:13:07]line ФПД: 32312526011546 [16:13:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T161315&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2580&fm=32312526011546&tin=02508201610067®Number=0000000000207295&sum=54800 [16:13:07]line 0 [16:13:07]written 0, free lines is 4095 [16:13:07]OFD Sender: Processing packet 2580 [packets to send 1, broken 0] [16:13:07]ProducePacketName [16:13:07]name=ofd_packets/00002580 [16:13:07]OFD Sender: To server: pG, [16:13:07]CommunicateWithHost lk.salyk.kg:30040 [16:13:07]ConnectInit lk.salyk.kg [16:13:07]Connected sock=10 [16:13:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 F1 01 00 00 25 57 E9 01 E9 9A 5A 03 01 00 03 00 DD 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E4 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 16 00 00 00 00 07 04 06 00 10 D6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 9B DA 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 14 0A 00 00 35 04 06 00 1D 63 58 A2 7C 9A DA 7E 61 52 FB FA 28 43 [16:13:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 2A 2E 47 00 B7 C2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 14 0A 00 00 F4 03 04 00 FC 85 13 67 B6 04 01 00 00 AA 1C 68 37 19 37 2E 95 [16:13:07]CommunicateWithHost err = 0 [16:13:07]CheckOFDResponse [16:13:07]1017 (14) - 77093643461234 [16:13:07]1041 (16) - 0000000002342820 [16:13:07]1040 (4) - 2580 [16:13:07]1012 (4) - 19.10.2024 10:12 [16:13:07]1206 (1) - 0 [16:13:07]OFD Sender: Remove packet 2580 [16:13:07]ProducePacketName [16:13:07]name=ofd_packets/00002580 [16:13:07]NVStorageDeleteData [16:13:08]Write to MH i2c: 01 00 00 EB 4D 38 [16:13:08]Write i2c OK [16:13:08]MH_I2C_Read... [16:13:08]Read from MH i2c: 01 [16:13:08]MH_I2C_Read... [16:13:08]Read from MH i2c: 01 07 00 [16:13:08]MH_I2C_Read... [16:13:08]Read from MH i2c: 01 07 00 EB 4D 00 00 00 00 00 05 0C 50 [16:13:08]RasterBufferAndPrint [16:13:08]line [16:13:08]line [16:13:08]line [16:13:08]line [16:13:08]line [16:13:08]written 0, free lines is 3083 [16:13:08]MH_Cut [16:13:08]Write to MH i2c: D1 01 00 F2 4D 01 11 [16:13:08]Write i2c OK [16:13:08]MH_I2C_Read... [16:13:08]Read from MH i2c: D1 [16:13:08]MH_I2C_Read... [16:13:08]Read from MH i2c: D1 01 00 [16:13:08]MH_I2C_Read... [16:13:08]Read from MH i2c: D1 01 00 F2 4D 00 10 [16:13:08]Write to MH i2c: 01 00 00 F3 4D 40 [16:13:08]Write i2c OK [16:13:08]MH_I2C_Read... [16:13:08]OFD Sender: No OFD packet to send [16:13:09]*** Cut start [16:13:09]*** Partial cut [16:13:09]*** CUTSNS_PIN = 1 [16:13:09]*** CUTSNS_PIN = 0 [16:13:09]*** Brake cut motor [16:13:09]Read from MH i2c: 01 [16:13:09]MH_I2C_Read... [16:13:09]*** Stop cut motor [16:13:09]*** Cut end [16:13:09]Read from MH i2c: 01 07 00 [16:13:09]MH_I2C_Read... [16:13:09]Read from MH i2c: 01 07 00 F3 4D 00 00 00 00 00 FF 0F 55 [16:13:09]process_action close_receipt done [16:13:09]requested_data is exist [16:13:09]produce_requested_data [16:13:09]requested_item fm.sn is exist - process it [16:13:09]wFMCommunicate request_size=4 [16:13:09]MH_SAM_APDU [16:13:09]CAPDU: 80 11 00 00 [16:13:09]Write to MH i2c: E2 08 00 F4 4D 80 11 00 00 00 00 00 00 BB [16:13:09]Write i2c OK [16:13:09]MH_I2C_Read... [16:13:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:13:09]Read from MH i2c: E2 [16:13:09]MH_I2C_Read... [16:13:09]Read from MH i2c: E2 17 00 [16:13:09]MH_I2C_Read... [16:13:09]Read from MH i2c: E2 17 00 F4 4D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 03 [16:13:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:13:09]wFMCommunicate OK [16:13:09]requested_item fd.num is exist - process it [16:13:09]SAM_PROTO_GetFieldsCounters [16:13:09]wFMCommunicate request_size=4 [16:13:09]MH_SAM_APDU [16:13:09]CAPDU: 80 13 00 00 [16:13:09]Write to MH i2c: E2 08 00 F5 4D 80 13 00 00 00 00 00 00 BE [16:13:09]Write i2c OK [16:13:09]MH_I2C_Read... [16:13:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:13:10]Read from MH i2c: E2 [16:13:10]MH_I2C_Read... [16:13:10]Read from MH i2c: E2 62 00 [16:13:10]MH_I2C_Read... [16:13:10]Read from MH i2c: E2 62 00 F5 4D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 14 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 84 [16:13:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 14 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:13:10]wFMCommunicate OK [16:13:10]SAM_PROTO_GetFieldsCounters done [16:13:10]requested_item shift.num is exist - process it [16:13:10]requested_item shift.opened is exist - process it [16:13:10]req_shift_opened [16:13:10]FM_GetShiftState [16:13:10]SAM_PROTO_GetShiftState [16:13:10]wFMCommunicate request_size=4 [16:13:10]MH_SAM_APDU [16:13:10]CAPDU: 80 13 01 00 [16:13:10]Write to MH i2c: E2 08 00 F6 4D 80 13 01 00 00 00 00 00 C0 [16:13:10]Write i2c OK [16:13:10]MH_I2C_Read... [16:13:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:13:10]Read from MH i2c: E2 [16:13:10]MH_I2C_Read... [16:13:10]Read from MH i2c: E2 0E 00 [16:13:10]MH_I2C_Read... [16:13:10]Read from MH i2c: E2 0E 00 F6 4D 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 69 [16:13:10]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [16:13:10]wFMCommunicate OK [16:13:10]SAM_PROTO_GetShiftState done [16:13:10]FM_GetShiftState done [16:13:10]req_shift_opened done [16:13:10]requested_item shift.open_date is exist - process it [16:13:10]req_shift_open_date [16:13:10]req_shift_open_date done [16:13:10]produce_requested_data done [16:13:10]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2580,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [16:13:10]process_action_free close_receipt [16:13:10]json_value_free [16:13:10]json_value_free done [16:13:10]process_json_proto returns [16:13:10]Send response to host [16:13:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2580,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [16:13:10]free response buf [16:13:10]execute_script done [16:13:10]execute_script returns [16:13:10]free content buf [16:13:10]Sock 9.Close socket [16:13:10]Sock 9.Thread stoped [16:13:13]OFD Sender: No OFD packet to send [16:13:18]OFD Sender: No OFD packet to send [16:13:23]OFD Sender: No OFD packet to send [16:13:28]OFD Sender: No OFD packet to send [16:13:33]OFD Sender: No OFD packet to send [16:13:38]OFD Sender: No OFD packet to send [16:13:43]OFD Sender: No OFD packet to send [16:13:48]OFD Sender: No OFD packet to send [16:13:53]OFD Sender: No OFD packet to send [16:13:58]OFD Sender: No OFD packet to send [16:14:03]OFD Sender: No OFD packet to send [16:14:08]OFD Sender: No OFD packet to send [16:14:13]OFD Sender: No OFD packet to send [16:14:18]OFD Sender: No OFD packet to send [16:14:23]OFD Sender: No OFD packet to send [16:14:28]OFD Sender: No OFD packet to send [16:14:33]OFD Sender: No OFD packet to send [16:14:38]OFD Sender: No OFD packet to send [16:14:43]OFD Sender: No OFD packet to send [16:14:48]OFD Sender: No OFD packet to send [16:14:53]OFD Sender: No OFD packet to send [16:14:58]OFD Sender: No OFD packet to send [16:15:03]OFD Sender: No OFD packet to send [16:15:08]OFD Sender: No OFD packet to send [16:15:13]OFD Sender: No OFD packet to send [16:15:18]OFD Sender: No OFD packet to send [16:15:23]OFD Sender: No OFD packet to send [16:15:28]OFD Sender: No OFD packet to send [16:15:33]OFD Sender: No OFD packet to send [16:15:38]OFD Sender: No OFD packet to send [16:15:43]OFD Sender: No OFD packet to send [16:15:48]OFD Sender: No OFD packet to send [16:15:53]OFD Sender: No OFD packet to send [16:15:58]OFD Sender: No OFD packet to send [16:16:03]OFD Sender: No OFD packet to send [16:16:08]OFD Sender: No OFD packet to send [16:16:13]OFD Sender: No OFD packet to send [16:16:18]OFD Sender: No OFD packet to send [16:16:23]OFD Sender: No OFD packet to send [16:16:28]OFD Sender: No OFD packet to send [16:16:33]OFD Sender: No OFD packet to send [16:16:38]OFD Sender: No OFD packet to send [16:16:43]OFD Sender: No OFD packet to send [16:16:48]OFD Sender: No OFD packet to send [16:16:53]OFD Sender: No OFD packet to send [16:16:58]OFD Sender: No OFD packet to send [16:17:03]OFD Sender: No OFD packet to send [16:17:08]OFD Sender: No OFD packet to send [16:17:13]OFD Sender: No OFD packet to send [16:17:18]OFD Sender: No OFD packet to send [16:17:23]OFD Sender: No OFD packet to send [16:17:28]OFD Sender: No OFD packet to send [16:17:33]OFD Sender: No OFD packet to send [16:17:38]OFD Sender: No OFD packet to send [16:17:43]OFD Sender: No OFD packet to send [16:17:48]OFD Sender: No OFD packet to send [16:17:53]OFD Sender: No OFD packet to send [16:17:58]OFD Sender: No OFD packet to send [16:18:03]OFD Sender: No OFD packet to send [16:18:08]OFD Sender: No OFD packet to send [16:18:13]OFD Sender: No OFD packet to send [16:18:18]OFD Sender: No OFD packet to send [16:18:23]OFD Sender: No OFD packet to send [16:18:28]OFD Sender: No OFD packet to send [16:18:33]OFD Sender: No OFD packet to send [16:18:38]OFD Sender: No OFD packet to send [16:18:43]OFD Sender: No OFD packet to send [16:18:48]OFD Sender: No OFD packet to send [16:18:53]OFD Sender: No OFD packet to send [16:18:58]OFD Sender: No OFD packet to send [16:19:03]OFD Sender: No OFD packet to send [16:19:08]OFD Sender: No OFD packet to send [16:19:13]OFD Sender: No OFD packet to send [16:19:18]OFD Sender: No OFD packet to send [16:19:23]OFD Sender: No OFD packet to send [16:19:28]OFD Sender: No OFD packet to send [16:19:33]OFD Sender: No OFD packet to send [16:19:38]OFD Sender: No OFD packet to send [16:19:43]OFD Sender: No OFD packet to send [16:19:48]OFD Sender: No OFD packet to send [16:19:53]OFD Sender: No OFD packet to send [16:19:58]OFD Sender: No OFD packet to send [16:20:03]OFD Sender: No OFD packet to send [16:20:08]OFD Sender: No OFD packet to send [16:20:13]OFD Sender: No OFD packet to send [16:20:18]OFD Sender: No OFD packet to send [16:20:23]OFD Sender: No OFD packet to send [16:20:28]OFD Sender: No OFD packet to send [16:20:33]OFD Sender: No OFD packet to send [16:20:38]OFD Sender: No OFD packet to send [16:20:43]OFD Sender: No OFD packet to send [16:20:48]OFD Sender: No OFD packet to send [16:20:53]OFD Sender: No OFD packet to send [16:20:58]OFD Sender: No OFD packet to send [16:21:03]OFD Sender: No OFD packet to send [16:21:08]OFD Sender: No OFD packet to send [16:21:13]OFD Sender: No OFD packet to send [16:21:18]OFD Sender: No OFD packet to send [16:21:23]OFD Sender: No OFD packet to send [16:21:28]OFD Sender: No OFD packet to send [16:21:33]OFD Sender: No OFD packet to send [16:21:38]OFD Sender: No OFD packet to send [16:21:43]OFD Sender: No OFD packet to send [16:21:48]OFD Sender: No OFD packet to send [16:21:53]OFD Sender: No OFD packet to send [16:21:58]OFD Sender: No OFD packet to send [16:22:03]OFD Sender: No OFD packet to send [16:22:08]OFD Sender: No OFD packet to send [16:22:13]OFD Sender: No OFD packet to send [16:22:18]OFD Sender: No OFD packet to send [16:22:23]OFD Sender: No OFD packet to send [16:22:28]OFD Sender: No OFD packet to send [16:22:33]OFD Sender: No OFD packet to send [16:22:38]OFD Sender: No OFD packet to send [16:22:43]OFD Sender: No OFD packet to send [16:22:48]OFD Sender: No OFD packet to send [16:22:53]OFD Sender: No OFD packet to send [16:22:58]OFD Sender: No OFD packet to send [16:23:03]OFD Sender: No OFD packet to send [16:23:08]OFD Sender: No OFD packet to send [16:23:13]OFD Sender: No OFD packet to send [16:23:18]OFD Sender: No OFD packet to send [16:23:23]OFD Sender: No OFD packet to send [16:23:28]OFD Sender: No OFD packet to send [16:23:33]OFD Sender: No OFD packet to send [16:23:38]OFD Sender: No OFD packet to send [16:23:43]OFD Sender: No OFD packet to send [16:23:48]OFD Sender: No OFD packet to send [16:23:53]OFD Sender: No OFD packet to send [16:23:58]OFD Sender: No OFD packet to send [16:24:03]OFD Sender: No OFD packet to send [16:24:08]OFD Sender: No OFD packet to send [16:24:13]OFD Sender: No OFD packet to send [16:24:18]OFD Sender: No OFD packet to send [16:24:23]OFD Sender: No OFD packet to send [16:24:28]OFD Sender: No OFD packet to send [16:24:33]OFD Sender: No OFD packet to send [16:24:38]OFD Sender: No OFD packet to send [16:24:43]OFD Sender: No OFD packet to send [16:24:48]OFD Sender: No OFD packet to send [16:24:53]OFD Sender: No OFD packet to send [16:24:58]OFD Sender: No OFD packet to send [16:25:03]OFD Sender: No OFD packet to send [16:25:09]OFD Sender: No OFD packet to send [16:25:14]OFD Sender: No OFD packet to send [16:25:19]OFD Sender: No OFD packet to send [16:25:24]OFD Sender: No OFD packet to send [16:25:29]OFD Sender: No OFD packet to send [16:25:34]OFD Sender: No OFD packet to send [16:25:39]OFD Sender: No OFD packet to send [16:25:44]OFD Sender: No OFD packet to send [16:25:49]OFD Sender: No OFD packet to send [16:25:54]OFD Sender: No OFD packet to send [16:25:59]OFD Sender: No OFD packet to send [16:26:04]OFD Sender: No OFD packet to send [16:26:09]OFD Sender: No OFD packet to send [16:26:14]OFD Sender: No OFD packet to send [16:26:19]OFD Sender: No OFD packet to send [16:26:24]OFD Sender: No OFD packet to send [16:26:29]OFD Sender: No OFD packet to send [16:26:34]OFD Sender: No OFD packet to send [16:26:39]OFD Sender: No OFD packet to send [16:26:44]OFD Sender: No OFD packet to send [16:26:49]OFD Sender: No OFD packet to send [16:26:54]OFD Sender: No OFD packet to send [16:26:59]OFD Sender: No OFD packet to send [16:27:04]OFD Sender: No OFD packet to send [16:27:09]OFD Sender: No OFD packet to send [16:27:14]OFD Sender: No OFD packet to send [16:27:19]OFD Sender: No OFD packet to send [16:27:24]OFD Sender: No OFD packet to send [16:27:29]OFD Sender: No OFD packet to send [16:27:34]OFD Sender: No OFD packet to send [16:27:39]OFD Sender: No OFD packet to send [16:27:44]OFD Sender: No OFD packet to send [16:27:49]OFD Sender: No OFD packet to send [16:27:54]OFD Sender: No OFD packet to send [16:27:59]OFD Sender: No OFD packet to send [16:28:04]OFD Sender: No OFD packet to send [16:28:09]OFD Sender: No OFD packet to send [16:28:14]OFD Sender: No OFD packet to send [16:28:19]OFD Sender: No OFD packet to send [16:28:24]OFD Sender: No OFD packet to send [16:28:29]OFD Sender: No OFD packet to send [16:28:34]OFD Sender: No OFD packet to send [16:28:39]OFD Sender: No OFD packet to send [16:28:44]OFD Sender: No OFD packet to send [16:28:49]OFD Sender: No OFD packet to send [16:28:54]OFD Sender: No OFD packet to send [16:28:59]OFD Sender: No OFD packet to send [16:29:04]OFD Sender: No OFD packet to send [16:29:09]OFD Sender: No OFD packet to send [16:29:14]OFD Sender: No OFD packet to send [16:29:19]OFD Sender: No OFD packet to send [16:29:24]OFD Sender: No OFD packet to send [16:29:29]OFD Sender: No OFD packet to send [16:29:34]OFD Sender: No OFD packet to send [16:29:39]OFD Sender: No OFD packet to send [16:29:44]OFD Sender: No OFD packet to send [16:29:49]OFD Sender: No OFD packet to send [16:29:54]OFD Sender: No OFD packet to send [16:29:58]accept exits with 7 [16:29:58]New connection [16:29:58]New thread 3066707300 created [16:29:58]Thread 3066850660 joined [16:29:58]Waiting for new connection... [16:29:58] Sock 7.Parse request [16:29:58]Sock 7.Check first char [16:29:58]Sock 7.First char is OK [16:29:58]request: POST /json_proto HTTP/1.0 [16:29:58]Method: POST [16:29:58]URL: /json_proto [16:29:58]Method is POST - this is cgi request [16:29:58]url: /json_proto [16:29:58]query_string will be loaded in cgi processing [16:29:58]execute_cgi json_proto POST (null) [16:29:58]execute_cgi path=json_proto method=POST [16:29:58]POST find Content-Length [16:29:58]Host: 172.17.52.132:8080 [16:29:58]Content-Length: 644 [16:29:58]Content-Type: application/json [16:29:58] [16:29:58]POST finish read [16:29:58]Found Content-Length = 644 [16:29:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99959", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:29:58]execute_script... [16:29: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)99959", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:29:58]POST & json_proto [16:29:58]process_json_proto [16:29:58]json parsed OK: [16:29:58]protocol is kg_v1.0 [16:29:58]action value=close_receipt [16:29:58]process_action close_receipt [16:29:58]cmd_close_receipt [16:29:58]MH_GetDate [16:29:58]Write to MH i2c: F0 00 00 F7 4D 33 [16:29:58]Write i2c OK [16:29:58]MH_I2C_Read... [16:29:58]Read from MH i2c: F0 [16:29:58]MH_I2C_Read... [16:29:58]Read from MH i2c: F0 09 00 [16:29:58]MH_I2C_Read... [16:29:58]Read from MH i2c: F0 09 00 F7 4D 00 91 DE 13 67 5A BE F6 66 99 [16:29:58]GetLastDocTimeStamp 1729354395 [16:29:58]current date 1729355409 [16:29:58]FM_GetShiftState [16:29:58]SAM_PROTO_GetShiftState [16:29:58]wFMCommunicate request_size=4 [16:29:58]MH_SAM_APDU [16:29:58]CAPDU: 80 13 01 00 [16:29:58]Write to MH i2c: E2 08 00 F8 4D 80 13 01 00 00 00 00 00 C2 [16:29:58]Write i2c OK [16:29:58]MH_I2C_Read... [16:29:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:29:58]Read from MH i2c: E2 [16:29:58]MH_I2C_Read... [16:29:58]Read from MH i2c: E2 0E 00 [16:29:58]MH_I2C_Read... [16:29:58]Read from MH i2c: E2 0E 00 F8 4D 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 6B [16:29:58]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [16:29:58]wFMCommunicate OK [16:29:58]SAM_PROTO_GetShiftState done [16:29:58]FM_GetShiftState done [16:29:58]opened in 1729296173 [16:29:58]opened+sec_in_day 1729382573 [16:29:58]quantity*price = 6000 [16:29:58]sum+1 = 6001 [16:29:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 42 19.10.2024 16:30 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2581 ФПД: 220604116626563 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T163009&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2581&fm=220604116626563&tin=02508201610067®Number=0000000000207295&sum=6000 0 [16:29:59]StoreToDocumentArchive [16:29:59]shift 23 fd 2581 [16:29:59]save to /storage/0023/doc_00002581 [16:29:59]save last doc name /storage/0023/doc_00002581 to /storage/kkm_last_doc_name [16:29:59]save OK [16:29:59]Clear old archive folders... [16:29:59]ProcessDocumentItem done err = 0, tmpTLVsize=276 [16:29:59]tlvbuf is 0140E860 [16:29:59]SAM_PROTO_ClearQueue [16:29:59]wFMCommunicate request_size=4 [16:29:59]MH_SAM_APDU [16:29:59]CAPDU: 80 09 00 00 [16:29:59]Write to MH i2c: E2 08 00 05 4E 80 09 00 00 00 00 00 00 C5 [16:29:59]Write i2c OK [16:29:59]MH_I2C_Read... [16:29:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:30:00]Read from MH i2c: E2 [16:30:00]MH_I2C_Read... [16:30:00]Read from MH i2c: E2 03 00 [16:30:00]MH_I2C_Read... [16:30:00]Read from MH i2c: E2 03 00 05 4E 00 90 00 C7 [16:30:00]RAPDU: 90 00 [16:30:00]wFMCommunicate OK [16:30:00]SAM_PROTO_ClearQueue done [16:30:00]KKMCreateOFDPacket [16:30:00]OFDProtocolAddRootSTLVToBuf [16:30:00]FM_MakeSignedData [16:30:00]FM_MakeSignedData [16:30:00]SAM_PROTO_SignData [16:30:00]wFMCommunicate request_size=4 [16:30:00]MH_SAM_APDU [16:30:00]CAPDU: 80 0D 01 02 [16:30:00]Write to MH i2c: E2 08 00 06 4E 80 0D 01 02 00 00 00 00 CD [16:30:00]Write i2c OK [16:30:00]MH_I2C_Read... [16:30:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:30:00]Read from MH i2c: E2 [16:30:00]MH_I2C_Read... [16:30:00]Read from MH i2c: E2 03 00 [16:30:00]MH_I2C_Read... [16:30:00]Read from MH i2c: E2 03 00 06 4E 00 90 00 C8 [16:30:00]RAPDU: 90 00 [16:30:00]wFMCommunicate OK [16:30:00]wFMCommunicate request_size=255 [16:30:00]MH_SAM_APDU [16:30:00]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 91 DE 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 [16:30:00]Write to MH i2c: E2 02 01 07 4E 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 91 DE 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 00 00 32 [16:30:00]Write i2c OK [16:30:00]MH_I2C_Read... [16:30:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:30:00]Read from MH i2c: E2 [16:30:00]MH_I2C_Read... [16:30:00]Read from MH i2c: E2 03 00 [16:30:00]MH_I2C_Read... [16:30:00]Read from MH i2c: E2 03 00 07 4E 00 90 00 C9 [16:30:00]RAPDU: 90 00 [16:30:00]wFMCommunicate OK [16:30:00]wFMCommunicate request_size=35 [16:30:00]MH_SAM_APDU [16:30:00]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 15 0A 00 00 35 04 06 00 C8 A3 66 01 EC 83 [16:30:00]Write to MH i2c: E2 26 00 08 4E 80 0D 02 02 1E 00 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 15 0A 00 00 35 04 06 00 C8 A3 66 01 EC 83 00 00 18 [16:30:00]Write i2c OK [16:30:00]MH_I2C_Read... [16:30:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:30:00]Read from MH i2c: E2 [16:30:00]MH_I2C_Read... [16:30:00]Read from MH i2c: E2 03 00 [16:30:00]MH_I2C_Read... [16:30:00]Read from MH i2c: E2 03 00 08 4E 00 90 00 CA [16:30:00]RAPDU: 90 00 [16:30:00]wFMCommunicate OK [16:30:00]wFMCommunicate request_size=4 [16:30:00]MH_SAM_APDU [16:30:00]CAPDU: 80 0D 03 02 [16:30:00]Write to MH i2c: E2 08 00 09 4E 80 0D 03 02 00 00 00 00 D2 [16:30:00]Write i2c OK [16:30:00]MH_I2C_Read... [16:30:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:30:00]Read from MH i2c: E2 [16:30:00]MH_I2C_Read... [16:30:00]Read from MH i2c: E2 0B 00 [16:30:00]MH_I2C_Read... [16:30:00]Read from MH i2c: E2 0B 00 09 4E 00 2F BF DB E9 C9 BF 86 A2 90 00 35 [16:30:00]RAPDU: 2F BF DB E9 C9 BF 86 A2 90 00 [16:30:00]wFMCommunicate OK [16:30:00]SAM_PROTO_SignData done [16:30:00]FM_MakeSignedData done [16:30:00]CreateOFDProtocolMessage [16:30:00]wFMCommunicate request_size=4 [16:30:00]MH_SAM_APDU [16:30:00]CAPDU: 80 11 00 00 [16:30:00]Write to MH i2c: E2 08 00 0A 4E 80 11 00 00 00 00 00 00 D2 [16:30:00]Write i2c OK [16:30:00]MH_I2C_Read... [16:30:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:30:00]Read from MH i2c: E2 [16:30:00]MH_I2C_Read... [16:30:00]Read from MH i2c: E2 17 00 [16:30:00]MH_I2C_Read... [16:30:00]Read from MH i2c: E2 17 00 0A 4E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 1A [16:30:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:30:00]wFMCommunicate OK [16:30:00]CreateOFDProtocolMessage done [16:30:00]OFDSenderStorePacket 2581 [16:30:00]StoreOFDPacket docnum=2581 [16:30:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 28 01 00 00 95 40 20 01 E3 74 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 91 DE 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 15 0A 00 00 35 04 06 00 C8 A3 66 01 EC 83 2F BF DB E9 C9 BF 86 A2 [16:30:00]CheckFolder [16:30:00]dirname=/storage/ofd_packets [16:30:00]CheckFolder done [16:30:00]ProducePacketName [16:30:00]name=ofd_packets/00002581 [16:30:00]NVStorageSaveData ofd_packets/00002581 [16:30:00]File name is /storage/ofd_packets/00002581 [16:30:00]Write 326 bytes [16:30:00]NVStorageSaveData done [16:30:00]OFDSenderStorePacket done [16:30:00]KKMCreateOFDPacket done [16:30:00]NVStorageSaveData kkm_last_timestamp [16:30:00]File name is /storage/kkm_last_timestamp [16:30:00]Write 4 bytes [16:30:00]NVStorageSaveData done [16:30:00]ExternCall_PrintAddStr [16:30:00]wPrintStart [16:30:00]Write to MH i2c: 01 00 00 0B 4E 59 [16:30:00]Write i2c OK [16:30:00]MH_I2C_Read... [16:30:00]Read from MH i2c: 01 [16:30:00]MH_I2C_Read... [16:30:00]Read from MH i2c: 01 07 00 [16:30:00]MH_I2C_Read... [16:30:00]Read from MH i2c: 01 07 00 0B 4E 00 00 00 00 00 FF 0F 6E [16:30:00]RasterBufferAndPrint [16:30:00]line Счет N : (3)99959 [16:30:00]line ИНН: 02508201610067 [16:30:00]line Контрольно-Кассовый Чек [16:30:00]line ПРОДАЖА [16:30:00]line Товар: 4700000310043 [16:30:00]line Вода Жалалабат 27 1л [16:30:00]line 1.000 * 60.00 [16:30:00]line = 60.00 [16:30:00]line НДС 12% НСП 1% [16:30:00]line > о реализуемом товаре [16:30:00]line ИТОГО: 60.00 [16:30:00]line НСП 1% : 0.53 [16:30:00]line НДС 12% : 6.37 [16:30:00]line Наличными: 60.00 [16:30:00]line Безнал.: 0.00 [16:30:00]line Место: АЗС № 162 "Партнер Нефть" [16:30:00]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [16:30:00]line СНО: Общий режим [16:30:00]line Чек 42 19.10.2024 16:30 [16:30:00]line Смена: 23 ФФД: 1.0 [16:30:00]line ЗНМ: 0300000191 [16:30:00]line РНМ: 0000000000207295 [16:30:00]line Версия ККМ: v1.0 [16:30:00]line ФМ: 0000000002342820 [16:30:00]line ФД: 2581 [16:30:00]line ФПД: 220604116626563 [16:30:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T163009&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2581&fm=220604116626563&tin=02508201610067®Number=0000000000207295&sum=6000 [16:30:00]line 0 [16:30:00]OFD Sender: Processing packet 2581 [packets to send 1, broken 0] [16:30:00]ProducePacketName [16:30:00]name=ofd_packets/00002581 [16:30:00]OFD Sender: To server: pG, [16:30:00]CommunicateWithHost lk.salyk.kg:30040 [16:30:00]ConnectInit lk.salyk.kg [16:30:00]written 0, free lines is 4095 [16:30:00]Connected sock=10 [16:30:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 28 01 00 00 95 40 20 01 E3 74 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 91 DE 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 15 0A 00 00 35 04 06 00 C8 A3 66 01 EC 83 2F BF DB E9 C9 BF 86 A2 [16:30:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 00 C7 47 00 5D 05 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 15 0A 00 00 F4 03 04 00 F1 89 13 67 B6 04 01 00 00 F3 20 C8 C5 FE BD 1F CD [16:30:01]CommunicateWithHost err = 0 [16:30:01]CheckOFDResponse [16:30:01]1017 (14) - 77093643461234 [16:30:01]1041 (16) - 0000000002342820 [16:30:01]1040 (4) - 2581 [16:30:01]1012 (4) - 19.10.2024 10:29 [16:30:01]1206 (1) - 0 [16:30:01]OFD Sender: Remove packet 2581 [16:30:01]ProducePacketName [16:30:01]name=ofd_packets/00002581 [16:30:01]NVStorageDeleteData [16:30:01]Write to MH i2c: 01 00 00 33 4E 81 [16:30:01]Write i2c OK [16:30:01]MH_I2C_Read... [16:30:01]Read from MH i2c: 01 [16:30:01]MH_I2C_Read... [16:30:01]Read from MH i2c: 01 07 00 [16:30:01]MH_I2C_Read... [16:30:01]Read from MH i2c: 01 07 00 33 4E 00 00 00 00 00 D6 0C 6A [16:30:01]RasterBufferAndPrint [16:30:01]line [16:30:01]line [16:30:01]line [16:30:01]line [16:30:01]line [16:30:01]written 0, free lines is 3293 [16:30:01]MH_Cut [16:30:01]Write to MH i2c: D1 01 00 3A 4E 01 5A [16:30:01]Write i2c OK [16:30:01]MH_I2C_Read... [16:30:01]Read from MH i2c: D1 [16:30:01]MH_I2C_Read... [16:30:01]Read from MH i2c: D1 01 00 [16:30:01]MH_I2C_Read... [16:30:01]Read from MH i2c: D1 01 00 3A 4E 00 59 [16:30:01]Write to MH i2c: 01 00 00 3B 4E 89 [16:30:01]Write i2c OK [16:30:01]MH_I2C_Read... [16:30:01]OFD Sender: No OFD packet to send [16:30:02]*** Cut start [16:30:02]*** Partial cut [16:30:02]*** CUTSNS_PIN = 1 [16:30:02]*** CUTSNS_PIN = 0 [16:30:02]*** Brake cut motor [16:30:02]Read from MH i2c: 01 [16:30:02]MH_I2C_Read... [16:30:02]*** Stop cut motor [16:30:02]*** Cut end [16:30:02]Read from MH i2c: 01 07 00 [16:30:02]MH_I2C_Read... [16:30:02]Read from MH i2c: 01 07 00 3B 4E 00 00 00 00 00 FF 0F 9E [16:30:02]process_action close_receipt done [16:30:02]requested_data is exist [16:30:02]produce_requested_data [16:30:02]requested_item fm.sn is exist - process it [16:30:02]wFMCommunicate request_size=4 [16:30:02]MH_SAM_APDU [16:30:02]CAPDU: 80 11 00 00 [16:30:02]Write to MH i2c: E2 08 00 3C 4E 80 11 00 00 00 00 00 00 04 [16:30:02]Write i2c OK [16:30:02]MH_I2C_Read... [16:30:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:30:02]Read from MH i2c: E2 [16:30:02]MH_I2C_Read... [16:30:02]Read from MH i2c: E2 17 00 [16:30:02]MH_I2C_Read... [16:30:02]Read from MH i2c: E2 17 00 3C 4E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 4C [16:30:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:30:02]wFMCommunicate OK [16:30:02]requested_item fd.num is exist - process it [16:30:02]SAM_PROTO_GetFieldsCounters [16:30:02]wFMCommunicate request_size=4 [16:30:02]MH_SAM_APDU [16:30:02]CAPDU: 80 13 00 00 [16:30:02]Write to MH i2c: E2 08 00 3D 4E 80 13 00 00 00 00 00 00 07 [16:30:02]Write i2c OK [16:30:02]MH_I2C_Read... [16:30:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:30:02]Read from MH i2c: E2 [16:30:02]MH_I2C_Read... [16:30:02]Read from MH i2c: E2 62 00 [16:30:02]MH_I2C_Read... [16:30:02]Read from MH i2c: E2 62 00 3D 4E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 15 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 D1 [16:30:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 15 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:30:02]wFMCommunicate OK [16:30:02]SAM_PROTO_GetFieldsCounters done [16:30:02]requested_item shift.num is exist - process it [16:30:02]requested_item shift.opened is exist - process it [16:30:02]req_shift_opened [16:30:02]FM_GetShiftState [16:30:02]SAM_PROTO_GetShiftState [16:30:02]wFMCommunicate request_size=4 [16:30:02]MH_SAM_APDU [16:30:02]CAPDU: 80 13 01 00 [16:30:02]Write to MH i2c: E2 08 00 3E 4E 80 13 01 00 00 00 00 00 09 [16:30:02]Write i2c OK [16:30:02]MH_I2C_Read... [16:30:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:30:03]Read from MH i2c: E2 [16:30:03]MH_I2C_Read... [16:30:03]Read from MH i2c: E2 0E 00 [16:30:03]MH_I2C_Read... [16:30:03]Read from MH i2c: E2 0E 00 3E 4E 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 B2 [16:30:03]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [16:30:03]wFMCommunicate OK [16:30:03]SAM_PROTO_GetShiftState done [16:30:03]FM_GetShiftState done [16:30:03]req_shift_opened done [16:30:03]requested_item shift.open_date is exist - process it [16:30:03]req_shift_open_date [16:30:03]req_shift_open_date done [16:30:03]produce_requested_data done [16:30:03]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2581,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [16:30:03]process_action_free close_receipt [16:30:03]json_value_free [16:30:03]json_value_free done [16:30:03]process_json_proto returns [16:30:03]Send response to host [16:30:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2581,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [16:30:03]free response buf [16:30:03]execute_script done [16:30:03]execute_script returns [16:30:03]free content buf [16:30:03]Sock 7.Close socket [16:30:03]Sock 7.Thread stoped [16:30:06]OFD Sender: No OFD packet to send [16:30:09]accept exits with 9 [16:30:09]New connection [16:30:09]New thread 3066850660 created [16:30:09]Thread 3066707300 joined [16:30:09]Waiting for new connection... [16:30:09] Sock 9.Parse request [16:30:09]Sock 9.Check first char [16:30:09]Sock 9.First char is OK [16:30:09]request: POST /json_proto HTTP/1.0 [16:30:09]Method: POST [16:30:09]URL: /json_proto [16:30:09]Method is POST - this is cgi request [16:30:09]url: /json_proto [16:30:09]query_string will be loaded in cgi processing [16:30:09]execute_cgi json_proto POST (null) [16:30:09]execute_cgi path=json_proto method=POST [16:30:09]POST find Content-Length [16:30:09]Host: 172.17.52.132:8080 [16:30:09]Content-Length: 747 [16:30:09]Content-Type: application/json [16:30:09] [16:30:09]POST finish read [16:30:09]Found Content-Length = 747 [16:30:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99960", "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" ] } } [16:30:09]execute_script... [16:30: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)99960", "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" ] } } [16:30:09]POST & json_proto [16:30:09]process_json_proto [16:30:09]json parsed OK: [16:30:09]protocol is kg_v1.0 [16:30:09]action value=close_receipt [16:30:09]process_action close_receipt [16:30:09]cmd_close_receipt [16:30:09]MH_GetDate [16:30:09]Write to MH i2c: F0 00 00 3F 4E 7C [16:30:09]Write i2c OK [16:30:09]MH_I2C_Read... [16:30:09]Read from MH i2c: F0 [16:30:09]MH_I2C_Read... [16:30:09]Read from MH i2c: F0 09 00 [16:30:09]MH_I2C_Read... [16:30:09]Read from MH i2c: F0 09 00 3F 4E 00 9C DE 13 67 5A BE F6 66 ED [16:30:09]GetLastDocTimeStamp 1729355409 [16:30:09]current date 1729355420 [16:30:09]FM_GetShiftState [16:30:09]SAM_PROTO_GetShiftState [16:30:09]wFMCommunicate request_size=4 [16:30:09]MH_SAM_APDU [16:30:09]CAPDU: 80 13 01 00 [16:30:09]Write to MH i2c: E2 08 00 40 4E 80 13 01 00 00 00 00 00 0B [16:30:09]Write i2c OK [16:30:09]MH_I2C_Read... [16:30:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:30:09]Read from MH i2c: E2 [16:30:09]MH_I2C_Read... [16:30:09]Read from MH i2c: E2 0E 00 [16:30:09]MH_I2C_Read... [16:30:09]Read from MH i2c: E2 0E 00 40 4E 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 B4 [16:30:09]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [16:30:09]wFMCommunicate OK [16:30:09]SAM_PROTO_GetShiftState done [16:30:09]FM_GetShiftState done [16:30:09]opened in 1729296173 [16:30:09]opened+sec_in_day 1729382573 [16:30:09]quantity*price = 14400 [16:30:09]sum+1 = 14401 [16:30:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 43 19.10.2024 16:30 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2582 ФПД: 212604195541784 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T163020&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2582&fm=212604195541784&tin=02508201610067®Number=0000000000207295&sum=14400 0 [16:30:11]StoreToDocumentArchive [16:30:11]shift 23 fd 2582 [16:30:11]save to /storage/0023/doc_00002582 [16:30:11]save last doc name /storage/0023/doc_00002582 to /storage/kkm_last_doc_name [16:30:11]save OK [16:30:11]Clear old archive folders... [16:30:11]ProcessDocumentItem done err = 0, tmpTLVsize=273 [16:30:11]tlvbuf is 014D9EB0 [16:30:11]SAM_PROTO_ClearQueue [16:30:11]wFMCommunicate request_size=4 [16:30:11]MH_SAM_APDU [16:30:11]CAPDU: 80 09 00 00 [16:30:11]Write to MH i2c: E2 08 00 4D 4E 80 09 00 00 00 00 00 00 0D [16:30:11]Write i2c OK [16:30:11]MH_I2C_Read... [16:30:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:30:11]Read from MH i2c: E2 [16:30:11]MH_I2C_Read... [16:30:11]Read from MH i2c: E2 03 00 [16:30:11]MH_I2C_Read... [16:30:11]Read from MH i2c: E2 03 00 4D 4E 00 90 00 0F [16:30:11]RAPDU: 90 00 [16:30:11]wFMCommunicate OK [16:30:11]SAM_PROTO_ClearQueue done [16:30:11]KKMCreateOFDPacket [16:30:11]OFDProtocolAddRootSTLVToBuf [16:30:11]FM_MakeSignedData [16:30:11]FM_MakeSignedData [16:30:11]SAM_PROTO_SignData [16:30:11]wFMCommunicate request_size=4 [16:30:11]MH_SAM_APDU [16:30:11]CAPDU: 80 0D 01 02 [16:30:11]Write to MH i2c: E2 08 00 4E 4E 80 0D 01 02 00 00 00 00 15 [16:30:11]Write i2c OK [16:30:11]MH_I2C_Read... [16:30:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:30:11]Read from MH i2c: E2 [16:30:11]MH_I2C_Read... [16:30:11]Read from MH i2c: E2 03 00 [16:30:11]MH_I2C_Read... [16:30:11]Read from MH i2c: E2 03 00 4E 4E 00 90 00 10 [16:30:11]RAPDU: 90 00 [16:30:11]wFMCommunicate OK [16:30:11]wFMCommunicate request_size=255 [16:30:11]MH_SAM_APDU [16:30:11]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 2B 00 00 00 F4 03 04 00 9C DE 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 [16:30:11]Write to MH i2c: E2 02 01 4F 4E 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 2B 00 00 00 F4 03 04 00 9C DE 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 00 00 B5 [16:30:11]Write i2c OK [16:30:11]MH_I2C_Read... [16:30:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:30:11]Read from MH i2c: E2 [16:30:11]MH_I2C_Read... [16:30:11]Read from MH i2c: E2 03 00 [16:30:11]MH_I2C_Read... [16:30:11]Read from MH i2c: E2 03 00 4F 4E 00 90 00 11 [16:30:11]RAPDU: 90 00 [16:30:11]wFMCommunicate OK [16:30:11]wFMCommunicate request_size=32 [16:30:11]MH_SAM_APDU [16:30:11]CAPDU: 80 0D 02 02 1B 30 30 32 33 34 32 38 32 30 10 04 04 00 16 0A 00 00 35 04 06 00 C1 5C C5 8D 93 18 [16:30:11]Write to MH i2c: E2 23 00 50 4E 80 0D 02 02 1B 00 30 30 32 33 34 32 38 32 30 10 04 04 00 16 0A 00 00 35 04 06 00 C1 5C C5 8D 93 18 00 00 A4 [16:30:11]Write i2c OK [16:30:11]MH_I2C_Read... [16:30:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:30:11]Read from MH i2c: E2 [16:30:11]MH_I2C_Read... [16:30:11]Read from MH i2c: E2 03 00 [16:30:11]MH_I2C_Read... [16:30:11]Read from MH i2c: E2 03 00 50 4E 00 90 00 12 [16:30:11]RAPDU: 90 00 [16:30:11]wFMCommunicate OK [16:30:11]wFMCommunicate request_size=4 [16:30:11]MH_SAM_APDU [16:30:11]CAPDU: 80 0D 03 02 [16:30:11]Write to MH i2c: E2 08 00 51 4E 80 0D 03 02 00 00 00 00 1A [16:30:11]Write i2c OK [16:30:11]MH_I2C_Read... [16:30:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:30:11]Read from MH i2c: E2 [16:30:11]MH_I2C_Read... [16:30:11]Read from MH i2c: E2 0B 00 [16:30:11]MH_I2C_Read... [16:30:11]Read from MH i2c: E2 0B 00 51 4E 00 FB B8 19 A8 C5 C4 58 F8 90 00 68 [16:30:11]RAPDU: FB B8 19 A8 C5 C4 58 F8 90 00 [16:30:11]wFMCommunicate OK [16:30:11]SAM_PROTO_SignData done [16:30:11]FM_MakeSignedData done [16:30:11]CreateOFDProtocolMessage [16:30:11]wFMCommunicate request_size=4 [16:30:11]MH_SAM_APDU [16:30:11]CAPDU: 80 11 00 00 [16:30:11]Write to MH i2c: E2 08 00 52 4E 80 11 00 00 00 00 00 00 1A [16:30:11]Write i2c OK [16:30:11]MH_I2C_Read... [16:30:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:30:11]Read from MH i2c: E2 [16:30:11]MH_I2C_Read... [16:30:11]Read from MH i2c: E2 17 00 [16:30:11]MH_I2C_Read... [16:30:11]Read from MH i2c: E2 17 00 52 4E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 62 [16:30:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:30:11]wFMCommunicate OK [16:30:11]CreateOFDProtocolMessage done [16:30:11]OFDSenderStorePacket 2582 [16:30:11]StoreOFDPacket docnum=2582 [16:30:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 31 75 1D 01 77 79 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 2B 00 00 00 F4 03 04 00 9C DE 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 16 0A 00 00 35 04 06 00 C1 5C C5 8D 93 18 FB B8 19 A8 C5 C4 58 F8 [16:30:11]CheckFolder [16:30:11]dirname=/storage/ofd_packets [16:30:11]CheckFolder done [16:30:11]ProducePacketName [16:30:11]name=ofd_packets/00002582 [16:30:11]NVStorageSaveData ofd_packets/00002582 [16:30:11]File name is /storage/ofd_packets/00002582 [16:30:11]Write 323 bytes [16:30:11]NVStorageSaveData done [16:30:11]OFDSenderStorePacket done [16:30:11]KKMCreateOFDPacket done [16:30:11]NVStorageSaveData kkm_last_timestamp [16:30:11]File name is /storage/kkm_last_timestamp [16:30:11]Write 4 bytes [16:30:11]NVStorageSaveData done [16:30:11]ExternCall_PrintAddStr [16:30:11]wPrintStart [16:30:11]Write to MH i2c: 01 00 00 53 4E A1 [16:30:11]Write i2c OK [16:30:11]MH_I2C_Read... [16:30:11]Read from MH i2c: 01 [16:30:11]MH_I2C_Read... [16:30:11]Read from MH i2c: 01 07 00 [16:30:11]MH_I2C_Read... [16:30:11]Read from MH i2c: 01 07 00 53 4E 00 00 00 00 00 FF 0F B6 [16:30:11]RasterBufferAndPrint [16:30:11]line Счет N : (3)99960 [16:30:11]line ИНН: 02508201610067 [16:30:11]line Контрольно-Кассовый Чек [16:30:11]line ПРОДАЖА [16:30:11]line Товар: 48743570 [16:30:11]line Сигареты Winston XStyle Blue [16:30:11]line 1.000 * 144.00 [16:30:11]line = 144.00 [16:30:11]line НДС 12% НСП 1% [16:30:11]line > о реализуемом товаре [16:30:11]line ИТОГО: 144.00 [16:30:11]line НСП 1% : 1.27 [16:30:11]line НДС 12% : 15.29 [16:30:11]line Наличными: 0.00 [16:30:11]line Безнал.: 144.00 [16:30:11]line Место: АЗС № 162 "Партнер Нефть" [16:30:11]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [16:30:11]line СНО: Общий режим [16:30:11]line Чек 43 19.10.2024 16:30 [16:30:11]line Смена: 23 ФФД: 1.0 [16:30:11]line ЗНМ: 0300000191 [16:30:11]line РНМ: 0000000000207295 [16:30:11]line Версия ККМ: v1.0 [16:30:11]line Платежная система: Mbank [16:30:11]line ФМ: 0000000002342820 [16:30:11]line ФД: 2582 [16:30:11]line ФПД: 212604195541784 [16:30:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T163020&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2582&fm=212604195541784&tin=02508201610067®Number=0000000000207295&sum=14400 [16:30:11]line 0 [16:30:11]written 0, free lines is 4095 [16:30:11]OFD Sender: Processing packet 2582 [packets to send 1, broken 0] [16:30:11]ProducePacketName [16:30:11]name=ofd_packets/00002582 [16:30:11]OFD Sender: To server: pG, [16:30:11]CommunicateWithHost lk.salyk.kg:30040 [16:30:11]ConnectInit lk.salyk.kg [16:30:11]Connected sock=10 [16:30:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 31 75 1D 01 77 79 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 2B 00 00 00 F4 03 04 00 9C DE 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 16 0A 00 00 35 04 06 00 C1 5C C5 8D 93 18 FB B8 19 A8 C5 C4 58 F8 [16:30:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 86 8B 47 00 94 A4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 16 0A 00 00 F4 03 04 00 FC 89 13 67 B6 04 01 00 00 68 85 94 9A 6F 20 31 E4 [16:30:12]CommunicateWithHost err = 0 [16:30:12]CheckOFDResponse [16:30:12]1017 (14) - 77093643461234 [16:30:12]1041 (16) - 0000000002342820 [16:30:12]1040 (4) - 2582 [16:30:12]1012 (4) - 19.10.2024 10:29 [16:30:12]1206 (1) - 0 [16:30:12]OFD Sender: Remove packet 2582 [16:30:12]ProducePacketName [16:30:12]name=ofd_packets/00002582 [16:30:12]NVStorageDeleteData [16:30:12]Write to MH i2c: 01 00 00 7C 4E CA [16:30:12]Write i2c OK [16:30:12]MH_I2C_Read... [16:30:12]Read from MH i2c: 01 [16:30:12]MH_I2C_Read... [16:30:12]Read from MH i2c: 01 07 00 [16:30:12]MH_I2C_Read... [16:30:12]Read from MH i2c: 01 07 00 7C 4E 00 00 00 00 00 C0 0C 9D [16:30:12]RasterBufferAndPrint [16:30:12]line [16:30:12]line [16:30:12]line [16:30:12]line [16:30:12]line [16:30:12]written 0, free lines is 3272 [16:30:12]MH_Cut [16:30:12]Write to MH i2c: D1 01 00 83 4E 01 A3 [16:30:12]Write i2c OK [16:30:12]MH_I2C_Read... [16:30:12]Read from MH i2c: D1 [16:30:12]MH_I2C_Read... [16:30:12]Read from MH i2c: D1 01 00 [16:30:12]MH_I2C_Read... [16:30:12]Read from MH i2c: D1 01 00 83 4E 00 A2 [16:30:12]Write to MH i2c: 01 00 00 84 4E D2 [16:30:12]Write i2c OK [16:30:12]MH_I2C_Read... [16:30:12]OFD Sender: No OFD packet to send [16:30:12]*** Cut start [16:30:12]*** Partial cut [16:30:12]*** CUTSNS_PIN = 1 [16:30:13]*** CUTSNS_PIN = 0 [16:30:13]*** Brake cut motor [16:30:13]Read from MH i2c: 01 [16:30:13]MH_I2C_Read... [16:30:13]*** Stop cut motor [16:30:13]*** Cut end [16:30:13]Read from MH i2c: 01 07 00 [16:30:13]MH_I2C_Read... [16:30:13]Read from MH i2c: 01 07 00 84 4E 00 00 00 00 00 FF 0F E7 [16:30:13]process_action close_receipt done [16:30:13]requested_data is exist [16:30:13]produce_requested_data [16:30:13]requested_item fm.sn is exist - process it [16:30:13]wFMCommunicate request_size=4 [16:30:13]MH_SAM_APDU [16:30:13]CAPDU: 80 11 00 00 [16:30:13]Write to MH i2c: E2 08 00 85 4E 80 11 00 00 00 00 00 00 4D [16:30:13]Write i2c OK [16:30:13]MH_I2C_Read... [16:30:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:30:13]Read from MH i2c: E2 [16:30:13]MH_I2C_Read... [16:30:13]Read from MH i2c: E2 17 00 [16:30:13]MH_I2C_Read... [16:30:13]Read from MH i2c: E2 17 00 85 4E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 95 [16:30:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:30:13]wFMCommunicate OK [16:30:13]requested_item fd.num is exist - process it [16:30:13]SAM_PROTO_GetFieldsCounters [16:30:13]wFMCommunicate request_size=4 [16:30:13]MH_SAM_APDU [16:30:13]CAPDU: 80 13 00 00 [16:30:13]Write to MH i2c: E2 08 00 86 4E 80 13 00 00 00 00 00 00 50 [16:30:13]Write i2c OK [16:30:13]MH_I2C_Read... [16:30:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:30:13]Read from MH i2c: E2 [16:30:13]MH_I2C_Read... [16:30:13]Read from MH i2c: E2 62 00 [16:30:13]MH_I2C_Read... [16:30:13]Read from MH i2c: E2 62 00 86 4E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 16 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 1E [16:30:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 16 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:30:13]wFMCommunicate OK [16:30:13]SAM_PROTO_GetFieldsCounters done [16:30:13]requested_item shift.num is exist - process it [16:30:13]requested_item shift.opened is exist - process it [16:30:13]req_shift_opened [16:30:13]FM_GetShiftState [16:30:13]SAM_PROTO_GetShiftState [16:30:13]wFMCommunicate request_size=4 [16:30:13]MH_SAM_APDU [16:30:13]CAPDU: 80 13 01 00 [16:30:13]Write to MH i2c: E2 08 00 87 4E 80 13 01 00 00 00 00 00 52 [16:30:13]Write i2c OK [16:30:13]MH_I2C_Read... [16:30:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:30:13]Read from MH i2c: E2 [16:30:13]MH_I2C_Read... [16:30:13]Read from MH i2c: E2 0E 00 [16:30:13]MH_I2C_Read... [16:30:13]Read from MH i2c: E2 0E 00 87 4E 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 FB [16:30:13]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [16:30:13]wFMCommunicate OK [16:30:13]SAM_PROTO_GetShiftState done [16:30:13]FM_GetShiftState done [16:30:13]req_shift_opened done [16:30:13]requested_item shift.open_date is exist - process it [16:30:13]req_shift_open_date [16:30:13]req_shift_open_date done [16:30:13]produce_requested_data done [16:30:13]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2582,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [16:30:13]process_action_free close_receipt [16:30:13]json_value_free [16:30:13]json_value_free done [16:30:13]process_json_proto returns [16:30:13]Send response to host [16:30:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2582,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [16:30:13]free response buf [16:30:13]execute_script done [16:30:13]execute_script returns [16:30:13]free content buf [16:30:13]Sock 9.Close socket [16:30:13]Sock 9.Thread stoped [16:30:17]OFD Sender: No OFD packet to send [16:30:22]OFD Sender: No OFD packet to send [16:30:27]OFD Sender: No OFD packet to send [16:30:32]OFD Sender: No OFD packet to send [16:30:37]OFD Sender: No OFD packet to send [16:30:42]OFD Sender: No OFD packet to send [16:30:47]OFD Sender: No OFD packet to send [16:30:52]OFD Sender: No OFD packet to send [16:30:57]OFD Sender: No OFD packet to send [16:31:02]OFD Sender: No OFD packet to send [16:31:07]OFD Sender: No OFD packet to send [16:31:12]OFD Sender: No OFD packet to send [16:31:17]OFD Sender: No OFD packet to send [16:31:22]OFD Sender: No OFD packet to send [16:31:27]OFD Sender: No OFD packet to send [16:31:32]OFD Sender: No OFD packet to send [16:31:37]OFD Sender: No OFD packet to send [16:31:42]OFD Sender: No OFD packet to send [16:31:47]OFD Sender: No OFD packet to send [16:31:52]OFD Sender: No OFD packet to send [16:31:57]OFD Sender: No OFD packet to send [16:32:02]OFD Sender: No OFD packet to send [16:32:07]OFD Sender: No OFD packet to send [16:32:12]OFD Sender: No OFD packet to send [16:32:17]OFD Sender: No OFD packet to send [16:32:22]OFD Sender: No OFD packet to send [16:32:27]OFD Sender: No OFD packet to send [16:32:32]OFD Sender: No OFD packet to send [16:32:37]OFD Sender: No OFD packet to send [16:32:42]OFD Sender: No OFD packet to send [16:32:47]OFD Sender: No OFD packet to send [16:32:52]OFD Sender: No OFD packet to send [16:32:57]OFD Sender: No OFD packet to send [16:33:02]OFD Sender: No OFD packet to send [16:33:07]OFD Sender: No OFD packet to send [16:33:12]OFD Sender: No OFD packet to send [16:33:17]OFD Sender: No OFD packet to send [16:33:22]OFD Sender: No OFD packet to send [16:33:27]OFD Sender: No OFD packet to send [16:33:32]OFD Sender: No OFD packet to send [16:33:37]OFD Sender: No OFD packet to send [16:33:42]OFD Sender: No OFD packet to send [16:33:47]OFD Sender: No OFD packet to send [16:33:52]OFD Sender: No OFD packet to send [16:33:57]OFD Sender: No OFD packet to send [16:34:02]OFD Sender: No OFD packet to send [16:34:07]OFD Sender: No OFD packet to send [16:34:12]OFD Sender: No OFD packet to send [16:34:17]OFD Sender: No OFD packet to send [16:34:22]OFD Sender: No OFD packet to send [16:34:27]OFD Sender: No OFD packet to send [16:34:32]OFD Sender: No OFD packet to send [16:34:37]OFD Sender: No OFD packet to send [16:34:42]OFD Sender: No OFD packet to send [16:34:47]OFD Sender: No OFD packet to send [16:34:52]OFD Sender: No OFD packet to send [16:34:57]OFD Sender: No OFD packet to send [16:35:02]OFD Sender: No OFD packet to send [16:35:07]OFD Sender: No OFD packet to send [16:35:12]OFD Sender: No OFD packet to send [16:35:17]OFD Sender: No OFD packet to send [16:35:22]OFD Sender: No OFD packet to send [16:35:27]OFD Sender: No OFD packet to send [16:35:32]OFD Sender: No OFD packet to send [16:35:37]OFD Sender: No OFD packet to send [16:35:42]OFD Sender: No OFD packet to send [16:35:47]OFD Sender: No OFD packet to send [16:35:52]OFD Sender: No OFD packet to send [16:35:57]OFD Sender: No OFD packet to send [16:36:02]OFD Sender: No OFD packet to send [16:36:07]OFD Sender: No OFD packet to send [16:36:12]OFD Sender: No OFD packet to send [16:36:17]OFD Sender: No OFD packet to send [16:36:22]OFD Sender: No OFD packet to send [16:36:27]OFD Sender: No OFD packet to send [16:36:32]OFD Sender: No OFD packet to send [16:36:37]OFD Sender: No OFD packet to send [16:36:42]OFD Sender: No OFD packet to send [16:36:47]OFD Sender: No OFD packet to send [16:36:52]OFD Sender: No OFD packet to send [16:36:57]OFD Sender: No OFD packet to send [16:37:02]OFD Sender: No OFD packet to send [16:37:07]OFD Sender: No OFD packet to send [16:37:12]OFD Sender: No OFD packet to send [16:37:17]OFD Sender: No OFD packet to send [16:37:22]OFD Sender: No OFD packet to send [16:37:27]OFD Sender: No OFD packet to send [16:37:32]OFD Sender: No OFD packet to send [16:37:37]OFD Sender: No OFD packet to send [16:37:42]OFD Sender: No OFD packet to send [16:37:47]OFD Sender: No OFD packet to send [16:37:52]OFD Sender: No OFD packet to send [16:37:57]OFD Sender: No OFD packet to send [16:38:02]OFD Sender: No OFD packet to send [16:38:07]OFD Sender: No OFD packet to send [16:38:12]OFD Sender: No OFD packet to send [16:38:17]OFD Sender: No OFD packet to send [16:38:22]OFD Sender: No OFD packet to send [16:38:27]OFD Sender: No OFD packet to send [16:38:32]OFD Sender: No OFD packet to send [16:38:37]OFD Sender: No OFD packet to send [16:38:42]OFD Sender: No OFD packet to send [16:38:47]OFD Sender: No OFD packet to send [16:38:52]OFD Sender: No OFD packet to send [16:38:57]OFD Sender: No OFD packet to send [16:39:02]OFD Sender: No OFD packet to send [16:39:07]OFD Sender: No OFD packet to send [16:39:12]OFD Sender: No OFD packet to send [16:39:17]OFD Sender: No OFD packet to send [16:39:22]OFD Sender: No OFD packet to send [16:39:27]OFD Sender: No OFD packet to send [16:39:32]OFD Sender: No OFD packet to send [16:39:37]OFD Sender: No OFD packet to send [16:39:42]OFD Sender: No OFD packet to send [16:39:47]OFD Sender: No OFD packet to send [16:39:52]OFD Sender: No OFD packet to send [16:39:57]OFD Sender: No OFD packet to send [16:40:02]OFD Sender: No OFD packet to send [16:40:07]OFD Sender: No OFD packet to send [16:40:12]OFD Sender: No OFD packet to send [16:40:17]OFD Sender: No OFD packet to send [16:40:22]OFD Sender: No OFD packet to send [16:40:27]OFD Sender: No OFD packet to send [16:40:33]OFD Sender: No OFD packet to send [16:40:38]OFD Sender: No OFD packet to send [16:40:43]OFD Sender: No OFD packet to send [16:40:44]accept exits with 7 [16:40:44]New connection [16:40:44]New thread 3066707300 created [16:40:44]Thread 3066850660 joined [16:40:44]Waiting for new connection... [16:40:44] Sock 7.Parse request [16:40:44]Sock 7.Check first char [16:40:44]Sock 7.First char is OK [16:40:44]request: POST /json_proto HTTP/1.0 [16:40:44]Method: POST [16:40:44]URL: /json_proto [16:40:44]Method is POST - this is cgi request [16:40:44]url: /json_proto [16:40:44]query_string will be loaded in cgi processing [16:40:44]execute_cgi json_proto POST (null) [16:40:44]execute_cgi path=json_proto method=POST [16:40:44]POST find Content-Length [16:40:44]Host: 172.17.52.132:8080 [16:40:44]Content-Length: 905 [16:40:44]Content-Type: application/json [16:40:44] [16:40:44]POST finish read [16:40:44]Found Content-Length = 905 [16:40:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99961", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 360.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:40:44]execute_script... [16:40: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)99961", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 360.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:40:44]POST & json_proto [16:40:44]process_json_proto [16:40:44]json parsed OK: [16:40:44]protocol is kg_v1.0 [16:40:44]action value=close_receipt [16:40:44]process_action close_receipt [16:40:44]cmd_close_receipt [16:40:44]MH_GetDate [16:40:44]Write to MH i2c: F0 00 00 88 4E C5 [16:40:44]Write i2c OK [16:40:44]MH_I2C_Read... [16:40:44]Read from MH i2c: F0 [16:40:44]MH_I2C_Read... [16:40:44]Read from MH i2c: F0 09 00 [16:40:44]MH_I2C_Read... [16:40:44]Read from MH i2c: F0 09 00 88 4E 00 17 E1 13 67 5A BE F6 66 B4 [16:40:44]GetLastDocTimeStamp 1729355420 [16:40:44]current date 1729356055 [16:40:44]FM_GetShiftState [16:40:44]SAM_PROTO_GetShiftState [16:40:44]wFMCommunicate request_size=4 [16:40:44]MH_SAM_APDU [16:40:44]CAPDU: 80 13 01 00 [16:40:44]Write to MH i2c: E2 08 00 89 4E 80 13 01 00 00 00 00 00 54 [16:40:44]Write i2c OK [16:40:44]MH_I2C_Read... [16:40:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:40:45]Read from MH i2c: E2 [16:40:45]MH_I2C_Read... [16:40:45]Read from MH i2c: E2 0E 00 [16:40:45]MH_I2C_Read... [16:40:45]Read from MH i2c: E2 0E 00 89 4E 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 FD [16:40:45]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [16:40:45]wFMCommunicate OK [16:40:45]SAM_PROTO_GetShiftState done [16:40:45]FM_GetShiftState done [16:40:45]opened in 1729296173 [16:40:45]opened+sec_in_day 1729382573 [16:40:45]quantity*price = 13000 [16:40:45]sum+1 = 13001 [16:40:45]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036210013 Кофе Капучино (GABB TRADE) 2.000 * 115.00 = 230.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 360.00 НСП 1% : 3.18 НДС 12% : 38.22 Наличными: 360.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 44 19.10.2024 16:40 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2583 ФПД: 170172236420733 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T164055&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2583&fm=170172236420733&tin=02508201610067®Number=0000000000207295&sum=36000 0 [16:40:46]StoreToDocumentArchive [16:40:46]shift 23 fd 2583 [16:40:46]save to /storage/0023/doc_00002583 [16:40:46]save last doc name /storage/0023/doc_00002583 to /storage/kkm_last_doc_name [16:40:46]save OK [16:40:46]Clear old archive folders... [16:40:46]ProcessDocumentItem done err = 0, tmpTLVsize=392 [16:40:46]tlvbuf is 0143AB50 [16:40:46]SAM_PROTO_ClearQueue [16:40:46]wFMCommunicate request_size=4 [16:40:46]MH_SAM_APDU [16:40:46]CAPDU: 80 09 00 00 [16:40:46]Write to MH i2c: E2 08 00 96 4E 80 09 00 00 00 00 00 00 56 [16:40:46]Write i2c OK [16:40:46]MH_I2C_Read... [16:40:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:40:46]Read from MH i2c: E2 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 03 00 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 03 00 96 4E 00 90 00 58 [16:40:46]RAPDU: 90 00 [16:40:46]wFMCommunicate OK [16:40:46]SAM_PROTO_ClearQueue done [16:40:46]KKMCreateOFDPacket [16:40:46]OFDProtocolAddRootSTLVToBuf [16:40:46]FM_MakeSignedData [16:40:46]FM_MakeSignedData [16:40:46]SAM_PROTO_SignData [16:40:46]wFMCommunicate request_size=4 [16:40:46]MH_SAM_APDU [16:40:46]CAPDU: 80 0D 01 02 [16:40:46]Write to MH i2c: E2 08 00 97 4E 80 0D 01 02 00 00 00 00 5E [16:40:46]Write i2c OK [16:40:46]MH_I2C_Read... [16:40:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:40:46]Read from MH i2c: E2 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 03 00 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 03 00 97 4E 00 90 00 59 [16:40:46]RAPDU: 90 00 [16:40:46]wFMCommunicate OK [16:40:46]wFMCommunicate request_size=255 [16:40:46]MH_SAM_APDU [16:40:46]CAPDU: 80 0D 02 02 FA 03 00 88 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [16:40:46]Write to MH i2c: E2 02 01 98 4E 80 0D 02 02 FA 00 03 00 88 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 70 [16:40:46]Write i2c OK [16:40:46]MH_I2C_Read... [16:40:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:40:46]Read from MH i2c: E2 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 03 00 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 03 00 98 4E 00 90 00 5A [16:40:46]RAPDU: 90 00 [16:40:46]wFMCommunicate OK [16:40:46]wFMCommunicate request_size=151 [16:40:46]MH_SAM_APDU [16:40:46]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 3E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0E 00 00 00 00 07 04 06 00 A0 8C 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 17 E1 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 17 0A 00 00 35 04 06 00 9A C5 4F B3 D6 7D [16:40:46]Write to MH i2c: E2 9A 00 99 4E 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 3E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0E 00 00 00 00 07 04 06 00 A0 8C 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 17 E1 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 17 0A 00 00 35 04 06 00 9A C5 4F B3 D6 7D 00 00 9D [16:40:46]Write i2c OK [16:40:46]MH_I2C_Read... [16:40:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:40:46]Read from MH i2c: E2 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 03 00 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 03 00 99 4E 00 90 00 5B [16:40:46]RAPDU: 90 00 [16:40:46]wFMCommunicate OK [16:40:46]wFMCommunicate request_size=4 [16:40:46]MH_SAM_APDU [16:40:46]CAPDU: 80 0D 03 02 [16:40:46]Write to MH i2c: E2 08 00 9A 4E 80 0D 03 02 00 00 00 00 63 [16:40:46]Write i2c OK [16:40:46]MH_I2C_Read... [16:40:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:40:46]Read from MH i2c: E2 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 0B 00 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 0B 00 9A 4E 00 78 73 6B 41 4B 96 F2 99 90 00 67 [16:40:46]RAPDU: 78 73 6B 41 4B 96 F2 99 90 00 [16:40:46]wFMCommunicate OK [16:40:46]SAM_PROTO_SignData done [16:40:46]FM_MakeSignedData done [16:40:46]CreateOFDProtocolMessage [16:40:46]wFMCommunicate request_size=4 [16:40:46]MH_SAM_APDU [16:40:46]CAPDU: 80 11 00 00 [16:40:46]Write to MH i2c: E2 08 00 9B 4E 80 11 00 00 00 00 00 00 63 [16:40:46]Write i2c OK [16:40:46]MH_I2C_Read... [16:40:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:40:46]Read from MH i2c: E2 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 17 00 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 17 00 9B 4E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 AB [16:40:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:40:46]wFMCommunicate OK [16:40:46]CreateOFDProtocolMessage done [16:40:46]OFDSenderStorePacket 2583 [16:40:46]StoreOFDPacket docnum=2583 [16:40:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 9C 01 00 00 DA CA 94 01 75 5B 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0E 00 00 00 00 07 04 06 00 A0 8C 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 17 E1 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 17 0A 00 00 35 04 06 00 9A C5 4F B3 D6 7D 78 73 6B 41 4B 96 F2 99 [16:40:46]CheckFolder [16:40:46]dirname=/storage/ofd_packets [16:40:46]CheckFolder done [16:40:46]ProducePacketName [16:40:46]name=ofd_packets/00002583 [16:40:46]NVStorageSaveData ofd_packets/00002583 [16:40:46]File name is /storage/ofd_packets/00002583 [16:40:46]Write 442 bytes [16:40:46]NVStorageSaveData done [16:40:46]OFDSenderStorePacket done [16:40:46]KKMCreateOFDPacket done [16:40:46]NVStorageSaveData kkm_last_timestamp [16:40:46]File name is /storage/kkm_last_timestamp [16:40:46]Write 4 bytes [16:40:46]NVStorageSaveData done [16:40:46]ExternCall_PrintAddStr [16:40:46]wPrintStart [16:40:46]Write to MH i2c: 01 00 00 9C 4E EA [16:40:46]Write i2c OK [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: 01 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: 01 07 00 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: 01 07 00 9C 4E 00 00 00 00 00 FF 0F FF [16:40:46]RasterBufferAndPrint [16:40:46]line Счет N : (3)99961 [16:40:46]line ИНН: 02508201610067 [16:40:47]line Контрольно-Кассовый Чек [16:40:47]line ПРОДАЖА [16:40:47]line Товар: 2000036220012 [16:40:47]line Кофе Капучино XL(GABB TRADE) [16:40:47]line 1.000 * 130.00 [16:40:47]line = 130.00 [16:40:47]line НДС 12% НСП 1% [16:40:47]line > о реализуемом товаре [16:40:47]line Товар: 2000036210013 [16:40:47]line Кофе Капучино (GABB TRADE) [16:40:47]line 2.000 * 115.00 [16:40:47]line = 230.00 [16:40:47]line НДС 12% НСП 1% [16:40:47]line > о реализуемом товаре [16:40:47]line ИТОГО: 360.00 [16:40:47]line НСП 1% : 3.18 [16:40:47]line НДС 12% : 38.22 [16:40:47]line Наличными: 360.00 [16:40:47]line Безнал.: 0.00 [16:40:47]line Место: АЗС № 162 "Партнер Нефть" [16:40:47]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [16:40:47]line СНО: Общий режим [16:40:47]line Чек 44 19.10.2024 16:40 [16:40:47]line Смена: 23 ФФД: 1.0 [16:40:47]line ЗНМ: 0300000191 [16:40:47]line РНМ: 0000000000207295 [16:40:47]line Версия ККМ: v1.0 [16:40:47]line ФМ: 0000000002342820 [16:40:47]line ФД: 2583 [16:40:47]line ФПД: 170172236420733 [16:40:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T164055&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2583&fm=170172236420733&tin=02508201610067®Number=0000000000207295&sum=36000 [16:40:47]line 0 [16:40:47]OFD Sender: Processing packet 2583 [packets to send 1, broken 0] [16:40:47]ProducePacketName [16:40:47]name=ofd_packets/00002583 [16:40:47]OFD Sender: To server: pG, [16:40:47]CommunicateWithHost lk.salyk.kg:30040 [16:40:47]ConnectInit lk.salyk.kg [16:40:47]written 0, free lines is 4095 [16:40:47]Connected sock=10 [16:40:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 9C 01 00 00 DA CA 94 01 75 5B 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0E 00 00 00 00 07 04 06 00 A0 8C 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 17 E1 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 17 0A 00 00 35 04 06 00 9A C5 4F B3 D6 7D 78 73 6B 41 4B 96 F2 99 [16:40:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 12 DF 47 00 1D AF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 17 0A 00 00 F4 03 04 00 77 8C 13 67 B6 04 01 00 00 DA F3 F0 D0 24 44 1C A7 [16:40:47]CommunicateWithHost err = 0 [16:40:47]CheckOFDResponse [16:40:47]1017 (14) - 77093643461234 [16:40:47]1041 (16) - 0000000002342820 [16:40:47]1040 (4) - 2583 [16:40:47]1012 (4) - 19.10.2024 10:39 [16:40:47]1206 (1) - 0 [16:40:47]OFD Sender: Remove packet 2583 [16:40:47]ProducePacketName [16:40:47]name=ofd_packets/00002583 [16:40:47]NVStorageDeleteData [16:40:47]Write to MH i2c: 01 00 00 CB 4E 19 [16:40:47]Write i2c OK [16:40:47]MH_I2C_Read... [16:40:47]Read from MH i2c: 01 [16:40:47]MH_I2C_Read... [16:40:47]Read from MH i2c: 01 07 00 [16:40:47]MH_I2C_Read... [16:40:47]Read from MH i2c: 01 07 00 CB 4E 00 00 00 00 00 70 0C 9C [16:40:47]RasterBufferAndPrint [16:40:47]line [16:40:47]line [16:40:47]line [16:40:47]line [16:40:47]line [16:40:47]written 0, free lines is 3191 [16:40:47]MH_Cut [16:40:47]Write to MH i2c: D1 01 00 D2 4E 01 F2 [16:40:47]Write i2c OK [16:40:47]MH_I2C_Read... [16:40:47]Read from MH i2c: D1 [16:40:47]MH_I2C_Read... [16:40:47]Read from MH i2c: D1 01 00 [16:40:47]MH_I2C_Read... [16:40:47]Read from MH i2c: D1 01 00 D2 4E 00 F1 [16:40:47]Write to MH i2c: 01 00 00 D3 4E 21 [16:40:47]Write i2c OK [16:40:47]MH_I2C_Read... [16:40:47]OFD Sender: No OFD packet to send [16:40:48]*** Cut start [16:40:48]*** Partial cut [16:40:48]*** CUTSNS_PIN = 1 [16:40:48]*** CUTSNS_PIN = 0 [16:40:48]*** Brake cut motor [16:40:49]Read from MH i2c: 01 [16:40:49]MH_I2C_Read... [16:40:49]*** Stop cut motor [16:40:49]*** Cut end [16:40:49]Read from MH i2c: 01 07 00 [16:40:49]MH_I2C_Read... [16:40:49]Read from MH i2c: 01 07 00 D3 4E 00 00 00 00 00 FF 0F 36 [16:40:49]process_action close_receipt done [16:40:49]requested_data is exist [16:40:49]produce_requested_data [16:40:49]requested_item fm.sn is exist - process it [16:40:49]wFMCommunicate request_size=4 [16:40:49]MH_SAM_APDU [16:40:49]CAPDU: 80 11 00 00 [16:40:49]Write to MH i2c: E2 08 00 D4 4E 80 11 00 00 00 00 00 00 9C [16:40:49]Write i2c OK [16:40:49]MH_I2C_Read... [16:40:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:40:49]Read from MH i2c: E2 [16:40:49]MH_I2C_Read... [16:40:49]Read from MH i2c: E2 17 00 [16:40:49]MH_I2C_Read... [16:40:49]Read from MH i2c: E2 17 00 D4 4E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 E4 [16:40:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:40:49]wFMCommunicate OK [16:40:49]requested_item fd.num is exist - process it [16:40:49]SAM_PROTO_GetFieldsCounters [16:40:49]wFMCommunicate request_size=4 [16:40:49]MH_SAM_APDU [16:40:49]CAPDU: 80 13 00 00 [16:40:49]Write to MH i2c: E2 08 00 D5 4E 80 13 00 00 00 00 00 00 9F [16:40:49]Write i2c OK [16:40:49]MH_I2C_Read... [16:40:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:40:49]Read from MH i2c: E2 [16:40:49]MH_I2C_Read... [16:40:49]Read from MH i2c: E2 62 00 [16:40:49]MH_I2C_Read... [16:40:49]Read from MH i2c: E2 62 00 D5 4E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 17 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 71 [16:40:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 17 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:40:49]wFMCommunicate OK [16:40:49]SAM_PROTO_GetFieldsCounters done [16:40:49]requested_item shift.num is exist - process it [16:40:49]requested_item shift.opened is exist - process it [16:40:49]req_shift_opened [16:40:49]FM_GetShiftState [16:40:49]SAM_PROTO_GetShiftState [16:40:49]wFMCommunicate request_size=4 [16:40:49]MH_SAM_APDU [16:40:49]CAPDU: 80 13 01 00 [16:40:49]Write to MH i2c: E2 08 00 D6 4E 80 13 01 00 00 00 00 00 A1 [16:40:49]Write i2c OK [16:40:49]MH_I2C_Read... [16:40:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:40:49]Read from MH i2c: E2 [16:40:49]MH_I2C_Read... [16:40:49]Read from MH i2c: E2 0E 00 [16:40:49]MH_I2C_Read... [16:40:49]Read from MH i2c: E2 0E 00 D6 4E 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 4A [16:40:49]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [16:40:49]wFMCommunicate OK [16:40:49]SAM_PROTO_GetShiftState done [16:40:49]FM_GetShiftState done [16:40:49]req_shift_opened done [16:40:49]requested_item shift.open_date is exist - process it [16:40:49]req_shift_open_date [16:40:49]req_shift_open_date done [16:40:49]produce_requested_data done [16:40:49]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2583,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [16:40:49]process_action_free close_receipt [16:40:49]json_value_free [16:40:49]json_value_free done [16:40:49]process_json_proto returns [16:40:49]Send response to host [16:40:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2583,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [16:40:49]free response buf [16:40:49]execute_script done [16:40:49]execute_script returns [16:40:49]free content buf [16:40:49]Sock 7.Close socket [16:40:49]Sock 7.Thread stoped [16:40:52]OFD Sender: No OFD packet to send [16:40:57]OFD Sender: No OFD packet to send [16:41:02]OFD Sender: No OFD packet to send [16:41:07]OFD Sender: No OFD packet to send [16:41:12]OFD Sender: No OFD packet to send [16:41:17]OFD Sender: No OFD packet to send [16:41:22]OFD Sender: No OFD packet to send [16:41:27]OFD Sender: No OFD packet to send [16:41:32]OFD Sender: No OFD packet to send [16:41:37]OFD Sender: No OFD packet to send [16:41:42]OFD Sender: No OFD packet to send [16:41:48]OFD Sender: No OFD packet to send [16:41:53]OFD Sender: No OFD packet to send [16:41:58]OFD Sender: No OFD packet to send [16:42:03]OFD Sender: No OFD packet to send [16:42:08]OFD Sender: No OFD packet to send [16:42:13]OFD Sender: No OFD packet to send [16:42:18]OFD Sender: No OFD packet to send [16:42:23]OFD Sender: No OFD packet to send [16:42:28]OFD Sender: No OFD packet to send [16:42:33]OFD Sender: No OFD packet to send [16:42:38]OFD Sender: No OFD packet to send [16:42:43]OFD Sender: No OFD packet to send [16:42:48]OFD Sender: No OFD packet to send [16:42:53]OFD Sender: No OFD packet to send [16:42:58]OFD Sender: No OFD packet to send [16:43:03]OFD Sender: No OFD packet to send [16:43:08]OFD Sender: No OFD packet to send [16:43:13]OFD Sender: No OFD packet to send [16:43:18]OFD Sender: No OFD packet to send [16:43:23]OFD Sender: No OFD packet to send [16:43:28]OFD Sender: No OFD packet to send [16:43:33]OFD Sender: No OFD packet to send [16:43:38]OFD Sender: No OFD packet to send [16:43:43]OFD Sender: No OFD packet to send [16:43:48]OFD Sender: No OFD packet to send [16:43:53]OFD Sender: No OFD packet to send [16:43:58]OFD Sender: No OFD packet to send [16:44:03]OFD Sender: No OFD packet to send [16:44:08]OFD Sender: No OFD packet to send [16:44:13]OFD Sender: No OFD packet to send [16:44:18]OFD Sender: No OFD packet to send [16:44:23]OFD Sender: No OFD packet to send [16:44:28]OFD Sender: No OFD packet to send [16:44:33]OFD Sender: No OFD packet to send [16:44:38]OFD Sender: No OFD packet to send [16:44:43]OFD Sender: No OFD packet to send [16:44:48]OFD Sender: No OFD packet to send [16:44:53]OFD Sender: No OFD packet to send [16:44:58]OFD Sender: No OFD packet to send [16:45:03]OFD Sender: No OFD packet to send [16:45:08]OFD Sender: No OFD packet to send [16:45:13]OFD Sender: No OFD packet to send [16:45:18]OFD Sender: No OFD packet to send [16:45:23]OFD Sender: No OFD packet to send [16:45:28]OFD Sender: No OFD packet to send [16:45:33]OFD Sender: No OFD packet to send [16:45:38]OFD Sender: No OFD packet to send [16:45:43]OFD Sender: No OFD packet to send [16:45:48]OFD Sender: No OFD packet to send [16:45:53]OFD Sender: No OFD packet to send [16:45:58]OFD Sender: No OFD packet to send [16:46:03]OFD Sender: No OFD packet to send [16:46:08]OFD Sender: No OFD packet to send [16:46:13]OFD Sender: No OFD packet to send [16:46:18]OFD Sender: No OFD packet to send [16:46:23]OFD Sender: No OFD packet to send [16:46:28]OFD Sender: No OFD packet to send [16:46:33]OFD Sender: No OFD packet to send [16:46:38]OFD Sender: No OFD packet to send [16:46:43]OFD Sender: No OFD packet to send [16:46:48]OFD Sender: No OFD packet to send [16:46:53]OFD Sender: No OFD packet to send [16:46:58]OFD Sender: No OFD packet to send [16:47:03]OFD Sender: No OFD packet to send [16:47:08]OFD Sender: No OFD packet to send [16:47:13]OFD Sender: No OFD packet to send [16:47:18]OFD Sender: No OFD packet to send [16:47:23]OFD Sender: No OFD packet to send [16:47:28]OFD Sender: No OFD packet to send [16:47:33]OFD Sender: No OFD packet to send [16:47:38]OFD Sender: No OFD packet to send [16:47:43]OFD Sender: No OFD packet to send [16:47:48]OFD Sender: No OFD packet to send [16:47:53]OFD Sender: No OFD packet to send [16:47:58]OFD Sender: No OFD packet to send [16:48:03]OFD Sender: No OFD packet to send [16:48:08]OFD Sender: No OFD packet to send [16:48:13]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:58]OFD Sender: No OFD packet to send [16:57:03]OFD Sender: No OFD packet to send [16:57:08]OFD Sender: No OFD packet to send [16:57:13]OFD Sender: No OFD packet to send [16:57:18]OFD Sender: No OFD packet to send [16:57:23]OFD Sender: No OFD packet to send [16:57:28]OFD Sender: No OFD packet to send [16:57:33]OFD Sender: No OFD packet to send [16:57:38]OFD Sender: No OFD packet to send [16:57:43]OFD Sender: No OFD packet to send [16:57:48]OFD Sender: No OFD packet to send [16:57:53]OFD Sender: No OFD packet to send [16:57:58]OFD Sender: No OFD packet to send [16:58:01]accept exits with 9 [16:58:01]New connection [16:58:01]New thread 3066850660 created [16:58:01]Thread 3066707300 joined [16:58:01]Waiting for new connection... [16:58:01] Sock 9.Parse request [16:58:01]Sock 9.Check first char [16:58:01]Sock 9.First char is OK [16:58:01]request: POST /json_proto HTTP/1.0 [16:58:01]Method: POST [16:58:01]URL: /json_proto [16:58:01]Method is POST - this is cgi request [16:58:01]url: /json_proto [16:58:01]query_string will be loaded in cgi processing [16:58:01]execute_cgi json_proto POST (null) [16:58:01]execute_cgi path=json_proto method=POST [16:58:01]POST find Content-Length [16:58:01]Host: 172.17.52.132:8080 [16:58:01]Content-Length: 2166 [16:58:01]Content-Type: application/json [16:58:01] [16:58:01]POST finish read [16:58:01]Found Content-Length = 2166 [16:58:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99962", "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" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741415", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Violet", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\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" : 1134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:58:01]execute_script... [16:58: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)99962", "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" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741415", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Violet", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\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" : 1134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:58:01]POST & json_proto [16:58:01]process_json_proto [16:58:01]json parsed OK: [16:58:01]protocol is kg_v1.0 [16:58:01]action value=close_receipt [16:58:01]process_action close_receipt [16:58:01]cmd_close_receipt [16:58:01]MH_GetDate [16:58:01]Write to MH i2c: F0 00 00 D7 4E 14 [16:58:01]Write i2c OK [16:58:01]MH_I2C_Read... [16:58:01]Read from MH i2c: F0 [16:58:01]MH_I2C_Read... [16:58:01]Read from MH i2c: F0 09 00 [16:58:01]MH_I2C_Read... [16:58:01]Read from MH i2c: F0 09 00 D7 4E 00 23 E5 13 67 5A BE F6 66 13 [16:58:01]GetLastDocTimeStamp 1729356055 [16:58:01]current date 1729357091 [16:58:01]FM_GetShiftState [16:58:01]SAM_PROTO_GetShiftState [16:58:01]wFMCommunicate request_size=4 [16:58:01]MH_SAM_APDU [16:58:01]CAPDU: 80 13 01 00 [16:58:01]Write to MH i2c: E2 08 00 D8 4E 80 13 01 00 00 00 00 00 A3 [16:58:01]Write i2c OK [16:58:01]MH_I2C_Read... [16:58:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:58:01]Read from MH i2c: E2 [16:58:01]MH_I2C_Read... [16:58:01]Read from MH i2c: E2 0E 00 [16:58:01]MH_I2C_Read... [16:58:01]Read from MH i2c: E2 0E 00 D8 4E 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 4C [16:58:01]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [16:58:01]wFMCommunicate OK [16:58:01]SAM_PROTO_GetShiftState done [16:58:01]FM_GetShiftState done [16:58:01]opened in 1729296173 [16:58:01]opened+sec_in_day 1729382573 [16:58:01]quantity*price = 6900 [16:58:01]sum+1 = 6901 [16:58:01]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 2.000 * 144.00 = 288.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4011100977952 Шок Батончик Твикс 55г 1.000 * 54.00 = 54.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48741415 Сигареты LD Super Slims Violet 2.000 * 134.00 = 268.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4620006996716 Водка Талка 0,1л 2.000 * 130.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700002082931 Водка Хорошая 0,1л 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000006271 Напиток Фанта 1л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1134.00 НСП 1% : 10.04 НДС 12% : 120.41 Наличными: 1134.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 45 19.10.2024 16:58 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2584 ФПД: 60576964850048 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T165811&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2584&fm=60576964850048&tin=02508201610067®Number=0000000000207295&sum=113400 0 [16:58:02]StoreToDocumentArchive [16:58:02]shift 23 fd 2584 [16:58:02]save to /storage/0023/doc_00002584 [16:58:02]save last doc name /storage/0023/doc_00002584 to /storage/kkm_last_doc_name [16:58:02]save OK [16:58:02]Clear old archive folders... [16:58:02]ProcessDocumentItem done err = 0, tmpTLVsize=916 [16:58:02]tlvbuf is 013CE530 [16:58:02]SAM_PROTO_ClearQueue [16:58:02]wFMCommunicate request_size=4 [16:58:02]MH_SAM_APDU [16:58:02]CAPDU: 80 09 00 00 [16:58:02]Write to MH i2c: E2 08 00 E5 4E 80 09 00 00 00 00 00 00 A5 [16:58:02]Write i2c OK [16:58:02]MH_I2C_Read... [16:58:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:58:02]Read from MH i2c: E2 [16:58:02]MH_I2C_Read... [16:58:02]Read from MH i2c: E2 03 00 [16:58:02]MH_I2C_Read... [16:58:02]Read from MH i2c: E2 03 00 E5 4E 00 90 00 A7 [16:58:02]RAPDU: 90 00 [16:58:02]wFMCommunicate OK [16:58:02]SAM_PROTO_ClearQueue done [16:58:02]KKMCreateOFDPacket [16:58:02]OFDProtocolAddRootSTLVToBuf [16:58:02]FM_MakeSignedData [16:58:02]FM_MakeSignedData [16:58:02]SAM_PROTO_SignData [16:58:02]wFMCommunicate request_size=4 [16:58:02]MH_SAM_APDU [16:58:02]CAPDU: 80 0D 01 02 [16:58:02]Write to MH i2c: E2 08 00 E6 4E 80 0D 01 02 00 00 00 00 AD [16:58:02]Write i2c OK [16:58:02]MH_I2C_Read... [16:58:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:58:02]Read from MH i2c: E2 [16:58:02]MH_I2C_Read... [16:58:02]Read from MH i2c: E2 03 00 [16:58:02]MH_I2C_Read... [16:58:02]Read from MH i2c: E2 03 00 E6 4E 00 90 00 A8 [16:58:02]RAPDU: 90 00 [16:58:02]wFMCommunicate OK [16:58:02]wFMCommunicate request_size=255 [16:58:02]MH_SAM_APDU [16:58:02]CAPDU: 80 0D 02 02 FA 03 00 94 03 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 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 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 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 [16:58:02]Write to MH i2c: E2 02 01 E7 4E 80 0D 02 02 FA 00 03 00 94 03 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 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 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 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 00 00 B1 [16:58:02]Write i2c OK [16:58:02]MH_I2C_Read... [16:58:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:58:03]Read from MH i2c: E2 [16:58:03]MH_I2C_Read... [16:58:03]Read from MH i2c: E2 03 00 [16:58:03]MH_I2C_Read... [16:58:03]Read from MH i2c: E2 03 00 E7 4E 00 90 00 A9 [16:58:03]RAPDU: 90 00 [16:58:03]wFMCommunicate OK [16:58:03]wFMCommunicate request_size=255 [16:58:03]MH_SAM_APDU [16:58:03]CAPDU: 80 0D 02 02 FA 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 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 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 [16:58:03]Write to MH i2c: E2 02 01 E8 4E 80 0D 02 02 FA 00 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 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 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 00 00 AB [16:58:03]Write i2c OK [16:58:03]MH_I2C_Read... [16:58:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:58:03]Read from MH i2c: E2 [16:58:03]MH_I2C_Read... [16:58:03]Read from MH i2c: E2 03 00 [16:58:03]MH_I2C_Read... [16:58:03]Read from MH i2c: E2 03 00 E8 4E 00 90 00 AA [16:58:03]RAPDU: 90 00 [16:58:03]wFMCommunicate OK [16:58:03]wFMCommunicate request_size=255 [16:58:03]MH_SAM_APDU [16:58:03]CAPDU: 80 0D 02 02 FA 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 [16:58:03]Write to MH i2c: E2 02 01 E9 4E 80 0D 02 02 FA 00 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 00 25 [16:58:03]Write i2c OK [16:58:03]MH_I2C_Read... [16:58:03]OFD Sender: No OFD packet to send [16:58:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:58:03]Read from MH i2c: E2 [16:58:03]MH_I2C_Read... [16:58:03]Read from MH i2c: E2 03 00 [16:58:03]MH_I2C_Read... [16:58:03]Read from MH i2c: E2 03 00 E9 4E 00 90 00 AB [16:58:03]RAPDU: 90 00 [16:58:03]wFMCommunicate OK [16:58:03]wFMCommunicate request_size=175 [16:58:03]MH_SAM_APDU [16:58:03]CAPDU: 80 0D 02 02 AA BC 04 01 00 01 FC 03 06 00 F8 BA 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EC 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 09 2F 00 00 00 00 07 04 06 00 F8 BA 01 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 23 E5 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 18 0A 00 00 35 04 06 00 37 18 2C 78 B1 80 [16:58:03]Write to MH i2c: E2 B2 00 EA 4E 80 0D 02 02 AA 00 BC 04 01 00 01 FC 03 06 00 F8 BA 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EC 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 09 2F 00 00 00 00 07 04 06 00 F8 BA 01 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 23 E5 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 18 0A 00 00 35 04 06 00 37 18 2C 78 B1 80 00 00 98 [16:58:03]Write i2c OK [16:58:03]MH_I2C_Read... [16:58:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:58:03]Read from MH i2c: E2 [16:58:03]MH_I2C_Read... [16:58:03]Read from MH i2c: E2 03 00 [16:58:03]MH_I2C_Read... [16:58:03]Read from MH i2c: E2 03 00 EA 4E 00 90 00 AC [16:58:03]RAPDU: 90 00 [16:58:03]wFMCommunicate OK [16:58:03]wFMCommunicate request_size=4 [16:58:03]MH_SAM_APDU [16:58:03]CAPDU: 80 0D 03 02 [16:58:03]Write to MH i2c: E2 08 00 EB 4E 80 0D 03 02 00 00 00 00 B4 [16:58:03]Write i2c OK [16:58:03]MH_I2C_Read... [16:58:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:58:04]Read from MH i2c: E2 [16:58:04]MH_I2C_Read... [16:58:04]Read from MH i2c: E2 0B 00 [16:58:04]MH_I2C_Read... [16:58:04]Read from MH i2c: E2 0B 00 EB 4E 00 D2 A3 33 AE BC 93 B5 6D 90 00 7C [16:58:04]RAPDU: D2 A3 33 AE BC 93 B5 6D 90 00 [16:58:04]wFMCommunicate OK [16:58:04]SAM_PROTO_SignData done [16:58:04]FM_MakeSignedData done [16:58:04]CreateOFDProtocolMessage [16:58:04]wFMCommunicate request_size=4 [16:58:04]MH_SAM_APDU [16:58:04]CAPDU: 80 11 00 00 [16:58:04]Write to MH i2c: E2 08 00 EC 4E 80 11 00 00 00 00 00 00 B4 [16:58:04]Write i2c OK [16:58:04]MH_I2C_Read... [16:58:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:58:04]Read from MH i2c: E2 [16:58:04]MH_I2C_Read... [16:58:04]Read from MH i2c: E2 17 00 [16:58:04]MH_I2C_Read... [16:58:04]Read from MH i2c: E2 17 00 EC 4E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 FC [16:58:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:58:04]wFMCommunicate OK [16:58:04]CreateOFDProtocolMessage done [16:58:04]OFDSenderStorePacket 2584 [16:58:04]StoreOFDPacket docnum=2584 [16:58:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 A8 03 00 00 B5 6F A0 03 24 03 5A 03 01 00 03 00 94 03 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 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 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 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 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 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 F8 BA 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EC 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 09 2F 00 00 00 00 07 04 06 00 F8 BA 01 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 23 E5 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 18 0A 00 00 35 04 06 00 37 18 2C 78 B1 80 D2 A3 33 AE BC 93 B5 6D [16:58:04]CheckFolder [16:58:04]dirname=/storage/ofd_packets [16:58:04]CheckFolder done [16:58:04]ProducePacketName [16:58:04]name=ofd_packets/00002584 [16:58:04]NVStorageSaveData ofd_packets/00002584 [16:58:04]File name is /storage/ofd_packets/00002584 [16:58:04]Write 966 bytes [16:58:04]NVStorageSaveData done [16:58:04]OFDSenderStorePacket done [16:58:04]KKMCreateOFDPacket done [16:58:04]NVStorageSaveData kkm_last_timestamp [16:58:04]File name is /storage/kkm_last_timestamp [16:58:04]Write 4 bytes [16:58:04]NVStorageSaveData done [16:58:04]ExternCall_PrintAddStr [16:58:04]wPrintStart [16:58:04]Write to MH i2c: 01 00 00 ED 4E 3B [16:58:04]Write i2c OK [16:58:04]MH_I2C_Read... [16:58:04]Read from MH i2c: 01 [16:58:04]MH_I2C_Read... [16:58:04]OFD Sender: Processing packet 2584 [packets to send 1, broken 0] [16:58:04]ProducePacketName [16:58:04]name=ofd_packets/00002584 [16:58:04]OFD Sender: To server: pG, [16:58:04]CommunicateWithHost lk.salyk.kg:30040 [16:58:04]ConnectInit lk.salyk.kg [16:58:04]Read from MH i2c: 01 07 00 [16:58:04]MH_I2C_Read... [16:58:04]Read from MH i2c: 01 07 00 ED 4E 00 00 00 00 00 FF 0F 50 [16:58:04]RasterBufferAndPrint [16:58:04]line Счет N : (3)99962 [16:58:04]line ИНН: 02508201610067 [16:58:04]line Контрольно-Кассовый Чек [16:58:04]line ПРОДАЖА [16:58:04]line Товар: 4600682557456 [16:58:04]line Напиток FLash up energy эн ж/б 0,5/0,45л [16:58:04]line 1.000 * 69.00 [16:58:04]line = 69.00 [16:58:04]line НДС 12% НСП 1% [16:58:04]line > о реализуемом товаре [16:58:04]line Товар: 48743570 [16:58:04]line Сигареты Winston XStyle Blue [16:58:04]line 2.000 * 144.00 [16:58:04]line = 288.00 [16:58:04]line НДС 12% НСП 1% [16:58:04]line > о реализуемом товаре [16:58:04]line Товар: 4011100977952 [16:58:04]line Шок Батончик Твикс 55г [16:58:04]line 1.000 * 54.00 [16:58:04]line = 54.00 [16:58:04]line НДС 12% НСП 1% [16:58:04]line > о реализуемом товаре [16:58:04]line Товар: 48741415 [16:58:04]line Сигареты LD Super Slims Violet [16:58:04]line 2.000 * 134.00 [16:58:04]line = 268.00 [16:58:04]line НДС 12% НСП 1% [16:58:04]line > о реализуемом товаре [16:58:04]line Товар: 4620006996716 [16:58:04]line Водка Талка 0,1л [16:58:04]line 2.000 * 130.00 [16:58:04]line = 260.00 [16:58:04]line НДС 12% НСП 1% [16:58:04]line > о реализуемом товаре [16:58:04]line Товар: 4700002082931 [16:58:04]line Водка Хорошая 0,1л [16:58:04]line 1.000 * 70.00 [16:58:04]line = 70.00 [16:58:04]line НДС 12% НСП 1% [16:58:04]line > о реализуемом товаре [16:58:04]line Товар: 5449000006271 [16:58:04]line Напиток Фанта 1л [16:58:04]line 1.000 * 125.00 [16:58:04]line = 125.00 [16:58:04]line НДС 12% НСП 1% [16:58:04]line > о реализуемом товаре [16:58:04]line ИТОГО: 1134.00 [16:58:04]line НСП 1% : 10.04 [16:58:04]line НДС 12% : 120.41 [16:58:04]line Наличными: 1134.00 [16:58:04]line Безнал.: 0.00 [16:58:04]line Место: АЗС № 162 "Партнер Нефть" [16:58:04]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [16:58:04]line СНО: Общий режим [16:58:04]line Чек 45 19.10.2024 16:58 [16:58:04]line Смена: 23 ФФД: 1.0 [16:58:04]line ЗНМ: 0300000191 [16:58:04]line РНМ: 0000000000207295 [16:58:04]line Версия ККМ: v1.0 [16:58:04]line ФМ: 0000000002342820 [16:58:04]line ФД: 2584 [16:58:04]line ФПД: 60576964850048 [16:58:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T165811&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2584&fm=60576964850048&tin=02508201610067®Number=0000000000207295&sum=113400 [16:58:04]line 0 [16:58:04]written 0, free lines is 4095 [16:58:04]Connected sock=7 [16:58:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 A8 03 00 00 B5 6F A0 03 24 03 5A 03 01 00 03 00 94 03 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 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 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 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 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 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 F8 BA 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EC 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 09 2F 00 00 00 00 07 04 06 00 F8 BA 01 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 23 E5 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 18 0A 00 00 35 04 06 00 37 18 2C 78 B1 80 D2 A3 33 AE BC 93 B5 6D [16:58:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 8C B8 47 00 B0 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 32 33 34 32 38 32 30 10 04 04 00 18 0A 00 00 F4 03 04 00 85 90 13 67 B6 04 01 00 00 C2 6A 86 28 0C 6A 73 AB [16:58:04]CommunicateWithHost err = 0 [16:58:04]CheckOFDResponse [16:58:04]1017 (14) - 77093643461234 [16:58:04]1041 (16) - 0000000002342820 [16:58:04]1040 (4) - 2584 [16:58:04]1012 (4) - 19.10.2024 10:57 [16:58:04]1206 (1) - 0 [16:58:04]OFD Sender: Remove packet 2584 [16:58:04]ProducePacketName [16:58:04]name=ofd_packets/00002584 [16:58:04]NVStorageDeleteData [16:58:05]Write to MH i2c: 01 00 00 3B 4F 8A [16:58:05]Write i2c OK [16:58:05]MH_I2C_Read... [16:58:05]Read from MH i2c: 01 [16:58:05]MH_I2C_Read... [16:58:05]Read from MH i2c: 01 07 00 [16:58:05]MH_I2C_Read... [16:58:05]Read from MH i2c: 01 07 00 3B 4F 00 00 00 00 00 46 0A E1 [16:58:05]RasterBufferAndPrint [16:58:05]line [16:58:05]line [16:58:05]line [16:58:05]line [16:58:05]line [16:58:05]written 0, free lines is 2643 [16:58:05]MH_Cut [16:58:05]Write to MH i2c: D1 01 00 42 4F 01 63 [16:58:05]Write i2c OK [16:58:05]MH_I2C_Read... [16:58:05]Read from MH i2c: D1 [16:58:05]MH_I2C_Read... [16:58:05]Read from MH i2c: D1 01 00 [16:58:05]MH_I2C_Read... [16:58:05]Read from MH i2c: D1 01 00 42 4F 00 62 [16:58:05]Write to MH i2c: 01 00 00 43 4F 92 [16:58:05]Write i2c OK [16:58:05]MH_I2C_Read... [16:58:05]OFD Sender: No OFD packet to send [16:58:06]*** Cut start [16:58:06]*** Partial cut [16:58:06]*** CUTSNS_PIN = 1 [16:58:06]*** CUTSNS_PIN = 0 [16:58:06]*** Brake cut motor [16:58:07]Read from MH i2c: 01 [16:58:07]MH_I2C_Read... [16:58:07]*** Stop cut motor [16:58:07]*** Cut end [16:58:07]Read from MH i2c: 01 07 00 [16:58:07]MH_I2C_Read... [16:58:07]Read from MH i2c: 01 07 00 43 4F 00 00 00 00 00 FF 0F A7 [16:58:07]process_action close_receipt done [16:58:07]requested_data is exist [16:58:07]produce_requested_data [16:58:07]requested_item fm.sn is exist - process it [16:58:07]wFMCommunicate request_size=4 [16:58:07]MH_SAM_APDU [16:58:07]CAPDU: 80 11 00 00 [16:58:07]Write to MH i2c: E2 08 00 44 4F 80 11 00 00 00 00 00 00 0D [16:58:07]Write i2c OK [16:58:07]MH_I2C_Read... [16:58:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:58:07]Read from MH i2c: E2 [16:58:07]MH_I2C_Read... [16:58:07]Read from MH i2c: E2 17 00 [16:58:07]MH_I2C_Read... [16:58:07]Read from MH i2c: E2 17 00 44 4F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 55 [16:58:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [16:58:07]wFMCommunicate OK [16:58:07]requested_item fd.num is exist - process it [16:58:07]SAM_PROTO_GetFieldsCounters [16:58:07]wFMCommunicate request_size=4 [16:58:07]MH_SAM_APDU [16:58:07]CAPDU: 80 13 00 00 [16:58:07]Write to MH i2c: E2 08 00 45 4F 80 13 00 00 00 00 00 00 10 [16:58:07]Write i2c OK [16:58:07]MH_I2C_Read... [16:58:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:58:07]Read from MH i2c: E2 [16:58:07]MH_I2C_Read... [16:58:07]Read from MH i2c: E2 62 00 [16:58:07]MH_I2C_Read... [16:58:07]Read from MH i2c: E2 62 00 45 4F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 18 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 E6 [16:58:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 18 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:58:07]wFMCommunicate OK [16:58:07]SAM_PROTO_GetFieldsCounters done [16:58:07]requested_item shift.num is exist - process it [16:58:07]requested_item shift.opened is exist - process it [16:58:07]req_shift_opened [16:58:07]FM_GetShiftState [16:58:07]SAM_PROTO_GetShiftState [16:58:07]wFMCommunicate request_size=4 [16:58:07]MH_SAM_APDU [16:58:07]CAPDU: 80 13 01 00 [16:58:07]Write to MH i2c: E2 08 00 46 4F 80 13 01 00 00 00 00 00 12 [16:58:07]Write i2c OK [16:58:07]MH_I2C_Read... [16:58:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:58:07]Read from MH i2c: E2 [16:58:07]MH_I2C_Read... [16:58:07]Read from MH i2c: E2 0E 00 [16:58:07]MH_I2C_Read... [16:58:07]Read from MH i2c: E2 0E 00 46 4F 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 BB [16:58:07]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [16:58:07]wFMCommunicate OK [16:58:07]SAM_PROTO_GetShiftState done [16:58:07]FM_GetShiftState done [16:58:07]req_shift_opened done [16:58:07]requested_item shift.open_date is exist - process it [16:58:07]req_shift_open_date [16:58:07]req_shift_open_date done [16:58:07]produce_requested_data done [16:58:07]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2584,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [16:58:07]process_action_free close_receipt [16:58:07]json_value_free [16:58:07]json_value_free done [16:58:07]process_json_proto returns [16:58:07]Send response to host [16:58:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2584,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [16:58:07]free response buf [16:58:07]execute_script done [16:58:07]execute_script returns [16:58:07]free content buf [16:58:07]Sock 9.Close socket [16:58:07]Sock 9.Thread stoped [16:58:10]OFD Sender: No OFD packet to send [16:58:15]OFD Sender: No OFD packet to send [16:58:20]OFD Sender: No OFD packet to send [16:58:25]OFD Sender: No OFD packet to send [16:58:30]OFD Sender: No OFD packet to send [16:58:35]OFD Sender: No OFD packet to send [16:58:40]OFD Sender: No OFD packet to send [16:58:45]OFD Sender: No OFD packet to send [16:58:50]OFD Sender: No OFD packet to send [16:58:55]OFD Sender: No OFD packet to send [16:59:00]OFD Sender: No OFD packet to send [16:59:05]OFD Sender: No OFD packet to send [16:59:10]OFD Sender: No OFD packet to send [16:59:15]OFD Sender: No OFD packet to send [16:59:20]OFD Sender: No OFD packet to send [16:59:25]OFD Sender: No OFD packet to send [16:59:30]OFD Sender: No OFD packet to send [16:59:35]OFD Sender: No OFD packet to send [16:59:40]OFD Sender: No OFD packet to send [16:59:45]OFD Sender: No OFD packet to send [16:59:50]OFD Sender: No OFD packet to send [16:59:55]OFD Sender: No OFD packet to send [17:00:00]OFD Sender: No OFD packet to send [17:00:05]OFD Sender: No OFD packet to send [17:00:10]OFD Sender: No OFD packet to send [17:00:15]OFD Sender: No OFD packet to send [17:00:20]OFD Sender: No OFD packet to send [17:00:25]OFD Sender: No OFD packet to send [17:00:30]OFD Sender: No OFD packet to send [17:00:35]OFD Sender: No OFD packet to send [17:00:40]OFD Sender: No OFD packet to send [17:00:45]OFD Sender: No OFD packet to send [17:00:50]OFD Sender: No OFD packet to send [17:00:55]OFD Sender: No OFD packet to send [17:01:00]OFD Sender: No OFD packet to send [17:01:05]OFD Sender: No OFD packet to send [17:01:10]OFD Sender: No OFD packet to send [17:01:15]OFD Sender: No OFD packet to send [17:01:20]OFD Sender: No OFD packet to send [17:01:25]OFD Sender: No OFD packet to send [17:01:30]OFD Sender: No OFD packet to send [17:01:35]OFD Sender: No OFD packet to send [17:01:40]OFD Sender: No OFD packet to send [17:01:45]OFD Sender: No OFD packet to send [17:01:50]OFD Sender: No OFD packet to send [17:01:55]OFD Sender: No OFD packet to send [17:02:00]OFD Sender: No OFD packet to send [17:02:05]OFD Sender: No OFD packet to send [17:02:10]OFD Sender: No OFD packet to send [17:02:15]OFD Sender: No OFD packet to send [17:02:20]OFD Sender: No OFD packet to send [17:02:25]OFD Sender: No OFD packet to send [17:02:30]OFD Sender: No OFD packet to send [17:02:35]OFD Sender: No OFD packet to send [17:02:40]OFD Sender: No OFD packet to send [17:02:45]OFD Sender: No OFD packet to send [17:02:50]OFD Sender: No OFD packet to send [17:02:55]OFD Sender: No OFD packet to send [17:03:00]OFD Sender: No OFD packet to send [17:03:05]OFD Sender: No OFD packet to send [17:03:10]OFD Sender: No OFD packet to send [17:03:15]OFD Sender: No OFD packet to send [17:03:20]OFD Sender: No OFD packet to send [17:03:25]OFD Sender: No OFD packet to send [17:03:30]OFD Sender: No OFD packet to send [17:03:35]OFD Sender: No OFD packet to send [17:03:40]OFD Sender: No OFD packet to send [17:03:45]OFD Sender: No OFD packet to send [17:03:50]OFD Sender: No OFD packet to send [17:03:55]OFD Sender: No OFD packet to send [17:04:00]OFD Sender: No OFD packet to send [17:04:05]OFD Sender: No OFD packet to send [17:04:10]OFD Sender: No OFD packet to send [17:04:15]OFD Sender: No OFD packet to send [17:04:20]OFD Sender: No OFD packet to send [17:04:25]OFD Sender: No OFD packet to send [17:04:30]OFD Sender: No OFD packet to send [17:04:35]OFD Sender: No OFD packet to send [17:04:40]OFD Sender: No OFD packet to send [17:04:45]OFD Sender: No OFD packet to send [17:04:50]OFD Sender: No OFD packet to send [17:04:55]OFD Sender: No OFD packet to send [17:05:00]OFD Sender: No OFD packet to send [17:05:05]OFD Sender: No OFD packet to send [17:05:10]OFD Sender: No OFD packet to send [17:05:15]OFD Sender: No OFD packet to send [17:05:20]OFD Sender: No OFD packet to send [17:05:25]OFD Sender: No OFD packet to send [17:05:30]OFD Sender: No OFD packet to send [17:05:35]OFD Sender: No OFD packet to send [17:05:40]OFD Sender: No OFD packet to send [17:05:45]OFD Sender: No OFD packet to send [17:05:50]OFD Sender: No OFD packet to send [17:05:55]OFD Sender: No OFD packet to send [17:06:00]OFD Sender: No OFD packet to send [17:06:05]OFD Sender: No OFD packet to send [17:06:10]OFD Sender: No OFD packet to send [17:06:15]OFD Sender: No OFD packet to send [17:06:20]OFD Sender: No OFD packet to send [17:06:25]OFD Sender: No OFD packet to send [17:06:30]OFD Sender: No OFD packet to send [17:06:35]OFD Sender: No OFD packet to send [17:06:40]OFD Sender: No OFD packet to send [17:06:45]OFD Sender: No OFD packet to send [17:06:50]OFD Sender: No OFD packet to send [17:06:55]OFD Sender: No OFD packet to send [17:07:00]OFD Sender: No OFD packet to send [17:07:05]OFD Sender: No OFD packet to send [17:07:10]OFD Sender: No OFD packet to send [17:07:15]OFD Sender: No OFD packet to send [17:07:20]OFD Sender: No OFD packet to send [17:07:25]OFD Sender: No OFD packet to send [17:07:30]OFD Sender: No OFD packet to send [17:07:35]OFD Sender: No OFD packet to send [17:07:40]OFD Sender: No OFD packet to send [17:07:45]OFD Sender: No OFD packet to send [17:07:50]OFD Sender: No OFD packet to send [17:07:55]OFD Sender: No OFD packet to send [17:08:00]OFD Sender: No OFD packet to send [17:08:05]OFD Sender: No OFD packet to send [17:08:10]OFD Sender: No OFD packet to send [17:08:15]OFD Sender: No OFD packet to send [17:08:20]OFD Sender: No OFD packet to send [17:08:25]OFD Sender: No OFD packet to send [17:08:30]OFD Sender: No OFD packet to send [17:08:35]OFD Sender: No OFD packet to send [17:08:40]OFD Sender: No OFD packet to send [17:08:45]OFD Sender: No OFD packet to send [17:08:50]OFD Sender: No OFD packet to send [17:08:55]OFD Sender: No OFD packet to send [17:09:00]OFD Sender: No OFD packet to send [17:09:05]OFD Sender: No OFD packet to send [17:09:10]OFD Sender: No OFD packet to send [17:09:15]OFD Sender: No OFD packet to send [17:09:20]OFD Sender: No OFD packet to send [17:09:25]OFD Sender: No OFD packet to send [17:09:30]OFD Sender: No OFD packet to send [17:09:35]OFD Sender: No OFD packet to send [17:09:40]OFD Sender: No OFD packet to send [17:09:45]OFD Sender: No OFD packet to send [17:09:50]OFD Sender: No OFD packet to send [17:09:55]OFD Sender: No OFD packet to send [17:10:00]OFD Sender: No OFD packet to send [17:10:05]OFD Sender: No OFD packet to send [17:10:10]OFD Sender: No OFD packet to send [17:10:15]OFD Sender: No OFD packet to send [17:10:20]OFD Sender: No OFD packet to send [17:10:25]OFD Sender: No OFD packet to send [17:10:30]OFD Sender: No OFD packet to send [17:10:35]OFD Sender: No OFD packet to send [17:10:40]OFD Sender: No OFD packet to send [17:10:45]OFD Sender: No OFD packet to send [17:10:50]OFD Sender: No OFD packet to send [17:10:56]OFD Sender: No OFD packet to send [17:11:01]OFD Sender: No OFD packet to send [17:11:06]OFD Sender: No OFD packet to send [17:11:11]OFD Sender: No OFD packet to send [17:11:16]OFD Sender: No OFD packet to send [17:11:21]OFD Sender: No OFD packet to send [17:11:26]OFD Sender: No OFD packet to send [17:11:31]OFD Sender: No OFD packet to send [17:11:36]OFD Sender: No OFD packet to send [17:11:41]OFD Sender: No OFD packet to send [17:11:46]OFD Sender: No OFD packet to send [17:11:51]OFD Sender: No OFD packet to send [17:11:56]OFD Sender: No OFD packet to send [17:12:01]OFD Sender: No OFD packet to send [17:12:06]OFD Sender: No OFD packet to send [17:12:11]OFD Sender: No OFD packet to send [17:12:16]OFD Sender: No OFD packet to send [17:12:21]OFD Sender: No OFD packet to send [17:12:26]OFD Sender: No OFD packet to send [17:12:31]OFD Sender: No OFD packet to send [17:12:36]OFD Sender: No OFD packet to send [17:12:41]OFD Sender: No OFD packet to send [17:12:46]OFD Sender: No OFD packet to send [17:12:51]OFD Sender: No OFD packet to send [17:12:56]OFD Sender: No OFD packet to send [17:13:01]OFD Sender: No OFD packet to send [17:13:06]OFD Sender: No OFD packet to send [17:13:11]OFD Sender: No OFD packet to send [17:13:16]OFD Sender: No OFD packet to send [17:13:21]OFD Sender: No OFD packet to send [17:13:26]OFD Sender: No OFD packet to send [17:13:31]OFD Sender: No OFD packet to send [17:13:36]OFD Sender: No OFD packet to send [17:13:41]OFD Sender: No OFD packet to send [17:13:46]OFD Sender: No OFD packet to send [17:13:51]OFD Sender: No OFD packet to send [17:13:56]OFD Sender: No OFD packet to send [17:14:01]OFD Sender: No OFD packet to send [17:14:06]OFD Sender: No OFD packet to send [17:14:11]OFD Sender: No OFD packet to send [17:14:16]OFD Sender: No OFD packet to send [17:14:21]OFD Sender: No OFD packet to send [17:14:26]OFD Sender: No OFD packet to send [17:14:31]OFD Sender: No OFD packet to send [17:14:36]OFD Sender: No OFD packet to send [17:14:41]OFD Sender: No OFD packet to send [17:14:46]OFD Sender: No OFD packet to send [17:14:51]OFD Sender: No OFD packet to send [17:14:56]OFD Sender: No OFD packet to send [17:15:01]OFD Sender: No OFD packet to send [17:15:06]OFD Sender: No OFD packet to send [17:15:11]OFD Sender: No OFD packet to send [17:15:16]OFD Sender: No OFD packet to send [17:15:21]OFD Sender: No OFD packet to send [17:15:26]OFD Sender: No OFD packet to send [17:15:31]OFD Sender: No OFD packet to send [17:15:36]OFD Sender: No OFD packet to send [17:15:41]OFD Sender: No OFD packet to send [17:15:46]OFD Sender: No OFD packet to send [17:15:51]OFD Sender: No OFD packet to send [17:15:56]OFD Sender: No OFD packet to send [17:16:01]OFD Sender: No OFD packet to send [17:16:06]OFD Sender: No OFD packet to send [17:16:11]OFD Sender: No OFD packet to send [17:16:16]OFD Sender: No OFD packet to send [17:16:21]OFD Sender: No OFD packet to send [17:16:26]OFD Sender: No OFD packet to send [17:16:31]OFD Sender: No OFD packet to send [17:16:36]OFD Sender: No OFD packet to send [17:16:41]OFD Sender: No OFD packet to send [17:16:46]OFD Sender: No OFD packet to send [17:16:51]OFD Sender: No OFD packet to send [17:16:56]OFD Sender: No OFD packet to send [17:17:01]OFD Sender: No OFD packet to send [17:17:06]OFD Sender: No OFD packet to send [17:17:11]OFD Sender: No OFD packet to send [17:17:16]OFD Sender: No OFD packet to send [17:17:21]OFD Sender: No OFD packet to send [17:17:26]OFD Sender: No OFD packet to send [17:17:31]OFD Sender: No OFD packet to send [17:17:36]OFD Sender: No OFD packet to send [17:17:41]OFD Sender: No OFD packet to send [17:17:46]OFD Sender: No OFD packet to send [17:17:51]OFD Sender: No OFD packet to send [17:17:56]OFD Sender: No OFD packet to send [17:18:01]OFD Sender: No OFD packet to send [17:18:06]OFD Sender: No OFD packet to send [17:18:11]OFD Sender: No OFD packet to send [17:18:16]OFD Sender: No OFD packet to send [17:18:21]OFD Sender: No OFD packet to send [17:18:26]OFD Sender: No OFD packet to send [17:18:31]OFD Sender: No OFD packet to send [17:18:36]OFD Sender: No OFD packet to send [17:18:41]OFD Sender: No OFD packet to send [17:18:46]OFD Sender: No OFD packet to send [17:18:51]OFD Sender: No OFD packet to send [17:18:56]OFD Sender: No OFD packet to send [17:19:01]OFD Sender: No OFD packet to send [17:19:06]OFD Sender: No OFD packet to send [17:19:11]OFD Sender: No OFD packet to send [17:19:16]OFD Sender: No OFD packet to send [17:19:21]OFD Sender: No OFD packet to send [17:19:26]OFD Sender: No OFD packet to send [17:19:31]OFD Sender: No OFD packet to send [17:19:36]OFD Sender: No OFD packet to send [17:19:41]OFD Sender: No OFD packet to send [17:19:46]OFD Sender: No OFD packet to send [17:19:51]OFD Sender: No OFD packet to send [17:19:56]OFD Sender: No OFD packet to send [17:20:01]OFD Sender: No OFD packet to send [17:20:06]OFD Sender: No OFD packet to send [17:20:11]OFD Sender: No OFD packet to send [17:20:16]OFD Sender: No OFD packet to send [17:20:21]OFD Sender: No OFD packet to send [17:20:26]OFD Sender: No OFD packet to send [17:20:31]OFD Sender: No OFD packet to send [17:20:36]OFD Sender: No OFD packet to send [17:20:41]OFD Sender: No OFD packet to send [17:20:46]OFD Sender: No OFD packet to send [17:20:51]OFD Sender: No OFD packet to send [17:20:56]OFD Sender: No OFD packet to send [17:21:01]OFD Sender: No OFD packet to send [17:21:06]OFD Sender: No OFD packet to send [17:21:11]OFD Sender: No OFD packet to send [17:21:16]OFD Sender: No OFD packet to send [17:21:21]OFD Sender: No OFD packet to send [17:21:26]OFD Sender: No OFD packet to send [17:21:31]OFD Sender: No OFD packet to send [17:21:36]OFD Sender: No OFD packet to send [17:21:41]OFD Sender: No OFD packet to send [17:21:46]OFD Sender: No OFD packet to send [17:21:51]OFD Sender: No OFD packet to send [17:21:56]OFD Sender: No OFD packet to send [17:22:01]OFD Sender: No OFD packet to send [17:22:06]OFD Sender: No OFD packet to send [17:22:11]OFD Sender: No OFD packet to send [17:22:16]OFD Sender: No OFD packet to send [17:22:21]OFD Sender: No OFD packet to send [17:22:26]OFD Sender: No OFD packet to send [17:22:31]OFD Sender: No OFD packet to send [17:22:36]OFD Sender: No OFD packet to send [17:22:41]OFD Sender: No OFD packet to send [17:22:46]OFD Sender: No OFD packet to send [17:22:51]OFD Sender: No OFD packet to send [17:22:56]OFD Sender: No OFD packet to send [17:23:01]OFD Sender: No OFD packet to send [17:23:06]OFD Sender: No OFD packet to send [17:23:11]OFD Sender: No OFD packet to send [17:23:16]OFD Sender: No OFD packet to send [17:23:21]OFD Sender: No OFD packet to send [17:23:26]OFD Sender: No OFD packet to send [17:23:31]OFD Sender: No OFD packet to send [17:23:31]accept exits with 10 [17:23:31]New connection [17:23:31]New thread 3066707300 created [17:23:31]Thread 3066850660 joined [17:23:31]Waiting for new connection... [17:23:31] Sock 10.Parse request [17:23:31]Sock 10.Check first char [17:23:31]Sock 10.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.52.132:8080 [17:23:31]Content-Length: 747 [17:23:31]Content-Type: application/json [17:23:31] [17:23:31]POST finish read [17:23:31]Found Content-Length = 747 [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)99963", "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: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)99963", "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: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 47 4F 85 [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 47 4F 00 1E EB 13 67 5A BE F6 66 85 [17:23:31]GetLastDocTimeStamp 1729357091 [17:23:31]current date 1729358622 [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 48 4F 80 13 01 00 00 00 00 00 14 [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 48 4F 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 BD [17:23:31]RAPDU: 09 00 01 2D F7 12 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 1729296173 [17:23:31]opened+sec_in_day 1729382573 [17:23:31]quantity*price = 14400 [17:23:31]sum+1 = 14401 [17:23:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 46 19.10.2024 17:23 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2585 ФПД: 253197190148545 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T172342&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2585&fm=253197190148545&tin=02508201610067®Number=0000000000207295&sum=14400 0 [17:23:33]StoreToDocumentArchive [17:23:33]shift 23 fd 2585 [17:23:33]save to /storage/0023/doc_00002585 [17:23:33]save last doc name /storage/0023/doc_00002585 to /storage/kkm_last_doc_name [17:23:33]save OK [17:23:33]Clear old archive folders... [17:23:33]ProcessDocumentItem done err = 0, tmpTLVsize=273 [17:23:33]tlvbuf is 0149D220 [17:23:33]SAM_PROTO_ClearQueue [17:23:33]wFMCommunicate request_size=4 [17:23:33]MH_SAM_APDU [17:23:33]CAPDU: 80 09 00 00 [17:23:33]Write to MH i2c: E2 08 00 55 4F 80 09 00 00 00 00 00 00 16 [17:23:33]Write i2c OK [17:23:33]MH_I2C_Read... [17:23:33]*** iso7816_exchange 80 09 00 00... 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 55 4F 00 90 00 18 [17:23:33]RAPDU: 90 00 [17:23:33]wFMCommunicate OK [17:23:33]SAM_PROTO_ClearQueue done [17:23:33]KKMCreateOFDPacket [17:23:33]OFDProtocolAddRootSTLVToBuf [17:23:33]FM_MakeSignedData [17:23:33]FM_MakeSignedData [17:23:33]SAM_PROTO_SignData [17:23:33]wFMCommunicate request_size=4 [17:23:33]MH_SAM_APDU [17:23:33]CAPDU: 80 0D 01 02 [17:23:33]Write to MH i2c: E2 08 00 56 4F 80 0D 01 02 00 00 00 00 1E [17:23:33]Write i2c OK [17:23:33]MH_I2C_Read... [17:23:33]*** iso7816_exchange 80 0D 01 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 56 4F 00 90 00 19 [17:23:33]RAPDU: 90 00 [17:23:33]wFMCommunicate OK [17:23:33]wFMCommunicate request_size=255 [17:23:33]MH_SAM_APDU [17:23:33]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 2E 00 00 00 F4 03 04 00 1E EB 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 [17:23:33]Write to MH i2c: E2 02 01 57 4F 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 2E 00 00 00 F4 03 04 00 1E EB 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 00 00 50 [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 57 4F 00 90 00 1A [17:23:33]RAPDU: 90 00 [17:23:33]wFMCommunicate OK [17:23:33]wFMCommunicate request_size=32 [17:23:33]MH_SAM_APDU [17:23:33]CAPDU: 80 0D 02 02 1B 30 30 32 33 34 32 38 32 30 10 04 04 00 19 0A 00 00 35 04 06 00 E6 48 10 93 B1 C1 [17:23:33]Write to MH i2c: E2 23 00 58 4F 80 0D 02 02 1B 00 30 30 32 33 34 32 38 32 30 10 04 04 00 19 0A 00 00 35 04 06 00 E6 48 10 93 B1 C1 00 00 D9 [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 58 4F 00 90 00 1B [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 59 4F 80 0D 03 02 00 00 00 00 23 [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 59 4F 00 B0 1B CD 01 F0 DA FC 7A 90 00 FD [17:23:33]RAPDU: B0 1B CD 01 F0 DA FC 7A 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 5A 4F 80 11 00 00 00 00 00 00 23 [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 5A 4F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 6B [17:23:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [17:23:33]wFMCommunicate OK [17:23:33]CreateOFDProtocolMessage done [17:23:33]OFDSenderStorePacket 2585 [17:23:33]StoreOFDPacket docnum=2585 [17:23:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 A5 99 1D 01 72 D7 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 2E 00 00 00 F4 03 04 00 1E EB 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 19 0A 00 00 35 04 06 00 E6 48 10 93 B1 C1 B0 1B CD 01 F0 DA FC 7A [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/00002585 [17:23:33]NVStorageSaveData ofd_packets/00002585 [17:23:33]File name is /storage/ofd_packets/00002585 [17:23:33]Write 323 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 5B 4F AA [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 5B 4F 00 00 00 00 00 FF 0F BF [17:23:33]RasterBufferAndPrint [17:23:33]line Счет N : (3)99963 [17:23:33]line ИНН: 02508201610067 [17:23:33]line Контрольно-Кассовый Чек [17:23:33]line ПРОДАЖА [17:23:33]line Товар: 48743570 [17:23:33]line Сигареты Winston XStyle Blue [17:23:33]line 1.000 * 144.00 [17:23:33]line = 144.00 [17:23:33]line НДС 12% НСП 1% [17:23:33]line > о реализуемом товаре [17:23:33]line ИТОГО: 144.00 [17:23:33]line НСП 1% : 1.27 [17:23:33]line НДС 12% : 15.29 [17:23:33]line Наличными: 0.00 [17:23:33]line Безнал.: 144.00 [17:23:33]line Место: АЗС № 162 "Партнер Нефть" [17:23:33]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [17:23:33]line СНО: Общий режим [17:23:33]line Чек 46 19.10.2024 17:23 [17:23:33]line Смена: 23 ФФД: 1.0 [17:23:33]line ЗНМ: 0300000191 [17:23:33]line РНМ: 0000000000207295 [17:23:33]line Версия ККМ: v1.0 [17:23:33]line Платежная система: Mbank [17:23:33]line ФМ: 0000000002342820 [17:23:33]line ФД: 2585 [17:23:33]line ФПД: 253197190148545 [17:23:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T172342&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2585&fm=253197190148545&tin=02508201610067®Number=0000000000207295&sum=14400 [17:23:33]line 0 [17:23:33]OFD Sender: Processing packet 2585 [packets to send 1, broken 0] [17:23:33]ProducePacketName [17:23:33]name=ofd_packets/00002585 [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]written 0, free lines is 4095 [17:23:34]Connected sock=9 [17:23:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 A5 99 1D 01 72 D7 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 2E 00 00 00 F4 03 04 00 1E EB 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 19 0A 00 00 35 04 06 00 E6 48 10 93 B1 C1 B0 1B CD 01 F0 DA FC 7A [17:23:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 31 36 47 00 CC 2D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 19 0A 00 00 F4 03 04 00 7E 96 13 67 B6 04 01 00 00 53 A6 E9 1A F3 4C BA A6 [17:23:34]CommunicateWithHost err = 0 [17:23:34]CheckOFDResponse [17:23:34]1017 (14) - 77093643461234 [17:23:34]1041 (16) - 0000000002342820 [17:23:34]1040 (4) - 2585 [17:23:34]1012 (4) - 19.10.2024 11:22 [17:23:34]1206 (1) - 0 [17:23:34]OFD Sender: Remove packet 2585 [17:23:34]ProducePacketName [17:23:34]name=ofd_packets/00002585 [17:23:34]NVStorageDeleteData [17:23:34]Write to MH i2c: 01 00 00 84 4F D3 [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 84 4F 00 00 00 00 00 C7 0C AD [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 3277 [17:23:34]MH_Cut [17:23:34]Write to MH i2c: D1 01 00 8B 4F 01 AC [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 8B 4F 00 AB [17:23:34]Write to MH i2c: 01 00 00 8C 4F DB [17:23:34]Write i2c OK [17:23:34]MH_I2C_Read... [17:23:34]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 8C 4F 00 00 00 00 00 FF 0F F0 [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 8D 4F 80 11 00 00 00 00 00 00 56 [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 8D 4F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 9E [17:23:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 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 8E 4F 80 13 00 00 00 00 00 00 59 [17:23:35]Write i2c OK [17:23:35]MH_I2C_Read... [17:23:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:23:36]Read from MH i2c: E2 [17:23:36]MH_I2C_Read... [17:23:36]Read from MH i2c: E2 62 00 [17:23:36]MH_I2C_Read... [17:23:36]Read from MH i2c: E2 62 00 8E 4F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 19 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 33 [17:23:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 19 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:23:36]wFMCommunicate OK [17:23:36]SAM_PROTO_GetFieldsCounters done [17:23:36]requested_item shift.num is exist - process it [17:23:36]requested_item shift.opened is exist - process it [17:23:36]req_shift_opened [17:23:36]FM_GetShiftState [17:23:36]SAM_PROTO_GetShiftState [17:23:36]wFMCommunicate request_size=4 [17:23:36]MH_SAM_APDU [17:23:36]CAPDU: 80 13 01 00 [17:23:36]Write to MH i2c: E2 08 00 8F 4F 80 13 01 00 00 00 00 00 5B [17:23:36]Write i2c OK [17:23:36]MH_I2C_Read... [17:23:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:23:36]Read from MH i2c: E2 [17:23:36]MH_I2C_Read... [17:23:36]Read from MH i2c: E2 0E 00 [17:23:36]MH_I2C_Read... [17:23:36]Read from MH i2c: E2 0E 00 8F 4F 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 04 [17:23:36]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [17:23:36]wFMCommunicate OK [17:23:36]SAM_PROTO_GetShiftState done [17:23:36]FM_GetShiftState done [17:23:36]req_shift_opened done [17:23:36]requested_item shift.open_date is exist - process it [17:23:36]req_shift_open_date [17:23:36]req_shift_open_date done [17:23:36]produce_requested_data done [17:23:36]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2585,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [17:23:36]process_action_free close_receipt [17:23:36]json_value_free [17:23:36]json_value_free done [17:23:36]process_json_proto returns [17:23:36]Send response to host [17:23:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2585,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [17:23:36]free response buf [17:23:36]execute_script done [17:23:36]execute_script returns [17:23:36]free content buf [17:23:36]Sock 10.Close socket [17:23:36]Sock 10.Thread stoped [17:23:39]OFD Sender: No OFD packet to send [17:23:44]OFD Sender: No OFD packet to send [17:23:49]OFD Sender: No OFD packet to send [17:23:54]OFD Sender: No OFD packet to send [17:23:59]OFD Sender: No OFD packet to send [17:24:04]OFD Sender: No OFD packet to send [17:24:09]OFD Sender: No OFD packet to send [17:24:14]OFD Sender: No OFD packet to send [17:24:19]OFD Sender: No OFD packet to send [17:24:24]OFD Sender: No OFD packet to send [17:24:29]OFD Sender: No OFD packet to send [17:24:34]OFD Sender: No OFD packet to send [17:24:39]OFD Sender: No OFD packet to send [17:24:44]OFD Sender: No OFD packet to send [17:24:49]OFD Sender: No OFD packet to send [17:24:54]OFD Sender: No OFD packet to send [17:24:59]OFD Sender: No OFD packet to send [17:25:04]OFD Sender: No OFD packet to send [17:25:09]OFD Sender: No OFD packet to send [17:25:14]OFD Sender: No OFD packet to send [17:25:19]OFD Sender: No OFD packet to send [17:25:24]OFD Sender: No OFD packet to send [17:25:29]OFD Sender: No OFD packet to send [17:25:34]OFD Sender: No OFD packet to send [17:25:39]OFD Sender: No OFD packet to send [17:25:44]OFD Sender: No OFD packet to send [17:25:49]OFD Sender: No OFD packet to send [17:25:54]OFD Sender: No OFD packet to send [17:25:59]OFD Sender: No OFD packet to send [17:26:04]OFD Sender: No OFD packet to send [17:26:09]OFD Sender: No OFD packet to send [17:26:14]OFD Sender: No OFD packet to send [17:26:19]OFD Sender: No OFD packet to send [17:26:24]OFD Sender: No OFD packet to send [17:26:29]OFD Sender: No OFD packet to send [17:26:34]OFD Sender: No OFD packet to send [17:26:39]OFD Sender: No OFD packet to send [17:26:41]accept exits with 7 [17:26:41]New connection [17:26:41]New thread 3066850660 created [17:26:41]Thread 3066707300 joined [17:26:41]Waiting for new connection... [17:26:41] Sock 7.Parse request [17:26:41]Sock 7.Check first char [17:26:41]Sock 7.First char is OK [17:26:41]request: POST /json_proto HTTP/1.0 [17:26:41]Method: POST [17:26:41]URL: /json_proto [17:26:41]Method is POST - this is cgi request [17:26:41]url: /json_proto [17:26:41]query_string will be loaded in cgi processing [17:26:41]execute_cgi json_proto POST (null) [17:26:41]execute_cgi path=json_proto method=POST [17:26:41]POST find Content-Length [17:26:41]Host: 172.17.52.132:8080 [17:26:41]Content-Length: 959 [17:26:41]Content-Type: application/json [17:26:41] [17:26:41]POST finish read [17:26:41]Found Content-Length = 959 [17:26:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99964", "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 }]} ,{ "code": "48745291", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament SOHO NYC COMPACT BLU", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 243.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:26:41]execute_script... [17:26: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)99964", "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 }]} ,{ "code": "48745291", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament SOHO NYC COMPACT BLU", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 243.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:26:41]POST & json_proto [17:26:41]process_json_proto [17:26:41]json parsed OK: [17:26:41]protocol is kg_v1.0 [17:26:41]action value=close_receipt [17:26:41]process_action close_receipt [17:26:41]cmd_close_receipt [17:26:41]MH_GetDate [17:26:41]Write to MH i2c: F0 00 00 90 4F CE [17:26:41]Write i2c OK [17:26:41]MH_I2C_Read... [17:26:41]Read from MH i2c: F0 [17:26:41]MH_I2C_Read... [17:26:41]Read from MH i2c: F0 09 00 [17:26:41]MH_I2C_Read... [17:26:41]Read from MH i2c: F0 09 00 90 4F 00 DC EB 13 67 5A BE F6 66 8C [17:26:41]GetLastDocTimeStamp 1729358622 [17:26:41]current date 1729358812 [17:26:41]FM_GetShiftState [17:26:41]SAM_PROTO_GetShiftState [17:26:41]wFMCommunicate request_size=4 [17:26:41]MH_SAM_APDU [17:26:41]CAPDU: 80 13 01 00 [17:26:41]Write to MH i2c: E2 08 00 91 4F 80 13 01 00 00 00 00 00 5D [17:26:41]Write i2c OK [17:26:41]MH_I2C_Read... [17:26:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:26:41]Read from MH i2c: E2 [17:26:41]MH_I2C_Read... [17:26:41]Read from MH i2c: E2 0E 00 [17:26:41]MH_I2C_Read... [17:26:41]Read from MH i2c: E2 0E 00 91 4F 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 06 [17:26:41]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [17:26:41]wFMCommunicate OK [17:26:41]SAM_PROTO_GetShiftState done [17:26:41]FM_GetShiftState done [17:26:41]opened in 1729296173 [17:26:41]opened+sec_in_day 1729382573 [17:26:41]quantity*price = 10400 [17:26:41]sum+1 = 10401 [17:26:41]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48745291 Сигареты Parliament SOHO NYC COMPACT BLU 1.000 * 139.00 = 139.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 243.00 НСП 1% : 2.15 НДС 12% : 25.80 Наличными: 243.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 47 19.10.2024 17:26 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2586 ФПД: 17508053293177 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T172652&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2586&fm=17508053293177&tin=02508201610067®Number=0000000000207295&sum=24300 0 [17:26:42]StoreToDocumentArchive [17:26:42]shift 23 fd 2586 [17:26:42]save to /storage/0023/doc_00002586 [17:26:42]save last doc name /storage/0023/doc_00002586 to /storage/kkm_last_doc_name [17:26:42]save OK [17:26:42]Clear old archive folders... [17:26:42]ProcessDocumentItem done err = 0, tmpTLVsize=418 [17:26:42]tlvbuf is 014C1B10 [17:26:42]SAM_PROTO_ClearQueue [17:26:42]wFMCommunicate request_size=4 [17:26:42]MH_SAM_APDU [17:26:42]CAPDU: 80 09 00 00 [17:26:42]Write to MH i2c: E2 08 00 9E 4F 80 09 00 00 00 00 00 00 5F [17:26:42]Write i2c OK [17:26:42]MH_I2C_Read... [17:26:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:26:42]Read from MH i2c: E2 [17:26:42]MH_I2C_Read... [17:26:42]Read from MH i2c: E2 03 00 [17:26:42]MH_I2C_Read... [17:26:42]Read from MH i2c: E2 03 00 9E 4F 00 90 00 61 [17:26:42]RAPDU: 90 00 [17:26:42]wFMCommunicate OK [17:26:42]SAM_PROTO_ClearQueue done [17:26:42]KKMCreateOFDPacket [17:26:42]OFDProtocolAddRootSTLVToBuf [17:26:42]FM_MakeSignedData [17:26:42]FM_MakeSignedData [17:26:42]SAM_PROTO_SignData [17:26:42]wFMCommunicate request_size=4 [17:26:42]MH_SAM_APDU [17:26:42]CAPDU: 80 0D 01 02 [17:26:42]Write to MH i2c: E2 08 00 9F 4F 80 0D 01 02 00 00 00 00 67 [17:26:42]Write i2c OK [17:26:42]MH_I2C_Read... [17:26:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:26:43]Read from MH i2c: E2 [17:26:43]MH_I2C_Read... [17:26:43]Read from MH i2c: E2 03 00 [17:26:43]MH_I2C_Read... [17:26:43]Read from MH i2c: E2 03 00 9F 4F 00 90 00 62 [17:26:43]RAPDU: 90 00 [17:26:43]wFMCommunicate OK [17:26:43]wFMCommunicate request_size=255 [17:26:43]MH_SAM_APDU [17:26:43]CAPDU: 80 0D 02 02 FA 03 00 A2 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 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 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 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 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 [17:26:43]Write to MH i2c: E2 02 01 A0 4F 80 0D 02 02 FA 00 03 00 A2 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 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 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 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 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 00 F8 [17:26:43]Write i2c OK [17:26:43]MH_I2C_Read... [17:26:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:26:43]Read from MH i2c: E2 [17:26:43]MH_I2C_Read... [17:26:43]Read from MH i2c: E2 03 00 [17:26:43]MH_I2C_Read... [17:26:43]Read from MH i2c: E2 03 00 A0 4F 00 90 00 63 [17:26:43]RAPDU: 90 00 [17:26:43]wFMCommunicate OK [17:26:43]wFMCommunicate request_size=177 [17:26:43]MH_SAM_APDU [17:26:43]CAPDU: 80 0D 02 02 AC 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 EC 5E 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 DC EB 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1A 0A 00 00 35 04 06 00 0F EC 69 4C 18 79 [17:26:43]Write to MH i2c: E2 B4 00 A1 4F 80 0D 02 02 AC 00 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 EC 5E 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 DC EB 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1A 0A 00 00 35 04 06 00 0F EC 69 4C 18 79 00 00 31 [17:26:43]Write i2c OK [17:26:43]MH_I2C_Read... [17:26:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:26:43]Read from MH i2c: E2 [17:26:43]MH_I2C_Read... [17:26:43]Read from MH i2c: E2 03 00 [17:26:43]MH_I2C_Read... [17:26:43]Read from MH i2c: E2 03 00 A1 4F 00 90 00 64 [17:26:43]RAPDU: 90 00 [17:26:43]wFMCommunicate OK [17:26:43]wFMCommunicate request_size=4 [17:26:43]MH_SAM_APDU [17:26:43]CAPDU: 80 0D 03 02 [17:26:43]Write to MH i2c: E2 08 00 A2 4F 80 0D 03 02 00 00 00 00 6C [17:26:43]Write i2c OK [17:26:43]MH_I2C_Read... [17:26:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:26:43]Read from MH i2c: E2 [17:26:43]MH_I2C_Read... [17:26:43]Read from MH i2c: E2 0B 00 [17:26:43]MH_I2C_Read... [17:26:43]Read from MH i2c: E2 0B 00 A2 4F 00 34 F2 94 DB 63 D6 49 F1 90 00 75 [17:26:43]RAPDU: 34 F2 94 DB 63 D6 49 F1 90 00 [17:26:43]wFMCommunicate OK [17:26:43]SAM_PROTO_SignData done [17:26:43]FM_MakeSignedData done [17:26:43]CreateOFDProtocolMessage [17:26:43]wFMCommunicate request_size=4 [17:26:43]MH_SAM_APDU [17:26:43]CAPDU: 80 11 00 00 [17:26:43]Write to MH i2c: E2 08 00 A3 4F 80 11 00 00 00 00 00 00 6C [17:26:43]Write i2c OK [17:26:43]MH_I2C_Read... [17:26:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:26:43]Read from MH i2c: E2 [17:26:43]MH_I2C_Read... [17:26:43]Read from MH i2c: E2 17 00 [17:26:43]MH_I2C_Read... [17:26:43]Read from MH i2c: E2 17 00 A3 4F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B4 [17:26:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [17:26:43]wFMCommunicate OK [17:26:43]CreateOFDProtocolMessage done [17:26:43]OFDSenderStorePacket 2586 [17:26:43]StoreOFDPacket docnum=2586 [17:26:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 B6 01 00 00 A7 68 AE 01 B3 25 5A 03 01 00 03 00 A2 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 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 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 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 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 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 EC 5E 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 DC EB 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1A 0A 00 00 35 04 06 00 0F EC 69 4C 18 79 34 F2 94 DB 63 D6 49 F1 [17:26:43]CheckFolder [17:26:43]dirname=/storage/ofd_packets [17:26:43]CheckFolder done [17:26:43]ProducePacketName [17:26:43]name=ofd_packets/00002586 [17:26:43]NVStorageSaveData ofd_packets/00002586 [17:26:43]File name is /storage/ofd_packets/00002586 [17:26:43]Write 468 bytes [17:26:43]NVStorageSaveData done [17:26:43]OFDSenderStorePacket done [17:26:43]KKMCreateOFDPacket done [17:26:43]NVStorageSaveData kkm_last_timestamp [17:26:43]File name is /storage/kkm_last_timestamp [17:26:43]Write 4 bytes [17:26:43]NVStorageSaveData done [17:26:43]ExternCall_PrintAddStr [17:26:43]wPrintStart [17:26:43]Write to MH i2c: 01 00 00 A4 4F F3 [17:26:43]OFD Sender: Processing packet 2586 [packets to send 1, broken 0] [17:26:43]ProducePacketName [17:26:43]name=ofd_packets/00002586 [17:26:43]OFD Sender: To server: pG, [17:26:43]CommunicateWithHost lk.salyk.kg:30040 [17:26:43]ConnectInit lk.salyk.kg [17:26:43]Write i2c OK [17:26:43]MH_I2C_Read... [17:26:43]Read from MH i2c: 01 [17:26:43]MH_I2C_Read... [17:26:43]Read from MH i2c: 01 07 00 [17:26:43]MH_I2C_Read... [17:26:43]Read from MH i2c: 01 07 00 A4 4F 00 00 00 00 00 FF 0F 08 [17:26:43]RasterBufferAndPrint [17:26:43]line Счет N : (3)99964 [17:26:43]line ИНН: 02508201610067 [17:26:43]line Контрольно-Кассовый Чек [17:26:43]line ПРОДАЖА [17:26:43]line Товар: 4870202521216 [17:26:43]line Напиток MAXI чай 1,2 зел.лимон (новый) [17:26:43]line 1.000 * 104.00 [17:26:43]line = 104.00 [17:26:43]line НДС 12% НСП 1% [17:26:43]line > о реализуемом товаре [17:26:43]line Товар: 48745291 [17:26:43]line Сигареты Parliament SOHO NYC COMPACT BLU [17:26:43]line 1.000 * 139.00 [17:26:43]line = 139.00 [17:26:43]line НДС 12% НСП 1% [17:26:43]line > о реализуемом товаре [17:26:43]line ИТОГО: 243.00 [17:26:43]line НСП 1% : 2.15 [17:26:43]line НДС 12% : 25.80 [17:26:43]line Наличными: 243.00 [17:26:43]line Безнал.: 0.00 [17:26:43]line Место: АЗС № 162 "Партнер Нефть" [17:26:43]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [17:26:43]line СНО: Общий режим [17:26:43]line Чек 47 19.10.2024 17:26 [17:26:43]line Смена: 23 ФФД: 1.0 [17:26:43]line ЗНМ: 0300000191 [17:26:43]line РНМ: 0000000000207295 [17:26:43]line Версия ККМ: v1.0 [17:26:43]line ФМ: 0000000002342820 [17:26:43]line ФД: 2586 [17:26:43]line ФПД: 17508053293177 [17:26:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T172652&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2586&fm=17508053293177&tin=02508201610067®Number=0000000000207295&sum=24300 [17:26:43]line 0 [17:26:43]written 0, free lines is 4095 [17:26:44]Connected sock=10 [17:26:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 B6 01 00 00 A7 68 AE 01 B3 25 5A 03 01 00 03 00 A2 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 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 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 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 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 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 EC 5E 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 DC EB 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1A 0A 00 00 35 04 06 00 0F EC 69 4C 18 79 34 F2 94 DB 63 D6 49 F1 [17:26:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 E2 D5 47 00 AE B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1A 0A 00 00 F4 03 04 00 3C 97 13 67 B6 04 01 00 00 CA E1 02 6B 5D 81 E0 76 [17:26:44]CommunicateWithHost err = 0 [17:26:44]CheckOFDResponse [17:26:44]1017 (14) - 77093643461234 [17:26:44]1041 (16) - 0000000002342820 [17:26:44]1040 (4) - 2586 [17:26:44]1012 (4) - 19.10.2024 11:25 [17:26:44]1206 (1) - 0 [17:26:44]OFD Sender: Remove packet 2586 [17:26:44]ProducePacketName [17:26:44]name=ofd_packets/00002586 [17:26:44]NVStorageDeleteData [17:26:44]Write to MH i2c: 01 00 00 D4 4F 23 [17:26:44]Write i2c OK [17:26:44]MH_I2C_Read... [17:26:44]Read from MH i2c: 01 [17:26:44]MH_I2C_Read... [17:26:44]Read from MH i2c: 01 07 00 [17:26:44]MH_I2C_Read... [17:26:44]Read from MH i2c: 01 07 00 D4 4F 00 00 00 00 00 5D 0C 93 [17:26:44]RasterBufferAndPrint [17:26:44]line [17:26:44]line [17:26:44]line [17:26:44]line [17:26:44]line [17:26:44]written 0, free lines is 3173 [17:26:44]MH_Cut [17:26:44]Write to MH i2c: D1 01 00 DB 4F 01 FC [17:26:44]Write i2c OK [17:26:44]MH_I2C_Read... [17:26:44]Read from MH i2c: D1 [17:26:44]MH_I2C_Read... [17:26:44]Read from MH i2c: D1 01 00 [17:26:44]MH_I2C_Read... [17:26:44]Read from MH i2c: D1 01 00 DB 4F 00 FB [17:26:44]Write to MH i2c: 01 00 00 DC 4F 2B [17:26:44]Write i2c OK [17:26:44]MH_I2C_Read... [17:26:44]OFD Sender: No OFD packet to send [17:26:45]*** Cut start [17:26:45]*** Partial cut [17:26:45]*** CUTSNS_PIN = 1 [17:26:45]*** CUTSNS_PIN = 0 [17:26:45]*** Brake cut motor [17:26:46]Read from MH i2c: 01 [17:26:46]MH_I2C_Read... [17:26:46]*** Stop cut motor [17:26:46]*** Cut end [17:26:46]Read from MH i2c: 01 07 00 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: 01 07 00 DC 4F 00 00 00 00 00 FF 0F 40 [17:26:46]process_action close_receipt done [17:26:46]requested_data is exist [17:26:46]produce_requested_data [17:26:46]requested_item fm.sn is exist - process it [17:26:46]wFMCommunicate request_size=4 [17:26:46]MH_SAM_APDU [17:26:46]CAPDU: 80 11 00 00 [17:26:46]Write to MH i2c: E2 08 00 DD 4F 80 11 00 00 00 00 00 00 A6 [17:26:46]Write i2c OK [17:26:46]MH_I2C_Read... [17:26:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:26:46]Read from MH i2c: E2 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 17 00 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 17 00 DD 4F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 EE [17:26:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [17:26:46]wFMCommunicate OK [17:26:46]requested_item fd.num is exist - process it [17:26:46]SAM_PROTO_GetFieldsCounters [17:26:46]wFMCommunicate request_size=4 [17:26:46]MH_SAM_APDU [17:26:46]CAPDU: 80 13 00 00 [17:26:46]Write to MH i2c: E2 08 00 DE 4F 80 13 00 00 00 00 00 00 A9 [17:26:46]Write i2c OK [17:26:46]MH_I2C_Read... [17:26:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:26:46]Read from MH i2c: E2 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 62 00 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 62 00 DE 4F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 1A 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 87 [17:26:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 1A 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:26:46]wFMCommunicate OK [17:26:46]SAM_PROTO_GetFieldsCounters done [17:26:46]requested_item shift.num is exist - process it [17:26:46]requested_item shift.opened is exist - process it [17:26:46]req_shift_opened [17:26:46]FM_GetShiftState [17:26:46]SAM_PROTO_GetShiftState [17:26:46]wFMCommunicate request_size=4 [17:26:46]MH_SAM_APDU [17:26:46]CAPDU: 80 13 01 00 [17:26:46]Write to MH i2c: E2 08 00 DF 4F 80 13 01 00 00 00 00 00 AB [17:26:46]Write i2c OK [17:26:46]MH_I2C_Read... [17:26:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:26:46]Read from MH i2c: E2 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 0E 00 [17:26:46]MH_I2C_Read... [17:26:46]Read from MH i2c: E2 0E 00 DF 4F 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 54 [17:26:46]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [17:26:46]wFMCommunicate OK [17:26:46]SAM_PROTO_GetShiftState done [17:26:46]FM_GetShiftState done [17:26:46]req_shift_opened done [17:26:46]requested_item shift.open_date is exist - process it [17:26:46]req_shift_open_date [17:26:46]req_shift_open_date done [17:26:46]produce_requested_data done [17:26:46]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2586,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [17:26:46]process_action_free close_receipt [17:26:46]json_value_free [17:26:46]json_value_free done [17:26:46]process_json_proto returns [17:26:46]Send response to host [17:26:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2586,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [17:26:46]free response buf [17:26:46]execute_script done [17:26:46]execute_script returns [17:26:46]free content buf [17:26:46]Sock 7.Close socket [17:26:46]Sock 7.Thread stoped [17:26:49]OFD Sender: No OFD packet to send [17:26:54]OFD Sender: No OFD packet to send [17:26:59]OFD Sender: No OFD packet to send [17:27:04]OFD Sender: No OFD packet to send [17:27:09]OFD Sender: No OFD packet to send [17:27:14]OFD Sender: No OFD packet to send [17:27:19]OFD Sender: No OFD packet to send [17:27:24]OFD Sender: No OFD packet to send [17:27:29]OFD Sender: No OFD packet to send [17:27:34]OFD Sender: No OFD packet to send [17:27:39]OFD Sender: No OFD packet to send [17:27:44]OFD Sender: No OFD packet to send [17:27:49]OFD Sender: No OFD packet to send [17:27:54]OFD Sender: No OFD packet to send [17:27:59]OFD Sender: No OFD packet to send [17:28:04]OFD Sender: No OFD packet to send [17:28:09]OFD Sender: No OFD packet to send [17:28:14]OFD Sender: No OFD packet to send [17:28:19]OFD Sender: No OFD packet to send [17:28:24]OFD Sender: No OFD packet to send [17:28:29]OFD Sender: No OFD packet to send [17:28:34]OFD Sender: No OFD packet to send [17:28:39]OFD Sender: No OFD packet to send [17:28:44]OFD Sender: No OFD packet to send [17:28:49]OFD Sender: No OFD packet to send [17:28:54]OFD Sender: No OFD packet to send [17:28:59]OFD Sender: No OFD packet to send [17:29:04]OFD Sender: No OFD packet to send [17:29:09]OFD Sender: No OFD packet to send [17:29:14]OFD Sender: No OFD packet to send [17:29:19]OFD Sender: No OFD packet to send [17:29:24]OFD Sender: No OFD packet to send [17:29:29]OFD Sender: No OFD packet to send [17:29:34]OFD Sender: No OFD packet to send [17:29:39]OFD Sender: No OFD packet to send [17:29:44]OFD Sender: No OFD packet to send [17:29:49]OFD Sender: No OFD packet to send [17:29:54]accept exits with 9 [17:29:54]New connection [17:29:54]New thread 3066707300 created [17:29:54]Thread 3066850660 joined [17:29:54]Waiting for new connection... [17:29:54] Sock 9.Parse request [17:29:54]Sock 9.Check first char [17:29:54]Sock 9.First char is OK [17:29:54]request: POST /json_proto HTTP/1.0 [17:29:54]Method: POST [17:29:54]URL: /json_proto [17:29:54]Method is POST - this is cgi request [17:29:54]url: /json_proto [17:29:54]query_string will be loaded in cgi processing [17:29:54]execute_cgi json_proto POST (null) [17:29:54]execute_cgi path=json_proto method=POST [17:29:54]POST find Content-Length [17:29:54]Host: 172.17.52.132:8080 [17:29:54]Content-Length: 1524 [17:29:54]Content-Type: application/json [17:29:54] [17:29:54]POST finish read [17:29:54]Found Content-Length = 1524 [17:29:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99965", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 3.000, "sum" : 285.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 540.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:29:54]execute_script... [17:29: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)99965", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 3.000, "sum" : 285.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 540.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:29:54]POST & json_proto [17:29:54]process_json_proto [17:29:54]json parsed OK: [17:29:54]protocol is kg_v1.0 [17:29:54]action value=close_receipt [17:29:54]process_action close_receipt [17:29:54]cmd_close_receipt [17:29:54]MH_GetDate [17:29:54]Write to MH i2c: F0 00 00 E0 4F 1E [17:29:54]Write i2c OK [17:29:54]MH_I2C_Read... [17:29:54]Read from MH i2c: F0 [17:29:54]MH_I2C_Read... [17:29:54]Read from MH i2c: F0 09 00 [17:29:54]MH_I2C_Read... [17:29:54]Read from MH i2c: F0 09 00 E0 4F 00 9C EC 13 67 5A BE F6 66 9D [17:29:54]GetLastDocTimeStamp 1729358812 [17:29:54]current date 1729359004 [17:29:54]FM_GetShiftState [17:29:54]SAM_PROTO_GetShiftState [17:29:54]wFMCommunicate request_size=4 [17:29:54]MH_SAM_APDU [17:29:54]CAPDU: 80 13 01 00 [17:29:54]Write to MH i2c: E2 08 00 E1 4F 80 13 01 00 00 00 00 00 AD [17:29:54]Write i2c OK [17:29:54]MH_I2C_Read... [17:29:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:29:54]Read from MH i2c: E2 [17:29:54]MH_I2C_Read... [17:29:54]Read from MH i2c: E2 0E 00 [17:29:54]MH_I2C_Read... [17:29:54]Read from MH i2c: E2 0E 00 E1 4F 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 56 [17:29:54]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [17:29:54]wFMCommunicate OK [17:29:54]SAM_PROTO_GetShiftState done [17:29:54]FM_GetShiftState done [17:29:54]opened in 1729296173 [17:29:54]opened+sec_in_day 1729382573 [17:29:54]quantity*price = 28500 [17:29:54]sum+1 = 28501 [17:29:54]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160181 Вода Байтик 1л 2.000 * 50.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000176431 Сок Piko Pulpy апельсин ПЭТ 0,5л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160792 Снек Курут классический (круглый) 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 540.00 НСП 1% : 4.77 НДС 12% : 57.34 Наличными: 540.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 48 19.10.2024 17:30 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2587 ФПД: 74201916377408 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T173005&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2587&fm=74201916377408&tin=02508201610067®Number=0000000000207295&sum=54000 0 [17:29:55]StoreToDocumentArchive [17:29:55]shift 23 fd 2587 [17:29:55]save to /storage/0023/doc_00002587 [17:29:55]save last doc name /storage/0023/doc_00002587 to /storage/kkm_last_doc_name [17:29:55]save OK [17:29:55]Clear old archive folders... [17:29:55]ProcessDocumentItem done err = 0, tmpTLVsize=637 [17:29:55]tlvbuf is 013B4380 [17:29:55]SAM_PROTO_ClearQueue [17:29:55]wFMCommunicate request_size=4 [17:29:55]MH_SAM_APDU [17:29:55]CAPDU: 80 09 00 00 [17:29:55]Write to MH i2c: E2 08 00 EE 4F 80 09 00 00 00 00 00 00 AF [17:29:55]Write i2c OK [17:29:55]MH_I2C_Read... [17:29:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:29:55]Read from MH i2c: E2 [17:29:55]MH_I2C_Read... [17:29:55]Read from MH i2c: E2 03 00 [17:29:55]MH_I2C_Read... [17:29:55]Read from MH i2c: E2 03 00 EE 4F 00 90 00 B1 [17:29:55]RAPDU: 90 00 [17:29:55]wFMCommunicate OK [17:29:55]SAM_PROTO_ClearQueue done [17:29:55]KKMCreateOFDPacket [17:29:55]OFDProtocolAddRootSTLVToBuf [17:29:55]FM_MakeSignedData [17:29:55]FM_MakeSignedData [17:29:55]SAM_PROTO_SignData [17:29:55]wFMCommunicate request_size=4 [17:29:55]MH_SAM_APDU [17:29:55]CAPDU: 80 0D 01 02 [17:29:55]Write to MH i2c: E2 08 00 EF 4F 80 0D 01 02 00 00 00 00 B7 [17:29:55]Write i2c OK [17:29:55]MH_I2C_Read... [17:29:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:29:55]Read from MH i2c: E2 [17:29:55]MH_I2C_Read... [17:29:55]Read from MH i2c: E2 03 00 [17:29:55]MH_I2C_Read... [17:29:55]Read from MH i2c: E2 03 00 EF 4F 00 90 00 B2 [17:29:55]RAPDU: 90 00 [17:29:55]wFMCommunicate OK [17:29:55]wFMCommunicate request_size=255 [17:29:55]MH_SAM_APDU [17:29:55]CAPDU: 80 0D 02 02 FA 03 00 7D 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 [17:29:55]Write to MH i2c: E2 02 01 F0 4F 80 0D 02 02 FA 00 03 00 7D 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 00 00 E9 [17:29:55]Write i2c OK [17:29:55]MH_I2C_Read... [17:29:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:29:56]Read from MH i2c: E2 [17:29:56]MH_I2C_Read... [17:29:56]Read from MH i2c: E2 03 00 [17:29:56]MH_I2C_Read... [17:29:56]Read from MH i2c: E2 03 00 F0 4F 00 90 00 B3 [17:29:56]RAPDU: 90 00 [17:29:56]wFMCommunicate OK [17:29:56]wFMCommunicate request_size=255 [17:29:56]MH_SAM_APDU [17:29:56]CAPDU: 80 0D 02 02 FA A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 [17:29:56]Write to MH i2c: E2 02 01 F1 4F 80 0D 02 02 FA 00 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 00 00 C3 [17:29:56]Write i2c OK [17:29:56]MH_I2C_Read... [17:29:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:29:56]Read from MH i2c: E2 [17:29:56]MH_I2C_Read... [17:29:56]Read from MH i2c: E2 03 00 [17:29:56]MH_I2C_Read... [17:29:56]Read from MH i2c: E2 03 00 F1 4F 00 90 00 B4 [17:29:56]RAPDU: 90 00 [17:29:56]wFMCommunicate OK [17:29:56]wFMCommunicate request_size=146 [17:29:56]MH_SAM_APDU [17:29:56]CAPDU: 80 0D 02 02 8D 03 06 00 DD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 16 00 00 00 00 07 04 06 00 F0 D2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 9D EC 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1B 0A 00 00 35 04 06 00 43 7C 7A DE 09 40 [17:29:56]Write to MH i2c: E2 95 00 F2 4F 80 0D 02 02 8D 00 03 06 00 DD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 16 00 00 00 00 07 04 06 00 F0 D2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 9D EC 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1B 0A 00 00 35 04 06 00 43 7C 7A DE 09 40 00 00 EB [17:29:56]Write i2c OK [17:29:56]MH_I2C_Read... [17:29:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:29:56]Read from MH i2c: E2 [17:29:56]MH_I2C_Read... [17:29:56]Read from MH i2c: E2 03 00 [17:29:56]MH_I2C_Read... [17:29:56]Read from MH i2c: E2 03 00 F2 4F 00 90 00 B5 [17:29:56]RAPDU: 90 00 [17:29:56]wFMCommunicate OK [17:29:56]wFMCommunicate request_size=4 [17:29:56]MH_SAM_APDU [17:29:56]CAPDU: 80 0D 03 02 [17:29:56]Write to MH i2c: E2 08 00 F3 4F 80 0D 03 02 00 00 00 00 BD [17:29:56]Write i2c OK [17:29:56]MH_I2C_Read... [17:29:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:29:56]Read from MH i2c: E2 [17:29:56]MH_I2C_Read... [17:29:56]Read from MH i2c: E2 0B 00 [17:29:56]MH_I2C_Read... [17:29:56]Read from MH i2c: E2 0B 00 F3 4F 00 A0 D9 08 6A F3 3B 20 FE 90 00 F5 [17:29:56]RAPDU: A0 D9 08 6A F3 3B 20 FE 90 00 [17:29:56]wFMCommunicate OK [17:29:56]SAM_PROTO_SignData done [17:29:56]FM_MakeSignedData done [17:29:56]CreateOFDProtocolMessage [17:29:56]wFMCommunicate request_size=4 [17:29:56]MH_SAM_APDU [17:29:56]CAPDU: 80 11 00 00 [17:29:56]Write to MH i2c: E2 08 00 F4 4F 80 11 00 00 00 00 00 00 BD [17:29:56]Write i2c OK [17:29:56]MH_I2C_Read... [17:29:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:29:56]Read from MH i2c: E2 [17:29:56]MH_I2C_Read... [17:29:56]Read from MH i2c: E2 17 00 [17:29:56]MH_I2C_Read... [17:29:56]Read from MH i2c: E2 17 00 F4 4F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 05 [17:29:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [17:29:56]wFMCommunicate OK [17:29:56]CreateOFDProtocolMessage done [17:29:56]OFDSenderStorePacket 2587 [17:29:56]StoreOFDPacket docnum=2587 [17:29:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 91 02 00 00 29 2A 89 02 3A 8B 5A 03 01 00 03 00 7D 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 16 00 00 00 00 07 04 06 00 F0 D2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 9D EC 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1B 0A 00 00 35 04 06 00 43 7C 7A DE 09 40 A0 D9 08 6A F3 3B 20 FE [17:29:56]CheckFolder [17:29:56]dirname=/storage/ofd_packets [17:29:56]CheckFolder done [17:29:56]ProducePacketName [17:29:56]name=ofd_packets/00002587 [17:29:56]NVStorageSaveData ofd_packets/00002587 [17:29:56]File name is /storage/ofd_packets/00002587 [17:29:56]Write 687 bytes [17:29:56]NVStorageSaveData done [17:29:56]OFDSenderStorePacket done [17:29:56]KKMCreateOFDPacket done [17:29:56]NVStorageSaveData kkm_last_timestamp [17:29:56]File name is /storage/kkm_last_timestamp [17:29:56]Write 4 bytes [17:29:56]NVStorageSaveData done [17:29:56]ExternCall_PrintAddStr [17:29:56]wPrintStart [17:29:56]Write to MH i2c: 01 00 00 F5 4F 44 [17:29:56]Write i2c OK [17:29:56]MH_I2C_Read... [17:29:56]Read from MH i2c: 01 [17:29:56]MH_I2C_Read... [17:29:56]Read from MH i2c: 01 07 00 [17:29:56]MH_I2C_Read... [17:29:56]Read from MH i2c: 01 07 00 F5 4F 00 00 00 00 00 FF 0F 59 [17:29:56]RasterBufferAndPrint [17:29:56]line Счет N : (3)99965 [17:29:56]line ИНН: 02508201610067 [17:29:56]line Контрольно-Кассовый Чек [17:29:56]line ПРОДАЖА [17:29:56]line Товар: 4700000481453 [17:29:56]line Напиток энерг Nitro Max 0,45 ж/б [17:29:56]line 3.000 * 95.00 [17:29:56]line = 285.00 [17:29:56]line НДС 12% НСП 1% [17:29:56]line > о реализуемом товаре [17:29:56]line Товар: 4700000160181 [17:29:56]line Вода Байтик 1л [17:29:56]line 2.000 * 50.00 [17:29:56]line = 100.00 [17:29:56]line НДС 12% НСП 1% [17:29:56]line > о реализуемом товаре [17:29:56]line Товар: 5449000176431 [17:29:56]line Сок Piko Pulpy апельсин ПЭТ 0,5л [17:29:56]line 1.000 * 95.00 [17:29:56]line = 95.00 [17:29:56]line НДС 12% НСП 1% [17:29:56]line > о реализуемом товаре [17:29:56]line Товар: 4700000160792 [17:29:56]line Снек Курут классический (круглый) [17:29:56]line 1.000 * 60.00 [17:29:56]line = 60.00 [17:29:56]line НДС 12% НСП 1% [17:29:56]line > о реализуемом товаре [17:29:56]line ИТОГО: 540.00 [17:29:56]line НСП 1% : 4.77 [17:29:56]line НДС 12% : 57.34 [17:29:56]line Наличными: 540.00 [17:29:56]line Безнал.: 0.00 [17:29:56]line Место: АЗС № 162 "Партнер Нефть" [17:29:56]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [17:29:56]line СНО: Общий режим [17:29:56]line Чек 48 19.10.2024 17:30 [17:29:56]line Смена: 23 ФФД: 1.0 [17:29:56]line ЗНМ: 0300000191 [17:29:56]line РНМ: 0000000000207295 [17:29:56]line Версия ККМ: v1.0 [17:29:56]line ФМ: 0000000002342820 [17:29:56]line ФД: 2587 [17:29:56]line ФПД: 74201916377408 [17:29:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T173005&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2587&fm=74201916377408&tin=02508201610067®Number=0000000000207295&sum=54000 [17:29:56]OFD Sender: Processing packet 2587 [packets to send 1, broken 0] [17:29:56]ProducePacketName [17:29:56]name=ofd_packets/00002587 [17:29:56]OFD Sender: To server: pG, [17:29:56]CommunicateWithHost lk.salyk.kg:30040 [17:29:56]ConnectInit lk.salyk.kg [17:29:56]line 0 [17:29:56]written 0, free lines is 4095 [17:29:57]Connected sock=10 [17:29:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 91 02 00 00 29 2A 89 02 3A 8B 5A 03 01 00 03 00 7D 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 16 00 00 00 00 07 04 06 00 F0 D2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 9D EC 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1B 0A 00 00 35 04 06 00 43 7C 7A DE 09 40 A0 D9 08 6A F3 3B 20 FE [17:29:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 7E 31 47 00 10 26 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1B 0A 00 00 F4 03 04 00 FD 97 13 67 B6 04 01 00 00 51 3E 77 B0 09 9B 86 48 [17:29:57]CommunicateWithHost err = 0 [17:29:57]CheckOFDResponse [17:29:57]1017 (14) - 77093643461234 [17:29:57]1041 (16) - 0000000002342820 [17:29:57]1040 (4) - 2587 [17:29:57]1012 (4) - 19.10.2024 11:29 [17:29:57]1206 (1) - 0 [17:29:57]OFD Sender: Remove packet 2587 [17:29:57]ProducePacketName [17:29:57]name=ofd_packets/00002587 [17:29:57]NVStorageDeleteData [17:29:57]Write to MH i2c: 01 00 00 32 50 82 [17:29:57]Write i2c OK [17:29:57]MH_I2C_Read... [17:29:57]Read from MH i2c: 01 [17:29:57]MH_I2C_Read... [17:29:57]Read from MH i2c: 01 07 00 [17:29:57]MH_I2C_Read... [17:29:57]Read from MH i2c: 01 07 00 32 50 00 00 00 00 00 9C 0B 30 [17:29:57]RasterBufferAndPrint [17:29:57]line [17:29:57]line [17:29:57]line [17:29:57]line [17:29:57]line [17:29:57]written 0, free lines is 2980 [17:29:57]MH_Cut [17:29:57]Write to MH i2c: D1 01 00 39 50 01 5B [17:29:57]Write i2c OK [17:29:57]MH_I2C_Read... [17:29:57]Read from MH i2c: D1 [17:29:57]MH_I2C_Read... [17:29:57]Read from MH i2c: D1 01 00 [17:29:57]MH_I2C_Read... [17:29:57]Read from MH i2c: D1 01 00 39 50 00 5A [17:29:57]Write to MH i2c: 01 00 00 3A 50 8A [17:29:57]Write i2c OK [17:29:57]MH_I2C_Read... [17:29:57]OFD Sender: No OFD packet to send [17:29:58]*** Cut start [17:29:58]*** Partial cut [17:29:58]*** CUTSNS_PIN = 1 [17:29:58]*** CUTSNS_PIN = 0 [17:29:58]*** Brake cut motor [17:29:59]Read from MH i2c: 01 [17:29:59]MH_I2C_Read... [17:29:59]*** Stop cut motor [17:29:59]*** Cut end [17:29:59]Read from MH i2c: 01 07 00 [17:29:59]MH_I2C_Read... [17:29:59]Read from MH i2c: 01 07 00 3A 50 00 00 00 00 00 FF 0F 9F [17:29:59]process_action close_receipt done [17:29:59]requested_data is exist [17:29:59]produce_requested_data [17:29:59]requested_item fm.sn is exist - process it [17:29:59]wFMCommunicate request_size=4 [17:29:59]MH_SAM_APDU [17:29:59]CAPDU: 80 11 00 00 [17:29:59]Write to MH i2c: E2 08 00 3B 50 80 11 00 00 00 00 00 00 05 [17:29:59]Write i2c OK [17:29:59]MH_I2C_Read... [17:29:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:29:59]Read from MH i2c: E2 [17:29:59]MH_I2C_Read... [17:29:59]Read from MH i2c: E2 17 00 [17:29:59]MH_I2C_Read... [17:29:59]Read from MH i2c: E2 17 00 3B 50 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 4D [17:29:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [17:29:59]wFMCommunicate OK [17:29:59]requested_item fd.num is exist - process it [17:29:59]SAM_PROTO_GetFieldsCounters [17:29:59]wFMCommunicate request_size=4 [17:29:59]MH_SAM_APDU [17:29:59]CAPDU: 80 13 00 00 [17:29:59]Write to MH i2c: E2 08 00 3C 50 80 13 00 00 00 00 00 00 08 [17:29:59]Write i2c OK [17:29:59]MH_I2C_Read... [17:29:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:29:59]Read from MH i2c: E2 [17:29:59]MH_I2C_Read... [17:29:59]Read from MH i2c: E2 62 00 [17:29:59]MH_I2C_Read... [17:29:59]Read from MH i2c: E2 62 00 3C 50 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 1B 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 EA [17:29:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 1B 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:29:59]wFMCommunicate OK [17:29:59]SAM_PROTO_GetFieldsCounters done [17:29:59]requested_item shift.num is exist - process it [17:29:59]requested_item shift.opened is exist - process it [17:29:59]req_shift_opened [17:29:59]FM_GetShiftState [17:29:59]SAM_PROTO_GetShiftState [17:29:59]wFMCommunicate request_size=4 [17:29:59]MH_SAM_APDU [17:29:59]CAPDU: 80 13 01 00 [17:29:59]Write to MH i2c: E2 08 00 3D 50 80 13 01 00 00 00 00 00 0A [17:29:59]Write i2c OK [17:29:59]MH_I2C_Read... [17:29:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:29:59]Read from MH i2c: E2 [17:29:59]MH_I2C_Read... [17:29:59]Read from MH i2c: E2 0E 00 [17:29:59]MH_I2C_Read... [17:29:59]Read from MH i2c: E2 0E 00 3D 50 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 B3 [17:29:59]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [17:29:59]wFMCommunicate OK [17:29:59]SAM_PROTO_GetShiftState done [17:29:59]FM_GetShiftState done [17:29:59]req_shift_opened done [17:29:59]requested_item shift.open_date is exist - process it [17:29:59]req_shift_open_date [17:29:59]req_shift_open_date done [17:29:59]produce_requested_data done [17:29:59]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2587,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [17:29:59]process_action_free close_receipt [17:29:59]json_value_free [17:29:59]json_value_free done [17:29:59]process_json_proto returns [17:29:59]Send response to host [17:29:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2587,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [17:29:59]free response buf [17:29:59]execute_script done [17:29:59]execute_script returns [17:29:59]free content buf [17:29:59]Sock 9.Close socket [17:29:59]Sock 9.Thread stoped [17:30:02]OFD Sender: No OFD packet to send [17:30:07]OFD Sender: No OFD packet to send [17:30:12]OFD Sender: No OFD packet to send [17:30:17]OFD Sender: No OFD packet to send [17:30:22]OFD Sender: No OFD packet to send [17:30:27]OFD Sender: No OFD packet to send [17:30:32]OFD Sender: No OFD packet to send [17:30:37]OFD Sender: No OFD packet to send [17:30:42]OFD Sender: No OFD packet to send [17:30:47]OFD Sender: No OFD packet to send [17:30:52]OFD Sender: No OFD packet to send [17:30:57]OFD Sender: No OFD packet to send [17:31:02]OFD Sender: No OFD packet to send [17:31:07]OFD Sender: No OFD packet to send [17:31:12]OFD Sender: No OFD packet to send [17:31:17]OFD Sender: No OFD packet to send [17:31:22]OFD Sender: No OFD packet to send [17:31:27]OFD Sender: No OFD packet to send [17:31:32]OFD Sender: No OFD packet to send [17:31:37]OFD Sender: No OFD packet to send [17:31:42]OFD Sender: No OFD packet to send [17:31:47]OFD Sender: No OFD packet to send [17:31:52]OFD Sender: No OFD packet to send [17:31:57]OFD Sender: No OFD packet to send [17:32:02]OFD Sender: No OFD packet to send [17:32:07]OFD Sender: No OFD packet to send [17:32:12]OFD Sender: No OFD packet to send [17:32:17]OFD Sender: No OFD packet to send [17:32:22]OFD Sender: No OFD packet to send [17:32:27]OFD Sender: No OFD packet to send [17:32:32]OFD Sender: No OFD packet to send [17:32:37]OFD Sender: No OFD packet to send [17:32:42]OFD Sender: No OFD packet to send [17:32:47]OFD Sender: No OFD packet to send [17:32:52]OFD Sender: No OFD packet to send [17:32:57]OFD Sender: No OFD packet to send [17:33:02]OFD Sender: No OFD packet to send [17:33:07]OFD Sender: No OFD packet to send [17:33:12]OFD Sender: No OFD packet to send [17:33:17]OFD Sender: No OFD packet to send [17:33:22]OFD Sender: No OFD packet to send [17:33:27]OFD Sender: No OFD packet to send [17:33:32]OFD Sender: No OFD packet to send [17:33:37]OFD Sender: No OFD packet to send [17:33:42]OFD Sender: No OFD packet to send [17:33:47]OFD Sender: No OFD packet to send [17:33:52]OFD Sender: No OFD packet to send [17:33:57]OFD Sender: No OFD packet to send [17:34:02]OFD Sender: No OFD packet to send [17:34:07]OFD Sender: No OFD packet to send [17:34:12]OFD Sender: No OFD packet to send [17:34:17]OFD Sender: No OFD packet to send [17:34:22]OFD Sender: No OFD packet to send [17:34:27]OFD Sender: No OFD packet to send [17:34:33]OFD Sender: No OFD packet to send [17:34:38]OFD Sender: No OFD packet to send [17:34:43]OFD Sender: No OFD packet to send [17:34:48]OFD Sender: No OFD packet to send [17:34:53]OFD Sender: No OFD packet to send [17:34:58]OFD Sender: No OFD packet to send [17:35:03]OFD Sender: No OFD packet to send [17:35:08]OFD Sender: No OFD packet to send [17:35:13]OFD Sender: No OFD packet to send [17:35:18]OFD Sender: No OFD packet to send [17:35:23]OFD Sender: No OFD packet to send [17:35:28]OFD Sender: No OFD packet to send [17:35:33]OFD Sender: No OFD packet to send [17:35:38]OFD Sender: No OFD packet to send [17:35:43]OFD Sender: No OFD packet to send [17:35:48]OFD Sender: No OFD packet to send [17:35:53]OFD Sender: No OFD packet to send [17:35:58]OFD Sender: No OFD packet to send [17:36:03]OFD Sender: No OFD packet to send [17:36:08]OFD Sender: No OFD packet to send [17:36:13]OFD Sender: No OFD packet to send [17:36:18]OFD Sender: No OFD packet to send [17:36:23]OFD Sender: No OFD packet to send [17:36:28]OFD Sender: No OFD packet to send [17:36:33]OFD Sender: No OFD packet to send [17:36:38]OFD Sender: No OFD packet to send [17:36:43]OFD Sender: No OFD packet to send [17:36:48]OFD Sender: No OFD packet to send [17:36:53]OFD Sender: No OFD packet to send [17:36:58]OFD Sender: No OFD packet to send [17:37:03]OFD Sender: No OFD packet to send [17:37:08]OFD Sender: No OFD packet to send [17:37:13]OFD Sender: No OFD packet to send [17:37:18]OFD Sender: No OFD packet to send [17:37:23]OFD Sender: No OFD packet to send [17:37:28]OFD Sender: No OFD packet to send [17:37:33]OFD Sender: No OFD packet to send [17:37:38]OFD Sender: No OFD packet to send [17:37:43]OFD Sender: No OFD packet to send [17:37:48]OFD Sender: No OFD packet to send [17:37:53]OFD Sender: No OFD packet to send [17:37:58]OFD Sender: No OFD packet to send [17:38:03]OFD Sender: No OFD packet to send [17:38:08]OFD Sender: No OFD packet to send [17:38:13]OFD Sender: No OFD packet to send [17:38:18]OFD Sender: No OFD packet to send [17:38:23]OFD Sender: No OFD packet to send [17:38:28]OFD Sender: No OFD packet to send [17:38:33]OFD Sender: No OFD packet to send [17:38:38]OFD Sender: No OFD packet to send [17:38:43]OFD Sender: No OFD packet to send [17:38:48]OFD Sender: No OFD packet to send [17:38:53]OFD Sender: No OFD packet to send [17:38:58]OFD Sender: No OFD packet to send [17:39:03]OFD Sender: No OFD packet to send [17:39:08]OFD Sender: No OFD packet to send [17:39:13]OFD Sender: No OFD packet to send [17:39:18]OFD Sender: No OFD packet to send [17:39:23]OFD Sender: No OFD packet to send [17:39:28]OFD Sender: No OFD packet to send [17:39:33]OFD Sender: No OFD packet to send [17:39:38]OFD Sender: No OFD packet to send [17:39:43]OFD Sender: No OFD packet to send [17:39:48]OFD Sender: No OFD packet to send [17:39:53]OFD Sender: No OFD packet to send [17:39:58]OFD Sender: No OFD packet to send [17:40:03]OFD Sender: No OFD packet to send [17:40:08]OFD Sender: No OFD packet to send [17:40:13]OFD Sender: No OFD packet to send [17:40:18]OFD Sender: No OFD packet to send [17:40:23]OFD Sender: No OFD packet to send [17:40:28]OFD Sender: No OFD packet to send [17:40:33]OFD Sender: No OFD packet to send [17:40:38]OFD Sender: No OFD packet to send [17:40:43]OFD Sender: No OFD packet to send [17:40:48]OFD Sender: No OFD packet to send [17:40:53]OFD Sender: No OFD packet to send [17:40:58]OFD Sender: No OFD packet to send [17:41:03]OFD Sender: No OFD packet to send [17:41:08]OFD Sender: No OFD packet to send [17:41:13]OFD Sender: No OFD packet to send [17:41:18]OFD Sender: No OFD packet to send [17:41:23]OFD Sender: No OFD packet to send [17:41:28]OFD Sender: No OFD packet to send [17:41:33]OFD Sender: No OFD packet to send [17:41:38]OFD Sender: No OFD packet to send [17:41:43]OFD Sender: No OFD packet to send [17:41:48]OFD Sender: No OFD packet to send [17:41:53]OFD Sender: No OFD packet to send [17:41:58]OFD Sender: No OFD packet to send [17:42:03]OFD Sender: No OFD packet to send [17:42:08]OFD Sender: No OFD packet to send [17:42:13]OFD Sender: No OFD packet to send [17:42:18]OFD Sender: No OFD packet to send [17:42:23]OFD Sender: No OFD packet to send [17:42:28]OFD Sender: No OFD packet to send [17:42:33]OFD Sender: No OFD packet to send [17:42:38]OFD Sender: No OFD packet to send [17:42:43]OFD Sender: No OFD packet to send [17:42:48]OFD Sender: No OFD packet to send [17:42:53]OFD Sender: No OFD packet to send [17:42:58]OFD Sender: No OFD packet to send [17:43:03]OFD Sender: No OFD packet to send [17:43:08]OFD Sender: No OFD packet to send [17:43:13]OFD Sender: No OFD packet to send [17:43:18]OFD Sender: No OFD packet to send [17:43:23]OFD Sender: No OFD packet to send [17:43:28]OFD Sender: No OFD packet to send [17:43:33]OFD Sender: No OFD packet to send [17:43:38]OFD Sender: No OFD packet to send [17:43:43]OFD Sender: No OFD packet to send [17:43:48]OFD Sender: No OFD packet to send [17:43:53]OFD Sender: No OFD packet to send [17:43:58]OFD Sender: No OFD packet to send [17:44:03]OFD Sender: No OFD packet to send [17:44:08]OFD Sender: No OFD packet to send [17:44:13]OFD Sender: No OFD packet to send [17:44:18]OFD Sender: No OFD packet to send [17:44:23]OFD Sender: No OFD packet to send [17:44:28]OFD Sender: No OFD packet to send [17:44:33]OFD Sender: No OFD packet to send [17:44:38]OFD Sender: No OFD packet to send [17:44:43]OFD Sender: No OFD packet to send [17:44:48]OFD Sender: No OFD packet to send [17:44:53]OFD Sender: No OFD packet to send [17:44:58]OFD Sender: No OFD packet to send [17:45:03]OFD Sender: No OFD packet to send [17:45:08]OFD Sender: No OFD packet to send [17:45:13]OFD Sender: No OFD packet to send [17:45:18]OFD Sender: No OFD packet to send [17:45:23]OFD Sender: No OFD packet to send [17:45:28]OFD Sender: No OFD packet to send [17:45:33]OFD Sender: No OFD packet to send [17:45:38]OFD Sender: No OFD packet to send [17:45:43]OFD Sender: No OFD packet to send [17:45:48]OFD Sender: No OFD packet to send [17:45:53]OFD Sender: No OFD packet to send [17:45:58]OFD Sender: No OFD packet to send [17:46:03]OFD Sender: No OFD packet to send [17:46:08]OFD Sender: No OFD packet to send [17:46:13]OFD Sender: No OFD packet to send [17:46:18]OFD Sender: No OFD packet to send [17:46:23]OFD Sender: No OFD packet to send [17:46:28]OFD Sender: No OFD packet to send [17:46:33]OFD Sender: No OFD packet to send [17:46:38]OFD Sender: No OFD packet to send [17:46:43]OFD Sender: No OFD packet to send [17:46:48]OFD Sender: No OFD packet to send [17:46:53]OFD Sender: No OFD packet to send [17:46:58]OFD Sender: No OFD packet to send [17:47:03]OFD Sender: No OFD packet to send [17:47:08]OFD Sender: No OFD packet to send [17:47:13]OFD Sender: No OFD packet to send [17:47:18]OFD Sender: No OFD packet to send [17:47:23]OFD Sender: No OFD packet to send [17:47:28]OFD Sender: No OFD packet to send [17:47:33]OFD Sender: No OFD packet to send [17:47:38]OFD Sender: No OFD packet to send [17:47:43]OFD Sender: No OFD packet to send [17:47:48]OFD Sender: No OFD packet to send [17:47:53]OFD Sender: No OFD packet to send [17:47:58]OFD Sender: No OFD packet to send [17:48:03]OFD Sender: No OFD packet to send [17:48:08]OFD Sender: No OFD packet to send [17:48:13]OFD Sender: No OFD packet to send [17:48:18]OFD Sender: No OFD packet to send [17:48:23]OFD Sender: No OFD packet to send [17:48:28]OFD Sender: No OFD packet to send [17:48:33]OFD Sender: No OFD packet to send [17:48:38]OFD Sender: No OFD packet to send [17:48:43]OFD Sender: No OFD packet to send [17:48:48]OFD Sender: No OFD packet to send [17:48:53]OFD Sender: No OFD packet to send [17:48:58]OFD Sender: No OFD packet to send [17:49:03]OFD Sender: No OFD packet to send [17:49:08]OFD Sender: No OFD packet to send [17:49:13]OFD Sender: No OFD packet to send [17:49:18]OFD Sender: No OFD packet to send [17:49:23]OFD Sender: No OFD packet to send [17:49:28]OFD Sender: No OFD packet to send [17:49:33]OFD Sender: No OFD packet to send [17:49:38]OFD Sender: No OFD packet to send [17:49:43]OFD Sender: No OFD packet to send [17:49:48]OFD Sender: No OFD packet to send [17:49:53]OFD Sender: No OFD packet to send [17:49:58]OFD Sender: No OFD packet to send [17:50:03]OFD Sender: No OFD packet to send [17:50:08]OFD Sender: No OFD packet to send [17:50:13]OFD Sender: No OFD packet to send [17:50:18]OFD Sender: No OFD packet to send [17:50:23]OFD Sender: No OFD packet to send [17:50:28]OFD Sender: No OFD packet to send [17:50:33]OFD Sender: No OFD packet to send [17:50:38]OFD Sender: No OFD packet to send [17:50:43]OFD Sender: No OFD packet to send [17:50:48]OFD Sender: No OFD packet to send [17:50:53]OFD Sender: No OFD packet to send [17:50:58]OFD Sender: No OFD packet to send [17:51:03]OFD Sender: No OFD packet to send [17:51:08]OFD Sender: No OFD packet to send [17:51:13]OFD Sender: No OFD packet to send [17:51:18]OFD Sender: No OFD packet to send [17:51:19]accept exits with 7 [17:51:19]New connection [17:51:19]New thread 3066850660 created [17:51:19]Thread 3066707300 joined [17:51:19]Waiting for new connection... [17:51:19] Sock 7.Parse request [17:51:19]Sock 7.Check first char [17:51:19]Sock 7.First char is OK [17:51:19]request: POST /json_proto HTTP/1.0 [17:51:19]Method: POST [17:51:19]URL: /json_proto [17:51:19]Method is POST - this is cgi request [17:51:19]url: /json_proto [17:51:19]query_string will be loaded in cgi processing [17:51:19]execute_cgi json_proto POST (null) [17:51:19]execute_cgi path=json_proto method=POST [17:51:19]POST find Content-Length [17:51:19]Host: 172.17.52.132:8080 [17:51:19]Content-Length: 1711 [17:51:19]Content-Type: application/json [17:51:19] [17:51:19]POST finish read [17:51:19]Found Content-Length = 1711 [17:51:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99966", "tax_sys" : 0, "items" : [ { "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522008", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 0,45\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\u043B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 466.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:51:19]execute_script... [17:51: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)99966", "tax_sys" : 0, "items" : [ { "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522008", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 0,45\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\u043B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 466.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:51:19]POST & json_proto [17:51:19]process_json_proto [17:51:19]json parsed OK: [17:51:19]protocol is kg_v1.0 [17:51:19]action value=close_receipt [17:51:19]process_action close_receipt [17:51:19]cmd_close_receipt [17:51:19]MH_GetDate [17:51:19]Write to MH i2c: F0 00 00 3E 50 7D [17:51:19]Write i2c OK [17:51:19]MH_I2C_Read... [17:51:19]Read from MH i2c: F0 [17:51:19]MH_I2C_Read... [17:51:19]Read from MH i2c: F0 09 00 [17:51:19]MH_I2C_Read... [17:51:19]Read from MH i2c: F0 09 00 3E 50 00 A2 F1 13 67 5A BE F6 66 07 [17:51:19]GetLastDocTimeStamp 1729359005 [17:51:19]current date 1729360290 [17:51:19]FM_GetShiftState [17:51:19]SAM_PROTO_GetShiftState [17:51:19]wFMCommunicate request_size=4 [17:51:19]MH_SAM_APDU [17:51:19]CAPDU: 80 13 01 00 [17:51:19]Write to MH i2c: E2 08 00 3F 50 80 13 01 00 00 00 00 00 0C [17:51:19]Write i2c OK [17:51:19]MH_I2C_Read... [17:51:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:51:19]Read from MH i2c: E2 [17:51:19]MH_I2C_Read... [17:51:19]Read from MH i2c: E2 0E 00 [17:51:19]MH_I2C_Read... [17:51:19]Read from MH i2c: E2 0E 00 3F 50 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 B5 [17:51:19]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [17:51:19]wFMCommunicate OK [17:51:19]SAM_PROTO_GetShiftState done [17:51:19]FM_GetShiftState done [17:51:19]opened in 1729296173 [17:51:19]opened+sec_in_day 1729382573 [17:51:19]quantity*price = 400 [17:51:19]sum+1 = 401 [17:51:19]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202522008 Напиток Maxi Чай Грушевый 0,45л 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48747059 Сигареты Winston Legend Blue 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202521292 Напиток Сок березы 1,2л 1.000 * 104.00 = 104.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 466.00 НСП 1% : 4.11 НДС 12% : 49.47 Наличными: 466.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 49 19.10.2024 17:51 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2588 ФПД: 58387857121635 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T175130&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2588&fm=58387857121635&tin=02508201610067®Number=0000000000207295&sum=46600 0 [17:51:20]StoreToDocumentArchive [17:51:20]shift 23 fd 2588 [17:51:20]save to /storage/0023/doc_00002588 [17:51:20]save last doc name /storage/0023/doc_00002588 to /storage/kkm_last_doc_name [17:51:20]save OK [17:51:20]Clear old archive folders... [17:51:20]ProcessDocumentItem done err = 0, tmpTLVsize=718 [17:51:20]tlvbuf is 0140E770 [17:51:20]SAM_PROTO_ClearQueue [17:51:20]wFMCommunicate request_size=4 [17:51:20]MH_SAM_APDU [17:51:20]CAPDU: 80 09 00 00 [17:51:20]Write to MH i2c: E2 08 00 4C 50 80 09 00 00 00 00 00 00 0E [17:51:20]Write i2c OK [17:51:20]MH_I2C_Read... [17:51:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:51:20]Read from MH i2c: E2 [17:51:20]MH_I2C_Read... [17:51:20]Read from MH i2c: E2 03 00 [17:51:20]MH_I2C_Read... [17:51:20]Read from MH i2c: E2 03 00 4C 50 00 90 00 10 [17:51:20]RAPDU: 90 00 [17:51:20]wFMCommunicate OK [17:51:20]SAM_PROTO_ClearQueue done [17:51:20]KKMCreateOFDPacket [17:51:20]OFDProtocolAddRootSTLVToBuf [17:51:20]FM_MakeSignedData [17:51:20]FM_MakeSignedData [17:51:20]SAM_PROTO_SignData [17:51:20]wFMCommunicate request_size=4 [17:51:20]MH_SAM_APDU [17:51:20]CAPDU: 80 0D 01 02 [17:51:20]Write to MH i2c: E2 08 00 4D 50 80 0D 01 02 00 00 00 00 16 [17:51:20]Write i2c OK [17:51:20]MH_I2C_Read... [17:51:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:51:20]Read from MH i2c: E2 [17:51:20]MH_I2C_Read... [17:51:20]Read from MH i2c: E2 03 00 [17:51:20]MH_I2C_Read... [17:51:20]Read from MH i2c: E2 03 00 4D 50 00 90 00 11 [17:51:20]RAPDU: 90 00 [17:51:20]wFMCommunicate OK [17:51:20]wFMCommunicate request_size=255 [17:51:20]MH_SAM_APDU [17:51:20]CAPDU: 80 0D 02 02 FA 03 00 CE 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 30 38 06 04 32 00 D0 9D D0 B0 D0 [17:51:20]Write to MH i2c: E2 02 01 4E 50 80 0D 02 02 FA 00 03 00 CE 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 30 38 06 04 32 00 D0 9D D0 B0 D0 00 00 0D [17:51:20]Write i2c OK [17:51:20]MH_I2C_Read... [17:51:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:51:21]Read from MH i2c: E2 [17:51:21]MH_I2C_Read... [17:51:21]Read from MH i2c: E2 03 00 [17:51:21]MH_I2C_Read... [17:51:21]Read from MH i2c: E2 03 00 4E 50 00 90 00 12 [17:51:21]RAPDU: 90 00 [17:51:21]wFMCommunicate OK [17:51:21]wFMCommunicate request_size=255 [17:51:21]MH_SAM_APDU [17:51:21]CAPDU: 80 0D 02 02 FA BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 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 [17:51:21]Write to MH i2c: E2 02 01 4F 50 80 0D 02 02 FA 00 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 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 00 00 8A [17:51:21]Write i2c OK [17:51:21]MH_I2C_Read... [17:51:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:51:21]Read from MH i2c: E2 [17:51:21]MH_I2C_Read... [17:51:21]Read from MH i2c: E2 03 00 [17:51:21]MH_I2C_Read... [17:51:21]Read from MH i2c: E2 03 00 4F 50 00 90 00 13 [17:51:21]RAPDU: 90 00 [17:51:21]wFMCommunicate OK [17:51:21]wFMCommunicate request_size=227 [17:51:21]MH_SAM_APDU [17:51:21]CAPDU: 80 0D 02 02 DE D0 B7 D1 8B 20 31 2C 32 D0 BB 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 08 B6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 53 13 00 00 00 00 07 04 06 00 08 B6 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 A2 F1 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1C 0A 00 00 35 04 06 00 35 1A 7B 7B A1 63 [17:51:21]Write to MH i2c: E2 E6 00 50 50 80 0D 02 02 DE 00 D0 B7 D1 8B 20 31 2C 32 D0 BB 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 08 B6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 53 13 00 00 00 00 07 04 06 00 08 B6 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 A2 F1 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1C 0A 00 00 35 04 06 00 35 1A 7B 7B A1 63 00 00 06 [17:51:21]Write i2c OK [17:51:21]MH_I2C_Read... [17:51:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:51:21]Read from MH i2c: E2 [17:51:21]MH_I2C_Read... [17:51:21]Read from MH i2c: E2 03 00 [17:51:21]MH_I2C_Read... [17:51:21]Read from MH i2c: E2 03 00 50 50 00 90 00 14 [17:51:21]RAPDU: 90 00 [17:51:21]wFMCommunicate OK [17:51:21]wFMCommunicate request_size=4 [17:51:21]MH_SAM_APDU [17:51:21]CAPDU: 80 0D 03 02 [17:51:21]Write to MH i2c: E2 08 00 51 50 80 0D 03 02 00 00 00 00 1C [17:51:21]Write i2c OK [17:51:21]MH_I2C_Read... [17:51:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:51:21]Read from MH i2c: E2 [17:51:21]MH_I2C_Read... [17:51:21]Read from MH i2c: E2 0B 00 [17:51:21]MH_I2C_Read... [17:51:21]Read from MH i2c: E2 0B 00 51 50 00 41 E5 CF D3 06 13 C8 07 90 00 CD [17:51:21]RAPDU: 41 E5 CF D3 06 13 C8 07 90 00 [17:51:21]wFMCommunicate OK [17:51:21]SAM_PROTO_SignData done [17:51:21]FM_MakeSignedData done [17:51:21]CreateOFDProtocolMessage [17:51:21]wFMCommunicate request_size=4 [17:51:21]MH_SAM_APDU [17:51:21]CAPDU: 80 11 00 00 [17:51:21]Write to MH i2c: E2 08 00 52 50 80 11 00 00 00 00 00 00 1C [17:51:21]Write i2c OK [17:51:21]MH_I2C_Read... [17:51:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:51:21]Read from MH i2c: E2 [17:51:21]MH_I2C_Read... [17:51:21]Read from MH i2c: E2 17 00 [17:51:21]MH_I2C_Read... [17:51:21]Read from MH i2c: E2 17 00 52 50 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 64 [17:51:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [17:51:21]wFMCommunicate OK [17:51:21]CreateOFDProtocolMessage done [17:51:21]OFDSenderStorePacket 2588 [17:51:21]StoreOFDPacket docnum=2588 [17:51:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 E2 02 00 00 DD 43 DA 02 B4 06 5A 03 01 00 03 00 CE 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 30 38 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 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 D1 8B 20 31 2C 32 D0 BB 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 08 B6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 53 13 00 00 00 00 07 04 06 00 08 B6 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 A2 F1 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1C 0A 00 00 35 04 06 00 35 1A 7B 7B A1 63 41 E5 CF D3 06 13 C8 07 [17:51:22]CheckFolder [17:51:22]dirname=/storage/ofd_packets [17:51:22]CheckFolder done [17:51:22]ProducePacketName [17:51:22]name=ofd_packets/00002588 [17:51:22]NVStorageSaveData ofd_packets/00002588 [17:51:22]File name is /storage/ofd_packets/00002588 [17:51:22]Write 768 bytes [17:51:22]NVStorageSaveData done [17:51:22]OFDSenderStorePacket done [17:51:22]KKMCreateOFDPacket done [17:51:22]NVStorageSaveData kkm_last_timestamp [17:51:22]File name is /storage/kkm_last_timestamp [17:51:22]Write 4 bytes [17:51:22]NVStorageSaveData done [17:51:22]ExternCall_PrintAddStr [17:51:22]wPrintStart [17:51:22]Write to MH i2c: 01 00 00 53 50 A3 [17:51:22]Write i2c OK [17:51:22]MH_I2C_Read... [17:51:22]Read from MH i2c: 01 [17:51:22]MH_I2C_Read... [17:51:22]Read from MH i2c: 01 07 00 [17:51:22]MH_I2C_Read... [17:51:22]Read from MH i2c: 01 07 00 53 50 00 00 00 00 00 FF 0F B8 [17:51:22]RasterBufferAndPrint [17:51:22]line Счет N : (3)99966 [17:51:22]line ИНН: 02508201610067 [17:51:22]line Контрольно-Кассовый Чек [17:51:22]line ПРОДАЖА [17:51:22]line Товар: 2000031750019 [17:51:22]line Пакет Партнер Нефть [17:51:22]line 1.000 * 4.00 [17:51:22]line = 4.00 [17:51:22]line НДС 12% НСП 1% [17:51:22]line > о реализуемом товаре [17:51:22]line Товар: 48743570 [17:51:22]line Сигареты Winston XStyle Blue [17:51:22]line 1.000 * 144.00 [17:51:22]line = 144.00 [17:51:22]line НДС 12% НСП 1% [17:51:22]line > о реализуемом товаре [17:51:22]line Товар: 4870202522008 [17:51:22]line Напиток Maxi Чай Грушевый 0,45л [17:51:22]line 1.000 * 70.00 [17:51:22]line = 70.00 [17:51:22]line НДС 12% НСП 1% [17:51:22]line > о реализуемом товаре [17:51:22]line Товар: 48747059 [17:51:22]line Сигареты Winston Legend Blue [17:51:22]line 1.000 * 144.00 [17:51:22]line = 144.00 [17:51:22]line НДС 12% НСП 1% [17:51:22]line > о реализуемом товаре [17:51:22]line Товар: 4870202521292 [17:51:22]line Напиток Сок березы 1,2л [17:51:22]line 1.000 * 104.00 [17:51:22]line = 104.00 [17:51:22]line НДС 12% НСП 1% [17:51:22]line > о реализуемом товаре [17:51:22]line ИТОГО: 466.00 [17:51:22]line НСП 1% : 4.11 [17:51:22]line НДС 12% : 49.47 [17:51:22]line Наличными: 466.00 [17:51:22]line Безнал.: 0.00 [17:51:22]line Место: АЗС № 162 "Партнер Нефть" [17:51:22]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [17:51:22]line СНО: Общий режим [17:51:22]line Чек 49 19.10.2024 17:51 [17:51:22]line Смена: 23 ФФД: 1.0 [17:51:22]line ЗНМ: 0300000191 [17:51:22]line РНМ: 0000000000207295 [17:51:22]line Версия ККМ: v1.0 [17:51:22]line ФМ: 0000000002342820 [17:51:22]line ФД: 2588 [17:51:22]line ФПД: 58387857121635 [17:51:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T175130&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2588&fm=58387857121635&tin=02508201610067®Number=0000000000207295&sum=46600 [17:51:22]line 0 [17:51:22]written 0, free lines is 4095 [17:51:22]OFD Sender: Processing packet 2588 [packets to send 1, broken 0] [17:51:22]ProducePacketName [17:51:22]name=ofd_packets/00002588 [17:51:22]OFD Sender: To server: pG, [17:51:22]CommunicateWithHost lk.salyk.kg:30040 [17:51:22]ConnectInit lk.salyk.kg [17:51:22]Connected sock=10 [17:51:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 E2 02 00 00 DD 43 DA 02 B4 06 5A 03 01 00 03 00 CE 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 30 38 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 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 D1 8B 20 31 2C 32 D0 BB 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 08 B6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 53 13 00 00 00 00 07 04 06 00 08 B6 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 A2 F1 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1C 0A 00 00 35 04 06 00 35 1A 7B 7B A1 63 41 E5 CF D3 06 13 C8 07 [17:51:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 6B 36 47 00 93 14 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1C 0A 00 00 F4 03 04 00 03 9D 13 67 B6 04 01 00 00 F3 BE FE 32 F1 67 B8 7A [17:51:22]CommunicateWithHost err = 0 [17:51:22]CheckOFDResponse [17:51:22]1017 (14) - 77093643461234 [17:51:22]1041 (16) - 0000000002342820 [17:51:22]1040 (4) - 2588 [17:51:22]1012 (4) - 19.10.2024 11:50 [17:51:22]1206 (1) - 0 [17:51:22]OFD Sender: Remove packet 2588 [17:51:22]ProducePacketName [17:51:22]name=ofd_packets/00002588 [17:51:22]NVStorageDeleteData [17:51:22]Write to MH i2c: 01 00 00 95 50 E5 [17:51:22]Write i2c OK [17:51:22]MH_I2C_Read... [17:51:22]Read from MH i2c: 01 [17:51:22]MH_I2C_Read... [17:51:22]Read from MH i2c: 01 07 00 [17:51:22]MH_I2C_Read... [17:51:22]Read from MH i2c: 01 07 00 95 50 00 00 00 00 00 23 0B 1A [17:51:22]RasterBufferAndPrint [17:51:22]line [17:51:22]line [17:51:22]line [17:51:22]line [17:51:22]line [17:51:22]written 0, free lines is 2861 [17:51:22]MH_Cut [17:51:22]Write to MH i2c: D1 01 00 9C 50 01 BE [17:51:22]Write i2c OK [17:51:22]MH_I2C_Read... [17:51:22]Read from MH i2c: D1 [17:51:22]MH_I2C_Read... [17:51:22]Read from MH i2c: D1 01 00 [17:51:22]MH_I2C_Read... [17:51:22]Read from MH i2c: D1 01 00 9C 50 00 BD [17:51:22]Write to MH i2c: 01 00 00 9D 50 ED [17:51:22]Write i2c OK [17:51:22]MH_I2C_Read... [17:51:23]OFD Sender: No OFD packet to send [17:51:24]*** Cut start [17:51:24]*** Partial cut [17:51:24]*** CUTSNS_PIN = 1 [17:51:24]*** CUTSNS_PIN = 0 [17:51:24]*** Brake cut motor [17:51:24]Read from MH i2c: 01 [17:51:24]MH_I2C_Read... [17:51:24]*** Stop cut motor [17:51:24]*** Cut end [17:51:24]Read from MH i2c: 01 07 00 [17:51:24]MH_I2C_Read... [17:51:24]Read from MH i2c: 01 07 00 9D 50 00 00 00 00 00 FF 0F 02 [17:51:24]process_action close_receipt done [17:51:24]requested_data is exist [17:51:24]produce_requested_data [17:51:24]requested_item fm.sn is exist - process it [17:51:24]wFMCommunicate request_size=4 [17:51:24]MH_SAM_APDU [17:51:24]CAPDU: 80 11 00 00 [17:51:24]Write to MH i2c: E2 08 00 9E 50 80 11 00 00 00 00 00 00 68 [17:51:24]Write i2c OK [17:51:24]MH_I2C_Read... [17:51:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:51:24]Read from MH i2c: E2 [17:51:24]MH_I2C_Read... [17:51:24]Read from MH i2c: E2 17 00 [17:51:24]MH_I2C_Read... [17:51:24]Read from MH i2c: E2 17 00 9E 50 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B0 [17:51:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [17:51:24]wFMCommunicate OK [17:51:24]requested_item fd.num is exist - process it [17:51:24]SAM_PROTO_GetFieldsCounters [17:51:24]wFMCommunicate request_size=4 [17:51:24]MH_SAM_APDU [17:51:24]CAPDU: 80 13 00 00 [17:51:24]Write to MH i2c: E2 08 00 9F 50 80 13 00 00 00 00 00 00 6B [17:51:24]Write i2c OK [17:51:24]MH_I2C_Read... [17:51:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:51:24]Read from MH i2c: E2 [17:51:24]MH_I2C_Read... [17:51:24]Read from MH i2c: E2 62 00 [17:51:24]MH_I2C_Read... [17:51:24]Read from MH i2c: E2 62 00 9F 50 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 1C 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 51 [17:51:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 1C 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:51:24]wFMCommunicate OK [17:51:24]SAM_PROTO_GetFieldsCounters done [17:51:24]requested_item shift.num is exist - process it [17:51:24]requested_item shift.opened is exist - process it [17:51:24]req_shift_opened [17:51:24]FM_GetShiftState [17:51:24]SAM_PROTO_GetShiftState [17:51:24]wFMCommunicate request_size=4 [17:51:24]MH_SAM_APDU [17:51:24]CAPDU: 80 13 01 00 [17:51:24]Write to MH i2c: E2 08 00 A0 50 80 13 01 00 00 00 00 00 6D [17:51:24]Write i2c OK [17:51:24]MH_I2C_Read... [17:51:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:51:24]Read from MH i2c: E2 [17:51:24]MH_I2C_Read... [17:51:24]Read from MH i2c: E2 0E 00 [17:51:24]MH_I2C_Read... [17:51:24]Read from MH i2c: E2 0E 00 A0 50 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 16 [17:51:24]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [17:51:24]wFMCommunicate OK [17:51:24]SAM_PROTO_GetShiftState done [17:51:24]FM_GetShiftState done [17:51:24]req_shift_opened done [17:51:24]requested_item shift.open_date is exist - process it [17:51:24]req_shift_open_date [17:51:24]req_shift_open_date done [17:51:24]produce_requested_data done [17:51:24]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2588,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [17:51:24]process_action_free close_receipt [17:51:24]json_value_free [17:51:24]json_value_free done [17:51:24]process_json_proto returns [17:51:24]Send response to host [17:51:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2588,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [17:51:24]free response buf [17:51:24]execute_script done [17:51:24]execute_script returns [17:51:24]free content buf [17:51:24]Sock 7.Close socket [17:51:24]Sock 7.Thread stoped [17:51:28]OFD Sender: No OFD packet to send [17:51:33]OFD Sender: No OFD packet to send [17:51:38]OFD Sender: No OFD packet to send [17:51:43]OFD Sender: No OFD packet to send [17:51:48]OFD Sender: No OFD packet to send [17:51:53]OFD Sender: No OFD packet to send [17:51:58]OFD Sender: No OFD packet to send [17:52:03]OFD Sender: No OFD packet to send [17:52:08]OFD Sender: No OFD packet to send [17:52:13]OFD Sender: No OFD packet to send [17:52:18]OFD Sender: No OFD packet to send [17:52:23]OFD Sender: No OFD packet to send [17:52:28]OFD Sender: No OFD packet to send [17:52:33]OFD Sender: No OFD packet to send [17:52:38]OFD Sender: No OFD packet to send [17:52:43]OFD Sender: No OFD packet to send [17:52:48]OFD Sender: No OFD packet to send [17:52:53]OFD Sender: No OFD packet to send [17:52:58]OFD Sender: No OFD packet to send [17:53:03]OFD Sender: No OFD packet to send [17:53:08]OFD Sender: No OFD packet to send [17:53:13]OFD Sender: No OFD packet to send [17:53:18]OFD Sender: No OFD packet to send [17:53:23]OFD Sender: No OFD packet to send [17:53:28]OFD Sender: No OFD packet to send [17:53:33]OFD Sender: No OFD packet to send [17:53:38]OFD Sender: No OFD packet to send [17:53:43]OFD Sender: No OFD packet to send [17:53:48]OFD Sender: No OFD packet to send [17:53:53]OFD Sender: No OFD packet to send [17:53:58]OFD Sender: No OFD packet to send [17:54:03]OFD Sender: No OFD packet to send [17:54:08]OFD Sender: No OFD packet to send [17:54:13]OFD Sender: No OFD packet to send [17:54:18]OFD Sender: No OFD packet to send [17:54:23]OFD Sender: No OFD packet to send [17:54:28]OFD Sender: No OFD packet to send [17:54:33]OFD Sender: No OFD packet to send [17:54:38]OFD Sender: No OFD packet to send [17:54:43]OFD Sender: No OFD packet to send [17:54:48]OFD Sender: No OFD packet to send [17:54:53]OFD Sender: No OFD packet to send [17:54:58]OFD Sender: No OFD packet to send [17:55:03]OFD Sender: No OFD packet to send [17:55:08]OFD Sender: No OFD packet to send [17:55:13]OFD Sender: No OFD packet to send [17:55:18]OFD Sender: No OFD packet to send [17:55:23]OFD Sender: No OFD packet to send [17:55:28]OFD Sender: No OFD packet to send [17:55:33]OFD Sender: No OFD packet to send [17:55:38]OFD Sender: No OFD packet to send [17:55:43]OFD Sender: No OFD packet to send [17:55:48]OFD Sender: No OFD packet to send [17:55:53]OFD Sender: No OFD packet to send [17:55:58]OFD Sender: No OFD packet to send [17:56:03]OFD Sender: No OFD packet to send [17:56:08]OFD Sender: No OFD packet to send [17:56:13]OFD Sender: No OFD packet to send [17:56:18]OFD Sender: No OFD packet to send [17:56:23]OFD Sender: No OFD packet to send [17:56:28]OFD Sender: No OFD packet to send [17:56:33]OFD Sender: No OFD packet to send [17:56:38]OFD Sender: No OFD packet to send [17:56:43]OFD Sender: No OFD packet to send [17:56:48]OFD Sender: No OFD packet to send [17:56:53]OFD Sender: No OFD packet to send [17:56:58]OFD Sender: No OFD packet to send [17:57:03]OFD Sender: No OFD packet to send [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:33]OFD Sender: No OFD packet to send [18:00:38]OFD Sender: No OFD packet to send [18:00:43]OFD Sender: No OFD packet to send [18:00:48]OFD Sender: No OFD packet to send [18:00:53]OFD Sender: No OFD packet to send [18:00:58]OFD Sender: No OFD packet to send [18:01:03]OFD Sender: No OFD packet to send [18:01:08]OFD Sender: No OFD packet to send [18:01:13]OFD Sender: No OFD packet to send [18:01:18]OFD Sender: No OFD packet to send [18:01:23]OFD Sender: No OFD packet to send [18:01:28]OFD Sender: No OFD packet to send [18:01:33]OFD Sender: No OFD packet to send [18:01:38]OFD Sender: No OFD packet to send [18:01:43]OFD Sender: No OFD packet to send [18:01:48]OFD Sender: No OFD packet to send [18:01:53]OFD Sender: No OFD packet to send [18:01:58]OFD Sender: No OFD packet to send [18:02:03]OFD Sender: No OFD packet to send [18:02:08]OFD Sender: No OFD packet to send [18:02:13]OFD Sender: No OFD packet to send [18:02:18]OFD Sender: No OFD packet to send [18:02:23]OFD Sender: No OFD packet to send [18:02:28]OFD Sender: No OFD packet to send [18:02:33]OFD Sender: No OFD packet to send [18:02:38]OFD Sender: No OFD packet to send [18:02:43]OFD Sender: No OFD packet to send [18:02:48]OFD Sender: No OFD packet to send [18:02:53]OFD Sender: No OFD packet to send [18:02:58]OFD Sender: No OFD packet to send [18:03:03]OFD Sender: No OFD packet to send [18:03:08]OFD Sender: No OFD packet to send [18:03:13]OFD Sender: No OFD packet to send [18:03:18]OFD Sender: No OFD packet to send [18:03:23]OFD Sender: No OFD packet to send [18:03:28]OFD Sender: No OFD packet to send [18:03:33]OFD Sender: No OFD packet to send [18:03:38]OFD Sender: No OFD packet to send [18:03:43]OFD Sender: No OFD packet to send [18:03:48]OFD Sender: No OFD packet to send [18:03:53]OFD Sender: No OFD packet to send [18:03:58]OFD Sender: No OFD packet to send [18:04:03]OFD Sender: No OFD packet to send [18:04:08]OFD Sender: No OFD packet to send [18:04:13]OFD Sender: No OFD packet to send [18:04:18]OFD Sender: No OFD packet to send [18:04:23]OFD Sender: No OFD packet to send [18:04:28]OFD Sender: No OFD packet to send [18:04:33]OFD Sender: No OFD packet to send [18:04:38]OFD Sender: No OFD packet to send [18:04:43]OFD Sender: No OFD packet to send [18:04:48]OFD Sender: No OFD packet to send [18:04:53]OFD Sender: No OFD packet to send [18:04:58]OFD Sender: No OFD packet to send [18:05:03]OFD Sender: No OFD packet to send [18:05:08]OFD Sender: No OFD packet to send [18:05:13]OFD Sender: No OFD packet to send [18:05:18]OFD Sender: No OFD packet to send [18:05:23]OFD Sender: No OFD packet to send [18:05:28]OFD Sender: No OFD packet to send [18:05:33]OFD Sender: No OFD packet to send [18:05:38]OFD Sender: No OFD packet to send [18:05:43]OFD Sender: No OFD packet to send [18:05:48]OFD Sender: No OFD packet to send [18:05:53]OFD Sender: No OFD packet to send [18:05:58]OFD Sender: No OFD packet to send [18:06:03]OFD Sender: No OFD packet to send [18:06:08]OFD Sender: No OFD packet to send [18:06:13]OFD Sender: No OFD packet to send [18:06:18]OFD Sender: No OFD packet to send [18:06:23]OFD Sender: No OFD packet to send [18:06:28]OFD Sender: No OFD packet to send [18:06:33]OFD Sender: No OFD packet to send [18:06:38]OFD Sender: No OFD packet to send [18:06:43]OFD Sender: No OFD packet to send [18:06:48]OFD Sender: No OFD packet to send [18:06:53]OFD Sender: No OFD packet to send [18:06:58]OFD Sender: No OFD packet to send [18:07:03]OFD Sender: No OFD packet to send [18:07:08]OFD Sender: No OFD packet to send [18:07:13]OFD Sender: No OFD packet to send [18:07:18]OFD Sender: No OFD packet to send [18:07:23]OFD Sender: No OFD packet to send [18:07:28]OFD Sender: No OFD packet to send [18:07:33]OFD Sender: No OFD packet to send [18:07:38]OFD Sender: No OFD packet to send [18:07:43]OFD Sender: No OFD packet to send [18:07:48]OFD Sender: No OFD packet to send [18:07:53]OFD Sender: No OFD packet to send [18:07:58]OFD Sender: No OFD packet to send [18:08:03]OFD Sender: No OFD packet to send [18:08:08]OFD Sender: No OFD packet to send [18:08:13]OFD Sender: No OFD packet to send [18:08:18]OFD Sender: No OFD packet to send [18:08:23]OFD Sender: No OFD packet to send [18:08:28]OFD Sender: No OFD packet to send [18:08:33]OFD Sender: No OFD packet to send [18:08:38]OFD Sender: No OFD packet to send [18:08:43]OFD Sender: No OFD packet to send [18:08:48]OFD Sender: No OFD packet to send [18:08:53]OFD Sender: No OFD packet to send [18:08:58]OFD Sender: No OFD packet to send [18:09:03]OFD Sender: No OFD packet to send [18:09:08]OFD Sender: No OFD packet to send [18:09:13]OFD Sender: No OFD packet to send [18:09:18]OFD Sender: No OFD packet to send [18:09:23]OFD Sender: No OFD packet to send [18:09:28]OFD Sender: No OFD packet to send [18:09:33]OFD Sender: No OFD packet to send [18:09:38]OFD Sender: No OFD packet to send [18:09:43]OFD Sender: No OFD packet to send [18:09:48]OFD Sender: No OFD packet to send [18:09:53]OFD Sender: No OFD packet to send [18:09:58]OFD Sender: No OFD packet to send [18:10:03]OFD Sender: No OFD packet to send [18:10:08]OFD Sender: No OFD packet to send [18:10:13]OFD Sender: No OFD packet to send [18:10:18]OFD Sender: No OFD packet to send [18:10:23]OFD Sender: No OFD packet to send [18:10:28]OFD Sender: No OFD packet to send [18:10:33]OFD Sender: No OFD packet to send [18:10:38]OFD Sender: No OFD packet to send [18:10:43]OFD Sender: No OFD packet to send [18:10:48]OFD Sender: No OFD packet to send [18:10:53]OFD Sender: No OFD packet to send [18:10:58]OFD Sender: No OFD packet to send [18:11:03]OFD Sender: No OFD packet to send [18:11:08]OFD Sender: No OFD packet to send [18:11:13]OFD Sender: No OFD packet to send [18:11:18]OFD Sender: No OFD packet to send [18:11:23]OFD Sender: No OFD packet to send [18:11:28]OFD Sender: No OFD packet to send [18:11:33]OFD Sender: No OFD packet to send [18:11:38]OFD Sender: No OFD packet to send [18:11:43]OFD Sender: No OFD packet to send [18:11:48]OFD Sender: No OFD packet to send [18:11:53]OFD Sender: No OFD packet to send [18:11:58]OFD Sender: No OFD packet to send [18:12:03]OFD Sender: No OFD packet to send [18:12:09]OFD Sender: No OFD packet to send [18:12:14]OFD Sender: No OFD packet to send [18:12:19]OFD Sender: No OFD packet to send [18:12:24]OFD Sender: No OFD packet to send [18:12:29]OFD Sender: No OFD packet to send [18:12:34]OFD Sender: No OFD packet to send [18:12:39]OFD Sender: No OFD packet to send [18:12:44]OFD Sender: No OFD packet to send [18:12:49]OFD Sender: No OFD packet to send [18:12:54]OFD Sender: No OFD packet to send [18:12:59]OFD Sender: No OFD packet to send [18:13:04]OFD Sender: No OFD packet to send [18:13:09]OFD Sender: No OFD packet to send [18:13:14]OFD Sender: No OFD packet to send [18:13:19]OFD Sender: No OFD packet to send [18:13:24]OFD Sender: No OFD packet to send [18:13:29]OFD Sender: No OFD packet to send [18:13:34]OFD Sender: No OFD packet to send [18:13:39]OFD Sender: No OFD packet to send [18:13:44]OFD Sender: No OFD packet to send [18:13:49]OFD Sender: No OFD packet to send [18:13:54]OFD Sender: No OFD packet to send [18:13:59]OFD Sender: No OFD packet to send [18:14:04]OFD Sender: No OFD packet to send [18:14:09]OFD Sender: No OFD packet to send [18:14:14]OFD Sender: No OFD packet to send [18:14:19]OFD Sender: No OFD packet to send [18:14:24]OFD Sender: No OFD packet to send [18:14:29]OFD Sender: No OFD packet to send [18:14:34]OFD Sender: No OFD packet to send [18:14:39]OFD Sender: No OFD packet to send [18:14:44]OFD Sender: No OFD packet to send [18:14:49]OFD Sender: No OFD packet to send [18:14:54]OFD Sender: No OFD packet to send [18:14:59]OFD Sender: No OFD packet to send [18:15:04]OFD Sender: No OFD packet to send [18:15:09]OFD Sender: No OFD packet to send [18:15:14]OFD Sender: No OFD packet to send [18:15:19]OFD Sender: No OFD packet to send [18:15:24]OFD Sender: No OFD packet to send [18:15:29]OFD Sender: No OFD packet to send [18:15:34]OFD Sender: No OFD packet to send [18:15:39]OFD Sender: No OFD packet to send [18:15:44]OFD Sender: No OFD packet to send [18:15:49]OFD Sender: No OFD packet to send [18:15:54]OFD Sender: No OFD packet to send [18:15:59]OFD Sender: No OFD packet to send [18:16:04]OFD Sender: No OFD packet to send [18:16:09]OFD Sender: No OFD packet to send [18:16:14]OFD Sender: No OFD packet to send [18:16:19]OFD Sender: No OFD packet to send [18:16:24]OFD Sender: No OFD packet to send [18:16:29]OFD Sender: No OFD packet to send [18:16:34]OFD Sender: No OFD packet to send [18:16:39]OFD Sender: No OFD packet to send [18:16:44]OFD Sender: No OFD packet to send [18:16:49]OFD Sender: No OFD packet to send [18:16:54]OFD Sender: No OFD packet to send [18:16:59]OFD Sender: No OFD packet to send [18:17:04]OFD Sender: No OFD packet to send [18:17:09]OFD Sender: No OFD packet to send [18:17:14]OFD Sender: No OFD packet to send [18:17:19]OFD Sender: No OFD packet to send [18:17:24]OFD Sender: No OFD packet to send [18:17:29]OFD Sender: No OFD packet to send [18:17:34]OFD Sender: No OFD packet to send [18:17:39]OFD Sender: No OFD packet to send [18:17:44]OFD Sender: No OFD packet to send [18:17:49]OFD Sender: No OFD packet to send [18:17:54]OFD Sender: No OFD packet to send [18:17:59]OFD Sender: No OFD packet to send [18:18:04]OFD Sender: No OFD packet to send [18:18:09]OFD Sender: No OFD packet to send [18:18:14]OFD Sender: No OFD packet to send [18:18:19]OFD Sender: No OFD packet to send [18:18:24]OFD Sender: No OFD packet to send [18:18:29]OFD Sender: No OFD packet to send [18:18:34]OFD Sender: No OFD packet to send [18:18:39]OFD Sender: No OFD packet to send [18:18:44]OFD Sender: No OFD packet to send [18:18:49]OFD Sender: No OFD packet to send [18:18:54]OFD Sender: No OFD packet to send [18:18:59]OFD Sender: No OFD packet to send [18:19:04]OFD Sender: No OFD packet to send [18:19:09]OFD Sender: No OFD packet to send [18:19:14]OFD Sender: No OFD packet to send [18:19:19]OFD Sender: No OFD packet to send [18:19:24]OFD Sender: No OFD packet to send [18:19:29]OFD Sender: No OFD packet to send [18:19:34]OFD Sender: No OFD packet to send [18:19:39]OFD Sender: No OFD packet to send [18:19:44]OFD Sender: No OFD packet to send [18:19:49]OFD Sender: No OFD packet to send [18:19:54]OFD Sender: No OFD packet to send [18:19:59]OFD Sender: No OFD packet to send [18:20:04]OFD Sender: No OFD packet to send [18:20:09]OFD Sender: No OFD packet to send [18:20:14]OFD Sender: No OFD packet to send [18:20:19]OFD Sender: No OFD packet to send [18:20:24]OFD Sender: No OFD packet to send [18:20:29]OFD Sender: No OFD packet to send [18:20:34]OFD Sender: No OFD packet to send [18:20:39]OFD Sender: No OFD packet to send [18:20:44]OFD Sender: No OFD packet to send [18:20:49]OFD Sender: No OFD packet to send [18:20:54]OFD Sender: No OFD packet to send [18:20:59]OFD Sender: No OFD packet to send [18:21:04]OFD Sender: No OFD packet to send [18:21:09]OFD Sender: No OFD packet to send [18:21:14]OFD Sender: No OFD packet to send [18:21:19]OFD Sender: No OFD packet to send [18:21:24]OFD Sender: No OFD packet to send [18:21:29]OFD Sender: No OFD packet to send [18:21:34]OFD Sender: No OFD packet to send [18:21:39]OFD Sender: No OFD packet to send [18:21:44]OFD Sender: No OFD packet to send [18:21:49]OFD Sender: No OFD packet to send [18:21:54]OFD Sender: No OFD packet to send [18:21:59]OFD Sender: No OFD packet to send [18:22:04]OFD Sender: No OFD packet to send [18:22:09]OFD Sender: No OFD packet to send [18:22:14]OFD Sender: No OFD packet to send [18:22:19]OFD Sender: No OFD packet to send [18:22:24]OFD Sender: No OFD packet to send [18:22:29]OFD Sender: No OFD packet to send [18:22:34]OFD Sender: No OFD packet to send [18:22:39]OFD Sender: No OFD packet to send [18:22:44]OFD Sender: No OFD packet to send [18:22:49]OFD Sender: No OFD packet to send [18:22:54]OFD Sender: No OFD packet to send [18:22:59]OFD Sender: No OFD packet to send [18:23:04]OFD Sender: No OFD packet to send [18:23:09]OFD Sender: No OFD packet to send [18:23:14]OFD Sender: No OFD packet to send [18:23:19]OFD Sender: No OFD packet to send [18:23:24]OFD Sender: No OFD packet to send [18:23:29]OFD Sender: No OFD packet to send [18:23:34]OFD Sender: No OFD packet to send [18:23:39]OFD Sender: No OFD packet to send [18:23:44]OFD Sender: No OFD packet to send [18:23:49]OFD Sender: No OFD packet to send [18:23:54]OFD Sender: No OFD packet to send [18:23:59]OFD Sender: No OFD packet to send [18:24:04]OFD Sender: No OFD packet to send [18:24:09]OFD Sender: No OFD packet to send [18:24:14]OFD Sender: No OFD packet to send [18:24:19]OFD Sender: No OFD packet to send [18:24:24]OFD Sender: No OFD packet to send [18:24:29]OFD Sender: No OFD packet to send [18:24:34]OFD Sender: No OFD packet to send [18:24:39]OFD Sender: No OFD packet to send [18:24:44]OFD Sender: No OFD packet to send [18:24:49]OFD Sender: No OFD packet to send [18:24:54]OFD Sender: No OFD packet to send [18:24:59]OFD Sender: No OFD packet to send [18:25:04]OFD Sender: No OFD packet to send [18:25:09]OFD Sender: No OFD packet to send [18:25:14]OFD Sender: No OFD packet to send [18:25:19]OFD Sender: No OFD packet to send [18:25:24]OFD Sender: No OFD packet to send [18:25:29]OFD Sender: No OFD packet to send [18:25:34]OFD Sender: No OFD packet to send [18:25:39]OFD Sender: No OFD packet to send [18:25:44]OFD Sender: No OFD packet to send [18:25:49]OFD Sender: No OFD packet to send [18:25:54]OFD Sender: No OFD packet to send [18:25:59]OFD Sender: No OFD packet to send [18:26:04]OFD Sender: No OFD packet to send [18:26:09]OFD Sender: No OFD packet to send [18:26:14]OFD Sender: No OFD packet to send [18:26:19]OFD Sender: No OFD packet to send [18:26:24]OFD Sender: No OFD packet to send [18:26:29]OFD Sender: No OFD packet to send [18:26:34]OFD Sender: No OFD packet to send [18:26:39]OFD Sender: No OFD packet to send [18:26:44]OFD Sender: No OFD packet to send [18:26:49]OFD Sender: No OFD packet to send [18:26:54]OFD Sender: No OFD packet to send [18:26:59]OFD Sender: No OFD packet to send [18:27:04]OFD Sender: No OFD packet to send [18:27:09]OFD Sender: No OFD packet to send [18:27:14]OFD Sender: No OFD packet to send [18:27:19]OFD Sender: No OFD packet to send [18:27:24]OFD Sender: No OFD packet to send [18:27:29]OFD Sender: No OFD packet to send [18:27:34]OFD Sender: No OFD packet to send [18:27:39]OFD Sender: No OFD packet to send [18:27:44]OFD Sender: No OFD packet to send [18:27:49]OFD Sender: No OFD packet to send [18:27:54]OFD Sender: No OFD packet to send [18:27:59]OFD Sender: No OFD packet to send [18:28:04]OFD Sender: No OFD packet to send [18:28:09]OFD Sender: No OFD packet to send [18:28:14]OFD Sender: No OFD packet to send [18:28:19]OFD Sender: No OFD packet to send [18:28:24]OFD Sender: No OFD packet to send [18:28:29]OFD Sender: No OFD packet to send [18:28:34]OFD Sender: No OFD packet to send [18:28:39]OFD Sender: No OFD packet to send [18:28:44]OFD Sender: No OFD packet to send [18:28:49]OFD Sender: No OFD packet to send [18:28:54]OFD Sender: No OFD packet to send [18:28:59]OFD Sender: No OFD packet to send [18:29:04]OFD Sender: No OFD packet to send [18:29:09]OFD Sender: No OFD packet to send [18:29:14]OFD Sender: No OFD packet to send [18:29:19]OFD Sender: No OFD packet to send [18:29:24]OFD Sender: No OFD packet to send [18:29:29]OFD Sender: No OFD packet to send [18:29:34]OFD Sender: No OFD packet to send [18:29:39]OFD Sender: No OFD packet to send [18:29:44]OFD Sender: No OFD packet to send [18:29:49]OFD Sender: No OFD packet to send [18:29:54]OFD Sender: No OFD packet to send [18:29:59]OFD Sender: No OFD packet to send [18:30:04]OFD Sender: No OFD packet to send [18:30:09]OFD Sender: No OFD packet to send [18:30:14]OFD Sender: No OFD packet to send [18:30:19]OFD Sender: No OFD packet to send [18:30:24]OFD Sender: No OFD packet to send [18:30:29]OFD Sender: No OFD packet to send [18:30:34]OFD Sender: No OFD packet to send [18:30:39]OFD Sender: No OFD packet to send [18:30:44]accept exits with 9 [18:30:44]New connection [18:30:44]New thread 3066707300 created [18:30:44]Thread 3066850660 joined [18:30:44]Waiting for new connection... [18:30:44] Sock 9.Parse request [18:30:44]Sock 9.Check first char [18:30:44]Sock 9.First char is OK [18:30:44]request: POST /json_proto HTTP/1.0 [18:30:44]Method: POST [18:30:44]URL: /json_proto [18:30:44]Method is POST - this is cgi request [18:30:44]url: /json_proto [18:30:44]query_string will be loaded in cgi processing [18:30:44]execute_cgi json_proto POST (null) [18:30:44]execute_cgi path=json_proto method=POST [18:30:44]POST find Content-Length [18:30:44]Host: 172.17.52.132:8080 [18:30:44]Content-Length: 1245 [18:30:44]Content-Type: application/json [18:30:44] [18:30:44]POST finish read [18:30:44]Found Content-Length = 1245 [18:30:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99967", "tax_sys" : 0, "items" : [ { "code": "48742191", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Bond Street Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002085444", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 394.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:30:44]execute_script... [18:30: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)99967", "tax_sys" : 0, "items" : [ { "code": "48742191", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Bond Street Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002085444", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 394.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:30:44]POST & json_proto [18:30:44]process_json_proto [18:30:44]json parsed OK: [18:30:44]protocol is kg_v1.0 [18:30:44]action value=close_receipt [18:30:44]process_action close_receipt [18:30:44]cmd_close_receipt [18:30:44]MH_GetDate [18:30:44]Write to MH i2c: F0 00 00 A1 50 E0 [18:30:44]Write i2c OK [18:30:44]MH_I2C_Read... [18:30:44]Read from MH i2c: F0 [18:30:44]MH_I2C_Read... [18:30:44]Read from MH i2c: F0 09 00 [18:30:44]MH_I2C_Read... [18:30:44]Read from MH i2c: F0 09 00 A1 50 00 DF FA 13 67 5A BE F6 66 B0 [18:30:44]GetLastDocTimeStamp 1729360290 [18:30:44]current date 1729362655 [18:30:44]FM_GetShiftState [18:30:44]SAM_PROTO_GetShiftState [18:30:44]wFMCommunicate request_size=4 [18:30:44]MH_SAM_APDU [18:30:44]CAPDU: 80 13 01 00 [18:30:44]Write to MH i2c: E2 08 00 A2 50 80 13 01 00 00 00 00 00 6F [18:30:44]Write i2c OK [18:30:44]MH_I2C_Read... [18:30:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:30:44]Read from MH i2c: E2 [18:30:44]MH_I2C_Read... [18:30:44]Read from MH i2c: E2 0E 00 [18:30:44]MH_I2C_Read... [18:30:44]Read from MH i2c: E2 0E 00 A2 50 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 18 [18:30:44]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [18:30:44]wFMCommunicate OK [18:30:44]SAM_PROTO_GetShiftState done [18:30:44]FM_GetShiftState done [18:30:44]opened in 1729296173 [18:30:44]opened+sec_in_day 1729382573 [18:30:44]quantity*price = 13400 [18:30:44]sum+1 = 13401 [18:30:44]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700002085444 Водка Белое золото 0,24л 1.000 * 200.00 = 200.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160792 Снек Курут классический (круглый) 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 394.00 НСП 1% : 3.49 НДС 12% : 41.84 Наличными: 394.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 50 19.10.2024 18:30 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2589 ФПД: 90404543662149 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T183055&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2589&fm=90404543662149&tin=02508201610067®Number=0000000000207295&sum=39400 0 [18:30:45]StoreToDocumentArchive [18:30:45]shift 23 fd 2589 [18:30:45]save to /storage/0023/doc_00002589 [18:30:45]save last doc name /storage/0023/doc_00002589 to /storage/kkm_last_doc_name [18:30:45]save OK [18:30:45]Clear old archive folders... [18:30:45]ProcessDocumentItem done err = 0, tmpTLVsize=516 [18:30:45]tlvbuf is B6EC1B70 [18:30:45]SAM_PROTO_ClearQueue [18:30:45]wFMCommunicate request_size=4 [18:30:45]MH_SAM_APDU [18:30:45]CAPDU: 80 09 00 00 [18:30:45]Write to MH i2c: E2 08 00 AF 50 80 09 00 00 00 00 00 00 71 [18:30:45]Write i2c OK [18:30:45]MH_I2C_Read... [18:30:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:30:45]Read from MH i2c: E2 [18:30:45]MH_I2C_Read... [18:30:45]Read from MH i2c: E2 03 00 [18:30:45]MH_I2C_Read... [18:30:45]Read from MH i2c: E2 03 00 AF 50 00 90 00 73 [18:30:45]RAPDU: 90 00 [18:30:45]wFMCommunicate OK [18:30:45]SAM_PROTO_ClearQueue done [18:30:45]KKMCreateOFDPacket [18:30:45]OFDProtocolAddRootSTLVToBuf [18:30:45]FM_MakeSignedData [18:30:45]FM_MakeSignedData [18:30:45]SAM_PROTO_SignData [18:30:45]wFMCommunicate request_size=4 [18:30:45]MH_SAM_APDU [18:30:45]CAPDU: 80 0D 01 02 [18:30:45]Write to MH i2c: E2 08 00 B0 50 80 0D 01 02 00 00 00 00 79 [18:30:45]Write i2c OK [18:30:45]MH_I2C_Read... [18:30:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:30:45]Read from MH i2c: E2 [18:30:45]MH_I2C_Read... [18:30:45]Read from MH i2c: E2 03 00 [18:30:45]MH_I2C_Read... [18:30:45]Read from MH i2c: E2 03 00 B0 50 00 90 00 74 [18:30:45]RAPDU: 90 00 [18:30:45]wFMCommunicate OK [18:30:45]wFMCommunicate request_size=255 [18:30:45]MH_SAM_APDU [18:30:45]CAPDU: 80 0D 02 02 FA 03 00 04 02 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 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 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 [18:30:46]Write to MH i2c: E2 02 01 B1 50 80 0D 02 02 FA 00 03 00 04 02 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 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 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 00 00 09 [18:30:46]Write i2c OK [18:30:46]MH_I2C_Read... [18:30:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:30:46]Read from MH i2c: E2 [18:30:46]MH_I2C_Read... [18:30:46]Read from MH i2c: E2 03 00 [18:30:46]MH_I2C_Read... [18:30:46]Read from MH i2c: E2 03 00 B1 50 00 90 00 75 [18:30:46]RAPDU: 90 00 [18:30:46]wFMCommunicate OK [18:30:46]wFMCommunicate request_size=255 [18:30:46]MH_SAM_APDU [18:30:46]CAPDU: 80 0D 02 02 FA BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 99 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 10 00 00 00 00 07 04 06 00 E8 99 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 DF FA 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 [18:30:46]Write to MH i2c: E2 02 01 B2 50 80 0D 02 02 FA 00 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 99 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 10 00 00 00 00 07 04 06 00 E8 99 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 DF FA 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 00 00 4B [18:30:46]Write i2c OK [18:30:46]MH_I2C_Read... [18:30:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:30:46]Read from MH i2c: E2 [18:30:46]MH_I2C_Read... [18:30:46]Read from MH i2c: E2 03 00 [18:30:46]MH_I2C_Read... [18:30:46]Read from MH i2c: E2 03 00 B2 50 00 90 00 76 [18:30:46]RAPDU: 90 00 [18:30:46]wFMCommunicate OK [18:30:46]wFMCommunicate request_size=25 [18:30:46]MH_SAM_APDU [18:30:46]CAPDU: 80 0D 02 02 14 32 30 10 04 04 00 1D 0A 00 00 35 04 06 00 52 38 F2 B6 08 45 [18:30:46]Write to MH i2c: E2 1C 00 B3 50 80 0D 02 02 14 00 32 30 10 04 04 00 1D 0A 00 00 35 04 06 00 52 38 F2 B6 08 45 00 00 04 [18:30:46]Write i2c OK [18:30:46]MH_I2C_Read... [18:30:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:30:46]Read from MH i2c: E2 [18:30:46]MH_I2C_Read... [18:30:46]Read from MH i2c: E2 03 00 [18:30:46]MH_I2C_Read... [18:30:46]Read from MH i2c: E2 03 00 B3 50 00 90 00 77 [18:30:46]RAPDU: 90 00 [18:30:46]wFMCommunicate OK [18:30:46]wFMCommunicate request_size=4 [18:30:46]MH_SAM_APDU [18:30:46]CAPDU: 80 0D 03 02 [18:30:46]Write to MH i2c: E2 08 00 B4 50 80 0D 03 02 00 00 00 00 7F [18:30:46]Write i2c OK [18:30:46]MH_I2C_Read... [18:30:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:30:46]Read from MH i2c: E2 [18:30:46]MH_I2C_Read... [18:30:46]Read from MH i2c: E2 0B 00 [18:30:46]MH_I2C_Read... [18:30:46]Read from MH i2c: E2 0B 00 B4 50 00 53 80 EF BF BA C2 AF 50 90 00 7C [18:30:46]RAPDU: 53 80 EF BF BA C2 AF 50 90 00 [18:30:46]wFMCommunicate OK [18:30:46]SAM_PROTO_SignData done [18:30:46]FM_MakeSignedData done [18:30:46]CreateOFDProtocolMessage [18:30:46]wFMCommunicate request_size=4 [18:30:46]MH_SAM_APDU [18:30:46]CAPDU: 80 11 00 00 [18:30:46]Write to MH i2c: E2 08 00 B5 50 80 11 00 00 00 00 00 00 7F [18:30:46]Write i2c OK [18:30:46]MH_I2C_Read... [18:30:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:30:47]Read from MH i2c: E2 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: E2 17 00 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: E2 17 00 B5 50 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C7 [18:30:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:30:47]wFMCommunicate OK [18:30:47]CreateOFDProtocolMessage done [18:30:47]OFDSenderStorePacket 2589 [18:30:47]StoreOFDPacket docnum=2589 [18:30:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 18 02 00 00 2D 8F 10 02 99 F2 5A 03 01 00 03 00 04 02 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 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 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 99 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 10 00 00 00 00 07 04 06 00 E8 99 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 DF FA 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1D 0A 00 00 35 04 06 00 52 38 F2 B6 08 45 53 80 EF BF BA C2 AF 50 [18:30:47]CheckFolder [18:30:47]dirname=/storage/ofd_packets [18:30:47]CheckFolder done [18:30:47]ProducePacketName [18:30:47]name=ofd_packets/00002589 [18:30:47]NVStorageSaveData ofd_packets/00002589 [18:30:47]File name is /storage/ofd_packets/00002589 [18:30:47]Write 566 bytes [18:30:47]NVStorageSaveData done [18:30:47]OFDSenderStorePacket done [18:30:47]KKMCreateOFDPacket done [18:30:47]NVStorageSaveData kkm_last_timestamp [18:30:47]File name is /storage/kkm_last_timestamp [18:30:47]Write 4 bytes [18:30:47]NVStorageSaveData done [18:30:47]ExternCall_PrintAddStr [18:30:47]wPrintStart [18:30:47]Write to MH i2c: 01 00 00 B6 50 06 [18:30:47]Write i2c OK [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: 01 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: 01 07 00 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: 01 07 00 B6 50 00 00 00 00 00 FF 0F 1B [18:30:47]RasterBufferAndPrint [18:30:47]line Счет N : (3)99967 [18:30:47]line ИНН: 02508201610067 [18:30:47]line Контрольно-Кассовый Чек [18:30:47]line ПРОДАЖА [18:30:47]line Товар: 48742191 [18:30:47]line Сигареты Bond Street Blue [18:30:47]line 1.000 * 134.00 [18:30:47]line = 134.00 [18:30:47]line НДС 12% НСП 1% [18:30:47]line > о реализуемом товаре [18:30:47]line Товар: 4700002085444 [18:30:47]line Водка Белое золото 0,24л [18:30:47]line 1.000 * 200.00 [18:30:47]line = 200.00 [18:30:47]OFD Sender: Processing packet 2589 [packets to send 1, broken 0] [18:30:47]ProducePacketName [18:30:47]name=ofd_packets/00002589 [18:30:47]OFD Sender: To server: pG, [18:30:47]CommunicateWithHost lk.salyk.kg:30040 [18:30:47]ConnectInit lk.salyk.kg [18:30:47]line НДС 12% НСП 1% [18:30:47]line > о реализуемом товаре [18:30:47]line Товар: 4700000160792 [18:30:47]line Снек Курут классический (круглый) [18:30:47]line 1.000 * 60.00 [18:30:47]line = 60.00 [18:30:47]line НДС 12% НСП 1% [18:30:47]line > о реализуемом товаре [18:30:47]line ИТОГО: 394.00 [18:30:47]line НСП 1% : 3.49 [18:30:47]line НДС 12% : 41.84 [18:30:47]line Наличными: 394.00 [18:30:47]line Безнал.: 0.00 [18:30:47]line Место: АЗС № 162 "Партнер Нефть" [18:30:47]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [18:30:47]line СНО: Общий режим [18:30:47]line Чек 50 19.10.2024 18:30 [18:30:47]line Смена: 23 ФФД: 1.0 [18:30:47]line ЗНМ: 0300000191 [18:30:47]line РНМ: 0000000000207295 [18:30:47]line Версия ККМ: v1.0 [18:30:47]line ФМ: 0000000002342820 [18:30:47]line ФД: 2589 [18:30:47]line ФПД: 90404543662149 [18:30:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T183055&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2589&fm=90404543662149&tin=02508201610067®Number=0000000000207295&sum=39400 [18:30:47]line 0 [18:30:47]Connected sock=10 [18:30:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 18 02 00 00 2D 8F 10 02 99 F2 5A 03 01 00 03 00 04 02 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 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 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 99 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 10 00 00 00 00 07 04 06 00 E8 99 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 DF FA 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1D 0A 00 00 35 04 06 00 52 38 F2 B6 08 45 53 80 EF BF BA C2 AF 50 [18:30:47]written 0, free lines is 4095 [18:30:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 CE 8B 47 00 FB 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 32 33 34 32 38 32 30 10 04 04 00 1D 0A 00 00 F4 03 04 00 40 A6 13 67 B6 04 01 00 00 5D FD 80 BF E2 FB C1 9D [18:30:47]CommunicateWithHost err = 0 [18:30:47]CheckOFDResponse [18:30:47]1017 (14) - 77093643461234 [18:30:47]1041 (16) - 0000000002342820 [18:30:47]1040 (4) - 2589 [18:30:47]1012 (4) - 19.10.2024 12:29 [18:30:47]1206 (1) - 0 [18:30:47]OFD Sender: Remove packet 2589 [18:30:47]ProducePacketName [18:30:47]name=ofd_packets/00002589 [18:30:47]NVStorageDeleteData [18:30:47]Write to MH i2c: 01 00 00 EB 50 3B [18:30:48]Write i2c OK [18:30:48]MH_I2C_Read... [18:30:48]Read from MH i2c: 01 [18:30:48]MH_I2C_Read... [18:30:48]Read from MH i2c: 01 07 00 [18:30:48]MH_I2C_Read... [18:30:48]Read from MH i2c: 01 07 00 EB 50 00 00 00 00 00 0B 0C 59 [18:30:48]RasterBufferAndPrint [18:30:48]line [18:30:48]line [18:30:48]line [18:30:48]line [18:30:48]line [18:30:48]written 0, free lines is 3090 [18:30:48]MH_Cut [18:30:48]Write to MH i2c: D1 01 00 F2 50 01 14 [18:30:48]Write i2c OK [18:30:48]MH_I2C_Read... [18:30:48]Read from MH i2c: D1 [18:30:48]MH_I2C_Read... [18:30:48]Read from MH i2c: D1 01 00 [18:30:48]MH_I2C_Read... [18:30:48]Read from MH i2c: D1 01 00 F2 50 00 13 [18:30:48]Write to MH i2c: 01 00 00 F3 50 43 [18:30:48]Write i2c OK [18:30:48]MH_I2C_Read... [18:30:48]OFD Sender: No OFD packet to send [18:30:48]*** Cut start [18:30:48]*** Partial cut [18:30:48]*** CUTSNS_PIN = 1 [18:30:49]*** CUTSNS_PIN = 0 [18:30:49]*** Brake cut motor [18:30:49]Read from MH i2c: 01 [18:30:49]MH_I2C_Read... [18:30:49]*** Stop cut motor [18:30:49]*** Cut end [18:30:49]Read from MH i2c: 01 07 00 [18:30:49]MH_I2C_Read... [18:30:49]Read from MH i2c: 01 07 00 F3 50 00 00 00 00 00 FF 0F 58 [18:30:49]process_action close_receipt done [18:30:49]requested_data is exist [18:30:49]produce_requested_data [18:30:49]requested_item fm.sn is exist - process it [18:30:49]wFMCommunicate request_size=4 [18:30:49]MH_SAM_APDU [18:30:49]CAPDU: 80 11 00 00 [18:30:49]Write to MH i2c: E2 08 00 F4 50 80 11 00 00 00 00 00 00 BE [18:30:49]Write i2c OK [18:30:49]MH_I2C_Read... [18:30:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:30:49]Read from MH i2c: E2 [18:30:49]MH_I2C_Read... [18:30:49]Read from MH i2c: E2 17 00 [18:30:49]MH_I2C_Read... [18:30:49]Read from MH i2c: E2 17 00 F4 50 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 06 [18:30:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:30:49]wFMCommunicate OK [18:30:49]requested_item fd.num is exist - process it [18:30:49]SAM_PROTO_GetFieldsCounters [18:30:49]wFMCommunicate request_size=4 [18:30:49]MH_SAM_APDU [18:30:49]CAPDU: 80 13 00 00 [18:30:49]Write to MH i2c: E2 08 00 F5 50 80 13 00 00 00 00 00 00 C1 [18:30:49]Write i2c OK [18:30:49]MH_I2C_Read... [18:30:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:30:49]Read from MH i2c: E2 [18:30:49]MH_I2C_Read... [18:30:49]Read from MH i2c: E2 62 00 [18:30:49]MH_I2C_Read... [18:30:49]Read from MH i2c: E2 62 00 F5 50 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 1D 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 AB [18:30:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 1D 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:30:49]wFMCommunicate OK [18:30:49]SAM_PROTO_GetFieldsCounters done [18:30:49]requested_item shift.num is exist - process it [18:30:49]requested_item shift.opened is exist - process it [18:30:49]req_shift_opened [18:30:49]FM_GetShiftState [18:30:49]SAM_PROTO_GetShiftState [18:30:49]wFMCommunicate request_size=4 [18:30:49]MH_SAM_APDU [18:30:49]CAPDU: 80 13 01 00 [18:30:49]Write to MH i2c: E2 08 00 F6 50 80 13 01 00 00 00 00 00 C3 [18:30:49]Write i2c OK [18:30:49]MH_I2C_Read... [18:30:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:30:49]Read from MH i2c: E2 [18:30:49]MH_I2C_Read... [18:30:49]Read from MH i2c: E2 0E 00 [18:30:49]MH_I2C_Read... [18:30:49]Read from MH i2c: E2 0E 00 F6 50 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 6C [18:30:49]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [18:30:49]wFMCommunicate OK [18:30:49]SAM_PROTO_GetShiftState done [18:30:49]FM_GetShiftState done [18:30:49]req_shift_opened done [18:30:49]requested_item shift.open_date is exist - process it [18:30:49]req_shift_open_date [18:30:49]req_shift_open_date done [18:30:49]produce_requested_data done [18:30:49]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2589,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [18:30:49]process_action_free close_receipt [18:30:49]json_value_free [18:30:49]json_value_free done [18:30:49]process_json_proto returns [18:30:49]Send response to host [18:30:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2589,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [18:30:49]free response buf [18:30:49]execute_script done [18:30:49]execute_script returns [18:30:49]free content buf [18:30:49]Sock 9.Close socket [18:30:49]Sock 9.Thread stoped [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:53]OFD Sender: No OFD packet to send [18:40:58]OFD Sender: No OFD packet to send [18:41:03]OFD Sender: No OFD packet to send [18:41:08]OFD Sender: No OFD packet to send [18:41:13]OFD Sender: No OFD packet to send [18:41:18]OFD Sender: No OFD packet to send [18:41:23]OFD Sender: No OFD packet to send [18:41:28]OFD Sender: No OFD packet to send [18:41:33]OFD Sender: No OFD packet to send [18:41:38]OFD Sender: No OFD packet to send [18:41:43]OFD Sender: No OFD packet to send [18:41:48]OFD Sender: No OFD packet to send [18:41:53]OFD Sender: No OFD packet to send [18:41:58]OFD Sender: No OFD packet to send [18:42:03]OFD Sender: No OFD packet to send [18:42:08]OFD Sender: No OFD packet to send [18:42:13]OFD Sender: No OFD packet to send [18:42:18]OFD Sender: No OFD packet to send [18:42:23]OFD Sender: No OFD packet to send [18:42:28]OFD Sender: No OFD packet to send [18:42:33]OFD Sender: No OFD packet to send [18:42:38]OFD Sender: No OFD packet to send [18:42:43]OFD Sender: No OFD packet to send [18:42:43]accept exits with 7 [18:42:43]New connection [18:42:43]New thread 3066850660 created [18:42:43]Thread 3066707300 joined [18:42:43]Waiting for new connection... [18:42:43] Sock 7.Parse request [18:42:43]Sock 7.Check first char [18:42:43]Sock 7.First char is OK [18:42:43]request: POST /json_proto HTTP/1.0 [18:42:43]Method: POST [18:42:43]URL: /json_proto [18:42:43]Method is POST - this is cgi request [18:42:43]url: /json_proto [18:42:43]query_string will be loaded in cgi processing [18:42:43]execute_cgi json_proto POST (null) [18:42:43]execute_cgi path=json_proto method=POST [18:42:43]POST find Content-Length [18:42:43]Host: 172.17.52.132:8080 [18:42:43]Content-Length: 1154 [18:42:43]Content-Type: application/json [18:42:43] [18:42:43]POST finish read [18:42:43]Found Content-Length = 1154 [18:42:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99968", "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 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.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" : 374.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:42:43]execute_script... [18:42: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)99968", "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 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.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" : 374.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:42:43]POST & json_proto [18:42:43]process_json_proto [18:42:43]json parsed OK: [18:42:43]protocol is kg_v1.0 [18:42:43]action value=close_receipt [18:42:43]process_action close_receipt [18:42:43]cmd_close_receipt [18:42:43]MH_GetDate [18:42:43]Write to MH i2c: F0 00 00 F7 50 36 [18:42:43]Write i2c OK [18:42:43]MH_I2C_Read... [18:42:43]Read from MH i2c: F0 [18:42:43]MH_I2C_Read... [18:42:43]Read from MH i2c: F0 09 00 [18:42:43]MH_I2C_Read... [18:42:43]Read from MH i2c: F0 09 00 F7 50 00 AE FD 13 67 5A BE F6 66 D8 [18:42:43]GetLastDocTimeStamp 1729362655 [18:42:43]current date 1729363374 [18:42:43]FM_GetShiftState [18:42:43]SAM_PROTO_GetShiftState [18:42:43]wFMCommunicate request_size=4 [18:42:43]MH_SAM_APDU [18:42:43]CAPDU: 80 13 01 00 [18:42:43]Write to MH i2c: E2 08 00 F8 50 80 13 01 00 00 00 00 00 C5 [18:42:43]Write i2c OK [18:42:43]MH_I2C_Read... [18:42:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:42:43]Read from MH i2c: E2 [18:42:43]MH_I2C_Read... [18:42:43]Read from MH i2c: E2 0E 00 [18:42:43]MH_I2C_Read... [18:42:43]Read from MH i2c: E2 0E 00 F8 50 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 6E [18:42:43]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [18:42:43]wFMCommunicate OK [18:42:43]SAM_PROTO_GetShiftState done [18:42:43]FM_GetShiftState done [18:42:43]opened in 1729296173 [18:42:43]opened+sec_in_day 1729382573 [18:42:43]quantity*price = 14400 [18:42:43]sum+1 = 14401 [18:42:43]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036190018 Кофе Американо XL(GABB TRADE) 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000034730018 Кофе Американо (GABB TRADE) 1.000 * 105.00 = 105.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 374.00 НСП 1% : 3.31 НДС 12% : 39.71 Наличными: 374.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 51 19.10.2024 18:42 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2590 ФПД: 59354812484417 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T184254&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2590&fm=59354812484417&tin=02508201610067®Number=0000000000207295&sum=37400 0 [18:42:44]StoreToDocumentArchive [18:42:44]shift 23 fd 2590 [18:42:44]save to /storage/0023/doc_00002590 [18:42:44]save last doc name /storage/0023/doc_00002590 to /storage/kkm_last_doc_name [18:42:44]save OK [18:42:44]Clear old archive folders... [18:42:44]ProcessDocumentItem done err = 0, tmpTLVsize=499 [18:42:44]tlvbuf is 01487FB0 [18:42:44]SAM_PROTO_ClearQueue [18:42:44]wFMCommunicate request_size=4 [18:42:44]MH_SAM_APDU [18:42:44]CAPDU: 80 09 00 00 [18:42:44]Write to MH i2c: E2 08 00 05 51 80 09 00 00 00 00 00 00 C8 [18:42:44]Write i2c OK [18:42:44]MH_I2C_Read... [18:42:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:42:44]Read from MH i2c: E2 [18:42:44]MH_I2C_Read... [18:42:44]Read from MH i2c: E2 03 00 [18:42:44]MH_I2C_Read... [18:42:44]Read from MH i2c: E2 03 00 05 51 00 90 00 CA [18:42:44]RAPDU: 90 00 [18:42:44]wFMCommunicate OK [18:42:44]SAM_PROTO_ClearQueue done [18:42:44]KKMCreateOFDPacket [18:42:44]OFDProtocolAddRootSTLVToBuf [18:42:44]FM_MakeSignedData [18:42:44]FM_MakeSignedData [18:42:44]SAM_PROTO_SignData [18:42:44]wFMCommunicate request_size=4 [18:42:44]MH_SAM_APDU [18:42:44]CAPDU: 80 0D 01 02 [18:42:44]Write to MH i2c: E2 08 00 06 51 80 0D 01 02 00 00 00 00 D0 [18:42:44]Write i2c OK [18:42:44]MH_I2C_Read... [18:42:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:42:44]Read from MH i2c: E2 [18:42:44]MH_I2C_Read... [18:42:44]Read from MH i2c: E2 03 00 [18:42:44]MH_I2C_Read... [18:42:44]Read from MH i2c: E2 03 00 06 51 00 90 00 CB [18:42:44]RAPDU: 90 00 [18:42:44]wFMCommunicate OK [18:42:44]wFMCommunicate request_size=255 [18:42:44]MH_SAM_APDU [18:42:44]CAPDU: 80 0D 02 02 FA 03 00 F3 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 [18:42:45]Write to MH i2c: E2 02 01 07 51 80 0D 02 02 FA 00 03 00 F3 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 00 96 [18:42:45]Write i2c OK [18:42:45]MH_I2C_Read... [18:42:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:42:45]Read from MH i2c: E2 [18:42:45]MH_I2C_Read... [18:42:45]Read from MH i2c: E2 03 00 [18:42:45]MH_I2C_Read... [18:42:45]Read from MH i2c: E2 03 00 07 51 00 90 00 CC [18:42:45]RAPDU: 90 00 [18:42:45]wFMCommunicate OK [18:42:45]wFMCommunicate request_size=255 [18:42:45]MH_SAM_APDU [18:42:45]CAPDU: 80 0D 02 02 FA 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 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 0F 00 00 00 00 07 04 06 00 18 92 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 AE FD 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1E 0A 00 00 35 04 06 00 35 FB 9E [18:42:45]Write to MH i2c: E2 02 01 08 51 80 0D 02 02 FA 00 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 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 0F 00 00 00 00 07 04 06 00 18 92 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 AE FD 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1E 0A 00 00 35 04 06 00 35 FB 9E 00 00 68 [18:42:45]Write i2c OK [18:42:45]MH_I2C_Read... [18:42:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:42:45]Read from MH i2c: E2 [18:42:45]MH_I2C_Read... [18:42:45]Read from MH i2c: E2 03 00 [18:42:45]MH_I2C_Read... [18:42:45]Read from MH i2c: E2 03 00 08 51 00 90 00 CD [18:42:45]RAPDU: 90 00 [18:42:45]wFMCommunicate OK [18:42:45]wFMCommunicate request_size=8 [18:42:45]MH_SAM_APDU [18:42:45]CAPDU: 80 0D 02 02 03 83 8B 41 [18:42:45]Write to MH i2c: E2 0B 00 09 51 80 0D 02 02 03 00 83 8B 41 00 00 29 [18:42:45]Write i2c OK [18:42:45]MH_I2C_Read... [18:42:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:42:45]Read from MH i2c: E2 [18:42:45]MH_I2C_Read... [18:42:45]Read from MH i2c: E2 03 00 [18:42:45]MH_I2C_Read... [18:42:45]Read from MH i2c: E2 03 00 09 51 00 90 00 CE [18:42:45]RAPDU: 90 00 [18:42:45]wFMCommunicate OK [18:42:45]wFMCommunicate request_size=4 [18:42:45]MH_SAM_APDU [18:42:45]CAPDU: 80 0D 03 02 [18:42:45]Write to MH i2c: E2 08 00 0A 51 80 0D 03 02 00 00 00 00 D6 [18:42:45]Write i2c OK [18:42:45]MH_I2C_Read... [18:42:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:42:45]Read from MH i2c: E2 [18:42:45]MH_I2C_Read... [18:42:45]Read from MH i2c: E2 0B 00 [18:42:45]MH_I2C_Read... [18:42:45]Read from MH i2c: E2 0B 00 0A 51 00 9A DC 2C EB 6D EA 1C 29 90 00 00 [18:42:45]RAPDU: 9A DC 2C EB 6D EA 1C 29 90 00 [18:42:45]wFMCommunicate OK [18:42:45]SAM_PROTO_SignData done [18:42:45]FM_MakeSignedData done [18:42:45]CreateOFDProtocolMessage [18:42:45]wFMCommunicate request_size=4 [18:42:45]MH_SAM_APDU [18:42:45]CAPDU: 80 11 00 00 [18:42:45]Write to MH i2c: E2 08 00 0B 51 80 11 00 00 00 00 00 00 D6 [18:42:45]Write i2c OK [18:42:45]MH_I2C_Read... [18:42:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:42:45]Read from MH i2c: E2 [18:42:45]MH_I2C_Read... [18:42:45]Read from MH i2c: E2 17 00 [18:42:45]MH_I2C_Read... [18:42:45]Read from MH i2c: E2 17 00 0B 51 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 1E [18:42:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:42:45]wFMCommunicate OK [18:42:45]CreateOFDProtocolMessage done [18:42:45]OFDSenderStorePacket 2590 [18:42:45]StoreOFDPacket docnum=2590 [18:42:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 07 02 00 00 4F 6E FF 01 1F DC 5A 03 01 00 03 00 F3 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 0F 00 00 00 00 07 04 06 00 18 92 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 AE FD 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1E 0A 00 00 35 04 06 00 35 FB 9E 83 8B 41 9A DC 2C EB 6D EA 1C 29 [18:42:45]CheckFolder [18:42:45]dirname=/storage/ofd_packets [18:42:45]CheckFolder done [18:42:45]ProducePacketName [18:42:45]name=ofd_packets/00002590 [18:42:45]NVStorageSaveData ofd_packets/00002590 [18:42:45]File name is /storage/ofd_packets/00002590 [18:42:45]Write 549 bytes [18:42:46]NVStorageSaveData done [18:42:46]OFDSenderStorePacket done [18:42:46]KKMCreateOFDPacket done [18:42:46]NVStorageSaveData kkm_last_timestamp [18:42:46]File name is /storage/kkm_last_timestamp [18:42:46]Write 4 bytes [18:42:46]NVStorageSaveData done [18:42:46]ExternCall_PrintAddStr [18:42:46]wPrintStart [18:42:46]Write to MH i2c: 01 00 00 0C 51 5D [18:42:46]Write i2c OK [18:42:46]MH_I2C_Read... [18:42:46]Read from MH i2c: 01 [18:42:46]MH_I2C_Read... [18:42:46]Read from MH i2c: 01 07 00 [18:42:46]MH_I2C_Read... [18:42:46]Read from MH i2c: 01 07 00 0C 51 00 00 00 00 00 FF 0F 72 [18:42:46]RasterBufferAndPrint [18:42:46]line Счет N : (3)99968 [18:42:46]line ИНН: 02508201610067 [18:42:46]line Контрольно-Кассовый Чек [18:42:46]line ПРОДАЖА [18:42:46]line Товар: 48743570 [18:42:46]line Сигареты Winston XStyle Blue [18:42:46]line 1.000 * 144.00 [18:42:46]line = 144.00 [18:42:46]line НДС 12% НСП 1% [18:42:46]line > о реализуемом товаре [18:42:46]line Товар: 2000036190018 [18:42:46]line Кофе Американо XL(GABB TRADE) [18:42:46]line 1.000 * 125.00 [18:42:46]line = 125.00 [18:42:46]line НДС 12% НСП 1% [18:42:46]line > о реализуемом товаре [18:42:46]line Товар: 2000034730018 [18:42:46]line Кофе Американо (GABB TRADE) [18:42:46]line 1.000 * 105.00 [18:42:46]line = 105.00 [18:42:46]line НДС 12% НСП 1% [18:42:46]line > о реализуемом товаре [18:42:46]line ИТОГО: 374.00 [18:42:46]line НСП 1% : 3.31 [18:42:46]line НДС 12% : 39.71 [18:42:46]line Наличными: 374.00 [18:42:46]line Безнал.: 0.00 [18:42:46]line Место: АЗС № 162 "Партнер Нефть" [18:42:46]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [18:42:46]line СНО: Общий режим [18:42:46]line Чек 51 19.10.2024 18:42 [18:42:46]line Смена: 23 ФФД: 1.0 [18:42:46]line ЗНМ: 0300000191 [18:42:46]line РНМ: 0000000000207295 [18:42:46]line Версия ККМ: v1.0 [18:42:46]line ФМ: 0000000002342820 [18:42:46]line ФД: 2590 [18:42:46]line ФПД: 59354812484417 [18:42:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T184254&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2590&fm=59354812484417&tin=02508201610067®Number=0000000000207295&sum=37400 [18:42:46]OFD Sender: Processing packet 2590 [packets to send 1, broken 0] [18:42:46]ProducePacketName [18:42:46]name=ofd_packets/00002590 [18:42:46]OFD Sender: To server: pG, [18:42:46]CommunicateWithHost lk.salyk.kg:30040 [18:42:46]ConnectInit lk.salyk.kg [18:42:46]line 0 [18:42:46]written 0, free lines is 4095 [18:42:46]Connected sock=10 [18:42:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 07 02 00 00 4F 6E FF 01 1F DC 5A 03 01 00 03 00 F3 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 0F 00 00 00 00 07 04 06 00 18 92 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 AE FD 13 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1E 0A 00 00 35 04 06 00 35 FB 9E 83 8B 41 9A DC 2C EB 6D EA 1C 29 [18:42:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 04 8B 47 00 59 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1E 0A 00 00 F4 03 04 00 0F A9 13 67 B6 04 01 00 00 A0 92 35 D9 7B ED 37 6E [18:42:46]CommunicateWithHost err = 0 [18:42:46]CheckOFDResponse [18:42:46]1017 (14) - 77093643461234 [18:42:46]1041 (16) - 0000000002342820 [18:42:46]1040 (4) - 2590 [18:42:46]1012 (4) - 19.10.2024 12:41 [18:42:46]1206 (1) - 0 [18:42:46]OFD Sender: Remove packet 2590 [18:42:46]ProducePacketName [18:42:46]name=ofd_packets/00002590 [18:42:46]NVStorageDeleteData [18:42:46]Write to MH i2c: 01 00 00 42 51 93 [18:42:46]Write i2c OK [18:42:46]MH_I2C_Read... [18:42:46]Read from MH i2c: 01 [18:42:46]MH_I2C_Read... [18:42:46]Read from MH i2c: 01 07 00 [18:42:46]MH_I2C_Read... [18:42:46]Read from MH i2c: 01 07 00 42 51 00 00 00 00 00 E4 0B 89 [18:42:46]RasterBufferAndPrint [18:42:46]line [18:42:46]line [18:42:46]line [18:42:46]line [18:42:46]line [18:42:46]written 0, free lines is 3050 [18:42:46]MH_Cut [18:42:46]Write to MH i2c: D1 01 00 49 51 01 6C [18:42:46]Write i2c OK [18:42:46]MH_I2C_Read... [18:42:46]Read from MH i2c: D1 [18:42:46]MH_I2C_Read... [18:42:46]Read from MH i2c: D1 01 00 [18:42:46]MH_I2C_Read... [18:42:46]Read from MH i2c: D1 01 00 49 51 00 6B [18:42:46]Write to MH i2c: 01 00 00 4A 51 9B [18:42:46]Write i2c OK [18:42:46]MH_I2C_Read... [18:42:47]OFD Sender: No OFD packet to send [18:42:47]*** Cut start [18:42:47]*** Partial cut [18:42:47]*** CUTSNS_PIN = 1 [18:42:47]*** CUTSNS_PIN = 0 [18:42:48]*** Brake cut motor [18:42:48]Read from MH i2c: 01 [18:42:48]MH_I2C_Read... [18:42:48]*** Stop cut motor [18:42:48]*** Cut end [18:42:48]Read from MH i2c: 01 07 00 [18:42:48]MH_I2C_Read... [18:42:48]Read from MH i2c: 01 07 00 4A 51 00 00 00 00 00 FF 0F B0 [18:42:48]process_action close_receipt done [18:42:48]requested_data is exist [18:42:48]produce_requested_data [18:42:48]requested_item fm.sn is exist - process it [18:42:48]wFMCommunicate request_size=4 [18:42:48]MH_SAM_APDU [18:42:48]CAPDU: 80 11 00 00 [18:42:48]Write to MH i2c: E2 08 00 4B 51 80 11 00 00 00 00 00 00 16 [18:42:48]Write i2c OK [18:42:48]MH_I2C_Read... [18:42:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:42:48]Read from MH i2c: E2 [18:42:48]MH_I2C_Read... [18:42:48]Read from MH i2c: E2 17 00 [18:42:48]MH_I2C_Read... [18:42:48]Read from MH i2c: E2 17 00 4B 51 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 5E [18:42:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:42:48]wFMCommunicate OK [18:42:48]requested_item fd.num is exist - process it [18:42:48]SAM_PROTO_GetFieldsCounters [18:42:48]wFMCommunicate request_size=4 [18:42:48]MH_SAM_APDU [18:42:48]CAPDU: 80 13 00 00 [18:42:48]Write to MH i2c: E2 08 00 4C 51 80 13 00 00 00 00 00 00 19 [18:42:48]Write i2c OK [18:42:48]MH_I2C_Read... [18:42:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:42:48]Read from MH i2c: E2 [18:42:48]MH_I2C_Read... [18:42:48]Read from MH i2c: E2 62 00 [18:42:48]MH_I2C_Read... [18:42:48]Read from MH i2c: E2 62 00 4C 51 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 1E 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 07 [18:42:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 1E 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:42:48]wFMCommunicate OK [18:42:48]SAM_PROTO_GetFieldsCounters done [18:42:48]requested_item shift.num is exist - process it [18:42:48]requested_item shift.opened is exist - process it [18:42:48]req_shift_opened [18:42:48]FM_GetShiftState [18:42:48]SAM_PROTO_GetShiftState [18:42:48]wFMCommunicate request_size=4 [18:42:48]MH_SAM_APDU [18:42:48]CAPDU: 80 13 01 00 [18:42:48]Write to MH i2c: E2 08 00 4D 51 80 13 01 00 00 00 00 00 1B [18:42:48]Write i2c OK [18:42:48]MH_I2C_Read... [18:42:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:42:48]Read from MH i2c: E2 [18:42:48]MH_I2C_Read... [18:42:48]Read from MH i2c: E2 0E 00 [18:42:48]MH_I2C_Read... [18:42:48]Read from MH i2c: E2 0E 00 4D 51 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 C4 [18:42:48]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [18:42:48]wFMCommunicate OK [18:42:48]SAM_PROTO_GetShiftState done [18:42:48]FM_GetShiftState done [18:42:48]req_shift_opened done [18:42:48]requested_item shift.open_date is exist - process it [18:42:48]req_shift_open_date [18:42:48]req_shift_open_date done [18:42:48]produce_requested_data done [18:42:48]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2590,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [18:42:48]process_action_free close_receipt [18:42:48]json_value_free [18:42:48]json_value_free done [18:42:48]process_json_proto returns [18:42:48]Send response to host [18:42:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2590,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [18:42:48]free response buf [18:42:48]execute_script done [18:42:48]execute_script returns [18:42:48]free content buf [18:42:48]Sock 7.Close socket [18:42:48]Sock 7.Thread stoped [18:42:52]OFD Sender: No OFD packet to send [18:42:57]OFD Sender: No OFD packet to send [18:43:02]OFD Sender: No OFD packet to send [18:43:07]OFD Sender: No OFD packet to send [18:43:12]OFD Sender: No OFD packet to send [18:43:17]OFD Sender: No OFD packet to send [18:43:22]OFD Sender: No OFD packet to send [18:43:27]OFD Sender: No OFD packet to send [18:43:32]OFD Sender: No OFD packet to send [18:43:37]OFD Sender: No OFD packet to send [18:43:42]OFD Sender: No OFD packet to send [18:43:47]OFD Sender: No OFD packet to send [18:43:52]OFD Sender: No OFD packet to send [18:43:57]OFD Sender: No OFD packet to send [18:44:02]OFD Sender: No OFD packet to send [18:44:07]OFD Sender: No OFD packet to send [18:44:12]OFD Sender: No OFD packet to send [18:44:17]OFD Sender: No OFD packet to send [18:44:22]OFD Sender: No OFD packet to send [18:44:27]OFD Sender: No OFD packet to send [18:44:32]OFD Sender: No OFD packet to send [18:44:37]OFD Sender: No OFD packet to send [18:44:42]OFD Sender: No OFD packet to send [18:44:47]OFD Sender: No OFD packet to send [18:44:52]OFD Sender: No OFD packet to send [18:44:57]OFD Sender: No OFD packet to send [18:45:02]OFD Sender: No OFD packet to send [18:45:07]OFD Sender: No OFD packet to send [18:45:12]OFD Sender: No OFD packet to send [18:45:17]OFD Sender: No OFD packet to send [18:45:22]OFD Sender: No OFD packet to send [18:45:27]OFD Sender: No OFD packet to send [18:45:32]OFD Sender: No OFD packet to send [18:45:37]OFD Sender: No OFD packet to send [18:45:42]OFD Sender: No OFD packet to send [18:45:47]OFD Sender: No OFD packet to send [18:45:52]OFD Sender: No OFD packet to send [18:45:57]OFD Sender: No OFD packet to send [18:46:02]OFD Sender: No OFD packet to send [18:46:07]OFD Sender: No OFD packet to send [18:46:12]OFD Sender: No OFD packet to send [18:46:17]OFD Sender: No OFD packet to send [18:46:22]OFD Sender: No OFD packet to send [18:46:27]OFD Sender: No OFD packet to send [18:46:32]OFD Sender: No OFD packet to send [18:46:37]OFD Sender: No OFD packet to send [18:46:42]OFD Sender: No OFD packet to send [18:46:47]OFD Sender: No OFD packet to send [18:46:52]OFD Sender: No OFD packet to send [18:46:57]OFD Sender: No OFD packet to send [18:47:02]OFD Sender: No OFD packet to send [18:47:07]OFD Sender: No OFD packet to send [18:47:12]OFD Sender: No OFD packet to send [18:47:17]OFD Sender: No OFD packet to send [18:47:22]OFD Sender: No OFD packet to send [18:47:27]OFD Sender: No OFD packet to send [18:47:32]OFD Sender: No OFD packet to send [18:47:37]OFD Sender: No OFD packet to send [18:47:42]OFD Sender: No OFD packet to send [18:47:47]OFD Sender: No OFD packet to send [18:47:52]OFD Sender: No OFD packet to send [18:47:57]OFD Sender: No OFD packet to send [18:48:02]OFD Sender: No OFD packet to send [18:48:07]OFD Sender: No OFD packet to send [18:48:12]OFD Sender: No OFD packet to send [18:48:17]OFD Sender: No OFD packet to send [18:48:22]OFD Sender: No OFD packet to send [18:48:27]OFD Sender: No OFD packet to send [18:48:32]OFD Sender: No OFD packet to send [18:48:37]OFD Sender: No OFD packet to send [18:48:42]OFD Sender: No OFD packet to send [18:48:47]OFD Sender: No OFD packet to send [18:48:52]OFD Sender: No OFD packet to send [18:48:57]OFD Sender: No OFD packet to send [18:49:02]OFD Sender: No OFD packet to send [18:49:07]OFD Sender: No OFD packet to send [18:49:12]OFD Sender: No OFD packet to send [18:49:17]OFD Sender: No OFD packet to send [18:49:22]OFD Sender: No OFD packet to send [18:49:27]OFD Sender: No OFD packet to send [18:49:32]OFD Sender: No OFD packet to send [18:49:37]OFD Sender: No OFD packet to send [18:49:42]OFD Sender: No OFD packet to send [18:49:47]OFD Sender: No OFD packet to send [18:49:52]OFD Sender: No OFD packet to send [18:49:57]OFD Sender: No OFD packet to send [18:50:02]OFD Sender: No OFD packet to send [18:50:07]OFD Sender: No OFD packet to send [18:50:12]OFD Sender: No OFD packet to send [18:50:17]OFD Sender: No OFD packet to send [18:50:22]OFD Sender: No OFD packet to send [18:50:27]OFD Sender: No OFD packet to send [18:50:32]OFD Sender: No OFD packet to send [18:50:37]OFD Sender: No OFD packet to send [18:50:42]OFD Sender: No OFD packet to send [18:50:47]OFD Sender: No OFD packet to send [18:50:52]OFD Sender: No OFD packet to send [18:50:57]OFD Sender: No OFD packet to send [18:51:02]OFD Sender: No OFD packet to send [18:51:07]OFD Sender: No OFD packet to send [18:51:12]OFD Sender: No OFD packet to send [18:51:17]OFD Sender: No OFD packet to send [18:51:22]OFD Sender: No OFD packet to send [18:51:27]OFD Sender: No OFD packet to send [18:51:32]OFD Sender: No OFD packet to send [18:51:37]OFD Sender: No OFD packet to send [18:51:42]OFD Sender: No OFD packet to send [18:51:47]OFD Sender: No OFD packet to send [18:51:52]OFD Sender: No OFD packet to send [18:51:57]OFD Sender: No OFD packet to send [18:52:02]OFD Sender: No OFD packet to send [18:52:07]OFD Sender: No OFD packet to send [18:52:12]OFD Sender: No OFD packet to send [18:52:17]OFD Sender: No OFD packet to send [18:52:22]OFD Sender: No OFD packet to send [18:52:27]OFD Sender: No OFD packet to send [18:52:32]OFD Sender: No OFD packet to send [18:52:37]OFD Sender: No OFD packet to send [18:52:42]OFD Sender: No OFD packet to send [18:52:47]OFD Sender: No OFD packet to send [18:52:52]OFD Sender: No OFD packet to send [18:52:57]OFD Sender: No OFD packet to send [18:53:02]OFD Sender: No OFD packet to send [18:53:07]OFD Sender: No OFD packet to send [18:53:12]OFD Sender: No OFD packet to send [18:53:17]OFD Sender: No OFD packet to send [18:53:22]OFD Sender: No OFD packet to send [18:53:26]accept exits with 9 [18:53:26]New connection [18:53:26]New thread 3066707300 created [18:53:26]Thread 3066850660 joined [18:53:26]Waiting for new connection... [18:53:26] Sock 9.Parse request [18:53:26]Sock 9.Check first char [18:53:26]Sock 9.First char is OK [18:53:26]request: POST /json_proto HTTP/1.0 [18:53:26]Method: POST [18:53:26]URL: /json_proto [18:53:26]Method is POST - this is cgi request [18:53:26]url: /json_proto [18:53:26]query_string will be loaded in cgi processing [18:53:26]execute_cgi json_proto POST (null) [18:53:26]execute_cgi path=json_proto method=POST [18:53:26]POST find Content-Length [18:53:26]Host: 172.17.52.132:8080 [18:53:26]Content-Length: 897 [18:53:26]Content-Type: application/json [18:53:26] [18:53:26]POST finish read [18:53:26]Found Content-Length = 897 [18:53:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99969", "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": "4690329000476", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 21.00, "quantity" : 1.000, "sum" : 21.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" ] } } [18:53:26]execute_script... [18:53:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99969", "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": "4690329000476", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 21.00, "quantity" : 1.000, "sum" : 21.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" ] } } [18:53:26]POST & json_proto [18:53:26]process_json_proto [18:53:26]json parsed OK: [18:53:26]protocol is kg_v1.0 [18:53:26]action value=close_receipt [18:53:26]process_action close_receipt [18:53:26]cmd_close_receipt [18:53:26]MH_GetDate [18:53:26]Write to MH i2c: F0 00 00 4E 51 8E [18:53:26]Write i2c OK [18:53:26]MH_I2C_Read... [18:53:26]Read from MH i2c: F0 [18:53:26]MH_I2C_Read... [18:53:26]Read from MH i2c: F0 09 00 [18:53:26]MH_I2C_Read... [18:53:26]Read from MH i2c: F0 09 00 4E 51 00 31 00 14 67 5A BE F6 66 B7 [18:53:26]GetLastDocTimeStamp 1729363374 [18:53:26]current date 1729364017 [18:53:26]FM_GetShiftState [18:53:26]SAM_PROTO_GetShiftState [18:53:26]wFMCommunicate request_size=4 [18:53:26]MH_SAM_APDU [18:53:26]CAPDU: 80 13 01 00 [18:53:26]Write to MH i2c: E2 08 00 4F 51 80 13 01 00 00 00 00 00 1D [18:53:26]Write i2c OK [18:53:26]MH_I2C_Read... [18:53:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:53:26]Read from MH i2c: E2 [18:53:26]MH_I2C_Read... [18:53:26]Read from MH i2c: E2 0E 00 [18:53:26]MH_I2C_Read... [18:53:26]Read from MH i2c: E2 0E 00 4F 51 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 C6 [18:53:26]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [18:53:26]wFMCommunicate OK [18:53:26]SAM_PROTO_GetShiftState done [18:53:26]FM_GetShiftState done [18:53:26]opened in 1729296173 [18:53:26]opened+sec_in_day 1729382573 [18:53:26]quantity*price = 15900 [18:53:26]sum+1 = 15901 [18:53:26]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4690329000476 Сух Кириешки шашлык 40г 1.000 * 21.00 = 21.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.60 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 52 19.10.2024 18:53 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2591 ФПД: 207644176229217 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T185337&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2591&fm=207644176229217&tin=02508201610067®Number=0000000000207295&sum=18000 0 [18:53:27]StoreToDocumentArchive [18:53:27]shift 23 fd 2591 [18:53:27]save to /storage/0023/doc_00002591 [18:53:27]save last doc name /storage/0023/doc_00002591 to /storage/kkm_last_doc_name [18:53:27]save OK [18:53:27]Clear old archive folders... [18:53:27]ProcessDocumentItem done err = 0, tmpTLVsize=378 [18:53:27]tlvbuf is 014C1D10 [18:53:27]SAM_PROTO_ClearQueue [18:53:27]wFMCommunicate request_size=4 [18:53:27]MH_SAM_APDU [18:53:27]CAPDU: 80 09 00 00 [18:53:27]Write to MH i2c: E2 08 00 5C 51 80 09 00 00 00 00 00 00 1F [18:53:27]Write i2c OK [18:53:27]MH_I2C_Read... [18:53:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:53:27]Read from MH i2c: E2 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 03 00 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 03 00 5C 51 00 90 00 21 [18:53:27]RAPDU: 90 00 [18:53:27]wFMCommunicate OK [18:53:27]SAM_PROTO_ClearQueue done [18:53:27]KKMCreateOFDPacket [18:53:27]OFDProtocolAddRootSTLVToBuf [18:53:27]FM_MakeSignedData [18:53:27]FM_MakeSignedData [18:53:27]SAM_PROTO_SignData [18:53:27]wFMCommunicate request_size=4 [18:53:27]MH_SAM_APDU [18:53:27]CAPDU: 80 0D 01 02 [18:53:27]Write to MH i2c: E2 08 00 5D 51 80 0D 01 02 00 00 00 00 27 [18:53:27]Write i2c OK [18:53:27]MH_I2C_Read... [18:53:27]OFD Sender: No OFD packet to send [18:53:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:53:27]Read from MH i2c: E2 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 03 00 [18:53:27]MH_I2C_Read... [18:53:27]Read from MH i2c: E2 03 00 5D 51 00 90 00 22 [18:53:27]RAPDU: 90 00 [18:53:27]wFMCommunicate OK [18:53:27]wFMCommunicate request_size=255 [18:53:27]MH_SAM_APDU [18:53:27]CAPDU: 80 0D 02 02 FA 03 00 7A 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 6D 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 30 34 37 36 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 A0 00 00 00 00 00 [18:53:27]Write to MH i2c: E2 02 01 5E 51 80 0D 02 02 FA 00 03 00 7A 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 6D 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 30 34 37 36 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 A0 00 00 00 00 00 00 00 C1 [18:53:27]Write i2c OK [18:53:27]MH_I2C_Read... [18:53:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:53:28]Read from MH i2c: E2 [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: E2 03 00 [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: E2 03 00 5E 51 00 90 00 23 [18:53:28]RAPDU: 90 00 [18:53:28]wFMCommunicate OK [18:53:28]wFMCommunicate request_size=137 [18:53:28]MH_SAM_APDU [18:53:28]CAPDU: 80 0D 02 02 84 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 31 00 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1F 0A 00 00 35 04 06 00 BC D9 ED 5D 23 61 [18:53:28]Write to MH i2c: E2 8C 00 5F 51 80 0D 02 02 84 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 31 00 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1F 0A 00 00 35 04 06 00 BC D9 ED 5D 23 61 00 00 EB [18:53:28]Write i2c OK [18:53:28]MH_I2C_Read... [18:53:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:53:28]Read from MH i2c: E2 [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: E2 03 00 [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: E2 03 00 5F 51 00 90 00 24 [18:53:28]RAPDU: 90 00 [18:53:28]wFMCommunicate OK [18:53:28]wFMCommunicate request_size=4 [18:53:28]MH_SAM_APDU [18:53:28]CAPDU: 80 0D 03 02 [18:53:28]Write to MH i2c: E2 08 00 60 51 80 0D 03 02 00 00 00 00 2C [18:53:28]Write i2c OK [18:53:28]MH_I2C_Read... [18:53:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:53:28]Read from MH i2c: E2 [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: E2 0B 00 [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: E2 0B 00 60 51 00 EB 80 AC 11 85 37 A4 B1 90 00 66 [18:53:28]RAPDU: EB 80 AC 11 85 37 A4 B1 90 00 [18:53:28]wFMCommunicate OK [18:53:28]SAM_PROTO_SignData done [18:53:28]FM_MakeSignedData done [18:53:28]CreateOFDProtocolMessage [18:53:28]wFMCommunicate request_size=4 [18:53:28]MH_SAM_APDU [18:53:28]CAPDU: 80 11 00 00 [18:53:28]Write to MH i2c: E2 08 00 61 51 80 11 00 00 00 00 00 00 2C [18:53:28]Write i2c OK [18:53:28]MH_I2C_Read... [18:53:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:53:28]Read from MH i2c: E2 [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: E2 17 00 [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: E2 17 00 61 51 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 74 [18:53:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:53:28]wFMCommunicate OK [18:53:28]CreateOFDProtocolMessage done [18:53:28]OFDSenderStorePacket 2591 [18:53:28]StoreOFDPacket docnum=2591 [18:53:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 8E 01 00 00 B7 6B 86 01 08 F6 5A 03 01 00 03 00 7A 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 6D 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 30 34 37 36 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 A0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 31 00 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1F 0A 00 00 35 04 06 00 BC D9 ED 5D 23 61 EB 80 AC 11 85 37 A4 B1 [18:53:28]CheckFolder [18:53:28]dirname=/storage/ofd_packets [18:53:28]CheckFolder done [18:53:28]ProducePacketName [18:53:28]name=ofd_packets/00002591 [18:53:28]NVStorageSaveData ofd_packets/00002591 [18:53:28]File name is /storage/ofd_packets/00002591 [18:53:28]Write 428 bytes [18:53:28]NVStorageSaveData done [18:53:28]OFDSenderStorePacket done [18:53:28]KKMCreateOFDPacket done [18:53:28]NVStorageSaveData kkm_last_timestamp [18:53:28]File name is /storage/kkm_last_timestamp [18:53:28]Write 4 bytes [18:53:28]NVStorageSaveData done [18:53:28]ExternCall_PrintAddStr [18:53:28]wPrintStart [18:53:28]Write to MH i2c: 01 00 00 62 51 B3 [18:53:28]Write i2c OK [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: 01 [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: 01 07 00 [18:53:28]MH_I2C_Read... [18:53:28]Read from MH i2c: 01 07 00 62 51 00 00 00 00 00 FF 0F C8 [18:53:28]RasterBufferAndPrint [18:53:28]line Счет N : (3)99969 [18:53:28]line ИНН: 02508201610067 [18:53:28]line Контрольно-Кассовый Чек [18:53:28]line ПРОДАЖА [18:53:28]line Товар: 47803152 [18:53:28]line Сигареты Mevius Revo [18:53:28]line 1.000 * 159.00 [18:53:28]line = 159.00 [18:53:28]line НДС 12% НСП 1% [18:53:28]line > о реализуемом товаре [18:53:28]line Товар: 4690329000476 [18:53:28]line Сух Кириешки шашлык 40г [18:53:28]line 1.000 * 21.00 [18:53:28]line = 21.00 [18:53:28]line НДС 12% НСП 1% [18:53:28]line > о реализуемом товаре [18:53:28]line ИТОГО: 180.00 [18:53:28]line НСП 1% : 1.60 [18:53:28]line НДС 12% : 19.11 [18:53:28]line Наличными: 180.00 [18:53:28]line Безнал.: 0.00 [18:53:28]line Место: АЗС № 162 "Партнер Нефть" [18:53:28]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [18:53:28]line СНО: Общий режим [18:53:28]line Чек 52 19.10.2024 18:53 [18:53:28]line Смена: 23 ФФД: 1.0 [18:53:28]line ЗНМ: 0300000191 [18:53:28]line РНМ: 0000000000207295 [18:53:28]line Версия ККМ: v1.0 [18:53:28]line ФМ: 0000000002342820 [18:53:28]line ФД: 2591 [18:53:28]line ФПД: 207644176229217 [18:53:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T185337&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2591&fm=207644176229217&tin=02508201610067®Number=0000000000207295&sum=18000 [18:53:28]line 0 [18:53:28]OFD Sender: Processing packet 2591 [packets to send 1, broken 0] [18:53:28]ProducePacketName [18:53:28]name=ofd_packets/00002591 [18:53:28]OFD Sender: To server: pG, [18:53:28]CommunicateWithHost lk.salyk.kg:30040 [18:53:28]ConnectInit lk.salyk.kg [18:53:28]written 0, free lines is 4095 [18:53:28]Connected sock=10 [18:53:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 8E 01 00 00 B7 6B 86 01 08 F6 5A 03 01 00 03 00 7A 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 6D 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 30 34 37 36 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 A0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 31 00 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1F 0A 00 00 35 04 06 00 BC D9 ED 5D 23 61 EB 80 AC 11 85 37 A4 B1 [18:53:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 83 DD 47 00 24 E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 1F 0A 00 00 F4 03 04 00 91 AB 13 67 B6 04 01 00 00 BB D9 85 3C 51 01 3E 78 [18:53:28]CommunicateWithHost err = 0 [18:53:28]CheckOFDResponse [18:53:28]1017 (14) - 77093643461234 [18:53:28]1041 (16) - 0000000002342820 [18:53:28]1040 (4) - 2591 [18:53:28]1012 (4) - 19.10.2024 12:52 [18:53:28]1206 (1) - 0 [18:53:28]OFD Sender: Remove packet 2591 [18:53:28]ProducePacketName [18:53:28]name=ofd_packets/00002591 [18:53:28]NVStorageDeleteData [18:53:29]Write to MH i2c: 01 00 00 90 51 E1 [18:53:29]Write i2c OK [18:53:29]MH_I2C_Read... [18:53:29]Read from MH i2c: 01 [18:53:29]MH_I2C_Read... [18:53:29]Read from MH i2c: 01 07 00 [18:53:29]MH_I2C_Read... [18:53:29]Read from MH i2c: 01 07 00 90 51 00 00 00 00 00 8D 0C 81 [18:53:29]RasterBufferAndPrint [18:53:29]line [18:53:29]line [18:53:29]line [18:53:29]line [18:53:29]line [18:53:29]written 0, free lines is 3219 [18:53:29]MH_Cut [18:53:29]Write to MH i2c: D1 01 00 97 51 01 BA [18:53:29]Write i2c OK [18:53:29]MH_I2C_Read... [18:53:29]Read from MH i2c: D1 [18:53:29]MH_I2C_Read... [18:53:29]Read from MH i2c: D1 01 00 [18:53:29]MH_I2C_Read... [18:53:29]Read from MH i2c: D1 01 00 97 51 00 B9 [18:53:29]Write to MH i2c: 01 00 00 98 51 E9 [18:53:29]Write i2c OK [18:53:29]MH_I2C_Read... [18:53:29]OFD Sender: No OFD packet to send [18:53:30]*** Cut start [18:53:30]*** Partial cut [18:53:30]*** CUTSNS_PIN = 1 [18:53:30]*** CUTSNS_PIN = 0 [18:53:30]*** Brake cut motor [18:53:30]Read from MH i2c: 01 [18:53:30]MH_I2C_Read... [18:53:30]*** Stop cut motor [18:53:30]*** Cut end [18:53:30]Read from MH i2c: 01 07 00 [18:53:30]MH_I2C_Read... [18:53:30]Read from MH i2c: 01 07 00 98 51 00 00 00 00 00 FF 0F FE [18:53:30]process_action close_receipt done [18:53:30]requested_data is exist [18:53:30]produce_requested_data [18:53:30]requested_item fm.sn is exist - process it [18:53:30]wFMCommunicate request_size=4 [18:53:30]MH_SAM_APDU [18:53:30]CAPDU: 80 11 00 00 [18:53:30]Write to MH i2c: E2 08 00 99 51 80 11 00 00 00 00 00 00 64 [18:53:30]Write i2c OK [18:53:30]MH_I2C_Read... [18:53:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:53:30]Read from MH i2c: E2 [18:53:30]MH_I2C_Read... [18:53:30]Read from MH i2c: E2 17 00 [18:53:30]MH_I2C_Read... [18:53:30]Read from MH i2c: E2 17 00 99 51 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 AC [18:53:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [18:53:30]wFMCommunicate OK [18:53:30]requested_item fd.num is exist - process it [18:53:30]SAM_PROTO_GetFieldsCounters [18:53:30]wFMCommunicate request_size=4 [18:53:30]MH_SAM_APDU [18:53:30]CAPDU: 80 13 00 00 [18:53:30]Write to MH i2c: E2 08 00 9A 51 80 13 00 00 00 00 00 00 67 [18:53:30]Write i2c OK [18:53:30]MH_I2C_Read... [18:53:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:53:30]Read from MH i2c: E2 [18:53:30]MH_I2C_Read... [18:53:30]Read from MH i2c: E2 62 00 [18:53:30]MH_I2C_Read... [18:53:30]Read from MH i2c: E2 62 00 9A 51 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 1F 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 59 [18:53:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 1F 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:53:30]wFMCommunicate OK [18:53:30]SAM_PROTO_GetFieldsCounters done [18:53:30]requested_item shift.num is exist - process it [18:53:30]requested_item shift.opened is exist - process it [18:53:30]req_shift_opened [18:53:30]FM_GetShiftState [18:53:30]SAM_PROTO_GetShiftState [18:53:30]wFMCommunicate request_size=4 [18:53:30]MH_SAM_APDU [18:53:30]CAPDU: 80 13 01 00 [18:53:30]Write to MH i2c: E2 08 00 9B 51 80 13 01 00 00 00 00 00 69 [18:53:30]Write i2c OK [18:53:30]MH_I2C_Read... [18:53:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:53:30]Read from MH i2c: E2 [18:53:30]MH_I2C_Read... [18:53:30]Read from MH i2c: E2 0E 00 [18:53:30]MH_I2C_Read... [18:53:30]Read from MH i2c: E2 0E 00 9B 51 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 12 [18:53:30]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [18:53:30]wFMCommunicate OK [18:53:30]SAM_PROTO_GetShiftState done [18:53:30]FM_GetShiftState done [18:53:30]req_shift_opened done [18:53:30]requested_item shift.open_date is exist - process it [18:53:30]req_shift_open_date [18:53:30]req_shift_open_date done [18:53:30]produce_requested_data done [18:53:30]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2591,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [18:53:30]process_action_free close_receipt [18:53:30]json_value_free [18:53:30]json_value_free done [18:53:30]process_json_proto returns [18:53:30]Send response to host [18:53:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2591,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [18:53:30]free response buf [18:53:30]execute_script done [18:53:30]execute_script returns [18:53:30]free content buf [18:53:30]Sock 9.Close socket [18:53:30]Sock 9.Thread stoped [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:24]OFD Sender: No OFD packet to send [18:59:29]OFD Sender: No OFD packet to send [18:59:34]OFD Sender: No OFD packet to send [18:59:39]OFD Sender: No OFD packet to send [18:59:44]OFD Sender: No OFD packet to send [18:59:49]OFD Sender: No OFD packet to send [18:59:54]OFD Sender: No OFD packet to send [18:59:59]OFD Sender: No OFD packet to send [19:00:04]OFD Sender: No OFD packet to send [19:00:09]OFD Sender: No OFD packet to send [19:00:14]OFD Sender: No OFD packet to send [19:00:19]OFD Sender: No OFD packet to send [19:00:24]OFD Sender: No OFD packet to send [19:00:29]OFD Sender: No OFD packet to send [19:00:34]OFD Sender: No OFD packet to send [19:00:39]OFD Sender: No OFD packet to send [19:00:44]OFD Sender: No OFD packet to send [19:00:49]OFD Sender: No OFD packet to send [19:00:54]OFD Sender: No OFD packet to send [19:00:59]OFD Sender: No OFD packet to send [19:01:04]OFD Sender: No OFD packet to send [19:01:09]OFD Sender: No OFD packet to send [19:01:14]OFD Sender: No OFD packet to send [19:01:19]OFD Sender: No OFD packet to send [19:01:24]OFD Sender: No OFD packet to send [19:01:29]OFD Sender: No OFD packet to send [19:01:34]OFD Sender: No OFD packet to send [19:01:39]OFD Sender: No OFD packet to send [19:01:44]OFD Sender: No OFD packet to send [19:01:49]OFD Sender: No OFD packet to send [19:01:54]OFD Sender: No OFD packet to send [19:01:59]OFD Sender: No OFD packet to send [19:02:04]OFD Sender: No OFD packet to send [19:02:09]OFD Sender: No OFD packet to send [19:02:14]OFD Sender: No OFD packet to send [19:02:19]OFD Sender: No OFD packet to send [19:02:24]OFD Sender: No OFD packet to send [19:02:29]OFD Sender: No OFD packet to send [19:02:34]OFD Sender: No OFD packet to send [19:02:39]OFD Sender: No OFD packet to send [19:02:44]OFD Sender: No OFD packet to send [19:02:49]OFD Sender: No OFD packet to send [19:02:54]OFD Sender: No OFD packet to send [19:02:59]OFD Sender: No OFD packet to send [19:03:04]OFD Sender: No OFD packet to send [19:03:09]OFD Sender: No OFD packet to send [19:03:14]OFD Sender: No OFD packet to send [19:03:19]OFD Sender: No OFD packet to send [19:03:24]OFD Sender: No OFD packet to send [19:03:29]OFD Sender: No OFD packet to send [19:03:34]OFD Sender: No OFD packet to send [19:03:39]OFD Sender: No OFD packet to send [19:03:44]OFD Sender: No OFD packet to send [19:03:49]OFD Sender: No OFD packet to send [19:03:54]OFD Sender: No OFD packet to send [19:03:59]OFD Sender: No OFD packet to send [19:04:04]OFD Sender: No OFD packet to send [19:04:09]OFD Sender: No OFD packet to send [19:04:14]OFD Sender: No OFD packet to send [19:04:19]OFD Sender: No OFD packet to send [19:04:24]OFD Sender: No OFD packet to send [19:04:29]OFD Sender: No OFD packet to send [19:04:34]OFD Sender: No OFD packet to send [19:04:39]OFD Sender: No OFD packet to send [19:04:44]OFD Sender: No OFD packet to send [19:04:49]OFD Sender: No OFD packet to send [19:04:54]OFD Sender: No OFD packet to send [19:04:59]OFD Sender: No OFD packet to send [19:05:04]OFD Sender: No OFD packet to send [19:05:09]OFD Sender: No OFD packet to send [19:05:14]OFD Sender: No OFD packet to send [19:05:19]OFD Sender: No OFD packet to send [19:05:24]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:51]accept exits with 7 [19:11:51]New connection [19:11:51]New thread 3066850660 created [19:11:51]Thread 3066707300 joined [19:11:51]Waiting for new connection... [19:11:51] Sock 7.Parse request [19:11:51]Sock 7.Check first char [19:11:51]Sock 7.First char is OK [19:11:51]request: POST /json_proto HTTP/1.0 [19:11:51]Method: POST [19:11:51]URL: /json_proto [19:11:51]Method is POST - this is cgi request [19:11:51]url: /json_proto [19:11:51]query_string will be loaded in cgi processing [19:11:51]execute_cgi json_proto POST (null) [19:11:51]execute_cgi path=json_proto method=POST [19:11:51]POST find Content-Length [19:11:51]Host: 172.17.52.132:8080 [19:11:51]Content-Length: 1611 [19:11:51]Content-Type: application/json [19:11:51] [19:11:51]POST finish read [19:11:51]Found Content-Length = 1611 [19:11:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99970", "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 }]} ,{ "code": "5010752000307", "name": "\u0412\u0438\u0441\u043A\u0438 William Lawson 0,7\u043B", "price" : 1800.00, "quantity" : 1.000, "sum" : 1800.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 5.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 2247.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:11:51]execute_script... [19:11: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)99970", "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 }]} ,{ "code": "5010752000307", "name": "\u0412\u0438\u0441\u043A\u0438 William Lawson 0,7\u043B", "price" : 1800.00, "quantity" : 1.000, "sum" : 1800.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 5.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 2247.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:11:51]POST & json_proto [19:11:51]process_json_proto [19:11:51]json parsed OK: [19:11:51]protocol is kg_v1.0 [19:11:51]action value=close_receipt [19:11:51]process_action close_receipt [19:11:51]cmd_close_receipt [19:11:51]MH_GetDate [19:11:51]Write to MH i2c: F0 00 00 9C 51 DC [19:11:51]Write i2c OK [19:11:51]MH_I2C_Read... [19:11:51]Read from MH i2c: F0 [19:11:51]MH_I2C_Read... [19:11:51]Read from MH i2c: F0 09 00 [19:11:51]MH_I2C_Read... [19:11:51]Read from MH i2c: F0 09 00 9C 51 00 82 04 14 67 5A BE F6 66 5A [19:11:51]GetLastDocTimeStamp 1729364017 [19:11:51]current date 1729365122 [19:11:51]FM_GetShiftState [19:11:51]SAM_PROTO_GetShiftState [19:11:51]wFMCommunicate request_size=4 [19:11:51]MH_SAM_APDU [19:11:51]CAPDU: 80 13 01 00 [19:11:51]Write to MH i2c: E2 08 00 9D 51 80 13 01 00 00 00 00 00 6B [19:11:51]Write i2c OK [19:11:51]MH_I2C_Read... [19:11:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:11:51]Read from MH i2c: E2 [19:11:51]MH_I2C_Read... [19:11:51]Read from MH i2c: E2 0E 00 [19:11:51]MH_I2C_Read... [19:11:51]Read from MH i2c: E2 0E 00 9D 51 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 14 [19:11:51]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [19:11:51]wFMCommunicate OK [19:11:51]SAM_PROTO_GetShiftState done [19:11:51]FM_GetShiftState done [19:11:51]opened in 1729296173 [19:11:51]opened+sec_in_day 1729382573 [19:11:51]quantity*price = 14400 [19:11:51]sum+1 = 14401 [19:11:51]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5010752000307 Виски William Lawson 0,7л 1.000 * 1800.00 = 1800.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48744119 Сигареты Winston Xstyle Dual 1.000 * 149.00 = 149.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 5.000 * 7.00 = 35.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 119.00 = 119.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 2247.00 НСП 1% : 19.88 НДС 12% : 238.62 Наличными: 2247.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 53 19.10.2024 19:12 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2592 ФПД: 137511144195374 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T191202&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2592&fm=137511144195374&tin=02508201610067®Number=0000000000207295&sum=224700 0 [19:11:52]StoreToDocumentArchive [19:11:52]shift 23 fd 2592 [19:11:52]save to /storage/0023/doc_00002592 [19:11:52]save last doc name /storage/0023/doc_00002592 to /storage/kkm_last_doc_name [19:11:52]save OK [19:11:52]Clear old archive folders... [19:11:52]ProcessDocumentItem done err = 0, tmpTLVsize=692 [19:11:52]tlvbuf is 01399830 [19:11:52]SAM_PROTO_ClearQueue [19:11:52]wFMCommunicate request_size=4 [19:11:52]MH_SAM_APDU [19:11:52]CAPDU: 80 09 00 00 [19:11:52]Write to MH i2c: E2 08 00 AA 51 80 09 00 00 00 00 00 00 6D [19:11:52]Write i2c OK [19:11:52]MH_I2C_Read... [19:11:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:11:52]Read from MH i2c: E2 [19:11:52]MH_I2C_Read... [19:11:52]Read from MH i2c: E2 03 00 [19:11:52]MH_I2C_Read... [19:11:52]Read from MH i2c: E2 03 00 AA 51 00 90 00 6F [19:11:52]RAPDU: 90 00 [19:11:52]wFMCommunicate OK [19:11:52]SAM_PROTO_ClearQueue done [19:11:52]KKMCreateOFDPacket [19:11:52]OFDProtocolAddRootSTLVToBuf [19:11:52]FM_MakeSignedData [19:11:52]FM_MakeSignedData [19:11:52]SAM_PROTO_SignData [19:11:52]wFMCommunicate request_size=4 [19:11:52]MH_SAM_APDU [19:11:52]CAPDU: 80 0D 01 02 [19:11:52]Write to MH i2c: E2 08 00 AB 51 80 0D 01 02 00 00 00 00 75 [19:11:52]Write i2c OK [19:11:52]MH_I2C_Read... [19:11:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:11:52]Read from MH i2c: E2 [19:11:52]MH_I2C_Read... [19:11:52]Read from MH i2c: E2 03 00 [19:11:52]MH_I2C_Read... [19:11:52]Read from MH i2c: E2 03 00 AB 51 00 90 00 70 [19:11:52]RAPDU: 90 00 [19:11:52]wFMCommunicate OK [19:11:52]wFMCommunicate request_size=255 [19:11:52]MH_SAM_APDU [19:11:52]CAPDU: 80 0D 02 02 FA 03 00 B4 02 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 23 04 63 00 8A 04 0D 00 35 30 31 30 37 35 32 30 30 30 33 30 37 06 04 1F 00 D0 92 D0 B8 D1 81 D0 BA D0 B8 20 57 69 6C 6C 69 61 6D 20 4C 61 77 73 6F 6E 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 BF 02 00 00 00 13 04 06 00 20 BF 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 [19:11:52]Write to MH i2c: E2 02 01 AC 51 80 0D 02 02 FA 00 03 00 B4 02 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 23 04 63 00 8A 04 0D 00 35 30 31 30 37 35 32 30 30 30 33 30 37 06 04 1F 00 D0 92 D0 B8 D1 81 D0 BA D0 B8 20 57 69 6C 6C 69 61 6D 20 4C 61 77 73 6F 6E 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 BF 02 00 00 00 13 04 06 00 20 BF 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 00 00 9C [19:11:52]Write i2c OK [19:11:52]MH_I2C_Read... [19:11:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:11:52]Read from MH i2c: E2 [19:11:52]MH_I2C_Read... [19:11:52]Read from MH i2c: E2 03 00 [19:11:52]MH_I2C_Read... [19:11:52]Read from MH i2c: E2 03 00 AC 51 00 90 00 71 [19:11:52]RAPDU: 90 00 [19:11:52]wFMCommunicate OK [19:11:52]wFMCommunicate request_size=255 [19:11:52]MH_SAM_APDU [19:11:52]CAPDU: 80 0D 02 02 FA 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 88 13 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 [19:11:52]Write to MH i2c: E2 02 01 AD 51 80 0D 02 02 FA 00 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 88 13 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 00 91 [19:11:52]Write i2c OK [19:11:52]MH_I2C_Read... [19:11:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:11:53]Read from MH i2c: E2 [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: E2 03 00 [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: E2 03 00 AD 51 00 90 00 72 [19:11:53]RAPDU: 90 00 [19:11:53]wFMCommunicate OK [19:11:53]wFMCommunicate request_size=201 [19:11:53]MH_SAM_APDU [19:11:53]CAPDU: 80 0D 02 02 C4 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 BC 6D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 5D 00 00 00 00 07 04 06 00 BC 6D 03 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 82 04 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 20 0A 00 00 35 04 06 00 7D 10 CE E7 05 2E [19:11:53]Write to MH i2c: E2 CC 00 AE 51 80 0D 02 02 C4 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 BC 6D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 5D 00 00 00 00 07 04 06 00 BC 6D 03 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 82 04 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 20 0A 00 00 35 04 06 00 7D 10 CE E7 05 2E 00 00 FF [19:11:53]Write i2c OK [19:11:53]MH_I2C_Read... [19:11:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:11:53]Read from MH i2c: E2 [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: E2 03 00 [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: E2 03 00 AE 51 00 90 00 73 [19:11:53]RAPDU: 90 00 [19:11:53]wFMCommunicate OK [19:11:53]wFMCommunicate request_size=4 [19:11:53]MH_SAM_APDU [19:11:53]CAPDU: 80 0D 03 02 [19:11:53]Write to MH i2c: E2 08 00 AF 51 80 0D 03 02 00 00 00 00 7B [19:11:53]Write i2c OK [19:11:53]MH_I2C_Read... [19:11:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:11:53]Read from MH i2c: E2 [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: E2 0B 00 [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: E2 0B 00 AF 51 00 F6 67 87 D8 F7 2B F0 DA 90 00 24 [19:11:53]RAPDU: F6 67 87 D8 F7 2B F0 DA 90 00 [19:11:53]wFMCommunicate OK [19:11:53]SAM_PROTO_SignData done [19:11:53]FM_MakeSignedData done [19:11:53]CreateOFDProtocolMessage [19:11:53]wFMCommunicate request_size=4 [19:11:53]MH_SAM_APDU [19:11:53]CAPDU: 80 11 00 00 [19:11:53]Write to MH i2c: E2 08 00 B0 51 80 11 00 00 00 00 00 00 7B [19:11:53]Write i2c OK [19:11:53]MH_I2C_Read... [19:11:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:11:53]Read from MH i2c: E2 [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: E2 17 00 [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: E2 17 00 B0 51 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C3 [19:11:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:11:53]wFMCommunicate OK [19:11:53]CreateOFDProtocolMessage done [19:11:53]OFDSenderStorePacket 2592 [19:11:53]StoreOFDPacket docnum=2592 [19:11:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 C8 02 00 00 C3 9C C0 02 8F C6 5A 03 01 00 03 00 B4 02 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 23 04 63 00 8A 04 0D 00 35 30 31 30 37 35 32 30 30 30 33 30 37 06 04 1F 00 D0 92 D0 B8 D1 81 D0 BA D0 B8 20 57 69 6C 6C 69 61 6D 20 4C 61 77 73 6F 6E 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 BF 02 00 00 00 13 04 06 00 20 BF 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 88 13 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 BC 6D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 5D 00 00 00 00 07 04 06 00 BC 6D 03 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 82 04 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 20 0A 00 00 35 04 06 00 7D 10 CE E7 05 2E F6 67 87 D8 F7 2B F0 DA [19:11:53]CheckFolder [19:11:53]dirname=/storage/ofd_packets [19:11:53]CheckFolder done [19:11:53]ProducePacketName [19:11:53]name=ofd_packets/00002592 [19:11:53]NVStorageSaveData ofd_packets/00002592 [19:11:53]File name is /storage/ofd_packets/00002592 [19:11:53]Write 742 bytes [19:11:53]NVStorageSaveData done [19:11:53]OFDSenderStorePacket done [19:11:53]KKMCreateOFDPacket done [19:11:53]NVStorageSaveData kkm_last_timestamp [19:11:53]File name is /storage/kkm_last_timestamp [19:11:53]Write 4 bytes [19:11:53]NVStorageSaveData done [19:11:53]ExternCall_PrintAddStr [19:11:53]wPrintStart [19:11:53]Write to MH i2c: 01 00 00 B1 51 02 [19:11:53]Write i2c OK [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: 01 [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: 01 07 00 [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: 01 07 00 B1 51 00 00 00 00 00 FF 0F 17 [19:11:53]RasterBufferAndPrint [19:11:53]line Счет N : (3)99970 [19:11:53]line ИНН: 02508201610067 [19:11:53]line Контрольно-Кассовый Чек [19:11:53]line ПРОДАЖА [19:11:53]line Товар: 48743570 [19:11:53]line Сигареты Winston XStyle Blue [19:11:53]line 1.000 * 144.00 [19:11:53]line = 144.00 [19:11:53]line НДС 12% НСП 1% [19:11:53]line > о реализуемом товаре [19:11:53]line Товар: 5010752000307 [19:11:53]line Виски William Lawson 0,7л [19:11:53]line 1.000 * 1800.00 [19:11:53]line = 1800.00 [19:11:53]line НДС 12% НСП 1% [19:11:53]line > о реализуемом товаре [19:11:53]line Товар: 48744119 [19:11:53]line Сигареты Winston Xstyle Dual [19:11:53]line 1.000 * 149.00 [19:11:53]line = 149.00 [19:11:53]line НДС 12% НСП 1% [19:11:53]line > о реализуемом товаре [19:11:53]line Товар: 2000053020015 [19:11:53]line Бумажные стаканы 250мл 1шт [19:11:53]line 5.000 * 7.00 [19:11:53]line = 35.00 [19:11:53]line НДС 12% НСП 1% [19:11:53]line > о реализуемом товаре [19:11:53]line Товар: 4870001570071 [19:11:53]line Напиток Pepsi 1л [19:11:53]line 1.000 * 119.00 [19:11:53]line = 119.00 [19:11:53]line НДС 12% НСП 1% [19:11:53]line > о реализуемом товаре [19:11:53]line ИТОГО: 2247.00 [19:11:53]line НСП 1% : 19.88 [19:11:53]line НДС 12% : 238.62 [19:11:53]line Наличными: 2247.00 [19:11:53]line Безнал.: 0.00 [19:11:53]line Место: АЗС № 162 "Партнер Нефть" [19:11:53]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [19:11:53]line СНО: Общий режим [19:11:53]line Чек 53 19.10.2024 19:12 [19:11:53]line Смена: 23 ФФД: 1.0 [19:11:53]line ЗНМ: 0300000191 [19:11:53]line РНМ: 0000000000207295 [19:11:53]line Версия ККМ: v1.0 [19:11:53]line ФМ: 0000000002342820 [19:11:53]line ФД: 2592 [19:11:53]line ФПД: 137511144195374 [19:11:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T191202&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2592&fm=137511144195374&tin=02508201610067®Number=0000000000207295&sum=224700 [19:11:53]line 0 [19:11:53]written 0, free lines is 4095 [19:11:53]OFD Sender: Processing packet 2592 [packets to send 1, broken 0] [19:11:53]ProducePacketName [19:11:53]name=ofd_packets/00002592 [19:11:53]OFD Sender: To server: pG, [19:11:53]CommunicateWithHost lk.salyk.kg:30040 [19:11:53]ConnectInit lk.salyk.kg [19:11:54]Connected sock=10 [19:11:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 C8 02 00 00 C3 9C C0 02 8F C6 5A 03 01 00 03 00 B4 02 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 23 04 63 00 8A 04 0D 00 35 30 31 30 37 35 32 30 30 30 33 30 37 06 04 1F 00 D0 92 D0 B8 D1 81 D0 BA D0 B8 20 57 69 6C 6C 69 61 6D 20 4C 61 77 73 6F 6E 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 BF 02 00 00 00 13 04 06 00 20 BF 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 88 13 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 BC 6D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 5D 00 00 00 00 07 04 06 00 BC 6D 03 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 82 04 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 20 0A 00 00 35 04 06 00 7D 10 CE E7 05 2E F6 67 87 D8 F7 2B F0 DA [19:11:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 C0 80 47 00 68 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 32 33 34 32 38 32 30 10 04 04 00 20 0A 00 00 F4 03 04 00 E2 AF 13 67 B6 04 01 00 00 99 1C 0C C8 81 CC 9A 13 [19:11:54]CommunicateWithHost err = 0 [19:11:54]CheckOFDResponse [19:11:54]1017 (14) - 77093643461234 [19:11:54]1041 (16) - 0000000002342820 [19:11:54]1040 (4) - 2592 [19:11:54]1012 (4) - 19.10.2024 13:10 [19:11:54]1206 (1) - 0 [19:11:54]OFD Sender: Remove packet 2592 [19:11:54]ProducePacketName [19:11:54]name=ofd_packets/00002592 [19:11:54]NVStorageDeleteData [19:11:54]Write to MH i2c: 01 00 00 F2 51 43 [19:11:54]Write i2c OK [19:11:54]MH_I2C_Read... [19:11:54]Read from MH i2c: 01 [19:11:54]MH_I2C_Read... [19:11:54]Read from MH i2c: 01 07 00 [19:11:54]MH_I2C_Read... [19:11:54]Read from MH i2c: 01 07 00 F2 51 00 00 00 00 00 05 0B 5A [19:11:54]RasterBufferAndPrint [19:11:54]line [19:11:54]line [19:11:54]line [19:11:54]line [19:11:54]line [19:11:54]written 0, free lines is 2829 [19:11:54]MH_Cut [19:11:54]Write to MH i2c: D1 01 00 F9 51 01 1C [19:11:54]Write i2c OK [19:11:54]MH_I2C_Read... [19:11:54]Read from MH i2c: D1 [19:11:54]MH_I2C_Read... [19:11:54]Read from MH i2c: D1 01 00 [19:11:54]MH_I2C_Read... [19:11:54]Read from MH i2c: D1 01 00 F9 51 00 1B [19:11:54]Write to MH i2c: 01 00 00 FA 51 4B [19:11:54]Write i2c OK [19:11:54]MH_I2C_Read... [19:11:54]OFD Sender: No OFD packet to send [19:11:55]*** Cut start [19:11:55]*** Partial cut [19:11:55]*** CUTSNS_PIN = 1 [19:11:55]*** CUTSNS_PIN = 0 [19:11:56]*** Brake cut motor [19:11:56]Read from MH i2c: 01 [19:11:56]MH_I2C_Read... [19:11:56]*** Stop cut motor [19:11:56]*** Cut end [19:11:56]Read from MH i2c: 01 07 00 [19:11:56]MH_I2C_Read... [19:11:56]Read from MH i2c: 01 07 00 FA 51 00 00 00 00 00 FF 0F 60 [19:11:56]process_action close_receipt done [19:11:56]requested_data is exist [19:11:56]produce_requested_data [19:11:56]requested_item fm.sn is exist - process it [19:11:56]wFMCommunicate request_size=4 [19:11:56]MH_SAM_APDU [19:11:56]CAPDU: 80 11 00 00 [19:11:56]Write to MH i2c: E2 08 00 FB 51 80 11 00 00 00 00 00 00 C6 [19:11:56]Write i2c OK [19:11:56]MH_I2C_Read... [19:11:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:11:56]Read from MH i2c: E2 [19:11:56]MH_I2C_Read... [19:11:56]Read from MH i2c: E2 17 00 [19:11:56]MH_I2C_Read... [19:11:56]Read from MH i2c: E2 17 00 FB 51 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 0E [19:11:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:11:56]wFMCommunicate OK [19:11:56]requested_item fd.num is exist - process it [19:11:56]SAM_PROTO_GetFieldsCounters [19:11:56]wFMCommunicate request_size=4 [19:11:56]MH_SAM_APDU [19:11:56]CAPDU: 80 13 00 00 [19:11:56]Write to MH i2c: E2 08 00 FC 51 80 13 00 00 00 00 00 00 C9 [19:11:56]Write i2c OK [19:11:56]MH_I2C_Read... [19:11:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:11:56]Read from MH i2c: E2 [19:11:56]MH_I2C_Read... [19:11:56]Read from MH i2c: E2 62 00 [19:11:56]MH_I2C_Read... [19:11:56]Read from MH i2c: E2 62 00 FC 51 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 20 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 BF [19:11:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 20 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:11:56]wFMCommunicate OK [19:11:56]SAM_PROTO_GetFieldsCounters done [19:11:56]requested_item shift.num is exist - process it [19:11:56]requested_item shift.opened is exist - process it [19:11:56]req_shift_opened [19:11:56]FM_GetShiftState [19:11:56]SAM_PROTO_GetShiftState [19:11:56]wFMCommunicate request_size=4 [19:11:56]MH_SAM_APDU [19:11:56]CAPDU: 80 13 01 00 [19:11:56]Write to MH i2c: E2 08 00 FD 51 80 13 01 00 00 00 00 00 CB [19:11:56]Write i2c OK [19:11:56]MH_I2C_Read... [19:11:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:11:56]Read from MH i2c: E2 [19:11:56]MH_I2C_Read... [19:11:56]Read from MH i2c: E2 0E 00 [19:11:56]MH_I2C_Read... [19:11:56]Read from MH i2c: E2 0E 00 FD 51 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 74 [19:11:56]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [19:11:56]wFMCommunicate OK [19:11:56]SAM_PROTO_GetShiftState done [19:11:56]FM_GetShiftState done [19:11:56]req_shift_opened done [19:11:56]requested_item shift.open_date is exist - process it [19:11:56]req_shift_open_date [19:11:56]req_shift_open_date done [19:11:56]produce_requested_data done [19:11:56]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2592,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [19:11:56]process_action_free close_receipt [19:11:56]json_value_free [19:11:56]json_value_free done [19:11:56]process_json_proto returns [19:11:56]Send response to host [19:11:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2592,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [19:11:56]free response buf [19:11:56]execute_script done [19:11:56]execute_script returns [19:11:56]free content buf [19:11:56]Sock 7.Close socket [19:11:56]Sock 7.Thread stoped [19:11:59]OFD Sender: No OFD packet to send [19:12:04]OFD Sender: No OFD packet to send [19:12:09]OFD Sender: No OFD packet to send [19:12:14]OFD Sender: No OFD packet to send [19:12:19]OFD Sender: No OFD packet to send [19:12:24]OFD Sender: No OFD packet to send [19:12:29]OFD Sender: No OFD packet to send [19:12:34]OFD Sender: No OFD packet to send [19:12:39]OFD Sender: No OFD packet to send [19:12:44]OFD Sender: No OFD packet to send [19:12:49]OFD Sender: No OFD packet to send [19:12:54]OFD Sender: No OFD packet to send [19:12:59]OFD Sender: No OFD packet to send [19:13:04]OFD Sender: No OFD packet to send [19:13:09]OFD Sender: No OFD packet to send [19:13:14]OFD Sender: No OFD packet to send [19:13:19]OFD Sender: No OFD packet to send [19:13:24]OFD Sender: No OFD packet to send [19:13:29]OFD Sender: No OFD packet to send [19:13:34]OFD Sender: No OFD packet to send [19:13:39]OFD Sender: No OFD packet to send [19:13:44]OFD Sender: No OFD packet to send [19:13:49]OFD Sender: No OFD packet to send [19:13:54]OFD Sender: No OFD packet to send [19:13:59]OFD Sender: No OFD packet to send [19:14:04]OFD Sender: No OFD packet to send [19:14:09]OFD Sender: No OFD packet to send [19:14:14]OFD Sender: No OFD packet to send [19:14:19]OFD Sender: No OFD packet to send [19:14:24]OFD Sender: No OFD packet to send [19:14:29]OFD Sender: No OFD packet to send [19:14:34]OFD Sender: No OFD packet to send [19:14:39]OFD Sender: No OFD packet to send [19:14:44]OFD Sender: No OFD packet to send [19:14:49]OFD Sender: No OFD packet to send [19:14:54]OFD Sender: No OFD packet to send [19:14:59]OFD Sender: No OFD packet to send [19:15:04]OFD Sender: No OFD packet to send [19:15:09]OFD Sender: No OFD packet to send [19:15:14]OFD Sender: No OFD packet to send [19:15:19]OFD Sender: No OFD packet to send [19:15:24]OFD Sender: No OFD packet to send [19:15:29]OFD Sender: No OFD packet to send [19:15:34]OFD Sender: No OFD packet to send [19:15:39]OFD Sender: No OFD packet to send [19:15:44]OFD Sender: No OFD packet to send [19:15:49]OFD Sender: No OFD packet to send [19:15:54]OFD Sender: No OFD packet to send [19:15:59]OFD Sender: No OFD packet to send [19:16:04]OFD Sender: No OFD packet to send [19:16:09]OFD Sender: No OFD packet to send [19:16:14]OFD Sender: No OFD packet to send [19:16:19]OFD Sender: No OFD packet to send [19:16:24]OFD Sender: No OFD packet to send [19:16:29]OFD Sender: No OFD packet to send [19:16:34]OFD Sender: No OFD packet to send [19:16:39]OFD Sender: No OFD packet to send [19:16:44]OFD Sender: No OFD packet to send [19:16:49]OFD Sender: No OFD packet to send [19:16:54]OFD Sender: No OFD packet to send [19:16:59]OFD Sender: No OFD packet to send [19:17:04]OFD Sender: No OFD packet to send [19:17:09]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:00]OFD Sender: No OFD packet to send [19:18:05]OFD Sender: No OFD packet to send [19:18:10]OFD Sender: No OFD packet to send [19:18:15]OFD Sender: No OFD packet to send [19:18:20]OFD Sender: No OFD packet to send [19:18:25]OFD Sender: No OFD packet to send [19:18:30]OFD Sender: No OFD packet to send [19:18:35]OFD Sender: No OFD packet to send [19:18:40]OFD Sender: No OFD packet to send [19:18:45]OFD Sender: No OFD packet to send [19:18:50]OFD Sender: No OFD packet to send [19:18:55]OFD Sender: No OFD packet to send [19:19:00]OFD Sender: No OFD packet to send [19:19:05]OFD Sender: No OFD packet to send [19:19:10]OFD Sender: No OFD packet to send [19:19:15]OFD Sender: No OFD packet to send [19:19:20]OFD Sender: No OFD packet to send [19:19:25]OFD Sender: No OFD packet to send [19:19:30]OFD Sender: No OFD packet to send [19:19:35]OFD Sender: No OFD packet to send [19:19:40]OFD Sender: No OFD packet to send [19:19:45]OFD Sender: No OFD packet to send [19:19:50]OFD Sender: No OFD packet to send [19:19:55]OFD Sender: No OFD packet to send [19:20:00]OFD Sender: No OFD packet to send [19:20:05]OFD Sender: No OFD packet to send [19:20:10]OFD Sender: No OFD packet to send [19:20:15]OFD Sender: No OFD packet to send [19:20:20]OFD Sender: No OFD packet to send [19:20:25]OFD Sender: No OFD packet to send [19:20:30]OFD Sender: No OFD packet to send [19:20:35]OFD Sender: No OFD packet to send [19:20:40]OFD Sender: No OFD packet to send [19:20:45]OFD Sender: No OFD packet to send [19:20:50]OFD Sender: No OFD packet to send [19:20:55]OFD Sender: No OFD packet to send [19:21:00]OFD Sender: No OFD packet to send [19:21:05]OFD Sender: No OFD packet to send [19:21:10]OFD Sender: No OFD packet to send [19:21:15]OFD Sender: No OFD packet to send [19:21:20]OFD Sender: No OFD packet to send [19:21:25]OFD Sender: No OFD packet to send [19:21:30]OFD Sender: No OFD packet to send [19:21:35]OFD Sender: No OFD packet to send [19:21:40]OFD Sender: No OFD packet to send [19:21:45]OFD Sender: No OFD packet to send [19:21:50]OFD Sender: No OFD packet to send [19:21:55]OFD Sender: No OFD packet to send [19:22:00]OFD Sender: No OFD packet to send [19:22:05]OFD Sender: No OFD packet to send [19:22:10]OFD Sender: No OFD packet to send [19:22:15]OFD Sender: No OFD packet to send [19:22:20]OFD Sender: No OFD packet to send [19:22:25]OFD Sender: No OFD packet to send [19:22:30]OFD Sender: No OFD packet to send [19:22:35]OFD Sender: No OFD packet to send [19:22:40]OFD Sender: No OFD packet to send [19:22:45]OFD Sender: No OFD packet to send [19:22:50]OFD Sender: No OFD packet to send [19:22:55]OFD Sender: No OFD packet to send [19:23:00]OFD Sender: No OFD packet to send [19:23:05]OFD Sender: No OFD packet to send [19:23:10]OFD Sender: No OFD packet to send [19:23:15]OFD Sender: No OFD packet to send [19:23:20]OFD Sender: No OFD packet to send [19:23:25]OFD Sender: No OFD packet to send [19:23:30]OFD Sender: No OFD packet to send [19:23:35]OFD Sender: No OFD packet to send [19:23:40]OFD Sender: No OFD packet to send [19:23:45]OFD Sender: No OFD packet to send [19:23:50]OFD Sender: No OFD packet to send [19:23:55]OFD Sender: No OFD packet to send [19:24:00]OFD Sender: No OFD packet to send [19:24:05]OFD Sender: No OFD packet to send [19:24:10]OFD Sender: No OFD packet to send [19:24:15]OFD Sender: No OFD packet to send [19:24:20]OFD Sender: No OFD packet to send [19:24:25]OFD Sender: No OFD packet to send [19:24:30]OFD Sender: No OFD packet to send [19:24:35]OFD Sender: No OFD packet to send [19:24:40]OFD Sender: No OFD packet to send [19:24:45]OFD Sender: No OFD packet to send [19:24:50]OFD Sender: No OFD packet to send [19:24:55]OFD Sender: No OFD packet to send [19:25:00]OFD Sender: No OFD packet to send [19:25:05]OFD Sender: No OFD packet to send [19:25:10]OFD Sender: No OFD packet to send [19:25:15]OFD Sender: No OFD packet to send [19:25:20]OFD Sender: No OFD packet to send [19:25:25]OFD Sender: No OFD packet to send [19:25:30]OFD Sender: No OFD packet to send [19:25:35]OFD Sender: No OFD packet to send [19:25:40]OFD Sender: No OFD packet to send [19:25:45]OFD Sender: No OFD packet to send [19:25:50]OFD Sender: No OFD packet to send [19:25:55]OFD Sender: No OFD packet to send [19:26:00]OFD Sender: No OFD packet to send [19:26:05]OFD Sender: No OFD packet to send [19:26:10]OFD Sender: No OFD packet to send [19:26:15]OFD Sender: No OFD packet to send [19:26:20]OFD Sender: No OFD packet to send [19:26:25]OFD Sender: No OFD packet to send [19:26:30]OFD Sender: No OFD packet to send [19:26:35]OFD Sender: No OFD packet to send [19:26:40]OFD Sender: No OFD packet to send [19:26:45]OFD Sender: No OFD packet to send [19:26:50]OFD Sender: No OFD packet to send [19:26:55]OFD Sender: No OFD packet to send [19:27:00]OFD Sender: No OFD packet to send [19:27:05]OFD Sender: No OFD packet to send [19:27:10]OFD Sender: No OFD packet to send [19:27:15]OFD Sender: No OFD packet to send [19:27:20]OFD Sender: No OFD packet to send [19:27:25]OFD Sender: No OFD packet to send [19:27:30]OFD Sender: No OFD packet to send [19:27:35]OFD Sender: No OFD packet to send [19:27:40]OFD Sender: No OFD packet to send [19:27:45]OFD Sender: No OFD packet to send [19:27:50]OFD Sender: No OFD packet to send [19:27:55]OFD Sender: No OFD packet to send [19:28:00]OFD Sender: No OFD packet to send [19:28:05]OFD Sender: No OFD packet to send [19:28:10]OFD Sender: No OFD packet to send [19:28:15]OFD Sender: No OFD packet to send [19:28:20]OFD Sender: No OFD packet to send [19:28:25]OFD Sender: No OFD packet to send [19:28:30]OFD Sender: No OFD packet to send [19:28:35]OFD Sender: No OFD packet to send [19:28:40]OFD Sender: No OFD packet to send [19:28:45]OFD Sender: No OFD packet to send [19:28:50]OFD Sender: No OFD packet to send [19:28:55]OFD Sender: No OFD packet to send [19:29:00]OFD Sender: No OFD packet to send [19:29:05]OFD Sender: No OFD packet to send [19:29:10]OFD Sender: No OFD packet to send [19:29:15]OFD Sender: No OFD packet to send [19:29:20]OFD Sender: No OFD packet to send [19:29:25]OFD Sender: No OFD packet to send [19:29:30]OFD Sender: No OFD packet to send [19:29:35]OFD Sender: No OFD packet to send [19:29:40]OFD Sender: No OFD packet to send [19:29:45]OFD Sender: No OFD packet to send [19:29:50]OFD Sender: No OFD packet to send [19:29:55]OFD Sender: No OFD packet to send [19:30:00]OFD Sender: No OFD packet to send [19:30:05]OFD Sender: No OFD packet to send [19:30:10]OFD Sender: No OFD packet to send [19:30:15]OFD Sender: No OFD packet to send [19:30:20]OFD Sender: No OFD packet to send [19:30:25]OFD Sender: No OFD packet to send [19:30:30]OFD Sender: No OFD packet to send [19:30:35]OFD Sender: No OFD packet to send [19:30:37]accept exits with 9 [19:30:37]New connection [19:30:37]New thread 3066707300 created [19:30:37]Thread 3066850660 joined [19:30:37]Waiting for new connection... [19:30:37] Sock 9.Parse request [19:30:37]Sock 9.Check first char [19:30:37]Sock 9.First char is OK [19:30:37]request: POST /json_proto HTTP/1.0 [19:30:37]Method: POST [19:30:37]URL: /json_proto [19:30:37]Method is POST - this is cgi request [19:30:37]url: /json_proto [19:30:37]query_string will be loaded in cgi processing [19:30:37]execute_cgi json_proto POST (null) [19:30:37]execute_cgi path=json_proto method=POST [19:30:37]POST find Content-Length [19:30:37]Host: 172.17.52.132:8080 [19:30:37]Content-Length: 1765 [19:30:37]Content-Type: application/json [19:30:37] [19:30:37]POST finish read [19:30:37]Found Content-Length = 1765 [19:30:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99971", "tax_sys" : 0, "items" : [ { "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001346", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u0441\u0442", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 679.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:30:37]execute_script... [19:30: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)99971", "tax_sys" : 0, "items" : [ { "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001346", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u0441\u0442", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 679.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:30:38]POST & json_proto [19:30:38]process_json_proto [19:30:38]json parsed OK: [19:30:38]protocol is kg_v1.0 [19:30:38]action value=close_receipt [19:30:38]process_action close_receipt [19:30:38]cmd_close_receipt [19:30:38]MH_GetDate [19:30:38]Write to MH i2c: F0 00 00 FE 51 3E [19:30:38]Write i2c OK [19:30:38]MH_I2C_Read... [19:30:38]Read from MH i2c: F0 [19:30:38]MH_I2C_Read... [19:30:38]Read from MH i2c: F0 09 00 [19:30:38]MH_I2C_Read... [19:30:38]Read from MH i2c: F0 09 00 FE 51 00 E9 08 14 67 5A BE F6 66 27 [19:30:38]GetLastDocTimeStamp 1729365122 [19:30:38]current date 1729366249 [19:30:38]FM_GetShiftState [19:30:38]SAM_PROTO_GetShiftState [19:30:38]wFMCommunicate request_size=4 [19:30:38]MH_SAM_APDU [19:30:38]CAPDU: 80 13 01 00 [19:30:38]Write to MH i2c: E2 08 00 FF 51 80 13 01 00 00 00 00 00 CD [19:30:38]Write i2c OK [19:30:38]MH_I2C_Read... [19:30:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:30:38]Read from MH i2c: E2 [19:30:38]MH_I2C_Read... [19:30:38]Read from MH i2c: E2 0E 00 [19:30:38]MH_I2C_Read... [19:30:38]Read from MH i2c: E2 0E 00 FF 51 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 76 [19:30:38]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [19:30:38]wFMCommunicate OK [19:30:38]SAM_PROTO_GetShiftState done [19:30:38]FM_GetShiftState done [19:30:38]opened in 1729296173 [19:30:38]opened+sec_in_day 1729382573 [19:30:38]quantity*price = 9000 [19:30:38]sum+1 = 9001 [19:30:38]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036210013 Кофе Капучино (GABB TRADE) 2.000 * 115.00 = 230.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4860019001346 Вода Боржоми 0,5л ст 1.000 * 134.00 = 134.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 679.00 НСП 1% : 6.01 НДС 12% : 72.10 Наличными: 679.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 54 19.10.2024 19:30 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2593 ФПД: 87615925933458 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193049&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2593&fm=87615925933458&tin=02508201610067®Number=0000000000207295&sum=67900 0 [19:30:39]StoreToDocumentArchive [19:30:39]shift 23 fd 2593 [19:30:39]save to /storage/0023/doc_00002593 [19:30:39]save last doc name /storage/0023/doc_00002593 to /storage/kkm_last_doc_name [19:30:39]save OK [19:30:39]Clear old archive folders... [19:30:39]ProcessDocumentItem done err = 0, tmpTLVsize=750 [19:30:39]tlvbuf is 014F6C10 [19:30:39]SAM_PROTO_ClearQueue [19:30:39]wFMCommunicate request_size=4 [19:30:39]MH_SAM_APDU [19:30:39]CAPDU: 80 09 00 00 [19:30:39]Write to MH i2c: E2 08 00 0C 52 80 09 00 00 00 00 00 00 D0 [19:30:39]Write i2c OK [19:30:39]MH_I2C_Read... [19:30:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:30:39]Read from MH i2c: E2 [19:30:39]MH_I2C_Read... [19:30:39]Read from MH i2c: E2 03 00 [19:30:39]MH_I2C_Read... [19:30:39]Read from MH i2c: E2 03 00 0C 52 00 90 00 D2 [19:30:39]RAPDU: 90 00 [19:30:39]wFMCommunicate OK [19:30:39]SAM_PROTO_ClearQueue done [19:30:39]KKMCreateOFDPacket [19:30:39]OFDProtocolAddRootSTLVToBuf [19:30:39]FM_MakeSignedData [19:30:39]FM_MakeSignedData [19:30:39]SAM_PROTO_SignData [19:30:39]wFMCommunicate request_size=4 [19:30:39]MH_SAM_APDU [19:30:39]CAPDU: 80 0D 01 02 [19:30:39]Write to MH i2c: E2 08 00 0D 52 80 0D 01 02 00 00 00 00 D8 [19:30:39]Write i2c OK [19:30:39]MH_I2C_Read... [19:30:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:30:39]Read from MH i2c: E2 [19:30:39]MH_I2C_Read... [19:30:39]Read from MH i2c: E2 03 00 [19:30:39]MH_I2C_Read... [19:30:39]Read from MH i2c: E2 03 00 0D 52 00 90 00 D3 [19:30:39]RAPDU: 90 00 [19:30:39]wFMCommunicate OK [19:30:39]wFMCommunicate request_size=255 [19:30:39]MH_SAM_APDU [19:30:39]CAPDU: 80 0D 02 02 FA 03 00 EE 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 [19:30:39]Write to MH i2c: E2 02 01 0E 52 80 0D 02 02 FA 00 03 00 EE 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 00 00 35 [19:30:39]Write i2c OK [19:30:39]MH_I2C_Read... [19:30:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:30:39]Read from MH i2c: E2 [19:30:39]MH_I2C_Read... [19:30:39]Read from MH i2c: E2 03 00 [19:30:39]MH_I2C_Read... [19:30:39]Read from MH i2c: E2 03 00 0E 52 00 90 00 D4 [19:30:39]RAPDU: 90 00 [19:30:39]wFMCommunicate OK [19:30:39]wFMCommunicate request_size=255 [19:30:39]MH_SAM_APDU [19:30:39]CAPDU: 80 0D 02 02 FA 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 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 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 [19:30:39]Write to MH i2c: E2 02 01 0F 52 80 0D 02 02 FA 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 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 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 00 00 B9 [19:30:39]Write i2c OK [19:30:39]MH_I2C_Read... [19:30:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:30:40]Read from MH i2c: E2 [19:30:40]MH_I2C_Read... [19:30:40]Read from MH i2c: E2 03 00 [19:30:40]MH_I2C_Read... [19:30:40]Read from MH i2c: E2 03 00 0F 52 00 90 00 D5 [19:30:40]RAPDU: 90 00 [19:30:40]wFMCommunicate OK [19:30:40]wFMCommunicate request_size=255 [19:30:40]MH_SAM_APDU [19:30:40]CAPDU: 80 0D 02 02 FA 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 3C 09 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 1C 00 00 00 00 07 04 06 00 3C 09 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 E9 08 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 21 0A 00 00 35 04 06 00 4F AF [19:30:40]Write to MH i2c: E2 02 01 10 52 80 0D 02 02 FA 00 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 3C 09 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 1C 00 00 00 00 07 04 06 00 3C 09 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 E9 08 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 21 0A 00 00 35 04 06 00 4F AF 00 00 A8 [19:30:40]Write i2c OK [19:30:40]MH_I2C_Read... [19:30:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:30:40]Read from MH i2c: E2 [19:30:40]MH_I2C_Read... [19:30:40]Read from MH i2c: E2 03 00 [19:30:40]MH_I2C_Read... [19:30:40]Read from MH i2c: E2 03 00 10 52 00 90 00 D6 [19:30:40]RAPDU: 90 00 [19:30:40]wFMCommunicate OK [19:30:40]wFMCommunicate request_size=9 [19:30:40]MH_SAM_APDU [19:30:40]CAPDU: 80 0D 02 02 04 AC 24 55 92 [19:30:40]Write to MH i2c: E2 0C 00 11 52 80 0D 02 02 04 00 AC 24 55 92 00 00 9C [19:30:40]Write i2c OK [19:30:40]MH_I2C_Read... [19:30:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:30:40]Read from MH i2c: E2 [19:30:40]MH_I2C_Read... [19:30:40]Read from MH i2c: E2 03 00 [19:30:40]MH_I2C_Read... [19:30:40]Read from MH i2c: E2 03 00 11 52 00 90 00 D7 [19:30:40]RAPDU: 90 00 [19:30:40]wFMCommunicate OK [19:30:40]wFMCommunicate request_size=4 [19:30:40]MH_SAM_APDU [19:30:40]CAPDU: 80 0D 03 02 [19:30:40]Write to MH i2c: E2 08 00 12 52 80 0D 03 02 00 00 00 00 DF [19:30:40]Write i2c OK [19:30:40]MH_I2C_Read... [19:30:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:30:40]Read from MH i2c: E2 [19:30:40]MH_I2C_Read... [19:30:40]Read from MH i2c: E2 0B 00 [19:30:40]MH_I2C_Read... [19:30:40]Read from MH i2c: E2 0B 00 12 52 00 BC 7B C7 DC 37 86 4E 19 90 00 DE [19:30:40]RAPDU: BC 7B C7 DC 37 86 4E 19 90 00 [19:30:40]wFMCommunicate OK [19:30:40]SAM_PROTO_SignData done [19:30:40]FM_MakeSignedData done [19:30:40]CreateOFDProtocolMessage [19:30:40]wFMCommunicate request_size=4 [19:30:40]MH_SAM_APDU [19:30:40]CAPDU: 80 11 00 00 [19:30:40]Write to MH i2c: E2 08 00 13 52 80 11 00 00 00 00 00 00 DF [19:30:40]Write i2c OK [19:30:40]MH_I2C_Read... [19:30:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:30:40]Read from MH i2c: E2 [19:30:40]MH_I2C_Read... [19:30:40]Read from MH i2c: E2 17 00 [19:30:40]MH_I2C_Read... [19:30:40]Read from MH i2c: E2 17 00 13 52 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 27 [19:30:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:30:40]wFMCommunicate OK [19:30:40]CreateOFDProtocolMessage done [19:30:40]OFDSenderStorePacket 2593 [19:30:40]StoreOFDPacket docnum=2593 [19:30:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 02 03 00 00 D5 9C FA 02 5D 62 5A 03 01 00 03 00 EE 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 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 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 3C 09 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 1C 00 00 00 00 07 04 06 00 3C 09 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 E9 08 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 21 0A 00 00 35 04 06 00 4F AF AC 24 55 92 BC 7B C7 DC 37 86 4E 19 [19:30:40]CheckFolder [19:30:40]dirname=/storage/ofd_packets [19:30:40]CheckFolder done [19:30:40]ProducePacketName [19:30:40]name=ofd_packets/00002593 [19:30:40]NVStorageSaveData ofd_packets/00002593 [19:30:40]File name is /storage/ofd_packets/00002593 [19:30:40]Write 800 bytes [19:30:40]NVStorageSaveData done [19:30:40]OFDSenderStorePacket done [19:30:40]KKMCreateOFDPacket done [19:30:40]NVStorageSaveData kkm_last_timestamp [19:30:40]File name is /storage/kkm_last_timestamp [19:30:40]Write 4 bytes [19:30:40]NVStorageSaveData done [19:30:40]ExternCall_PrintAddStr [19:30:40]wPrintStart [19:30:40]Write to MH i2c: 01 00 00 14 52 66 [19:30:40]Write i2c OK [19:30:40]MH_I2C_Read... [19:30:40]Read from MH i2c: 01 [19:30:40]MH_I2C_Read... [19:30:40]Read from MH i2c: 01 07 00 [19:30:40]MH_I2C_Read... [19:30:40]Read from MH i2c: 01 07 00 14 52 00 00 00 00 00 FF 0F 7B [19:30:40]RasterBufferAndPrint [19:30:40]line Счет N : (3)99971 [19:30:40]line ИНН: 02508201610067 [19:30:40]line Контрольно-Кассовый Чек [19:30:40]line ПРОДАЖА [19:30:40]line Товар: 4660085515163 [19:30:40]line Шок Батончик Сникерс супер 95/80г [19:30:40]line 1.000 * 90.00 [19:30:40]line = 90.00 [19:30:40]line НДС 12% НСП 1% [19:30:40]line > о реализуемом товаре [19:30:40]line Товар: 4700000480050 [19:30:40]line Напиток Nitro Energy эн green ж/б 0,45л [19:30:40]line 1.000 * 95.00 [19:30:40]line = 95.00 [19:30:40]line НДС 12% НСП 1% [19:30:40]line > о реализуемом товаре [19:30:40]line Товар: 2000036210013 [19:30:40]line Кофе Капучино (GABB TRADE) [19:30:40]line 2.000 * 115.00 [19:30:40]line = 230.00 [19:30:40]line НДС 12% НСП 1% [19:30:40]line > о реализуемом товаре [19:30:40]line Товар: 4860019001346 [19:30:40]line Вода Боржоми 0,5л ст [19:30:40]line 1.000 * 134.00 [19:30:40]line = 134.00 [19:30:40]line НДС 12% НСП 1% [19:30:40]line > о реализуемом товаре [19:30:40]line Товар: 2000036220012 [19:30:40]line Кофе Капучино XL(GABB TRADE) [19:30:40]line 1.000 * 130.00 [19:30:40]line = 130.00 [19:30:40]line НДС 12% НСП 1% [19:30:40]line > о реализуемом товаре [19:30:40]line ИТОГО: 679.00 [19:30:40]line НСП 1% : 6.01 [19:30:40]line НДС 12% : 72.10 [19:30:40]line Наличными: 679.00 [19:30:40]line Безнал.: 0.00 [19:30:40]line Место: АЗС № 162 "Партнер Нефть" [19:30:40]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [19:30:40]line СНО: Общий режим [19:30:40]line Чек 54 19.10.2024 19:30 [19:30:40]line Смена: 23 ФФД: 1.0 [19:30:40]line ЗНМ: 0300000191 [19:30:40]line РНМ: 0000000000207295 [19:30:40]line Версия ККМ: v1.0 [19:30:40]line ФМ: 0000000002342820 [19:30:40]line ФД: 2593 [19:30:40]line ФПД: 87615925933458 [19:30:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193049&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2593&fm=87615925933458&tin=02508201610067®Number=0000000000207295&sum=67900 [19:30:40]line 0 [19:30:40]OFD Sender: Processing packet 2593 [packets to send 1, broken 0] [19:30:40]ProducePacketName [19:30:40]name=ofd_packets/00002593 [19:30:40]OFD Sender: To server: pG, [19:30:40]CommunicateWithHost lk.salyk.kg:30040 [19:30:40]ConnectInit lk.salyk.kg [19:30:40]written 0, free lines is 4095 [19:30:41]Connected sock=10 [19:30:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 02 03 00 00 D5 9C FA 02 5D 62 5A 03 01 00 03 00 EE 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 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 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 3C 09 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 1C 00 00 00 00 07 04 06 00 3C 09 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 E9 08 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 21 0A 00 00 35 04 06 00 4F AF AC 24 55 92 BC 7B C7 DC 37 86 4E 19 [19:30:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 61 11 47 00 DC BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 21 0A 00 00 F4 03 04 00 49 B4 13 67 B6 04 01 00 00 79 48 5A E6 48 F2 D2 5A [19:30:41]CommunicateWithHost err = 0 [19:30:41]CheckOFDResponse [19:30:41]1017 (14) - 77093643461234 [19:30:41]1041 (16) - 0000000002342820 [19:30:41]1040 (4) - 2593 [19:30:41]1012 (4) - 19.10.2024 13:29 [19:30:41]1206 (1) - 0 [19:30:41]OFD Sender: Remove packet 2593 [19:30:41]ProducePacketName [19:30:41]name=ofd_packets/00002593 [19:30:41]NVStorageDeleteData [19:30:41]Write to MH i2c: 01 00 00 57 52 A9 [19:30:41]Write i2c OK [19:30:41]MH_I2C_Read... [19:30:41]Read from MH i2c: 01 [19:30:41]MH_I2C_Read... [19:30:41]Read from MH i2c: 01 07 00 [19:30:41]MH_I2C_Read... [19:30:41]Read from MH i2c: 01 07 00 57 52 00 00 00 00 00 0E 0B C9 [19:30:41]RasterBufferAndPrint [19:30:41]line [19:30:41]line [19:30:41]line [19:30:41]line [19:30:41]line [19:30:41]written 0, free lines is 2838 [19:30:41]MH_Cut [19:30:41]Write to MH i2c: D1 01 00 5E 52 01 82 [19:30:41]Write i2c OK [19:30:41]MH_I2C_Read... [19:30:41]Read from MH i2c: D1 [19:30:41]MH_I2C_Read... [19:30:41]Read from MH i2c: D1 01 00 [19:30:41]MH_I2C_Read... [19:30:41]Read from MH i2c: D1 01 00 5E 52 00 81 [19:30:41]Write to MH i2c: 01 00 00 5F 52 B1 [19:30:41]Write i2c OK [19:30:41]MH_I2C_Read... [19:30:41]OFD Sender: No OFD packet to send [19:30:42]*** Cut start [19:30:42]*** Partial cut [19:30:42]*** CUTSNS_PIN = 1 [19:30:42]*** CUTSNS_PIN = 0 [19:30:43]*** Brake cut motor [19:30:43]Read from MH i2c: 01 [19:30:43]MH_I2C_Read... [19:30:43]*** Stop cut motor [19:30:43]*** Cut end [19:30:43]Read from MH i2c: 01 07 00 [19:30:43]MH_I2C_Read... [19:30:43]Read from MH i2c: 01 07 00 5F 52 00 00 00 00 00 FF 0F C6 [19:30:43]process_action close_receipt done [19:30:43]requested_data is exist [19:30:43]produce_requested_data [19:30:43]requested_item fm.sn is exist - process it [19:30:43]wFMCommunicate request_size=4 [19:30:43]MH_SAM_APDU [19:30:43]CAPDU: 80 11 00 00 [19:30:43]Write to MH i2c: E2 08 00 60 52 80 11 00 00 00 00 00 00 2C [19:30:43]Write i2c OK [19:30:43]MH_I2C_Read... [19:30:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:30:43]Read from MH i2c: E2 [19:30:43]MH_I2C_Read... [19:30:43]Read from MH i2c: E2 17 00 [19:30:43]MH_I2C_Read... [19:30:43]Read from MH i2c: E2 17 00 60 52 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 74 [19:30:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:30:43]wFMCommunicate OK [19:30:43]requested_item fd.num is exist - process it [19:30:43]SAM_PROTO_GetFieldsCounters [19:30:43]wFMCommunicate request_size=4 [19:30:43]MH_SAM_APDU [19:30:43]CAPDU: 80 13 00 00 [19:30:43]Write to MH i2c: E2 08 00 61 52 80 13 00 00 00 00 00 00 2F [19:30:43]Write i2c OK [19:30:43]MH_I2C_Read... [19:30:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:30:43]Read from MH i2c: E2 [19:30:43]MH_I2C_Read... [19:30:43]Read from MH i2c: E2 62 00 [19:30:43]MH_I2C_Read... [19:30:43]Read from MH i2c: E2 62 00 61 52 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 21 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 29 [19:30:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 21 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:30:43]wFMCommunicate OK [19:30:43]SAM_PROTO_GetFieldsCounters done [19:30:43]requested_item shift.num is exist - process it [19:30:43]requested_item shift.opened is exist - process it [19:30:43]req_shift_opened [19:30:43]FM_GetShiftState [19:30:43]SAM_PROTO_GetShiftState [19:30:43]wFMCommunicate request_size=4 [19:30:43]MH_SAM_APDU [19:30:43]CAPDU: 80 13 01 00 [19:30:43]Write to MH i2c: E2 08 00 62 52 80 13 01 00 00 00 00 00 31 [19:30:43]Write i2c OK [19:30:43]MH_I2C_Read... [19:30:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:30:43]Read from MH i2c: E2 [19:30:43]MH_I2C_Read... [19:30:43]Read from MH i2c: E2 0E 00 [19:30:43]MH_I2C_Read... [19:30:43]Read from MH i2c: E2 0E 00 62 52 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 DA [19:30:43]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [19:30:43]wFMCommunicate OK [19:30:43]SAM_PROTO_GetShiftState done [19:30:43]FM_GetShiftState done [19:30:43]req_shift_opened done [19:30:43]requested_item shift.open_date is exist - process it [19:30:43]req_shift_open_date [19:30:43]req_shift_open_date done [19:30:43]produce_requested_data done [19:30:43]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2593,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [19:30:43]process_action_free close_receipt [19:30:43]json_value_free [19:30:43]json_value_free done [19:30:43]process_json_proto returns [19:30:43]Send response to host [19:30:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2593,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [19:30:43]free response buf [19:30:43]execute_script done [19:30:43]execute_script returns [19:30:43]free content buf [19:30:43]Sock 9.Close socket [19:30:43]Sock 9.Thread stoped [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:44]accept exits with 7 [19:32:44]New connection [19:32:44]New thread 3066850660 created [19:32:44]Thread 3066707300 joined [19:32:44]Waiting for new connection... [19:32:44] Sock 7.Parse request [19:32:44]Sock 7.Check first char [19:32:44]Sock 7.First char is OK [19:32:44]request: POST /json_proto HTTP/1.0 [19:32:44]Method: POST [19:32:44]URL: /json_proto [19:32:44]Method is POST - this is cgi request [19:32:44]url: /json_proto [19:32:44]query_string will be loaded in cgi processing [19:32:44]execute_cgi json_proto POST (null) [19:32:44]execute_cgi path=json_proto method=POST [19:32:44]POST find Content-Length [19:32:44]Host: 172.17.52.132:8080 [19:32:44]Content-Length: 773 [19:32:44]Content-Type: application/json [19:32:44] [19:32:44]POST finish read [19:32:44]Found Content-Length = 773 [19:32:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99972", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:32:44]execute_script... [19:32: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)99972", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:32:44]POST & json_proto [19:32:44]process_json_proto [19:32:44]json parsed OK: [19:32:44]protocol is kg_v1.0 [19:32:44]action value=close_receipt [19:32:44]process_action close_receipt [19:32:44]cmd_close_receipt [19:32:44]MH_GetDate [19:32:44]Write to MH i2c: F0 00 00 63 52 A4 [19:32:44]Write i2c OK [19:32:44]MH_I2C_Read... [19:32:44]Read from MH i2c: F0 [19:32:44]MH_I2C_Read... [19:32:44]Read from MH i2c: F0 09 00 [19:32:44]MH_I2C_Read... [19:32:44]Read from MH i2c: F0 09 00 63 52 00 67 09 14 67 5A BE F6 66 0C [19:32:44]GetLastDocTimeStamp 1729366249 [19:32:44]current date 1729366375 [19:32:44]FM_GetShiftState [19:32:44]SAM_PROTO_GetShiftState [19:32:44]wFMCommunicate request_size=4 [19:32:44]MH_SAM_APDU [19:32:44]CAPDU: 80 13 01 00 [19:32:44]Write to MH i2c: E2 08 00 64 52 80 13 01 00 00 00 00 00 33 [19:32:44]Write i2c OK [19:32:44]MH_I2C_Read... [19:32:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:32:44]Read from MH i2c: E2 [19:32:44]MH_I2C_Read... [19:32:44]Read from MH i2c: E2 0E 00 [19:32:44]MH_I2C_Read... [19:32:44]Read from MH i2c: E2 0E 00 64 52 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 DC [19:32:44]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [19:32:44]wFMCommunicate OK [19:32:44]SAM_PROTO_GetShiftState done [19:32:44]FM_GetShiftState done [19:32:44]opened in 1729296173 [19:32:44]opened+sec_in_day 1729382573 [19:32:44]quantity*price = 26500 [19:32:44]sum+1 = 26501 [19:32:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 265.00 НСП 1% : 2.34 НДС 12% : 28.14 Наличными: 0.00 Безнал.: 265.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 55 19.10.2024 19:32 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000002342820 ФД: 2594 ФПД: 261247685960120 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193255&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2594&fm=261247685960120&tin=02508201610067®Number=0000000000207295&sum=26500 0 [19:32:45]StoreToDocumentArchive [19:32:45]shift 23 fd 2594 [19:32:45]save to /storage/0023/doc_00002594 [19:32:45]save last doc name /storage/0023/doc_00002594 to /storage/kkm_last_doc_name [19:32:45]save OK [19:32:45]Clear old archive folders... [19:32:45]ProcessDocumentItem done err = 0, tmpTLVsize=279 [19:32:45]tlvbuf is 014385D0 [19:32:45]SAM_PROTO_ClearQueue [19:32:45]wFMCommunicate request_size=4 [19:32:45]MH_SAM_APDU [19:32:45]CAPDU: 80 09 00 00 [19:32:45]Write to MH i2c: E2 08 00 71 52 80 09 00 00 00 00 00 00 35 [19:32:45]Write i2c OK [19:32:45]MH_I2C_Read... [19:32:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:32:45]Read from MH i2c: E2 [19:32:45]MH_I2C_Read... [19:32:45]Read from MH i2c: E2 03 00 [19:32:45]MH_I2C_Read... [19:32:45]Read from MH i2c: E2 03 00 71 52 00 90 00 37 [19:32:45]RAPDU: 90 00 [19:32:45]wFMCommunicate OK [19:32:45]SAM_PROTO_ClearQueue done [19:32:45]KKMCreateOFDPacket [19:32:45]OFDProtocolAddRootSTLVToBuf [19:32:45]FM_MakeSignedData [19:32:45]FM_MakeSignedData [19:32:45]SAM_PROTO_SignData [19:32:45]wFMCommunicate request_size=4 [19:32:45]MH_SAM_APDU [19:32:45]CAPDU: 80 0D 01 02 [19:32:45]Write to MH i2c: E2 08 00 72 52 80 0D 01 02 00 00 00 00 3D [19:32:45]Write i2c OK [19:32:45]MH_I2C_Read... [19:32:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:32:45]Read from MH i2c: E2 [19:32:45]MH_I2C_Read... [19:32:45]Read from MH i2c: E2 03 00 [19:32:45]MH_I2C_Read... [19:32:45]Read from MH i2c: E2 03 00 72 52 00 90 00 38 [19:32:45]RAPDU: 90 00 [19:32:45]wFMCommunicate OK [19:32:45]wFMCommunicate request_size=255 [19:32:45]MH_SAM_APDU [19:32:45]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 67 09 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 [19:32:45]Write to MH i2c: E2 02 01 73 52 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 67 09 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 00 00 E5 [19:32:45]Write i2c OK [19:32:45]MH_I2C_Read... [19:32:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:32:45]Read from MH i2c: E2 [19:32:45]MH_I2C_Read... [19:32:45]Read from MH i2c: E2 03 00 [19:32:45]MH_I2C_Read... [19:32:45]Read from MH i2c: E2 03 00 73 52 00 90 00 39 [19:32:45]RAPDU: 90 00 [19:32:45]wFMCommunicate OK [19:32:45]wFMCommunicate request_size=38 [19:32:45]MH_SAM_APDU [19:32:45]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 22 0A 00 00 35 04 06 00 ED 9A 77 85 21 B8 [19:32:45]Write to MH i2c: E2 29 00 74 52 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 22 0A 00 00 35 04 06 00 ED 9A 77 85 21 B8 00 00 46 [19:32:45]Write i2c OK [19:32:45]MH_I2C_Read... [19:32:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:32:45]Read from MH i2c: E2 [19:32:45]MH_I2C_Read... [19:32:45]Read from MH i2c: E2 03 00 [19:32:45]MH_I2C_Read... [19:32:45]Read from MH i2c: E2 03 00 74 52 00 90 00 3A [19:32:45]RAPDU: 90 00 [19:32:45]wFMCommunicate OK [19:32:45]wFMCommunicate request_size=4 [19:32:45]MH_SAM_APDU [19:32:45]CAPDU: 80 0D 03 02 [19:32:45]Write to MH i2c: E2 08 00 75 52 80 0D 03 02 00 00 00 00 42 [19:32:45]Write i2c OK [19:32:45]MH_I2C_Read... [19:32:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:32:45]Read from MH i2c: E2 [19:32:45]MH_I2C_Read... [19:32:45]Read from MH i2c: E2 0B 00 [19:32:45]MH_I2C_Read... [19:32:45]Read from MH i2c: E2 0B 00 75 52 00 B4 A4 3C 6E 45 5B 19 07 90 00 05 [19:32:45]RAPDU: B4 A4 3C 6E 45 5B 19 07 90 00 [19:32:45]wFMCommunicate OK [19:32:45]SAM_PROTO_SignData done [19:32:45]FM_MakeSignedData done [19:32:45]CreateOFDProtocolMessage [19:32:45]wFMCommunicate request_size=4 [19:32:45]MH_SAM_APDU [19:32:45]CAPDU: 80 11 00 00 [19:32:45]Write to MH i2c: E2 08 00 76 52 80 11 00 00 00 00 00 00 42 [19:32:45]Write i2c OK [19:32:45]MH_I2C_Read... [19:32:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:32:45]Read from MH i2c: E2 [19:32:45]MH_I2C_Read... [19:32:45]Read from MH i2c: E2 17 00 [19:32:45]MH_I2C_Read... [19:32:45]Read from MH i2c: E2 17 00 76 52 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 8A [19:32:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:32:45]wFMCommunicate OK [19:32:45]CreateOFDProtocolMessage done [19:32:45]OFDSenderStorePacket 2594 [19:32:45]StoreOFDPacket docnum=2594 [19:32:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2B 01 00 00 5C 0B 23 01 33 11 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 67 09 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 22 0A 00 00 35 04 06 00 ED 9A 77 85 21 B8 B4 A4 3C 6E 45 5B 19 07 [19:32:45]CheckFolder [19:32:45]dirname=/storage/ofd_packets [19:32:45]CheckFolder done [19:32:45]ProducePacketName [19:32:45]name=ofd_packets/00002594 [19:32:45]NVStorageSaveData ofd_packets/00002594 [19:32:45]File name is /storage/ofd_packets/00002594 [19:32:45]Write 329 bytes [19:32:45]NVStorageSaveData done [19:32:45]OFDSenderStorePacket done [19:32:45]KKMCreateOFDPacket done [19:32:45]NVStorageSaveData kkm_last_timestamp [19:32:45]File name is /storage/kkm_last_timestamp [19:32:45]Write 4 bytes [19:32:45]NVStorageSaveData done [19:32:45]ExternCall_PrintAddStr [19:32:45]wPrintStart [19:32:45]Write to MH i2c: 01 00 00 77 52 C9 [19:32:45]Write i2c OK [19:32:45]MH_I2C_Read... [19:32:45]Read from MH i2c: 01 [19:32:45]MH_I2C_Read... [19:32:45]Read from MH i2c: 01 07 00 [19:32:45]MH_I2C_Read... [19:32:45]Read from MH i2c: 01 07 00 77 52 00 00 00 00 00 FF 0F DE [19:32:45]RasterBufferAndPrint [19:32:45]line Счет N : (3)99972 [19:32:45]line ИНН: 02508201610067 [19:32:45]line Контрольно-Кассовый Чек [19:32:45]line ПРОДАЖА [19:32:45]line Товар: 90448300 [19:32:45]line Энерг напиток Red Bull 0,355л [19:32:45]line 1.000 * 265.00 [19:32:45]line = 265.00 [19:32:45]line НДС 12% НСП 1% [19:32:45]line > о реализуемом товаре [19:32:45]line ИТОГО: 265.00 [19:32:45]line НСП 1% : 2.34 [19:32:45]line НДС 12% : 28.14 [19:32:45]line Наличными: 0.00 [19:32:45]line Безнал.: 265.00 [19:32:45]line Место: АЗС № 162 "Партнер Нефть" [19:32:45]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [19:32:45]line СНО: Общий режим [19:32:45]line Чек 55 19.10.2024 19:32 [19:32:45]line Смена: 23 ФФД: 1.0 [19:32:45]line ЗНМ: 0300000191 [19:32:45]line РНМ: 0000000000207295 [19:32:45]line Версия ККМ: v1.0 [19:32:45]line Платежная система: Mbank [19:32:45]line ФМ: 0000000002342820 [19:32:45]line ФД: 2594 [19:32:45]line ФПД: 261247685960120 [19:32:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193255&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2594&fm=261247685960120&tin=02508201610067®Number=0000000000207295&sum=26500 [19:32:46]line 0 [19:32:46]OFD Sender: Processing packet 2594 [packets to send 1, broken 0] [19:32:46]ProducePacketName [19:32:46]name=ofd_packets/00002594 [19:32:46]OFD Sender: To server: pG, [19:32:46]CommunicateWithHost lk.salyk.kg:30040 [19:32:46]ConnectInit lk.salyk.kg [19:32:46]written 0, free lines is 4095 [19:32:46]Connected sock=10 [19:32:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2B 01 00 00 5C 0B 23 01 33 11 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 67 09 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 22 0A 00 00 35 04 06 00 ED 9A 77 85 21 B8 B4 A4 3C 6E 45 5B 19 07 [19:32:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 B1 13 47 00 B1 F7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 22 0A 00 00 F4 03 04 00 C7 B4 13 67 B6 04 01 00 00 2C A3 21 2E B4 49 42 D0 [19:32:46]CommunicateWithHost err = 0 [19:32:46]CheckOFDResponse [19:32:46]1017 (14) - 77093643461234 [19:32:46]1041 (16) - 0000000002342820 [19:32:46]1040 (4) - 2594 [19:32:46]1012 (4) - 19.10.2024 13:31 [19:32:46]1206 (1) - 0 [19:32:46]OFD Sender: Remove packet 2594 [19:32:46]ProducePacketName [19:32:46]name=ofd_packets/00002594 [19:32:46]NVStorageDeleteData [19:32:46]Write to MH i2c: 01 00 00 A0 52 F2 [19:32:46]Write i2c OK [19:32:46]MH_I2C_Read... [19:32:46]Read from MH i2c: 01 [19:32:46]MH_I2C_Read... [19:32:46]Read from MH i2c: 01 07 00 [19:32:46]MH_I2C_Read... [19:32:46]Read from MH i2c: 01 07 00 A0 52 00 00 00 00 00 D4 0C D9 [19:32:46]RasterBufferAndPrint [19:32:46]line [19:32:46]line [19:32:46]line [19:32:46]line [19:32:46]line [19:32:46]written 0, free lines is 3291 [19:32:46]MH_Cut [19:32:46]Write to MH i2c: D1 01 00 A7 52 01 CB [19:32:46]Write i2c OK [19:32:46]MH_I2C_Read... [19:32:46]Read from MH i2c: D1 [19:32:46]MH_I2C_Read... [19:32:46]Read from MH i2c: D1 01 00 [19:32:46]MH_I2C_Read... [19:32:46]Read from MH i2c: D1 01 00 A7 52 00 CA [19:32:46]Write to MH i2c: 01 00 00 A8 52 FA [19:32:46]Write i2c OK [19:32:46]MH_I2C_Read... [19:32:47]OFD Sender: No OFD packet to send [19:32:47]*** Cut start [19:32:47]*** Partial cut [19:32:47]*** CUTSNS_PIN = 1 [19:32:47]*** CUTSNS_PIN = 0 [19:32:47]*** Brake cut motor [19:32:48]Read from MH i2c: 01 [19:32:48]MH_I2C_Read... [19:32:48]*** Stop cut motor [19:32:48]*** Cut end [19:32:48]Read from MH i2c: 01 07 00 [19:32:48]MH_I2C_Read... [19:32:48]Read from MH i2c: 01 07 00 A8 52 00 00 00 00 00 FF 0F 0F [19:32:48]process_action close_receipt done [19:32:48]requested_data is exist [19:32:48]produce_requested_data [19:32:48]requested_item fm.sn is exist - process it [19:32:48]wFMCommunicate request_size=4 [19:32:48]MH_SAM_APDU [19:32:48]CAPDU: 80 11 00 00 [19:32:48]Write to MH i2c: E2 08 00 A9 52 80 11 00 00 00 00 00 00 75 [19:32:48]Write i2c OK [19:32:48]MH_I2C_Read... [19:32:48]Read from MH i2c: E2 [19:32:48]MH_I2C_Read... [19:32:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:32:48]Read from MH i2c: E2 17 00 [19:32:48]MH_I2C_Read... [19:32:48]Read from MH i2c: E2 17 00 A9 52 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 BD [19:32:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:32:48]wFMCommunicate OK [19:32:48]requested_item fd.num is exist - process it [19:32:48]SAM_PROTO_GetFieldsCounters [19:32:48]wFMCommunicate request_size=4 [19:32:48]MH_SAM_APDU [19:32:48]CAPDU: 80 13 00 00 [19:32:48]Write to MH i2c: E2 08 00 AA 52 80 13 00 00 00 00 00 00 78 [19:32:48]Write i2c OK [19:32:48]MH_I2C_Read... [19:32:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:32:48]Read from MH i2c: E2 [19:32:48]MH_I2C_Read... [19:32:48]Read from MH i2c: E2 62 00 [19:32:48]MH_I2C_Read... [19:32:48]Read from MH i2c: E2 62 00 AA 52 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 22 0A 00 00 0E 04 04 00 17 00 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 76 [19:32:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 22 0A 00 00 0E 04 04 00 17 00 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 [19:32:48]wFMCommunicate OK [19:32:48]SAM_PROTO_GetFieldsCounters done [19:32:48]requested_item shift.num is exist - process it [19:32:48]requested_item shift.opened is exist - process it [19:32:48]req_shift_opened [19:32:48]FM_GetShiftState [19:32:48]SAM_PROTO_GetShiftState [19:32:48]wFMCommunicate request_size=4 [19:32:48]MH_SAM_APDU [19:32:48]CAPDU: 80 13 01 00 [19:32:48]Write to MH i2c: E2 08 00 AB 52 80 13 01 00 00 00 00 00 7A [19:32:48]Write i2c OK [19:32:48]MH_I2C_Read... [19:32:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:32:48]Read from MH i2c: E2 [19:32:48]MH_I2C_Read... [19:32:48]Read from MH i2c: E2 0E 00 [19:32:48]MH_I2C_Read... [19:32:48]Read from MH i2c: E2 0E 00 AB 52 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 23 [19:32:48]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [19:32:48]wFMCommunicate OK [19:32:48]SAM_PROTO_GetShiftState done [19:32:48]FM_GetShiftState done [19:32:48]req_shift_opened done [19:32:48]requested_item shift.open_date is exist - process it [19:32:48]req_shift_open_date [19:32:48]req_shift_open_date done [19:32:48]produce_requested_data done [19:32:48]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2594,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [19:32:48]process_action_free close_receipt [19:32:48]json_value_free [19:32:48]json_value_free done [19:32:48]process_json_proto returns [19:32:48]Send response to host [19:32:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2594,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [19:32:48]free response buf [19:32:48]execute_script done [19:32:48]execute_script returns [19:32:48]free content buf [19:32:48]Sock 7.Close socket [19:32:48]Sock 7.Thread stoped [19:32:52]OFD Sender: No OFD packet to send [19:32:57]OFD Sender: No OFD packet to send [19:33:02]OFD Sender: No OFD packet to send [19:33:07]OFD Sender: No OFD packet to send [19:33:12]OFD Sender: No OFD packet to send [19:33:17]OFD Sender: No OFD packet to send [19:33:22]OFD Sender: No OFD packet to send [19:33:27]OFD Sender: No OFD packet to send [19:33:32]OFD Sender: No OFD packet to send [19:33:37]OFD Sender: No OFD packet to send [19:33:42]OFD Sender: No OFD packet to send [19:33:47]OFD Sender: No OFD packet to send [19:33:52]OFD Sender: No OFD packet to send [19:33:57]OFD Sender: No OFD packet to send [19:34:02]OFD Sender: No OFD packet to send [19:34:07]OFD Sender: No OFD packet to send [19:34:12]OFD Sender: No OFD packet to send [19:34:15]accept exits with 9 [19:34:15]New connection [19:34:15]New thread 3066707300 created [19:34:15]Thread 3066850660 joined [19:34:15]Waiting for new connection... [19:34:15] Sock 9.Parse request [19:34:15]Sock 9.Check first char [19:34:15]Sock 9.First char is OK [19:34:15]request: POST /json_proto HTTP/1.0 [19:34:15]Method: POST [19:34:15]URL: /json_proto [19:34:15]Method is POST - this is cgi request [19:34:15]url: /json_proto [19:34:15]query_string will be loaded in cgi processing [19:34:15]execute_cgi json_proto POST (null) [19:34:15]execute_cgi path=json_proto method=POST [19:34:15]POST find Content-Length [19:34:15]Host: 172.17.52.132:8080 [19:34:15]Content-Length: 819 [19:34:15]Content-Type: application/json [19:34:15] [19:34:15]POST finish read [19:34:15]Found Content-Length = 819 [19:34:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99973", "tax_sys" : 0, "items" : [ { "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744713", "name": "LD Compact Purple Beat", "price" : 137.00, "quantity" : 1.000, "sum" : 137.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 267.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:34:15]execute_script... [19:34:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99973", "tax_sys" : 0, "items" : [ { "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744713", "name": "LD Compact Purple Beat", "price" : 137.00, "quantity" : 1.000, "sum" : 137.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 267.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:34:15]POST & json_proto [19:34:15]process_json_proto [19:34:15]json parsed OK: [19:34:15]protocol is kg_v1.0 [19:34:15]action value=close_receipt [19:34:15]process_action close_receipt [19:34:15]cmd_close_receipt [19:34:15]MH_GetDate [19:34:15]Write to MH i2c: F0 00 00 AC 52 ED [19:34:15]Write i2c OK [19:34:15]MH_I2C_Read... [19:34:15]Read from MH i2c: F0 [19:34:15]MH_I2C_Read... [19:34:15]Read from MH i2c: F0 09 00 [19:34:15]MH_I2C_Read... [19:34:15]Read from MH i2c: F0 09 00 AC 52 00 C2 09 14 67 5A BE F6 66 B0 [19:34:15]GetLastDocTimeStamp 1729366375 [19:34:15]current date 1729366466 [19:34:15]FM_GetShiftState [19:34:15]SAM_PROTO_GetShiftState [19:34:15]wFMCommunicate request_size=4 [19:34:15]MH_SAM_APDU [19:34:15]CAPDU: 80 13 01 00 [19:34:15]Write to MH i2c: E2 08 00 AD 52 80 13 01 00 00 00 00 00 7C [19:34:15]Write i2c OK [19:34:15]MH_I2C_Read... [19:34:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:34:15]Read from MH i2c: E2 [19:34:15]MH_I2C_Read... [19:34:15]Read from MH i2c: E2 0E 00 [19:34:15]MH_I2C_Read... [19:34:15]Read from MH i2c: E2 0E 00 AD 52 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 25 [19:34:15]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [19:34:15]wFMCommunicate OK [19:34:15]SAM_PROTO_GetShiftState done [19:34:15]FM_GetShiftState done [19:34:15]opened in 1729296173 [19:34:15]opened+sec_in_day 1729382573 [19:34:15]quantity*price = 13000 [19:34:15]sum+1 = 13001 [19:34:15]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48744713 LD Compact Purple Beat 1.000 * 137.00 = 137.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 267.00 НСП 1% : 2.36 НДС 12% : 28.35 Наличными: 267.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 56 19.10.2024 19:34 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2595 ФПД: 272557375995253 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193426&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2595&fm=272557375995253&tin=02508201610067®Number=0000000000207295&sum=26700 0 [19:34:16]StoreToDocumentArchive [19:34:16]shift 23 fd 2595 [19:34:16]save to /storage/0023/doc_00002595 [19:34:16]save last doc name /storage/0023/doc_00002595 to /storage/kkm_last_doc_name [19:34:16]save OK [19:34:16]Clear old archive folders... [19:34:16]ProcessDocumentItem done err = 0, tmpTLVsize=358 [19:34:16]tlvbuf is 014A73C0 [19:34:16]SAM_PROTO_ClearQueue [19:34:16]wFMCommunicate request_size=4 [19:34:16]MH_SAM_APDU [19:34:16]CAPDU: 80 09 00 00 [19:34:16]Write to MH i2c: E2 08 00 BA 52 80 09 00 00 00 00 00 00 7E [19:34:16]Write i2c OK [19:34:16]MH_I2C_Read... [19:34:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:34:16]Read from MH i2c: E2 [19:34:16]MH_I2C_Read... [19:34:16]Read from MH i2c: E2 03 00 [19:34:16]MH_I2C_Read... [19:34:16]Read from MH i2c: E2 03 00 BA 52 00 90 00 80 [19:34:16]RAPDU: 90 00 [19:34:16]wFMCommunicate OK [19:34:16]SAM_PROTO_ClearQueue done [19:34:16]KKMCreateOFDPacket [19:34:16]OFDProtocolAddRootSTLVToBuf [19:34:16]FM_MakeSignedData [19:34:16]FM_MakeSignedData [19:34:16]SAM_PROTO_SignData [19:34:16]wFMCommunicate request_size=4 [19:34:16]MH_SAM_APDU [19:34:16]CAPDU: 80 0D 01 02 [19:34:16]Write to MH i2c: E2 08 00 BB 52 80 0D 01 02 00 00 00 00 86 [19:34:16]Write i2c OK [19:34:16]MH_I2C_Read... [19:34:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:34:16]Read from MH i2c: E2 [19:34:16]MH_I2C_Read... [19:34:16]Read from MH i2c: E2 03 00 [19:34:16]MH_I2C_Read... [19:34:16]Read from MH i2c: E2 03 00 BB 52 00 90 00 81 [19:34:16]RAPDU: 90 00 [19:34:16]wFMCommunicate OK [19:34:16]wFMCommunicate request_size=255 [19:34:16]MH_SAM_APDU [19:34:16]CAPDU: 80 0D 02 02 FA 03 00 66 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 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 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 0B 00 00 00 00 07 [19:34:16]Write to MH i2c: E2 02 01 BC 52 80 0D 02 02 FA 00 03 00 66 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 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 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 0B 00 00 00 00 07 00 00 20 [19:34:16]Write i2c OK [19:34:16]MH_I2C_Read... [19:34:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:34:16]Read from MH i2c: E2 [19:34:16]MH_I2C_Read... [19:34:16]Read from MH i2c: E2 03 00 [19:34:16]MH_I2C_Read... [19:34:16]Read from MH i2c: E2 03 00 BC 52 00 90 00 82 [19:34:16]RAPDU: 90 00 [19:34:16]wFMCommunicate OK [19:34:16]wFMCommunicate request_size=117 [19:34:16]MH_SAM_APDU [19:34:16]CAPDU: 80 0D 02 02 70 04 06 00 4C 68 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 C2 09 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 23 0A 00 00 35 04 06 00 F7 E3 B5 93 BD 75 [19:34:16]Write to MH i2c: E2 78 00 BD 52 80 0D 02 02 70 00 04 06 00 4C 68 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 C2 09 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 23 0A 00 00 35 04 06 00 F7 E3 B5 93 BD 75 00 00 5B [19:34:16]Write i2c OK [19:34:16]MH_I2C_Read... [19:34:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:34:16]Read from MH i2c: E2 [19:34:16]MH_I2C_Read... [19:34:16]Read from MH i2c: E2 03 00 [19:34:16]MH_I2C_Read... [19:34:16]Read from MH i2c: E2 03 00 BD 52 00 90 00 83 [19:34:16]RAPDU: 90 00 [19:34:16]wFMCommunicate OK [19:34:16]wFMCommunicate request_size=4 [19:34:16]MH_SAM_APDU [19:34:16]CAPDU: 80 0D 03 02 [19:34:16]Write to MH i2c: E2 08 00 BE 52 80 0D 03 02 00 00 00 00 8B [19:34:16]Write i2c OK [19:34:16]MH_I2C_Read... [19:34:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:34:16]Read from MH i2c: E2 [19:34:16]MH_I2C_Read... [19:34:16]Read from MH i2c: E2 0B 00 [19:34:16]MH_I2C_Read... [19:34:16]Read from MH i2c: E2 0B 00 BE 52 00 CF EF D4 0A EA 86 35 29 90 00 F6 [19:34:16]RAPDU: CF EF D4 0A EA 86 35 29 90 00 [19:34:16]wFMCommunicate OK [19:34:16]SAM_PROTO_SignData done [19:34:16]FM_MakeSignedData done [19:34:16]CreateOFDProtocolMessage [19:34:16]wFMCommunicate request_size=4 [19:34:16]MH_SAM_APDU [19:34:16]CAPDU: 80 11 00 00 [19:34:16]Write to MH i2c: E2 08 00 BF 52 80 11 00 00 00 00 00 00 8B [19:34:16]Write i2c OK [19:34:16]MH_I2C_Read... [19:34:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:34:17]Read from MH i2c: E2 [19:34:17]MH_I2C_Read... [19:34:17]Read from MH i2c: E2 17 00 [19:34:17]MH_I2C_Read... [19:34:17]Read from MH i2c: E2 17 00 BF 52 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 D3 [19:34:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:34:17]wFMCommunicate OK [19:34:17]CreateOFDProtocolMessage done [19:34:17]OFDSenderStorePacket 2595 [19:34:17]StoreOFDPacket docnum=2595 [19:34:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 7A 01 00 00 A5 69 72 01 6A 3E 5A 03 01 00 03 00 66 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 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 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 0B 00 00 00 00 07 04 06 00 4C 68 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 C2 09 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 23 0A 00 00 35 04 06 00 F7 E3 B5 93 BD 75 CF EF D4 0A EA 86 35 29 [19:34:17]CheckFolder [19:34:17]dirname=/storage/ofd_packets [19:34:17]CheckFolder done [19:34:17]ProducePacketName [19:34:17]name=ofd_packets/00002595 [19:34:17]NVStorageSaveData ofd_packets/00002595 [19:34:17]File name is /storage/ofd_packets/00002595 [19:34:17]Write 408 bytes [19:34:17]NVStorageSaveData done [19:34:17]OFDSenderStorePacket done [19:34:17]KKMCreateOFDPacket done [19:34:17]NVStorageSaveData kkm_last_timestamp [19:34:17]File name is /storage/kkm_last_timestamp [19:34:17]Write 4 bytes [19:34:17]NVStorageSaveData done [19:34:17]ExternCall_PrintAddStr [19:34:17]wPrintStart [19:34:17]Write to MH i2c: 01 00 00 C0 52 12 [19:34:17]Write i2c OK [19:34:17]MH_I2C_Read... [19:34:17]Read from MH i2c: 01 [19:34:17]MH_I2C_Read... [19:34:17]Read from MH i2c: 01 07 00 [19:34:17]MH_I2C_Read... [19:34:17]Read from MH i2c: 01 07 00 C0 52 00 00 00 00 00 FF 0F 27 [19:34:17]RasterBufferAndPrint [19:34:17]line Счет N : (3)99973 [19:34:17]line ИНН: 02508201610067 [19:34:17]line Контрольно-Кассовый Чек [19:34:17]line ПРОДАЖА [19:34:17]line Товар: 4620006996716 [19:34:17]line Водка Талка 0,1л [19:34:17]line 1.000 * 130.00 [19:34:17]line = 130.00 [19:34:17]line НДС 12% НСП 1% [19:34:17]line > о реализуемом товаре [19:34:17]line Товар: 48744713 [19:34:17]line LD Compact Purple Beat [19:34:17]line 1.000 * 137.00 [19:34:17]line = 137.00 [19:34:17]line НДС 12% НСП 1% [19:34:17]line > о реализуемом товаре [19:34:17]line ИТОГО: 267.00 [19:34:17]line НСП 1% : 2.36 [19:34:17]line НДС 12% : 28.35 [19:34:17]line Наличными: 267.00 [19:34:17]line Безнал.: 0.00 [19:34:17]line Место: АЗС № 162 "Партнер Нефть" [19:34:17]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [19:34:17]line СНО: Общий режим [19:34:17]line Чек 56 19.10.2024 19:34 [19:34:17]line Смена: 23 ФФД: 1.0 [19:34:17]line ЗНМ: 0300000191 [19:34:17]line РНМ: 0000000000207295 [19:34:17]line Версия ККМ: v1.0 [19:34:17]line ФМ: 0000000002342820 [19:34:17]line ФД: 2595 [19:34:17]line ФПД: 272557375995253 [19:34:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193426&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2595&fm=272557375995253&tin=02508201610067®Number=0000000000207295&sum=26700 [19:34:17]line 0 [19:34:17]OFD Sender: Processing packet 2595 [packets to send 1, broken 0] [19:34:17]ProducePacketName [19:34:17]name=ofd_packets/00002595 [19:34:17]OFD Sender: To server: pG, [19:34:17]CommunicateWithHost lk.salyk.kg:30040 [19:34:17]ConnectInit lk.salyk.kg [19:34:17]written 0, free lines is 4095 [19:34:17]Connected sock=10 [19:34:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 7A 01 00 00 A5 69 72 01 6A 3E 5A 03 01 00 03 00 66 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 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 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 0B 00 00 00 00 07 04 06 00 4C 68 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 C2 09 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 23 0A 00 00 35 04 06 00 F7 E3 B5 93 BD 75 CF EF D4 0A EA 86 35 29 [19:34:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 EE F8 47 00 3F BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 23 0A 00 00 F4 03 04 00 22 B5 13 67 B6 04 01 00 00 7E 42 F2 B5 66 19 D8 8B [19:34:17]CommunicateWithHost err = 0 [19:34:17]CheckOFDResponse [19:34:17]1017 (14) - 77093643461234 [19:34:17]1041 (16) - 0000000002342820 [19:34:17]1040 (4) - 2595 [19:34:17]1012 (4) - 19.10.2024 13:33 [19:34:17]1206 (1) - 0 [19:34:17]OFD Sender: Remove packet 2595 [19:34:17]ProducePacketName [19:34:17]name=ofd_packets/00002595 [19:34:17]NVStorageDeleteData [19:34:17]Write to MH i2c: 01 00 00 EE 52 40 [19:34:17]Write i2c OK [19:34:17]MH_I2C_Read... [19:34:17]Read from MH i2c: 01 [19:34:17]MH_I2C_Read... [19:34:17]Read from MH i2c: 01 07 00 [19:34:17]MH_I2C_Read... [19:34:17]Read from MH i2c: 01 07 00 EE 52 00 00 00 00 00 78 0C CB [19:34:17]RasterBufferAndPrint [19:34:17]line [19:34:17]line [19:34:17]line [19:34:17]line [19:34:17]line [19:34:17]written 0, free lines is 3199 [19:34:17]MH_Cut [19:34:17]Write to MH i2c: D1 01 00 F5 52 01 19 [19:34:17]Write i2c OK [19:34:17]MH_I2C_Read... [19:34:17]Read from MH i2c: D1 [19:34:17]MH_I2C_Read... [19:34:17]Read from MH i2c: D1 01 00 [19:34:17]MH_I2C_Read... [19:34:17]Read from MH i2c: D1 01 00 F5 52 00 18 [19:34:17]Write to MH i2c: 01 00 00 F6 52 48 [19:34:17]Write i2c OK [19:34:17]MH_I2C_Read... [19:34:18]OFD Sender: No OFD packet to send [19:34:18]*** Cut start [19:34:18]*** Partial cut [19:34:18]*** CUTSNS_PIN = 1 [19:34:18]*** CUTSNS_PIN = 0 [19:34:19]*** Brake cut motor [19:34:19]Read from MH i2c: 01 [19:34:19]MH_I2C_Read... [19:34:19]*** Stop cut motor [19:34:19]*** Cut end [19:34:19]Read from MH i2c: 01 07 00 [19:34:19]MH_I2C_Read... [19:34:19]Read from MH i2c: 01 07 00 F6 52 00 00 00 00 00 FF 0F 5D [19:34:19]process_action close_receipt done [19:34:19]requested_data is exist [19:34:19]produce_requested_data [19:34:19]requested_item fm.sn is exist - process it [19:34:19]wFMCommunicate request_size=4 [19:34:19]MH_SAM_APDU [19:34:19]CAPDU: 80 11 00 00 [19:34:19]Write to MH i2c: E2 08 00 F7 52 80 11 00 00 00 00 00 00 C3 [19:34:19]Write i2c OK [19:34:19]MH_I2C_Read... [19:34:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:34:19]Read from MH i2c: E2 [19:34:19]MH_I2C_Read... [19:34:19]Read from MH i2c: E2 17 00 [19:34:19]MH_I2C_Read... [19:34:19]Read from MH i2c: E2 17 00 F7 52 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 0B [19:34:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:34:19]wFMCommunicate OK [19:34:19]requested_item fd.num is exist - process it [19:34:19]SAM_PROTO_GetFieldsCounters [19:34:19]wFMCommunicate request_size=4 [19:34:19]MH_SAM_APDU [19:34:19]CAPDU: 80 13 00 00 [19:34:19]Write to MH i2c: E2 08 00 F8 52 80 13 00 00 00 00 00 00 C6 [19:34:19]Write i2c OK [19:34:19]MH_I2C_Read... [19:34:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:34:19]Read from MH i2c: E2 [19:34:19]MH_I2C_Read... [19:34:19]Read from MH i2c: E2 62 00 [19:34:19]MH_I2C_Read... [19:34:19]Read from MH i2c: E2 62 00 F8 52 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 23 0A 00 00 0E 04 04 00 17 00 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 C8 [19:34:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 23 0A 00 00 0E 04 04 00 17 00 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:34:19]wFMCommunicate OK [19:34:19]SAM_PROTO_GetFieldsCounters done [19:34:19]requested_item shift.num is exist - process it [19:34:19]requested_item shift.opened is exist - process it [19:34:19]req_shift_opened [19:34:19]FM_GetShiftState [19:34:19]SAM_PROTO_GetShiftState [19:34:19]wFMCommunicate request_size=4 [19:34:19]MH_SAM_APDU [19:34:19]CAPDU: 80 13 01 00 [19:34:19]Write to MH i2c: E2 08 00 F9 52 80 13 01 00 00 00 00 00 C8 [19:34:19]Write i2c OK [19:34:19]MH_I2C_Read... [19:34:19]Read from MH i2c: E2 [19:34:19]MH_I2C_Read... [19:34:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:34:19]Read from MH i2c: E2 0E 00 [19:34:19]MH_I2C_Read... [19:34:19]Read from MH i2c: E2 0E 00 F9 52 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 71 [19:34:19]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [19:34:19]wFMCommunicate OK [19:34:19]SAM_PROTO_GetShiftState done [19:34:19]FM_GetShiftState done [19:34:19]req_shift_opened done [19:34:19]requested_item shift.open_date is exist - process it [19:34:19]req_shift_open_date [19:34:19]req_shift_open_date done [19:34:19]produce_requested_data done [19:34:19]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2595,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [19:34:19]process_action_free close_receipt [19:34:19]json_value_free [19:34:19]json_value_free done [19:34:19]process_json_proto returns [19:34:19]Send response to host [19:34:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2595,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [19:34:19]free response buf [19:34:19]execute_script done [19:34:19]execute_script returns [19:34:19]free content buf [19:34:19]Sock 9.Close socket [19:34:19]Sock 9.Thread stoped [19:34:23]OFD Sender: No OFD packet to send [19:34:28]OFD Sender: No OFD packet to send [19:34:33]OFD Sender: No OFD packet to send [19:34:38]OFD Sender: No OFD packet to send [19:34:43]OFD Sender: No OFD packet to send [19:34:48]OFD Sender: No OFD packet to send [19:34:53]OFD Sender: No OFD packet to send [19:34:58]OFD Sender: No OFD packet to send [19:35:03]OFD Sender: No OFD packet to send [19:35:08]OFD Sender: No OFD packet to send [19:35:13]OFD Sender: No OFD packet to send [19:35:18]OFD Sender: No OFD packet to send [19:35:23]OFD Sender: No OFD packet to send [19:35:28]OFD Sender: No OFD packet to send [19:35:33]OFD Sender: No OFD packet to send [19:35:38]OFD Sender: No OFD packet to send [19:35:43]OFD Sender: No OFD packet to send [19:35:48]OFD Sender: No OFD packet to send [19:35:53]OFD Sender: No OFD packet to send [19:35:58]OFD Sender: No OFD packet to send [19:36:03]OFD Sender: No OFD packet to send [19:36:08]OFD Sender: No OFD packet to send [19:36:13]OFD Sender: No OFD packet to send [19:36:18]OFD Sender: No OFD packet to send [19:36:23]OFD Sender: No OFD packet to send [19:36:28]OFD Sender: No OFD packet to send [19:36:33]OFD Sender: No OFD packet to send [19:36:38]OFD Sender: No OFD packet to send [19:36:43]OFD Sender: No OFD packet to send [19:36:48]OFD Sender: No OFD packet to send [19:36:53]OFD Sender: No OFD packet to send [19:36:58]OFD Sender: No OFD packet to send [19:37:03]OFD Sender: No OFD packet to send [19:37:08]OFD Sender: No OFD packet to send [19:37:13]OFD Sender: No OFD packet to send [19:37:18]OFD Sender: No OFD packet to send [19:37:20]accept exits with 7 [19:37:20]New connection [19:37:20]New thread 3066850660 created [19:37:20]Thread 3066707300 joined [19:37:20]Waiting for new connection... [19:37:20] Sock 7.Parse request [19:37:20]Sock 7.Check first char [19:37:20]Sock 7.First char is OK [19:37:20]request: POST /json_proto HTTP/1.0 [19:37:20]Method: POST [19:37:20]URL: /json_proto [19:37:20]Method is POST - this is cgi request [19:37:20]url: /json_proto [19:37:20]query_string will be loaded in cgi processing [19:37:20]execute_cgi json_proto POST (null) [19:37:20]execute_cgi path=json_proto method=POST [19:37:20]POST find Content-Length [19:37:20]Host: 172.17.52.132:8080 [19:37:20]Content-Length: 1184 [19:37:20]Content-Type: application/json [19:37:20] [19:37:20]POST finish read [19:37:20]Found Content-Length = 1184 [19:37:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99974", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "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" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 303.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:37:20]execute_script... [19:37:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99974", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "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" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 303.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:37:20]POST & json_proto [19:37:20]process_json_proto [19:37:20]json parsed OK: [19:37:20]protocol is kg_v1.0 [19:37:20]action value=close_receipt [19:37:20]process_action close_receipt [19:37:20]cmd_close_receipt [19:37:20]MH_GetDate [19:37:20]Write to MH i2c: F0 00 00 FA 52 3B [19:37:20]Write i2c OK [19:37:20]MH_I2C_Read... [19:37:20]Read from MH i2c: F0 [19:37:20]MH_I2C_Read... [19:37:20]Read from MH i2c: F0 09 00 [19:37:20]MH_I2C_Read... [19:37:20]Read from MH i2c: F0 09 00 FA 52 00 7B 0A 14 67 5A BE F6 66 B8 [19:37:20]GetLastDocTimeStamp 1729366466 [19:37:20]current date 1729366651 [19:37:20]FM_GetShiftState [19:37:20]SAM_PROTO_GetShiftState [19:37:20]wFMCommunicate request_size=4 [19:37:20]MH_SAM_APDU [19:37:20]CAPDU: 80 13 01 00 [19:37:20]Write to MH i2c: E2 08 00 FB 52 80 13 01 00 00 00 00 00 CA [19:37:20]Write i2c OK [19:37:20]MH_I2C_Read... [19:37:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:37:20]Read from MH i2c: E2 [19:37:20]MH_I2C_Read... [19:37:20]Read from MH i2c: E2 0E 00 [19:37:20]MH_I2C_Read... [19:37:20]Read from MH i2c: E2 0E 00 FB 52 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 73 [19:37:20]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [19:37:20]wFMCommunicate OK [19:37:20]SAM_PROTO_GetShiftState done [19:37:20]FM_GetShiftState done [19:37:20]opened in 1729296173 [19:37:20]opened+sec_in_day 1729382573 [19:37:20]quantity*price = 17000 [19:37:20]sum+1 = 17001 [19:37:20]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 119.00 = 119.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 2.000 * 7.00 = 14.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 303.00 НСП 1% : 2.67 НДС 12% : 32.18 Наличными: 303.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 57 19.10.2024 19:37 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2596 ФПД: 191569944299534 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193731&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2596&fm=191569944299534&tin=02508201610067®Number=0000000000207295&sum=30300 0 [19:37:21]StoreToDocumentArchive [19:37:21]shift 23 fd 2596 [19:37:21]save to /storage/0023/doc_00002596 [19:37:21]save last doc name /storage/0023/doc_00002596 to /storage/kkm_last_doc_name [19:37:21]save OK [19:37:21]Clear old archive folders... [19:37:21]ProcessDocumentItem done err = 0, tmpTLVsize=500 [19:37:21]tlvbuf is 01463970 [19:37:21]SAM_PROTO_ClearQueue [19:37:21]wFMCommunicate request_size=4 [19:37:21]MH_SAM_APDU [19:37:21]CAPDU: 80 09 00 00 [19:37:21]Write to MH i2c: E2 08 00 08 53 80 09 00 00 00 00 00 00 CD [19:37:21]Write i2c OK [19:37:21]MH_I2C_Read... [19:37:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:37:21]Read from MH i2c: E2 [19:37:21]MH_I2C_Read... [19:37:21]Read from MH i2c: E2 03 00 [19:37:21]MH_I2C_Read... [19:37:21]Read from MH i2c: E2 03 00 08 53 00 90 00 CF [19:37:21]RAPDU: 90 00 [19:37:21]wFMCommunicate OK [19:37:21]SAM_PROTO_ClearQueue done [19:37:21]KKMCreateOFDPacket [19:37:21]OFDProtocolAddRootSTLVToBuf [19:37:21]FM_MakeSignedData [19:37:21]FM_MakeSignedData [19:37:21]SAM_PROTO_SignData [19:37:21]wFMCommunicate request_size=4 [19:37:21]MH_SAM_APDU [19:37:21]CAPDU: 80 0D 01 02 [19:37:21]Write to MH i2c: E2 08 00 09 53 80 0D 01 02 00 00 00 00 D5 [19:37:21]Write i2c OK [19:37:21]MH_I2C_Read... [19:37:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:37:21]Read from MH i2c: E2 [19:37:21]MH_I2C_Read... [19:37:21]Read from MH i2c: E2 03 00 [19:37:21]MH_I2C_Read... [19:37:21]Read from MH i2c: E2 03 00 09 53 00 90 00 D0 [19:37:21]RAPDU: 90 00 [19:37:21]wFMCommunicate OK [19:37:21]wFMCommunicate request_size=255 [19:37:21]MH_SAM_APDU [19:37:21]CAPDU: 80 0D 02 02 FA 03 00 F4 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 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 [19:37:22]Write to MH i2c: E2 02 01 0A 53 80 0D 02 02 FA 00 03 00 F4 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 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 00 00 E7 [19:37:22]Write i2c OK [19:37:22]MH_I2C_Read... [19:37:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:37:22]Read from MH i2c: E2 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 03 00 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 03 00 0A 53 00 90 00 D1 [19:37:22]RAPDU: 90 00 [19:37:22]wFMCommunicate OK [19:37:22]wFMCommunicate request_size=255 [19:37:22]MH_SAM_APDU [19:37:22]CAPDU: 80 0D 02 02 FA 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 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 0C 00 00 00 00 07 04 06 00 5C 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 39 00 00 00 F4 03 04 00 7B 0A 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 24 0A 00 00 35 04 06 00 AE 3B [19:37:22]Write to MH i2c: E2 02 01 0B 53 80 0D 02 02 FA 00 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 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 0C 00 00 00 00 07 04 06 00 5C 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 39 00 00 00 F4 03 04 00 7B 0A 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 24 0A 00 00 35 04 06 00 AE 3B 00 00 70 [19:37:22]Write i2c OK [19:37:22]MH_I2C_Read... [19:37:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:37:22]Read from MH i2c: E2 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 03 00 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 03 00 0B 53 00 90 00 D2 [19:37:22]RAPDU: 90 00 [19:37:22]wFMCommunicate OK [19:37:22]wFMCommunicate request_size=9 [19:37:22]MH_SAM_APDU [19:37:22]CAPDU: 80 0D 02 02 04 5A 7A C8 0E [19:37:22]Write to MH i2c: E2 0C 00 0C 53 80 0D 02 02 04 00 5A 7A C8 0E 00 00 8B [19:37:22]Write i2c OK [19:37:22]MH_I2C_Read... [19:37:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:37:22]Read from MH i2c: E2 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 03 00 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 03 00 0C 53 00 90 00 D3 [19:37:22]RAPDU: 90 00 [19:37:22]wFMCommunicate OK [19:37:22]wFMCommunicate request_size=4 [19:37:22]MH_SAM_APDU [19:37:22]CAPDU: 80 0D 03 02 [19:37:22]Write to MH i2c: E2 08 00 0D 53 80 0D 03 02 00 00 00 00 DB [19:37:22]Write i2c OK [19:37:22]MH_I2C_Read... [19:37:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:37:22]Read from MH i2c: E2 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 0B 00 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 0B 00 0D 53 00 08 A0 E9 F1 D1 C2 47 98 90 00 D0 [19:37:22]RAPDU: 08 A0 E9 F1 D1 C2 47 98 90 00 [19:37:22]wFMCommunicate OK [19:37:22]SAM_PROTO_SignData done [19:37:22]FM_MakeSignedData done [19:37:22]CreateOFDProtocolMessage [19:37:22]wFMCommunicate request_size=4 [19:37:22]MH_SAM_APDU [19:37:22]CAPDU: 80 11 00 00 [19:37:22]Write to MH i2c: E2 08 00 0E 53 80 11 00 00 00 00 00 00 DB [19:37:22]Write i2c OK [19:37:22]MH_I2C_Read... [19:37:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:37:22]Read from MH i2c: E2 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 17 00 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 17 00 0E 53 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 23 [19:37:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:37:22]wFMCommunicate OK [19:37:22]CreateOFDProtocolMessage done [19:37:22]OFDSenderStorePacket 2596 [19:37:22]StoreOFDPacket docnum=2596 [19:37:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 08 02 00 00 5F B4 00 02 0B 99 5A 03 01 00 03 00 F4 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 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 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 0C 00 00 00 00 07 04 06 00 5C 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 39 00 00 00 F4 03 04 00 7B 0A 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 24 0A 00 00 35 04 06 00 AE 3B 5A 7A C8 0E 08 A0 E9 F1 D1 C2 47 98 [19:37:22]CheckFolder [19:37:22]dirname=/storage/ofd_packets [19:37:22]CheckFolder done [19:37:22]ProducePacketName [19:37:22]name=ofd_packets/00002596 [19:37:22]NVStorageSaveData ofd_packets/00002596 [19:37:22]File name is /storage/ofd_packets/00002596 [19:37:22]Write 550 bytes [19:37:22]NVStorageSaveData done [19:37:22]OFDSenderStorePacket done [19:37:22]KKMCreateOFDPacket done [19:37:22]NVStorageSaveData kkm_last_timestamp [19:37:22]File name is /storage/kkm_last_timestamp [19:37:22]Write 4 bytes [19:37:22]NVStorageSaveData done [19:37:22]ExternCall_PrintAddStr [19:37:22]wPrintStart [19:37:22]Write to MH i2c: 01 00 00 0F 53 62 [19:37:22]Write i2c OK [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: 01 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: 01 07 00 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: 01 07 00 0F 53 00 00 00 00 00 FF 0F 77 [19:37:22]RasterBufferAndPrint [19:37:22]line Счет N : (3)99974 [19:37:22]line ИНН: 02508201610067 [19:37:22]line Контрольно-Кассовый Чек [19:37:22]line ПРОДАЖА [19:37:22]line Товар: 5449000176448 [19:37:22]line Сок Piko Pulpy апельсин ПЭТ 1л [19:37:22]line 1.000 * 170.00 [19:37:22]line = 170.00 [19:37:22]line НДС 12% НСП 1% [19:37:22]line > о реализуемом товаре [19:37:22]line Товар: 4870001570071 [19:37:22]line Напиток Pepsi 1л [19:37:22]line 1.000 * 119.00 [19:37:22]line = 119.00 [19:37:22]line НДС 12% НСП 1% [19:37:22]line > о реализуемом товаре [19:37:22]line Товар: 2000053020015 [19:37:22]line Бумажные стаканы 250мл 1шт [19:37:22]line 2.000 * 7.00 [19:37:22]line = 14.00 [19:37:22]line НДС 12% НСП 1% [19:37:22]line > о реализуемом товаре [19:37:22]line ИТОГО: 303.00 [19:37:22]line НСП 1% : 2.67 [19:37:22]line НДС 12% : 32.18 [19:37:22]line Наличными: 303.00 [19:37:22]line Безнал.: 0.00 [19:37:22]line Место: АЗС № 162 "Партнер Нефть" [19:37:22]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [19:37:22]line СНО: Общий режим [19:37:22]line Чек 57 19.10.2024 19:37 [19:37:22]line Смена: 23 ФФД: 1.0 [19:37:22]line ЗНМ: 0300000191 [19:37:22]line РНМ: 0000000000207295 [19:37:22]line Версия ККМ: v1.0 [19:37:22]line ФМ: 0000000002342820 [19:37:22]line ФД: 2596 [19:37:22]line ФПД: 191569944299534 [19:37:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193731&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2596&fm=191569944299534&tin=02508201610067®Number=0000000000207295&sum=30300 [19:37:22]line 0 [19:37:22]written 0, free lines is 4095 [19:37:22]OFD Sender: Processing packet 2596 [packets to send 1, broken 0] [19:37:22]ProducePacketName [19:37:22]name=ofd_packets/00002596 [19:37:22]OFD Sender: To server: pG, [19:37:22]CommunicateWithHost lk.salyk.kg:30040 [19:37:22]ConnectInit lk.salyk.kg [19:37:22]Connected sock=10 [19:37:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 08 02 00 00 5F B4 00 02 0B 99 5A 03 01 00 03 00 F4 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 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 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 76 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 0C 00 00 00 00 07 04 06 00 5C 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 39 00 00 00 F4 03 04 00 7B 0A 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 24 0A 00 00 35 04 06 00 AE 3B 5A 7A C8 0E 08 A0 E9 F1 D1 C2 47 98 [19:37:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 EC 5C 47 00 99 96 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 24 0A 00 00 F4 03 04 00 DB B5 13 67 B6 04 01 00 00 30 DF A8 B8 13 45 C1 C8 [19:37:23]CommunicateWithHost err = 0 [19:37:23]CheckOFDResponse [19:37:23]1017 (14) - 77093643461234 [19:37:23]1041 (16) - 0000000002342820 [19:37:23]1040 (4) - 2596 [19:37:23]1012 (4) - 19.10.2024 13:36 [19:37:23]1206 (1) - 0 [19:37:23]OFD Sender: Remove packet 2596 [19:37:23]ProducePacketName [19:37:23]name=ofd_packets/00002596 [19:37:23]NVStorageDeleteData [19:37:23]Write to MH i2c: 01 00 00 45 53 98 [19:37:23]Write i2c OK [19:37:23]MH_I2C_Read... [19:37:23]Read from MH i2c: 01 [19:37:23]MH_I2C_Read... [19:37:23]Read from MH i2c: 01 07 00 [19:37:23]MH_I2C_Read... [19:37:23]Read from MH i2c: 01 07 00 45 53 00 00 00 00 00 EA 0B 94 [19:37:23]RasterBufferAndPrint [19:37:23]line [19:37:23]line [19:37:23]line [19:37:23]line [19:37:23]line [19:37:23]written 0, free lines is 3058 [19:37:23]MH_Cut [19:37:23]Write to MH i2c: D1 01 00 4C 53 01 71 [19:37:23]Write i2c OK [19:37:23]MH_I2C_Read... [19:37:23]Read from MH i2c: D1 [19:37:23]MH_I2C_Read... [19:37:23]Read from MH i2c: D1 01 00 [19:37:23]MH_I2C_Read... [19:37:23]Read from MH i2c: D1 01 00 4C 53 00 70 [19:37:23]Write to MH i2c: 01 00 00 4D 53 A0 [19:37:23]Write i2c OK [19:37:23]MH_I2C_Read... [19:37:23]OFD Sender: No OFD packet to send [19:37:24]*** Cut start [19:37:24]*** Partial cut [19:37:24]*** CUTSNS_PIN = 1 [19:37:24]*** CUTSNS_PIN = 0 [19:37:24]*** Brake cut motor [19:37:25]Read from MH i2c: 01 [19:37:25]MH_I2C_Read... [19:37:25]*** Stop cut motor [19:37:25]*** Cut end [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 4D 53 00 00 00 00 00 FF 0F B5 [19:37:25]process_action close_receipt done [19:37:25]requested_data is exist [19:37:25]produce_requested_data [19:37:25]requested_item fm.sn is exist - process it [19:37:25]wFMCommunicate request_size=4 [19:37:25]MH_SAM_APDU [19:37:25]CAPDU: 80 11 00 00 [19:37:25]Write to MH i2c: E2 08 00 4E 53 80 11 00 00 00 00 00 00 1B [19:37:25]Write i2c OK [19:37:25]MH_I2C_Read... [19:37:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:37:25]Read from MH i2c: E2 [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: E2 17 00 [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: E2 17 00 4E 53 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 63 [19:37:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:37:25]wFMCommunicate OK [19:37:25]requested_item fd.num is exist - process it [19:37:25]SAM_PROTO_GetFieldsCounters [19:37:25]wFMCommunicate request_size=4 [19:37:25]MH_SAM_APDU [19:37:25]CAPDU: 80 13 00 00 [19:37:25]Write to MH i2c: E2 08 00 4F 53 80 13 00 00 00 00 00 00 1E [19:37:25]Write i2c OK [19:37:25]MH_I2C_Read... [19:37:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:37:25]Read from MH i2c: E2 [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: E2 62 00 [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: E2 62 00 4F 53 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 24 0A 00 00 0E 04 04 00 17 00 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 24 [19:37:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 24 0A 00 00 0E 04 04 00 17 00 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:25]wFMCommunicate OK [19:37:25]SAM_PROTO_GetFieldsCounters done [19:37:25]requested_item shift.num is exist - process it [19:37:25]requested_item shift.opened is exist - process it [19:37:25]req_shift_opened [19:37:25]FM_GetShiftState [19:37:25]SAM_PROTO_GetShiftState [19:37:25]wFMCommunicate request_size=4 [19:37:25]MH_SAM_APDU [19:37:25]CAPDU: 80 13 01 00 [19:37:25]Write to MH i2c: E2 08 00 50 53 80 13 01 00 00 00 00 00 20 [19:37:25]Write i2c OK [19:37:25]MH_I2C_Read... [19:37:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:37:25]Read from MH i2c: E2 [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: E2 0E 00 [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: E2 0E 00 50 53 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 C9 [19:37:25]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [19:37:25]wFMCommunicate OK [19:37:25]SAM_PROTO_GetShiftState done [19:37:25]FM_GetShiftState done [19:37:25]req_shift_opened done [19:37:25]requested_item shift.open_date is exist - process it [19:37:25]req_shift_open_date [19:37:25]req_shift_open_date done [19:37:25]produce_requested_data done [19:37:25]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2596,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [19:37:25]process_action_free close_receipt [19:37:25]json_value_free [19:37:25]json_value_free done [19:37:25]process_json_proto returns [19:37:25]Send response to host [19:37:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2596,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [19:37:25]free response buf [19:37:25]execute_script done [19:37:25]execute_script returns [19:37:25]free content buf [19:37:25]Sock 7.Close socket [19:37:25]Sock 7.Thread stoped [19:37:28]OFD Sender: No OFD packet to send [19:37:33]OFD Sender: No OFD packet to send [19:37:38]OFD Sender: No OFD packet to send [19:37:43]OFD Sender: No OFD packet to send [19:37:48]OFD Sender: No OFD packet to send [19:37:53]OFD Sender: No OFD packet to send [19:37:58]OFD Sender: No OFD packet to send [19:38:03]OFD Sender: No OFD packet to send [19:38:08]OFD Sender: No OFD packet to send [19:38:13]OFD Sender: No OFD packet to send [19:38:18]OFD Sender: No OFD packet to send [19:38:23]OFD Sender: No OFD packet to send [19:38:28]OFD Sender: No OFD packet to send [19:38:33]OFD Sender: No OFD packet to send [19:38:38]OFD Sender: No OFD packet to send [19:38:43]OFD Sender: No OFD packet to send [19:38:48]OFD Sender: No OFD packet to send [19:38:53]OFD Sender: No OFD packet to send [19:38:58]OFD Sender: No OFD packet to send [19:39:03]OFD Sender: No OFD packet to send [19:39:08]OFD Sender: No OFD packet to send [19:39:13]OFD Sender: No OFD packet to send [19:39:18]OFD Sender: No OFD packet to send [19:39:23]OFD Sender: No OFD packet to send [19:39:28]OFD Sender: No OFD packet to send [19:39:33]OFD Sender: No OFD packet to send [19:39:38]OFD Sender: No OFD packet to send [19:39:43]OFD Sender: No OFD packet to send [19:39:48]OFD Sender: No OFD packet to send [19:39:53]OFD Sender: No OFD packet to send [19:39:58]OFD Sender: No OFD packet to send [19:40:03]OFD Sender: No OFD packet to send [19:40:08]OFD Sender: No OFD packet to send [19:40:13]OFD Sender: No OFD packet to send [19:40:18]OFD Sender: No OFD packet to send [19:40:23]OFD Sender: No OFD packet to send [19:40:28]OFD Sender: No OFD packet to send [19:40:33]OFD Sender: No OFD packet to send [19:40:38]OFD Sender: No OFD packet to send [19:40:43]OFD Sender: No OFD packet to send [19:40:48]OFD Sender: No OFD packet to send [19:40:53]OFD Sender: No OFD packet to send [19:40:58]OFD Sender: No OFD packet to send [19:41:03]OFD Sender: No OFD packet to send [19:41:08]OFD Sender: No OFD packet to send [19:41:13]OFD Sender: No OFD packet to send [19:41:18]OFD Sender: No OFD packet to send [19:41:23]OFD Sender: No OFD packet to send [19:41:28]OFD Sender: No OFD packet to send [19:41:33]OFD Sender: No OFD packet to send [19:41:38]OFD Sender: No OFD packet to send [19:41:43]OFD Sender: No OFD packet to send [19:41:48]OFD Sender: No OFD packet to send [19:41:53]OFD Sender: No OFD packet to send [19:41:58]OFD Sender: No OFD packet to send [19:42:03]OFD Sender: No OFD packet to send [19:42:08]OFD Sender: No OFD packet to send [19:42:13]OFD Sender: No OFD packet to send [19:42:18]OFD Sender: No OFD packet to send [19:42:23]OFD Sender: No OFD packet to send [19:42:28]OFD Sender: No OFD packet to send [19:42:33]OFD Sender: No OFD packet to send [19:42:38]OFD Sender: No OFD packet to send [19:42:43]OFD Sender: No OFD packet to send [19:42:48]OFD Sender: No OFD packet to send [19:42:53]OFD Sender: No OFD packet to send [19:42:58]OFD Sender: No OFD packet to send [19:43:03]OFD Sender: No OFD packet to send [19:43:08]OFD Sender: No OFD packet to send [19:43:13]OFD Sender: No OFD packet to send [19:43:18]OFD Sender: No OFD packet to send [19:43:23]OFD Sender: No OFD packet to send [19:43:28]OFD Sender: No OFD packet to send [19:43:33]OFD Sender: No OFD packet to send [19:43:38]OFD Sender: No OFD packet to send [19:43:43]OFD Sender: No OFD packet to send [19:43:48]OFD Sender: No OFD packet to send [19:43:53]OFD Sender: No OFD packet to send [19:43:58]OFD Sender: No OFD packet to send [19:44:03]OFD Sender: No OFD packet to send [19:44:09]OFD Sender: No OFD packet to send [19:44:14]OFD Sender: No OFD packet to send [19:44:19]OFD Sender: No OFD packet to send [19:44:24]OFD Sender: No OFD packet to send [19:44:29]OFD Sender: No OFD packet to send [19:44:34]OFD Sender: No OFD packet to send [19:44:39]OFD Sender: No OFD packet to send [19:44:44]OFD Sender: No OFD packet to send [19:44:49]OFD Sender: No OFD packet to send [19:44:54]OFD Sender: No OFD packet to send [19:44:59]OFD Sender: No OFD packet to send [19:45:04]OFD Sender: No OFD packet to send [19:45:09]OFD Sender: No OFD packet to send [19:45:14]OFD Sender: No OFD packet to send [19:45:19]OFD Sender: No OFD packet to send [19:45:24]OFD Sender: No OFD packet to send [19:45:29]OFD Sender: No OFD packet to send [19:45:34]OFD Sender: No OFD packet to send [19:45:39]OFD Sender: No OFD packet to send [19:45:44]OFD Sender: No OFD packet to send [19:45:49]OFD Sender: No OFD packet to send [19:45:54]OFD Sender: No OFD packet to send [19:45:59]OFD Sender: No OFD packet to send [19:46:04]OFD Sender: No OFD packet to send [19:46:09]OFD Sender: No OFD packet to send [19:46:14]OFD Sender: No OFD packet to send [19:46:19]OFD Sender: No OFD packet to send [19:46:24]OFD Sender: No OFD packet to send [19:46:29]OFD Sender: No OFD packet to send [19:46:34]OFD Sender: No OFD packet to send [19:46:39]OFD Sender: No OFD packet to send [19:46:44]OFD Sender: No OFD packet to send [19:46:49]OFD Sender: No OFD packet to send [19:46:54]OFD Sender: No OFD packet to send [19:46:59]OFD Sender: No OFD packet to send [19:47:04]OFD Sender: No OFD packet to send [19:47:09]OFD Sender: No OFD packet to send [19:47:14]OFD Sender: No OFD packet to send [19:47:19]OFD Sender: No OFD packet to send [19:47:24]OFD Sender: No OFD packet to send [19:47:29]OFD Sender: No OFD packet to send [19:47:34]OFD Sender: No OFD packet to send [19:47:39]OFD Sender: No OFD packet to send [19:47:44]OFD Sender: No OFD packet to send [19:47:49]OFD Sender: No OFD packet to send [19:47:54]OFD Sender: No OFD packet to send [19:47:59]OFD Sender: No OFD packet to send [19:48:04]OFD Sender: No OFD packet to send [19:48:09]OFD Sender: No OFD packet to send [19:48:14]OFD Sender: No OFD packet to send [19:48:19]OFD Sender: No OFD packet to send [19:48:24]OFD Sender: No OFD packet to send [19:48:25]accept exits with 9 [19:48:25]New connection [19:48:25]New thread 3066707300 created [19:48:25]Thread 3066850660 joined [19:48:25]Waiting for new connection... [19:48:25] Sock 9.Parse request [19:48:25]Sock 9.Check first char [19:48:25]Sock 9.First char is OK [19:48:25]request: POST /json_proto HTTP/1.0 [19:48:25]Method: POST [19:48:25]URL: /json_proto [19:48:25]Method is POST - this is cgi request [19:48:25]url: /json_proto [19:48:25]query_string will be loaded in cgi processing [19:48:25]execute_cgi json_proto POST (null) [19:48:25]execute_cgi path=json_proto method=POST [19:48:25]POST find Content-Length [19:48:25]Host: 172.17.52.132:8080 [19:48:25]Content-Length: 1383 [19:48:25]Content-Type: application/json [19:48:25] [19:48:25]POST finish read [19:48:25]Found Content-Length = 1383 [19:48:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99975", "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": "48746984", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Compact Connect +", "price" : 137.00, "quantity" : 1.000, "sum" : 137.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747073", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Royal Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 620.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:25]execute_script... [19:48: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)99975", "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": "48746984", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Compact Connect +", "price" : 137.00, "quantity" : 1.000, "sum" : 137.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747073", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Royal Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 620.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:25]POST & json_proto [19:48:25]process_json_proto [19:48:25]json parsed OK: [19:48:25]protocol is kg_v1.0 [19:48:25]action value=close_receipt [19:48:25]process_action close_receipt [19:48:25]cmd_close_receipt [19:48:25]MH_GetDate [19:48:25]Write to MH i2c: F0 00 00 51 53 93 [19:48:25]Write i2c OK [19:48:25]MH_I2C_Read... [19:48:25]Read from MH i2c: F0 [19:48:25]MH_I2C_Read... [19:48:25]Read from MH i2c: F0 09 00 [19:48:25]MH_I2C_Read... [19:48:25]Read from MH i2c: F0 09 00 51 53 00 14 0D 14 67 5A BE F6 66 AC [19:48:25]GetLastDocTimeStamp 1729366651 [19:48:25]current date 1729367316 [19:48:25]FM_GetShiftState [19:48:25]SAM_PROTO_GetShiftState [19:48:25]wFMCommunicate request_size=4 [19:48:25]MH_SAM_APDU [19:48:25]CAPDU: 80 13 01 00 [19:48:25]Write to MH i2c: E2 08 00 52 53 80 13 01 00 00 00 00 00 22 [19:48:25]Write i2c OK [19:48:25]MH_I2C_Read... [19:48:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:25]Read from MH i2c: E2 [19:48:25]MH_I2C_Read... [19:48:25]Read from MH i2c: E2 0E 00 [19:48:25]MH_I2C_Read... [19:48:25]Read from MH i2c: E2 0E 00 52 53 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 CB [19:48:25]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [19:48:25]wFMCommunicate OK [19:48:25]SAM_PROTO_GetShiftState done [19:48:25]FM_GetShiftState done [19:48:25]opened in 1729296173 [19:48:25]opened+sec_in_day 1729382573 [19:48:25]quantity*price = 27000 [19:48:25]sum+1 = 27001 [19:48:25]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48746984 Сигареты LD Compact Connect + 1.000 * 137.00 = 137.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48747073 Сигареты Richmond Royal Edition 1.000 * 154.00 = 154.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 620.00 НСП 1% : 5.48 НДС 12% : 65.83 Наличными: 620.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 58 19.10.2024 19:48 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2597 ФПД: 120194746796821 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T194837&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2597&fm=120194746796821&tin=02508201610067®Number=0000000000207295&sum=62000 0 [19:48:27]StoreToDocumentArchive [19:48:27]shift 23 fd 2597 [19:48:27]save to /storage/0023/doc_00002597 [19:48:27]save last doc name /storage/0023/doc_00002597 to /storage/kkm_last_doc_name [19:48:27]save OK [19:48:27]Clear old archive folders... [19:48:27]ProcessDocumentItem done err = 0, tmpTLVsize=596 [19:48:27]tlvbuf is B6EC1D60 [19:48:27]SAM_PROTO_ClearQueue [19:48:27]wFMCommunicate request_size=4 [19:48:27]MH_SAM_APDU [19:48:27]CAPDU: 80 09 00 00 [19:48:27]Write to MH i2c: E2 08 00 5F 53 80 09 00 00 00 00 00 00 24 [19:48:27]Write i2c OK [19:48:27]MH_I2C_Read... [19:48:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:48:27]Read from MH i2c: E2 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: E2 03 00 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: E2 03 00 5F 53 00 90 00 26 [19:48:27]RAPDU: 90 00 [19:48:27]wFMCommunicate OK [19:48:27]SAM_PROTO_ClearQueue done [19:48:27]KKMCreateOFDPacket [19:48:27]OFDProtocolAddRootSTLVToBuf [19:48:27]FM_MakeSignedData [19:48:27]FM_MakeSignedData [19:48:27]SAM_PROTO_SignData [19:48:27]wFMCommunicate request_size=4 [19:48:27]MH_SAM_APDU [19:48:27]CAPDU: 80 0D 01 02 [19:48:27]Write to MH i2c: E2 08 00 60 53 80 0D 01 02 00 00 00 00 2C [19:48:27]Write i2c OK [19:48:27]MH_I2C_Read... [19:48:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:48:27]Read from MH i2c: E2 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: E2 03 00 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: E2 03 00 60 53 00 90 00 27 [19:48:27]RAPDU: 90 00 [19:48:27]wFMCommunicate OK [19:48:27]wFMCommunicate request_size=255 [19:48:27]MH_SAM_APDU [19:48:27]CAPDU: 80 0D 02 02 FA 03 00 54 02 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 64 00 8A 04 08 00 34 38 37 34 36 39 38 34 06 04 25 00 D0 A1 D0 B8 D0 [19:48:27]Write to MH i2c: E2 02 01 61 53 80 0D 02 02 FA 00 03 00 54 02 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 64 00 8A 04 08 00 34 38 37 34 36 39 38 34 06 04 25 00 D0 A1 D0 B8 D0 00 00 3A [19:48:27]Write i2c OK [19:48:27]MH_I2C_Read... [19:48:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:27]Read from MH i2c: E2 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: E2 03 00 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: E2 03 00 61 53 00 90 00 28 [19:48:27]RAPDU: 90 00 [19:48:27]wFMCommunicate OK [19:48:27]wFMCommunicate request_size=255 [19:48:27]MH_SAM_APDU [19:48:27]CAPDU: 80 0D 02 02 FA B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 43 6F 6D 70 61 63 74 20 43 6F 6E 6E 65 63 74 20 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 37 30 37 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 19 00 00 00 00 07 04 06 00 30 F2 00 00 00 00 39 04 06 [19:48:27]Write to MH i2c: E2 02 01 62 53 80 0D 02 02 FA 00 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 43 6F 6D 70 61 63 74 20 43 6F 6E 6E 65 63 74 20 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 37 30 37 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 19 00 00 00 00 07 04 06 00 30 F2 00 00 00 00 39 04 06 00 00 70 [19:48:27]Write i2c OK [19:48:27]MH_I2C_Read... [19:48:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:27]Read from MH i2c: E2 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: E2 03 00 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: E2 03 00 62 53 00 90 00 29 [19:48:27]RAPDU: 90 00 [19:48:27]wFMCommunicate OK [19:48:27]wFMCommunicate request_size=105 [19:48:27]MH_SAM_APDU [19:48:27]CAPDU: 80 0D 02 02 64 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 15 0D 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 25 0A 00 00 35 04 06 00 6D 51 05 2F CB 15 [19:48:27]Write to MH i2c: E2 6C 00 63 53 80 0D 02 02 64 00 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 15 0D 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 25 0A 00 00 35 04 06 00 6D 51 05 2F CB 15 00 00 C2 [19:48:27]Write i2c OK [19:48:27]MH_I2C_Read... [19:48:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:27]Read from MH i2c: E2 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: E2 03 00 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: E2 03 00 63 53 00 90 00 2A [19:48:27]RAPDU: 90 00 [19:48:27]wFMCommunicate OK [19:48:27]wFMCommunicate request_size=4 [19:48:27]MH_SAM_APDU [19:48:27]CAPDU: 80 0D 03 02 [19:48:27]Write to MH i2c: E2 08 00 64 53 80 0D 03 02 00 00 00 00 32 [19:48:27]Write i2c OK [19:48:27]MH_I2C_Read... [19:48:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:48:27]Read from MH i2c: E2 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: E2 0B 00 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: E2 0B 00 64 53 00 DB DA B1 5E 40 BD 1D 42 90 00 53 [19:48:27]RAPDU: DB DA B1 5E 40 BD 1D 42 90 00 [19:48:27]wFMCommunicate OK [19:48:27]SAM_PROTO_SignData done [19:48:27]FM_MakeSignedData done [19:48:27]CreateOFDProtocolMessage [19:48:27]wFMCommunicate request_size=4 [19:48:27]MH_SAM_APDU [19:48:27]CAPDU: 80 11 00 00 [19:48:27]Write to MH i2c: E2 08 00 65 53 80 11 00 00 00 00 00 00 32 [19:48:27]Write i2c OK [19:48:27]MH_I2C_Read... [19:48:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:27]Read from MH i2c: E2 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: E2 17 00 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: E2 17 00 65 53 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 7A [19:48:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:48:27]wFMCommunicate OK [19:48:27]CreateOFDProtocolMessage done [19:48:27]OFDSenderStorePacket 2597 [19:48:27]StoreOFDPacket docnum=2597 [19:48:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 68 02 00 00 9D AE 60 02 D1 24 5A 03 01 00 03 00 54 02 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 64 00 8A 04 08 00 34 38 37 34 36 39 38 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 43 6F 6D 70 61 63 74 20 43 6F 6E 6E 65 63 74 20 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 37 30 37 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 19 00 00 00 00 07 04 06 00 30 F2 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 15 0D 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 25 0A 00 00 35 04 06 00 6D 51 05 2F CB 15 DB DA B1 5E 40 BD 1D 42 [19:48:27]CheckFolder [19:48:27]dirname=/storage/ofd_packets [19:48:27]CheckFolder done [19:48:27]ProducePacketName [19:48:27]name=ofd_packets/00002597 [19:48:27]NVStorageSaveData ofd_packets/00002597 [19:48:27]File name is /storage/ofd_packets/00002597 [19:48:27]Write 646 bytes [19:48:27]NVStorageSaveData done [19:48:27]OFDSenderStorePacket done [19:48:27]KKMCreateOFDPacket done [19:48:27]NVStorageSaveData kkm_last_timestamp [19:48:27]File name is /storage/kkm_last_timestamp [19:48:27]Write 4 bytes [19:48:27]NVStorageSaveData done [19:48:27]ExternCall_PrintAddStr [19:48:27]wPrintStart [19:48:27]Write to MH i2c: 01 00 00 66 53 B9 [19:48:27]Write i2c OK [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: 01 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: 01 07 00 [19:48:27]MH_I2C_Read... [19:48:27]Read from MH i2c: 01 07 00 66 53 00 00 00 00 00 FF 0F CE [19:48:27]RasterBufferAndPrint [19:48:27]line Счет N : (3)99975 [19:48:27]line ИНН: 02508201610067 [19:48:27]line Контрольно-Кассовый Чек [19:48:27]line ПРОДАЖА [19:48:27]line Товар: 4700001061104 [19:48:27]line Коньяк Семетей 0,2л [19:48:27]line 1.000 * 270.00 [19:48:27]line = 270.00 [19:48:27]line НДС 12% НСП 1% [19:48:28]line > о реализуемом товаре [19:48:28]line Товар: 4607065001445 [19:48:28]line Шок батончик Snickers 50,5г [19:48:28]line 1.000 * 59.00 [19:48:28]line = 59.00 [19:48:28]line НДС 12% НСП 1% [19:48:28]line > о реализуемом товаре [19:48:28]line Товар: 48746984 [19:48:28]line Сигареты LD Compact Connect + [19:48:28]line 1.000 * 137.00 [19:48:28]line = 137.00 [19:48:28]line НДС 12% НСП 1% [19:48:28]line > о реализуемом товаре [19:48:28]line Товар: 48747073 [19:48:28]line Сигареты Richmond Royal Edition [19:48:28]line 1.000 * 154.00 [19:48:28]line = 154.00 [19:48:28]line НДС 12% НСП 1% [19:48:28]line > о реализуемом товаре [19:48:28]line ИТОГО: 620.00 [19:48:28]line НСП 1% : 5.48 [19:48:28]line НДС 12% : 65.83 [19:48:28]line Наличными: 620.00 [19:48:28]line Безнал.: 0.00 [19:48:28]line Место: АЗС № 162 "Партнер Нефть" [19:48:28]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [19:48:28]line СНО: Общий режим [19:48:28]line Чек 58 19.10.2024 19:48 [19:48:28]line Смена: 23 ФФД: 1.0 [19:48:28]line ЗНМ: 0300000191 [19:48:28]line РНМ: 0000000000207295 [19:48:28]line Версия ККМ: v1.0 [19:48:28]line ФМ: 0000000002342820 [19:48:28]line ФД: 2597 [19:48:28]line ФПД: 120194746796821 [19:48:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T194837&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2597&fm=120194746796821&tin=02508201610067®Number=0000000000207295&sum=62000 [19:48:28]line 0 [19:48:28]OFD Sender: Processing packet 2597 [packets to send 1, broken 0] [19:48:28]ProducePacketName [19:48:28]name=ofd_packets/00002597 [19:48:28]OFD Sender: To server: pG, [19:48:28]CommunicateWithHost lk.salyk.kg:30040 [19:48:28]ConnectInit lk.salyk.kg [19:48:28]written 0, free lines is 4095 [19:48:28]Connected sock=10 [19:48:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 68 02 00 00 9D AE 60 02 D1 24 5A 03 01 00 03 00 54 02 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 64 00 8A 04 08 00 34 38 37 34 36 39 38 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 43 6F 6D 70 61 63 74 20 43 6F 6E 6E 65 63 74 20 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 37 30 37 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 19 00 00 00 00 07 04 06 00 30 F2 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 15 0D 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 25 0A 00 00 35 04 06 00 6D 51 05 2F CB 15 DB DA B1 5E 40 BD 1D 42 [19:48:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 94 A3 47 00 B8 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 32 33 34 32 38 32 30 10 04 04 00 25 0A 00 00 F4 03 04 00 75 B8 13 67 B6 04 01 00 00 AB BB 08 7C 2E 31 F5 9B [19:48:28]CommunicateWithHost err = 0 [19:48:28]CheckOFDResponse [19:48:28]1017 (14) - 77093643461234 [19:48:28]1041 (16) - 0000000002342820 [19:48:28]1040 (4) - 2597 [19:48:28]1012 (4) - 19.10.2024 13:47 [19:48:28]1206 (1) - 0 [19:48:28]OFD Sender: Remove packet 2597 [19:48:28]ProducePacketName [19:48:28]name=ofd_packets/00002597 [19:48:28]NVStorageDeleteData [19:48:28]Write to MH i2c: 01 00 00 A2 53 F5 [19:48:28]Write i2c OK [19:48:28]MH_I2C_Read... [19:48:28]Read from MH i2c: 01 [19:48:28]MH_I2C_Read... [19:48:28]Read from MH i2c: 01 07 00 [19:48:28]MH_I2C_Read... [19:48:28]Read from MH i2c: 01 07 00 A2 53 00 00 00 00 00 7A 0B 81 [19:48:28]RasterBufferAndPrint [19:48:28]line [19:48:28]line [19:48:28]line [19:48:28]line [19:48:28]line [19:48:28]written 0, free lines is 2946 [19:48:28]MH_Cut [19:48:28]Write to MH i2c: D1 01 00 A9 53 01 CE [19:48:28]Write i2c OK [19:48:28]MH_I2C_Read... [19:48:28]Read from MH i2c: D1 [19:48:28]MH_I2C_Read... [19:48:28]Read from MH i2c: D1 01 00 [19:48:28]MH_I2C_Read... [19:48:28]Read from MH i2c: D1 01 00 A9 53 00 CD [19:48:28]Write to MH i2c: 01 00 00 AA 53 FD [19:48:28]Write i2c OK [19:48:28]MH_I2C_Read... [19:48:29]OFD Sender: No OFD packet to send [19:48:30]*** Cut start [19:48:30]*** Partial cut [19:48:30]*** CUTSNS_PIN = 1 [19:48:30]*** CUTSNS_PIN = 0 [19:48:30]*** Brake cut motor [19:48:30]Read from MH i2c: 01 [19:48:30]MH_I2C_Read... [19:48:30]*** Stop cut motor [19:48:30]*** Cut end [19:48:30]Read from MH i2c: 01 07 00 [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: 01 07 00 AA 53 00 00 00 00 00 FF 0F 12 [19:48:30]process_action close_receipt done [19:48:30]requested_data is exist [19:48:30]produce_requested_data [19:48:30]requested_item fm.sn is exist - process it [19:48:30]wFMCommunicate request_size=4 [19:48:30]MH_SAM_APDU [19:48:30]CAPDU: 80 11 00 00 [19:48:30]Write to MH i2c: E2 08 00 AB 53 80 11 00 00 00 00 00 00 78 [19:48:30]Write i2c OK [19:48:30]MH_I2C_Read... [19:48:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:30]Read from MH i2c: E2 [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: E2 17 00 [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: E2 17 00 AB 53 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C0 [19:48:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:48:30]wFMCommunicate OK [19:48:30]requested_item fd.num is exist - process it [19:48:30]SAM_PROTO_GetFieldsCounters [19:48:30]wFMCommunicate request_size=4 [19:48:30]MH_SAM_APDU [19:48:30]CAPDU: 80 13 00 00 [19:48:30]Write to MH i2c: E2 08 00 AC 53 80 13 00 00 00 00 00 00 7B [19:48:30]Write i2c OK [19:48:30]MH_I2C_Read... [19:48:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:48:30]Read from MH i2c: E2 [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: E2 62 00 [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: E2 62 00 AC 53 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 25 0A 00 00 0E 04 04 00 17 00 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 85 [19:48:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 25 0A 00 00 0E 04 04 00 17 00 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:48:30]wFMCommunicate OK [19:48:30]SAM_PROTO_GetFieldsCounters done [19:48:30]requested_item shift.num is exist - process it [19:48:30]requested_item shift.opened is exist - process it [19:48:30]req_shift_opened [19:48:30]FM_GetShiftState [19:48:30]SAM_PROTO_GetShiftState [19:48:30]wFMCommunicate request_size=4 [19:48:30]MH_SAM_APDU [19:48:30]CAPDU: 80 13 01 00 [19:48:30]Write to MH i2c: E2 08 00 AD 53 80 13 01 00 00 00 00 00 7D [19:48:30]Write i2c OK [19:48:30]MH_I2C_Read... [19:48:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:30]Read from MH i2c: E2 [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: E2 0E 00 [19:48:30]MH_I2C_Read... [19:48:30]Read from MH i2c: E2 0E 00 AD 53 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 26 [19:48:30]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [19:48:30]wFMCommunicate OK [19:48:30]SAM_PROTO_GetShiftState done [19:48:30]FM_GetShiftState done [19:48:30]req_shift_opened done [19:48:30]requested_item shift.open_date is exist - process it [19:48:30]req_shift_open_date [19:48:30]req_shift_open_date done [19:48:30]produce_requested_data done [19:48:30]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2597,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [19:48:30]process_action_free close_receipt [19:48:30]json_value_free [19:48:30]json_value_free done [19:48:30]process_json_proto returns [19:48:30]Send response to host [19:48:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2597,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [19:48:30]free response buf [19:48:30]execute_script done [19:48:30]execute_script returns [19:48:30]free content buf [19:48:30]Sock 9.Close socket [19:48:30]Sock 9.Thread stoped [19:48:34]OFD Sender: No OFD packet to send [19:48:39]OFD Sender: No OFD packet to send [19:48:44]OFD Sender: No OFD packet to send [19:48:49]OFD Sender: No OFD packet to send [19:48:54]OFD Sender: No OFD packet to send [19:48:59]OFD Sender: No OFD packet to send [19:49:04]OFD Sender: No OFD packet to send [19:49:09]OFD Sender: No OFD packet to send [19:49:14]OFD Sender: No OFD packet to send [19:49:19]OFD Sender: No OFD packet to send [19:49:24]OFD Sender: No OFD packet to send [19:49:29]OFD Sender: No OFD packet to send [19:49:34]OFD Sender: No OFD packet to send [19:49:39]OFD Sender: No OFD packet to send [19:49:44]OFD Sender: No OFD packet to send [19:49:49]OFD Sender: No OFD packet to send [19:49:54]OFD Sender: No OFD packet to send [19:49:59]OFD Sender: No OFD packet to send [19:50:04]OFD Sender: No OFD packet to send [19:50:09]OFD Sender: No OFD packet to send [19:50:14]OFD Sender: No OFD packet to send [19:50:19]OFD Sender: No OFD packet to send [19:50:24]OFD Sender: No OFD packet to send [19:50:29]OFD Sender: No OFD packet to send [19:50:34]OFD Sender: No OFD packet to send [19:50:39]OFD Sender: No OFD packet to send [19:50:44]OFD Sender: No OFD packet to send [19:50:49]OFD Sender: No OFD packet to send [19:50:54]OFD Sender: No OFD packet to send [19:50:59]OFD Sender: No OFD packet to send [19:51:04]OFD Sender: No OFD packet to send [19:51:09]OFD Sender: No OFD packet to send [19:51:14]OFD Sender: No OFD packet to send [19:51:19]OFD Sender: No OFD packet to send [19:51:24]OFD Sender: No OFD packet to send [19:51:29]OFD Sender: No OFD packet to send [19:51:34]OFD Sender: No OFD packet to send [19:51:39]OFD Sender: No OFD packet to send [19:51:44]OFD Sender: No OFD packet to send [19:51:49]OFD Sender: No OFD packet to send [19:51:54]OFD Sender: No OFD packet to send [19:51:59]OFD Sender: No OFD packet to send [19:52:04]OFD Sender: No OFD packet to send [19:52:09]OFD Sender: No OFD packet to send [19:52:14]OFD Sender: No OFD packet to send [19:52:19]OFD Sender: No OFD packet to send [19:52:24]OFD Sender: No OFD packet to send [19:52:29]OFD Sender: No OFD packet to send [19:52:34]OFD Sender: No OFD packet to send [19:52:39]OFD Sender: No OFD packet to send [19:52:44]OFD Sender: No OFD packet to send [19:52:49]OFD Sender: No OFD packet to send [19:52:54]OFD Sender: No OFD packet to send [19:52:59]OFD Sender: No OFD packet to send [19:53:04]OFD Sender: No OFD packet to send [19:53:09]OFD Sender: No OFD packet to send [19:53:14]OFD Sender: No OFD packet to send [19:53:19]OFD Sender: No OFD packet to send [19:53:24]OFD Sender: No OFD packet to send [19:53:29]OFD Sender: No OFD packet to send [19:53:34]OFD Sender: No OFD packet to send [19:53:39]OFD Sender: No OFD packet to send [19:53:44]OFD Sender: No OFD packet to send [19:53:49]OFD Sender: No OFD packet to send [19:53:54]OFD Sender: No OFD packet to send [19:53:59]OFD Sender: No OFD packet to send [19:54:04]OFD Sender: No OFD packet to send [19:54:09]OFD Sender: No OFD packet to send [19:54:14]OFD Sender: No OFD packet to send [19:54:19]OFD Sender: No OFD packet to send [19:54:24]OFD Sender: No OFD packet to send [19:54:29]OFD Sender: No OFD packet to send [19:54:34]OFD Sender: No OFD packet to send [19:54:39]OFD Sender: No OFD packet to send [19:54:44]OFD Sender: No OFD packet to send [19:54:49]OFD Sender: No OFD packet to send [19:54:54]OFD Sender: No OFD packet to send [19:54:59]OFD Sender: No OFD packet to send [19:55:04]OFD Sender: No OFD packet to send [19:55:09]OFD Sender: No OFD packet to send [19:55:14]OFD Sender: No OFD packet to send [19:55:19]OFD Sender: No OFD packet to send [19:55:24]OFD Sender: No OFD packet to send [19:55:29]OFD Sender: No OFD packet to send [19:55:34]OFD Sender: No OFD packet to send [19:55:39]OFD Sender: No OFD packet to send [19:55:44]OFD Sender: No OFD packet to send [19:55:49]OFD Sender: No OFD packet to send [19:55:54]OFD Sender: No OFD packet to send [19:55:59]OFD Sender: No OFD packet to send [19:56:04]OFD Sender: No OFD packet to send [19:56:09]OFD Sender: No OFD packet to send [19:56:14]OFD Sender: No OFD packet to send [19:56:19]OFD Sender: No OFD packet to send [19:56:24]OFD Sender: No OFD packet to send [19:56:29]OFD Sender: No OFD packet to send [19:56:34]OFD Sender: No OFD packet to send [19:56:39]OFD Sender: No OFD packet to send [19:56:44]OFD Sender: No OFD packet to send [19:56:49]OFD Sender: No OFD packet to send [19:56:54]OFD Sender: No OFD packet to send [19:56:59]OFD Sender: No OFD packet to send [19:57:04]OFD Sender: No OFD packet to send [19:57:09]OFD Sender: No OFD packet to send [19:57:14]OFD Sender: No OFD packet to send [19:57:19]OFD Sender: No OFD packet to send [19:57:24]OFD Sender: No OFD packet to send [19:57:29]OFD Sender: No OFD packet to send [19:57:34]OFD Sender: No OFD packet to send [19:57:39]OFD Sender: No OFD packet to send [19:57:44]OFD Sender: No OFD packet to send [19:57:49]OFD Sender: No OFD packet to send [19:57:54]OFD Sender: No OFD packet to send [19:57:59]OFD Sender: No OFD packet to send [19:58:04]OFD Sender: No OFD packet to send [19:58:09]OFD Sender: No OFD packet to send [19:58:14]OFD Sender: No OFD packet to send [19:58:19]OFD Sender: No OFD packet to send [19:58:21]accept exits with 7 [19:58:21]New connection [19:58:21]New thread 3066850660 created [19:58:21]Thread 3066707300 joined [19:58:21]Waiting for new connection... [19:58:21] Sock 7.Parse request [19:58:21]Sock 7.Check first char [19:58:21]Sock 7.First char is OK [19:58:21]request: POST /json_proto HTTP/1.0 [19:58:21]Method: POST [19:58:21]URL: /json_proto [19:58:21]Method is POST - this is cgi request [19:58:21]url: /json_proto [19:58:21]query_string will be loaded in cgi processing [19:58:21]execute_cgi json_proto POST (null) [19:58:21]execute_cgi path=json_proto method=POST [19:58:21]POST find Content-Length [19:58:21]Host: 172.17.52.132:8080 [19:58:21]Content-Length: 613 [19:58:21]Content-Type: application/json [19:58:21] [19:58:21]POST finish read [19:58:21]Found Content-Length = 613 [19:58:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99976", "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" ] } } [19:58:21]execute_script... [19:58: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)99976", "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" ] } } [19:58:21]POST & json_proto [19:58:21]process_json_proto [19:58:21]json parsed OK: [19:58:21]protocol is kg_v1.0 [19:58:21]action value=close_receipt [19:58:21]process_action close_receipt [19:58:21]cmd_close_receipt [19:58:21]MH_GetDate [19:58:21]Write to MH i2c: F0 00 00 AE 53 F0 [19:58:21]Write i2c OK [19:58:21]MH_I2C_Read... [19:58:21]Read from MH i2c: F0 [19:58:21]MH_I2C_Read... [19:58:21]Read from MH i2c: F0 09 00 [19:58:21]MH_I2C_Read... [19:58:21]Read from MH i2c: F0 09 00 AE 53 00 69 0F 14 67 5A BE F6 66 60 [19:58:21]GetLastDocTimeStamp 1729367317 [19:58:21]current date 1729367913 [19:58:21]FM_GetShiftState [19:58:21]SAM_PROTO_GetShiftState [19:58:21]wFMCommunicate request_size=4 [19:58:21]MH_SAM_APDU [19:58:21]CAPDU: 80 13 01 00 [19:58:21]Write to MH i2c: E2 08 00 AF 53 80 13 01 00 00 00 00 00 7F [19:58:21]Write i2c OK [19:58:21]MH_I2C_Read... [19:58:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:58:21]Read from MH i2c: E2 [19:58:21]MH_I2C_Read... [19:58:21]Read from MH i2c: E2 0E 00 [19:58:21]MH_I2C_Read... [19:58:21]Read from MH i2c: E2 0E 00 AF 53 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 28 [19:58:21]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [19:58:21]wFMCommunicate OK [19:58:21]SAM_PROTO_GetShiftState done [19:58:21]FM_GetShiftState done [19:58:21]opened in 1729296173 [19:58:21]opened+sec_in_day 1729382573 [19:58:21]quantity*price = 11900 [19:58:21]sum+1 = 11901 [19:58:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 119.00 НСП 1% : 1.05 НДС 12% : 12.64 Наличными: 119.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 59 19.10.2024 19:58 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2598 ФПД: 81024224625787 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T195833&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2598&fm=81024224625787&tin=02508201610067®Number=0000000000207295&sum=11900 0 [19:58:22]StoreToDocumentArchive [19:58:22]shift 23 fd 2598 [19:58:22]save to /storage/0023/doc_00002598 [19:58:22]save last doc name /storage/0023/doc_00002598 to /storage/kkm_last_doc_name [19:58:22]save OK [19:58:22]Clear old archive folders... [19:58:22]ProcessDocumentItem done err = 0, tmpTLVsize=266 [19:58:22]tlvbuf is 013FA980 [19:58:22]SAM_PROTO_ClearQueue [19:58:22]wFMCommunicate request_size=4 [19:58:22]MH_SAM_APDU [19:58:22]CAPDU: 80 09 00 00 [19:58:22]Write to MH i2c: E2 08 00 BC 53 80 09 00 00 00 00 00 00 81 [19:58:22]Write i2c OK [19:58:22]MH_I2C_Read... [19:58:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:58:23]Read from MH i2c: E2 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: E2 03 00 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: E2 03 00 BC 53 00 90 00 83 [19:58:23]RAPDU: 90 00 [19:58:23]wFMCommunicate OK [19:58:23]SAM_PROTO_ClearQueue done [19:58:23]KKMCreateOFDPacket [19:58:23]OFDProtocolAddRootSTLVToBuf [19:58:23]FM_MakeSignedData [19:58:23]FM_MakeSignedData [19:58:23]SAM_PROTO_SignData [19:58:23]wFMCommunicate request_size=4 [19:58:23]MH_SAM_APDU [19:58:23]CAPDU: 80 0D 01 02 [19:58:23]Write to MH i2c: E2 08 00 BD 53 80 0D 01 02 00 00 00 00 89 [19:58:23]Write i2c OK [19:58:23]MH_I2C_Read... [19:58:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:58:23]Read from MH i2c: E2 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: E2 03 00 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: E2 03 00 BD 53 00 90 00 84 [19:58:23]RAPDU: 90 00 [19:58:23]wFMCommunicate OK [19:58:23]wFMCommunicate request_size=255 [19:58:23]MH_SAM_APDU [19:58:23]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 3B 00 00 00 F4 03 04 00 69 0F 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 [19:58:23]Write to MH i2c: E2 02 01 BE 53 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 3B 00 00 00 F4 03 04 00 69 0F 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 00 00 C8 [19:58:23]Write i2c OK [19:58:23]MH_I2C_Read... [19:58:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:58:23]Read from MH i2c: E2 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: E2 03 00 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: E2 03 00 BE 53 00 90 00 85 [19:58:23]RAPDU: 90 00 [19:58:23]wFMCommunicate OK [19:58:23]wFMCommunicate request_size=25 [19:58:23]MH_SAM_APDU [19:58:23]CAPDU: 80 0D 02 02 14 32 30 10 04 04 00 26 0A 00 00 35 04 06 00 49 B0 EC 20 84 7B [19:58:23]Write to MH i2c: E2 1C 00 BF 53 80 0D 02 02 14 00 32 30 10 04 04 00 26 0A 00 00 35 04 06 00 49 B0 EC 20 84 7B 00 00 A1 [19:58:23]Write i2c OK [19:58:23]MH_I2C_Read... [19:58:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:58:23]Read from MH i2c: E2 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: E2 03 00 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: E2 03 00 BF 53 00 90 00 86 [19:58:23]RAPDU: 90 00 [19:58:23]wFMCommunicate OK [19:58:23]wFMCommunicate request_size=4 [19:58:23]MH_SAM_APDU [19:58:23]CAPDU: 80 0D 03 02 [19:58:23]Write to MH i2c: E2 08 00 C0 53 80 0D 03 02 00 00 00 00 8E [19:58:23]Write i2c OK [19:58:23]MH_I2C_Read... [19:58:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:58:23]Read from MH i2c: E2 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: E2 0B 00 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: E2 0B 00 C0 53 00 9E 1F 64 CF 5B 20 70 0F 90 00 79 [19:58:23]RAPDU: 9E 1F 64 CF 5B 20 70 0F 90 00 [19:58:23]wFMCommunicate OK [19:58:23]SAM_PROTO_SignData done [19:58:23]FM_MakeSignedData done [19:58:23]CreateOFDProtocolMessage [19:58:23]wFMCommunicate request_size=4 [19:58:23]MH_SAM_APDU [19:58:23]CAPDU: 80 11 00 00 [19:58:23]Write to MH i2c: E2 08 00 C1 53 80 11 00 00 00 00 00 00 8E [19:58:23]Write i2c OK [19:58:23]MH_I2C_Read... [19:58:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:58:23]Read from MH i2c: E2 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: E2 17 00 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: E2 17 00 C1 53 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 D6 [19:58:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:58:23]wFMCommunicate OK [19:58:23]CreateOFDProtocolMessage done [19:58:23]OFDSenderStorePacket 2598 [19:58:23]StoreOFDPacket docnum=2598 [19:58:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 1E 01 00 00 89 30 16 01 E7 02 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 3B 00 00 00 F4 03 04 00 69 0F 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 26 0A 00 00 35 04 06 00 49 B0 EC 20 84 7B 9E 1F 64 CF 5B 20 70 0F [19:58:23]CheckFolder [19:58:23]dirname=/storage/ofd_packets [19:58:23]CheckFolder done [19:58:23]ProducePacketName [19:58:23]name=ofd_packets/00002598 [19:58:23]NVStorageSaveData ofd_packets/00002598 [19:58:23]File name is /storage/ofd_packets/00002598 [19:58:23]Write 316 bytes [19:58:23]NVStorageSaveData done [19:58:23]OFDSenderStorePacket done [19:58:23]KKMCreateOFDPacket done [19:58:23]NVStorageSaveData kkm_last_timestamp [19:58:23]File name is /storage/kkm_last_timestamp [19:58:23]Write 4 bytes [19:58:23]NVStorageSaveData done [19:58:23]ExternCall_PrintAddStr [19:58:23]wPrintStart [19:58:23]Write to MH i2c: 01 00 00 C2 53 15 [19:58:23]Write i2c OK [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: 01 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: 01 07 00 [19:58:23]MH_I2C_Read... [19:58:23]Read from MH i2c: 01 07 00 C2 53 00 00 00 00 00 FF 0F 2A [19:58:23]RasterBufferAndPrint [19:58:23]line Счет N : (3)99976 [19:58:23]line ИНН: 02508201610067 [19:58:23]line Контрольно-Кассовый Чек [19:58:23]line ПРОДАЖА [19:58:23]line Товар: 4870001570071 [19:58:23]line Напиток Pepsi 1л [19:58:23]line 1.000 * 119.00 [19:58:23]line = 119.00 [19:58:23]line НДС 12% НСП 1% [19:58:23]line > о реализуемом товаре [19:58:23]line ИТОГО: 119.00 [19:58:23]line НСП 1% : 1.05 [19:58:23]line НДС 12% : 12.64 [19:58:23]line Наличными: 119.00 [19:58:23]line Безнал.: 0.00 [19:58:23]line Место: АЗС № 162 "Партнер Нефть" [19:58:23]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [19:58:23]line СНО: Общий режим [19:58:23]line Чек 59 19.10.2024 19:58 [19:58:23]line Смена: 23 ФФД: 1.0 [19:58:23]line ЗНМ: 0300000191 [19:58:23]line РНМ: 0000000000207295 [19:58:23]line Версия ККМ: v1.0 [19:58:23]line ФМ: 0000000002342820 [19:58:23]line ФД: 2598 [19:58:23]line ФПД: 81024224625787 [19:58:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T195833&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2598&fm=81024224625787&tin=02508201610067®Number=0000000000207295&sum=11900 [19:58:23]line 0 [19:58:23]OFD Sender: Processing packet 2598 [packets to send 1, broken 0] [19:58:23]ProducePacketName [19:58:23]name=ofd_packets/00002598 [19:58:23]OFD Sender: To server: pG, [19:58:23]CommunicateWithHost lk.salyk.kg:30040 [19:58:23]ConnectInit lk.salyk.kg [19:58:23]written 0, free lines is 4095 [19:58:23]Connected sock=10 [19:58:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 1E 01 00 00 89 30 16 01 E7 02 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 3B 00 00 00 F4 03 04 00 69 0F 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 26 0A 00 00 35 04 06 00 49 B0 EC 20 84 7B 9E 1F 64 CF 5B 20 70 0F [19:58:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 E4 80 47 00 6D 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 32 33 34 32 38 32 30 10 04 04 00 26 0A 00 00 F4 03 04 00 C8 BA 13 67 B6 04 01 00 00 04 B3 CB 12 1E 56 81 A4 [19:58:24]CommunicateWithHost err = 0 [19:58:24]CheckOFDResponse [19:58:24]1017 (14) - 77093643461234 [19:58:24]1041 (16) - 0000000002342820 [19:58:24]1040 (4) - 2598 [19:58:24]1012 (4) - 19.10.2024 13:57 [19:58:24]1206 (1) - 0 [19:58:24]OFD Sender: Remove packet 2598 [19:58:24]ProducePacketName [19:58:24]name=ofd_packets/00002598 [19:58:24]NVStorageDeleteData [19:58:24]Write to MH i2c: 01 00 00 EA 53 3D [19:58:24]Write i2c OK [19:58:24]MH_I2C_Read... [19:58:24]Read from MH i2c: 01 [19:58:24]MH_I2C_Read... [19:58:24]Read from MH i2c: 01 07 00 [19:58:24]MH_I2C_Read... [19:58:24]Read from MH i2c: 01 07 00 EA 53 00 00 00 00 00 D2 0C 22 [19:58:24]RasterBufferAndPrint [19:58:24]line [19:58:24]line [19:58:24]line [19:58:24]line [19:58:24]line [19:58:24]written 0, free lines is 3286 [19:58:24]MH_Cut [19:58:24]Write to MH i2c: D1 01 00 F1 53 01 16 [19:58:24]Write i2c OK [19:58:24]MH_I2C_Read... [19:58:24]Read from MH i2c: D1 [19:58:24]MH_I2C_Read... [19:58:24]Read from MH i2c: D1 01 00 [19:58:24]MH_I2C_Read... [19:58:24]Read from MH i2c: D1 01 00 F1 53 00 15 [19:58:24]Write to MH i2c: 01 00 00 F2 53 45 [19:58:24]Write i2c OK [19:58:24]MH_I2C_Read... [19:58:24]OFD Sender: No OFD packet to send [19:58:25]*** Cut start [19:58:25]*** Partial cut [19:58:25]*** CUTSNS_PIN = 1 [19:58:25]*** CUTSNS_PIN = 0 [19:58:25]*** Brake cut motor [19:58:25]Read from MH i2c: 01 [19:58:25]MH_I2C_Read... [19:58:25]*** Stop cut motor [19:58:25]*** Cut end [19:58:25]Read from MH i2c: 01 07 00 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: 01 07 00 F2 53 00 00 00 00 00 FF 0F 5A [19:58:25]process_action close_receipt done [19:58:25]requested_data is exist [19:58:25]produce_requested_data [19:58:25]requested_item fm.sn is exist - process it [19:58:25]wFMCommunicate request_size=4 [19:58:25]MH_SAM_APDU [19:58:25]CAPDU: 80 11 00 00 [19:58:25]Write to MH i2c: E2 08 00 F3 53 80 11 00 00 00 00 00 00 C0 [19:58:25]Write i2c OK [19:58:25]MH_I2C_Read... [19:58:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:58:25]Read from MH i2c: E2 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: E2 17 00 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: E2 17 00 F3 53 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 08 [19:58:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [19:58:25]wFMCommunicate OK [19:58:25]requested_item fd.num is exist - process it [19:58:25]SAM_PROTO_GetFieldsCounters [19:58:25]wFMCommunicate request_size=4 [19:58:25]MH_SAM_APDU [19:58:25]CAPDU: 80 13 00 00 [19:58:25]Write to MH i2c: E2 08 00 F4 53 80 13 00 00 00 00 00 00 C3 [19:58:25]Write i2c OK [19:58:25]MH_I2C_Read... [19:58:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:58:25]Read from MH i2c: E2 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: E2 62 00 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: E2 62 00 F4 53 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 26 0A 00 00 0E 04 04 00 17 00 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 D1 [19:58:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 26 0A 00 00 0E 04 04 00 17 00 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:58:25]wFMCommunicate OK [19:58:25]SAM_PROTO_GetFieldsCounters done [19:58:25]requested_item shift.num is exist - process it [19:58:25]requested_item shift.opened is exist - process it [19:58:25]req_shift_opened [19:58:25]FM_GetShiftState [19:58:25]SAM_PROTO_GetShiftState [19:58:25]wFMCommunicate request_size=4 [19:58:25]MH_SAM_APDU [19:58:25]CAPDU: 80 13 01 00 [19:58:25]Write to MH i2c: E2 08 00 F5 53 80 13 01 00 00 00 00 00 C5 [19:58:25]Write i2c OK [19:58:25]MH_I2C_Read... [19:58:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:58:25]Read from MH i2c: E2 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: E2 0E 00 [19:58:25]MH_I2C_Read... [19:58:25]Read from MH i2c: E2 0E 00 F5 53 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 6E [19:58:25]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [19:58:25]wFMCommunicate OK [19:58:25]SAM_PROTO_GetShiftState done [19:58:25]FM_GetShiftState done [19:58:25]req_shift_opened done [19:58:25]requested_item shift.open_date is exist - process it [19:58:25]req_shift_open_date [19:58:25]req_shift_open_date done [19:58:25]produce_requested_data done [19:58:25]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2598,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [19:58:25]process_action_free close_receipt [19:58:25]json_value_free [19:58:25]json_value_free done [19:58:25]process_json_proto returns [19:58:25]Send response to host [19:58:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2598,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [19:58:25]free response buf [19:58:26]execute_script done [19:58:26]execute_script returns [19:58:26]free content buf [19:58:26]Sock 7.Close socket [19:58:26]Sock 7.Thread stoped [19:58:29]OFD Sender: No OFD packet to send [19:58:34]OFD Sender: No OFD packet to send [19:58:39]OFD Sender: No OFD packet to send [19:58:44]OFD Sender: No OFD packet to send [19:58:49]OFD Sender: No OFD packet to send [19:58:54]OFD Sender: No OFD packet to send [19:58:59]OFD Sender: No OFD packet to send [19:59:04]OFD Sender: No OFD packet to send [19:59:09]OFD Sender: No OFD packet to send [19:59:14]OFD Sender: No OFD packet to send [19:59:19]OFD Sender: No OFD packet to send [19:59:24]OFD Sender: No OFD packet to send [19:59:29]OFD Sender: No OFD packet to send [19:59:34]OFD Sender: No OFD packet to send [19:59:39]OFD Sender: No OFD packet to send [19:59:44]OFD Sender: No OFD packet to send [19:59:49]OFD Sender: No OFD packet to send [19:59:54]OFD Sender: No OFD packet to send [19:59:59]OFD Sender: No OFD packet to send [20:00:04]OFD Sender: No OFD packet to send [20:00:09]OFD Sender: No OFD packet to send [20:00:14]OFD Sender: No OFD packet to send [20:00:19]OFD Sender: No OFD packet to send [20:00:24]OFD Sender: No OFD packet to send [20:00:29]OFD Sender: No OFD packet to send [20:00:34]OFD Sender: No OFD packet to send [20:00:39]OFD Sender: No OFD packet to send [20:00:44]OFD Sender: No OFD packet to send [20:00:49]OFD Sender: No OFD packet to send [20:00:54]OFD Sender: No OFD packet to send [20:00:59]OFD Sender: No OFD packet to send [20:01:04]OFD Sender: No OFD packet to send [20:01:09]OFD Sender: No OFD packet to send [20:01:14]OFD Sender: No OFD packet to send [20:01:19]OFD Sender: No OFD packet to send [20:01:24]OFD Sender: No OFD packet to send [20:01:29]OFD Sender: No OFD packet to send [20:01:34]OFD Sender: No OFD packet to send [20:01:39]OFD Sender: No OFD packet to send [20:01:44]OFD Sender: No OFD packet to send [20:01:49]OFD Sender: No OFD packet to send [20:01:54]OFD Sender: No OFD packet to send [20:01:59]OFD Sender: No OFD packet to send [20:02:04]OFD Sender: No OFD packet to send [20:02:09]OFD Sender: No OFD packet to send [20:02:14]OFD Sender: No OFD packet to send [20:02:19]OFD Sender: No OFD packet to send [20:02:24]OFD Sender: No OFD packet to send [20:02:29]OFD Sender: No OFD packet to send [20:02:34]OFD Sender: No OFD packet to send [20:02:39]OFD Sender: No OFD packet to send [20:02:44]OFD Sender: No OFD packet to send [20:02:49]OFD Sender: No OFD packet to send [20:02:54]OFD Sender: No OFD packet to send [20:02:59]OFD Sender: No OFD packet to send [20:03:04]OFD Sender: No OFD packet to send [20:03:09]OFD Sender: No OFD packet to send [20:03:14]OFD Sender: No OFD packet to send [20:03:19]OFD Sender: No OFD packet to send [20:03:24]OFD Sender: No OFD packet to send [20:03:29]OFD Sender: No OFD packet to send [20:03:34]OFD Sender: No OFD packet to send [20:03:39]OFD Sender: No OFD packet to send [20:03:44]OFD Sender: No OFD packet to send [20:03:49]OFD Sender: No OFD packet to send [20:03:54]OFD Sender: No OFD packet to send [20:03:59]OFD Sender: No OFD packet to send [20:04:04]OFD Sender: No OFD packet to send [20:04:09]OFD Sender: No OFD packet to send [20:04:14]OFD Sender: No OFD packet to send [20:04:19]OFD Sender: No OFD packet to send [20:04:24]OFD Sender: No OFD packet to send [20:04:29]OFD Sender: No OFD packet to send [20:04:34]OFD Sender: No OFD packet to send [20:04:39]OFD Sender: No OFD packet to send [20:04:44]OFD Sender: No OFD packet to send [20:04:49]OFD Sender: No OFD packet to send [20:04:54]OFD Sender: No OFD packet to send [20:04:59]OFD Sender: No OFD packet to send [20:05:04]OFD Sender: No OFD packet to send [20:05:09]OFD Sender: No OFD packet to send [20:05:14]OFD Sender: No OFD packet to send [20:05:19]OFD Sender: No OFD packet to send [20:05:24]OFD Sender: No OFD packet to send [20:05:29]OFD Sender: No OFD packet to send [20:05:34]OFD Sender: No OFD packet to send [20:05:39]OFD Sender: No OFD packet to send [20:05:44]OFD Sender: No OFD packet to send [20:05:49]OFD Sender: No OFD packet to send [20:05:54]OFD Sender: No OFD packet to send [20:05:59]OFD Sender: No OFD packet to send [20:06:04]OFD Sender: No OFD packet to send [20:06:09]OFD Sender: No OFD packet to send [20:06:14]OFD Sender: No OFD packet to send [20:06:19]OFD Sender: No OFD packet to send [20:06:24]OFD Sender: No OFD packet to send [20:06:30]OFD Sender: No OFD packet to send [20:06:35]OFD Sender: No OFD packet to send [20:06:40]OFD Sender: No OFD packet to send [20:06:45]OFD Sender: No OFD packet to send [20:06:50]OFD Sender: No OFD packet to send [20:06:55]OFD Sender: No OFD packet to send [20:07:00]OFD Sender: No OFD packet to send [20:07:05]OFD Sender: No OFD packet to send [20:07:10]OFD Sender: No OFD packet to send [20:07:15]OFD Sender: No OFD packet to send [20:07:20]OFD Sender: No OFD packet to send [20:07:25]OFD Sender: No OFD packet to send [20:07:30]OFD Sender: No OFD packet to send [20:07:35]OFD Sender: No OFD packet to send [20:07:40]OFD Sender: No OFD packet to send [20:07:45]OFD Sender: No OFD packet to send [20:07:50]OFD Sender: No OFD packet to send [20:07:55]OFD Sender: No OFD packet to send [20:08:00]OFD Sender: No OFD packet to send [20:08:05]OFD Sender: No OFD packet to send [20:08:10]OFD Sender: No OFD packet to send [20:08:15]OFD Sender: No OFD packet to send [20:08:20]OFD Sender: No OFD packet to send [20:08:25]OFD Sender: No OFD packet to send [20:08:30]OFD Sender: No OFD packet to send [20:08:35]OFD Sender: No OFD packet to send [20:08:40]OFD Sender: No OFD packet to send [20:08:45]OFD Sender: No OFD packet to send [20:08:50]OFD Sender: No OFD packet to send [20:08:55]OFD Sender: No OFD packet to send [20:09:00]OFD Sender: No OFD packet to send [20:09:05]OFD Sender: No OFD packet to send [20:09:10]OFD Sender: No OFD packet to send [20:09:15]OFD Sender: No OFD packet to send [20:09:20]OFD Sender: No OFD packet to send [20:09:25]OFD Sender: No OFD packet to send [20:09:30]OFD Sender: No OFD packet to send [20:09:35]OFD Sender: No OFD packet to send [20:09:40]OFD Sender: No OFD packet to send [20:09:45]OFD Sender: No OFD packet to send [20:09:50]OFD Sender: No OFD packet to send [20:09:55]OFD Sender: No OFD packet to send [20:10:00]OFD Sender: No OFD packet to send [20:10:05]OFD Sender: No OFD packet to send [20:10:10]OFD Sender: No OFD packet to send [20:10:15]OFD Sender: No OFD packet to send [20:10:20]OFD Sender: No OFD packet to send [20:10:25]OFD Sender: No OFD packet to send [20:10:30]OFD Sender: No OFD packet to send [20:10:35]OFD Sender: No OFD packet to send [20:10:40]OFD Sender: No OFD packet to send [20:10:45]OFD Sender: No OFD packet to send [20:10:50]OFD Sender: No OFD packet to send [20:10:55]OFD Sender: No OFD packet to send [20:11:00]OFD Sender: No OFD packet to send [20:11:05]OFD Sender: No OFD packet to send [20:11:10]OFD Sender: No OFD packet to send [20:11:15]OFD Sender: No OFD packet to send [20:11:20]OFD Sender: No OFD packet to send [20:11:25]OFD Sender: No OFD packet to send [20:11:30]OFD Sender: No OFD packet to send [20:11:35]OFD Sender: No OFD packet to send [20:11:40]OFD Sender: No OFD packet to send [20:11:45]OFD Sender: No OFD packet to send [20:11:50]OFD Sender: No OFD packet to send [20:11:55]OFD Sender: No OFD packet to send [20:12:00]OFD Sender: No OFD packet to send [20:12:05]OFD Sender: No OFD packet to send [20:12:10]OFD Sender: No OFD packet to send [20:12:15]OFD Sender: No OFD packet to send [20:12:20]OFD Sender: No OFD packet to send [20:12:25]OFD Sender: No OFD packet to send [20:12:30]OFD Sender: No OFD packet to send [20:12:35]OFD Sender: No OFD packet to send [20:12:40]OFD Sender: No OFD packet to send [20:12:45]OFD Sender: No OFD packet to send [20:12:50]OFD Sender: No OFD packet to send [20:12:55]OFD Sender: No OFD packet to send [20:13:00]OFD Sender: No OFD packet to send [20:13:05]OFD Sender: No OFD packet to send [20:13:10]OFD Sender: No OFD packet to send [20:13:15]OFD Sender: No OFD packet to send [20:13:20]OFD Sender: No OFD packet to send [20:13:25]OFD Sender: No OFD packet to send [20:13:30]OFD Sender: No OFD packet to send [20:13:35]OFD Sender: No OFD packet to send [20:13:40]OFD Sender: No OFD packet to send [20:13:45]OFD Sender: No OFD packet to send [20:13:50]OFD Sender: No OFD packet to send [20:13:55]OFD Sender: No OFD packet to send [20:14:00]OFD Sender: No OFD packet to send [20:14:05]OFD Sender: No OFD packet to send [20:14:10]OFD Sender: No OFD packet to send [20:14:15]OFD Sender: No OFD packet to send [20:14:20]OFD Sender: No OFD packet to send [20:14:25]OFD Sender: No OFD packet to send [20:14:30]OFD Sender: No OFD packet to send [20:14:35]OFD Sender: No OFD packet to send [20:14:40]OFD Sender: No OFD packet to send [20:14:45]OFD Sender: No OFD packet to send [20:14:50]OFD Sender: No OFD packet to send [20:14:55]OFD Sender: No OFD packet to send [20:15:00]OFD Sender: No OFD packet to send [20:15:05]OFD Sender: No OFD packet to send [20:15:10]OFD Sender: No OFD packet to send [20:15:15]OFD Sender: No OFD packet to send [20:15:20]OFD Sender: No OFD packet to send [20:15:25]OFD Sender: No OFD packet to send [20:15:30]OFD Sender: No OFD packet to send [20:15:35]OFD Sender: No OFD packet to send [20:15:40]OFD Sender: No OFD packet to send [20:15:45]OFD Sender: No OFD packet to send [20:15:50]OFD Sender: No OFD packet to send [20:15:55]OFD Sender: No OFD packet to send [20:16:00]OFD Sender: No OFD packet to send [20:16:05]OFD Sender: No OFD packet to send [20:16:10]OFD Sender: No OFD packet to send [20:16:15]OFD Sender: No OFD packet to send [20:16:20]OFD Sender: No OFD packet to send [20:16:25]OFD Sender: No OFD packet to send [20:16:30]OFD Sender: No OFD packet to send [20:16:34]accept exits with 9 [20:16:34]New connection [20:16:34]New thread 3066707300 created [20:16:34]Thread 3066850660 joined [20:16:34]Waiting for new connection... [20:16:34] Sock 9.Parse request [20:16:34]Sock 9.Check first char [20:16:34]Sock 9.First char is OK [20:16:34]request: POST /json_proto HTTP/1.0 [20:16:34]Method: POST [20:16:34]URL: /json_proto [20:16:34]Method is POST - this is cgi request [20:16:34]url: /json_proto [20:16:34]query_string will be loaded in cgi processing [20:16:34]execute_cgi json_proto POST (null) [20:16:34]execute_cgi path=json_proto method=POST [20:16:34]POST find Content-Length [20:16:34]Host: 172.17.52.132:8080 [20:16:34]Content-Length: 904 [20:16:34]Content-Type: application/json [20:16:34] [20:16:34]POST finish read [20:16:34]Found Content-Length = 904 [20:16:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99977", "tax_sys" : 0, "items" : [ { "code": "4700000480814", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 0,5 \u0441\u0442", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "price" : 49.00, "quantity" : 1.000, "sum" : 49.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" ] } } [20:16:34]execute_script... [20:16:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99977", "tax_sys" : 0, "items" : [ { "code": "4700000480814", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 0,5 \u0441\u0442", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "price" : 49.00, "quantity" : 1.000, "sum" : 49.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" ] } } [20:16:34]POST & json_proto [20:16:34]process_json_proto [20:16:34]json parsed OK: [20:16:34]protocol is kg_v1.0 [20:16:34]action value=close_receipt [20:16:34]process_action close_receipt [20:16:34]cmd_close_receipt [20:16:34]MH_GetDate [20:16:34]Write to MH i2c: F0 00 00 F6 53 38 [20:16:34]Write i2c OK [20:16:34]MH_I2C_Read... [20:16:34]Read from MH i2c: F0 [20:16:34]MH_I2C_Read... [20:16:34]Read from MH i2c: F0 09 00 [20:16:34]MH_I2C_Read... [20:16:34]Read from MH i2c: F0 09 00 F6 53 00 AD 13 14 67 5A BE F6 66 F0 [20:16:34]GetLastDocTimeStamp 1729367913 [20:16:34]current date 1729369005 [20:16:34]FM_GetShiftState [20:16:34]SAM_PROTO_GetShiftState [20:16:34]wFMCommunicate request_size=4 [20:16:34]MH_SAM_APDU [20:16:34]CAPDU: 80 13 01 00 [20:16:34]Write to MH i2c: E2 08 00 F7 53 80 13 01 00 00 00 00 00 C7 [20:16:34]Write i2c OK [20:16:34]MH_I2C_Read... [20:16:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:16:34]Read from MH i2c: E2 [20:16:34]MH_I2C_Read... [20:16:34]Read from MH i2c: E2 0E 00 [20:16:34]MH_I2C_Read... [20:16:34]Read from MH i2c: E2 0E 00 F7 53 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 70 [20:16:34]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [20:16:34]wFMCommunicate OK [20:16:34]SAM_PROTO_GetShiftState done [20:16:34]FM_GetShiftState done [20:16:34]opened in 1729296173 [20:16:34]opened+sec_in_day 1729382573 [20:16:34]quantity*price = 10000 [20:16:34]sum+1 = 10001 [20:16:34]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700026030017 Курут классический 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 149.00 НСП 1% : 1.31 НДС 12% : 15.82 Наличными: 149.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 60 19.10.2024 20:16 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2599 ФПД: 232723719730773 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T201645&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2599&fm=232723719730773&tin=02508201610067®Number=0000000000207295&sum=14900 0 [20:16:35]StoreToDocumentArchive [20:16:35]shift 23 fd 2599 [20:16:35]save to /storage/0023/doc_00002599 [20:16:35]save last doc name /storage/0023/doc_00002599 to /storage/kkm_last_doc_name [20:16:35]save OK [20:16:35]Clear old archive folders... [20:16:35]ProcessDocumentItem done err = 0, tmpTLVsize=377 [20:16:35]tlvbuf is 01416110 [20:16:35]SAM_PROTO_ClearQueue [20:16:35]wFMCommunicate request_size=4 [20:16:35]MH_SAM_APDU [20:16:35]CAPDU: 80 09 00 00 [20:16:35]Write to MH i2c: E2 08 00 04 54 80 09 00 00 00 00 00 00 CA [20:16:35]Write i2c OK [20:16:35]MH_I2C_Read... [20:16:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:16:35]Read from MH i2c: E2 [20:16:35]MH_I2C_Read... [20:16:35]Read from MH i2c: E2 03 00 [20:16:35]MH_I2C_Read... [20:16:35]Read from MH i2c: E2 03 00 04 54 00 90 00 CC [20:16:35]RAPDU: 90 00 [20:16:35]wFMCommunicate OK [20:16:35]SAM_PROTO_ClearQueue done [20:16:35]KKMCreateOFDPacket [20:16:35]OFDProtocolAddRootSTLVToBuf [20:16:35]FM_MakeSignedData [20:16:35]FM_MakeSignedData [20:16:35]SAM_PROTO_SignData [20:16:35]wFMCommunicate request_size=4 [20:16:35]MH_SAM_APDU [20:16:35]CAPDU: 80 0D 01 02 [20:16:35]Write to MH i2c: E2 08 00 05 54 80 0D 01 02 00 00 00 00 D2 [20:16:35]Write i2c OK [20:16:35]MH_I2C_Read... [20:16:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:16:35]Read from MH i2c: E2 [20:16:35]MH_I2C_Read... [20:16:35]Read from MH i2c: E2 03 00 [20:16:35]MH_I2C_Read... [20:16:35]Read from MH i2c: E2 03 00 05 54 00 90 00 CD [20:16:35]RAPDU: 90 00 [20:16:35]wFMCommunicate OK [20:16:35]wFMCommunicate request_size=255 [20:16:35]MH_SAM_APDU [20:16:35]CAPDU: 80 0D 02 02 FA 03 00 79 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 00 00 00 00 00 EE [20:16:35]Write to MH i2c: E2 02 01 06 54 80 0D 02 02 FA 00 03 00 79 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 00 00 00 00 00 EE 00 00 8F [20:16:35]Write i2c OK [20:16:35]MH_I2C_Read... [20:16:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:16:36]Read from MH i2c: E2 [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: E2 03 00 [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: E2 03 00 06 54 00 90 00 CE [20:16:36]RAPDU: 90 00 [20:16:36]wFMCommunicate OK [20:16:36]wFMCommunicate request_size=136 [20:16:36]MH_SAM_APDU [20:16:36]CAPDU: 80 0D 02 02 83 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 3C 00 00 00 F4 03 04 00 AD 13 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 27 0A 00 00 35 04 06 00 D3 A9 36 A5 36 55 [20:16:36]Write to MH i2c: E2 8B 00 07 54 80 0D 02 02 83 00 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 3C 00 00 00 F4 03 04 00 AD 13 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 27 0A 00 00 35 04 06 00 D3 A9 36 A5 36 55 00 00 52 [20:16:36]Write i2c OK [20:16:36]MH_I2C_Read... [20:16:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:16:36]Read from MH i2c: E2 [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: E2 03 00 [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: E2 03 00 07 54 00 90 00 CF [20:16:36]RAPDU: 90 00 [20:16:36]wFMCommunicate OK [20:16:36]wFMCommunicate request_size=4 [20:16:36]MH_SAM_APDU [20:16:36]CAPDU: 80 0D 03 02 [20:16:36]Write to MH i2c: E2 08 00 08 54 80 0D 03 02 00 00 00 00 D7 [20:16:36]Write i2c OK [20:16:36]MH_I2C_Read... [20:16:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:16:36]Read from MH i2c: E2 [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: E2 0B 00 [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: E2 0B 00 08 54 00 0E BB C2 05 71 28 08 90 90 00 99 [20:16:36]RAPDU: 0E BB C2 05 71 28 08 90 90 00 [20:16:36]wFMCommunicate OK [20:16:36]SAM_PROTO_SignData done [20:16:36]FM_MakeSignedData done [20:16:36]CreateOFDProtocolMessage [20:16:36]wFMCommunicate request_size=4 [20:16:36]MH_SAM_APDU [20:16:36]CAPDU: 80 11 00 00 [20:16:36]Write to MH i2c: E2 08 00 09 54 80 11 00 00 00 00 00 00 D7 [20:16:36]Write i2c OK [20:16:36]MH_I2C_Read... [20:16:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:16:36]Read from MH i2c: E2 [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: E2 17 00 [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: E2 17 00 09 54 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 1F [20:16:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:16:36]wFMCommunicate OK [20:16:36]CreateOFDProtocolMessage done [20:16:36]OFDSenderStorePacket 2599 [20:16:36]StoreOFDPacket docnum=2599 [20:16:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 8D 01 00 00 88 46 85 01 D9 31 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 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 3C 00 00 00 F4 03 04 00 AD 13 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 27 0A 00 00 35 04 06 00 D3 A9 36 A5 36 55 0E BB C2 05 71 28 08 90 [20:16:36]CheckFolder [20:16:36]dirname=/storage/ofd_packets [20:16:36]CheckFolder done [20:16:36]ProducePacketName [20:16:36]name=ofd_packets/00002599 [20:16:36]NVStorageSaveData ofd_packets/00002599 [20:16:36]File name is /storage/ofd_packets/00002599 [20:16:36]Write 427 bytes [20:16:36]NVStorageSaveData done [20:16:36]OFDSenderStorePacket done [20:16:36]KKMCreateOFDPacket done [20:16:36]NVStorageSaveData kkm_last_timestamp [20:16:36]File name is /storage/kkm_last_timestamp [20:16:36]Write 4 bytes [20:16:36]NVStorageSaveData done [20:16:36]ExternCall_PrintAddStr [20:16:36]wPrintStart [20:16:36]Write to MH i2c: 01 00 00 0A 54 5E [20:16:36]Write i2c OK [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: 01 [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: 01 07 00 [20:16:36]MH_I2C_Read... [20:16:36]Read from MH i2c: 01 07 00 0A 54 00 00 00 00 00 FF 0F 73 [20:16:36]RasterBufferAndPrint [20:16:36]line Счет N : (3)99977 [20:16:36]line ИНН: 02508201610067 [20:16:36]line Контрольно-Кассовый Чек [20:16:36]line ПРОДАЖА [20:16:36]line Товар: 4700000480814 [20:16:36]line Пиво Живое 0,5 ст [20:16:36]line 1.000 * 100.00 [20:16:36]line = 100.00 [20:16:36]line НДС 12% НСП 1% [20:16:36]line > о реализуемом товаре [20:16:36]line Товар: 4700026030017 [20:16:36]line Курут классический [20:16:36]line 1.000 * 49.00 [20:16:36]line = 49.00 [20:16:36]line НДС 12% НСП 1% [20:16:36]line > о реализуемом товаре [20:16:36]line ИТОГО: 149.00 [20:16:36]line НСП 1% : 1.31 [20:16:36]line НДС 12% : 15.82 [20:16:36]line Наличными: 149.00 [20:16:36]line Безнал.: 0.00 [20:16:36]line Место: АЗС № 162 "Партнер Нефть" [20:16:36]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [20:16:36]line СНО: Общий режим [20:16:36]line Чек 60 19.10.2024 20:16 [20:16:36]line Смена: 23 ФФД: 1.0 [20:16:36]line ЗНМ: 0300000191 [20:16:36]line РНМ: 0000000000207295 [20:16:36]line Версия ККМ: v1.0 [20:16:36]line ФМ: 0000000002342820 [20:16:36]line ФД: 2599 [20:16:36]line ФПД: 232723719730773 [20:16:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T201645&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2599&fm=232723719730773&tin=02508201610067®Number=0000000000207295&sum=14900 [20:16:36]OFD Sender: Processing packet 2599 [packets to send 1, broken 0] [20:16:36]ProducePacketName [20:16:36]name=ofd_packets/00002599 [20:16:36]OFD Sender: To server: pG, [20:16:36]CommunicateWithHost lk.salyk.kg:30040 [20:16:36]ConnectInit lk.salyk.kg [20:16:36]line 0 [20:16:36]written 0, free lines is 4095 [20:16:36]Connected sock=10 [20:16:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 8D 01 00 00 88 46 85 01 D9 31 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 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 3C 00 00 00 F4 03 04 00 AD 13 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 27 0A 00 00 35 04 06 00 D3 A9 36 A5 36 55 0E BB C2 05 71 28 08 90 [20:16:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 DE E6 47 00 DA 45 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 27 0A 00 00 F4 03 04 00 0D BF 13 67 B6 04 01 00 00 DB 11 DC C6 E7 C6 13 3E [20:16:37]CommunicateWithHost err = 0 [20:16:37]CheckOFDResponse [20:16:37]1017 (14) - 77093643461234 [20:16:37]1041 (16) - 0000000002342820 [20:16:37]1040 (4) - 2599 [20:16:37]1012 (4) - 19.10.2024 14:15 [20:16:37]1206 (1) - 0 [20:16:37]OFD Sender: Remove packet 2599 [20:16:37]ProducePacketName [20:16:37]name=ofd_packets/00002599 [20:16:37]NVStorageDeleteData [20:16:37]Write to MH i2c: 01 00 00 38 54 8C [20:16:37]Write i2c OK [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: 01 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: 01 07 00 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: 01 07 00 38 54 00 00 00 00 00 6A 0C 09 [20:16:37]RasterBufferAndPrint [20:16:37]line [20:16:37]line [20:16:37]line [20:16:37]line [20:16:37]line [20:16:37]written 0, free lines is 3184 [20:16:37]MH_Cut [20:16:37]Write to MH i2c: D1 01 00 3F 54 01 65 [20:16:37]Write i2c OK [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: D1 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: D1 01 00 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: D1 01 00 3F 54 00 64 [20:16:37]Write to MH i2c: 01 00 00 40 54 94 [20:16:37]Write i2c OK [20:16:37]MH_I2C_Read... [20:16:37]OFD Sender: No OFD packet to send [20:16:38]*** Cut start [20:16:38]*** Partial cut [20:16:38]*** CUTSNS_PIN = 1 [20:16:38]*** CUTSNS_PIN = 0 [20:16:38]*** Brake cut motor [20:16:38]Read from MH i2c: 01 [20:16:38]MH_I2C_Read... [20:16:38]*** Stop cut motor [20:16:38]*** Cut end [20:16:38]Read from MH i2c: 01 07 00 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: 01 07 00 40 54 00 00 00 00 00 FF 0F A9 [20:16:38]process_action close_receipt done [20:16:38]requested_data is exist [20:16:38]produce_requested_data [20:16:38]requested_item fm.sn is exist - process it [20:16:38]wFMCommunicate request_size=4 [20:16:38]MH_SAM_APDU [20:16:38]CAPDU: 80 11 00 00 [20:16:38]Write to MH i2c: E2 08 00 41 54 80 11 00 00 00 00 00 00 0F [20:16:38]Write i2c OK [20:16:38]MH_I2C_Read... [20:16:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:16:38]Read from MH i2c: E2 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: E2 17 00 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: E2 17 00 41 54 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 57 [20:16:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:16:38]wFMCommunicate OK [20:16:38]requested_item fd.num is exist - process it [20:16:38]SAM_PROTO_GetFieldsCounters [20:16:38]wFMCommunicate request_size=4 [20:16:38]MH_SAM_APDU [20:16:38]CAPDU: 80 13 00 00 [20:16:38]Write to MH i2c: E2 08 00 42 54 80 13 00 00 00 00 00 00 12 [20:16:38]Write i2c OK [20:16:38]MH_I2C_Read... [20:16:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:16:38]Read from MH i2c: E2 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: E2 62 00 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: E2 62 00 42 54 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 27 0A 00 00 0E 04 04 00 17 00 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 24 [20:16:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 27 0A 00 00 0E 04 04 00 17 00 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:16:38]wFMCommunicate OK [20:16:38]SAM_PROTO_GetFieldsCounters done [20:16:38]requested_item shift.num is exist - process it [20:16:38]requested_item shift.opened is exist - process it [20:16:38]req_shift_opened [20:16:38]FM_GetShiftState [20:16:38]SAM_PROTO_GetShiftState [20:16:38]wFMCommunicate request_size=4 [20:16:38]MH_SAM_APDU [20:16:38]CAPDU: 80 13 01 00 [20:16:38]Write to MH i2c: E2 08 00 43 54 80 13 01 00 00 00 00 00 14 [20:16:38]Write i2c OK [20:16:38]MH_I2C_Read... [20:16:39]Read from MH i2c: E2 [20:16:39]MH_I2C_Read... [20:16:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:16:39]Read from MH i2c: E2 0E 00 [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: E2 0E 00 43 54 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 BD [20:16:39]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [20:16:39]wFMCommunicate OK [20:16:39]SAM_PROTO_GetShiftState done [20:16:39]FM_GetShiftState done [20:16:39]req_shift_opened done [20:16:39]requested_item shift.open_date is exist - process it [20:16:39]req_shift_open_date [20:16:39]req_shift_open_date done [20:16:39]produce_requested_data done [20:16:39]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2599,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [20:16:39]process_action_free close_receipt [20:16:39]json_value_free [20:16:39]json_value_free done [20:16:39]process_json_proto returns [20:16:39]Send response to host [20:16:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2599,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [20:16:39]free response buf [20:16:39]execute_script done [20:16:39]execute_script returns [20:16:39]free content buf [20:16:39]Sock 9.Close socket [20:16:39]Sock 9.Thread stoped [20:16:42]OFD Sender: No OFD packet to send [20:16:47]OFD Sender: No OFD packet to send [20:16:52]OFD Sender: No OFD packet to send [20:16:57]OFD Sender: No OFD packet to send [20:17:02]OFD Sender: No OFD packet to send [20:17:07]OFD Sender: No OFD packet to send [20:17:12]OFD Sender: No OFD packet to send [20:17:17]OFD Sender: No OFD packet to send [20:17:22]OFD Sender: No OFD packet to send [20:17:27]OFD Sender: No OFD packet to send [20:17:32]OFD Sender: No OFD packet to send [20:17:37]OFD Sender: No OFD packet to send [20:17:42]OFD Sender: No OFD packet to send [20:17:47]OFD Sender: No OFD packet to send [20:17:52]OFD Sender: No OFD packet to send [20:17:57]OFD Sender: No OFD packet to send [20:18:02]OFD Sender: No OFD packet to send [20:18:07]OFD Sender: No OFD packet to send [20:18:12]OFD Sender: No OFD packet to send [20:18:17]OFD Sender: No OFD packet to send [20:18:22]OFD Sender: No OFD packet to send [20:18:27]OFD Sender: No OFD packet to send [20:18:32]OFD Sender: No OFD packet to send [20:18:37]OFD Sender: No OFD packet to send [20:18:42]OFD Sender: No OFD packet to send [20:18:47]OFD Sender: No OFD packet to send [20:18:52]OFD Sender: No OFD packet to send [20:18:57]OFD Sender: No OFD packet to send [20:19:02]OFD Sender: No OFD packet to send [20:19:07]OFD Sender: No OFD packet to send [20:19:12]OFD Sender: No OFD packet to send [20:19:17]OFD Sender: No OFD packet to send [20:19:22]OFD Sender: No OFD packet to send [20:19:27]OFD Sender: No OFD packet to send [20:19:32]OFD Sender: No OFD packet to send [20:19:37]OFD Sender: No OFD packet to send [20:19:42]OFD Sender: No OFD packet to send [20:19:47]OFD Sender: No OFD packet to send [20:19:52]OFD Sender: No OFD packet to send [20:19:57]OFD Sender: No OFD packet to send [20:20:02]OFD Sender: No OFD packet to send [20:20:07]OFD Sender: No OFD packet to send [20:20:12]OFD Sender: No OFD packet to send [20:20:17]OFD Sender: No OFD packet to send [20:20:21]accept exits with 7 [20:20:21]New connection [20:20:21]New thread 3066850660 created [20:20:21]Thread 3066707300 joined [20:20:21]Waiting for new connection... [20:20:21] Sock 7.Parse request [20:20:21]Sock 7.Check first char [20:20:21]Sock 7.First char is OK [20:20:21]request: POST /json_proto HTTP/1.0 [20:20:21]Method: POST [20:20:21]URL: /json_proto [20:20:21]Method is POST - this is cgi request [20:20:21]url: /json_proto [20:20:21]query_string will be loaded in cgi processing [20:20:21]execute_cgi json_proto POST (null) [20:20:21]execute_cgi path=json_proto method=POST [20:20:21]POST find Content-Length [20:20:21]Host: 172.17.52.132:8080 [20:20:21]Content-Length: 620 [20:20:21]Content-Type: application/json [20:20:21] [20:20:21]POST finish read [20:20:21]Found Content-Length = 620 [20:20:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99978", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:20:21]execute_script... [20:20:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99978", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:20:21]POST & json_proto [20:20:21]process_json_proto [20:20:21]json parsed OK: [20:20:21]protocol is kg_v1.0 [20:20:21]action value=close_receipt [20:20:21]process_action close_receipt [20:20:21]cmd_close_receipt [20:20:21]MH_GetDate [20:20:21]Write to MH i2c: F0 00 00 44 54 87 [20:20:21]Write i2c OK [20:20:21]MH_I2C_Read... [20:20:21]Read from MH i2c: F0 [20:20:21]MH_I2C_Read... [20:20:21]Read from MH i2c: F0 09 00 [20:20:21]MH_I2C_Read... [20:20:21]Read from MH i2c: F0 09 00 44 54 00 91 14 14 67 5A BE F6 66 24 [20:20:21]GetLastDocTimeStamp 1729369005 [20:20:21]current date 1729369233 [20:20:21]FM_GetShiftState [20:20:21]SAM_PROTO_GetShiftState [20:20:21]wFMCommunicate request_size=4 [20:20:21]MH_SAM_APDU [20:20:21]CAPDU: 80 13 01 00 [20:20:21]Write to MH i2c: E2 08 00 45 54 80 13 01 00 00 00 00 00 16 [20:20:21]Write i2c OK [20:20:21]MH_I2C_Read... [20:20:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:20:21]Read from MH i2c: E2 [20:20:21]MH_I2C_Read... [20:20:21]Read from MH i2c: E2 0E 00 [20:20:21]MH_I2C_Read... [20:20:21]Read from MH i2c: E2 0E 00 45 54 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 BF [20:20:21]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [20:20:21]wFMCommunicate OK [20:20:21]SAM_PROTO_GetShiftState done [20:20:21]FM_GetShiftState done [20:20:21]opened in 1729296173 [20:20:21]opened+sec_in_day 1729382573 [20:20:21]quantity*price = 14400 [20:20:21]sum+1 = 14401 [20:20:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 61 19.10.2024 20:20 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2600 ФПД: 34014669229557 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T202033&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2600&fm=34014669229557&tin=02508201610067®Number=0000000000207295&sum=14400 0 [20:20:22]StoreToDocumentArchive [20:20:22]shift 23 fd 2600 [20:20:22]save to /storage/0023/doc_00002600 [20:20:22]save last doc name /storage/0023/doc_00002600 to /storage/kkm_last_doc_name [20:20:22]save OK [20:20:22]Clear old archive folders... [20:20:22]ProcessDocumentItem done err = 0, tmpTLVsize=273 [20:20:22]tlvbuf is 014EC6D0 [20:20:22]SAM_PROTO_ClearQueue [20:20:22]wFMCommunicate request_size=4 [20:20:22]MH_SAM_APDU [20:20:22]CAPDU: 80 09 00 00 [20:20:22]Write to MH i2c: E2 08 00 52 54 80 09 00 00 00 00 00 00 18 [20:20:22]Write i2c OK [20:20:22]MH_I2C_Read... [20:20:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:20:22]Read from MH i2c: E2 [20:20:22]MH_I2C_Read... [20:20:22]Read from MH i2c: E2 03 00 [20:20:22]MH_I2C_Read... [20:20:22]Read from MH i2c: E2 03 00 52 54 00 90 00 1A [20:20:22]RAPDU: 90 00 [20:20:22]wFMCommunicate OK [20:20:22]SAM_PROTO_ClearQueue done [20:20:22]KKMCreateOFDPacket [20:20:22]OFDProtocolAddRootSTLVToBuf [20:20:22]FM_MakeSignedData [20:20:22]FM_MakeSignedData [20:20:22]SAM_PROTO_SignData [20:20:22]wFMCommunicate request_size=4 [20:20:22]MH_SAM_APDU [20:20:22]CAPDU: 80 0D 01 02 [20:20:22]Write to MH i2c: E2 08 00 53 54 80 0D 01 02 00 00 00 00 20 [20:20:22]Write i2c OK [20:20:22]MH_I2C_Read... [20:20:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:20:23]Read from MH i2c: E2 [20:20:23]MH_I2C_Read... [20:20:23]Read from MH i2c: E2 03 00 [20:20:23]MH_I2C_Read... [20:20:23]Read from MH i2c: E2 03 00 53 54 00 90 00 1B [20:20:23]RAPDU: 90 00 [20:20:23]wFMCommunicate OK [20:20:23]wFMCommunicate request_size=255 [20:20:23]MH_SAM_APDU [20:20:23]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 3D 00 00 00 F4 03 04 00 91 14 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 [20:20:23]Write to MH i2c: E2 02 01 54 54 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 3D 00 00 00 F4 03 04 00 91 14 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 00 00 FE [20:20:23]Write i2c OK [20:20:23]MH_I2C_Read... [20:20:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:20:23]Read from MH i2c: E2 [20:20:23]MH_I2C_Read... [20:20:23]Read from MH i2c: E2 03 00 [20:20:23]MH_I2C_Read... [20:20:23]Read from MH i2c: E2 03 00 54 54 00 90 00 1C [20:20:23]RAPDU: 90 00 [20:20:23]wFMCommunicate OK [20:20:23]wFMCommunicate request_size=32 [20:20:23]MH_SAM_APDU [20:20:23]CAPDU: 80 0D 02 02 1B 30 30 32 33 34 32 38 32 30 10 04 04 00 28 0A 00 00 35 04 06 00 1E EF A8 46 CD F5 [20:20:23]Write to MH i2c: E2 23 00 55 54 80 0D 02 02 1B 00 30 30 32 33 34 32 38 32 30 10 04 04 00 28 0A 00 00 35 04 06 00 1E EF A8 46 CD F5 00 00 64 [20:20:23]Write i2c OK [20:20:23]MH_I2C_Read... [20:20:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:20:23]Read from MH i2c: E2 [20:20:23]MH_I2C_Read... [20:20:23]Read from MH i2c: E2 03 00 [20:20:23]MH_I2C_Read... [20:20:23]Read from MH i2c: E2 03 00 55 54 00 90 00 1D [20:20:23]RAPDU: 90 00 [20:20:23]wFMCommunicate OK [20:20:23]wFMCommunicate request_size=4 [20:20:23]MH_SAM_APDU [20:20:23]CAPDU: 80 0D 03 02 [20:20:23]Write to MH i2c: E2 08 00 56 54 80 0D 03 02 00 00 00 00 25 [20:20:23]Write i2c OK [20:20:23]MH_I2C_Read... [20:20:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:20:23]Read from MH i2c: E2 [20:20:23]MH_I2C_Read... [20:20:23]Read from MH i2c: E2 0B 00 [20:20:23]MH_I2C_Read... [20:20:23]Read from MH i2c: E2 0B 00 56 54 00 E2 BF C4 E0 CC DD 5D FA 90 00 6B [20:20:23]RAPDU: E2 BF C4 E0 CC DD 5D FA 90 00 [20:20:23]wFMCommunicate OK [20:20:23]SAM_PROTO_SignData done [20:20:23]FM_MakeSignedData done [20:20:23]CreateOFDProtocolMessage [20:20:23]wFMCommunicate request_size=4 [20:20:23]MH_SAM_APDU [20:20:23]CAPDU: 80 11 00 00 [20:20:23]Write to MH i2c: E2 08 00 57 54 80 11 00 00 00 00 00 00 25 [20:20:23]Write i2c OK [20:20:23]MH_I2C_Read... [20:20:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:20:23]Read from MH i2c: E2 [20:20:23]MH_I2C_Read... [20:20:23]Read from MH i2c: E2 17 00 [20:20:23]MH_I2C_Read... [20:20:23]Read from MH i2c: E2 17 00 57 54 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 6D [20:20:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:20:23]wFMCommunicate OK [20:20:23]CreateOFDProtocolMessage done [20:20:23]OFDSenderStorePacket 2600 [20:20:23]StoreOFDPacket docnum=2600 [20:20:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 65 D8 1D 01 A4 70 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 3D 00 00 00 F4 03 04 00 91 14 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 28 0A 00 00 35 04 06 00 1E EF A8 46 CD F5 E2 BF C4 E0 CC DD 5D FA [20:20:23]CheckFolder [20:20:23]dirname=/storage/ofd_packets [20:20:23]CheckFolder done [20:20:23]ProducePacketName [20:20:23]name=ofd_packets/00002600 [20:20:23]NVStorageSaveData ofd_packets/00002600 [20:20:23]File name is /storage/ofd_packets/00002600 [20:20:23]Write 323 bytes [20:20:23]NVStorageSaveData done [20:20:23]OFDSenderStorePacket done [20:20:23]KKMCreateOFDPacket done [20:20:23]NVStorageSaveData kkm_last_timestamp [20:20:23]File name is /storage/kkm_last_timestamp [20:20:23]Write 4 bytes [20:20:23]NVStorageSaveData done [20:20:23]ExternCall_PrintAddStr [20:20:23]wPrintStart [20:20:23]Write to MH i2c: 01 00 00 58 54 AC [20:20:23]Write i2c OK [20:20:23]MH_I2C_Read... [20:20:23]Read from MH i2c: 01 [20:20:23]MH_I2C_Read... [20:20:23]Read from MH i2c: 01 07 00 [20:20:23]MH_I2C_Read... [20:20:23]Read from MH i2c: 01 07 00 58 54 00 00 00 00 00 FF 0F C1 [20:20:23]RasterBufferAndPrint [20:20:23]line Счет N : (3)99978 [20:20:23]line ИНН: 02508201610067 [20:20:23]line Контрольно-Кассовый Чек [20:20:23]line ПРОДАЖА [20:20:23]line Товар: 48743570 [20:20:23]line Сигареты Winston XStyle Blue [20:20:23]line 1.000 * 144.00 [20:20:23]line = 144.00 [20:20:23]line НДС 12% НСП 1% [20:20:23]line > о реализуемом товаре [20:20:23]line ИТОГО: 144.00 [20:20:23]line НСП 1% : 1.27 [20:20:23]line НДС 12% : 15.29 [20:20:23]line Наличными: 144.00 [20:20:23]line Безнал.: 0.00 [20:20:23]line Место: АЗС № 162 "Партнер Нефть" [20:20:23]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [20:20:23]line СНО: Общий режим [20:20:23]line Чек 61 19.10.2024 20:20 [20:20:23]line Смена: 23 ФФД: 1.0 [20:20:23]line ЗНМ: 0300000191 [20:20:23]line РНМ: 0000000000207295 [20:20:23]line Версия ККМ: v1.0 [20:20:23]line ФМ: 0000000002342820 [20:20:23]line ФД: 2600 [20:20:23]line ФПД: 34014669229557 [20:20:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T202033&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2600&fm=34014669229557&tin=02508201610067®Number=0000000000207295&sum=14400 [20:20:23]line 0 [20:20:23]OFD Sender: Processing packet 2600 [packets to send 1, broken 0] [20:20:23]ProducePacketName [20:20:23]name=ofd_packets/00002600 [20:20:23]OFD Sender: To server: pG, [20:20:23]CommunicateWithHost lk.salyk.kg:30040 [20:20:23]ConnectInit lk.salyk.kg [20:20:23]written 0, free lines is 4095 [20:20:23]Connected sock=10 [20:20:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 65 D8 1D 01 A4 70 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 3D 00 00 00 F4 03 04 00 91 14 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 28 0A 00 00 35 04 06 00 1E EF A8 46 CD F5 E2 BF C4 E0 CC DD 5D FA [20:20:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 BD A4 47 00 B2 E8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 28 0A 00 00 F4 03 04 00 F0 BF 13 67 B6 04 01 00 00 3C DF 5C 79 01 5B E5 6E [20:20:24]CommunicateWithHost err = 0 [20:20:24]CheckOFDResponse [20:20:24]1017 (14) - 77093643461234 [20:20:24]1041 (16) - 0000000002342820 [20:20:24]1040 (4) - 2600 [20:20:24]1012 (4) - 19.10.2024 14:19 [20:20:24]1206 (1) - 0 [20:20:24]OFD Sender: Remove packet 2600 [20:20:24]ProducePacketName [20:20:24]name=ofd_packets/00002600 [20:20:24]NVStorageDeleteData [20:20:24]Write to MH i2c: 01 00 00 80 54 D4 [20:20:24]Write i2c OK [20:20:24]MH_I2C_Read... [20:20:24]Read from MH i2c: 01 [20:20:24]MH_I2C_Read... [20:20:24]Read from MH i2c: 01 07 00 [20:20:24]MH_I2C_Read... [20:20:24]Read from MH i2c: 01 07 00 80 54 00 00 00 00 00 BF 0C A6 [20:20:24]RasterBufferAndPrint [20:20:24]line [20:20:24]line [20:20:24]line [20:20:24]line [20:20:24]line [20:20:24]written 0, free lines is 3269 [20:20:24]MH_Cut [20:20:24]Write to MH i2c: D1 01 00 87 54 01 AD [20:20:24]Write i2c OK [20:20:24]MH_I2C_Read... [20:20:24]Read from MH i2c: D1 [20:20:24]MH_I2C_Read... [20:20:24]Read from MH i2c: D1 01 00 [20:20:24]MH_I2C_Read... [20:20:24]Read from MH i2c: D1 01 00 87 54 00 AC [20:20:24]Write to MH i2c: 01 00 00 88 54 DC [20:20:24]Write i2c OK [20:20:24]MH_I2C_Read... [20:20:24]OFD Sender: No OFD packet to send [20:20:25]*** Cut start [20:20:25]*** Partial cut [20:20:25]*** CUTSNS_PIN = 1 [20:20:25]*** CUTSNS_PIN = 0 [20:20:25]*** Brake cut motor [20:20:25]Read from MH i2c: 01 [20:20:25]MH_I2C_Read... [20:20:25]*** Stop cut motor [20:20:25]*** Cut end [20:20:25]Read from MH i2c: 01 07 00 [20:20:25]MH_I2C_Read... [20:20:25]Read from MH i2c: 01 07 00 88 54 00 00 00 00 00 FF 0F F1 [20:20:25]process_action close_receipt done [20:20:25]requested_data is exist [20:20:25]produce_requested_data [20:20:25]requested_item fm.sn is exist - process it [20:20:25]wFMCommunicate request_size=4 [20:20:25]MH_SAM_APDU [20:20:25]CAPDU: 80 11 00 00 [20:20:25]Write to MH i2c: E2 08 00 89 54 80 11 00 00 00 00 00 00 57 [20:20:25]Write i2c OK [20:20:25]MH_I2C_Read... [20:20:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:20:25]Read from MH i2c: E2 [20:20:25]MH_I2C_Read... [20:20:25]Read from MH i2c: E2 17 00 [20:20:25]MH_I2C_Read... [20:20:25]Read from MH i2c: E2 17 00 89 54 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 9F [20:20:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:20:25]wFMCommunicate OK [20:20:25]requested_item fd.num is exist - process it [20:20:25]SAM_PROTO_GetFieldsCounters [20:20:25]wFMCommunicate request_size=4 [20:20:25]MH_SAM_APDU [20:20:25]CAPDU: 80 13 00 00 [20:20:25]Write to MH i2c: E2 08 00 8A 54 80 13 00 00 00 00 00 00 5A [20:20:25]Write i2c OK [20:20:25]MH_I2C_Read... [20:20:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:20:25]Read from MH i2c: E2 [20:20:25]MH_I2C_Read... [20:20:25]Read from MH i2c: E2 62 00 [20:20:25]MH_I2C_Read... [20:20:25]Read from MH i2c: E2 62 00 8A 54 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 28 0A 00 00 0E 04 04 00 17 00 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 70 [20:20:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 28 0A 00 00 0E 04 04 00 17 00 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:20:25]wFMCommunicate OK [20:20:25]SAM_PROTO_GetFieldsCounters done [20:20:25]requested_item shift.num is exist - process it [20:20:25]requested_item shift.opened is exist - process it [20:20:25]req_shift_opened [20:20:25]FM_GetShiftState [20:20:25]SAM_PROTO_GetShiftState [20:20:25]wFMCommunicate request_size=4 [20:20:25]MH_SAM_APDU [20:20:25]CAPDU: 80 13 01 00 [20:20:25]Write to MH i2c: E2 08 00 8B 54 80 13 01 00 00 00 00 00 5C [20:20:25]Write i2c OK [20:20:25]MH_I2C_Read... [20:20:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:20:25]Read from MH i2c: E2 [20:20:25]MH_I2C_Read... [20:20:25]Read from MH i2c: E2 0E 00 [20:20:25]MH_I2C_Read... [20:20:25]Read from MH i2c: E2 0E 00 8B 54 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 05 [20:20:25]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [20:20:25]wFMCommunicate OK [20:20:25]SAM_PROTO_GetShiftState done [20:20:25]FM_GetShiftState done [20:20:25]req_shift_opened done [20:20:25]requested_item shift.open_date is exist - process it [20:20:25]req_shift_open_date [20:20:25]req_shift_open_date done [20:20:25]produce_requested_data done [20:20:25]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2600,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [20:20:25]process_action_free close_receipt [20:20:25]json_value_free [20:20:25]json_value_free done [20:20:25]process_json_proto returns [20:20:25]Send response to host [20:20:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2600,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [20:20:25]free response buf [20:20:25]execute_script done [20:20:25]execute_script returns [20:20:25]free content buf [20:20:25]Sock 7.Close socket [20:20:25]Sock 7.Thread stoped [20:20:29]OFD Sender: No OFD packet to send [20:20:34]OFD Sender: No OFD packet to send [20:20:39]OFD Sender: No OFD packet to send [20:20:44]OFD Sender: No OFD packet to send [20:20:49]OFD Sender: No OFD packet to send [20:20:54]OFD Sender: No OFD packet to send [20:20:59]OFD Sender: No OFD packet to send [20:21:04]OFD Sender: No OFD packet to send [20:21:09]OFD Sender: No OFD packet to send [20:21:14]OFD Sender: No OFD packet to send [20:21:19]OFD Sender: No OFD packet to send [20:21:24]OFD Sender: No OFD packet to send [20:21:29]OFD Sender: No OFD packet to send [20:21:34]OFD Sender: No OFD packet to send [20:21:39]OFD Sender: No OFD packet to send [20:21:44]OFD Sender: No OFD packet to send [20:21:49]OFD Sender: No OFD packet to send [20:21:54]OFD Sender: No OFD packet to send [20:21:59]OFD Sender: No OFD packet to send [20:22:04]OFD Sender: No OFD packet to send [20:22:09]OFD Sender: No OFD packet to send [20:22:14]OFD Sender: No OFD packet to send [20:22:19]OFD Sender: No OFD packet to send [20:22:24]OFD Sender: No OFD packet to send [20:22:29]OFD Sender: No OFD packet to send [20:22:34]OFD Sender: No OFD packet to send [20:22:39]OFD Sender: No OFD packet to send [20:22:44]OFD Sender: No OFD packet to send [20:22:49]OFD Sender: No OFD packet to send [20:22:54]OFD Sender: No OFD packet to send [20:22:59]OFD Sender: No OFD packet to send [20:23:04]OFD Sender: No OFD packet to send [20:23:09]OFD Sender: No OFD packet to send [20:23:14]OFD Sender: No OFD packet to send [20:23:19]OFD Sender: No OFD packet to send [20:23:24]OFD Sender: No OFD packet to send [20:23:29]OFD Sender: No OFD packet to send [20:23:34]OFD Sender: No OFD packet to send [20:23:39]OFD Sender: No OFD packet to send [20:23:44]OFD Sender: No OFD packet to send [20:23:49]OFD Sender: No OFD packet to send [20:23:54]OFD Sender: No OFD packet to send [20:23:59]OFD Sender: No OFD packet to send [20:24:04]OFD Sender: No OFD packet to send [20:24:09]OFD Sender: No OFD packet to send [20:24:14]OFD Sender: No OFD packet to send [20:24:19]OFD Sender: No OFD packet to send [20:24:24]OFD Sender: No OFD packet to send [20:24:29]OFD Sender: No OFD packet to send [20:24:34]OFD Sender: No OFD packet to send [20:24:39]OFD Sender: No OFD packet to send [20:24:44]OFD Sender: No OFD packet to send [20:24:49]OFD Sender: No OFD packet to send [20:24:54]OFD Sender: No OFD packet to send [20:24:59]OFD Sender: No OFD packet to send [20:25:04]OFD Sender: No OFD packet to send [20:25:09]OFD Sender: No OFD packet to send [20:25:14]OFD Sender: No OFD packet to send [20:25:19]OFD Sender: No OFD packet to send [20:25:24]OFD Sender: No OFD packet to send [20:25:29]OFD Sender: No OFD packet to send [20:25:34]OFD Sender: No OFD packet to send [20:25:39]OFD Sender: No OFD packet to send [20:25:44]OFD Sender: No OFD packet to send [20:25:49]OFD Sender: No OFD packet to send [20:25:54]OFD Sender: No OFD packet to send [20:25:59]OFD Sender: No OFD packet to send [20:26:04]OFD Sender: No OFD packet to send [20:26:09]OFD Sender: No OFD packet to send [20:26:14]OFD Sender: No OFD packet to send [20:26:19]OFD Sender: No OFD packet to send [20:26:24]OFD Sender: No OFD packet to send [20:26:29]OFD Sender: No OFD packet to send [20:26:34]OFD Sender: No OFD packet to send [20:26:39]OFD Sender: No OFD packet to send [20:26:44]OFD Sender: No OFD packet to send [20:26:49]OFD Sender: No OFD packet to send [20:26:54]OFD Sender: No OFD packet to send [20:26:59]OFD Sender: No OFD packet to send [20:27:04]OFD Sender: No OFD packet to send [20:27:09]OFD Sender: No OFD packet to send [20:27:14]OFD Sender: No OFD packet to send [20:27:19]OFD Sender: No OFD packet to send [20:27:24]OFD Sender: No OFD packet to send [20:27:29]OFD Sender: No OFD packet to send [20:27:34]OFD Sender: No OFD packet to send [20:27:39]OFD Sender: No OFD packet to send [20:27:44]OFD Sender: No OFD packet to send [20:27:49]OFD Sender: No OFD packet to send [20:27:54]OFD Sender: No OFD packet to send [20:27:59]OFD Sender: No OFD packet to send [20:28:05]OFD Sender: No OFD packet to send [20:28:10]OFD Sender: No OFD packet to send [20:28:15]OFD Sender: No OFD packet to send [20:28:20]OFD Sender: No OFD packet to send [20:28:25]OFD Sender: No OFD packet to send [20:28:30]OFD Sender: No OFD packet to send [20:28:35]OFD Sender: No OFD packet to send [20:28:40]OFD Sender: No OFD packet to send [20:28:45]OFD Sender: No OFD packet to send [20:28:50]OFD Sender: No OFD packet to send [20:28:55]OFD Sender: No OFD packet to send [20:29:00]OFD Sender: No OFD packet to send [20:29:05]OFD Sender: No OFD packet to send [20:29:10]OFD Sender: No OFD packet to send [20:29:15]OFD Sender: No OFD packet to send [20:29:20]OFD Sender: No OFD packet to send [20:29:25]OFD Sender: No OFD packet to send [20:29:30]OFD Sender: No OFD packet to send [20:29:35]OFD Sender: No OFD packet to send [20:29:40]OFD Sender: No OFD packet to send [20:29:45]OFD Sender: No OFD packet to send [20:29:50]OFD Sender: No OFD packet to send [20:29:55]OFD Sender: No OFD packet to send [20:30:00]OFD Sender: No OFD packet to send [20:30:05]OFD Sender: No OFD packet to send [20:30:10]OFD Sender: No OFD packet to send [20:30:15]OFD Sender: No OFD packet to send [20:30:20]OFD Sender: No OFD packet to send [20:30:25]OFD Sender: No OFD packet to send [20:30:30]OFD Sender: No OFD packet to send [20:30:35]OFD Sender: No OFD packet to send [20:30:40]OFD Sender: No OFD packet to send [20:30:45]OFD Sender: No OFD packet to send [20:30:50]OFD Sender: No OFD packet to send [20:30:55]OFD Sender: No OFD packet to send [20:31:00]OFD Sender: No OFD packet to send [20:31:05]OFD Sender: No OFD packet to send [20:31:10]OFD Sender: No OFD packet to send [20:31:15]OFD Sender: No OFD packet to send [20:31:20]OFD Sender: No OFD packet to send [20:31:25]OFD Sender: No OFD packet to send [20:31:30]OFD Sender: No OFD packet to send [20:31:35]OFD Sender: No OFD packet to send [20:31:40]OFD Sender: No OFD packet to send [20:31:45]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:10]OFD Sender: No OFD packet to send [20:33:15]OFD Sender: No OFD packet to send [20:33:20]OFD Sender: No OFD packet to send [20:33:25]OFD Sender: No OFD packet to send [20:33:30]OFD Sender: No OFD packet to send [20:33:35]OFD Sender: No OFD packet to send [20:33:40]OFD Sender: No OFD packet to send [20:33:45]OFD Sender: No OFD packet to send [20:33:50]OFD Sender: No OFD packet to send [20:33:55]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:05]OFD Sender: No OFD packet to send [20:34:10]OFD Sender: No OFD packet to send [20:34:15]OFD Sender: No OFD packet to send [20:34:20]OFD Sender: No OFD packet to send [20:34:25]OFD Sender: No OFD packet to send [20:34:30]OFD Sender: No OFD packet to send [20:34:35]OFD Sender: No OFD packet to send [20:34:40]OFD Sender: No OFD packet to send [20:34:45]OFD Sender: No OFD packet to send [20:34:50]OFD Sender: No OFD packet to send [20:34:55]OFD Sender: No OFD packet to send [20:35:00]OFD Sender: No OFD packet to send [20:35:05]OFD Sender: No OFD packet to send [20:35:10]OFD Sender: No OFD packet to send [20:35:15]OFD Sender: No OFD packet to send [20:35:20]OFD Sender: No OFD packet to send [20:35:25]OFD Sender: No OFD packet to send [20:35:30]OFD Sender: No OFD packet to send [20:35:35]OFD Sender: No OFD packet to send [20:35:40]OFD Sender: No OFD packet to send [20:35:45]OFD Sender: No OFD packet to send [20:35:50]OFD Sender: No OFD packet to send [20:35:55]OFD Sender: No OFD packet to send [20:36:00]OFD Sender: No OFD packet to send [20:36:05]OFD Sender: No OFD packet to send [20:36:10]OFD Sender: No OFD packet to send [20:36:15]OFD Sender: No OFD packet to send [20:36:20]OFD Sender: No OFD packet to send [20:36:25]OFD Sender: No OFD packet to send [20:36:30]OFD Sender: No OFD packet to send [20:36:35]OFD Sender: No OFD packet to send [20:36:40]OFD Sender: No OFD packet to send [20:36:45]OFD Sender: No OFD packet to send [20:36:50]OFD Sender: No OFD packet to send [20:36:55]OFD Sender: No OFD packet to send [20:37:00]OFD Sender: No OFD packet to send [20:37:05]OFD Sender: No OFD packet to send [20:37:10]OFD Sender: No OFD packet to send [20:37:15]OFD Sender: No OFD packet to send [20:37:20]OFD Sender: No OFD packet to send [20:37:25]OFD Sender: No OFD packet to send [20:37:30]OFD Sender: No OFD packet to send [20:37:35]OFD Sender: No OFD packet to send [20:37:40]OFD Sender: No OFD packet to send [20:37:45]OFD Sender: No OFD packet to send [20:37:50]OFD Sender: No OFD packet to send [20:37:55]OFD Sender: No OFD packet to send [20:38:00]OFD Sender: No OFD packet to send [20:38:05]OFD Sender: No OFD packet to send [20:38:10]OFD Sender: No OFD packet to send [20:38:15]OFD Sender: No OFD packet to send [20:38:20]OFD Sender: No OFD packet to send [20:38:25]OFD Sender: No OFD packet to send [20:38:30]OFD Sender: No OFD packet to send [20:38:35]OFD Sender: No OFD packet to send [20:38:40]OFD Sender: No OFD packet to send [20:38:45]OFD Sender: No OFD packet to send [20:38:50]OFD Sender: No OFD packet to send [20:38:55]OFD Sender: No OFD packet to send [20:39:00]OFD Sender: No OFD packet to send [20:39:05]OFD Sender: No OFD packet to send [20:39:10]OFD Sender: No OFD packet to send [20:39:15]OFD Sender: No OFD packet to send [20:39:20]OFD Sender: No OFD packet to send [20:39:25]OFD Sender: No OFD packet to send [20:39:30]OFD Sender: No OFD packet to send [20:39:35]OFD Sender: No OFD packet to send [20:39:40]OFD Sender: No OFD packet to send [20:39:45]OFD Sender: No OFD packet to send [20:39:50]OFD Sender: No OFD packet to send [20:39:55]OFD Sender: No OFD packet to send [20:40:00]OFD Sender: No OFD packet to send [20:40:05]OFD Sender: No OFD packet to send [20:40:10]OFD Sender: No OFD packet to send [20:40:15]OFD Sender: No OFD packet to send [20:40:20]OFD Sender: No OFD packet to send [20:40:25]OFD Sender: No OFD packet to send [20:40:30]OFD Sender: No OFD packet to send [20:40:35]OFD Sender: No OFD packet to send [20:40:40]OFD Sender: No OFD packet to send [20:40:45]OFD Sender: No OFD packet to send [20:40:50]OFD Sender: No OFD packet to send [20:40:55]OFD Sender: No OFD packet to send [20:41:00]OFD Sender: No OFD packet to send [20:41:05]OFD Sender: No OFD packet to send [20:41:10]OFD Sender: No OFD packet to send [20:41:15]OFD Sender: No OFD packet to send [20:41:20]OFD Sender: No OFD packet to send [20:41:25]OFD Sender: No OFD packet to send [20:41:30]OFD Sender: No OFD packet to send [20:41:35]OFD Sender: No OFD packet to send [20:41:40]OFD Sender: No OFD packet to send [20:41:45]OFD Sender: No OFD packet to send [20:41:50]OFD Sender: No OFD packet to send [20:41:55]OFD Sender: No OFD packet to send [20:42:00]OFD Sender: No OFD packet to send [20:42:05]OFD Sender: No OFD packet to send [20:42:10]OFD Sender: No OFD packet to send [20:42:15]OFD Sender: No OFD packet to send [20:42:20]OFD Sender: No OFD packet to send [20:42:25]OFD Sender: No OFD packet to send [20:42:30]OFD Sender: No OFD packet to send [20:42:35]OFD Sender: No OFD packet to send [20:42:40]OFD Sender: No OFD packet to send [20:42:45]OFD Sender: No OFD packet to send [20:42:50]OFD Sender: No OFD packet to send [20:42:55]OFD Sender: No OFD packet to send [20:43:00]OFD Sender: No OFD packet to send [20:43:05]OFD Sender: No OFD packet to send [20:43:10]OFD Sender: No OFD packet to send [20:43:15]OFD Sender: No OFD packet to send [20:43:20]OFD Sender: No OFD packet to send [20:43:25]OFD Sender: No OFD packet to send [20:43:30]OFD Sender: No OFD packet to send [20:43:35]OFD Sender: No OFD packet to send [20:43:40]OFD Sender: No OFD packet to send [20:43:45]OFD Sender: No OFD packet to send [20:43:50]OFD Sender: No OFD packet to send [20:43:55]OFD Sender: No OFD packet to send [20:44:00]OFD Sender: No OFD packet to send [20:44:05]OFD Sender: No OFD packet to send [20:44:10]OFD Sender: No OFD packet to send [20:44:15]OFD Sender: No OFD packet to send [20:44:20]OFD Sender: No OFD packet to send [20:44:25]OFD Sender: No OFD packet to send [20:44:30]OFD Sender: No OFD packet to send [20:44:35]OFD Sender: No OFD packet to send [20:44:40]OFD Sender: No OFD packet to send [20:44:45]OFD Sender: No OFD packet to send [20:44:50]OFD Sender: No OFD packet to send [20:44:55]OFD Sender: No OFD packet to send [20:45:00]OFD Sender: No OFD packet to send [20:45:05]OFD Sender: No OFD packet to send [20:45:10]OFD Sender: No OFD packet to send [20:45:15]OFD Sender: No OFD packet to send [20:45:20]OFD Sender: No OFD packet to send [20:45:25]OFD Sender: No OFD packet to send [20:45:30]OFD Sender: No OFD packet to send [20:45:35]OFD Sender: No OFD packet to send [20:45:40]OFD Sender: No OFD packet to send [20:45:45]OFD Sender: No OFD packet to send [20:45:50]OFD Sender: No OFD packet to send [20:45:55]OFD Sender: No OFD packet to send [20:46:00]OFD Sender: No OFD packet to send [20:46:05]OFD Sender: No OFD packet to send [20:46:10]OFD Sender: No OFD packet to send [20:46:15]OFD Sender: No OFD packet to send [20:46:20]OFD Sender: No OFD packet to send [20:46:25]OFD Sender: No OFD packet to send [20:46:30]OFD Sender: No OFD packet to send [20:46:35]OFD Sender: No OFD packet to send [20:46: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:41]accept exits with 9 [20:47:41]New connection [20:47:41]New thread 3066707300 created [20:47:41]Thread 3066850660 joined [20:47:41]Waiting for new connection... [20:47:41] Sock 9.Parse request [20:47:41]Sock 9.Check first char [20:47:41]Sock 9.First char is OK [20:47:41]request: POST /json_proto HTTP/1.0 [20:47:41]Method: POST [20:47:41]URL: /json_proto [20:47:41]Method is POST - this is cgi request [20:47:41]url: /json_proto [20:47:41]query_string will be loaded in cgi processing [20:47:41]execute_cgi json_proto POST (null) [20:47:41]execute_cgi path=json_proto method=POST [20:47:41]POST find Content-Length [20:47:41]Host: 172.17.52.132:8080 [20:47:41]Content-Length: 897 [20:47:41]Content-Type: application/json [20:47:41] [20:47:41]POST finish read [20:47:41]Found Content-Length = 897 [20:47:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99979", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 174.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:47:41]execute_script... [20:47: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)99979", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 174.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:47:41]POST & json_proto [20:47:41]process_json_proto [20:47:41]json parsed OK: [20:47:41]protocol is kg_v1.0 [20:47:41]action value=close_receipt [20:47:41]process_action close_receipt [20:47:41]cmd_close_receipt [20:47:41]MH_GetDate [20:47:41]Write to MH i2c: F0 00 00 8C 54 CF [20:47:41]Write i2c OK [20:47:41]MH_I2C_Read... [20:47:41]Read from MH i2c: F0 [20:47:41]MH_I2C_Read... [20:47:41]Read from MH i2c: F0 09 00 [20:47:41]MH_I2C_Read... [20:47:41]Read from MH i2c: F0 09 00 8C 54 00 F9 1A 14 67 5A BE F6 66 DA [20:47:41]GetLastDocTimeStamp 1729369233 [20:47:41]current date 1729370873 [20:47:41]FM_GetShiftState [20:47:41]SAM_PROTO_GetShiftState [20:47:41]wFMCommunicate request_size=4 [20:47:41]MH_SAM_APDU [20:47:41]CAPDU: 80 13 01 00 [20:47:41]Write to MH i2c: E2 08 00 8D 54 80 13 01 00 00 00 00 00 5E [20:47:41]Write i2c OK [20:47:41]MH_I2C_Read... [20:47:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:47:41]Read from MH i2c: E2 [20:47:41]MH_I2C_Read... [20:47:41]Read from MH i2c: E2 0E 00 [20:47:41]MH_I2C_Read... [20:47:41]Read from MH i2c: E2 0E 00 8D 54 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 07 [20:47:41]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [20:47:41]wFMCommunicate OK [20:47:41]SAM_PROTO_GetShiftState done [20:47:41]FM_GetShiftState done [20:47:41]opened in 1729296173 [20:47:41]opened+sec_in_day 1729382573 [20:47:41]quantity*price = 12500 [20:47:41]sum+1 = 12501 [20:47:41]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 80942726 Р/ж mentos мята ролл 16г 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 174.00 НСП 1% : 1.54 НДС 12% : 18.47 Наличными: 174.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 62 19.10.2024 20:47 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2601 ФПД: 64090667490042 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T204753&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2601&fm=64090667490042&tin=02508201610067®Number=0000000000207295&sum=17400 0 [20:47:43]StoreToDocumentArchive [20:47:43]shift 23 fd 2601 [20:47:43]save to /storage/0023/doc_00002601 [20:47:43]save last doc name /storage/0023/doc_00002601 to /storage/kkm_last_doc_name [20:47:43]save OK [20:47:43]Clear old archive folders... [20:47:43]ProcessDocumentItem done err = 0, tmpTLVsize=386 [20:47:43]tlvbuf is 01416570 [20:47:43]SAM_PROTO_ClearQueue [20:47:43]wFMCommunicate request_size=4 [20:47:43]MH_SAM_APDU [20:47:43]CAPDU: 80 09 00 00 [20:47:43]Write to MH i2c: E2 08 00 9A 54 80 09 00 00 00 00 00 00 60 [20:47:43]Write i2c OK [20:47:43]MH_I2C_Read... [20:47:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:47:43]Read from MH i2c: E2 [20:47:43]MH_I2C_Read... [20:47:43]Read from MH i2c: E2 03 00 [20:47:43]MH_I2C_Read... [20:47:43]Read from MH i2c: E2 03 00 9A 54 00 90 00 62 [20:47:43]RAPDU: 90 00 [20:47:43]wFMCommunicate OK [20:47:43]SAM_PROTO_ClearQueue done [20:47:43]KKMCreateOFDPacket [20:47:43]OFDProtocolAddRootSTLVToBuf [20:47:43]FM_MakeSignedData [20:47:43]FM_MakeSignedData [20:47:43]SAM_PROTO_SignData [20:47:43]wFMCommunicate request_size=4 [20:47:43]MH_SAM_APDU [20:47:43]CAPDU: 80 0D 01 02 [20:47:43]Write to MH i2c: E2 08 00 9B 54 80 0D 01 02 00 00 00 00 68 [20:47:43]Write i2c OK [20:47:43]MH_I2C_Read... [20:47:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:47:43]Read from MH i2c: E2 [20:47:43]MH_I2C_Read... [20:47:43]Read from MH i2c: E2 03 00 [20:47:43]MH_I2C_Read... [20:47:43]Read from MH i2c: E2 03 00 9B 54 00 90 00 63 [20:47:43]RAPDU: 90 00 [20:47:43]wFMCommunicate OK [20:47:43]wFMCommunicate request_size=255 [20:47:43]MH_SAM_APDU [20:47:43]CAPDU: 80 0D 02 02 FA 03 00 82 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 43 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 [20:47:43]Write to MH i2c: E2 02 01 9C 54 80 0D 02 02 FA 00 03 00 82 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 43 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 00 00 AC [20:47:43]Write i2c OK [20:47:43]MH_I2C_Read... [20:47:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:47:43]Read from MH i2c: E2 [20:47:43]MH_I2C_Read... [20:47:43]Read from MH i2c: E2 03 00 [20:47:43]MH_I2C_Read... [20:47:43]Read from MH i2c: E2 03 00 9C 54 00 90 00 64 [20:47:43]RAPDU: 90 00 [20:47:43]wFMCommunicate OK [20:47:43]wFMCommunicate request_size=145 [20:47:43]MH_SAM_APDU [20:47:43]CAPDU: 80 0D 02 02 8C 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 07 00 00 00 00 07 04 06 00 F8 43 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 F9 1A 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 29 0A 00 00 35 04 06 00 3A 4A 45 78 1A FA [20:47:43]Write to MH i2c: E2 94 00 9D 54 80 0D 02 02 8C 00 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 07 00 00 00 00 07 04 06 00 F8 43 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 F9 1A 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 29 0A 00 00 35 04 06 00 3A 4A 45 78 1A FA 00 00 29 [20:47:43]Write i2c OK [20:47:43]MH_I2C_Read... [20:47:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:47:43]Read from MH i2c: E2 [20:47:43]MH_I2C_Read... [20:47:43]Read from MH i2c: E2 03 00 [20:47:43]MH_I2C_Read... [20:47:43]Read from MH i2c: E2 03 00 9D 54 00 90 00 65 [20:47:43]RAPDU: 90 00 [20:47:43]wFMCommunicate OK [20:47:43]wFMCommunicate request_size=4 [20:47:43]MH_SAM_APDU [20:47:43]CAPDU: 80 0D 03 02 [20:47:43]Write to MH i2c: E2 08 00 9E 54 80 0D 03 02 00 00 00 00 6D [20:47:43]Write i2c OK [20:47:43]MH_I2C_Read... [20:47:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:47:43]Read from MH i2c: E2 [20:47:43]MH_I2C_Read... [20:47:43]Read from MH i2c: E2 0B 00 [20:47:43]MH_I2C_Read... [20:47:43]Read from MH i2c: E2 0B 00 9E 54 00 48 3E EA 65 68 62 70 3B 90 00 B8 [20:47:43]RAPDU: 48 3E EA 65 68 62 70 3B 90 00 [20:47:43]wFMCommunicate OK [20:47:43]SAM_PROTO_SignData done [20:47:43]FM_MakeSignedData done [20:47:43]CreateOFDProtocolMessage [20:47:43]wFMCommunicate request_size=4 [20:47:43]MH_SAM_APDU [20:47:43]CAPDU: 80 11 00 00 [20:47:43]Write to MH i2c: E2 08 00 9F 54 80 11 00 00 00 00 00 00 6D [20:47:43]Write i2c OK [20:47:43]MH_I2C_Read... [20:47:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:47:43]Read from MH i2c: E2 [20:47:43]MH_I2C_Read... [20:47:43]Read from MH i2c: E2 17 00 [20:47:43]MH_I2C_Read... [20:47:43]Read from MH i2c: E2 17 00 9F 54 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B5 [20:47:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:47:43]wFMCommunicate OK [20:47:43]CreateOFDProtocolMessage done [20:47:43]OFDSenderStorePacket 2601 [20:47:43]StoreOFDPacket docnum=2601 [20:47:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 96 01 00 00 69 DC 8E 01 AB 76 5A 03 01 00 03 00 82 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 43 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 07 00 00 00 00 07 04 06 00 F8 43 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 F9 1A 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 29 0A 00 00 35 04 06 00 3A 4A 45 78 1A FA 48 3E EA 65 68 62 70 3B [20:47:43]CheckFolder [20:47:43]dirname=/storage/ofd_packets [20:47:43]CheckFolder done [20:47:43]ProducePacketName [20:47:43]name=ofd_packets/00002601 [20:47:43]NVStorageSaveData ofd_packets/00002601 [20:47:43]File name is /storage/ofd_packets/00002601 [20:47:43]Write 436 bytes [20:47:43]NVStorageSaveData done [20:47:43]OFDSenderStorePacket done [20:47:43]KKMCreateOFDPacket done [20:47:43]NVStorageSaveData kkm_last_timestamp [20:47:43]File name is /storage/kkm_last_timestamp [20:47:43]Write 4 bytes [20:47:43]NVStorageSaveData done [20:47:43]ExternCall_PrintAddStr [20:47:43]wPrintStart [20:47:43]Write to MH i2c: 01 00 00 A0 54 F4 [20:47:43]Write i2c OK [20:47:43]MH_I2C_Read... [20:47:43]Read from MH i2c: 01 [20:47:43]MH_I2C_Read... [20:47:43]Read from MH i2c: 01 07 00 [20:47:43]MH_I2C_Read... [20:47:43]Read from MH i2c: 01 07 00 A0 54 00 00 00 00 00 FF 0F 09 [20:47:43]RasterBufferAndPrint [20:47:43]line Счет N : (3)99979 [20:47:43]line ИНН: 02508201610067 [20:47:43]line Контрольно-Кассовый Чек [20:47:43]line ПРОДАЖА [20:47:43]line Товар: 2000036190018 [20:47:43]line Кофе Американо XL(GABB TRADE) [20:47:43]line 1.000 * 125.00 [20:47:43]line = 125.00 [20:47:43]line НДС 12% НСП 1% [20:47:43]line > о реализуемом товаре [20:47:43]line Товар: 80942726 [20:47:43]line Р/ж mentos мята ролл 16г [20:47:43]line 1.000 * 49.00 [20:47:43]line = 49.00 [20:47:43]line НДС 12% НСП 1% [20:47:43]line > о реализуемом товаре [20:47:43]line ИТОГО: 174.00 [20:47:43]line НСП 1% : 1.54 [20:47:43]line НДС 12% : 18.47 [20:47:43]line Наличными: 174.00 [20:47:43]line Безнал.: 0.00 [20:47:43]line Место: АЗС № 162 "Партнер Нефть" [20:47:43]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [20:47:43]line СНО: Общий режим [20:47:44]line Чек 62 19.10.2024 20:47 [20:47:44]line Смена: 23 ФФД: 1.0 [20:47:44]line ЗНМ: 0300000191 [20:47:44]line РНМ: 0000000000207295 [20:47:44]line Версия ККМ: v1.0 [20:47:44]line ФМ: 0000000002342820 [20:47:44]line ФД: 2601 [20:47:44]line ФПД: 64090667490042 [20:47:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T204753&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2601&fm=64090667490042&tin=02508201610067®Number=0000000000207295&sum=17400 [20:47:44]OFD Sender: Processing packet 2601 [packets to send 1, broken 0] [20:47:44]ProducePacketName [20:47:44]name=ofd_packets/00002601 [20:47:44]OFD Sender: To server: pG, [20:47:44]CommunicateWithHost lk.salyk.kg:30040 [20:47:44]ConnectInit lk.salyk.kg [20:47:44]line 0 [20:47:44]written 0, free lines is 4095 [20:47:44]Connected sock=10 [20:47:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 96 01 00 00 69 DC 8E 01 AB 76 5A 03 01 00 03 00 82 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 43 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 07 00 00 00 00 07 04 06 00 F8 43 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 F9 1A 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 29 0A 00 00 35 04 06 00 3A 4A 45 78 1A FA 48 3E EA 65 68 62 70 3B [20:47:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 7E F7 47 00 0E 9C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 29 0A 00 00 F4 03 04 00 59 C6 13 67 B6 04 01 00 00 0F 39 EB 35 19 72 1E 06 [20:47:44]CommunicateWithHost err = 0 [20:47:44]CheckOFDResponse [20:47:44]1017 (14) - 77093643461234 [20:47:44]1041 (16) - 0000000002342820 [20:47:44]1040 (4) - 2601 [20:47:44]1012 (4) - 19.10.2024 14:46 [20:47:44]1206 (1) - 0 [20:47:44]OFD Sender: Remove packet 2601 [20:47:44]ProducePacketName [20:47:44]name=ofd_packets/00002601 [20:47:44]NVStorageDeleteData [20:47:44]Write to MH i2c: 01 00 00 CF 54 23 [20:47:44]Write i2c OK [20:47:44]MH_I2C_Read... [20:47:44]Read from MH i2c: 01 [20:47:44]MH_I2C_Read... [20:47:44]Read from MH i2c: 01 07 00 [20:47:44]MH_I2C_Read... [20:47:44]Read from MH i2c: 01 07 00 CF 54 00 00 00 00 00 59 0C 8F [20:47:44]RasterBufferAndPrint [20:47:44]line [20:47:44]line [20:47:44]line [20:47:44]line [20:47:44]line [20:47:44]written 0, free lines is 3167 [20:47:44]MH_Cut [20:47:44]Write to MH i2c: D1 01 00 D6 54 01 FC [20:47:44]Write i2c OK [20:47:44]MH_I2C_Read... [20:47:44]Read from MH i2c: D1 [20:47:44]MH_I2C_Read... [20:47:44]Read from MH i2c: D1 01 00 [20:47:44]MH_I2C_Read... [20:47:44]Read from MH i2c: D1 01 00 D6 54 00 FB [20:47:44]Write to MH i2c: 01 00 00 D7 54 2B [20:47:44]Write i2c OK [20:47:44]MH_I2C_Read... [20:47:44]OFD Sender: No OFD packet to send [20:47:45]*** Cut start [20:47:45]*** Partial cut [20:47:45]*** CUTSNS_PIN = 1 [20:47:45]*** CUTSNS_PIN = 0 [20:47:45]*** Brake cut motor [20:47:46]Read from MH i2c: 01 [20:47:46]MH_I2C_Read... [20:47:46]*** Stop cut motor [20:47:46]*** Cut end [20:47:46]Read from MH i2c: 01 07 00 [20:47:46]MH_I2C_Read... [20:47:46]Read from MH i2c: 01 07 00 D7 54 00 00 00 00 00 FF 0F 40 [20:47:46]process_action close_receipt done [20:47:46]requested_data is exist [20:47:46]produce_requested_data [20:47:46]requested_item fm.sn is exist - process it [20:47:46]wFMCommunicate request_size=4 [20:47:46]MH_SAM_APDU [20:47:46]CAPDU: 80 11 00 00 [20:47:46]Write to MH i2c: E2 08 00 D8 54 80 11 00 00 00 00 00 00 A6 [20:47:46]Write i2c OK [20:47:46]MH_I2C_Read... [20:47:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:47:46]Read from MH i2c: E2 [20:47:46]MH_I2C_Read... [20:47:46]Read from MH i2c: E2 17 00 [20:47:46]MH_I2C_Read... [20:47:46]Read from MH i2c: E2 17 00 D8 54 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 EE [20:47:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:47:46]wFMCommunicate OK [20:47:46]requested_item fd.num is exist - process it [20:47:46]SAM_PROTO_GetFieldsCounters [20:47:46]wFMCommunicate request_size=4 [20:47:46]MH_SAM_APDU [20:47:46]CAPDU: 80 13 00 00 [20:47:46]Write to MH i2c: E2 08 00 D9 54 80 13 00 00 00 00 00 00 A9 [20:47:46]Write i2c OK [20:47:46]MH_I2C_Read... [20:47:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:47:46]Read from MH i2c: E2 [20:47:46]MH_I2C_Read... [20:47:46]Read from MH i2c: E2 62 00 [20:47:46]MH_I2C_Read... [20:47:46]Read from MH i2c: E2 62 00 D9 54 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 29 0A 00 00 0E 04 04 00 17 00 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 C3 [20:47:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 29 0A 00 00 0E 04 04 00 17 00 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:47:46]wFMCommunicate OK [20:47:46]SAM_PROTO_GetFieldsCounters done [20:47:46]requested_item shift.num is exist - process it [20:47:46]requested_item shift.opened is exist - process it [20:47:46]req_shift_opened [20:47:46]FM_GetShiftState [20:47:46]SAM_PROTO_GetShiftState [20:47:46]wFMCommunicate request_size=4 [20:47:46]MH_SAM_APDU [20:47:46]CAPDU: 80 13 01 00 [20:47:46]Write to MH i2c: E2 08 00 DA 54 80 13 01 00 00 00 00 00 AB [20:47:46]Write i2c OK [20:47:46]MH_I2C_Read... [20:47:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:47:46]Read from MH i2c: E2 [20:47:46]MH_I2C_Read... [20:47:46]Read from MH i2c: E2 0E 00 [20:47:46]MH_I2C_Read... [20:47:46]Read from MH i2c: E2 0E 00 DA 54 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 54 [20:47:46]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [20:47:46]wFMCommunicate OK [20:47:46]SAM_PROTO_GetShiftState done [20:47:46]FM_GetShiftState done [20:47:46]req_shift_opened done [20:47:46]requested_item shift.open_date is exist - process it [20:47:46]req_shift_open_date [20:47:46]req_shift_open_date done [20:47:46]produce_requested_data done [20:47:46]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2601,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [20:47:46]process_action_free close_receipt [20:47:46]json_value_free [20:47:46]json_value_free done [20:47:46]process_json_proto returns [20:47:46]Send response to host [20:47:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2601,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [20:47:46]free response buf [20:47:46]execute_script done [20:47:46]execute_script returns [20:47:46]free content buf [20:47:46]Sock 9.Close socket [20:47:46]Sock 9.Thread stoped [20:47:49]OFD Sender: No OFD packet to send [20:47:54]OFD Sender: No OFD packet to send [20:47:56]accept exits with 7 [20:47:56]New connection [20:47:56]New thread 3066850660 created [20:47:56]Thread 3066707300 joined [20:47:56]Waiting for new connection... [20:47:56] Sock 7.Parse request [20:47:56]Sock 7.Check first char [20:47:56]Sock 7.First char is OK [20:47:56]request: POST /json_proto HTTP/1.0 [20:47:56]Method: POST [20:47:56]URL: /json_proto [20:47:56]Method is POST - this is cgi request [20:47:56]url: /json_proto [20:47:56]query_string will be loaded in cgi processing [20:47:56]execute_cgi json_proto POST (null) [20:47:56]execute_cgi path=json_proto method=POST [20:47:56]POST find Content-Length [20:47:56]Host: 172.17.52.132:8080 [20:47:56]Content-Length: 628 [20:47:56]Content-Type: application/json [20:47:56] [20:47:56]POST finish read [20:47:56]Found Content-Length = 628 [20:47:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99980", "tax_sys" : 0, "items" : [ { "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "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" ] } } [20:47:56]execute_script... [20:47: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)99980", "tax_sys" : 0, "items" : [ { "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "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" ] } } [20:47:56]POST & json_proto [20:47:56]process_json_proto [20:47:56]json parsed OK: [20:47:56]protocol is kg_v1.0 [20:47:56]action value=close_receipt [20:47:56]process_action close_receipt [20:47:56]cmd_close_receipt [20:47:56]MH_GetDate [20:47:56]Write to MH i2c: F0 00 00 DB 54 1E [20:47:56]Write i2c OK [20:47:56]MH_I2C_Read... [20:47:56]Read from MH i2c: F0 [20:47:56]MH_I2C_Read... [20:47:56]Read from MH i2c: F0 09 00 [20:47:56]MH_I2C_Read... [20:47:56]Read from MH i2c: F0 09 00 DB 54 00 08 1B 14 67 5A BE F6 66 39 [20:47:56]GetLastDocTimeStamp 1729370873 [20:47:56]current date 1729370888 [20:47:56]FM_GetShiftState [20:47:56]SAM_PROTO_GetShiftState [20:47:56]wFMCommunicate request_size=4 [20:47:56]MH_SAM_APDU [20:47:56]CAPDU: 80 13 01 00 [20:47:56]Write to MH i2c: E2 08 00 DC 54 80 13 01 00 00 00 00 00 AD [20:47:56]Write i2c OK [20:47:56]MH_I2C_Read... [20:47:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:47:56]Read from MH i2c: E2 [20:47:56]MH_I2C_Read... [20:47:56]Read from MH i2c: E2 0E 00 [20:47:56]MH_I2C_Read... [20:47:56]Read from MH i2c: E2 0E 00 DC 54 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 56 [20:47:56]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [20:47:56]wFMCommunicate OK [20:47:56]SAM_PROTO_GetShiftState done [20:47:56]FM_GetShiftState done [20:47:56]opened in 1729296173 [20:47:56]opened+sec_in_day 1729382573 [20:47:56]quantity*price = 13000 [20:47:56]sum+1 = 13001 [20:47:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 63 19.10.2024 20:48 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2602 ФПД: 276656636266135 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T204808&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2602&fm=276656636266135&tin=02508201610067®Number=0000000000207295&sum=13000 0 [20:47:57]StoreToDocumentArchive [20:47:57]shift 23 fd 2602 [20:47:57]save to /storage/0023/doc_00002602 [20:47:57]save last doc name /storage/0023/doc_00002602 to /storage/kkm_last_doc_name [20:47:57]save OK [20:47:57]Clear old archive folders... [20:47:57]ProcessDocumentItem done err = 0, tmpTLVsize=269 [20:47:57]tlvbuf is 013A6960 [20:47:57]SAM_PROTO_ClearQueue [20:47:57]wFMCommunicate request_size=4 [20:47:57]MH_SAM_APDU [20:47:57]CAPDU: 80 09 00 00 [20:47:57]Write to MH i2c: E2 08 00 E9 54 80 09 00 00 00 00 00 00 AF [20:47:57]Write i2c OK [20:47:57]MH_I2C_Read... [20:47:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:47:57]Read from MH i2c: E2 [20:47:57]MH_I2C_Read... [20:47:57]Read from MH i2c: E2 03 00 [20:47:57]MH_I2C_Read... [20:47:57]Read from MH i2c: E2 03 00 E9 54 00 90 00 B1 [20:47:57]RAPDU: 90 00 [20:47:57]wFMCommunicate OK [20:47:57]SAM_PROTO_ClearQueue done [20:47:57]KKMCreateOFDPacket [20:47:57]OFDProtocolAddRootSTLVToBuf [20:47:57]FM_MakeSignedData [20:47:57]FM_MakeSignedData [20:47:57]SAM_PROTO_SignData [20:47:57]wFMCommunicate request_size=4 [20:47:57]MH_SAM_APDU [20:47:57]CAPDU: 80 0D 01 02 [20:47:57]Write to MH i2c: E2 08 00 EA 54 80 0D 01 02 00 00 00 00 B7 [20:47:57]Write i2c OK [20:47:57]MH_I2C_Read... [20:47:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:47:58]Read from MH i2c: E2 [20:47:58]MH_I2C_Read... [20:47:58]Read from MH i2c: E2 03 00 [20:47:58]MH_I2C_Read... [20:47:58]Read from MH i2c: E2 03 00 EA 54 00 90 00 B2 [20:47:58]RAPDU: 90 00 [20:47:58]wFMCommunicate OK [20:47:58]wFMCommunicate request_size=255 [20:47:58]MH_SAM_APDU [20:47:58]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 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 3F 00 00 00 F4 03 04 00 08 1B 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 [20:47:58]Write to MH i2c: E2 02 01 EB 54 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 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 3F 00 00 00 F4 03 04 00 08 1B 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 00 00 D0 [20:47:58]Write i2c OK [20:47:58]MH_I2C_Read... [20:47:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:47:58]Read from MH i2c: E2 [20:47:58]MH_I2C_Read... [20:47:58]Read from MH i2c: E2 03 00 [20:47:58]MH_I2C_Read... [20:47:58]Read from MH i2c: E2 03 00 EB 54 00 90 00 B3 [20:47:58]RAPDU: 90 00 [20:47:58]wFMCommunicate OK [20:47:58]wFMCommunicate request_size=28 [20:47:58]MH_SAM_APDU [20:47:58]CAPDU: 80 0D 02 02 17 34 32 38 32 30 10 04 04 00 2A 0A 00 00 35 04 06 00 FB 9E 24 87 86 97 [20:47:58]Write to MH i2c: E2 1F 00 EC 54 80 0D 02 02 17 00 34 32 38 32 30 10 04 04 00 2A 0A 00 00 35 04 06 00 FB 9E 24 87 86 97 00 00 D4 [20:47:58]Write i2c OK [20:47:58]MH_I2C_Read... [20:47:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:47:58]Read from MH i2c: E2 [20:47:58]MH_I2C_Read... [20:47:58]Read from MH i2c: E2 03 00 [20:47:58]MH_I2C_Read... [20:47:58]Read from MH i2c: E2 03 00 EC 54 00 90 00 B4 [20:47:58]RAPDU: 90 00 [20:47:58]wFMCommunicate OK [20:47:58]wFMCommunicate request_size=4 [20:47:58]MH_SAM_APDU [20:47:58]CAPDU: 80 0D 03 02 [20:47:58]Write to MH i2c: E2 08 00 ED 54 80 0D 03 02 00 00 00 00 BC [20:47:58]Write i2c OK [20:47:58]MH_I2C_Read... [20:47:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:47:58]Read from MH i2c: E2 [20:47:58]MH_I2C_Read... [20:47:58]Read from MH i2c: E2 0B 00 [20:47:58]MH_I2C_Read... [20:47:58]Read from MH i2c: E2 0B 00 ED 54 00 2E D6 A5 7D 9E 96 A6 1F 90 00 DC [20:47:58]RAPDU: 2E D6 A5 7D 9E 96 A6 1F 90 00 [20:47:58]wFMCommunicate OK [20:47:58]SAM_PROTO_SignData done [20:47:58]FM_MakeSignedData done [20:47:58]CreateOFDProtocolMessage [20:47:58]wFMCommunicate request_size=4 [20:47:58]MH_SAM_APDU [20:47:58]CAPDU: 80 11 00 00 [20:47:58]Write to MH i2c: E2 08 00 EE 54 80 11 00 00 00 00 00 00 BC [20:47:58]Write i2c OK [20:47:58]MH_I2C_Read... [20:47:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:47:58]Read from MH i2c: E2 [20:47:58]MH_I2C_Read... [20:47:58]Read from MH i2c: E2 17 00 [20:47:58]MH_I2C_Read... [20:47:58]Read from MH i2c: E2 17 00 EE 54 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 04 [20:47:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:47:58]wFMCommunicate OK [20:47:58]CreateOFDProtocolMessage done [20:47:58]OFDSenderStorePacket 2602 [20:47:58]StoreOFDPacket docnum=2602 [20:47:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 21 01 00 00 8C 11 19 01 C1 DD 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 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 3F 00 00 00 F4 03 04 00 08 1B 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2A 0A 00 00 35 04 06 00 FB 9E 24 87 86 97 2E D6 A5 7D 9E 96 A6 1F [20:47:58]CheckFolder [20:47:58]dirname=/storage/ofd_packets [20:47:58]CheckFolder done [20:47:58]ProducePacketName [20:47:58]name=ofd_packets/00002602 [20:47:58]NVStorageSaveData ofd_packets/00002602 [20:47:58]File name is /storage/ofd_packets/00002602 [20:47:58]Write 319 bytes [20:47:58]NVStorageSaveData done [20:47:58]OFDSenderStorePacket done [20:47:58]KKMCreateOFDPacket done [20:47:58]NVStorageSaveData kkm_last_timestamp [20:47:58]File name is /storage/kkm_last_timestamp [20:47:58]Write 4 bytes [20:47:58]NVStorageSaveData done [20:47:58]ExternCall_PrintAddStr [20:47:58]wPrintStart [20:47:58]Write to MH i2c: 01 00 00 EF 54 43 [20:47:58]Write i2c OK [20:47:58]MH_I2C_Read... [20:47:58]Read from MH i2c: 01 [20:47:58]MH_I2C_Read... [20:47:58]Read from MH i2c: 01 07 00 [20:47:58]MH_I2C_Read... [20:47:58]Read from MH i2c: 01 07 00 EF 54 00 00 00 00 00 FF 0F 58 [20:47:58]RasterBufferAndPrint [20:47:58]line Счет N : (3)99980 [20:47:58]line ИНН: 02508201610067 [20:47:58]line Контрольно-Кассовый Чек [20:47:58]line ПРОДАЖА [20:47:58]line Товар: 4620006996716 [20:47:58]line Водка Талка 0,1л [20:47:58]line 1.000 * 130.00 [20:47:58]line = 130.00 [20:47:58]line НДС 12% НСП 1% [20:47:58]line > о реализуемом товаре [20:47:58]line ИТОГО: 130.00 [20:47:58]line НСП 1% : 1.15 [20:47:58]line НДС 12% : 13.80 [20:47:58]line Наличными: 130.00 [20:47:58]line Безнал.: 0.00 [20:47:58]line Место: АЗС № 162 "Партнер Нефть" [20:47:58]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [20:47:58]line СНО: Общий режим [20:47:58]line Чек 63 19.10.2024 20:48 [20:47:58]line Смена: 23 ФФД: 1.0 [20:47:58]line ЗНМ: 0300000191 [20:47:58]line РНМ: 0000000000207295 [20:47:58]line Версия ККМ: v1.0 [20:47:58]line ФМ: 0000000002342820 [20:47:58]line ФД: 2602 [20:47:58]line ФПД: 276656636266135 [20:47:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T204808&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2602&fm=276656636266135&tin=02508201610067®Number=0000000000207295&sum=13000 [20:47:58]OFD Sender: Processing packet 2602 [packets to send 1, broken 0] [20:47:58]ProducePacketName [20:47:58]name=ofd_packets/00002602 [20:47:58]OFD Sender: To server: pG, [20:47:58]CommunicateWithHost lk.salyk.kg:30040 [20:47:58]ConnectInit lk.salyk.kg [20:47:58]line 0 [20:47:58]written 0, free lines is 4095 [20:47:58]Connected sock=10 [20:47:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 21 01 00 00 8C 11 19 01 C1 DD 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 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 3F 00 00 00 F4 03 04 00 08 1B 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2A 0A 00 00 35 04 06 00 FB 9E 24 87 86 97 2E D6 A5 7D 9E 96 A6 1F [20:47:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 1E 10 47 00 D3 6D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2A 0A 00 00 F4 03 04 00 67 C6 13 67 B6 04 01 00 00 48 2C 95 A0 BF 7D C3 A1 [20:47:59]CommunicateWithHost err = 0 [20:47:59]CheckOFDResponse [20:47:59]1017 (14) - 77093643461234 [20:47:59]1041 (16) - 0000000002342820 [20:47:59]1040 (4) - 2602 [20:47:59]1012 (4) - 19.10.2024 14:47 [20:47:59]1206 (1) - 0 [20:47:59]OFD Sender: Remove packet 2602 [20:47:59]ProducePacketName [20:47:59]name=ofd_packets/00002602 [20:47:59]NVStorageDeleteData [20:47:59]Write to MH i2c: 01 00 00 17 55 6C [20:47:59]Write i2c OK [20:47:59]MH_I2C_Read... [20:47:59]Read from MH i2c: 01 [20:47:59]MH_I2C_Read... [20:47:59]Read from MH i2c: 01 07 00 [20:47:59]MH_I2C_Read... [20:47:59]Read from MH i2c: 01 07 00 17 55 00 00 00 00 00 E8 0C 67 [20:47:59]RasterBufferAndPrint [20:47:59]line [20:47:59]line [20:47:59]line [20:47:59]line [20:47:59]line [20:47:59]written 0, free lines is 3311 [20:47:59]MH_Cut [20:47:59]Write to MH i2c: D1 01 00 1E 55 01 45 [20:47:59]Write i2c OK [20:47:59]MH_I2C_Read... [20:47:59]Read from MH i2c: D1 [20:47:59]MH_I2C_Read... [20:47:59]Read from MH i2c: D1 01 00 [20:47:59]MH_I2C_Read... [20:47:59]Read from MH i2c: D1 01 00 1E 55 00 44 [20:47:59]Write to MH i2c: 01 00 00 1F 55 74 [20:47:59]Write i2c OK [20:47:59]MH_I2C_Read... [20:47:59]OFD Sender: No OFD packet to send [20:48:00]*** Cut start [20:48:00]*** Partial cut [20:48:00]*** CUTSNS_PIN = 1 [20:48:00]*** CUTSNS_PIN = 0 [20:48:00]*** Brake cut motor [20:48:00]Read from MH i2c: 01 [20:48:00]MH_I2C_Read... [20:48:00]*** Stop cut motor [20:48:00]*** Cut end [20:48:00]Read from MH i2c: 01 07 00 [20:48:00]MH_I2C_Read... [20:48:00]Read from MH i2c: 01 07 00 1F 55 00 00 00 00 00 FF 0F 89 [20:48:00]process_action close_receipt done [20:48:00]requested_data is exist [20:48:00]produce_requested_data [20:48:00]requested_item fm.sn is exist - process it [20:48:00]wFMCommunicate request_size=4 [20:48:00]MH_SAM_APDU [20:48:00]CAPDU: 80 11 00 00 [20:48:00]Write to MH i2c: E2 08 00 20 55 80 11 00 00 00 00 00 00 EF [20:48:00]Write i2c OK [20:48:00]MH_I2C_Read... [20:48:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:48:00]Read from MH i2c: E2 [20:48:00]MH_I2C_Read... [20:48:00]Read from MH i2c: E2 17 00 [20:48:00]MH_I2C_Read... [20:48:00]Read from MH i2c: E2 17 00 20 55 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 37 [20:48:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:48:00]wFMCommunicate OK [20:48:00]requested_item fd.num is exist - process it [20:48:00]SAM_PROTO_GetFieldsCounters [20:48:00]wFMCommunicate request_size=4 [20:48:00]MH_SAM_APDU [20:48:00]CAPDU: 80 13 00 00 [20:48:00]Write to MH i2c: E2 08 00 21 55 80 13 00 00 00 00 00 00 F2 [20:48:00]Write i2c OK [20:48:00]MH_I2C_Read... [20:48:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:48:00]Read from MH i2c: E2 [20:48:00]MH_I2C_Read... [20:48:00]Read from MH i2c: E2 62 00 [20:48:00]MH_I2C_Read... [20:48:00]Read from MH i2c: E2 62 00 21 55 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 2A 0A 00 00 0E 04 04 00 17 00 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 10 [20:48:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 2A 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:48:00]wFMCommunicate OK [20:48:00]SAM_PROTO_GetFieldsCounters done [20:48:00]requested_item shift.num is exist - process it [20:48:00]requested_item shift.opened is exist - process it [20:48:00]req_shift_opened [20:48:00]FM_GetShiftState [20:48:00]SAM_PROTO_GetShiftState [20:48:00]wFMCommunicate request_size=4 [20:48:00]MH_SAM_APDU [20:48:00]CAPDU: 80 13 01 00 [20:48:00]Write to MH i2c: E2 08 00 22 55 80 13 01 00 00 00 00 00 F4 [20:48:00]Write i2c OK [20:48:00]MH_I2C_Read... [20:48:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:48:01]Read from MH i2c: E2 [20:48:01]MH_I2C_Read... [20:48:01]Read from MH i2c: E2 0E 00 [20:48:01]MH_I2C_Read... [20:48:01]Read from MH i2c: E2 0E 00 22 55 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 9D [20:48:01]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [20:48:01]wFMCommunicate OK [20:48:01]SAM_PROTO_GetShiftState done [20:48:01]FM_GetShiftState done [20:48:01]req_shift_opened done [20:48:01]requested_item shift.open_date is exist - process it [20:48:01]req_shift_open_date [20:48:01]req_shift_open_date done [20:48:01]produce_requested_data done [20:48:01]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2602,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [20:48:01]process_action_free close_receipt [20:48:01]json_value_free [20:48:01]json_value_free done [20:48:01]process_json_proto returns [20:48:01]Send response to host [20:48:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2602,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [20:48:01]free response buf [20:48:01]execute_script done [20:48:01]execute_script returns [20:48:01]free content buf [20:48:01]Sock 7.Close socket [20:48:01]Sock 7.Thread stoped [20:48:04]OFD Sender: No OFD packet to send [20:48:09]OFD Sender: No OFD packet to send [20:48:14]OFD Sender: No OFD packet to send [20:48:19]OFD Sender: No OFD packet to send [20:48:24]OFD Sender: No OFD packet to send [20:48:29]OFD Sender: No OFD packet to send [20:48:34]OFD Sender: No OFD packet to send [20:48:39]OFD Sender: No OFD packet to send [20:48:44]OFD Sender: No OFD packet to send [20:48:49]OFD Sender: No OFD packet to send [20:48:54]OFD Sender: No OFD packet to send [20:48:59]OFD Sender: No OFD packet to send [20:49:04]OFD Sender: No OFD packet to send [20:49:09]OFD Sender: No OFD packet to send [20:49:14]OFD Sender: No OFD packet to send [20:49:19]OFD Sender: No OFD packet to send [20:49:24]OFD Sender: No OFD packet to send [20:49:29]OFD Sender: No OFD packet to send [20:49:34]OFD Sender: No OFD packet to send [20:49:39]OFD Sender: No OFD packet to send [20:49:42]accept exits with 9 [20:49:42]New connection [20:49:42]New thread 3066707300 created [20:49:42]Thread 3066850660 joined [20:49:42]Waiting for new connection... [20:49:42] Sock 9.Parse request [20:49:42]Sock 9.Check first char [20:49:42]Sock 9.First char is OK [20:49:42]request: POST /json_proto HTTP/1.0 [20:49:42]Method: POST [20:49:42]URL: /json_proto [20:49:42]Method is POST - this is cgi request [20:49:42]url: /json_proto [20:49:42]query_string will be loaded in cgi processing [20:49:42]execute_cgi json_proto POST (null) [20:49:42]execute_cgi path=json_proto method=POST [20:49:42]POST find Content-Length [20:49:42]Host: 172.17.52.132:8080 [20:49:42]Content-Length: 922 [20:49:42]Content-Type: application/json [20:49:42] [20:49:42]POST finish read [20:49:42]Found Content-Length = 922 [20:49:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99981", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607120854184", "name": "\u0421\u043D\u0435\u043A \u041E\u0440\u0435\u0445\u0438 BEERKa \u0410\u0440\u0430\u0445\u0438\u0441 90\u0433", "price" : 62.00, "quantity" : 1.000, "sum" : 62.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 121.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:49:42]execute_script... [20:49: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)99981", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607120854184", "name": "\u0421\u043D\u0435\u043A \u041E\u0440\u0435\u0445\u0438 BEERKa \u0410\u0440\u0430\u0445\u0438\u0441 90\u0433", "price" : 62.00, "quantity" : 1.000, "sum" : 62.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 121.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:49:42]POST & json_proto [20:49:42]process_json_proto [20:49:42]json parsed OK: [20:49:42]protocol is kg_v1.0 [20:49:42]action value=close_receipt [20:49:42]process_action close_receipt [20:49:42]cmd_close_receipt [20:49:42]MH_GetDate [20:49:42]Write to MH i2c: F0 00 00 23 55 67 [20:49:42]Write i2c OK [20:49:42]MH_I2C_Read... [20:49:42]Read from MH i2c: F0 [20:49:42]MH_I2C_Read... [20:49:42]Read from MH i2c: F0 09 00 [20:49:42]MH_I2C_Read... [20:49:42]Read from MH i2c: F0 09 00 23 55 00 72 1B 14 67 5A BE F6 66 EC [20:49:42]GetLastDocTimeStamp 1729370888 [20:49:42]current date 1729370994 [20:49:42]FM_GetShiftState [20:49:42]SAM_PROTO_GetShiftState [20:49:42]wFMCommunicate request_size=4 [20:49:42]MH_SAM_APDU [20:49:42]CAPDU: 80 13 01 00 [20:49:42]Write to MH i2c: E2 08 00 24 55 80 13 01 00 00 00 00 00 F6 [20:49:42]Write i2c OK [20:49:42]MH_I2C_Read... [20:49:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:49:42]Read from MH i2c: E2 [20:49:42]MH_I2C_Read... [20:49:42]Read from MH i2c: E2 0E 00 [20:49:42]MH_I2C_Read... [20:49:42]Read from MH i2c: E2 0E 00 24 55 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 9F [20:49:42]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [20:49:42]wFMCommunicate OK [20:49:42]SAM_PROTO_GetShiftState done [20:49:42]FM_GetShiftState done [20:49:42]opened in 1729296173 [20:49:42]opened+sec_in_day 1729382573 [20:49:42]quantity*price = 5900 [20:49:42]sum+1 = 5901 [20:49:42]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607120854184 Снек Орехи BEERKa Арахис 90г 1.000 * 62.00 = 62.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 121.00 НСП 1% : 1.07 НДС 12% : 12.84 Наличными: 121.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 64 19.10.2024 20:49 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2603 ФПД: 85761223741396 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T204954&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2603&fm=85761223741396&tin=02508201610067®Number=0000000000207295&sum=12100 0 [20:49:43]StoreToDocumentArchive [20:49:43]shift 23 fd 2603 [20:49:43]save to /storage/0023/doc_00002603 [20:49:43]save last doc name /storage/0023/doc_00002603 to /storage/kkm_last_doc_name [20:49:43]save OK [20:49:43]Clear old archive folders... [20:49:43]ProcessDocumentItem done err = 0, tmpTLVsize=397 [20:49:43]tlvbuf is 014923A0 [20:49:43]SAM_PROTO_ClearQueue [20:49:43]wFMCommunicate request_size=4 [20:49:43]MH_SAM_APDU [20:49:43]CAPDU: 80 09 00 00 [20:49:43]Write to MH i2c: E2 08 00 31 55 80 09 00 00 00 00 00 00 F8 [20:49:43]Write i2c OK [20:49:43]MH_I2C_Read... [20:49:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:49:43]Read from MH i2c: E2 [20:49:43]MH_I2C_Read... [20:49:43]Read from MH i2c: E2 03 00 [20:49:43]MH_I2C_Read... [20:49:43]Read from MH i2c: E2 03 00 31 55 00 90 00 FA [20:49:43]RAPDU: 90 00 [20:49:43]wFMCommunicate OK [20:49:43]SAM_PROTO_ClearQueue done [20:49:43]KKMCreateOFDPacket [20:49:43]OFDProtocolAddRootSTLVToBuf [20:49:43]FM_MakeSignedData [20:49:43]FM_MakeSignedData [20:49:43]SAM_PROTO_SignData [20:49:43]wFMCommunicate request_size=4 [20:49:43]MH_SAM_APDU [20:49:43]CAPDU: 80 0D 01 02 [20:49:43]Write to MH i2c: E2 08 00 32 55 80 0D 01 02 00 00 00 00 00 [20:49:43]Write i2c OK [20:49:43]MH_I2C_Read... [20:49:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:49:43]Read from MH i2c: E2 [20:49:43]MH_I2C_Read... [20:49:43]Read from MH i2c: E2 03 00 [20:49:43]MH_I2C_Read... [20:49:43]Read from MH i2c: E2 03 00 32 55 00 90 00 FB [20:49:43]RAPDU: 90 00 [20:49:43]wFMCommunicate OK [20:49:43]wFMCommunicate request_size=255 [20:49:43]MH_SAM_APDU [20:49:43]CAPDU: 80 0D 02 02 FA 03 00 8D 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 18 00 00 00 00 13 04 06 00 38 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 2F 00 00 00 00 EB 03 26 00 [20:49:43]Write to MH i2c: E2 02 01 33 55 80 0D 02 02 FA 00 03 00 8D 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 18 00 00 00 00 13 04 06 00 38 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 2F 00 00 00 00 EB 03 26 00 00 00 4E [20:49:43]Write i2c OK [20:49:43]MH_I2C_Read... [20:49:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:49:44]Read from MH i2c: E2 [20:49:44]MH_I2C_Read... [20:49:44]Read from MH i2c: E2 03 00 [20:49:44]MH_I2C_Read... [20:49:44]Read from MH i2c: E2 03 00 33 55 00 90 00 FC [20:49:44]RAPDU: 90 00 [20:49:44]wFMCommunicate OK [20:49:44]wFMCommunicate request_size=156 [20:49:44]MH_SAM_APDU [20:49:44]CAPDU: 80 0D 02 02 97 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 05 00 00 00 00 07 04 06 00 44 2F 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 72 1B 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2B 0A 00 00 35 04 06 00 4D FF D7 46 CF D4 [20:49:44]Write to MH i2c: E2 9F 00 34 55 80 0D 02 02 97 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 05 00 00 00 00 07 04 06 00 44 2F 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 72 1B 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2B 0A 00 00 35 04 06 00 4D FF D7 46 CF D4 00 00 D6 [20:49:44]Write i2c OK [20:49:44]MH_I2C_Read... [20:49:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:49:44]Read from MH i2c: E2 [20:49:44]MH_I2C_Read... [20:49:44]Read from MH i2c: E2 03 00 [20:49:44]MH_I2C_Read... [20:49:44]Read from MH i2c: E2 03 00 34 55 00 90 00 FD [20:49:44]RAPDU: 90 00 [20:49:44]wFMCommunicate OK [20:49:44]wFMCommunicate request_size=4 [20:49:44]MH_SAM_APDU [20:49:44]CAPDU: 80 0D 03 02 [20:49:44]Write to MH i2c: E2 08 00 35 55 80 0D 03 02 00 00 00 00 05 [20:49:44]Write i2c OK [20:49:44]MH_I2C_Read... [20:49:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:49:44]Read from MH i2c: E2 [20:49:44]MH_I2C_Read... [20:49:44]Read from MH i2c: E2 0B 00 [20:49:44]MH_I2C_Read... [20:49:44]Read from MH i2c: E2 0B 00 35 55 00 0E 0B C2 44 07 C0 5E F5 90 00 3F [20:49:44]RAPDU: 0E 0B C2 44 07 C0 5E F5 90 00 [20:49:44]wFMCommunicate OK [20:49:44]SAM_PROTO_SignData done [20:49:44]FM_MakeSignedData done [20:49:44]CreateOFDProtocolMessage [20:49:44]wFMCommunicate request_size=4 [20:49:44]MH_SAM_APDU [20:49:44]CAPDU: 80 11 00 00 [20:49:44]Write to MH i2c: E2 08 00 36 55 80 11 00 00 00 00 00 00 05 [20:49:44]Write i2c OK [20:49:44]MH_I2C_Read... [20:49:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:49:44]Read from MH i2c: E2 [20:49:44]MH_I2C_Read... [20:49:44]Read from MH i2c: E2 17 00 [20:49:44]MH_I2C_Read... [20:49:44]Read from MH i2c: E2 17 00 36 55 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 4D [20:49:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:49:44]wFMCommunicate OK [20:49:44]CreateOFDProtocolMessage done [20:49:44]OFDSenderStorePacket 2603 [20:49:44]StoreOFDPacket docnum=2603 [20:49:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 A1 01 00 00 D6 3E 99 01 6B 79 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 18 00 00 00 00 13 04 06 00 38 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 2F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 05 00 00 00 00 07 04 06 00 44 2F 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 72 1B 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2B 0A 00 00 35 04 06 00 4D FF D7 46 CF D4 0E 0B C2 44 07 C0 5E F5 [20:49:44]CheckFolder [20:49:44]dirname=/storage/ofd_packets [20:49:44]CheckFolder done [20:49:44]ProducePacketName [20:49:44]name=ofd_packets/00002603 [20:49:44]NVStorageSaveData ofd_packets/00002603 [20:49:44]File name is /storage/ofd_packets/00002603 [20:49:44]Write 447 bytes [20:49:44]NVStorageSaveData done [20:49:44]OFDSenderStorePacket done [20:49:44]KKMCreateOFDPacket done [20:49:44]NVStorageSaveData kkm_last_timestamp [20:49:44]File name is /storage/kkm_last_timestamp [20:49:44]Write 4 bytes [20:49:44]NVStorageSaveData done [20:49:44]ExternCall_PrintAddStr [20:49:44]wPrintStart [20:49:44]Write to MH i2c: 01 00 00 37 55 8C [20:49:44]Write i2c OK [20:49:44]MH_I2C_Read... [20:49:44]Read from MH i2c: 01 [20:49:44]MH_I2C_Read... [20:49:44]Read from MH i2c: 01 07 00 [20:49:44]MH_I2C_Read... [20:49:44]OFD Sender: Processing packet 2603 [packets to send 1, broken 0] [20:49:44]ProducePacketName [20:49:44]name=ofd_packets/00002603 [20:49:44]OFD Sender: To server: pG, [20:49:44]CommunicateWithHost lk.salyk.kg:30040 [20:49:44]ConnectInit lk.salyk.kg [20:49:44]Read from MH i2c: 01 07 00 37 55 00 00 00 00 00 FF 0F A1 [20:49:44]RasterBufferAndPrint [20:49:44]line Счет N : (3)99981 [20:49:44]line ИНН: 02508201610067 [20:49:44]line Контрольно-Кассовый Чек [20:49:44]line ПРОДАЖА [20:49:44]line Товар: 4607065001445 [20:49:44]line Шок батончик Snickers 50,5г [20:49:44]line 1.000 * 59.00 [20:49:44]line = 59.00 [20:49:44]line НДС 12% НСП 1% [20:49:44]line > о реализуемом товаре [20:49:44]line Товар: 4607120854184 [20:49:44]line Снек Орехи BEERKa Арахис 90г [20:49:44]line 1.000 * 62.00 [20:49:44]line = 62.00 [20:49:44]line НДС 12% НСП 1% [20:49:44]line > о реализуемом товаре [20:49:44]line ИТОГО: 121.00 [20:49:44]line НСП 1% : 1.07 [20:49:44]line НДС 12% : 12.84 [20:49:44]line Наличными: 121.00 [20:49:44]line Безнал.: 0.00 [20:49:44]line Место: АЗС № 162 "Партнер Нефть" [20:49:44]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [20:49:44]line СНО: Общий режим [20:49:44]line Чек 64 19.10.2024 20:49 [20:49:44]line Смена: 23 ФФД: 1.0 [20:49:44]line ЗНМ: 0300000191 [20:49:44]line РНМ: 0000000000207295 [20:49:44]line Версия ККМ: v1.0 [20:49:44]line ФМ: 0000000002342820 [20:49:44]line ФД: 2603 [20:49:44]line ФПД: 85761223741396 [20:49:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T204954&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2603&fm=85761223741396&tin=02508201610067®Number=0000000000207295&sum=12100 [20:49:44]line 0 [20:49:44]written 0, free lines is 4095 [20:49:44]Connected sock=10 [20:49:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 A1 01 00 00 D6 3E 99 01 6B 79 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 18 00 00 00 00 13 04 06 00 38 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 2F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 05 00 00 00 00 07 04 06 00 44 2F 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 72 1B 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2B 0A 00 00 35 04 06 00 4D FF D7 46 CF D4 0E 0B C2 44 07 C0 5E F5 [20:49:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 80 F6 47 00 2E 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 32 33 34 32 38 32 30 10 04 04 00 2B 0A 00 00 F4 03 04 00 D2 C6 13 67 B6 04 01 00 00 A2 F7 3D 8C ED 5D BC EE [20:49:45]CommunicateWithHost err = 0 [20:49:45]CheckOFDResponse [20:49:45]1017 (14) - 77093643461234 [20:49:45]1041 (16) - 0000000002342820 [20:49:45]1040 (4) - 2603 [20:49:45]1012 (4) - 19.10.2024 14:48 [20:49:45]1206 (1) - 0 [20:49:45]OFD Sender: Remove packet 2603 [20:49:45]ProducePacketName [20:49:45]name=ofd_packets/00002603 [20:49:45]NVStorageDeleteData [20:49:45]Write to MH i2c: 01 00 00 66 55 BB [20:49:45]Write i2c OK [20:49:45]MH_I2C_Read... [20:49:45]Read from MH i2c: 01 [20:49:45]MH_I2C_Read... [20:49:45]Read from MH i2c: 01 07 00 [20:49:45]MH_I2C_Read... [20:49:45]Read from MH i2c: 01 07 00 66 55 00 00 00 00 00 4E 0C 1C [20:49:45]RasterBufferAndPrint [20:49:45]line [20:49:45]line [20:49:45]line [20:49:45]line [20:49:45]line [20:49:45]written 0, free lines is 3156 [20:49:45]MH_Cut [20:49:45]Write to MH i2c: D1 01 00 6D 55 01 94 [20:49:45]Write i2c OK [20:49:45]MH_I2C_Read... [20:49:45]Read from MH i2c: D1 [20:49:45]MH_I2C_Read... [20:49:45]Read from MH i2c: D1 01 00 [20:49:45]MH_I2C_Read... [20:49:45]Read from MH i2c: D1 01 00 6D 55 00 93 [20:49:45]Write to MH i2c: 01 00 00 6E 55 C3 [20:49:45]Write i2c OK [20:49:45]MH_I2C_Read... [20:49:45]OFD Sender: No OFD packet to send [20:49:46]*** Cut start [20:49:46]*** Partial cut [20:49:46]*** CUTSNS_PIN = 1 [20:49:46]*** CUTSNS_PIN = 0 [20:49:46]*** Brake cut motor [20:49:46]Read from MH i2c: 01 [20:49:46]MH_I2C_Read... [20:49:46]*** Stop cut motor [20:49:46]*** Cut end [20:49:46]Read from MH i2c: 01 07 00 [20:49:46]MH_I2C_Read... [20:49:46]Read from MH i2c: 01 07 00 6E 55 00 00 00 00 00 FF 0F D8 [20:49:46]process_action close_receipt done [20:49:46]requested_data is exist [20:49:46]produce_requested_data [20:49:46]requested_item fm.sn is exist - process it [20:49:46]wFMCommunicate request_size=4 [20:49:46]MH_SAM_APDU [20:49:46]CAPDU: 80 11 00 00 [20:49:46]Write to MH i2c: E2 08 00 6F 55 80 11 00 00 00 00 00 00 3E [20:49:46]Write i2c OK [20:49:46]MH_I2C_Read... [20:49:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:49:47]Read from MH i2c: E2 [20:49:47]MH_I2C_Read... [20:49:47]Read from MH i2c: E2 17 00 [20:49:47]MH_I2C_Read... [20:49:47]Read from MH i2c: E2 17 00 6F 55 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 86 [20:49:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [20:49:47]wFMCommunicate OK [20:49:47]requested_item fd.num is exist - process it [20:49:47]SAM_PROTO_GetFieldsCounters [20:49:47]wFMCommunicate request_size=4 [20:49:47]MH_SAM_APDU [20:49:47]CAPDU: 80 13 00 00 [20:49:47]Write to MH i2c: E2 08 00 70 55 80 13 00 00 00 00 00 00 41 [20:49:47]Write i2c OK [20:49:47]MH_I2C_Read... [20:49:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:49:47]Read from MH i2c: E2 [20:49:47]MH_I2C_Read... [20:49:47]Read from MH i2c: E2 62 00 [20:49:47]MH_I2C_Read... [20:49:47]Read from MH i2c: E2 62 00 70 55 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 2B 0A 00 00 0E 04 04 00 17 00 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 63 [20:49:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 2B 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:49:47]wFMCommunicate OK [20:49:47]SAM_PROTO_GetFieldsCounters done [20:49:47]requested_item shift.num is exist - process it [20:49:47]requested_item shift.opened is exist - process it [20:49:47]req_shift_opened [20:49:47]FM_GetShiftState [20:49:47]SAM_PROTO_GetShiftState [20:49:47]wFMCommunicate request_size=4 [20:49:47]MH_SAM_APDU [20:49:47]CAPDU: 80 13 01 00 [20:49:47]Write to MH i2c: E2 08 00 71 55 80 13 01 00 00 00 00 00 43 [20:49:47]Write i2c OK [20:49:47]MH_I2C_Read... [20:49:47]Read from MH i2c: E2 [20:49:47]MH_I2C_Read... [20:49:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:49:47]Read from MH i2c: E2 0E 00 [20:49:47]MH_I2C_Read... [20:49:47]Read from MH i2c: E2 0E 00 71 55 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 EC [20:49:47]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [20:49:47]wFMCommunicate OK [20:49:47]SAM_PROTO_GetShiftState done [20:49:47]FM_GetShiftState done [20:49:47]req_shift_opened done [20:49:47]requested_item shift.open_date is exist - process it [20:49:47]req_shift_open_date [20:49:47]req_shift_open_date done [20:49:47]produce_requested_data done [20:49:47]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2603,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [20:49:47]process_action_free close_receipt [20:49:47]json_value_free [20:49:47]json_value_free done [20:49:47]process_json_proto returns [20:49:47]Send response to host [20:49:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2603,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [20:49:47]free response buf [20:49:47]execute_script done [20:49:47]execute_script returns [20:49:47]free content buf [20:49:47]Sock 9.Close socket [20:49:47]Sock 9.Thread stoped [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:25]OFD Sender: No OFD packet to send [20:53:30]OFD Sender: No OFD packet to send [20:53:35]OFD Sender: No OFD packet to send [20:53:40]OFD Sender: No OFD packet to send [20:53:45]OFD Sender: No OFD packet to send [20:53:50]OFD Sender: No OFD packet to send [20:53:55]OFD Sender: No OFD packet to send [20:54:00]OFD Sender: No OFD packet to send [20:54:05]OFD Sender: No OFD packet to send [20:54:10]OFD Sender: No OFD packet to send [20:54:15]OFD Sender: No OFD packet to send [20:54:20]OFD Sender: No OFD packet to send [20:54:25]OFD Sender: No OFD packet to send [20:54:30]OFD Sender: No OFD packet to send [20:54:35]OFD Sender: No OFD packet to send [20:54:40]OFD Sender: No OFD packet to send [20:54:45]OFD Sender: No OFD packet to send [20:54:50]OFD Sender: No OFD packet to send [20:54:55]OFD Sender: No OFD packet to send [20:55:00]OFD Sender: No OFD packet to send [20:55:05]OFD Sender: No OFD packet to send [20:55:10]OFD Sender: No OFD packet to send [20:55:15]OFD Sender: No OFD packet to send [20:55:20]OFD Sender: No OFD packet to send [20:55:25]OFD Sender: No OFD packet to send [20:55:30]OFD Sender: No OFD packet to send [20:55:35]OFD Sender: No OFD packet to send [20:55:40]OFD Sender: No OFD packet to send [20:55:45]OFD Sender: No OFD packet to send [20:55:50]OFD Sender: No OFD packet to send [20:55:55]OFD Sender: No OFD packet to send [20:56:00]OFD Sender: No OFD packet to send [20:56:05]OFD Sender: No OFD packet to send [20:56:10]OFD Sender: No OFD packet to send [20:56:16]OFD Sender: No OFD packet to send [20:56:21]OFD Sender: No OFD packet to send [20:56:26]OFD Sender: No OFD packet to send [20:56:31]OFD Sender: No OFD packet to send [20:56:36]OFD Sender: No OFD packet to send [20:56:41]OFD Sender: No OFD packet to send [20:56:46]OFD Sender: No OFD packet to send [20:56:51]OFD Sender: No OFD packet to send [20:56:56]OFD Sender: No OFD packet to send [20:57:01]OFD Sender: No OFD packet to send [20:57:06]OFD Sender: No OFD packet to send [20:57:11]OFD Sender: No OFD packet to send [20:57:16]OFD Sender: No OFD packet to send [20:57:21]OFD Sender: No OFD packet to send [20:57:26]OFD Sender: No OFD packet to send [20:57:31]OFD Sender: No OFD packet to send [20:57:36]OFD Sender: No OFD packet to send [20:57:41]OFD Sender: No OFD packet to send [20:57:46]OFD Sender: No OFD packet to send [20:57:51]OFD Sender: No OFD packet to send [20:57:56]OFD Sender: No OFD packet to send [20:58:01]OFD Sender: No OFD packet to send [20:58:06]OFD Sender: No OFD packet to send [20:58:11]OFD Sender: No OFD packet to send [20:58:16]OFD Sender: No OFD packet to send [20:58:21]OFD Sender: No OFD packet to send [20:58:26]OFD Sender: No OFD packet to send [20:58:31]OFD Sender: No OFD packet to send [20:58:36]OFD Sender: No OFD packet to send [20:58:41]OFD Sender: No OFD packet to send [20:58:46]OFD Sender: No OFD packet to send [20:58:51]OFD Sender: No OFD packet to send [20:58:56]OFD Sender: No OFD packet to send [20:59:01]OFD Sender: No OFD packet to send [20:59:06]OFD Sender: No OFD packet to send [20:59:11]OFD Sender: No OFD packet to send [20:59:16]OFD Sender: No OFD packet to send [20:59:21]OFD Sender: No OFD packet to send [20:59:26]OFD Sender: No OFD packet to send [20:59:31]OFD Sender: No OFD packet to send [20:59:36]OFD Sender: No OFD packet to send [20:59:41]OFD Sender: No OFD packet to send [20:59:46]OFD Sender: No OFD packet to send [20:59:51]OFD Sender: No OFD packet to send [20:59:56]OFD Sender: No OFD packet to send [21:00:01]OFD Sender: No OFD packet to send [21:00:06]OFD Sender: No OFD packet to send [21:00:11]OFD Sender: No OFD packet to send [21:00:16]OFD Sender: No OFD packet to send [21:00:21]OFD Sender: No OFD packet to send [21:00:26]OFD Sender: No OFD packet to send [21:00:31]OFD Sender: No OFD packet to send [21:00:36]OFD Sender: No OFD packet to send [21:00:41]OFD Sender: No OFD packet to send [21:00:46]OFD Sender: No OFD packet to send [21:00:51]OFD Sender: No OFD packet to send [21:00:56]OFD Sender: No OFD packet to send [21:01:01]OFD Sender: No OFD packet to send [21:01:06]OFD Sender: No OFD packet to send [21:01:11]OFD Sender: No OFD packet to send [21:01:16]OFD Sender: No OFD packet to send [21:01:21]OFD Sender: No OFD packet to send [21:01:26]OFD Sender: No OFD packet to send [21:01:31]OFD Sender: No OFD packet to send [21:01:36]OFD Sender: No OFD packet to send [21:01:41]OFD Sender: No OFD packet to send [21:01:46]OFD Sender: No OFD packet to send [21:01:51]OFD Sender: No OFD packet to send [21:01:56]OFD Sender: No OFD packet to send [21:02:01]OFD Sender: No OFD packet to send [21:02:06]OFD Sender: No OFD packet to send [21:02:11]OFD Sender: No OFD packet to send [21:02:16]OFD Sender: No OFD packet to send [21:02:21]OFD Sender: No OFD packet to send [21:02:26]OFD Sender: No OFD packet to send [21:02:31]OFD Sender: No OFD packet to send [21:02:36]OFD Sender: No OFD packet to send [21:02:41]OFD Sender: No OFD packet to send [21:02:46]OFD Sender: No OFD packet to send [21:02:51]OFD Sender: No OFD packet to send [21:02:56]OFD Sender: No OFD packet to send [21:03:01]OFD Sender: No OFD packet to send [21:03:06]OFD Sender: No OFD packet to send [21:03:11]OFD Sender: No OFD packet to send [21:03:16]OFD Sender: No OFD packet to send [21:03:21]OFD Sender: No OFD packet to send [21:03:26]OFD Sender: No OFD packet to send [21:03:31]OFD Sender: No OFD packet to send [21:03:36]OFD Sender: No OFD packet to send [21:03:41]OFD Sender: No OFD packet to send [21:03:46]OFD Sender: No OFD packet to send [21:03:51]OFD Sender: No OFD packet to send [21:03:56]OFD Sender: No OFD packet to send [21:04:01]OFD Sender: No OFD packet to send [21:04:06]OFD Sender: No OFD packet to send [21:04:11]OFD Sender: No OFD packet to send [21:04:16]OFD Sender: No OFD packet to send [21:04:21]OFD Sender: No OFD packet to send [21:04:26]OFD Sender: No OFD packet to send [21:04:31]OFD Sender: No OFD packet to send [21:04:36]OFD Sender: No OFD packet to send [21:04:39]accept exits with 7 [21:04:39]New connection [21:04:39]New thread 3066850660 created [21:04:39]Thread 3066707300 joined [21:04:39]Waiting for new connection... [21:04:39] Sock 7.Parse request [21:04:39]Sock 7.Check first char [21:04:39]Sock 7.First char is OK [21:04:39]request: POST /json_proto HTTP/1.0 [21:04:39]Method: POST [21:04:39]URL: /json_proto [21:04:39]Method is POST - this is cgi request [21:04:39]url: /json_proto [21:04:39]query_string will be loaded in cgi processing [21:04:39]execute_cgi json_proto POST (null) [21:04:39]execute_cgi path=json_proto method=POST [21:04:39]POST find Content-Length [21:04:39]Host: 172.17.52.132:8080 [21:04:39]Content-Length: 646 [21:04:39]Content-Type: application/json [21:04:39] [21:04:39]POST finish read [21:04:39]Found Content-Length = 646 [21:04:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99982", "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" ] } } [21:04:39]execute_script... [21:04: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)99982", "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" ] } } [21:04:39]POST & json_proto [21:04:39]process_json_proto [21:04:39]json parsed OK: [21:04:39]protocol is kg_v1.0 [21:04:39]action value=close_receipt [21:04:39]process_action close_receipt [21:04:39]cmd_close_receipt [21:04:39]MH_GetDate [21:04:39]Write to MH i2c: F0 00 00 72 55 B6 [21:04:39]Write i2c OK [21:04:39]MH_I2C_Read... [21:04:39]Read from MH i2c: F0 [21:04:39]MH_I2C_Read... [21:04:39]Read from MH i2c: F0 09 00 [21:04:39]MH_I2C_Read... [21:04:39]Read from MH i2c: F0 09 00 72 55 00 F3 1E 14 67 5A BE F6 66 BF [21:04:39]GetLastDocTimeStamp 1729370994 [21:04:39]current date 1729371891 [21:04:39]FM_GetShiftState [21:04:39]SAM_PROTO_GetShiftState [21:04:39]wFMCommunicate request_size=4 [21:04:39]MH_SAM_APDU [21:04:39]CAPDU: 80 13 01 00 [21:04:39]Write to MH i2c: E2 08 00 73 55 80 13 01 00 00 00 00 00 45 [21:04:39]Write i2c OK [21:04:39]MH_I2C_Read... [21:04:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:04:39]Read from MH i2c: E2 [21:04:39]MH_I2C_Read... [21:04:39]Read from MH i2c: E2 0E 00 [21:04:39]MH_I2C_Read... [21:04:39]Read from MH i2c: E2 0E 00 73 55 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 EE [21:04:39]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [21:04:39]wFMCommunicate OK [21:04:39]SAM_PROTO_GetShiftState done [21:04:39]FM_GetShiftState done [21:04:39]opened in 1729296173 [21:04:39]opened+sec_in_day 1729382573 [21:04:39]quantity*price = 27000 [21:04:39]sum+1 = 27001 [21:04:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 270.00 НСП 1% : 2.39 НДС 12% : 28.67 Наличными: 270.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 65 19.10.2024 21:04 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2604 ФПД: 75707015822869 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T210451&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2604&fm=75707015822869&tin=02508201610067®Number=0000000000207295&sum=27000 0 [21:04:40]StoreToDocumentArchive [21:04:40]shift 23 fd 2604 [21:04:40]save to /storage/0023/doc_00002604 [21:04:40]save last doc name /storage/0023/doc_00002604 to /storage/kkm_last_doc_name [21:04:40]save OK [21:04:40]Clear old archive folders... [21:04:40]ProcessDocumentItem done err = 0, tmpTLVsize=275 [21:04:40]tlvbuf is 014EC3F0 [21:04:40]SAM_PROTO_ClearQueue [21:04:40]wFMCommunicate request_size=4 [21:04:40]MH_SAM_APDU [21:04:40]CAPDU: 80 09 00 00 [21:04:40]Write to MH i2c: E2 08 00 80 55 80 09 00 00 00 00 00 00 47 [21:04:40]Write i2c OK [21:04:40]MH_I2C_Read... [21:04:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:04:40]Read from MH i2c: E2 [21:04:40]MH_I2C_Read... [21:04:40]Read from MH i2c: E2 03 00 [21:04:40]MH_I2C_Read... [21:04:40]Read from MH i2c: E2 03 00 80 55 00 90 00 49 [21:04:40]RAPDU: 90 00 [21:04:40]wFMCommunicate OK [21:04:40]SAM_PROTO_ClearQueue done [21:04:40]KKMCreateOFDPacket [21:04:40]OFDProtocolAddRootSTLVToBuf [21:04:40]FM_MakeSignedData [21:04:40]FM_MakeSignedData [21:04:40]SAM_PROTO_SignData [21:04:40]wFMCommunicate request_size=4 [21:04:40]MH_SAM_APDU [21:04:40]CAPDU: 80 0D 01 02 [21:04:40]Write to MH i2c: E2 08 00 81 55 80 0D 01 02 00 00 00 00 4F [21:04:40]Write i2c OK [21:04:40]MH_I2C_Read... [21:04:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:04:40]Read from MH i2c: E2 [21:04:40]MH_I2C_Read... [21:04:40]Read from MH i2c: E2 03 00 [21:04:40]MH_I2C_Read... [21:04:40]Read from MH i2c: E2 03 00 81 55 00 90 00 4A [21:04:40]RAPDU: 90 00 [21:04:40]wFMCommunicate OK [21:04:40]wFMCommunicate request_size=255 [21:04:40]MH_SAM_APDU [21:04:40]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 41 00 00 00 F4 03 04 00 F3 1E 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 [21:04:40]Write to MH i2c: E2 02 01 82 55 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 41 00 00 00 F4 03 04 00 F3 1E 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 00 00 42 [21:04:40]Write i2c OK [21:04:40]MH_I2C_Read... [21:04:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:04:41]Read from MH i2c: E2 [21:04:41]MH_I2C_Read... [21:04:41]Read from MH i2c: E2 03 00 [21:04:41]MH_I2C_Read... [21:04:41]Read from MH i2c: E2 03 00 82 55 00 90 00 4B [21:04:41]RAPDU: 90 00 [21:04:41]wFMCommunicate OK [21:04:41]wFMCommunicate request_size=34 [21:04:41]MH_SAM_APDU [21:04:41]CAPDU: 80 0D 02 02 1D 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2C 0A 00 00 35 04 06 00 44 DA E9 C8 FE 15 [21:04:41]Write to MH i2c: E2 25 00 83 55 80 0D 02 02 1D 00 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2C 0A 00 00 35 04 06 00 44 DA E9 C8 FE 15 00 00 20 [21:04:41]Write i2c OK [21:04:41]MH_I2C_Read... [21:04:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:04:41]Read from MH i2c: E2 [21:04:41]MH_I2C_Read... [21:04:41]Read from MH i2c: E2 03 00 [21:04:41]MH_I2C_Read... [21:04:41]Read from MH i2c: E2 03 00 83 55 00 90 00 4C [21:04:41]RAPDU: 90 00 [21:04:41]wFMCommunicate OK [21:04:41]wFMCommunicate request_size=4 [21:04:41]MH_SAM_APDU [21:04:41]CAPDU: 80 0D 03 02 [21:04:41]Write to MH i2c: E2 08 00 84 55 80 0D 03 02 00 00 00 00 54 [21:04:41]Write i2c OK [21:04:41]MH_I2C_Read... [21:04:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:04:41]Read from MH i2c: E2 [21:04:41]MH_I2C_Read... [21:04:41]Read from MH i2c: E2 0B 00 [21:04:41]MH_I2C_Read... [21:04:41]Read from MH i2c: E2 0B 00 84 55 00 06 DF 66 B4 0E 8E 15 23 90 00 28 [21:04:41]RAPDU: 06 DF 66 B4 0E 8E 15 23 90 00 [21:04:41]wFMCommunicate OK [21:04:41]SAM_PROTO_SignData done [21:04:41]FM_MakeSignedData done [21:04:41]CreateOFDProtocolMessage [21:04:41]wFMCommunicate request_size=4 [21:04:41]MH_SAM_APDU [21:04:41]CAPDU: 80 11 00 00 [21:04:41]Write to MH i2c: E2 08 00 85 55 80 11 00 00 00 00 00 00 54 [21:04:41]Write i2c OK [21:04:41]MH_I2C_Read... [21:04:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:04:41]Read from MH i2c: E2 [21:04:41]MH_I2C_Read... [21:04:41]Read from MH i2c: E2 17 00 [21:04:41]MH_I2C_Read... [21:04:41]Read from MH i2c: E2 17 00 85 55 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 9C [21:04:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:04:41]wFMCommunicate OK [21:04:41]CreateOFDProtocolMessage done [21:04:41]OFDSenderStorePacket 2604 [21:04:41]StoreOFDPacket docnum=2604 [21:04:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 27 01 00 00 84 1F 1F 01 27 2B 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 41 00 00 00 F4 03 04 00 F3 1E 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2C 0A 00 00 35 04 06 00 44 DA E9 C8 FE 15 06 DF 66 B4 0E 8E 15 23 [21:04:41]CheckFolder [21:04:41]dirname=/storage/ofd_packets [21:04:41]CheckFolder done [21:04:41]ProducePacketName [21:04:41]name=ofd_packets/00002604 [21:04:41]NVStorageSaveData ofd_packets/00002604 [21:04:41]File name is /storage/ofd_packets/00002604 [21:04:41]Write 325 bytes [21:04:41]NVStorageSaveData done [21:04:41]OFDSenderStorePacket done [21:04:41]KKMCreateOFDPacket done [21:04:41]NVStorageSaveData kkm_last_timestamp [21:04:41]File name is /storage/kkm_last_timestamp [21:04:41]Write 4 bytes [21:04:41]NVStorageSaveData done [21:04:41]ExternCall_PrintAddStr [21:04:41]wPrintStart [21:04:41]Write to MH i2c: 01 00 00 86 55 DB [21:04:41]Write i2c OK [21:04:41]MH_I2C_Read... [21:04:41]Read from MH i2c: 01 [21:04:41]MH_I2C_Read... [21:04:41]Read from MH i2c: 01 07 00 [21:04:41]MH_I2C_Read... [21:04:41]Read from MH i2c: 01 07 00 86 55 00 00 00 00 00 FF 0F F0 [21:04:41]RasterBufferAndPrint [21:04:41]line Счет N : (3)99982 [21:04:41]line ИНН: 02508201610067 [21:04:41]line Контрольно-Кассовый Чек [21:04:41]line ПРОДАЖА [21:04:41]line Товар: 4700001061104 [21:04:41]line Коньяк Семетей 0,2л [21:04:41]line 1.000 * 270.00 [21:04:41]line = 270.00 [21:04:41]line НДС 12% НСП 1% [21:04:41]line > о реализуемом товаре [21:04:41]line ИТОГО: 270.00 [21:04:41]line НСП 1% : 2.39 [21:04:41]line НДС 12% : 28.67 [21:04:41]line Наличными: 270.00 [21:04:41]line Безнал.: 0.00 [21:04:41]line Место: АЗС № 162 "Партнер Нефть" [21:04:41]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [21:04:41]line СНО: Общий режим [21:04:41]line Чек 65 19.10.2024 21:04 [21:04:41]line Смена: 23 ФФД: 1.0 [21:04:41]line ЗНМ: 0300000191 [21:04:41]line РНМ: 0000000000207295 [21:04:41]line Версия ККМ: v1.0 [21:04:41]line ФМ: 0000000002342820 [21:04:41]line ФД: 2604 [21:04:41]line ФПД: 75707015822869 [21:04:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T210451&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2604&fm=75707015822869&tin=02508201610067®Number=0000000000207295&sum=27000 [21:04:41]line 0 [21:04:41]OFD Sender: Processing packet 2604 [packets to send 1, broken 0] [21:04:41]ProducePacketName [21:04:41]name=ofd_packets/00002604 [21:04:41]OFD Sender: To server: pG, [21:04:41]CommunicateWithHost lk.salyk.kg:30040 [21:04:41]ConnectInit lk.salyk.kg [21:04:41]written 0, free lines is 4095 [21:04:41]Connected sock=10 [21:04:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 27 01 00 00 84 1F 1F 01 27 2B 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 41 00 00 00 F4 03 04 00 F3 1E 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2C 0A 00 00 35 04 06 00 44 DA E9 C8 FE 15 06 DF 66 B4 0E 8E 15 23 [21:04:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 E1 34 47 00 E7 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 32 33 34 32 38 32 30 10 04 04 00 2C 0A 00 00 F4 03 04 00 52 CA 13 67 B6 04 01 00 00 52 F2 0B 8E FD 3A D3 34 [21:04:42]CommunicateWithHost err = 0 [21:04:42]CheckOFDResponse [21:04:42]1017 (14) - 77093643461234 [21:04:42]1041 (16) - 0000000002342820 [21:04:42]1040 (4) - 2604 [21:04:42]1012 (4) - 19.10.2024 15:03 [21:04:42]1206 (1) - 0 [21:04:42]OFD Sender: Remove packet 2604 [21:04:42]ProducePacketName [21:04:42]name=ofd_packets/00002604 [21:04:42]NVStorageDeleteData [21:04:42]Write to MH i2c: 01 00 00 AE 55 03 [21:04:42]Write i2c OK [21:04:42]MH_I2C_Read... [21:04:42]Read from MH i2c: 01 [21:04:42]MH_I2C_Read... [21:04:42]Read from MH i2c: 01 07 00 [21:04:42]MH_I2C_Read... [21:04:42]Read from MH i2c: 01 07 00 AE 55 00 00 00 00 00 D5 0C EB [21:04:42]RasterBufferAndPrint [21:04:42]line [21:04:42]line [21:04:42]line [21:04:42]line [21:04:42]line [21:04:42]written 0, free lines is 3289 [21:04:42]MH_Cut [21:04:42]Write to MH i2c: D1 01 00 B5 55 01 DC [21:04:42]Write i2c OK [21:04:42]MH_I2C_Read... [21:04:42]Read from MH i2c: D1 [21:04:42]MH_I2C_Read... [21:04:42]Read from MH i2c: D1 01 00 [21:04:42]MH_I2C_Read... [21:04:42]Read from MH i2c: D1 01 00 B5 55 00 DB [21:04:42]Write to MH i2c: 01 00 00 B6 55 0B [21:04:42]Write i2c OK [21:04:42]MH_I2C_Read... [21:04:42]OFD Sender: No OFD packet to send [21:04:42]*** Cut start [21:04:42]*** Partial cut [21:04:42]*** CUTSNS_PIN = 1 [21:04:43]*** CUTSNS_PIN = 0 [21:04:43]*** Brake cut motor [21:04:43]Read from MH i2c: 01 [21:04:43]MH_I2C_Read... [21:04:43]*** Stop cut motor [21:04:43]*** Cut end [21:04:43]Read from MH i2c: 01 07 00 [21:04:43]MH_I2C_Read... [21:04:43]Read from MH i2c: 01 07 00 B6 55 00 00 00 00 00 FF 0F 20 [21:04:43]process_action close_receipt done [21:04:43]requested_data is exist [21:04:43]produce_requested_data [21:04:43]requested_item fm.sn is exist - process it [21:04:43]wFMCommunicate request_size=4 [21:04:43]MH_SAM_APDU [21:04:43]CAPDU: 80 11 00 00 [21:04:43]Write to MH i2c: E2 08 00 B7 55 80 11 00 00 00 00 00 00 86 [21:04:43]Write i2c OK [21:04:43]MH_I2C_Read... [21:04:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:04:43]Read from MH i2c: E2 [21:04:43]MH_I2C_Read... [21:04:43]Read from MH i2c: E2 17 00 [21:04:43]MH_I2C_Read... [21:04:43]Read from MH i2c: E2 17 00 B7 55 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 CE [21:04:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:04:43]wFMCommunicate OK [21:04:43]requested_item fd.num is exist - process it [21:04:43]SAM_PROTO_GetFieldsCounters [21:04:43]wFMCommunicate request_size=4 [21:04:43]MH_SAM_APDU [21:04:43]CAPDU: 80 13 00 00 [21:04:43]Write to MH i2c: E2 08 00 B8 55 80 13 00 00 00 00 00 00 89 [21:04:43]Write i2c OK [21:04:43]MH_I2C_Read... [21:04:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:04:43]Read from MH i2c: E2 [21:04:43]MH_I2C_Read... [21:04:43]Read from MH i2c: E2 62 00 [21:04:43]MH_I2C_Read... [21:04:43]Read from MH i2c: E2 62 00 B8 55 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 2C 0A 00 00 0E 04 04 00 17 00 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 AF [21:04:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 2C 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:04:43]wFMCommunicate OK [21:04:43]SAM_PROTO_GetFieldsCounters done [21:04:43]requested_item shift.num is exist - process it [21:04:43]requested_item shift.opened is exist - process it [21:04:43]req_shift_opened [21:04:43]FM_GetShiftState [21:04:43]SAM_PROTO_GetShiftState [21:04:43]wFMCommunicate request_size=4 [21:04:43]MH_SAM_APDU [21:04:43]CAPDU: 80 13 01 00 [21:04:43]Write to MH i2c: E2 08 00 B9 55 80 13 01 00 00 00 00 00 8B [21:04:43]Write i2c OK [21:04:43]MH_I2C_Read... [21:04:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:04:43]Read from MH i2c: E2 [21:04:43]MH_I2C_Read... [21:04:43]Read from MH i2c: E2 0E 00 [21:04:43]MH_I2C_Read... [21:04:43]Read from MH i2c: E2 0E 00 B9 55 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 34 [21:04:43]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [21:04:43]wFMCommunicate OK [21:04:43]SAM_PROTO_GetShiftState done [21:04:43]FM_GetShiftState done [21:04:43]req_shift_opened done [21:04:43]requested_item shift.open_date is exist - process it [21:04:43]req_shift_open_date [21:04:43]req_shift_open_date done [21:04:43]produce_requested_data done [21:04:43]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2604,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [21:04:43]process_action_free close_receipt [21:04:43]json_value_free [21:04:43]json_value_free done [21:04:43]process_json_proto returns [21:04:43]Send response to host [21:04:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2604,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [21:04:43]free response buf [21:04:43]execute_script done [21:04:43]execute_script returns [21:04:43]free content buf [21:04:43]Sock 7.Close socket [21:04:43]Sock 7.Thread stoped [21:04:47]OFD Sender: No OFD packet to send [21:04:52]OFD Sender: No OFD packet to send [21:04:57]OFD Sender: No OFD packet to send [21:05:02]OFD Sender: No OFD packet to send [21:05:07]OFD Sender: No OFD packet to send [21:05:12]OFD Sender: No OFD packet to send [21:05:17]OFD Sender: No OFD packet to send [21:05:22]OFD Sender: No OFD packet to send [21:05:27]OFD Sender: No OFD packet to send [21:05:32]OFD Sender: No OFD packet to send [21:05:37]OFD Sender: No OFD packet to send [21:05:42]OFD Sender: No OFD packet to send [21:05:47]OFD Sender: No OFD packet to send [21:05:52]OFD Sender: No OFD packet to send [21:05:57]OFD Sender: No OFD packet to send [21:06:02]OFD Sender: No OFD packet to send [21:06:07]OFD Sender: No OFD packet to send [21:06:12]OFD Sender: No OFD packet to send [21:06:17]OFD Sender: No OFD packet to send [21:06:22]OFD Sender: No OFD packet to send [21:06:27]OFD Sender: No OFD packet to send [21:06:32]OFD Sender: No OFD packet to send [21:06:37]OFD Sender: No OFD packet to send [21:06:42]OFD Sender: No OFD packet to send [21:06:47]OFD Sender: No OFD packet to send [21:06:52]OFD Sender: No OFD packet to send [21:06:57]OFD Sender: No OFD packet to send [21:07:02]OFD Sender: No OFD packet to send [21:07:07]OFD Sender: No OFD packet to send [21:07:12]OFD Sender: No OFD packet to send [21:07:17]OFD Sender: No OFD packet to send [21:07:22]OFD Sender: No OFD packet to send [21:07:27]OFD Sender: No OFD packet to send [21:07:32]OFD Sender: No OFD packet to send [21:07:37]OFD Sender: No OFD packet to send [21:07:42]OFD Sender: No OFD packet to send [21:07:47]OFD Sender: No OFD packet to send [21:07:52]OFD Sender: No OFD packet to send [21:07:57]OFD Sender: No OFD packet to send [21:08:02]OFD Sender: No OFD packet to send [21:08:07]OFD Sender: No OFD packet to send [21:08:12]OFD Sender: No OFD packet to send [21:08:17]OFD Sender: No OFD packet to send [21:08:22]OFD Sender: No OFD packet to send [21:08:27]OFD Sender: No OFD packet to send [21:08:32]OFD Sender: No OFD packet to send [21:08:37]OFD Sender: No OFD packet to send [21:08:42]OFD Sender: No OFD packet to send [21:08:47]OFD Sender: No OFD packet to send [21:08:52]OFD Sender: No OFD packet to send [21:08:54]accept exits with 9 [21:08:54]New connection [21:08:54]New thread 3066707300 created [21:08:54]Thread 3066850660 joined [21:08:54]Waiting for new connection... [21:08:54] Sock 9.Parse request [21:08:54]Sock 9.Check first char [21:08:54]Sock 9.First char is OK [21:08:54]request: POST /json_proto HTTP/1.0 [21:08:54]Method: POST [21:08:54]URL: /json_proto [21:08:54]Method is POST - this is cgi request [21:08:54]url: /json_proto [21:08:54]query_string will be loaded in cgi processing [21:08:54]execute_cgi json_proto POST (null) [21:08:54]execute_cgi path=json_proto method=POST [21:08:54]POST find Content-Length [21:08:54]Host: 172.17.52.132:8080 [21:08:54]Content-Length: 623 [21:08:54]Content-Type: application/json [21:08:54] [21:08:54]POST finish read [21:08:54]Found Content-Length = 623 [21:08:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99983", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:08:54]execute_script... [21:08: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)99983", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:08:54]POST & json_proto [21:08:54]process_json_proto [21:08:54]json parsed OK: [21:08:54]protocol is kg_v1.0 [21:08:54]action value=close_receipt [21:08:54]process_action close_receipt [21:08:54]cmd_close_receipt [21:08:54]MH_GetDate [21:08:54]Write to MH i2c: F0 00 00 BA 55 FE [21:08:54]Write i2c OK [21:08:54]MH_I2C_Read... [21:08:54]Read from MH i2c: F0 [21:08:54]MH_I2C_Read... [21:08:54]Read from MH i2c: F0 09 00 [21:08:54]MH_I2C_Read... [21:08:54]Read from MH i2c: F0 09 00 BA 55 00 F2 1F 14 67 5A BE F6 66 07 [21:08:54]GetLastDocTimeStamp 1729371891 [21:08:54]current date 1729372146 [21:08:54]FM_GetShiftState [21:08:54]SAM_PROTO_GetShiftState [21:08:54]wFMCommunicate request_size=4 [21:08:54]MH_SAM_APDU [21:08:54]CAPDU: 80 13 01 00 [21:08:54]Write to MH i2c: E2 08 00 BB 55 80 13 01 00 00 00 00 00 8D [21:08:54]Write i2c OK [21:08:54]MH_I2C_Read... [21:08:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:08:54]Read from MH i2c: E2 [21:08:54]MH_I2C_Read... [21:08:54]Read from MH i2c: E2 0E 00 [21:08:54]MH_I2C_Read... [21:08:54]Read from MH i2c: E2 0E 00 BB 55 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 36 [21:08:54]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [21:08:54]wFMCommunicate OK [21:08:54]SAM_PROTO_GetShiftState done [21:08:54]FM_GetShiftState done [21:08:54]opened in 1729296173 [21:08:54]opened+sec_in_day 1729382573 [21:08:54]quantity*price = 14700 [21:08:54]sum+1 = 14701 [21:08:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 147.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 66 19.10.2024 21:09 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2605 ФПД: 218969362972588 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T210906&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2605&fm=218969362972588&tin=02508201610067®Number=0000000000207295&sum=14700 0 [21:08:55]StoreToDocumentArchive [21:08:55]shift 23 fd 2605 [21:08:55]save to /storage/0023/doc_00002605 [21:08:55]save last doc name /storage/0023/doc_00002605 to /storage/kkm_last_doc_name [21:08:55]save OK [21:08:55]Clear old archive folders... [21:08:55]ProcessDocumentItem done err = 0, tmpTLVsize=276 [21:08:55]tlvbuf is 01387830 [21:08:55]SAM_PROTO_ClearQueue [21:08:55]wFMCommunicate request_size=4 [21:08:55]MH_SAM_APDU [21:08:55]CAPDU: 80 09 00 00 [21:08:55]Write to MH i2c: E2 08 00 C8 55 80 09 00 00 00 00 00 00 8F [21:08:55]Write i2c OK [21:08:55]MH_I2C_Read... [21:08:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:08:55]Read from MH i2c: E2 [21:08:55]MH_I2C_Read... [21:08:55]Read from MH i2c: E2 03 00 [21:08:55]MH_I2C_Read... [21:08:55]Read from MH i2c: E2 03 00 C8 55 00 90 00 91 [21:08:55]RAPDU: 90 00 [21:08:55]wFMCommunicate OK [21:08:55]SAM_PROTO_ClearQueue done [21:08:55]KKMCreateOFDPacket [21:08:55]OFDProtocolAddRootSTLVToBuf [21:08:55]FM_MakeSignedData [21:08:55]FM_MakeSignedData [21:08:55]SAM_PROTO_SignData [21:08:55]wFMCommunicate request_size=4 [21:08:55]MH_SAM_APDU [21:08:55]CAPDU: 80 0D 01 02 [21:08:55]Write to MH i2c: E2 08 00 C9 55 80 0D 01 02 00 00 00 00 97 [21:08:55]Write i2c OK [21:08:55]MH_I2C_Read... [21:08:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:08:55]Read from MH i2c: E2 [21:08:55]MH_I2C_Read... [21:08:55]Read from MH i2c: E2 03 00 [21:08:55]MH_I2C_Read... [21:08:55]Read from MH i2c: E2 03 00 C9 55 00 90 00 92 [21:08:55]RAPDU: 90 00 [21:08:55]wFMCommunicate OK [21:08:55]wFMCommunicate request_size=255 [21:08:55]MH_SAM_APDU [21:08:55]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 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 43 61 73 74 65 72 2B 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 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 F2 1F 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 [21:08:55]Write to MH i2c: E2 02 01 CA 55 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 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 43 61 73 74 65 72 2B 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 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 F2 1F 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 00 00 42 [21:08:55]Write i2c OK [21:08:55]MH_I2C_Read... [21:08:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:08:56]Read from MH i2c: E2 [21:08:56]MH_I2C_Read... [21:08:56]Read from MH i2c: E2 03 00 [21:08:56]MH_I2C_Read... [21:08:56]Read from MH i2c: E2 03 00 CA 55 00 90 00 93 [21:08:56]RAPDU: 90 00 [21:08:56]wFMCommunicate OK [21:08:56]wFMCommunicate request_size=35 [21:08:56]MH_SAM_APDU [21:08:56]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2D 0A 00 00 35 04 06 00 C7 26 C7 18 BF AC [21:08:56]Write to MH i2c: E2 26 00 CB 55 80 0D 02 02 1E 00 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2D 0A 00 00 35 04 06 00 C7 26 C7 18 BF AC 00 00 F0 [21:08:56]Write i2c OK [21:08:56]MH_I2C_Read... [21:08:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:08:56]Read from MH i2c: E2 [21:08:56]MH_I2C_Read... [21:08:56]Read from MH i2c: E2 03 00 [21:08:56]MH_I2C_Read... [21:08:56]Read from MH i2c: E2 03 00 CB 55 00 90 00 94 [21:08:56]RAPDU: 90 00 [21:08:56]wFMCommunicate OK [21:08:56]wFMCommunicate request_size=4 [21:08:56]MH_SAM_APDU [21:08:56]CAPDU: 80 0D 03 02 [21:08:56]Write to MH i2c: E2 08 00 CC 55 80 0D 03 02 00 00 00 00 9C [21:08:56]Write i2c OK [21:08:56]MH_I2C_Read... [21:08:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:08:56]Read from MH i2c: E2 [21:08:56]MH_I2C_Read... [21:08:56]Read from MH i2c: E2 0B 00 [21:08:56]MH_I2C_Read... [21:08:56]Read from MH i2c: E2 0B 00 CC 55 00 F9 1C E4 F3 89 58 5F ED 90 00 B6 [21:08:56]RAPDU: F9 1C E4 F3 89 58 5F ED 90 00 [21:08:56]wFMCommunicate OK [21:08:56]SAM_PROTO_SignData done [21:08:56]FM_MakeSignedData done [21:08:56]CreateOFDProtocolMessage [21:08:56]wFMCommunicate request_size=4 [21:08:56]MH_SAM_APDU [21:08:56]CAPDU: 80 11 00 00 [21:08:56]Write to MH i2c: E2 08 00 CD 55 80 11 00 00 00 00 00 00 9C [21:08:56]Write i2c OK [21:08:56]MH_I2C_Read... [21:08:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:08:56]Read from MH i2c: E2 [21:08:56]MH_I2C_Read... [21:08:56]Read from MH i2c: E2 17 00 [21:08:56]MH_I2C_Read... [21:08:56]Read from MH i2c: E2 17 00 CD 55 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 E4 [21:08:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:08:56]wFMCommunicate OK [21:08:56]CreateOFDProtocolMessage done [21:08:56]OFDSenderStorePacket 2605 [21:08:56]StoreOFDPacket docnum=2605 [21:08:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 28 01 00 00 21 C1 20 01 3A 76 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 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 43 61 73 74 65 72 2B 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 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 F2 1F 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2D 0A 00 00 35 04 06 00 C7 26 C7 18 BF AC F9 1C E4 F3 89 58 5F ED [21:08:56]CheckFolder [21:08:56]dirname=/storage/ofd_packets [21:08:56]CheckFolder done [21:08:56]ProducePacketName [21:08:56]name=ofd_packets/00002605 [21:08:56]NVStorageSaveData ofd_packets/00002605 [21:08:56]File name is /storage/ofd_packets/00002605 [21:08:56]Write 326 bytes [21:08:56]NVStorageSaveData done [21:08:56]OFDSenderStorePacket done [21:08:56]KKMCreateOFDPacket done [21:08:56]NVStorageSaveData kkm_last_timestamp [21:08:56]File name is /storage/kkm_last_timestamp [21:08:56]Write 4 bytes [21:08:56]NVStorageSaveData done [21:08:56]ExternCall_PrintAddStr [21:08:56]wPrintStart [21:08:56]Write to MH i2c: 01 00 00 CE 55 23 [21:08:56]Write i2c OK [21:08:56]MH_I2C_Read... [21:08:56]Read from MH i2c: 01 [21:08:56]MH_I2C_Read... [21:08:56]Read from MH i2c: 01 07 00 [21:08:56]MH_I2C_Read... [21:08:56]Read from MH i2c: 01 07 00 CE 55 00 00 00 00 00 FF 0F 38 [21:08:56]RasterBufferAndPrint [21:08:56]line Счет N : (3)99983 [21:08:56]line ИНН: 02508201610067 [21:08:56]line Контрольно-Кассовый Чек [21:08:56]line ПРОДАЖА [21:08:56]line Товар: 48744683 [21:08:56]line Сигареты Winston XStyle Caster+ [21:08:56]line 1.000 * 147.00 [21:08:56]line = 147.00 [21:08:56]line НДС 12% НСП 1% [21:08:56]line > о реализуемом товаре [21:08:56]line ИТОГО: 147.00 [21:08:56]line НСП 1% : 1.30 [21:08:56]line НДС 12% : 15.61 [21:08:56]line Наличными: 147.00 [21:08:56]line Безнал.: 0.00 [21:08:56]line Место: АЗС № 162 "Партнер Нефть" [21:08:56]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [21:08:56]line СНО: Общий режим [21:08:56]line Чек 66 19.10.2024 21:09 [21:08:56]line Смена: 23 ФФД: 1.0 [21:08:56]line ЗНМ: 0300000191 [21:08:56]line РНМ: 0000000000207295 [21:08:56]line Версия ККМ: v1.0 [21:08:56]line ФМ: 0000000002342820 [21:08:56]line ФД: 2605 [21:08:56]line ФПД: 218969362972588 [21:08:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T210906&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2605&fm=218969362972588&tin=02508201610067®Number=0000000000207295&sum=14700 [21:08:56]line 0 [21:08:56]OFD Sender: Processing packet 2605 [packets to send 1, broken 0] [21:08:56]ProducePacketName [21:08:56]name=ofd_packets/00002605 [21:08:56]OFD Sender: To server: pG, [21:08:56]CommunicateWithHost lk.salyk.kg:30040 [21:08:56]ConnectInit lk.salyk.kg [21:08:56]written 0, free lines is 4095 [21:08:56]Connected sock=10 [21:08:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 28 01 00 00 21 C1 20 01 3A 76 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 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 43 61 73 74 65 72 2B 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 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 F2 1F 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2D 0A 00 00 35 04 06 00 C7 26 C7 18 BF AC F9 1C E4 F3 89 58 5F ED [21:08:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 2A 0A 47 00 D5 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 32 33 34 32 38 32 30 10 04 04 00 2D 0A 00 00 F4 03 04 00 51 CB 13 67 B6 04 01 00 00 A7 97 74 A8 51 B2 DF 89 [21:08:57]CommunicateWithHost err = 0 [21:08:57]CheckOFDResponse [21:08:57]1017 (14) - 77093643461234 [21:08:57]1041 (16) - 0000000002342820 [21:08:57]1040 (4) - 2605 [21:08:57]1012 (4) - 19.10.2024 15:08 [21:08:57]1206 (1) - 0 [21:08:57]OFD Sender: Remove packet 2605 [21:08:57]ProducePacketName [21:08:57]name=ofd_packets/00002605 [21:08:57]NVStorageDeleteData [21:08:57]Write to MH i2c: 01 00 00 F7 55 4C [21:08:57]Write i2c OK [21:08:57]MH_I2C_Read... [21:08:57]Read from MH i2c: 01 [21:08:57]MH_I2C_Read... [21:08:57]Read from MH i2c: 01 07 00 [21:08:57]MH_I2C_Read... [21:08:57]Read from MH i2c: 01 07 00 F7 55 00 00 00 00 00 C5 0C 24 [21:08:57]RasterBufferAndPrint [21:08:57]line [21:08:57]line [21:08:57]line [21:08:57]line [21:08:57]line [21:08:57]written 0, free lines is 3275 [21:08:57]MH_Cut [21:08:57]Write to MH i2c: D1 01 00 FE 55 01 25 [21:08:57]Write i2c OK [21:08:57]MH_I2C_Read... [21:08:57]Read from MH i2c: D1 [21:08:57]MH_I2C_Read... [21:08:57]Read from MH i2c: D1 01 00 [21:08:57]MH_I2C_Read... [21:08:57]Read from MH i2c: D1 01 00 FE 55 00 24 [21:08:57]Write to MH i2c: 01 00 00 FF 55 54 [21:08:57]Write i2c OK [21:08:57]MH_I2C_Read... [21:08:57]OFD Sender: No OFD packet to send [21:08:58]*** Cut start [21:08:58]*** Partial cut [21:08:58]*** CUTSNS_PIN = 1 [21:08:58]*** CUTSNS_PIN = 0 [21:08:58]*** Brake cut motor [21:08:58]Read from MH i2c: 01 [21:08:58]MH_I2C_Read... [21:08:58]*** Stop cut motor [21:08:58]*** Cut end [21:08:58]Read from MH i2c: 01 07 00 [21:08:58]MH_I2C_Read... [21:08:58]Read from MH i2c: 01 07 00 FF 55 00 00 00 00 00 FF 0F 69 [21:08:58]process_action close_receipt done [21:08:58]requested_data is exist [21:08:58]produce_requested_data [21:08:58]requested_item fm.sn is exist - process it [21:08:58]wFMCommunicate request_size=4 [21:08:58]MH_SAM_APDU [21:08:58]CAPDU: 80 11 00 00 [21:08:58]Write to MH i2c: E2 08 00 00 56 80 11 00 00 00 00 00 00 D0 [21:08:58]Write i2c OK [21:08:58]MH_I2C_Read... [21:08:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:08:58]Read from MH i2c: E2 [21:08:58]MH_I2C_Read... [21:08:58]Read from MH i2c: E2 17 00 [21:08:58]MH_I2C_Read... [21:08:58]Read from MH i2c: E2 17 00 00 56 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 18 [21:08:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:08:58]wFMCommunicate OK [21:08:58]requested_item fd.num is exist - process it [21:08:58]SAM_PROTO_GetFieldsCounters [21:08:58]wFMCommunicate request_size=4 [21:08:58]MH_SAM_APDU [21:08:58]CAPDU: 80 13 00 00 [21:08:58]Write to MH i2c: E2 08 00 01 56 80 13 00 00 00 00 00 00 D3 [21:08:58]Write i2c OK [21:08:58]MH_I2C_Read... [21:08:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:08:58]Read from MH i2c: E2 [21:08:58]MH_I2C_Read... [21:08:58]Read from MH i2c: E2 62 00 [21:08:58]MH_I2C_Read... [21:08:58]Read from MH i2c: E2 62 00 01 56 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 2D 0A 00 00 0E 04 04 00 17 00 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 FD [21:08:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 2D 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:08:58]wFMCommunicate OK [21:08:58]SAM_PROTO_GetFieldsCounters done [21:08:58]requested_item shift.num is exist - process it [21:08:58]requested_item shift.opened is exist - process it [21:08:58]req_shift_opened [21:08:58]FM_GetShiftState [21:08:58]SAM_PROTO_GetShiftState [21:08:58]wFMCommunicate request_size=4 [21:08:58]MH_SAM_APDU [21:08:58]CAPDU: 80 13 01 00 [21:08:58]Write to MH i2c: E2 08 00 02 56 80 13 01 00 00 00 00 00 D5 [21:08:58]Write i2c OK [21:08:58]MH_I2C_Read... [21:08:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:08:58]Read from MH i2c: E2 [21:08:58]MH_I2C_Read... [21:08:58]Read from MH i2c: E2 0E 00 [21:08:58]MH_I2C_Read... [21:08:58]Read from MH i2c: E2 0E 00 02 56 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 7E [21:08:58]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [21:08:58]wFMCommunicate OK [21:08:58]SAM_PROTO_GetShiftState done [21:08:58]FM_GetShiftState done [21:08:58]req_shift_opened done [21:08:58]requested_item shift.open_date is exist - process it [21:08:58]req_shift_open_date [21:08:58]req_shift_open_date done [21:08:58]produce_requested_data done [21:08:58]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2605,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [21:08:58]process_action_free close_receipt [21:08:58]json_value_free [21:08:58]json_value_free done [21:08:58]process_json_proto returns [21:08:58]Send response to host [21:08:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2605,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [21:08:58]free response buf [21:08:58]execute_script done [21:08:58]execute_script returns [21:08:58]free content buf [21:08:58]Sock 9.Close socket [21:08:58]Sock 9.Thread stoped [21:09:02]OFD Sender: No OFD packet to send [21:09:07]OFD Sender: No OFD packet to send [21:09:12]OFD Sender: No OFD packet to send [21:09:17]OFD Sender: No OFD packet to send [21:09:22]OFD Sender: No OFD packet to send [21:09:27]OFD Sender: No OFD packet to send [21:09:32]OFD Sender: No OFD packet to send [21:09:37]OFD Sender: No OFD packet to send [21:09:42]OFD Sender: No OFD packet to send [21:09:47]OFD Sender: No OFD packet to send [21:09:52]OFD Sender: No OFD packet to send [21:09:57]OFD Sender: No OFD packet to send [21:10:02]OFD Sender: No OFD packet to send [21:10:07]OFD Sender: No OFD packet to send [21:10:12]OFD Sender: No OFD packet to send [21:10:17]OFD Sender: No OFD packet to send [21:10:22]OFD Sender: No OFD packet to send [21:10:27]OFD Sender: No OFD packet to send [21:10:32]OFD Sender: No OFD packet to send [21:10:37]OFD Sender: No OFD packet to send [21:10:42]OFD Sender: No OFD packet to send [21:10:47]OFD Sender: No OFD packet to send [21:10:52]OFD Sender: No OFD packet to send [21:10:57]OFD Sender: No OFD packet to send [21:11:02]OFD Sender: No OFD packet to send [21:11:07]OFD Sender: No OFD packet to send [21:11:12]OFD Sender: No OFD packet to send [21:11:17]OFD Sender: No OFD packet to send [21:11:22]OFD Sender: No OFD packet to send [21:11:27]OFD Sender: No OFD packet to send [21:11:32]OFD Sender: No OFD packet to send [21:11:37]OFD Sender: No OFD packet to send [21:11:42]OFD Sender: No OFD packet to send [21:11:47]OFD Sender: No OFD packet to send [21:11:52]OFD Sender: No OFD packet to send [21:11:57]OFD Sender: No OFD packet to send [21:12:02]OFD Sender: No OFD packet to send [21:12:07]OFD Sender: No OFD packet to send [21:12:12]OFD Sender: No OFD packet to send [21:12:17]OFD Sender: No OFD packet to send [21:12:22]OFD Sender: No OFD packet to send [21:12:27]OFD Sender: No OFD packet to send [21:12:32]OFD Sender: No OFD packet to send [21:12:37]OFD Sender: No OFD packet to send [21:12:42]OFD Sender: No OFD packet to send [21:12:47]OFD Sender: No OFD packet to send [21:12:52]OFD Sender: No OFD packet to send [21:12:57]OFD Sender: No OFD packet to send [21:13:02]OFD Sender: No OFD packet to send [21:13:07]OFD Sender: No OFD packet to send [21:13:12]OFD Sender: No OFD packet to send [21:13:17]OFD Sender: No OFD packet to send [21:13:22]OFD Sender: No OFD packet to send [21:13:27]OFD Sender: No OFD packet to send [21:13:32]OFD Sender: No OFD packet to send [21:13:37]OFD Sender: No OFD packet to send [21:13:42]OFD Sender: No OFD packet to send [21:13:47]OFD Sender: No OFD packet to send [21:13:52]OFD Sender: No OFD packet to send [21:13:57]OFD Sender: No OFD packet to send [21:14:02]OFD Sender: No OFD packet to send [21:14:07]OFD Sender: No OFD packet to send [21:14:12]OFD Sender: No OFD packet to send [21:14:17]OFD Sender: No OFD packet to send [21:14:22]OFD Sender: No OFD packet to send [21:14:27]OFD Sender: No OFD packet to send [21:14:32]OFD Sender: No OFD packet to send [21:14:37]OFD Sender: No OFD packet to send [21:14:42]OFD Sender: No OFD packet to send [21:14:47]OFD Sender: No OFD packet to send [21:14:52]OFD Sender: No OFD packet to send [21:14:57]OFD Sender: No OFD packet to send [21:15:02]OFD Sender: No OFD packet to send [21:15:07]OFD Sender: No OFD packet to send [21:15:12]OFD Sender: No OFD packet to send [21:15:17]OFD Sender: No OFD packet to send [21:15:22]OFD Sender: No OFD packet to send [21:15:27]OFD Sender: No OFD packet to send [21:15:32]OFD Sender: No OFD packet to send [21:15:37]OFD Sender: No OFD packet to send [21:15:42]OFD Sender: No OFD packet to send [21:15:47]OFD Sender: No OFD packet to send [21:15:52]OFD Sender: No OFD packet to send [21:15:57]OFD Sender: No OFD packet to send [21:16:02]OFD Sender: No OFD packet to send [21:16:07]OFD Sender: No OFD packet to send [21:16:12]OFD Sender: No OFD packet to send [21:16:17]OFD Sender: No OFD packet to send [21:16:22]OFD Sender: No OFD packet to send [21:16:27]OFD Sender: No OFD packet to send [21:16:32]OFD Sender: No OFD packet to send [21:16:37]OFD Sender: No OFD packet to send [21:16:42]OFD Sender: No OFD packet to send [21:16:47]OFD Sender: No OFD packet to send [21:16:52]OFD Sender: No OFD packet to send [21:16:57]OFD Sender: No OFD packet to send [21:17:02]OFD Sender: No OFD packet to send [21:17:07]OFD Sender: No OFD packet to send [21:17:12]OFD Sender: No OFD packet to send [21:17:17]OFD Sender: No OFD packet to send [21:17:22]OFD Sender: No OFD packet to send [21:17:27]OFD Sender: No OFD packet to send [21:17:32]OFD Sender: No OFD packet to send [21:17:37]OFD Sender: No OFD packet to send [21:17:42]OFD Sender: No OFD packet to send [21:17:47]OFD Sender: No OFD packet to send [21:17:52]OFD Sender: No OFD packet to send [21:17:57]OFD Sender: No OFD packet to send [21:18:02]OFD Sender: No OFD packet to send [21:18:07]OFD Sender: No OFD packet to send [21:18:12]OFD Sender: No OFD packet to send [21:18:17]OFD Sender: No OFD packet to send [21:18:22]OFD Sender: No OFD packet to send [21:18:27]OFD Sender: No OFD packet to send [21:18:32]OFD Sender: No OFD packet to send [21:18:37]OFD Sender: No OFD packet to send [21:18:42]OFD Sender: No OFD packet to send [21:18:47]OFD Sender: No OFD packet to send [21:18:52]OFD Sender: No OFD packet to send [21:18:57]OFD Sender: No OFD packet to send [21:19: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:38]OFD Sender: No OFD packet to send [21:27:43]OFD Sender: No OFD packet to send [21:27:48]OFD Sender: No OFD packet to send [21:27:53]OFD Sender: No OFD packet to send [21:27:58]OFD Sender: No OFD packet to send [21:28:03]OFD Sender: No OFD packet to send [21:28:08]OFD Sender: No OFD packet to send [21:28:13]OFD Sender: No OFD packet to send [21:28:18]OFD Sender: No OFD packet to send [21:28:23]OFD Sender: No OFD packet to send [21:28:28]OFD Sender: No OFD packet to send [21:28:33]OFD Sender: No OFD packet to send [21:28:38]OFD Sender: No OFD packet to send [21:28:43]OFD Sender: No OFD packet to send [21:28:48]OFD Sender: No OFD packet to send [21:28:53]OFD Sender: No OFD packet to send [21:28:58]OFD Sender: No OFD packet to send [21:29:03]OFD Sender: No OFD packet to send [21:29:08]OFD Sender: No OFD packet to send [21:29:13]OFD Sender: No OFD packet to send [21:29:18]OFD Sender: No OFD packet to send [21:29:23]OFD Sender: No OFD packet to send [21:29:28]OFD Sender: No OFD packet to send [21:29:33]OFD Sender: No OFD packet to send [21:29:38]OFD Sender: No OFD packet to send [21:29:43]OFD Sender: No OFD packet to send [21:29:48]OFD Sender: No OFD packet to send [21:29:53]OFD Sender: No OFD packet to send [21:29:58]OFD Sender: No OFD packet to send [21:30:03]OFD Sender: No OFD packet to send [21:30:08]OFD Sender: No OFD packet to send [21:30:13]OFD Sender: No OFD packet to send [21:30:18]OFD Sender: No OFD packet to send [21:30:23]OFD Sender: No OFD packet to send [21:30:28]OFD Sender: No OFD packet to send [21:30:33]OFD Sender: No OFD packet to send [21:30:38]OFD Sender: No OFD packet to send [21:30:43]OFD Sender: No OFD packet to send [21:30:48]OFD Sender: No OFD packet to send [21:30:53]OFD Sender: No OFD packet to send [21:30:58]OFD Sender: No OFD packet to send [21:31:03]OFD Sender: No OFD packet to send [21:31:08]OFD Sender: No OFD packet to send [21:31:13]OFD Sender: No OFD packet to send [21:31:18]OFD Sender: No OFD packet to send [21:31:23]OFD Sender: No OFD packet to send [21:31:28]OFD Sender: No OFD packet to send [21:31:33]OFD Sender: No OFD packet to send [21:31:38]OFD Sender: No OFD packet to send [21:31:43]OFD Sender: No OFD packet to send [21:31:48]OFD Sender: No OFD packet to send [21:31:53]OFD Sender: No OFD packet to send [21:31:58]OFD Sender: No OFD packet to send [21:32:03]OFD Sender: No OFD packet to send [21:32:08]OFD Sender: No OFD packet to send [21:32:13]OFD Sender: No OFD packet to send [21:32:18]OFD Sender: No OFD packet to send [21:32:23]OFD Sender: No OFD packet to send [21:32:28]OFD Sender: No OFD packet to send [21:32:33]OFD Sender: No OFD packet to send [21:32:38]OFD Sender: No OFD packet to send [21:32:43]OFD Sender: No OFD packet to send [21:32:48]OFD Sender: No OFD packet to send [21:32:53]OFD Sender: No OFD packet to send [21:32:58]OFD Sender: No OFD packet to send [21:33:03]OFD Sender: No OFD packet to send [21:33:08]OFD Sender: No OFD packet to send [21:33:13]OFD Sender: No OFD packet to send [21:33:18]OFD Sender: No OFD packet to send [21:33:23]OFD Sender: No OFD packet to send [21:33:28]OFD Sender: No OFD packet to send [21:33:33]OFD Sender: No OFD packet to send [21:33:38]OFD Sender: No OFD packet to send [21:33:43]OFD Sender: No OFD packet to send [21:33:48]OFD Sender: No OFD packet to send [21:33:53]OFD Sender: No OFD packet to send [21:33:58]OFD Sender: No OFD packet to send [21:34:03]OFD Sender: No OFD packet to send [21:34:08]OFD Sender: No OFD packet to send [21:34:13]OFD Sender: No OFD packet to send [21:34:18]OFD Sender: No OFD packet to send [21:34:23]OFD Sender: No OFD packet to send [21:34:28]OFD Sender: No OFD packet to send [21:34:33]OFD Sender: No OFD packet to send [21:34:38]OFD Sender: No OFD packet to send [21:34:43]OFD Sender: No OFD packet to send [21:34:48]OFD Sender: No OFD packet to send [21:34:53]OFD Sender: No OFD packet to send [21:34:58]OFD Sender: No OFD packet to send [21:35:03]OFD Sender: No OFD packet to send [21:35:08]OFD Sender: No OFD packet to send [21:35:13]OFD Sender: No OFD packet to send [21:35:18]OFD Sender: No OFD packet to send [21:35:23]OFD Sender: No OFD packet to send [21:35:28]OFD Sender: No OFD packet to send [21:35:33]OFD Sender: No OFD packet to send [21:35:38]OFD Sender: No OFD packet to send [21:35:43]OFD Sender: No OFD packet to send [21:35:48]OFD Sender: No OFD packet to send [21:35:53]OFD Sender: No OFD packet to send [21:35:58]OFD Sender: No OFD packet to send [21:36:03]OFD Sender: No OFD packet to send [21:36:08]OFD Sender: No OFD packet to send [21:36:13]OFD Sender: No OFD packet to send [21:36:18]OFD Sender: No OFD packet to send [21:36:23]OFD Sender: No OFD packet to send [21:36:28]OFD Sender: No OFD packet to send [21:36:33]OFD Sender: No OFD packet to send [21:36:38]OFD Sender: No OFD packet to send [21:36:43]OFD Sender: No OFD packet to send [21:36:48]OFD Sender: No OFD packet to send [21:36:53]OFD Sender: No OFD packet to send [21:36:58]OFD Sender: No OFD packet to send [21:37:03]OFD Sender: No OFD packet to send [21:37:08]OFD Sender: No OFD packet to send [21:37:13]OFD Sender: No OFD packet to send [21:37:18]OFD Sender: No OFD packet to send [21:37:23]OFD Sender: No OFD packet to send [21:37:28]OFD Sender: No OFD packet to send [21:37:33]OFD Sender: No OFD packet to send [21:37:38]OFD Sender: No OFD packet to send [21:37:38]accept exits with 7 [21:37:38]New connection [21:37:38]New thread 3066850660 created [21:37:38]Thread 3066707300 joined [21:37:38]Waiting for new connection... [21:37:38] Sock 7.Parse request [21:37:38]Sock 7.Check first char [21:37:38]Sock 7.First char is OK [21:37:38]request: POST /json_proto HTTP/1.0 [21:37:38]Method: POST [21:37:38]URL: /json_proto [21:37:38]Method is POST - this is cgi request [21:37:38]url: /json_proto [21:37:38]query_string will be loaded in cgi processing [21:37:38]execute_cgi json_proto POST (null) [21:37:38]execute_cgi path=json_proto method=POST [21:37:38]POST find Content-Length [21:37:38]Host: 172.17.52.132:8080 [21:37:38]Content-Length: 1199 [21:37:38]Content-Type: application/json [21:37:38] [21:37:38]POST finish read [21:37:38]Found Content-Length = 1199 [21:37:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99984", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004824", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u0441\u043B\u0438\u0432 \u041A\u0440\u0435\u043C 182\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 320.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:37:38]execute_script... [21:37: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)99984", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004824", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u0441\u043B\u0438\u0432 \u041A\u0440\u0435\u043C 182\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 320.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:37:38]POST & json_proto [21:37:38]process_json_proto [21:37:38]json parsed OK: [21:37:38]protocol is kg_v1.0 [21:37:38]action value=close_receipt [21:37:38]process_action close_receipt [21:37:38]cmd_close_receipt [21:37:38]MH_GetDate [21:37:38]Write to MH i2c: F0 00 00 03 56 48 [21:37:38]Write i2c OK [21:37:38]MH_I2C_Read... [21:37:38]Read from MH i2c: F0 [21:37:38]MH_I2C_Read... [21:37:38]Read from MH i2c: F0 09 00 [21:37:38]MH_I2C_Read... [21:37:38]Read from MH i2c: F0 09 00 03 56 00 AE 26 14 67 5A BE F6 66 14 [21:37:38]GetLastDocTimeStamp 1729372146 [21:37:38]current date 1729373870 [21:37:38]FM_GetShiftState [21:37:38]SAM_PROTO_GetShiftState [21:37:38]wFMCommunicate request_size=4 [21:37:38]MH_SAM_APDU [21:37:38]CAPDU: 80 13 01 00 [21:37:38]Write to MH i2c: E2 08 00 04 56 80 13 01 00 00 00 00 00 D7 [21:37:38]Write i2c OK [21:37:38]MH_I2C_Read... [21:37:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:37:39]Read from MH i2c: E2 [21:37:39]MH_I2C_Read... [21:37:39]Read from MH i2c: E2 0E 00 [21:37:39]MH_I2C_Read... [21:37:39]Read from MH i2c: E2 0E 00 04 56 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 80 [21:37:39]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [21:37:39]wFMCommunicate OK [21:37:39]SAM_PROTO_GetShiftState done [21:37:39]FM_GetShiftState done [21:37:39]opened in 1729296173 [21:37:39]opened+sec_in_day 1729382573 [21:37:39]quantity*price = 14400 [21:37:39]sum+1 = 14401 [21:37:39]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4603290004824 Печ зат Яшкино слив Крем 182г 1.000 * 81.00 = 81.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 320.00 НСП 1% : 2.83 НДС 12% : 33.98 Наличными: 320.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 67 19.10.2024 21:37 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2606 ФПД: 74421652306273 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T213750&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2606&fm=74421652306273&tin=02508201610067®Number=0000000000207295&sum=32000 0 [21:37:40]StoreToDocumentArchive [21:37:40]shift 23 fd 2606 [21:37:40]save to /storage/0023/doc_00002606 [21:37:40]save last doc name /storage/0023/doc_00002606 to /storage/kkm_last_doc_name [21:37:40]save OK [21:37:40]Clear old archive folders... [21:37:40]ProcessDocumentItem done err = 0, tmpTLVsize=520 [21:37:40]tlvbuf is 014ADB50 [21:37:40]SAM_PROTO_ClearQueue [21:37:40]wFMCommunicate request_size=4 [21:37:40]MH_SAM_APDU [21:37:40]CAPDU: 80 09 00 00 [21:37:40]Write to MH i2c: E2 08 00 11 56 80 09 00 00 00 00 00 00 D9 [21:37:40]Write i2c OK [21:37:40]MH_I2C_Read... [21:37:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:37:40]Read from MH i2c: E2 [21:37:40]MH_I2C_Read... [21:37:40]Read from MH i2c: E2 03 00 [21:37:40]MH_I2C_Read... [21:37:40]Read from MH i2c: E2 03 00 11 56 00 90 00 DB [21:37:40]RAPDU: 90 00 [21:37:40]wFMCommunicate OK [21:37:40]SAM_PROTO_ClearQueue done [21:37:40]KKMCreateOFDPacket [21:37:40]OFDProtocolAddRootSTLVToBuf [21:37:40]FM_MakeSignedData [21:37:40]FM_MakeSignedData [21:37:40]SAM_PROTO_SignData [21:37:40]wFMCommunicate request_size=4 [21:37:40]MH_SAM_APDU [21:37:40]CAPDU: 80 0D 01 02 [21:37:40]Write to MH i2c: E2 08 00 12 56 80 0D 01 02 00 00 00 00 E1 [21:37:40]Write i2c OK [21:37:40]MH_I2C_Read... [21:37:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:37:40]Read from MH i2c: E2 [21:37:40]MH_I2C_Read... [21:37:40]Read from MH i2c: E2 03 00 [21:37:40]MH_I2C_Read... [21:37:40]Read from MH i2c: E2 03 00 12 56 00 90 00 DC [21:37:40]RAPDU: 90 00 [21:37:40]wFMCommunicate OK [21:37:40]wFMCommunicate request_size=255 [21:37:40]MH_SAM_APDU [21:37:40]CAPDU: 80 0D 02 02 FA 03 00 08 02 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 [21:37:40]Write to MH i2c: E2 02 01 13 56 80 0D 02 02 FA 00 03 00 08 02 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 00 00 D2 [21:37:40]Write i2c OK [21:37:40]MH_I2C_Read... [21:37:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:37:40]Read from MH i2c: E2 [21:37:40]MH_I2C_Read... [21:37:40]Read from MH i2c: E2 03 00 [21:37:40]MH_I2C_Read... [21:37:40]Read from MH i2c: E2 03 00 13 56 00 90 00 DD [21:37:40]RAPDU: 90 00 [21:37:40]wFMCommunicate OK [21:37:40]wFMCommunicate request_size=255 [21:37:40]MH_SAM_APDU [21:37:40]CAPDU: 80 0D 02 02 FA 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 7D 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 AE 26 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 [21:37:40]Write to MH i2c: E2 02 01 14 56 80 0D 02 02 FA 00 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 7D 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 AE 26 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 00 00 E9 [21:37:40]Write i2c OK [21:37:40]MH_I2C_Read... [21:37:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:37:41]Read from MH i2c: E2 [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: E2 03 00 [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: E2 03 00 14 56 00 90 00 DE [21:37:41]RAPDU: 90 00 [21:37:41]wFMCommunicate OK [21:37:41]wFMCommunicate request_size=29 [21:37:41]MH_SAM_APDU [21:37:41]CAPDU: 80 0D 02 02 18 33 34 32 38 32 30 10 04 04 00 2E 0A 00 00 35 04 06 00 43 AF A4 26 39 61 [21:37:41]Write to MH i2c: E2 20 00 15 56 80 0D 02 02 18 00 33 34 32 38 32 30 10 04 04 00 2E 0A 00 00 35 04 06 00 43 AF A4 26 39 61 00 00 2D [21:37:41]Write i2c OK [21:37:41]MH_I2C_Read... [21:37:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:37:41]Read from MH i2c: E2 [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: E2 03 00 [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: E2 03 00 15 56 00 90 00 DF [21:37:41]RAPDU: 90 00 [21:37:41]wFMCommunicate OK [21:37:41]wFMCommunicate request_size=4 [21:37:41]MH_SAM_APDU [21:37:41]CAPDU: 80 0D 03 02 [21:37:41]Write to MH i2c: E2 08 00 16 56 80 0D 03 02 00 00 00 00 E7 [21:37:41]Write i2c OK [21:37:41]MH_I2C_Read... [21:37:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:37:41]Read from MH i2c: E2 [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: E2 0B 00 [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: E2 0B 00 16 56 00 FD CC 5D 72 E2 DC F5 EF 90 00 22 [21:37:41]RAPDU: FD CC 5D 72 E2 DC F5 EF 90 00 [21:37:41]wFMCommunicate OK [21:37:41]SAM_PROTO_SignData done [21:37:41]FM_MakeSignedData done [21:37:41]CreateOFDProtocolMessage [21:37:41]wFMCommunicate request_size=4 [21:37:41]MH_SAM_APDU [21:37:41]CAPDU: 80 11 00 00 [21:37:41]Write to MH i2c: E2 08 00 17 56 80 11 00 00 00 00 00 00 E7 [21:37:41]Write i2c OK [21:37:41]MH_I2C_Read... [21:37:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:37:41]Read from MH i2c: E2 [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: E2 17 00 [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: E2 17 00 17 56 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 2F [21:37:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:37:41]wFMCommunicate OK [21:37:41]CreateOFDProtocolMessage done [21:37:41]OFDSenderStorePacket 2606 [21:37:41]StoreOFDPacket docnum=2606 [21:37:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 1C 02 00 00 0F 1E 14 02 5C 1F 5A 03 01 00 03 00 08 02 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 7D 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 AE 26 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2E 0A 00 00 35 04 06 00 43 AF A4 26 39 61 FD CC 5D 72 E2 DC F5 EF [21:37:41]CheckFolder [21:37:41]dirname=/storage/ofd_packets [21:37:41]CheckFolder done [21:37:41]ProducePacketName [21:37:41]name=ofd_packets/00002606 [21:37:41]NVStorageSaveData ofd_packets/00002606 [21:37:41]File name is /storage/ofd_packets/00002606 [21:37:41]Write 570 bytes [21:37:41]NVStorageSaveData done [21:37:41]OFDSenderStorePacket done [21:37:41]KKMCreateOFDPacket done [21:37:41]NVStorageSaveData kkm_last_timestamp [21:37:41]File name is /storage/kkm_last_timestamp [21:37:41]Write 4 bytes [21:37:41]NVStorageSaveData done [21:37:41]ExternCall_PrintAddStr [21:37:41]wPrintStart [21:37:41]Write to MH i2c: 01 00 00 18 56 6E [21:37:41]Write i2c OK [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: 01 [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: 01 07 00 [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: 01 07 00 18 56 00 00 00 00 00 FF 0F 83 [21:37:41]RasterBufferAndPrint [21:37:41]line Счет N : (3)99984 [21:37:41]line ИНН: 02508201610067 [21:37:41]line Контрольно-Кассовый Чек [21:37:41]line ПРОДАЖА [21:37:41]line Товар: 48743587 [21:37:41]line Сигареты Winston XStyle Silver [21:37:41]line 1.000 * 144.00 [21:37:41]line = 144.00 [21:37:41]line НДС 12% НСП 1% [21:37:41]line > о реализуемом товаре [21:37:41]line Товар: 4603290004824 [21:37:41]line Печ зат Яшкино слив Крем 182г [21:37:41]line 1.000 * 81.00 [21:37:41]line = 81.00 [21:37:41]line НДС 12% НСП 1% [21:37:41]line > о реализуемом товаре [21:37:41]line Товар: 4700000480050 [21:37:41]line Напиток Nitro Energy эн green ж/б 0,45л [21:37:41]line 1.000 * 95.00 [21:37:41]line = 95.00 [21:37:41]line НДС 12% НСП 1% [21:37:41]line > о реализуемом товаре [21:37:41]line ИТОГО: 320.00 [21:37:41]line НСП 1% : 2.83 [21:37:41]line НДС 12% : 33.98 [21:37:41]line Наличными: 320.00 [21:37:41]line Безнал.: 0.00 [21:37:41]line Место: АЗС № 162 "Партнер Нефть" [21:37:41]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [21:37:41]line СНО: Общий режим [21:37:41]line Чек 67 19.10.2024 21:37 [21:37:41]line Смена: 23 ФФД: 1.0 [21:37:41]line ЗНМ: 0300000191 [21:37:41]line РНМ: 0000000000207295 [21:37:41]line Версия ККМ: v1.0 [21:37:41]line ФМ: 0000000002342820 [21:37:41]line ФД: 2606 [21:37:41]line ФПД: 74421652306273 [21:37:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T213750&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2606&fm=74421652306273&tin=02508201610067®Number=0000000000207295&sum=32000 [21:37:41]line 0 [21:37:41]written 0, free lines is 4095 [21:37:41]OFD Sender: Processing packet 2606 [packets to send 1, broken 0] [21:37:41]ProducePacketName [21:37:41]name=ofd_packets/00002606 [21:37:41]OFD Sender: To server: pG, [21:37:41]CommunicateWithHost lk.salyk.kg:30040 [21:37:41]ConnectInit lk.salyk.kg [21:37:41]Connected sock=11 [21:37:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 1C 02 00 00 0F 1E 14 02 5C 1F 5A 03 01 00 03 00 08 02 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 7D 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 AE 26 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2E 0A 00 00 35 04 06 00 43 AF A4 26 39 61 FD CC 5D 72 E2 DC F5 EF [21:37:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 F3 F2 47 00 8F AD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2E 0A 00 00 F4 03 04 00 0E D2 13 67 B6 04 01 00 00 25 EF D2 4E EA 85 E9 D9 [21:37:41]CommunicateWithHost err = 0 [21:37:41]CheckOFDResponse [21:37:41]1017 (14) - 77093643461234 [21:37:41]1041 (16) - 0000000002342820 [21:37:41]1040 (4) - 2606 [21:37:41]1012 (4) - 19.10.2024 15:36 [21:37:41]1206 (1) - 0 [21:37:41]OFD Sender: Remove packet 2606 [21:37:41]ProducePacketName [21:37:41]name=ofd_packets/00002606 [21:37:41]NVStorageDeleteData [21:37:41]Write to MH i2c: 01 00 00 4F 56 A5 [21:37:41]Write i2c OK [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: 01 [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: 01 07 00 [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: 01 07 00 4F 56 00 00 00 00 00 DD 0B 94 [21:37:41]RasterBufferAndPrint [21:37:41]line [21:37:41]line [21:37:41]line [21:37:41]line [21:37:41]line [21:37:41]written 0, free lines is 3043 [21:37:41]MH_Cut [21:37:41]Write to MH i2c: D1 01 00 56 56 01 7E [21:37:41]Write i2c OK [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: D1 [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: D1 01 00 [21:37:41]MH_I2C_Read... [21:37:41]Read from MH i2c: D1 01 00 56 56 00 7D [21:37:41]Write to MH i2c: 01 00 00 57 56 AD [21:37:41]Write i2c OK [21:37:41]MH_I2C_Read... [21:37:42]OFD Sender: No OFD packet to send [21:37:42]*** Cut start [21:37:42]*** Partial cut [21:37:42]*** CUTSNS_PIN = 1 [21:37:43]*** CUTSNS_PIN = 0 [21:37:43]*** Brake cut motor [21:37:43]Read from MH i2c: 01 [21:37:43]MH_I2C_Read... [21:37:43]*** Stop cut motor [21:37:43]*** Cut end [21:37:43]Read from MH i2c: 01 07 00 [21:37:43]MH_I2C_Read... [21:37:43]Read from MH i2c: 01 07 00 57 56 00 00 00 00 00 FF 0F C2 [21:37:43]process_action close_receipt done [21:37:43]requested_data is exist [21:37:43]produce_requested_data [21:37:43]requested_item fm.sn is exist - process it [21:37:43]wFMCommunicate request_size=4 [21:37:43]MH_SAM_APDU [21:37:43]CAPDU: 80 11 00 00 [21:37:43]Write to MH i2c: E2 08 00 58 56 80 11 00 00 00 00 00 00 28 [21:37:43]Write i2c OK [21:37:43]MH_I2C_Read... [21:37:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:37:43]Read from MH i2c: E2 [21:37:43]MH_I2C_Read... [21:37:43]Read from MH i2c: E2 17 00 [21:37:43]MH_I2C_Read... [21:37:43]Read from MH i2c: E2 17 00 58 56 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 70 [21:37:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:37:43]wFMCommunicate OK [21:37:43]requested_item fd.num is exist - process it [21:37:43]SAM_PROTO_GetFieldsCounters [21:37:43]wFMCommunicate request_size=4 [21:37:43]MH_SAM_APDU [21:37:43]CAPDU: 80 13 00 00 [21:37:43]Write to MH i2c: E2 08 00 59 56 80 13 00 00 00 00 00 00 2B [21:37:43]Write i2c OK [21:37:43]MH_I2C_Read... [21:37:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:37:43]Read from MH i2c: E2 [21:37:43]MH_I2C_Read... [21:37:43]Read from MH i2c: E2 62 00 [21:37:43]MH_I2C_Read... [21:37:43]Read from MH i2c: E2 62 00 59 56 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 2E 0A 00 00 0E 04 04 00 17 00 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 59 [21:37:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 2E 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:37:43]wFMCommunicate OK [21:37:43]SAM_PROTO_GetFieldsCounters done [21:37:43]requested_item shift.num is exist - process it [21:37:43]requested_item shift.opened is exist - process it [21:37:43]req_shift_opened [21:37:43]FM_GetShiftState [21:37:43]SAM_PROTO_GetShiftState [21:37:43]wFMCommunicate request_size=4 [21:37:43]MH_SAM_APDU [21:37:43]CAPDU: 80 13 01 00 [21:37:43]Write to MH i2c: E2 08 00 5A 56 80 13 01 00 00 00 00 00 2D [21:37:43]Write i2c OK [21:37:43]MH_I2C_Read... [21:37:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:37:43]Read from MH i2c: E2 [21:37:43]MH_I2C_Read... [21:37:43]Read from MH i2c: E2 0E 00 [21:37:43]MH_I2C_Read... [21:37:43]Read from MH i2c: E2 0E 00 5A 56 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 D6 [21:37:43]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [21:37:43]wFMCommunicate OK [21:37:43]SAM_PROTO_GetShiftState done [21:37:43]FM_GetShiftState done [21:37:43]req_shift_opened done [21:37:43]requested_item shift.open_date is exist - process it [21:37:43]req_shift_open_date [21:37:43]req_shift_open_date done [21:37:43]produce_requested_data done [21:37:43]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2606,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [21:37:43]process_action_free close_receipt [21:37:43]json_value_free [21:37:43]json_value_free done [21:37:43]process_json_proto returns [21:37:43]Send response to host [21:37:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2606,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [21:37:43]free response buf [21:37:43]execute_script done [21:37:43]execute_script returns [21:37:43]free content buf [21:37:43]Sock 7.Close socket [21:37:43]Sock 7.Thread stoped [21:37:47]OFD Sender: No OFD packet to send [21:37:52]OFD Sender: No OFD packet to send [21:37:57]OFD Sender: No OFD packet to send [21:38:02]OFD Sender: No OFD packet to send [21:38:07]OFD Sender: No OFD packet to send [21:38:12]OFD Sender: No OFD packet to send [21:38:12]accept exits with 9 [21:38:12]New connection [21:38:12]New thread 3066707300 created [21:38:12]Thread 3066850660 joined [21:38:12]Waiting for new connection... [21:38:12] Sock 9.Parse request [21:38:12]Sock 9.Check first char [21:38:12]Sock 9.First char is OK [21:38:12]request: POST /json_proto HTTP/1.0 [21:38:12]Method: POST [21:38:12]URL: /json_proto [21:38:12]Method is POST - this is cgi request [21:38:12]url: /json_proto [21:38:12]query_string will be loaded in cgi processing [21:38:12]execute_cgi json_proto POST (null) [21:38:12]execute_cgi path=json_proto method=POST [21:38:12]POST find Content-Length [21:38:12]Host: 172.17.52.132:8080 [21:38:12]Content-Length: 651 [21:38:12]Content-Type: application/json [21:38:12] [21:38:12]POST finish read [21:38:12]Found Content-Length = 651 [21:38:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99985", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:38:12]execute_script... [21:38:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99985", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:38:12]POST & json_proto [21:38:12]process_json_proto [21:38:12]json parsed OK: [21:38:12]protocol is kg_v1.0 [21:38:12]action value=close_receipt [21:38:12]process_action close_receipt [21:38:12]cmd_close_receipt [21:38:12]MH_GetDate [21:38:12]Write to MH i2c: F0 00 00 5B 56 A0 [21:38:12]Write i2c OK [21:38:12]MH_I2C_Read... [21:38:12]Read from MH i2c: F0 [21:38:12]MH_I2C_Read... [21:38:12]Read from MH i2c: F0 09 00 [21:38:12]MH_I2C_Read... [21:38:12]Read from MH i2c: F0 09 00 5B 56 00 CF 26 14 67 5A BE F6 66 8D [21:38:12]GetLastDocTimeStamp 1729373870 [21:38:12]current date 1729373903 [21:38:12]FM_GetShiftState [21:38:12]SAM_PROTO_GetShiftState [21:38:12]wFMCommunicate request_size=4 [21:38:12]MH_SAM_APDU [21:38:12]CAPDU: 80 13 01 00 [21:38:12]Write to MH i2c: E2 08 00 5C 56 80 13 01 00 00 00 00 00 2F [21:38:12]Write i2c OK [21:38:12]MH_I2C_Read... [21:38:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:38:12]Read from MH i2c: E2 [21:38:12]MH_I2C_Read... [21:38:12]Read from MH i2c: E2 0E 00 [21:38:12]MH_I2C_Read... [21:38:12]Read from MH i2c: E2 0E 00 5C 56 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 D8 [21:38:12]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [21:38:12]wFMCommunicate OK [21:38:12]SAM_PROTO_GetShiftState done [21:38:12]FM_GetShiftState done [21:38:12]opened in 1729296173 [21:38:12]opened+sec_in_day 1729382573 [21:38:12]quantity*price = 12500 [21:38:12]sum+1 = 12501 [21:38:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 68 19.10.2024 21:38 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2607 ФПД: 251825866443199 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T213823&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2607&fm=251825866443199&tin=02508201610067®Number=0000000000207295&sum=12500 0 [21:38:13]StoreToDocumentArchive [21:38:13]shift 23 fd 2607 [21:38:13]save to /storage/0023/doc_00002607 [21:38:13]save last doc name /storage/0023/doc_00002607 to /storage/kkm_last_doc_name [21:38:13]save OK [21:38:13]Clear old archive folders... [21:38:13]ProcessDocumentItem done err = 0, tmpTLVsize=284 [21:38:13]tlvbuf is 013FA3F0 [21:38:13]SAM_PROTO_ClearQueue [21:38:13]wFMCommunicate request_size=4 [21:38:13]MH_SAM_APDU [21:38:13]CAPDU: 80 09 00 00 [21:38:13]Write to MH i2c: E2 08 00 69 56 80 09 00 00 00 00 00 00 31 [21:38:13]Write i2c OK [21:38:13]MH_I2C_Read... [21:38:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:38:13]Read from MH i2c: E2 [21:38:13]MH_I2C_Read... [21:38:13]Read from MH i2c: E2 03 00 [21:38:13]MH_I2C_Read... [21:38:13]Read from MH i2c: E2 03 00 69 56 00 90 00 33 [21:38:13]RAPDU: 90 00 [21:38:13]wFMCommunicate OK [21:38:13]SAM_PROTO_ClearQueue done [21:38:13]KKMCreateOFDPacket [21:38:13]OFDProtocolAddRootSTLVToBuf [21:38:13]FM_MakeSignedData [21:38:13]FM_MakeSignedData [21:38:13]SAM_PROTO_SignData [21:38:13]wFMCommunicate request_size=4 [21:38:13]MH_SAM_APDU [21:38:13]CAPDU: 80 0D 01 02 [21:38:13]Write to MH i2c: E2 08 00 6A 56 80 0D 01 02 00 00 00 00 39 [21:38:13]Write i2c OK [21:38:13]MH_I2C_Read... [21:38:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:38:13]Read from MH i2c: E2 [21:38:13]MH_I2C_Read... [21:38:13]Read from MH i2c: E2 03 00 [21:38:13]MH_I2C_Read... [21:38:13]Read from MH i2c: E2 03 00 6A 56 00 90 00 34 [21:38:13]RAPDU: 90 00 [21:38:13]wFMCommunicate OK [21:38:13]wFMCommunicate request_size=255 [21:38:13]MH_SAM_APDU [21:38:13]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 44 00 00 00 F4 03 04 00 CF 26 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 [21:38:13]Write to MH i2c: E2 02 01 6B 56 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 44 00 00 00 F4 03 04 00 CF 26 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 00 00 A6 [21:38:13]Write i2c OK [21:38:13]MH_I2C_Read... [21:38:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:38:13]Read from MH i2c: E2 [21:38:13]MH_I2C_Read... [21:38:13]Read from MH i2c: E2 03 00 [21:38:13]MH_I2C_Read... [21:38:13]Read from MH i2c: E2 03 00 6B 56 00 90 00 35 [21:38:13]RAPDU: 90 00 [21:38:13]wFMCommunicate OK [21:38:13]wFMCommunicate request_size=43 [21:38:13]MH_SAM_APDU [21:38:13]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2F 0A 00 00 35 04 06 00 E5 08 C7 50 89 BF [21:38:13]Write to MH i2c: E2 2E 00 6C 56 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2F 0A 00 00 35 04 06 00 E5 08 C7 50 89 BF 00 00 9E [21:38:13]Write i2c OK [21:38:13]MH_I2C_Read... [21:38:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:38:13]Read from MH i2c: E2 [21:38:13]MH_I2C_Read... [21:38:13]Read from MH i2c: E2 03 00 [21:38:13]MH_I2C_Read... [21:38:13]Read from MH i2c: E2 03 00 6C 56 00 90 00 36 [21:38:13]RAPDU: 90 00 [21:38:13]wFMCommunicate OK [21:38:13]wFMCommunicate request_size=4 [21:38:13]MH_SAM_APDU [21:38:13]CAPDU: 80 0D 03 02 [21:38:13]Write to MH i2c: E2 08 00 6D 56 80 0D 03 02 00 00 00 00 3E [21:38:13]Write i2c OK [21:38:13]MH_I2C_Read... [21:38:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:38:14]Read from MH i2c: E2 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: E2 0B 00 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: E2 0B 00 6D 56 00 B8 10 CF 24 FD 79 F3 40 90 00 A3 [21:38:14]RAPDU: B8 10 CF 24 FD 79 F3 40 90 00 [21:38:14]wFMCommunicate OK [21:38:14]SAM_PROTO_SignData done [21:38:14]FM_MakeSignedData done [21:38:14]CreateOFDProtocolMessage [21:38:14]wFMCommunicate request_size=4 [21:38:14]MH_SAM_APDU [21:38:14]CAPDU: 80 11 00 00 [21:38:14]Write to MH i2c: E2 08 00 6E 56 80 11 00 00 00 00 00 00 3E [21:38:14]Write i2c OK [21:38:14]MH_I2C_Read... [21:38:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:38:14]Read from MH i2c: E2 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: E2 17 00 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: E2 17 00 6E 56 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 86 [21:38:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:38:14]wFMCommunicate OK [21:38:14]CreateOFDProtocolMessage done [21:38:14]OFDSenderStorePacket 2607 [21:38:14]StoreOFDPacket docnum=2607 [21:38:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 30 01 00 00 9F 20 28 01 B2 85 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 44 00 00 00 F4 03 04 00 CF 26 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2F 0A 00 00 35 04 06 00 E5 08 C7 50 89 BF B8 10 CF 24 FD 79 F3 40 [21:38:14]CheckFolder [21:38:14]dirname=/storage/ofd_packets [21:38:14]CheckFolder done [21:38:14]ProducePacketName [21:38:14]name=ofd_packets/00002607 [21:38:14]NVStorageSaveData ofd_packets/00002607 [21:38:14]File name is /storage/ofd_packets/00002607 [21:38:14]Write 334 bytes [21:38:14]NVStorageSaveData done [21:38:14]OFDSenderStorePacket done [21:38:14]KKMCreateOFDPacket done [21:38:14]NVStorageSaveData kkm_last_timestamp [21:38:14]File name is /storage/kkm_last_timestamp [21:38:14]Write 4 bytes [21:38:14]NVStorageSaveData done [21:38:14]OFD Sender: Processing packet 2607 [packets to send 1, broken 0] [21:38:14]ProducePacketName [21:38:14]name=ofd_packets/00002607 [21:38:14]OFD Sender: To server: pG, [21:38:14]CommunicateWithHost lk.salyk.kg:30040 [21:38:14]ConnectInit lk.salyk.kg [21:38:14]ExternCall_PrintAddStr [21:38:14]wPrintStart [21:38:14]Write to MH i2c: 01 00 00 6F 56 C5 [21:38:14]Write i2c OK [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: 01 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: 01 07 00 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: 01 07 00 6F 56 00 00 00 00 00 FF 0F DA [21:38:14]RasterBufferAndPrint [21:38:14]line Счет N : (3)99985 [21:38:14]line ИНН: 02508201610067 [21:38:14]line Контрольно-Кассовый Чек [21:38:14]line ПРОДАЖА [21:38:14]line Товар: 2000036190018 [21:38:14]line Кофе Американо XL(GABB TRADE) [21:38:14]line 1.000 * 125.00 [21:38:14]line = 125.00 [21:38:14]line НДС 12% НСП 1% [21:38:14]line > о реализуемом товаре [21:38:14]line ИТОГО: 125.00 [21:38:14]line НСП 1% : 1.11 [21:38:14]line НДС 12% : 13.27 [21:38:14]line Наличными: 125.00 [21:38:14]line Безнал.: 0.00 [21:38:14]line Место: АЗС № 162 "Партнер Нефть" [21:38:14]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [21:38:14]line СНО: Общий режим [21:38:14]line Чек 68 19.10.2024 21:38 [21:38:14]line Смена: 23 ФФД: 1.0 [21:38:14]line ЗНМ: 0300000191 [21:38:14]line РНМ: 0000000000207295 [21:38:14]line Версия ККМ: v1.0 [21:38:14]line ФМ: 0000000002342820 [21:38:14]line ФД: 2607 [21:38:14]line ФПД: 251825866443199 [21:38:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T213823&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2607&fm=251825866443199&tin=02508201610067®Number=0000000000207295&sum=12500 [21:38:14]line 0 [21:38:14]Connected sock=10 [21:38:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 30 01 00 00 9F 20 28 01 B2 85 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 44 00 00 00 F4 03 04 00 CF 26 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2F 0A 00 00 35 04 06 00 E5 08 C7 50 89 BF B8 10 CF 24 FD 79 F3 40 [21:38:14]written 0, free lines is 4095 [21:38:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 02 C6 47 00 C9 B7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 2F 0A 00 00 F4 03 04 00 2F D2 13 67 B6 04 01 00 00 9F 4F 01 7F D7 EE AF 95 [21:38:14]CommunicateWithHost err = 0 [21:38:14]CheckOFDResponse [21:38:14]1017 (14) - 77093643461234 [21:38:14]1041 (16) - 0000000002342820 [21:38:14]1040 (4) - 2607 [21:38:14]1012 (4) - 19.10.2024 15:37 [21:38:14]1206 (1) - 0 [21:38:14]OFD Sender: Remove packet 2607 [21:38:14]ProducePacketName [21:38:14]name=ofd_packets/00002607 [21:38:14]NVStorageDeleteData [21:38:14]Write to MH i2c: 01 00 00 98 56 EE [21:38:14]Write i2c OK [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: 01 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: 01 07 00 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: 01 07 00 98 56 00 00 00 00 00 CE 0C CF [21:38:14]RasterBufferAndPrint [21:38:14]line [21:38:14]line [21:38:14]line [21:38:14]line [21:38:14]line [21:38:14]written 0, free lines is 3283 [21:38:14]MH_Cut [21:38:14]Write to MH i2c: D1 01 00 9F 56 01 C7 [21:38:14]Write i2c OK [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: D1 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: D1 01 00 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: D1 01 00 9F 56 00 C6 [21:38:14]Write to MH i2c: 01 00 00 A0 56 F6 [21:38:14]Write i2c OK [21:38:14]MH_I2C_Read... [21:38:15]OFD Sender: No OFD packet to send [21:38:15]*** Cut start [21:38:15]*** Partial cut [21:38:15]*** CUTSNS_PIN = 1 [21:38:15]*** CUTSNS_PIN = 0 [21:38:16]*** Brake cut motor [21:38:16]Read from MH i2c: 01 [21:38:16]MH_I2C_Read... [21:38:16]*** Stop cut motor [21:38:16]*** Cut end [21:38:16]Read from MH i2c: 01 07 00 [21:38:16]MH_I2C_Read... [21:38:16]Read from MH i2c: 01 07 00 A0 56 00 00 00 00 00 FF 0F 0B [21:38:16]process_action close_receipt done [21:38:16]requested_data is exist [21:38:16]produce_requested_data [21:38:16]requested_item fm.sn is exist - process it [21:38:16]wFMCommunicate request_size=4 [21:38:16]MH_SAM_APDU [21:38:16]CAPDU: 80 11 00 00 [21:38:16]Write to MH i2c: E2 08 00 A1 56 80 11 00 00 00 00 00 00 71 [21:38:16]Write i2c OK [21:38:16]MH_I2C_Read... [21:38:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:38:16]Read from MH i2c: E2 [21:38:16]MH_I2C_Read... [21:38:16]Read from MH i2c: E2 17 00 [21:38:16]MH_I2C_Read... [21:38:16]Read from MH i2c: E2 17 00 A1 56 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B9 [21:38:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:38:16]wFMCommunicate OK [21:38:16]requested_item fd.num is exist - process it [21:38:16]SAM_PROTO_GetFieldsCounters [21:38:16]wFMCommunicate request_size=4 [21:38:16]MH_SAM_APDU [21:38:16]CAPDU: 80 13 00 00 [21:38:16]Write to MH i2c: E2 08 00 A2 56 80 13 00 00 00 00 00 00 74 [21:38:16]Write i2c OK [21:38:16]MH_I2C_Read... [21:38:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:38:16]Read from MH i2c: E2 [21:38:16]MH_I2C_Read... [21:38:16]Read from MH i2c: E2 62 00 [21:38:16]MH_I2C_Read... [21:38:16]Read from MH i2c: E2 62 00 A2 56 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 2F 0A 00 00 0E 04 04 00 17 00 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 A6 [21:38:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 2F 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:38:16]wFMCommunicate OK [21:38:16]SAM_PROTO_GetFieldsCounters done [21:38:16]requested_item shift.num is exist - process it [21:38:16]requested_item shift.opened is exist - process it [21:38:16]req_shift_opened [21:38:16]FM_GetShiftState [21:38:16]SAM_PROTO_GetShiftState [21:38:16]wFMCommunicate request_size=4 [21:38:16]MH_SAM_APDU [21:38:16]CAPDU: 80 13 01 00 [21:38:16]Write to MH i2c: E2 08 00 A3 56 80 13 01 00 00 00 00 00 76 [21:38:16]Write i2c OK [21:38:16]MH_I2C_Read... [21:38:16]Read from MH i2c: E2 [21:38:16]MH_I2C_Read... [21:38:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:38:16]Read from MH i2c: E2 0E 00 [21:38:16]MH_I2C_Read... [21:38:16]Read from MH i2c: E2 0E 00 A3 56 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 1F [21:38:16]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [21:38:16]wFMCommunicate OK [21:38:16]SAM_PROTO_GetShiftState done [21:38:16]FM_GetShiftState done [21:38:16]req_shift_opened done [21:38:16]requested_item shift.open_date is exist - process it [21:38:16]req_shift_open_date [21:38:16]req_shift_open_date done [21:38:16]produce_requested_data done [21:38:16]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2607,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [21:38:16]process_action_free close_receipt [21:38:16]json_value_free [21:38:16]json_value_free done [21:38:16]process_json_proto returns [21:38:16]Send response to host [21:38:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2607,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [21:38:16]free response buf [21:38:16]execute_script done [21:38:16]execute_script returns [21:38:16]free content buf [21:38:16]Sock 9.Close socket [21:38:16]Sock 9.Thread stoped [21:38:20]OFD Sender: No OFD packet to send [21:38:25]OFD Sender: No OFD packet to send [21:38:30]OFD Sender: No OFD packet to send [21:38:35]OFD Sender: No OFD packet to send [21:38:40]OFD Sender: No OFD packet to send [21:38:45]OFD Sender: No OFD packet to send [21:38:50]OFD Sender: No OFD packet to send [21:38:55]OFD Sender: No OFD packet to send [21:39:00]OFD Sender: No OFD packet to send [21:39:05]OFD Sender: No OFD packet to send [21:39:10]OFD Sender: No OFD packet to send [21:39:15]OFD Sender: No OFD packet to send [21:39:20]OFD Sender: No OFD packet to send [21:39:25]OFD Sender: No OFD packet to send [21:39:30]OFD Sender: No OFD packet to send [21:39:35]OFD Sender: No OFD packet to send [21:39:40]OFD Sender: No OFD packet to send [21:39:45]OFD Sender: No OFD packet to send [21:39:50]OFD Sender: No OFD packet to send [21:39:55]OFD Sender: No OFD packet to send [21:40:00]OFD Sender: No OFD packet to send [21:40:05]OFD Sender: No OFD packet to send [21:40:10]OFD Sender: No OFD packet to send [21:40:15]OFD Sender: No OFD packet to send [21:40:20]OFD Sender: No OFD packet to send [21:40:25]OFD Sender: No OFD packet to send [21:40:30]OFD Sender: No OFD packet to send [21:40:35]OFD Sender: No OFD packet to send [21:40:40]OFD Sender: No OFD packet to send [21:40:45]OFD Sender: No OFD packet to send [21:40:50]OFD Sender: No OFD packet to send [21:40:55]OFD Sender: No OFD packet to send [21:41:00]OFD Sender: No OFD packet to send [21:41:05]OFD Sender: No OFD packet to send [21:41:10]OFD Sender: No OFD packet to send [21:41:15]OFD Sender: No OFD packet to send [21:41:20]OFD Sender: No OFD packet to send [21:41:25]OFD Sender: No OFD packet to send [21:41:30]OFD Sender: No OFD packet to send [21:41:35]OFD Sender: No OFD packet to send [21:41:40]OFD Sender: No OFD packet to send [21:41:45]OFD Sender: No OFD packet to send [21:41:50]OFD Sender: No OFD packet to send [21:41:55]OFD Sender: No OFD packet to send [21:42:00]OFD Sender: No OFD packet to send [21:42:05]OFD Sender: No OFD packet to send [21:42:10]OFD Sender: No OFD packet to send [21:42:15]OFD Sender: No OFD packet to send [21:42:20]OFD Sender: No OFD packet to send [21:42:25]OFD Sender: No OFD packet to send [21:42:30]OFD Sender: No OFD packet to send [21:42:35]OFD Sender: No OFD packet to send [21:42:40]OFD Sender: No OFD packet to send [21:42:45]OFD Sender: No OFD packet to send [21:42:50]OFD Sender: No OFD packet to send [21:42:55]OFD Sender: No OFD packet to send [21:43:00]OFD Sender: No OFD packet to send [21:43:05]OFD Sender: No OFD packet to send [21:43:10]OFD Sender: No OFD packet to send [21:43:15]OFD Sender: No OFD packet to send [21:43:20]OFD Sender: No OFD packet to send [21:43:25]OFD Sender: No OFD packet to send [21:43:30]OFD Sender: No OFD packet to send [21:43:35]OFD Sender: No OFD packet to send [21:43:40]OFD Sender: No OFD packet to send [21:43:45]OFD Sender: No OFD packet to send [21:43:50]OFD Sender: No OFD packet to send [21:43:55]OFD Sender: No OFD packet to send [21:44:00]OFD Sender: No OFD packet to send [21:44:05]OFD Sender: No OFD packet to send [21:44:10]OFD Sender: No OFD packet to send [21:44:15]OFD Sender: No OFD packet to send [21:44:20]OFD Sender: No OFD packet to send [21:44:25]OFD Sender: No OFD packet to send [21:44:30]OFD Sender: No OFD packet to send [21:44:35]OFD Sender: No OFD packet to send [21:44:40]OFD Sender: No OFD packet to send [21:44:45]OFD Sender: No OFD packet to send [21:44:50]OFD Sender: No OFD packet to send [21:44:55]OFD Sender: No OFD packet to send [21:45:00]OFD Sender: No OFD packet to send [21:45:05]OFD Sender: No OFD packet to send [21:45:10]OFD Sender: No OFD packet to send [21:45:15]OFD Sender: No OFD packet to send [21:45:20]OFD Sender: No OFD packet to send [21:45:25]OFD Sender: No OFD packet to send [21:45:30]OFD Sender: No OFD packet to send [21:45:35]OFD Sender: No OFD packet to send [21:45:40]OFD Sender: No OFD packet to send [21:45:45]OFD Sender: No OFD packet to send [21:45:50]OFD Sender: No OFD packet to send [21:45:55]OFD Sender: No OFD packet to send [21:46:00]OFD Sender: No OFD packet to send [21:46:05]OFD Sender: No OFD packet to send [21:46:10]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:19]accept exits with 7 [21:55:19]New connection [21:55:19]New thread 3066850660 created [21:55:19]Thread 3066707300 joined [21:55:19]Waiting for new connection... [21:55:19] Sock 7.Parse request [21:55:19]Sock 7.Check first char [21:55:19]Sock 7.First char is OK [21:55:19]request: POST /json_proto HTTP/1.0 [21:55:19]Method: POST [21:55:19]URL: /json_proto [21:55:19]Method is POST - this is cgi request [21:55:19]url: /json_proto [21:55:19]query_string will be loaded in cgi processing [21:55:19]execute_cgi json_proto POST (null) [21:55:19]execute_cgi path=json_proto method=POST [21:55:19]POST find Content-Length [21:55:19]Host: 172.17.52.132:8080 [21:55:19]Content-Length: 1370 [21:55:19]Content-Type: application/json [21:55:19] [21:55:19]POST finish read [21:55:19]Found Content-Length = 1370 [21:55:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99986", "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 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 499.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:55:19]execute_script... [21:55: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)99986", "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 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 499.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:55:19]POST & json_proto [21:55:19]process_json_proto [21:55:19]json parsed OK: [21:55:19]protocol is kg_v1.0 [21:55:19]action value=close_receipt [21:55:19]process_action close_receipt [21:55:19]cmd_close_receipt [21:55:19]MH_GetDate [21:55:19]Write to MH i2c: F0 00 00 A4 56 E9 [21:55:19]Write i2c OK [21:55:19]MH_I2C_Read... [21:55:19]Read from MH i2c: F0 [21:55:19]MH_I2C_Read... [21:55:19]Read from MH i2c: F0 09 00 [21:55:19]MH_I2C_Read... [21:55:19]Read from MH i2c: F0 09 00 A4 56 00 D2 2A 14 67 5A BE F6 66 DD [21:55:19]GetLastDocTimeStamp 1729373903 [21:55:19]current date 1729374930 [21:55:19]FM_GetShiftState [21:55:19]SAM_PROTO_GetShiftState [21:55:19]wFMCommunicate request_size=4 [21:55:19]MH_SAM_APDU [21:55:19]CAPDU: 80 13 01 00 [21:55:19]Write to MH i2c: E2 08 00 A5 56 80 13 01 00 00 00 00 00 78 [21:55:19]Write i2c OK [21:55:19]MH_I2C_Read... [21:55:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:55:19]Read from MH i2c: E2 [21:55:19]MH_I2C_Read... [21:55:19]Read from MH i2c: E2 0E 00 [21:55:19]MH_I2C_Read... [21:55:19]Read from MH i2c: E2 0E 00 A5 56 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 21 [21:55:19]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [21:55:19]wFMCommunicate OK [21:55:19]SAM_PROTO_GetShiftState done [21:55:19]FM_GetShiftState done [21:55:19]opened in 1729296173 [21:55:19]opened+sec_in_day 1729382573 [21:55:19]quantity*price = 14400 [21:55:19]sum+1 = 14401 [21:55:19]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4640030091669 Сигареты ESSE Exchange S 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 40822938 Напиток Фанта 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 499.00 НСП 1% : 4.41 НДС 12% : 52.98 Наличными: 499.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 69 19.10.2024 21:55 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2608 ФПД: 54333022268934 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T215531&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2608&fm=54333022268934&tin=02508201610067®Number=0000000000207295&sum=49900 0 [21:55:20]StoreToDocumentArchive [21:55:20]shift 23 fd 2608 [21:55:20]save to /storage/0023/doc_00002608 [21:55:20]save last doc name /storage/0023/doc_00002608 to /storage/kkm_last_doc_name [21:55:20]save OK [21:55:20]Clear old archive folders... [21:55:20]ProcessDocumentItem done err = 0, tmpTLVsize=587 [21:55:20]tlvbuf is 01447AC0 [21:55:20]SAM_PROTO_ClearQueue [21:55:20]wFMCommunicate request_size=4 [21:55:20]MH_SAM_APDU [21:55:20]CAPDU: 80 09 00 00 [21:55:20]Write to MH i2c: E2 08 00 B2 56 80 09 00 00 00 00 00 00 7A [21:55:20]Write i2c OK [21:55:20]MH_I2C_Read... [21:55:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:55:20]Read from MH i2c: E2 [21:55:20]MH_I2C_Read... [21:55:20]Read from MH i2c: E2 03 00 [21:55:20]MH_I2C_Read... [21:55:20]Read from MH i2c: E2 03 00 B2 56 00 90 00 7C [21:55:20]RAPDU: 90 00 [21:55:20]wFMCommunicate OK [21:55:20]SAM_PROTO_ClearQueue done [21:55:20]KKMCreateOFDPacket [21:55:20]OFDProtocolAddRootSTLVToBuf [21:55:20]FM_MakeSignedData [21:55:20]FM_MakeSignedData [21:55:20]SAM_PROTO_SignData [21:55:20]wFMCommunicate request_size=4 [21:55:20]MH_SAM_APDU [21:55:20]CAPDU: 80 0D 01 02 [21:55:20]Write to MH i2c: E2 08 00 B3 56 80 0D 01 02 00 00 00 00 82 [21:55:20]Write i2c OK [21:55:20]MH_I2C_Read... [21:55:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:55:20]Read from MH i2c: E2 [21:55:20]MH_I2C_Read... [21:55:20]Read from MH i2c: E2 03 00 [21:55:20]MH_I2C_Read... [21:55:20]Read from MH i2c: E2 03 00 B3 56 00 90 00 7D [21:55:20]RAPDU: 90 00 [21:55:20]wFMCommunicate OK [21:55:20]wFMCommunicate request_size=255 [21:55:20]MH_SAM_APDU [21:55:20]CAPDU: 80 0D 02 02 FA 03 00 4B 02 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 06 04 20 00 D0 [21:55:20]Write to MH i2c: E2 02 01 B4 56 80 0D 02 02 FA 00 03 00 4B 02 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 06 04 20 00 D0 00 00 AA [21:55:20]Write i2c OK [21:55:20]MH_I2C_Read... [21:55:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:55:20]OFD Sender: No OFD packet to send [21:55:20]Read from MH i2c: E2 [21:55:20]MH_I2C_Read... [21:55:20]Read from MH i2c: E2 03 00 [21:55:20]MH_I2C_Read... [21:55:20]Read from MH i2c: E2 03 00 B4 56 00 90 00 7E [21:55:20]RAPDU: 90 00 [21:55:20]wFMCommunicate OK [21:55:20]wFMCommunicate request_size=255 [21:55:20]MH_SAM_APDU [21:55:20]CAPDU: 80 0D 02 02 FA A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC C2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 14 00 00 00 00 07 04 06 00 EC C2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 [21:55:20]Write to MH i2c: E2 02 01 B5 56 80 0D 02 02 FA 00 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC C2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 14 00 00 00 00 07 04 06 00 EC C2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 00 00 1D [21:55:20]Write i2c OK [21:55:20]MH_I2C_Read... [21:55:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:55:21]Read from MH i2c: E2 [21:55:21]MH_I2C_Read... [21:55:21]Read from MH i2c: E2 03 00 [21:55:21]MH_I2C_Read... [21:55:21]Read from MH i2c: E2 03 00 B5 56 00 90 00 7F [21:55:21]RAPDU: 90 00 [21:55:21]wFMCommunicate OK [21:55:21]wFMCommunicate request_size=96 [21:55:21]MH_SAM_APDU [21:55:21]CAPDU: 80 0D 02 02 5B 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 D3 2A 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 30 0A 00 00 35 04 06 00 31 6A 64 7D EE 06 [21:55:21]Write to MH i2c: E2 63 00 B6 56 80 0D 02 02 5B 00 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 D3 2A 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 30 0A 00 00 35 04 06 00 31 6A 64 7D EE 06 00 00 72 [21:55:21]Write i2c OK [21:55:21]MH_I2C_Read... [21:55:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:55:21]Read from MH i2c: E2 [21:55:21]MH_I2C_Read... [21:55:21]Read from MH i2c: E2 03 00 [21:55:21]MH_I2C_Read... [21:55:21]Read from MH i2c: E2 03 00 B6 56 00 90 00 80 [21:55:21]RAPDU: 90 00 [21:55:21]wFMCommunicate OK [21:55:21]wFMCommunicate request_size=4 [21:55:21]MH_SAM_APDU [21:55:21]CAPDU: 80 0D 03 02 [21:55:21]Write to MH i2c: E2 08 00 B7 56 80 0D 03 02 00 00 00 00 88 [21:55:21]Write i2c OK [21:55:21]MH_I2C_Read... [21:55:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:55:21]Read from MH i2c: E2 [21:55:21]MH_I2C_Read... [21:55:21]Read from MH i2c: E2 0B 00 [21:55:21]MH_I2C_Read... [21:55:21]Read from MH i2c: E2 0B 00 B7 56 00 1D F9 D5 1C 56 C5 E7 66 90 00 F8 [21:55:21]RAPDU: 1D F9 D5 1C 56 C5 E7 66 90 00 [21:55:21]wFMCommunicate OK [21:55:21]SAM_PROTO_SignData done [21:55:21]FM_MakeSignedData done [21:55:21]CreateOFDProtocolMessage [21:55:21]wFMCommunicate request_size=4 [21:55:21]MH_SAM_APDU [21:55:21]CAPDU: 80 11 00 00 [21:55:21]Write to MH i2c: E2 08 00 B8 56 80 11 00 00 00 00 00 00 88 [21:55:21]Write i2c OK [21:55:21]MH_I2C_Read... [21:55:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:55:21]Read from MH i2c: E2 [21:55:21]MH_I2C_Read... [21:55:21]Read from MH i2c: E2 17 00 [21:55:21]MH_I2C_Read... [21:55:21]Read from MH i2c: E2 17 00 B8 56 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 D0 [21:55:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:55:21]wFMCommunicate OK [21:55:21]CreateOFDProtocolMessage done [21:55:21]OFDSenderStorePacket 2608 [21:55:21]StoreOFDPacket docnum=2608 [21:55:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 5F 02 00 00 8C 59 57 02 F0 40 5A 03 01 00 03 00 4B 02 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC C2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 14 00 00 00 00 07 04 06 00 EC C2 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 D3 2A 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 30 0A 00 00 35 04 06 00 31 6A 64 7D EE 06 1D F9 D5 1C 56 C5 E7 66 [21:55:21]CheckFolder [21:55:21]dirname=/storage/ofd_packets [21:55:21]CheckFolder done [21:55:21]ProducePacketName [21:55:21]name=ofd_packets/00002608 [21:55:21]NVStorageSaveData ofd_packets/00002608 [21:55:21]File name is /storage/ofd_packets/00002608 [21:55:21]Write 637 bytes [21:55:21]NVStorageSaveData done [21:55:21]OFDSenderStorePacket done [21:55:21]KKMCreateOFDPacket done [21:55:21]NVStorageSaveData kkm_last_timestamp [21:55:21]File name is /storage/kkm_last_timestamp [21:55:21]Write 4 bytes [21:55:21]NVStorageSaveData done [21:55:21]ExternCall_PrintAddStr [21:55:21]wPrintStart [21:55:21]Write to MH i2c: 01 00 00 B9 56 0F [21:55:21]Write i2c OK [21:55:21]MH_I2C_Read... [21:55:21]Read from MH i2c: 01 [21:55:21]MH_I2C_Read... [21:55:21]Read from MH i2c: 01 07 00 [21:55:21]MH_I2C_Read... [21:55:21]Read from MH i2c: 01 07 00 B9 56 00 00 00 00 00 FF 0F 24 [21:55:21]RasterBufferAndPrint [21:55:21]line Счет N : (3)99986 [21:55:21]line ИНН: 02508201610067 [21:55:21]line Контрольно-Кассовый Чек [21:55:21]line ПРОДАЖА [21:55:21]line Товар: 48743570 [21:55:21]line Сигареты Winston XStyle Blue [21:55:21]line 1.000 * 144.00 [21:55:21]line = 144.00 [21:55:21]line НДС 12% НСП 1% [21:55:21]line > о реализуемом товаре [21:55:21]line Товар: 2000036220012 [21:55:21]line Кофе Капучино XL(GABB TRADE) [21:55:21]line 1.000 * 130.00 [21:55:21]line = 130.00 [21:55:21]line НДС 12% НСП 1% [21:55:21]line > о реализуемом товаре [21:55:21]line Товар: 4640030091669 [21:55:21]line Сигареты ESSE Exchange S [21:55:21]line 1.000 * 150.00 [21:55:21]line = 150.00 [21:55:21]line НДС 12% НСП 1% [21:55:21]line > о реализуемом товаре [21:55:21]line Товар: 40822938 [21:55:21]line Напиток Фанта 0,5л [21:55:21]line 1.000 * 75.00 [21:55:21]line = 75.00 [21:55:21]line НДС 12% НСП 1% [21:55:21]line > о реализуемом товаре [21:55:21]line ИТОГО: 499.00 [21:55:21]line НСП 1% : 4.41 [21:55:21]line НДС 12% : 52.98 [21:55:21]line Наличными: 499.00 [21:55:21]line Безнал.: 0.00 [21:55:21]line Место: АЗС № 162 "Партнер Нефть" [21:55:21]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [21:55:21]line СНО: Общий режим [21:55:21]line Чек 69 19.10.2024 21:55 [21:55:21]line Смена: 23 ФФД: 1.0 [21:55:21]line ЗНМ: 0300000191 [21:55:21]line РНМ: 0000000000207295 [21:55:21]line Версия ККМ: v1.0 [21:55:21]line ФМ: 0000000002342820 [21:55:21]line ФД: 2608 [21:55:21]line ФПД: 54333022268934 [21:55:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T215531&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2608&fm=54333022268934&tin=02508201610067®Number=0000000000207295&sum=49900 [21:55:21]line 0 [21:55:21]OFD Sender: Processing packet 2608 [packets to send 1, broken 0] [21:55:21]ProducePacketName [21:55:21]name=ofd_packets/00002608 [21:55:21]OFD Sender: To server: pG, [21:55:21]CommunicateWithHost lk.salyk.kg:30040 [21:55:21]ConnectInit lk.salyk.kg [21:55:21]written 0, free lines is 4095 [21:55:21]Connected sock=10 [21:55:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 5F 02 00 00 8C 59 57 02 F0 40 5A 03 01 00 03 00 4B 02 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC C2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 14 00 00 00 00 07 04 06 00 EC C2 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 D3 2A 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 30 0A 00 00 35 04 06 00 31 6A 64 7D EE 06 1D F9 D5 1C 56 C5 E7 66 [21:55:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 D0 BD 47 00 BB 68 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 30 0A 00 00 F4 03 04 00 33 D6 13 67 B6 04 01 00 00 D1 94 42 E8 35 95 F7 C1 [21:55:22]CommunicateWithHost err = 0 [21:55:22]CheckOFDResponse [21:55:22]1017 (14) - 77093643461234 [21:55:22]1041 (16) - 0000000002342820 [21:55:22]1040 (4) - 2608 [21:55:22]1012 (4) - 19.10.2024 15:54 [21:55:22]1206 (1) - 0 [21:55:22]OFD Sender: Remove packet 2608 [21:55:22]ProducePacketName [21:55:22]name=ofd_packets/00002608 [21:55:22]NVStorageDeleteData [21:55:22]Write to MH i2c: 01 00 00 F4 56 4A [21:55:22]Write i2c OK [21:55:22]MH_I2C_Read... [21:55:22]Read from MH i2c: 01 [21:55:22]MH_I2C_Read... [21:55:22]Read from MH i2c: 01 07 00 [21:55:22]MH_I2C_Read... [21:55:22]Read from MH i2c: 01 07 00 F4 56 00 00 00 00 00 84 0B E0 [21:55:22]RasterBufferAndPrint [21:55:22]line [21:55:22]line [21:55:22]line [21:55:22]line [21:55:22]line [21:55:22]written 0, free lines is 2953 [21:55:22]MH_Cut [21:55:22]Write to MH i2c: D1 01 00 FB 56 01 23 [21:55:22]Write i2c OK [21:55:22]MH_I2C_Read... [21:55:22]Read from MH i2c: D1 [21:55:22]MH_I2C_Read... [21:55:22]Read from MH i2c: D1 01 00 [21:55:22]MH_I2C_Read... [21:55:22]Read from MH i2c: D1 01 00 FB 56 00 22 [21:55:22]Write to MH i2c: 01 00 00 FC 56 52 [21:55:22]Write i2c OK [21:55:22]MH_I2C_Read... [21:55:22]OFD Sender: No OFD packet to send [21:55:23]*** Cut start [21:55:23]*** Partial cut [21:55:23]*** CUTSNS_PIN = 1 [21:55:23]*** CUTSNS_PIN = 0 [21:55:23]*** Brake cut motor [21:55:24]Read from MH i2c: 01 [21:55:24]MH_I2C_Read... [21:55:24]*** Stop cut motor [21:55:24]*** Cut end [21:55:24]Read from MH i2c: 01 07 00 [21:55:24]MH_I2C_Read... [21:55:24]Read from MH i2c: 01 07 00 FC 56 00 00 00 00 00 FF 0F 67 [21:55:24]process_action close_receipt done [21:55:24]requested_data is exist [21:55:24]produce_requested_data [21:55:24]requested_item fm.sn is exist - process it [21:55:24]wFMCommunicate request_size=4 [21:55:24]MH_SAM_APDU [21:55:24]CAPDU: 80 11 00 00 [21:55:24]Write to MH i2c: E2 08 00 FD 56 80 11 00 00 00 00 00 00 CD [21:55:24]Write i2c OK [21:55:24]MH_I2C_Read... [21:55:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:55:24]Read from MH i2c: E2 [21:55:24]MH_I2C_Read... [21:55:24]Read from MH i2c: E2 17 00 [21:55:24]MH_I2C_Read... [21:55:24]Read from MH i2c: E2 17 00 FD 56 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 15 [21:55:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [21:55:24]wFMCommunicate OK [21:55:24]requested_item fd.num is exist - process it [21:55:24]SAM_PROTO_GetFieldsCounters [21:55:24]wFMCommunicate request_size=4 [21:55:24]MH_SAM_APDU [21:55:24]CAPDU: 80 13 00 00 [21:55:24]Write to MH i2c: E2 08 00 FE 56 80 13 00 00 00 00 00 00 D0 [21:55:24]Write i2c OK [21:55:24]MH_I2C_Read... [21:55:24]Read from MH i2c: *** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:55:24]E2 [21:55:24]MH_I2C_Read... [21:55:24]Read from MH i2c: E2 62 00 [21:55:24]MH_I2C_Read... [21:55:24]Read from MH i2c: E2 62 00 FE 56 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 30 0A 00 00 0E 04 04 00 17 00 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 06 [21:55:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 30 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:55:24]wFMCommunicate OK [21:55:24]SAM_PROTO_GetFieldsCounters done [21:55:24]requested_item shift.num is exist - process it [21:55:24]requested_item shift.opened is exist - process it [21:55:24]req_shift_opened [21:55:24]FM_GetShiftState [21:55:24]SAM_PROTO_GetShiftState [21:55:24]wFMCommunicate request_size=4 [21:55:24]MH_SAM_APDU [21:55:24]CAPDU: 80 13 01 00 [21:55:24]Write to MH i2c: E2 08 00 FF 56 80 13 01 00 00 00 00 00 D2 [21:55:24]Write i2c OK [21:55:24]MH_I2C_Read... [21:55:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:55:24]Read from MH i2c: E2 [21:55:24]MH_I2C_Read... [21:55:24]Read from MH i2c: E2 0E 00 [21:55:24]MH_I2C_Read... [21:55:24]Read from MH i2c: E2 0E 00 FF 56 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 7B [21:55:24]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [21:55:24]wFMCommunicate OK [21:55:24]SAM_PROTO_GetShiftState done [21:55:24]FM_GetShiftState done [21:55:24]req_shift_opened done [21:55:24]requested_item shift.open_date is exist - process it [21:55:24]req_shift_open_date [21:55:24]req_shift_open_date done [21:55:24]produce_requested_data done [21:55:24]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2608,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [21:55:24]process_action_free close_receipt [21:55:24]json_value_free [21:55:24]json_value_free done [21:55:24]process_json_proto returns [21:55:24]Send response to host [21:55:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2608,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [21:55:24]free response buf [21:55:24]execute_script done [21:55:24]execute_script returns [21:55:24]free content buf [21:55:24]Sock 7.Close socket [21:55:24]Sock 7.Thread stoped [21:55:27]OFD Sender: No OFD packet to send [21:55:32]OFD Sender: No OFD packet to send [21:55:37]OFD Sender: No OFD packet to send [21:55:42]OFD Sender: No OFD packet to send [21:55:47]OFD Sender: No OFD packet to send [21:55:52]OFD Sender: No OFD packet to send [21:55:57]OFD Sender: No OFD packet to send [21:56:02]OFD Sender: No OFD packet to send [21:56:07]OFD Sender: No OFD packet to send [21:56:12]OFD Sender: No OFD packet to send [21:56:17]OFD Sender: No OFD packet to send [21:56:22]OFD Sender: No OFD packet to send [21:56:27]OFD Sender: No OFD packet to send [21:56:32]OFD Sender: No OFD packet to send [21:56:37]OFD Sender: No OFD packet to send [21:56:42]OFD Sender: No OFD packet to send [21:56:47]OFD Sender: No OFD packet to send [21:56:52]OFD Sender: No OFD packet to send [21:56:57]OFD Sender: No OFD packet to send [21:57:02]OFD Sender: No OFD packet to send [21:57:07]OFD Sender: No OFD packet to send [21:57:12]OFD Sender: No OFD packet to send [21:57:17]OFD Sender: No OFD packet to send [21:57:22]OFD Sender: No OFD packet to send [21:57:27]OFD Sender: No OFD packet to send [21:57:32]OFD Sender: No OFD packet to send [21:57:37]OFD Sender: No OFD packet to send [21:57:42]OFD Sender: No OFD packet to send [21:57:47]OFD Sender: No OFD packet to send [21:57:52]OFD Sender: No OFD packet to send [21:57:57]OFD Sender: No OFD packet to send [21:58:02]OFD Sender: No OFD packet to send [21:58:07]OFD Sender: No OFD packet to send [21:58:12]OFD Sender: No OFD packet to send [21:58:17]OFD Sender: No OFD packet to send [21:58:22]OFD Sender: No OFD packet to send [21:58:27]OFD Sender: No OFD packet to send [21:58:32]OFD Sender: No OFD packet to send [21:58:37]OFD Sender: No OFD packet to send [21:58:42]OFD Sender: No OFD packet to send [21:58:47]OFD Sender: No OFD packet to send [21:58:52]OFD Sender: No OFD packet to send [21:58:57]OFD Sender: No OFD packet to send [21:59:02]OFD Sender: No OFD packet to send [21:59:07]OFD Sender: No OFD packet to send [21:59:12]OFD Sender: No OFD packet to send [21:59:17]OFD Sender: No OFD packet to send [21:59:22]OFD Sender: No OFD packet to send [21:59:27]OFD Sender: No OFD packet to send [21:59:32]OFD Sender: No OFD packet to send [21:59:37]OFD Sender: No OFD packet to send [21:59:42]OFD Sender: No OFD packet to send [21:59:47]OFD Sender: No OFD packet to send [21:59:52]OFD Sender: No OFD packet to send [21:59:57]OFD Sender: No OFD packet to send [22:00:02]OFD Sender: No OFD packet to send [22:00:07]OFD Sender: No OFD packet to send [22:00:12]OFD Sender: No OFD packet to send [22:00:17]OFD Sender: No OFD packet to send [22:00:22]OFD Sender: No OFD packet to send [22:00:27]OFD Sender: No OFD packet to send [22:00:32]OFD Sender: No OFD packet to send [22:00:37]OFD Sender: No OFD packet to send [22:00:42]OFD Sender: No OFD packet to send [22:00:47]OFD Sender: No OFD packet to send [22:00:52]OFD Sender: No OFD packet to send [22:00:57]OFD Sender: No OFD packet to send [22:01:02]OFD Sender: No OFD packet to send [22:01:07]OFD Sender: No OFD packet to send [22:01:12]OFD Sender: No OFD packet to send [22:01:17]OFD Sender: No OFD packet to send [22:01:22]OFD Sender: No OFD packet to send [22:01:27]OFD Sender: No OFD packet to send [22:01:32]OFD Sender: No OFD packet to send [22:01:37]OFD Sender: No OFD packet to send [22:01:42]OFD Sender: No OFD packet to send [22:01:47]OFD Sender: No OFD packet to send [22:01:52]OFD Sender: No OFD packet to send [22:01:57]OFD Sender: No OFD packet to send [22:02:02]OFD Sender: No OFD packet to send [22:02:07]OFD Sender: No OFD packet to send [22:02:12]OFD Sender: No OFD packet to send [22:02:17]OFD Sender: No OFD packet to send [22:02:22]OFD Sender: No OFD packet to send [22:02:27]OFD Sender: No OFD packet to send [22:02:32]OFD Sender: No OFD packet to send [22:02:35]accept exits with 9 [22:02:35]New connection [22:02:35]New thread 3066707300 created [22:02:35]Thread 3066850660 joined [22:02:35]Waiting for new connection... [22:02:35] Sock 9.Parse request [22:02:35]Sock 9.Check first char [22:02:35]Sock 9.First char is OK [22:02:35]request: POST /json_proto HTTP/1.0 [22:02:35]Method: POST [22:02:35]URL: /json_proto [22:02:35]Method is POST - this is cgi request [22:02:35]url: /json_proto [22:02:35]query_string will be loaded in cgi processing [22:02:35]execute_cgi json_proto POST (null) [22:02:35]execute_cgi path=json_proto method=POST [22:02:35]POST find Content-Length [22:02:35]Host: 172.17.52.132:8080 [22:02:35]Content-Length: 1266 [22:02:35]Content-Type: application/json [22:02:35] [22:02:35]POST finish read [22:02:35]Found Content-Length = 1266 [22:02:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99987", "tax_sys" : 0, "items" : [ { "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.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" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607123066058", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043E\u0440\u0435\u0445 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 248.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:02:35]execute_script... [22:02:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99987", "tax_sys" : 0, "items" : [ { "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.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" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607123066058", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043E\u0440\u0435\u0445 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 248.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:02:35]POST & json_proto [22:02:35]process_json_proto [22:02:35]json parsed OK: [22:02:35]protocol is kg_v1.0 [22:02:35]action value=close_receipt [22:02:35]process_action close_receipt [22:02:35]cmd_close_receipt [22:02:35]MH_GetDate [22:02:35]Write to MH i2c: F0 00 00 00 57 46 [22:02:35]Write i2c OK [22:02:35]MH_I2C_Read... [22:02:35]Read from MH i2c: F0 [22:02:35]MH_I2C_Read... [22:02:35]Read from MH i2c: F0 09 00 [22:02:35]MH_I2C_Read... [22:02:35]Read from MH i2c: F0 09 00 00 57 00 87 2C 14 67 5A BE F6 66 F1 [22:02:35]GetLastDocTimeStamp 1729374931 [22:02:35]current date 1729375367 [22:02:35]FM_GetShiftState [22:02:35]SAM_PROTO_GetShiftState [22:02:35]wFMCommunicate request_size=4 [22:02:35]MH_SAM_APDU [22:02:35]CAPDU: 80 13 01 00 [22:02:35]Write to MH i2c: E2 08 00 01 57 80 13 01 00 00 00 00 00 D5 [22:02:35]Write i2c OK [22:02:35]MH_I2C_Read... [22:02:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:02:35]Read from MH i2c: E2 [22:02:35]MH_I2C_Read... [22:02:35]Read from MH i2c: E2 0E 00 [22:02:35]MH_I2C_Read... [22:02:35]Read from MH i2c: E2 0E 00 01 57 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 7E [22:02:35]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [22:02:35]wFMCommunicate OK [22:02:35]SAM_PROTO_GetShiftState done [22:02:35]FM_GetShiftState done [22:02:35]opened in 1729296173 [22:02:35]opened+sec_in_day 1729382573 [22:02:35]quantity*price = 17500 [22:02:35]sum+1 = 17501 [22:02:35]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 2.000 * 7.00 = 14.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607123066058 Печенье Юбилейное Торжество орех 120г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 248.00 НСП 1% : 2.19 НДС 12% : 26.33 Наличными: 248.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 70 19.10.2024 22:02 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2609 ФПД: 5523524594753 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T220247&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2609&fm=5523524594753&tin=02508201610067®Number=0000000000207295&sum=24800 0 [22:02:36]StoreToDocumentArchive [22:02:36]shift 23 fd 2609 [22:02:36]save to /storage/0023/doc_00002609 [22:02:36]save last doc name /storage/0023/doc_00002609 to /storage/kkm_last_doc_name [22:02:36]save OK [22:02:36]Clear old archive folders... [22:02:36]ProcessDocumentItem done err = 0, tmpTLVsize=524 [22:02:36]tlvbuf is 01487FB0 [22:02:36]SAM_PROTO_ClearQueue [22:02:36]wFMCommunicate request_size=4 [22:02:36]MH_SAM_APDU [22:02:36]CAPDU: 80 09 00 00 [22:02:36]Write to MH i2c: E2 08 00 0E 57 80 09 00 00 00 00 00 00 D7 [22:02:36]Write i2c OK [22:02:36]MH_I2C_Read... [22:02:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:02:36]Read from MH i2c: E2 [22:02:36]MH_I2C_Read... [22:02:36]Read from MH i2c: E2 03 00 [22:02:36]MH_I2C_Read... [22:02:36]Read from MH i2c: E2 03 00 0E 57 00 90 00 D9 [22:02:36]RAPDU: 90 00 [22:02:36]wFMCommunicate OK [22:02:36]SAM_PROTO_ClearQueue done [22:02:36]KKMCreateOFDPacket [22:02:36]OFDProtocolAddRootSTLVToBuf [22:02:36]FM_MakeSignedData [22:02:36]FM_MakeSignedData [22:02:36]SAM_PROTO_SignData [22:02:36]wFMCommunicate request_size=4 [22:02:36]MH_SAM_APDU [22:02:36]CAPDU: 80 0D 01 02 [22:02:36]Write to MH i2c: E2 08 00 0F 57 80 0D 01 02 00 00 00 00 DF [22:02:36]Write i2c OK [22:02:36]MH_I2C_Read... [22:02:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:02:36]Read from MH i2c: E2 [22:02:36]MH_I2C_Read... [22:02:36]Read from MH i2c: E2 03 00 [22:02:36]MH_I2C_Read... [22:02:36]Read from MH i2c: E2 03 00 0F 57 00 90 00 DA [22:02:36]RAPDU: 90 00 [22:02:36]wFMCommunicate OK [22:02:36]wFMCommunicate request_size=255 [22:02:36]MH_SAM_APDU [22:02:36]CAPDU: 80 0D 02 02 FA 03 00 0C 02 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 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 31 2C 35 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 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 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 [22:02:37]Write to MH i2c: E2 02 01 10 57 80 0D 02 02 FA 00 03 00 0C 02 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 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 31 2C 35 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 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 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 00 00 E7 [22:02:37]Write i2c OK [22:02:37]MH_I2C_Read... [22:02:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:02:37]Read from MH i2c: E2 [22:02:37]MH_I2C_Read... [22:02:37]Read from MH i2c: E2 03 00 [22:02:37]MH_I2C_Read... [22:02:37]Read from MH i2c: E2 03 00 10 57 00 90 00 DB [22:02:37]RAPDU: 90 00 [22:02:37]wFMCommunicate OK [22:02:37]wFMCommunicate request_size=255 [22:02:37]MH_SAM_APDU [22:02:37]CAPDU: 80 0D 02 02 FA 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 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 87 2C 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 [22:02:37]Write to MH i2c: E2 02 01 11 57 80 0D 02 02 FA 00 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 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 87 2C 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 00 00 DC [22:02:37]Write i2c OK [22:02:37]MH_I2C_Read... [22:02:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:02:37]Read from MH i2c: E2 [22:02:37]MH_I2C_Read... [22:02:37]Read from MH i2c: E2 03 00 [22:02:37]MH_I2C_Read... [22:02:37]Read from MH i2c: E2 03 00 11 57 00 90 00 DC [22:02:37]RAPDU: 90 00 [22:02:37]wFMCommunicate OK [22:02:37]wFMCommunicate request_size=33 [22:02:37]MH_SAM_APDU [22:02:37]CAPDU: 80 0D 02 02 1C 30 30 30 32 33 34 32 38 32 30 10 04 04 00 31 0A 00 00 35 04 06 00 05 06 0B B8 AC 41 [22:02:37]Write to MH i2c: E2 24 00 12 57 80 0D 02 02 1C 00 30 30 30 32 33 34 32 38 32 30 10 04 04 00 31 0A 00 00 35 04 06 00 05 06 0B B8 AC 41 00 00 5D [22:02:37]Write i2c OK [22:02:37]MH_I2C_Read... [22:02:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:02:37]Read from MH i2c: E2 [22:02:37]MH_I2C_Read... [22:02:37]Read from MH i2c: E2 03 00 [22:02:37]MH_I2C_Read... [22:02:37]Read from MH i2c: E2 03 00 12 57 00 90 00 DD [22:02:37]RAPDU: 90 00 [22:02:37]wFMCommunicate OK [22:02:37]wFMCommunicate request_size=4 [22:02:37]MH_SAM_APDU [22:02:37]CAPDU: 80 0D 03 02 [22:02:37]Write to MH i2c: E2 08 00 13 57 80 0D 03 02 00 00 00 00 E5 [22:02:37]Write i2c OK [22:02:37]MH_I2C_Read... [22:02:37]OFD Sender: No OFD packet to send [22:02:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:02:37]Read from MH i2c: E2 [22:02:37]MH_I2C_Read... [22:02:37]Read from MH i2c: E2 0B 00 [22:02:37]MH_I2C_Read... [22:02:37]Read from MH i2c: E2 0B 00 13 57 00 94 93 56 F1 65 E8 04 1F 90 00 C4 [22:02:37]RAPDU: 94 93 56 F1 65 E8 04 1F 90 00 [22:02:37]wFMCommunicate OK [22:02:37]SAM_PROTO_SignData done [22:02:37]FM_MakeSignedData done [22:02:37]CreateOFDProtocolMessage [22:02:37]wFMCommunicate request_size=4 [22:02:37]MH_SAM_APDU [22:02:37]CAPDU: 80 11 00 00 [22:02:37]Write to MH i2c: E2 08 00 14 57 80 11 00 00 00 00 00 00 E5 [22:02:37]Write i2c OK [22:02:37]MH_I2C_Read... [22:02:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:02:38]Read from MH i2c: E2 [22:02:38]MH_I2C_Read... [22:02:38]Read from MH i2c: E2 17 00 [22:02:38]MH_I2C_Read... [22:02:38]Read from MH i2c: E2 17 00 14 57 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 2D [22:02:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:02:38]wFMCommunicate OK [22:02:38]CreateOFDProtocolMessage done [22:02:38]OFDSenderStorePacket 2609 [22:02:38]StoreOFDPacket docnum=2609 [22:02:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 20 02 00 00 FC 7D 18 02 A2 59 5A 03 01 00 03 00 0C 02 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 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 31 2C 35 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 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 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 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 87 2C 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 31 0A 00 00 35 04 06 00 05 06 0B B8 AC 41 94 93 56 F1 65 E8 04 1F [22:02:38]CheckFolder [22:02:38]dirname=/storage/ofd_packets [22:02:38]CheckFolder done [22:02:38]ProducePacketName [22:02:38]name=ofd_packets/00002609 [22:02:38]NVStorageSaveData ofd_packets/00002609 [22:02:38]File name is /storage/ofd_packets/00002609 [22:02:38]Write 574 bytes [22:02:38]NVStorageSaveData done [22:02:38]OFDSenderStorePacket done [22:02:38]KKMCreateOFDPacket done [22:02:38]NVStorageSaveData kkm_last_timestamp [22:02:38]File name is /storage/kkm_last_timestamp [22:02:38]Write 4 bytes [22:02:38]NVStorageSaveData done [22:02:38]ExternCall_PrintAddStr [22:02:38]wPrintStart [22:02:38]Write to MH i2c: 01 00 00 15 57 6C [22:02:38]Write i2c OK [22:02:38]MH_I2C_Read... [22:02:38]Read from MH i2c: 01 [22:02:38]MH_I2C_Read... [22:02:38]Read from MH i2c: 01 07 00 [22:02:38]MH_I2C_Read... [22:02:38]Read from MH i2c: 01 07 00 15 57 00 00 00 00 00 FF 0F 81 [22:02:38]RasterBufferAndPrint [22:02:38]line Счет N : (3)99987 [22:02:38]line ИНН: 02508201610067 [22:02:38]line Контрольно-Кассовый Чек [22:02:38]line ПРОДАЖА [22:02:38]line Товар: 4870002329487 [22:02:38]line Напиток Pepsi 1,5л [22:02:38]line 1.000 * 175.00 [22:02:38]line = 175.00 [22:02:38]line НДС 12% НСП 1% [22:02:38]line > о реализуемом товаре [22:02:38]line Товар: 2000053020015 [22:02:38]line Бумажные стаканы 250мл 1шт [22:02:38]line 2.000 * 7.00 [22:02:38]line = 14.00 [22:02:38]line НДС 12% НСП 1% [22:02:38]line > о реализуемом товаре [22:02:38]line Товар: 4607123066058 [22:02:38]line Печенье Юбилейное Торжество орех 120г [22:02:38]line 1.000 * 59.00 [22:02:38]line = 59.00 [22:02:38]line НДС 12% НСП 1% [22:02:38]line > о реализуемом товаре [22:02:38]line ИТОГО: 248.00 [22:02:38]line НСП 1% : 2.19 [22:02:38]line НДС 12% : 26.33 [22:02:38]line Наличными: 248.00 [22:02:38]line Безнал.: 0.00 [22:02:38]line Место: АЗС № 162 "Партнер Нефть" [22:02:38]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [22:02:38]line СНО: Общий режим [22:02:38]line Чек 70 19.10.2024 22:02 [22:02:38]line Смена: 23 ФФД: 1.0 [22:02:38]line ЗНМ: 0300000191 [22:02:38]line РНМ: 0000000000207295 [22:02:38]line Версия ККМ: v1.0 [22:02:38]line ФМ: 0000000002342820 [22:02:38]line ФД: 2609 [22:02:38]OFD Sender: Processing packet 2609 [packets to send 1, broken 0] [22:02:38]ProducePacketName [22:02:38]name=ofd_packets/00002609 [22:02:38]OFD Sender: To server: pG, [22:02:38]CommunicateWithHost lk.salyk.kg:30040 [22:02:38]ConnectInit lk.salyk.kg [22:02:38]line ФПД: 5523524594753 [22:02:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T220247&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2609&fm=5523524594753&tin=02508201610067®Number=0000000000207295&sum=24800 [22:02:38]Connected sock=10 [22:02:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 20 02 00 00 FC 7D 18 02 A2 59 5A 03 01 00 03 00 0C 02 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 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 31 2C 35 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 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 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 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 87 2C 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 31 0A 00 00 35 04 06 00 05 06 0B B8 AC 41 94 93 56 F1 65 E8 04 1F [22:02:38]line 0 [22:02:38]written 0, free lines is 4095 [22:02:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 D8 75 47 00 41 2E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 31 0A 00 00 F4 03 04 00 E7 D7 13 67 B6 04 01 00 00 44 AD 0D 20 F8 87 D0 5B [22:02:38]CommunicateWithHost err = 0 [22:02:38]CheckOFDResponse [22:02:38]1017 (14) - 77093643461234 [22:02:38]1041 (16) - 0000000002342820 [22:02:38]1040 (4) - 2609 [22:02:38]1012 (4) - 19.10.2024 16:01 [22:02:38]1206 (1) - 0 [22:02:38]OFD Sender: Remove packet 2609 [22:02:38]ProducePacketName [22:02:38]name=ofd_packets/00002609 [22:02:38]NVStorageDeleteData [22:02:39]Write to MH i2c: 01 00 00 4B 57 A2 [22:02:39]Write i2c OK [22:02:39]MH_I2C_Read... [22:02:39]Read from MH i2c: 01 [22:02:39]MH_I2C_Read... [22:02:39]Read from MH i2c: 01 07 00 [22:02:39]MH_I2C_Read... [22:02:39]Read from MH i2c: 01 07 00 4B 57 00 00 00 00 00 DB 0B 8F [22:02:39]RasterBufferAndPrint [22:02:39]line [22:02:39]line [22:02:39]line [22:02:39]line [22:02:39]line [22:02:39]written 0, free lines is 3040 [22:02:39]MH_Cut [22:02:39]Write to MH i2c: D1 01 00 52 57 01 7B [22:02:39]Write i2c OK [22:02:39]MH_I2C_Read... [22:02:39]Read from MH i2c: D1 [22:02:39]MH_I2C_Read... [22:02:39]Read from MH i2c: D1 01 00 [22:02:39]MH_I2C_Read... [22:02:39]Read from MH i2c: D1 01 00 52 57 00 7A [22:02:39]Write to MH i2c: 01 00 00 53 57 AA [22:02:39]Write i2c OK [22:02:39]MH_I2C_Read... [22:02:39]OFD Sender: No OFD packet to send [22:02:40]*** Cut start [22:02:40]*** Partial cut [22:02:40]*** CUTSNS_PIN = 1 [22:02:40]*** CUTSNS_PIN = 0 [22:02:40]*** Brake cut motor [22:02:40]Read from MH i2c: 01 [22:02:40]MH_I2C_Read... [22:02:40]*** Stop cut motor [22:02:40]*** Cut end [22:02:40]Read from MH i2c: 01 07 00 [22:02:40]MH_I2C_Read... [22:02:40]Read from MH i2c: 01 07 00 53 57 00 00 00 00 00 FF 0F BF [22:02:40]process_action close_receipt done [22:02:40]requested_data is exist [22:02:40]produce_requested_data [22:02:40]requested_item fm.sn is exist - process it [22:02:40]wFMCommunicate request_size=4 [22:02:40]MH_SAM_APDU [22:02:40]CAPDU: 80 11 00 00 [22:02:40]Write to MH i2c: E2 08 00 54 57 80 11 00 00 00 00 00 00 25 [22:02:40]Write i2c OK [22:02:40]MH_I2C_Read... [22:02:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:02:40]Read from MH i2c: E2 [22:02:40]MH_I2C_Read... [22:02:40]Read from MH i2c: E2 17 00 [22:02:40]MH_I2C_Read... [22:02:40]Read from MH i2c: E2 17 00 54 57 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 6D [22:02:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:02:40]wFMCommunicate OK [22:02:40]requested_item fd.num is exist - process it [22:02:40]SAM_PROTO_GetFieldsCounters [22:02:40]wFMCommunicate request_size=4 [22:02:40]MH_SAM_APDU [22:02:40]CAPDU: 80 13 00 00 [22:02:40]Write to MH i2c: E2 08 00 55 57 80 13 00 00 00 00 00 00 28 [22:02:40]Write i2c OK [22:02:40]MH_I2C_Read... [22:02:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:02:40]Read from MH i2c: E2 [22:02:40]MH_I2C_Read... [22:02:40]Read from MH i2c: E2 62 00 [22:02:40]MH_I2C_Read... [22:02:40]Read from MH i2c: E2 62 00 55 57 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 31 0A 00 00 0E 04 04 00 17 00 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 62 [22:02:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 31 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:02:40]wFMCommunicate OK [22:02:40]SAM_PROTO_GetFieldsCounters done [22:02:40]requested_item shift.num is exist - process it [22:02:40]requested_item shift.opened is exist - process it [22:02:40]req_shift_opened [22:02:40]FM_GetShiftState [22:02:40]SAM_PROTO_GetShiftState [22:02:40]wFMCommunicate request_size=4 [22:02:40]MH_SAM_APDU [22:02:40]CAPDU: 80 13 01 00 [22:02:40]Write to MH i2c: E2 08 00 56 57 80 13 01 00 00 00 00 00 2A [22:02:40]Write i2c OK [22:02:40]MH_I2C_Read... [22:02:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:02:41]Read from MH i2c: E2 [22:02:41]MH_I2C_Read... [22:02:41]Read from MH i2c: E2 0E 00 [22:02:41]MH_I2C_Read... [22:02:41]Read from MH i2c: E2 0E 00 56 57 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 D3 [22:02:41]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [22:02:41]wFMCommunicate OK [22:02:41]SAM_PROTO_GetShiftState done [22:02:41]FM_GetShiftState done [22:02:41]req_shift_opened done [22:02:41]requested_item shift.open_date is exist - process it [22:02:41]req_shift_open_date [22:02:41]req_shift_open_date done [22:02:41]produce_requested_data done [22:02:41]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2609,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [22:02:41]process_action_free close_receipt [22:02:41]json_value_free [22:02:41]json_value_free done [22:02:41]process_json_proto returns [22:02:41]Send response to host [22:02:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2609,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [22:02:41]free response buf [22:02:41]execute_script done [22:02:41]execute_script returns [22:02:41]free content buf [22:02:41]Sock 9.Close socket [22:02:41]Sock 9.Thread stoped [22:02:44]OFD Sender: No OFD packet to send [22:02:49]OFD Sender: No OFD packet to send [22:02:54]OFD Sender: No OFD packet to send [22:02:59]OFD Sender: No OFD packet to send [22:03:04]OFD Sender: No OFD packet to send [22:03:09]OFD Sender: No OFD packet to send [22:03:14]OFD Sender: No OFD packet to send [22:03:19]OFD Sender: No OFD packet to send [22:03:24]OFD Sender: No OFD packet to send [22:03:29]OFD Sender: No OFD packet to send [22:03:34]OFD Sender: No OFD packet to send [22:03:39]OFD Sender: No OFD packet to send [22:03:44]OFD Sender: No OFD packet to send [22:03:49]OFD Sender: No OFD packet to send [22:03:54]OFD Sender: No OFD packet to send [22:03:59]OFD Sender: No OFD packet to send [22:04:04]OFD Sender: No OFD packet to send [22:04:09]OFD Sender: No OFD packet to send [22:04:14]OFD Sender: No OFD packet to send [22:04:19]OFD Sender: No OFD packet to send [22:04:24]OFD Sender: No OFD packet to send [22:04:29]OFD Sender: No OFD packet to send [22:04:34]OFD Sender: No OFD packet to send [22:04:39]OFD Sender: No OFD packet to send [22:04:44]OFD Sender: No OFD packet to send [22:04:49]OFD Sender: No OFD packet to send [22:04:54]OFD Sender: No OFD packet to send [22:04:59]OFD Sender: No OFD packet to send [22:05:04]OFD Sender: No OFD packet to send [22:05:09]OFD Sender: No OFD packet to send [22:05:14]OFD Sender: No OFD packet to send [22:05:19]OFD Sender: No OFD packet to send [22:05:24]OFD Sender: No OFD packet to send [22:05:29]OFD Sender: No OFD packet to send [22:05:34]OFD Sender: No OFD packet to send [22:05:39]OFD Sender: No OFD packet to send [22:05:44]OFD Sender: No OFD packet to send [22:05:49]OFD Sender: No OFD packet to send [22:05:54]OFD Sender: No OFD packet to send [22:05:59]OFD Sender: No OFD packet to send [22:06:04]OFD Sender: No OFD packet to send [22:06:09]OFD Sender: No OFD packet to send [22:06:14]OFD Sender: No OFD packet to send [22:06:19]OFD Sender: No OFD packet to send [22:06:24]OFD Sender: No OFD packet to send [22:06:29]OFD Sender: No OFD packet to send [22:06:34]OFD Sender: No OFD packet to send [22:06:39]OFD Sender: No OFD packet to send [22:06:44]OFD Sender: No OFD packet to send [22:06:49]OFD Sender: No OFD packet to send [22:06:54]OFD Sender: No OFD packet to send [22:06:59]OFD Sender: No OFD packet to send [22:07:04]OFD Sender: No OFD packet to send [22:07:09]OFD Sender: No OFD packet to send [22:07:14]OFD Sender: No OFD packet to send [22:07:19]OFD Sender: No OFD packet to send [22:07:24]OFD Sender: No OFD packet to send [22:07:29]OFD Sender: No OFD packet to send [22:07:34]OFD Sender: No OFD packet to send [22:07:39]OFD Sender: No OFD packet to send [22:07:44]OFD Sender: No OFD packet to send [22:07:49]OFD Sender: No OFD packet to send [22:07:54]OFD Sender: No OFD packet to send [22:07:59]OFD Sender: No OFD packet to send [22:08:04]OFD Sender: No OFD packet to send [22:08:09]OFD Sender: No OFD packet to send [22:08:14]OFD Sender: No OFD packet to send [22:08:19]OFD Sender: No OFD packet to send [22:08:24]OFD Sender: No OFD packet to send [22:08:29]OFD Sender: No OFD packet to send [22:08:34]OFD Sender: No OFD packet to send [22:08:39]OFD Sender: No OFD packet to send [22:08:44]OFD Sender: No OFD packet to send [22:08:49]OFD Sender: No OFD packet to send [22:08:54]OFD Sender: No OFD packet to send [22:08:59]OFD Sender: No OFD packet to send [22:09:04]OFD Sender: No OFD packet to send [22:09:09]OFD Sender: No OFD packet to send [22:09:14]OFD Sender: No OFD packet to send [22:09:19]OFD Sender: No OFD packet to send [22:09:24]OFD Sender: No OFD packet to send [22:09:29]OFD Sender: No OFD packet to send [22:09:34]OFD Sender: No OFD packet to send [22:09:39]OFD Sender: No OFD packet to send [22:09:44]OFD Sender: No OFD packet to send [22:09:49]accept exits with 7 [22:09:49]New connection [22:09:49]New thread 3066850660 created [22:09:49]Thread 3066707300 joined [22:09:49]Waiting for new connection... [22:09:49] Sock 7.Parse request [22:09:49]Sock 7.Check first char [22:09:49]Sock 7.First char is OK [22:09:49]request: POST /json_proto HTTP/1.0 [22:09:49]Method: POST [22:09:49]URL: /json_proto [22:09:49]Method is POST - this is cgi request [22:09:49]url: /json_proto [22:09:49]query_string will be loaded in cgi processing [22:09:49]execute_cgi json_proto POST (null) [22:09:49]execute_cgi path=json_proto method=POST [22:09:49]POST find Content-Length [22:09:49]Host: 172.17.52.132:8080 [22:09:49]Content-Length: 1762 [22:09:49]Content-Type: application/json [22:09:49] [22:09:49]POST finish read [22:09:49]Found Content-Length = 1762 [22:09:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99988", "tax_sys" : 0, "items" : [ { "code": "4700003150936", "name": "\u041D\u043E\u0432\u0430\u044F \u0412\u043E\u0434\u043A\u0430 Organic 40% 0,48\u043B", "price" : 560.00, "quantity" : 2.000, "sum" : 1120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740733", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1388.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:09:49]execute_script... [22:09: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)99988", "tax_sys" : 0, "items" : [ { "code": "4700003150936", "name": "\u041D\u043E\u0432\u0430\u044F \u0412\u043E\u0434\u043A\u0430 Organic 40% 0,48\u043B", "price" : 560.00, "quantity" : 2.000, "sum" : 1120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740733", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1388.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:09:49]POST & json_proto [22:09:49]process_json_proto [22:09:49]json parsed OK: [22:09:49]protocol is kg_v1.0 [22:09:49]action value=close_receipt [22:09:49]process_action close_receipt [22:09:49]cmd_close_receipt [22:09:49]MH_GetDate [22:09:49]Write to MH i2c: F0 00 00 57 57 9D [22:09:49]Write i2c OK [22:09:49]MH_I2C_Read... [22:09:49]Read from MH i2c: F0 [22:09:49]MH_I2C_Read... [22:09:49]Read from MH i2c: F0 09 00 [22:09:49]MH_I2C_Read... [22:09:49]Read from MH i2c: F0 09 00 57 57 00 38 2E 14 67 5A BE F6 66 FB [22:09:49]GetLastDocTimeStamp 1729375367 [22:09:49]current date 1729375800 [22:09:49]FM_GetShiftState [22:09:49]SAM_PROTO_GetShiftState [22:09:49]wFMCommunicate request_size=4 [22:09:49]MH_SAM_APDU [22:09:49]CAPDU: 80 13 01 00 [22:09:49]Write to MH i2c: E2 08 00 58 57 80 13 01 00 00 00 00 00 2C [22:09:49]Write i2c OK [22:09:49]MH_I2C_Read... [22:09:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:09:49]Read from MH i2c: E2 [22:09:49]MH_I2C_Read... [22:09:49]Read from MH i2c: E2 0E 00 [22:09:49]MH_I2C_Read... [22:09:49]Read from MH i2c: E2 0E 00 58 57 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 D5 [22:09:49]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [22:09:49]wFMCommunicate OK [22:09:49]SAM_PROTO_GetShiftState done [22:09:49]FM_GetShiftState done [22:09:49]opened in 1729296173 [22:09:49]opened+sec_in_day 1729382573 [22:09:49]quantity*price = 112000 [22:09:49]sum+1 = 112001 [22:09:49]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000176448 Сок Piko Pulpy апельсин ПЭТ 1л 1.000 * 170.00 = 170.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700026030017 Курут классический 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607010740733 Чипсы Чипсоны шашлык 40г 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1388.00 НСП 1% : 12.27 НДС 12% : 147.39 Наличными: 1388.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 71 19.10.2024 22:10 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2610 ФПД: 247941856163762 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T221000&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2610&fm=247941856163762&tin=02508201610067®Number=0000000000207295&sum=138800 0 [22:09:50]StoreToDocumentArchive [22:09:50]shift 23 fd 2610 [22:09:50]save to /storage/0023/doc_00002610 [22:09:50]save last doc name /storage/0023/doc_00002610 to /storage/kkm_last_doc_name [22:09:50]save OK [22:09:50]Clear old archive folders... [22:09:50]ProcessDocumentItem done err = 0, tmpTLVsize=729 [22:09:50]tlvbuf is 0143AB50 [22:09:50]SAM_PROTO_ClearQueue [22:09:50]wFMCommunicate request_size=4 [22:09:50]MH_SAM_APDU [22:09:50]CAPDU: 80 09 00 00 [22:09:50]Write to MH i2c: E2 08 00 65 57 80 09 00 00 00 00 00 00 2E [22:09:50]Write i2c OK [22:09:50]MH_I2C_Read... [22:09:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:09:50]Read from MH i2c: E2 [22:09:50]MH_I2C_Read... [22:09:50]Read from MH i2c: E2 03 00 [22:09:50]MH_I2C_Read... [22:09:50]Read from MH i2c: E2 03 00 65 57 00 90 00 30 [22:09:50]RAPDU: 90 00 [22:09:50]wFMCommunicate OK [22:09:50]SAM_PROTO_ClearQueue done [22:09:50]KKMCreateOFDPacket [22:09:50]OFDProtocolAddRootSTLVToBuf [22:09:50]FM_MakeSignedData [22:09:50]FM_MakeSignedData [22:09:50]SAM_PROTO_SignData [22:09:50]wFMCommunicate request_size=4 [22:09:50]MH_SAM_APDU [22:09:50]CAPDU: 80 0D 01 02 [22:09:50]Write to MH i2c: E2 08 00 66 57 80 0D 01 02 00 00 00 00 36 [22:09:50]Write i2c OK [22:09:50]MH_I2C_Read... [22:09:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:09:50]Read from MH i2c: E2 [22:09:50]MH_I2C_Read... [22:09:50]Read from MH i2c: E2 03 00 [22:09:50]MH_I2C_Read... [22:09:50]Read from MH i2c: E2 03 00 66 57 00 90 00 31 [22:09:50]RAPDU: 90 00 [22:09:50]wFMCommunicate OK [22:09:50]wFMCommunicate request_size=255 [22:09:50]MH_SAM_APDU [22:09:50]CAPDU: 80 0D 02 02 FA 03 00 D9 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 80 B5 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 67 00 8A 04 0D 00 34 37 30 30 [22:09:50]Write to MH i2c: E2 02 01 67 57 80 0D 02 02 FA 00 03 00 D9 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 80 B5 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 67 00 8A 04 0D 00 34 37 30 30 00 00 18 [22:09:50]Write i2c OK [22:09:50]MH_I2C_Read... [22:09:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:09:51]Read from MH i2c: E2 [22:09:51]MH_I2C_Read... [22:09:51]Read from MH i2c: E2 03 00 [22:09:51]MH_I2C_Read... [22:09:51]Read from MH i2c: E2 03 00 67 57 00 90 00 32 [22:09:51]RAPDU: 90 00 [22:09:51]wFMCommunicate OK [22:09:51]wFMCommunicate request_size=255 [22:09:51]MH_SAM_APDU [22:09:51]CAPDU: 80 0D 02 02 FA 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 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 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 [22:09:51]Write to MH i2c: E2 02 01 68 57 80 0D 02 02 FA 00 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 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 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 00 00 0C [22:09:51]Write i2c OK [22:09:51]MH_I2C_Read... [22:09:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:09:51]Read from MH i2c: E2 [22:09:51]MH_I2C_Read... [22:09:51]Read from MH i2c: E2 03 00 [22:09:51]MH_I2C_Read... [22:09:51]Read from MH i2c: E2 03 00 68 57 00 90 00 33 [22:09:51]RAPDU: 90 00 [22:09:51]wFMCommunicate OK [22:09:51]wFMCommunicate request_size=238 [22:09:51]MH_SAM_APDU [22:09:51]CAPDU: 80 0D 02 02 E9 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 1E 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 39 00 00 00 00 07 04 06 00 30 1E 02 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 38 2E 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 32 0A 00 00 35 04 06 00 E1 80 76 42 F7 B2 [22:09:51]Write to MH i2c: E2 F1 00 69 57 80 0D 02 02 E9 00 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 1E 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 39 00 00 00 00 07 04 06 00 30 1E 02 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 38 2E 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 32 0A 00 00 35 04 06 00 E1 80 76 42 F7 B2 00 00 05 [22:09:51]Write i2c OK [22:09:51]MH_I2C_Read... [22:09:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:09:51]Read from MH i2c: E2 [22:09:51]MH_I2C_Read... [22:09:51]Read from MH i2c: E2 03 00 [22:09:51]MH_I2C_Read... [22:09:51]Read from MH i2c: E2 03 00 69 57 00 90 00 34 [22:09:51]RAPDU: 90 00 [22:09:51]wFMCommunicate OK [22:09:51]wFMCommunicate request_size=4 [22:09:51]MH_SAM_APDU [22:09:51]CAPDU: 80 0D 03 02 [22:09:51]Write to MH i2c: E2 08 00 6A 57 80 0D 03 02 00 00 00 00 3C [22:09:51]Write i2c OK [22:09:51]MH_I2C_Read... [22:09:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:09:51]Read from MH i2c: E2 [22:09:51]MH_I2C_Read... [22:09:51]Read from MH i2c: E2 0B 00 [22:09:51]MH_I2C_Read... [22:09:51]Read from MH i2c: E2 0B 00 6A 57 00 07 DE F9 5E BD 07 B6 4C 90 00 3F [22:09:51]RAPDU: 07 DE F9 5E BD 07 B6 4C 90 00 [22:09:51]wFMCommunicate OK [22:09:51]SAM_PROTO_SignData done [22:09:51]FM_MakeSignedData done [22:09:51]CreateOFDProtocolMessage [22:09:51]wFMCommunicate request_size=4 [22:09:51]MH_SAM_APDU [22:09:51]CAPDU: 80 11 00 00 [22:09:51]Write to MH i2c: E2 08 00 6B 57 80 11 00 00 00 00 00 00 3C [22:09:51]Write i2c OK [22:09:51]MH_I2C_Read... [22:09:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:09:51]Read from MH i2c: E2 [22:09:51]MH_I2C_Read... [22:09:51]Read from MH i2c: E2 17 00 [22:09:51]MH_I2C_Read... [22:09:51]Read from MH i2c: E2 17 00 6B 57 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 84 [22:09:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:09:51]wFMCommunicate OK [22:09:51]CreateOFDProtocolMessage done [22:09:51]OFDSenderStorePacket 2610 [22:09:51]StoreOFDPacket docnum=2610 [22:09:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 ED 02 00 00 48 9D E5 02 F0 64 5A 03 01 00 03 00 D9 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 80 B5 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 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 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 1E 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 39 00 00 00 00 07 04 06 00 30 1E 02 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 38 2E 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 32 0A 00 00 35 04 06 00 E1 80 76 42 F7 B2 07 DE F9 5E BD 07 B6 4C [22:09:51]CheckFolder [22:09:51]dirname=/storage/ofd_packets [22:09:51]CheckFolder done [22:09:51]ProducePacketName [22:09:51]name=ofd_packets/00002610 [22:09:51]NVStorageSaveData ofd_packets/00002610 [22:09:51]File name is /storage/ofd_packets/00002610 [22:09:51]Write 779 bytes [22:09:51]NVStorageSaveData done [22:09:51]OFDSenderStorePacket done [22:09:51]KKMCreateOFDPacket done [22:09:51]NVStorageSaveData kkm_last_timestamp [22:09:51]File name is /storage/kkm_last_timestamp [22:09:51]Write 4 bytes [22:09:51]NVStorageSaveData done [22:09:51]ExternCall_PrintAddStr [22:09:51]wPrintStart [22:09:51]Write to MH i2c: 01 00 00 6C 57 C3 [22:09:51]Write i2c OK [22:09:51]MH_I2C_Read... [22:09:51]Read from MH i2c: 01 [22:09:51]MH_I2C_Read... [22:09:51]Read from MH i2c: 01 07 00 [22:09:51]MH_I2C_Read... [22:09:51]Read from MH i2c: 01 07 00 6C 57 00 00 00 00 00 FF 0F D8 [22:09:51]RasterBufferAndPrint [22:09:51]line Счет N : (3)99988 [22:09:51]line ИНН: 02508201610067 [22:09:51]line Контрольно-Кассовый Чек [22:09:51]line ПРОДАЖА [22:09:51]line Товар: 4700003150936 [22:09:51]line Новая Водка Organic 40% 0,48л [22:09:51]line 2.000 * 560.00 [22:09:51]line = 1120.00 [22:09:51]line НДС 12% НСП 1% [22:09:51]line > о реализуемом товаре [22:09:51]line Товар: 5449000176448 [22:09:51]line Сок Piko Pulpy апельсин ПЭТ 1л [22:09:51]line 1.000 * 170.00 [22:09:51]line = 170.00 [22:09:51]line НДС 12% НСП 1% [22:09:51]line > о реализуемом товаре [22:09:51]line Товар: 4700026030017 [22:09:51]line Курут классический [22:09:51]line 1.000 * 49.00 [22:09:51]line = 49.00 [22:09:51]line НДС 12% НСП 1% [22:09:51]line > о реализуемом товаре [22:09:51]line Товар: 4607010740733 [22:09:51]line Чипсы Чипсоны шашлык 40г [22:09:51]line 1.000 * 45.00 [22:09:51]line = 45.00 [22:09:51]line НДС 12% НСП 1% [22:09:51]line > о реализуемом товаре [22:09:51]line Товар: 2000031750019 [22:09:51]line Пакет Партнер Нефть [22:09:51]line 1.000 * 4.00 [22:09:51]line = 4.00 [22:09:51]line НДС 12% НСП 1% [22:09:51]line > о реализуемом товаре [22:09:51]line ИТОГО: 1388.00 [22:09:51]line НСП 1% : 12.27 [22:09:51]line НДС 12% : 147.39 [22:09:51]line Наличными: 1388.00 [22:09:52]line Безнал.: 0.00 [22:09:52]line Место: АЗС № 162 "Партнер Нефть" [22:09:52]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [22:09:52]line СНО: Общий режим [22:09:52]line Чек 71 19.10.2024 22:10 [22:09:52]line Смена: 23 ФФД: 1.0 [22:09:52]line ЗНМ: 0300000191 [22:09:52]line РНМ: 0000000000207295 [22:09:52]line Версия ККМ: v1.0 [22:09:52]line ФМ: 0000000002342820 [22:09:52]line ФД: 2610 [22:09:52]line ФПД: 247941856163762 [22:09:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T221000&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2610&fm=247941856163762&tin=02508201610067®Number=0000000000207295&sum=138800 [22:09:52]line 0 [22:09:52]OFD Sender: Processing packet 2610 [packets to send 1, broken 0] [22:09:52]ProducePacketName [22:09:52]name=ofd_packets/00002610 [22:09:52]OFD Sender: To server: pG, [22:09:52]CommunicateWithHost lk.salyk.kg:30040 [22:09:52]ConnectInit lk.salyk.kg [22:09:52]written 0, free lines is 4095 [22:09:52]Connected sock=10 [22:09:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 ED 02 00 00 48 9D E5 02 F0 64 5A 03 01 00 03 00 D9 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 80 B5 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 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 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 1E 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 39 00 00 00 00 07 04 06 00 30 1E 02 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 38 2E 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 32 0A 00 00 35 04 06 00 E1 80 76 42 F7 B2 07 DE F9 5E BD 07 B6 4C [22:09:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 DD 92 47 00 8B 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 32 33 34 32 38 32 30 10 04 04 00 32 0A 00 00 F4 03 04 00 99 D9 13 67 B6 04 01 00 00 04 C5 2D D2 9D 92 14 A9 [22:09:52]CommunicateWithHost err = 0 [22:09:52]CheckOFDResponse [22:09:52]1017 (14) - 77093643461234 [22:09:52]1041 (16) - 0000000002342820 [22:09:52]1040 (4) - 2610 [22:09:52]1012 (4) - 19.10.2024 16:08 [22:09:52]1206 (1) - 0 [22:09:52]OFD Sender: Remove packet 2610 [22:09:52]ProducePacketName [22:09:52]name=ofd_packets/00002610 [22:09:52]NVStorageDeleteData [22:09:52]Write to MH i2c: 01 00 00 AE 57 05 [22:09:52]Write i2c OK [22:09:52]MH_I2C_Read... [22:09:52]Read from MH i2c: 01 [22:09:52]MH_I2C_Read... [22:09:52]Read from MH i2c: 01 07 00 [22:09:52]MH_I2C_Read... [22:09:52]Read from MH i2c: 01 07 00 AE 57 00 00 00 00 00 2E 0B 45 [22:09:52]RasterBufferAndPrint [22:09:52]line [22:09:52]line [22:09:52]line [22:09:52]line [22:09:52]line [22:09:52]written 0, free lines is 2869 [22:09:52]MH_Cut [22:09:52]Write to MH i2c: D1 01 00 B5 57 01 DE [22:09:52]Write i2c OK [22:09:52]MH_I2C_Read... [22:09:52]Read from MH i2c: D1 [22:09:52]MH_I2C_Read... [22:09:52]Read from MH i2c: D1 01 00 [22:09:52]MH_I2C_Read... [22:09:52]Read from MH i2c: D1 01 00 B5 57 00 DD [22:09:52]Write to MH i2c: 01 00 00 B6 57 0D [22:09:52]Write i2c OK [22:09:52]MH_I2C_Read... [22:09:53]OFD Sender: No OFD packet to send [22:09:54]*** Cut start [22:09:54]*** Partial cut [22:09:54]*** CUTSNS_PIN = 1 [22:09:54]*** CUTSNS_PIN = 0 [22:09:54]*** Brake cut motor [22:09:54]Read from MH i2c: 01 [22:09:54]MH_I2C_Read... [22:09:54]*** Stop cut motor [22:09:54]*** Cut end [22:09:54]Read from MH i2c: 01 07 00 [22:09:54]MH_I2C_Read... [22:09:54]Read from MH i2c: 01 07 00 B6 57 00 00 00 00 00 FF 0F 22 [22:09:54]process_action close_receipt done [22:09:54]requested_data is exist [22:09:54]produce_requested_data [22:09:54]requested_item fm.sn is exist - process it [22:09:54]wFMCommunicate request_size=4 [22:09:54]MH_SAM_APDU [22:09:54]CAPDU: 80 11 00 00 [22:09:54]Write to MH i2c: E2 08 00 B7 57 80 11 00 00 00 00 00 00 88 [22:09:54]Write i2c OK [22:09:54]MH_I2C_Read... [22:09:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:09:54]Read from MH i2c: E2 [22:09:54]MH_I2C_Read... [22:09:54]Read from MH i2c: E2 17 00 [22:09:54]MH_I2C_Read... [22:09:54]Read from MH i2c: E2 17 00 B7 57 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 D0 [22:09:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:09:54]wFMCommunicate OK [22:09:54]requested_item fd.num is exist - process it [22:09:54]SAM_PROTO_GetFieldsCounters [22:09:54]wFMCommunicate request_size=4 [22:09:54]MH_SAM_APDU [22:09:54]CAPDU: 80 13 00 00 [22:09:54]Write to MH i2c: E2 08 00 B8 57 80 13 00 00 00 00 00 00 8B [22:09:54]Write i2c OK [22:09:54]MH_I2C_Read... [22:09:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:09:54]Read from MH i2c: E2 [22:09:54]MH_I2C_Read... [22:09:54]Read from MH i2c: E2 62 00 [22:09:54]MH_I2C_Read... [22:09:54]Read from MH i2c: E2 62 00 B8 57 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 32 0A 00 00 0E 04 04 00 17 00 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 C9 [22:09:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 32 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:09:54]wFMCommunicate OK [22:09:54]SAM_PROTO_GetFieldsCounters done [22:09:54]requested_item shift.num is exist - process it [22:09:54]requested_item shift.opened is exist - process it [22:09:54]req_shift_opened [22:09:54]FM_GetShiftState [22:09:54]SAM_PROTO_GetShiftState [22:09:54]wFMCommunicate request_size=4 [22:09:54]MH_SAM_APDU [22:09:54]CAPDU: 80 13 01 00 [22:09:54]Write to MH i2c: E2 08 00 B9 57 80 13 01 00 00 00 00 00 8D [22:09:54]Write i2c OK [22:09:54]MH_I2C_Read... [22:09:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:09:54]Read from MH i2c: E2 [22:09:54]MH_I2C_Read... [22:09:54]Read from MH i2c: E2 0E 00 [22:09:54]MH_I2C_Read... [22:09:54]Read from MH i2c: E2 0E 00 B9 57 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 36 [22:09:54]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [22:09:55]wFMCommunicate OK [22:09:55]SAM_PROTO_GetShiftState done [22:09:55]FM_GetShiftState done [22:09:55]req_shift_opened done [22:09:55]requested_item shift.open_date is exist - process it [22:09:55]req_shift_open_date [22:09:55]req_shift_open_date done [22:09:55]produce_requested_data done [22:09:55]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2610,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [22:09:55]process_action_free close_receipt [22:09:55]json_value_free [22:09:55]json_value_free done [22:09:55]process_json_proto returns [22:09:55]Send response to host [22:09:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2610,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [22:09:55]free response buf [22:09:55]execute_script done [22:09:55]execute_script returns [22:09:55]free content buf [22:09:55]Sock 7.Close socket [22:09:55]Sock 7.Thread stoped [22:09:58]OFD Sender: No OFD packet to send [22:10:03]OFD Sender: No OFD packet to send [22:10:08]OFD Sender: No OFD packet to send [22:10:13]OFD Sender: No OFD packet to send [22:10:18]OFD Sender: No OFD packet to send [22:10:23]OFD Sender: No OFD packet to send [22:10:28]OFD Sender: No OFD packet to send [22:10:33]OFD Sender: No OFD packet to send [22:10:38]OFD Sender: No OFD packet to send [22:10:43]OFD Sender: No OFD packet to send [22:10:48]OFD Sender: No OFD packet to send [22:10:53]OFD Sender: No OFD packet to send [22:10:58]OFD Sender: No OFD packet to send [22:11:03]OFD Sender: No OFD packet to send [22:11:08]OFD Sender: No OFD packet to send [22:11:13]OFD Sender: No OFD packet to send [22:11:18]OFD Sender: No OFD packet to send [22:11:23]OFD Sender: No OFD packet to send [22:11:28]OFD Sender: No OFD packet to send [22:11:33]OFD Sender: No OFD packet to send [22:11:38]OFD Sender: No OFD packet to send [22:11:43]OFD Sender: No OFD packet to send [22:11:48]OFD Sender: No OFD packet to send [22:11:53]OFD Sender: No OFD packet to send [22:11:58]OFD Sender: No OFD packet to send [22:12:03]OFD Sender: No OFD packet to send [22:12:08]OFD Sender: No OFD packet to send [22:12:13]OFD Sender: No OFD packet to send [22:12:18]OFD Sender: No OFD packet to send [22:12:23]OFD Sender: No OFD packet to send [22:12:28]OFD Sender: No OFD packet to send [22:12:33]OFD Sender: No OFD packet to send [22:12:38]OFD Sender: No OFD packet to send [22:12:43]OFD Sender: No OFD packet to send [22:12:47]accept exits with 9 [22:12:47]New connection [22:12:47]New thread 3066707300 created [22:12:47]Thread 3066850660 joined [22:12:47]Waiting for new connection... [22:12:47] Sock 9.Parse request [22:12:47]Sock 9.Check first char [22:12:47]Sock 9.First char is OK [22:12:47]request: POST /json_proto HTTP/1.0 [22:12:47]Method: POST [22:12:47]URL: /json_proto [22:12:47]Method is POST - this is cgi request [22:12:47]url: /json_proto [22:12:47]query_string will be loaded in cgi processing [22:12:47]execute_cgi json_proto POST (null) [22:12:47]execute_cgi path=json_proto method=POST [22:12:47]POST find Content-Length [22:12:47]Host: 172.17.52.132:8080 [22:12:47]Content-Length: 620 [22:12:47]Content-Type: application/json [22:12:47] [22:12:47]POST finish read [22:12:47]Found Content-Length = 620 [22:12:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99989", "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" ] } } [22:12:47]execute_script... [22:12: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)99989", "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" ] } } [22:12:47]POST & json_proto [22:12:47]process_json_proto [22:12:47]json parsed OK: [22:12:47]protocol is kg_v1.0 [22:12:47]action value=close_receipt [22:12:47]process_action close_receipt [22:12:47]cmd_close_receipt [22:12:47]MH_GetDate [22:12:47]Write to MH i2c: F0 00 00 BA 57 00 [22:12:47]Write i2c OK [22:12:47]MH_I2C_Read... [22:12:47]Read from MH i2c: F0 [22:12:47]MH_I2C_Read... [22:12:47]Read from MH i2c: F0 09 00 [22:12:47]MH_I2C_Read... [22:12:47]Read from MH i2c: F0 09 00 BA 57 00 EB 2E 14 67 5A BE F6 66 11 [22:12:47]GetLastDocTimeStamp 1729375800 [22:12:47]current date 1729375979 [22:12:47]FM_GetShiftState [22:12:47]SAM_PROTO_GetShiftState [22:12:47]wFMCommunicate request_size=4 [22:12:47]MH_SAM_APDU [22:12:47]CAPDU: 80 13 01 00 [22:12:47]Write to MH i2c: E2 08 00 BB 57 80 13 01 00 00 00 00 00 8F [22:12:47]Write i2c OK [22:12:47]MH_I2C_Read... [22:12:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:12:47]Read from MH i2c: E2 [22:12:47]MH_I2C_Read... [22:12:47]Read from MH i2c: E2 0E 00 [22:12:47]MH_I2C_Read... [22:12:47]Read from MH i2c: E2 0E 00 BB 57 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 38 [22:12:47]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [22:12:47]wFMCommunicate OK [22:12:47]SAM_PROTO_GetShiftState done [22:12:47]FM_GetShiftState done [22:12:47]opened in 1729296173 [22:12:47]opened+sec_in_day 1729382573 [22:12:47]quantity*price = 28800 [22:12:47]sum+1 = 28801 [22:12:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.55 НДС 12% : 30.58 Наличными: 288.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 72 19.10.2024 22:12 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2611 ФПД: 69212271086218 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T221259&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2611&fm=69212271086218&tin=02508201610067®Number=0000000000207295&sum=28800 0 [22:12:48]StoreToDocumentArchive [22:12:48]shift 23 fd 2611 [22:12:48]save to /storage/0023/doc_00002611 [22:12:48]save last doc name /storage/0023/doc_00002611 to /storage/kkm_last_doc_name [22:12:48]save OK [22:12:48]Clear old archive folders... [22:12:48]ProcessDocumentItem done err = 0, tmpTLVsize=273 [22:12:48]tlvbuf is 014AB640 [22:12:48]SAM_PROTO_ClearQueue [22:12:48]wFMCommunicate request_size=4 [22:12:48]MH_SAM_APDU [22:12:48]CAPDU: 80 09 00 00 [22:12:48]Write to MH i2c: E2 08 00 C8 57 80 09 00 00 00 00 00 00 91 [22:12:48]Write i2c OK [22:12:48]MH_I2C_Read... [22:12:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:12:48]Read from MH i2c: E2 [22:12:48]MH_I2C_Read... [22:12:48]Read from MH i2c: E2 03 00 [22:12:48]MH_I2C_Read... [22:12:48]Read from MH i2c: E2 03 00 C8 57 00 90 00 93 [22:12:48]RAPDU: 90 00 [22:12:48]wFMCommunicate OK [22:12:48]SAM_PROTO_ClearQueue done [22:12:48]KKMCreateOFDPacket [22:12:48]OFDProtocolAddRootSTLVToBuf [22:12:48]FM_MakeSignedData [22:12:48]FM_MakeSignedData [22:12:48]SAM_PROTO_SignData [22:12:48]wFMCommunicate request_size=4 [22:12:48]MH_SAM_APDU [22:12:48]CAPDU: 80 0D 01 02 [22:12:48]Write to MH i2c: E2 08 00 C9 57 80 0D 01 02 00 00 00 00 99 [22:12:48]Write i2c OK [22:12:48]MH_I2C_Read... [22:12:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:12:48]Read from MH i2c: E2 [22:12:48]MH_I2C_Read... [22:12:48]Read from MH i2c: E2 03 00 [22:12:48]MH_I2C_Read... [22:12:48]Read from MH i2c: E2 03 00 C9 57 00 90 00 94 [22:12:48]RAPDU: 90 00 [22:12:48]wFMCommunicate OK [22:12:48]wFMCommunicate request_size=255 [22:12:48]MH_SAM_APDU [22:12:48]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 48 00 00 00 F4 03 04 00 EB 2E 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 [22:12:48]Write to MH i2c: E2 02 01 CA 57 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 48 00 00 00 F4 03 04 00 EB 2E 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 00 00 C9 [22:12:48]Write i2c OK [22:12:48]MH_I2C_Read... [22:12:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:12:48]Read from MH i2c: E2 [22:12:48]MH_I2C_Read... [22:12:48]Read from MH i2c: E2 03 00 [22:12:48]MH_I2C_Read... [22:12:48]Read from MH i2c: E2 03 00 CA 57 00 90 00 95 [22:12:48]RAPDU: 90 00 [22:12:48]wFMCommunicate OK [22:12:48]wFMCommunicate request_size=32 [22:12:48]MH_SAM_APDU [22:12:48]CAPDU: 80 0D 02 02 1B 30 30 32 33 34 32 38 32 30 10 04 04 00 33 0A 00 00 35 04 06 00 3E F2 BC D5 0A 8A [22:12:48]Write to MH i2c: E2 23 00 CB 57 80 0D 02 02 1B 00 30 30 32 33 34 32 38 32 30 10 04 04 00 33 0A 00 00 35 04 06 00 3E F2 BC D5 0A 8A 00 00 80 [22:12:48]Write i2c OK [22:12:48]MH_I2C_Read... [22:12:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:12:48]Read from MH i2c: E2 [22:12:48]MH_I2C_Read... [22:12:48]Read from MH i2c: E2 03 00 [22:12:48]MH_I2C_Read... [22:12:48]Read from MH i2c: E2 03 00 CB 57 00 90 00 96 [22:12:48]RAPDU: 90 00 [22:12:48]wFMCommunicate OK [22:12:48]wFMCommunicate request_size=4 [22:12:48]MH_SAM_APDU [22:12:48]CAPDU: 80 0D 03 02 [22:12:48]Write to MH i2c: E2 08 00 CC 57 80 0D 03 02 00 00 00 00 9E [22:12:48]Write i2c OK [22:12:48]MH_I2C_Read... [22:12:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:12:49]Read from MH i2c: E2 [22:12:49]MH_I2C_Read... [22:12:49]Read from MH i2c: E2 0B 00 [22:12:49]MH_I2C_Read... [22:12:49]Read from MH i2c: E2 0B 00 CC 57 00 D0 FF C1 52 98 4E 90 23 90 00 1A [22:12:49]RAPDU: D0 FF C1 52 98 4E 90 23 90 00 [22:12:49]wFMCommunicate OK [22:12:49]SAM_PROTO_SignData done [22:12:49]FM_MakeSignedData done [22:12:49]CreateOFDProtocolMessage [22:12:49]wFMCommunicate request_size=4 [22:12:49]MH_SAM_APDU [22:12:49]CAPDU: 80 11 00 00 [22:12:49]Write to MH i2c: E2 08 00 CD 57 80 11 00 00 00 00 00 00 9E [22:12:49]Write i2c OK [22:12:49]MH_I2C_Read... [22:12:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:12:49]Read from MH i2c: E2 [22:12:49]MH_I2C_Read... [22:12:49]Read from MH i2c: E2 17 00 [22:12:49]MH_I2C_Read... [22:12:49]Read from MH i2c: E2 17 00 CD 57 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 E6 [22:12:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:12:49]wFMCommunicate OK [22:12:49]CreateOFDProtocolMessage done [22:12:49]OFDSenderStorePacket 2611 [22:12:49]StoreOFDPacket docnum=2611 [22:12:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 98 85 1D 01 25 CA 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 48 00 00 00 F4 03 04 00 EB 2E 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 33 0A 00 00 35 04 06 00 3E F2 BC D5 0A 8A D0 FF C1 52 98 4E 90 23 [22:12:49]CheckFolder [22:12:49]dirname=/storage/ofd_packets [22:12:49]CheckFolder done [22:12:49]ProducePacketName [22:12:49]name=ofd_packets/00002611 [22:12:49]NVStorageSaveData ofd_packets/00002611 [22:12:49]File name is /storage/ofd_packets/00002611 [22:12:49]Write 323 bytes [22:12:49]NVStorageSaveData done [22:12:49]OFDSenderStorePacket done [22:12:49]KKMCreateOFDPacket done [22:12:49]NVStorageSaveData kkm_last_timestamp [22:12:49]File name is /storage/kkm_last_timestamp [22:12:49]Write 4 bytes [22:12:49]NVStorageSaveData done [22:12:49]ExternCall_PrintAddStr [22:12:49]wPrintStart [22:12:49]Write to MH i2c: 01 00 00 CE 57 25 [22:12:49]Write i2c OK [22:12:49]MH_I2C_Read... [22:12:49]Read from MH i2c: 01 [22:12:49]MH_I2C_Read... [22:12:49]Read from MH i2c: 01 07 00 [22:12:49]MH_I2C_Read... [22:12:49]Read from MH i2c: 01 07 00 CE 57 00 00 00 00 00 FF 0F 3A [22:12:49]RasterBufferAndPrint [22:12:49]line Счет N : (3)99989 [22:12:49]line ИНН: 02508201610067 [22:12:49]line Контрольно-Кассовый Чек [22:12:49]line ПРОДАЖА [22:12:49]line Товар: 48743570 [22:12:49]line Сигареты Winston XStyle Blue [22:12:49]line 2.000 * 144.00 [22:12:49]line = 288.00 [22:12:49]line НДС 12% НСП 1% [22:12:49]line > о реализуемом товаре [22:12:49]line ИТОГО: 288.00 [22:12:49]line НСП 1% : 2.55 [22:12:49]line НДС 12% : 30.58 [22:12:49]line Наличными: 288.00 [22:12:49]line Безнал.: 0.00 [22:12:49]line Место: АЗС № 162 "Партнер Нефть" [22:12:49]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [22:12:49]line СНО: Общий режим [22:12:49]line Чек 72 19.10.2024 22:12 [22:12:49]line Смена: 23 ФФД: 1.0 [22:12:49]line ЗНМ: 0300000191 [22:12:49]line РНМ: 0000000000207295 [22:12:49]line Версия ККМ: v1.0 [22:12:49]line ФМ: 0000000002342820 [22:12:49]line ФД: 2611 [22:12:49]line ФПД: 69212271086218 [22:12:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T221259&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2611&fm=69212271086218&tin=02508201610067®Number=0000000000207295&sum=28800 [22:12:49]line 0 [22:12:49]OFD Sender: Processing packet 2611 [packets to send 1, broken 0] [22:12:49]ProducePacketName [22:12:49]name=ofd_packets/00002611 [22:12:49]OFD Sender: To server: pG, [22:12:49]CommunicateWithHost lk.salyk.kg:30040 [22:12:49]ConnectInit lk.salyk.kg [22:12:49]written 0, free lines is 4095 [22:12:49]Connected sock=7 [22:12:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 25 01 00 00 98 85 1D 01 25 CA 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 48 00 00 00 F4 03 04 00 EB 2E 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 33 0A 00 00 35 04 06 00 3E F2 BC D5 0A 8A D0 FF C1 52 98 4E 90 23 [22:12:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 23 05 47 00 01 3A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 33 0A 00 00 F4 03 04 00 4A DA 13 67 B6 04 01 00 00 6A 50 1F 06 26 3F 40 AD [22:12:49]CommunicateWithHost err = 0 [22:12:49]CheckOFDResponse [22:12:49]1017 (14) - 77093643461234 [22:12:49]1041 (16) - 0000000002342820 [22:12:49]1040 (4) - 2611 [22:12:49]1012 (4) - 19.10.2024 16:11 [22:12:49]1206 (1) - 0 [22:12:49]OFD Sender: Remove packet 2611 [22:12:49]ProducePacketName [22:12:49]name=ofd_packets/00002611 [22:12:49]NVStorageDeleteData [22:12:49]Write to MH i2c: 01 00 00 F6 57 4D [22:12:49]Write i2c OK [22:12:49]MH_I2C_Read... [22:12:49]Read from MH i2c: 01 [22:12:49]MH_I2C_Read... [22:12:49]Read from MH i2c: 01 07 00 [22:12:49]MH_I2C_Read... [22:12:49]Read from MH i2c: 01 07 00 F6 57 00 00 00 00 00 CB 0C 2B [22:12:49]RasterBufferAndPrint [22:12:49]line [22:12:49]line [22:12:49]line [22:12:49]line [22:12:49]line [22:12:49]written 0, free lines is 3280 [22:12:49]MH_Cut [22:12:49]Write to MH i2c: D1 01 00 FD 57 01 26 [22:12:49]Write i2c OK [22:12:49]MH_I2C_Read... [22:12:49]Read from MH i2c: D1 [22:12:49]MH_I2C_Read... [22:12:49]Read from MH i2c: D1 01 00 [22:12:49]MH_I2C_Read... [22:12:49]Read from MH i2c: D1 01 00 FD 57 00 25 [22:12:49]Write to MH i2c: 01 00 00 FE 57 55 [22:12:49]Write i2c OK [22:12:49]MH_I2C_Read... [22:12:50]OFD Sender: No OFD packet to send [22:12:50]*** Cut start [22:12:50]*** Partial cut [22:12:50]*** CUTSNS_PIN = 1 [22:12:50]*** CUTSNS_PIN = 0 [22:12:51]*** Brake cut motor [22:12:51]Read from MH i2c: 01 [22:12:51]MH_I2C_Read... [22:12:51]*** Stop cut motor [22:12:51]*** Cut end [22:12:51]Read from MH i2c: 01 07 00 [22:12:51]MH_I2C_Read... [22:12:51]Read from MH i2c: 01 07 00 FE 57 00 00 00 00 00 FF 0F 6A [22:12:51]process_action close_receipt done [22:12:51]requested_data is exist [22:12:51]produce_requested_data [22:12:51]requested_item fm.sn is exist - process it [22:12:51]wFMCommunicate request_size=4 [22:12:51]MH_SAM_APDU [22:12:51]CAPDU: 80 11 00 00 [22:12:51]Write to MH i2c: E2 08 00 FF 57 80 11 00 00 00 00 00 00 D0 [22:12:51]Write i2c OK [22:12:51]MH_I2C_Read... [22:12:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:12:51]Read from MH i2c: E2 [22:12:51]MH_I2C_Read... [22:12:51]Read from MH i2c: E2 17 00 [22:12:51]MH_I2C_Read... [22:12:51]Read from MH i2c: E2 17 00 FF 57 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 18 [22:12:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:12:51]wFMCommunicate OK [22:12:51]requested_item fd.num is exist - process it [22:12:51]SAM_PROTO_GetFieldsCounters [22:12:51]wFMCommunicate request_size=4 [22:12:51]MH_SAM_APDU [22:12:51]CAPDU: 80 13 00 00 [22:12:51]Write to MH i2c: E2 08 00 00 58 80 13 00 00 00 00 00 00 D4 [22:12:51]Write i2c OK [22:12:51]MH_I2C_Read... [22:12:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:12:51]Read from MH i2c: E2 [22:12:51]MH_I2C_Read... [22:12:51]Read from MH i2c: E2 62 00 [22:12:51]MH_I2C_Read... [22:12:51]Read from MH i2c: E2 62 00 00 58 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 33 0A 00 00 0E 04 04 00 17 00 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 16 [22:12:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 33 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:12:51]wFMCommunicate OK [22:12:51]SAM_PROTO_GetFieldsCounters done [22:12:51]requested_item shift.num is exist - process it [22:12:51]requested_item shift.opened is exist - process it [22:12:51]req_shift_opened [22:12:51]FM_GetShiftState [22:12:51]SAM_PROTO_GetShiftState [22:12:51]wFMCommunicate request_size=4 [22:12:51]MH_SAM_APDU [22:12:51]CAPDU: 80 13 01 00 [22:12:51]Write to MH i2c: E2 08 00 01 58 80 13 01 00 00 00 00 00 D6 [22:12:51]Write i2c OK [22:12:51]MH_I2C_Read... [22:12:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:12:51]Read from MH i2c: E2 [22:12:51]MH_I2C_Read... [22:12:51]Read from MH i2c: E2 0E 00 [22:12:51]MH_I2C_Read... [22:12:51]Read from MH i2c: E2 0E 00 01 58 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 7F [22:12:51]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [22:12:51]wFMCommunicate OK [22:12:51]SAM_PROTO_GetShiftState done [22:12:51]FM_GetShiftState done [22:12:51]req_shift_opened done [22:12:51]requested_item shift.open_date is exist - process it [22:12:51]req_shift_open_date [22:12:51]req_shift_open_date done [22:12:51]produce_requested_data done [22:12:51]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2611,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [22:12:51]process_action_free close_receipt [22:12:51]json_value_free [22:12:51]json_value_free done [22:12:51]process_json_proto returns [22:12:51]Send response to host [22:12:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2611,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [22:12:51]free response buf [22:12:51]execute_script done [22:12:51]execute_script returns [22:12:51]free content buf [22:12:51]Sock 9.Close socket [22:12:51]Sock 9.Thread stoped [22:12:55]OFD Sender: No OFD packet to send [22:13:00]OFD Sender: No OFD packet to send [22:13:05]OFD Sender: No OFD packet to send [22:13:10]OFD Sender: No OFD packet to send [22:13:15]OFD Sender: No OFD packet to send [22:13:20]OFD Sender: No OFD packet to send [22:13:25]OFD Sender: No OFD packet to send [22:13:30]OFD Sender: No OFD packet to send [22:13:35]OFD Sender: No OFD packet to send [22:13:40]OFD Sender: No OFD packet to send [22:13:45]OFD Sender: No OFD packet to send [22:13:50]OFD Sender: No OFD packet to send [22:13:55]OFD Sender: No OFD packet to send [22:14:00]OFD Sender: No OFD packet to send [22:14:05]OFD Sender: No OFD packet to send [22:14:10]OFD Sender: No OFD packet to send [22:14:15]OFD Sender: No OFD packet to send [22:14:20]OFD Sender: No OFD packet to send [22:14:25]OFD Sender: No OFD packet to send [22:14:30]OFD Sender: No OFD packet to send [22:14:35]OFD Sender: No OFD packet to send [22:14:40]OFD Sender: No OFD packet to send [22:14:45]OFD Sender: No OFD packet to send [22:14:50]OFD Sender: No OFD packet to send [22:14:55]OFD Sender: No OFD packet to send [22:15:00]OFD Sender: No OFD packet to send [22:15:05]OFD Sender: No OFD packet to send [22:15:10]OFD Sender: No OFD packet to send [22:15:15]OFD Sender: No OFD packet to send [22:15:20]OFD Sender: No OFD packet to send [22:15:25]OFD Sender: No OFD packet to send [22:15:30]OFD Sender: No OFD packet to send [22:15:35]OFD Sender: No OFD packet to send [22:15:40]OFD Sender: No OFD packet to send [22:15:45]OFD Sender: No OFD packet to send [22:15:50]OFD Sender: No OFD packet to send [22:15:55]OFD Sender: No OFD packet to send [22:16:00]OFD Sender: No OFD packet to send [22:16:05]OFD Sender: No OFD packet to send [22:16:10]OFD Sender: No OFD packet to send [22:16:15]OFD Sender: No OFD packet to send [22:16:20]OFD Sender: No OFD packet to send [22:16:25]OFD Sender: No OFD packet to send [22:16:30]OFD Sender: No OFD packet to send [22:16:35]OFD Sender: No OFD packet to send [22:16:40]OFD Sender: No OFD packet to send [22:16:45]OFD Sender: No OFD packet to send [22:16:50]OFD Sender: No OFD packet to send [22:16:55]OFD Sender: No OFD packet to send [22:17:00]OFD Sender: No OFD packet to send [22:17:05]OFD Sender: No OFD packet to send [22:17:10]OFD Sender: No OFD packet to send [22:17:15]OFD Sender: No OFD packet to send [22:17:20]OFD Sender: No OFD packet to send [22:17:25]OFD Sender: No OFD packet to send [22:17:30]OFD Sender: No OFD packet to send [22:17:35]OFD Sender: No OFD packet to send [22:17:40]OFD Sender: No OFD packet to send [22:17:45]OFD Sender: No OFD packet to send [22:17:50]OFD Sender: No OFD packet to send [22:17:55]OFD Sender: No OFD packet to send [22:18:00]OFD Sender: No OFD packet to send [22:18:05]OFD Sender: No OFD packet to send [22:18:10]OFD Sender: No OFD packet to send [22:18:15]OFD Sender: No OFD packet to send [22:18:20]OFD Sender: No OFD packet to send [22:18:25]OFD Sender: No OFD packet to send [22:18:30]OFD Sender: No OFD packet to send [22:18:35]OFD Sender: No OFD packet to send [22:18:40]OFD Sender: No OFD packet to send [22:18:45]OFD Sender: No OFD packet to send [22:18:50]OFD Sender: No OFD packet to send [22:18:55]OFD Sender: No OFD packet to send [22:19:00]OFD Sender: No OFD packet to send [22:19:05]OFD Sender: No OFD packet to send [22:19:10]OFD Sender: No OFD packet to send [22:19:15]OFD Sender: No OFD packet to send [22:19:20]OFD Sender: No OFD packet to send [22:19:25]OFD Sender: No OFD packet to send [22:19:30]OFD Sender: No OFD packet to send [22:19:35]OFD Sender: No OFD packet to send [22:19:40]OFD Sender: No OFD packet to send [22:19:45]OFD Sender: No OFD packet to send [22:19:50]OFD Sender: No OFD packet to send [22:19:55]OFD Sender: No OFD packet to send [22:20:00]OFD Sender: No OFD packet to send [22:20:05]OFD Sender: No OFD packet to send [22:20:10]OFD Sender: No OFD packet to send [22:20:15]OFD Sender: No OFD packet to send [22:20:20]OFD Sender: No OFD packet to send [22:20:25]OFD Sender: No OFD packet to send [22:20:30]OFD Sender: No OFD packet to send [22:20:35]OFD Sender: No OFD packet to send [22:20:40]OFD Sender: No OFD packet to send [22:20:45]OFD Sender: No OFD packet to send [22:20:50]OFD Sender: No OFD packet to send [22:20:55]OFD Sender: No OFD packet to send [22:21:00]OFD Sender: No OFD packet to send [22:21:05]OFD Sender: No OFD packet to send [22:21:10]OFD Sender: No OFD packet to send [22:21:15]OFD Sender: No OFD packet to send [22:21:20]OFD Sender: No OFD packet to send [22:21:25]OFD Sender: No OFD packet to send [22:21:30]OFD Sender: No OFD packet to send [22:21:35]OFD Sender: No OFD packet to send [22:21:40]OFD Sender: No OFD packet to send [22:21:45]OFD Sender: No OFD packet to send [22:21:50]OFD Sender: No OFD packet to send [22:21:55]OFD Sender: No OFD packet to send [22:22:00]OFD Sender: No OFD packet to send [22:22:05]OFD Sender: No OFD packet to send [22:22:10]OFD Sender: No OFD packet to send [22:22:15]OFD Sender: No OFD packet to send [22:22:20]OFD Sender: No OFD packet to send [22:22:25]OFD Sender: No OFD packet to send [22:22:30]OFD Sender: No OFD packet to send [22:22:35]OFD Sender: No OFD packet to send [22:22:40]OFD Sender: No OFD packet to send [22:22:45]OFD Sender: No OFD packet to send [22:22:50]OFD Sender: No OFD packet to send [22:22:55]OFD Sender: No OFD packet to send [22:23:00]OFD Sender: No OFD packet to send [22:23:05]OFD Sender: No OFD packet to send [22:23:10]OFD Sender: No OFD packet to send [22:23:15]OFD Sender: No OFD packet to send [22:23:20]OFD Sender: No OFD packet to send [22:23:25]OFD Sender: No OFD packet to send [22:23:30]OFD Sender: No OFD packet to send [22:23:35]OFD Sender: No OFD packet to send [22:23:40]OFD Sender: No OFD packet to send [22:23:45]OFD Sender: No OFD packet to send [22:23:50]OFD Sender: No OFD packet to send [22:23:55]OFD Sender: No OFD packet to send [22:24:00]OFD Sender: No OFD packet to send [22:24:05]OFD Sender: No OFD packet to send [22:24:10]OFD Sender: No OFD packet to send [22:24:15]OFD Sender: No OFD packet to send [22:24:20]OFD Sender: No OFD packet to send [22:24:25]OFD Sender: No OFD packet to send [22:24:30]OFD Sender: No OFD packet to send [22:24:35]OFD Sender: No OFD packet to send [22:24:40]OFD Sender: No OFD packet to send [22:24:45]OFD Sender: No OFD packet to send [22:24:50]OFD Sender: No OFD packet to send [22:24:55]OFD Sender: No OFD packet to send [22:25:00]OFD Sender: No OFD packet to send [22:25:05]OFD Sender: No OFD packet to send [22:25:10]OFD Sender: No OFD packet to send [22:25:15]OFD Sender: No OFD packet to send [22:25:20]OFD Sender: No OFD packet to send [22:25:25]OFD Sender: No OFD packet to send [22:25:30]OFD Sender: No OFD packet to send [22:25:35]OFD Sender: No OFD packet to send [22:25:40]OFD Sender: No OFD packet to send [22:25:45]OFD Sender: No OFD packet to send [22:25:50]OFD Sender: No OFD packet to send [22:25:55]OFD Sender: No OFD packet to send [22:26:00]OFD Sender: No OFD packet to send [22:26:05]OFD Sender: No OFD packet to send [22:26:10]OFD Sender: No OFD packet to send [22:26:15]OFD Sender: No OFD packet to send [22:26:20]OFD Sender: No OFD packet to send [22:26:25]OFD Sender: No OFD packet to send [22:26:30]OFD Sender: No OFD packet to send [22:26:35]OFD Sender: No OFD packet to send [22:26:40]OFD Sender: No OFD packet to send [22:26:45]OFD Sender: No OFD packet to send [22:26:50]OFD Sender: No OFD packet to send [22:26:55]OFD Sender: No OFD packet to send [22:27:00]OFD Sender: No OFD packet to send [22:27:05]OFD Sender: No OFD packet to send [22:27:10]OFD Sender: No OFD packet to send [22:27:15]OFD Sender: No OFD packet to send [22:27:20]OFD Sender: No OFD packet to send [22:27:25]OFD Sender: No OFD packet to send [22:27:30]OFD Sender: No OFD packet to send [22:27:35]OFD Sender: No OFD packet to send [22:27:40]OFD Sender: No OFD packet to send [22:27:45]OFD Sender: No OFD packet to send [22:27:50]OFD Sender: No OFD packet to send [22:27:55]OFD Sender: No OFD packet to send [22:28:00]OFD Sender: No OFD packet to send [22:28:05]OFD Sender: No OFD packet to send [22:28:10]OFD Sender: No OFD packet to send [22:28:15]OFD Sender: No OFD packet to send [22:28:20]OFD Sender: No OFD packet to send [22:28:25]OFD Sender: No OFD packet to send [22:28:30]OFD Sender: No OFD packet to send [22:28:35]OFD Sender: No OFD packet to send [22:28:41]OFD Sender: No OFD packet to send [22:28:46]OFD Sender: No OFD packet to send [22:28:51]OFD Sender: No OFD packet to send [22:28:56]OFD Sender: No OFD packet to send [22:29:01]OFD Sender: No OFD packet to send [22:29:06]OFD Sender: No OFD packet to send [22:29:11]OFD Sender: No OFD packet to send [22:29:16]OFD Sender: No OFD packet to send [22:29:21]OFD Sender: No OFD packet to send [22:29:26]OFD Sender: No OFD packet to send [22:29:31]OFD Sender: No OFD packet to send [22:29:36]OFD Sender: No OFD packet to send [22:29:41]OFD Sender: No OFD packet to send [22:29:46]OFD Sender: No OFD packet to send [22:29:51]OFD Sender: No OFD packet to send [22:29:56]OFD Sender: No OFD packet to send [22:30:01]OFD Sender: No OFD packet to send [22:30:06]OFD Sender: No OFD packet to send [22:30:11]OFD Sender: No OFD packet to send [22:30:16]OFD Sender: No OFD packet to send [22:30:21]OFD Sender: No OFD packet to send [22:30:26]OFD Sender: No OFD packet to send [22:30:31]OFD Sender: No OFD packet to send [22:30:36]OFD Sender: No OFD packet to send [22:30:41]OFD Sender: No OFD packet to send [22:30:46]OFD Sender: No OFD packet to send [22:30:51]OFD Sender: No OFD packet to send [22:30:56]OFD Sender: No OFD packet to send [22:31:01]OFD Sender: No OFD packet to send [22:31:06]OFD Sender: No OFD packet to send [22:31:11]OFD Sender: No OFD packet to send [22:31:16]OFD Sender: No OFD packet to send [22:31:21]OFD Sender: No OFD packet to send [22:31:26]OFD Sender: No OFD packet to send [22:31:31]OFD Sender: No OFD packet to send [22:31:36]OFD Sender: No OFD packet to send [22:31:41]OFD Sender: No OFD packet to send [22:31:46]OFD Sender: No OFD packet to send [22:31:51]OFD Sender: No OFD packet to send [22:31:56]OFD Sender: No OFD packet to send [22:32:01]OFD Sender: No OFD packet to send [22:32:06]OFD Sender: No OFD packet to send [22:32:11]OFD Sender: No OFD packet to send [22:32:16]OFD Sender: No OFD packet to send [22:32:21]OFD Sender: No OFD packet to send [22:32:26]OFD Sender: No OFD packet to send [22:32:31]OFD Sender: No OFD packet to send [22:32:36]OFD Sender: No OFD packet to send [22:32:41]OFD Sender: No OFD packet to send [22:32:46]OFD Sender: No OFD packet to send [22:32:51]OFD Sender: No OFD packet to send [22:32:56]OFD Sender: No OFD packet to send [22:33:01]OFD Sender: No OFD packet to send [22:33:06]OFD Sender: No OFD packet to send [22:33:11]OFD Sender: No OFD packet to send [22:33:16]OFD Sender: No OFD packet to send [22:33:21]OFD Sender: No OFD packet to send [22:33:26]OFD Sender: No OFD packet to send [22:33:31]OFD Sender: No OFD packet to send [22:33:36]OFD Sender: No OFD packet to send [22:33:41]OFD Sender: No OFD packet to send [22:33:46]OFD Sender: No OFD packet to send [22:33:51]OFD Sender: No OFD packet to send [22:33:56]OFD Sender: No OFD packet to send [22:34:01]OFD Sender: No OFD packet to send [22:34:06]OFD Sender: No OFD packet to send [22:34:11]OFD Sender: No OFD packet to send [22:34:16]OFD Sender: No OFD packet to send [22:34:21]OFD Sender: No OFD packet to send [22:34:26]OFD Sender: No OFD packet to send [22:34:31]OFD Sender: No OFD packet to send [22:34:36]OFD Sender: No OFD packet to send [22:34:41]OFD Sender: No OFD packet to send [22:34:46]OFD Sender: No OFD packet to send [22:34:51]OFD Sender: No OFD packet to send [22:34:56]OFD Sender: No OFD packet to send [22:35:01]OFD Sender: No OFD packet to send [22:35:06]OFD Sender: No OFD packet to send [22:35:11]OFD Sender: No OFD packet to send [22:35:16]OFD Sender: No OFD packet to send [22:35:21]OFD Sender: No OFD packet to send [22:35:26]OFD Sender: No OFD packet to send [22:35:31]OFD Sender: No OFD packet to send [22:35:36]OFD Sender: No OFD packet to send [22:35:41]OFD Sender: No OFD packet to send [22:35:46]OFD Sender: No OFD packet to send [22:35:51]OFD Sender: No OFD packet to send [22:35:56]OFD Sender: No OFD packet to send [22:36:01]OFD Sender: No OFD packet to send [22:36:06]OFD Sender: No OFD packet to send [22:36:11]OFD Sender: No OFD packet to send [22:36:16]OFD Sender: No OFD packet to send [22:36:21]OFD Sender: No OFD packet to send [22:36:26]OFD Sender: No OFD packet to send [22:36:31]OFD Sender: No OFD packet to send [22:36:36]OFD Sender: No OFD packet to send [22:36:41]OFD Sender: No OFD packet to send [22:36:46]OFD Sender: No OFD packet to send [22:36:51]OFD Sender: No OFD packet to send [22:36:56]OFD Sender: No OFD packet to send [22:37:01]OFD Sender: No OFD packet to send [22:37:06]OFD Sender: No OFD packet to send [22:37:11]OFD Sender: No OFD packet to send [22:37:16]OFD Sender: No OFD packet to send [22:37:21]OFD Sender: No OFD packet to send [22:37:26]OFD Sender: No OFD packet to send [22:37:31]OFD Sender: No OFD packet to send [22:37:36]OFD Sender: No OFD packet to send [22:37:41]OFD Sender: No OFD packet to send [22:37:46]OFD Sender: No OFD packet to send [22:37:51]OFD Sender: No OFD packet to send [22:37:56]OFD Sender: No OFD packet to send [22:38:01]OFD Sender: No OFD packet to send [22:38:06]OFD Sender: No OFD packet to send [22:38:11]OFD Sender: No OFD packet to send [22:38:16]OFD Sender: No OFD packet to send [22:38:21]OFD Sender: No OFD packet to send [22:38:26]OFD Sender: No OFD packet to send [22:38:31]OFD Sender: No OFD packet to send [22:38:36]OFD Sender: No OFD packet to send [22:38:41]OFD Sender: No OFD packet to send [22:38:46]OFD Sender: No OFD packet to send [22:38:48]accept exits with 10 [22:38:48]New connection [22:38:48]New thread 3066850660 created [22:38:48]Thread 3066707300 joined [22:38:48]Waiting for new connection... [22:38:48] Sock 10.Parse request [22:38:48]Sock 10.Check first char [22:38:48]Sock 10.First char is OK [22:38:48]request: POST /json_proto HTTP/1.0 [22:38:48]Method: POST [22:38:48]URL: /json_proto [22:38:48]Method is POST - this is cgi request [22:38:48]url: /json_proto [22:38:48]query_string will be loaded in cgi processing [22:38:48]execute_cgi json_proto POST (null) [22:38:48]execute_cgi path=json_proto method=POST [22:38:48]POST find Content-Length [22:38:48]Host: 172.17.52.132:8080 [22:38:48]Content-Length: 927 [22:38:48]Content-Type: application/json [22:38:48] [22:38:48]POST finish read [22:38:48]Found Content-Length = 927 [22:38:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99990", "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 }]} ,{ "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:38:48]execute_script... [22:38:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99990", "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 }]} ,{ "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:38:48]POST & json_proto [22:38:48]process_json_proto [22:38:48]json parsed OK: [22:38:48]protocol is kg_v1.0 [22:38:48]action value=close_receipt [22:38:48]process_action close_receipt [22:38:48]cmd_close_receipt [22:38:48]MH_GetDate [22:38:48]Write to MH i2c: F0 00 00 02 58 49 [22:38:48]Write i2c OK [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: F0 [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: F0 09 00 [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: F0 09 00 02 58 00 04 35 14 67 5A BE F6 66 7A [22:38:48]GetLastDocTimeStamp 1729375979 [22:38:48]current date 1729377540 [22:38:48]FM_GetShiftState [22:38:48]SAM_PROTO_GetShiftState [22:38:48]wFMCommunicate request_size=4 [22:38:48]MH_SAM_APDU [22:38:48]CAPDU: 80 13 01 00 [22:38:48]Write to MH i2c: E2 08 00 03 58 80 13 01 00 00 00 00 00 D8 [22:38:48]Write i2c OK [22:38:48]MH_I2C_Read... [22:38:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:38:48]Read from MH i2c: E2 [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: E2 0E 00 [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: E2 0E 00 03 58 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 81 [22:38:48]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [22:38:48]wFMCommunicate OK [22:38:48]SAM_PROTO_GetShiftState done [22:38:48]FM_GetShiftState done [22:38:48]opened in 1729296173 [22:38:48]opened+sec_in_day 1729382573 [22:38:48]quantity*price = 5000 [22:38:48]sum+1 = 5001 [22:38:48]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870022003305 Напиток Gorilla эн нат ж/б 0,5/0,45л 1.000 * 99.00 = 99.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 149.00 НСП 1% : 1.32 НДС 12% : 15.82 Наличными: 149.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 73 19.10.2024 22:39 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2612 ФПД: 104571296515111 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T223900&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2612&fm=104571296515111&tin=02508201610067®Number=0000000000207295&sum=14900 0 [22:38:49]StoreToDocumentArchive [22:38:49]shift 23 fd 2612 [22:38:49]save to /storage/0023/doc_00002612 [22:38:49]save last doc name /storage/0023/doc_00002612 to /storage/kkm_last_doc_name [22:38:49]save OK [22:38:49]Clear old archive folders... [22:38:49]ProcessDocumentItem done err = 0, tmpTLVsize=398 [22:38:49]tlvbuf is 0149CCB0 [22:38:49]SAM_PROTO_ClearQueue [22:38:49]wFMCommunicate request_size=4 [22:38:49]MH_SAM_APDU [22:38:49]CAPDU: 80 09 00 00 [22:38:49]Write to MH i2c: E2 08 00 10 58 80 09 00 00 00 00 00 00 DA [22:38:49]Write i2c OK [22:38:49]MH_I2C_Read... [22:38:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:38:49]Read from MH i2c: E2 [22:38:49]MH_I2C_Read... [22:38:49]Read from MH i2c: E2 03 00 [22:38:49]MH_I2C_Read... [22:38:49]Read from MH i2c: E2 03 00 10 58 00 90 00 DC [22:38:49]RAPDU: 90 00 [22:38:49]wFMCommunicate OK [22:38:49]SAM_PROTO_ClearQueue done [22:38:49]KKMCreateOFDPacket [22:38:49]OFDProtocolAddRootSTLVToBuf [22:38:49]FM_MakeSignedData [22:38:49]FM_MakeSignedData [22:38:49]SAM_PROTO_SignData [22:38:49]wFMCommunicate request_size=4 [22:38:49]MH_SAM_APDU [22:38:49]CAPDU: 80 0D 01 02 [22:38:49]Write to MH i2c: E2 08 00 11 58 80 0D 01 02 00 00 00 00 E2 [22:38:49]Write i2c OK [22:38:49]MH_I2C_Read... [22:38:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:38:49]Read from MH i2c: E2 [22:38:49]MH_I2C_Read... [22:38:49]Read from MH i2c: E2 03 00 [22:38:49]MH_I2C_Read... [22:38:49]Read from MH i2c: E2 03 00 11 58 00 90 00 DD [22:38:49]RAPDU: 90 00 [22:38:49]wFMCommunicate OK [22:38:49]wFMCommunicate request_size=255 [22:38:49]MH_SAM_APDU [22:38:49]CAPDU: 80 0D 02 02 FA 03 00 8E 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 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 [22:38:49]Write to MH i2c: E2 02 01 12 58 80 0D 02 02 FA 00 03 00 8E 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 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 00 33 [22:38:49]Write i2c OK [22:38:49]MH_I2C_Read... [22:38:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:38:49]Read from MH i2c: E2 [22:38:49]MH_I2C_Read... [22:38:49]Read from MH i2c: E2 03 00 [22:38:49]MH_I2C_Read... [22:38:49]Read from MH i2c: E2 03 00 12 58 00 90 00 DE [22:38:49]RAPDU: 90 00 [22:38:49]wFMCommunicate OK [22:38:49]wFMCommunicate request_size=157 [22:38:49]MH_SAM_APDU [22:38:49]CAPDU: 80 0D 02 02 98 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 49 00 00 00 F4 03 04 00 04 35 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 34 0A 00 00 35 04 06 00 5F 1B 66 FB 84 27 [22:38:49]Write to MH i2c: E2 A0 00 13 58 80 0D 02 02 98 00 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 49 00 00 00 F4 03 04 00 04 35 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 34 0A 00 00 35 04 06 00 5F 1B 66 FB 84 27 00 00 31 [22:38:49]Write i2c OK [22:38:49]MH_I2C_Read... [22:38:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:38:50]Read from MH i2c: E2 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 03 00 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 03 00 13 58 00 90 00 DF [22:38:50]RAPDU: 90 00 [22:38:50]wFMCommunicate OK [22:38:50]wFMCommunicate request_size=4 [22:38:50]MH_SAM_APDU [22:38:50]CAPDU: 80 0D 03 02 [22:38:50]Write to MH i2c: E2 08 00 14 58 80 0D 03 02 00 00 00 00 E7 [22:38:50]Write i2c OK [22:38:50]MH_I2C_Read... [22:38:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:38:50]Read from MH i2c: E2 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 0B 00 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 0B 00 14 58 00 6C D1 C7 C7 E5 77 F0 46 90 00 45 [22:38:50]RAPDU: 6C D1 C7 C7 E5 77 F0 46 90 00 [22:38:50]wFMCommunicate OK [22:38:50]SAM_PROTO_SignData done [22:38:50]FM_MakeSignedData done [22:38:50]CreateOFDProtocolMessage [22:38:50]wFMCommunicate request_size=4 [22:38:50]MH_SAM_APDU [22:38:50]CAPDU: 80 11 00 00 [22:38:50]Write to MH i2c: E2 08 00 15 58 80 11 00 00 00 00 00 00 E7 [22:38:50]Write i2c OK [22:38:50]MH_I2C_Read... [22:38:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:38:50]Read from MH i2c: E2 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 17 00 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 17 00 15 58 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 2F [22:38:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:38:50]wFMCommunicate OK [22:38:50]CreateOFDProtocolMessage done [22:38:50]OFDSenderStorePacket 2612 [22:38:50]StoreOFDPacket docnum=2612 [22:38:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 A2 01 00 00 38 62 9A 01 25 37 5A 03 01 00 03 00 8E 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 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 49 00 00 00 F4 03 04 00 04 35 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 34 0A 00 00 35 04 06 00 5F 1B 66 FB 84 27 6C D1 C7 C7 E5 77 F0 46 [22:38:50]CheckFolder [22:38:50]dirname=/storage/ofd_packets [22:38:50]CheckFolder done [22:38:50]ProducePacketName [22:38:50]name=ofd_packets/00002612 [22:38:50]NVStorageSaveData ofd_packets/00002612 [22:38:50]File name is /storage/ofd_packets/00002612 [22:38:50]Write 448 bytes [22:38:50]NVStorageSaveData done [22:38:50]OFDSenderStorePacket done [22:38:50]KKMCreateOFDPacket done [22:38:50]NVStorageSaveData kkm_last_timestamp [22:38:50]File name is /storage/kkm_last_timestamp [22:38:50]Write 4 bytes [22:38:50]NVStorageSaveData done [22:38:50]ExternCall_PrintAddStr [22:38:50]wPrintStart [22:38:50]Write to MH i2c: 01 00 00 16 58 6E [22:38:50]Write i2c OK [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: 01 [22:38:50]MH_I2C_Read... [22:38:50]OFD Sender: Processing packet 2612 [packets to send 1, broken 0] [22:38:50]ProducePacketName [22:38:50]name=ofd_packets/00002612 [22:38:50]OFD Sender: To server: pG, [22:38:50]CommunicateWithHost lk.salyk.kg:30040 [22:38:50]ConnectInit lk.salyk.kg [22:38:50]Read from MH i2c: 01 07 00 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: 01 07 00 16 58 00 00 00 00 00 FF 0F 83 [22:38:50]RasterBufferAndPrint [22:38:50]line Счет N : (3)99990 [22:38:50]line ИНН: 02508201610067 [22:38:50]line Контрольно-Кассовый Чек [22:38:50]line ПРОДАЖА [22:38:50]line Товар: 5449000005489 [22:38:50]line Вода Бонаква 1л б/г [22:38:50]line 1.000 * 50.00 [22:38:50]line = 50.00 [22:38:50]line НДС 12% НСП 1% [22:38:50]line > о реализуемом товаре [22:38:50]line Товар: 4870022003305 [22:38:50]line Напиток Gorilla эн нат ж/б 0,5/0,45л [22:38:50]line 1.000 * 99.00 [22:38:50]line = 99.00 [22:38:50]line НДС 12% НСП 1% [22:38:50]line > о реализуемом товаре [22:38:50]line ИТОГО: 149.00 [22:38:50]line НСП 1% : 1.32 [22:38:50]line НДС 12% : 15.82 [22:38:50]line Наличными: 149.00 [22:38:50]line Безнал.: 0.00 [22:38:50]line Место: АЗС № 162 "Партнер Нефть" [22:38:50]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [22:38:50]line СНО: Общий режим [22:38:50]line Чек 73 19.10.2024 22:39 [22:38:50]line Смена: 23 ФФД: 1.0 [22:38:50]line ЗНМ: 0300000191 [22:38:50]line РНМ: 0000000000207295 [22:38:50]line Версия ККМ: v1.0 [22:38:50]line ФМ: 0000000002342820 [22:38:50]line ФД: 2612 [22:38:50]line ФПД: 104571296515111 [22:38:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T223900&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2612&fm=104571296515111&tin=02508201610067®Number=0000000000207295&sum=14900 [22:38:50]line 0 [22:38:50]written 0, free lines is 4095 [22:38:50]Connected sock=9 [22:38:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 A2 01 00 00 38 62 9A 01 25 37 5A 03 01 00 03 00 8E 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 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 49 00 00 00 F4 03 04 00 04 35 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 34 0A 00 00 35 04 06 00 5F 1B 66 FB 84 27 6C D1 C7 C7 E5 77 F0 46 [22:38:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 19 77 47 00 DD 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 32 33 34 32 38 32 30 10 04 04 00 34 0A 00 00 F4 03 04 00 63 E0 13 67 B6 04 01 00 00 14 EF 74 23 C1 BF 73 F9 [22:38:50]CommunicateWithHost err = 0 [22:38:50]CheckOFDResponse [22:38:50]1017 (14) - 77093643461234 [22:38:50]1041 (16) - 0000000002342820 [22:38:50]1040 (4) - 2612 [22:38:50]1012 (4) - 19.10.2024 16:37 [22:38:50]1206 (1) - 0 [22:38:50]OFD Sender: Remove packet 2612 [22:38:50]ProducePacketName [22:38:50]name=ofd_packets/00002612 [22:38:50]NVStorageDeleteData [22:38:51]Write to MH i2c: 01 00 00 45 58 9D [22:38:51]Write i2c OK [22:38:51]MH_I2C_Read... [22:38:51]Read from MH i2c: 01 [22:38:51]MH_I2C_Read... [22:38:51]Read from MH i2c: 01 07 00 [22:38:51]MH_I2C_Read... [22:38:51]Read from MH i2c: 01 07 00 45 58 00 00 00 00 00 60 0C 10 [22:38:51]RasterBufferAndPrint [22:38:51]line [22:38:51]line [22:38:51]line [22:38:51]line [22:38:51]line [22:38:51]written 0, free lines is 3177 [22:38:51]MH_Cut [22:38:51]Write to MH i2c: D1 01 00 4C 58 01 76 [22:38:51]Write i2c OK [22:38:51]MH_I2C_Read... [22:38:51]Read from MH i2c: D1 [22:38:51]MH_I2C_Read... [22:38:51]Read from MH i2c: D1 01 00 [22:38:51]MH_I2C_Read... [22:38:51]Read from MH i2c: D1 01 00 4C 58 00 75 [22:38:51]Write to MH i2c: 01 00 00 4D 58 A5 [22:38:51]Write i2c OK [22:38:51]MH_I2C_Read... [22:38:51]OFD Sender: No OFD packet to send [22:38:52]*** Cut start [22:38:52]*** Partial cut [22:38:52]*** CUTSNS_PIN = 1 [22:38:52]*** CUTSNS_PIN = 0 [22:38:52]*** Brake cut motor [22:38:52]Read from MH i2c: 01 [22:38:52]MH_I2C_Read... [22:38:52]*** Stop cut motor [22:38:52]*** Cut end [22:38:52]Read from MH i2c: 01 07 00 [22:38:52]MH_I2C_Read... [22:38:52]Read from MH i2c: 01 07 00 4D 58 00 00 00 00 00 FF 0F BA [22:38:52]process_action close_receipt done [22:38:52]requested_data is exist [22:38:52]produce_requested_data [22:38:52]requested_item fm.sn is exist - process it [22:38:52]wFMCommunicate request_size=4 [22:38:52]MH_SAM_APDU [22:38:52]CAPDU: 80 11 00 00 [22:38:52]Write to MH i2c: E2 08 00 4E 58 80 11 00 00 00 00 00 00 20 [22:38:52]Write i2c OK [22:38:52]MH_I2C_Read... [22:38:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:38:52]Read from MH i2c: E2 [22:38:52]MH_I2C_Read... [22:38:52]Read from MH i2c: E2 17 00 [22:38:52]MH_I2C_Read... [22:38:52]Read from MH i2c: E2 17 00 4E 58 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 68 [22:38:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:38:52]wFMCommunicate OK [22:38:52]requested_item fd.num is exist - process it [22:38:52]SAM_PROTO_GetFieldsCounters [22:38:52]wFMCommunicate request_size=4 [22:38:52]MH_SAM_APDU [22:38:52]CAPDU: 80 13 00 00 [22:38:52]Write to MH i2c: E2 08 00 4F 58 80 13 00 00 00 00 00 00 23 [22:38:52]Write i2c OK [22:38:52]MH_I2C_Read... [22:38:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:38:52]Read from MH i2c: E2 [22:38:52]MH_I2C_Read... [22:38:52]Read from MH i2c: E2 62 00 [22:38:52]MH_I2C_Read... [22:38:52]Read from MH i2c: E2 62 00 4F 58 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 34 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 69 [22:38:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 34 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:38:52]wFMCommunicate OK [22:38:52]SAM_PROTO_GetFieldsCounters done [22:38:52]requested_item shift.num is exist - process it [22:38:52]requested_item shift.opened is exist - process it [22:38:52]req_shift_opened [22:38:52]FM_GetShiftState [22:38:52]SAM_PROTO_GetShiftState [22:38:52]wFMCommunicate request_size=4 [22:38:52]MH_SAM_APDU [22:38:52]CAPDU: 80 13 01 00 [22:38:52]Write to MH i2c: E2 08 00 50 58 80 13 01 00 00 00 00 00 25 [22:38:52]Write i2c OK [22:38:52]MH_I2C_Read... [22:38:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:38:52]Read from MH i2c: E2 [22:38:52]MH_I2C_Read... [22:38:52]Read from MH i2c: E2 0E 00 [22:38:52]MH_I2C_Read... [22:38:52]Read from MH i2c: E2 0E 00 50 58 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 CE [22:38:52]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [22:38:52]wFMCommunicate OK [22:38:52]SAM_PROTO_GetShiftState done [22:38:52]FM_GetShiftState done [22:38:52]req_shift_opened done [22:38:52]requested_item shift.open_date is exist - process it [22:38:52]req_shift_open_date [22:38:52]req_shift_open_date done [22:38:52]produce_requested_data done [22:38:52]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2612,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [22:38:52]process_action_free close_receipt [22:38:52]json_value_free [22:38:52]json_value_free done [22:38:52]process_json_proto returns [22:38:52]Send response to host [22:38:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2612,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [22:38:52]free response buf [22:38:52]execute_script done [22:38:52]execute_script returns [22:38:52]free content buf [22:38:52]Sock 10.Close socket [22:38:52]Sock 10.Thread stoped [22:38:56]OFD Sender: No OFD packet to send [22:39:01]OFD Sender: No OFD packet to send [22:39:06]OFD Sender: No OFD packet to send [22:39:11]OFD Sender: No OFD packet to send [22:39:16]OFD Sender: No OFD packet to send [22:39:21]OFD Sender: No OFD packet to send [22:39:26]OFD Sender: No OFD packet to send [22:39:31]OFD Sender: No OFD packet to send [22:39:36]OFD Sender: No OFD packet to send [22:39:41]OFD Sender: No OFD packet to send [22:39:46]OFD Sender: No OFD packet to send [22:39:51]OFD Sender: No OFD packet to send [22:39:56]OFD Sender: No OFD packet to send [22:40:01]OFD Sender: No OFD packet to send [22:40:06]OFD Sender: No OFD packet to send [22:40:11]OFD Sender: No OFD packet to send [22:40:16]OFD Sender: No OFD packet to send [22:40:21]OFD Sender: No OFD packet to send [22:40:26]OFD Sender: No OFD packet to send [22:40:31]OFD Sender: No OFD packet to send [22:40:36]OFD Sender: No OFD packet to send [22:40:41]OFD Sender: No OFD packet to send [22:40:46]OFD Sender: No OFD packet to send [22:40:51]OFD Sender: No OFD packet to send [22:40:56]OFD Sender: No OFD packet to send [22:41:01]OFD Sender: No OFD packet to send [22:41:06]OFD Sender: No OFD packet to send [22:41:11]OFD Sender: No OFD packet to send [22:41:16]OFD Sender: No OFD packet to send [22:41:19]accept exits with 7 [22:41:19]New connection [22:41:19]New thread 3066707300 created [22:41:19]Thread 3066850660 joined [22:41:19]Waiting for new connection... [22:41:19] Sock 7.Parse request [22:41:19]Sock 7.Check first char [22:41:19]Sock 7.First char is OK [22:41:19]request: POST /json_proto HTTP/1.0 [22:41:19]Method: POST [22:41:19]URL: /json_proto [22:41:19]Method is POST - this is cgi request [22:41:19]url: /json_proto [22:41:19]query_string will be loaded in cgi processing [22:41:19]execute_cgi json_proto POST (null) [22:41:19]execute_cgi path=json_proto method=POST [22:41:19]POST find Content-Length [22:41:19]Host: 172.17.52.132:8080 [22:41:19]Content-Length: 934 [22:41:19]Content-Type: application/json [22:41:19] [22:41:19]POST finish read [22:41:19]Found Content-Length = 934 [22:41:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99991", "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" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 334.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:41:19]execute_script... [22:41: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)99991", "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" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 334.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:41:19]POST & json_proto [22:41:19]process_json_proto [22:41:19]json parsed OK: [22:41:19]protocol is kg_v1.0 [22:41:19]action value=close_receipt [22:41:19]process_action close_receipt [22:41:19]cmd_close_receipt [22:41:19]MH_GetDate [22:41:19]Write to MH i2c: F0 00 00 51 58 98 [22:41:19]Write i2c OK [22:41:19]MH_I2C_Read... [22:41:19]Read from MH i2c: F0 [22:41:19]MH_I2C_Read... [22:41:19]Read from MH i2c: F0 09 00 [22:41:19]MH_I2C_Read... [22:41:19]Read from MH i2c: F0 09 00 51 58 00 9B 35 14 67 5A BE F6 66 60 [22:41:19]GetLastDocTimeStamp 1729377540 [22:41:19]current date 1729377691 [22:41:19]FM_GetShiftState [22:41:19]SAM_PROTO_GetShiftState [22:41:19]wFMCommunicate request_size=4 [22:41:19]MH_SAM_APDU [22:41:19]CAPDU: 80 13 01 00 [22:41:19]Write to MH i2c: E2 08 00 52 58 80 13 01 00 00 00 00 00 27 [22:41:19]Write i2c OK [22:41:19]MH_I2C_Read... [22:41:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:41:19]Read from MH i2c: E2 [22:41:19]MH_I2C_Read... [22:41:19]Read from MH i2c: E2 0E 00 [22:41:19]MH_I2C_Read... [22:41:19]Read from MH i2c: E2 0E 00 52 58 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 D0 [22:41:19]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [22:41:19]wFMCommunicate OK [22:41:19]SAM_PROTO_GetShiftState done [22:41:19]FM_GetShiftState done [22:41:19]opened in 1729296173 [22:41:19]opened+sec_in_day 1729382573 [22:41:19]quantity*price = 19000 [22:41:19]sum+1 = 19001 [22:41:19]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 334.00 НСП 1% : 2.95 НДС 12% : 35.47 Наличными: 334.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 74 19.10.2024 22:41 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2613 ФПД: 225990367078925 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T224131&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2613&fm=225990367078925&tin=02508201610067®Number=0000000000207295&sum=33400 0 [22:41:20]StoreToDocumentArchive [22:41:20]shift 23 fd 2613 [22:41:20]save to /storage/0023/doc_00002613 [22:41:20]save last doc name /storage/0023/doc_00002613 to /storage/kkm_last_doc_name [22:41:20]save OK [22:41:20]Clear old archive folders... [22:41:20]ProcessDocumentItem done err = 0, tmpTLVsize=402 [22:41:20]tlvbuf is 014AB610 [22:41:20]SAM_PROTO_ClearQueue [22:41:20]wFMCommunicate request_size=4 [22:41:20]MH_SAM_APDU [22:41:20]CAPDU: 80 09 00 00 [22:41:20]Write to MH i2c: E2 08 00 5F 58 80 09 00 00 00 00 00 00 29 [22:41:20]Write i2c OK [22:41:20]MH_I2C_Read... [22:41:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:41:20]Read from MH i2c: E2 [22:41:20]MH_I2C_Read... [22:41:20]Read from MH i2c: E2 03 00 [22:41:20]MH_I2C_Read... [22:41:20]Read from MH i2c: E2 03 00 5F 58 00 90 00 2B [22:41:20]RAPDU: 90 00 [22:41:20]wFMCommunicate OK [22:41:20]SAM_PROTO_ClearQueue done [22:41:20]KKMCreateOFDPacket [22:41:20]OFDProtocolAddRootSTLVToBuf [22:41:20]FM_MakeSignedData [22:41:20]FM_MakeSignedData [22:41:20]SAM_PROTO_SignData [22:41:20]wFMCommunicate request_size=4 [22:41:20]MH_SAM_APDU [22:41:20]CAPDU: 80 0D 01 02 [22:41:20]Write to MH i2c: E2 08 00 60 58 80 0D 01 02 00 00 00 00 31 [22:41:20]Write i2c OK [22:41:20]MH_I2C_Read... [22:41:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:41:20]Read from MH i2c: E2 [22:41:20]MH_I2C_Read... [22:41:20]Read from MH i2c: E2 03 00 [22:41:20]MH_I2C_Read... [22:41:20]Read from MH i2c: E2 03 00 60 58 00 90 00 2C [22:41:20]RAPDU: 90 00 [22:41:20]wFMCommunicate OK [22:41:20]wFMCommunicate request_size=255 [22:41:20]MH_SAM_APDU [22:41:20]CAPDU: 80 0D 02 02 FA 03 00 92 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 82 00 00 00 [22:41:20]Write to MH i2c: E2 02 01 61 58 80 0D 02 02 FA 00 03 00 92 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 82 00 00 00 00 00 20 [22:41:20]Write i2c OK [22:41:20]MH_I2C_Read... [22:41:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:41:20]Read from MH i2c: E2 [22:41:20]MH_I2C_Read... [22:41:20]Read from MH i2c: E2 03 00 [22:41:20]MH_I2C_Read... [22:41:20]Read from MH i2c: E2 03 00 61 58 00 90 00 2D [22:41:20]RAPDU: 90 00 [22:41:20]wFMCommunicate OK [22:41:20]wFMCommunicate request_size=161 [22:41:20]MH_SAM_APDU [22:41:20]CAPDU: 80 0D 02 02 9C 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DB 0D 00 00 00 00 07 04 06 00 78 82 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 9B 35 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 35 0A 00 00 35 04 06 00 CD 89 7B 8D 6A 0D [22:41:20]Write to MH i2c: E2 A4 00 62 58 80 0D 02 02 9C 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DB 0D 00 00 00 00 07 04 06 00 78 82 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 9B 35 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 35 0A 00 00 35 04 06 00 CD 89 7B 8D 6A 0D 00 00 68 [22:41:20]Write i2c OK [22:41:20]MH_I2C_Read... [22:41:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:41:21]Read from MH i2c: E2 [22:41:21]MH_I2C_Read... [22:41:21]Read from MH i2c: E2 03 00 [22:41:21]MH_I2C_Read... [22:41:21]Read from MH i2c: E2 03 00 62 58 00 90 00 2E [22:41:21]RAPDU: 90 00 [22:41:21]wFMCommunicate OK [22:41:21]wFMCommunicate request_size=4 [22:41:21]MH_SAM_APDU [22:41:21]CAPDU: 80 0D 03 02 [22:41:21]Write to MH i2c: E2 08 00 63 58 80 0D 03 02 00 00 00 00 36 [22:41:21]Write i2c OK [22:41:21]MH_I2C_Read... [22:41:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:41:21]Read from MH i2c: E2 [22:41:21]MH_I2C_Read... [22:41:21]Read from MH i2c: E2 0B 00 [22:41:21]MH_I2C_Read... [22:41:21]Read from MH i2c: E2 0B 00 63 58 00 72 4F 84 BA 29 11 6C 4F 90 00 2B [22:41:21]RAPDU: 72 4F 84 BA 29 11 6C 4F 90 00 [22:41:21]wFMCommunicate OK [22:41:21]SAM_PROTO_SignData done [22:41:21]FM_MakeSignedData done [22:41:21]CreateOFDProtocolMessage [22:41:21]wFMCommunicate request_size=4 [22:41:21]MH_SAM_APDU [22:41:21]CAPDU: 80 11 00 00 [22:41:21]Write to MH i2c: E2 08 00 64 58 80 11 00 00 00 00 00 00 36 [22:41:21]Write i2c OK [22:41:21]MH_I2C_Read... [22:41:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:41:21]Read from MH i2c: E2 [22:41:21]MH_I2C_Read... [22:41:21]Read from MH i2c: E2 17 00 [22:41:21]MH_I2C_Read... [22:41:21]Read from MH i2c: E2 17 00 64 58 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 7E [22:41:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:41:21]wFMCommunicate OK [22:41:21]CreateOFDProtocolMessage done [22:41:21]OFDSenderStorePacket 2613 [22:41:21]StoreOFDPacket docnum=2613 [22:41:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 A6 01 00 00 78 C7 9E 01 2F 86 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DB 0D 00 00 00 00 07 04 06 00 78 82 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 9B 35 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 35 0A 00 00 35 04 06 00 CD 89 7B 8D 6A 0D 72 4F 84 BA 29 11 6C 4F [22:41:21]CheckFolder [22:41:21]dirname=/storage/ofd_packets [22:41:21]CheckFolder done [22:41:21]ProducePacketName [22:41:21]name=ofd_packets/00002613 [22:41:21]NVStorageSaveData ofd_packets/00002613 [22:41:21]File name is /storage/ofd_packets/00002613 [22:41:21]Write 452 bytes [22:41:21]NVStorageSaveData done [22:41:21]OFDSenderStorePacket done [22:41:21]KKMCreateOFDPacket done [22:41:21]NVStorageSaveData kkm_last_timestamp [22:41:21]File name is /storage/kkm_last_timestamp [22:41:21]Write 4 bytes [22:41:21]NVStorageSaveData done [22:41:21]ExternCall_PrintAddStr [22:41:21]wPrintStart [22:41:21]Write to MH i2c: 01 00 00 65 58 BD [22:41:21]Write i2c OK [22:41:21]MH_I2C_Read... [22:41:21]Read from MH i2c: 01 [22:41:21]MH_I2C_Read... [22:41:21]Read from MH i2c: 01 07 00 [22:41:21]MH_I2C_Read... [22:41:21]Read from MH i2c: 01 07 00 65 58 00 00 00 00 00 FF 0F D2 [22:41:21]RasterBufferAndPrint [22:41:21]line Счет N : (3)99991 [22:41:21]line ИНН: 02508201610067 [22:41:21]line Контрольно-Кассовый Чек [22:41:21]line ПРОДАЖА [22:41:21]line Товар: 4700000480364 [22:41:21]line Напиток энерг Nitro экзотик 0.45 ж/б [22:41:21]line 2.000 * 95.00 [22:41:21]line = 190.00 [22:41:21]line НДС 12% НСП 1% [22:41:21]line > о реализуемом товаре [22:41:21]line Товар: 48743570 [22:41:21]line Сигареты Winston XStyle Blue [22:41:21]line 1.000 * 144.00 [22:41:21]line = 144.00 [22:41:21]line НДС 12% НСП 1% [22:41:21]line > о реализуемом товаре [22:41:21]line ИТОГО: 334.00 [22:41:21]line НСП 1% : 2.95 [22:41:21]line НДС 12% : 35.47 [22:41:21]line Наличными: 334.00 [22:41:21]line Безнал.: 0.00 [22:41:21]line Место: АЗС № 162 "Партнер Нефть" [22:41:21]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [22:41:21]line СНО: Общий режим [22:41:21]line Чек 74 19.10.2024 22:41 [22:41:21]line Смена: 23 ФФД: 1.0 [22:41:21]line ЗНМ: 0300000191 [22:41:21]line РНМ: 0000000000207295 [22:41:21]line Версия ККМ: v1.0 [22:41:21]line ФМ: 0000000002342820 [22:41:21]line ФД: 2613 [22:41:21]line ФПД: 225990367078925 [22:41:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T224131&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2613&fm=225990367078925&tin=02508201610067®Number=0000000000207295&sum=33400 [22:41:21]line 0 [22:41:21]OFD Sender: Processing packet 2613 [packets to send 1, broken 0] [22:41:21]ProducePacketName [22:41:21]name=ofd_packets/00002613 [22:41:21]OFD Sender: To server: pG, [22:41:21]CommunicateWithHost lk.salyk.kg:30040 [22:41:21]ConnectInit lk.salyk.kg [22:41:21]written 0, free lines is 4095 [22:41:21]Connected sock=9 [22:41:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 A6 01 00 00 78 C7 9E 01 2F 86 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DB 0D 00 00 00 00 07 04 06 00 78 82 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 9B 35 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 35 0A 00 00 35 04 06 00 CD 89 7B 8D 6A 0D 72 4F 84 BA 29 11 6C 4F [22:41:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 27 A4 47 00 F3 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 35 0A 00 00 F4 03 04 00 FA E0 13 67 B6 04 01 00 00 D5 DC 5C 3F 11 C6 94 97 [22:41:21]CommunicateWithHost err = 0 [22:41:21]CheckOFDResponse [22:41:21]1017 (14) - 77093643461234 [22:41:21]1041 (16) - 0000000002342820 [22:41:21]1040 (4) - 2613 [22:41:21]1012 (4) - 19.10.2024 16:40 [22:41:21]1206 (1) - 0 [22:41:21]OFD Sender: Remove packet 2613 [22:41:21]ProducePacketName [22:41:21]name=ofd_packets/00002613 [22:41:21]NVStorageDeleteData [22:41:22]Write to MH i2c: 01 00 00 94 58 EC [22:41:22]Write i2c OK [22:41:22]MH_I2C_Read... [22:41:22]Read from MH i2c: 01 [22:41:22]MH_I2C_Read... [22:41:22]Read from MH i2c: 01 07 00 [22:41:22]MH_I2C_Read... [22:41:22]Read from MH i2c: 01 07 00 94 58 00 00 00 00 00 58 0C 57 [22:41:22]RasterBufferAndPrint [22:41:22]line [22:41:22]line [22:41:22]line [22:41:22]line [22:41:22]line [22:41:22]written 0, free lines is 3166 [22:41:22]MH_Cut [22:41:22]Write to MH i2c: D1 01 00 9B 58 01 C5 [22:41:22]Write i2c OK [22:41:22]MH_I2C_Read... [22:41:22]Read from MH i2c: D1 [22:41:22]MH_I2C_Read... [22:41:22]Read from MH i2c: D1 01 00 [22:41:22]MH_I2C_Read... [22:41:22]Read from MH i2c: D1 01 00 9B 58 00 C4 [22:41:22]Write to MH i2c: 01 00 00 9C 58 F4 [22:41:22]Write i2c OK [22:41:22]MH_I2C_Read... [22:41:22]OFD Sender: No OFD packet to send [22:41:23]*** Cut start [22:41:23]*** Partial cut [22:41:23]*** CUTSNS_PIN = 1 [22:41:23]*** CUTSNS_PIN = 0 [22:41:23]*** Brake cut motor [22:41:23]Read from MH i2c: 01 [22:41:23]MH_I2C_Read... [22:41:23]*** Stop cut motor [22:41:23]*** Cut end [22:41:23]Read from MH i2c: 01 07 00 [22:41:23]MH_I2C_Read... [22:41:23]Read from MH i2c: 01 07 00 9C 58 00 00 00 00 00 FF 0F 09 [22:41:23]process_action close_receipt done [22:41:23]requested_data is exist [22:41:23]produce_requested_data [22:41:23]requested_item fm.sn is exist - process it [22:41:23]wFMCommunicate request_size=4 [22:41:23]MH_SAM_APDU [22:41:23]CAPDU: 80 11 00 00 [22:41:23]Write to MH i2c: E2 08 00 9D 58 80 11 00 00 00 00 00 00 6F [22:41:23]Write i2c OK [22:41:23]MH_I2C_Read... [22:41:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:41:23]Read from MH i2c: E2 [22:41:23]MH_I2C_Read... [22:41:23]Read from MH i2c: E2 17 00 [22:41:23]MH_I2C_Read... [22:41:23]Read from MH i2c: E2 17 00 9D 58 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B7 [22:41:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:41:23]wFMCommunicate OK [22:41:23]requested_item fd.num is exist - process it [22:41:23]SAM_PROTO_GetFieldsCounters [22:41:23]wFMCommunicate request_size=4 [22:41:23]MH_SAM_APDU [22:41:23]CAPDU: 80 13 00 00 [22:41:23]Write to MH i2c: E2 08 00 9E 58 80 13 00 00 00 00 00 00 72 [22:41:23]Write i2c OK [22:41:23]MH_I2C_Read... [22:41:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:41:23]Read from MH i2c: E2 [22:41:23]MH_I2C_Read... [22:41:23]Read from MH i2c: E2 62 00 [22:41:23]MH_I2C_Read... [22:41:23]Read from MH i2c: E2 62 00 9E 58 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 35 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 BC [22:41:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 35 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:41:23]wFMCommunicate OK [22:41:23]SAM_PROTO_GetFieldsCounters done [22:41:23]requested_item shift.num is exist - process it [22:41:23]requested_item shift.opened is exist - process it [22:41:23]req_shift_opened [22:41:23]FM_GetShiftState [22:41:23]SAM_PROTO_GetShiftState [22:41:23]wFMCommunicate request_size=4 [22:41:23]MH_SAM_APDU [22:41:23]CAPDU: 80 13 01 00 [22:41:23]Write to MH i2c: E2 08 00 9F 58 80 13 01 00 00 00 00 00 74 [22:41:23]Write i2c OK [22:41:23]MH_I2C_Read... [22:41:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:41:23]Read from MH i2c: E2 [22:41:23]MH_I2C_Read... [22:41:23]Read from MH i2c: E2 0E 00 [22:41:23]MH_I2C_Read... [22:41:23]Read from MH i2c: E2 0E 00 9F 58 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 1D [22:41:23]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [22:41:23]wFMCommunicate OK [22:41:23]SAM_PROTO_GetShiftState done [22:41:23]FM_GetShiftState done [22:41:23]req_shift_opened done [22:41:23]requested_item shift.open_date is exist - process it [22:41:23]req_shift_open_date [22:41:23]req_shift_open_date done [22:41:23]produce_requested_data done [22:41:23]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2613,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [22:41:23]process_action_free close_receipt [22:41:23]json_value_free [22:41:23]json_value_free done [22:41:23]process_json_proto returns [22:41:23]Send response to host [22:41:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2613,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [22:41:23]free response buf [22:41:23]execute_script done [22:41:23]execute_script returns [22:41:23]free content buf [22:41:23]Sock 7.Close socket [22:41:23]Sock 7.Thread stoped [22:41:27]OFD Sender: No OFD packet to send [22:41:32]OFD Sender: No OFD packet to send [22:41:37]OFD Sender: No OFD packet to send [22:41:42]OFD Sender: No OFD packet to send [22:41:47]OFD Sender: No OFD packet to send [22:41:52]OFD Sender: No OFD packet to send [22:41:57]OFD Sender: No OFD packet to send [22:42:02]OFD Sender: No OFD packet to send [22:42:07]OFD Sender: No OFD packet to send [22:42:12]OFD Sender: No OFD packet to send [22:42:17]OFD Sender: No OFD packet to send [22:42:22]OFD Sender: No OFD packet to send [22:42:27]OFD Sender: No OFD packet to send [22:42:32]OFD Sender: No OFD packet to send [22:42:37]OFD Sender: No OFD packet to send [22:42:42]OFD Sender: No OFD packet to send [22:42:47]OFD Sender: No OFD packet to send [22:42:52]OFD Sender: No OFD packet to send [22:42:57]OFD Sender: No OFD packet to send [22:43:02]OFD Sender: No OFD packet to send [22:43:07]OFD Sender: No OFD packet to send [22:43:12]OFD Sender: No OFD packet to send [22:43:17]OFD Sender: No OFD packet to send [22:43:22]OFD Sender: No OFD packet to send [22:43:27]OFD Sender: No OFD packet to send [22:43:32]OFD Sender: No OFD packet to send [22:43:37]OFD Sender: No OFD packet to send [22:43:42]OFD Sender: No OFD packet to send [22:43:47]OFD Sender: No OFD packet to send [22:43:52]OFD Sender: No OFD packet to send [22:43:57]OFD Sender: No OFD packet to send [22:44:02]OFD Sender: No OFD packet to send [22:44:07]OFD Sender: No OFD packet to send [22:44:12]OFD Sender: No OFD packet to send [22:44:17]OFD Sender: No OFD packet to send [22:44:22]OFD Sender: No OFD packet to send [22:44:27]OFD Sender: No OFD packet to send [22:44:32]OFD Sender: No OFD packet to send [22:44:37]OFD Sender: No OFD packet to send [22:44:42]OFD Sender: No OFD packet to send [22:44:47]OFD Sender: No OFD packet to send [22:44:52]OFD Sender: No OFD packet to send [22:44:57]OFD Sender: No OFD packet to send [22:45:02]OFD Sender: No OFD packet to send [22:45:07]OFD Sender: No OFD packet to send [22:45:12]OFD Sender: No OFD packet to send [22:45:17]OFD Sender: No OFD packet to send [22:45:22]OFD Sender: No OFD packet to send [22:45:27]OFD Sender: No OFD packet to send [22:45:32]OFD Sender: No OFD packet to send [22:45:37]OFD Sender: No OFD packet to send [22:45:42]OFD Sender: No OFD packet to send [22:45:47]OFD Sender: No OFD packet to send [22:45:52]OFD Sender: No OFD packet to send [22:45:57]OFD Sender: No OFD packet to send [22:46:02]OFD Sender: No OFD packet to send [22:46:07]OFD Sender: No OFD packet to send [22:46:12]OFD Sender: No OFD packet to send [22:46:17]OFD Sender: No OFD packet to send [22:46:22]OFD Sender: No OFD packet to send [22:46:27]OFD Sender: No OFD packet to send [22:46:32]OFD Sender: No OFD packet to send [22:46:37]OFD Sender: No OFD packet to send [22:46:42]OFD Sender: No OFD packet to send [22:46:47]OFD Sender: No OFD packet to send [22:46:52]OFD Sender: No OFD packet to send [22:46:57]OFD Sender: No OFD packet to send [22:47:02]OFD Sender: No OFD packet to send [22:47:07]OFD Sender: No OFD packet to send [22:47:12]OFD Sender: No OFD packet to send [22:47:17]OFD Sender: No OFD packet to send [22:47:22]OFD Sender: No OFD packet to send [22:47:27]OFD Sender: No OFD packet to send [22:47:32]OFD Sender: No OFD packet to send [22:47:37]OFD Sender: No OFD packet to send [22:47:42]OFD Sender: No OFD packet to send [22:47:47]OFD Sender: No OFD packet to send [22:47:52]OFD Sender: No OFD packet to send [22:47:57]OFD Sender: No OFD packet to send [22:48:02]OFD Sender: No OFD packet to send [22:48:07]OFD Sender: No OFD packet to send [22:48:12]OFD Sender: No OFD packet to send [22:48:17]OFD Sender: No OFD packet to send [22:48:22]OFD Sender: No OFD packet to send [22:48:27]OFD Sender: No OFD packet to send [22:48:32]OFD Sender: No OFD packet to send [22:48:37]OFD Sender: No OFD packet to send [22:48:42]OFD Sender: No OFD packet to send [22:48:47]OFD Sender: No OFD packet to send [22:48:52]OFD Sender: No OFD packet to send [22:48:57]OFD Sender: No OFD packet to send [22:49:02]OFD Sender: No OFD packet to send [22:49:07]OFD Sender: No OFD packet to send [22:49:12]OFD Sender: No OFD packet to send [22:49:17]OFD Sender: No OFD packet to send [22:49:22]OFD Sender: No OFD packet to send [22:49:27]OFD Sender: No OFD packet to send [22:49:32]OFD Sender: No OFD packet to send [22:49:37]OFD Sender: No OFD packet to send [22:49:42]OFD Sender: No OFD packet to send [22:49:47]OFD Sender: No OFD packet to send [22:49:52]OFD Sender: No OFD packet to send [22:49:57]OFD Sender: No OFD packet to send [22:50:02]OFD Sender: No OFD packet to send [22:50:07]OFD Sender: No OFD packet to send [22:50:12]OFD Sender: No OFD packet to send [22:50:17]OFD Sender: No OFD packet to send [22:50:22]OFD Sender: No OFD packet to send [22:50:27]OFD Sender: No OFD packet to send [22:50:32]OFD Sender: No OFD packet to send [22:50:37]OFD Sender: No OFD packet to send [22:50:42]OFD Sender: No OFD packet to send [22:50:47]OFD Sender: No OFD packet to send [22:50:52]OFD Sender: No OFD packet to send [22:50:57]accept exits with 10 [22:50:57]New connection [22:50:57]New thread 3066850660 created [22:50:57]Thread 3066707300 joined [22:50:57]Waiting for new connection... [22:50:57] Sock 10.Parse request [22:50:57]Sock 10.Check first char [22:50:57]Sock 10.First char is OK [22:50:57]request: POST /json_proto HTTP/1.0 [22:50:57]Method: POST [22:50:57]URL: /json_proto [22:50:57]Method is POST - this is cgi request [22:50:57]url: /json_proto [22:50:57]query_string will be loaded in cgi processing [22:50:57]execute_cgi json_proto POST (null) [22:50:57]execute_cgi path=json_proto method=POST [22:50:57]POST find Content-Length [22:50:57]Host: 172.17.52.132:8080 [22:50:57]Content-Length: 1541 [22:50:57]Content-Type: application/json [22:50:57] [22:50:57]POST finish read [22:50:57]Found Content-Length = 1541 [22:50:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99992", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001346", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u0441\u0442", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871224", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B (\u041F\u0418\u0422\u0410\u0419\u042F \u0410\u041D\u0410\u041D\u0410\u0421", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4000512994909", "name": "\u0440\u0401\u044C\u0445\u044B\u0440\u0444 \u0401\u044E\u044B\u044B\u0448 \u0401\u0443\u0445\u0401 \u0448\u044D\u0448", "price" : 44.00, "quantity" : 2.000, "sum" : 88.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" ] } } [22:50:57]execute_script... [22:50:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99992", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001346", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u0441\u0442", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871224", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B (\u041F\u0418\u0422\u0410\u0419\u042F \u0410\u041D\u0410\u041D\u0410\u0421", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4000512994909", "name": "\u0440\u0401\u044C\u0445\u044B\u0440\u0444 \u0401\u044E\u044B\u044B\u0448 \u0401\u0443\u0445\u0401 \u0448\u044D\u0448", "price" : 44.00, "quantity" : 2.000, "sum" : 88.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" ] } } [22:50:57]POST & json_proto [22:50:57]process_json_proto [22:50:57]json parsed OK: [22:50:57]protocol is kg_v1.0 [22:50:57]action value=close_receipt [22:50:57]process_action close_receipt [22:50:57]cmd_close_receipt [22:50:57]MH_GetDate [22:50:57]Write to MH i2c: F0 00 00 A0 58 E7 [22:50:57]Write i2c OK [22:50:57]MH_I2C_Read... [22:50:57]Read from MH i2c: F0 [22:50:57]MH_I2C_Read... [22:50:57]Read from MH i2c: F0 09 00 [22:50:57]MH_I2C_Read... [22:50:57]Read from MH i2c: F0 09 00 A0 58 00 DD 37 14 67 5A BE F6 66 F3 [22:50:58]GetLastDocTimeStamp 1729377691 [22:50:58]current date 1729378269 [22:50:58]FM_GetShiftState [22:50:58]SAM_PROTO_GetShiftState [22:50:58]wFMCommunicate request_size=4 [22:50:58]MH_SAM_APDU [22:50:58]CAPDU: 80 13 01 00 [22:50:58]Write to MH i2c: E2 08 00 A1 58 80 13 01 00 00 00 00 00 76 [22:50:58]OFD Sender: No OFD packet to send [22:50:58]Write i2c OK [22:50:58]MH_I2C_Read... [22:50:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:50:58]Read from MH i2c: E2 [22:50:58]MH_I2C_Read... [22:50:58]Read from MH i2c: E2 0E 00 [22:50:58]MH_I2C_Read... [22:50:58]Read from MH i2c: E2 0E 00 A1 58 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 1F [22:50:58]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [22:50:58]wFMCommunicate OK [22:50:58]SAM_PROTO_GetShiftState done [22:50:58]FM_GetShiftState done [22:50:58]opened in 1729296173 [22:50:58]opened+sec_in_day 1729382573 [22:50:58]quantity*price = 9900 [22:50:58]sum+1 = 9901 [22:50:58]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4860019001346 Вода Боржоми 0,5л ст 1.000 * 134.00 = 134.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4650243871224 Напиток Gorilla ж/б 0,45л (ПИТАЙЯ АНАНАС 1.000 * 99.00 = 99.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4000512994909 рЁьхырф Ёюыыш ЁухЁ шэш 2.000 * 44.00 = 88.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 420.00 НСП 1% : 3.73 НДС 12% : 44.59 Наличными: 420.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 75 19.10.2024 22:51 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2614 ФПД: 15085519021382 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T225110&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2614&fm=15085519021382&tin=02508201610067®Number=0000000000207295&sum=42000 0 [22:50:59]StoreToDocumentArchive [22:50:59]shift 23 fd 2614 [22:50:59]save to /storage/0023/doc_00002614 [22:50:59]save last doc name /storage/0023/doc_00002614 to /storage/kkm_last_doc_name [22:50:59]save OK [22:50:59]Clear old archive folders... [22:50:59]ProcessDocumentItem done err = 0, tmpTLVsize=646 [22:50:59]tlvbuf is 013FFF30 [22:50:59]SAM_PROTO_ClearQueue [22:50:59]wFMCommunicate request_size=4 [22:50:59]MH_SAM_APDU [22:50:59]CAPDU: 80 09 00 00 [22:50:59]Write to MH i2c: E2 08 00 AE 58 80 09 00 00 00 00 00 00 78 [22:50:59]Write i2c OK [22:50:59]MH_I2C_Read... [22:50:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:50:59]Read from MH i2c: E2 [22:50:59]MH_I2C_Read... [22:50:59]Read from MH i2c: E2 03 00 [22:50:59]MH_I2C_Read... [22:50:59]Read from MH i2c: E2 03 00 AE 58 00 90 00 7A [22:50:59]RAPDU: 90 00 [22:50:59]wFMCommunicate OK [22:50:59]SAM_PROTO_ClearQueue done [22:50:59]KKMCreateOFDPacket [22:50:59]OFDProtocolAddRootSTLVToBuf [22:50:59]FM_MakeSignedData [22:50:59]FM_MakeSignedData [22:50:59]SAM_PROTO_SignData [22:50:59]wFMCommunicate request_size=4 [22:50:59]MH_SAM_APDU [22:50:59]CAPDU: 80 0D 01 02 [22:50:59]Write to MH i2c: E2 08 00 AF 58 80 0D 01 02 00 00 00 00 80 [22:50:59]Write i2c OK [22:50:59]MH_I2C_Read... [22:50:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:50:59]Read from MH i2c: E2 [22:50:59]MH_I2C_Read... [22:50:59]Read from MH i2c: E2 03 00 [22:50:59]MH_I2C_Read... [22:50:59]Read from MH i2c: E2 03 00 AF 58 00 90 00 7B [22:50:59]RAPDU: 90 00 [22:50:59]wFMCommunicate OK [22:50:59]wFMCommunicate request_size=255 [22:50:59]MH_SAM_APDU [22:50:59]CAPDU: 80 0D 02 02 FA 03 00 86 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 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 82 00 8A 04 0D 00 34 36 35 30 [22:50:59]Write to MH i2c: E2 02 01 B0 58 80 0D 02 02 FA 00 03 00 86 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 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 82 00 8A 04 0D 00 34 36 35 30 00 00 E6 [22:50:59]Write i2c OK [22:50:59]MH_I2C_Read... [22:50:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:50:59]Read from MH i2c: E2 [22:50:59]MH_I2C_Read... [22:50:59]Read from MH i2c: E2 03 00 [22:50:59]MH_I2C_Read... [22:50:59]Read from MH i2c: E2 03 00 B0 58 00 90 00 7C [22:50:59]RAPDU: 90 00 [22:50:59]wFMCommunicate OK [22:50:59]wFMCommunicate request_size=255 [22:50:59]MH_SAM_APDU [22:50:59]CAPDU: 80 0D 02 02 FA 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 60 22 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 [22:50:59]Write to MH i2c: E2 02 01 B1 58 80 0D 02 02 FA 00 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 60 22 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 00 00 11 [22:50:59]Write i2c OK [22:50:59]MH_I2C_Read... [22:50:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:50:59]Read from MH i2c: E2 [22:50:59]MH_I2C_Read... [22:50:59]Read from MH i2c: E2 03 00 [22:50:59]MH_I2C_Read... [22:50:59]Read from MH i2c: E2 03 00 B1 58 00 90 00 7D [22:50:59]RAPDU: 90 00 [22:50:59]wFMCommunicate OK [22:50:59]wFMCommunicate request_size=155 [22:50:59]MH_SAM_APDU [22:50:59]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6B 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 4B 00 00 00 F4 03 04 00 DE 37 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 36 0A 00 00 35 04 06 00 0D B8 5F 00 A5 46 [22:50:59]Write to MH i2c: E2 9E 00 B2 58 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6B 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 4B 00 00 00 F4 03 04 00 DE 37 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 36 0A 00 00 35 04 06 00 0D B8 5F 00 A5 46 00 00 C6 [22:50:59]Write i2c OK [22:50:59]MH_I2C_Read... [22:51:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:51:00]Read from MH i2c: E2 [22:51:00]MH_I2C_Read... [22:51:00]Read from MH i2c: E2 03 00 [22:51:00]MH_I2C_Read... [22:51:00]Read from MH i2c: E2 03 00 B2 58 00 90 00 7E [22:51:00]RAPDU: 90 00 [22:51:00]wFMCommunicate OK [22:51:00]wFMCommunicate request_size=4 [22:51:00]MH_SAM_APDU [22:51:00]CAPDU: 80 0D 03 02 [22:51:00]Write to MH i2c: E2 08 00 B3 58 80 0D 03 02 00 00 00 00 86 [22:51:00]Write i2c OK [22:51:00]MH_I2C_Read... [22:51:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:51:00]Read from MH i2c: E2 [22:51:00]MH_I2C_Read... [22:51:00]Read from MH i2c: E2 0B 00 [22:51:00]MH_I2C_Read... [22:51:00]Read from MH i2c: E2 0B 00 B3 58 00 85 A7 3A 62 A7 51 02 E2 90 00 2B [22:51:00]RAPDU: 85 A7 3A 62 A7 51 02 E2 90 00 [22:51:00]wFMCommunicate OK [22:51:00]SAM_PROTO_SignData done [22:51:00]FM_MakeSignedData done [22:51:00]CreateOFDProtocolMessage [22:51:00]wFMCommunicate request_size=4 [22:51:00]MH_SAM_APDU [22:51:00]CAPDU: 80 11 00 00 [22:51:00]Write to MH i2c: E2 08 00 B4 58 80 11 00 00 00 00 00 00 86 [22:51:00]Write i2c OK [22:51:00]MH_I2C_Read... [22:51:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:51:00]Read from MH i2c: E2 [22:51:00]MH_I2C_Read... [22:51:00]Read from MH i2c: E2 17 00 [22:51:00]MH_I2C_Read... [22:51:00]Read from MH i2c: E2 17 00 B4 58 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 CE [22:51:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:51:00]wFMCommunicate OK [22:51:00]CreateOFDProtocolMessage done [22:51:00]OFDSenderStorePacket 2614 [22:51:00]StoreOFDPacket docnum=2614 [22:51:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 9A 02 00 00 E1 EA 92 02 7C 4B 5A 03 01 00 03 00 86 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 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 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 60 22 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 75 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6B 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 4B 00 00 00 F4 03 04 00 DE 37 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 36 0A 00 00 35 04 06 00 0D B8 5F 00 A5 46 85 A7 3A 62 A7 51 02 E2 [22:51:00]CheckFolder [22:51:00]dirname=/storage/ofd_packets [22:51:00]CheckFolder done [22:51:00]ProducePacketName [22:51:00]name=ofd_packets/00002614 [22:51:00]NVStorageSaveData ofd_packets/00002614 [22:51:00]File name is /storage/ofd_packets/00002614 [22:51:00]Write 696 bytes [22:51:00]NVStorageSaveData done [22:51:00]OFDSenderStorePacket done [22:51:00]KKMCreateOFDPacket done [22:51:00]NVStorageSaveData kkm_last_timestamp [22:51:00]File name is /storage/kkm_last_timestamp [22:51:00]Write 4 bytes [22:51:00]NVStorageSaveData done [22:51:00]ExternCall_PrintAddStr [22:51:00]wPrintStart [22:51:00]Write to MH i2c: 01 00 00 B5 58 0D [22:51:00]Write i2c OK [22:51:00]MH_I2C_Read... [22:51:00]Read from MH i2c: 01 [22:51:00]MH_I2C_Read... [22:51:00]Read from MH i2c: 01 07 00 [22:51:00]MH_I2C_Read... [22:51:00]Read from MH i2c: 01 07 00 B5 58 00 00 00 00 00 FF 0F 22 [22:51:00]RasterBufferAndPrint [22:51:00]line Счет N : (3)99992 [22:51:00]line ИНН: 02508201610067 [22:51:00]line Контрольно-Кассовый Чек [22:51:00]line ПРОДАЖА [22:51:00]line Товар: 4870022003305 [22:51:00]line Напиток Gorilla эн нат ж/б 0,5/0,45л [22:51:00]line 1.000 * 99.00 [22:51:00]line = 99.00 [22:51:00]line НДС 12% НСП 1% [22:51:00]line > о реализуемом товаре [22:51:00]line Товар: 4860019001346 [22:51:00]line Вода Боржоми 0,5л ст [22:51:00]line 1.000 * 134.00 [22:51:00]line = 134.00 [22:51:00]line НДС 12% НСП 1% [22:51:00]line > о реализуемом товаре [22:51:00]line Товар: 4650243871224 [22:51:00]line Напиток Gorilla ж/б 0,45л (ПИТАЙЯ АНАНАС [22:51:00]line 1.000 * 99.00 [22:51:00]line = 99.00 [22:51:00]line НДС 12% НСП 1% [22:51:00]line > о реализуемом товаре [22:51:00]line Товар: 4000512994909 [22:51:00]line рЁьхырф Ёюыыш ЁухЁ шэш [22:51:00]line 2.000 * 44.00 [22:51:00]line = 88.00 [22:51:00]line НДС 12% НСП 1% [22:51:00]line > о реализуемом товаре [22:51:00]line ИТОГО: 420.00 [22:51:00]line НСП 1% : 3.73 [22:51:00]line НДС 12% : 44.59 [22:51:00]line Наличными: 420.00 [22:51:00]line Безнал.: 0.00 [22:51:00]line Место: АЗС № 162 "Партнер Нефть" [22:51:00]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [22:51:00]line СНО: Общий режим [22:51:00]line Чек 75 19.10.2024 22:51 [22:51:00]line Смена: 23 ФФД: 1.0 [22:51:00]line ЗНМ: 0300000191 [22:51:00]line РНМ: 0000000000207295 [22:51:00]line Версия ККМ: v1.0 [22:51:00]line ФМ: 0000000002342820 [22:51:00]line ФД: 2614 [22:51:00]line ФПД: 15085519021382 [22:51:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T225110&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2614&fm=15085519021382&tin=02508201610067®Number=0000000000207295&sum=42000 [22:51:00]OFD Sender: Processing packet 2614 [packets to send 1, broken 0] [22:51:00]ProducePacketName [22:51:00]name=ofd_packets/00002614 [22:51:00]OFD Sender: To server: pG, [22:51:00]CommunicateWithHost lk.salyk.kg:30040 [22:51:00]ConnectInit lk.salyk.kg [22:51:00]line 0 [22:51:00]written 0, free lines is 4095 [22:51:00]Connected sock=9 [22:51:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 9A 02 00 00 E1 EA 92 02 7C 4B 5A 03 01 00 03 00 86 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 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 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 60 22 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 75 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6B 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 4B 00 00 00 F4 03 04 00 DE 37 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 36 0A 00 00 35 04 06 00 0D B8 5F 00 A5 46 85 A7 3A 62 A7 51 02 E2 [22:51:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 50 25 47 00 A7 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 32 33 34 32 38 32 30 10 04 04 00 36 0A 00 00 F4 03 04 00 3D E3 13 67 B6 04 01 00 00 16 74 E7 9D AF AD 42 06 [22:51:00]CommunicateWithHost err = 0 [22:51:00]CheckOFDResponse [22:51:00]1017 (14) - 77093643461234 [22:51:00]1041 (16) - 0000000002342820 [22:51:00]1040 (4) - 2614 [22:51:00]1012 (4) - 19.10.2024 16:50 [22:51:00]1206 (1) - 0 [22:51:00]OFD Sender: Remove packet 2614 [22:51:00]ProducePacketName [22:51:00]name=ofd_packets/00002614 [22:51:00]NVStorageDeleteData [22:51:01]Write to MH i2c: 01 00 00 F1 58 49 [22:51:01]Write i2c OK [22:51:01]MH_I2C_Read... [22:51:01]Read from MH i2c: 01 [22:51:01]MH_I2C_Read... [22:51:01]Read from MH i2c: 01 07 00 [22:51:01]MH_I2C_Read... [22:51:01]Read from MH i2c: 01 07 00 F1 58 00 00 00 00 00 A1 0B FC [22:51:01]RasterBufferAndPrint [22:51:01]line [22:51:01]line [22:51:01]line [22:51:01]line [22:51:01]line [22:51:01]written 0, free lines is 2987 [22:51:01]MH_Cut [22:51:01]Write to MH i2c: D1 01 00 F8 58 01 22 [22:51:01]Write i2c OK [22:51:01]MH_I2C_Read... [22:51:01]Read from MH i2c: D1 [22:51:01]MH_I2C_Read... [22:51:01]Read from MH i2c: D1 01 00 [22:51:01]MH_I2C_Read... [22:51:01]Read from MH i2c: D1 01 00 F8 58 00 21 [22:51:01]Write to MH i2c: 01 00 00 F9 58 51 [22:51:01]Write i2c OK [22:51:01]MH_I2C_Read... [22:51:01]OFD Sender: No OFD packet to send [22:51:02]*** Cut start [22:51:02]*** Partial cut [22:51:02]*** CUTSNS_PIN = 1 [22:51:02]*** CUTSNS_PIN = 0 [22:51:02]*** Brake cut motor [22:51:02]Read from MH i2c: 01 [22:51:03]MH_I2C_Read... [22:51:03]*** Stop cut motor [22:51:03]*** Cut end [22:51:03]Read from MH i2c: 01 07 00 [22:51:03]MH_I2C_Read... [22:51:03]Read from MH i2c: 01 07 00 F9 58 00 00 00 00 00 FF 0F 66 [22:51:03]process_action close_receipt done [22:51:03]requested_data is exist [22:51:03]produce_requested_data [22:51:03]requested_item fm.sn is exist - process it [22:51:03]wFMCommunicate request_size=4 [22:51:03]MH_SAM_APDU [22:51:03]CAPDU: 80 11 00 00 [22:51:03]Write to MH i2c: E2 08 00 FA 58 80 11 00 00 00 00 00 00 CC [22:51:03]Write i2c OK [22:51:03]MH_I2C_Read... [22:51:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:51:03]Read from MH i2c: E2 [22:51:03]MH_I2C_Read... [22:51:03]Read from MH i2c: E2 17 00 [22:51:03]MH_I2C_Read... [22:51:03]Read from MH i2c: E2 17 00 FA 58 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 14 [22:51:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [22:51:03]wFMCommunicate OK [22:51:03]requested_item fd.num is exist - process it [22:51:03]SAM_PROTO_GetFieldsCounters [22:51:03]wFMCommunicate request_size=4 [22:51:03]MH_SAM_APDU [22:51:03]CAPDU: 80 13 00 00 [22:51:03]Write to MH i2c: E2 08 00 FB 58 80 13 00 00 00 00 00 00 CF [22:51:03]Write i2c OK [22:51:03]MH_I2C_Read... [22:51:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:51:03]Read from MH i2c: E2 [22:51:03]MH_I2C_Read... [22:51:03]Read from MH i2c: E2 62 00 [22:51:03]MH_I2C_Read... [22:51:03]Read from MH i2c: E2 62 00 FB 58 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 36 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 1D [22:51:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 36 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:51:03]wFMCommunicate OK [22:51:03]SAM_PROTO_GetFieldsCounters done [22:51:03]requested_item shift.num is exist - process it [22:51:03]requested_item shift.opened is exist - process it [22:51:03]req_shift_opened [22:51:03]FM_GetShiftState [22:51:03]SAM_PROTO_GetShiftState [22:51:03]wFMCommunicate request_size=4 [22:51:03]MH_SAM_APDU [22:51:03]CAPDU: 80 13 01 00 [22:51:03]Write to MH i2c: E2 08 00 FC 58 80 13 01 00 00 00 00 00 D1 [22:51:03]Write i2c OK [22:51:03]MH_I2C_Read... [22:51:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:51:03]Read from MH i2c: E2 [22:51:03]MH_I2C_Read... [22:51:03]Read from MH i2c: E2 0E 00 [22:51:03]MH_I2C_Read... [22:51:03]Read from MH i2c: E2 0E 00 FC 58 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 7A [22:51:03]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [22:51:03]wFMCommunicate OK [22:51:03]SAM_PROTO_GetShiftState done [22:51:03]FM_GetShiftState done [22:51:03]req_shift_opened done [22:51:03]requested_item shift.open_date is exist - process it [22:51:03]req_shift_open_date [22:51:03]req_shift_open_date done [22:51:03]produce_requested_data done [22:51:03]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2614,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [22:51:03]process_action_free close_receipt [22:51:03]json_value_free [22:51:03]json_value_free done [22:51:03]process_json_proto returns [22:51:03]Send response to host [22:51:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2614,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [22:51:03]free response buf [22:51:03]execute_script done [22:51:03]execute_script returns [22:51:03]free content buf [22:51:03]Sock 10.Close socket [22:51:03]Sock 10.Thread stoped [22:51:06]OFD Sender: No OFD packet to send [22:51:11]OFD Sender: No OFD packet to send [22:51:16]OFD Sender: No OFD packet to send [22:51:21]OFD Sender: No OFD packet to send [22:51:26]OFD Sender: No OFD packet to send [22:51:31]OFD Sender: No OFD packet to send [22:51:36]OFD Sender: No OFD packet to send [22:51:41]OFD Sender: No OFD packet to send [22:51:46]OFD Sender: No OFD packet to send [22:51:51]OFD Sender: No OFD packet to send [22:51:56]OFD Sender: No OFD packet to send [22:52:01]OFD Sender: No OFD packet to send [22:52:06]OFD Sender: No OFD packet to send [22:52:11]OFD Sender: No OFD packet to send [22:52:16]OFD Sender: No OFD packet to send [22:52:21]OFD Sender: No OFD packet to send [22:52:26]OFD Sender: No OFD packet to send [22:52:31]OFD Sender: No OFD packet to send [22:52:36]OFD Sender: No OFD packet to send [22:52:41]OFD Sender: No OFD packet to send [22:52:46]OFD Sender: No OFD packet to send [22:52:51]OFD Sender: No OFD packet to send [22:52:56]OFD Sender: No OFD packet to send [22:53:01]OFD Sender: No OFD packet to send [22:53:06]OFD Sender: No OFD packet to send [22:53:11]OFD Sender: No OFD packet to send [22:53:16]OFD Sender: No OFD packet to send [22:53:21]OFD Sender: No OFD packet to send [22:53:26]OFD Sender: No OFD packet to send [22:53:31]OFD Sender: No OFD packet to send [22:53:36]OFD Sender: No OFD packet to send [22:53:41]OFD Sender: No OFD packet to send [22:53:46]OFD Sender: No OFD packet to send [22:53:51]OFD Sender: No OFD packet to send [22:53:56]OFD Sender: No OFD packet to send [22:54:01]OFD Sender: No OFD packet to send [22:54:06]OFD Sender: No OFD packet to send [22:54:11]OFD Sender: No OFD packet to send [22:54:16]OFD Sender: No OFD packet to send [22:54:21]OFD Sender: No OFD packet to send [22:54:26]OFD Sender: No OFD packet to send [22:54:31]OFD Sender: No OFD packet to send [22:54:36]OFD Sender: No OFD packet to send [22:54:41]OFD Sender: No OFD packet to send [22:54:46]OFD Sender: No OFD packet to send [22:54:51]OFD Sender: No OFD packet to send [22:54:56]OFD Sender: No OFD packet to send [22:55:01]OFD Sender: No OFD packet to send [22:55:06]OFD Sender: No OFD packet to send [22:55:11]OFD Sender: No OFD packet to send [22:55:16]OFD Sender: No OFD packet to send [22:55:21]OFD Sender: No OFD packet to send [22:55:26]OFD Sender: No OFD packet to send [22:55:31]OFD Sender: No OFD packet to send [22:55:36]OFD Sender: No OFD packet to send [22:55:41]OFD Sender: No OFD packet to send [22:55:46]OFD Sender: No OFD packet to send [22:55:51]OFD Sender: No OFD packet to send [22:55:56]OFD Sender: No OFD packet to send [22:56:01]OFD Sender: No OFD packet to send [22:56:06]OFD Sender: No OFD packet to send [22:56:11]OFD Sender: No OFD packet to send [22:56:16]OFD Sender: No OFD packet to send [22:56:21]OFD Sender: No OFD packet to send [22:56:26]OFD Sender: No OFD packet to send [22:56:31]OFD Sender: No OFD packet to send [22:56:36]OFD Sender: No OFD packet to send [22:56:41]OFD Sender: No OFD packet to send [22:56:46]OFD Sender: No OFD packet to send [22:56:51]OFD Sender: No OFD packet to send [22:56:56]OFD Sender: No OFD packet to send [22:57:01]OFD Sender: No OFD packet to send [22:57:06]OFD Sender: No OFD packet to send [22:57:11]OFD Sender: No OFD packet to send [22:57:16]OFD Sender: No OFD packet to send [22:57:21]OFD Sender: No OFD packet to send [22:57:26]OFD Sender: No OFD packet to send [22:57:31]OFD Sender: No OFD packet to send [22:57:36]OFD Sender: No OFD packet to send [22:57:41]OFD Sender: No OFD packet to send [22:57:46]OFD Sender: No OFD packet to send [22:57:51]OFD Sender: No OFD packet to send [22:57:56]OFD Sender: No OFD packet to send [22:58:01]OFD Sender: No OFD packet to send [22:58:06]OFD Sender: No OFD packet to send [22:58:11]OFD Sender: No OFD packet to send [22:58:16]OFD Sender: No OFD packet to send [22:58:21]OFD Sender: No OFD packet to send [22:58:26]OFD Sender: No OFD packet to send [22:58:31]OFD Sender: No OFD packet to send [22:58:36]OFD Sender: No OFD packet to send [22:58:41]OFD Sender: No OFD packet to send [22:58:46]OFD Sender: No OFD packet to send [22:58:51]OFD Sender: No OFD packet to send [22:58:56]OFD Sender: No OFD packet to send [22:59:01]OFD Sender: No OFD packet to send [22:59:06]OFD Sender: No OFD packet to send [22:59:11]OFD Sender: No OFD packet to send [22:59:16]OFD Sender: No OFD packet to send [22:59:21]OFD Sender: No OFD packet to send [22:59:26]OFD Sender: No OFD packet to send [22:59:31]OFD Sender: No OFD packet to send [22:59:36]OFD Sender: No OFD packet to send [22:59:41]OFD Sender: No OFD packet to send [22:59:46]OFD Sender: No OFD packet to send [22:59:51]OFD Sender: No OFD packet to send [22:59:56]OFD Sender: No OFD packet to send [23:00:01]OFD Sender: No OFD packet to send [23:00:06]OFD Sender: No OFD packet to send [23:00:11]OFD Sender: No OFD packet to send [23:00:16]OFD Sender: No OFD packet to send [23:00:21]OFD Sender: No OFD packet to send [23:00:26]OFD Sender: No OFD packet to send [23:00:31]OFD Sender: No OFD packet to send [23:00:36]OFD Sender: No OFD packet to send [23:00:41]OFD Sender: No OFD packet to send [23:00:46]OFD Sender: No OFD packet to send [23:00:51]OFD Sender: No OFD packet to send [23:00:56]OFD Sender: No OFD packet to send [23:01:01]OFD Sender: No OFD packet to send [23:01:06]OFD Sender: No OFD packet to send [23:01:11]OFD Sender: No OFD packet to send [23:01:16]OFD Sender: No OFD packet to send [23:01:21]OFD Sender: No OFD packet to send [23:01:26]OFD Sender: No OFD packet to send [23:01:31]OFD Sender: No OFD packet to send [23:01:36]OFD Sender: No OFD packet to send [23:01:41]OFD Sender: No OFD packet to send [23:01:46]OFD Sender: No OFD packet to send [23:01:51]OFD Sender: No OFD packet to send [23:01:56]OFD Sender: No OFD packet to send [23:02:01]OFD Sender: No OFD packet to send [23:02:06]OFD Sender: No OFD packet to send [23:02:11]OFD Sender: No OFD packet to send [23:02:16]OFD Sender: No OFD packet to send [23:02:21]OFD Sender: No OFD packet to send [23:02:26]OFD Sender: No OFD packet to send [23:02:31]OFD Sender: No OFD packet to send [23:02:36]OFD Sender: No OFD packet to send [23:02:41]OFD Sender: No OFD packet to send [23:02:46]OFD Sender: No OFD packet to send [23:02:51]OFD Sender: No OFD packet to send [23:02:56]OFD Sender: No OFD packet to send [23:03:01]OFD Sender: No OFD packet to send [23:03:06]OFD Sender: No OFD packet to send [23:03:11]OFD Sender: No OFD packet to send [23:03:16]OFD Sender: No OFD packet to send [23:03:21]OFD Sender: No OFD packet to send [23:03:26]OFD Sender: No OFD packet to send [23:03:32]OFD Sender: No OFD packet to send [23:03:37]OFD Sender: No OFD packet to send [23:03:42]OFD Sender: No OFD packet to send [23:03:47]OFD Sender: No OFD packet to send [23:03:52]OFD Sender: No OFD packet to send [23:03:57]OFD Sender: No OFD packet to send [23:04:02]OFD Sender: No OFD packet to send [23:04:07]OFD Sender: No OFD packet to send [23:04:12]OFD Sender: No OFD packet to send [23:04:17]OFD Sender: No OFD packet to send [23:04:22]OFD Sender: No OFD packet to send [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:32]OFD Sender: No OFD packet to send [23:12:37]OFD Sender: No OFD packet to send [23:12:42]OFD Sender: No OFD packet to send [23:12:47]OFD Sender: No OFD packet to send [23:12:52]OFD Sender: No OFD packet to send [23:12:57]OFD Sender: No OFD packet to send [23:13:02]OFD Sender: No OFD packet to send [23:13:07]OFD Sender: No OFD packet to send [23:13:12]OFD Sender: No OFD packet to send [23:13:17]OFD Sender: No OFD packet to send [23:13:22]OFD Sender: No OFD packet to send [23:13:27]OFD Sender: No OFD packet to send [23:13:32]OFD Sender: No OFD packet to send [23:13:37]OFD Sender: No OFD packet to send [23:13:42]OFD Sender: No OFD packet to send [23:13:47]OFD Sender: No OFD packet to send [23:13:52]OFD Sender: No OFD packet to send [23:13:57]OFD Sender: No OFD packet to send [23:14:02]OFD Sender: No OFD packet to send [23:14:07]OFD Sender: No OFD packet to send [23:14:12]OFD Sender: No OFD packet to send [23:14:17]OFD Sender: No OFD packet to send [23:14:22]OFD Sender: No OFD packet to send [23:14:27]OFD Sender: No OFD packet to send [23:14:32]OFD Sender: No OFD packet to send [23:14:37]OFD Sender: No OFD packet to send [23:14:42]OFD Sender: No OFD packet to send [23:14:47]OFD Sender: No OFD packet to send [23:14:52]OFD Sender: No OFD packet to send [23:14:57]OFD Sender: No OFD packet to send [23:15:02]OFD Sender: No OFD packet to send [23:15:07]OFD Sender: No OFD packet to send [23:15:12]OFD Sender: No OFD packet to send [23:15:17]OFD Sender: No OFD packet to send [23:15:22]OFD Sender: No OFD packet to send [23:15:27]OFD Sender: No OFD packet to send [23:15:32]OFD Sender: No OFD packet to send [23:15:37]OFD Sender: No OFD packet to send [23:15:42]OFD Sender: No OFD packet to send [23:15:47]OFD Sender: No OFD packet to send [23:15:52]OFD Sender: No OFD packet to send [23:15:57]OFD Sender: No OFD packet to send [23:16:02]OFD Sender: No OFD packet to send [23:16:07]OFD Sender: No OFD packet to send [23:16:12]OFD Sender: No OFD packet to send [23:16:17]OFD Sender: No OFD packet to send [23:16:22]OFD Sender: No OFD packet to send [23:16:27]OFD Sender: No OFD packet to send [23:16:32]OFD Sender: No OFD packet to send [23:16:37]OFD Sender: No OFD packet to send [23:16:42]OFD Sender: No OFD packet to send [23:16:47]OFD Sender: No OFD packet to send [23:16:52]OFD Sender: No OFD packet to send [23:16:57]OFD Sender: No OFD packet to send [23:17:02]OFD Sender: No OFD packet to send [23:17:07]OFD Sender: No OFD packet to send [23:17:12]OFD Sender: No OFD packet to send [23:17:17]OFD Sender: No OFD packet to send [23:17:22]OFD Sender: No OFD packet to send [23:17:27]OFD Sender: No OFD packet to send [23:17:32]OFD Sender: No OFD packet to send [23:17:37]OFD Sender: No OFD packet to send [23:17:42]OFD Sender: No OFD packet to send [23:17:47]OFD Sender: No OFD packet to send [23:17:52]OFD Sender: No OFD packet to send [23:17:57]OFD Sender: No OFD packet to send [23:18:02]OFD Sender: No OFD packet to send [23:18:07]OFD Sender: No OFD packet to send [23:18:12]OFD Sender: No OFD packet to send [23:18:17]OFD Sender: No OFD packet to send [23:18:22]OFD Sender: No OFD packet to send [23:18:27]OFD Sender: No OFD packet to send [23:18:32]OFD Sender: No OFD packet to send [23:18:37]OFD Sender: No OFD packet to send [23:18:42]OFD Sender: No OFD packet to send [23:18:47]OFD Sender: No OFD packet to send [23:18:52]OFD Sender: No OFD packet to send [23:18:57]OFD Sender: No OFD packet to send [23:19:02]OFD Sender: No OFD packet to send [23:19:07]OFD Sender: No OFD packet to send [23:19:12]OFD Sender: No OFD packet to send [23:19:17]OFD Sender: No OFD packet to send [23:19:22]OFD Sender: No OFD packet to send [23:19:27]OFD Sender: No OFD packet to send [23:19:32]OFD Sender: No OFD packet to send [23:19:37]OFD Sender: No OFD packet to send [23:19:42]OFD Sender: No OFD packet to send [23:19:47]OFD Sender: No OFD packet to send [23:19:52]OFD Sender: No OFD packet to send [23:19:57]OFD Sender: No OFD packet to send [23:20:02]OFD Sender: No OFD packet to send [23:20:07]OFD Sender: No OFD packet to send [23:20:12]OFD Sender: No OFD packet to send [23:20:17]OFD Sender: No OFD packet to send [23:20:22]OFD Sender: No OFD packet to send [23:20:27]OFD Sender: No OFD packet to send [23:20:32]OFD Sender: No OFD packet to send [23:20:37]OFD Sender: No OFD packet to send [23:20:42]OFD Sender: No OFD packet to send [23:20:47]OFD Sender: No OFD packet to send [23:20:52]OFD Sender: No OFD packet to send [23:20:57]OFD Sender: No OFD packet to send [23:21:02]OFD Sender: No OFD packet to send [23:21:07]OFD Sender: No OFD packet to send [23:21:12]OFD Sender: No OFD packet to send [23:21:17]OFD Sender: No OFD packet to send [23:21:22]OFD Sender: No OFD packet to send [23:21:27]OFD Sender: No OFD packet to send [23:21:32]OFD Sender: No OFD packet to send [23:21:37]OFD Sender: No OFD packet to send [23:21:40]accept exits with 7 [23:21:40]New connection [23:21:40]New thread 3066707300 created [23:21:40]Thread 3066850660 joined [23:21:40]Waiting for new connection... [23:21:40] Sock 7.Parse request [23:21:40]Sock 7.Check first char [23:21:40]Sock 7.First char is OK [23:21:40]request: POST /json_proto HTTP/1.0 [23:21:40]Method: POST [23:21:40]URL: /json_proto [23:21:40]Method is POST - this is cgi request [23:21:40]url: /json_proto [23:21:40]query_string will be loaded in cgi processing [23:21:40]execute_cgi json_proto POST (null) [23:21:40]execute_cgi path=json_proto method=POST [23:21:40]POST find Content-Length [23:21:40]Host: 172.17.52.132:8080 [23:21:40]Content-Length: 1472 [23:21:40]Content-Type: application/json [23:21:40] [23:21:40]POST finish read [23:21:40]Found Content-Length = 1472 [23:21:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99993", "tax_sys" : 0, "items" : [ { "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010070", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 378.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:21:40]execute_script... [23:21: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)99993", "tax_sys" : 0, "items" : [ { "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010070", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 378.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:21:40]POST & json_proto [23:21:40]process_json_proto [23:21:40]json parsed OK: [23:21:40]protocol is kg_v1.0 [23:21:40]action value=close_receipt [23:21:40]process_action close_receipt [23:21:40]cmd_close_receipt [23:21:40]MH_GetDate [23:21:40]Write to MH i2c: F0 00 00 FD 58 44 [23:21:40]Write i2c OK [23:21:40]MH_I2C_Read... [23:21:40]Read from MH i2c: F0 [23:21:40]MH_I2C_Read... [23:21:40]Read from MH i2c: F0 09 00 [23:21:40]MH_I2C_Read... [23:21:40]Read from MH i2c: F0 09 00 FD 58 00 10 3F 14 67 5A BE F6 66 8B [23:21:40]GetLastDocTimeStamp 1729378270 [23:21:40]current date 1729380112 [23:21:40]FM_GetShiftState [23:21:41]SAM_PROTO_GetShiftState [23:21:41]wFMCommunicate request_size=4 [23:21:41]MH_SAM_APDU [23:21:41]CAPDU: 80 13 01 00 [23:21:41]Write to MH i2c: E2 08 00 FE 58 80 13 01 00 00 00 00 00 D3 [23:21:41]Write i2c OK [23:21:41]MH_I2C_Read... [23:21:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:21:41]Read from MH i2c: E2 [23:21:41]MH_I2C_Read... [23:21:41]Read from MH i2c: E2 0E 00 [23:21:41]MH_I2C_Read... [23:21:41]Read from MH i2c: E2 0E 00 FE 58 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 7C [23:21:41]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [23:21:41]wFMCommunicate OK [23:21:41]SAM_PROTO_GetShiftState done [23:21:41]FM_GetShiftState done [23:21:41]opened in 1729296173 [23:21:41]opened+sec_in_day 1729382573 [23:21:41]quantity*price = 4000 [23:21:41]sum+1 = 4001 [23:21:41]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870022003305 Напиток Gorilla эн нат ж/б 0,5/0,45л 1.000 * 99.00 = 99.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700003010070 Чай хол Let`s Go! чер персик ПЭТ 1,25л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 378.00 НСП 1% : 3.34 НДС 12% : 40.14 Наличными: 378.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 76 19.10.2024 23:21 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2615 ФПД: 242469884189609 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T232153&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2615&fm=242469884189609&tin=02508201610067®Number=0000000000207295&sum=37800 0 [23:21:42]StoreToDocumentArchive [23:21:42]shift 23 fd 2615 [23:21:42]save to /storage/0023/doc_00002615 [23:21:42]save last doc name /storage/0023/doc_00002615 to /storage/kkm_last_doc_name [23:21:42]save OK [23:21:42]Clear old archive folders... [23:21:42]ProcessDocumentItem done err = 0, tmpTLVsize=633 [23:21:42]tlvbuf is 013DE550 [23:21:42]SAM_PROTO_ClearQueue [23:21:42]wFMCommunicate request_size=4 [23:21:42]MH_SAM_APDU [23:21:42]CAPDU: 80 09 00 00 [23:21:42]Write to MH i2c: E2 08 00 0B 59 80 09 00 00 00 00 00 00 D6 [23:21:42]Write i2c OK [23:21:42]MH_I2C_Read... [23:21:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:21:42]Read from MH i2c: E2 [23:21:42]MH_I2C_Read... [23:21:42]Read from MH i2c: E2 03 00 [23:21:42]MH_I2C_Read... [23:21:42]Read from MH i2c: E2 03 00 0B 59 00 90 00 D8 [23:21:42]RAPDU: 90 00 [23:21:42]wFMCommunicate OK [23:21:42]SAM_PROTO_ClearQueue done [23:21:42]KKMCreateOFDPacket [23:21:42]OFDProtocolAddRootSTLVToBuf [23:21:42]FM_MakeSignedData [23:21:42]FM_MakeSignedData [23:21:42]SAM_PROTO_SignData [23:21:42]wFMCommunicate request_size=4 [23:21:42]MH_SAM_APDU [23:21:42]CAPDU: 80 0D 01 02 [23:21:42]Write to MH i2c: E2 08 00 0C 59 80 0D 01 02 00 00 00 00 DE [23:21:42]Write i2c OK [23:21:42]MH_I2C_Read... [23:21:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:21:42]Read from MH i2c: E2 [23:21:42]MH_I2C_Read... [23:21:42]Read from MH i2c: E2 03 00 [23:21:42]MH_I2C_Read... [23:21:42]Read from MH i2c: E2 03 00 0C 59 00 90 00 D9 [23:21:42]RAPDU: 90 00 [23:21:42]wFMCommunicate OK [23:21:42]wFMCommunicate request_size=255 [23:21:42]MH_SAM_APDU [23:21:42]CAPDU: 80 0D 02 02 FA 03 00 79 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 [23:21:42]Write to MH i2c: E2 02 01 0D 59 80 0D 02 02 FA 00 03 00 79 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 00 00 94 [23:21:42]Write i2c OK [23:21:42]MH_I2C_Read... [23:21:42]OFD Sender: No OFD packet to send [23:21:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:21:42]Read from MH i2c: E2 [23:21:42]MH_I2C_Read... [23:21:42]Read from MH i2c: E2 03 00 [23:21:42]MH_I2C_Read... [23:21:42]Read from MH i2c: E2 03 00 0D 59 00 90 00 DA [23:21:42]RAPDU: 90 00 [23:21:42]wFMCommunicate OK [23:21:42]wFMCommunicate request_size=255 [23:21:42]MH_SAM_APDU [23:21:42]CAPDU: 80 0D 02 02 FA 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 93 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4E [23:21:42]Write to MH i2c: E2 02 01 0E 59 80 0D 02 02 FA 00 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 93 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4E 00 00 70 [23:21:42]Write i2c OK [23:21:42]MH_I2C_Read... [23:21:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:21:43]Read from MH i2c: E2 [23:21:43]MH_I2C_Read... [23:21:43]Read from MH i2c: E2 03 00 [23:21:43]MH_I2C_Read... [23:21:43]Read from MH i2c: E2 03 00 0E 59 00 90 00 DB [23:21:43]RAPDU: 90 00 [23:21:43]wFMCommunicate OK [23:21:43]wFMCommunicate request_size=142 [23:21:43]MH_SAM_APDU [23:21:43]CAPDU: 80 0D 02 02 89 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 0F 00 00 00 00 07 04 06 00 A8 93 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 11 3F 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 37 0A 00 00 35 04 06 00 DC 86 6B 50 DB A9 [23:21:43]Write to MH i2c: E2 91 00 0F 59 80 0D 02 02 89 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 0F 00 00 00 00 07 04 06 00 A8 93 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 11 3F 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 37 0A 00 00 35 04 06 00 DC 86 6B 50 DB A9 00 00 1F [23:21:43]Write i2c OK [23:21:43]MH_I2C_Read... [23:21:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:21:43]Read from MH i2c: E2 [23:21:43]MH_I2C_Read... [23:21:43]Read from MH i2c: E2 03 00 [23:21:43]MH_I2C_Read... [23:21:43]Read from MH i2c: E2 03 00 0F 59 00 90 00 DC [23:21:43]RAPDU: 90 00 [23:21:43]wFMCommunicate OK [23:21:43]wFMCommunicate request_size=4 [23:21:43]MH_SAM_APDU [23:21:43]CAPDU: 80 0D 03 02 [23:21:43]Write to MH i2c: E2 08 00 10 59 80 0D 03 02 00 00 00 00 E4 [23:21:43]Write i2c OK [23:21:43]MH_I2C_Read... [23:21:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:21:43]Read from MH i2c: E2 [23:21:43]MH_I2C_Read... [23:21:43]Read from MH i2c: E2 0B 00 [23:21:43]MH_I2C_Read... [23:21:43]Read from MH i2c: E2 0B 00 10 59 00 A6 47 8D 15 74 B3 66 1B 90 00 1C [23:21:43]RAPDU: A6 47 8D 15 74 B3 66 1B 90 00 [23:21:43]wFMCommunicate OK [23:21:43]SAM_PROTO_SignData done [23:21:43]FM_MakeSignedData done [23:21:43]CreateOFDProtocolMessage [23:21:43]wFMCommunicate request_size=4 [23:21:43]MH_SAM_APDU [23:21:43]CAPDU: 80 11 00 00 [23:21:43]Write to MH i2c: E2 08 00 11 59 80 11 00 00 00 00 00 00 E4 [23:21:43]Write i2c OK [23:21:43]MH_I2C_Read... [23:21:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:21:43]Read from MH i2c: E2 [23:21:43]MH_I2C_Read... [23:21:43]Read from MH i2c: E2 17 00 [23:21:43]MH_I2C_Read... [23:21:43]Read from MH i2c: E2 17 00 11 59 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 2C [23:21:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:21:43]wFMCommunicate OK [23:21:43]CreateOFDProtocolMessage done [23:21:43]OFDSenderStorePacket 2615 [23:21:43]StoreOFDPacket docnum=2615 [23:21:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 8D 02 00 00 0C 15 85 02 2A F6 5A 03 01 00 03 00 79 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 93 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 0F 00 00 00 00 07 04 06 00 A8 93 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 11 3F 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 37 0A 00 00 35 04 06 00 DC 86 6B 50 DB A9 A6 47 8D 15 74 B3 66 1B [23:21:43]CheckFolder [23:21:43]dirname=/storage/ofd_packets [23:21:43]CheckFolder done [23:21:43]ProducePacketName [23:21:43]name=ofd_packets/00002615 [23:21:43]NVStorageSaveData ofd_packets/00002615 [23:21:43]File name is /storage/ofd_packets/00002615 [23:21:43]Write 683 bytes [23:21:43]NVStorageSaveData done [23:21:43]OFDSenderStorePacket done [23:21:43]KKMCreateOFDPacket done [23:21:43]NVStorageSaveData kkm_last_timestamp [23:21:43]File name is /storage/kkm_last_timestamp [23:21:43]Write 4 bytes [23:21:43]NVStorageSaveData done [23:21:43]ExternCall_PrintAddStr [23:21:43]wPrintStart [23:21:43]Write to MH i2c: 01 00 00 12 59 6B [23:21:43]Write i2c OK [23:21:43]MH_I2C_Read... [23:21:43]Read from MH i2c: 01 [23:21:43]MH_I2C_Read... [23:21:43]Read from MH i2c: 01 07 00 [23:21:43]MH_I2C_Read... [23:21:43]Read from MH i2c: 01 07 00 12 59 00 00 00 00 00 FF 0F 80 [23:21:43]RasterBufferAndPrint [23:21:43]line Счет N : (3)99993 [23:21:43]line ИНН: 02508201610067 [23:21:43]line Контрольно-Кассовый Чек [23:21:43]line ПРОДАЖА [23:21:43]line Товар: 4700000310036 [23:21:43]line Вода Жалалабат 27 0,5л [23:21:43]line 1.000 * 40.00 [23:21:43]line = 40.00 [23:21:43]line НДС 12% НСП 1% [23:21:43]line > о реализуемом товаре [23:21:43]line Товар: 4870022003305 [23:21:43]line Напиток Gorilla эн нат ж/б 0,5/0,45л [23:21:43]line 1.000 * 99.00 [23:21:43]line = 99.00 [23:21:43]line НДС 12% НСП 1% [23:21:43]line > о реализуемом товаре [23:21:43]line Товар: 48743570 [23:21:43]line Сигареты Winston XStyle Blue [23:21:43]line 1.000 * 144.00 [23:21:43]line = 144.00 [23:21:43]line НДС 12% НСП 1% [23:21:43]line > о реализуемом товаре [23:21:43]line Товар: 4700003010070 [23:21:43]line Чай хол Let`s Go! чер персик ПЭТ 1,25л [23:21:43]line 1.000 * 95.00 [23:21:43]line = 95.00 [23:21:43]line НДС 12% НСП 1% [23:21:43]line > о реализуемом товаре [23:21:43]line ИТОГО: 378.00 [23:21:43]line НСП 1% : 3.34 [23:21:43]line НДС 12% : 40.14 [23:21:43]line Наличными: 378.00 [23:21:43]line Безнал.: 0.00 [23:21:43]line Место: АЗС № 162 "Партнер Нефть" [23:21:43]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [23:21:43]line СНО: Общий режим [23:21:43]line Чек 76 19.10.2024 23:21 [23:21:43]line Смена: 23 ФФД: 1.0 [23:21:43]line ЗНМ: 0300000191 [23:21:43]line РНМ: 0000000000207295 [23:21:43]line Версия ККМ: v1.0 [23:21:43]line ФМ: 0000000002342820 [23:21:43]line ФД: 2615 [23:21:43]line ФПД: 242469884189609 [23:21:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T232153&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2615&fm=242469884189609&tin=02508201610067®Number=0000000000207295&sum=37800 [23:21:43]line 0 [23:21:43]OFD Sender: Processing packet 2615 [packets to send 1, broken 0] [23:21:43]ProducePacketName [23:21:43]name=ofd_packets/00002615 [23:21:43]OFD Sender: To server: pG, [23:21:43]CommunicateWithHost lk.salyk.kg:30040 [23:21:43]ConnectInit lk.salyk.kg [23:21:43]written 0, free lines is 4095 [23:21:43]Connected sock=10 [23:21:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 8D 02 00 00 0C 15 85 02 2A F6 5A 03 01 00 03 00 79 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 93 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 0F 00 00 00 00 07 04 06 00 A8 93 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 11 3F 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 37 0A 00 00 35 04 06 00 DC 86 6B 50 DB A9 A6 47 8D 15 74 B3 66 1B [23:21:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 0A B0 47 00 85 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 37 0A 00 00 F4 03 04 00 71 EA 13 67 B6 04 01 00 00 F4 AD A7 EB E8 69 4A E2 [23:21:44]CommunicateWithHost err = 0 [23:21:44]CheckOFDResponse [23:21:44]1017 (14) - 77093643461234 [23:21:44]1041 (16) - 0000000002342820 [23:21:44]1040 (4) - 2615 [23:21:44]1012 (4) - 19.10.2024 17:20 [23:21:44]1206 (1) - 0 [23:21:44]OFD Sender: Remove packet 2615 [23:21:44]ProducePacketName [23:21:44]name=ofd_packets/00002615 [23:21:44]NVStorageDeleteData [23:21:44]Write to MH i2c: 01 00 00 4E 59 A7 [23:21:44]Write i2c OK [23:21:44]MH_I2C_Read... [23:21:44]Read from MH i2c: 01 [23:21:44]MH_I2C_Read... [23:21:44]Read from MH i2c: 01 07 00 [23:21:44]MH_I2C_Read... [23:21:44]Read from MH i2c: 01 07 00 4E 59 00 00 00 00 00 7B 0B 34 [23:21:44]RasterBufferAndPrint [23:21:44]line [23:21:44]line [23:21:44]line [23:21:44]line [23:21:44]line [23:21:44]written 0, free lines is 2944 [23:21:44]MH_Cut [23:21:44]Write to MH i2c: D1 01 00 55 59 01 80 [23:21:44]Write i2c OK [23:21:44]MH_I2C_Read... [23:21:44]Read from MH i2c: D1 [23:21:44]MH_I2C_Read... [23:21:44]Read from MH i2c: D1 01 00 [23:21:44]MH_I2C_Read... [23:21:44]Read from MH i2c: D1 01 00 55 59 00 7F [23:21:44]Write to MH i2c: 01 00 00 56 59 AF [23:21:44]Write i2c OK [23:21:44]MH_I2C_Read... [23:21:44]OFD Sender: No OFD packet to send [23:21:45]*** Cut start [23:21:45]*** Partial cut [23:21:45]*** CUTSNS_PIN = 1 [23:21:45]*** CUTSNS_PIN = 0 [23:21:45]*** Brake cut motor [23:21:46]Read from MH i2c: 01 [23:21:46]MH_I2C_Read... [23:21:46]*** Stop cut motor [23:21:46]*** Cut end [23:21:46]Read from MH i2c: 01 07 00 [23:21:46]MH_I2C_Read... [23:21:46]Read from MH i2c: 01 07 00 56 59 00 00 00 00 00 FF 0F C4 [23:21:46]process_action close_receipt done [23:21:46]requested_data is exist [23:21:46]produce_requested_data [23:21:46]requested_item fm.sn is exist - process it [23:21:46]wFMCommunicate request_size=4 [23:21:46]MH_SAM_APDU [23:21:46]CAPDU: 80 11 00 00 [23:21:46]Write to MH i2c: E2 08 00 57 59 80 11 00 00 00 00 00 00 2A [23:21:46]Write i2c OK [23:21:46]MH_I2C_Read... [23:21:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:21:46]Read from MH i2c: E2 [23:21:46]MH_I2C_Read... [23:21:46]Read from MH i2c: E2 17 00 [23:21:46]MH_I2C_Read... [23:21:46]Read from MH i2c: E2 17 00 57 59 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 72 [23:21:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:21:46]wFMCommunicate OK [23:21:46]requested_item fd.num is exist - process it [23:21:46]SAM_PROTO_GetFieldsCounters [23:21:46]wFMCommunicate request_size=4 [23:21:46]MH_SAM_APDU [23:21:46]CAPDU: 80 13 00 00 [23:21:46]Write to MH i2c: E2 08 00 58 59 80 13 00 00 00 00 00 00 2D [23:21:46]Write i2c OK [23:21:46]MH_I2C_Read... [23:21:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:21:46]Read from MH i2c: E2 [23:21:46]MH_I2C_Read... [23:21:46]Read from MH i2c: E2 62 00 [23:21:46]MH_I2C_Read... [23:21:46]Read from MH i2c: E2 62 00 58 59 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 37 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 7F [23:21:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 37 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:21:46]wFMCommunicate OK [23:21:46]SAM_PROTO_GetFieldsCounters done [23:21:46]requested_item shift.num is exist - process it [23:21:46]requested_item shift.opened is exist - process it [23:21:46]req_shift_opened [23:21:46]FM_GetShiftState [23:21:46]SAM_PROTO_GetShiftState [23:21:46]wFMCommunicate request_size=4 [23:21:46]MH_SAM_APDU [23:21:46]CAPDU: 80 13 01 00 [23:21:46]Write to MH i2c: E2 08 00 59 59 80 13 01 00 00 00 00 00 2F [23:21:46]Write i2c OK [23:21:46]MH_I2C_Read... [23:21:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:21:46]Read from MH i2c: E2 [23:21:46]MH_I2C_Read... [23:21:46]Read from MH i2c: E2 0E 00 [23:21:46]MH_I2C_Read... [23:21:46]Read from MH i2c: E2 0E 00 59 59 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 D8 [23:21:46]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [23:21:46]wFMCommunicate OK [23:21:46]SAM_PROTO_GetShiftState done [23:21:46]FM_GetShiftState done [23:21:46]req_shift_opened done [23:21:46]requested_item shift.open_date is exist - process it [23:21:46]req_shift_open_date [23:21:46]req_shift_open_date done [23:21:46]produce_requested_data done [23:21:46]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2615,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [23:21:46]process_action_free close_receipt [23:21:46]json_value_free [23:21:46]json_value_free done [23:21:46]process_json_proto returns [23:21:46]Send response to host [23:21:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2615,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [23:21:46]free response buf [23:21:46]execute_script done [23:21:46]execute_script returns [23:21:46]free content buf [23:21:46]Sock 7.Close socket [23:21:46]Sock 7.Thread stoped [23:21:49]OFD Sender: No OFD packet to send [23:21:54]OFD Sender: No OFD packet to send [23:21:59]OFD Sender: No OFD packet to send [23:22:04]OFD Sender: No OFD packet to send [23:22:09]OFD Sender: No OFD packet to send [23:22:14]OFD Sender: No OFD packet to send [23:22:19]OFD Sender: No OFD packet to send [23:22:24]OFD Sender: No OFD packet to send [23:22:29]OFD Sender: No OFD packet to send [23:22:34]OFD Sender: No OFD packet to send [23:22:39]OFD Sender: No OFD packet to send [23:22:44]OFD Sender: No OFD packet to send [23:22:49]OFD Sender: No OFD packet to send [23:22:54]OFD Sender: No OFD packet to send [23:22:59]OFD Sender: No OFD packet to send [23:23:04]OFD Sender: No OFD packet to send [23:23:09]OFD Sender: No OFD packet to send [23:23:14]OFD Sender: No OFD packet to send [23:23:19]OFD Sender: No OFD packet to send [23:23:24]OFD Sender: No OFD packet to send [23:23:29]OFD Sender: No OFD packet to send [23:23:34]OFD Sender: No OFD packet to send [23:23:39]OFD Sender: No OFD packet to send [23:23:44]OFD Sender: No OFD packet to send [23:23:49]OFD Sender: No OFD packet to send [23:23:54]OFD Sender: No OFD packet to send [23:23:59]OFD Sender: No OFD packet to send [23:24:04]OFD Sender: No OFD packet to send [23:24:09]OFD Sender: No OFD packet to send [23:24:14]OFD Sender: No OFD packet to send [23:24:19]OFD Sender: No OFD packet to send [23:24:24]OFD Sender: No OFD packet to send [23:24:29]OFD Sender: No OFD packet to send [23:24:34]OFD Sender: No OFD packet to send [23:24:39]OFD Sender: No OFD packet to send [23:24:44]OFD Sender: No OFD packet to send [23:24:49]OFD Sender: No OFD packet to send [23:24:54]OFD Sender: No OFD packet to send [23:24:59]OFD Sender: No OFD packet to send [23:25:04]OFD Sender: No OFD packet to send [23:25:09]OFD Sender: No OFD packet to send [23:25:14]OFD Sender: No OFD packet to send [23:25:19]OFD Sender: No OFD packet to send [23:25:24]OFD Sender: No OFD packet to send [23:25:29]OFD Sender: No OFD packet to send [23:25:34]OFD Sender: No OFD packet to send [23:25:39]OFD Sender: No OFD packet to send [23:25:44]OFD Sender: No OFD packet to send [23:25:49]OFD Sender: No OFD packet to send [23:25:54]OFD Sender: No OFD packet to send [23:25:59]OFD Sender: No OFD packet to send [23:26:04]OFD Sender: No OFD packet to send [23:26:09]OFD Sender: No OFD packet to send [23:26:14]OFD Sender: No OFD packet to send [23:26:19]OFD Sender: No OFD packet to send [23:26:24]OFD Sender: No OFD packet to send [23:26:29]OFD Sender: No OFD packet to send [23:26:34]OFD Sender: No OFD packet to send [23:26:39]OFD Sender: No OFD packet to send [23:26:44]OFD Sender: No OFD packet to send [23:26:49]OFD Sender: No OFD packet to send [23:26:54]OFD Sender: No OFD packet to send [23:26:59]OFD Sender: No OFD packet to send [23:27:04]OFD Sender: No OFD packet to send [23:27:09]OFD Sender: No OFD packet to send [23:27:14]OFD Sender: No OFD packet to send [23:27:19]OFD Sender: No OFD packet to send [23:27:24]OFD Sender: No OFD packet to send [23:27:29]OFD Sender: No OFD packet to send [23:27:34]OFD Sender: No OFD packet to send [23:27:39]OFD Sender: No OFD packet to send [23:27:44]OFD Sender: No OFD packet to send [23:27:49]OFD Sender: No OFD packet to send [23:27:54]OFD Sender: No OFD packet to send [23:27:59]OFD Sender: No OFD packet to send [23:28:04]OFD Sender: No OFD packet to send [23:28:09]OFD Sender: No OFD packet to send [23:28:14]OFD Sender: No OFD packet to send [23:28:19]OFD Sender: No OFD packet to send [23:28:24]OFD Sender: No OFD packet to send [23:28:29]OFD Sender: No OFD packet to send [23:28:34]OFD Sender: No OFD packet to send [23:28:39]OFD Sender: No OFD packet to send [23:28:44]OFD Sender: No OFD packet to send [23:28:49]OFD Sender: No OFD packet to send [23:28:54]OFD Sender: No OFD packet to send [23:28:59]OFD Sender: No OFD packet to send [23:29:04]OFD Sender: No OFD packet to send [23:29:10]OFD Sender: No OFD packet to send [23:29:15]OFD Sender: No OFD packet to send [23:29:20]OFD Sender: No OFD packet to send [23:29:25]OFD Sender: No OFD packet to send [23:29:30]OFD Sender: No OFD packet to send [23:29:35]OFD Sender: No OFD packet to send [23:29:40]OFD Sender: No OFD packet to send [23:29:45]OFD Sender: No OFD packet to send [23:29:50]OFD Sender: No OFD packet to send [23:29:55]OFD Sender: No OFD packet to send [23:30:00]OFD Sender: No OFD packet to send [23:30:05]OFD Sender: No OFD packet to send [23:30:10]OFD Sender: No OFD packet to send [23:30:15]OFD Sender: No OFD packet to send [23:30:20]OFD Sender: No OFD packet to send [23:30:25]OFD Sender: No OFD packet to send [23:30:30]OFD Sender: No OFD packet to send [23:30:35]OFD Sender: No OFD packet to send [23:30:40]OFD Sender: No OFD packet to send [23:30:45]OFD Sender: No OFD packet to send [23:30:50]OFD Sender: No OFD packet to send [23:30:55]OFD Sender: No OFD packet to send [23:31:00]OFD Sender: No OFD packet to send [23:31:05]OFD Sender: No OFD packet to send [23:31:10]OFD Sender: No OFD packet to send [23:31:15]OFD Sender: No OFD packet to send [23:31:20]OFD Sender: No OFD packet to send [23:31:25]OFD Sender: No OFD packet to send [23:31:30]OFD Sender: No OFD packet to send [23:31:35]OFD Sender: No OFD packet to send [23:31:40]OFD Sender: No OFD packet to send [23:31:45]OFD Sender: No OFD packet to send [23:31:50]OFD Sender: No OFD packet to send [23:31:55]OFD Sender: No OFD packet to send [23:32:00]OFD Sender: No OFD packet to send [23:32:05]OFD Sender: No OFD packet to send [23:32:10]OFD Sender: No OFD packet to send [23:32:15]OFD Sender: No OFD packet to send [23:32:20]OFD Sender: No OFD packet to send [23:32:25]OFD Sender: No OFD packet to send [23:32:30]OFD Sender: No OFD packet to send [23:32:35]OFD Sender: No OFD packet to send [23:32:40]OFD Sender: No OFD packet to send [23:32:45]OFD Sender: No OFD packet to send [23:32:50]OFD Sender: No OFD packet to send [23:32:55]OFD Sender: No OFD packet to send [23:33:00]OFD Sender: No OFD packet to send [23:33:05]OFD Sender: No OFD packet to send [23:33:10]OFD Sender: No OFD packet to send [23:33:15]OFD Sender: No OFD packet to send [23:33:20]OFD Sender: No OFD packet to send [23:33:25]OFD Sender: No OFD packet to send [23:33:30]OFD Sender: No OFD packet to send [23:33:35]OFD Sender: No OFD packet to send [23:33:40]OFD Sender: No OFD packet to send [23:33:45]OFD Sender: No OFD packet to send [23:33:50]OFD Sender: No OFD packet to send [23:33:55]OFD Sender: No OFD packet to send [23:34:00]OFD Sender: No OFD packet to send [23:34:05]OFD Sender: No OFD packet to send [23:34:10]OFD Sender: No OFD packet to send [23:34:15]OFD Sender: No OFD packet to send [23:34:20]OFD Sender: No OFD packet to send [23:34:25]OFD Sender: No OFD packet to send [23:34:30]OFD Sender: No OFD packet to send [23:34:35]OFD Sender: No OFD packet to send [23:34:40]OFD Sender: No OFD packet to send [23:34:45]OFD Sender: No OFD packet to send [23:34:50]OFD Sender: No OFD packet to send [23:34:55]OFD Sender: No OFD packet to send [23:35:00]OFD Sender: No OFD packet to send [23:35:05]OFD Sender: No OFD packet to send [23:35:10]OFD Sender: No OFD packet to send [23:35:15]OFD Sender: No OFD packet to send [23:35:20]OFD Sender: No OFD packet to send [23:35:25]OFD Sender: No OFD packet to send [23:35:30]OFD Sender: No OFD packet to send [23:35:35]OFD Sender: No OFD packet to send [23:35:40]OFD Sender: No OFD packet to send [23:35:45]OFD Sender: No OFD packet to send [23:35:50]OFD Sender: No OFD packet to send [23:35:55]OFD Sender: No OFD packet to send [23:36:00]OFD Sender: No OFD packet to send [23:36:05]OFD Sender: No OFD packet to send [23:36:10]OFD Sender: No OFD packet to send [23:36:15]OFD Sender: No OFD packet to send [23:36:20]OFD Sender: No OFD packet to send [23:36:25]OFD Sender: No OFD packet to send [23:36:30]OFD Sender: No OFD packet to send [23:36:35]OFD Sender: No OFD packet to send [23:36:40]OFD Sender: No OFD packet to send [23:36:45]OFD Sender: No OFD packet to send [23:36:50]OFD Sender: No OFD packet to send [23:36:55]OFD Sender: No OFD packet to send [23:37:00]OFD Sender: No OFD packet to send [23:37:05]OFD Sender: No OFD packet to send [23:37:10]OFD Sender: No OFD packet to send [23:37:15]OFD Sender: No OFD packet to send [23:37:20]OFD Sender: No OFD packet to send [23:37:25]OFD Sender: No OFD packet to send [23:37:30]OFD Sender: No OFD packet to send [23:37:35]OFD Sender: No OFD packet to send [23:37:40]OFD Sender: No OFD packet to send [23:37:45]OFD Sender: No OFD packet to send [23:37:50]OFD Sender: No OFD packet to send [23:37:55]OFD Sender: No OFD packet to send [23:38:00]OFD Sender: No OFD packet to send [23:38:05]OFD Sender: No OFD packet to send [23:38:10]OFD Sender: No OFD packet to send [23:38:15]OFD Sender: No OFD packet to send [23:38:20]OFD Sender: No OFD packet to send [23:38:25]OFD Sender: No OFD packet to send [23:38:30]OFD Sender: No OFD packet to send [23:38:35]OFD Sender: No OFD packet to send [23:38:40]OFD Sender: No OFD packet to send [23:38:45]OFD Sender: No OFD packet to send [23:38:50]OFD Sender: No OFD packet to send [23:38:55]OFD Sender: No OFD packet to send [23:39:00]OFD Sender: No OFD packet to send [23:39:05]OFD Sender: No OFD packet to send [23:39:10]OFD Sender: No OFD packet to send [23:39:15]OFD Sender: No OFD packet to send [23:39:20]OFD Sender: No OFD packet to send [23:39:25]OFD Sender: No OFD packet to send [23:39:30]OFD Sender: No OFD packet to send [23:39:35]OFD Sender: No OFD packet to send [23:39:40]OFD Sender: No OFD packet to send [23:39:45]OFD Sender: No OFD packet to send [23:39:50]OFD Sender: No OFD packet to send [23:39:55]OFD Sender: No OFD packet to send [23:40:00]OFD Sender: No OFD packet to send [23:40:05]OFD Sender: No OFD packet to send [23:40:10]OFD Sender: No OFD packet to send [23:40:15]OFD Sender: No OFD packet to send [23:40:20]OFD Sender: No OFD packet to send [23:40:25]OFD Sender: No OFD packet to send [23:40:30]OFD Sender: No OFD packet to send [23:40:35]OFD Sender: No OFD packet to send [23:40:40]OFD Sender: No OFD packet to send [23:40:45]OFD Sender: No OFD packet to send [23:40:50]OFD Sender: No OFD packet to send [23:40:55]OFD Sender: No OFD packet to send [23:41:00]OFD Sender: No OFD packet to send [23:41:05]OFD Sender: No OFD packet to send [23:41:10]OFD Sender: No OFD packet to send [23:41:15]OFD Sender: No OFD packet to send [23:41:20]OFD Sender: No OFD packet to send [23:41:25]OFD Sender: No OFD packet to send [23:41:30]OFD Sender: No OFD packet to send [23:41:35]OFD Sender: No OFD packet to send [23:41:40]OFD Sender: No OFD packet to send [23:41:45]OFD Sender: No OFD packet to send [23:41:50]OFD Sender: No OFD packet to send [23:41:55]OFD Sender: No OFD packet to send [23:42:00]OFD Sender: No OFD packet to send [23:42:05]OFD Sender: No OFD packet to send [23:42:10]OFD Sender: No OFD packet to send [23:42:15]OFD Sender: No OFD packet to send [23:42:20]OFD Sender: No OFD packet to send [23:42:25]OFD Sender: No OFD packet to send [23:42:30]OFD Sender: No OFD packet to send [23:42:35]OFD Sender: No OFD packet to send [23:42:40]OFD Sender: No OFD packet to send [23:42:45]OFD Sender: No OFD packet to send [23:42:50]OFD Sender: No OFD packet to send [23:42:55]OFD Sender: No OFD packet to send [23:43:00]OFD Sender: No OFD packet to send [23:43:05]OFD Sender: No OFD packet to send [23:43:10]OFD Sender: No OFD packet to send [23:43:15]OFD Sender: No OFD packet to send [23:43:20]OFD Sender: No OFD packet to send [23:43:25]OFD Sender: No OFD packet to send [23:43:30]OFD Sender: No OFD packet to send [23:43:35]OFD Sender: No OFD packet to send [23:43:40]OFD Sender: No OFD packet to send [23:43:45]OFD Sender: No OFD packet to send [23:43:50]OFD Sender: No OFD packet to send [23:43:55]OFD Sender: No OFD packet to send [23:44:00]OFD Sender: No OFD packet to send [23:44:05]OFD Sender: No OFD packet to send [23:44:10]OFD Sender: No OFD packet to send [23:44:15]OFD Sender: No OFD packet to send [23:44:20]OFD Sender: No OFD packet to send [23:44:25]OFD Sender: No OFD packet to send [23:44:30]OFD Sender: No OFD packet to send [23:44:35]OFD Sender: No OFD packet to send [23:44:40]OFD Sender: No OFD packet to send [23:44:45]OFD Sender: No OFD packet to send [23:44:50]OFD Sender: No OFD packet to send [23:44:55]OFD Sender: No OFD packet to send [23:45:00]accept exits with 9 [23:45:00]New connection [23:45:00]New thread 3066850660 created [23:45:00]Thread 3066707300 joined [23:45:00]Waiting for new connection... [23:45:00] Sock 9.Parse request [23:45:00]Sock 9.Check first char [23:45:00]Sock 9.First char is OK [23:45:00]request: POST /json_proto HTTP/1.0 [23:45:00]Method: POST [23:45:00]URL: /json_proto [23:45:00]Method is POST - this is cgi request [23:45:00]url: /json_proto [23:45:00]query_string will be loaded in cgi processing [23:45:00]execute_cgi json_proto POST (null) [23:45:00]execute_cgi path=json_proto method=POST [23:45:00]POST find Content-Length [23:45:00]Host: 172.17.52.132:8080 [23:45:00]Content-Length: 1221 [23:45:00]Content-Type: application/json [23:45:00] [23:45:00]POST finish read [23:45:00]Found Content-Length = 1221 [23:45:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99994", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 332.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:45:00]execute_script... [23:45: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)99994", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 332.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:45:00]POST & json_proto [23:45:00]process_json_proto [23:45:00]json parsed OK: [23:45:00]protocol is kg_v1.0 [23:45:00]action value=close_receipt [23:45:00]process_action close_receipt [23:45:00]cmd_close_receipt [23:45:00]MH_GetDate [23:45:00]Write to MH i2c: F0 00 00 5A 59 A2 [23:45:00]Write i2c OK [23:45:00]MH_I2C_Read... [23:45:00]Read from MH i2c: F0 [23:45:00]MH_I2C_Read... [23:45:00]Read from MH i2c: F0 09 00 [23:45:00]MH_I2C_Read... [23:45:00]Read from MH i2c: F0 09 00 5A 59 00 88 44 14 67 5A BE F6 66 66 [23:45:00]GetLastDocTimeStamp 1729380113 [23:45:00]current date 1729381512 [23:45:00]FM_GetShiftState [23:45:00]SAM_PROTO_GetShiftState [23:45:00]wFMCommunicate request_size=4 [23:45:00]MH_SAM_APDU [23:45:00]CAPDU: 80 13 01 00 [23:45:00]Write to MH i2c: E2 08 00 5B 59 80 13 01 00 00 00 00 00 31 [23:45:00]Write i2c OK [23:45:00]MH_I2C_Read... [23:45:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:45:00]Read from MH i2c: E2 [23:45:00]MH_I2C_Read... [23:45:00]Read from MH i2c: E2 0E 00 [23:45:00]MH_I2C_Read... [23:45:00]Read from MH i2c: E2 0E 00 5B 59 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 DA [23:45:00]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [23:45:00]wFMCommunicate OK [23:45:00]SAM_PROTO_GetShiftState done [23:45:00]FM_GetShiftState done [23:45:00]opened in 1729296173 [23:45:00]opened+sec_in_day 1729382573 [23:45:00]quantity*price = 9900 [23:45:00]sum+1 = 9901 [23:45:00]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4631150682851 Нап En Dragon Mojito лайм,клуб ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 2.000 * 69.00 = 138.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 332.00 НСП 1% : 2.94 НДС 12% : 35.25 Наличными: 332.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 77 19.10.2024 23:45 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2616 ФПД: 258952827262622 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T234512&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2616&fm=258952827262622&tin=02508201610067®Number=0000000000207295&sum=33200 0 [23:45:01]StoreToDocumentArchive [23:45:01]shift 23 fd 2616 [23:45:01]save to /storage/0023/doc_00002616 [23:45:01]save last doc name /storage/0023/doc_00002616 to /storage/kkm_last_doc_name [23:45:01]save OK [23:45:01]Clear old archive folders... [23:45:01]ProcessDocumentItem done err = 0, tmpTLVsize=543 [23:45:01]tlvbuf is 0139A230 [23:45:01]SAM_PROTO_ClearQueue [23:45:01]wFMCommunicate request_size=4 [23:45:01]MH_SAM_APDU [23:45:01]CAPDU: 80 09 00 00 [23:45:01]Write to MH i2c: E2 08 00 68 59 80 09 00 00 00 00 00 00 33 [23:45:01]Write i2c OK [23:45:01]MH_I2C_Read... [23:45:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:45:01]Read from MH i2c: E2 [23:45:01]MH_I2C_Read... [23:45:01]Read from MH i2c: E2 03 00 [23:45:01]MH_I2C_Read... [23:45:01]Read from MH i2c: E2 03 00 68 59 00 90 00 35 [23:45:01]RAPDU: 90 00 [23:45:01]wFMCommunicate OK [23:45:01]SAM_PROTO_ClearQueue done [23:45:01]KKMCreateOFDPacket [23:45:01]OFDProtocolAddRootSTLVToBuf [23:45:01]FM_MakeSignedData [23:45:01]FM_MakeSignedData [23:45:01]SAM_PROTO_SignData [23:45:01]wFMCommunicate request_size=4 [23:45:01]MH_SAM_APDU [23:45:01]CAPDU: 80 0D 01 02 [23:45:01]Write to MH i2c: E2 08 00 69 59 80 0D 01 02 00 00 00 00 3B [23:45:01]Write i2c OK [23:45:01]MH_I2C_Read... [23:45:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:45:01]Read from MH i2c: E2 [23:45:01]MH_I2C_Read... [23:45:01]Read from MH i2c: E2 03 00 [23:45:01]MH_I2C_Read... [23:45:01]Read from MH i2c: E2 03 00 69 59 00 90 00 36 [23:45:01]RAPDU: 90 00 [23:45:01]wFMCommunicate OK [23:45:01]wFMCommunicate request_size=255 [23:45:01]MH_SAM_APDU [23:45:01]CAPDU: 80 0D 02 02 FA 03 00 1F 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 [23:45:01]Write to MH i2c: E2 02 01 6A 59 80 0D 02 02 FA 00 03 00 1F 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 00 00 F8 [23:45:01]Write i2c OK [23:45:01]MH_I2C_Read... [23:45:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:45:02]Read from MH i2c: E2 [23:45:02]MH_I2C_Read... [23:45:02]Read from MH i2c: E2 03 00 [23:45:02]MH_I2C_Read... [23:45:02]Read from MH i2c: E2 03 00 6A 59 00 90 00 37 [23:45:02]RAPDU: 90 00 [23:45:02]wFMCommunicate OK [23:45:02]wFMCommunicate request_size=255 [23:45:02]MH_SAM_APDU [23:45:02]CAPDU: 80 0D 02 02 FA 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 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 B0 81 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 0D 00 00 00 00 07 04 06 00 B0 81 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 88 44 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [23:45:02]Write to MH i2c: E2 02 01 6B 59 80 0D 02 02 FA 00 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 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 B0 81 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 0D 00 00 00 00 07 04 06 00 B0 81 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 88 44 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 BA [23:45:02]Write i2c OK [23:45:02]MH_I2C_Read... [23:45:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:45:02]Read from MH i2c: E2 [23:45:02]MH_I2C_Read... [23:45:02]Read from MH i2c: E2 03 00 [23:45:02]MH_I2C_Read... [23:45:02]Read from MH i2c: E2 03 00 6B 59 00 90 00 38 [23:45:02]RAPDU: 90 00 [23:45:02]wFMCommunicate OK [23:45:02]wFMCommunicate request_size=52 [23:45:02]MH_SAM_APDU [23:45:02]CAPDU: 80 0D 02 02 2F 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 38 0A 00 00 35 04 06 00 EB 84 27 48 56 9E [23:45:02]Write to MH i2c: E2 37 00 6C 59 80 0D 02 02 2F 00 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 38 0A 00 00 35 04 06 00 EB 84 27 48 56 9E 00 00 0B [23:45:02]Write i2c OK [23:45:02]MH_I2C_Read... [23:45:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:45:02]Read from MH i2c: E2 [23:45:02]MH_I2C_Read... [23:45:02]Read from MH i2c: E2 03 00 [23:45:02]MH_I2C_Read... [23:45:02]Read from MH i2c: E2 03 00 6C 59 00 90 00 39 [23:45:02]RAPDU: 90 00 [23:45:02]wFMCommunicate OK [23:45:02]wFMCommunicate request_size=4 [23:45:02]MH_SAM_APDU [23:45:02]CAPDU: 80 0D 03 02 [23:45:02]Write to MH i2c: E2 08 00 6D 59 80 0D 03 02 00 00 00 00 41 [23:45:02]Write i2c OK [23:45:02]MH_I2C_Read... [23:45:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:45:02]Read from MH i2c: E2 [23:45:02]MH_I2C_Read... [23:45:02]Read from MH i2c: E2 0B 00 [23:45:02]MH_I2C_Read... [23:45:02]Read from MH i2c: E2 0B 00 6D 59 00 5D 1A EE 35 A9 0D 52 6A 90 00 4E [23:45:02]RAPDU: 5D 1A EE 35 A9 0D 52 6A 90 00 [23:45:02]wFMCommunicate OK [23:45:02]SAM_PROTO_SignData done [23:45:02]FM_MakeSignedData done [23:45:02]CreateOFDProtocolMessage [23:45:02]wFMCommunicate request_size=4 [23:45:02]MH_SAM_APDU [23:45:02]CAPDU: 80 11 00 00 [23:45:02]Write to MH i2c: E2 08 00 6E 59 80 11 00 00 00 00 00 00 41 [23:45:02]Write i2c OK [23:45:02]MH_I2C_Read... [23:45:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:45:02]Read from MH i2c: E2 [23:45:02]MH_I2C_Read... [23:45:02]Read from MH i2c: E2 17 00 [23:45:02]MH_I2C_Read... [23:45:02]Read from MH i2c: E2 17 00 6E 59 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 89 [23:45:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:45:02]wFMCommunicate OK [23:45:02]CreateOFDProtocolMessage done [23:45:02]OFDSenderStorePacket 2616 [23:45:02]StoreOFDPacket docnum=2616 [23:45:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 33 02 00 00 F0 A7 2B 02 99 B0 5A 03 01 00 03 00 1F 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 B0 81 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 0D 00 00 00 00 07 04 06 00 B0 81 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 88 44 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 38 0A 00 00 35 04 06 00 EB 84 27 48 56 9E 5D 1A EE 35 A9 0D 52 6A [23:45:02]CheckFolder [23:45:02]dirname=/storage/ofd_packets [23:45:02]CheckFolder done [23:45:02]ProducePacketName [23:45:02]name=ofd_packets/00002616 [23:45:02]NVStorageSaveData ofd_packets/00002616 [23:45:02]File name is /storage/ofd_packets/00002616 [23:45:02]Write 593 bytes [23:45:02]NVStorageSaveData done [23:45:02]OFDSenderStorePacket done [23:45:02]KKMCreateOFDPacket done [23:45:02]NVStorageSaveData kkm_last_timestamp [23:45:02]File name is /storage/kkm_last_timestamp [23:45:02]Write 4 bytes [23:45:02]NVStorageSaveData done [23:45:02]ExternCall_PrintAddStr [23:45:02]wPrintStart [23:45:02]Write to MH i2c: 01 00 00 6F 59 C8 [23:45:02]Write i2c OK [23:45:02]MH_I2C_Read... [23:45:02]Read from MH i2c: 01 [23:45:02]MH_I2C_Read... [23:45:02]Read from MH i2c: 01 07 00 [23:45:02]MH_I2C_Read... [23:45:02]Read from MH i2c: 01 07 00 6F 59 00 00 00 00 00 FF 0F DD [23:45:02]RasterBufferAndPrint [23:45:02]line Счет N : (3)99994 [23:45:02]line ИНН: 02508201610067 [23:45:02]line Контрольно-Кассовый Чек [23:45:02]line ПРОДАЖА [23:45:02]line Товар: 4870022003305 [23:45:02]line Напиток Gorilla эн нат ж/б 0,5/0,45л [23:45:02]line 1.000 * 99.00 [23:45:02]line = 99.00 [23:45:02]line НДС 12% НСП 1% [23:45:02]line > о реализуемом товаре [23:45:02]line Товар: 4631150682851 [23:45:02]line Нап En Dragon Mojito лайм,клуб ж/б 0,45л [23:45:02]line 1.000 * 95.00 [23:45:02]line = 95.00 [23:45:02]line НДС 12% НСП 1% [23:45:02]line > о реализуемом товаре [23:45:02]line Товар: 4600682557456 [23:45:02]line Напиток FLash up energy эн ж/б 0,5/0,45л [23:45:02]line 2.000 * 69.00 [23:45:02]line = 138.00 [23:45:02]line НДС 12% НСП 1% [23:45:02]line > о реализуемом товаре [23:45:02]line ИТОГО: 332.00 [23:45:02]line НСП 1% : 2.94 [23:45:02]line НДС 12% : 35.25 [23:45:02]line Наличными: 332.00 [23:45:02]line Безнал.: 0.00 [23:45:02]line Место: АЗС № 162 "Партнер Нефть" [23:45:02]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [23:45:02]line СНО: Общий режим [23:45:02]line Чек 77 19.10.2024 23:45 [23:45:02]line Смена: 23 ФФД: 1.0 [23:45:02]line ЗНМ: 0300000191 [23:45:02]line РНМ: 0000000000207295 [23:45:02]line Версия ККМ: v1.0 [23:45:02]line ФМ: 0000000002342820 [23:45:02]line ФД: 2616 [23:45:02]line ФПД: 258952827262622 [23:45:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T234512&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2616&fm=258952827262622&tin=02508201610067®Number=0000000000207295&sum=33200 [23:45:03]line 0 [23:45:03]OFD Sender: Processing packet 2616 [packets to send 1, broken 0] [23:45:03]ProducePacketName [23:45:03]name=ofd_packets/00002616 [23:45:03]OFD Sender: To server: pG, [23:45:03]CommunicateWithHost lk.salyk.kg:30040 [23:45:03]ConnectInit lk.salyk.kg [23:45:03]written 0, free lines is 4095 [23:45:03]Connected sock=10 [23:45:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 33 02 00 00 F0 A7 2B 02 99 B0 5A 03 01 00 03 00 1F 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 B0 81 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 0D 00 00 00 00 07 04 06 00 B0 81 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 88 44 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 38 0A 00 00 35 04 06 00 EB 84 27 48 56 9E 5D 1A EE 35 A9 0D 52 6A [23:45:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 7E 80 47 00 6A 0B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 38 0A 00 00 F4 03 04 00 E8 EF 13 67 B6 04 01 00 00 82 FC 91 49 EE 8B 37 DA [23:45:03]CommunicateWithHost err = 0 [23:45:03]CheckOFDResponse [23:45:03]1017 (14) - 77093643461234 [23:45:03]1041 (16) - 0000000002342820 [23:45:03]1040 (4) - 2616 [23:45:03]1012 (4) - 19.10.2024 17:44 [23:45:03]1206 (1) - 0 [23:45:03]OFD Sender: Remove packet 2616 [23:45:03]ProducePacketName [23:45:03]name=ofd_packets/00002616 [23:45:03]NVStorageDeleteData [23:45:03]Write to MH i2c: 01 00 00 A6 59 FF [23:45:03]Write i2c OK [23:45:03]MH_I2C_Read... [23:45:03]Read from MH i2c: 01 [23:45:03]MH_I2C_Read... [23:45:03]Read from MH i2c: 01 07 00 [23:45:03]MH_I2C_Read... [23:45:03]Read from MH i2c: 01 07 00 A6 59 00 00 00 00 00 D9 0B EA [23:45:03]RasterBufferAndPrint [23:45:03]line [23:45:03]line [23:45:03]line [23:45:03]line [23:45:03]line [23:45:03]written 0, free lines is 3040 [23:45:03]MH_Cut [23:45:03]Write to MH i2c: D1 01 00 AD 59 01 D8 [23:45:03]Write i2c OK [23:45:03]MH_I2C_Read... [23:45:03]Read from MH i2c: D1 [23:45:03]MH_I2C_Read... [23:45:03]Read from MH i2c: D1 01 00 [23:45:03]MH_I2C_Read... [23:45:03]Read from MH i2c: D1 01 00 AD 59 00 D7 [23:45:03]Write to MH i2c: 01 00 00 AE 59 07 [23:45:03]Write i2c OK [23:45:03]MH_I2C_Read... [23:45:03]OFD Sender: No OFD packet to send [23:45:04]*** Cut start [23:45:04]*** Partial cut [23:45:04]*** CUTSNS_PIN = 1 [23:45:04]*** CUTSNS_PIN = 0 [23:45:04]*** Brake cut motor [23:45:05]Read from MH i2c: 01 [23:45:05]MH_I2C_Read... [23:45:05]*** Stop cut motor [23:45:05]*** Cut end [23:45:05]Read from MH i2c: 01 07 00 [23:45:05]MH_I2C_Read... [23:45:05]Read from MH i2c: 01 07 00 AE 59 00 00 00 00 00 FF 0F 1C [23:45:05]process_action close_receipt done [23:45:05]requested_data is exist [23:45:05]produce_requested_data [23:45:05]requested_item fm.sn is exist - process it [23:45:05]wFMCommunicate request_size=4 [23:45:05]MH_SAM_APDU [23:45:05]CAPDU: 80 11 00 00 [23:45:05]Write to MH i2c: E2 08 00 AF 59 80 11 00 00 00 00 00 00 82 [23:45:05]Write i2c OK [23:45:05]MH_I2C_Read... [23:45:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:45:05]Read from MH i2c: E2 [23:45:05]MH_I2C_Read... [23:45:05]Read from MH i2c: E2 17 00 [23:45:05]MH_I2C_Read... [23:45:05]Read from MH i2c: E2 17 00 AF 59 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 CA [23:45:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:45:05]wFMCommunicate OK [23:45:05]requested_item fd.num is exist - process it [23:45:05]SAM_PROTO_GetFieldsCounters [23:45:05]wFMCommunicate request_size=4 [23:45:05]MH_SAM_APDU [23:45:05]CAPDU: 80 13 00 00 [23:45:05]Write to MH i2c: E2 08 00 B0 59 80 13 00 00 00 00 00 00 85 [23:45:05]Write i2c OK [23:45:05]MH_I2C_Read... [23:45:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:45:05]Read from MH i2c: E2 [23:45:05]MH_I2C_Read... [23:45:05]Read from MH i2c: E2 62 00 [23:45:05]MH_I2C_Read... [23:45:05]Read from MH i2c: E2 62 00 B0 59 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 38 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 DB [23:45:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 38 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:45:05]wFMCommunicate OK [23:45:05]SAM_PROTO_GetFieldsCounters done [23:45:05]requested_item shift.num is exist - process it [23:45:05]requested_item shift.opened is exist - process it [23:45:05]req_shift_opened [23:45:05]FM_GetShiftState [23:45:05]SAM_PROTO_GetShiftState [23:45:05]wFMCommunicate request_size=4 [23:45:05]MH_SAM_APDU [23:45:05]CAPDU: 80 13 01 00 [23:45:05]Write to MH i2c: E2 08 00 B1 59 80 13 01 00 00 00 00 00 87 [23:45:05]Write i2c OK [23:45:05]MH_I2C_Read... [23:45:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:45:05]Read from MH i2c: E2 [23:45:05]MH_I2C_Read... [23:45:05]Read from MH i2c: E2 0E 00 [23:45:05]MH_I2C_Read... [23:45:05]Read from MH i2c: E2 0E 00 B1 59 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 30 [23:45:05]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [23:45:05]wFMCommunicate OK [23:45:05]SAM_PROTO_GetShiftState done [23:45:05]FM_GetShiftState done [23:45:05]req_shift_opened done [23:45:05]requested_item shift.open_date is exist - process it [23:45:05]req_shift_open_date [23:45:05]req_shift_open_date done [23:45:05]produce_requested_data done [23:45:05]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2616,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [23:45:05]process_action_free close_receipt [23:45:05]json_value_free [23:45:05]json_value_free done [23:45:05]process_json_proto returns [23:45:05]Send response to host [23:45:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2616,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [23:45:05]free response buf [23:45:05]execute_script done [23:45:05]execute_script returns [23:45:05]free content buf [23:45:05]Sock 9.Close socket [23:45:05]Sock 9.Thread stoped [23:45:08]OFD Sender: No OFD packet to send [23:45:13]OFD Sender: No OFD packet to send [23:45:18]OFD Sender: No OFD packet to send [23:45:23]OFD Sender: No OFD packet to send [23:45:28]OFD Sender: No OFD packet to send [23:45:33]OFD Sender: No OFD packet to send [23:45:38]OFD Sender: No OFD packet to send [23:45:43]OFD Sender: No OFD packet to send [23:45:48]OFD Sender: No OFD packet to send [23:45:53]OFD Sender: No OFD packet to send [23:45:58]OFD Sender: No OFD packet to send [23:46:03]OFD Sender: No OFD packet to send [23:46:08]OFD Sender: No OFD packet to send [23:46:13]OFD Sender: No OFD packet to send [23:46:18]OFD Sender: No OFD packet to send [23:46:23]OFD Sender: No OFD packet to send [23:46:28]OFD Sender: No OFD packet to send [23:46:33]OFD Sender: No OFD packet to send [23:46:38]OFD Sender: No OFD packet to send [23:46:43]OFD Sender: No OFD packet to send [23:46:48]OFD Sender: No OFD packet to send [23:46:53]OFD Sender: No OFD packet to send [23:46:58]OFD Sender: No OFD packet to send [23:47:03]OFD Sender: No OFD packet to send [23:47:08]OFD Sender: No OFD packet to send [23:47:13]OFD Sender: No OFD packet to send [23:47:18]OFD Sender: No OFD packet to send [23:47:23]OFD Sender: No OFD packet to send [23:47:28]OFD Sender: No OFD packet to send [23:47:33]OFD Sender: No OFD packet to send [23:47:38]OFD Sender: No OFD packet to send [23:47:43]OFD Sender: No OFD packet to send [23:47:49]OFD Sender: No OFD packet to send [23:47:54]OFD Sender: No OFD packet to send [23:47:59]OFD Sender: No OFD packet to send [23:48:01]accept exits with 7 [23:48:01]New connection [23:48:01]New thread 3066707300 created [23:48:01]Thread 3066850660 joined [23:48:01]Waiting for new connection... [23:48:01] Sock 7.Parse request [23:48:01]Sock 7.Check first char [23:48:01]Sock 7.First char is OK [23:48:01]request: POST /json_proto HTTP/1.0 [23:48:01]Method: POST [23:48:01]URL: /json_proto [23:48:01]Method is POST - this is cgi request [23:48:01]url: /json_proto [23:48:01]query_string will be loaded in cgi processing [23:48:01]execute_cgi json_proto POST (null) [23:48:01]execute_cgi path=json_proto method=POST [23:48:01]POST find Content-Length [23:48:01]Host: 172.17.52.132:8080 [23:48:01]Content-Length: 654 [23:48:01]Content-Type: application/json [23:48:01] [23:48:01]POST finish read [23:48:01]Found Content-Length = 654 [23:48:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99995", "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" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 69.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:48:01]execute_script... [23:48: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)99995", "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" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 69.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:48:01]POST & json_proto [23:48:01]process_json_proto [23:48:01]json parsed OK: [23:48:01]protocol is kg_v1.0 [23:48:01]action value=close_receipt [23:48:01]process_action close_receipt [23:48:01]cmd_close_receipt [23:48:01]MH_GetDate [23:48:01]Write to MH i2c: F0 00 00 B2 59 FA [23:48:01]Write i2c OK [23:48:01]MH_I2C_Read... [23:48:01]Read from MH i2c: F0 [23:48:01]MH_I2C_Read... [23:48:01]Read from MH i2c: F0 09 00 [23:48:01]MH_I2C_Read... [23:48:01]Read from MH i2c: F0 09 00 B2 59 00 3D 45 14 67 5A BE F6 66 74 [23:48:01]GetLastDocTimeStamp 1729381512 [23:48:01]current date 1729381693 [23:48:01]FM_GetShiftState [23:48:01]SAM_PROTO_GetShiftState [23:48:01]wFMCommunicate request_size=4 [23:48:01]MH_SAM_APDU [23:48:01]CAPDU: 80 13 01 00 [23:48:01]Write to MH i2c: E2 08 00 B3 59 80 13 01 00 00 00 00 00 89 [23:48:01]Write i2c OK [23:48:01]MH_I2C_Read... [23:48:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:48:01]Read from MH i2c: E2 [23:48:01]MH_I2C_Read... [23:48:01]Read from MH i2c: E2 0E 00 [23:48:01]MH_I2C_Read... [23:48:01]Read from MH i2c: E2 0E 00 B3 59 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 32 [23:48:01]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [23:48:01]wFMCommunicate OK [23:48:01]SAM_PROTO_GetShiftState done [23:48:01]FM_GetShiftState done [23:48:01]opened in 1729296173 [23:48:01]opened+sec_in_day 1729382573 [23:48:01]quantity*price = 6900 [23:48:01]sum+1 = 6901 [23:48:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 69.00 НСП 1% : 0.61 НДС 12% : 7.33 Наличными: 69.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 78 19.10.2024 23:48 Смена: 23 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2617 ФПД: 232413040861415 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T234813&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2617&fm=232413040861415&tin=02508201610067®Number=0000000000207295&sum=6900 0 [23:48:02]StoreToDocumentArchive [23:48:02]shift 23 fd 2617 [23:48:02]save to /storage/0023/doc_00002617 [23:48:02]save last doc name /storage/0023/doc_00002617 to /storage/kkm_last_doc_name [23:48:02]save OK [23:48:02]Clear old archive folders... [23:48:02]ProcessDocumentItem done err = 0, tmpTLVsize=294 [23:48:02]tlvbuf is 014AB350 [23:48:02]SAM_PROTO_ClearQueue [23:48:02]wFMCommunicate request_size=4 [23:48:02]MH_SAM_APDU [23:48:02]CAPDU: 80 09 00 00 [23:48:02]Write to MH i2c: E2 08 00 C0 59 80 09 00 00 00 00 00 00 8B [23:48:02]Write i2c OK [23:48:02]MH_I2C_Read... [23:48:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:48:03]Read from MH i2c: E2 [23:48:03]MH_I2C_Read... [23:48:03]Read from MH i2c: E2 03 00 [23:48:03]MH_I2C_Read... [23:48:03]Read from MH i2c: E2 03 00 C0 59 00 90 00 8D [23:48:03]RAPDU: 90 00 [23:48:03]wFMCommunicate OK [23:48:03]SAM_PROTO_ClearQueue done [23:48:03]KKMCreateOFDPacket [23:48:03]OFDProtocolAddRootSTLVToBuf [23:48:03]FM_MakeSignedData [23:48:03]FM_MakeSignedData [23:48:03]SAM_PROTO_SignData [23:48:03]wFMCommunicate request_size=4 [23:48:03]MH_SAM_APDU [23:48:03]CAPDU: 80 0D 01 02 [23:48:03]Write to MH i2c: E2 08 00 C1 59 80 0D 01 02 00 00 00 00 93 [23:48:03]Write i2c OK [23:48:03]MH_I2C_Read... [23:48:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:48:03]Read from MH i2c: E2 [23:48:03]MH_I2C_Read... [23:48:03]Read from MH i2c: E2 03 00 [23:48:03]MH_I2C_Read... [23:48:03]Read from MH i2c: E2 03 00 C1 59 00 90 00 8E [23:48:03]RAPDU: 90 00 [23:48:03]wFMCommunicate OK [23:48:03]wFMCommunicate request_size=255 [23:48:03]MH_SAM_APDU [23:48:03]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 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 3D 45 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [23:48:03]Write to MH i2c: E2 02 01 C2 59 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 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 3D 45 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 04 [23:48:03]Write i2c OK [23:48:03]MH_I2C_Read... [23:48:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:03]Read from MH i2c: E2 [23:48:03]MH_I2C_Read... [23:48:03]Read from MH i2c: E2 03 00 [23:48:03]MH_I2C_Read... [23:48:03]Read from MH i2c: E2 03 00 C2 59 00 90 00 8F [23:48:03]RAPDU: 90 00 [23:48:03]wFMCommunicate OK [23:48:03]wFMCommunicate request_size=53 [23:48:03]MH_SAM_APDU [23:48:03]CAPDU: 80 0D 02 02 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 39 0A 00 00 35 04 06 00 D3 60 E0 BD E0 E7 [23:48:03]Write to MH i2c: E2 38 00 C3 59 80 0D 02 02 30 00 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 39 0A 00 00 35 04 06 00 D3 60 E0 BD E0 E7 00 00 5A [23:48:03]Write i2c OK [23:48:03]MH_I2C_Read... [23:48:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:03]Read from MH i2c: E2 [23:48:03]MH_I2C_Read... [23:48:03]Read from MH i2c: E2 03 00 [23:48:03]MH_I2C_Read... [23:48:03]Read from MH i2c: E2 03 00 C3 59 00 90 00 90 [23:48:03]RAPDU: 90 00 [23:48:03]wFMCommunicate OK [23:48:03]wFMCommunicate request_size=4 [23:48:03]MH_SAM_APDU [23:48:03]CAPDU: 80 0D 03 02 [23:48:03]Write to MH i2c: E2 08 00 C4 59 80 0D 03 02 00 00 00 00 98 [23:48:03]Write i2c OK [23:48:03]MH_I2C_Read... [23:48:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:48:03]Read from MH i2c: E2 [23:48:03]MH_I2C_Read... [23:48:03]Read from MH i2c: E2 0B 00 [23:48:03]MH_I2C_Read... [23:48:03]Read from MH i2c: E2 0B 00 C4 59 00 48 22 66 45 14 37 67 83 90 00 E3 [23:48:03]RAPDU: 48 22 66 45 14 37 67 83 90 00 [23:48:03]wFMCommunicate OK [23:48:03]SAM_PROTO_SignData done [23:48:03]FM_MakeSignedData done [23:48:03]CreateOFDProtocolMessage [23:48:03]wFMCommunicate request_size=4 [23:48:03]MH_SAM_APDU [23:48:03]CAPDU: 80 11 00 00 [23:48:03]Write to MH i2c: E2 08 00 C5 59 80 11 00 00 00 00 00 00 98 [23:48:03]Write i2c OK [23:48:03]MH_I2C_Read... [23:48:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:48:03]Read from MH i2c: E2 [23:48:03]MH_I2C_Read... [23:48:03]Read from MH i2c: E2 17 00 [23:48:03]MH_I2C_Read... [23:48:03]Read from MH i2c: E2 17 00 C5 59 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 E0 [23:48:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:48:03]wFMCommunicate OK [23:48:03]CreateOFDProtocolMessage done [23:48:03]OFDSenderStorePacket 2617 [23:48:03]StoreOFDPacket docnum=2617 [23:48:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3A 01 00 00 52 1D 32 01 AC 13 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 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 3D 45 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 39 0A 00 00 35 04 06 00 D3 60 E0 BD E0 E7 48 22 66 45 14 37 67 83 [23:48:03]CheckFolder [23:48:03]dirname=/storage/ofd_packets [23:48:03]CheckFolder done [23:48:03]ProducePacketName [23:48:03]name=ofd_packets/00002617 [23:48:03]NVStorageSaveData ofd_packets/00002617 [23:48:03]File name is /storage/ofd_packets/00002617 [23:48:03]Write 344 bytes [23:48:03]NVStorageSaveData done [23:48:03]OFDSenderStorePacket done [23:48:03]KKMCreateOFDPacket done [23:48:03]NVStorageSaveData kkm_last_timestamp [23:48:03]File name is /storage/kkm_last_timestamp [23:48:03]Write 4 bytes [23:48:03]NVStorageSaveData done [23:48:03]ExternCall_PrintAddStr [23:48:03]wPrintStart [23:48:03]Write to MH i2c: 01 00 00 C6 59 1F [23:48:03]Write i2c OK [23:48:03]MH_I2C_Read... [23:48:03]Read from MH i2c: 01 [23:48:03]MH_I2C_Read... [23:48:03]Read from MH i2c: 01 07 00 [23:48:03]MH_I2C_Read... [23:48:03]Read from MH i2c: 01 07 00 C6 59 00 00 00 00 00 FF 0F 34 [23:48:03]RasterBufferAndPrint [23:48:03]line Счет N : (3)99995 [23:48:03]line ИНН: 02508201610067 [23:48:03]line Контрольно-Кассовый Чек [23:48:03]line ПРОДАЖА [23:48:03]line Товар: 4600682557456 [23:48:03]line Напиток FLash up energy эн ж/б 0,5/0,45л [23:48:03]line 1.000 * 69.00 [23:48:03]line = 69.00 [23:48:03]line НДС 12% НСП 1% [23:48:03]line > о реализуемом товаре [23:48:03]line ИТОГО: 69.00 [23:48:03]line НСП 1% : 0.61 [23:48:03]line НДС 12% : 7.33 [23:48:03]line Наличными: 69.00 [23:48:03]line Безнал.: 0.00 [23:48:03]line Место: АЗС № 162 "Партнер Нефть" [23:48:03]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [23:48:03]line СНО: Общий режим [23:48:03]line Чек 78 19.10.2024 23:48 [23:48:03]line Смена: 23 ФФД: 1.0 [23:48:03]line ЗНМ: 0300000191 [23:48:03]line РНМ: 0000000000207295 [23:48:03]line Версия ККМ: v1.0 [23:48:03]line ФМ: 0000000002342820 [23:48:03]line ФД: 2617 [23:48:03]line ФПД: 232413040861415 [23:48:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T234813&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2617&fm=232413040861415&tin=02508201610067®Number=0000000000207295&sum=6900 [23:48:03]line 0 [23:48:03]OFD Sender: Processing packet 2617 [packets to send 1, broken 0] [23:48:03]ProducePacketName [23:48:03]name=ofd_packets/00002617 [23:48:03]OFD Sender: To server: pG, [23:48:03]CommunicateWithHost lk.salyk.kg:30040 [23:48:03]ConnectInit lk.salyk.kg [23:48:03]written 0, free lines is 4095 [23:48:03]Connected sock=10 [23:48:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 3A 01 00 00 52 1D 32 01 AC 13 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 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 3D 45 14 67 0E 04 04 00 17 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 39 0A 00 00 35 04 06 00 D3 60 E0 BD E0 E7 48 22 66 45 14 37 67 83 [23:48:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 80 99 47 00 19 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 32 33 34 32 38 32 30 10 04 04 00 39 0A 00 00 F4 03 04 00 9D F0 13 67 B6 04 01 00 00 8A 50 EA 7B 89 B5 29 AD [23:48:04]CommunicateWithHost err = 0 [23:48:04]CheckOFDResponse [23:48:04]1017 (14) - 77093643461234 [23:48:04]1041 (16) - 0000000002342820 [23:48:04]1040 (4) - 2617 [23:48:04]1012 (4) - 19.10.2024 17:47 [23:48:04]1206 (1) - 0 [23:48:04]OFD Sender: Remove packet 2617 [23:48:04]ProducePacketName [23:48:04]name=ofd_packets/00002617 [23:48:04]NVStorageDeleteData [23:48:04]Write to MH i2c: 01 00 00 EF 59 48 [23:48:04]Write i2c OK [23:48:04]MH_I2C_Read... [23:48:04]Read from MH i2c: 01 [23:48:04]MH_I2C_Read... [23:48:04]Read from MH i2c: 01 07 00 [23:48:04]MH_I2C_Read... [23:48:04]Read from MH i2c: 01 07 00 EF 59 00 00 00 00 00 BB 0C 16 [23:48:04]RasterBufferAndPrint [23:48:04]line [23:48:04]line [23:48:04]line [23:48:04]line [23:48:04]line [23:48:04]written 0, free lines is 3264 [23:48:04]MH_Cut [23:48:04]Write to MH i2c: D1 01 00 F6 59 01 21 [23:48:04]Write i2c OK [23:48:04]MH_I2C_Read... [23:48:04]Read from MH i2c: D1 [23:48:04]MH_I2C_Read... [23:48:04]Read from MH i2c: D1 01 00 [23:48:04]MH_I2C_Read... [23:48:04]Read from MH i2c: D1 01 00 F6 59 00 20 [23:48:04]Write to MH i2c: 01 00 00 F7 59 50 [23:48:04]Write i2c OK [23:48:04]MH_I2C_Read... [23:48:04]OFD Sender: No OFD packet to send [23:48:05]*** Cut start [23:48:05]*** Partial cut [23:48:05]*** CUTSNS_PIN = 1 [23:48:05]*** CUTSNS_PIN = 0 [23:48:05]*** Brake cut motor [23:48:05]Read from MH i2c: 01 [23:48:05]MH_I2C_Read... [23:48:05]*** Stop cut motor [23:48:05]*** Cut end [23:48:05]Read from MH i2c: 01 07 00 [23:48:05]MH_I2C_Read... [23:48:05]Read from MH i2c: 01 07 00 F7 59 00 00 00 00 00 FF 0F 65 [23:48:05]process_action close_receipt done [23:48:05]requested_data is exist [23:48:05]produce_requested_data [23:48:05]requested_item fm.sn is exist - process it [23:48:05]wFMCommunicate request_size=4 [23:48:05]MH_SAM_APDU [23:48:05]CAPDU: 80 11 00 00 [23:48:05]Write to MH i2c: E2 08 00 F8 59 80 11 00 00 00 00 00 00 CB [23:48:05]Write i2c OK [23:48:05]MH_I2C_Read... [23:48:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:48:05]Read from MH i2c: E2 [23:48:05]MH_I2C_Read... [23:48:05]Read from MH i2c: E2 17 00 [23:48:05]MH_I2C_Read... [23:48:05]Read from MH i2c: E2 17 00 F8 59 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 13 [23:48:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:48:05]wFMCommunicate OK [23:48:05]requested_item fd.num is exist - process it [23:48:05]SAM_PROTO_GetFieldsCounters [23:48:05]wFMCommunicate request_size=4 [23:48:05]MH_SAM_APDU [23:48:05]CAPDU: 80 13 00 00 [23:48:05]Write to MH i2c: E2 08 00 F9 59 80 13 00 00 00 00 00 00 CE [23:48:05]Write i2c OK [23:48:05]MH_I2C_Read... [23:48:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:48:06]Read from MH i2c: E2 [23:48:06]MH_I2C_Read... [23:48:06]Read from MH i2c: E2 62 00 [23:48:06]MH_I2C_Read... [23:48:06]Read from MH i2c: E2 62 00 F9 59 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 39 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 28 [23:48:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 39 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:48:06]wFMCommunicate OK [23:48:06]SAM_PROTO_GetFieldsCounters done [23:48:06]requested_item shift.num is exist - process it [23:48:06]requested_item shift.opened is exist - process it [23:48:06]req_shift_opened [23:48:06]FM_GetShiftState [23:48:06]SAM_PROTO_GetShiftState [23:48:06]wFMCommunicate request_size=4 [23:48:06]MH_SAM_APDU [23:48:06]CAPDU: 80 13 01 00 [23:48:06]Write to MH i2c: E2 08 00 FA 59 80 13 01 00 00 00 00 00 D0 [23:48:06]Write i2c OK [23:48:06]MH_I2C_Read... [23:48:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:48:06]Read from MH i2c: E2 [23:48:06]MH_I2C_Read... [23:48:06]Read from MH i2c: E2 0E 00 [23:48:06]MH_I2C_Read... [23:48:06]Read from MH i2c: E2 0E 00 FA 59 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 79 [23:48:06]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [23:48:06]wFMCommunicate OK [23:48:06]SAM_PROTO_GetShiftState done [23:48:06]FM_GetShiftState done [23:48:06]req_shift_opened done [23:48:06]requested_item shift.open_date is exist - process it [23:48:06]req_shift_open_date [23:48:06]req_shift_open_date done [23:48:06]produce_requested_data done [23:48:06]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2617,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [23:48:06]process_action_free close_receipt [23:48:06]json_value_free [23:48:06]json_value_free done [23:48:06]process_json_proto returns [23:48:06]Send response to host [23:48:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2617,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [23:48:06]free response buf [23:48:06]execute_script done [23:48:06]execute_script returns [23:48:06]free content buf [23:48:06]Sock 7.Close socket [23:48:06]Sock 7.Thread stoped [23:48:09]OFD Sender: No OFD packet to send [23:48:14]OFD Sender: No OFD packet to send [23:48:19]OFD Sender: No OFD packet to send [23:48:24]OFD Sender: No OFD packet to send [23:48:29]OFD Sender: No OFD packet to send [23:48:34]OFD Sender: No OFD packet to send [23:48:39]OFD Sender: No OFD packet to send [23:48:44]OFD Sender: No OFD packet to send [23:48:49]OFD Sender: No OFD packet to send [23:48:54]OFD Sender: No OFD packet to send [23:48:59]OFD Sender: No OFD packet to send [23:49:04]OFD Sender: No OFD packet to send [23:49:09]OFD Sender: No OFD packet to send [23:49:14]OFD Sender: No OFD packet to send [23:49:19]OFD Sender: No OFD packet to send [23:49:24]OFD Sender: No OFD packet to send [23:49:29]OFD Sender: No OFD packet to send [23:49:34]OFD Sender: No OFD packet to send [23:49:39]OFD Sender: No OFD packet to send [23:49:44]OFD Sender: No OFD packet to send [23:49:49]OFD Sender: No OFD packet to send [23:49:54]OFD Sender: No OFD packet to send [23:49:59]OFD Sender: No OFD packet to send [23:50:04]OFD Sender: No OFD packet to send [23:50:09]OFD Sender: No OFD packet to send [23:50:14]OFD Sender: No OFD packet to send [23:50:19]OFD Sender: No OFD packet to send [23:50:24]OFD Sender: No OFD packet to send [23:50:29]OFD Sender: No OFD packet to send [23:50:34]OFD Sender: No OFD packet to send [23:50:39]OFD Sender: No OFD packet to send [23:50:44]OFD Sender: No OFD packet to send [23:50:49]OFD Sender: No OFD packet to send [23:50:54]OFD Sender: No OFD packet to send [23:50:59]OFD Sender: No OFD packet to send [23:51:04]OFD Sender: No OFD packet to send [23:51:09]OFD Sender: No OFD packet to send [23:51:14]OFD Sender: No OFD packet to send [23:51:19]OFD Sender: No OFD packet to send [23:51:24]OFD Sender: No OFD packet to send [23:51:29]OFD Sender: No OFD packet to send [23:51:34]OFD Sender: No OFD packet to send [23:51:39]OFD Sender: No OFD packet to send [23:51:44]OFD Sender: No OFD packet to send [23:51:49]OFD Sender: No OFD packet to send [23:51:54]OFD Sender: No OFD packet to send [23:51:59]OFD Sender: No OFD packet to send [23:52:04]OFD Sender: No OFD packet to send [23:52:09]OFD Sender: No OFD packet to send [23:52:14]OFD Sender: No OFD packet to send [23:52:19]OFD Sender: No OFD packet to send [23:52:24]OFD Sender: No OFD packet to send [23:52:29]OFD Sender: No OFD packet to send [23:52:34]OFD Sender: No OFD packet to send [23:52:39]OFD Sender: No OFD packet to send [23:52:44]OFD Sender: No OFD packet to send [23:52:49]OFD Sender: No OFD packet to send [23:52:54]OFD Sender: No OFD packet to send [23:52:59]OFD Sender: No OFD packet to send [23:53:04]OFD Sender: No OFD packet to send [23:53:09]OFD Sender: No OFD packet to send [23:53:14]OFD Sender: No OFD packet to send [23:53:19]OFD Sender: No OFD packet to send [23:53:24]OFD Sender: No OFD packet to send [23:53:29]OFD Sender: No OFD packet to send [23:53:34]OFD Sender: No OFD packet to send [23:53:39]OFD Sender: No OFD packet to send [23:53:44]OFD Sender: No OFD packet to send [23:53:49]OFD Sender: No OFD packet to send [23:53:54]OFD Sender: No OFD packet to send [23: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:32]accept exits with 9 [23:54:32]New connection [23:54:32]New thread 3066850660 created [23:54:32]Thread 3066707300 joined [23:54:32]Waiting for new connection... [23:54:32] Sock 9.Parse request [23:54:32]Sock 9.Check first char [23:54:32]Sock 9.First char is OK [23:54:32]request: POST /json_proto HTTP/1.0 [23:54:32]Method: POST [23:54:32]URL: /json_proto [23:54:32]Method is POST - this is cgi request [23:54:32]url: /json_proto [23:54:32]query_string will be loaded in cgi processing [23:54:32]execute_cgi json_proto POST (null) [23:54:32]execute_cgi path=json_proto method=POST [23:54:32]POST find Content-Length [23:54:32]Host: 172.17.52.132:8080 [23:54:32]Content-Length: 215 [23:54:32]Content-Type: application/json [23:54:32] [23:54:32]POST finish read [23:54:32]Found Content-Length = 215 [23:54:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:32]execute_script... [23:54:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:32]POST & json_proto [23:54:32]process_json_proto [23:54:32]json parsed OK: [23:54:32]protocol is kg_v1.0 [23:54:32]action value=get_value [23:54:32]process_action get_value [23:54:32]cmd_get_value [23:54:32]process_action get_value done [23:54:32]requested_data is exist [23:54:32]produce_requested_data [23:54:32]requested_item kkm.sn is exist - process it [23:54:32]requested_item kkm.ver is exist - process it [23:54:32]requested_item fm.sn is exist - process it [23:54:32]wFMCommunicate request_size=4 [23:54:32]MH_SAM_APDU [23:54:32]CAPDU: 80 11 00 00 [23:54:32]Write to MH i2c: E2 08 00 FB 59 80 11 00 00 00 00 00 00 CE [23:54:32]Write i2c OK [23:54:32]MH_I2C_Read... [23:54:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:54:32]Read from MH i2c: E2 [23:54:32]MH_I2C_Read... [23:54:32]Read from MH i2c: E2 17 00 [23:54:32]MH_I2C_Read... [23:54:32]Read from MH i2c: E2 17 00 FB 59 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 16 [23:54:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:54:32]wFMCommunicate OK [23:54:32]requested_item fd.num is exist - process it [23:54:32]SAM_PROTO_GetFieldsCounters [23:54:32]wFMCommunicate request_size=4 [23:54:32]MH_SAM_APDU [23:54:32]CAPDU: 80 13 00 00 [23:54:32]Write to MH i2c: E2 08 00 FC 59 80 13 00 00 00 00 00 00 D1 [23:54:32]Write i2c OK [23:54:32]MH_I2C_Read... [23:54:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:32]Read from MH i2c: E2 [23:54:32]MH_I2C_Read... [23:54:32]Read from MH i2c: E2 62 00 [23:54:32]MH_I2C_Read... [23:54:32]Read from MH i2c: E2 62 00 FC 59 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 39 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 2B [23:54:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 39 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:54:32]wFMCommunicate OK [23:54:32]SAM_PROTO_GetFieldsCounters done [23:54:32]requested_item shift.num is exist - process it [23:54:32]requested_item shift.opened is exist - process it [23:54:32]req_shift_opened [23:54:32]FM_GetShiftState [23:54:32]SAM_PROTO_GetShiftState [23:54:32]wFMCommunicate request_size=4 [23:54:32]MH_SAM_APDU [23:54:32]CAPDU: 80 13 01 00 [23:54:32]Write to MH i2c: E2 08 00 FD 59 80 13 01 00 00 00 00 00 D3 [23:54:32]Write i2c OK [23:54:32]MH_I2C_Read... [23:54:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:32]Read from MH i2c: E2 [23:54:32]MH_I2C_Read... [23:54:32]Read from MH i2c: E2 0E 00 [23:54:32]MH_I2C_Read... [23:54:32]Read from MH i2c: E2 0E 00 FD 59 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 7C [23:54:32]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [23:54:32]wFMCommunicate OK [23:54:32]SAM_PROTO_GetShiftState done [23:54:32]FM_GetShiftState done [23:54:32]req_shift_opened done [23:54:32]requested_item shift.open_date is exist - process it [23:54:32]req_shift_open_date [23:54:32]req_shift_open_date done [23:54:32]produce_requested_data done [23:54:32]produce_requested_data return {"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2617,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [23:54:32]process_action_free get_value [23:54:32]json_value_free [23:54:32]json_value_free done [23:54:32]process_json_proto returns [23:54:32]Send response to host [23:54:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2617,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [23:54:32]free response buf [23:54:32]execute_script done [23:54:32]execute_script returns [23:54:32]free content buf [23:54:32]Sock 9.Close socket [23:54:32]Sock 9.Thread stoped [23:54:33]accept exits with 7 [23:54:33]New connection [23:54:33]New thread 3066707300 created [23:54:33]Thread 3066850660 joined [23:54:33]Waiting for new connection... [23:54:33] Sock 7.Parse request [23:54:33]Sock 7.Check first char [23:54:33]Sock 7.First char is OK [23:54:33]request: POST /json_proto HTTP/1.0 [23:54:33]Method: POST [23:54:33]URL: /json_proto [23:54:33]Method is POST - this is cgi request [23:54:33]url: /json_proto [23:54:33]query_string will be loaded in cgi processing [23:54:33]execute_cgi json_proto POST (null) [23:54:33]execute_cgi path=json_proto method=POST [23:54:33]POST find Content-Length [23:54:33]Host: 172.17.52.132:8080 [23:54:33]Content-Length: 331 [23:54:33]Content-Type: application/json [23:54:33] [23:54:33]POST finish read [23:54:33]Found Content-Length = 331 [23:54:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:54:33]execute_script... [23:54:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:54:33]POST & json_proto [23:54:33]process_json_proto [23:54:33]json parsed OK: [23:54:33]protocol is kg_v1.0 [23:54:33]action value=get_value [23:54:33]process_action get_value [23:54:33]cmd_get_value [23:54:33]process_action get_value done [23:54:33]requested_data is exist [23:54:33]produce_requested_data [23:54:33]requested_item fm.sale.total is exist - process it [23:54:33]SAM_PROTO_GetFMData [23:54:33]wFMCommunicate request_size=4 [23:54:33]MH_SAM_APDU [23:54:33]CAPDU: 80 13 03 00 [23:54:33]Write to MH i2c: E2 08 00 FE 59 80 13 03 00 00 00 00 00 D6 [23:54:33]Write i2c OK [23:54:33]MH_I2C_Read... [23:54:33]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:54:33]Read from MH i2c: E2 [23:54:33]MH_I2C_Read... [23:54:33]Read from MH i2c: E2 FD 00 [23:54:33]MH_I2C_Read... [23:54:33]Read from MH i2c: E2 FD 00 FE 59 00 BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 6F [23:54:33]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [23:54:33]wFMCommunicate OK [23:54:33]wFMCommunicate request_size=4 [23:54:33]MH_SAM_APDU [23:54:33]CAPDU: 80 17 00 00 [23:54:33]Write to MH i2c: E2 08 00 FF 59 80 17 00 00 00 00 00 00 D8 [23:54:33]Write i2c OK [23:54:33]MH_I2C_Read... [23:54:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:34]Read from MH i2c: E2 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 FF 59 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 ED [23:54:34]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [23:54:34]wFMCommunicate OK [23:54:34]wFMCommunicate request_size=4 [23:54:34]MH_SAM_APDU [23:54:34]CAPDU: 80 17 00 00 [23:54:34]Write to MH i2c: E2 08 00 00 5A 80 17 00 00 00 00 00 00 DA [23:54:34]Write i2c OK [23:54:34]MH_I2C_Read... [23:54:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:34]Read from MH i2c: E2 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 00 5A 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 0C [23:54:34]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [23:54:34]wFMCommunicate OK [23:54:34]wFMCommunicate request_size=4 [23:54:34]MH_SAM_APDU [23:54:34]CAPDU: 80 17 00 00 [23:54:34]Write to MH i2c: E2 08 00 01 5A 80 17 00 00 00 00 00 00 DB [23:54:34]Write i2c OK [23:54:34]MH_I2C_Read... [23:54:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:34]Read from MH i2c: E2 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 01 5A 00 04 F7 03 00 00 EF 03 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 90 00 56 [23:54:34]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [23:54:34]wFMCommunicate OK [23:54:34]wFMCommunicate request_size=4 [23:54:34]MH_SAM_APDU [23:54:34]CAPDU: 80 17 00 00 [23:54:34]Write to MH i2c: E2 08 00 02 5A 80 17 00 00 00 00 00 00 DC [23:54:34]Write i2c OK [23:54:34]MH_I2C_Read... [23:54:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [23:54:34]Read from MH i2c: E2 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 DB 00 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 DB 00 02 5A 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BE [23:54:34]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:34]wFMCommunicate OK [23:54:34]SAM_PROTO_GetFMData done [23:54:34]requested_item fm.sale_refund.total is exist - process it [23:54:34]requested_item fm.buy.total is exist - process it [23:54:34]requested_item shift.sale.total is exist - process it [23:54:34]SAM_PROTO_GetShiftData [23:54:34]wFMCommunicate request_size=4 [23:54:34]MH_SAM_APDU [23:54:34]CAPDU: 80 13 02 00 [23:54:34]Write to MH i2c: E2 08 00 03 5A 80 13 02 00 00 00 00 00 DB [23:54:34]Write i2c OK [23:54:34]MH_I2C_Read... [23:54:35]OFD Sender: No OFD packet to send [23:54:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:54:35]Read from MH i2c: E2 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 FD 00 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 FD 00 03 5A 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 D1 [23:54:35]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:54:35]wFMCommunicate OK [23:54:35]wFMCommunicate request_size=4 [23:54:35]MH_SAM_APDU [23:54:35]CAPDU: 80 17 00 00 [23:54:35]Write to MH i2c: E2 08 00 04 5A 80 17 00 00 00 00 00 00 DE [23:54:35]Write i2c OK [23:54:35]MH_I2C_Read... [23:54:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:35]Read from MH i2c: E2 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 FD 00 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 FD 00 04 5A 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 00 [23:54: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 [23:54:35]wFMCommunicate OK [23:54:35]wFMCommunicate request_size=4 [23:54:35]MH_SAM_APDU [23:54:35]CAPDU: 80 17 00 00 [23:54:35]Write to MH i2c: E2 08 00 05 5A 80 17 00 00 00 00 00 00 DF [23:54:35]Write i2c OK [23:54:35]MH_I2C_Read... [23:54:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:35]Read from MH i2c: E2 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 FD 00 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 FD 00 05 5A 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 96 [23:54:35]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:54:35]wFMCommunicate OK [23:54:35]wFMCommunicate request_size=4 [23:54:35]MH_SAM_APDU [23:54:35]CAPDU: 80 17 00 00 [23:54:35]Write to MH i2c: E2 08 00 06 5A 80 17 00 00 00 00 00 00 E0 [23:54:35]Write i2c OK [23:54:35]MH_I2C_Read... [23:54:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:36]Read from MH i2c: E2 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 06 5A 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 52 [23:54: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 [23:54:36]wFMCommunicate OK [23:54:36]wFMCommunicate request_size=4 [23:54:36]MH_SAM_APDU [23:54:36]CAPDU: 80 17 00 00 [23:54:36]Write to MH i2c: E2 08 00 07 5A 80 17 00 00 00 00 00 00 E1 [23:54:36]Write i2c OK [23:54:36]MH_I2C_Read... [23:54:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:54:36]Read from MH i2c: E2 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 CB 00 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 CB 00 07 5A 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 CA [23:54: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 [23:54:36]wFMCommunicate OK [23:54:36]SAM_PROTO_GetShiftData done [23:54:36]requested_item shift.sale.total_cash is exist - process it [23:54:36]requested_item shift.sale_refund.total is exist - process it [23:54:36]requested_item shift.sale_refund.total_cash is exist - process it [23:54:36]requested_item shift.buy.total is exist - process it [23:54:36]requested_item shift.buy.total_cash is exist - process it [23:54:36]produce_requested_data done [23:54:36]produce_requested_data return {"fm.sale.total":849362.58,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":29188.39,"shift.sale.total_cash":22487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:54:36]process_action_free get_value [23:54:36]json_value_free [23:54:36]json_value_free done [23:54:36]process_json_proto returns [23:54:36]Send response to host [23:54:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":849362.58,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":29188.39,"shift.sale.total_cash":22487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:54:36]free response buf [23:54:36]execute_script done [23:54:36]execute_script returns [23:54:36]free content buf [23:54:36]Sock 7.Close socket [23:54:36]Sock 7.Thread stoped [23:54:36]accept exits with 9 [23:54:36]New connection [23:54:36]New thread 3066850660 created [23:54:36]Thread 3066707300 joined [23:54:36]Waiting for new connection... [23:54:36] Sock 9.Parse request [23:54:36]Sock 9.Check first char [23:54:36]Sock 9.First char is OK [23:54:36]request: POST /json_proto HTTP/1.0 [23:54:36]Method: POST [23:54:36]URL: /json_proto [23:54:36]Method is POST - this is cgi request [23:54:36]url: /json_proto [23:54:36]query_string will be loaded in cgi processing [23:54:36]execute_cgi json_proto POST (null) [23:54:36]execute_cgi path=json_proto method=POST [23:54:36]POST find Content-Length [23:54:36]Host: 172.17.52.132:8080 [23:54:36]Content-Length: 331 [23:54:36]Content-Type: application/json [23:54:36] [23:54:36]POST finish read [23:54:36]Found Content-Length = 331 [23:54:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:54:36]execute_script... [23:54:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:54:36]POST & json_proto [23:54:36]process_json_proto [23:54:36]json parsed OK: [23:54:36]protocol is kg_v1.0 [23:54:36]action value=get_value [23:54:36]process_action get_value [23:54:36]cmd_get_value [23:54:36]process_action get_value done [23:54:36]requested_data is exist [23:54:36]produce_requested_data [23:54:36]requested_item fm.sale.total is exist - process it [23:54:36]SAM_PROTO_GetFMData [23:54:36]wFMCommunicate request_size=4 [23:54:36]MH_SAM_APDU [23:54:36]CAPDU: 80 13 03 00 [23:54:36]Write to MH i2c: E2 08 00 08 5A 80 13 03 00 00 00 00 00 E1 [23:54:36]Write i2c OK [23:54:36]MH_I2C_Read... [23:54:36]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:54:36]Read from MH i2c: E2 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 08 5A 00 BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 7A [23:54:37]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [23:54:37]wFMCommunicate OK [23:54:37]wFMCommunicate request_size=4 [23:54:37]MH_SAM_APDU [23:54:37]CAPDU: 80 17 00 00 [23:54:37]Write to MH i2c: E2 08 00 09 5A 80 17 00 00 00 00 00 00 E3 [23:54:37]Write i2c OK [23:54:37]MH_I2C_Read... [23:54:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:37]Read from MH i2c: E2 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 FD 00 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 FD 00 09 5A 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 F8 [23:54:37]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [23:54:37]wFMCommunicate OK [23:54:37]wFMCommunicate request_size=4 [23:54:37]MH_SAM_APDU [23:54:37]CAPDU: 80 17 00 00 [23:54:37]Write to MH i2c: E2 08 00 0A 5A 80 17 00 00 00 00 00 00 E4 [23:54:37]Write i2c OK [23:54:37]MH_I2C_Read... [23:54:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:37]Read from MH i2c: E2 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 FD 00 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 FD 00 0A 5A 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 16 [23:54:37]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [23:54:37]wFMCommunicate OK [23:54:37]wFMCommunicate request_size=4 [23:54:37]MH_SAM_APDU [23:54:37]CAPDU: 80 17 00 00 [23:54:37]Write to MH i2c: E2 08 00 0B 5A 80 17 00 00 00 00 00 00 E5 [23:54:37]Write i2c OK [23:54:37]MH_I2C_Read... [23:54:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:38]Read from MH i2c: E2 [23:54:38]MH_I2C_Read... [23:54:38]Read from MH i2c: E2 FD 00 [23:54:38]MH_I2C_Read... [23:54:38]Read from MH i2c: E2 FD 00 0B 5A 00 04 F7 03 00 00 EF 03 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 90 00 60 [23:54:38]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [23:54:38]wFMCommunicate OK [23:54:38]wFMCommunicate request_size=4 [23:54:38]MH_SAM_APDU [23:54:38]CAPDU: 80 17 00 00 [23:54:38]Write to MH i2c: E2 08 00 0C 5A 80 17 00 00 00 00 00 00 E6 [23:54:38]Write i2c OK [23:54:38]MH_I2C_Read... [23:54:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [23:54:38]Read from MH i2c: E2 [23:54:38]MH_I2C_Read... [23:54:38]Read from MH i2c: E2 DB 00 [23:54:38]MH_I2C_Read... [23:54:38]Read from MH i2c: E2 DB 00 0C 5A 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C8 [23:54:38]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:38]wFMCommunicate OK [23:54:38]SAM_PROTO_GetFMData done [23:54:38]requested_item fm.sale_refund.total is exist - process it [23:54:38]requested_item fm.buy.total is exist - process it [23:54:38]requested_item shift.sale.total is exist - process it [23:54:38]SAM_PROTO_GetShiftData [23:54:38]wFMCommunicate request_size=4 [23:54:38]MH_SAM_APDU [23:54:38]CAPDU: 80 13 02 00 [23:54:38]Write to MH i2c: E2 08 00 0D 5A 80 13 02 00 00 00 00 00 E5 [23:54:38]Write i2c OK [23:54:38]MH_I2C_Read... [23:54:39]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:54:39]Read from MH i2c: E2 [23:54:39]MH_I2C_Read... [23:54:39]Read from MH i2c: E2 FD 00 [23:54:39]MH_I2C_Read... [23:54:39]Read from MH i2c: E2 FD 00 0D 5A 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 DB [23:54:39]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:54:39]wFMCommunicate OK [23:54:39]wFMCommunicate request_size=4 [23:54:39]MH_SAM_APDU [23:54:39]CAPDU: 80 17 00 00 [23:54:39]Write to MH i2c: E2 08 00 0E 5A 80 17 00 00 00 00 00 00 E8 [23:54:39]Write i2c OK [23:54:39]MH_I2C_Read... [23:54:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:39]Read from MH i2c: E2 [23:54:39]MH_I2C_Read... [23:54:39]Read from MH i2c: E2 FD 00 [23:54:39]MH_I2C_Read... [23:54:39]Read from MH i2c: E2 FD 00 0E 5A 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 0A [23:54:39]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:54:39]wFMCommunicate OK [23:54:39]wFMCommunicate request_size=4 [23:54:39]MH_SAM_APDU [23:54:39]CAPDU: 80 17 00 00 [23:54:39]Write to MH i2c: E2 08 00 0F 5A 80 17 00 00 00 00 00 00 E9 [23:54:39]Write i2c OK [23:54:39]MH_I2C_Read... [23:54:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:39]Read from MH i2c: E2 [23:54:39]MH_I2C_Read... [23:54:39]Read from MH i2c: E2 FD 00 [23:54:39]MH_I2C_Read... [23:54:39]Read from MH i2c: E2 FD 00 0F 5A 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 A0 [23:54:40]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:54:40]wFMCommunicate OK [23:54:40]wFMCommunicate request_size=4 [23:54:40]MH_SAM_APDU [23:54:40]CAPDU: 80 17 00 00 [23:54:40]Write to MH i2c: E2 08 00 10 5A 80 17 00 00 00 00 00 00 EA [23:54:40]Write i2c OK [23:54:40]MH_I2C_Read... [23:54:40]OFD Sender: No OFD packet to send [23:54:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:40]Read from MH i2c: E2 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 FD 00 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 FD 00 10 5A 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 5C [23:54:40]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:54:40]wFMCommunicate OK [23:54:40]wFMCommunicate request_size=4 [23:54:40]MH_SAM_APDU [23:54:40]CAPDU: 80 17 00 00 [23:54:40]Write to MH i2c: E2 08 00 11 5A 80 17 00 00 00 00 00 00 EB [23:54:40]Write i2c OK [23:54:40]MH_I2C_Read... [23:54:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:54:40]Read from MH i2c: E2 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 CB 00 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 CB 00 11 5A 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 D4 [23:54:40]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:41]wFMCommunicate OK [23:54:41]SAM_PROTO_GetShiftData done [23:54:41]requested_item shift.sale.total_cash is exist - process it [23:54:41]requested_item shift.sale_refund.total is exist - process it [23:54:41]requested_item shift.sale_refund.total_cash is exist - process it [23:54:41]requested_item shift.buy.total is exist - process it [23:54:41]requested_item shift.buy.total_cash is exist - process it [23:54:41]produce_requested_data done [23:54:41]produce_requested_data return {"fm.sale.total":849362.58,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":29188.39,"shift.sale.total_cash":22487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:54:41]process_action_free get_value [23:54:41]json_value_free [23:54:41]json_value_free done [23:54:41]process_json_proto returns [23:54:41]Send response to host [23:54:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":849362.58,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":29188.39,"shift.sale.total_cash":22487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:54:41]free response buf [23:54:41]execute_script done [23:54:41]execute_script returns [23:54:41]free content buf [23:54:41]Sock 9.Close socket [23:54:41]Sock 9.Thread stoped [23:54:41]accept exits with 7 [23:54:41]New connection [23:54:41]New thread 3066707300 created [23:54:41]Thread 3066850660 joined [23:54:41]Waiting for new connection... [23:54:41] Sock 7.Parse request [23:54:41]Sock 7.Check first char [23:54:41]Sock 7.First char is OK [23:54:41]request: POST /json_proto HTTP/1.0 [23:54:41]Method: POST [23:54:41]URL: /json_proto [23:54:41]Method is POST - this is cgi request [23:54:41]url: /json_proto [23:54:41]query_string will be loaded in cgi processing [23:54:41]execute_cgi json_proto POST (null) [23:54:41]execute_cgi path=json_proto method=POST [23:54:41]POST find Content-Length [23:54:41]Host: 172.17.52.132:8080 [23:54:41]Content-Length: 257 [23:54:41]Content-Type: application/json [23:54:41] [23:54:41]POST finish read [23:54:41]Found Content-Length = 257 [23:54:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u042D\u0440\u0433\u0435\u0448\u043E\u0432\u0430 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:41]execute_script... [23:54:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u042D\u0440\u0433\u0435\u0448\u043E\u0432\u0430 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:41]POST & json_proto [23:54:41]process_json_proto [23:54:41]json parsed OK: [23:54:41]protocol is kg_v1.0 [23:54:41]action value=x_report [23:54:41]process_action x_report [23:54:41]cmd_x_report [23:54:41]MH_GetDate [23:54:41]Write to MH i2c: F0 00 00 12 5A 5B [23:54:41]Write i2c OK [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: F0 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: F0 09 00 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: F0 09 00 12 5A 00 CD 46 14 67 5A BE F6 66 66 [23:54:41]GetLastDocTimeStamp 1729381693 [23:54:41]current date 1729382093 [23:54:41]FM_GetShiftState [23:54:41]SAM_PROTO_GetShiftState [23:54:41]wFMCommunicate request_size=4 [23:54:41]MH_SAM_APDU [23:54:41]CAPDU: 80 13 01 00 [23:54:41]Write to MH i2c: E2 08 00 13 5A 80 13 01 00 00 00 00 00 EA [23:54:41]Write i2c OK [23:54:41]MH_I2C_Read... [23:54:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:41]Read from MH i2c: E2 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: E2 0E 00 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: E2 0E 00 13 5A 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 93 [23:54:41]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [23:54:41]wFMCommunicate OK [23:54:41]SAM_PROTO_GetShiftState done [23:54:41]FM_GetShiftState done [23:54:41]KKMCreateXReportDocument [23:54:41]Load OK [23:54:41]Malloc new data [23:54:41]MH_GetDate [23:54:41]Write to MH i2c: F0 00 00 14 5A 5D [23:54:41]Write i2c OK [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: F0 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: F0 09 00 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: F0 09 00 14 5A 00 CD 46 14 67 5A BE F6 66 68 [23:54:41]Malloc new data [23:54:41]Malloc new data [23:54:41]wFMCommunicate request_size=4 [23:54:41]MH_SAM_APDU [23:54:41]CAPDU: 80 11 00 00 [23:54:41]Write to MH i2c: E2 08 00 15 5A 80 11 00 00 00 00 00 00 E9 [23:54:41]Write i2c OK [23:54:41]MH_I2C_Read... [23:54:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:54:41]Read from MH i2c: E2 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: E2 17 00 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: E2 17 00 15 5A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 31 [23:54:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:54:41]wFMCommunicate OK [23:54:41]SAM_PROTO_GetFieldsCounters [23:54:41]wFMCommunicate request_size=4 [23:54:41]MH_SAM_APDU [23:54:41]CAPDU: 80 13 00 00 [23:54:41]Write to MH i2c: E2 08 00 16 5A 80 13 00 00 00 00 00 00 EC [23:54:41]Write i2c OK [23:54:41]MH_I2C_Read... [23:54:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:41]Read from MH i2c: E2 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: E2 62 00 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: E2 62 00 16 5A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 39 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 46 [23:54:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 39 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:54:41]wFMCommunicate OK [23:54:41]SAM_PROTO_GetFieldsCounters done [23:54:41]Malloc new data [23:54:41]Malloc new data [23:54:41]Malloc new data [23:54:41]KKMCreateXReportDocument OK [23:54:41]KKMSetXReportData OK [23:54:41]KKMPrepareXReportFMData [23:54:41]SAM_PROTO_GetShiftData [23:54:41]wFMCommunicate request_size=4 [23:54:41]MH_SAM_APDU [23:54:41]CAPDU: 80 13 02 00 [23:54:41]Write to MH i2c: E2 08 00 17 5A 80 13 02 00 00 00 00 00 EF [23:54:41]Write i2c OK [23:54:41]MH_I2C_Read... [23:54:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:54:41]Read from MH i2c: E2 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: E2 FD 00 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: E2 FD 00 17 5A 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 E5 [23:54:41]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:54:42]wFMCommunicate OK [23:54:42]wFMCommunicate request_size=4 [23:54:42]MH_SAM_APDU [23:54:42]CAPDU: 80 17 00 00 [23:54:42]Write to MH i2c: E2 08 00 18 5A 80 17 00 00 00 00 00 00 F2 [23:54:42]Write i2c OK [23:54:42]MH_I2C_Read... [23:54:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:42]Read from MH i2c: E2 [23:54:42]MH_I2C_Read... [23:54:42]Read from MH i2c: E2 FD 00 [23:54:42]MH_I2C_Read... [23:54:42]Read from MH i2c: E2 FD 00 18 5A 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 14 [23:54:42]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:54:42]wFMCommunicate OK [23:54:42]wFMCommunicate request_size=4 [23:54:42]MH_SAM_APDU [23:54:42]CAPDU: 80 17 00 00 [23:54:42]Write to MH i2c: E2 08 00 19 5A 80 17 00 00 00 00 00 00 F3 [23:54:42]Write i2c OK [23:54:42]MH_I2C_Read... [23:54:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:42]Read from MH i2c: E2 [23:54:42]MH_I2C_Read... [23:54:42]Read from MH i2c: E2 FD 00 [23:54:42]MH_I2C_Read... [23:54:42]Read from MH i2c: E2 FD 00 19 5A 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 AA [23:54:42]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:54:42]wFMCommunicate OK [23:54:42]wFMCommunicate request_size=4 [23:54:42]MH_SAM_APDU [23:54:42]CAPDU: 80 17 00 00 [23:54:42]Write to MH i2c: E2 08 00 1A 5A 80 17 00 00 00 00 00 00 F4 [23:54:42]Write i2c OK [23:54:42]MH_I2C_Read... [23:54:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:43]Read from MH i2c: E2 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: E2 FD 00 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: E2 FD 00 1A 5A 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 66 [23:54:43]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:54:43]wFMCommunicate OK [23:54:43]wFMCommunicate request_size=4 [23:54:43]MH_SAM_APDU [23:54:43]CAPDU: 80 17 00 00 [23:54:43]Write to MH i2c: E2 08 00 1B 5A 80 17 00 00 00 00 00 00 F5 [23:54:43]Write i2c OK [23:54:43]MH_I2C_Read... [23:54:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:54:43]Read from MH i2c: E2 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: E2 CB 00 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: E2 CB 00 1B 5A 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 DE [23:54:43]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:43]wFMCommunicate OK [23:54:43]SAM_PROTO_GetShiftData done [23:54:43]1194 (1194) - счетчики итогов смены [23:54:43] 1134 (4) - 78 - количество чеков со всеми признаками расчетов [23:54:43] 1129 (155) - счетчики операций «приход» [23:54:43] 1135 (4) - 78 - количество чеков по признаку расчетов [23:54:43] 1201 (3) - 29188.39 - общая итоговая сумма в чеках [23:54:43] 1136 (3) - 22487.00 - итоговая сумма в чеках наличными [23:54:43] 1138 (3) - 6701.39 - итоговая сумма в чеках безналичными [23:54:43] 1024 (122) - суммы налогов [23:54:43] 1006 (9) - суммы НДС [23:54:43] 1010 (1) - 0% - код ставки НДС [23:54:43] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:43] 1006 (12) - суммы НДС [23:54:43] 1010 (1) - 12% - код ставки НДС [23:54:43] 1011 (3) - 3099.53 - сумма НДС по ставке [23:54:43] 1007 (9) - суммы НСП [23:54:43] 1014 (1) - 0% - код ставки НСП [23:54:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:43] 1007 (11) - суммы НСП [23:54:43] 1014 (1) - 1% - код ставки НСП [23:54:43] 1015 (2) - 258.23 - сумма НСП по ставке [23:54:43] 1007 (9) - суммы НСП [23:54:43] 1014 (1) - 2% - код ставки НСП [23:54:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:43] 1007 (9) - суммы НСП [23:54:43] 1014 (1) - 3% - код ставки НСП [23:54:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:43] 1007 (9) - суммы НСП [23:54:43] 1014 (1) - 5% - код ставки НСП [23:54:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:43] 1007 (9) - суммы НСП [23:54:43] 1014 (1) - 0,50% - код ставки НСП [23:54:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:43] 1007 (9) - суммы НСП [23:54:43] 1014 (1) - 1,50% - код ставки НСП [23:54:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:43] 1130 (141) - счетчики операций «возврат прихода» [23:54:43] 1135 (4) - 0 - количество чеков по признаку расчетов [23:54:43] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:54:43] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:54:43] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:54:43] 1024 (117) - суммы налогов [23:54:43] 1006 (9) - суммы НДС [23:54:43] 1010 (1) - 0% - код ставки НДС [23:54:43] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:43] 1006 (9) - суммы НДС [23:54:43] 1010 (1) - 12% - код ставки НДС [23:54:43] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:43] 1007 (9) - суммы НСП [23:54:43] 1014 (1) - 0% - код ставки НСП [23:54:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:43] 1007 (9) - суммы НСП [23:54:43] 1014 (1) - 1% - код ставки НСП [23:54:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:43] 1007 (9) - суммы НСП [23:54:43] 1014 (1) - 2% - код ставки НСП [23:54:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:43] 1007 (9) - суммы НСП [23:54:43] 1014 (1) - 3% - код ставки НСП [23:54:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:43] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 5% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 0,50% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 1,50% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1131 (141) - счетчики операций «расход» [23:54:44] 1135 (4) - 0 - количество чеков по признаку расчетов [23:54:44] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:54:44] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:54:44] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:54:44] 1024 (117) - суммы налогов [23:54:44] 1006 (9) - суммы НДС [23:54:44] 1010 (1) - 0% - код ставки НДС [23:54:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:44] 1006 (9) - суммы НДС [23:54:44] 1010 (1) - 12% - код ставки НДС [23:54:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 0% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 1% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 2% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 3% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 5% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 0,50% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 1,50% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1132 (141) - счетчики операций «возврат расхода» [23:54:44] 1135 (4) - 0 - количество чеков по признаку расчетов [23:54:44] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:54:44] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:54:44] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:54:44] 1024 (117) - суммы налогов [23:54:44] 1006 (9) - суммы НДС [23:54:44] 1010 (1) - 0% - код ставки НДС [23:54:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:44] 1006 (9) - суммы НДС [23:54:44] 1010 (1) - 12% - код ставки НДС [23:54:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 0% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 1% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 2% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 3% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 5% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 0,50% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1007 (9) - суммы НСП [23:54:44] 1014 (1) - 1,50% - код ставки НСП [23:54:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:44] 1133 (588) - - счетчики коррекции - не используются [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1194 (04AA) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1134 (046E) [23:54:44]Malloc new data [23:54:44]Processing tag 1129 (0469) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1135 (046F) [23:54:44]Malloc new data [23:54:44]Processing tag 1201 (04B1) [23:54:44]Malloc new data [23:54:44]Processing tag 1136 (0470) [23:54:44]Malloc new data [23:54:44]Processing tag 1138 (0472) [23:54:44]Malloc new data [23:54:44]Processing tag 1024 (0400) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1006 (03EE) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1010 (03F2) [23:54:44]Malloc new data [23:54:44]Processing tag 1011 (03F3) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1006 (03EE) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1010 (03F2) [23:54:44]Malloc new data [23:54:44]Processing tag 1011 (03F3) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]SetTLVBufToDocument err=0 [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1130 (046A) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1135 (046F) [23:54:44]Malloc new data [23:54:44]Processing tag 1201 (04B1) [23:54:44]Malloc new data [23:54:44]Processing tag 1136 (0470) [23:54:44]Malloc new data [23:54:44]Processing tag 1138 (0472) [23:54:44]Malloc new data [23:54:44]Processing tag 1024 (0400) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1006 (03EE) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1010 (03F2) [23:54:44]Malloc new data [23:54:44]Processing tag 1011 (03F3) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1006 (03EE) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1010 (03F2) [23:54:44]Malloc new data [23:54:44]Processing tag 1011 (03F3) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]SetTLVBufToDocument err=0 [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1131 (046B) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1135 (046F) [23:54:44]Malloc new data [23:54:44]Processing tag 1201 (04B1) [23:54:44]Malloc new data [23:54:44]Processing tag 1136 (0470) [23:54:44]Malloc new data [23:54:44]Processing tag 1138 (0472) [23:54:44]Malloc new data [23:54:44]Processing tag 1024 (0400) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1006 (03EE) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1010 (03F2) [23:54:44]Malloc new data [23:54:44]Processing tag 1011 (03F3) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1006 (03EE) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1010 (03F2) [23:54:44]Malloc new data [23:54:44]Processing tag 1011 (03F3) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1007 (03EF) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1014 (03F6) [23:54:44]Malloc new data [23:54:44]Processing tag 1015 (03F7) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:44]SetTLVBufToDocument err=0 [23:54:44]SetTLVBufToDocument err=0 [23:54:44]Processing tag 1132 (046C) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1135 (046F) [23:54:44]Malloc new data [23:54:44]Processing tag 1201 (04B1) [23:54:44]Malloc new data [23:54:44]Processing tag 1136 (0470) [23:54:44]Malloc new data [23:54:44]Processing tag 1138 (0472) [23:54:44]Malloc new data [23:54:44]Processing tag 1024 (0400) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1006 (03EE) [23:54:44]Load OK [23:54:44]SetTLVBufToDocument [23:54:44]Processing tag 1010 (03F2) [23:54:44]Malloc new data [23:54:44]Processing tag 1011 (03F3) [23:54:44]Malloc new data [23:54:44]SetTLVBufToDocument err=0 [23:54:45]Processing tag 1006 (03EE) [23:54:45]Load OK [23:54:45]SetTLVBufToDocument [23:54:45]Processing tag 1010 (03F2) [23:54:45]Malloc new data [23:54:45]Processing tag 1011 (03F3) [23:54:45]Malloc new data [23:54:45]SetTLVBufToDocument err=0 [23:54:45]Processing tag 1007 (03EF) [23:54:45]Load OK [23:54:45]SetTLVBufToDocument [23:54:45]Processing tag 1014 (03F6) [23:54:45]Malloc new data [23:54:45]Processing tag 1015 (03F7) [23:54:45]Malloc new data [23:54:45]SetTLVBufToDocument err=0 [23:54:45]Processing tag 1007 (03EF) [23:54:45]Load OK [23:54:45]SetTLVBufToDocument [23:54:45]Processing tag 1014 (03F6) [23:54:45]Malloc new data [23:54:45]Processing tag 1015 (03F7) [23:54:45]Malloc new data [23:54:45]SetTLVBufToDocument err=0 [23:54:45]Processing tag 1007 (03EF) [23:54:45]Load OK [23:54:45]SetTLVBufToDocument [23:54:45]Processing tag 1014 (03F6) [23:54:45]Malloc new data [23:54:45]Processing tag 1015 (03F7) [23:54:45]Malloc new data [23:54:45]SetTLVBufToDocument err=0 [23:54:45]Processing tag 1007 (03EF) [23:54:45]Load OK [23:54:45]SetTLVBufToDocument [23:54:45]Processing tag 1014 (03F6) [23:54:45]Malloc new data [23:54:45]Processing tag 1015 (03F7) [23:54:45]Malloc new data [23:54:45]SetTLVBufToDocument err=0 [23:54:45]Processing tag 1007 (03EF) [23:54:45]Load OK [23:54:45]SetTLVBufToDocument [23:54:45]Processing tag 1014 (03F6) [23:54:45]Malloc new data [23:54:45]Processing tag 1015 (03F7) [23:54:45]Malloc new data [23:54:45]SetTLVBufToDocument err=0 [23:54:45]Processing tag 1007 (03EF) [23:54:45]Load OK [23:54:45]SetTLVBufToDocument [23:54:45]Processing tag 1014 (03F6) [23:54:45]Malloc new data [23:54:45]Processing tag 1015 (03F7) [23:54:45]Malloc new data [23:54:45]SetTLVBufToDocument err=0 [23:54:45]Processing tag 1007 (03EF) [23:54:45]Load OK [23:54:45]SetTLVBufToDocument [23:54:45]Processing tag 1014 (03F6) [23:54:45]Malloc new data [23:54:45]Processing tag 1015 (03F7) [23:54:45]Malloc new data [23:54:45]SetTLVBufToDocument err=0 [23:54:45]SetTLVBufToDocument err=0 [23:54:45]SetTLVBufToDocument err=0 [23:54:45]Processing tag 1133 (046D) [23:54:45]Malloc new data [23:54:45]SetTLVBufToDocument err=0 [23:54:45]SetTLVBufToDocument err=0 [23:54:45]Malloc new data [23:54:45]SAM_PROTO_GetFMData [23:54:45]wFMCommunicate request_size=4 [23:54:45]MH_SAM_APDU [23:54:45]CAPDU: 80 13 03 00 [23:54:45]Write to MH i2c: E2 08 00 1C 5A 80 13 03 00 00 00 00 00 F5 [23:54:45]Write i2c OK [23:54:45]MH_I2C_Read... [23:54:45]OFD Sender: No OFD packet to send [23:54:45]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:54:45]Read from MH i2c: E2 [23:54:45]MH_I2C_Read... [23:54:45]Read from MH i2c: E2 FD 00 [23:54:45]MH_I2C_Read... [23:54:45]Read from MH i2c: E2 FD 00 1C 5A 00 BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 8E [23:54:45]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [23:54:45]wFMCommunicate OK [23:54:45]wFMCommunicate request_size=4 [23:54:45]MH_SAM_APDU [23:54:45]CAPDU: 80 17 00 00 [23:54:45]Write to MH i2c: E2 08 00 1D 5A 80 17 00 00 00 00 00 00 F7 [23:54:45]Write i2c OK [23:54:45]MH_I2C_Read... [23:54:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:46]Read from MH i2c: E2 [23:54:46]MH_I2C_Read... [23:54:46]Read from MH i2c: E2 FD 00 [23:54:46]MH_I2C_Read... [23:54:46]Read from MH i2c: E2 FD 00 1D 5A 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 0C [23:54:46]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [23:54:46]wFMCommunicate OK [23:54:46]wFMCommunicate request_size=4 [23:54:46]MH_SAM_APDU [23:54:46]CAPDU: 80 17 00 00 [23:54:46]Write to MH i2c: E2 08 00 1E 5A 80 17 00 00 00 00 00 00 F8 [23:54:46]Write i2c OK [23:54:46]MH_I2C_Read... [23:54:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:46]Read from MH i2c: E2 [23:54:46]MH_I2C_Read... [23:54:46]Read from MH i2c: E2 FD 00 [23:54:46]MH_I2C_Read... [23:54:46]Read from MH i2c: E2 FD 00 1E 5A 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 2A [23:54:46]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [23:54:46]wFMCommunicate OK [23:54:46]wFMCommunicate request_size=4 [23:54:46]MH_SAM_APDU [23:54:46]CAPDU: 80 17 00 00 [23:54:46]Write to MH i2c: E2 08 00 1F 5A 80 17 00 00 00 00 00 00 F9 [23:54:46]Write i2c OK [23:54:46]MH_I2C_Read... [23:54:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:47]Read from MH i2c: E2 [23:54:47]MH_I2C_Read... [23:54:47]Read from MH i2c: E2 FD 00 [23:54:47]MH_I2C_Read... [23:54:47]Read from MH i2c: E2 FD 00 1F 5A 00 04 F7 03 00 00 EF 03 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 90 00 74 [23:54:47]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [23:54:47]wFMCommunicate OK [23:54:47]wFMCommunicate request_size=4 [23:54:47]MH_SAM_APDU [23:54:47]CAPDU: 80 17 00 00 [23:54:47]Write to MH i2c: E2 08 00 20 5A 80 17 00 00 00 00 00 00 FA [23:54:47]Write i2c OK [23:54:47]MH_I2C_Read... [23:54:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [23:54:47]Read from MH i2c: E2 [23:54:47]MH_I2C_Read... [23:54:47]Read from MH i2c: E2 DB 00 [23:54:47]MH_I2C_Read... [23:54:47]Read from MH i2c: E2 DB 00 20 5A 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 DC [23:54:47]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:47]wFMCommunicate OK [23:54:47]SAM_PROTO_GetFMData done [23:54:47]FM_GetFMData:85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 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 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:54:48]oper:6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:54:48]total:42 06 10 05 [23:54:48]Malloc new data [23:54:48]oper:6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 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 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:54:48]total:58 F6 01 [23:54:48]Malloc new data [23:54:48]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:54:48]total: [23:54:48]Malloc new data [23:54:48]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:54:48]total: [23:54:48]Malloc new data [23:54:48]KKMPrepareXReportFMData err=0 [23:54:48]Х отчет ИНН: 02508201610067 Кассир: Эргешова А. 19.10.2024 23:54 Смена: 10 РНМ: 0000000000207295 ЗНМ: 0300000191 СНО: Общий режим Всего чеков: 78 ИТОГИ ПРИХОД Чеков: 78 Общий итог: 29188.39 Итого наличными: 22487.00 Итого безнал.: 6701.39 НДС 0% : 0.00 НДС 12% : 3099.53 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 258.23 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 22487.00 НС Приход: 849362.58 НС Возвр.Прихода: 1286.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000002342820 [23:54:48]StoreToDocumentArchive [23:54:48]MH_GetDate [23:54:48]Write to MH i2c: F0 00 00 21 5A 6A [23:54:48]Write i2c OK [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: F0 [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: F0 09 00 [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: F0 09 00 21 5A 00 D5 46 14 67 5A BE F6 66 7D [23:54:48]shift 10 fd 1729382101 [23:54:48]Create dir for shift 0010 [23:54:48]save to /storage/0010/doc_1729382101 [23:54:48]save last doc name /storage/0010/doc_1729382101 to /storage/kkm_last_doc_name [23:54:48]save OK [23:54:48]Clear old archive folders... [23:54:48]NVStorageSaveData kkm_last_timestamp [23:54:48]File name is /storage/kkm_last_timestamp [23:54:48]Write 4 bytes [23:54:48]NVStorageSaveData done [23:54:48]ExternCall_PrintAddStr [23:54:48]wPrintStart [23:54:48]Write to MH i2c: 01 00 00 22 5A 7C [23:54:48]Write i2c OK [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: 01 [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: 01 07 00 [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: 01 07 00 22 5A 00 00 00 00 00 FF 0F 91 [23:54:49]RasterBufferAndPrint [23:54:49]line Х отчет [23:54:49]line ИНН: 02508201610067 [23:54:49]line Кассир: Эргешова А. [23:54:49]line 19.10.2024 23:54 [23:54:49]line Смена: 10 [23:54:49]line РНМ: 0000000000207295 [23:54:49]line ЗНМ: 0300000191 [23:54:49]line СНО: Общий режим [23:54:49]line Всего чеков: 78 [23:54:49]line ИТОГИ ПРИХОД [23:54:49]line Чеков: 78 [23:54:49]line Общий итог: 29188.39 [23:54:49]line Итого наличными: 22487.00 [23:54:49]line Итого безнал.: 6701.39 [23:54:49]line НДС 0% : 0.00 [23:54:49]line НДС 12% : 3099.53 [23:54:49]line НСП 0% : 0.00 [23:54:49]line НСП 1,50% : 0.00 [23:54:49]line НСП 0,50% : 0.00 [23:54:49]line НСП 5% : 0.00 [23:54:49]line НСП 3% : 0.00 [23:54:49]line НСП 2% : 0.00 [23:54:49]line НСП 1% : 258.23 [23:54:49]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:54:49]line Чеков: 0 [23:54:49]line Общий итог: 0.00 [23:54:49]line Итого наличными: 0.00 [23:54:49]line Итого безнал.: 0.00 [23:54:49]line НДС 0% : 0.00 [23:54:49]line НДС 12% : 0.00 [23:54:49]line НСП 0% : 0.00 [23:54:49]line НСП 1,50% : 0.00 [23:54:49]line НСП 0,50% : 0.00 [23:54:49]line НСП 5% : 0.00 [23:54:49]line НСП 3% : 0.00 [23:54:49]line НСП 2% : 0.00 [23:54:49]line НСП 1% : 0.00 [23:54:49]line ИТОГИ РАСХОД [23:54:49]line Чеков: 0 [23:54:49]line Общий итог: 0.00 [23:54:49]line Итого наличными: 0.00 [23:54:49]line Итого безнал.: 0.00 [23:54:49]line НДС 0% : 0.00 [23:54:49]line НДС 12% : 0.00 [23:54:49]line НСП 0% : 0.00 [23:54:49]line НСП 1,50% : 0.00 [23:54:49]line НСП 0,50% : 0.00 [23:54:49]line НСП 5% : 0.00 [23:54:49]line НСП 3% : 0.00 [23:54:49]line НСП 2% : 0.00 [23:54:49]line НСП 1% : 0.00 [23:54:49]line ИТОГИ ВОЗВРАТ РАСХОДА [23:54:49]line Чеков: 0 [23:54:49]line Общий итог: 0.00 [23:54:49]line Итого наличными: 0.00 [23:54:49]line Итого безнал.: 0.00 [23:54:49]line НДС 0% : 0.00 [23:54:49]line НДС 12% : 0.00 [23:54:49]line НСП 0% : 0.00 [23:54:49]line НСП 1,50% : 0.00 [23:54:49]line НСП 0,50% : 0.00 [23:54:49]line НСП 5% : 0.00 [23:54:49]line НСП 3% : 0.00 [23:54:49]line НСП 2% : 0.00 [23:54:49]line НСП 1% : 0.00 [23:54:49]line Сумма внесений: 0.00 [23:54:49]line Сумма выплат: 0.00 [23:54:49]line Нал. в кассе: 22487.00 [23:54:49]line НС Приход: 849362.58 [23:54:49]line НС Возвр.Прихода: 1286.00 [23:54:49]line НС Расход: 0.00 [23:54:49]line НС Возвр.Расхода: 0.00 [23:54:49]line ФМ: 0000000002342820 [23:54:49]written 0, free lines is 4095 [23:54:49]Write to MH i2c: 01 00 00 6D 5A C7 [23:54:49]Write i2c OK [23:54:49]MH_I2C_Read... [23:54:49]Read from MH i2c: 01 [23:54:49]MH_I2C_Read... [23:54:49]Read from MH i2c: 01 07 00 [23:54:49]MH_I2C_Read... [23:54:49]Read from MH i2c: 01 07 00 6D 5A 00 00 00 00 00 48 0A 20 [23:54:49]RasterBufferAndPrint [23:54:49]line [23:54:49]line [23:54:49]line [23:54:49]line [23:54:49]line [23:54:49]written 0, free lines is 2663 [23:54:49]MH_Cut [23:54:49]Write to MH i2c: D1 01 00 74 5A 01 A0 [23:54:49]Write i2c OK [23:54:49]MH_I2C_Read... [23:54:49]Read from MH i2c: D1 [23:54:49]MH_I2C_Read... [23:54:49]Read from MH i2c: D1 01 00 [23:54:49]MH_I2C_Read... [23:54:49]Read from MH i2c: D1 01 00 74 5A 00 9F [23:54:49]Write to MH i2c: 01 00 00 75 5A CF [23:54:49]Write i2c OK [23:54:49]MH_I2C_Read... [23:54:50]OFD Sender: No OFD packet to send [23:54:51]*** Cut start [23:54:51]*** Partial cut [23:54:51]*** CUTSNS_PIN = 1 [23:54:51]*** CUTSNS_PIN = 0 [23:54:51]*** Brake cut motor [23:54:51]Read from MH i2c: 01 [23:54:51]MH_I2C_Read... [23:54:51]*** Stop cut motor [23:54:51]*** Cut end [23:54:51]Read from MH i2c: 01 07 00 [23:54:51]MH_I2C_Read... [23:54:51]Read from MH i2c: 01 07 00 75 5A 00 00 00 00 00 FF 0F E4 [23:54:51]process_action x_report done [23:54:51]requested_data is exist [23:54:51]produce_requested_data [23:54:51]requested_item fd.num is exist - process it [23:54:51]SAM_PROTO_GetFieldsCounters [23:54:51]wFMCommunicate request_size=4 [23:54:51]MH_SAM_APDU [23:54:51]CAPDU: 80 13 00 00 [23:54:51]Write to MH i2c: E2 08 00 76 5A 80 13 00 00 00 00 00 00 4C [23:54:51]Write i2c OK [23:54:51]MH_I2C_Read... [23:54:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:51]Read from MH i2c: E2 [23:54:51]MH_I2C_Read... [23:54:51]Read from MH i2c: E2 62 00 [23:54:51]MH_I2C_Read... [23:54:51]Read from MH i2c: E2 62 00 76 5A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 39 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 A6 [23:54:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 39 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:54:51]wFMCommunicate OK [23:54:51]SAM_PROTO_GetFieldsCounters done [23:54:51]requested_item shift.num is exist - process it [23:54:51]requested_item shift.opened is exist - process it [23:54:51]req_shift_opened [23:54:51]FM_GetShiftState [23:54:51]SAM_PROTO_GetShiftState [23:54:51]wFMCommunicate request_size=4 [23:54:51]MH_SAM_APDU [23:54:51]CAPDU: 80 13 01 00 [23:54:51]Write to MH i2c: E2 08 00 77 5A 80 13 01 00 00 00 00 00 4E [23:54:52]Write i2c OK [23:54:52]MH_I2C_Read... [23:54:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:52]Read from MH i2c: E2 [23:54:52]MH_I2C_Read... [23:54:52]Read from MH i2c: E2 0E 00 [23:54:52]MH_I2C_Read... [23:54:52]Read from MH i2c: E2 0E 00 77 5A 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 F7 [23:54:52]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [23:54:52]wFMCommunicate OK [23:54:52]SAM_PROTO_GetShiftState done [23:54:52]FM_GetShiftState done [23:54:52]req_shift_opened done [23:54:52]requested_item shift.open_date is exist - process it [23:54:52]req_shift_open_date [23:54:52]req_shift_open_date done [23:54:52]produce_requested_data done [23:54:52]produce_requested_data return {"fd.num":2617,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [23:54:52]process_action_free x_report [23:54:52]json_value_free [23:54:52]json_value_free done [23:54:52]process_json_proto returns [23:54:52]Send response to host [23:54:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":2617,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [23:54:52]free response buf [23:54:52]execute_script done [23:54:52]execute_script returns [23:54:52]free content buf [23:54:52]Sock 7.Close socket [23:54:52]Sock 7.Thread stoped [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:25]accept exits with 10 [23:55:25]New connection [23:55:25]New thread 3066850660 created [23:55:25]Thread 3066707300 joined [23:55:25]Waiting for new connection... [23:55:25] Sock 10.Parse request [23:55:25]Sock 10.Check first char [23:55:25]Sock 10.First char is OK [23:55:25]request: POST /json_proto HTTP/1.0 [23:55:25]Method: POST [23:55:25]URL: /json_proto [23:55:25]Method is POST - this is cgi request [23:55:25]url: /json_proto [23:55:25]query_string will be loaded in cgi processing [23:55:25]execute_cgi json_proto POST (null) [23:55:25]execute_cgi path=json_proto method=POST [23:55:25]POST find Content-Length [23:55:25]Host: 172.17.52.132:8080 [23:55:25]Content-Length: 215 [23:55:25]Content-Type: application/json [23:55:25] [23:55:25]POST finish read [23:55:25]Found Content-Length = 215 [23:55:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:25]execute_script... [23:55:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:25]POST & json_proto [23:55:25]process_json_proto [23:55:25]json parsed OK: [23:55:25]protocol is kg_v1.0 [23:55:25]action value=get_value [23:55:25]process_action get_value [23:55:25]cmd_get_value [23:55:25]process_action get_value done [23:55:25]requested_data is exist [23:55:25]produce_requested_data [23:55:25]requested_item kkm.sn is exist - process it [23:55:25]requested_item kkm.ver is exist - process it [23:55:25]requested_item fm.sn is exist - process it [23:55:25]wFMCommunicate request_size=4 [23:55:25]MH_SAM_APDU [23:55:25]CAPDU: 80 11 00 00 [23:55:25]Write to MH i2c: E2 08 00 78 5A 80 11 00 00 00 00 00 00 4C [23:55:25]Write i2c OK [23:55:25]MH_I2C_Read... [23:55:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:25]Read from MH i2c: E2 [23:55:25]MH_I2C_Read... [23:55:25]Read from MH i2c: E2 17 00 [23:55:25]MH_I2C_Read... [23:55:25]Read from MH i2c: E2 17 00 78 5A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 94 [23:55:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:55:25]wFMCommunicate OK [23:55:25]requested_item fd.num is exist - process it [23:55:25]SAM_PROTO_GetFieldsCounters [23:55:25]wFMCommunicate request_size=4 [23:55:25]MH_SAM_APDU [23:55:25]CAPDU: 80 13 00 00 [23:55:25]Write to MH i2c: E2 08 00 79 5A 80 13 00 00 00 00 00 00 4F [23:55:25]Write i2c OK [23:55:25]MH_I2C_Read... [23:55:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:55:25]Read from MH i2c: E2 [23:55:25]MH_I2C_Read... [23:55:25]Read from MH i2c: E2 62 00 [23:55:25]MH_I2C_Read... [23:55:25]Read from MH i2c: E2 62 00 79 5A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 39 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 A9 [23:55:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 39 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:55:25]wFMCommunicate OK [23:55:25]SAM_PROTO_GetFieldsCounters done [23:55:25]requested_item shift.num is exist - process it [23:55:25]requested_item shift.opened is exist - process it [23:55:25]req_shift_opened [23:55:25]FM_GetShiftState [23:55:25]SAM_PROTO_GetShiftState [23:55:25]wFMCommunicate request_size=4 [23:55:25]MH_SAM_APDU [23:55:25]CAPDU: 80 13 01 00 [23:55:25]Write to MH i2c: E2 08 00 7A 5A 80 13 01 00 00 00 00 00 51 [23:55:25]Write i2c OK [23:55:25]MH_I2C_Read... [23:55:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:25]Read from MH i2c: E2 [23:55:25]MH_I2C_Read... [23:55:25]Read from MH i2c: E2 0E 00 [23:55:25]MH_I2C_Read... [23:55:25]Read from MH i2c: E2 0E 00 7A 5A 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 FA [23:55:25]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [23:55:25]wFMCommunicate OK [23:55:25]SAM_PROTO_GetShiftState done [23:55:25]FM_GetShiftState done [23:55:25]req_shift_opened done [23:55:25]requested_item shift.open_date is exist - process it [23:55:25]req_shift_open_date [23:55:25]req_shift_open_date done [23:55:25]produce_requested_data done [23:55:25]produce_requested_data return {"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2617,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173} [23:55:25]process_action_free get_value [23:55:25]json_value_free [23:55:25]json_value_free done [23:55:25]process_json_proto returns [23:55:25]Send response to host [23:55:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2617,"shift.num":23,"shift.opened":1,"shift.open_date":1729296173}}} [23:55:25]free response buf [23:55:25]execute_script done [23:55:25]execute_script returns [23:55:25]free content buf [23:55:25]Sock 10.Close socket [23:55:25]Sock 10.Thread stoped [23:55:25]accept exits with 7 [23:55:25]New connection [23:55:25]New thread 3066707300 created [23:55:25]Thread 3066850660 joined [23:55:25]Waiting for new connection... [23:55:25] Sock 7.Parse request [23:55:25]Sock 7.Check first char [23:55:25]Sock 7.First char is OK [23:55:25]request: POST /json_proto HTTP/1.0 [23:55:25]Method: POST [23:55:25]URL: /json_proto [23:55:25]Method is POST - this is cgi request [23:55:25]url: /json_proto [23:55:25]query_string will be loaded in cgi processing [23:55:25]execute_cgi json_proto POST (null) [23:55:25]execute_cgi path=json_proto method=POST [23:55:25]POST find Content-Length [23:55:25]Host: 172.17.52.132:8080 [23:55:25]Content-Length: 331 [23:55:25]Content-Type: application/json [23:55:25] [23:55:25]POST finish read [23:55:25]Found Content-Length = 331 [23:55:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:55:25]execute_script... [23:55:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:55:25]POST & json_proto [23:55:25]process_json_proto [23:55:25]json parsed OK: [23:55:25]protocol is kg_v1.0 [23:55:25]action value=get_value [23:55:26]process_action get_value [23:55:26]cmd_get_value [23:55:26]process_action get_value done [23:55:26]requested_data is exist [23:55:26]produce_requested_data [23:55:26]requested_item fm.sale.total is exist - process it [23:55:26]SAM_PROTO_GetFMData [23:55:26]wFMCommunicate request_size=4 [23:55:26]MH_SAM_APDU [23:55:26]CAPDU: 80 13 03 00 [23:55:26]Write to MH i2c: E2 08 00 7B 5A 80 13 03 00 00 00 00 00 54 [23:55:26]Write i2c OK [23:55:26]MH_I2C_Read... [23:55:26]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:55:26]Read from MH i2c: E2 [23:55:26]MH_I2C_Read... [23:55:26]Read from MH i2c: E2 FD 00 [23:55:26]MH_I2C_Read... [23:55:26]Read from MH i2c: E2 FD 00 7B 5A 00 BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 ED [23:55:26]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [23:55:26]wFMCommunicate OK [23:55:26]wFMCommunicate request_size=4 [23:55:26]MH_SAM_APDU [23:55:26]CAPDU: 80 17 00 00 [23:55:26]Write to MH i2c: E2 08 00 7C 5A 80 17 00 00 00 00 00 00 56 [23:55:26]Write i2c OK [23:55:26]MH_I2C_Read... [23:55:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:26]Read from MH i2c: E2 [23:55:26]MH_I2C_Read... [23:55:26]Read from MH i2c: E2 FD 00 [23:55:26]MH_I2C_Read... [23:55:26]Read from MH i2c: E2 FD 00 7C 5A 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 6B [23:55:26]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [23:55:26]wFMCommunicate OK [23:55:26]wFMCommunicate request_size=4 [23:55:26]MH_SAM_APDU [23:55:26]CAPDU: 80 17 00 00 [23:55:26]Write to MH i2c: E2 08 00 7D 5A 80 17 00 00 00 00 00 00 57 [23:55:26]Write i2c OK [23:55:26]MH_I2C_Read... [23:55:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:27]Read from MH i2c: E2 [23:55:27]MH_I2C_Read... [23:55:27]Read from MH i2c: E2 FD 00 [23:55:27]MH_I2C_Read... [23:55:27]Read from MH i2c: E2 FD 00 7D 5A 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 89 [23:55:27]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [23:55:27]wFMCommunicate OK [23:55:27]wFMCommunicate request_size=4 [23:55:27]MH_SAM_APDU [23:55:27]CAPDU: 80 17 00 00 [23:55:27]Write to MH i2c: E2 08 00 7E 5A 80 17 00 00 00 00 00 00 58 [23:55:27]Write i2c OK [23:55:27]MH_I2C_Read... [23:55:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:27]Read from MH i2c: E2 [23:55:27]MH_I2C_Read... [23:55:27]Read from MH i2c: E2 FD 00 [23:55:27]MH_I2C_Read... [23:55:27]Read from MH i2c: E2 FD 00 7E 5A 00 04 F7 03 00 00 EF 03 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 90 00 D3 [23:55:27]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [23:55:27]wFMCommunicate OK [23:55:27]wFMCommunicate request_size=4 [23:55:27]MH_SAM_APDU [23:55:27]CAPDU: 80 17 00 00 [23:55:27]Write to MH i2c: E2 08 00 7F 5A 80 17 00 00 00 00 00 00 59 [23:55:27]Write i2c OK [23:55:27]MH_I2C_Read... [23:55:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [23:55:27]Read from MH i2c: E2 [23:55:27]MH_I2C_Read... [23:55:27]Read from MH i2c: E2 DB 00 [23:55:27]MH_I2C_Read... [23:55:27]Read from MH i2c: E2 DB 00 7F 5A 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 3B [23:55:27]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:27]wFMCommunicate OK [23:55:27]SAM_PROTO_GetFMData done [23:55:27]requested_item fm.sale_refund.total is exist - process it [23:55:27]requested_item fm.buy.total is exist - process it [23:55:27]requested_item shift.sale.total is exist - process it [23:55:27]SAM_PROTO_GetShiftData [23:55:27]wFMCommunicate request_size=4 [23:55:27]MH_SAM_APDU [23:55:27]CAPDU: 80 13 02 00 [23:55:27]Write to MH i2c: E2 08 00 80 5A 80 13 02 00 00 00 00 00 58 [23:55:27]Write i2c OK [23:55:27]MH_I2C_Read... [23:55:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:55:28]Read from MH i2c: E2 [23:55:28]MH_I2C_Read... [23:55:28]Read from MH i2c: E2 FD 00 [23:55:28]MH_I2C_Read... [23:55:28]Read from MH i2c: E2 FD 00 80 5A 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 4E [23:55:28]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:55:28]wFMCommunicate OK [23:55:28]wFMCommunicate request_size=4 [23:55:28]MH_SAM_APDU [23:55:28]CAPDU: 80 17 00 00 [23:55:28]Write to MH i2c: E2 08 00 81 5A 80 17 00 00 00 00 00 00 5B [23:55:28]Write i2c OK [23:55:28]MH_I2C_Read... [23:55:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:28]Read from MH i2c: E2 [23:55:28]MH_I2C_Read... [23:55:28]Read from MH i2c: E2 FD 00 [23:55:28]MH_I2C_Read... [23:55:28]Read from MH i2c: E2 FD 00 81 5A 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 7D [23:55:28]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:55:28]wFMCommunicate OK [23:55:28]wFMCommunicate request_size=4 [23:55:28]MH_SAM_APDU [23:55:28]CAPDU: 80 17 00 00 [23:55:28]Write to MH i2c: E2 08 00 82 5A 80 17 00 00 00 00 00 00 5C [23:55:28]Write i2c OK [23:55:28]MH_I2C_Read... [23:55:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:28]Read from MH i2c: E2 [23:55:28]MH_I2C_Read... [23:55:28]Read from MH i2c: E2 FD 00 [23:55:28]MH_I2C_Read... [23:55:28]Read from MH i2c: E2 FD 00 82 5A 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 13 [23:55:28]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:55:28]wFMCommunicate OK [23:55:28]wFMCommunicate request_size=4 [23:55:28]MH_SAM_APDU [23:55:28]CAPDU: 80 17 00 00 [23:55:28]Write to MH i2c: E2 08 00 83 5A 80 17 00 00 00 00 00 00 5D [23:55:28]Write i2c OK [23:55:28]MH_I2C_Read... [23:55:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:29]Read from MH i2c: E2 [23:55:29]MH_I2C_Read... [23:55:29]Read from MH i2c: E2 FD 00 [23:55:29]MH_I2C_Read... [23:55:29]Read from MH i2c: E2 FD 00 83 5A 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 CF [23:55:29]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:55:29]wFMCommunicate OK [23:55:29]wFMCommunicate request_size=4 [23:55:29]MH_SAM_APDU [23:55:29]CAPDU: 80 17 00 00 [23:55:29]Write to MH i2c: E2 08 00 84 5A 80 17 00 00 00 00 00 00 5E [23:55:29]Write i2c OK [23:55:29]MH_I2C_Read... [23:55:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:55:29]Read from MH i2c: E2 [23:55:29]MH_I2C_Read... [23:55:29]Read from MH i2c: E2 CB 00 [23:55:29]MH_I2C_Read... [23:55:29]Read from MH i2c: E2 CB 00 84 5A 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 47 [23:55:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:29]wFMCommunicate OK [23:55:29]SAM_PROTO_GetShiftData done [23:55:29]requested_item shift.sale.total_cash is exist - process it [23:55:29]requested_item shift.sale_refund.total is exist - process it [23:55:29]requested_item shift.sale_refund.total_cash is exist - process it [23:55:29]requested_item shift.buy.total is exist - process it [23:55:29]requested_item shift.buy.total_cash is exist - process it [23:55:29]produce_requested_data done [23:55:29]produce_requested_data return {"fm.sale.total":849362.58,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":29188.39,"shift.sale.total_cash":22487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:55:29]process_action_free get_value [23:55:29]json_value_free [23:55:29]json_value_free done [23:55:29]process_json_proto returns [23:55:29]Send response to host [23:55:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":849362.58,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":29188.39,"shift.sale.total_cash":22487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:55:29]free response buf [23:55:29]execute_script done [23:55:29]execute_script returns [23:55:29]free content buf [23:55:29]Sock 7.Close socket [23:55:29]Sock 7.Thread stoped [23:55:29]accept exits with 9 [23:55:29]New connection [23:55:29]New thread 3066850660 created [23:55:29]Thread 3066707300 joined [23:55:29]Waiting for new connection... [23:55:29] Sock 9.Parse request [23:55:29]Sock 9.Check first char [23:55:29]Sock 9.First char is OK [23:55:29]request: POST /json_proto HTTP/1.0 [23:55:29]Method: POST [23:55:29]URL: /json_proto [23:55:29]Method is POST - this is cgi request [23:55:29]url: /json_proto [23:55:29]query_string will be loaded in cgi processing [23:55:29]execute_cgi json_proto POST (null) [23:55:29]execute_cgi path=json_proto method=POST [23:55:29]POST find Content-Length [23:55:29]Host: 172.17.52.132:8080 [23:55:29]Content-Length: 331 [23:55:29]Content-Type: application/json [23:55:29] [23:55:29]POST finish read [23:55:29]Found Content-Length = 331 [23:55:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:55:29]execute_script... [23:55:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:55:29]POST & json_proto [23:55:29]process_json_proto [23:55:29]json parsed OK: [23:55:29]protocol is kg_v1.0 [23:55:29]action value=get_value [23:55:29]process_action get_value [23:55:29]cmd_get_value [23:55:29]process_action get_value done [23:55:29]requested_data is exist [23:55:29]produce_requested_data [23:55:29]requested_item fm.sale.total is exist - process it [23:55:29]SAM_PROTO_GetFMData [23:55:29]wFMCommunicate request_size=4 [23:55:29]MH_SAM_APDU [23:55:29]CAPDU: 80 13 03 00 [23:55:29]Write to MH i2c: E2 08 00 85 5A 80 13 03 00 00 00 00 00 5E [23:55:29]Write i2c OK [23:55:29]MH_I2C_Read... [23:55:30]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:55:30]Read from MH i2c: E2 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 FD 00 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 FD 00 85 5A 00 BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 F7 [23:55:30]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [23:55:30]wFMCommunicate OK [23:55:30]wFMCommunicate request_size=4 [23:55:30]MH_SAM_APDU [23:55:30]CAPDU: 80 17 00 00 [23:55:30]Write to MH i2c: E2 08 00 86 5A 80 17 00 00 00 00 00 00 60 [23:55:30]Write i2c OK [23:55:30]MH_I2C_Read... [23:55:30]OFD Sender: No OFD packet to send [23:55:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:30]Read from MH i2c: E2 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 FD 00 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 FD 00 86 5A 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 75 [23:55:30]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [23:55:30]wFMCommunicate OK [23:55:30]wFMCommunicate request_size=4 [23:55:30]MH_SAM_APDU [23:55:30]CAPDU: 80 17 00 00 [23:55:30]Write to MH i2c: E2 08 00 87 5A 80 17 00 00 00 00 00 00 61 [23:55:30]Write i2c OK [23:55:30]MH_I2C_Read... [23:55:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:30]Read from MH i2c: E2 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 FD 00 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 FD 00 87 5A 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 93 [23:55:31]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [23:55:31]wFMCommunicate OK [23:55:31]wFMCommunicate request_size=4 [23:55:31]MH_SAM_APDU [23:55:31]CAPDU: 80 17 00 00 [23:55:31]Write to MH i2c: E2 08 00 88 5A 80 17 00 00 00 00 00 00 62 [23:55:31]Write i2c OK [23:55:31]MH_I2C_Read... [23:55:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:31]Read from MH i2c: E2 [23:55:31]MH_I2C_Read... [23:55:31]Read from MH i2c: E2 FD 00 [23:55:31]MH_I2C_Read... [23:55:31]Read from MH i2c: E2 FD 00 88 5A 00 04 F7 03 00 00 EF 03 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 90 00 DD [23:55:31]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [23:55:31]wFMCommunicate OK [23:55:31]wFMCommunicate request_size=4 [23:55:31]MH_SAM_APDU [23:55:31]CAPDU: 80 17 00 00 [23:55:31]Write to MH i2c: E2 08 00 89 5A 80 17 00 00 00 00 00 00 63 [23:55:31]Write i2c OK [23:55:31]MH_I2C_Read... [23:55:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [23:55:31]Read from MH i2c: E2 [23:55:31]MH_I2C_Read... [23:55:31]Read from MH i2c: E2 DB 00 [23:55:31]MH_I2C_Read... [23:55:31]Read from MH i2c: E2 DB 00 89 5A 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 45 [23:55:31]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:31]wFMCommunicate OK [23:55:31]SAM_PROTO_GetFMData done [23:55:31]requested_item fm.sale_refund.total is exist - process it [23:55:31]requested_item fm.buy.total is exist - process it [23:55:31]requested_item shift.sale.total is exist - process it [23:55:31]SAM_PROTO_GetShiftData [23:55:31]wFMCommunicate request_size=4 [23:55:31]MH_SAM_APDU [23:55:31]CAPDU: 80 13 02 00 [23:55:31]Write to MH i2c: E2 08 00 8A 5A 80 13 02 00 00 00 00 00 62 [23:55:31]Write i2c OK [23:55:31]MH_I2C_Read... [23:55:32]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:55:32]Read from MH i2c: E2 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 FD 00 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 FD 00 8A 5A 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 58 [23:55:32]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:55:32]wFMCommunicate OK [23:55:32]wFMCommunicate request_size=4 [23:55:32]MH_SAM_APDU [23:55:32]CAPDU: 80 17 00 00 [23:55:32]Write to MH i2c: E2 08 00 8B 5A 80 17 00 00 00 00 00 00 65 [23:55:32]Write i2c OK [23:55:32]MH_I2C_Read... [23:55:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:32]Read from MH i2c: E2 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 FD 00 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 FD 00 8B 5A 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 87 [23:55:33]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:55:33]wFMCommunicate OK [23:55:33]wFMCommunicate request_size=4 [23:55:33]MH_SAM_APDU [23:55:33]CAPDU: 80 17 00 00 [23:55:33]Write to MH i2c: E2 08 00 8C 5A 80 17 00 00 00 00 00 00 66 [23:55:33]Write i2c OK [23:55:33]MH_I2C_Read... [23:55:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:33]Read from MH i2c: E2 [23:55:33]MH_I2C_Read... [23:55:33]Read from MH i2c: E2 FD 00 [23:55:33]MH_I2C_Read... [23:55:33]Read from MH i2c: E2 FD 00 8C 5A 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 1D [23:55:33]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:55:33]wFMCommunicate OK [23:55:33]wFMCommunicate request_size=4 [23:55:33]MH_SAM_APDU [23:55:33]CAPDU: 80 17 00 00 [23:55:33]Write to MH i2c: E2 08 00 8D 5A 80 17 00 00 00 00 00 00 67 [23:55:33]Write i2c OK [23:55:33]MH_I2C_Read... [23:55:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:33]Read from MH i2c: E2 [23:55:33]MH_I2C_Read... [23:55:33]Read from MH i2c: E2 FD 00 [23:55:33]MH_I2C_Read... [23:55:33]Read from MH i2c: E2 FD 00 8D 5A 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 D9 [23:55:34]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:55:34]wFMCommunicate OK [23:55:34]wFMCommunicate request_size=4 [23:55:34]MH_SAM_APDU [23:55:34]CAPDU: 80 17 00 00 [23:55:34]Write to MH i2c: E2 08 00 8E 5A 80 17 00 00 00 00 00 00 68 [23:55:34]Write i2c OK [23:55:34]MH_I2C_Read... [23:55:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:55:34]Read from MH i2c: E2 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 CB 00 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 CB 00 8E 5A 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 51 [23:55:34]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:34]wFMCommunicate OK [23:55:34]SAM_PROTO_GetShiftData done [23:55:34]requested_item shift.sale.total_cash is exist - process it [23:55:34]requested_item shift.sale_refund.total is exist - process it [23:55:34]requested_item shift.sale_refund.total_cash is exist - process it [23:55:34]requested_item shift.buy.total is exist - process it [23:55:34]requested_item shift.buy.total_cash is exist - process it [23:55:34]produce_requested_data done [23:55:34]produce_requested_data return {"fm.sale.total":849362.58,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":29188.39,"shift.sale.total_cash":22487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:55:34]process_action_free get_value [23:55:34]json_value_free [23:55:34]json_value_free done [23:55:34]process_json_proto returns [23:55:34]Send response to host [23:55:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":849362.58,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":29188.39,"shift.sale.total_cash":22487.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:55:34]free response buf [23:55:34]execute_script done [23:55:34]execute_script returns [23:55:34]free content buf [23:55:34]Sock 9.Close socket [23:55:34]Sock 9.Thread stoped [23:55:34]accept exits with 7 [23:55:34]New connection [23:55:34]New thread 3066707300 created [23:55:34]Thread 3066850660 joined [23:55:34]Waiting for new connection... [23:55:34] Sock 7.Parse request [23:55:34]Sock 7.Check first char [23:55:34]Sock 7.First char is OK [23:55:34]request: POST /json_proto HTTP/1.0 [23:55:34]Method: POST [23:55:34]URL: /json_proto [23:55:34]Method is POST - this is cgi request [23:55:34]url: /json_proto [23:55:34]query_string will be loaded in cgi processing [23:55:34]execute_cgi json_proto POST (null) [23:55:34]execute_cgi path=json_proto method=POST [23:55:34]POST find Content-Length [23:55:34]Host: 172.17.52.132:8080 [23:55:34]Content-Length: 260 [23:55:34]Content-Type: application/json [23:55:34] [23:55:34]POST finish read [23:55:34]Found Content-Length = 260 [23:55:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u042D\u0440\u0433\u0435\u0448\u043E\u0432\u0430 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:34]execute_script... [23:55:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u042D\u0440\u0433\u0435\u0448\u043E\u0432\u0430 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:34]POST & json_proto [23:55:34]process_json_proto [23:55:34]json parsed OK: [23:55:34]protocol is kg_v1.0 [23:55:34]action value=close_shift [23:55:34]process_action close_shift [23:55:34]cmd_close_shift [23:55:34]MH_GetDate [23:55:34]Write to MH i2c: F0 00 00 8F 5A D8 [23:55:34]Write i2c OK [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: F0 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: F0 09 00 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: F0 09 00 8F 5A 00 02 47 14 67 5A BE F6 66 19 [23:55:34]GetLastDocTimeStamp 1729382093 [23:55:34]current date 1729382146 [23:55:34]FM_GetShiftState [23:55:34]SAM_PROTO_GetShiftState [23:55:34]wFMCommunicate request_size=4 [23:55:34]MH_SAM_APDU [23:55:34]CAPDU: 80 13 01 00 [23:55:34]Write to MH i2c: E2 08 00 90 5A 80 13 01 00 00 00 00 00 67 [23:55:34]Write i2c OK [23:55:34]MH_I2C_Read... [23:55:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:34]Read from MH i2c: E2 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 0E 00 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 0E 00 90 5A 00 09 00 01 2D F7 12 67 00 00 00 00 90 00 10 [23:55:34]RAPDU: 09 00 01 2D F7 12 67 00 00 00 00 90 00 [23:55:34]wFMCommunicate OK [23:55:34]SAM_PROTO_GetShiftState done [23:55:34]FM_GetShiftState done [23:55:34]KKMCreateCloseShiftDocument [23:55:34]Load OK [23:55:34]Malloc new data [23:55:34]MH_GetDate [23:55:34]Write to MH i2c: F0 00 00 91 5A DA [23:55:34]Write i2c OK [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: F0 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: F0 09 00 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: F0 09 00 91 5A 00 02 47 14 67 5A BE F6 66 1B [23:55:34]Malloc new data [23:55:34]Malloc new data [23:55:34]Malloc new data [23:55:34]Malloc new data [23:55:34]KKMCreateCloseShiftDocument OK [23:55:34]KKMSetCloseShiftData OK [23:55:34]ProcessDocumentItem done err = 0, tmpTLVsize=71 [23:55:34]tlvbuf is 01599DF0 [23:55:34]KKMLoadAndSignCloseShiftData [23:55:34]SAM_PROTO_ProcessDocument [23:55:34]wFMCommunicate request_size=9 [23:55:34]MH_SAM_APDU [23:55:34]CAPDU: 80 15 01 00 04 05 00 47 00 [23:55:34]Write to MH i2c: E2 0C 00 92 5A 80 15 01 00 04 00 05 00 47 00 00 00 BF [23:55:34]Write i2c OK [23:55:34]MH_I2C_Read... [23:55:34]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:55:34]Read from MH i2c: E2 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 03 00 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 03 00 92 5A 00 90 00 60 [23:55:34]RAPDU: 90 00 [23:55:34]wFMCommunicate OK [23:55:34]wFMCommunicate request_size=23 [23:55:34]MH_SAM_APDU [23:55:34]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [23:55:34]Write to MH i2c: E2 1A 00 93 5A 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 62 [23:55:34]Write i2c OK [23:55:34]MH_I2C_Read... [23:55:34]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:55:34]Read from MH i2c: E2 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 03 00 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 03 00 93 5A 00 90 00 61 [23:55:34]RAPDU: 90 00 [23:55:34]wFMCommunicate OK [23:55:34]wFMCommunicate request_size=30 [23:55:34]MH_SAM_APDU [23:55:34]CAPDU: 80 15 02 00 19 FD 03 15 00 D0 AD D1 80 D0 B3 D0 B5 D1 88 D0 BE D0 B2 D0 B0 20 D0 90 2E 20 [23:55:34]Write to MH i2c: E2 21 00 94 5A 80 15 02 00 19 00 FD 03 15 00 D0 AD D1 80 D0 B3 D0 B5 D1 88 D0 BE D0 B2 D0 B0 20 D0 90 2E 20 00 00 42 [23:55:34]Write i2c OK [23:55:34]MH_I2C_Read... [23:55:35]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:55:35]Read from MH i2c: E2 [23:55:35]MH_I2C_Read... [23:55:35]Read from MH i2c: E2 03 00 [23:55:35]MH_I2C_Read... [23:55:35]Read from MH i2c: E2 03 00 94 5A 00 90 00 62 [23:55:35]RAPDU: 90 00 [23:55:35]wFMCommunicate OK [23:55:35]wFMCommunicate request_size=13 [23:55:35]MH_SAM_APDU [23:55:35]CAPDU: 80 15 02 00 08 F4 03 04 00 02 47 14 67 [23:55:35]Write to MH i2c: E2 10 00 95 5A 80 15 02 00 08 00 F4 03 04 00 02 47 14 67 00 00 3E [23:55:35]Write i2c OK [23:55:35]MH_I2C_Read... [23:55:35]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:55:35]Read from MH i2c: E2 [23:55:35]MH_I2C_Read... [23:55:35]Read from MH i2c: E2 03 00 [23:55:35]MH_I2C_Read... [23:55:35]Read from MH i2c: E2 03 00 95 5A 00 90 00 63 [23:55:35]RAPDU: 90 00 [23:55:35]wFMCommunicate OK [23:55:35]wFMCommunicate request_size=25 [23:55:35]MH_SAM_APDU [23:55:35]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 [23:55:35]Write to MH i2c: E2 1C 00 96 5A 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 00 00 D2 [23:55:35]Write i2c OK [23:55:35]MH_I2C_Read... [23:55:35]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:55:35]Read from MH i2c: E2 [23:55:35]MH_I2C_Read... [23:55:35]Read from MH i2c: E2 03 00 [23:55:35]MH_I2C_Read... [23:55:35]Read from MH i2c: E2 03 00 96 5A 00 90 00 64 [23:55:35]RAPDU: 90 00 [23:55:35]wFMCommunicate OK [23:55:35]wFMCommunicate request_size=4 [23:55:35]MH_SAM_APDU [23:55:35]CAPDU: 80 15 03 00 [23:55:35]Write to MH i2c: E2 08 00 97 5A 80 15 03 00 00 00 00 00 72 [23:55:35]Write i2c OK [23:55:35]MH_I2C_Read... [23:55:35]OFD Sender: No OFD packet to send [23:55:35]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:55:35]Read from MH i2c: E2 [23:55:35]MH_I2C_Read... [23:55:35]Read from MH i2c: E2 FD 00 [23:55:35]MH_I2C_Read... [23:55:35]Read from MH i2c: E2 FD 00 97 5A 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3A 0A 00 00 0E 04 04 00 17 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 F5 [23:55:35]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3A 0A 00 00 0E 04 04 00 17 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [23:55:36]wFMCommunicate OK [23:55:36]SAM_PROTO_ProcessDocument answer len = 1265 [23:55:36]SAM_PROTO_ProcessDocument remain to read = 1017 [23:55:36]wFMCommunicate request_size=4 [23:55:36]MH_SAM_APDU [23:55:36]CAPDU: 80 17 00 00 [23:55:36]Write to MH i2c: E2 08 00 98 5A 80 17 00 00 00 00 00 00 72 [23:55:36]Write i2c OK [23:55:36]MH_I2C_Read... [23:55:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:36]Read from MH i2c: E2 [23:55:36]MH_I2C_Read... [23:55:36]Read from MH i2c: E2 FD 00 [23:55:36]MH_I2C_Read... [23:55:36]Read from MH i2c: E2 FD 00 98 5A 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 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 BB [23:55:36]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:55:36]wFMCommunicate OK [23:55:36]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:36]SAM_PROTO_ProcessDocument remain to read = 767 [23:55:36]wFMCommunicate request_size=4 [23:55:36]MH_SAM_APDU [23:55:36]CAPDU: 80 17 00 00 [23:55:36]Write to MH i2c: E2 08 00 99 5A 80 17 00 00 00 00 00 00 73 [23:55:36]Write i2c OK [23:55:36]MH_I2C_Read... [23:55:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:36]Read from MH i2c: E2 [23:55:36]MH_I2C_Read... [23:55:36]Read from MH i2c: E2 FD 00 [23:55:36]MH_I2C_Read... [23:55:36]Read from MH i2c: E2 FD 00 99 5A 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 D5 [23:55:36]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:55:37]wFMCommunicate OK [23:55:37]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:37]SAM_PROTO_ProcessDocument remain to read = 517 [23:55:37]wFMCommunicate request_size=4 [23:55:37]MH_SAM_APDU [23:55:37]CAPDU: 80 17 00 00 [23:55:37]Write to MH i2c: E2 08 00 9A 5A 80 17 00 00 00 00 00 00 74 [23:55:37]Write i2c OK [23:55:37]MH_I2C_Read... [23:55:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:37]Read from MH i2c: E2 [23:55:37]MH_I2C_Read... [23:55:37]Read from MH i2c: E2 FD 00 [23:55:37]MH_I2C_Read... [23:55:37]Read from MH i2c: E2 FD 00 9A 5A 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 FE [23:55:37]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [23:55:37]wFMCommunicate OK [23:55:37]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:37]SAM_PROTO_ProcessDocument remain to read = 267 [23:55:37]wFMCommunicate request_size=4 [23:55:37]MH_SAM_APDU [23:55:37]CAPDU: 80 17 00 00 [23:55:37]Write to MH i2c: E2 08 00 9B 5A 80 17 00 00 00 00 00 00 75 [23:55:37]Write i2c OK [23:55:37]MH_I2C_Read... [23:55:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:37]Read from MH i2c: E2 [23:55:37]MH_I2C_Read... [23:55:37]Read from MH i2c: E2 FD 00 [23:55:37]MH_I2C_Read... [23:55:37]Read from MH i2c: E2 FD 00 9B 5A 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 3D [23:55:38]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:55:38]wFMCommunicate OK [23:55:38]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:38]SAM_PROTO_ProcessDocument remain to read = 17 [23:55:38]wFMCommunicate request_size=4 [23:55:38]MH_SAM_APDU [23:55:38]CAPDU: 80 17 00 00 [23:55:38]Write to MH i2c: E2 08 00 9C 5A 80 17 00 00 00 00 00 00 76 [23:55:38]Write i2c OK [23:55:38]MH_I2C_Read... [23:55:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [23:55:38]Read from MH i2c: E2 [23:55:38]MH_I2C_Read... [23:55:38]Read from MH i2c: E2 14 00 [23:55:38]MH_I2C_Read... [23:55:38]Read from MH i2c: E2 14 00 9C 5A 00 01 00 06 F7 03 00 00 35 04 06 00 50 6E 97 6F 92 B3 90 00 C4 [23:55:38]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 50 6E 97 6F 92 B3 90 00 [23:55:38]wFMCommunicate OK [23:55:38]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [23:55:38]SAM_PROTO_ProcessDocument done [23:55:38]1209 (1) - 1.0 - номер версии ФФД [23:55:38]1041 (16) - 0000000002342820 - номер ФМ [23:55:38]1040 (4) - 2618 - номер ФД [23:55:38]1038 (4) - 23 - номер смены [23:55:38]1118 (4) - 78 - количество кассовых чеков за смену [23:55:38]1111 (4) - 80 - общее количество ФД за смену [23:55:38]1194 (1194) - счетчики итогов смены [23:55:38] 1134 (4) - 78 - количество чеков со всеми признаками расчетов [23:55:38] 1129 (155) - счетчики операций «приход» [23:55:38] 1135 (4) - 78 - количество чеков по признаку расчетов [23:55:38] 1201 (3) - 29188.39 - общая итоговая сумма в чеках [23:55:38] 1136 (3) - 22487.00 - итоговая сумма в чеках наличными [23:55:38] 1138 (3) - 6701.39 - итоговая сумма в чеках безналичными [23:55:38] 1024 (122) - суммы налогов [23:55:38] 1006 (9) - суммы НДС [23:55:38] 1010 (1) - 0% - код ставки НДС [23:55:38] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:38] 1006 (12) - суммы НДС [23:55:38] 1010 (1) - 12% - код ставки НДС [23:55:38] 1011 (3) - 3099.53 - сумма НДС по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 0% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (11) - суммы НСП [23:55:38] 1014 (1) - 1% - код ставки НСП [23:55:38] 1015 (2) - 258.23 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 2% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 3% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 5% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 0,50% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 1,50% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1130 (141) - счетчики операций «возврат прихода» [23:55:38] 1135 (4) - 0 - количество чеков по признаку расчетов [23:55:38] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:55:38] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:55:38] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:55:38] 1024 (117) - суммы налогов [23:55:38] 1006 (9) - суммы НДС [23:55:38] 1010 (1) - 0% - код ставки НДС [23:55:38] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:38] 1006 (9) - суммы НДС [23:55:38] 1010 (1) - 12% - код ставки НДС [23:55:38] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 0% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 1% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 2% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 3% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 5% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 0,50% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 1,50% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1131 (141) - счетчики операций «расход» [23:55:38] 1135 (4) - 0 - количество чеков по признаку расчетов [23:55:38] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:55:38] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:55:38] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:55:38] 1024 (117) - суммы налогов [23:55:38] 1006 (9) - суммы НДС [23:55:38] 1010 (1) - 0% - код ставки НДС [23:55:38] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:38] 1006 (9) - суммы НДС [23:55:38] 1010 (1) - 12% - код ставки НДС [23:55:38] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 0% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 1% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 2% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 3% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 5% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 0,50% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 1,50% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1132 (141) - счетчики операций «возврат расхода» [23:55:38] 1135 (4) - 0 - количество чеков по признаку расчетов [23:55:38] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:55:38] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:55:38] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:55:38] 1024 (117) - суммы налогов [23:55:38] 1006 (9) - суммы НДС [23:55:38] 1010 (1) - 0% - код ставки НДС [23:55:38] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:38] 1006 (9) - суммы НДС [23:55:38] 1010 (1) - 12% - код ставки НДС [23:55:38] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 0% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 1% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 2% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 3% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 5% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 0,50% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1007 (9) - суммы НСП [23:55:38] 1014 (1) - 1,50% - код ставки НСП [23:55:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:38] 1133 (588) - - счетчики коррекции - не используются [23:55:38]1077 (6) - 88435917296307 - ФПД [23:55:38]SetTLVBufToDocument [23:55:38]Processing tag 1209 (04B9) [23:55:38]Malloc new data [23:55:38]Processing tag 1041 (0411) [23:55:38]Processing tag 1040 (0410) [23:55:38]Malloc new data [23:55:38]Processing tag 1038 (040E) [23:55:38]Malloc new data [23:55:38]Processing tag 1118 (045E) [23:55:38]Malloc new data [23:55:38]Processing tag 1111 (0457) [23:55:38]Malloc new data [23:55:38]Processing tag 1194 (04AA) [23:55:38]Load OK [23:55:38]SetTLVBufToDocument [23:55:38]Processing tag 1134 (046E) [23:55:38]Malloc new data [23:55:38]Processing tag 1129 (0469) [23:55:38]Load OK [23:55:38]SetTLVBufToDocument [23:55:38]Processing tag 1135 (046F) [23:55:38]Malloc new data [23:55:38]Processing tag 1201 (04B1) [23:55:38]Malloc new data [23:55:38]Processing tag 1136 (0470) [23:55:38]Malloc new data [23:55:38]Processing tag 1138 (0472) [23:55:38]Malloc new data [23:55:38]Processing tag 1024 (0400) [23:55:38]Load OK [23:55:38]SetTLVBufToDocument [23:55:38]Processing tag 1006 (03EE) [23:55:38]Load OK [23:55:38]SetTLVBufToDocument [23:55:38]Processing tag 1010 (03F2) [23:55:38]Malloc new data [23:55:38]Processing tag 1011 (03F3) [23:55:38]Malloc new data [23:55:38]SetTLVBufToDocument err=0 [23:55:38]Processing tag 1006 (03EE) [23:55:38]Load OK [23:55:38]SetTLVBufToDocument [23:55:38]Processing tag 1010 (03F2) [23:55:38]Malloc new data [23:55:38]Processing tag 1011 (03F3) [23:55:38]Malloc new data [23:55:38]SetTLVBufToDocument err=0 [23:55:38]Processing tag 1007 (03EF) [23:55:38]Load OK [23:55:38]SetTLVBufToDocument [23:55:38]Processing tag 1014 (03F6) [23:55:38]Malloc new data [23:55:38]Processing tag 1015 (03F7) [23:55:38]Malloc new data [23:55:38]SetTLVBufToDocument err=0 [23:55:38]Processing tag 1007 (03EF) [23:55:38]Load OK [23:55:38]SetTLVBufToDocument [23:55:38]Processing tag 1014 (03F6) [23:55:38]Malloc new data [23:55:38]Processing tag 1015 (03F7) [23:55:38]Malloc new data [23:55:38]SetTLVBufToDocument err=0 [23:55:38]Processing tag 1007 (03EF) [23:55:38]Load OK [23:55:38]SetTLVBufToDocument [23:55:38]Processing tag 1014 (03F6) [23:55:38]Malloc new data [23:55:38]Processing tag 1015 (03F7) [23:55:38]Malloc new data [23:55:38]SetTLVBufToDocument err=0 [23:55:38]Processing tag 1007 (03EF) [23:55:38]Load OK [23:55:38]SetTLVBufToDocument [23:55:38]Processing tag 1014 (03F6) [23:55:38]Malloc new data [23:55:38]Processing tag 1015 (03F7) [23:55:38]Malloc new data [23:55:38]SetTLVBufToDocument err=0 [23:55:38]Processing tag 1007 (03EF) [23:55:38]Load OK [23:55:38]SetTLVBufToDocument [23:55:38]Processing tag 1014 (03F6) [23:55:38]Malloc new data [23:55:38]Processing tag 1015 (03F7) [23:55:38]Malloc new data [23:55:38]SetTLVBufToDocument err=0 [23:55:38]Processing tag 1007 (03EF) [23:55:38]Load OK [23:55:38]SetTLVBufToDocument [23:55:38]Processing tag 1014 (03F6) [23:55:38]Malloc new data [23:55:38]Processing tag 1015 (03F7) [23:55:38]Malloc new data [23:55:38]SetTLVBufToDocument err=0 [23:55:38]Processing tag 1007 (03EF) [23:55:38]Load OK [23:55:38]SetTLVBufToDocument [23:55:38]Processing tag 1014 (03F6) [23:55:38]Malloc new data [23:55:38]Processing tag 1015 (03F7) [23:55:38]Malloc new data [23:55:38]SetTLVBufToDocument err=0 [23:55:38]SetTLVBufToDocument err=0 [23:55:38]SetTLVBufToDocument err=0 [23:55:38]Processing tag 1130 (046A) [23:55:38]Load OK [23:55:38]SetTLVBufToDocument [23:55:38]Processing tag 1135 (046F) [23:55:38]Malloc new data [23:55:38]Processing tag 1201 (04B1) [23:55:38]Malloc new data [23:55:38]Processing tag 1136 (0470) [23:55:38]Malloc new data [23:55:38]Processing tag 1138 (0472) [23:55:38]Malloc new data [23:55:38]Processing tag 1024 (0400) [23:55:38]Load OK [23:55:38]SetTLVBufToDocument [23:55:38]Processing tag 1006 (03EE) [23:55:38]Load OK [23:55:38]SetTLVBufToDocument [23:55:39]Processing tag 1010 (03F2) [23:55:39]Malloc new data [23:55:39]Processing tag 1011 (03F3) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1006 (03EE) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1010 (03F2) [23:55:39]Malloc new data [23:55:39]Processing tag 1011 (03F3) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]SetTLVBufToDocument err=0 [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1131 (046B) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1135 (046F) [23:55:39]Malloc new data [23:55:39]Processing tag 1201 (04B1) [23:55:39]Malloc new data [23:55:39]Processing tag 1136 (0470) [23:55:39]Malloc new data [23:55:39]Processing tag 1138 (0472) [23:55:39]Malloc new data [23:55:39]Processing tag 1024 (0400) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1006 (03EE) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1010 (03F2) [23:55:39]Malloc new data [23:55:39]Processing tag 1011 (03F3) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1006 (03EE) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1010 (03F2) [23:55:39]Malloc new data [23:55:39]Processing tag 1011 (03F3) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]SetTLVBufToDocument err=0 [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1132 (046C) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1135 (046F) [23:55:39]Malloc new data [23:55:39]Processing tag 1201 (04B1) [23:55:39]Malloc new data [23:55:39]Processing tag 1136 (0470) [23:55:39]Malloc new data [23:55:39]Processing tag 1138 (0472) [23:55:39]Malloc new data [23:55:39]Processing tag 1024 (0400) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1006 (03EE) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1010 (03F2) [23:55:39]Malloc new data [23:55:39]Processing tag 1011 (03F3) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1006 (03EE) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1010 (03F2) [23:55:39]Malloc new data [23:55:39]Processing tag 1011 (03F3) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1007 (03EF) [23:55:39]Load OK [23:55:39]SetTLVBufToDocument [23:55:39]Processing tag 1014 (03F6) [23:55:39]Malloc new data [23:55:39]Processing tag 1015 (03F7) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]SetTLVBufToDocument err=0 [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1133 (046D) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Processing tag 1077 (0435) [23:55:39]Malloc new data [23:55:39]SetTLVBufToDocument err=0 [23:55:39]Malloc new data [23:55:39]SAM_PROTO_GetFMData [23:55:39]wFMCommunicate request_size=4 [23:55:39]MH_SAM_APDU [23:55:39]CAPDU: 80 13 03 00 [23:55:39]Write to MH i2c: E2 08 00 9D 5A 80 13 03 00 00 00 00 00 76 [23:55:39]Write i2c OK [23:55:39]MH_I2C_Read... [23:55:39]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:55:39]Read from MH i2c: E2 [23:55:39]MH_I2C_Read... [23:55:39]Read from MH i2c: E2 FD 00 [23:55:39]MH_I2C_Read... [23:55:39]Read from MH i2c: E2 FD 00 9D 5A 00 BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 0F [23:55:40]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [23:55:40]wFMCommunicate OK [23:55:40]wFMCommunicate request_size=4 [23:55:40]MH_SAM_APDU [23:55:40]CAPDU: 80 17 00 00 [23:55:40]Write to MH i2c: E2 08 00 9E 5A 80 17 00 00 00 00 00 00 78 [23:55:40]Write i2c OK [23:55:40]MH_I2C_Read... [23:55:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:40]Read from MH i2c: E2 [23:55:40]MH_I2C_Read... [23:55:40]Read from MH i2c: E2 FD 00 [23:55:40]MH_I2C_Read... [23:55:40]Read from MH i2c: E2 FD 00 9E 5A 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 8D [23:55:40]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF OFD Sender: No OFD packet to send [23:55:40]03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [23:55:40]wFMCommunicate OK [23:55:40]wFMCommunicate request_size=4 [23:55:40]MH_SAM_APDU [23:55:40]CAPDU: 80 17 00 00 [23:55:40]Write to MH i2c: E2 08 00 9F 5A 80 17 00 00 00 00 00 00 79 [23:55:40]Write i2c OK [23:55:40]MH_I2C_Read... [23:55:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:41]Read from MH i2c: E2 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 FD 00 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 FD 00 9F 5A 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 AB [23:55:41]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [23:55:41]wFMCommunicate OK [23:55:41]wFMCommunicate request_size=4 [23:55:41]MH_SAM_APDU [23:55:41]CAPDU: 80 17 00 00 [23:55:41]Write to MH i2c: E2 08 00 A0 5A 80 17 00 00 00 00 00 00 7A [23:55:41]Write i2c OK [23:55:41]MH_I2C_Read... [23:55:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:41]Read from MH i2c: E2 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 FD 00 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 FD 00 A0 5A 00 04 F7 03 00 00 EF 03 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 90 00 F5 [23:55:41]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [23:55:42]wFMCommunicate OK [23:55:42]wFMCommunicate request_size=4 [23:55:42]MH_SAM_APDU [23:55:42]CAPDU: 80 17 00 00 [23:55:42]Write to MH i2c: E2 08 00 A1 5A 80 17 00 00 00 00 00 00 7B [23:55:42]Write i2c OK [23:55:42]MH_I2C_Read... [23:55:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [23:55:42]Read from MH i2c: E2 [23:55:42]MH_I2C_Read... [23:55:42]Read from MH i2c: E2 DB 00 [23:55:42]MH_I2C_Read... [23:55:42]Read from MH i2c: E2 DB 00 A1 5A 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 5D [23:55:42]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:42]wFMCommunicate OK [23:55:42]SAM_PROTO_GetFMData done [23:55:42]Malloc new data [23:55:42]Malloc new data [23:55:42]Malloc new data [23:55:42]Malloc new data [23:55:42]KKMLoadAndSignCloseShiftData err=0 [23:55:42]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Эргешова А. 19.10.2024 23:55 Смена: 23 РНМ: 0000000000207295 ЗНМ: 0300000191 СНО: Общий режим Чеков за смену: 78 ФД за смену: 80 Всего чеков: 78 ИТОГИ ПРИХОД Чеков: 78 Общий итог: 29188.39 Итого наличными: 22487.00 Итого безнал.: 6701.39 НДС 0% : 0.00 НДС 12% : 3099.53 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 258.23 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 22487.00 НС Приход: 849362.58 НС Возвр.Прихода: 1286.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 2618 ФМ: 0000000002342820 ФПД: 88435917296307 [23:55:42]StoreToDocumentArchive [23:55:42]shift 23 fd 2618 [23:55:42]save to /storage/0023/doc_00002618 [23:55:42]save last doc name /storage/0023/doc_00002618 to /storage/kkm_last_doc_name [23:55:42]save OK [23:55:42]Clear old archive folders... [23:55:42]Remove dir /storage/0010 [23:55:42]opendir ok [23:55:42]file . [23:55:42]file .. [23:55:42]file doc_1729382101 [23:55:42]remove file /storage/0010/doc_1729382101 [23:55:42]remove dir /storage/0010 [23:55:42]NVStorageSaveData kkm_registers [23:55:42]File name is /storage/kkm_registers [23:55:42]Write 24 bytes [23:55:42]NVStorageSaveData done [23:55:42]NVStorageSaveData kkm_registers [23:55:42]File name is /storage/kkm_registers [23:55:42]Write 24 bytes [23:55:42]NVStorageSaveData done [23:55:42]ProcessDocumentItem done err = 0, tmpTLVsize=1379 [23:55:42]tlvbuf is 015732F0 [23:55:42]SAM_PROTO_ClearQueue [23:55:42]wFMCommunicate request_size=4 [23:55:42]MH_SAM_APDU [23:55:42]CAPDU: 80 09 00 00 [23:55:42]Write to MH i2c: E2 08 00 A2 5A 80 09 00 00 00 00 00 00 6E [23:55:42]Write i2c OK [23:55:42]MH_I2C_Read... [23:55:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:55:42]Read from MH i2c: E2 [23:55:42]MH_I2C_Read... [23:55:42]Read from MH i2c: E2 03 00 [23:55:42]MH_I2C_Read... [23:55:42]Read from MH i2c: E2 03 00 A2 5A 00 90 00 70 [23:55:42]RAPDU: 90 00 [23:55:42]wFMCommunicate OK [23:55:42]SAM_PROTO_ClearQueue done [23:55:42]KKMCreateOFDPacket [23:55:42]OFDProtocolAddRootSTLVToBuf [23:55:42]FM_MakeSignedData [23:55:42]FM_MakeSignedData [23:55:42]SAM_PROTO_SignData [23:55:42]wFMCommunicate request_size=4 [23:55:42]MH_SAM_APDU [23:55:42]CAPDU: 80 0D 01 02 [23:55:42]Write to MH i2c: E2 08 00 A3 5A 80 0D 01 02 00 00 00 00 76 [23:55:42]Write i2c OK [23:55:42]MH_I2C_Read... [23:55:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:55:42]Read from MH i2c: E2 [23:55:42]MH_I2C_Read... [23:55:42]Read from MH i2c: E2 03 00 [23:55:42]MH_I2C_Read... [23:55:42]Read from MH i2c: E2 03 00 A3 5A 00 90 00 71 [23:55:42]RAPDU: 90 00 [23:55:42]wFMCommunicate OK [23:55:42]wFMCommunicate request_size=255 [23:55:42]MH_SAM_APDU [23:55:42]CAPDU: 80 0D 02 02 FA 05 00 63 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 AD D1 80 D0 B3 D0 B5 D1 88 D0 BE D0 B2 D0 B0 20 D0 90 2E 20 F4 03 04 00 02 47 14 67 0E 04 04 00 17 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 D5 04 6E 04 04 00 4E 00 00 00 69 04 A2 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 [23:55:42]Write to MH i2c: E2 02 01 A4 5A 80 0D 02 02 FA 00 05 00 63 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 AD D1 80 D0 B3 D0 B5 D1 88 D0 BE D0 B2 D0 B0 20 D0 90 2E 20 F4 03 04 00 02 47 14 67 0E 04 04 00 17 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 D5 04 6E 04 04 00 4E 00 00 00 69 04 A2 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 00 00 D2 [23:55:43]Write i2c OK [23:55:43]MH_I2C_Read... [23:55:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:43]Read from MH i2c: E2 [23:55:43]MH_I2C_Read... [23:55:43]Read from MH i2c: E2 03 00 [23:55:43]MH_I2C_Read... [23:55:43]Read from MH i2c: E2 03 00 A4 5A 00 90 00 72 [23:55:43]RAPDU: 90 00 [23:55:43]wFMCommunicate OK [23:55:43]wFMCommunicate request_size=255 [23:55:43]MH_SAM_APDU [23:55:43]CAPDU: 80 0D 02 02 FA 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DF 64 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 [23:55:43]Write to MH i2c: E2 02 01 A5 5A 80 0D 02 02 FA 00 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DF 64 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 00 00 1E [23:55:43]Write i2c OK [23:55:43]MH_I2C_Read... [23:55:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:44]Read from MH i2c: E2 [23:55:44]MH_I2C_Read... [23:55:44]Read from MH i2c: E2 03 00 [23:55:44]MH_I2C_Read... [23:55:44]Read from MH i2c: E2 03 00 A5 5A 00 90 00 73 [23:55:44]RAPDU: 90 00 [23:55:44]wFMCommunicate OK [23:55:44]wFMCommunicate request_size=255 [23:55:44]MH_SAM_APDU [23:55:44]CAPDU: 80 0D 02 02 FA 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 [23:55:44]Write to MH i2c: E2 02 01 A6 5A 80 0D 02 02 FA 00 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 00 00 49 [23:55:44]Write i2c OK [23:55:44]MH_I2C_Read... [23:55:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:44]Read from MH i2c: E2 [23:55:44]MH_I2C_Read... [23:55:44]Read from MH i2c: E2 03 00 [23:55:44]MH_I2C_Read... [23:55:44]Read from MH i2c: E2 03 00 A6 5A 00 90 00 74 [23:55:44]RAPDU: 90 00 [23:55:44]wFMCommunicate OK [23:55:44]wFMCommunicate request_size=255 [23:55:44]MH_SAM_APDU [23:55:44]CAPDU: 80 0D 02 02 FA 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 [23:55:44]Write to MH i2c: E2 02 01 A7 5A 80 0D 02 02 FA 00 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 00 00 3E [23:55:45]Write i2c OK [23:55:45]MH_I2C_Read... [23:55:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:45]Read from MH i2c: E2 [23:55:45]MH_I2C_Read... [23:55:45]Read from MH i2c: E2 03 00 [23:55:45]MH_I2C_Read... [23:55:45]Read from MH i2c: E2 03 00 A7 5A 00 90 00 75 [23:55:45]RAPDU: 90 00 [23:55:45]wFMCommunicate OK [23:55:45]wFMCommunicate request_size=255 [23:55:45]MH_SAM_APDU [23:55:45]CAPDU: 80 0D 02 02 FA 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 [23:55:45]Write to MH i2c: E2 02 01 A8 5A 80 0D 02 02 FA 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 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 00 00 0F [23:55:45]Write i2c OK [23:55:45]MH_I2C_Read... [23:55:45]OFD Sender: No OFD packet to send [23:55:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:45]Read from MH i2c: E2 [23:55:45]MH_I2C_Read... [23:55:45]Read from MH i2c: E2 03 00 [23:55:45]MH_I2C_Read... [23:55:45]Read from MH i2c: E2 03 00 A8 5A 00 90 00 76 [23:55:45]RAPDU: 90 00 [23:55:46]wFMCommunicate OK [23:55:46]wFMCommunicate request_size=138 [23:55:46]MH_SAM_APDU [23:55:46]CAPDU: 80 0D 02 02 85 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3A 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 35 04 06 00 50 6E 97 6F 92 B3 [23:55:46]Write to MH i2c: E2 8D 00 A9 5A 80 0D 02 02 85 00 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3A 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 35 04 06 00 50 6E 97 6F 92 B3 00 00 F9 [23:55:46]Write i2c OK [23:55:46]MH_I2C_Read... [23:55:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:46]Read from MH i2c: E2 [23:55:46]MH_I2C_Read... [23:55:46]Read from MH i2c: E2 03 00 [23:55:46]MH_I2C_Read... [23:55:46]Read from MH i2c: E2 03 00 A9 5A 00 90 00 77 [23:55:46]RAPDU: 90 00 [23:55:46]wFMCommunicate OK [23:55:46]wFMCommunicate request_size=4 [23:55:46]MH_SAM_APDU [23:55:46]CAPDU: 80 0D 03 02 [23:55:46]Write to MH i2c: E2 08 00 AA 5A 80 0D 03 02 00 00 00 00 7F [23:55:46]Write i2c OK [23:55:46]MH_I2C_Read... [23:55:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:55:46]Read from MH i2c: E2 [23:55:46]MH_I2C_Read... [23:55:46]Read from MH i2c: E2 0B 00 [23:55:46]MH_I2C_Read... [23:55:46]Read from MH i2c: E2 0B 00 AA 5A 00 DE 20 7B 88 B2 75 8F FD 90 00 34 [23:55:46]RAPDU: DE 20 7B 88 B2 75 8F FD 90 00 [23:55:46]wFMCommunicate OK [23:55:46]SAM_PROTO_SignData done [23:55:46]FM_MakeSignedData done [23:55:46]CreateOFDProtocolMessage [23:55:46]wFMCommunicate request_size=4 [23:55:46]MH_SAM_APDU [23:55:46]CAPDU: 80 11 00 00 [23:55:46]Write to MH i2c: E2 08 00 AB 5A 80 11 00 00 00 00 00 00 7F [23:55:46]Write i2c OK [23:55:46]MH_I2C_Read... [23:55:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:46]Read from MH i2c: E2 [23:55:46]MH_I2C_Read... [23:55:46]Read from MH i2c: E2 17 00 [23:55:46]MH_I2C_Read... [23:55:46]Read from MH i2c: E2 17 00 AB 5A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C7 [23:55:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [23:55:46]wFMCommunicate OK [23:55:46]CreateOFDProtocolMessage done [23:55:46]OFDSenderStorePacket 2618 [23:55:46]StoreOFDPacket docnum=2618 [23:55:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 77 05 00 00 45 2C 6F 05 45 92 5A 05 01 00 05 00 63 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 AD D1 80 D0 B3 D0 B5 D1 88 D0 BE D0 B2 D0 B0 20 D0 90 2E 20 F4 03 04 00 02 47 14 67 0E 04 04 00 17 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 D5 04 6E 04 04 00 4E 00 00 00 69 04 A2 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 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 3A 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 35 04 06 00 50 6E 97 6F 92 B3 DE 20 7B 88 B2 75 8F FD [23:55:46]CheckFolder [23:55:46]dirname=/storage/ofd_packets [23:55:46]CheckFolder done [23:55:46]ProducePacketName [23:55:46]name=ofd_packets/00002618 [23:55:46]NVStorageSaveData ofd_packets/00002618 [23:55:46]File name is /storage/ofd_packets/00002618 [23:55:46]Write 1429 bytes [23:55:46]NVStorageSaveData done [23:55:46]OFDSenderStorePacket done [23:55:46]KKMCreateOFDPacket done [23:55:46]NVStorageSaveData kkm_last_timestamp [23:55:46]File name is /storage/kkm_last_timestamp [23:55:46]Write 4 bytes [23:55:46]NVStorageSaveData done [23:55:46]ExternCall_PrintAddStr [23:55:46]wPrintStart [23:55:46]Write to MH i2c: 01 00 00 AC 5A 06 [23:55:46]Write i2c OK [23:55:46]MH_I2C_Read... [23:55:46]Read from MH i2c: 01 [23:55:46]MH_I2C_Read... [23:55:46]Read from MH i2c: 01 07 00 [23:55:46]MH_I2C_Read... [23:55:46]Read from MH i2c: 01 07 00 AC 5A 00 00 00 00 00 FF 0F 1B [23:55:46]RasterBufferAndPrint [23:55:46]line Отчет о закрытии смены [23:55:46]line ФФД: 1.0 [23:55:46]line ИНН: 02508201610067 [23:55:46]line Кассир: Эргешова А. [23:55:46]line 19.10.2024 23:55 [23:55:46]line Смена: 23 [23:55:46]line РНМ: 0000000000207295 [23:55:46]line ЗНМ: 0300000191 [23:55:46]line СНО: Общий режим [23:55:46]line Чеков за смену: 78 [23:55:46]line ФД за смену: 80 [23:55:46]line Всего чеков: 78 [23:55:46]line ИТОГИ ПРИХОД [23:55:46]line Чеков: 78 [23:55:46]line Общий итог: 29188.39 [23:55:46]line Итого наличными: 22487.00 [23:55:46]line Итого безнал.: 6701.39 [23:55:46]line НДС 0% : 0.00 [23:55:46]line НДС 12% : 3099.53 [23:55:46]line НСП 0% : 0.00 [23:55:46]line НСП 1,50% : 0.00 [23:55:46]line НСП 0,50% : 0.00 [23:55:46]line НСП 5% : 0.00 [23:55:46]line НСП 3% : 0.00 [23:55:46]line НСП 2% : 0.00 [23:55:46]line НСП 1% : 258.23 [23:55:46]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:55:46]line Чеков: 0 [23:55:46]line Общий итог: 0.00 [23:55:46]line Итого наличными: 0.00 [23:55:46]line Итого безнал.: 0.00 [23:55:46]line НДС 0% : 0.00 [23:55:46]line НДС 12% : 0.00 [23:55:46]line НСП 0% : 0.00 [23:55:46]line НСП 1,50% : 0.00 [23:55:46]OFD Sender: Processing packet 2618 [packets to send 1, broken 0] [23:55:46]ProducePacketName [23:55:46]name=ofd_packets/00002618 [23:55:46]OFD Sender: To server: pG, [23:55:46]CommunicateWithHost lk.salyk.kg:30040 [23:55:46]ConnectInit lk.salyk.kg [23:55:46]line НСП 0,50% : 0.00 [23:55:46]line НСП 5% : 0.00 [23:55:46]line НСП 3% : 0.00 [23:55:46]line НСП 2% : 0.00 [23:55:46]line НСП 1% : 0.00 [23:55:46]line ИТОГИ РАСХОД [23:55:46]line Чеков: 0 [23:55:46]line Общий итог: 0.00 [23:55:46]line Итого наличными: 0.00 [23:55:46]line Итого безнал.: 0.00 [23:55:46]line НДС 0% : 0.00 [23:55:46]line НДС 12% : 0.00 [23:55:46]line НСП 0% : 0.00 [23:55:47]line НСП 1,50% : 0.00 [23:55:47]line НСП 0,50% : 0.00 [23:55:47]line НСП 5% : 0.00 [23:55:47]line НСП 3% : 0.00 [23:55:47]line НСП 2% : 0.00 [23:55:47]line НСП 1% : 0.00 [23:55:47]line ИТОГИ ВОЗВРАТ РАСХОДА [23:55:47]line Чеков: 0 [23:55:47]line Общий итог: 0.00 [23:55:47]line Итого наличными: 0.00 [23:55:47]line Итого безнал.: 0.00 [23:55:47]line НДС 0% : 0.00 [23:55:47]line НДС 12% : 0.00 [23:55:47]line НСП 0% : 0.00 [23:55:47]line НСП 1,50% : 0.00 [23:55:47]line НСП 0,50% : 0.00 [23:55:47]line НСП 5% : 0.00 [23:55:47]line НСП 3% : 0.00 [23:55:47]line НСП 2% : 0.00 [23:55:47]line НСП 1% : 0.00 [23:55:47]line Сумма внесений: 0.00 [23:55:47]line Сумма выплат: 0.00 [23:55:47]line Нал. в кассе: 22487.00 [23:55:47]line НС Приход: 849362.58 [23:55:47]line НС Возвр.Прихода: 1286.00 [23:55:47]line НС Расход: 0.00 [23:55:47]line НС Возвр.Расхода: 0.00 [23:55:47]line ФД: 2618 [23:55:47]line ФМ: 0000000002342820 [23:55:47]line ФПД: 88435917296307 [23:55:47]written 0, free lines is 4095 [23:55:47]Connected sock=10 [23:55:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 77 05 00 00 45 2C 6F 05 45 92 5A 05 01 00 05 00 63 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 AD D1 80 D0 B3 D0 B5 D1 88 D0 BE D0 B2 D0 B0 20 D0 90 2E 20 F4 03 04 00 02 47 14 67 0E 04 04 00 17 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 D5 04 6E 04 04 00 4E 00 00 00 69 04 A2 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 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 Write to MH i2c: 03 01 01 00 00 00 06 FC F7 5A 03 56 00 [23:55:48]00 Write i2c OK [23:55:48]D0 MH_I2C_Read... [23:55:48]04 Read from MH i2c: 8D 01 00 [23:55:48]6F MH_I2C_Read... [23:55:48]04 04 00 00 00 00 00 B1 04 00 00 70 Read from MH i2c: 04 01 00 07 00 00 72 [23:55:48]04 MH_I2C_Read... [23:55:48]00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 Read from MH i2c: F7 01 03 07 00 00 00 FC EF 5A 03 00 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 00 00 F6 00 03 00 01 02 00 0C 04 6B F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 [23:55:48]03 RasterBufferAndPrint [23:55:48]00 line [23:55:48]00 line [23:55:48]EF line [23:55:48]03 line [23:55:48]09 line [23:55:48]00 F6 written 0, free lines is 3350 [23:55:48]03 01 00 06 F7 03 00 00 7A 04 8D 00 6F MH_Cut [23:55:48]04 Write to MH i2c: 04 D1 00 01 00 03 5B 01 30 [23:55:48]00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 Write i2c OK [23:55:48]00 MH_I2C_Read... [23:55:48]72 Read from MH i2c: 04 D1 00 [23:55:48]00 MH_I2C_Read... [23:55:48]00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 Read from MH i2c: 00 D1 EE 01 03 00 09 [23:55:48]00 MH_I2C_Read... [23:55:48]F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3A 0A 00 00 11 Read from MH i2c: 04 D1 10 01 00 00 30 03 5B 00 2F [23:55:48]Write to MH i2c: 01 00 00 04 5B 5F [23:55:48]30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 35 04 06 00 50 6E 97 6F 92 B3 DE 20 7B 88 B2 75 8F FD [23:55:48]Write i2c OK [23:55:48]MH_I2C_Read... [23:55:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 90 25 47 00 FF 20 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 *** Cut start [23:55:49]31 32 *** Partial cut [23:55:49]33 *** CUTSNS_PIN = 1 [23:55:49]34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3A 0A 00 00 F4 03 04 00 6E F2 13 67 B6 04 01 00 00 D8 *** CUTSNS_PIN = 0 [23:55:49]F5 7C CA 61 ED 82 5A [23:55:49]CommunicateWithHost err = 0 [23:55:49]CheckOFDResponse [23:55:49]1017 (14) - 77093643461234 [23:55:49]1041 (16) - 0000000002342820 [23:55:49]1040 (4) - 2618 [23:55:49]1012 (4) - 19.10.2024 17:54 [23:55:49]1206 (1) - 0 [23:55:49]OFD Sender: Remove packet 2618 [23:55:49]ProducePacketName [23:55:49]name=ofd_packets/00002618 [23:55:49]NVStorageDeleteData [23:55:49]*** Brake cut motor [23:55:49]OFD Sender: No OFD packet to send [23:55:49]Read from MH i2c: 01 [23:55:49]MH_I2C_Read... [23:55:49]*** Stop cut motor [23:55:49]*** Cut end [23:55:49]Read from MH i2c: 01 07 00 [23:55:49]MH_I2C_Read... [23:55:49]Read from MH i2c: 01 07 00 04 5B 00 00 00 00 00 FF 0F 74 [23:55:49]process_action close_shift done [23:55:49]requested_data is exist [23:55:49]produce_requested_data [23:55:49]requested_item fd.num is exist - process it [23:55:49]SAM_PROTO_GetFieldsCounters [23:55:49]wFMCommunicate request_size=4 [23:55:49]MH_SAM_APDU [23:55:49]CAPDU: 80 13 00 00 [23:55:49]Write to MH i2c: E2 08 00 05 5B 80 13 00 00 00 00 00 00 DC [23:55:49]Write i2c OK [23:55:49]MH_I2C_Read... [23:55:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:55:49]Read from MH i2c: E2 [23:55:49]MH_I2C_Read... [23:55:49]Read from MH i2c: E2 62 00 [23:55:49]MH_I2C_Read... [23:55:49]Read from MH i2c: E2 62 00 05 5B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3A 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 38 [23:55:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3A 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:55:50]wFMCommunicate OK [23:55:50]SAM_PROTO_GetFieldsCounters done [23:55:50]requested_item shift.num is exist - process it [23:55:50]requested_item shift.opened is exist - process it [23:55:50]req_shift_opened [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 06 5B 80 13 01 00 00 00 00 00 DE [23:55:50]Write i2c OK [23:55:50]MH_I2C_Read... [23:55:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:50]Read from MH i2c: E2 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: E2 0E 00 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: E2 0E 00 06 5B 00 09 00 00 00 00 00 00 00 00 00 00 90 00 E9 [23:55:50]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:55:50]wFMCommunicate OK [23:55:50]SAM_PROTO_GetShiftState done [23:55:50]FM_GetShiftState done [23:55:50]req_shift_opened done [23:55:50]requested_item shift.open_date is exist - process it [23:55:50]req_shift_open_date [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 07 5B 80 13 01 00 00 00 00 00 DF [23:55:50]Write i2c OK [23:55:50]MH_I2C_Read... [23:55:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:50]Read from MH i2c: E2 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: E2 0E 00 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: E2 0E 00 07 5B 00 09 00 00 00 00 00 00 00 00 00 00 90 00 EA [23:55:50]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:55:50]wFMCommunicate OK [23:55:50]SAM_PROTO_GetShiftState done [23:55:50]FM_GetShiftState done [23:55:50]req_shift_open_date done [23:55:50]produce_requested_data done [23:55:50]produce_requested_data return {"fd.num":2618,"shift.num":23,"shift.opened":0,"shift.open_date":0} [23:55:50]process_action_free close_shift [23:55:50]json_value_free [23:55:50]json_value_free done [23:55:50]process_json_proto returns [23:55:50]Send response to host [23:55:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":2618,"shift.num":23,"shift.opened":0,"shift.open_date":0}}} [23:55:50]free response buf [23:55:50]execute_script done [23:55:50]execute_script returns [23:55:50]free content buf [23:55:50]Sock 7.Close socket [23:55:50]Sock 7.Thread stoped [23:55:50]int [23:55:50]Write to MH i2c: 01 00 00 08 5B 63 [23:55:50]*** FLAG_PRN_KEY set [23:55:50]Write i2c OK [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: 01 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: 01 07 00 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: 01 07 00 08 5B 00 08 00 00 00 FF 0F 80 [23:55:50]state=0 [23:55:50]Key pressed [23:55:50]Feed [23:55:50]Write to MH i2c: D8 00 00 09 5B 3B [23:55:51]Write i2c OK [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: D8 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: D8 01 00 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: D8 01 00 09 5B 00 3C [23:55:51]int line is 0 - check status [23:55:51]Write to MH i2c: 01 00 00 0A 5B 65 [23:55:51]Write i2c OK [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: 01 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: 01 07 00 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: 01 07 00 0A 5B 00 48 00 00 00 3C 00 F0 [23:55:51]state=2 [23:55:51]Key pressed [23:55:51]int [23:55:51]Write to MH i2c: 01 00 00 0B 5B 66 [23:55:51]Write i2c OK [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: 01 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: 01 07 00 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: 01 07 00 0B 5B 00 48 00 00 00 3C 00 F1 [23:55:51]state=2 [23:55:51]Key pressed [23:55:51]int [23:55:51]Write to MH i2c: 01 00 00 0C 5B 67 [23:55:51]*** FLAG_PRN_KEY reset [23:55:51]Write i2c OK [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: 01 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: 01 07 00 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: 01 07 00 0C 5B 00 00 00 00 00 F8 0F 75 [23:55:51]state=2 [23:55:51]Stop feed [23:55:54]OFD Sender: No OFD packet to send [23:55:59]OFD Sender: No OFD packet to send [23:56:04]OFD Sender: No OFD packet to send [23:56:09]OFD Sender: No OFD packet to send [23:56:14]OFD Sender: No OFD packet to send [23:56:19]OFD Sender: No OFD packet to send [23:56:24]OFD Sender: No OFD packet to send [23:56:29]OFD Sender: No OFD packet to send [23:56:34]OFD Sender: No OFD packet to send [23:56:39]OFD Sender: No OFD packet to send [23:56:44]OFD Sender: No OFD packet to send [23:56:49]OFD Sender: No OFD packet to send [23:56:54]OFD Sender: No OFD packet to send [23:56:59]OFD Sender: No OFD packet to send [23:57:04]OFD Sender: No OFD packet to send [23:57:09]OFD Sender: No OFD packet to send [23:57:14]OFD Sender: No OFD packet to send [23:57:19]OFD Sender: No OFD packet to send [23:57:24]OFD Sender: No OFD packet to send [23:57:29]OFD Sender: No OFD packet to send [23:57:34]OFD Sender: No OFD packet to send [23:57:39]OFD Sender: No OFD packet to send [23:57:44]OFD Sender: No OFD packet to send [23:57:49]OFD Sender: No OFD packet to send [23:57:54]OFD Sender: No OFD packet to send [23:57:59]OFD Sender: No OFD packet to send [23:58:04]OFD Sender: No OFD packet to send [23:58:09]OFD Sender: No OFD packet to send [23:58:14]OFD Sender: No OFD packet to send [23:58:19]OFD Sender: No OFD packet to send [23:58:24]OFD Sender: No OFD packet to send [23:58:29]OFD Sender: No OFD packet to send [23:58:34]OFD Sender: No OFD packet to send [23:58:39]OFD Sender: No OFD packet to send [23:58:44]OFD Sender: No OFD packet to send [23:58:49]OFD Sender: No OFD packet to send [23:58:54]OFD Sender: No OFD packet to send [23:58:59]OFD Sender: No OFD packet to send [23:59:04]OFD Sender: No OFD packet to send [23:59:09]OFD Sender: No OFD packet to send [23:59:14]OFD Sender: No OFD packet to send [23:59:19]OFD Sender: No OFD packet to send [23:59:24]OFD Sender: No OFD packet to send [23:59:29]OFD Sender: No OFD packet to send [23:59:34]OFD Sender: No OFD packet to send [23:59:39]OFD Sender: No OFD packet to send [23:59:44]OFD Sender: No OFD packet to send [23:59:49]OFD Sender: No OFD packet to send [23:59:54]OFD Sender: No OFD packet to send [23:59:59]OFD Sender: No OFD packet to send [00:00:04]OFD Sender: No OFD packet to send [00:00:09]OFD Sender: No OFD packet to send [00:00:11]accept exits with 9 [00:00:11]New connection [00:00:11]New thread 3066850660 created [00:00:11]Thread 3066707300 joined [00:00:11]Waiting for new connection... [00:00:11] Sock 9.Parse request [00:00:11]Sock 9.Check first char [00:00:11]Sock 9.First char is OK [00:00:11]request: POST /json_proto HTTP/1.0 [00:00:11]Method: POST [00:00:11]URL: /json_proto [00:00:11]Method is POST - this is cgi request [00:00:11]url: /json_proto [00:00:11]query_string will be loaded in cgi processing [00:00:11]execute_cgi json_proto POST (null) [00:00:11]execute_cgi path=json_proto method=POST [00:00:11]POST find Content-Length [00:00:11]Host: 172.17.52.132:8080 [00:00:11]Content-Length: 215 [00:00:11]Content-Type: application/json [00:00:11] [00:00:11]POST finish read [00:00:11]Found Content-Length = 215 [00:00:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:11]execute_script... [00:00:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:11]POST & json_proto [00:00:11]process_json_proto [00:00:11]json parsed OK: [00:00:11]protocol is kg_v1.0 [00:00:11]action value=get_value [00:00:11]process_action get_value [00:00:11]cmd_get_value [00:00:11]process_action get_value done [00:00:11]requested_data is exist [00:00:11]produce_requested_data [00:00:11]requested_item kkm.sn is exist - process it [00:00:11]requested_item kkm.ver is exist - process it [00:00:11]requested_item fm.sn is exist - process it [00:00:11]wFMCommunicate request_size=4 [00:00:11]MH_SAM_APDU [00:00:11]CAPDU: 80 11 00 00 [00:00:11]Write to MH i2c: E2 08 00 0D 5B 80 11 00 00 00 00 00 00 E2 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:11]Read from MH i2c: E2 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: E2 17 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: E2 17 00 0D 5B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 2A [00:00:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [00:00:11]wFMCommunicate OK [00:00:11]requested_item fd.num is exist - process it [00:00:11]SAM_PROTO_GetFieldsCounters [00:00:11]wFMCommunicate request_size=4 [00:00:11]MH_SAM_APDU [00:00:11]CAPDU: 80 13 00 00 [00:00:11]Write to MH i2c: E2 08 00 0E 5B 80 13 00 00 00 00 00 00 E5 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:11]Read from MH i2c: E2 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: E2 62 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: E2 62 00 0E 5B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3A 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 41 [00:00:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3A 0A 00 00 0E 04 04 00 17 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:11]wFMCommunicate OK [00:00:11]SAM_PROTO_GetFieldsCounters done [00:00:11]requested_item shift.num is exist - process it [00:00:11]requested_item shift.opened is exist - process it [00:00:11]req_shift_opened [00:00:11]FM_GetShiftState [00:00:11]SAM_PROTO_GetShiftState [00:00:11]wFMCommunicate request_size=4 [00:00:11]MH_SAM_APDU [00:00:11]CAPDU: 80 13 01 00 [00:00:11]Write to MH i2c: E2 08 00 0F 5B 80 13 01 00 00 00 00 00 E7 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:11]Read from MH i2c: E2 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: E2 0E 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: E2 0E 00 0F 5B 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F2 [00:00:11]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:00:11]wFMCommunicate OK [00:00:11]SAM_PROTO_GetShiftState done [00:00:11]FM_GetShiftState done [00:00:11]req_shift_opened done [00:00:11]requested_item shift.open_date is exist - process it [00:00:11]req_shift_open_date [00:00:11]FM_GetShiftState [00:00:11]SAM_PROTO_GetShiftState [00:00:11]wFMCommunicate request_size=4 [00:00:11]MH_SAM_APDU [00:00:11]CAPDU: 80 13 01 00 [00:00:11]Write to MH i2c: E2 08 00 10 5B 80 13 01 00 00 00 00 00 E8 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:11]Read from MH i2c: E2 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: E2 0E 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: E2 0E 00 10 5B 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F3 [00:00:11]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:00:11]wFMCommunicate OK [00:00:11]SAM_PROTO_GetShiftState done [00:00:11]FM_GetShiftState done [00:00:11]req_shift_open_date done [00:00:11]produce_requested_data done [00:00:11]produce_requested_data return {"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2618,"shift.num":23,"shift.opened":0,"shift.open_date":0} [00:00:11]process_action_free get_value [00:00:11]json_value_free [00:00:11]json_value_free done [00:00:11]process_json_proto returns [00:00:11]Send response to host [00:00:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000191","kkm.ver":"v1.0","fm.sn":"0000000002342820","fd.num":2618,"shift.num":23,"shift.opened":0,"shift.open_date":0}}} [00:00:11]free response buf [00:00:11]execute_script done [00:00:11]execute_script returns [00:00:11]free content buf [00:00:11]Sock 9.Close socket [00:00:11]Sock 9.Thread stoped [00:00:11]accept exits with 7 [00:00:11]New connection [00:00:11]New thread 3066707300 created [00:00:11]Thread 3066850660 joined [00:00:11]Waiting for new connection... [00:00:11] Sock 7.Parse request [00:00:11]Sock 7.Check first char [00:00:11]Sock 7.First char is OK [00:00:11]request: POST /json_proto HTTP/1.0 [00:00:11]Method: POST [00:00:11]URL: /json_proto [00:00:11]Method is POST - this is cgi request [00:00:11]url: /json_proto [00:00:11]query_string will be loaded in cgi processing [00:00:11]execute_cgi json_proto POST (null) [00:00:11]execute_cgi path=json_proto method=POST [00:00:11]POST find Content-Length [00:00:11]Host: 172.17.52.132:8080 [00:00:11]Content-Length: 331 [00:00:11]Content-Type: application/json [00:00:11] [00:00:11]POST finish read [00:00:11]Found Content-Length = 331 [00:00: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:00:11]execute_script... [00:00:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:12]POST & json_proto [00:00:12]process_json_proto [00:00:12]json parsed OK: [00:00:12]protocol is kg_v1.0 [00:00:12]action value=get_value [00:00:12]process_action get_value [00:00:12]cmd_get_value [00:00:12]process_action get_value done [00:00:12]requested_data is exist [00:00:12]produce_requested_data [00:00:12]requested_item fm.sale.total is exist - process it [00:00:12]SAM_PROTO_GetFMData [00:00:12]wFMCommunicate request_size=4 [00:00:12]MH_SAM_APDU [00:00:12]CAPDU: 80 13 03 00 [00:00:12]Write to MH i2c: E2 08 00 11 5B 80 13 03 00 00 00 00 00 EB [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:12]Read from MH i2c: E2 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: E2 FD 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: E2 FD 00 11 5B 00 BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 84 [00:00:12]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 [00:00:12]wFMCommunicate OK [00:00:12]wFMCommunicate request_size=4 [00:00:12]MH_SAM_APDU [00:00:12]CAPDU: 80 17 00 00 [00:00:12]Write to MH i2c: E2 08 00 12 5B 80 17 00 00 00 00 00 00 ED [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:12]Read from MH i2c: E2 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: E2 FD 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: E2 FD 00 12 5B 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 02 [00:00:12]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [00:00:12]wFMCommunicate OK [00:00:12]wFMCommunicate request_size=4 [00:00:12]MH_SAM_APDU [00:00:12]CAPDU: 80 17 00 00 [00:00:12]Write to MH i2c: E2 08 00 13 5B 80 17 00 00 00 00 00 00 EE [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:13]Read from MH i2c: E2 [00:00:13]MH_I2C_Read... [00:00:13]Read from MH i2c: E2 FD 00 [00:00:13]MH_I2C_Read... [00:00:13]Read from MH i2c: E2 FD 00 13 5B 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 20 [00:00:13]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:00:13]wFMCommunicate OK [00:00:13]wFMCommunicate request_size=4 [00:00:13]MH_SAM_APDU [00:00:13]CAPDU: 80 17 00 00 [00:00:13]Write to MH i2c: E2 08 00 14 5B 80 17 00 00 00 00 00 00 EF [00:00:13]Write i2c OK [00:00:13]MH_I2C_Read... [00:00:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:13]Read from MH i2c: E2 [00:00:13]MH_I2C_Read... [00:00:13]Read from MH i2c: E2 FD 00 [00:00:13]MH_I2C_Read... [00:00:13]Read from MH i2c: E2 FD 00 14 5B 00 04 F7 03 00 00 EF 03 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 90 00 6A [00:00:13]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:00:13]wFMCommunicate OK [00:00:13]wFMCommunicate request_size=4 [00:00:13]MH_SAM_APDU [00:00:13]CAPDU: 80 17 00 00 [00:00:13]Write to MH i2c: E2 08 00 15 5B 80 17 00 00 00 00 00 00 F0 [00:00:13]Write i2c OK [00:00:13]MH_I2C_Read... [00:00:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:00:13]Read from MH i2c: E2 [00:00:13]MH_I2C_Read... [00:00:13]Read from MH i2c: E2 DB 00 [00:00:13]MH_I2C_Read... [00:00:13]Read from MH i2c: E2 DB 00 15 5B 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D2 [00:00:13]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:00:13]wFMCommunicate OK [00:00:13]SAM_PROTO_GetFMData done [00:00:13]requested_item fm.sale_refund.total is exist - process it [00:00:13]requested_item fm.buy.total is exist - process it [00:00:13]requested_item shift.sale.total is exist - process it [00:00:13]SAM_PROTO_GetShiftData [00:00:13]wFMCommunicate request_size=4 [00:00:13]MH_SAM_APDU [00:00:13]CAPDU: 80 13 02 00 [00:00:13]Write to MH i2c: E2 08 00 16 5B 80 13 02 00 00 00 00 00 EF [00:00:13]Write i2c OK [00:00:13]MH_I2C_Read... [00:00:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:14]Read from MH i2c: E2 [00:00:14]MH_I2C_Read... [00:00:14]Read from MH i2c: E2 FD 00 [00:00:14]MH_I2C_Read... [00:00:14]Read from MH i2c: E2 FD 00 16 5B 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 E5 [00:00:14]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 B7 89 2C 70 04 03 00 FC 4F 22 72 04 03 00 BB 39 0A 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 C1 BA 04 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 DF 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:00:14]wFMCommunicate OK [00:00:14]wFMCommunicate request_size=4 [00:00:14]MH_SAM_APDU [00:00:14]CAPDU: 80 17 00 00 [00:00:14]Write to MH i2c: E2 08 00 17 5B 80 17 00 00 00 00 00 00 F2 [00:00:14]Write i2c OK [00:00:14]MH_I2C_Read... [00:00:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:14]Read from MH i2c: E2 [00:00:14]MH_I2C_Read... [00:00:14]Read from MH i2c: E2 FD 00 [00:00:14]MH_I2C_Read... [00:00:14]Read from MH i2c: E2 FD 00 17 5B 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 14 [00:00: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:00:14]wFMCommunicate OK [00:00:14]wFMCommunicate request_size=4 [00:00:14]MH_SAM_APDU [00:00:14]CAPDU: 80 17 00 00 [00:00:14]Write to MH i2c: E2 08 00 18 5B 80 17 00 00 00 00 00 00 F3 [00:00:14]Write i2c OK [00:00:14]MH_I2C_Read... [00:00:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:14]Read from MH i2c: E2 [00:00:14]MH_I2C_Read... [00:00:14]Read from MH i2c: E2 FD 00 [00:00:14]MH_I2C_Read... [00:00:14]Read from MH i2c: E2 FD 00 18 5B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 AA [00:00: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:00:14]wFMCommunicate OK [00:00:14]wFMCommunicate request_size=4 [00:00:14]MH_SAM_APDU [00:00:14]CAPDU: 80 17 00 00 [00:00:14]Write to MH i2c: E2 08 00 19 5B 80 17 00 00 00 00 00 00 F4 [00:00:14]Write i2c OK [00:00:14]MH_I2C_Read... [00:00:14]OFD Sender: No OFD packet to send [00:00:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:15]Read from MH i2c: E2 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 FD 00 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 FD 00 19 5B 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 66 [00:00: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:00:15]wFMCommunicate OK [00:00:15]wFMCommunicate request_size=4 [00:00:15]MH_SAM_APDU [00:00:15]CAPDU: 80 17 00 00 [00:00:15]Write to MH i2c: E2 08 00 1A 5B 80 17 00 00 00 00 00 00 F5 [00:00:15]Write i2c OK [00:00:15]MH_I2C_Read... [00:00:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:15]Read from MH i2c: E2 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 CB 00 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 CB 00 1A 5B 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 DE [00:00: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:00:15]wFMCommunicate OK [00:00:15]SAM_PROTO_GetShiftData done [00:00:15]requested_item shift.sale.total_cash is exist - process it [00:00:15]requested_item shift.sale_refund.total is exist - process it [00:00:15]requested_item shift.sale_refund.total_cash is exist - process it [00:00:15]requested_item shift.buy.total is exist - process it [00:00:15]requested_item shift.buy.total_cash is exist - process it [00:00:15]produce_requested_data done [00:00:15]produce_requested_data return {"fm.sale.total":849362.58,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":29188.39,"shift.sale.total_cash":22487.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:00:15]process_action_free get_value [00:00:15]json_value_free [00:00:15]json_value_free done [00:00:15]process_json_proto returns [00:00:15]Send response to host [00:00:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":849362.58,"fm.sale_refund.total":1286.00,"fm.buy.total":0.00,"shift.sale.total":29188.39,"shift.sale.total_cash":22487.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:00:15]free response buf [00:00:15]execute_script done [00:00:15]execute_script returns [00:00:15]free content buf [00:00:15]Sock 7.Close socket [00:00:15]Sock 7.Thread stoped [00:00:15]accept exits with 9 [00:00:15]New connection [00:00:15]New thread 3066850660 created [00:00:15]Thread 3066707300 joined [00:00:15]Waiting for new connection... [00:00:15] Sock 9.Parse request [00:00:15]Sock 9.Check first char [00:00:15]Sock 9.First char is OK [00:00:15]request: POST /json_proto HTTP/1.0 [00:00:15]Method: POST [00:00:15]URL: /json_proto [00:00:15]Method is POST - this is cgi request [00:00:15]url: /json_proto [00:00:15]query_string will be loaded in cgi processing [00:00:15]execute_cgi json_proto POST (null) [00:00:15]execute_cgi path=json_proto method=POST [00:00:15]POST find Content-Length [00:00:15]Host: 172.17.52.132:8080 [00:00:15]Content-Length: 259 [00:00:15]Content-Type: application/json [00:00:15] [00:00:15]POST finish read [00:00:15]Found Content-Length = 259 [00:00:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041E\u0440\u0443\u043C\u0431\u0430\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:15]execute_script... [00:00:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041E\u0440\u0443\u043C\u0431\u0430\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:15]POST & json_proto [00:00:15]process_json_proto [00:00:15]json parsed OK: [00:00:15]protocol is kg_v1.0 [00:00:15]action value=open_shift [00:00:15]process_action open_shift [00:00:15]cmd_open_shift [00:00:15]MH_GetDate [00:00:15]Write to MH i2c: F0 00 00 1B 5B 65 [00:00:15]Write i2c OK [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: F0 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: F0 09 00 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: F0 09 00 1B 5B 00 1B 48 14 67 5A BE F6 66 C0 [00:00:15]GetLastDocTimeStamp 1729382146 [00:00:15]current date 1729382427 [00:00:15]FM_GetShiftState [00:00:15]SAM_PROTO_GetShiftState [00:00:15]wFMCommunicate request_size=4 [00:00:15]MH_SAM_APDU [00:00:15]CAPDU: 80 13 01 00 [00:00:15]Write to MH i2c: E2 08 00 1C 5B 80 13 01 00 00 00 00 00 F4 [00:00:15]Write i2c OK [00:00:15]MH_I2C_Read... [00:00:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:15]Read from MH i2c: E2 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 0E 00 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 0E 00 1C 5B 00 09 00 00 00 00 00 00 00 00 00 00 90 00 FF [00:00:15]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:00:15]wFMCommunicate OK [00:00:15]SAM_PROTO_GetShiftState done [00:00:15]FM_GetShiftState done [00:00:15]KKMCreateOpenShiftDocument [00:00:15]Load OK [00:00:15]Malloc new data [00:00:15]MH_GetDate [00:00:15]Write to MH i2c: F0 00 00 1D 5B 67 [00:00:15]Write i2c OK [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: F0 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: F0 09 00 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: F0 09 00 1D 5B 00 1B 48 14 67 5A BE F6 66 C2 [00:00:15]Malloc new data [00:00:15]KKMCreateOpenShiftDocument OK [00:00:15]KKMSetOpenShiftData OK [00:00:15]ProcessDocumentItem done err = 0, tmpTLVsize=206 [00:00:15]tlvbuf is 0146E8C0 [00:00:15]KKMLoadAndSignOpenShiftData [00:00:15]SAM_PROTO_ProcessDocument [00:00:15]wFMCommunicate request_size=9 [00:00:15]MH_SAM_APDU [00:00:15]CAPDU: 80 15 01 00 04 02 00 CE 00 [00:00:15]Write to MH i2c: E2 0C 00 1E 5B 80 15 01 00 04 00 02 00 CE 00 00 00 D0 [00:00:15]Write i2c OK [00:00:15]MH_I2C_Read... [00:00:15]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:00:15]Read from MH i2c: E2 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 03 00 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 03 00 1E 5B 00 90 00 ED [00:00:15]RAPDU: 90 00 [00:00:15]wFMCommunicate OK [00:00:15]wFMCommunicate request_size=23 [00:00:15]MH_SAM_APDU [00:00:15]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:00:15]Write to MH i2c: E2 1A 00 1F 5B 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 EF [00:00:15]Write i2c OK [00:00:15]MH_I2C_Read... [00:00:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:15]Read from MH i2c: E2 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 03 00 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 03 00 1F 5B 00 90 00 EE [00:00:15]RAPDU: 90 00 [00:00:15]wFMCommunicate OK [00:00:15]wFMCommunicate request_size=30 [00:00:15]MH_SAM_APDU [00:00:15]CAPDU: 80 15 02 00 19 FD 03 15 00 D0 9E D1 80 D1 83 D0 BC D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A0 2E 20 [00:00:15]Write to MH i2c: E2 21 00 20 5B 80 15 02 00 19 00 FD 03 15 00 D0 9E D1 80 D1 83 D0 BC D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A0 2E 20 00 00 C7 [00:00:15]Write i2c OK [00:00:15]MH_I2C_Read... [00:00:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:15]Read from MH i2c: E2 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 03 00 [00:00:15]MH_I2C_Read... [00:00:15]Read from MH i2c: E2 03 00 20 5B 00 90 00 EF [00:00:15]RAPDU: 90 00 [00:00:15]wFMCommunicate OK [00:00:15]wFMCommunicate request_size=94 [00:00:15]MH_SAM_APDU [00:00:15]CAPDU: 80 15 02 00 59 F1 03 55 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 83 D0 BC D1 83 D1 88 20 D0 90 D0 B7 D0 B8 D0 B7 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 B0 D0 B4 D1 83 D0 BC D0 B0 D1 80 20 D0 90 D1 82 D0 B0 20 33 31 2C 20 34 31 2E 30 34 35 38 33 35 2C 20 37 32 2E 35 38 36 31 33 30 [00:00:15]Write to MH i2c: E2 61 00 21 5B 80 15 02 00 59 00 F1 03 55 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 83 D0 BC D1 83 D1 88 20 D0 90 D0 B7 D0 B8 D0 B7 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 B0 D0 B4 D1 83 D0 BC D0 B0 D1 80 20 D0 90 D1 82 D0 B0 20 33 31 2C 20 34 31 2E 30 34 35 38 33 35 2C 20 37 32 2E 35 38 36 31 33 30 00 00 BD [00:00:15]Write i2c OK [00:00:15]MH_I2C_Read... [00:00:16]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:16]Read from MH i2c: E2 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 03 00 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 03 00 21 5B 00 90 00 F0 [00:00:16]RAPDU: 90 00 [00:00:16]wFMCommunicate OK [00:00:16]wFMCommunicate request_size=51 [00:00:16]MH_SAM_APDU [00:00:16]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 32 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:16]Write to MH i2c: E2 36 00 22 5B 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 32 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 A8 [00:00:16]Write i2c OK [00:00:16]MH_I2C_Read... [00:00:16]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:16]Read from MH i2c: E2 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 03 00 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 03 00 22 5B 00 90 00 F1 [00:00:16]RAPDU: 90 00 [00:00:16]wFMCommunicate OK [00:00:16]wFMCommunicate request_size=13 [00:00:16]MH_SAM_APDU [00:00:16]CAPDU: 80 15 02 00 08 F4 03 04 00 1B 48 14 67 [00:00:16]Write to MH i2c: E2 10 00 23 5B 80 15 02 00 08 00 F4 03 04 00 1B 48 14 67 00 00 E7 [00:00:16]Write i2c OK [00:00:16]MH_I2C_Read... [00:00:16]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:16]Read from MH i2c: E2 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 03 00 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 03 00 23 5B 00 90 00 F2 [00:00:16]RAPDU: 90 00 [00:00:16]wFMCommunicate OK [00:00:16]wFMCommunicate request_size=25 [00:00:16]MH_SAM_APDU [00:00:16]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 [00:00:16]Write to MH i2c: E2 1C 00 24 5B 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 00 00 61 [00:00:16]Write i2c OK [00:00:16]MH_I2C_Read... [00:00:16]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:16]Read from MH i2c: E2 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 03 00 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 03 00 24 5B 00 90 00 F3 [00:00:16]RAPDU: 90 00 [00:00:16]wFMCommunicate OK [00:00:16]wFMCommunicate request_size=4 [00:00:16]MH_SAM_APDU [00:00:16]CAPDU: 80 15 03 00 [00:00:16]Write to MH i2c: E2 08 00 25 5B 80 15 03 00 00 00 00 00 01 [00:00:16]Write i2c OK [00:00:16]MH_I2C_Read... [00:00:16]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:00:16]Read from MH i2c: E2 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 38 00 [00:00:16]MH_I2C_Read... [00:00:16]Read from MH i2c: E2 38 00 25 5B 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3B 0A 00 00 0E 04 04 00 18 00 00 00 35 04 06 00 1F E9 B8 6D C5 15 90 00 26 [00:00:16]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3B 0A 00 00 0E 04 04 00 18 00 00 00 35 04 06 00 1F E9 B8 6D C5 15 90 00 [00:00:16]wFMCommunicate OK [00:00:16]SAM_PROTO_ProcessDocument answer len = 51 [00:00:16]SAM_PROTO_ProcessDocument done [00:00:16]SetTLVBufToDocument [00:00:16]Processing tag 1209 (04B9) [00:00:16]Malloc new data [00:00:16]Processing tag 1041 (0411) [00:00:16]Processing tag 1040 (0410) [00:00:16]Malloc new data [00:00:16]Processing tag 1038 (040E) [00:00:16]Malloc new data [00:00:16]Processing tag 1077 (0435) [00:00:16]Malloc new data [00:00:16]SetTLVBufToDocument err=0 [00:00:16]KKMLoadAndSignOpenShiftData store KKM data [00:00:16]KKMLoadAndSignOpenShiftData err=0 [00:00:16]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Орумбаев Р. Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 Место: АЗС № 162 "Партнер Нефть" 20.10.2024 00:00 Смена: 24 РНМ: 0000000000207295 ЗНМ: 0300000191 ФД: 2619 ФМ: 0000000002342820 ФПД: 35088682042645 [00:00:16]StoreToDocumentArchive [00:00:16]shift 24 fd 2619 [00:00:16]Create dir for shift 0024 [00:00:16]save to /storage/0024/doc_00002619 [00:00:16]save last doc name /storage/0024/doc_00002619 to /storage/kkm_last_doc_name [00:00:16]save OK [00:00:16]Clear old archive folders... [00:00:16]Remove dir /storage/0023 [00:00:16]opendir ok [00:00:16]file . [00:00:16]file .. [00:00:16]file doc_00002539 [00:00:16]remove file /storage/0023/doc_00002539 [00:00:16]file doc_00002540 [00:00:16]remove file /storage/0023/doc_00002540 [00:00:16]file doc_00002541 [00:00:16]remove file /storage/0023/doc_00002541 [00:00:16]file doc_00002542 [00:00:16]remove file /storage/0023/doc_00002542 [00:00:16]file doc_00002543 [00:00:16]remove file /storage/0023/doc_00002543 [00:00:16]file doc_00002544 [00:00:16]remove file /storage/0023/doc_00002544 [00:00:16]file doc_00002545 [00:00:16]remove file /storage/0023/doc_00002545 [00:00:16]file doc_00002546 [00:00:16]remove file /storage/0023/doc_00002546 [00:00:16]file doc_00002547 [00:00:16]remove file /storage/0023/doc_00002547 [00:00:16]file doc_00002548 [00:00:16]remove file /storage/0023/doc_00002548 [00:00:16]file doc_00002549 [00:00:16]remove file /storage/0023/doc_00002549 [00:00:16]file doc_00002550 [00:00:16]remove file /storage/0023/doc_00002550 [00:00:16]file doc_00002551 [00:00:16]remove file /storage/0023/doc_00002551 [00:00:16]file doc_00002552 [00:00:16]remove file /storage/0023/doc_00002552 [00:00:16]file doc_00002553 [00:00:16]remove file /storage/0023/doc_00002553 [00:00:16]file doc_00002554 [00:00:16]remove file /storage/0023/doc_00002554 [00:00:16]file doc_00002555 [00:00:16]remove file /storage/0023/doc_00002555 [00:00:16]file doc_00002556 [00:00:16]remove file /storage/0023/doc_00002556 [00:00:16]file doc_00002557 [00:00:16]remove file /storage/0023/doc_00002557 [00:00:16]file doc_00002558 [00:00:16]remove file /storage/0023/doc_00002558 [00:00:16]file doc_00002559 [00:00:16]remove file /storage/0023/doc_00002559 [00:00:16]file doc_00002560 [00:00:16]remove file /storage/0023/doc_00002560 [00:00:16]file doc_00002561 [00:00:16]remove file /storage/0023/doc_00002561 [00:00:16]file doc_00002562 [00:00:16]remove file /storage/0023/doc_00002562 [00:00:16]file doc_00002563 [00:00:16]remove file /storage/0023/doc_00002563 [00:00:16]file doc_00002564 [00:00:16]remove file /storage/0023/doc_00002564 [00:00:16]file doc_00002565 [00:00:16]remove file /storage/0023/doc_00002565 [00:00:16]file doc_00002566 [00:00:16]remove file /storage/0023/doc_00002566 [00:00:16]file doc_00002567 [00:00:16]remove file /storage/0023/doc_00002567 [00:00:16]file doc_00002568 [00:00:16]remove file /storage/0023/doc_00002568 [00:00:16]file doc_00002569 [00:00:16]remove file /storage/0023/doc_00002569 [00:00:16]file doc_00002570 [00:00:16]remove file /storage/0023/doc_00002570 [00:00:16]file doc_00002571 [00:00:16]remove file /storage/0023/doc_00002571 [00:00:16]file doc_00002572 [00:00:16]remove file /storage/0023/doc_00002572 [00:00:16]file doc_00002573 [00:00:16]remove file /storage/0023/doc_00002573 [00:00:16]file doc_00002574 [00:00:16]remove file /storage/0023/doc_00002574 [00:00:16]file doc_00002575 [00:00:16]remove file /storage/0023/doc_00002575 [00:00:16]file doc_00002576 [00:00:16]remove file /storage/0023/doc_00002576 [00:00:16]file doc_00002577 [00:00:16]remove file /storage/0023/doc_00002577 [00:00:16]file doc_00002578 [00:00:16]remove file /storage/0023/doc_00002578 [00:00:16]file doc_00002579 [00:00:16]remove file /storage/0023/doc_00002579 [00:00:16]file doc_00002580 [00:00:16]remove file /storage/0023/doc_00002580 [00:00:16]file doc_00002581 [00:00:16]remove file /storage/0023/doc_00002581 [00:00:16]file doc_00002582 [00:00:16]remove file /storage/0023/doc_00002582 [00:00:16]file doc_00002583 [00:00:16]remove file /storage/0023/doc_00002583 [00:00:16]file doc_00002584 [00:00:16]remove file /storage/0023/doc_00002584 [00:00:16]file doc_00002585 [00:00:16]remove file /storage/0023/doc_00002585 [00:00:16]file doc_00002586 [00:00:16]remove file /storage/0023/doc_00002586 [00:00:16]file doc_00002587 [00:00:16]remove file /storage/0023/doc_00002587 [00:00:16]file doc_00002588 [00:00:16]remove file /storage/0023/doc_00002588 [00:00:16]file doc_00002589 [00:00:16]remove file /storage/0023/doc_00002589 [00:00:16]file doc_00002590 [00:00:16]remove file /storage/0023/doc_00002590 [00:00:16]file doc_00002591 [00:00:16]remove file /storage/0023/doc_00002591 [00:00:16]file doc_00002592 [00:00:16]remove file /storage/0023/doc_00002592 [00:00:16]file doc_00002593 [00:00:16]remove file /storage/0023/doc_00002593 [00:00:16]file doc_00002594 [00:00:16]remove file /storage/0023/doc_00002594 [00:00:16]file doc_00002595 [00:00:16]remove file /storage/0023/doc_00002595 [00:00:16]file doc_00002596 [00:00:16]remove file /storage/0023/doc_00002596 [00:00:16]file doc_00002597 [00:00:16]remove file /storage/0023/doc_00002597 [00:00:16]file doc_00002598 [00:00:16]remove file /storage/0023/doc_00002598 [00:00:16]file doc_00002599 [00:00:16]remove file /storage/0023/doc_00002599 [00:00:16]file doc_00002600 [00:00:16]remove file /storage/0023/doc_00002600 [00:00:16]file doc_00002601 [00:00:16]remove file /storage/0023/doc_00002601 [00:00:16]file doc_00002602 [00:00:16]remove file /storage/0023/doc_00002602 [00:00:16]file doc_00002603 [00:00:16]remove file /storage/0023/doc_00002603 [00:00:16]file doc_00002604 [00:00:16]remove file /storage/0023/doc_00002604 [00:00:16]file doc_00002605 [00:00:16]remove file /storage/0023/doc_00002605 [00:00:16]file doc_00002606 [00:00:16]remove file /storage/0023/doc_00002606 [00:00:16]file doc_00002607 [00:00:16]remove file /storage/0023/doc_00002607 [00:00:16]file doc_00002608 [00:00:16]remove file /storage/0023/doc_00002608 [00:00:16]file doc_00002609 [00:00:16]remove file /storage/0023/doc_00002609 [00:00:16]file doc_00002610 [00:00:17]remove file /storage/0023/doc_00002610 [00:00:17]file doc_00002611 [00:00:17]remove file /storage/0023/doc_00002611 [00:00:17]file doc_00002612 [00:00:17]remove file /storage/0023/doc_00002612 [00:00:17]file doc_00002613 [00:00:17]remove file /storage/0023/doc_00002613 [00:00:17]file doc_00002614 [00:00:17]remove file /storage/0023/doc_00002614 [00:00:17]file doc_00002615 [00:00:17]remove file /storage/0023/doc_00002615 [00:00:17]file doc_00002616 [00:00:17]remove file /storage/0023/doc_00002616 [00:00:17]file doc_00002617 [00:00:17]remove file /storage/0023/doc_00002617 [00:00:17]file doc_00002618 [00:00:17]remove file /storage/0023/doc_00002618 [00:00:17]remove dir /storage/0023 [00:00:17]ProcessDocumentItem done err = 0, tmpTLVsize=257 [00:00:17]tlvbuf is 0142CE40 [00:00:17]SAM_PROTO_ClearQueue [00:00:17]wFMCommunicate request_size=4 [00:00:17]MH_SAM_APDU [00:00:17]CAPDU: 80 09 00 00 [00:00:17]Write to MH i2c: E2 08 00 26 5B 80 09 00 00 00 00 00 00 F3 [00:00:17]Write i2c OK [00:00:17]MH_I2C_Read... [00:00:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:00:17]Read from MH i2c: E2 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 03 00 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 03 00 26 5B 00 90 00 F5 [00:00:17]RAPDU: 90 00 [00:00:17]wFMCommunicate OK [00:00:17]SAM_PROTO_ClearQueue done [00:00:17]KKMCreateOFDPacket [00:00:17]OFDProtocolAddRootSTLVToBuf [00:00:17]FM_MakeSignedData [00:00:17]FM_MakeSignedData [00:00:17]SAM_PROTO_SignData [00:00:17]wFMCommunicate request_size=4 [00:00:17]MH_SAM_APDU [00:00:17]CAPDU: 80 0D 01 02 [00:00:17]Write to MH i2c: E2 08 00 27 5B 80 0D 01 02 00 00 00 00 FB [00:00:17]Write i2c OK [00:00:17]MH_I2C_Read... [00:00:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:00:17]Read from MH i2c: E2 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 03 00 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 03 00 27 5B 00 90 00 F6 [00:00:17]RAPDU: 90 00 [00:00:17]wFMCommunicate OK [00:00:17]wFMCommunicate request_size=255 [00:00:17]MH_SAM_APDU [00:00:17]CAPDU: 80 0D 02 02 FA 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 9E D1 80 D1 83 D0 BC D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A0 2E 20 F1 03 55 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 83 D0 BC D1 83 D1 88 20 D0 90 D0 B7 D0 B8 D0 B7 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 B0 D0 B4 D1 83 D0 BC D0 B0 D1 80 20 D0 90 D1 82 D0 B0 20 33 31 2C 20 34 31 2E 30 34 35 38 33 35 2C 20 37 32 2E 35 38 36 31 33 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 32 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 1B 48 14 67 0E 04 04 00 18 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3B 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 [00:00:17]Write to MH i2c: E2 02 01 28 5B 80 0D 02 02 FA 00 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 9E D1 80 D1 83 D0 BC D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A0 2E 20 F1 03 55 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 83 D0 BC D1 83 D1 88 20 D0 90 D0 B7 D0 B8 D0 B7 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 B0 D0 B4 D1 83 D0 BC D0 B0 D1 80 20 D0 90 D1 82 D0 B0 20 33 31 2C 20 34 31 2E 30 34 35 38 33 35 2C 20 37 32 2E 35 38 36 31 33 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 32 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 1B 48 14 67 0E 04 04 00 18 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3B 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 00 00 26 [00:00:17]Write i2c OK [00:00:17]MH_I2C_Read... [00:00:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:17]Read from MH i2c: E2 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 03 00 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 03 00 28 5B 00 90 00 F7 [00:00:17]RAPDU: 90 00 [00:00:17]wFMCommunicate OK [00:00:17]wFMCommunicate request_size=16 [00:00:17]MH_SAM_APDU [00:00:17]CAPDU: 80 0D 02 02 0B 30 35 04 06 00 1F E9 B8 6D C5 15 [00:00:17]Write to MH i2c: E2 13 00 29 5B 80 0D 02 02 0B 00 30 35 04 06 00 1F E9 B8 6D C5 15 00 00 8A [00:00:17]Write i2c OK [00:00:17]MH_I2C_Read... [00:00:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:17]Read from MH i2c: E2 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 03 00 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 03 00 29 5B 00 90 00 F8 [00:00:17]RAPDU: 90 00 [00:00:17]wFMCommunicate OK [00:00:17]wFMCommunicate request_size=4 [00:00:17]MH_SAM_APDU [00:00:17]CAPDU: 80 0D 03 02 [00:00:17]Write to MH i2c: E2 08 00 2A 5B 80 0D 03 02 00 00 00 00 00 [00:00:17]Write i2c OK [00:00:17]MH_I2C_Read... [00:00:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:00:17]Read from MH i2c: E2 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 0B 00 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 0B 00 2A 5B 00 80 47 A3 3E C6 66 27 9C 90 00 98 [00:00:17]RAPDU: 80 47 A3 3E C6 66 27 9C 90 00 [00:00:17]wFMCommunicate OK [00:00:17]SAM_PROTO_SignData done [00:00:17]FM_MakeSignedData done [00:00:17]CreateOFDProtocolMessage [00:00:17]wFMCommunicate request_size=4 [00:00:17]MH_SAM_APDU [00:00:17]CAPDU: 80 11 00 00 [00:00:17]Write to MH i2c: E2 08 00 2B 5B 80 11 00 00 00 00 00 00 00 [00:00:17]Write i2c OK [00:00:17]MH_I2C_Read... [00:00:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:17]Read from MH i2c: E2 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 17 00 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: E2 17 00 2B 5B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 48 [00:00:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [00:00:17]wFMCommunicate OK [00:00:17]CreateOFDProtocolMessage done [00:00:17]OFDSenderStorePacket 2619 [00:00:17]StoreOFDPacket docnum=2619 [00:00:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 15 01 00 00 9E 38 0D 01 04 18 5A 02 01 00 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 9E D1 80 D1 83 D0 BC D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A0 2E 20 F1 03 55 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 83 D0 BC D1 83 D1 88 20 D0 90 D0 B7 D0 B8 D0 B7 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 B0 D0 B4 D1 83 D0 BC D0 B0 D1 80 20 D0 90 D1 82 D0 B0 20 33 31 2C 20 34 31 2E 30 34 35 38 33 35 2C 20 37 32 2E 35 38 36 31 33 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 32 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 1B 48 14 67 0E 04 04 00 18 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3B 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 35 04 06 00 1F E9 B8 6D C5 15 80 47 A3 3E C6 66 27 9C [00:00:17]CheckFolder [00:00:17]dirname=/storage/ofd_packets [00:00:17]CheckFolder done [00:00:17]ProducePacketName [00:00:17]name=ofd_packets/00002619 [00:00:17]NVStorageSaveData ofd_packets/00002619 [00:00:17]File name is /storage/ofd_packets/00002619 [00:00:17]Write 307 bytes [00:00:17]NVStorageSaveData done [00:00:17]OFDSenderStorePacket done [00:00:17]KKMCreateOFDPacket done [00:00:17]NVStorageSaveData kkm_last_timestamp [00:00:17]File name is /storage/kkm_last_timestamp [00:00:17]Write 4 bytes [00:00:17]NVStorageSaveData done [00:00:17]ExternCall_PrintAddStr [00:00:17]wPrintStart [00:00:17]Write to MH i2c: 01 00 00 2C 5B 87 [00:00:17]Write i2c OK [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: 01 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: 01 07 00 [00:00:17]MH_I2C_Read... [00:00:17]Read from MH i2c: 01 07 00 2C 5B 00 00 00 00 00 FF 0F 9C [00:00:17]RasterBufferAndPrint [00:00:17]line Отчет об открытии смены [00:00:17]line ФФД: 1.0 [00:00:17]line ИНН: 02508201610067 [00:00:17]line Кассир: Орумбаев Р. [00:00:17]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [00:00:17]line Место: АЗС № 162 "Партнер Нефть" [00:00:17]line 20.10.2024 00:00 [00:00:17]line Смена: 24 [00:00:17]line РНМ: 0000000000207295 [00:00:17]line ЗНМ: 0300000191 [00:00:17]line ФД: 2619 [00:00:17]line ФМ: 0000000002342820 [00:00:17]line ФПД: 35088682042645 [00:00:17]written 0, free lines is 4095 [00:00:17]OFD Sender: Processing packet 2619 [packets to send 1, broken 0] [00:00:17]ProducePacketName [00:00:17]name=ofd_packets/00002619 [00:00:17]OFD Sender: To server: pG, [00:00:17]CommunicateWithHost lk.salyk.kg:30040 [00:00:17]ConnectInit lk.salyk.kg [00:00:17]Connected sock=10 [00:00:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 15 01 00 00 9E 38 0D 01 04 18 5A 02 01 00 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 9E D1 80 D1 83 D0 BC D0 B1 D0 B0 D0 B5 D0 B2 20 D0 A0 2E 20 F1 03 55 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 83 D0 BC D1 83 D1 88 20 D0 90 D0 B7 D0 B8 D0 B7 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 B0 D0 B4 D1 83 D0 BC D0 B0 D1 80 20 D0 90 D1 82 D0 B0 20 33 31 2C 20 34 31 2E 30 34 35 38 33 35 2C 20 37 32 2E 35 38 36 31 33 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 32 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 1B 48 14 67 0E 04 04 00 18 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3B 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 35 04 06 00 1F E9 B8 6D C5 15 80 47 A3 3E C6 66 27 9C [00:00:18]Write to MH i2c: 01 00 00 3E 5B 99 [00:00:18]Write i2c OK [00:00:18]MH_I2C_Read... [00:00:18]Read from MH i2c: 01 [00:00:18]MH_I2C_Read... [00:00:18]Read from MH i2c: 01 07 00 [00:00:18]MH_I2C_Read... [00:00:18]Read from MH i2c: 01 07 00 3E 5B 00 00 00 00 00 60 0E 0E [00:00:18]RasterBufferAndPrint [00:00:18]line [00:00:18]line [00:00:18]line [00:00:18]line [00:00:18]line [00:00:18]written 0, free lines is 3696 [00:00:18]MH_Cut [00:00:18]Write to MH i2c: D1 01 00 45 5B 01 72 [00:00:18]Write i2c OK [00:00:18]MH_I2C_Read... [00:00:18]Read from MH i2c: D1 [00:00:18]MH_I2C_Read... [00:00:18]Read from MH i2c: D1 01 00 [00:00:18]MH_I2C_Read... [00:00:18]Read from MH i2c: D1 01 00 45 5B 00 71 [00:00:18]Write to MH i2c: 01 00 00 46 5B A1 [00:00:18]Write i2c OK [00:00:18]MH_I2C_Read... [00:00:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 83 D1 47 00 1C 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3B 0A 00 00 F4 03 04 00 7B F3 13 67 B6 04 01 00 00 3A 0F 18 7A 7B FE 39 89 [00:00:18]CommunicateWithHost err = 0 [00:00:18]CheckOFDResponse [00:00:18]1017 (14) - 77093643461234 [00:00:18]1041 (16) - 0000000002342820 [00:00:18]1040 (4) - 2619 [00:00:18]1012 (4) - 19.10.2024 17:59 [00:00:18]1206 (1) - 0 [00:00:18]OFD Sender: Remove packet 2619 [00:00:18]ProducePacketName [00:00:18]name=ofd_packets/00002619 [00:00:18]NVStorageDeleteData [00:00:18]*** Cut start [00:00:18]*** Partial cut [00:00:18]*** CUTSNS_PIN = 1 [00:00:18]*** CUTSNS_PIN = 0 [00:00:18]OFD Sender: No OFD packet to send [00:00:18]*** Brake cut motor [00:00:19]Read from MH i2c: 01 [00:00:19]MH_I2C_Read... [00:00:19]*** Stop cut motor [00:00:19]*** Cut end [00:00:19]Read from MH i2c: 01 07 00 [00:00:19]MH_I2C_Read... [00:00:19]Read from MH i2c: 01 07 00 46 5B 00 00 00 00 00 FF 0F B6 [00:00:19]process_action open_shift done [00:00:19]requested_data is exist [00:00:19]produce_requested_data [00:00:19]requested_item fd.num is exist - process it [00:00:19]SAM_PROTO_GetFieldsCounters [00:00:19]wFMCommunicate request_size=4 [00:00:19]MH_SAM_APDU [00:00:19]CAPDU: 80 13 00 00 [00:00:19]Write to MH i2c: E2 08 00 47 5B 80 13 00 00 00 00 00 00 1E [00:00:19]Write i2c OK [00:00:19]MH_I2C_Read... [00:00:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:19]Read from MH i2c: E2 [00:00:19]MH_I2C_Read... [00:00:19]Read from MH i2c: E2 62 00 [00:00:19]MH_I2C_Read... [00:00:19]Read from MH i2c: E2 62 00 47 5B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 91 [00:00:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3B 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:19]wFMCommunicate OK [00:00:19]SAM_PROTO_GetFieldsCounters done [00:00:19]requested_item shift.num is exist - process it [00:00:19]requested_item shift.opened is exist - process it [00:00:19]req_shift_opened [00:00:19]FM_GetShiftState [00:00:19]SAM_PROTO_GetShiftState [00:00:19]wFMCommunicate request_size=4 [00:00:19]MH_SAM_APDU [00:00:19]CAPDU: 80 13 01 00 [00:00:19]Write to MH i2c: E2 08 00 48 5B 80 13 01 00 00 00 00 00 20 [00:00:19]Write i2c OK [00:00:19]MH_I2C_Read... [00:00:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:19]Read from MH i2c: E2 [00:00:19]MH_I2C_Read... [00:00:19]Read from MH i2c: E2 0E 00 [00:00:19]MH_I2C_Read... [00:00:19]Read from MH i2c: E2 0E 00 48 5B 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 0A [00:00:19]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [00:00:19]wFMCommunicate OK [00:00:19]SAM_PROTO_GetShiftState done [00:00:19]FM_GetShiftState done [00:00:19]req_shift_opened done [00:00:19]requested_item shift.open_date is exist - process it [00:00:19]req_shift_open_date [00:00:19]req_shift_open_date done [00:00:19]produce_requested_data done [00:00:19]produce_requested_data return {"fd.num":2619,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [00:00:19]process_action_free open_shift [00:00:19]json_value_free [00:00:19]json_value_free done [00:00:19]process_json_proto returns [00:00:19]Send response to host [00:00:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":2619,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [00:00:19]free response buf [00:00:19]execute_script done [00:00:19]execute_script returns [00:00:19]free content buf [00:00:19]Sock 9.Close socket [00:00:19]Sock 9.Thread stoped [00:00:19]accept exits with 7 [00:00:19]New connection [00:00:19]New thread 3066707300 created [00:00:19]Thread 3066850660 joined [00:00:19]Waiting for new connection... [00:00:19] Sock 7.Parse request [00:00:19]Sock 7.Check first char [00:00:19]Sock 7.First char is OK [00:00:19]request: POST /json_proto HTTP/1.0 [00:00:19]Method: POST [00:00:19]URL: /json_proto [00:00:19]Method is POST - this is cgi request [00:00:19]url: /json_proto [00:00:19]query_string will be loaded in cgi processing [00:00:19]execute_cgi json_proto POST (null) [00:00:19]execute_cgi path=json_proto method=POST [00:00:19]POST find Content-Length [00:00:19]Host: 172.17.52.132:8080 [00:00:19]Content-Length: 331 [00:00:19]Content-Type: application/json [00:00:19] [00:00:19]POST finish read [00:00:19]Found Content-Length = 331 [00:00:19]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:00:19]execute_script... [00:00:19]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:00:19]POST & json_proto [00:00:19]process_json_proto [00:00:19]json parsed OK: [00:00:19]protocol is kg_v1.0 [00:00:19]action value=get_value [00:00:19]process_action get_value [00:00:19]cmd_get_value [00:00:19]process_action get_value done [00:00:19]requested_data is exist [00:00:19]produce_requested_data [00:00:19]requested_item fm.sale.total is exist - process it [00:00:19]SAM_PROTO_GetFMData [00:00:19]wFMCommunicate request_size=4 [00:00:19]MH_SAM_APDU [00:00:19]CAPDU: 80 13 03 00 [00:00:19]Write to MH i2c: E2 08 00 49 5B 80 13 03 00 00 00 00 00 23 [00:00:19]Write i2c OK [00:00:19]MH_I2C_Read... [00:00:19]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:19]Read from MH i2c: E2 [00:00:19]MH_I2C_Read... [00:00:19]Read from MH i2c: E2 FD 00 [00:00:19]MH_I2C_Read... [00:00:19]Read from MH i2c: E2 FD 00 49 5B 00 BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 58 35 EF 03 09 00 F6 03 01 00 00 90 00 BC [00:00:20]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 0B 0A 00 00 69 04 9F 00 6F 04 04 00 03 0A 00 00 B1 04 04 00 42 06 10 05 70 04 04 00 98 2C C9 03 72 04 04 00 AA D9 46 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 90 A3 89 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 56 77 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 58 F6 01 70 04 03 00 70 C0 01 72 04 02 00 E8 35 00 04 int [00:00:20]79 Write to MH i2c: 00 01 EE 00 03 00 09 4A 00 5B F2 A5 03 [00:00:20]01 *** FLAG_PRN_KEY set [00:00:20]00 00 F3 03 00 00 EE 03 0B 00 Write i2c OK [00:00:20]F2 MH_I2C_Read... [00:00:20]03 01 00 01 F3 03 02 00 Read from MH i2c: 58 01 35 [00:00:20]EF MH_I2C_Read... [00:00:20]03 09 00 F6 Read from MH i2c: 03 01 01 07 00 00 00 [00:00:20]90 MH_I2C_Read... [00:00:20]Read from MH i2c: 01 07 00 4A 5B 00 08 00 00 00 FF 0F C2 [00:00:20]state=0 [00:00:20]Key pressed [00:00:20]Feed [00:00:20]Write to MH i2c: D8 00 00 4B 5B 7D [00:00:20]00 [00:00:20]wFMCommunicate OK [00:00:20]wFMCommunicate request_size=4 [00:00:20]MH_SAM_APDU [00:00:20]CAPDU: 80 17 00 00 [00:00:20]Write i2c OK [00:00:20]MH_I2C_Read... [00:00:20]Read from MH i2c: D8 [00:00:20]MH_I2C_Read... [00:00:20]Read from MH i2c: D8 01 00 [00:00:20]MH_I2C_Read... [00:00:20]Read from MH i2c: D8 01 00 4B 5B 00 7E [00:00:20]Write to MH i2c: int line is 0 - check status [00:00:20]E2 08 00 4C 5B 80 17 00 00 00 00 00 00 27 [00:00:20]Write i2c OK [00:00:20]MH_I2C_Read... [00:00:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:20]*** FLAG_PRN_KEY reset [00:00:20]Read from MH i2c: E2 [00:00:20]MH_I2C_Read... [00:00:20]Read from MH i2c: E2 FD 00 [00:00:20]MH_I2C_Read... [00:00:20]Read from MH i2c: E2 FD 00 4C 5B 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 3C [00:00:20]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 71 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [00:00:20]wFMCommunicate OK [00:00:20]wFMCommunicate request_size=4 [00:00:20]MH_SAM_APDU [00:00:20]CAPDU: 80 17 00 00 [00:00:20]Write to MH i2c: 01 00 00 4D 5B A8 [00:00:20]Write i2c OK [00:00:20]MH_I2C_Read... [00:00:20]Read from MH i2c: 01 [00:00:20]MH_I2C_Read... [00:00:20]Read from MH i2c: 01 07 00 [00:00:20]MH_I2C_Read... [00:00:20]Read from MH i2c: 01 07 00 4D 5B 00 00 00 00 00 FF 0F BD [00:00:20]state=2 [00:00:20]Stop feed [00:00:20]Write to MH i2c: E2 08 00 4E 5B 80 17 00 00 00 00 00 00 29 [00:00:20]int [00:00:20]Write i2c OK [00:00:20]MH_I2C_Read... [00:00:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:21]Read from MH i2c: E2 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: E2 FD 00 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: E2 FD 00 4E 5B 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 5B [00:00:21]RAPDU: Write to MH i2c: 04 01 00 00 00 00 00 4F 04 5B 75 AA 00 [00:00:21]EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 Write i2c OK [00:00:21]01 MH_I2C_Read... [00:00:21]F3 Read from MH i2c: 03 01 00 [00:00:21]00 MH_I2C_Read... [00:00:21]EF Read from MH i2c: 03 01 09 07 00 00 F6 [00:00:21]03 MH_I2C_Read... [00:00:21]01 00 00 F7 03 00 00 Read from MH i2c: EF 01 03 07 09 00 00 4F F6 5B 03 00 01 00 00 00 01 00 F7 00 03 FF 00 0F 00 BF EF [00:00:21]03 state=0 [00:00:21]09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:00:21]wFMCommunicate OK [00:00:21]wFMCommunicate request_size=4 [00:00:21]MH_SAM_APDU [00:00:21]CAPDU: 80 17 00 00 [00:00:21]Write to MH i2c: E2 08 00 50 5B 80 17 00 00 00 00 00 00 2B [00:00:21]Write i2c OK [00:00:21]MH_I2C_Read... [00:00:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:21]Read from MH i2c: E2 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: E2 FD 00 [00:00:21]MH_I2C_Read... [00:00:21]Read from MH i2c: E2 FD 00 50 5B 00 04 F7 03 00 00 EF 03 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 90 00 A6 [00:00:21]RAPDU: 04 F7 03 00 00 EF 03 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 90 00 [00:00:21]wFMCommunicate OK [00:00:21]wFMCommunicate request_size=4 [00:00:21]MH_SAM_APDU [00:00:21]CAPDU: 80 17 00 00 [00:00:21]Write to MH i2c: E2 08 00 51 5B 80 17 00 00 00 00 00 00 2C [00:00:21]Write i2c OK [00:00:21]MH_I2C_Read... [00:00:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:00:22]Read from MH i2c: E2 [00:00:22]MH_I2C_Read... [00:00:22]Read from MH i2c: E2 DB 00 [00:00:22]MH_I2C_Read... [00:00:22]Read from MH i2c: E2 DB 00 51 5B 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:00:22]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:00:22]wFMCommunicate OK [00:00:22]SAM_PROTO_GetFMData done [00:00:22]requested_item fm.sale_refund.total is exist - process it [00:00:22]requested_item fm.buy.total is exist - process it [00:00:22]requested_item shift.sale.total is exist - process it [00:00:22]SAM_PROTO_GetShiftData [00:00:22]wFMCommunicate request_size=4 [00:00:22]MH_SAM_APDU [00:00:22]CAPDU: 80 13 02 00 [00:00:22]Write to MH i2c: E2 08 00 52 5B 80 13 02 00 00 00 00 00 2B [00:00:22]Write i2c OK [00:00:22]MH_I2C_Read... [00:00:22]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:22]Read from MH i2c: E2 [00:00:22]MH_I2C_Read... [00:00:22]Read from MH i2c: E2 FD 00 [00:00:22]MH_I2C_Read... [00:00:22]Read from MH i2c: E2 FD 00 52 5B 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 9E [00:00:22]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:00:22]wFMCommunicate OK [00:00:22]wFMCommunicate request_size=4 [00:00:22]MH_SAM_APDU [00:00:22]CAPDU: 80 17 00 00 [00:00:22]Write to MH i2c: E2 08 00 53 5B 80 17 00 00 00 00 00 00 2E [00:00:22]Write i2c OK [00:00:22]MH_I2C_Read... [00:00:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:23]Read from MH i2c: E2 [00:00:23]MH_I2C_Read... [00:00:23]Read from MH i2c: E2 FD 00 [00:00:23]MH_I2C_Read... [00:00:23]Read from MH i2c: E2 FD 00 53 5B 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 36 [00:00:23]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:00:23]wFMCommunicate OK [00:00:23]wFMCommunicate request_size=4 [00:00:23]MH_SAM_APDU [00:00:23]CAPDU: 80 17 00 00 [00:00:23]Write to MH i2c: E2 08 00 54 5B 80 17 00 00 00 00 00 00 2F [00:00:23]Write i2c OK [00:00:23]MH_I2C_Read... [00:00:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:23]Read from MH i2c: E2 [00:00:23]MH_I2C_Read... [00:00:23]Read from MH i2c: E2 FD 00 [00:00:23]MH_I2C_Read... [00:00:23]Read from MH i2c: E2 FD 00 54 5B 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 OFD Sender: No OFD packet to send [00:00:23]06 F7 03 00 90 00 01 [00:00:23]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:00:23]wFMCommunicate OK [00:00:23]wFMCommunicate request_size=4 [00:00:23]MH_SAM_APDU [00:00:23]CAPDU: 80 17 00 00 [00:00:23]Write to MH i2c: E2 08 00 55 5B 80 17 00 00 00 00 00 00 30 [00:00:23]Write i2c OK [00:00:23]MH_I2C_Read... [00:00:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:24]Read from MH i2c: E2 [00:00:24]MH_I2C_Read... [00:00:24]Read from MH i2c: E2 FD 00 [00:00:24]MH_I2C_Read... [00:00:24]Read from MH i2c: E2 FD 00 55 5B 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 A2 [00:00:24]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:00:24]wFMCommunicate OK [00:00:24]wFMCommunicate request_size=4 [00:00:24]MH_SAM_APDU [00:00:24]CAPDU: 80 17 00 00 [00:00:24]Write to MH i2c: E2 08 00 56 5B 80 17 00 00 00 00 00 00 31 [00:00:24]Write i2c OK [00:00:24]MH_I2C_Read... [00:00:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:00:24]Read from MH i2c: E2 [00:00:24]MH_I2C_Read... [00:00:24]Read from MH i2c: E2 BD 00 [00:00:24]MH_I2C_Read... [00:00:24]Read from MH i2c: E2 BD 00 56 5B 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 17 [00:00:24]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:00:24]wFMCommunicate OK [00:00:24]SAM_PROTO_GetShiftData done [00:00:24]requested_item shift.sale.total_cash is exist - process it [00:00:24]requested_item shift.sale_refund.total is exist - process it [00:00:24]requested_item shift.sale_refund.total_cash is exist - process it [00:00:24]requested_item shift.buy.total is exist - process it [00:00:24]requested_item shift.buy.total_cash is exist - process it [00:00:24]produce_requested_data done [00:00:24]produce_requested_data return {"fm.sale.total":849362.58,"fm.sale_refund.total":1286.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:00:24]process_action_free get_value [00:00:24]json_value_free [00:00:24]json_value_free done [00:00:24]process_json_proto returns [00:00:24]Send response to host [00:00:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":849362.58,"fm.sale_refund.total":1286.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:00:24]free response buf [00:00:24]execute_script done [00:00:24]execute_script returns [00:00:24]free content buf [00:00:24]Sock 7.Close socket [00:00:24]Sock 7.Thread stoped [00:00:28]OFD Sender: No OFD packet to send [00:00:33]OFD Sender: No OFD packet to send [00:00:38]OFD Sender: No OFD packet to send [00:00:43]OFD Sender: No OFD packet to send [00:00:48]OFD Sender: No OFD packet to send [00:00:53]OFD Sender: No OFD packet to send [00:00:58]OFD Sender: No OFD packet to send [00:01:03]OFD Sender: No OFD packet to send [00:01:08]OFD Sender: No OFD packet to send [00:01:13]OFD Sender: No OFD packet to send [00:01:18]OFD Sender: No OFD packet to send [00:01:23]OFD Sender: No OFD packet to send [00:01:28]OFD Sender: No OFD packet to send [00:01:33]OFD Sender: No OFD packet to send [00:01:38]OFD Sender: No OFD packet to send [00:01:43]OFD Sender: No OFD packet to send [00:01:48]OFD Sender: No OFD packet to send [00:01:53]OFD Sender: No OFD packet to send [00:01:58]OFD Sender: No OFD packet to send [00:02:03]OFD Sender: No OFD packet to send [00:02:08]OFD Sender: No OFD packet to send [00:02:13]OFD Sender: No OFD packet to send [00:02:18]OFD Sender: No OFD packet to send [00:02:23]OFD Sender: No OFD packet to send [00:02:28]OFD Sender: No OFD packet to send [00:02:33]OFD Sender: No OFD packet to send [00:02:38]OFD Sender: No OFD packet to send [00:02:43]OFD Sender: No OFD packet to send [00:02:48]OFD Sender: No OFD packet to send [00:02:53]OFD Sender: No OFD packet to send [00:02:58]OFD Sender: No OFD packet to send [00:03:03]OFD Sender: No OFD packet to send [00:03:08]OFD Sender: No OFD packet to send [00:03:13]OFD Sender: No OFD packet to send [00:03:18]OFD Sender: No OFD packet to send [00:03:23]OFD Sender: No OFD packet to send [00:03:28]OFD Sender: No OFD packet to send [00:03:33]OFD Sender: No OFD packet to send [00:03:38]OFD Sender: No OFD packet to send [00:03:43]OFD Sender: No OFD packet to send [00:03:48]OFD Sender: No OFD packet to send [00:03:53]OFD Sender: No OFD packet to send [00:03:58]OFD Sender: No OFD packet to send [00:04:04]OFD Sender: No OFD packet to send [00:04:09]OFD Sender: No OFD packet to send [00:04:14]OFD Sender: No OFD packet to send [00:04:19]OFD Sender: No OFD packet to send [00:04:24]OFD Sender: No OFD packet to send [00:04:29]OFD Sender: No OFD packet to send [00:04:34]OFD Sender: No OFD packet to send [00:04:39]OFD Sender: No OFD packet to send [00:04:44]OFD Sender: No OFD packet to send [00:04:49]OFD Sender: No OFD packet to send [00:04:54]OFD Sender: No OFD packet to send [00:04:59]OFD Sender: No OFD packet to send [00:05:04]OFD Sender: No OFD packet to send [00:05:09]OFD Sender: No OFD packet to send [00:05:14]OFD Sender: No OFD packet to send [00:05:19]OFD Sender: No OFD packet to send [00:05:24]OFD Sender: No OFD packet to send [00:05:29]OFD Sender: No OFD packet to send [00:05:34]OFD Sender: No OFD packet to send [00:05:39]OFD Sender: No OFD packet to send [00:05:44]OFD Sender: No OFD packet to send [00:05:49]OFD Sender: No OFD packet to send [00:05:54]OFD Sender: No OFD packet to send [00:05:59]OFD Sender: No OFD packet to send [00:06:04]OFD Sender: No OFD packet to send [00:06:09]OFD Sender: No OFD packet to send [00:06:14]OFD Sender: No OFD packet to send [00:06:19]OFD Sender: No OFD packet to send [00:06:24]OFD Sender: No OFD packet to send [00:06:29]OFD Sender: No OFD packet to send [00:06:34]OFD Sender: No OFD packet to send [00:06:39]OFD Sender: No OFD packet to send [00:06:44]OFD Sender: No OFD packet to send [00:06:49]OFD Sender: No OFD packet to send [00:06:54]OFD Sender: No OFD packet to send [00:06:59]OFD Sender: No OFD packet to send [00:07:04]OFD Sender: No OFD packet to send [00:07:09]OFD Sender: No OFD packet to send [00:07:14]OFD Sender: No OFD packet to send [00:07:19]OFD Sender: No OFD packet to send [00:07:24]OFD Sender: No OFD packet to send [00:07:29]OFD Sender: No OFD packet to send [00:07:34]OFD Sender: No OFD packet to send [00:07:39]OFD Sender: No OFD packet to send [00:07:44]OFD Sender: No OFD packet to send [00:07:49]OFD Sender: No OFD packet to send [00:07:54]OFD Sender: No OFD packet to send [00:07:59]OFD Sender: No OFD packet to send [00:08:04]OFD Sender: No OFD packet to send [00:08:09]OFD Sender: No OFD packet to send [00:08:14]OFD Sender: No OFD packet to send [00:08:19]OFD Sender: No OFD packet to send [00:08:24]OFD Sender: No OFD packet to send [00:08:29]OFD Sender: No OFD packet to send [00:08:34]OFD Sender: No OFD packet to send [00:08:39]OFD Sender: No OFD packet to send [00:08:44]OFD Sender: No OFD packet to send [00:08:48]accept exits with 9 [00:08:48]New connection [00:08:48]New thread 3066850660 created [00:08:48]Thread 3066707300 joined [00:08:48]Waiting for new connection... [00:08:48] Sock 9.Parse request [00:08:48]Sock 9.Check first char [00:08:48]Sock 9.First char is OK [00:08:48]request: POST /json_proto HTTP/1.0 [00:08:48]Method: POST [00:08:48]URL: /json_proto [00:08:48]Method is POST - this is cgi request [00:08:48]url: /json_proto [00:08:48]query_string will be loaded in cgi processing [00:08:48]execute_cgi json_proto POST (null) [00:08:48]execute_cgi path=json_proto method=POST [00:08:48]POST find Content-Length [00:08:48]Host: 172.17.52.132:8080 [00:08:48]Content-Length: 1224 [00:08:48]Content-Type: application/json [00:08:48] [00:08:48]POST finish read [00:08:48]Found Content-Length = 1224 [00:08:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99997", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:08:48]execute_script... [00:08:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99997", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:08:48]POST & json_proto [00:08:48]process_json_proto [00:08:48]json parsed OK: [00:08:48]protocol is kg_v1.0 [00:08:48]action value=close_receipt [00:08:48]process_action close_receipt [00:08:48]cmd_close_receipt [00:08:48]MH_GetDate [00:08:48]Write to MH i2c: F0 00 00 57 5B A1 [00:08:48]Write i2c OK [00:08:48]MH_I2C_Read... [00:08:48]Read from MH i2c: F0 [00:08:48]MH_I2C_Read... [00:08:48]Read from MH i2c: F0 09 00 [00:08:48]MH_I2C_Read... [00:08:48]Read from MH i2c: F0 09 00 57 5B 00 1C 4A 14 67 5A BE F6 66 FF [00:08:48]GetLastDocTimeStamp 1729382427 [00:08:48]current date 1729382940 [00:08:48]FM_GetShiftState [00:08:48]SAM_PROTO_GetShiftState [00:08:48]wFMCommunicate request_size=4 [00:08:48]MH_SAM_APDU [00:08:48]CAPDU: 80 13 01 00 [00:08:48]Write to MH i2c: E2 08 00 58 5B 80 13 01 00 00 00 00 00 30 [00:08:48]Write i2c OK [00:08:48]MH_I2C_Read... [00:08:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:08:48]Read from MH i2c: E2 [00:08:48]MH_I2C_Read... [00:08:48]Read from MH i2c: E2 0E 00 [00:08:48]MH_I2C_Read... [00:08:48]Read from MH i2c: E2 0E 00 58 5B 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 1A [00:08:48]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [00:08:48]wFMCommunicate OK [00:08:48]SAM_PROTO_GetShiftState done [00:08:48]FM_GetShiftState done [00:08:48]opened in 1729382427 [00:08:48]opened+sec_in_day 1729468827 [00:08:48]quantity*price = 5000 [00:08:48]sum+1 = 5001 [00:08:48]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4631150682851 Нап En Dragon Mojito лайм,клуб ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4631162227163 Напиток газированный Mojito LEMON LIME ж 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 240.00 НСП 1% : 2.12 НДС 12% : 25.49 Наличными: 240.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 1 20.10.2024 00:09 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2620 ФПД: 264919930885011 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T000900&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2620&fm=264919930885011&tin=02508201610067®Number=0000000000207295&sum=24000 0 [00:08:49]StoreToDocumentArchive [00:08:49]shift 24 fd 2620 [00:08:49]save to /storage/0024/doc_00002620 [00:08:49]save last doc name /storage/0024/doc_00002620 to /storage/kkm_last_doc_name [00:08:49]save OK [00:08:49]Clear old archive folders... [00:08:49]ProcessDocumentItem done err = 0, tmpTLVsize=527 [00:08:49]tlvbuf is 0140EEB0 [00:08:49]SAM_PROTO_ClearQueue [00:08:49]wFMCommunicate request_size=4 [00:08:49]MH_SAM_APDU [00:08:49]CAPDU: 80 09 00 00 [00:08:49]Write to MH i2c: E2 08 00 65 5B 80 09 00 00 00 00 00 00 32 [00:08:49]Write i2c OK [00:08:49]MH_I2C_Read... [00:08:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:08:49]Read from MH i2c: E2 [00:08:49]MH_I2C_Read... [00:08:49]Read from MH i2c: E2 03 00 [00:08:49]MH_I2C_Read... [00:08:49]Read from MH i2c: E2 03 00 65 5B 00 90 00 34 [00:08:49]RAPDU: 90 00 [00:08:49]wFMCommunicate OK [00:08:49]SAM_PROTO_ClearQueue done [00:08:49]KKMCreateOFDPacket [00:08:49]OFDProtocolAddRootSTLVToBuf [00:08:49]FM_MakeSignedData [00:08:49]FM_MakeSignedData [00:08:49]SAM_PROTO_SignData [00:08:49]wFMCommunicate request_size=4 [00:08:49]MH_SAM_APDU [00:08:49]CAPDU: 80 0D 01 02 [00:08:49]Write to MH i2c: E2 08 00 66 5B 80 0D 01 02 00 00 00 00 3A [00:08:49]Write i2c OK [00:08:49]MH_I2C_Read... [00:08:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:08:49]Read from MH i2c: E2 [00:08:49]MH_I2C_Read... [00:08:49]Read from MH i2c: E2 03 00 [00:08:49]MH_I2C_Read... [00:08:49]Read from MH i2c: E2 03 00 66 5B 00 90 00 35 [00:08:49]RAPDU: 90 00 [00:08:49]wFMCommunicate OK [00:08:49]wFMCommunicate request_size=255 [00:08:49]MH_SAM_APDU [00:08:49]CAPDU: 80 0D 02 02 FA 03 00 0F 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 [00:08:49]Write to MH i2c: E2 02 01 67 5B 80 0D 02 02 FA 00 03 00 0F 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 00 00 F7 [00:08:49]Write i2c OK [00:08:49]MH_I2C_Read... [00:08:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:49]Read from MH i2c: E2 [00:08:49]MH_I2C_Read... [00:08:49]Read from MH i2c: E2 03 00 [00:08:49]MH_I2C_Read... [00:08:49]Read from MH i2c: E2 03 00 67 5B 00 90 00 36 [00:08:49]RAPDU: 90 00 [00:08:49]wFMCommunicate OK [00:08:49]wFMCommunicate request_size=255 [00:08:49]MH_SAM_APDU [00:08:49]CAPDU: 80 0D 02 02 FA 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 01 00 00 00 F4 03 04 00 1C 4A 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 [00:08:49]Write to MH i2c: E2 02 01 68 5B 80 0D 02 02 FA 00 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 01 00 00 00 F4 03 04 00 1C 4A 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 00 00 03 [00:08:49]Write i2c OK [00:08:49]MH_I2C_Read... [00:08:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:50]Read from MH i2c: E2 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 03 00 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 03 00 68 5B 00 90 00 37 [00:08:50]RAPDU: 90 00 [00:08:50]wFMCommunicate OK [00:08:50]wFMCommunicate request_size=36 [00:08:50]MH_SAM_APDU [00:08:50]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3C 0A 00 00 35 04 06 00 F0 F1 7A 5F D3 93 [00:08:50]Write to MH i2c: E2 27 00 69 5B 80 0D 02 02 1F 00 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3C 0A 00 00 35 04 06 00 F0 F1 7A 5F D3 93 00 00 BE [00:08:50]Write i2c OK [00:08:50]MH_I2C_Read... [00:08:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:50]Read from MH i2c: E2 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 03 00 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 03 00 69 5B 00 90 00 38 [00:08:50]RAPDU: 90 00 [00:08:50]wFMCommunicate OK [00:08:50]wFMCommunicate request_size=4 [00:08:50]MH_SAM_APDU [00:08:50]CAPDU: 80 0D 03 02 [00:08:50]Write to MH i2c: E2 08 00 6A 5B 80 0D 03 02 00 00 00 00 40 [00:08:50]Write i2c OK [00:08:50]MH_I2C_Read... [00:08:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:08:50]Read from MH i2c: E2 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 0B 00 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 0B 00 6A 5B 00 15 DF 0C 41 64 E8 92 00 90 00 60 [00:08:50]RAPDU: 15 DF 0C 41 64 E8 92 00 90 00 [00:08:50]wFMCommunicate OK [00:08:50]SAM_PROTO_SignData done [00:08:50]FM_MakeSignedData done [00:08:50]CreateOFDProtocolMessage [00:08:50]wFMCommunicate request_size=4 [00:08:50]MH_SAM_APDU [00:08:50]CAPDU: 80 11 00 00 [00:08:50]Write to MH i2c: E2 08 00 6B 5B 80 11 00 00 00 00 00 00 40 [00:08:50]Write i2c OK [00:08:50]MH_I2C_Read... [00:08:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:08:50]Read from MH i2c: E2 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 17 00 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: E2 17 00 6B 5B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 88 [00:08:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [00:08:50]wFMCommunicate OK [00:08:50]CreateOFDProtocolMessage done [00:08:50]OFDSenderStorePacket 2620 [00:08:50]StoreOFDPacket docnum=2620 [00:08:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 23 02 00 00 C0 ED 1B 02 42 8E 5A 03 01 00 03 00 0F 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 01 00 00 00 F4 03 04 00 1C 4A 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3C 0A 00 00 35 04 06 00 F0 F1 7A 5F D3 93 15 DF 0C 41 64 E8 92 00 [00:08:50]CheckFolder [00:08:50]dirname=/storage/ofd_packets [00:08:50]CheckFolder done [00:08:50]ProducePacketName [00:08:50]name=ofd_packets/00002620 [00:08:50]NVStorageSaveData ofd_packets/00002620 [00:08:50]File name is /storage/ofd_packets/00002620 [00:08:50]Write 577 bytes [00:08:50]NVStorageSaveData done [00:08:50]OFDSenderStorePacket done [00:08:50]KKMCreateOFDPacket done [00:08:50]NVStorageSaveData kkm_last_timestamp [00:08:50]File name is /storage/kkm_last_timestamp [00:08:50]OFD Sender: Processing packet 2620 [packets to send 1, broken 0] [00:08:50]ProducePacketName [00:08:50]name=ofd_packets/00002620 [00:08:50]OFD Sender: To server: pG, [00:08:50]CommunicateWithHost lk.salyk.kg:30040 [00:08:50]ConnectInit lk.salyk.kg [00:08:50]Write 4 bytes [00:08:50]NVStorageSaveData done [00:08:50]ExternCall_PrintAddStr [00:08:50]wPrintStart [00:08:50]Write to MH i2c: 01 00 00 6C 5B C7 [00:08:50]Write i2c OK [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: 01 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: 01 07 00 [00:08:50]MH_I2C_Read... [00:08:50]Read from MH i2c: 01 07 00 6C 5B 00 00 00 00 00 FF 0F DC [00:08:50]RasterBufferAndPrint [00:08:50]line Счет N : (3)99997 [00:08:50]line ИНН: 02508201610067 [00:08:50]line Контрольно-Кассовый Чек [00:08:50]line ПРОДАЖА [00:08:50]line Товар: 4700000160358 [00:08:50]line Вода Легенда 1л [00:08:50]line 1.000 * 50.00 [00:08:50]line = 50.00 [00:08:50]line НДС 12% НСП 1% [00:08:50]line > о реализуемом товаре [00:08:50]line Товар: 4631150682851 [00:08:50]line Нап En Dragon Mojito лайм,клуб ж/б 0,45л [00:08:50]line 1.000 * 95.00 [00:08:50]line = 95.00 [00:08:50]line НДС 12% НСП 1% [00:08:50]line > о реализуемом товаре [00:08:50]line Товар: 4631162227163 [00:08:50]line Напиток газированный Mojito LEMON LIME ж [00:08:50]line 1.000 * 95.00 [00:08:50]line = 95.00 [00:08:50]line НДС 12% НСП 1% [00:08:50]line > о реализуемом товаре [00:08:50]line ИТОГО: 240.00 [00:08:50]line НСП 1% : 2.12 [00:08:50]line НДС 12% : 25.49 [00:08:50]line Наличными: 240.00 [00:08:50]line Безнал.: 0.00 [00:08:50]line Место: АЗС № 162 "Партнер Нефть" [00:08:50]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [00:08:50]line СНО: Общий режим [00:08:50]line Чек 1 20.10.2024 00:09 [00:08:50]line Смена: 24 ФФД: 1.0 [00:08:50]line ЗНМ: 0300000191 [00:08:50]line РНМ: 0000000000207295 [00:08:50]line Версия ККМ: v1.0 [00:08:50]line ФМ: 0000000002342820 [00:08:50]line ФД: 2620 [00:08:50]line ФПД: 264919930885011 [00:08:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T000900&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2620&fm=264919930885011&tin=02508201610067®Number=0000000000207295&sum=24000 [00:08:50]line 0 [00:08:50]Connected sock=11 [00:08:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 23 02 00 00 C0 ED 1B 02 42 8E 5A 03 01 00 03 00 0F 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 01 00 00 00 F4 03 04 00 1C 4A 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3C 0A 00 00 35 04 06 00 F0 F1 7A 5F D3 93 15 DF 0C 41 64 E8 92 00 [00:08:50]written 0, free lines is 4095 [00:08:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 6E 0F 47 00 37 14 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3C 0A 00 00 F4 03 04 00 7C F5 13 67 B6 04 01 00 00 58 67 E5 5B 9A 20 B9 13 [00:08:51]CommunicateWithHost err = 0 [00:08:51]CheckOFDResponse [00:08:51]1017 (14) - 77093643461234 [00:08:51]1041 (16) - 0000000002342820 [00:08:51]1040 (4) - 2620 [00:08:51]1012 (4) - 19.10.2024 18:07 [00:08:51]1206 (1) - 0 [00:08:51]OFD Sender: Remove packet 2620 [00:08:51]ProducePacketName [00:08:51]name=ofd_packets/00002620 [00:08:51]NVStorageDeleteData [00:08:51]Write to MH i2c: 01 00 00 A2 5B FD [00:08:51]Write i2c OK [00:08:51]MH_I2C_Read... [00:08:51]Read from MH i2c: 01 [00:08:51]MH_I2C_Read... [00:08:51]Read from MH i2c: 01 07 00 [00:08:51]MH_I2C_Read... [00:08:51]Read from MH i2c: 01 07 00 A2 5B 00 00 00 00 00 E1 0B F0 [00:08:51]RasterBufferAndPrint [00:08:51]line [00:08:51]line [00:08:51]line [00:08:51]line [00:08:51]line [00:08:51]written 0, free lines is 3048 [00:08:51]MH_Cut [00:08:51]Write to MH i2c: D1 01 00 A9 5B 01 D6 [00:08:51]Write i2c OK [00:08:51]MH_I2C_Read... [00:08:51]Read from MH i2c: D1 [00:08:51]MH_I2C_Read... [00:08:51]Read from MH i2c: D1 01 00 [00:08:51]MH_I2C_Read... [00:08:51]Read from MH i2c: D1 01 00 A9 5B 00 D5 [00:08:51]Write to MH i2c: 01 00 00 AA 5B 05 [00:08:51]Write i2c OK [00:08:51]MH_I2C_Read... [00:08:51]OFD Sender: No OFD packet to send [00:08:52]*** Cut start [00:08:52]*** Partial cut [00:08:52]*** CUTSNS_PIN = 1 [00:08:52]*** CUTSNS_PIN = 0 [00:08:52]*** Brake cut motor [00:08:53]Read from MH i2c: 01 [00:08:53]MH_I2C_Read... [00:08:53]*** Stop cut motor [00:08:53]*** Cut end [00:08:53]Read from MH i2c: 01 07 00 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: 01 07 00 AA 5B 00 00 00 00 00 FF 0F 1A [00:08:53]process_action close_receipt done [00:08:53]requested_data is exist [00:08:53]produce_requested_data [00:08:53]requested_item fm.sn is exist - process it [00:08:53]wFMCommunicate request_size=4 [00:08:53]MH_SAM_APDU [00:08:53]CAPDU: 80 11 00 00 [00:08:53]Write to MH i2c: E2 08 00 AB 5B 80 11 00 00 00 00 00 00 80 [00:08:53]Write i2c OK [00:08:53]MH_I2C_Read... [00:08:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:08:53]Read from MH i2c: E2 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 17 00 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 17 00 AB 5B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C8 [00:08:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [00:08:53]wFMCommunicate OK [00:08:53]requested_item fd.num is exist - process it [00:08:53]SAM_PROTO_GetFieldsCounters [00:08:53]wFMCommunicate request_size=4 [00:08:53]MH_SAM_APDU [00:08:53]CAPDU: 80 13 00 00 [00:08:53]Write to MH i2c: E2 08 00 AC 5B 80 13 00 00 00 00 00 00 83 [00:08:53]Write i2c OK [00:08:53]MH_I2C_Read... [00:08:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:08:53]Read from MH i2c: E2 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 62 00 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 62 00 AC 5B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3C 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 FA [00:08:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3C 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:08:53]wFMCommunicate OK [00:08:53]SAM_PROTO_GetFieldsCounters done [00:08:53]requested_item shift.num is exist - process it [00:08:53]requested_item shift.opened is exist - process it [00:08:53]req_shift_opened [00:08:53]FM_GetShiftState [00:08:53]SAM_PROTO_GetShiftState [00:08:53]wFMCommunicate request_size=4 [00:08:53]MH_SAM_APDU [00:08:53]CAPDU: 80 13 01 00 [00:08:53]Write to MH i2c: E2 08 00 AD 5B 80 13 01 00 00 00 00 00 85 [00:08:53]Write i2c OK [00:08:53]MH_I2C_Read... [00:08:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:08:53]Read from MH i2c: E2 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 0E 00 [00:08:53]MH_I2C_Read... [00:08:53]Read from MH i2c: E2 0E 00 AD 5B 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 6F [00:08:53]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [00:08:53]wFMCommunicate OK [00:08:53]SAM_PROTO_GetShiftState done [00:08:53]FM_GetShiftState done [00:08:53]req_shift_opened done [00:08:53]requested_item shift.open_date is exist - process it [00:08:53]req_shift_open_date [00:08:53]req_shift_open_date done [00:08:53]produce_requested_data done [00:08:53]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2620,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [00:08:53]process_action_free close_receipt [00:08:53]json_value_free [00:08:53]json_value_free done [00:08:53]process_json_proto returns [00:08:53]Send response to host [00:08:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2620,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [00:08:53]free response buf [00:08:53]execute_script done [00:08:53]execute_script returns [00:08:53]free content buf [00:08:53]Sock 9.Close socket [00:08:53]Sock 9.Thread stoped [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:15:58]accept exits with 10 [00:15:58]New connection [00:15:58]New thread 3066707300 created [00:15:58]Thread 3066850660 joined [00:15:58]Waiting for new connection... [00:15:58] Sock 10.Parse request [00:15:58]Sock 10.Check first char [00:15:58]Sock 10.First char is OK [00:15:58]request: POST /json_proto HTTP/1.0 [00:15:58]Method: POST [00:15:58]URL: /json_proto [00:15:58]Method is POST - this is cgi request [00:15:58]url: /json_proto [00:15:58]query_string will be loaded in cgi processing [00:15:58]execute_cgi json_proto POST (null) [00:15:58]execute_cgi path=json_proto method=POST [00:15:58]POST find Content-Length [00:15:58]Host: 172.17.52.132:8080 [00:15:58]Content-Length: 1145 [00:15:58]Content-Type: application/json [00:15:58] [00:15:58]POST finish read [00:15:58]Found Content-Length = 1145 [00:15:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99998", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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": "48746717", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster + Dream M", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 560.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:15:58]execute_script... [00:15: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)99998", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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": "48746717", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster + Dream M", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 560.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:15:58]POST & json_proto [00:15:58]process_json_proto [00:15:58]json parsed OK: [00:15:58]protocol is kg_v1.0 [00:15:58]action value=close_receipt [00:15:58]process_action close_receipt [00:15:58]cmd_close_receipt [00:15:58]MH_GetDate [00:15:58]Write to MH i2c: F0 00 00 AE 5B F8 [00:15:58]Write i2c OK [00:15:58]MH_I2C_Read... [00:15:58]Read from MH i2c: F0 [00:15:58]MH_I2C_Read... [00:15:58]Read from MH i2c: F0 09 00 [00:15:58]MH_I2C_Read... [00:15:58]Read from MH i2c: F0 09 00 AE 5B 00 CA 4B 14 67 5A BE F6 66 05 [00:15:58]GetLastDocTimeStamp 1729382940 [00:15:58]current date 1729383370 [00:15:58]FM_GetShiftState [00:15:58]SAM_PROTO_GetShiftState [00:15:58]wFMCommunicate request_size=4 [00:15:58]MH_SAM_APDU [00:15:58]CAPDU: 80 13 01 00 [00:15:58]Write to MH i2c: E2 08 00 AF 5B 80 13 01 00 00 00 00 00 87 [00:15:58]Write i2c OK [00:15:58]MH_I2C_Read... [00:15:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:15:58]Read from MH i2c: E2 [00:15:58]MH_I2C_Read... [00:15:58]Read from MH i2c: E2 0E 00 [00:15:58]MH_I2C_Read... [00:15:58]Read from MH i2c: E2 0E 00 AF 5B 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 71 [00:15:58]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [00:15:58]wFMCommunicate OK [00:15:58]SAM_PROTO_GetShiftState done [00:15:58]FM_GetShiftState done [00:15:58]opened in 1729382427 [00:15:58]opened+sec_in_day 1729468827 [00:15:58]quantity*price = 28800 [00:15:58]sum+1 = 28801 [00:15:58]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000054227 Напиток Кока-Кола 1л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48746717 Сигареты Winston XStyle Caster + Dream M 1.000 * 147.00 = 147.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 560.00 НСП 1% : 4.96 НДС 12% : 59.46 Наличными: 560.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 2 20.10.2024 00:16 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2621 ФПД: 228986902209477 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T001610&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2621&fm=228986902209477&tin=02508201610067®Number=0000000000207295&sum=56000 0 [00:15:59]StoreToDocumentArchive [00:15:59]shift 24 fd 2621 [00:15:59]save to /storage/0024/doc_00002621 [00:15:59]save last doc name /storage/0024/doc_00002621 to /storage/kkm_last_doc_name [00:15:59]save OK [00:15:59]Clear old archive folders... [00:15:59]ProcessDocumentItem done err = 0, tmpTLVsize=498 [00:15:59]tlvbuf is 0139A190 [00:15:59]SAM_PROTO_ClearQueue [00:15:59]wFMCommunicate request_size=4 [00:15:59]MH_SAM_APDU [00:15:59]CAPDU: 80 09 00 00 [00:15:59]Write to MH i2c: E2 08 00 BC 5B 80 09 00 00 00 00 00 00 89 [00:15:59]Write i2c OK [00:15:59]MH_I2C_Read... [00:15:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:15:59]Read from MH i2c: E2 [00:15:59]MH_I2C_Read... [00:15:59]Read from MH i2c: E2 03 00 [00:15:59]MH_I2C_Read... [00:15:59]Read from MH i2c: E2 03 00 BC 5B 00 90 00 8B [00:15:59]RAPDU: 90 00 [00:15:59]wFMCommunicate OK [00:15:59]SAM_PROTO_ClearQueue done [00:15:59]KKMCreateOFDPacket [00:15:59]OFDProtocolAddRootSTLVToBuf [00:15:59]FM_MakeSignedData [00:15:59]FM_MakeSignedData [00:15:59]SAM_PROTO_SignData [00:15:59]wFMCommunicate request_size=4 [00:15:59]MH_SAM_APDU [00:15:59]CAPDU: 80 0D 01 02 [00:15:59]Write to MH i2c: E2 08 00 BD 5B 80 0D 01 02 00 00 00 00 91 [00:15:59]Write i2c OK [00:15:59]MH_I2C_Read... [00:15:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:15:59]Read from MH i2c: E2 [00:15:59]MH_I2C_Read... [00:15:59]Read from MH i2c: E2 03 00 [00:15:59]MH_I2C_Read... [00:15:59]Read from MH i2c: E2 03 00 BD 5B 00 90 00 8C [00:15:59]RAPDU: 90 00 [00:15:59]wFMCommunicate OK [00:15:59]wFMCommunicate request_size=255 [00:15:59]MH_SAM_APDU [00:15:59]CAPDU: 80 0D 02 02 FA 03 00 F2 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 [00:15:59]Write to MH i2c: E2 02 01 BE 5B 80 0D 02 02 FA 00 03 00 F2 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 00 00 60 [00:15:59]Write i2c OK [00:15:59]MH_I2C_Read... [00:16:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:16:00]Read from MH i2c: E2 [00:16:00]MH_I2C_Read... [00:16:00]Read from MH i2c: E2 03 00 [00:16:00]MH_I2C_Read... [00:16:00]Read from MH i2c: E2 03 00 BE 5B 00 90 00 8D [00:16:00]RAPDU: 90 00 [00:16:00]wFMCommunicate OK [00:16:00]wFMCommunicate request_size=255 [00:16:00]MH_SAM_APDU [00:16:00]CAPDU: 80 0D 02 02 FA D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D 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 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 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 CA 4B 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3D 0A 00 00 35 04 06 00 D0 43 2A F6 [00:16:00]Write to MH i2c: E2 02 01 BF 5B 80 0D 02 02 FA 00 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D 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 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 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 CA 4B 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3D 0A 00 00 35 04 06 00 D0 43 2A F6 00 00 11 [00:16:00]Write i2c OK [00:16:00]MH_I2C_Read... [00:16:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:16:00]Read from MH i2c: E2 [00:16:00]MH_I2C_Read... [00:16:00]Read from MH i2c: E2 03 00 [00:16:00]MH_I2C_Read... [00:16:00]Read from MH i2c: E2 03 00 BF 5B 00 90 00 8E [00:16:00]RAPDU: 90 00 [00:16:00]wFMCommunicate OK [00:16:00]wFMCommunicate request_size=7 [00:16:00]MH_SAM_APDU [00:16:00]CAPDU: 80 0D 02 02 02 E3 C5 [00:16:00]Write to MH i2c: E2 0A 00 C0 5B 80 0D 02 02 02 00 E3 C5 00 00 41 [00:16:00]Write i2c OK [00:16:00]MH_I2C_Read... [00:16:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:16:00]Read from MH i2c: E2 [00:16:00]MH_I2C_Read... [00:16:00]Read from MH i2c: E2 03 00 [00:16:00]MH_I2C_Read... [00:16:00]Read from MH i2c: E2 03 00 C0 5B 00 90 00 8F [00:16:00]RAPDU: 90 00 [00:16:00]wFMCommunicate OK [00:16:00]wFMCommunicate request_size=4 [00:16:00]MH_SAM_APDU [00:16:00]CAPDU: 80 0D 03 02 [00:16:00]Write to MH i2c: E2 08 00 C1 5B 80 0D 03 02 00 00 00 00 97 [00:16:00]Write i2c OK [00:16:00]MH_I2C_Read... [00:16:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:16:00]Read from MH i2c: E2 [00:16:00]MH_I2C_Read... [00:16:00]Read from MH i2c: E2 0B 00 [00:16:00]MH_I2C_Read... [00:16:00]Read from MH i2c: E2 0B 00 C1 5B 00 18 70 4F 60 C9 D3 E2 02 90 00 4F [00:16:00]RAPDU: 18 70 4F 60 C9 D3 E2 02 90 00 [00:16:00]wFMCommunicate OK [00:16:00]SAM_PROTO_SignData done [00:16:00]FM_MakeSignedData done [00:16:00]CreateOFDProtocolMessage [00:16:00]wFMCommunicate request_size=4 [00:16:00]MH_SAM_APDU [00:16:00]CAPDU: 80 11 00 00 [00:16:00]Write to MH i2c: E2 08 00 C2 5B 80 11 00 00 00 00 00 00 97 [00:16:00]Write i2c OK [00:16:00]MH_I2C_Read... [00:16:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:16:00]Read from MH i2c: E2 [00:16:00]MH_I2C_Read... [00:16:00]Read from MH i2c: E2 17 00 [00:16:00]MH_I2C_Read... [00:16:00]Read from MH i2c: E2 17 00 C2 5B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 DF [00:16:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [00:16:00]wFMCommunicate OK [00:16:00]CreateOFDProtocolMessage done [00:16:00]OFDSenderStorePacket 2621 [00:16:00]StoreOFDPacket docnum=2621 [00:16:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 06 02 00 00 85 C0 FE 01 E9 83 5A 03 01 00 03 00 F2 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 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 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D 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 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 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 CA 4B 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3D 0A 00 00 35 04 06 00 D0 43 2A F6 E3 C5 18 70 4F 60 C9 D3 E2 02 [00:16:00]CheckFolder [00:16:00]dirname=/storage/ofd_packets [00:16:00]CheckFolder done [00:16:00]ProducePacketName [00:16:00]name=ofd_packets/00002621 [00:16:00]NVStorageSaveData ofd_packets/00002621 [00:16:00]File name is /storage/ofd_packets/00002621 [00:16:00]Write 548 bytes [00:16:00]NVStorageSaveData done [00:16:00]OFDSenderStorePacket done [00:16:00]KKMCreateOFDPacket done [00:16:00]NVStorageSaveData kkm_last_timestamp [00:16:00]File name is /storage/kkm_last_timestamp [00:16:00]Write 4 bytes [00:16:00]NVStorageSaveData done [00:16:00]ExternCall_PrintAddStr [00:16:00]wPrintStart [00:16:00]Write to MH i2c: 01 00 00 C3 5B 1E [00:16:00]Write i2c OK [00:16:00]MH_I2C_Read... [00:16:00]Read from MH i2c: 01 [00:16:00]MH_I2C_Read... [00:16:00]Read from MH i2c: 01 07 00 [00:16:00]MH_I2C_Read... [00:16:00]Read from MH i2c: 01 07 00 C3 5B 00 00 00 00 00 FF 0F 33 [00:16:00]RasterBufferAndPrint [00:16:00]line Счет N : (3)99998 [00:16:00]line ИНН: 02508201610067 [00:16:00]line Контрольно-Кассовый Чек [00:16:00]line ПРОДАЖА [00:16:00]line Товар: 48743587 [00:16:00]line Сигареты Winston XStyle Silver [00:16:00]line 2.000 * 144.00 [00:16:00]line = 288.00 [00:16:00]line НДС 12% НСП 1% [00:16:00]line > о реализуемом товаре [00:16:00]line Товар: 5449000054227 [00:16:00]line Напиток Кока-Кола 1л [00:16:00]line 1.000 * 125.00 [00:16:00]line = 125.00 [00:16:00]line НДС 12% НСП 1% [00:16:00]line > о реализуемом товаре [00:16:00]line Товар: 48746717 [00:16:00]line Сигареты Winston XStyle Caster + Dream M [00:16:00]line 1.000 * 147.00 [00:16:00]line = 147.00 [00:16:00]line НДС 12% НСП 1% [00:16:00]line > о реализуемом товаре [00:16:00]line ИТОГО: 560.00 [00:16:00]line НСП 1% : 4.96 [00:16:00]line НДС 12% : 59.46 [00:16:00]line Наличными: 560.00 [00:16:00]line Безнал.: 0.00 [00:16:00]line Место: АЗС № 162 "Партнер Нефть" [00:16:00]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [00:16:00]line СНО: Общий режим [00:16:00]line Чек 2 20.10.2024 00:16 [00:16:00]line Смена: 24 ФФД: 1.0 [00:16:00]line ЗНМ: 0300000191 [00:16:00]line РНМ: 0000000000207295 [00:16:00]line Версия ККМ: v1.0 [00:16:00]line ФМ: 0000000002342820 [00:16:00]line ФД: 2621 [00:16:00]line ФПД: 228986902209477 [00:16:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T001610&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2621&fm=228986902209477&tin=02508201610067®Number=0000000000207295&sum=56000 [00:16:00]line 0 [00:16:00]written 0, free lines is 4095 [00:16:00]OFD Sender: Processing packet 2621 [packets to send 1, broken 0] [00:16:00]ProducePacketName [00:16:00]name=ofd_packets/00002621 [00:16:00]OFD Sender: To server: pG, [00:16:00]CommunicateWithHost lk.salyk.kg:30040 [00:16:00]ConnectInit lk.salyk.kg [00:16:00]Connected sock=9 [00:16:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 06 02 00 00 85 C0 FE 01 E9 83 5A 03 01 00 03 00 F2 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 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 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D 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 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 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 CA 4B 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3D 0A 00 00 35 04 06 00 D0 43 2A F6 E3 C5 18 70 4F 60 C9 D3 E2 02 [00:16:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 14 9D 47 00 24 69 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3D 0A 00 00 F4 03 04 00 2A F7 13 67 B6 04 01 00 00 4D 1D 41 4F BE 80 7B 33 [00:16:00]CommunicateWithHost err = 0 [00:16:00]CheckOFDResponse [00:16:00]1017 (14) - 77093643461234 [00:16:00]1041 (16) - 0000000002342820 [00:16:00]1040 (4) - 2621 [00:16:00]1012 (4) - 19.10.2024 18:15 [00:16:00]1206 (1) - 0 [00:16:00]OFD Sender: Remove packet 2621 [00:16:00]ProducePacketName [00:16:00]name=ofd_packets/00002621 [00:16:00]NVStorageDeleteData [00:16:01]Write to MH i2c: 01 00 00 F9 5B 54 [00:16:01]Write i2c OK [00:16:01]MH_I2C_Read... [00:16:01]Read from MH i2c: 01 [00:16:01]MH_I2C_Read... [00:16:01]Read from MH i2c: 01 07 00 [00:16:01]MH_I2C_Read... [00:16:01]Read from MH i2c: 01 07 00 F9 5B 00 00 00 00 00 EB 0B 51 [00:16:01]RasterBufferAndPrint [00:16:01]line [00:16:01]line [00:16:01]line [00:16:01]line [00:16:01]line [00:16:01]written 0, free lines is 3059 [00:16:01]MH_Cut [00:16:01]Write to MH i2c: D1 01 00 00 5C 01 2E [00:16:01]Write i2c OK [00:16:01]MH_I2C_Read... [00:16:01]Read from MH i2c: D1 [00:16:01]MH_I2C_Read... [00:16:01]Read from MH i2c: D1 01 00 [00:16:01]MH_I2C_Read... [00:16:01]Read from MH i2c: D1 01 00 00 5C 00 2D [00:16:01]Write to MH i2c: 01 00 00 01 5C 5D [00:16:01]Write i2c OK [00:16:01]MH_I2C_Read... [00:16:01]OFD Sender: No OFD packet to send [00:16:02]*** Cut start [00:16:02]*** Partial cut [00:16:02]*** CUTSNS_PIN = 1 [00:16:02]*** CUTSNS_PIN = 0 [00:16:02]*** Brake cut motor [00:16:02]Read from MH i2c: 01 [00:16:02]MH_I2C_Read... [00:16:02]*** Stop cut motor [00:16:02]*** Cut end [00:16:02]Read from MH i2c: 01 07 00 [00:16:02]MH_I2C_Read... [00:16:02]Read from MH i2c: 01 07 00 01 5C 00 00 00 00 00 FF 0F 72 [00:16:02]process_action close_receipt done [00:16:02]requested_data is exist [00:16:02]produce_requested_data [00:16:02]requested_item fm.sn is exist - process it [00:16:02]wFMCommunicate request_size=4 [00:16:02]MH_SAM_APDU [00:16:02]CAPDU: 80 11 00 00 [00:16:02]Write to MH i2c: E2 08 00 02 5C 80 11 00 00 00 00 00 00 D8 [00:16:02]Write i2c OK [00:16:02]MH_I2C_Read... [00:16:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:16:02]Read from MH i2c: E2 [00:16:02]MH_I2C_Read... [00:16:02]Read from MH i2c: E2 17 00 [00:16:02]MH_I2C_Read... [00:16:02]Read from MH i2c: E2 17 00 02 5C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 20 [00:16:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [00:16:02]wFMCommunicate OK [00:16:02]requested_item fd.num is exist - process it [00:16:02]SAM_PROTO_GetFieldsCounters [00:16:02]wFMCommunicate request_size=4 [00:16:02]MH_SAM_APDU [00:16:02]CAPDU: 80 13 00 00 [00:16:02]Write to MH i2c: E2 08 00 03 5C 80 13 00 00 00 00 00 00 DB [00:16:02]Write i2c OK [00:16:02]MH_I2C_Read... [00:16:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:16:03]Read from MH i2c: E2 [00:16:03]MH_I2C_Read... [00:16:03]Read from MH i2c: E2 62 00 [00:16:03]MH_I2C_Read... [00:16:03]Read from MH i2c: E2 62 00 03 5C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3D 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 56 [00:16:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3D 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:16:03]wFMCommunicate OK [00:16:03]SAM_PROTO_GetFieldsCounters done [00:16:03]requested_item shift.num is exist - process it [00:16:03]requested_item shift.opened is exist - process it [00:16:03]req_shift_opened [00:16:03]FM_GetShiftState [00:16:03]SAM_PROTO_GetShiftState [00:16:03]wFMCommunicate request_size=4 [00:16:03]MH_SAM_APDU [00:16:03]CAPDU: 80 13 01 00 [00:16:03]Write to MH i2c: E2 08 00 04 5C 80 13 01 00 00 00 00 00 DD [00:16:03]Write i2c OK [00:16:03]MH_I2C_Read... [00:16:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:03]Read from MH i2c: E2 [00:16:03]MH_I2C_Read... [00:16:03]Read from MH i2c: E2 0E 00 [00:16:03]MH_I2C_Read... [00:16:03]Read from MH i2c: E2 0E 00 04 5C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 C7 [00:16:03]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [00:16:03]wFMCommunicate OK [00:16:03]SAM_PROTO_GetShiftState done [00:16:03]FM_GetShiftState done [00:16:03]req_shift_opened done [00:16:03]requested_item shift.open_date is exist - process it [00:16:03]req_shift_open_date [00:16:03]req_shift_open_date done [00:16:03]produce_requested_data done [00:16:03]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2621,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [00:16:03]process_action_free close_receipt [00:16:03]json_value_free [00:16:03]json_value_free done [00:16:03]process_json_proto returns [00:16:03]Send response to host [00:16:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2621,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [00:16:03]free response buf [00:16:03]execute_script done [00:16:03]execute_script returns [00:16:03]free content buf [00:16:03]Sock 10.Close socket [00:16:03]Sock 10.Thread stoped [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:51]OFD Sender: No OFD packet to send [00:24:56]OFD Sender: No OFD packet to send [00:25:01]OFD Sender: No OFD packet to send [00:25:06]OFD Sender: No OFD packet to send [00:25:11]OFD Sender: No OFD packet to send [00:25:16]OFD Sender: No OFD packet to send [00:25:21]OFD Sender: No OFD packet to send [00:25:26]OFD Sender: No OFD packet to send [00:25:31]OFD Sender: No OFD packet to send [00:25:36]OFD Sender: No OFD packet to send [00:25:41]OFD Sender: No OFD packet to send [00:25:46]OFD Sender: No OFD packet to send [00:25:51]OFD Sender: No OFD packet to send [00:25:56]OFD Sender: No OFD packet to send [00:26:01]OFD Sender: No OFD packet to send [00:26:06]OFD Sender: No OFD packet to send [00:26:11]OFD Sender: No OFD packet to send [00:26:16]OFD Sender: No OFD packet to send [00:26:21]OFD Sender: No OFD packet to send [00:26:26]OFD Sender: No OFD packet to send [00:26:31]OFD Sender: No OFD packet to send [00:26:36]OFD Sender: No OFD packet to send [00:26:41]OFD Sender: No OFD packet to send [00:26:46]OFD Sender: No OFD packet to send [00:26:51]OFD Sender: No OFD packet to send [00:26:56]OFD Sender: No OFD packet to send [00:27:01]OFD Sender: No OFD packet to send [00:27:06]OFD Sender: No OFD packet to send [00:27:11]OFD Sender: No OFD packet to send [00:27:16]OFD Sender: No OFD packet to send [00:27:21]OFD Sender: No OFD packet to send [00:27:26]OFD Sender: No OFD packet to send [00:27:31]OFD Sender: No OFD packet to send [00:27:36]OFD Sender: No OFD packet to send [00:27:41]OFD Sender: No OFD packet to send [00:27:46]OFD Sender: No OFD packet to send [00:27:51]OFD Sender: No OFD packet to send [00:27:56]OFD Sender: No OFD packet to send [00:28:01]OFD Sender: No OFD packet to send [00:28:06]OFD Sender: No OFD packet to send [00:28:11]OFD Sender: No OFD packet to send [00:28: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:47]OFD Sender: No OFD packet to send [00:43:52]OFD Sender: No OFD packet to send [00:43:57]OFD Sender: No OFD packet to send [00:44:02]OFD Sender: No OFD packet to send [00:44:07]OFD Sender: No OFD packet to send [00:44:12]OFD Sender: No OFD packet to send [00:44:17]OFD Sender: No OFD packet to send [00:44:22]OFD Sender: No OFD packet to send [00:44:27]OFD Sender: No OFD packet to send [00:44:32]OFD Sender: No OFD packet to send [00:44:37]OFD Sender: No OFD packet to send [00:44:42]OFD Sender: No OFD packet to send [00:44:47]OFD Sender: No OFD packet to send [00:44:52]OFD Sender: No OFD packet to send [00:44:57]OFD Sender: No OFD packet to send [00:45:02]OFD Sender: No OFD packet to send [00:45:07]OFD Sender: No OFD packet to send [00:45:12]OFD Sender: No OFD packet to send [00:45:17]OFD Sender: No OFD packet to send [00:45:22]OFD Sender: No OFD packet to send [00:45:27]OFD Sender: No OFD packet to send [00:45:32]OFD Sender: No OFD packet to send [00:45:37]OFD Sender: No OFD packet to send [00:45:42]OFD Sender: No OFD packet to send [00:45:47]OFD Sender: No OFD packet to send [00:45:52]OFD Sender: No OFD packet to send [00:45:57]OFD Sender: No OFD packet to send [00:46:02]OFD Sender: No OFD packet to send [00:46:07]OFD Sender: No OFD packet to send [00:46:12]OFD Sender: No OFD packet to send [00:46:17]OFD Sender: No OFD packet to send [00:46:22]OFD Sender: No OFD packet to send [00:46:27]OFD Sender: No OFD packet to send [00:46:32]OFD Sender: No OFD packet to send [00:46:37]OFD Sender: No OFD packet to send [00:46:42]OFD Sender: No OFD packet to send [00:46:47]OFD Sender: No OFD packet to send [00:46:52]OFD Sender: No OFD packet to send [00:46:57]OFD Sender: No OFD packet to send [00:47:02]OFD Sender: No OFD packet to send [00:47:07]OFD Sender: No OFD packet to send [00:47:12]OFD Sender: No OFD packet to send [00:47:17]OFD Sender: No OFD packet to send [00:47:22]OFD Sender: No OFD packet to send [00:47:27]OFD Sender: No OFD packet to send [00:47:32]OFD Sender: No OFD packet to send [00:47:37]OFD Sender: No OFD packet to send [00:47:42]OFD Sender: No OFD packet to send [00:47:47]OFD Sender: No OFD packet to send [00:47:52]OFD Sender: No OFD packet to send [00:47:57]OFD Sender: No OFD packet to send [00:48:02]OFD Sender: No OFD packet to send [00:48:07]OFD Sender: No OFD packet to send [00:48:12]OFD Sender: No OFD packet to send [00:48:17]OFD Sender: No OFD packet to send [00:48:22]OFD Sender: No OFD packet to send [00:48:27]OFD Sender: No OFD packet to send [00:48:32]OFD Sender: No OFD packet to send [00:48:37]OFD Sender: No OFD packet to send [00:48:42]OFD Sender: No OFD packet to send [00:48:47]OFD Sender: No OFD packet to send [00:48:52]OFD Sender: No OFD packet to send [00:48:57]OFD Sender: No OFD packet to send [00:49:02]OFD Sender: No OFD packet to send [00:49:07]OFD Sender: No OFD packet to send [00:49:12]OFD Sender: No OFD packet to send [00:49:17]OFD Sender: No OFD packet to send [00:49:22]OFD Sender: No OFD packet to send [00:49:27]OFD Sender: No OFD packet to send [00:49:32]OFD Sender: No OFD packet to send [00:49:37]OFD Sender: No OFD packet to send [00:49:42]OFD Sender: No OFD packet to send [00:49:47]OFD Sender: No OFD packet to send [00:49:52]OFD Sender: No OFD packet to send [00:49:57]OFD Sender: No OFD packet to send [00:50:02]OFD Sender: No OFD packet to send [00:50:07]OFD Sender: No OFD packet to send [00:50:12]OFD Sender: No OFD packet to send [00:50:17]OFD Sender: No OFD packet to send [00:50:22]OFD Sender: No OFD packet to send [00:50:27]OFD Sender: No OFD packet to send [00:50:33]OFD Sender: No OFD packet to send [00:50:38]OFD Sender: No OFD packet to send [00:50:43]OFD Sender: No OFD packet to send [00:50:48]OFD Sender: No OFD packet to send [00:50:53]OFD Sender: No OFD packet to send [00:50:58]OFD Sender: No OFD packet to send [00:51:03]OFD Sender: No OFD packet to send [00:51:08]OFD Sender: No OFD packet to send [00:51:13]OFD Sender: No OFD packet to send [00:51:18]OFD Sender: No OFD packet to send [00:51:23]OFD Sender: No OFD packet to send [00:51:25]accept exits with 7 [00:51:25]New connection [00:51:25]New thread 3066850660 created [00:51:25]Thread 3066707300 joined [00:51:25]Waiting for new connection... [00:51:25] Sock 7.Parse request [00:51:25]Sock 7.Check first char [00:51:25]Sock 7.First char is OK [00:51:25]request: POST /json_proto HTTP/1.0 [00:51:25]Method: POST [00:51:25]URL: /json_proto [00:51:25]Method is POST - this is cgi request [00:51:25]url: /json_proto [00:51:25]query_string will be loaded in cgi processing [00:51:25]execute_cgi json_proto POST (null) [00:51:25]execute_cgi path=json_proto method=POST [00:51:25]POST find Content-Length [00:51:25]Host: 172.17.52.132:8080 [00:51:25]Content-Length: 615 [00:51:25]Content-Type: application/json [00:51:25] [00:51:25]POST finish read [00:51:25]Found Content-Length = 615 [00:51:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)99999", "tax_sys" : 0, "items" : [ { "code": "48743273", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Marlboro Touch", "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" ] } } [00:51:25]execute_script... [00:51: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)99999", "tax_sys" : 0, "items" : [ { "code": "48743273", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Marlboro Touch", "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" ] } } [00:51:25]POST & json_proto [00:51:25]process_json_proto [00:51:25]json parsed OK: [00:51:25]protocol is kg_v1.0 [00:51:25]action value=close_receipt [00:51:25]process_action close_receipt [00:51:25]cmd_close_receipt [00:51:25]MH_GetDate [00:51:25]Write to MH i2c: F0 00 00 05 5C 50 [00:51:25]Write i2c OK [00:51:25]MH_I2C_Read... [00:51:25]Read from MH i2c: F0 [00:51:25]MH_I2C_Read... [00:51:25]Read from MH i2c: F0 09 00 [00:51:25]MH_I2C_Read... [00:51:25]Read from MH i2c: F0 09 00 05 5C 00 19 54 14 67 5A BE F6 66 B5 [00:51:25]GetLastDocTimeStamp 1729383370 [00:51:25]current date 1729385497 [00:51:25]FM_GetShiftState [00:51:25]SAM_PROTO_GetShiftState [00:51:25]wFMCommunicate request_size=4 [00:51:25]MH_SAM_APDU [00:51:25]CAPDU: 80 13 01 00 [00:51:25]Write to MH i2c: E2 08 00 06 5C 80 13 01 00 00 00 00 00 DF [00:51:25]Write i2c OK [00:51:25]MH_I2C_Read... [00:51:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:51:25]Read from MH i2c: E2 [00:51:25]MH_I2C_Read... [00:51:25]Read from MH i2c: E2 0E 00 [00:51:25]MH_I2C_Read... [00:51:25]Read from MH i2c: E2 0E 00 06 5C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 C9 [00:51:25]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [00:51:25]wFMCommunicate OK [00:51:25]SAM_PROTO_GetShiftState done [00:51:25]FM_GetShiftState done [00:51:25]opened in 1729382427 [00:51:25]opened+sec_in_day 1729468827 [00:51:25]quantity*price = 14400 [00:51:25]sum+1 = 14401 [00:51:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 3 20.10.2024 00:51 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2622 ФПД: 21623824564101 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T005137&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2622&fm=21623824564101&tin=02508201610067®Number=0000000000207295&sum=14400 0 [00:51:26]StoreToDocumentArchive [00:51:26]shift 24 fd 2622 [00:51:26]save to /storage/0024/doc_00002622 [00:51:26]save last doc name /storage/0024/doc_00002622 to /storage/kkm_last_doc_name [00:51:26]save OK [00:51:26]Clear old archive folders... [00:51:26]ProcessDocumentItem done err = 0, tmpTLVsize=268 [00:51:26]tlvbuf is 01517B50 [00:51:26]SAM_PROTO_ClearQueue [00:51:26]wFMCommunicate request_size=4 [00:51:26]MH_SAM_APDU [00:51:26]CAPDU: 80 09 00 00 [00:51:26]Write to MH i2c: E2 08 00 13 5C 80 09 00 00 00 00 00 00 E1 [00:51:26]Write i2c OK [00:51:26]MH_I2C_Read... [00:51:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:51:26]Read from MH i2c: E2 [00:51:26]MH_I2C_Read... [00:51:26]Read from MH i2c: E2 03 00 [00:51:26]MH_I2C_Read... [00:51:26]Read from MH i2c: E2 03 00 13 5C 00 90 00 E3 [00:51:26]RAPDU: 90 00 [00:51:26]wFMCommunicate OK [00:51:26]SAM_PROTO_ClearQueue done [00:51:26]KKMCreateOFDPacket [00:51:26]OFDProtocolAddRootSTLVToBuf [00:51:26]FM_MakeSignedData [00:51:26]FM_MakeSignedData [00:51:26]SAM_PROTO_SignData [00:51:26]wFMCommunicate request_size=4 [00:51:26]MH_SAM_APDU [00:51:26]CAPDU: 80 0D 01 02 [00:51:26]Write to MH i2c: E2 08 00 14 5C 80 0D 01 02 00 00 00 00 E9 [00:51:26]Write i2c OK [00:51:26]MH_I2C_Read... [00:51:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:51:26]Read from MH i2c: E2 [00:51:26]MH_I2C_Read... [00:51:26]Read from MH i2c: E2 03 00 [00:51:26]MH_I2C_Read... [00:51:26]Read from MH i2c: E2 03 00 14 5C 00 90 00 E4 [00:51:26]RAPDU: 90 00 [00:51:26]wFMCommunicate OK [00:51:26]wFMCommunicate request_size=255 [00:51:26]MH_SAM_APDU [00:51:26]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 33 32 37 33 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 61 72 6C 62 6F 72 6F 20 54 6F 75 63 68 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 03 00 00 00 F4 03 04 00 19 54 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 [00:51:26]Write to MH i2c: E2 02 01 15 5C 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 33 32 37 33 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 61 72 6C 62 6F 72 6F 20 54 6F 75 63 68 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 03 00 00 00 F4 03 04 00 19 54 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 00 00 7E [00:51:26]Write i2c OK [00:51:26]MH_I2C_Read... [00:51:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:51:27]Read from MH i2c: E2 [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: E2 03 00 [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: E2 03 00 15 5C 00 90 00 E5 [00:51:27]RAPDU: 90 00 [00:51:27]wFMCommunicate OK [00:51:27]wFMCommunicate request_size=27 [00:51:27]MH_SAM_APDU [00:51:27]CAPDU: 80 0D 02 02 16 32 38 32 30 10 04 04 00 3E 0A 00 00 35 04 06 00 13 AA B0 61 BF 85 [00:51:27]Write to MH i2c: E2 1E 00 16 5C 80 0D 02 02 16 00 32 38 32 30 10 04 04 00 3E 0A 00 00 35 04 06 00 13 AA B0 61 BF 85 00 00 95 [00:51:27]Write i2c OK [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: E2 [00:51:27]MH_I2C_Read... [00:51:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:51:27]Read from MH i2c: E2 03 00 [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: E2 03 00 16 5C 00 90 00 E6 [00:51:27]RAPDU: 90 00 [00:51:27]wFMCommunicate OK [00:51:27]wFMCommunicate request_size=4 [00:51:27]MH_SAM_APDU [00:51:27]CAPDU: 80 0D 03 02 [00:51:27]Write to MH i2c: E2 08 00 17 5C 80 0D 03 02 00 00 00 00 EE [00:51:27]Write i2c OK [00:51:27]MH_I2C_Read... [00:51:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:51:27]Read from MH i2c: E2 [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: E2 0B 00 [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: E2 0B 00 17 5C 00 71 F8 D3 46 97 D4 B8 62 90 00 F6 [00:51:27]RAPDU: 71 F8 D3 46 97 D4 B8 62 90 00 [00:51:27]wFMCommunicate OK [00:51:27]SAM_PROTO_SignData done [00:51:27]FM_MakeSignedData done [00:51:27]CreateOFDProtocolMessage [00:51:27]wFMCommunicate request_size=4 [00:51:27]MH_SAM_APDU [00:51:27]CAPDU: 80 11 00 00 [00:51:27]Write to MH i2c: E2 08 00 18 5C 80 11 00 00 00 00 00 00 EE [00:51:27]Write i2c OK [00:51:27]MH_I2C_Read... [00:51:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:51:27]Read from MH i2c: E2 [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: E2 17 00 [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: E2 17 00 18 5C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 36 [00:51:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [00:51:27]wFMCommunicate OK [00:51:27]CreateOFDProtocolMessage done [00:51:27]OFDSenderStorePacket 2622 [00:51:27]StoreOFDPacket docnum=2622 [00:51:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 20 01 00 00 56 55 18 01 9D 39 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 33 32 37 33 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 61 72 6C 62 6F 72 6F 20 54 6F 75 63 68 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 03 00 00 00 F4 03 04 00 19 54 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3E 0A 00 00 35 04 06 00 13 AA B0 61 BF 85 71 F8 D3 46 97 D4 B8 62 [00:51:27]CheckFolder [00:51:27]dirname=/storage/ofd_packets [00:51:27]CheckFolder done [00:51:27]ProducePacketName [00:51:27]name=ofd_packets/00002622 [00:51:27]NVStorageSaveData ofd_packets/00002622 [00:51:27]File name is /storage/ofd_packets/00002622 [00:51:27]Write 318 bytes [00:51:27]NVStorageSaveData done [00:51:27]OFDSenderStorePacket done [00:51:27]KKMCreateOFDPacket done [00:51:27]NVStorageSaveData kkm_last_timestamp [00:51:27]File name is /storage/kkm_last_timestamp [00:51:27]Write 4 bytes [00:51:27]NVStorageSaveData done [00:51:27]ExternCall_PrintAddStr [00:51:27]wPrintStart [00:51:27]Write to MH i2c: 01 00 00 19 5C 75 [00:51:27]Write i2c OK [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: 01 [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: 01 07 00 [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: 01 07 00 19 5C 00 00 00 00 00 FF 0F 8A [00:51:27]RasterBufferAndPrint [00:51:27]line Счет N : (3)99999 [00:51:27]line ИНН: 02508201610067 [00:51:27]line Контрольно-Кассовый Чек [00:51:27]line ПРОДАЖА [00:51:27]line Товар: 48743273 [00:51:27]line Сигареты Marlboro Touch [00:51:27]line 1.000 * 144.00 [00:51:27]line = 144.00 [00:51:27]line НДС 12% НСП 1% [00:51:27]line > о реализуемом товаре [00:51:27]line ИТОГО: 144.00 [00:51:27]line НСП 1% : 1.27 [00:51:27]line НДС 12% : 15.29 [00:51:27]line Наличными: 144.00 [00:51:27]line Безнал.: 0.00 [00:51:27]line Место: АЗС № 162 "Партнер Нефть" [00:51:27]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [00:51:27]line СНО: Общий режим [00:51:27]line Чек 3 20.10.2024 00:51 [00:51:27]line Смена: 24 ФФД: 1.0 [00:51:27]line ЗНМ: 0300000191 [00:51:27]line РНМ: 0000000000207295 [00:51:27]line Версия ККМ: v1.0 [00:51:27]line ФМ: 0000000002342820 [00:51:27]line ФД: 2622 [00:51:27]line ФПД: 21623824564101 [00:51:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T005137&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2622&fm=21623824564101&tin=02508201610067®Number=0000000000207295&sum=14400 [00:51:27]line 0 [00:51:27]written 0, free lines is 4095 [00:51:27]OFD Sender: Processing packet 2622 [packets to send 1, broken 0] [00:51:27]ProducePacketName [00:51:27]name=ofd_packets/00002622 [00:51:27]OFD Sender: To server: pG, [00:51:27]CommunicateWithHost lk.salyk.kg:30040 [00:51:27]ConnectInit lk.salyk.kg [00:51:27]Connected sock=10 [00:51:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 20 01 00 00 56 55 18 01 9D 39 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 38 37 34 33 32 37 33 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 61 72 6C 62 6F 72 6F 20 54 6F 75 63 68 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 03 00 00 00 F4 03 04 00 19 54 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3E 0A 00 00 35 04 06 00 13 AA B0 61 BF 85 71 F8 D3 46 97 D4 B8 62 [00:51:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 70 A3 47 00 80 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 32 33 34 32 38 32 30 10 04 04 00 3E 0A 00 00 F4 03 04 00 78 FF 13 67 B6 04 01 00 00 F1 72 66 03 DC C4 57 21 [00:51:27]CommunicateWithHost err = 0 [00:51:27]CheckOFDResponse [00:51:27]1017 (14) - 77093643461234 [00:51:27]1041 (16) - 0000000002342820 [00:51:27]1040 (4) - 2622 [00:51:27]1012 (4) - 19.10.2024 18:50 [00:51:27]1206 (1) - 0 [00:51:27]OFD Sender: Remove packet 2622 [00:51:27]ProducePacketName [00:51:27]name=ofd_packets/00002622 [00:51:27]NVStorageDeleteData [00:51:27]Write to MH i2c: 01 00 00 41 5C 9D [00:51:27]Write i2c OK [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: 01 [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: 01 07 00 [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: 01 07 00 41 5C 00 00 00 00 00 C1 0C 71 [00:51:27]RasterBufferAndPrint [00:51:27]line [00:51:27]line [00:51:27]line [00:51:27]line [00:51:27]line [00:51:27]written 0, free lines is 3272 [00:51:27]MH_Cut [00:51:27]Write to MH i2c: D1 01 00 48 5C 01 76 [00:51:27]Write i2c OK [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: D1 [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: D1 01 00 [00:51:27]MH_I2C_Read... [00:51:27]Read from MH i2c: D1 01 00 48 5C 00 75 [00:51:27]Write to MH i2c: 01 00 00 49 5C A5 [00:51:27]Write i2c OK [00:51:27]MH_I2C_Read... [00:51:28]OFD Sender: No OFD packet to send [00:51:28]*** Cut start [00:51:28]*** Partial cut [00:51:28]*** CUTSNS_PIN = 1 [00:51:28]*** CUTSNS_PIN = 0 [00:51:28]*** Brake cut motor [00:51:29]Read from MH i2c: 01 [00:51:29]MH_I2C_Read... [00:51:29]*** Stop cut motor [00:51:29]*** Cut end [00:51:29]Read from MH i2c: 01 07 00 [00:51:29]MH_I2C_Read... [00:51:29]Read from MH i2c: 01 07 00 49 5C 00 00 00 00 00 FF 0F BA [00:51:29]process_action close_receipt done [00:51:29]requested_data is exist [00:51:29]produce_requested_data [00:51:29]requested_item fm.sn is exist - process it [00:51:29]wFMCommunicate request_size=4 [00:51:29]MH_SAM_APDU [00:51:29]CAPDU: 80 11 00 00 [00:51:29]Write to MH i2c: E2 08 00 4A 5C 80 11 00 00 00 00 00 00 20 [00:51:29]Write i2c OK [00:51:29]MH_I2C_Read... [00:51:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:51:29]Read from MH i2c: E2 [00:51:29]MH_I2C_Read... [00:51:29]Read from MH i2c: E2 17 00 [00:51:29]MH_I2C_Read... [00:51:29]Read from MH i2c: E2 17 00 4A 5C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 68 [00:51:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [00:51:29]wFMCommunicate OK [00:51:29]requested_item fd.num is exist - process it [00:51:29]SAM_PROTO_GetFieldsCounters [00:51:29]wFMCommunicate request_size=4 [00:51:29]MH_SAM_APDU [00:51:29]CAPDU: 80 13 00 00 [00:51:29]Write to MH i2c: E2 08 00 4B 5C 80 13 00 00 00 00 00 00 23 [00:51:29]Write i2c OK [00:51:29]MH_I2C_Read... [00:51:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:51:29]Read from MH i2c: E2 [00:51:29]MH_I2C_Read... [00:51:29]Read from MH i2c: E2 62 00 [00:51:29]MH_I2C_Read... [00:51:29]Read from MH i2c: E2 62 00 4B 5C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3E 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 A2 [00:51:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3E 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:51:29]wFMCommunicate OK [00:51:29]SAM_PROTO_GetFieldsCounters done [00:51:29]requested_item shift.num is exist - process it [00:51:29]requested_item shift.opened is exist - process it [00:51:29]req_shift_opened [00:51:29]FM_GetShiftState [00:51:29]SAM_PROTO_GetShiftState [00:51:29]wFMCommunicate request_size=4 [00:51:29]MH_SAM_APDU [00:51:29]CAPDU: 80 13 01 00 [00:51:29]Write to MH i2c: E2 08 00 4C 5C 80 13 01 00 00 00 00 00 25 [00:51:29]Write i2c OK [00:51:29]MH_I2C_Read... [00:51:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:51:29]Read from MH i2c: E2 [00:51:29]MH_I2C_Read... [00:51:29]Read from MH i2c: E2 0E 00 [00:51:29]MH_I2C_Read... [00:51:29]Read from MH i2c: E2 0E 00 4C 5C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 0F [00:51:29]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [00:51:29]wFMCommunicate OK [00:51:29]SAM_PROTO_GetShiftState done [00:51:29]FM_GetShiftState done [00:51:29]req_shift_opened done [00:51:29]requested_item shift.open_date is exist - process it [00:51:29]req_shift_open_date [00:51:29]req_shift_open_date done [00:51:29]produce_requested_data done [00:51:29]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2622,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [00:51:29]process_action_free close_receipt [00:51:29]json_value_free [00:51:29]json_value_free done [00:51:29]process_json_proto returns [00:51:29]Send response to host [00:51:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2622,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [00:51:29]free response buf [00:51:29]execute_script done [00:51:29]execute_script returns [00:51:29]free content buf [00:51:29]Sock 7.Close socket [00:51:29]Sock 7.Thread stoped [00:51:33]OFD Sender: No OFD packet to send [00:51:38]OFD Sender: No OFD packet to send [00:51:43]OFD Sender: No OFD packet to send [00:51:48]OFD Sender: No OFD packet to send [00:51:53]OFD Sender: No OFD packet to send [00:51:58]OFD Sender: No OFD packet to send [00:52:03]OFD Sender: No OFD packet to send [00:52:08]OFD Sender: No OFD packet to send [00:52:13]OFD Sender: No OFD packet to send [00:52:18]OFD Sender: No OFD packet to send [00:52:23]OFD Sender: No OFD packet to send [00:52:28]OFD Sender: No OFD packet to send [00:52:33]OFD Sender: No OFD packet to send [00:52:38]OFD Sender: No OFD packet to send [00:52:43]OFD Sender: No OFD packet to send [00:52:48]OFD Sender: No OFD packet to send [00:52:53]OFD Sender: No OFD packet to send [00:52:58]OFD Sender: No OFD packet to send [00:53:03]OFD Sender: No OFD packet to send [00:53:08]OFD Sender: No OFD packet to send [00:53:13]OFD Sender: No OFD packet to send [00:53:18]OFD Sender: No OFD packet to send [00:53:23]OFD Sender: No OFD packet to send [00:53:28]OFD Sender: No OFD packet to send [00:53:33]OFD Sender: No OFD packet to send [00:53:38]OFD Sender: No OFD packet to send [00:53:43]OFD Sender: No OFD packet to send [00:53:48]OFD Sender: No OFD packet to send [00:53:53]OFD Sender: No OFD packet to send [00:53:58]OFD Sender: No OFD packet to send [00:54:03]OFD Sender: No OFD packet to send [00:54:08]OFD Sender: No OFD packet to send [00:54:13]OFD Sender: No OFD packet to send [00:54:18]OFD Sender: No OFD packet to send [00:54:23]OFD Sender: No OFD packet to send [00:54:28]OFD Sender: No OFD packet to send [00:54:33]OFD Sender: No OFD packet to send [00:54:38]OFD Sender: No OFD packet to send [00:54:43]OFD Sender: No OFD packet to send [00:54:48]OFD Sender: No OFD packet to send [00:54:53]OFD Sender: No OFD packet to send [00:54:58]OFD Sender: No OFD packet to send [00:55:03]OFD Sender: No OFD packet to send [00:55:08]OFD Sender: No OFD packet to send [00:55:13]OFD Sender: No OFD packet to send [00:55:18]OFD Sender: No OFD packet to send [00:55:23]OFD Sender: No OFD packet to send [00:55:28]OFD Sender: No OFD packet to send [00:55:33]OFD Sender: No OFD packet to send [00:55:38]OFD Sender: No OFD packet to send [00:55:43]OFD Sender: No OFD packet to send [00:55:48]OFD Sender: No OFD packet to send [00:55:53]OFD Sender: No OFD packet to send [00:55:58]OFD Sender: No OFD packet to send [00:56:03]OFD Sender: No OFD packet to send [00:56:08]OFD Sender: No OFD packet to send [00:56:13]OFD Sender: No OFD packet to send [00:56:18]OFD Sender: No OFD packet to send [00:56:23]OFD Sender: No OFD packet to send [00:56:28]OFD Sender: No OFD packet to send [00:56:33]OFD Sender: No OFD packet to send [00:56:38]OFD Sender: No OFD packet to send [00:56:43]OFD Sender: No OFD packet to send [00:56:48]OFD Sender: No OFD packet to send [00:56:53]OFD Sender: No OFD packet to send [00:56:58]OFD Sender: No OFD packet to send [00:57:03]OFD Sender: No OFD packet to send [00:57:08]OFD Sender: No OFD packet to send [00:57:13]OFD Sender: No OFD packet to send [00:57:18]OFD Sender: No OFD packet to send [00:57:23]OFD Sender: No OFD packet to send [00:57:28]OFD Sender: No OFD packet to send [00:57:33]OFD Sender: No OFD packet to send [00:57:38]OFD Sender: No OFD packet to send [00:57:43]OFD Sender: No OFD packet to send [00:57:48]OFD Sender: No OFD packet to send [00:57:53]OFD Sender: No OFD packet to send [00:57:58]OFD Sender: No OFD packet to send [00:58:03]OFD Sender: No OFD packet to send [00:58:08]OFD Sender: No OFD packet to send [00:58:13]OFD Sender: No OFD packet to send [00:58:18]OFD Sender: No OFD packet to send [00:58:23]OFD Sender: No OFD packet to send [00:58:28]OFD Sender: No OFD packet to send [00:58:33]OFD Sender: No OFD packet to send [00:58:38]OFD Sender: No OFD packet to send [00:58:43]OFD Sender: No OFD packet to send [00:58:48]OFD Sender: No OFD packet to send [00:58:53]OFD Sender: No OFD packet to send [00:58:58]OFD Sender: No OFD packet to send [00:59:03]OFD Sender: No OFD packet to send [00:59:08]OFD Sender: No OFD packet to send [00:59:13]OFD Sender: No OFD packet to send [00:59:18]OFD Sender: No OFD packet to send [00:59:23]OFD Sender: No OFD packet to send [00:59:28]OFD Sender: No OFD packet to send [00:59:33]OFD Sender: No OFD packet to send [00:59:38]OFD Sender: No OFD packet to send [00:59:43]OFD Sender: No OFD packet to send [00:59:48]OFD Sender: No OFD packet to send [00:59:53]OFD Sender: No OFD packet to send [00:59:58]OFD Sender: No OFD packet to send [01:00:03]OFD Sender: No OFD packet to send [01:00:08]OFD Sender: No OFD packet to send [01:00:13]OFD Sender: No OFD packet to send [01:00:18]OFD Sender: No OFD packet to send [01:00:23]OFD Sender: No OFD packet to send [01:00:28]OFD Sender: No OFD packet to send [01:00:33]OFD Sender: No OFD packet to send [01:00:38]OFD Sender: No OFD packet to send [01:00:43]OFD Sender: No OFD packet to send [01:00:48]OFD Sender: No OFD packet to send [01:00:53]OFD Sender: No OFD packet to send [01:00:58]OFD Sender: No OFD packet to send [01:01:03]OFD Sender: No OFD packet to send [01:01:08]OFD Sender: No OFD packet to send [01:01:13]OFD Sender: No OFD packet to send [01:01:18]OFD Sender: No OFD packet to send [01:01:23]OFD Sender: No OFD packet to send [01:01:28]OFD Sender: No OFD packet to send [01:01:33]OFD Sender: No OFD packet to send [01:01:38]OFD Sender: No OFD packet to send [01:01:43]OFD Sender: No OFD packet to send [01:01:48]OFD Sender: No OFD packet to send [01:01:53]OFD Sender: No OFD packet to send [01:01:58]OFD Sender: No OFD packet to send [01:02:03]OFD Sender: No OFD packet to send [01:02:08]OFD Sender: No OFD packet to send [01:02:13]OFD Sender: No OFD packet to send [01:02:18]OFD Sender: No OFD packet to send [01:02:23]OFD Sender: No OFD packet to send [01:02:28]OFD Sender: No OFD packet to send [01:02:33]OFD Sender: No OFD packet to send [01:02:38]OFD Sender: No OFD packet to send [01:02:43]OFD Sender: No OFD packet to send [01:02:48]OFD Sender: No OFD packet to send [01:02:53]OFD Sender: No OFD packet to send [01:02:58]OFD Sender: No OFD packet to send [01:03:03]OFD Sender: No OFD packet to send [01:03:08]OFD Sender: No OFD packet to send [01:03:13]OFD Sender: No OFD packet to send [01:03:18]OFD Sender: No OFD packet to send [01:03:23]OFD Sender: No OFD packet to send [01:03:28]OFD Sender: No OFD packet to send [01:03:33]OFD Sender: No OFD packet to send [01:03:38]OFD Sender: No OFD packet to send [01:03:43]OFD Sender: No OFD packet to send [01:03:48]OFD Sender: No OFD packet to send [01:03:53]OFD Sender: No OFD packet to send [01:03:58]OFD Sender: No OFD packet to send [01:04:03]OFD Sender: No OFD packet to send [01:04:08]OFD Sender: No OFD packet to send [01:04:13]OFD Sender: No OFD packet to send [01:04:18]OFD Sender: No OFD packet to send [01:04:23]OFD Sender: No OFD packet to send [01:04:28]OFD Sender: No OFD packet to send [01:04:33]OFD Sender: No OFD packet to send [01:04:38]OFD Sender: No OFD packet to send [01:04:43]OFD Sender: No OFD packet to send [01:04:48]OFD Sender: No OFD packet to send [01:04:53]OFD Sender: No OFD packet to send [01:04:58]OFD Sender: No OFD packet to send [01:05:03]OFD Sender: No OFD packet to send [01:05:08]OFD Sender: No OFD packet to send [01:05:13]OFD Sender: No OFD packet to send [01:05:18]OFD Sender: No OFD packet to send [01:05:23]OFD Sender: No OFD packet to send [01:05:28]OFD Sender: No OFD packet to send [01:05:33]OFD Sender: No OFD packet to send [01:05:38]OFD Sender: No OFD packet to send [01:05:43]OFD Sender: No OFD packet to send [01:05:48]OFD Sender: No OFD packet to send [01:05:53]OFD Sender: No OFD packet to send [01:05:58]OFD Sender: No OFD packet to send [01:06:03]OFD Sender: No OFD packet to send [01:06:08]OFD Sender: No OFD packet to send [01:06:13]OFD Sender: No OFD packet to send [01:06:18]OFD Sender: No OFD packet to send [01:06:23]OFD Sender: No OFD packet to send [01:06:28]OFD Sender: No OFD packet to send [01:06:33]OFD Sender: No OFD packet to send [01:06:38]OFD Sender: No OFD packet to send [01:06:43]OFD Sender: No OFD packet to send [01:06:48]OFD Sender: No OFD packet to send [01:06:53]OFD Sender: No OFD packet to send [01:06:58]OFD Sender: No OFD packet to send [01:07:03]OFD Sender: No OFD packet to send [01:07:08]OFD Sender: No OFD packet to send [01:07:13]OFD Sender: No OFD packet to send [01:07:18]OFD Sender: No OFD packet to send [01:07:23]OFD Sender: No OFD packet to send [01:07:28]OFD Sender: No OFD packet to send [01:07:33]OFD Sender: No OFD packet to send [01:07:38]OFD Sender: No OFD packet to send [01:07:43]OFD Sender: No OFD packet to send [01:07:48]OFD Sender: No OFD packet to send [01:07:53]OFD Sender: No OFD packet to send [01:07:58]OFD Sender: No OFD packet to send [01:08:03]OFD Sender: No OFD packet to send [01:08:08]OFD Sender: No OFD packet to send [01:08:13]OFD Sender: No OFD packet to send [01:08:18]OFD Sender: No OFD packet to send [01:08:23]OFD Sender: No OFD packet to send [01:08:28]OFD Sender: No OFD packet to send [01:08:33]OFD Sender: No OFD packet to send [01:08:38]OFD Sender: No OFD packet to send [01:08:43]OFD Sender: No OFD packet to send [01:08:48]OFD Sender: No OFD packet to send [01:08:53]OFD Sender: No OFD packet to send [01:08:58]OFD Sender: No OFD packet to send [01:09:03]OFD Sender: No OFD packet to send [01:09:08]OFD Sender: No OFD packet to send [01:09:13]OFD Sender: No OFD packet to send [01:09:18]OFD Sender: No OFD packet to send [01:09:23]OFD Sender: No OFD packet to send [01:09:28]OFD Sender: No OFD packet to send [01:09:33]OFD Sender: No OFD packet to send [01:09:38]OFD Sender: No OFD packet to send [01:09:43]OFD Sender: No OFD packet to send [01:09:49]OFD Sender: No OFD packet to send [01:09:54]OFD Sender: No OFD packet to send [01:09:59]OFD Sender: No OFD packet to send [01:10:04]OFD Sender: No OFD packet to send [01:10:09]OFD Sender: No OFD packet to send [01:10:14]OFD Sender: No OFD packet to send [01:10:19]OFD Sender: No OFD packet to send [01:10:24]OFD Sender: No OFD packet to send [01:10:29]OFD Sender: No OFD packet to send [01:10:34]OFD Sender: No OFD packet to send [01:10:39]OFD Sender: No OFD packet to send [01:10:44]OFD Sender: No OFD packet to send [01:10:49]OFD Sender: No OFD packet to send [01:10:54]OFD Sender: No OFD packet to send [01:10:59]OFD Sender: No OFD packet to send [01:11:04]OFD Sender: No OFD packet to send [01:11:09]OFD Sender: No OFD packet to send [01:11:14]OFD Sender: No OFD packet to send [01:11:19]OFD Sender: No OFD packet to send [01:11:24]OFD Sender: No OFD packet to send [01:11:29]OFD Sender: No OFD packet to send [01:11:34]OFD Sender: No OFD packet to send [01:11:39]OFD Sender: No OFD packet to send [01:11:44]OFD Sender: No OFD packet to send [01:11:49]OFD Sender: No OFD packet to send [01:11:54]OFD Sender: No OFD packet to send [01:11:59]OFD Sender: No OFD packet to send [01:12:04]OFD Sender: No OFD packet to send [01:12:09]OFD Sender: No OFD packet to send [01:12:14]OFD Sender: No OFD packet to send [01:12:19]OFD Sender: No OFD packet to send [01:12:24]OFD Sender: No OFD packet to send [01:12:29]OFD Sender: No OFD packet to send [01:12:34]OFD Sender: No OFD packet to send [01:12:39]OFD Sender: No OFD packet to send [01:12:44]OFD Sender: No OFD packet to send [01:12:49]OFD Sender: No OFD packet to send [01:12:54]OFD Sender: No OFD packet to send [01:12:59]OFD Sender: No OFD packet to send [01:13:04]OFD Sender: No OFD packet to send [01:13:09]OFD Sender: No OFD packet to send [01:13:14]OFD Sender: No OFD packet to send [01:13:19]OFD Sender: No OFD packet to send [01:13:24]OFD Sender: No OFD packet to send [01:13:29]OFD Sender: No OFD packet to send [01:13:34]OFD Sender: No OFD packet to send [01:13:39]OFD Sender: No OFD packet to send [01:13:44]OFD Sender: No OFD packet to send [01:13:49]OFD Sender: No OFD packet to send [01:13:54]OFD Sender: No OFD packet to send [01:13:59]OFD Sender: No OFD packet to send [01:14:04]OFD Sender: No OFD packet to send [01:14:09]OFD Sender: No OFD packet to send [01:14:14]OFD Sender: No OFD packet to send [01:14:19]OFD Sender: No OFD packet to send [01:14:24]OFD Sender: No OFD packet to send [01:14:29]OFD Sender: No OFD packet to send [01:14:34]OFD Sender: No OFD packet to send [01:14:39]OFD Sender: No OFD packet to send [01:14:44]OFD Sender: No OFD packet to send [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:39]OFD Sender: No OFD packet to send [01:21:44]OFD Sender: No OFD packet to send [01:21:49]OFD Sender: No OFD packet to send [01:21:54]OFD Sender: No OFD packet to send [01:21:59]OFD Sender: No OFD packet to send [01:22:04]OFD Sender: No OFD packet to send [01:22:09]OFD Sender: No OFD packet to send [01:22:14]OFD Sender: No OFD packet to send [01:22:19]OFD Sender: No OFD packet to send [01:22:24]OFD Sender: No OFD packet to send [01:22:29]OFD Sender: No OFD packet to send [01:22:34]OFD Sender: No OFD packet to send [01:22:39]OFD Sender: No OFD packet to send [01:22:44]OFD Sender: No OFD packet to send [01:22:49]OFD Sender: No OFD packet to send [01:22:54]OFD Sender: No OFD packet to send [01:22:59]OFD Sender: No OFD packet to send [01:23:04]OFD Sender: No OFD packet to send [01:23:09]OFD Sender: No OFD packet to send [01:23:14]OFD Sender: No OFD packet to send [01:23:19]OFD Sender: No OFD packet to send [01:23:24]OFD Sender: No OFD packet to send [01:23:29]OFD Sender: No OFD packet to send [01:23:34]OFD Sender: No OFD packet to send [01:23:39]OFD Sender: No OFD packet to send [01:23:44]OFD Sender: No OFD packet to send [01:23:49]OFD Sender: No OFD packet to send [01:23:54]OFD Sender: No OFD packet to send [01:23:59]OFD Sender: No OFD packet to send [01:24:04]OFD Sender: No OFD packet to send [01:24:09]OFD Sender: No OFD packet to send [01:24:14]OFD Sender: No OFD packet to send [01:24:19]OFD Sender: No OFD packet to send [01:24:24]OFD Sender: No OFD packet to send [01:24:29]OFD Sender: No OFD packet to send [01:24:34]OFD Sender: No OFD packet to send [01:24:39]OFD Sender: No OFD packet to send [01:24:44]OFD Sender: No OFD packet to send [01:24:49]OFD Sender: No OFD packet to send [01:24:54]OFD Sender: No OFD packet to send [01:24:59]OFD Sender: No OFD packet to send [01:25:04]OFD Sender: No OFD packet to send [01:25:09]OFD Sender: No OFD packet to send [01:25:14]OFD Sender: No OFD packet to send [01:25:19]OFD Sender: No OFD packet to send [01:25:24]OFD Sender: No OFD packet to send [01:25:29]OFD Sender: No OFD packet to send [01:25:34]OFD Sender: No OFD packet to send [01:25:39]OFD Sender: No OFD packet to send [01:25:44]OFD Sender: No OFD packet to send [01:25:49]OFD Sender: No OFD packet to send [01:25:54]OFD Sender: No OFD packet to send [01:25:59]OFD Sender: No OFD packet to send [01:26:04]OFD Sender: No OFD packet to send [01:26:09]OFD Sender: No OFD packet to send [01:26:14]OFD Sender: No OFD packet to send [01:26:19]OFD Sender: No OFD packet to send [01:26:24]OFD Sender: No OFD packet to send [01:26:29]OFD Sender: No OFD packet to send [01:26:34]OFD Sender: No OFD packet to send [01:26:39]OFD Sender: No OFD packet to send [01:26:44]OFD Sender: No OFD packet to send [01:26:49]OFD Sender: No OFD packet to send [01:26:54]OFD Sender: No OFD packet to send [01:26:59]OFD Sender: No OFD packet to send [01:27:04]OFD Sender: No OFD packet to send [01:27:09]OFD Sender: No OFD packet to send [01:27:14]OFD Sender: No OFD packet to send [01:27:19]OFD Sender: No OFD packet to send [01:27:24]OFD Sender: No OFD packet to send [01:27:29]OFD Sender: No OFD packet to send [01:27:34]OFD Sender: No OFD packet to send [01:27:39]OFD Sender: No OFD packet to send [01:27:44]OFD Sender: No OFD packet to send [01:27:49]OFD Sender: No OFD packet to send [01:27:54]OFD Sender: No OFD packet to send [01:27:59]OFD Sender: No OFD packet to send [01:28:04]OFD Sender: No OFD packet to send [01:28:09]OFD Sender: No OFD packet to send [01:28:14]OFD Sender: No OFD packet to send [01:28:19]OFD Sender: No OFD packet to send [01:28:24]OFD Sender: No OFD packet to send [01:28:29]OFD Sender: No OFD packet to send [01:28:34]OFD Sender: No OFD packet to send [01:28:39]OFD Sender: No OFD packet to send [01:28:44]OFD Sender: No OFD packet to send [01:28:49]OFD Sender: No OFD packet to send [01:28:54]OFD Sender: No OFD packet to send [01:28:59]OFD Sender: No OFD packet to send [01:29:04]OFD Sender: No OFD packet to send [01:29:09]OFD Sender: No OFD packet to send [01:29:14]OFD Sender: No OFD packet to send [01:29:19]OFD Sender: No OFD packet to send [01:29:24]OFD Sender: No OFD packet to send [01:29:29]OFD Sender: No OFD packet to send [01:29:34]OFD Sender: No OFD packet to send [01:29:39]OFD Sender: No OFD packet to send [01:29:44]OFD Sender: No OFD packet to send [01:29:49]OFD Sender: No OFD packet to send [01:29:54]OFD Sender: No OFD packet to send [01:29:59]OFD Sender: No OFD packet to send [01:30:04]OFD Sender: No OFD packet to send [01:30:09]OFD Sender: No OFD packet to send [01:30:14]OFD Sender: No OFD packet to send [01:30:19]OFD Sender: No OFD packet to send [01:30:24]OFD Sender: No OFD packet to send [01:30:29]OFD Sender: No OFD packet to send [01:30:34]OFD Sender: No OFD packet to send [01:30:39]OFD Sender: No OFD packet to send [01:30:44]OFD Sender: No OFD packet to send [01:30:49]OFD Sender: No OFD packet to send [01:30:54]OFD Sender: No OFD packet to send [01:30:59]OFD Sender: No OFD packet to send [01:31:04]OFD Sender: No OFD packet to send [01:31:09]OFD Sender: No OFD packet to send [01:31:14]OFD Sender: No OFD packet to send [01:31:19]OFD Sender: No OFD packet to send [01:31:24]OFD Sender: No OFD packet to send [01:31:29]OFD Sender: No OFD packet to send [01:31:34]OFD Sender: No OFD packet to send [01:31:40]OFD Sender: No OFD packet to send [01:31:45]OFD Sender: No OFD packet to send [01:31:50]OFD Sender: No OFD packet to send [01:31:55]OFD Sender: No OFD packet to send [01:32:00]OFD Sender: No OFD packet to send [01:32:05]OFD Sender: No OFD packet to send [01:32:10]OFD Sender: No OFD packet to send [01:32:15]OFD Sender: No OFD packet to send [01:32:20]OFD Sender: No OFD packet to send [01:32:25]OFD Sender: No OFD packet to send [01:32:30]OFD Sender: No OFD packet to send [01:32:35]OFD Sender: No OFD packet to send [01:32:40]OFD Sender: No OFD packet to send [01:32:45]OFD Sender: No OFD packet to send [01:32:50]OFD Sender: No OFD packet to send [01:32:55]OFD Sender: No OFD packet to send [01:33:00]OFD Sender: No OFD packet to send [01:33:05]OFD Sender: No OFD packet to send [01:33:10]OFD Sender: No OFD packet to send [01:33:15]OFD Sender: No OFD packet to send [01:33:20]OFD Sender: No OFD packet to send [01:33:25]OFD Sender: No OFD packet to send [01:33:30]OFD Sender: No OFD packet to send [01:33:35]OFD Sender: No OFD packet to send [01:33:40]OFD Sender: No OFD packet to send [01:33:45]OFD Sender: No OFD packet to send [01:33:50]OFD Sender: No OFD packet to send [01:33:55]OFD Sender: No OFD packet to send [01:34:00]OFD Sender: No OFD packet to send [01:34:05]OFD Sender: No OFD packet to send [01:34:10]OFD Sender: No OFD packet to send [01:34:15]OFD Sender: No OFD packet to send [01:34:20]OFD Sender: No OFD packet to send [01:34:25]OFD Sender: No OFD packet to send [01:34:30]OFD Sender: No OFD packet to send [01:34:35]OFD Sender: No OFD packet to send [01:34:40]OFD Sender: No OFD packet to send [01:34:45]OFD Sender: No OFD packet to send [01:34:50]OFD Sender: No OFD packet to send [01:34:55]OFD Sender: No OFD packet to send [01:35:00]OFD Sender: No OFD packet to send [01:35:05]OFD Sender: No OFD packet to send [01:35:10]OFD Sender: No OFD packet to send [01:35:15]OFD Sender: No OFD packet to send [01:35:20]OFD Sender: No OFD packet to send [01:35:25]OFD Sender: No OFD packet to send [01:35:30]OFD Sender: No OFD packet to send [01:35:35]OFD Sender: No OFD packet to send [01:35:40]OFD Sender: No OFD packet to send [01:35:45]OFD Sender: No OFD packet to send [01:35:50]OFD Sender: No OFD packet to send [01:35:55]OFD Sender: No OFD packet to send [01:36:00]OFD Sender: No OFD packet to send [01:36:05]OFD Sender: No OFD packet to send [01:36:10]OFD Sender: No OFD packet to send [01:36:15]OFD Sender: No OFD packet to send [01:36:20]OFD Sender: No OFD packet to send [01:36:25]OFD Sender: No OFD packet to send [01:36:30]OFD Sender: No OFD packet to send [01:36:35]OFD Sender: No OFD packet to send [01:36:40]OFD Sender: No OFD packet to send [01:36:45]OFD Sender: No OFD packet to send [01:36:50]OFD Sender: No OFD packet to send [01:36:55]OFD Sender: No OFD packet to send [01:37:00]OFD Sender: No OFD packet to send [01:37:05]OFD Sender: No OFD packet to send [01:37:10]OFD Sender: No OFD packet to send [01:37:15]OFD Sender: No OFD packet to send [01:37:20]OFD Sender: No OFD packet to send [01:37:25]OFD Sender: No OFD packet to send [01:37:30]OFD Sender: No OFD packet to send [01:37:35]OFD Sender: No OFD packet to send [01:37:40]OFD Sender: No OFD packet to send [01:37:45]OFD Sender: No OFD packet to send [01:37:50]OFD Sender: No OFD packet to send [01:37:55]OFD Sender: No OFD packet to send [01:38:00]OFD Sender: No OFD packet to send [01:38:05]OFD Sender: No OFD packet to send [01:38:10]OFD Sender: No OFD packet to send [01:38:15]OFD Sender: No OFD packet to send [01:38:20]OFD Sender: No OFD packet to send [01:38:25]OFD Sender: No OFD packet to send [01:38:30]OFD Sender: No OFD packet to send [01:38:35]OFD Sender: No OFD packet to send [01:38:40]OFD Sender: No OFD packet to send [01:38:45]OFD Sender: No OFD packet to send [01:38:50]OFD Sender: No OFD packet to send [01:38:55]OFD Sender: No OFD packet to send [01:39:00]OFD Sender: No OFD packet to send [01:39:05]OFD Sender: No OFD packet to send [01:39:10]OFD Sender: No OFD packet to send [01:39:15]OFD Sender: No OFD packet to send [01:39:20]OFD Sender: No OFD packet to send [01:39:25]OFD Sender: No OFD packet to send [01:39:30]OFD Sender: No OFD packet to send [01:39:35]OFD Sender: No OFD packet to send [01:39:40]OFD Sender: No OFD packet to send [01:39:45]OFD Sender: No OFD packet to send [01:39:50]OFD Sender: No OFD packet to send [01:39:55]OFD Sender: No OFD packet to send [01:40:00]OFD Sender: No OFD packet to send [01:40:05]OFD Sender: No OFD packet to send [01:40:10]OFD Sender: No OFD packet to send [01:40:15]OFD Sender: No OFD packet to send [01:40:20]OFD Sender: No OFD packet to send [01:40:25]OFD Sender: No OFD packet to send [01:40:30]OFD Sender: No OFD packet to send [01:40:35]OFD Sender: No OFD packet to send [01:40:40]OFD Sender: No OFD packet to send [01:40:45]OFD Sender: No OFD packet to send [01:40:50]OFD Sender: No OFD packet to send [01:40:55]OFD Sender: No OFD packet to send [01:41:00]OFD Sender: No OFD packet to send [01:41:05]OFD Sender: No OFD packet to send [01:41:10]OFD Sender: No OFD packet to send [01:41:15]OFD Sender: No OFD packet to send [01:41:20]OFD Sender: No OFD packet to send [01:41:25]OFD Sender: No OFD packet to send [01:41:30]OFD Sender: No OFD packet to send [01:41:35]OFD Sender: No OFD packet to send [01:41:40]OFD Sender: No OFD packet to send [01:41:45]OFD Sender: No OFD packet to send [01:41:50]OFD Sender: No OFD packet to send [01:41:55]OFD Sender: No OFD packet to send [01:42:00]OFD Sender: No OFD packet to send [01:42:05]OFD Sender: No OFD packet to send [01:42:10]OFD Sender: No OFD packet to send [01:42:15]OFD Sender: No OFD packet to send [01:42:20]OFD Sender: No OFD packet to send [01:42:25]OFD Sender: No OFD packet to send [01:42:30]OFD Sender: No OFD packet to send [01:42:35]OFD Sender: No OFD packet to send [01:42:40]OFD Sender: No OFD packet to send [01:42:45]OFD Sender: No OFD packet to send [01:42:50]OFD Sender: No OFD packet to send [01:42:55]OFD Sender: No OFD packet to send [01:43:00]OFD Sender: No OFD packet to send [01:43:05]OFD Sender: No OFD packet to send [01:43:10]OFD Sender: No OFD packet to send [01:43:15]OFD Sender: No OFD packet to send [01:43:20]OFD Sender: No OFD packet to send [01:43:25]OFD Sender: No OFD packet to send [01:43:30]OFD Sender: No OFD packet to send [01:43:35]OFD Sender: No OFD packet to send [01:43:40]OFD Sender: No OFD packet to send [01:43:45]OFD Sender: No OFD packet to send [01:43:50]OFD Sender: No OFD packet to send [01:43:55]OFD Sender: No OFD packet to send [01:44:00]OFD Sender: No OFD packet to send [01:44:05]OFD Sender: No OFD packet to send [01:44:10]OFD Sender: No OFD packet to send [01:44:15]OFD Sender: No OFD packet to send [01:44:20]OFD Sender: No OFD packet to send [01:44:25]OFD Sender: No OFD packet to send [01:44:30]OFD Sender: No OFD packet to send [01:44:35]OFD Sender: No OFD packet to send [01:44:40]OFD Sender: No OFD packet to send [01:44:45]OFD Sender: No OFD packet to send [01:44:50]OFD Sender: No OFD packet to send [01:44:55]OFD Sender: No OFD packet to send [01:45:00]OFD Sender: No OFD packet to send [01:45:05]OFD Sender: No OFD packet to send [01:45:10]OFD Sender: No OFD packet to send [01:45:15]OFD Sender: No OFD packet to send [01:45:20]OFD Sender: No OFD packet to send [01:45:25]OFD Sender: No OFD packet to send [01:45:30]OFD Sender: No OFD packet to send [01:45:35]OFD Sender: No OFD packet to send [01:45:40]OFD Sender: No OFD packet to send [01:45:45]OFD Sender: No OFD packet to send [01:45:50]OFD Sender: No OFD packet to send [01:45:55]OFD Sender: No OFD packet to send [01:46:00]OFD Sender: No OFD packet to send [01:46:05]OFD Sender: No OFD packet to send [01:46:10]OFD Sender: No OFD packet to send [01:46:15]OFD Sender: No OFD packet to send [01:46:20]OFD Sender: No OFD packet to send [01:46:25]OFD Sender: No OFD packet to send [01:46:30]OFD Sender: No OFD packet to send [01:46:35]OFD Sender: No OFD packet to send [01:46:40]OFD Sender: No OFD packet to send [01:46:45]OFD Sender: No OFD packet to send [01:46:50]OFD Sender: No OFD packet to send [01:46:55]OFD Sender: No OFD packet to send [01:47:00]OFD Sender: No OFD packet to send [01:47:05]OFD Sender: No OFD packet to send [01:47:10]OFD Sender: No OFD packet to send [01:47:15]OFD Sender: No OFD packet to send [01:47:20]OFD Sender: No OFD packet to send [01:47:25]OFD Sender: No OFD packet to send [01:47:30]OFD Sender: No OFD packet to send [01:47:35]OFD Sender: No OFD packet to send [01:47:40]OFD Sender: No OFD packet to send [01:47:45]OFD Sender: No OFD packet to send [01:47:50]OFD Sender: No OFD packet to send [01:47:55]OFD Sender: No OFD packet to send [01:48:00]OFD Sender: No OFD packet to send [01:48:05]OFD Sender: No OFD packet to send [01:48:10]OFD Sender: No OFD packet to send [01:48:15]OFD Sender: No OFD packet to send [01:48:20]OFD Sender: No OFD packet to send [01:48:25]OFD Sender: No OFD packet to send [01:48:30]OFD Sender: No OFD packet to send [01:48:35]OFD Sender: No OFD packet to send [01:48:40]OFD Sender: No OFD packet to send [01:48:45]OFD Sender: No OFD packet to send [01:48:50]OFD Sender: No OFD packet to send [01:48:55]OFD Sender: No OFD packet to send [01:49:00]OFD Sender: No OFD packet to send [01:49:05]OFD Sender: No OFD packet to send [01:49:10]OFD Sender: No OFD packet to send [01:49:15]OFD Sender: No OFD packet to send [01:49:20]OFD Sender: No OFD packet to send [01:49:25]OFD Sender: No OFD packet to send [01:49:30]OFD Sender: No OFD packet to send [01:49:35]OFD Sender: No OFD packet to send [01:49:40]OFD Sender: No OFD packet to send [01:49:45]OFD Sender: No OFD packet to send [01:49:50]OFD Sender: No OFD packet to send [01:49:55]OFD Sender: No OFD packet to send [01:50:00]OFD Sender: No OFD packet to send [01:50:05]OFD Sender: No OFD packet to send [01:50:10]OFD Sender: No OFD packet to send [01:50:15]OFD Sender: No OFD packet to send [01:50:20]OFD Sender: No OFD packet to send [01:50:25]OFD Sender: No OFD packet to send [01:50:30]OFD Sender: No OFD packet to send [01:50:35]OFD Sender: No OFD packet to send [01:50:40]OFD Sender: No OFD packet to send [01:50:45]OFD Sender: No OFD packet to send [01:50:50]OFD Sender: No OFD packet to send [01:50:55]OFD Sender: No OFD packet to send [01:51:00]OFD Sender: No OFD packet to send [01:51:05]OFD Sender: No OFD packet to send [01:51:10]OFD Sender: No OFD packet to send [01:51:15]OFD Sender: No OFD packet to send [01:51:20]OFD Sender: No OFD packet to send [01:51:25]OFD Sender: No OFD packet to send [01:51:30]OFD Sender: No OFD packet to send [01:51:35]OFD Sender: No OFD packet to send [01:51:40]OFD Sender: No OFD packet to send [01:51:45]OFD Sender: No OFD packet to send [01:51:50]OFD Sender: No OFD packet to send [01:51:55]OFD Sender: No OFD packet to send [01:52:00]OFD Sender: No OFD packet to send [01:52:05]OFD Sender: No OFD packet to send [01:52:10]OFD Sender: No OFD packet to send [01:52:15]OFD Sender: No OFD packet to send [01:52:20]OFD Sender: No OFD packet to send [01:52:25]OFD Sender: No OFD packet to send [01:52:30]OFD Sender: No OFD packet to send [01:52:35]OFD Sender: No OFD packet to send [01:52:40]OFD Sender: No OFD packet to send [01:52:45]OFD Sender: No OFD packet to send [01:52:50]OFD Sender: No OFD packet to send [01:52:55]OFD Sender: No OFD packet to send [01:53:00]OFD Sender: No OFD packet to send [01:53:05]OFD Sender: No OFD packet to send [01:53:10]OFD Sender: No OFD packet to send [01:53:15]OFD Sender: No OFD packet to send [01:53:20]OFD Sender: No OFD packet to send [01:53:25]OFD Sender: No OFD packet to send [01:53:31]OFD Sender: No OFD packet to send [01:53:36]OFD Sender: No OFD packet to send [01:53:41]OFD Sender: No OFD packet to send [01:53:46]OFD Sender: No OFD packet to send [01:53:51]OFD Sender: No OFD packet to send [01:53:56]OFD Sender: No OFD packet to send [01:54:01]OFD Sender: No OFD packet to send [01:54:06]OFD Sender: No OFD packet to send [01:54:11]OFD Sender: No OFD packet to send [01:54:16]OFD Sender: No OFD packet to send [01:54:21]OFD Sender: No OFD packet to send [01:54:26]OFD Sender: No OFD packet to send [01:54:31]OFD Sender: No OFD packet to send [01:54:36]OFD Sender: No OFD packet to send [01:54:41]OFD Sender: No OFD packet to send [01:54:46]OFD Sender: No OFD packet to send [01:54:51]OFD Sender: No OFD packet to send [01:54:56]OFD Sender: No OFD packet to send [01:55:01]OFD Sender: No OFD packet to send [01:55:06]OFD Sender: No OFD packet to send [01:55:11]OFD Sender: No OFD packet to send [01:55:16]OFD Sender: No OFD packet to send [01:55:21]OFD Sender: No OFD packet to send [01:55:26]OFD Sender: No OFD packet to send [01:55:31]OFD Sender: No OFD packet to send [01:55:36]OFD Sender: No OFD packet to send [01:55:41]OFD Sender: No OFD packet to send [01:55:46]OFD Sender: No OFD packet to send [01:55:51]OFD Sender: No OFD packet to send [01:55:56]OFD Sender: No OFD packet to send [01:56:01]OFD Sender: No OFD packet to send [01:56:06]OFD Sender: No OFD packet to send [01:56:11]OFD Sender: No OFD packet to send [01:56:16]OFD Sender: No OFD packet to send [01:56:21]OFD Sender: No OFD packet to send [01:56:26]OFD Sender: No OFD packet to send [01:56:31]OFD Sender: No OFD packet to send [01:56:36]OFD Sender: No OFD packet to send [01:56:41]OFD Sender: No OFD packet to send [01:56:46]OFD Sender: No OFD packet to send [01:56:51]OFD Sender: No OFD packet to send [01:56:56]OFD Sender: No OFD packet to send [01:57:01]OFD Sender: No OFD packet to send [01:57:06]OFD Sender: No OFD packet to send [01:57:11]OFD Sender: No OFD packet to send [01:57:16]OFD Sender: No OFD packet to send [01:57:21]OFD Sender: No OFD packet to send [01:57:26]OFD Sender: No OFD packet to send [01:57:31]OFD Sender: No OFD packet to send [01:57:36]OFD Sender: No OFD packet to send [01:57:41]OFD Sender: No OFD packet to send [01:57:46]OFD Sender: No OFD packet to send [01:57:51]OFD Sender: No OFD packet to send [01:57:56]OFD Sender: No OFD packet to send [01:58:01]OFD Sender: No OFD packet to send [01:58:06]OFD Sender: No OFD packet to send [01:58:11]OFD Sender: No OFD packet to send [01:58:16]OFD Sender: No OFD packet to send [01:58:21]OFD Sender: No OFD packet to send [01:58:26]OFD Sender: No OFD packet to send [01:58:31]OFD Sender: No OFD packet to send [01:58:36]OFD Sender: No OFD packet to send [01:58:41]OFD Sender: No OFD packet to send [01:58:46]OFD Sender: No OFD packet to send [01:58:51]OFD Sender: No OFD packet to send [01:58:56]OFD Sender: No OFD packet to send [01:59:01]OFD Sender: No OFD packet to send [01:59:06]OFD Sender: No OFD packet to send [01:59:11]OFD Sender: No OFD packet to send [01:59:16]OFD Sender: No OFD packet to send [01:59:21]OFD Sender: No OFD packet to send [01:59:26]OFD Sender: No OFD packet to send [01:59:31]OFD Sender: No OFD packet to send [01:59:36]OFD Sender: No OFD packet to send [01:59:41]OFD Sender: No OFD packet to send [01:59:46]OFD Sender: No OFD packet to send [01:59:51]OFD Sender: No OFD packet to send [01:59:56]OFD Sender: No OFD packet to send [02:00:01]OFD Sender: No OFD packet to send [02:00:06]OFD Sender: No OFD packet to send [02:00:11]OFD Sender: No OFD packet to send [02:00:16]OFD Sender: No OFD packet to send [02:00:21]OFD Sender: No OFD packet to send [02:00:26]OFD Sender: No OFD packet to send [02:00:31]OFD Sender: No OFD packet to send [02:00:36]OFD Sender: No OFD packet to send [02:00:41]OFD Sender: No OFD packet to send [02:00:46]OFD Sender: No OFD packet to send [02:00:51]OFD Sender: No OFD packet to send [02:00:56]OFD Sender: No OFD packet to send [02:01:01]OFD Sender: No OFD packet to send [02:01:06]OFD Sender: No OFD packet to send [02:01:11]OFD Sender: No OFD packet to send [02:01:16]OFD Sender: No OFD packet to send [02:01:21]OFD Sender: No OFD packet to send [02:01:26]OFD Sender: No OFD packet to send [02:01:31]OFD Sender: No OFD packet to send [02:01:36]OFD Sender: No OFD packet to send [02:01:41]OFD Sender: No OFD packet to send [02:01:46]OFD Sender: No OFD packet to send [02:01:51]OFD Sender: No OFD packet to send [02:01:56]OFD Sender: No OFD packet to send [02:02:01]OFD Sender: No OFD packet to send [02:02:06]OFD Sender: No OFD packet to send [02:02:11]OFD Sender: No OFD packet to send [02:02:16]OFD Sender: No OFD packet to send [02:02:21]OFD Sender: No OFD packet to send [02:02:26]OFD Sender: No OFD packet to send [02:02:31]OFD Sender: No OFD packet to send [02:02:36]OFD Sender: No OFD packet to send [02:02:41]OFD Sender: No OFD packet to send [02:02:46]OFD Sender: No OFD packet to send [02:02:51]OFD Sender: No OFD packet to send [02:02:56]OFD Sender: No OFD packet to send [02:03:01]OFD Sender: No OFD packet to send [02:03:06]OFD Sender: No OFD packet to send [02:03:11]OFD Sender: No OFD packet to send [02:03:16]OFD Sender: No OFD packet to send [02:03:21]OFD Sender: No OFD packet to send [02:03:26]OFD Sender: No OFD packet to send [02:03:31]OFD Sender: No OFD packet to send [02:03:36]OFD Sender: No OFD packet to send [02:03:41]OFD Sender: No OFD packet to send [02:03:46]OFD Sender: No OFD packet to send [02:03:51]OFD Sender: No OFD packet to send [02:03:56]OFD Sender: No OFD packet to send [02:04:01]OFD Sender: No OFD packet to send [02:04:06]OFD Sender: No OFD packet to send [02:04:11]OFD Sender: No OFD packet to send [02:04:16]OFD Sender: No OFD packet to send [02:04:21]OFD Sender: No OFD packet to send [02:04:26]OFD Sender: No OFD packet to send [02:04:31]OFD Sender: No OFD packet to send [02:04:36]OFD Sender: No OFD packet to send [02:04:41]OFD Sender: No OFD packet to send [02:04:46]OFD Sender: No OFD packet to send [02:04:51]OFD Sender: No OFD packet to send [02:04:56]OFD Sender: No OFD packet to send [02:05:01]OFD Sender: No OFD packet to send [02:05:06]OFD Sender: No OFD packet to send [02:05:11]OFD Sender: No OFD packet to send [02:05:16]OFD Sender: No OFD packet to send [02:05:21]OFD Sender: No OFD packet to send [02:05:26]OFD Sender: No OFD packet to send [02:05:31]OFD Sender: No OFD packet to send [02:05:36]OFD Sender: No OFD packet to send [02:05:41]OFD Sender: No OFD packet to send [02:05:46]OFD Sender: No OFD packet to send [02:05:51]OFD Sender: No OFD packet to send [02:05:56]OFD Sender: No OFD packet to send [02:06:01]OFD Sender: No OFD packet to send [02:06:06]OFD Sender: No OFD packet to send [02:06:11]OFD Sender: No OFD packet to send [02:06:16]OFD Sender: No OFD packet to send [02:06:21]OFD Sender: No OFD packet to send [02:06:26]OFD Sender: No OFD packet to send [02:06:31]OFD Sender: No OFD packet to send [02:06:36]OFD Sender: No OFD packet to send [02:06:41]OFD Sender: No OFD packet to send [02:06:46]OFD Sender: No OFD packet to send [02:06:51]OFD Sender: No OFD packet to send [02:06:56]OFD Sender: No OFD packet to send [02:07:01]OFD Sender: No OFD packet to send [02:07:06]OFD Sender: No OFD packet to send [02:07:11]OFD Sender: No OFD packet to send [02:07:16]OFD Sender: No OFD packet to send [02:07:21]OFD Sender: No OFD packet to send [02:07:26]OFD Sender: No OFD packet to send [02:07:31]OFD Sender: No OFD packet to send [02:07:36]OFD Sender: No OFD packet to send [02:07:41]OFD Sender: No OFD packet to send [02:07:46]OFD Sender: No OFD packet to send [02:07:51]OFD Sender: No OFD packet to send [02:07:56]OFD Sender: No OFD packet to send [02:08:01]OFD Sender: No OFD packet to send [02:08:06]OFD Sender: No OFD packet to send [02:08:11]OFD Sender: No OFD packet to send [02:08:16]OFD Sender: No OFD packet to send [02:08:21]OFD Sender: No OFD packet to send [02:08:26]OFD Sender: No OFD packet to send [02:08:31]OFD Sender: No OFD packet to send [02:08:36]OFD Sender: No OFD packet to send [02:08:41]OFD Sender: No OFD packet to send [02:08:46]OFD Sender: No OFD packet to send [02:08:51]OFD Sender: No OFD packet to send [02:08:56]OFD Sender: No OFD packet to send [02:09:01]OFD Sender: No OFD packet to send [02:09:06]OFD Sender: No OFD packet to send [02:09:11]OFD Sender: No OFD packet to send [02:09:16]OFD Sender: No OFD packet to send [02:09:21]OFD Sender: No OFD packet to send [02:09:26]OFD Sender: No OFD packet to send [02:09:31]OFD Sender: No OFD packet to send [02:09:36]OFD Sender: No OFD packet to send [02:09:41]OFD Sender: No OFD packet to send [02:09:46]OFD Sender: No OFD packet to send [02:09:51]OFD Sender: No OFD packet to send [02:09:56]OFD Sender: No OFD packet to send [02:10:01]OFD Sender: No OFD packet to send [02:10:06]OFD Sender: No OFD packet to send [02:10:11]OFD Sender: No OFD packet to send [02:10:16]OFD Sender: No OFD packet to send [02:10:21]OFD Sender: No OFD packet to send [02:10:26]OFD Sender: No OFD packet to send [02:10:31]OFD Sender: No OFD packet to send [02:10:36]OFD Sender: No OFD packet to send [02:10:41]OFD Sender: No OFD packet to send [02:10:46]OFD Sender: No OFD packet to send [02:10:51]OFD Sender: No OFD packet to send [02:10:56]OFD Sender: No OFD packet to send [02:11:01]OFD Sender: No OFD packet to send [02:11:06]OFD Sender: No OFD packet to send [02:11:11]OFD Sender: No OFD packet to send [02:11:16]OFD Sender: No OFD packet to send [02:11:21]OFD Sender: No OFD packet to send [02:11:26]OFD Sender: No OFD packet to send [02:11:31]OFD Sender: No OFD packet to send [02:11:36]OFD Sender: No OFD packet to send [02:11:41]OFD Sender: No OFD packet to send [02:11:46]OFD Sender: No OFD packet to send [02:11:51]OFD Sender: No OFD packet to send [02:11:56]OFD Sender: No OFD packet to send [02:12:01]OFD Sender: No OFD packet to send [02:12:06]OFD Sender: No OFD packet to send [02:12:11]OFD Sender: No OFD packet to send [02:12:16]OFD Sender: No OFD packet to send [02:12:21]OFD Sender: No OFD packet to send [02:12:26]OFD Sender: No OFD packet to send [02:12:31]OFD Sender: No OFD packet to send [02:12:36]OFD Sender: No OFD packet to send [02:12:41]OFD Sender: No OFD packet to send [02:12:46]OFD Sender: No OFD packet to send [02:12:51]OFD Sender: No OFD packet to send [02:12:56]OFD Sender: No OFD packet to send [02:13:01]OFD Sender: No OFD packet to send [02:13:06]OFD Sender: No OFD packet to send [02:13:11]OFD Sender: No OFD packet to send [02:13:16]OFD Sender: No OFD packet to send [02:13:21]OFD Sender: No OFD packet to send [02:13:26]OFD Sender: No OFD packet to send [02:13:31]OFD Sender: No OFD packet to send [02:13:36]OFD Sender: No OFD packet to send [02:13:41]OFD Sender: No OFD packet to send [02:13:46]OFD Sender: No OFD packet to send [02:13:51]OFD Sender: No OFD packet to send [02:13:56]OFD Sender: No OFD packet to send [02:14:01]OFD Sender: No OFD packet to send [02:14:06]OFD Sender: No OFD packet to send [02:14:11]OFD Sender: No OFD packet to send [02:14:16]OFD Sender: No OFD packet to send [02:14:21]OFD Sender: No OFD packet to send [02:14:26]OFD Sender: No OFD packet to send [02:14:31]OFD Sender: No OFD packet to send [02:14:36]OFD Sender: No OFD packet to send [02:14:41]OFD Sender: No OFD packet to send [02:14:46]OFD Sender: No OFD packet to send [02:14:51]OFD Sender: No OFD packet to send [02:14:56]OFD Sender: No OFD packet to send [02:15:01]OFD Sender: No OFD packet to send [02:15:06]OFD Sender: No OFD packet to send [02:15:11]OFD Sender: No OFD packet to send [02:15:16]OFD Sender: No OFD packet to send [02:15:21]OFD Sender: No OFD packet to send [02:15:26]OFD Sender: No OFD packet to send [02:15: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:07]OFD Sender: No OFD packet to send [02:30:12]OFD Sender: No OFD packet to send [02:30:17]OFD Sender: No OFD packet to send [02:30:22]OFD Sender: No OFD packet to send [02:30:27]OFD Sender: No OFD packet to send [02:30:32]OFD Sender: No OFD packet to send [02:30:37]OFD Sender: No OFD packet to send [02:30:42]OFD Sender: No OFD packet to send [02:30:47]OFD Sender: No OFD packet to send [02:30:52]OFD Sender: No OFD packet to send [02:30:57]OFD Sender: No OFD packet to send [02:31:02]OFD Sender: No OFD packet to send [02:31:07]OFD Sender: No OFD packet to send [02:31:12]OFD Sender: No OFD packet to send [02:31:17]OFD Sender: No OFD packet to send [02:31:22]OFD Sender: No OFD packet to send [02:31:27]OFD Sender: No OFD packet to send [02:31:32]OFD Sender: No OFD packet to send [02:31:37]OFD Sender: No OFD packet to send [02:31:42]OFD Sender: No OFD packet to send [02:31:47]OFD Sender: No OFD packet to send [02:31:52]OFD Sender: No OFD packet to send [02:31:57]OFD Sender: No OFD packet to send [02:32:02]OFD Sender: No OFD packet to send [02:32:07]OFD Sender: No OFD packet to send [02:32:12]OFD Sender: No OFD packet to send [02:32:17]OFD Sender: No OFD packet to send [02:32:22]OFD Sender: No OFD packet to send [02:32:27]OFD Sender: No OFD packet to send [02:32:32]OFD Sender: No OFD packet to send [02:32:37]OFD Sender: No OFD packet to send [02:32:42]OFD Sender: No OFD packet to send [02:32:47]OFD Sender: No OFD packet to send [02:32:52]OFD Sender: No OFD packet to send [02:32:57]OFD Sender: No OFD packet to send [02:33:02]OFD Sender: No OFD packet to send [02:33:07]OFD Sender: No OFD packet to send [02:33:12]OFD Sender: No OFD packet to send [02:33:17]OFD Sender: No OFD packet to send [02:33:22]OFD Sender: No OFD packet to send [02:33:27]OFD Sender: No OFD packet to send [02:33:32]OFD Sender: No OFD packet to send [02:33:37]OFD Sender: No OFD packet to send [02:33:42]OFD Sender: No OFD packet to send [02:33:47]OFD Sender: No OFD packet to send [02:33:52]OFD Sender: No OFD packet to send [02:33:57]OFD Sender: No OFD packet to send [02:34:02]OFD Sender: No OFD packet to send [02:34:07]OFD Sender: No OFD packet to send [02:34:12]OFD Sender: No OFD packet to send [02:34:17]OFD Sender: No OFD packet to send [02:34:22]OFD Sender: No OFD packet to send [02:34:27]OFD Sender: No OFD packet to send [02:34:32]OFD Sender: No OFD packet to send [02:34:37]OFD Sender: No OFD packet to send [02:34:42]OFD Sender: No OFD packet to send [02:34:47]OFD Sender: No OFD packet to send [02:34:52]OFD Sender: No OFD packet to send [02:34:57]OFD Sender: No OFD packet to send [02:35:02]OFD Sender: No OFD packet to send [02:35:07]OFD Sender: No OFD packet to send [02:35:12]OFD Sender: No OFD packet to send [02:35:17]OFD Sender: No OFD packet to send [02:35:22]OFD Sender: No OFD packet to send [02:35:27]OFD Sender: No OFD packet to send [02:35:32]OFD Sender: No OFD packet to send [02:35:37]OFD Sender: No OFD packet to send [02:35:42]OFD Sender: No OFD packet to send [02:35:47]OFD Sender: No OFD packet to send [02:35:52]OFD Sender: No OFD packet to send [02:35:57]OFD Sender: No OFD packet to send [02:36:02]OFD Sender: No OFD packet to send [02:36:07]OFD Sender: No OFD packet to send [02:36:12]OFD Sender: No OFD packet to send [02:36:17]OFD Sender: No OFD packet to send [02:36:22]OFD Sender: No OFD packet to send [02:36:27]OFD Sender: No OFD packet to send [02:36:32]OFD Sender: No OFD packet to send [02:36:37]OFD Sender: No OFD packet to send [02:36:42]OFD Sender: No OFD packet to send [02:36:47]OFD Sender: No OFD packet to send [02:36:52]OFD Sender: No OFD packet to send [02:36:57]OFD Sender: No OFD packet to send [02:37:02]OFD Sender: No OFD packet to send [02:37:07]OFD Sender: No OFD packet to send [02:37:12]OFD Sender: No OFD packet to send [02:37:17]OFD Sender: No OFD packet to send [02:37:22]OFD Sender: No OFD packet to send [02:37:27]OFD Sender: No OFD packet to send [02:37:32]OFD Sender: No OFD packet to send [02:37:37]OFD Sender: No OFD packet to send [02:37:42]OFD Sender: No OFD packet to send [02:37: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:04]accept exits with 9 [02:38:04]New connection [02:38:04]New thread 3066707300 created [02:38:04]Thread 3066850660 joined [02:38:04]Waiting for new connection... [02:38:04] Sock 9.Parse request [02:38:04]Sock 9.Check first char [02:38:04]Sock 9.First char is OK [02:38:04]request: POST /json_proto HTTP/1.0 [02:38:04]Method: POST [02:38:04]URL: /json_proto [02:38:04]Method is POST - this is cgi request [02:38:04]url: /json_proto [02:38:04]query_string will be loaded in cgi processing [02:38:04]execute_cgi json_proto POST (null) [02:38:04]execute_cgi path=json_proto method=POST [02:38:04]POST find Content-Length [02:38:04]Host: 172.17.52.132:8080 [02:38:04]Content-Length: 656 [02:38:04]Content-Type: application/json [02:38:04] [02:38:04]POST finish read [02:38:04]Found Content-Length = 656 [02:38:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100000", "tax_sys" : 0, "items" : [ { "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 4.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:38:04]execute_script... [02:38:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100000", "tax_sys" : 0, "items" : [ { "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 4.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:38:04]POST & json_proto [02:38:04]process_json_proto [02:38:04]json parsed OK: [02:38:04]protocol is kg_v1.0 [02:38:04]action value=close_receipt [02:38:04]process_action close_receipt [02:38:04]cmd_close_receipt [02:38:04]MH_GetDate [02:38:04]Write to MH i2c: F0 00 00 4D 5C 98 [02:38:04]Write i2c OK [02:38:04]MH_I2C_Read... [02:38:04]Read from MH i2c: F0 [02:38:04]MH_I2C_Read... [02:38:04]Read from MH i2c: F0 09 00 [02:38:04]MH_I2C_Read... [02:38:04]Read from MH i2c: F0 09 00 4D 5C 00 18 6D 14 67 5A BE F6 66 15 [02:38:04]GetLastDocTimeStamp 1729385497 [02:38:04]current date 1729391896 [02:38:04]FM_GetShiftState [02:38:04]SAM_PROTO_GetShiftState [02:38:04]wFMCommunicate request_size=4 [02:38:04]MH_SAM_APDU [02:38:04]CAPDU: 80 13 01 00 [02:38:04]Write to MH i2c: E2 08 00 4E 5C 80 13 01 00 00 00 00 00 27 [02:38:04]Write i2c OK [02:38:04]MH_I2C_Read... [02:38:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:38:04]Read from MH i2c: E2 [02:38:04]MH_I2C_Read... [02:38:04]Read from MH i2c: E2 0E 00 [02:38:04]MH_I2C_Read... [02:38:04]Read from MH i2c: E2 0E 00 4E 5C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 11 [02:38:04]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [02:38:04]wFMCommunicate OK [02:38:04]SAM_PROTO_GetShiftState done [02:38:04]FM_GetShiftState done [02:38:04]opened in 1729382427 [02:38:04]opened+sec_in_day 1729468827 [02:38:04]quantity*price = 400 [02:38:04]sum+1 = 401 [02:38:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 4.00 НСП 1% : 0.03 НДС 12% : 0.42 Наличными: 4.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 4 20.10.2024 02:38 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2623 ФПД: 73436160073465 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T023816&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2623&fm=73436160073465&tin=02508201610067®Number=0000000000207295&sum=400 0 [02:38:05]StoreToDocumentArchive [02:38:05]shift 24 fd 2623 [02:38:05]save to /storage/0024/doc_00002623 [02:38:05]save last doc name /storage/0024/doc_00002623 to /storage/kkm_last_doc_name [02:38:05]save OK [02:38:05]Clear old archive folders... [02:38:05]ProcessDocumentItem done err = 0, tmpTLVsize=278 [02:38:05]tlvbuf is 015175F0 [02:38:05]SAM_PROTO_ClearQueue [02:38:05]wFMCommunicate request_size=4 [02:38:05]MH_SAM_APDU [02:38:05]CAPDU: 80 09 00 00 [02:38:05]Write to MH i2c: E2 08 00 5B 5C 80 09 00 00 00 00 00 00 29 [02:38:05]Write i2c OK [02:38:05]MH_I2C_Read... [02:38:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:38:05]Read from MH i2c: E2 [02:38:05]MH_I2C_Read... [02:38:05]Read from MH i2c: E2 03 00 [02:38:05]MH_I2C_Read... [02:38:05]Read from MH i2c: E2 03 00 5B 5C 00 90 00 2B [02:38:05]RAPDU: 90 00 [02:38:05]wFMCommunicate OK [02:38:05]SAM_PROTO_ClearQueue done [02:38:05]KKMCreateOFDPacket [02:38:05]OFDProtocolAddRootSTLVToBuf [02:38:05]FM_MakeSignedData [02:38:05]FM_MakeSignedData [02:38:05]SAM_PROTO_SignData [02:38:05]wFMCommunicate request_size=4 [02:38:05]MH_SAM_APDU [02:38:05]CAPDU: 80 0D 01 02 [02:38:05]Write to MH i2c: E2 08 00 5C 5C 80 0D 01 02 00 00 00 00 31 [02:38:05]Write i2c OK [02:38:05]MH_I2C_Read... [02:38:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:38:05]Read from MH i2c: E2 [02:38:05]MH_I2C_Read... [02:38:05]Read from MH i2c: E2 03 00 [02:38:05]MH_I2C_Read... [02:38:05]Read from MH i2c: E2 03 00 5C 5C 00 90 00 2C [02:38:05]RAPDU: 90 00 [02:38:05]wFMCommunicate OK [02:38:05]wFMCommunicate request_size=255 [02:38:05]MH_SAM_APDU [02:38:05]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 18 6D 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 [02:38:05]Write to MH i2c: E2 02 01 5D 5C 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 18 6D 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 00 00 8A [02:38:05]Write i2c OK [02:38:05]MH_I2C_Read... [02:38:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:38:05]Read from MH i2c: E2 [02:38:05]MH_I2C_Read... [02:38:05]Read from MH i2c: E2 03 00 [02:38:05]MH_I2C_Read... [02:38:05]Read from MH i2c: E2 03 00 5D 5C 00 90 00 2D [02:38:05]RAPDU: 90 00 [02:38:05]wFMCommunicate OK [02:38:05]wFMCommunicate request_size=37 [02:38:05]MH_SAM_APDU [02:38:05]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3F 0A 00 00 35 04 06 00 42 CA 30 3C 1E F9 [02:38:05]Write to MH i2c: E2 28 00 5E 5C 80 0D 02 02 20 00 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3F 0A 00 00 35 04 06 00 42 CA 30 3C 1E F9 00 00 58 [02:38:05]Write i2c OK [02:38:05]MH_I2C_Read... [02:38:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:38:05]Read from MH i2c: E2 [02:38:05]MH_I2C_Read... [02:38:05]Read from MH i2c: E2 03 00 [02:38:05]MH_I2C_Read... [02:38:05]Read from MH i2c: E2 03 00 5E 5C 00 90 00 2E [02:38:05]RAPDU: 90 00 [02:38:05]wFMCommunicate OK [02:38:05]wFMCommunicate request_size=4 [02:38:05]MH_SAM_APDU [02:38:05]CAPDU: 80 0D 03 02 [02:38:05]Write to MH i2c: E2 08 00 5F 5C 80 0D 03 02 00 00 00 00 36 [02:38:05]Write i2c OK [02:38:05]MH_I2C_Read... [02:38:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:38:05]Read from MH i2c: E2 [02:38:05]MH_I2C_Read... [02:38:05]Read from MH i2c: E2 0B 00 [02:38:05]MH_I2C_Read... [02:38:05]Read from MH i2c: E2 0B 00 5F 5C 00 19 E8 F6 9A 93 AC C9 FD 90 00 CD [02:38:05]RAPDU: 19 E8 F6 9A 93 AC C9 FD 90 00 [02:38:05]wFMCommunicate OK [02:38:05]SAM_PROTO_SignData done [02:38:05]FM_MakeSignedData done [02:38:05]CreateOFDProtocolMessage [02:38:05]wFMCommunicate request_size=4 [02:38:05]MH_SAM_APDU [02:38:05]CAPDU: 80 11 00 00 [02:38:05]Write to MH i2c: E2 08 00 60 5C 80 11 00 00 00 00 00 00 36 [02:38:05]Write i2c OK [02:38:05]MH_I2C_Read... [02:38:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:38:05]Read from MH i2c: E2 [02:38:05]MH_I2C_Read... [02:38:05]Read from MH i2c: E2 17 00 [02:38:05]MH_I2C_Read... [02:38:05]Read from MH i2c: E2 17 00 60 5C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 7E [02:38:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [02:38:05]wFMCommunicate OK [02:38:05]CreateOFDProtocolMessage done [02:38:05]OFDSenderStorePacket 2623 [02:38:05]StoreOFDPacket docnum=2623 [02:38:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2A 01 00 00 51 9E 22 01 CF 3E 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 18 6D 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3F 0A 00 00 35 04 06 00 42 CA 30 3C 1E F9 19 E8 F6 9A 93 AC C9 FD [02:38:05]CheckFolder [02:38:05]dirname=/storage/ofd_packets [02:38:05]CheckFolder done [02:38:05]ProducePacketName [02:38:05]name=ofd_packets/00002623 [02:38:05]NVStorageSaveData ofd_packets/00002623 [02:38:05]File name is /storage/ofd_packets/00002623 [02:38:05]Write 328 bytes [02:38:05]NVStorageSaveData done [02:38:05]OFDSenderStorePacket done [02:38:05]KKMCreateOFDPacket done [02:38:05]NVStorageSaveData kkm_last_timestamp [02:38:05]File name is /storage/kkm_last_timestamp [02:38:05]Write 4 bytes [02:38:05]NVStorageSaveData done [02:38:05]ExternCall_PrintAddStr [02:38:05]wPrintStart [02:38:05]Write to MH i2c: 01 00 00 61 5C BD [02:38:05]Write i2c OK [02:38:05]MH_I2C_Read... [02:38:05]Read from MH i2c: 01 [02:38:05]MH_I2C_Read... [02:38:05]Read from MH i2c: 01 07 00 [02:38:05]MH_I2C_Read... [02:38:05]Read from MH i2c: 01 07 00 61 5C 00 00 00 00 00 FF 0F D2 [02:38:05]RasterBufferAndPrint [02:38:05]line Счет N : (3)100000 [02:38:05]line ИНН: 02508201610067 [02:38:05]line Контрольно-Кассовый Чек [02:38:05]line ПРОДАЖА [02:38:05]line Товар: 2000031750019 [02:38:05]line Пакет Партнер Нефть [02:38:05]line 1.000 * 4.00 [02:38:05]line = 4.00 [02:38:05]line НДС 12% НСП 1% [02:38:05]line > о реализуемом товаре [02:38:05]line ИТОГО: 4.00 [02:38:05]line НСП 1% : 0.03 [02:38:05]line НДС 12% : 0.42 [02:38:05]line Наличными: 4.00 [02:38:05]line Безнал.: 0.00 [02:38:05]line Место: АЗС № 162 "Партнер Нефть" [02:38:05]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [02:38:05]line СНО: Общий режим [02:38:05]line Чек 4 20.10.2024 02:38 [02:38:05]line Смена: 24 ФФД: 1.0 [02:38:05]line ЗНМ: 0300000191 [02:38:05]line РНМ: 0000000000207295 [02:38:05]line Версия ККМ: v1.0 [02:38:05]line ФМ: 0000000002342820 [02:38:05]line ФД: 2623 [02:38:05]line ФПД: 73436160073465 [02:38:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T023816&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2623&fm=73436160073465&tin=02508201610067®Number=0000000000207295&sum=400 [02:38:06]line 0 [02:38:06]OFD Sender: Processing packet 2623 [packets to send 1, broken 0] [02:38:06]ProducePacketName [02:38:06]name=ofd_packets/00002623 [02:38:06]OFD Sender: To server: pG, [02:38:06]CommunicateWithHost lk.salyk.kg:30040 [02:38:06]ConnectInit lk.salyk.kg [02:38:06]written 0, free lines is 4095 [02:38:06]Connected sock=10 [02:38:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 2A 01 00 00 51 9E 22 01 CF 3E 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 18 6D 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 3F 0A 00 00 35 04 06 00 42 CA 30 3C 1E F9 19 E8 F6 9A 93 AC C9 FD [02:38:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 8F 7E 47 00 29 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 32 33 34 32 38 32 30 10 04 04 00 3F 0A 00 00 F4 03 04 00 77 18 14 67 B6 04 01 00 00 AB 9E B3 7F BC 9F 77 E8 [02:38:06]CommunicateWithHost err = 0 [02:38:06]CheckOFDResponse [02:38:06]1017 (14) - 77093643461234 [02:38:06]1041 (16) - 0000000002342820 [02:38:06]1040 (4) - 2623 [02:38:06]1012 (4) - 19.10.2024 20:37 [02:38:06]1206 (1) - 0 [02:38:06]OFD Sender: Remove packet 2623 [02:38:06]ProducePacketName [02:38:06]name=ofd_packets/00002623 [02:38:06]NVStorageDeleteData [02:38:06]Write to MH i2c: 01 00 00 89 5C E5 [02:38:06]Write i2c OK [02:38:06]MH_I2C_Read... [02:38:06]Read from MH i2c: 01 [02:38:06]MH_I2C_Read... [02:38:06]Read from MH i2c: 01 07 00 [02:38:06]MH_I2C_Read... [02:38:06]Read from MH i2c: 01 07 00 89 5C 00 00 00 00 00 C6 0C BE [02:38:06]RasterBufferAndPrint [02:38:06]line [02:38:06]line [02:38:06]line [02:38:06]line [02:38:06]line [02:38:06]written 0, free lines is 3275 [02:38:06]MH_Cut [02:38:06]Write to MH i2c: D1 01 00 90 5C 01 BE [02:38:06]Write i2c OK [02:38:06]MH_I2C_Read... [02:38:06]Read from MH i2c: D1 [02:38:06]MH_I2C_Read... [02:38:06]Read from MH i2c: D1 01 00 [02:38:06]MH_I2C_Read... [02:38:06]Read from MH i2c: D1 01 00 90 5C 00 BD [02:38:06]Write to MH i2c: 01 00 00 91 5C ED [02:38:06]Write i2c OK [02:38:06]MH_I2C_Read... [02:38:07]OFD Sender: No OFD packet to send [02:38:07]*** Cut start [02:38:07]*** Partial cut [02:38:07]*** CUTSNS_PIN = 1 [02:38:07]*** CUTSNS_PIN = 0 [02:38:07]*** Brake cut motor [02:38:08]Read from MH i2c: 01 [02:38:08]MH_I2C_Read... [02:38:08]*** Stop cut motor [02:38:08]*** Cut end [02:38:08]Read from MH i2c: 01 07 00 [02:38:08]MH_I2C_Read... [02:38:08]Read from MH i2c: 01 07 00 91 5C 00 00 00 00 00 FF 0F 02 [02:38:08]process_action close_receipt done [02:38:08]requested_data is exist [02:38:08]produce_requested_data [02:38:08]requested_item fm.sn is exist - process it [02:38:08]wFMCommunicate request_size=4 [02:38:08]MH_SAM_APDU [02:38:08]CAPDU: 80 11 00 00 [02:38:08]Write to MH i2c: E2 08 00 92 5C 80 11 00 00 00 00 00 00 68 [02:38:08]Write i2c OK [02:38:08]MH_I2C_Read... [02:38:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:38:08]Read from MH i2c: E2 [02:38:08]MH_I2C_Read... [02:38:08]Read from MH i2c: E2 17 00 [02:38:08]MH_I2C_Read... [02:38:08]Read from MH i2c: E2 17 00 92 5C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 B0 [02:38:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [02:38:08]wFMCommunicate OK [02:38:08]requested_item fd.num is exist - process it [02:38:08]SAM_PROTO_GetFieldsCounters [02:38:08]wFMCommunicate request_size=4 [02:38:08]MH_SAM_APDU [02:38:08]CAPDU: 80 13 00 00 [02:38:08]Write to MH i2c: E2 08 00 93 5C 80 13 00 00 00 00 00 00 6B [02:38:08]Write i2c OK [02:38:08]MH_I2C_Read... [02:38:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:38:08]Read from MH i2c: E2 [02:38:08]MH_I2C_Read... [02:38:08]Read from MH i2c: E2 62 00 [02:38:08]MH_I2C_Read... [02:38:08]Read from MH i2c: E2 62 00 93 5C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3F 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 EE [02:38:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 3F 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:38:08]wFMCommunicate OK [02:38:08]SAM_PROTO_GetFieldsCounters done [02:38:08]requested_item shift.num is exist - process it [02:38:08]requested_item shift.opened is exist - process it [02:38:08]req_shift_opened [02:38:08]FM_GetShiftState [02:38:08]SAM_PROTO_GetShiftState [02:38:08]wFMCommunicate request_size=4 [02:38:08]MH_SAM_APDU [02:38:08]CAPDU: 80 13 01 00 [02:38:08]Write to MH i2c: E2 08 00 94 5C 80 13 01 00 00 00 00 00 6D [02:38:08]Write i2c OK [02:38:08]MH_I2C_Read... [02:38:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:38:08]Read from MH i2c: E2 [02:38:08]MH_I2C_Read... [02:38:08]Read from MH i2c: E2 0E 00 [02:38:08]MH_I2C_Read... [02:38:08]Read from MH i2c: E2 0E 00 94 5C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 57 [02:38:08]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [02:38:08]wFMCommunicate OK [02:38:08]SAM_PROTO_GetShiftState done [02:38:08]FM_GetShiftState done [02:38:08]req_shift_opened done [02:38:08]requested_item shift.open_date is exist - process it [02:38:08]req_shift_open_date [02:38:08]req_shift_open_date done [02:38:08]produce_requested_data done [02:38:08]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2623,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [02:38:08]process_action_free close_receipt [02:38:08]json_value_free [02:38:08]json_value_free done [02:38:08]process_json_proto returns [02:38:08]Send response to host [02:38:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2623,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [02:38:08]free response buf [02:38:08]execute_script done [02:38:08]execute_script returns [02:38:08]free content buf [02:38:08]Sock 9.Close socket [02:38:08]Sock 9.Thread stoped [02:38:12]OFD Sender: No OFD packet to send [02:38:17]OFD Sender: No OFD packet to send [02:38:22]OFD Sender: No OFD packet to send [02:38:27]OFD Sender: No OFD packet to send [02:38:32]OFD Sender: No OFD packet to send [02:38:37]OFD Sender: No OFD packet to send [02:38:42]OFD Sender: No OFD packet to send [02:38:46]accept exits with 7 [02:38:46]New connection [02:38:46]New thread 3066850660 created [02:38:46]Thread 3066707300 joined [02:38:46]Waiting for new connection... [02:38:46] Sock 7.Parse request [02:38:46]Sock 7.Check first char [02:38:46]Sock 7.First char is OK [02:38:46]request: POST /json_proto HTTP/1.0 [02:38:46]Method: POST [02:38:46]URL: /json_proto [02:38:46]Method is POST - this is cgi request [02:38:46]url: /json_proto [02:38:46]query_string will be loaded in cgi processing [02:38:46]execute_cgi json_proto POST (null) [02:38:46]execute_cgi path=json_proto method=POST [02:38:46]POST find Content-Length [02:38:46]Host: 172.17.52.132:8080 [02:38:46]Content-Length: 585 [02:38:46]Content-Type: application/json [02:38:46] [02:38:46]POST finish read [02:38:46]Found Content-Length = 585 [02:38:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100001", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:38:46]execute_script... [02:38: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)100001", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:38:46]POST & json_proto [02:38:46]process_json_proto [02:38:46]json parsed OK: [02:38:46]protocol is kg_v1.0 [02:38:46]action value=close_receipt [02:38:46]process_action close_receipt [02:38:46]cmd_close_receipt [02:38:46]MH_GetDate [02:38:46]Write to MH i2c: F0 00 00 95 5C E0 [02:38:46]Write i2c OK [02:38:46]MH_I2C_Read... [02:38:46]Read from MH i2c: F0 [02:38:46]MH_I2C_Read... [02:38:46]Read from MH i2c: F0 09 00 [02:38:46]MH_I2C_Read... [02:38:46]Read from MH i2c: F0 09 00 95 5C 00 42 6D 14 67 5A BE F6 66 87 [02:38:46]GetLastDocTimeStamp 1729391896 [02:38:46]current date 1729391938 [02:38:46]FM_GetShiftState [02:38:46]SAM_PROTO_GetShiftState [02:38:46]wFMCommunicate request_size=4 [02:38:46]MH_SAM_APDU [02:38:46]CAPDU: 80 13 01 00 [02:38:46]Write to MH i2c: E2 08 00 96 5C 80 13 01 00 00 00 00 00 6F [02:38:46]Write i2c OK [02:38:46]MH_I2C_Read... [02:38:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:38:46]Read from MH i2c: E2 [02:38:46]MH_I2C_Read... [02:38:46]Read from MH i2c: E2 0E 00 [02:38:46]MH_I2C_Read... [02:38:46]Read from MH i2c: E2 0E 00 96 5C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 59 [02:38:46]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [02:38:46]wFMCommunicate OK [02:38:46]SAM_PROTO_GetShiftState done [02:38:46]FM_GetShiftState done [02:38:46]opened in 1729382427 [02:38:46]opened+sec_in_day 1729468827 [02:38:46]quantity*price = 4500 [02:38:46]sum+1 = 4501 [02:38:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 162 "Партнер Нефть" Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 СНО: Общий режим Чек 5 20.10.2024 02:38 Смена: 24 ФФД: 1.0 ЗНМ: 0300000191 РНМ: 0000000000207295 Версия ККМ: v1.0 ФМ: 0000000002342820 ФД: 2624 ФПД: 228490649776152 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T023858&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2624&fm=228490649776152&tin=02508201610067®Number=0000000000207295&sum=4500 0 [02:38:47]StoreToDocumentArchive [02:38:47]shift 24 fd 2624 [02:38:47]save to /storage/0024/doc_00002624 [02:38:47]save last doc name /storage/0024/doc_00002624 to /storage/kkm_last_doc_name [02:38:47]save OK [02:38:47]Clear old archive folders... [02:38:47]ProcessDocumentItem done err = 0, tmpTLVsize=260 [02:38:47]tlvbuf is 01540760 [02:38:47]SAM_PROTO_ClearQueue [02:38:47]wFMCommunicate request_size=4 [02:38:47]MH_SAM_APDU [02:38:47]CAPDU: 80 09 00 00 [02:38:47]Write to MH i2c: E2 08 00 A3 5C 80 09 00 00 00 00 00 00 71 [02:38:47]Write i2c OK [02:38:47]MH_I2C_Read... [02:38:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:38:47]Read from MH i2c: E2 [02:38:47]MH_I2C_Read... [02:38:47]Read from MH i2c: E2 03 00 [02:38:47]MH_I2C_Read... [02:38:47]Read from MH i2c: E2 03 00 A3 5C 00 90 00 73 [02:38:47]RAPDU: 90 00 [02:38:47]wFMCommunicate OK [02:38:47]SAM_PROTO_ClearQueue done [02:38:47]KKMCreateOFDPacket [02:38:47]OFDProtocolAddRootSTLVToBuf [02:38:47]FM_MakeSignedData [02:38:47]FM_MakeSignedData [02:38:47]SAM_PROTO_SignData [02:38:47]wFMCommunicate request_size=4 [02:38:47]MH_SAM_APDU [02:38:47]CAPDU: 80 0D 01 02 [02:38:47]Write to MH i2c: E2 08 00 A4 5C 80 0D 01 02 00 00 00 00 79 [02:38:47]Write i2c OK [02:38:47]MH_I2C_Read... [02:38:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:38:47]Read from MH i2c: E2 [02:38:47]MH_I2C_Read... [02:38:47]Read from MH i2c: E2 03 00 [02:38:47]MH_I2C_Read... [02:38:47]Read from MH i2c: E2 03 00 A4 5C 00 90 00 74 [02:38:47]RAPDU: 90 00 [02:38:47]wFMCommunicate OK [02:38:47]wFMCommunicate request_size=255 [02:38:47]MH_SAM_APDU [02:38:47]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 42 6D 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 [02:38:47]Write to MH i2c: E2 02 01 A5 5C 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 42 6D 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 00 00 C1 [02:38:47]Write i2c OK [02:38:47]MH_I2C_Read... [02:38:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:38:47]Read from MH i2c: E2 [02:38:47]MH_I2C_Read... [02:38:47]Read from MH i2c: E2 03 00 [02:38:47]MH_I2C_Read... [02:38:47]Read from MH i2c: E2 03 00 A5 5C 00 90 00 75 [02:38:47]RAPDU: 90 00 [02:38:47]wFMCommunicate OK [02:38:47]wFMCommunicate request_size=19 [02:38:47]MH_SAM_APDU [02:38:47]CAPDU: 80 0D 02 02 0E 40 0A 00 00 35 04 06 00 CF CF A0 03 B0 18 [02:38:47]Write to MH i2c: E2 16 00 A6 5C 80 0D 02 02 0E 00 40 0A 00 00 35 04 06 00 CF CF A0 03 B0 18 00 00 2A [02:38:47]Write i2c OK [02:38:47]MH_I2C_Read... [02:38:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:38:47]Read from MH i2c: E2 [02:38:47]MH_I2C_Read... [02:38:47]Read from MH i2c: E2 03 00 [02:38:47]MH_I2C_Read... [02:38:47]Read from MH i2c: E2 03 00 A6 5C 00 90 00 76 [02:38:47]RAPDU: 90 00 [02:38:47]wFMCommunicate OK [02:38:47]wFMCommunicate request_size=4 [02:38:47]MH_SAM_APDU [02:38:47]CAPDU: 80 0D 03 02 [02:38:47]Write to MH i2c: E2 08 00 A7 5C 80 0D 03 02 00 00 00 00 7E [02:38:47]Write i2c OK [02:38:47]MH_I2C_Read... [02:38:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:38:47]Read from MH i2c: E2 [02:38:47]MH_I2C_Read... [02:38:47]Read from MH i2c: E2 0B 00 [02:38:47]MH_I2C_Read... [02:38:47]Read from MH i2c: E2 0B 00 A7 5C 00 49 AA 95 8F FA 75 CD 36 90 00 08 [02:38:47]RAPDU: 49 AA 95 8F FA 75 CD 36 90 00 [02:38:47]wFMCommunicate OK [02:38:47]SAM_PROTO_SignData done [02:38:47]FM_MakeSignedData done [02:38:47]CreateOFDProtocolMessage [02:38:47]wFMCommunicate request_size=4 [02:38:47]MH_SAM_APDU [02:38:47]CAPDU: 80 11 00 00 [02:38:47]Write to MH i2c: E2 08 00 A8 5C 80 11 00 00 00 00 00 00 7E [02:38:47]Write i2c OK [02:38:47]MH_I2C_Read... [02:38:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:38:47]Read from MH i2c: E2 [02:38:47]MH_I2C_Read... [02:38:47]Read from MH i2c: E2 17 00 [02:38:47]MH_I2C_Read... [02:38:47]Read from MH i2c: E2 17 00 A8 5C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 C6 [02:38:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [02:38:47]wFMCommunicate OK [02:38:47]CreateOFDProtocolMessage done [02:38:47]OFDSenderStorePacket 2624 [02:38:47]StoreOFDPacket docnum=2624 [02:38:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 18 01 00 00 0F A2 10 01 A2 89 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 42 6D 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 40 0A 00 00 35 04 06 00 CF CF A0 03 B0 18 49 AA 95 8F FA 75 CD 36 [02:38:47]CheckFolder [02:38:47]dirname=/storage/ofd_packets [02:38:47]CheckFolder done [02:38:47]ProducePacketName [02:38:47]name=ofd_packets/00002624 [02:38:47]NVStorageSaveData ofd_packets/00002624 [02:38:47]File name is /storage/ofd_packets/00002624 [02:38:47]Write 310 bytes [02:38:47]NVStorageSaveData done [02:38:47]OFDSenderStorePacket done [02:38:47]KKMCreateOFDPacket done [02:38:47]NVStorageSaveData kkm_last_timestamp [02:38:47]File name is /storage/kkm_last_timestamp [02:38:47]Write 4 bytes [02:38:47]NVStorageSaveData done [02:38:47]ExternCall_PrintAddStr [02:38:47]wPrintStart [02:38:47]Write to MH i2c: 01 00 00 A9 5C 05 [02:38:47]OFD Sender: Processing packet 2624 [packets to send 1, broken 0] [02:38:47]ProducePacketName [02:38:47]name=ofd_packets/00002624 [02:38:47]OFD Sender: To server: pG, [02:38:47]CommunicateWithHost lk.salyk.kg:30040 [02:38:47]ConnectInit lk.salyk.kg [02:38:47]Write i2c OK [02:38:47]MH_I2C_Read... [02:38:47]Read from MH i2c: 01 [02:38:47]MH_I2C_Read... [02:38:47]Read from MH i2c: 01 07 00 [02:38:47]MH_I2C_Read... [02:38:47]Read from MH i2c: 01 07 00 A9 5C 00 00 00 00 00 FF 0F 1A [02:38:47]RasterBufferAndPrint [02:38:47]line Счет N : (3)100001 [02:38:47]line ИНН: 02508201610067 [02:38:47]line Контрольно-Кассовый Чек [02:38:47]line ПРОДАЖА [02:38:47]line Товар: 50173808 [02:38:47]line Жев Orbit Sweet Mint [02:38:47]line 1.000 * 45.00 [02:38:47]line = 45.00 [02:38:47]line НДС 12% НСП 1% [02:38:47]line > о реализуемом товаре [02:38:47]line ИТОГО: 45.00 [02:38:47]line НСП 1% : 0.40 [02:38:47]line НДС 12% : 4.78 [02:38:47]line Наличными: 45.00 [02:38:47]line Безнал.: 0.00 [02:38:47]line Место: АЗС № 162 "Партнер Нефть" [02:38:47]line Адрес: 720001, с. Кумуш Азиз, ул. Мадумар Ата 31, 41.045835, 72.586130 [02:38:47]line СНО: Общий режим [02:38:47]line Чек 5 20.10.2024 02:38 [02:38:47]line Смена: 24 ФФД: 1.0 [02:38:47]line ЗНМ: 0300000191 [02:38:47]line РНМ: 0000000000207295 [02:38:47]line Версия ККМ: v1.0 [02:38:47]line ФМ: 0000000002342820 [02:38:47]line ФД: 2624 [02:38:47]line ФПД: 228490649776152 [02:38:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T023858&type=1&operation_type=1&fn_number=0000000002342820&fd_number=2624&fm=228490649776152&tin=02508201610067®Number=0000000000207295&sum=4500 [02:38:48]line 0 [02:38:48]Connected sock=10 [02:38:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 18 01 00 00 0F A2 10 01 A2 89 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 42 6D 14 67 0E 04 04 00 18 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 10 04 04 00 40 0A 00 00 35 04 06 00 CF CF A0 03 B0 18 49 AA 95 8F FA 75 CD 36 [02:38:48]written 0, free lines is 4095 [02:38:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 4F 00 00 00 81 45 47 00 B3 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 32 33 34 32 38 32 30 10 04 04 00 40 0A 00 00 F4 03 04 00 A1 18 14 67 B6 04 01 00 00 63 8A BE 51 82 9C B4 8B [02:38:48]CommunicateWithHost err = 0 [02:38:48]CheckOFDResponse [02:38:48]1017 (14) - 77093643461234 [02:38:48]1041 (16) - 0000000002342820 [02:38:48]1040 (4) - 2624 [02:38:48]1012 (4) - 19.10.2024 20:37 [02:38:48]1206 (1) - 0 [02:38:48]OFD Sender: Remove packet 2624 [02:38:48]ProducePacketName [02:38:48]name=ofd_packets/00002624 [02:38:48]NVStorageDeleteData [02:38:48]Write to MH i2c: 01 00 00 D1 5C 2D [02:38:48]Write i2c OK [02:38:48]MH_I2C_Read... [02:38:48]Read from MH i2c: 01 [02:38:48]MH_I2C_Read... [02:38:48]Read from MH i2c: 01 07 00 [02:38:48]MH_I2C_Read... [02:38:48]Read from MH i2c: 01 07 00 D1 5C 00 00 00 00 00 C3 0C 03 [02:38:48]RasterBufferAndPrint [02:38:48]line [02:38:48]line [02:38:48]line [02:38:48]line [02:38:48]line [02:38:48]written 0, free lines is 3272 [02:38:48]MH_Cut [02:38:48]Write to MH i2c: D1 01 00 D8 5C 01 06 [02:38:48]Write i2c OK [02:38:48]MH_I2C_Read... [02:38:48]Read from MH i2c: D1 [02:38:48]MH_I2C_Read... [02:38:48]Read from MH i2c: D1 01 00 [02:38:48]MH_I2C_Read... [02:38:48]Read from MH i2c: D1 01 00 D8 5C 00 05 [02:38:48]Write to MH i2c: 01 00 00 D9 5C 35 [02:38:48]Write i2c OK [02:38:48]MH_I2C_Read... [02:38:48]OFD Sender: No OFD packet to send [02:38:49]*** Cut start [02:38:49]*** Partial cut [02:38:49]*** CUTSNS_PIN = 1 [02:38:49]*** CUTSNS_PIN = 0 [02:38:49]*** Brake cut motor [02:38:50]Read from MH i2c: 01 [02:38:50]MH_I2C_Read... [02:38:50]*** Stop cut motor [02:38:50]*** Cut end [02:38:50]Read from MH i2c: 01 07 00 [02:38:50]MH_I2C_Read... [02:38:50]Read from MH i2c: 01 07 00 D9 5C 00 00 00 00 00 FF 0F 4A [02:38:50]process_action close_receipt done [02:38:50]requested_data is exist [02:38:50]produce_requested_data [02:38:50]requested_item fm.sn is exist - process it [02:38:50]wFMCommunicate request_size=4 [02:38:50]MH_SAM_APDU [02:38:50]CAPDU: 80 11 00 00 [02:38:50]Write to MH i2c: E2 08 00 DA 5C 80 11 00 00 00 00 00 00 B0 [02:38:50]Write i2c OK [02:38:50]MH_I2C_Read... [02:38:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:38:50]Read from MH i2c: E2 [02:38:50]MH_I2C_Read... [02:38:50]Read from MH i2c: E2 17 00 [02:38:50]MH_I2C_Read... [02:38:50]Read from MH i2c: E2 17 00 DA 5C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 F8 [02:38:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 90 00 [02:38:50]wFMCommunicate OK [02:38:50]requested_item fd.num is exist - process it [02:38:50]SAM_PROTO_GetFieldsCounters [02:38:50]wFMCommunicate request_size=4 [02:38:50]MH_SAM_APDU [02:38:50]CAPDU: 80 13 00 00 [02:38:50]Write to MH i2c: E2 08 00 DB 5C 80 13 00 00 00 00 00 00 B3 [02:38:50]Write i2c OK [02:38:50]MH_I2C_Read... [02:38:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:38:50]Read from MH i2c: E2 [02:38:50]MH_I2C_Read... [02:38:50]Read from MH i2c: E2 62 00 [02:38:50]MH_I2C_Read... [02:38:50]Read from MH i2c: E2 62 00 DB 5C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 40 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 3A [02:38:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 33 34 32 38 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 32 30 37 32 39 35 10 04 04 00 40 0A 00 00 0E 04 04 00 18 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:38:50]wFMCommunicate OK [02:38:50]SAM_PROTO_GetFieldsCounters done [02:38:50]requested_item shift.num is exist - process it [02:38:50]requested_item shift.opened is exist - process it [02:38:50]req_shift_opened [02:38:50]FM_GetShiftState [02:38:50]SAM_PROTO_GetShiftState [02:38:50]wFMCommunicate request_size=4 [02:38:50]MH_SAM_APDU [02:38:50]CAPDU: 80 13 01 00 [02:38:50]Write to MH i2c: E2 08 00 DC 5C 80 13 01 00 00 00 00 00 B5 [02:38:50]Write i2c OK [02:38:50]MH_I2C_Read... [02:38:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:38:50]Read from MH i2c: E2 [02:38:50]MH_I2C_Read... [02:38:50]Read from MH i2c: E2 0E 00 [02:38:50]MH_I2C_Read... [02:38:50]Read from MH i2c: E2 0E 00 DC 5C 00 09 00 01 1B 48 14 67 00 00 00 00 90 00 9F [02:38:50]RAPDU: 09 00 01 1B 48 14 67 00 00 00 00 90 00 [02:38:50]wFMCommunicate OK [02:38:50]SAM_PROTO_GetShiftState done [02:38:50]FM_GetShiftState done [02:38:50]req_shift_opened done [02:38:50]requested_item shift.open_date is exist - process it [02:38:50]req_shift_open_date [02:38:50]req_shift_open_date done [02:38:50]produce_requested_data done [02:38:50]produce_requested_data return {"fm.sn":"0000000002342820","fd.num":2624,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427} [02:38:50]process_action_free close_receipt [02:38:50]json_value_free [02:38:50]json_value_free done [02:38:50]process_json_proto returns [02:38:50]Send response to host [02:38:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002342820","fd.num":2624,"shift.num":24,"shift.opened":1,"shift.open_date":1729382427}}} [02:38:50]free response buf [02:38:50]execute_script done [02:38:50]execute_script returns [02:38:50]free content buf [02:38:50]Sock 7.Close socket [02:38:50]Sock 7.Thread stoped [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:34]OFD Sender: No OFD packet to send [02:41:39]OFD Sender: No OFD packet to send [02:41:44]OFD Sender: No OFD packet to send [02:41:49]OFD Sender: No OFD packet to send [02:41:54]OFD Sender: No OFD packet to send [02:41:59]OFD Sender: No OFD packet to send [02:42:04]OFD Sender: No OFD packet to send [02:42:09]OFD Sender: No OFD packet to send [02:42:14]OFD Sender: No OFD packet to send [02:42:19]OFD Sender: No OFD packet to send [02:42:24]OFD Sender: No OFD packet to send [02:42:29]OFD Sender: No OFD packet to send [02:42:34]OFD Sender: No OFD packet to send [02:42:39]OFD Sender: No OFD packet to send [02:42:44]OFD Sender: No OFD packet to send [02:42:49]OFD Sender: No OFD packet to send [02:42:54]OFD Sender: No OFD packet to send [02:42:59]OFD Sender: No OFD packet to send [02:43:04]OFD Sender: No OFD packet to send [02:43:09]OFD Sender: No OFD packet to send [02:43:14]OFD Sender: No OFD packet to send [02:43:19]OFD Sender: No OFD packet to send [02:43:24]OFD Sender: No OFD packet to send [02:43:29]OFD Sender: No OFD packet to send [02:43:34]OFD Sender: No OFD packet to send [02:43:39]OFD Sender: No OFD packet to send [02:43:44]OFD Sender: No OFD packet to send [02:43:49]OFD Sender: No OFD packet to send [02:43:54]OFD Sender: No OFD packet to send [02:43:59]OFD Sender: No OFD packet to send [02:44:04]OFD Sender: No OFD packet to send [02:44:09]OFD Sender: No OFD packet to send [02:44:14]OFD Sender: No OFD packet to send [02:44:19]OFD Sender: No OFD packet to send [02:44:24]OFD Sender: No OFD packet to send [02:44:29]OFD Sender: No OFD packet to send [02:44:34]OFD Sender: No OFD packet to send [02:44:39]OFD Sender: No OFD packet to send [02:44:44]OFD Sender: No OFD packet to send [02:44:49]OFD Sender: No OFD packet to send [02:44:54]OFD Sender: No OFD packet to send [02:44:59]OFD Sender: No OFD packet to send [02:45:04]OFD Sender: No OFD packet to send [02:45:09]OFD Sender: No OFD packet to send [02:45:14]OFD Sender: No OFD packet to send [02:45:19]OFD Sender: No OFD packet to send [02:45:24]OFD Sender: No OFD packet to send [02:45:29]OFD Sender: No OFD packet to send [02:45:34]OFD Sender: No OFD packet to send [02:45:39]OFD Sender: No OFD packet to send [02:45:44]OFD Sender: No OFD packet to send [02:45:49]OFD Sender: No OFD packet to send [02:45:54]OFD Sender: No OFD packet to send [02:45:59]OFD Sender: No OFD packet to send [02:46:04]OFD Sender: No OFD packet to send [02:46:09]OFD Sender: No OFD packet to send [02:46:14]OFD Sender: No OFD packet to send [02:46:19]OFD Sender: No OFD packet to send [02:46:24]OFD Sender: No OFD packet to send [02:46:29]OFD Sender: No OFD packet to send [02:46:34]OFD Sender: No OFD packet to send [02:46:39]OFD Sender: No OFD packet to send [02:46:44]OFD Sender: No OFD packet to send [02:46:49]OFD Sender: No OFD packet to send [02:46:54]OFD Sender: No OFD packet to send [02:46:59]OFD Sender: No OFD packet to send [02:47:04]OFD Sender: No OFD packet to send [02:47:09]OFD Sender: No OFD packet to send [02:47:14]OFD Sender: No OFD packet to send [02:47:19]OFD Sender: No OFD packet to send [02:47:24]OFD Sender: No OFD packet to send [02:47:29]OFD Sender: No OFD packet to send [02:47:34]OFD Sender: No OFD packet to send [02:47:39]OFD Sender: No OFD packet to send [02:47:44]OFD Sender: No OFD packet to send [02:47:49]OFD Sender: No OFD packet to send [02:47:54]OFD Sender: No OFD packet to send [02:47:59]OFD Sender: No OFD packet to send [02:48:04]OFD Sender: No OFD packet to send [02:48:09]OFD Sender: No OFD packet to send [02:48:14]OFD Sender: No OFD packet to send [02:48:19]OFD Sender: No OFD packet to send [02:48:24]OFD Sender: No OFD packet to send [02:48:29]OFD Sender: No OFD packet to send [02:48:34]OFD Sender: No OFD packet to send [02:48:39]OFD Sender: No OFD packet to send [02:48:44]OFD Sender: No OFD packet to send [02:48:49]OFD Sender: No OFD packet to send [02:48:54]OFD Sender: No OFD packet to send [02:48:59]OFD Sender: No OFD packet to send [02:49:04]OFD Sender: No OFD packet to send [02:49:09]OFD Sender: No OFD packet to send [02:49:14]OFD Sender: No OFD packet to send [02:49:19]OFD Sender: No OFD packet to send [02:49:24]OFD Sender: No OFD packet to send [02:49:29]OFD Sender: No OFD packet to send [02:49:34]OFD Sender: No OFD packet to send [02:49:39]OFD Sender: No OFD packet to send [02:49:44]OFD Sender: No OFD packet to send [02:49:49]OFD Sender: No OFD packet to send [02:49:54]OFD Sender: No OFD packet to send [02:49:59]OFD Sender: No OFD packet to send [02:50:04]OFD Sender: No OFD packet to send [02:50:09]OFD Sender: No OFD packet to send [02:50:14]OFD Sender: No OFD packet to send [02:50:19]OFD Sender: No OFD packet to send [02:50:24]OFD Sender: No OFD packet to send [02:50:29]OFD Sender: No OFD packet to send [02:50:34]OFD Sender: No OFD packet to send [02:50:39]OFD Sender: No OFD packet to send [02:50:44]OFD Sender: No OFD packet to send [02:50:49]OFD Sender: No OFD packet to send [02:50:54]OFD Sender: No OFD packet to send [02:50:59]OFD Sender: No OFD packet to send [02:51:04]OFD Sender: No OFD packet to send [02:51:09]OFD Sender: No OFD packet to send [02:51:14]OFD Sender: No OFD packet to send [02:51:19]OFD Sender: No OFD packet to send [02:51:24]OFD Sender: No OFD packet to send [02:51:29]OFD Sender: No OFD packet to send [02:51:34]OFD Sender: No OFD packet to send [02:51:39]OFD Sender: No OFD packet to send [02:51:44]OFD Sender: No OFD packet to send [02:51: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