[02:58:17]OFD Sender: No OFD packet to send [02:58:22]OFD Sender: No OFD packet to send [02:58:27]OFD Sender: No OFD packet to send [02:58:32]OFD Sender: No OFD packet to send [02:58:37]OFD Sender: No OFD packet to send [02:58:42]OFD Sender: No OFD packet to send [02:58:47]OFD Sender: No OFD packet to send [02:58:52]OFD Sender: No OFD packet to send [02:58:57]OFD Sender: No OFD packet to send [02:59:02]OFD Sender: No OFD packet to send [02:59:07]OFD Sender: No OFD packet to send [02:59:12]OFD Sender: No OFD packet to send [02:59:17]OFD Sender: No OFD packet to send [02:59:22]OFD Sender: No OFD packet to send [02:59:27]OFD Sender: No OFD packet to send [02:59:32]OFD Sender: No OFD packet to send [02:59:37]OFD Sender: No OFD packet to send [02:59:42]OFD Sender: No OFD packet to send [02:59:47]OFD Sender: No OFD packet to send [02:59:52]OFD Sender: No OFD packet to send [02:59:57]OFD Sender: No OFD packet to send [03:00:02]OFD Sender: No OFD packet to send [03:00:07]OFD Sender: No OFD packet to send [03:00:12]OFD Sender: No OFD packet to send [03:00:17]OFD Sender: No OFD packet to send [03:00:22]OFD Sender: No OFD packet to send [03:00:27]OFD Sender: No OFD packet to send [03:00:32]OFD Sender: No OFD packet to send [03:00:37]OFD Sender: No OFD packet to send [03:00:42]OFD Sender: No OFD packet to send [03:00:47]OFD Sender: No OFD packet to send [03:00:52]OFD Sender: No OFD packet to send [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:52]OFD Sender: No OFD packet to send [03:08:57]OFD Sender: No OFD packet to send [03:09:02]OFD Sender: No OFD packet to send [03:09:07]OFD Sender: No OFD packet to send [03:09:12]OFD Sender: No OFD packet to send [03:09:17]OFD Sender: No OFD packet to send [03:09:22]OFD Sender: No OFD packet to send [03:09:27]OFD Sender: No OFD packet to send [03:09:32]OFD Sender: No OFD packet to send [03:09:37]OFD Sender: No OFD packet to send [03:09:42]OFD Sender: No OFD packet to send [03:09:47]OFD Sender: No OFD packet to send [03:09:52]OFD Sender: No OFD packet to send [03:09:57]OFD Sender: No OFD packet to send [03:10:02]OFD Sender: No OFD packet to send [03:10:07]OFD Sender: No OFD packet to send [03:10:12]OFD Sender: No OFD packet to send [03:10:17]OFD Sender: No OFD packet to send [03:10:22]OFD Sender: No OFD packet to send [03:10:27]OFD Sender: No OFD packet to send [03:10:32]OFD Sender: No OFD packet to send [03:10:37]OFD Sender: No OFD packet to send [03:10:42]OFD Sender: No OFD packet to send [03:10:47]OFD Sender: No OFD packet to send [03:10:52]OFD Sender: No OFD packet to send [03:10:57]OFD Sender: No OFD packet to send [03:11:02]OFD Sender: No OFD packet to send [03:11:07]OFD Sender: No OFD packet to send [03:11:12]OFD Sender: No OFD packet to send [03:11:17]OFD Sender: No OFD packet to send [03:11:22]OFD Sender: No OFD packet to send [03:11:27]OFD Sender: No OFD packet to send [03:11:32]OFD Sender: No OFD packet to send [03:11:37]OFD Sender: No OFD packet to send [03:11:42]OFD Sender: No OFD packet to send [03:11:47]OFD Sender: No OFD packet to send [03:11:52]OFD Sender: No OFD packet to send [03:11:57]OFD Sender: No OFD packet to send [03:12:02]OFD Sender: No OFD packet to send [03:12:07]OFD Sender: No OFD packet to send [03:12:12]OFD Sender: No OFD packet to send [03:12:17]OFD Sender: No OFD packet to send [03:12:22]OFD Sender: No OFD packet to send [03:12:27]OFD Sender: No OFD packet to send [03:12:32]OFD Sender: No OFD packet to send [03:12:37]OFD Sender: No OFD packet to send [03:12:42]OFD Sender: No OFD packet to send [03:12:47]OFD Sender: No OFD packet to send [03:12:52]OFD Sender: No OFD packet to send [03:12:57]OFD Sender: No OFD packet to send [03:13:02]OFD Sender: No OFD packet to send [03:13:07]OFD Sender: No OFD packet to send [03:13:12]OFD Sender: No OFD packet to send [03:13:17]OFD Sender: No OFD packet to send [03:13:22]OFD Sender: No OFD packet to send [03:13:27]OFD Sender: No OFD packet to send [03:13:32]OFD Sender: No OFD packet to send [03:13:37]OFD Sender: No OFD packet to send [03:13:42]OFD Sender: No OFD packet to send [03:13: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:48]OFD Sender: No OFD packet to send [03:30:53]OFD Sender: No OFD packet to send [03:30:58]OFD Sender: No OFD packet to send [03:31:03]OFD Sender: No OFD packet to send [03:31:08]OFD Sender: No OFD packet to send [03:31:13]OFD Sender: No OFD packet to send [03:31:18]OFD Sender: No OFD packet to send [03:31:23]OFD Sender: No OFD packet to send [03:31:28]OFD Sender: No OFD packet to send [03:31:33]OFD Sender: No OFD packet to send [03:31:38]OFD Sender: No OFD packet to send [03:31:43]OFD Sender: No OFD packet to send [03:31:48]OFD Sender: No OFD packet to send [03:31:53]OFD Sender: No OFD packet to send [03:31:58]OFD Sender: No OFD packet to send [03:32:03]OFD Sender: No OFD packet to send [03:32:08]OFD Sender: No OFD packet to send [03:32:13]OFD Sender: No OFD packet to send [03:32:18]OFD Sender: No OFD packet to send [03:32:23]OFD Sender: No OFD packet to send [03:32:28]OFD Sender: No OFD packet to send [03:32:33]OFD Sender: No OFD packet to send [03:32:38]OFD Sender: No OFD packet to send [03:32:43]OFD Sender: No OFD packet to send [03:32:48]OFD Sender: No OFD packet to send [03:32:53]OFD Sender: No OFD packet to send [03:32:58]OFD Sender: No OFD packet to send [03:33:03]OFD Sender: No OFD packet to send [03:33:08]OFD Sender: No OFD packet to send [03:33:13]OFD Sender: No OFD packet to send [03:33:18]OFD Sender: No OFD packet to send [03:33:23]OFD Sender: No OFD packet to send [03:33:28]OFD Sender: No OFD packet to send [03:33:33]OFD Sender: No OFD packet to send [03:33:38]OFD Sender: No OFD packet to send [03:33:43]OFD Sender: No OFD packet to send [03:33:48]OFD Sender: No OFD packet to send [03:33:53]OFD Sender: No OFD packet to send [03:33:58]OFD Sender: No OFD packet to send [03:34:03]OFD Sender: No OFD packet to send [03:34:08]OFD Sender: No OFD packet to send [03:34:13]OFD Sender: No OFD packet to send [03:34:18]OFD Sender: No OFD packet to send [03:34:23]OFD Sender: No OFD packet to send [03:34:28]OFD Sender: No OFD packet to send [03:34:33]OFD Sender: No OFD packet to send [03:34:38]OFD Sender: No OFD packet to send [03:34:43]OFD Sender: No OFD packet to send [03:34:48]OFD Sender: No OFD packet to send [03:34:53]OFD Sender: No OFD packet to send [03:34:58]OFD Sender: No OFD packet to send [03:35:03]OFD Sender: No OFD packet to send [03:35:08]OFD Sender: No OFD packet to send [03:35:13]OFD Sender: No OFD packet to send [03:35:18]OFD Sender: No OFD packet to send [03:35:23]OFD Sender: No OFD packet to send [03:35:28]OFD Sender: No OFD packet to send [03:35:33]OFD Sender: No OFD packet to send [03:35:38]OFD Sender: No OFD packet to send [03:35:43]OFD Sender: No OFD packet to send [03:35:48]OFD Sender: No OFD packet to send [03:35: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:44]OFD Sender: No OFD packet to send [03:52:49]OFD Sender: No OFD packet to send [03:52:54]OFD Sender: No OFD packet to send [03:52:59]OFD Sender: No OFD packet to send [03:53:04]OFD Sender: No OFD packet to send [03:53:09]OFD Sender: No OFD packet to send [03:53:14]OFD Sender: No OFD packet to send [03:53:19]OFD Sender: No OFD packet to send [03:53:24]OFD Sender: No OFD packet to send [03:53:29]OFD Sender: No OFD packet to send [03:53:34]OFD Sender: No OFD packet to send [03:53:39]OFD Sender: No OFD packet to send [03:53:44]OFD Sender: No OFD packet to send [03:53:49]OFD Sender: No OFD packet to send [03:53:54]OFD Sender: No OFD packet to send [03:53:59]OFD Sender: No OFD packet to send [03:54:04]OFD Sender: No OFD packet to send [03:54:09]OFD Sender: No OFD packet to send [03:54:14]OFD Sender: No OFD packet to send [03:54:19]OFD Sender: No OFD packet to send [03:54:24]OFD Sender: No OFD packet to send [03:54:29]OFD Sender: No OFD packet to send [03:54:34]OFD Sender: No OFD packet to send [03:54:39]OFD Sender: No OFD packet to send [03:54:44]OFD Sender: No OFD packet to send [03:54:49]OFD Sender: No OFD packet to send [03:54:54]OFD Sender: No OFD packet to send [03:54:59]OFD Sender: No OFD packet to send [03:55:04]OFD Sender: No OFD packet to send [03:55:09]OFD Sender: No OFD packet to send [03:55:14]OFD Sender: No OFD packet to send [03:55:19]OFD Sender: No OFD packet to send [03:55:24]OFD Sender: No OFD packet to send [03:55:29]OFD Sender: No OFD packet to send [03:55:34]OFD Sender: No OFD packet to send [03:55:39]OFD Sender: No OFD packet to send [03:55:44]OFD Sender: No OFD packet to send [03:55:49]OFD Sender: No OFD packet to send [03:55:54]OFD Sender: No OFD packet to send [03:55:59]OFD Sender: No OFD packet to send [03:56:04]OFD Sender: No OFD packet to send [03:56:09]OFD Sender: No OFD packet to send [03:56:14]OFD Sender: No OFD packet to send [03:56:19]OFD Sender: No OFD packet to send [03:56:24]OFD Sender: No OFD packet to send [03:56:29]OFD Sender: No OFD packet to send [03:56:34]OFD Sender: No OFD packet to send [03:56:39]OFD Sender: No OFD packet to send [03:56:44]OFD Sender: No OFD packet to send [03:56:49]OFD Sender: No OFD packet to send [03:56:54]OFD Sender: No OFD packet to send [03:56:59]OFD Sender: No OFD packet to send [03:57:04]OFD Sender: No OFD packet to send [03:57:09]OFD Sender: No OFD packet to send [03:57:14]OFD Sender: No OFD packet to send [03:57:19]OFD Sender: No OFD packet to send [03:57:24]OFD Sender: No OFD packet to send [03:57:29]OFD Sender: No OFD packet to send [03:57:34]OFD Sender: No OFD packet to send [03:57:39]OFD Sender: No OFD packet to send [03:57:45]OFD Sender: No OFD packet to send [03:57:50]OFD Sender: No OFD packet to send [03:57:55]OFD Sender: No OFD packet to send [03:58:00]OFD Sender: No OFD packet to send [03:58:05]OFD Sender: No OFD packet to send [03:58:10]OFD Sender: No OFD packet to send [03:58:15]OFD Sender: No OFD packet to send [03:58:20]OFD Sender: No OFD packet to send [03:58:25]OFD Sender: No OFD packet to send [03:58:30]OFD Sender: No OFD packet to send [03:58:35]OFD Sender: No OFD packet to send [03:58:40]OFD Sender: No OFD packet to send [03:58:45]OFD Sender: No OFD packet to send [03:58:50]OFD Sender: No OFD packet to send [03:58:55]OFD Sender: No OFD packet to send [03:59:00]OFD Sender: No OFD packet to send [03:59:05]OFD Sender: No OFD packet to send [03:59:10]OFD Sender: No OFD packet to send [03:59:15]OFD Sender: No OFD packet to send [03:59:20]OFD Sender: No OFD packet to send [03:59:25]OFD Sender: No OFD packet to send [03:59:30]OFD Sender: No OFD packet to send [03:59:35]OFD Sender: No OFD packet to send [03:59:40]OFD Sender: No OFD packet to send [03:59:45]OFD Sender: No OFD packet to send [03:59:50]OFD Sender: No OFD packet to send [03:59:55]OFD Sender: No OFD packet to send [04:00:00]OFD Sender: No OFD packet to send [04:00:05]OFD Sender: No OFD packet to send [04:00:10]OFD Sender: No OFD packet to send [04:00:15]OFD Sender: No OFD packet to send [04:00:20]OFD Sender: No OFD packet to send [04:00:25]OFD Sender: No OFD packet to send [04:00:30]OFD Sender: No OFD packet to send [04:00:35]OFD Sender: No OFD packet to send [04:00:40]OFD Sender: No OFD packet to send [04:00:45]OFD Sender: No OFD packet to send [04:00:50]OFD Sender: No OFD packet to send [04:00:55]OFD Sender: No OFD packet to send [04:01:00]OFD Sender: No OFD packet to send [04:01:05]OFD Sender: No OFD packet to send [04:01:10]OFD Sender: No OFD packet to send [04:01:15]OFD Sender: No OFD packet to send [04:01:20]OFD Sender: No OFD packet to send [04:01:25]OFD Sender: No OFD packet to send [04:01:30]OFD Sender: No OFD packet to send [04:01:35]OFD Sender: No OFD packet to send [04:01:40]OFD Sender: No OFD packet to send [04:01:45]OFD Sender: No OFD packet to send [04:01:50]OFD Sender: No OFD packet to send [04:01:55]OFD Sender: No OFD packet to send [04:02:00]OFD Sender: No OFD packet to send [04:02:05]OFD Sender: No OFD packet to send [04:02:10]OFD Sender: No OFD packet to send [04:02:15]OFD Sender: No OFD packet to send [04:02:20]OFD Sender: No OFD packet to send [04:02:25]OFD Sender: No OFD packet to send [04:02:30]OFD Sender: No OFD packet to send [04:02:35]OFD Sender: No OFD packet to send [04:02:40]OFD Sender: No OFD packet to send [04:02:45]OFD Sender: No OFD packet to send [04:02:50]OFD Sender: No OFD packet to send [04:02:55]OFD Sender: No OFD packet to send [04:03:00]OFD Sender: No OFD packet to send [04:03:05]OFD Sender: No OFD packet to send [04:03:10]OFD Sender: No OFD packet to send [04:03:15]OFD Sender: No OFD packet to send [04:03:20]OFD Sender: No OFD packet to send [04:03:25]OFD Sender: No OFD packet to send [04:03:30]OFD Sender: No OFD packet to send [04:03:35]OFD Sender: No OFD packet to send [04:03:40]OFD Sender: No OFD packet to send [04:03:45]OFD Sender: No OFD packet to send [04:03:50]OFD Sender: No OFD packet to send [04:03:55]OFD Sender: No OFD packet to send [04:04:00]OFD Sender: No OFD packet to send [04:04:05]OFD Sender: No OFD packet to send [04:04:10]OFD Sender: No OFD packet to send [04:04:15]OFD Sender: No OFD packet to send [04:04:20]OFD Sender: No OFD packet to send [04:04:25]OFD Sender: No OFD packet to send [04:04:30]OFD Sender: No OFD packet to send [04:04:35]OFD Sender: No OFD packet to send [04:04:40]OFD Sender: No OFD packet to send [04:04:45]OFD Sender: No OFD packet to send [04:04:50]OFD Sender: No OFD packet to send [04:04:55]OFD Sender: No OFD packet to send [04:05:00]OFD Sender: No OFD packet to send [04:05:05]OFD Sender: No OFD packet to send [04:05:10]OFD Sender: No OFD packet to send [04:05:15]OFD Sender: No OFD packet to send [04:05:20]OFD Sender: No OFD packet to send [04:05:25]OFD Sender: No OFD packet to send [04:05:30]OFD Sender: No OFD packet to send [04:05:35]OFD Sender: No OFD packet to send [04:05:40]OFD Sender: No OFD packet to send [04:05:45]OFD Sender: No OFD packet to send [04:05:50]OFD Sender: No OFD packet to send [04:05:55]OFD Sender: No OFD packet to send [04:06:00]OFD Sender: No OFD packet to send [04:06:05]OFD Sender: No OFD packet to send [04:06:10]OFD Sender: No OFD packet to send [04:06:15]OFD Sender: No OFD packet to send [04:06:20]OFD Sender: No OFD packet to send [04:06:25]OFD Sender: No OFD packet to send [04:06:30]OFD Sender: No OFD packet to send [04:06:35]OFD Sender: No OFD packet to send [04:06:40]OFD Sender: No OFD packet to send [04:06:45]OFD Sender: No OFD packet to send [04:06:50]OFD Sender: No OFD packet to send [04:06:55]OFD Sender: No OFD packet to send [04:07:00]OFD Sender: No OFD packet to send [04:07:05]OFD Sender: No OFD packet to send [04:07:10]OFD Sender: No OFD packet to send [04:07:15]OFD Sender: No OFD packet to send [04:07:20]OFD Sender: No OFD packet to send [04:07:25]OFD Sender: No OFD packet to send [04:07:30]OFD Sender: No OFD packet to send [04:07:35]OFD Sender: No OFD packet to send [04:07:40]OFD Sender: No OFD packet to send [04:07:45]OFD Sender: No OFD packet to send [04:07:50]OFD Sender: No OFD packet to send [04:07:55]OFD Sender: No OFD packet to send [04:08:00]OFD Sender: No OFD packet to send [04:08:05]OFD Sender: No OFD packet to send [04:08:10]OFD Sender: No OFD packet to send [04:08:15]OFD Sender: No OFD packet to send [04:08:20]OFD Sender: No OFD packet to send [04:08:25]OFD Sender: No OFD packet to send [04:08:30]OFD Sender: No OFD packet to send [04:08:35]OFD Sender: No OFD packet to send [04:08:40]OFD Sender: No OFD packet to send [04:08:45]OFD Sender: No OFD packet to send [04:08:50]OFD Sender: No OFD packet to send [04:08:55]OFD Sender: No OFD packet to send [04:09:00]OFD Sender: No OFD packet to send [04:09:05]OFD Sender: No OFD packet to send [04:09:10]OFD Sender: No OFD packet to send [04:09:15]OFD Sender: No OFD packet to send [04:09:20]OFD Sender: No OFD packet to send [04:09:25]OFD Sender: No OFD packet to send [04:09:30]OFD Sender: No OFD packet to send [04:09:35]OFD Sender: No OFD packet to send [04:09:40]OFD Sender: No OFD packet to send [04:09:45]OFD Sender: No OFD packet to send [04:09:50]OFD Sender: No OFD packet to send [04:09:55]OFD Sender: No OFD packet to send [04:10:00]OFD Sender: No OFD packet to send [04:10:05]OFD Sender: No OFD packet to send [04:10:10]OFD Sender: No OFD packet to send [04:10:15]OFD Sender: No OFD packet to send [04:10:20]OFD Sender: No OFD packet to send [04:10:25]OFD Sender: No OFD packet to send [04:10:30]OFD Sender: No OFD packet to send [04:10:35]OFD Sender: No OFD packet to send [04:10:40]OFD Sender: No OFD packet to send [04:10:45]OFD Sender: No OFD packet to send [04:10:50]OFD Sender: No OFD packet to send [04:10:55]OFD Sender: No OFD packet to send [04:11:00]OFD Sender: No OFD packet to send [04:11:05]OFD Sender: No OFD packet to send [04:11:10]OFD Sender: No OFD packet to send [04:11:15]OFD Sender: No OFD packet to send [04:11:20]OFD Sender: No OFD packet to send [04:11:25]OFD Sender: No OFD packet to send [04:11:30]OFD Sender: No OFD packet to send [04:11:35]OFD Sender: No OFD packet to send [04:11:40]OFD Sender: No OFD packet to send [04:11:45]OFD Sender: No OFD packet to send [04:11:50]OFD Sender: No OFD packet to send [04:11:55]OFD Sender: No OFD packet to send [04:12:00]OFD Sender: No OFD packet to send [04:12:05]OFD Sender: No OFD packet to send [04:12:10]OFD Sender: No OFD packet to send [04:12:15]OFD Sender: No OFD packet to send [04:12:20]OFD Sender: No OFD packet to send [04:12:25]OFD Sender: No OFD packet to send [04:12:30]OFD Sender: No OFD packet to send [04:12:35]OFD Sender: No OFD packet to send [04:12:40]OFD Sender: No OFD packet to send [04:12:45]OFD Sender: No OFD packet to send [04:12:50]OFD Sender: No OFD packet to send [04:12:55]OFD Sender: No OFD packet to send [04:13:00]OFD Sender: No OFD packet to send [04:13:05]OFD Sender: No OFD packet to send [04:13:10]OFD Sender: No OFD packet to send [04:13:15]OFD Sender: No OFD packet to send [04:13:20]OFD Sender: No OFD packet to send [04:13:25]OFD Sender: No OFD packet to send [04:13:30]OFD Sender: No OFD packet to send [04:13:35]OFD Sender: No OFD packet to send [04:13:40]OFD Sender: No OFD packet to send [04:13:45]OFD Sender: No OFD packet to send [04:13:50]OFD Sender: No OFD packet to send [04:13:55]OFD Sender: No OFD packet to send [04:14:00]OFD Sender: No OFD packet to send [04:14:05]OFD Sender: No OFD packet to send [04:14:10]OFD Sender: No OFD packet to send [04:14:15]OFD Sender: No OFD packet to send [04:14:20]OFD Sender: No OFD packet to send [04:14:25]OFD Sender: No OFD packet to send [04:14:30]OFD Sender: No OFD packet to send [04:14:35]OFD Sender: No OFD packet to send [04:14:40]OFD Sender: No OFD packet to send [04:14:45]OFD Sender: No OFD packet to send [04:14:50]OFD Sender: No OFD packet to send [04:14:55]OFD Sender: No OFD packet to send [04:15:00]OFD Sender: No OFD packet to send [04:15:05]OFD Sender: No OFD packet to send [04:15:10]OFD Sender: No OFD packet to send [04:15:15]OFD Sender: No OFD packet to send [04:15:20]OFD Sender: No OFD packet to send [04:15:25]OFD Sender: No OFD packet to send [04:15:30]OFD Sender: No OFD packet to send [04:15:35]OFD Sender: No OFD packet to send [04:15:40]OFD Sender: No OFD packet to send [04:15:45]OFD Sender: No OFD packet to send [04:15:50]OFD Sender: No OFD packet to send [04:15:55]OFD Sender: No OFD packet to send [04:16:00]OFD Sender: No OFD packet to send [04:16:05]OFD Sender: No OFD packet to send [04:16:10]OFD Sender: No OFD packet to send [04:16:15]OFD Sender: No OFD packet to send [04:16:20]OFD Sender: No OFD packet to send [04:16:25]OFD Sender: No OFD packet to send [04:16:30]OFD Sender: No OFD packet to send [04:16:35]OFD Sender: No OFD packet to send [04:16:40]OFD Sender: No OFD packet to send [04:16:45]OFD Sender: No OFD packet to send [04:16:50]OFD Sender: No OFD packet to send [04:16:55]OFD Sender: No OFD packet to send [04:17:00]OFD Sender: No OFD packet to send [04:17:05]OFD Sender: No OFD packet to send [04:17:10]OFD Sender: No OFD packet to send [04:17:15]OFD Sender: No OFD packet to send [04:17:20]OFD Sender: No OFD packet to send [04:17:25]OFD Sender: No OFD packet to send [04:17:30]OFD Sender: No OFD packet to send [04:17:35]OFD Sender: No OFD packet to send [04:17:40]OFD Sender: No OFD packet to send [04:17:45]OFD Sender: No OFD packet to send [04:17:50]OFD Sender: No OFD packet to send [04:17:55]OFD Sender: No OFD packet to send [04:18:00]OFD Sender: No OFD packet to send [04:18:05]OFD Sender: No OFD packet to send [04:18:10]OFD Sender: No OFD packet to send [04:18:15]OFD Sender: No OFD packet to send [04:18:20]OFD Sender: No OFD packet to send [04:18:25]OFD Sender: No OFD packet to send [04:18:30]OFD Sender: No OFD packet to send [04:18:35]OFD Sender: No OFD packet to send [04:18:40]OFD Sender: No OFD packet to send [04:18:45]OFD Sender: No OFD packet to send [04:18:50]OFD Sender: No OFD packet to send [04:18:55]OFD Sender: No OFD packet to send [04:19:00]OFD Sender: No OFD packet to send [04:19:05]OFD Sender: No OFD packet to send [04:19:10]OFD Sender: No OFD packet to send [04:19:15]OFD Sender: No OFD packet to send [04:19:20]OFD Sender: No OFD packet to send [04:19:25]OFD Sender: No OFD packet to send [04:19:30]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:41]OFD Sender: No OFD packet to send [04:36:46]OFD Sender: No OFD packet to send [04:36:51]OFD Sender: No OFD packet to send [04:36:56]OFD Sender: No OFD packet to send [04:37:01]OFD Sender: No OFD packet to send [04:37:06]OFD Sender: No OFD packet to send [04:37:11]OFD Sender: No OFD packet to send [04:37:16]OFD Sender: No OFD packet to send [04:37:21]OFD Sender: No OFD packet to send [04:37:26]OFD Sender: No OFD packet to send [04:37:31]OFD Sender: No OFD packet to send [04:37:36]OFD Sender: No OFD packet to send [04:37:41]OFD Sender: No OFD packet to send [04:37:46]OFD Sender: No OFD packet to send [04:37:51]OFD Sender: No OFD packet to send [04:37:56]OFD Sender: No OFD packet to send [04:38:01]OFD Sender: No OFD packet to send [04:38:06]OFD Sender: No OFD packet to send [04:38:11]OFD Sender: No OFD packet to send [04:38:16]OFD Sender: No OFD packet to send [04:38:21]OFD Sender: No OFD packet to send [04:38:26]OFD Sender: No OFD packet to send [04:38:31]OFD Sender: No OFD packet to send [04:38:36]OFD Sender: No OFD packet to send [04:38:41]OFD Sender: No OFD packet to send [04:38:46]OFD Sender: No OFD packet to send [04:38:51]OFD Sender: No OFD packet to send [04:38:56]OFD Sender: No OFD packet to send [04:39:01]OFD Sender: No OFD packet to send [04:39:06]OFD Sender: No OFD packet to send [04:39:11]OFD Sender: No OFD packet to send [04:39:16]OFD Sender: No OFD packet to send [04:39:21]OFD Sender: No OFD packet to send [04:39:26]OFD Sender: No OFD packet to send [04:39:31]OFD Sender: No OFD packet to send [04:39:36]OFD Sender: No OFD packet to send [04:39:41]OFD Sender: No OFD packet to send [04:39:46]OFD Sender: No OFD packet to send [04:39:51]OFD Sender: No OFD packet to send [04:39:56]OFD Sender: No OFD packet to send [04:40:01]OFD Sender: No OFD packet to send [04:40:06]OFD Sender: No OFD packet to send [04:40:11]OFD Sender: No OFD packet to send [04:40:16]OFD Sender: No OFD packet to send [04:40:21]OFD Sender: No OFD packet to send [04:40:26]OFD Sender: No OFD packet to send [04:40:31]OFD Sender: No OFD packet to send [04:40:36]OFD Sender: No OFD packet to send [04:40:41]OFD Sender: No OFD packet to send [04:40:46]OFD Sender: No OFD packet to send [04:40:51]OFD Sender: No OFD packet to send [04:40:56]OFD Sender: No OFD packet to send [04:41:01]OFD Sender: No OFD packet to send [04:41:06]OFD Sender: No OFD packet to send [04:41:11]OFD Sender: No OFD packet to send [04:41:16]OFD Sender: No OFD packet to send [04:41:21]OFD Sender: No OFD packet to send [04:41:27]OFD Sender: No OFD packet to send [04:41:32]OFD Sender: No OFD packet to send [04:41:37]OFD Sender: No OFD packet to send [04:41:42]OFD Sender: No OFD packet to send [04:41:47]OFD Sender: No OFD packet to send [04:41:52]OFD Sender: No OFD packet to send [04:41:57]OFD Sender: No OFD packet to send [04:42:02]OFD Sender: No OFD packet to send [04:42:07]OFD Sender: No OFD packet to send [04:42:12]OFD Sender: No OFD packet to send [04:42:17]OFD Sender: No OFD packet to send [04:42:22]OFD Sender: No OFD packet to send [04:42:27]OFD Sender: No OFD packet to send [04:42:32]OFD Sender: No OFD packet to send [04:42:37]OFD Sender: No OFD packet to send [04:42:42]OFD Sender: No OFD packet to send [04:42:47]OFD Sender: No OFD packet to send [04:42:52]OFD Sender: No OFD packet to send [04:42:57]OFD Sender: No OFD packet to send [04:43:02]OFD Sender: No OFD packet to send [04:43:07]OFD Sender: No OFD packet to send [04:43:12]OFD Sender: No OFD packet to send [04:43:17]OFD Sender: No OFD packet to send [04:43:22]OFD Sender: No OFD packet to send [04:43:27]OFD Sender: No OFD packet to send [04:43:32]OFD Sender: No OFD packet to send [04:43:37]OFD Sender: No OFD packet to send [04:43:42]OFD Sender: No OFD packet to send [04:43:47]OFD Sender: No OFD packet to send [04:43:52]OFD Sender: No OFD packet to send [04:43:57]OFD Sender: No OFD packet to send [04:44:02]OFD Sender: No OFD packet to send [04:44:07]OFD Sender: No OFD packet to send [04:44:12]OFD Sender: No OFD packet to send [04:44:17]OFD Sender: No OFD packet to send [04:44:22]OFD Sender: No OFD packet to send [04:44:27]OFD Sender: No OFD packet to send [04:44:32]OFD Sender: No OFD packet to send [04:44:37]OFD Sender: No OFD packet to send [04:44:42]OFD Sender: No OFD packet to send [04:44:47]OFD Sender: No OFD packet to send [04:44:52]OFD Sender: No OFD packet to send [04:44:57]OFD Sender: No OFD packet to send [04:45:02]OFD Sender: No OFD packet to send [04:45:07]OFD Sender: No OFD packet to send [04:45:12]OFD Sender: No OFD packet to send [04:45:17]OFD Sender: No OFD packet to send [04:45:22]OFD Sender: No OFD packet to send [04:45:27]OFD Sender: No OFD packet to send [04:45:32]OFD Sender: No OFD packet to send [04:45:37]OFD Sender: No OFD packet to send [04:45:42]OFD Sender: No OFD packet to send [04:45:47]OFD Sender: No OFD packet to send [04:45:52]OFD Sender: No OFD packet to send [04:45:57]OFD Sender: No OFD packet to send [04:46:02]OFD Sender: No OFD packet to send [04:46:07]OFD Sender: No OFD packet to send [04:46:12]OFD Sender: No OFD packet to send [04:46:17]OFD Sender: No OFD packet to send [04:46:22]OFD Sender: No OFD packet to send [04:46:27]OFD Sender: No OFD packet to send [04:46:32]OFD Sender: No OFD packet to send [04:46:37]OFD Sender: No OFD packet to send [04:46:42]OFD Sender: No OFD packet to send [04:46:47]OFD Sender: No OFD packet to send [04:46:52]OFD Sender: No OFD packet to send [04:46:57]OFD Sender: No OFD packet to send [04:47:02]OFD Sender: No OFD packet to send [04:47:07]OFD Sender: No OFD packet to send [04:47:12]OFD Sender: No OFD packet to send [04:47:17]OFD Sender: No OFD packet to send [04:47:22]OFD Sender: No OFD packet to send [04:47:27]OFD Sender: No OFD packet to send [04:47:32]OFD Sender: No OFD packet to send [04:47:37]OFD Sender: No OFD packet to send [04:47:42]OFD Sender: No OFD packet to send [04:47:47]OFD Sender: No OFD packet to send [04:47:52]OFD Sender: No OFD packet to send [04:47:57]OFD Sender: No OFD packet to send [04:48:02]OFD Sender: No OFD packet to send [04:48:07]OFD Sender: No OFD packet to send [04:48:12]OFD Sender: No OFD packet to send [04:48:17]OFD Sender: No OFD packet to send [04:48:22]OFD Sender: No OFD packet to send [04:48:27]OFD Sender: No OFD packet to send [04:48:32]OFD Sender: No OFD packet to send [04:48:37]OFD Sender: No OFD packet to send [04:48:42]OFD Sender: No OFD packet to send [04:48:47]OFD Sender: No OFD packet to send [04:48:52]OFD Sender: No OFD packet to send [04:48:57]OFD Sender: No OFD packet to send [04:49:02]OFD Sender: No OFD packet to send [04:49:07]OFD Sender: No OFD packet to send [04:49:12]OFD Sender: No OFD packet to send [04:49:17]OFD Sender: No OFD packet to send [04:49:22]OFD Sender: No OFD packet to send [04:49:27]OFD Sender: No OFD packet to send [04:49:32]OFD Sender: No OFD packet to send [04:49:37]OFD Sender: No OFD packet to send [04:49:42]OFD Sender: No OFD packet to send [04:49:47]OFD Sender: No OFD packet to send [04:49:52]OFD Sender: No OFD packet to send [04:49:57]OFD Sender: No OFD packet to send [04:50:02]OFD Sender: No OFD packet to send [04:50:07]OFD Sender: No OFD packet to send [04:50:12]OFD Sender: No OFD packet to send [04:50:17]OFD Sender: No OFD packet to send [04:50:22]OFD Sender: No OFD packet to send [04:50:27]OFD Sender: No OFD packet to send [04:50:32]OFD Sender: No OFD packet to send [04:50:37]OFD Sender: No OFD packet to send [04:50:42]OFD Sender: No OFD packet to send [04:50:47]OFD Sender: No OFD packet to send [04:50:52]OFD Sender: No OFD packet to send [04:50:57]OFD Sender: No OFD packet to send [04:51:02]OFD Sender: No OFD packet to send [04:51:07]OFD Sender: No OFD packet to send [04:51:12]OFD Sender: No OFD packet to send [04:51:17]OFD Sender: No OFD packet to send [04:51:22]OFD Sender: No OFD packet to send [04:51:27]OFD Sender: No OFD packet to send [04:51:32]OFD Sender: No OFD packet to send [04:51:37]OFD Sender: No OFD packet to send [04:51:42]OFD Sender: No OFD packet to send [04:51:47]OFD Sender: No OFD packet to send [04:51:52]OFD Sender: No OFD packet to send [04:51:57]OFD Sender: No OFD packet to send [04:52:02]OFD Sender: No OFD packet to send [04:52:07]OFD Sender: No OFD packet to send [04:52:12]OFD Sender: No OFD packet to send [04:52:17]OFD Sender: No OFD packet to send [04:52:22]OFD Sender: No OFD packet to send [04:52:27]OFD Sender: No OFD packet to send [04:52:32]OFD Sender: No OFD packet to send [04:52:37]OFD Sender: No OFD packet to send [04:52:42]OFD Sender: No OFD packet to send [04:52:47]OFD Sender: No OFD packet to send [04:52:52]OFD Sender: No OFD packet to send [04:52:57]OFD Sender: No OFD packet to send [04:53:02]OFD Sender: No OFD packet to send [04:53:07]OFD Sender: No OFD packet to send [04:53:12]OFD Sender: No OFD packet to send [04:53:17]OFD Sender: No OFD packet to send [04:53:22]OFD Sender: No OFD packet to send [04:53:27]OFD Sender: No OFD packet to send [04:53:32]OFD Sender: No OFD packet to send [04:53:37]OFD Sender: No OFD packet to send [04:53:42]OFD Sender: No OFD packet to send [04:53:47]OFD Sender: No OFD packet to send [04:53:52]OFD Sender: No OFD packet to send [04:53:57]OFD Sender: No OFD packet to send [04:54:02]OFD Sender: No OFD packet to send [04:54:07]OFD Sender: No OFD packet to send [04:54:12]OFD Sender: No OFD packet to send [04:54:17]OFD Sender: No OFD packet to send [04:54:22]OFD Sender: No OFD packet to send [04:54:27]OFD Sender: No OFD packet to send [04:54:32]OFD Sender: No OFD packet to send [04:54:37]OFD Sender: No OFD packet to send [04:54:42]OFD Sender: No OFD packet to send [04:54:47]OFD Sender: No OFD packet to send [04:54:52]OFD Sender: No OFD packet to send [04:54:57]OFD Sender: No OFD packet to send [04:55:02]OFD Sender: No OFD packet to send [04:55:07]OFD Sender: No OFD packet to send [04:55:12]OFD Sender: No OFD packet to send [04:55:17]OFD Sender: No OFD packet to send [04:55:22]OFD Sender: No OFD packet to send [04:55:27]OFD Sender: No OFD packet to send [04:55:32]OFD Sender: No OFD packet to send [04:55:37]OFD Sender: No OFD packet to send [04:55:42]OFD Sender: No OFD packet to send [04:55:47]OFD Sender: No OFD packet to send [04:55:52]OFD Sender: No OFD packet to send [04:55:57]OFD Sender: No OFD packet to send [04:56:02]OFD Sender: No OFD packet to send [04:56:07]OFD Sender: No OFD packet to send [04:56:12]OFD Sender: No OFD packet to send [04:56:17]OFD Sender: No OFD packet to send [04:56:22]OFD Sender: No OFD packet to send [04:56:27]OFD Sender: No OFD packet to send [04:56:32]OFD Sender: No OFD packet to send [04:56:37]OFD Sender: No OFD packet to send [04:56:42]OFD Sender: No OFD packet to send [04:56:47]OFD Sender: No OFD packet to send [04:56:52]OFD Sender: No OFD packet to send [04:56:57]OFD Sender: No OFD packet to send [04:57:02]OFD Sender: No OFD packet to send [04:57:07]OFD Sender: No OFD packet to send [04:57:12]OFD Sender: No OFD packet to send [04:57:17]OFD Sender: No OFD packet to send [04:57:22]OFD Sender: No OFD packet to send [04:57:27]OFD Sender: No OFD packet to send [04:57:32]OFD Sender: No OFD packet to send [04:57:37]OFD Sender: No OFD packet to send [04:57:42]OFD Sender: No OFD packet to send [04:57:47]OFD Sender: No OFD packet to send [04:57:52]OFD Sender: No OFD packet to send [04:57:57]OFD Sender: No OFD packet to send [04:58:02]OFD Sender: No OFD packet to send [04:58:07]OFD Sender: No OFD packet to send [04:58:12]OFD Sender: No OFD packet to send [04:58:17]OFD Sender: No OFD packet to send [04:58:22]OFD Sender: No OFD packet to send [04:58:27]OFD Sender: No OFD packet to send [04:58:32]OFD Sender: No OFD packet to send [04:58:37]OFD Sender: No OFD packet to send [04:58:42]OFD Sender: No OFD packet to send [04:58:47]OFD Sender: No OFD packet to send [04:58:52]OFD Sender: No OFD packet to send [04:58:57]OFD Sender: No OFD packet to send [04:59:02]OFD Sender: No OFD packet to send [04:59:07]OFD Sender: No OFD packet to send [04:59:12]OFD Sender: No OFD packet to send [04:59:17]OFD Sender: No OFD packet to send [04:59:22]OFD Sender: No OFD packet to send [04:59:27]OFD Sender: No OFD packet to send [04:59:32]OFD Sender: No OFD packet to send [04:59:37]OFD Sender: No OFD packet to send [04:59:42]OFD Sender: No OFD packet to send [04:59:47]OFD Sender: No OFD packet to send [04:59:52]OFD Sender: No OFD packet to send [04:59:57]OFD Sender: No OFD packet to send [05:00:02]OFD Sender: No OFD packet to send [05:00:07]OFD Sender: No OFD packet to send [05:00:12]OFD Sender: No OFD packet to send [05:00:17]OFD Sender: No OFD packet to send [05:00:22]OFD Sender: No OFD packet to send [05:00:27]OFD Sender: No OFD packet to send [05:00:32]OFD Sender: No OFD packet to send [05:00:37]OFD Sender: No OFD packet to send [05:00:42]OFD Sender: No OFD packet to send [05:00:47]OFD Sender: No OFD packet to send [05:00:52]OFD Sender: No OFD packet to send [05:00:57]OFD Sender: No OFD packet to send [05:01:02]OFD Sender: No OFD packet to send [05:01:07]OFD Sender: No OFD packet to send [05:01:12]OFD Sender: No OFD packet to send [05:01:17]OFD Sender: No OFD packet to send [05:01:22]OFD Sender: No OFD packet to send [05:01:27]OFD Sender: No OFD packet to send [05:01:32]OFD Sender: No OFD packet to send [05:01:37]OFD Sender: No OFD packet to send [05:01:42]OFD Sender: No OFD packet to send [05:01:47]OFD Sender: No OFD packet to send [05:01:52]OFD Sender: No OFD packet to send [05:01:57]OFD Sender: No OFD packet to send [05:02:02]OFD Sender: No OFD packet to send [05:02:07]OFD Sender: No OFD packet to send [05:02:12]OFD Sender: No OFD packet to send [05:02:17]OFD Sender: No OFD packet to send [05:02:22]OFD Sender: No OFD packet to send [05:02:27]OFD Sender: No OFD packet to send [05:02:32]OFD Sender: No OFD packet to send [05:02:37]OFD Sender: No OFD packet to send [05:02:42]OFD Sender: No OFD packet to send [05:02:47]OFD Sender: No OFD packet to send [05:02:52]OFD Sender: No OFD packet to send [05:02:57]OFD Sender: No OFD packet to send [05:03:02]OFD Sender: No OFD packet to send [05:03:07]OFD Sender: No OFD packet to send [05:03:12]OFD Sender: No OFD packet to send [05:03:17]OFD Sender: No OFD packet to send [05:03:23]OFD Sender: No OFD packet to send [05:03:28]OFD Sender: No OFD packet to send [05:03:33]OFD Sender: No OFD packet to send [05:03:35]accept exits with 9 [05:03:35]New connection [05:03:35]New thread 3067227492 created [05:03:35]Thread 3067370852 joined [05:03:35]Waiting for new connection... [05:03:35] Sock 9.Parse request [05:03:35]Sock 9.Check first char [05:03:35]Sock 9.First char is OK [05:03:35]request: POST /json_proto HTTP/1.0 [05:03:35]Method: POST [05:03:35]URL: /json_proto [05:03:35]Method is POST - this is cgi request [05:03:35]url: /json_proto [05:03:35]query_string will be loaded in cgi processing [05:03:35]execute_cgi json_proto POST (null) [05:03:35]execute_cgi path=json_proto method=POST [05:03:35]POST find Content-Length [05:03:35]Host: 172.17.56.68:8080 [05:03:35]Content-Length: 659 [05:03:35]Content-Type: application/json [05:03:35] [05:03:35]POST finish read [05:03:35]Found Content-Length = 659 [05:03:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4337", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:03:35]execute_script... [05:03: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)4337", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:03:35]POST & json_proto [05:03:35]process_json_proto [05:03:35]json parsed OK: [05:03:35]protocol is kg_v1.0 [05:03:35]action value=close_receipt [05:03:35]process_action close_receipt [05:03:35]cmd_close_receipt [05:03:35]MH_GetDate [05:03:35]Write to MH i2c: F0 00 00 DD 15 E1 [05:03:35]Write i2c OK [05:03:35]MH_I2C_Read... [05:03:35]Read from MH i2c: F0 [05:03:35]MH_I2C_Read... [05:03:35]Read from MH i2c: F0 09 00 [05:03:35]MH_I2C_Read... [05:03:35]Read from MH i2c: F0 09 00 DD 15 00 2E A0 5E 66 42 69 5C 66 E9 [05:03:35]GetLastDocTimeStamp 1717459822 [05:03:35]current date 1717477422 [05:03:35]FM_GetShiftState [05:03:35]SAM_PROTO_GetShiftState [05:03:35]wFMCommunicate request_size=4 [05:03:35]MH_SAM_APDU [05:03:35]CAPDU: 80 13 01 00 [05:03:35]Write to MH i2c: E2 08 00 DE 15 80 13 01 00 00 00 00 00 70 [05:03:35]Write i2c OK [05:03:35]MH_I2C_Read... [05:03:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:03:35]Read from MH i2c: E2 [05:03:35]MH_I2C_Read... [05:03:35]Read from MH i2c: E2 0E 00 [05:03:35]MH_I2C_Read... [05:03:35]Read from MH i2c: E2 0E 00 DE 15 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 09 [05:03:35]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [05:03:35]wFMCommunicate OK [05:03:35]SAM_PROTO_GetShiftState done [05:03:35]FM_GetShiftState done [05:03:35]opened in 1717459822 [05:03:35]opened+sec_in_day 1717546222 [05:03:35]quantity*price = 6700 [05:03:35]sum+1 = 6701 [05:03:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 67.00 НСП 1% : 0.59 НДС 12% : 7.11 Наличными: 67.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 1 04.06.2024 05:03 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4084 ФПД: 160764435732155 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T050343&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4084&fm=160764435732155&tin=02508201610067®Number=0000000000145775&sum=6700 0 [05:03:36]StoreToDocumentArchive [05:03:36]shift 83 fd 4084 [05:03:36]save to /storage/0083/doc_00004084 [05:03:36]save last doc name /storage/0083/doc_00004084 to /storage/kkm_last_doc_name [05:03:36]save OK [05:03:36]Clear old archive folders... [05:03:36]ProcessDocumentItem done err = 0, tmpTLVsize=284 [05:03:36]tlvbuf is B6F0EBD0 [05:03:36]SAM_PROTO_ClearQueue [05:03:36]wFMCommunicate request_size=4 [05:03:36]MH_SAM_APDU [05:03:36]CAPDU: 80 09 00 00 [05:03:36]Write to MH i2c: E2 08 00 EB 15 80 09 00 00 00 00 00 00 72 [05:03:36]Write i2c OK [05:03:36]MH_I2C_Read... [05:03:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:03:36]Read from MH i2c: E2 [05:03:36]MH_I2C_Read... [05:03:36]Read from MH i2c: E2 03 00 [05:03:36]MH_I2C_Read... [05:03:36]Read from MH i2c: E2 03 00 EB 15 00 90 00 74 [05:03:36]RAPDU: 90 00 [05:03:36]wFMCommunicate OK [05:03:36]SAM_PROTO_ClearQueue done [05:03:36]KKMCreateOFDPacket [05:03:36]OFDProtocolAddRootSTLVToBuf [05:03:36]FM_MakeSignedData [05:03:36]FM_MakeSignedData [05:03:36]SAM_PROTO_SignData [05:03:36]wFMCommunicate request_size=4 [05:03:36]MH_SAM_APDU [05:03:36]CAPDU: 80 0D 01 02 [05:03:36]Write to MH i2c: E2 08 00 EC 15 80 0D 01 02 00 00 00 00 7A [05:03:36]Write i2c OK [05:03:36]MH_I2C_Read... [05:03:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:03:37]Read from MH i2c: E2 [05:03:37]MH_I2C_Read... [05:03:37]Read from MH i2c: E2 03 00 [05:03:37]MH_I2C_Read... [05:03:37]Read from MH i2c: E2 03 00 EC 15 00 90 00 75 [05:03:37]RAPDU: 90 00 [05:03:37]wFMCommunicate OK [05:03:37]wFMCommunicate request_size=255 [05:03:37]MH_SAM_APDU [05:03:37]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 2F A0 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 [05:03:37]Write to MH i2c: E2 02 01 ED 15 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 2F A0 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 00 00 86 [05:03:37]Write i2c OK [05:03:37]MH_I2C_Read... [05:03:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:03:37]Read from MH i2c: E2 [05:03:37]MH_I2C_Read... [05:03:37]Read from MH i2c: E2 03 00 [05:03:37]MH_I2C_Read... [05:03:37]Read from MH i2c: E2 03 00 ED 15 00 90 00 76 [05:03:37]RAPDU: 90 00 [05:03:37]wFMCommunicate OK [05:03:37]wFMCommunicate request_size=43 [05:03:37]MH_SAM_APDU [05:03:37]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F4 0F 00 00 35 04 06 00 92 36 E3 15 96 BB [05:03:37]Write to MH i2c: E2 2E 00 EE 15 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F4 0F 00 00 35 04 06 00 92 36 E3 15 96 BB 00 00 79 [05:03:37]Write i2c OK [05:03:37]MH_I2C_Read... [05:03:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:03:37]Read from MH i2c: E2 [05:03:37]MH_I2C_Read... [05:03:37]Read from MH i2c: E2 03 00 [05:03:37]MH_I2C_Read... [05:03:37]Read from MH i2c: E2 03 00 EE 15 00 90 00 77 [05:03:37]RAPDU: 90 00 [05:03:37]wFMCommunicate OK [05:03:37]wFMCommunicate request_size=4 [05:03:37]MH_SAM_APDU [05:03:37]CAPDU: 80 0D 03 02 [05:03:37]Write to MH i2c: E2 08 00 EF 15 80 0D 03 02 00 00 00 00 7F [05:03:37]Write i2c OK [05:03:37]MH_I2C_Read... [05:03:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:03:37]Read from MH i2c: E2 [05:03:37]MH_I2C_Read... [05:03:37]Read from MH i2c: E2 0B 00 [05:03:37]MH_I2C_Read... [05:03:37]Read from MH i2c: E2 0B 00 EF 15 00 A6 96 03 80 32 C2 FA 01 90 00 2E [05:03:37]RAPDU: A6 96 03 80 32 C2 FA 01 90 00 [05:03:37]wFMCommunicate OK [05:03:37]SAM_PROTO_SignData done [05:03:37]FM_MakeSignedData done [05:03:37]CreateOFDProtocolMessage [05:03:37]wFMCommunicate request_size=4 [05:03:37]MH_SAM_APDU [05:03:37]CAPDU: 80 11 00 00 [05:03:37]Write to MH i2c: E2 08 00 F0 15 80 11 00 00 00 00 00 00 7F [05:03:37]Write i2c OK [05:03:37]MH_I2C_Read... [05:03:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:03:37]Read from MH i2c: E2 [05:03:37]MH_I2C_Read... [05:03:37]Read from MH i2c: E2 17 00 [05:03:37]MH_I2C_Read... [05:03:37]Read from MH i2c: E2 17 00 F0 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D2 [05:03:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [05:03:37]wFMCommunicate OK [05:03:37]CreateOFDProtocolMessage done [05:03:37]OFDSenderStorePacket 4084 [05:03:37]StoreOFDPacket docnum=4084 [05:03:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 30 01 00 00 DD 77 28 01 C2 82 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 2F A0 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F4 0F 00 00 35 04 06 00 92 36 E3 15 96 BB A6 96 03 80 32 C2 FA 01 [05:03:37]CheckFolder [05:03:37]dirname=/storage/ofd_packets [05:03:37]CheckFolder done [05:03:37]ProducePacketName [05:03:37]name=ofd_packets/00004084 [05:03:37]NVStorageSaveData ofd_packets/00004084 [05:03:37]File name is /storage/ofd_packets/00004084 [05:03:37]Write 334 bytes [05:03:37]NVStorageSaveData done [05:03:37]OFDSenderStorePacket done [05:03:37]KKMCreateOFDPacket done [05:03:37]NVStorageSaveData kkm_last_timestamp [05:03:37]File name is /storage/kkm_last_timestamp [05:03:37]Write 4 bytes [05:03:37]NVStorageSaveData done [05:03:37]ExternCall_PrintAddStr [05:03:37]wPrintStart [05:03:37]Write to MH i2c: 01 00 00 F1 15 06 [05:03:37]Write i2c OK [05:03:37]MH_I2C_Read... [05:03:37]Read from MH i2c: 01 [05:03:37]MH_I2C_Read... [05:03:37]Read from MH i2c: 01 07 00 [05:03:37]MH_I2C_Read... [05:03:37]Read from MH i2c: 01 07 00 F1 15 00 00 00 00 00 FF 0F 1B [05:03:37]RasterBufferAndPrint [05:03:37]line Счет N : (3)4337 [05:03:37]line ИНН: 02508201610067 [05:03:37]line Контрольно-Кассовый Чек [05:03:37]line ПРОДАЖА [05:03:37]line Товар: 6931280300549 [05:03:37]line Зажигалка Cricket ПН пьезо [05:03:37]line 1.000 * 67.00 [05:03:37]line = 67.00 [05:03:37]line НДС 12% НСП 1% [05:03:37]line > о реализуемом товаре [05:03:37]line ИТОГО: 67.00 [05:03:37]line НСП 1% : 0.59 [05:03:37]line НДС 12% : 7.11 [05:03:37]line Наличными: 67.00 [05:03:37]line Безнал.: 0.00 [05:03:37]line Место: АЗС № 116 "Партнер Нефть" [05:03:37]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [05:03:37]line СНО: Общий режим [05:03:37]line Чек 1 04.06.2024 05:03 [05:03:37]line Смена: 83 ФФД: 1.0 [05:03:37]line ЗНМ: 0300000233 [05:03:37]line РНМ: 0000000000145775 [05:03:37]line Версия ККМ: v1.0 [05:03:37]line ФМ: 0000000000959360 [05:03:37]line ФД: 4084 [05:03:37]line ФПД: 160764435732155 [05:03:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T050343&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4084&fm=160764435732155&tin=02508201610067®Number=0000000000145775&sum=6700 [05:03:37]line 0 [05:03:37]OFD Sender: Processing packet 4084 [packets to send 2, broken 1] [05:03:37]ProducePacketName [05:03:37]name=ofd_packets/00004084 [05:03:37]OFD Sender: To server: pG, [05:03:37]CommunicateWithHost lk.salyk.kg:30040 [05:03:37]ConnectInit lk.salyk.kg [05:03:37]written 0, free lines is 4095 [05:03:37]Connected sock=8 [05:03:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 30 01 00 00 DD 77 28 01 C2 82 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 2F A0 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F4 0F 00 00 35 04 06 00 92 36 E3 15 96 BB A6 96 03 80 32 C2 FA 01 [05:03:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 38 BF 47 00 C6 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F4 0F 00 00 F4 03 04 00 30 4C 5E 66 B6 04 01 00 00 DB B5 B7 8A 44 A6 C8 8B [05:03:38]CommunicateWithHost err = 0 [05:03:38]CheckOFDResponse [05:03:38]1017 (14) - 77093643461234 [05:03:38]1041 (16) - 0000000000959360 [05:03:38]1040 (4) - 4084 [05:03:38]1012 (4) - 03.06.2024 23:05 [05:03:38]1206 (1) - 0 [05:03:38]OFD Sender: Remove packet 4084 [05:03:38]ProducePacketName [05:03:38]name=ofd_packets/00004084 [05:03:38]NVStorageDeleteData [05:03:38]Write to MH i2c: 01 00 00 19 16 2F [05:03:38]Write i2c OK [05:03:38]MH_I2C_Read... [05:03:38]Read from MH i2c: 01 [05:03:38]MH_I2C_Read... [05:03:38]Read from MH i2c: 01 07 00 [05:03:38]MH_I2C_Read... [05:03:38]Read from MH i2c: 01 07 00 19 16 00 00 00 00 00 D1 0C 13 [05:03:38]RasterBufferAndPrint [05:03:38]line [05:03:38]line [05:03:38]line [05:03:38]line [05:03:38]line [05:03:38]written 0, free lines is 3289 [05:03:38]MH_Cut [05:03:38]Write to MH i2c: D1 01 00 20 16 01 08 [05:03:38]Write i2c OK [05:03:38]MH_I2C_Read... [05:03:38]Read from MH i2c: D1 [05:03:38]MH_I2C_Read... [05:03:38]Read from MH i2c: D1 01 00 [05:03:38]MH_I2C_Read... [05:03:38]Read from MH i2c: D1 01 00 20 16 00 07 [05:03:38]Write to MH i2c: 01 00 00 21 16 37 [05:03:38]Write i2c OK [05:03:38]MH_I2C_Read... [05:03:38]OFD Sender: No OFD packet to send [05:03:39]*** Cut start [05:03:39]*** Partial cut [05:03:39]*** CUTSNS_PIN = 1 [05:03:39]*** CUTSNS_PIN = 0 [05:03:39]*** Brake cut motor [05:03:39]Read from MH i2c: 01 [05:03:39]MH_I2C_Read... [05:03:39]*** Stop cut motor [05:03:39]*** Cut end [05:03:39]Read from MH i2c: 01 07 00 [05:03:39]MH_I2C_Read... [05:03:39]Read from MH i2c: 01 07 00 21 16 00 00 00 00 00 FF 0F 4C [05:03:39]process_action close_receipt done [05:03:39]requested_data is exist [05:03:39]produce_requested_data [05:03:39]requested_item fm.sn is exist - process it [05:03:39]wFMCommunicate request_size=4 [05:03:39]MH_SAM_APDU [05:03:39]CAPDU: 80 11 00 00 [05:03:39]Write to MH i2c: E2 08 00 22 16 80 11 00 00 00 00 00 00 B2 [05:03:39]Write i2c OK [05:03:39]MH_I2C_Read... [05:03:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:03:39]Read from MH i2c: E2 [05:03:39]MH_I2C_Read... [05:03:39]Read from MH i2c: E2 17 00 [05:03:39]MH_I2C_Read... [05:03:39]Read from MH i2c: E2 17 00 22 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 05 [05:03:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [05:03:39]wFMCommunicate OK [05:03:39]requested_item fd.num is exist - process it [05:03:39]SAM_PROTO_GetFieldsCounters [05:03:39]wFMCommunicate request_size=4 [05:03:39]MH_SAM_APDU [05:03:39]CAPDU: 80 13 00 00 [05:03:39]Write to MH i2c: E2 08 00 23 16 80 13 00 00 00 00 00 00 B5 [05:03:39]Write i2c OK [05:03:39]MH_I2C_Read... [05:03:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:03:39]Read from MH i2c: E2 [05:03:39]MH_I2C_Read... [05:03:39]Read from MH i2c: E2 62 00 [05:03:39]MH_I2C_Read... [05:03:39]Read from MH i2c: E2 62 00 23 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F4 0F 00 00 0E 04 04 00 53 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 33 [05:03:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F4 0F 00 00 0E 04 04 00 53 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 [05:03:39]wFMCommunicate OK [05:03:39]SAM_PROTO_GetFieldsCounters done [05:03:39]requested_item shift.num is exist - process it [05:03:39]requested_item shift.opened is exist - process it [05:03:39]req_shift_opened [05:03:39]FM_GetShiftState [05:03:39]SAM_PROTO_GetShiftState [05:03:39]wFMCommunicate request_size=4 [05:03:39]MH_SAM_APDU [05:03:39]CAPDU: 80 13 01 00 [05:03:39]Write to MH i2c: E2 08 00 24 16 80 13 01 00 00 00 00 00 B7 [05:03:39]Write i2c OK [05:03:39]MH_I2C_Read... [05:03:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:03:40]Read from MH i2c: E2 [05:03:40]MH_I2C_Read... [05:03:40]Read from MH i2c: E2 0E 00 [05:03:40]MH_I2C_Read... [05:03:40]Read from MH i2c: E2 0E 00 24 16 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 50 [05:03:40]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [05:03:40]wFMCommunicate OK [05:03:40]SAM_PROTO_GetShiftState done [05:03:40]FM_GetShiftState done [05:03:40]req_shift_opened done [05:03:40]requested_item shift.open_date is exist - process it [05:03:40]req_shift_open_date [05:03:40]req_shift_open_date done [05:03:40]produce_requested_data done [05:03:40]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4084,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [05:03:40]process_action_free close_receipt [05:03:40]json_value_free [05:03:40]json_value_free done [05:03:40]process_json_proto returns [05:03:40]Send response to host [05:03:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4084,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [05:03:40]free response buf [05:03:40]execute_script done [05:03:40]execute_script returns [05:03:40]free content buf [05:03:40]Sock 9.Close socket [05:03:40]Sock 9.Thread stoped [05:03:43]OFD Sender: No OFD packet to send [05:03:48]OFD Sender: No OFD packet to send [05:03:53]OFD Sender: No OFD packet to send [05:03:58]OFD Sender: No OFD packet to send [05:04:03]OFD Sender: No OFD packet to send [05:04:08]OFD Sender: No OFD packet to send [05:04:13]OFD Sender: No OFD packet to send [05:04:18]OFD Sender: No OFD packet to send [05:04:23]OFD Sender: No OFD packet to send [05:04:28]OFD Sender: No OFD packet to send [05:04:33]OFD Sender: No OFD packet to send [05:04:38]OFD Sender: No OFD packet to send [05:04:43]OFD Sender: No OFD packet to send [05:04:48]OFD Sender: No OFD packet to send [05:04:53]OFD Sender: No OFD packet to send [05:04:58]OFD Sender: No OFD packet to send [05:05:03]OFD Sender: No OFD packet to send [05:05:08]OFD Sender: No OFD packet to send [05:05:13]OFD Sender: No OFD packet to send [05:05:18]OFD Sender: No OFD packet to send [05:05:23]OFD Sender: No OFD packet to send [05:05:28]OFD Sender: No OFD packet to send [05:05:33]OFD Sender: No OFD packet to send [05:05:38]OFD Sender: No OFD packet to send [05:05:43]OFD Sender: No OFD packet to send [05:05:48]OFD Sender: No OFD packet to send [05:05:53]OFD Sender: No OFD packet to send [05:05:58]OFD Sender: No OFD packet to send [05:06:03]OFD Sender: No OFD packet to send [05:06:08]OFD Sender: No OFD packet to send [05:06:13]OFD Sender: No OFD packet to send [05:06:18]OFD Sender: No OFD packet to send [05:06:23]OFD Sender: No OFD packet to send [05:06:28]OFD Sender: No OFD packet to send [05:06:33]OFD Sender: No OFD packet to send [05:06:38]OFD Sender: No OFD packet to send [05:06:43]OFD Sender: No OFD packet to send [05:06:48]OFD Sender: No OFD packet to send [05:06:53]OFD Sender: No OFD packet to send [05:06:58]OFD Sender: No OFD packet to send [05:07:03]OFD Sender: No OFD packet to send [05:07:08]OFD Sender: No OFD packet to send [05:07:13]OFD Sender: No OFD packet to send [05:07:18]OFD Sender: No OFD packet to send [05:07:23]OFD Sender: No OFD packet to send [05:07:28]OFD Sender: No OFD packet to send [05:07:33]OFD Sender: No OFD packet to send [05:07:38]OFD Sender: No OFD packet to send [05:07:42]accept exits with 10 [05:07:42]New connection [05:07:42]New thread 3067370852 created [05:07:42]Thread 3067227492 joined [05:07:42]Waiting for new connection... [05:07:42] Sock 10.Parse request [05:07:42]Sock 10.Check first char [05:07:42]Sock 10.First char is OK [05:07:42]request: POST /json_proto HTTP/1.0 [05:07:42]Method: POST [05:07:42]URL: /json_proto [05:07:42]Method is POST - this is cgi request [05:07:42]url: /json_proto [05:07:42]query_string will be loaded in cgi processing [05:07:42]execute_cgi json_proto POST (null) [05:07:42]execute_cgi path=json_proto method=POST [05:07:42]POST find Content-Length [05:07:42]Host: 172.17.56.68:8080 [05:07:42]Content-Length: 1702 [05:07:42]Content-Type: application/json [05:07:42] [05:07:42]POST finish read [05:07:42]Found Content-Length = 1702 [05:07:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4338", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 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": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 358.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:07:42]execute_script... [05:07: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)4338", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 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": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 358.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:07:42]POST & json_proto [05:07:42]process_json_proto [05:07:42]json parsed OK: [05:07:42]protocol is kg_v1.0 [05:07:42]action value=close_receipt [05:07:42]process_action close_receipt [05:07:42]cmd_close_receipt [05:07:42]MH_GetDate [05:07:42]Write to MH i2c: F0 00 00 25 16 2A [05:07:42]Write i2c OK [05:07:42]MH_I2C_Read... [05:07:42]Read from MH i2c: F0 [05:07:42]MH_I2C_Read... [05:07:42]Read from MH i2c: F0 09 00 [05:07:42]MH_I2C_Read... [05:07:42]Read from MH i2c: F0 09 00 25 16 00 26 A1 5E 66 42 69 5C 66 2B [05:07:42]GetLastDocTimeStamp 1717477423 [05:07:42]current date 1717477670 [05:07:42]FM_GetShiftState [05:07:42]SAM_PROTO_GetShiftState [05:07:42]wFMCommunicate request_size=4 [05:07:42]MH_SAM_APDU [05:07:42]CAPDU: 80 13 01 00 [05:07:42]Write to MH i2c: E2 08 00 26 16 80 13 01 00 00 00 00 00 B9 [05:07:42]Write i2c OK [05:07:42]MH_I2C_Read... [05:07:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:07:42]Read from MH i2c: E2 [05:07:42]MH_I2C_Read... [05:07:42]Read from MH i2c: E2 0E 00 [05:07:42]MH_I2C_Read... [05:07:42]Read from MH i2c: E2 0E 00 26 16 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 52 [05:07:42]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [05:07:42]wFMCommunicate OK [05:07:42]SAM_PROTO_GetShiftState done [05:07:42]FM_GetShiftState done [05:07:42]opened in 1717459822 [05:07:42]opened+sec_in_day 1717546222 [05:07:42]quantity*price = 7500 [05:07:42]sum+1 = 7501 [05:07:42]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003010032 Чай хол Let`s Go! чер персик ПЭТ 0,5л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4631150682851 Нап En Dragon Mojito лайм,клуб ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4640030092499 Сигареты ESSE SENSE Himalaya 1.000 * 138.00 = 138.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 358.00 НСП 1% : 3.16 НДС 12% : 38.01 Наличными: 0.00 Безнал.: 358.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 2 04.06.2024 05:07 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4085 ФПД: 75555069964146 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T050750&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4085&fm=75555069964146&tin=02508201610067®Number=0000000000145775&sum=35800 0 [05:07:43]StoreToDocumentArchive [05:07:43]shift 83 fd 4085 [05:07:43]save to /storage/0083/doc_00004085 [05:07:43]save last doc name /storage/0083/doc_00004085 to /storage/kkm_last_doc_name [05:07:43]save OK [05:07:43]Clear old archive folders... [05:07:43]ProcessDocumentItem done err = 0, tmpTLVsize=666 [05:07:43]tlvbuf is B6F279A0 [05:07:43]SAM_PROTO_ClearQueue [05:07:43]wFMCommunicate request_size=4 [05:07:43]MH_SAM_APDU [05:07:43]CAPDU: 80 09 00 00 [05:07:43]Write to MH i2c: E2 08 00 33 16 80 09 00 00 00 00 00 00 BB [05:07:44]Write i2c OK [05:07:44]MH_I2C_Read... [05:07:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:07:44]Read from MH i2c: E2 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: E2 03 00 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: E2 03 00 33 16 00 90 00 BD [05:07:44]RAPDU: 90 00 [05:07:44]wFMCommunicate OK [05:07:44]SAM_PROTO_ClearQueue done [05:07:44]KKMCreateOFDPacket [05:07:44]OFDProtocolAddRootSTLVToBuf [05:07:44]FM_MakeSignedData [05:07:44]FM_MakeSignedData [05:07:44]SAM_PROTO_SignData [05:07:44]wFMCommunicate request_size=4 [05:07:44]MH_SAM_APDU [05:07:44]CAPDU: 80 0D 01 02 [05:07:44]Write to MH i2c: E2 08 00 34 16 80 0D 01 02 00 00 00 00 C3 [05:07:44]Write i2c OK [05:07:44]MH_I2C_Read... [05:07:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:07:44]Read from MH i2c: E2 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: E2 03 00 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: E2 03 00 34 16 00 90 00 BE [05:07:44]RAPDU: 90 00 [05:07:44]wFMCommunicate OK [05:07:44]wFMCommunicate request_size=255 [05:07:44]MH_SAM_APDU [05:07:44]CAPDU: 80 0D 02 02 FA 03 00 9A 02 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 [05:07:44]Write to MH i2c: E2 02 01 35 16 80 0D 02 02 FA 00 03 00 9A 02 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 00 00 57 [05:07:44]Write i2c OK [05:07:44]MH_I2C_Read... [05:07:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:07:44]Read from MH i2c: E2 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: E2 03 00 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: E2 03 00 35 16 00 90 00 BF [05:07:44]RAPDU: 90 00 [05:07:44]wFMCommunicate OK [05:07:44]wFMCommunicate request_size=255 [05:07:44]MH_SAM_APDU [05:07:44]CAPDU: 80 0D 02 02 FA 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 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 [05:07:44]Write to MH i2c: E2 02 01 36 16 80 0D 02 02 FA 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 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 00 00 5D [05:07:44]Write i2c OK [05:07:44]MH_I2C_Read... [05:07:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:07:44]Read from MH i2c: E2 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: E2 03 00 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: E2 03 00 36 16 00 90 00 C0 [05:07:44]RAPDU: 90 00 [05:07:44]wFMCommunicate OK [05:07:44]wFMCommunicate request_size=175 [05:07:44]MH_SAM_APDU [05:07:44]CAPDU: 80 0D 02 02 AA BC 04 01 00 01 FC 03 06 00 D8 8B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 8B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 26 A1 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F5 0F 00 00 35 04 06 00 44 B7 89 1B 2F 72 [05:07:44]Write to MH i2c: E2 B2 00 37 16 80 0D 02 02 AA 00 BC 04 01 00 01 FC 03 06 00 D8 8B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 8B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 26 A1 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F5 0F 00 00 35 04 06 00 44 B7 89 1B 2F 72 00 00 31 [05:07:44]Write i2c OK [05:07:44]MH_I2C_Read... [05:07:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:07:44]Read from MH i2c: E2 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: E2 03 00 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: E2 03 00 37 16 00 90 00 C1 [05:07:44]RAPDU: 90 00 [05:07:44]wFMCommunicate OK [05:07:44]wFMCommunicate request_size=4 [05:07:44]MH_SAM_APDU [05:07:44]CAPDU: 80 0D 03 02 [05:07:44]Write to MH i2c: E2 08 00 38 16 80 0D 03 02 00 00 00 00 C9 [05:07:44]Write i2c OK [05:07:44]MH_I2C_Read... [05:07:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:07:44]Read from MH i2c: E2 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: E2 0B 00 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: E2 0B 00 38 16 00 AE 5D 64 94 1A 44 9A C4 90 00 89 [05:07:44]RAPDU: AE 5D 64 94 1A 44 9A C4 90 00 [05:07:44]wFMCommunicate OK [05:07:44]SAM_PROTO_SignData done [05:07:44]FM_MakeSignedData done [05:07:44]CreateOFDProtocolMessage [05:07:44]wFMCommunicate request_size=4 [05:07:44]MH_SAM_APDU [05:07:44]CAPDU: 80 11 00 00 [05:07:44]Write to MH i2c: E2 08 00 39 16 80 11 00 00 00 00 00 00 C9 [05:07:44]Write i2c OK [05:07:44]MH_I2C_Read... [05:07:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:07:44]Read from MH i2c: E2 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: E2 17 00 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: E2 17 00 39 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 1C [05:07:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [05:07:44]wFMCommunicate OK [05:07:44]CreateOFDProtocolMessage done [05:07:44]OFDSenderStorePacket 4085 [05:07:44]StoreOFDPacket docnum=4085 [05:07:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 AE 02 00 00 C6 67 A6 02 05 AC 5A 03 01 00 03 00 9A 02 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 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 D8 8B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 8B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 26 A1 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F5 0F 00 00 35 04 06 00 44 B7 89 1B 2F 72 AE 5D 64 94 1A 44 9A C4 [05:07:44]CheckFolder [05:07:44]dirname=/storage/ofd_packets [05:07:44]CheckFolder done [05:07:44]ProducePacketName [05:07:44]name=ofd_packets/00004085 [05:07:44]NVStorageSaveData ofd_packets/00004085 [05:07:44]File name is /storage/ofd_packets/00004085 [05:07:44]Write 716 bytes [05:07:44]NVStorageSaveData done [05:07:44]OFDSenderStorePacket done [05:07:44]KKMCreateOFDPacket done [05:07:44]NVStorageSaveData kkm_last_timestamp [05:07:44]File name is /storage/kkm_last_timestamp [05:07:44]Write 4 bytes [05:07:44]NVStorageSaveData done [05:07:44]ExternCall_PrintAddStr [05:07:44]wPrintStart [05:07:44]Write to MH i2c: 01 00 00 3A 16 50 [05:07:44]Write i2c OK [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: 01 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: 01 07 00 [05:07:44]MH_I2C_Read... [05:07:44]Read from MH i2c: 01 07 00 3A 16 00 00 00 00 00 FF 0F 65 [05:07:44]RasterBufferAndPrint [05:07:44]line Счет N : (3)4338 [05:07:44]line ИНН: 02508201610067 [05:07:45]line Контрольно-Кассовый Чек [05:07:45]line ПРОДАЖА [05:07:45]line Товар: 4870112003956 [05:07:45]line Шок батончик ALBENI SUPER Альбени Супер [05:07:45]line 1.000 * 75.00 [05:07:45]line = 75.00 [05:07:45]line НДС 12% НСП 1% [05:07:45]line > о реализуемом товаре [05:07:45]line Товар: 4700003010032 [05:07:45]line Чай хол Let`s Go! чер персик ПЭТ 0,5л [05:07:45]line 1.000 * 50.00 [05:07:45]line = 50.00 [05:07:45]line НДС 12% НСП 1% [05:07:45]line > о реализуемом товаре [05:07:45]line Товар: 4631150682851 [05:07:45]line Нап En Dragon Mojito лайм,клуб ж/б 0,45л [05:07:45]line 1.000 * 95.00 [05:07:45]line = 95.00 [05:07:45]line НДС 12% НСП 1% [05:07:45]line > о реализуемом товаре [05:07:45]line Товар: 4640030092499 [05:07:45]line Сигареты ESSE SENSE Himalaya [05:07:45]line 1.000 * 138.00 [05:07:45]line = 138.00 [05:07:45]line НДС 12% НСП 1% [05:07:45]line > о реализуемом товаре [05:07:45]line ИТОГО: 358.00 [05:07:45]line НСП 1% : 3.16 [05:07:45]line НДС 12% : 38.01 [05:07:45]line Наличными: 0.00 [05:07:45]line Безнал.: 358.00 [05:07:45]line Место: АЗС № 116 "Партнер Нефть" [05:07:45]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [05:07:45]line СНО: Общий режим [05:07:45]line Чек 2 04.06.2024 05:07 [05:07:45]line Смена: 83 ФФД: 1.0 [05:07:45]line ЗНМ: 0300000233 [05:07:45]line РНМ: 0000000000145775 [05:07:45]line Версия ККМ: v1.0 [05:07:45]line Платежная система: О! деньги [05:07:45]line ФМ: 0000000000959360 [05:07:45]line ФД: 4085 [05:07:45]line ФПД: 75555069964146 [05:07:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T050750&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4085&fm=75555069964146&tin=02508201610067®Number=0000000000145775&sum=35800 [05:07:45]OFD Sender: Processing packet 4085 [packets to send 2, broken 1] [05:07:45]ProducePacketName [05:07:45]name=ofd_packets/00004085 [05:07:45]OFD Sender: To server: pG, [05:07:45]CommunicateWithHost lk.salyk.kg:30040 [05:07:45]ConnectInit lk.salyk.kg [05:07:45]line 0 [05:07:45]written 0, free lines is 4095 [05:07:45]Connected sock=9 [05:07:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 AE 02 00 00 C6 67 A6 02 05 AC 5A 03 01 00 03 00 9A 02 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 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 D8 8B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 8B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 26 A1 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F5 0F 00 00 35 04 06 00 44 B7 89 1B 2F 72 AE 5D 64 94 1A 44 9A C4 [05:07:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 73 75 47 00 2B 3D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F5 0F 00 00 F4 03 04 00 28 4D 5E 66 B6 04 01 00 00 FB 8C D3 E1 A1 83 36 0B [05:07:45]CommunicateWithHost err = 0 [05:07:45]CheckOFDResponse [05:07:45]1017 (14) - 77093643461234 [05:07:45]1041 (16) - 0000000000959360 [05:07:45]1040 (4) - 4085 [05:07:45]1012 (4) - 03.06.2024 23:09 [05:07:45]1206 (1) - 0 [05:07:45]OFD Sender: Remove packet 4085 [05:07:45]ProducePacketName [05:07:45]name=ofd_packets/00004085 [05:07:45]NVStorageDeleteData [05:07:45]Write to MH i2c: 01 00 00 7A 16 90 [05:07:45]Write i2c OK [05:07:45]MH_I2C_Read... [05:07:45]Read from MH i2c: 01 [05:07:45]MH_I2C_Read... [05:07:45]Read from MH i2c: 01 07 00 [05:07:45]MH_I2C_Read... [05:07:45]Read from MH i2c: 01 07 00 7A 16 00 00 00 00 00 2B 0B CD [05:07:46]RasterBufferAndPrint [05:07:46]line [05:07:46]line [05:07:46]line [05:07:46]line [05:07:46]line [05:07:46]written 0, free lines is 2866 [05:07:46]MH_Cut [05:07:46]Write to MH i2c: D1 01 00 81 16 01 69 [05:07:46]Write i2c OK [05:07:46]MH_I2C_Read... [05:07:46]Read from MH i2c: D1 [05:07:46]MH_I2C_Read... [05:07:46]Read from MH i2c: D1 01 00 [05:07:46]MH_I2C_Read... [05:07:46]Read from MH i2c: D1 01 00 81 16 00 68 [05:07:46]Write to MH i2c: 01 00 00 82 16 98 [05:07:46]Write i2c OK [05:07:46]MH_I2C_Read... [05:07:46]OFD Sender: No OFD packet to send [05:07:47]*** Cut start [05:07:47]*** Partial cut [05:07:47]*** CUTSNS_PIN = 1 [05:07:47]*** CUTSNS_PIN = 0 [05:07:47]*** Brake cut motor [05:07:47]Read from MH i2c: 01 [05:07:47]MH_I2C_Read... [05:07:47]*** Stop cut motor [05:07:47]*** Cut end [05:07:47]Read from MH i2c: 01 07 00 [05:07:47]MH_I2C_Read... [05:07:47]Read from MH i2c: 01 07 00 82 16 00 00 00 00 00 FF 0F AD [05:07:47]process_action close_receipt done [05:07:47]requested_data is exist [05:07:47]produce_requested_data [05:07:47]requested_item fm.sn is exist - process it [05:07:47]wFMCommunicate request_size=4 [05:07:47]MH_SAM_APDU [05:07:47]CAPDU: 80 11 00 00 [05:07:47]Write to MH i2c: E2 08 00 83 16 80 11 00 00 00 00 00 00 13 [05:07:47]Write i2c OK [05:07:47]MH_I2C_Read... [05:07:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:07:47]Read from MH i2c: E2 [05:07:47]MH_I2C_Read... [05:07:47]Read from MH i2c: E2 17 00 [05:07:47]MH_I2C_Read... [05:07:47]Read from MH i2c: E2 17 00 83 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 66 [05:07:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [05:07:47]wFMCommunicate OK [05:07:47]requested_item fd.num is exist - process it [05:07:47]SAM_PROTO_GetFieldsCounters [05:07:47]wFMCommunicate request_size=4 [05:07:47]MH_SAM_APDU [05:07:47]CAPDU: 80 13 00 00 [05:07:47]Write to MH i2c: E2 08 00 84 16 80 13 00 00 00 00 00 00 16 [05:07:47]Write i2c OK [05:07:47]MH_I2C_Read... [05:07:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:07:48]Read from MH i2c: E2 [05:07:48]MH_I2C_Read... [05:07:48]Read from MH i2c: E2 62 00 [05:07:48]MH_I2C_Read... [05:07:48]Read from MH i2c: E2 62 00 84 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F5 0F 00 00 0E 04 04 00 53 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 98 [05:07:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F5 0F 00 00 0E 04 04 00 53 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 [05:07:48]wFMCommunicate OK [05:07:48]SAM_PROTO_GetFieldsCounters done [05:07:48]requested_item shift.num is exist - process it [05:07:48]requested_item shift.opened is exist - process it [05:07:48]req_shift_opened [05:07:48]FM_GetShiftState [05:07:48]SAM_PROTO_GetShiftState [05:07:48]wFMCommunicate request_size=4 [05:07:48]MH_SAM_APDU [05:07:48]CAPDU: 80 13 01 00 [05:07:48]Write to MH i2c: E2 08 00 85 16 80 13 01 00 00 00 00 00 18 [05:07:48]Write i2c OK [05:07:48]MH_I2C_Read... [05:07:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:07:48]Read from MH i2c: E2 [05:07:48]MH_I2C_Read... [05:07:48]Read from MH i2c: E2 0E 00 [05:07:48]MH_I2C_Read... [05:07:48]Read from MH i2c: E2 0E 00 85 16 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 B1 [05:07:48]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [05:07:48]wFMCommunicate OK [05:07:48]SAM_PROTO_GetShiftState done [05:07:48]FM_GetShiftState done [05:07:48]req_shift_opened done [05:07:48]requested_item shift.open_date is exist - process it [05:07:48]req_shift_open_date [05:07:48]req_shift_open_date done [05:07:48]produce_requested_data done [05:07:48]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4085,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [05:07:48]process_action_free close_receipt [05:07:48]json_value_free [05:07:48]json_value_free done [05:07:48]process_json_proto returns [05:07:48]Send response to host [05:07:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4085,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [05:07:48]free response buf [05:07:48]execute_script done [05:07:48]execute_script returns [05:07:48]free content buf [05:07:48]Sock 10.Close socket [05:07:48]Sock 10.Thread stoped [05:07:51]OFD Sender: No OFD packet to send [05:07:56]OFD Sender: No OFD packet to send [05:08:01]OFD Sender: No OFD packet to send [05:08:06]OFD Sender: No OFD packet to send [05:08:11]OFD Sender: No OFD packet to send [05:08:16]OFD Sender: No OFD packet to send [05:08:21]OFD Sender: No OFD packet to send [05:08:26]OFD Sender: No OFD packet to send [05:08:31]OFD Sender: No OFD packet to send [05:08:36]OFD Sender: No OFD packet to send [05:08:41]OFD Sender: No OFD packet to send [05:08:46]OFD Sender: No OFD packet to send [05:08:51]OFD Sender: No OFD packet to send [05:08:56]OFD Sender: No OFD packet to send [05:09:01]OFD Sender: No OFD packet to send [05:09:06]OFD Sender: No OFD packet to send [05:09:11]OFD Sender: No OFD packet to send [05:09:16]OFD Sender: No OFD packet to send [05:09:21]OFD Sender: No OFD packet to send [05:09:26]OFD Sender: No OFD packet to send [05:09:31]OFD Sender: No OFD packet to send [05:09:36]OFD Sender: No OFD packet to send [05:09:41]OFD Sender: No OFD packet to send [05:09:46]OFD Sender: No OFD packet to send [05:09:51]OFD Sender: No OFD packet to send [05:09:56]OFD Sender: No OFD packet to send [05:10:01]OFD Sender: No OFD packet to send [05:10:06]OFD Sender: No OFD packet to send [05:10:11]OFD Sender: No OFD packet to send [05:10:16]OFD Sender: No OFD packet to send [05:10:21]OFD Sender: No OFD packet to send [05:10:26]OFD Sender: No OFD packet to send [05:10:31]OFD Sender: No OFD packet to send [05:10:36]OFD Sender: No OFD packet to send [05:10:41]OFD Sender: No OFD packet to send [05:10:46]OFD Sender: No OFD packet to send [05:10:51]OFD Sender: No OFD packet to send [05:10:56]OFD Sender: No OFD packet to send [05:11:01]OFD Sender: No OFD packet to send [05:11:06]OFD Sender: No OFD packet to send [05:11:11]OFD Sender: No OFD packet to send [05:11:16]OFD Sender: No OFD packet to send [05:11:21]OFD Sender: No OFD packet to send [05:11:26]OFD Sender: No OFD packet to send [05:11:31]OFD Sender: No OFD packet to send [05:11:36]OFD Sender: No OFD packet to send [05:11:41]OFD Sender: No OFD packet to send [05:11:46]OFD Sender: No OFD packet to send [05:11:51]OFD Sender: No OFD packet to send [05:11:56]OFD Sender: No OFD packet to send [05:12:01]OFD Sender: No OFD packet to send [05:12:06]OFD Sender: No OFD packet to send [05:12:11]OFD Sender: No OFD packet to send [05:12:16]OFD Sender: No OFD packet to send [05:12:21]OFD Sender: No OFD packet to send [05:12:26]OFD Sender: No OFD packet to send [05:12:31]OFD Sender: No OFD packet to send [05:12:36]OFD Sender: No OFD packet to send [05:12:41]OFD Sender: No OFD packet to send [05:12:46]OFD Sender: No OFD packet to send [05:12:51]OFD Sender: No OFD packet to send [05:12:56]OFD Sender: No OFD packet to send [05:13:01]OFD Sender: No OFD packet to send [05:13:06]OFD Sender: No OFD packet to send [05:13:11]OFD Sender: No OFD packet to send [05:13:16]OFD Sender: No OFD packet to send [05:13:21]OFD Sender: No OFD packet to send [05:13:26]OFD Sender: No OFD packet to send [05:13:31]OFD Sender: No OFD packet to send [05:13:36]OFD Sender: No OFD packet to send [05:13:41]OFD Sender: No OFD packet to send [05:13:46]OFD Sender: No OFD packet to send [05:13:51]OFD Sender: No OFD packet to send [05:13:56]OFD Sender: No OFD packet to send [05:14:01]OFD Sender: No OFD packet to send [05:14:06]OFD Sender: No OFD packet to send [05:14:11]OFD Sender: No OFD packet to send [05:14:16]OFD Sender: No OFD packet to send [05:14:21]OFD Sender: No OFD packet to send [05:14:26]OFD Sender: No OFD packet to send [05:14:31]OFD Sender: No OFD packet to send [05:14:36]OFD Sender: No OFD packet to send [05:14:41]OFD Sender: No OFD packet to send [05:14:46]OFD Sender: No OFD packet to send [05:14:51]OFD Sender: No OFD packet to send [05:14:56]OFD Sender: No OFD packet to send [05:15:01]OFD Sender: No OFD packet to send [05:15:06]OFD Sender: No OFD packet to send [05:15:11]OFD Sender: No OFD packet to send [05:15:16]OFD Sender: No OFD packet to send [05:15:21]OFD Sender: No OFD packet to send [05:15:26]OFD Sender: No OFD packet to send [05:15:31]OFD Sender: No OFD packet to send [05:15:36]OFD Sender: No OFD packet to send [05:15:41]OFD Sender: No OFD packet to send [05:15:46]OFD Sender: No OFD packet to send [05:15:51]OFD Sender: No OFD packet to send [05:15:56]OFD Sender: No OFD packet to send [05:16:01]OFD Sender: No OFD packet to send [05:16:06]OFD Sender: No OFD packet to send [05:16:11]OFD Sender: No OFD packet to send [05:16:16]OFD Sender: No OFD packet to send [05:16:21]OFD Sender: No OFD packet to send [05:16:26]OFD Sender: No OFD packet to send [05:16:31]OFD Sender: No OFD packet to send [05:16:36]OFD Sender: No OFD packet to send [05:16:41]OFD Sender: No OFD packet to send [05:16:46]OFD Sender: No OFD packet to send [05:16:51]OFD Sender: No OFD packet to send [05:16:56]OFD Sender: No OFD packet to send [05:17:01]OFD Sender: No OFD packet to send [05:17:06]OFD Sender: No OFD packet to send [05:17:11]OFD Sender: No OFD packet to send [05:17:16]OFD Sender: No OFD packet to send [05:17:21]OFD Sender: No OFD packet to send [05:17:26]OFD Sender: No OFD packet to send [05:17:31]OFD Sender: No OFD packet to send [05:17:36]OFD Sender: No OFD packet to send [05:17:41]OFD Sender: No OFD packet to send [05:17:46]OFD Sender: No OFD packet to send [05:17:51]OFD Sender: No OFD packet to send [05:17:56]OFD Sender: No OFD packet to send [05:18:01]OFD Sender: No OFD packet to send [05:18:06]OFD Sender: No OFD packet to send [05:18:11]OFD Sender: No OFD packet to send [05:18:16]OFD Sender: No OFD packet to send [05:18:21]OFD Sender: No OFD packet to send [05:18:26]OFD Sender: No OFD packet to send [05:18:31]OFD Sender: No OFD packet to send [05:18:36]OFD Sender: No OFD packet to send [05:18:41]OFD Sender: No OFD packet to send [05:18:46]OFD Sender: No OFD packet to send [05:18:51]OFD Sender: No OFD packet to send [05:18:56]OFD Sender: No OFD packet to send [05:19:01]OFD Sender: No OFD packet to send [05:19:06]OFD Sender: No OFD packet to send [05:19:11]OFD Sender: No OFD packet to send [05:19:16]OFD Sender: No OFD packet to send [05:19:21]OFD Sender: No OFD packet to send [05:19:26]OFD Sender: No OFD packet to send [05:19:31]OFD Sender: No OFD packet to send [05:19:36]OFD Sender: No OFD packet to send [05:19:41]OFD Sender: No OFD packet to send [05:19:46]OFD Sender: No OFD packet to send [05:19:51]OFD Sender: No OFD packet to send [05:19:56]OFD Sender: No OFD packet to send [05:20:01]OFD Sender: No OFD packet to send [05:20:06]OFD Sender: No OFD packet to send [05:20:11]OFD Sender: No OFD packet to send [05:20:16]OFD Sender: No OFD packet to send [05:20:21]OFD Sender: No OFD packet to send [05:20:26]OFD Sender: No OFD packet to send [05:20:31]OFD Sender: No OFD packet to send [05:20:36]OFD Sender: No OFD packet to send [05:20:41]OFD Sender: No OFD packet to send [05:20:46]OFD Sender: No OFD packet to send [05:20:51]OFD Sender: No OFD packet to send [05:20:56]OFD Sender: No OFD packet to send [05:21:01]OFD Sender: No OFD packet to send [05:21:06]OFD Sender: No OFD packet to send [05:21:11]OFD Sender: No OFD packet to send [05:21:16]OFD Sender: No OFD packet to send [05:21:21]OFD Sender: No OFD packet to send [05:21:26]OFD Sender: No OFD packet to send [05:21:31]OFD Sender: No OFD packet to send [05:21:36]OFD Sender: No OFD packet to send [05:21:41]OFD Sender: No OFD packet to send [05:21:46]OFD Sender: No OFD packet to send [05:21:51]OFD Sender: No OFD packet to send [05:21:56]OFD Sender: No OFD packet to send [05:22:01]OFD Sender: No OFD packet to send [05:22:06]OFD Sender: No OFD packet to send [05:22:11]OFD Sender: No OFD packet to send [05:22:16]OFD Sender: No OFD packet to send [05:22:21]OFD Sender: No OFD packet to send [05:22:26]OFD Sender: No OFD packet to send [05:22:31]OFD Sender: No OFD packet to send [05:22:36]OFD Sender: No OFD packet to send [05:22:41]OFD Sender: No OFD packet to send [05:22:46]OFD Sender: No OFD packet to send [05:22:51]OFD Sender: No OFD packet to send [05:22:56]OFD Sender: No OFD packet to send [05:23:01]OFD Sender: No OFD packet to send [05:23:06]OFD Sender: No OFD packet to send [05:23:11]OFD Sender: No OFD packet to send [05:23:16]OFD Sender: No OFD packet to send [05:23:21]OFD Sender: No OFD packet to send [05:23:26]OFD Sender: No OFD packet to send [05:23:31]OFD Sender: No OFD packet to send [05:23:36]OFD Sender: No OFD packet to send [05:23:41]OFD Sender: No OFD packet to send [05:23:46]OFD Sender: No OFD packet to send [05:23:51]OFD Sender: No OFD packet to send [05:23:56]OFD Sender: No OFD packet to send [05:24:01]OFD Sender: No OFD packet to send [05:24:06]OFD Sender: No OFD packet to send [05:24:11]OFD Sender: No OFD packet to send [05:24:16]OFD Sender: No OFD packet to send [05:24:21]OFD Sender: No OFD packet to send [05:24:26]OFD Sender: No OFD packet to send [05:24:31]OFD Sender: No OFD packet to send [05:24:36]OFD Sender: No OFD packet to send [05:24:41]OFD Sender: No OFD packet to send [05:24:46]OFD Sender: No OFD packet to send [05:24:51]OFD Sender: No OFD packet to send [05:24:56]OFD Sender: No OFD packet to send [05:25:01]OFD Sender: No OFD packet to send [05:25:06]OFD Sender: No OFD packet to send [05:25:11]OFD Sender: No OFD packet to send [05:25:16]OFD Sender: No OFD packet to send [05:25:21]OFD Sender: No OFD packet to send [05:25:26]OFD Sender: No OFD packet to send [05:25:31]OFD Sender: No OFD packet to send [05:25:36]OFD Sender: No OFD packet to send [05:25:41]OFD Sender: No OFD packet to send [05:25:46]OFD Sender: No OFD packet to send [05:25:51]OFD Sender: No OFD packet to send [05:25:56]OFD Sender: No OFD packet to send [05:26:01]OFD Sender: No OFD packet to send [05:26:06]OFD Sender: No OFD packet to send [05:26:11]OFD Sender: No OFD packet to send [05:26:16]OFD Sender: No OFD packet to send [05:26:21]OFD Sender: No OFD packet to send [05:26:26]OFD Sender: No OFD packet to send [05:26:31]OFD Sender: No OFD packet to send [05:26:36]OFD Sender: No OFD packet to send [05:26:41]OFD Sender: No OFD packet to send [05:26:46]OFD Sender: No OFD packet to send [05:26:51]OFD Sender: No OFD packet to send [05:26:56]OFD Sender: No OFD packet to send [05:27:01]OFD Sender: No OFD packet to send [05:27:06]OFD Sender: No OFD packet to send [05:27:11]OFD Sender: No OFD packet to send [05:27:17]OFD Sender: No OFD packet to send [05:27:22]OFD Sender: No OFD packet to send [05:27:27]OFD Sender: No OFD packet to send [05:27:32]OFD Sender: No OFD packet to send [05:27:37]OFD Sender: No OFD packet to send [05:27:42]OFD Sender: No OFD packet to send [05:27:47]OFD Sender: No OFD packet to send [05:27:52]OFD Sender: No OFD packet to send [05:27:57]OFD Sender: No OFD packet to send [05:28:02]OFD Sender: No OFD packet to send [05:28:07]OFD Sender: No OFD packet to send [05:28:12]OFD Sender: No OFD packet to send [05:28:17]OFD Sender: No OFD packet to send [05:28:22]OFD Sender: No OFD packet to send [05:28:27]OFD Sender: No OFD packet to send [05:28:32]OFD Sender: No OFD packet to send [05:28:37]OFD Sender: No OFD packet to send [05:28:42]OFD Sender: No OFD packet to send [05:28:47]OFD Sender: No OFD packet to send [05:28:52]OFD Sender: No OFD packet to send [05:28:57]OFD Sender: No OFD packet to send [05:29:02]OFD Sender: No OFD packet to send [05:29:07]OFD Sender: No OFD packet to send [05:29:12]OFD Sender: No OFD packet to send [05:29:17]OFD Sender: No OFD packet to send [05:29:22]OFD Sender: No OFD packet to send [05:29:27]OFD Sender: No OFD packet to send [05:29:32]OFD Sender: No OFD packet to send [05:29:37]OFD Sender: No OFD packet to send [05:29:42]OFD Sender: No OFD packet to send [05:29:47]OFD Sender: No OFD packet to send [05:29:52]OFD Sender: No OFD packet to send [05:29:57]OFD Sender: No OFD packet to send [05:30:02]OFD Sender: No OFD packet to send [05:30:07]OFD Sender: No OFD packet to send [05:30:12]OFD Sender: No OFD packet to send [05:30:17]OFD Sender: No OFD packet to send [05:30:22]OFD Sender: No OFD packet to send [05:30:27]OFD Sender: No OFD packet to send [05:30:32]OFD Sender: No OFD packet to send [05:30:37]OFD Sender: No OFD packet to send [05:30:42]OFD Sender: No OFD packet to send [05:30:47]OFD Sender: No OFD packet to send [05:30:52]OFD Sender: No OFD packet to send [05:30:57]OFD Sender: No OFD packet to send [05:31:02]OFD Sender: No OFD packet to send [05:31:07]OFD Sender: No OFD packet to send [05:31:12]OFD Sender: No OFD packet to send [05:31:17]OFD Sender: No OFD packet to send [05:31:22]OFD Sender: No OFD packet to send [05:31:27]OFD Sender: No OFD packet to send [05:31:32]OFD Sender: No OFD packet to send [05:31:37]OFD Sender: No OFD packet to send [05:31:42]OFD Sender: No OFD packet to send [05:31:47]OFD Sender: No OFD packet to send [05:31:52]OFD Sender: No OFD packet to send [05:31:57]OFD Sender: No OFD packet to send [05:32:02]OFD Sender: No OFD packet to send [05:32:07]OFD Sender: No OFD packet to send [05:32:12]OFD Sender: No OFD packet to send [05:32:17]OFD Sender: No OFD packet to send [05:32:22]OFD Sender: No OFD packet to send [05:32:27]OFD Sender: No OFD packet to send [05:32:32]OFD Sender: No OFD packet to send [05:32:37]OFD Sender: No OFD packet to send [05:32:42]OFD Sender: No OFD packet to send [05:32:47]OFD Sender: No OFD packet to send [05:32:52]OFD Sender: No OFD packet to send [05:32:57]OFD Sender: No OFD packet to send [05:33:02]OFD Sender: No OFD packet to send [05:33:07]OFD Sender: No OFD packet to send [05:33:12]OFD Sender: No OFD packet to send [05:33:17]OFD Sender: No OFD packet to send [05:33:22]OFD Sender: No OFD packet to send [05:33:27]OFD Sender: No OFD packet to send [05:33:32]OFD Sender: No OFD packet to send [05:33:37]OFD Sender: No OFD packet to send [05:33:42]OFD Sender: No OFD packet to send [05:33:47]OFD Sender: No OFD packet to send [05:33:52]OFD Sender: No OFD packet to send [05:33:57]OFD Sender: No OFD packet to send [05:34:02]OFD Sender: No OFD packet to send [05:34:07]OFD Sender: No OFD packet to send [05:34:12]OFD Sender: No OFD packet to send [05:34:17]OFD Sender: No OFD packet to send [05:34:22]OFD Sender: No OFD packet to send [05:34:27]OFD Sender: No OFD packet to send [05:34:32]OFD Sender: No OFD packet to send [05:34:37]OFD Sender: No OFD packet to send [05:34:42]OFD Sender: No OFD packet to send [05:34:47]OFD Sender: No OFD packet to send [05:34:52]OFD Sender: No OFD packet to send [05:34:57]OFD Sender: No OFD packet to send [05:35:02]OFD Sender: No OFD packet to send [05:35:07]OFD Sender: No OFD packet to send [05:35:12]OFD Sender: No OFD packet to send [05:35:17]OFD Sender: No OFD packet to send [05:35:22]OFD Sender: No OFD packet to send [05:35:27]OFD Sender: No OFD packet to send [05:35:32]OFD Sender: No OFD packet to send [05:35:37]OFD Sender: No OFD packet to send [05:35:42]OFD Sender: No OFD packet to send [05:35:47]OFD Sender: No OFD packet to send [05:35:48]accept exits with 8 [05:35:48]New connection [05:35:48]New thread 3067227492 created [05:35:48]Thread 3067370852 joined [05:35:48]Waiting for new connection... [05:35:48] Sock 8.Parse request [05:35:48]Sock 8.Check first char [05:35:48]Sock 8.First char is OK [05:35:48]request: POST /json_proto HTTP/1.0 [05:35:48]Method: POST [05:35:48]URL: /json_proto [05:35:48]Method is POST - this is cgi request [05:35:48]url: /json_proto [05:35:48]query_string will be loaded in cgi processing [05:35:48]execute_cgi json_proto POST (null) [05:35:48]execute_cgi path=json_proto method=POST [05:35:48]POST find Content-Length [05:35:48]Host: 172.17.56.68:8080 [05:35:48]Content-Length: 668 [05:35:48]Content-Type: application/json [05:35:48] [05:35:48]POST finish read [05:35:48]Found Content-Length = 668 [05:35:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4339", "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" ] } } [05:35:48]execute_script... [05:35: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)4339", "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" ] } } [05:35:48]POST & json_proto [05:35:48]process_json_proto [05:35:48]json parsed OK: [05:35:48]protocol is kg_v1.0 [05:35:48]action value=close_receipt [05:35:48]process_action close_receipt [05:35:48]cmd_close_receipt [05:35:48]MH_GetDate [05:35:48]Write to MH i2c: F0 00 00 86 16 8B [05:35:48]Write i2c OK [05:35:48]MH_I2C_Read... [05:35:48]Read from MH i2c: F0 [05:35:48]MH_I2C_Read... [05:35:48]Read from MH i2c: F0 09 00 [05:35:48]MH_I2C_Read... [05:35:48]Read from MH i2c: F0 09 00 86 16 00 BC A7 5E 66 42 69 5C 66 28 [05:35:48]GetLastDocTimeStamp 1717477670 [05:35:48]current date 1717479356 [05:35:48]FM_GetShiftState [05:35:48]SAM_PROTO_GetShiftState [05:35:48]wFMCommunicate request_size=4 [05:35:48]MH_SAM_APDU [05:35:48]CAPDU: 80 13 01 00 [05:35:48]Write to MH i2c: E2 08 00 87 16 80 13 01 00 00 00 00 00 1A [05:35:48]Write i2c OK [05:35:48]MH_I2C_Read... [05:35:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:35:48]Read from MH i2c: E2 [05:35:48]MH_I2C_Read... [05:35:48]Read from MH i2c: E2 0E 00 [05:35:48]MH_I2C_Read... [05:35:48]Read from MH i2c: E2 0E 00 87 16 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 B3 [05:35:48]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [05:35:48]wFMCommunicate OK [05:35:48]SAM_PROTO_GetShiftState done [05:35:48]FM_GetShiftState done [05:35:48]opened in 1717459822 [05:35:48]opened+sec_in_day 1717546222 [05:35:48]quantity*price = 9500 [05:35:48]sum+1 = 9501 [05:35:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 3 04.06.2024 05:35 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4086 ФПД: 16823364550127 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T053556&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4086&fm=16823364550127&tin=02508201610067®Number=0000000000145775&sum=9500 0 [05:35:49]StoreToDocumentArchive [05:35:49]shift 83 fd 4086 [05:35:49]save to /storage/0083/doc_00004086 [05:35:49]save last doc name /storage/0083/doc_00004086 to /storage/kkm_last_doc_name [05:35:49]save OK [05:35:49]Clear old archive folders... [05:35:49]ProcessDocumentItem done err = 0, tmpTLVsize=293 [05:35:49]tlvbuf is 00773A20 [05:35:49]SAM_PROTO_ClearQueue [05:35:49]wFMCommunicate request_size=4 [05:35:49]MH_SAM_APDU [05:35:49]CAPDU: 80 09 00 00 [05:35:49]Write to MH i2c: E2 08 00 94 16 80 09 00 00 00 00 00 00 1C [05:35:49]Write i2c OK [05:35:49]MH_I2C_Read... [05:35:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:35:49]Read from MH i2c: E2 [05:35:49]MH_I2C_Read... [05:35:49]Read from MH i2c: E2 03 00 [05:35:49]MH_I2C_Read... [05:35:49]Read from MH i2c: E2 03 00 94 16 00 90 00 1E [05:35:49]RAPDU: 90 00 [05:35:49]wFMCommunicate OK [05:35:49]SAM_PROTO_ClearQueue done [05:35:49]KKMCreateOFDPacket [05:35:49]OFDProtocolAddRootSTLVToBuf [05:35:49]FM_MakeSignedData [05:35:49]FM_MakeSignedData [05:35:49]SAM_PROTO_SignData [05:35:49]wFMCommunicate request_size=4 [05:35:49]MH_SAM_APDU [05:35:49]CAPDU: 80 0D 01 02 [05:35:49]Write to MH i2c: E2 08 00 95 16 80 0D 01 02 00 00 00 00 24 [05:35:49]Write i2c OK [05:35:49]MH_I2C_Read... [05:35:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:35:50]Read from MH i2c: E2 [05:35:50]MH_I2C_Read... [05:35:50]Read from MH i2c: E2 03 00 [05:35:50]MH_I2C_Read... [05:35:50]Read from MH i2c: E2 03 00 95 16 00 90 00 1F [05:35:50]RAPDU: 90 00 [05:35:50]wFMCommunicate OK [05:35:50]wFMCommunicate request_size=255 [05:35:50]MH_SAM_APDU [05:35:50]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 03 00 00 00 F4 03 04 00 BC A7 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [05:35:50]Write to MH i2c: E2 02 01 96 16 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 03 00 00 00 F4 03 04 00 BC A7 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 99 [05:35:50]Write i2c OK [05:35:50]MH_I2C_Read... [05:35:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:35:50]Read from MH i2c: E2 [05:35:50]MH_I2C_Read... [05:35:50]Read from MH i2c: E2 03 00 [05:35:50]MH_I2C_Read... [05:35:50]Read from MH i2c: E2 03 00 96 16 00 90 00 20 [05:35:50]RAPDU: 90 00 [05:35:50]wFMCommunicate OK [05:35:50]wFMCommunicate request_size=52 [05:35:50]MH_SAM_APDU [05:35:50]CAPDU: 80 0D 02 02 2F 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F6 0F 00 00 35 04 06 00 0F 4C FE AA FD EF [05:35:50]Write to MH i2c: E2 37 00 97 16 80 0D 02 02 2F 00 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F6 0F 00 00 35 04 06 00 0F 4C FE AA FD EF 00 00 E2 [05:35:50]Write i2c OK [05:35:50]MH_I2C_Read... [05:35:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:35:50]Read from MH i2c: E2 [05:35:50]MH_I2C_Read... [05:35:50]Read from MH i2c: E2 03 00 [05:35:50]MH_I2C_Read... [05:35:50]Read from MH i2c: E2 03 00 97 16 00 90 00 21 [05:35:50]RAPDU: 90 00 [05:35:50]wFMCommunicate OK [05:35:50]wFMCommunicate request_size=4 [05:35:50]MH_SAM_APDU [05:35:50]CAPDU: 80 0D 03 02 [05:35:50]Write to MH i2c: E2 08 00 98 16 80 0D 03 02 00 00 00 00 29 [05:35:50]Write i2c OK [05:35:50]MH_I2C_Read... [05:35:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:35:50]Read from MH i2c: E2 [05:35:50]MH_I2C_Read... [05:35:50]Read from MH i2c: E2 0B 00 [05:35:50]MH_I2C_Read... [05:35:50]Read from MH i2c: E2 0B 00 98 16 00 90 52 26 1B D8 DC 48 81 90 00 CA [05:35:50]RAPDU: 90 52 26 1B D8 DC 48 81 90 00 [05:35:50]wFMCommunicate OK [05:35:50]SAM_PROTO_SignData done [05:35:50]FM_MakeSignedData done [05:35:50]CreateOFDProtocolMessage [05:35:50]wFMCommunicate request_size=4 [05:35:50]MH_SAM_APDU [05:35:50]CAPDU: 80 11 00 00 [05:35:50]Write to MH i2c: E2 08 00 99 16 80 11 00 00 00 00 00 00 29 [05:35:50]Write i2c OK [05:35:50]MH_I2C_Read... [05:35:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:35:50]Read from MH i2c: E2 [05:35:50]MH_I2C_Read... [05:35:50]Read from MH i2c: E2 17 00 [05:35:50]MH_I2C_Read... [05:35:50]Read from MH i2c: E2 17 00 99 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 7C [05:35:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [05:35:50]wFMCommunicate OK [05:35:50]CreateOFDProtocolMessage done [05:35:50]OFDSenderStorePacket 4086 [05:35:50]StoreOFDPacket docnum=4086 [05:35:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 A5 77 31 01 D4 7F 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 03 00 00 00 F4 03 04 00 BC A7 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F6 0F 00 00 35 04 06 00 0F 4C FE AA FD EF 90 52 26 1B D8 DC 48 81 [05:35:50]CheckFolder [05:35:50]dirname=/storage/ofd_packets [05:35:50]CheckFolder done [05:35:50]ProducePacketName [05:35:50]name=ofd_packets/00004086 [05:35:50]NVStorageSaveData ofd_packets/00004086 [05:35:50]File name is /storage/ofd_packets/00004086 [05:35:50]Write 343 bytes [05:35:50]NVStorageSaveData done [05:35:50]OFDSenderStorePacket done [05:35:50]KKMCreateOFDPacket done [05:35:50]NVStorageSaveData kkm_last_timestamp [05:35:50]File name is /storage/kkm_last_timestamp [05:35:50]Write 4 bytes [05:35:50]NVStorageSaveData done [05:35:50]ExternCall_PrintAddStr [05:35:50]wPrintStart [05:35:50]Write to MH i2c: 01 00 00 9A 16 B0 [05:35:50]Write i2c OK [05:35:50]MH_I2C_Read... [05:35:50]Read from MH i2c: 01 [05:35:50]MH_I2C_Read... [05:35:50]Read from MH i2c: 01 07 00 [05:35:50]MH_I2C_Read... [05:35:50]Read from MH i2c: 01 07 00 9A 16 00 00 00 00 00 FF 0F C5 [05:35:50]RasterBufferAndPrint [05:35:50]line Счет N : (3)4339 [05:35:50]line ИНН: 02508201610067 [05:35:50]line Контрольно-Кассовый Чек [05:35:50]line ПРОДАЖА [05:35:50]line Товар: 4700003010056 [05:35:50]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [05:35:50]line 1.000 * 95.00 [05:35:50]line = 95.00 [05:35:50]line НДС 12% НСП 1% [05:35:50]line > о реализуемом товаре [05:35:50]line ИТОГО: 95.00 [05:35:50]line НСП 1% : 0.84 [05:35:50]line НДС 12% : 10.09 [05:35:50]line Наличными: 95.00 [05:35:50]line Безнал.: 0.00 [05:35:50]line Место: АЗС № 116 "Партнер Нефть" [05:35:50]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [05:35:50]line СНО: Общий режим [05:35:50]line Чек 3 04.06.2024 05:35 [05:35:50]line Смена: 83 ФФД: 1.0 [05:35:50]line ЗНМ: 0300000233 [05:35:50]line РНМ: 0000000000145775 [05:35:50]line Версия ККМ: v1.0 [05:35:50]line ФМ: 0000000000959360 [05:35:50]line ФД: 4086 [05:35:50]line ФПД: 16823364550127 [05:35:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T053556&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4086&fm=16823364550127&tin=02508201610067®Number=0000000000145775&sum=9500 [05:35:50]line 0 [05:35:50]OFD Sender: Processing packet 4086 [packets to send 2, broken 1] [05:35:50]ProducePacketName [05:35:50]name=ofd_packets/00004086 [05:35:50]OFD Sender: To server: pG, [05:35:50]CommunicateWithHost lk.salyk.kg:30040 [05:35:50]ConnectInit lk.salyk.kg [05:35:50]written 0, free lines is 4095 [05:35:50]Connected sock=10 [05:35:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 A5 77 31 01 D4 7F 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 03 00 00 00 F4 03 04 00 BC A7 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F6 0F 00 00 35 04 06 00 0F 4C FE AA FD EF 90 52 26 1B D8 DC 48 81 [05:35:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 C1 54 47 00 E5 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 30 39 35 39 33 36 30 10 04 04 00 F6 0F 00 00 F4 03 04 00 BD 53 5E 66 B6 04 01 00 00 D3 10 DC 36 4B 15 94 04 [05:35:51]CommunicateWithHost err = 0 [05:35:51]CheckOFDResponse [05:35:51]1017 (14) - 77093643461234 [05:35:51]1041 (16) - 0000000000959360 [05:35:51]1040 (4) - 4086 [05:35:51]1012 (4) - 03.06.2024 23:37 [05:35:51]1206 (1) - 0 [05:35:51]OFD Sender: Remove packet 4086 [05:35:51]ProducePacketName [05:35:51]name=ofd_packets/00004086 [05:35:51]NVStorageDeleteData [05:35:51]Write to MH i2c: 01 00 00 C3 16 D9 [05:35:51]Write i2c OK [05:35:51]MH_I2C_Read... [05:35:51]Read from MH i2c: 01 [05:35:51]MH_I2C_Read... [05:35:51]Read from MH i2c: 01 07 00 [05:35:51]MH_I2C_Read... [05:35:51]Read from MH i2c: 01 07 00 C3 16 00 00 00 00 00 C0 0C AC [05:35:51]RasterBufferAndPrint [05:35:51]line [05:35:51]line [05:35:51]line [05:35:51]line [05:35:51]line [05:35:51]written 0, free lines is 3268 [05:35:51]MH_Cut [05:35:51]Write to MH i2c: D1 01 00 CA 16 01 B2 [05:35:51]Write i2c OK [05:35:51]MH_I2C_Read... [05:35:51]Read from MH i2c: D1 [05:35:51]MH_I2C_Read... [05:35:51]Read from MH i2c: D1 01 00 [05:35:51]MH_I2C_Read... [05:35:51]Read from MH i2c: D1 01 00 CA 16 00 B1 [05:35:51]Write to MH i2c: 01 00 00 CB 16 E1 [05:35:51]Write i2c OK [05:35:51]MH_I2C_Read... [05:35:51]OFD Sender: No OFD packet to send [05:35:52]*** Cut start [05:35:52]*** Partial cut [05:35:52]*** CUTSNS_PIN = 1 [05:35:52]*** CUTSNS_PIN = 0 [05:35:52]*** Brake cut motor [05:35:52]Read from MH i2c: 01 [05:35:52]MH_I2C_Read... [05:35:52]*** Stop cut motor [05:35:52]*** Cut end [05:35:52]Read from MH i2c: 01 07 00 [05:35:52]MH_I2C_Read... [05:35:52]Read from MH i2c: 01 07 00 CB 16 00 00 00 00 00 FF 0F F6 [05:35:52]process_action close_receipt done [05:35:52]requested_data is exist [05:35:52]produce_requested_data [05:35:52]requested_item fm.sn is exist - process it [05:35:52]wFMCommunicate request_size=4 [05:35:52]MH_SAM_APDU [05:35:52]CAPDU: 80 11 00 00 [05:35:52]Write to MH i2c: E2 08 00 CC 16 80 11 00 00 00 00 00 00 5C [05:35:52]Write i2c OK [05:35:52]MH_I2C_Read... [05:35:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:35:52]Read from MH i2c: E2 [05:35:52]MH_I2C_Read... [05:35:52]Read from MH i2c: E2 17 00 [05:35:52]MH_I2C_Read... [05:35:52]Read from MH i2c: E2 17 00 CC 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 AF [05:35:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [05:35:52]wFMCommunicate OK [05:35:52]requested_item fd.num is exist - process it [05:35:52]SAM_PROTO_GetFieldsCounters [05:35:52]wFMCommunicate request_size=4 [05:35:52]MH_SAM_APDU [05:35:52]CAPDU: 80 13 00 00 [05:35:52]Write to MH i2c: E2 08 00 CD 16 80 13 00 00 00 00 00 00 5F [05:35:52]Write i2c OK [05:35:52]MH_I2C_Read... [05:35:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:35:52]Read from MH i2c: E2 [05:35:52]MH_I2C_Read... [05:35:52]Read from MH i2c: E2 62 00 [05:35:52]MH_I2C_Read... [05:35:52]Read from MH i2c: E2 62 00 CD 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F6 0F 00 00 0E 04 04 00 53 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 E5 [05:35:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F6 0F 00 00 0E 04 04 00 53 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 [05:35:53]wFMCommunicate OK [05:35:53]SAM_PROTO_GetFieldsCounters done [05:35:53]requested_item shift.num is exist - process it [05:35:53]requested_item shift.opened is exist - process it [05:35:53]req_shift_opened [05:35:53]FM_GetShiftState [05:35:53]SAM_PROTO_GetShiftState [05:35:53]wFMCommunicate request_size=4 [05:35:53]MH_SAM_APDU [05:35:53]CAPDU: 80 13 01 00 [05:35:53]Write to MH i2c: E2 08 00 CE 16 80 13 01 00 00 00 00 00 61 [05:35:53]Write i2c OK [05:35:53]MH_I2C_Read... [05:35:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:35:53]Read from MH i2c: E2 [05:35:53]MH_I2C_Read... [05:35:53]Read from MH i2c: E2 0E 00 [05:35:53]MH_I2C_Read... [05:35:53]Read from MH i2c: E2 0E 00 CE 16 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 FA [05:35:53]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [05:35:53]wFMCommunicate OK [05:35:53]SAM_PROTO_GetShiftState done [05:35:53]FM_GetShiftState done [05:35:53]req_shift_opened done [05:35:53]requested_item shift.open_date is exist - process it [05:35:53]req_shift_open_date [05:35:53]req_shift_open_date done [05:35:53]produce_requested_data done [05:35:53]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4086,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [05:35:53]process_action_free close_receipt [05:35:53]json_value_free [05:35:53]json_value_free done [05:35:53]process_json_proto returns [05:35:53]Send response to host [05:35:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4086,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [05:35:53]free response buf [05:35:53]execute_script done [05:35:53]execute_script returns [05:35:53]free content buf [05:35:53]Sock 8.Close socket [05:35:53]Sock 8.Thread stoped [05:35:56]OFD Sender: No OFD packet to send [05:36:01]OFD Sender: No OFD packet to send [05:36:06]OFD Sender: No OFD packet to send [05:36:11]OFD Sender: No OFD packet to send [05:36:16]OFD Sender: No OFD packet to send [05:36:21]OFD Sender: No OFD packet to send [05:36:26]OFD Sender: No OFD packet to send [05:36:31]OFD Sender: No OFD packet to send [05:36:36]OFD Sender: No OFD packet to send [05:36:41]OFD Sender: No OFD packet to send [05:36:46]OFD Sender: No OFD packet to send [05:36:51]OFD Sender: No OFD packet to send [05:36:56]OFD Sender: No OFD packet to send [05:37:01]OFD Sender: No OFD packet to send [05:37:06]OFD Sender: No OFD packet to send [05:37:11]OFD Sender: No OFD packet to send [05:37:16]OFD Sender: No OFD packet to send [05:37:21]OFD Sender: No OFD packet to send [05:37:26]OFD Sender: No OFD packet to send [05:37:31]OFD Sender: No OFD packet to send [05:37:36]OFD Sender: No OFD packet to send [05:37:41]OFD Sender: No OFD packet to send [05:37:46]OFD Sender: No OFD packet to send [05:37:51]OFD Sender: No OFD packet to send [05:37:56]OFD Sender: No OFD packet to send [05:38:01]OFD Sender: No OFD packet to send [05:38:06]OFD Sender: No OFD packet to send [05:38:11]OFD Sender: No OFD packet to send [05:38:16]OFD Sender: No OFD packet to send [05:38:21]OFD Sender: No OFD packet to send [05:38:26]OFD Sender: No OFD packet to send [05:38:31]OFD Sender: No OFD packet to send [05:38:36]OFD Sender: No OFD packet to send [05:38:41]OFD Sender: No OFD packet to send [05:38:46]OFD Sender: No OFD packet to send [05:38:51]OFD Sender: No OFD packet to send [05:38:56]OFD Sender: No OFD packet to send [05:39:01]OFD Sender: No OFD packet to send [05:39:06]OFD Sender: No OFD packet to send [05:39:11]OFD Sender: No OFD packet to send [05:39:16]OFD Sender: No OFD packet to send [05:39:21]OFD Sender: No OFD packet to send [05:39:26]OFD Sender: No OFD packet to send [05:39:31]OFD Sender: No OFD packet to send [05:39:36]OFD Sender: No OFD packet to send [05:39:41]OFD Sender: No OFD packet to send [05:39:46]OFD Sender: No OFD packet to send [05:39:51]OFD Sender: No OFD packet to send [05:39:56]OFD Sender: No OFD packet to send [05:40:01]OFD Sender: No OFD packet to send [05:40:06]OFD Sender: No OFD packet to send [05:40:11]OFD Sender: No OFD packet to send [05:40:16]OFD Sender: No OFD packet to send [05:40:21]OFD Sender: No OFD packet to send [05:40:26]OFD Sender: No OFD packet to send [05:40:31]OFD Sender: No OFD packet to send [05:40:36]OFD Sender: No OFD packet to send [05:40:41]OFD Sender: No OFD packet to send [05:40:46]OFD Sender: No OFD packet to send [05:40:51]OFD Sender: No OFD packet to send [05:40:56]OFD Sender: No OFD packet to send [05:41:01]OFD Sender: No OFD packet to send [05:41:06]OFD Sender: No OFD packet to send [05:41:11]OFD Sender: No OFD packet to send [05:41:16]OFD Sender: No OFD packet to send [05:41:21]OFD Sender: No OFD packet to send [05:41:26]OFD Sender: No OFD packet to send [05:41:31]OFD Sender: No OFD packet to send [05:41:36]OFD Sender: No OFD packet to send [05:41:41]OFD Sender: No OFD packet to send [05:41:46]OFD Sender: No OFD packet to send [05:41:51]OFD Sender: No OFD packet to send [05:41:56]OFD Sender: No OFD packet to send [05:42:01]OFD Sender: No OFD packet to send [05:42:06]OFD Sender: No OFD packet to send [05:42:11]OFD Sender: No OFD packet to send [05:42:16]OFD Sender: No OFD packet to send [05:42:21]OFD Sender: No OFD packet to send [05:42:26]OFD Sender: No OFD packet to send [05:42:31]OFD Sender: No OFD packet to send [05:42:36]OFD Sender: No OFD packet to send [05:42:41]OFD Sender: No OFD packet to send [05:42:46]OFD Sender: No OFD packet to send [05:42:51]OFD Sender: No OFD packet to send [05:42:56]OFD Sender: No OFD packet to send [05:43:01]OFD Sender: No OFD packet to send [05:43:06]OFD Sender: No OFD packet to send [05:43:11]OFD Sender: No OFD packet to send [05:43:16]OFD Sender: No OFD packet to send [05:43:21]OFD Sender: No OFD packet to send [05:43:26]OFD Sender: No OFD packet to send [05:43:31]OFD Sender: No OFD packet to send [05:43:37]OFD Sender: No OFD packet to send [05:43:42]OFD Sender: No OFD packet to send [05:43:47]OFD Sender: No OFD packet to send [05:43:52]OFD Sender: No OFD packet to send [05:43:57]OFD Sender: No OFD packet to send [05:44:02]OFD Sender: No OFD packet to send [05:44:07]OFD Sender: No OFD packet to send [05:44:12]OFD Sender: No OFD packet to send [05:44:17]OFD Sender: No OFD packet to send [05:44:22]OFD Sender: No OFD packet to send [05:44:27]OFD Sender: No OFD packet to send [05:44:32]OFD Sender: No OFD packet to send [05:44:37]OFD Sender: No OFD packet to send [05:44:42]OFD Sender: No OFD packet to send [05:44:47]OFD Sender: No OFD packet to send [05:44:52]OFD Sender: No OFD packet to send [05:44:57]OFD Sender: No OFD packet to send [05:45:02]OFD Sender: No OFD packet to send [05:45:07]OFD Sender: No OFD packet to send [05:45:12]OFD Sender: No OFD packet to send [05:45:17]OFD Sender: No OFD packet to send [05:45:22]OFD Sender: No OFD packet to send [05:45:27]OFD Sender: No OFD packet to send [05:45:32]OFD Sender: No OFD packet to send [05:45:37]OFD Sender: No OFD packet to send [05:45:42]OFD Sender: No OFD packet to send [05:45:47]OFD Sender: No OFD packet to send [05:45:52]OFD Sender: No OFD packet to send [05:45:57]OFD Sender: No OFD packet to send [05:46:02]OFD Sender: No OFD packet to send [05:46:07]OFD Sender: No OFD packet to send [05:46:12]OFD Sender: No OFD packet to send [05:46:17]OFD Sender: No OFD packet to send [05:46:22]OFD Sender: No OFD packet to send [05:46:27]OFD Sender: No OFD packet to send [05:46:32]OFD Sender: No OFD packet to send [05:46:37]OFD Sender: No OFD packet to send [05:46:42]OFD Sender: No OFD packet to send [05:46:47]OFD Sender: No OFD packet to send [05:46:52]OFD Sender: No OFD packet to send [05:46:57]OFD Sender: No OFD packet to send [05:47:02]OFD Sender: No OFD packet to send [05:47:07]OFD Sender: No OFD packet to send [05:47:12]OFD Sender: No OFD packet to send [05:47:17]OFD Sender: No OFD packet to send [05:47:22]OFD Sender: No OFD packet to send [05:47:27]OFD Sender: No OFD packet to send [05:47:32]OFD Sender: No OFD packet to send [05:47:37]OFD Sender: No OFD packet to send [05:47:42]OFD Sender: No OFD packet to send [05:47:47]OFD Sender: No OFD packet to send [05:47:52]OFD Sender: No OFD packet to send [05:47:57]OFD Sender: No OFD packet to send [05:48:02]OFD Sender: No OFD packet to send [05:48:07]OFD Sender: No OFD packet to send [05:48:12]OFD Sender: No OFD packet to send [05:48:17]OFD Sender: No OFD packet to send [05:48:22]OFD Sender: No OFD packet to send [05:48:27]OFD Sender: No OFD packet to send [05:48:32]OFD Sender: No OFD packet to send [05:48:37]OFD Sender: No OFD packet to send [05:48:42]OFD Sender: No OFD packet to send [05:48:47]OFD Sender: No OFD packet to send [05:48:52]OFD Sender: No OFD packet to send [05:48:57]OFD Sender: No OFD packet to send [05:49:02]OFD Sender: No OFD packet to send [05:49:07]OFD Sender: No OFD packet to send [05:49:12]OFD Sender: No OFD packet to send [05:49:17]OFD Sender: No OFD packet to send [05:49:22]OFD Sender: No OFD packet to send [05:49:27]OFD Sender: No OFD packet to send [05:49:32]OFD Sender: No OFD packet to send [05:49:37]OFD Sender: No OFD packet to send [05:49:42]OFD Sender: No OFD packet to send [05:49:47]OFD Sender: No OFD packet to send [05:49:52]OFD Sender: No OFD packet to send [05:49:57]OFD Sender: No OFD packet to send [05:50:02]OFD Sender: No OFD packet to send [05:50:07]OFD Sender: No OFD packet to send [05:50:12]OFD Sender: No OFD packet to send [05:50:17]OFD Sender: No OFD packet to send [05:50:22]OFD Sender: No OFD packet to send [05:50:27]OFD Sender: No OFD packet to send [05:50:32]OFD Sender: No OFD packet to send [05:50:37]OFD Sender: No OFD packet to send [05:50:42]OFD Sender: No OFD packet to send [05:50:47]OFD Sender: No OFD packet to send [05:50:52]OFD Sender: No OFD packet to send [05:50:57]OFD Sender: No OFD packet to send [05:51:02]OFD Sender: No OFD packet to send [05:51:07]OFD Sender: No OFD packet to send [05:51:12]OFD Sender: No OFD packet to send [05:51:17]OFD Sender: No OFD packet to send [05:51:22]OFD Sender: No OFD packet to send [05:51:27]OFD Sender: No OFD packet to send [05:51:32]OFD Sender: No OFD packet to send [05:51:37]OFD Sender: No OFD packet to send [05:51:42]OFD Sender: No OFD packet to send [05:51:47]OFD Sender: No OFD packet to send [05:51:52]OFD Sender: No OFD packet to send [05:51:57]OFD Sender: No OFD packet to send [05:52:02]OFD Sender: No OFD packet to send [05:52:07]OFD Sender: No OFD packet to send [05:52:12]OFD Sender: No OFD packet to send [05:52:17]OFD Sender: No OFD packet to send [05:52:22]OFD Sender: No OFD packet to send [05:52:27]OFD Sender: No OFD packet to send [05:52:32]OFD Sender: No OFD packet to send [05:52:37]OFD Sender: No OFD packet to send [05:52:42]OFD Sender: No OFD packet to send [05:52:47]OFD Sender: No OFD packet to send [05:52:52]OFD Sender: No OFD packet to send [05:52:57]OFD Sender: No OFD packet to send [05:53:02]OFD Sender: No OFD packet to send [05:53:07]OFD Sender: No OFD packet to send [05:53:12]OFD Sender: No OFD packet to send [05:53:17]OFD Sender: No OFD packet to send [05:53:22]OFD Sender: No OFD packet to send [05:53:27]OFD Sender: No OFD packet to send [05:53:32]OFD Sender: No OFD packet to send [05:53:37]OFD Sender: No OFD packet to send [05:53:42]OFD Sender: No OFD packet to send [05:53:47]OFD Sender: No OFD packet to send [05:53:52]OFD Sender: No OFD packet to send [05:53:57]OFD Sender: No OFD packet to send [05:54:02]OFD Sender: No OFD packet to send [05:54:07]OFD Sender: No OFD packet to send [05:54:12]OFD Sender: No OFD packet to send [05:54:17]OFD Sender: No OFD packet to send [05:54:22]OFD Sender: No OFD packet to send [05:54:27]OFD Sender: No OFD packet to send [05:54:32]OFD Sender: No OFD packet to send [05:54:37]OFD Sender: No OFD packet to send [05:54:42]OFD Sender: No OFD packet to send [05:54:47]OFD Sender: No OFD packet to send [05:54:52]OFD Sender: No OFD packet to send [05:54:57]OFD Sender: No OFD packet to send [05:55:02]OFD Sender: No OFD packet to send [05:55:07]OFD Sender: No OFD packet to send [05:55:12]OFD Sender: No OFD packet to send [05:55:17]OFD Sender: No OFD packet to send [05:55:22]OFD Sender: No OFD packet to send [05:55:27]OFD Sender: No OFD packet to send [05:55:32]OFD Sender: No OFD packet to send [05:55:37]OFD Sender: No OFD packet to send [05:55:42]OFD Sender: No OFD packet to send [05:55:47]OFD Sender: No OFD packet to send [05:55:52]OFD Sender: No OFD packet to send [05:55:57]OFD Sender: No OFD packet to send [05:56:02]OFD Sender: No OFD packet to send [05:56:07]OFD Sender: No OFD packet to send [05:56:12]OFD Sender: No OFD packet to send [05:56:17]OFD Sender: No OFD packet to send [05:56:22]OFD Sender: No OFD packet to send [05:56:27]OFD Sender: No OFD packet to send [05:56:32]OFD Sender: No OFD packet to send [05:56:37]OFD Sender: No OFD packet to send [05:56:42]OFD Sender: No OFD packet to send [05:56:47]OFD Sender: No OFD packet to send [05:56:52]OFD Sender: No OFD packet to send [05:56:57]OFD Sender: No OFD packet to send [05:57:02]OFD Sender: No OFD packet to send [05:57:07]OFD Sender: No OFD packet to send [05:57:12]OFD Sender: No OFD packet to send [05:57:17]OFD Sender: No OFD packet to send [05:57:22]OFD Sender: No OFD packet to send [05:57:27]OFD Sender: No OFD packet to send [05:57:32]OFD Sender: No OFD packet to send [05:57:37]OFD Sender: No OFD packet to send [05:57:42]OFD Sender: No OFD packet to send [05:57:47]OFD Sender: No OFD packet to send [05:57:52]OFD Sender: No OFD packet to send [05:57:57]OFD Sender: No OFD packet to send [05:58:02]OFD Sender: No OFD packet to send [05:58:07]OFD Sender: No OFD packet to send [05:58:12]OFD Sender: No OFD packet to send [05:58:17]OFD Sender: No OFD packet to send [05:58:22]OFD Sender: No OFD packet to send [05:58:27]OFD Sender: No OFD packet to send [05:58:32]OFD Sender: No OFD packet to send [05:58:37]OFD Sender: No OFD packet to send [05:58:42]OFD Sender: No OFD packet to send [05:58:47]OFD Sender: No OFD packet to send [05:58:52]OFD Sender: No OFD packet to send [05:58:57]OFD Sender: No OFD packet to send [05:59:02]OFD Sender: No OFD packet to send [05:59:07]OFD Sender: No OFD packet to send [05:59:12]OFD Sender: No OFD packet to send [05:59:17]OFD Sender: No OFD packet to send [05:59:22]OFD Sender: No OFD packet to send [05:59:27]OFD Sender: No OFD packet to send [05:59:32]OFD Sender: No OFD packet to send [05:59:37]OFD Sender: No OFD packet to send [05:59:42]OFD Sender: No OFD packet to send [05:59:47]OFD Sender: No OFD packet to send [05:59:52]OFD Sender: No OFD packet to send [05:59:57]OFD Sender: No OFD packet to send [06:00:02]OFD Sender: No OFD packet to send [06:00:07]OFD Sender: No OFD packet to send [06:00:12]OFD Sender: No OFD packet to send [06:00:17]OFD Sender: No OFD packet to send [06:00:22]OFD Sender: No OFD packet to send [06:00:27]OFD Sender: No OFD packet to send [06:00:32]OFD Sender: No OFD packet to send [06:00:37]OFD Sender: No OFD packet to send [06:00:42]OFD Sender: No OFD packet to send [06:00:47]OFD Sender: No OFD packet to send [06:00:52]OFD Sender: No OFD packet to send [06:00:57]OFD Sender: No OFD packet to send [06:01:02]OFD Sender: No OFD packet to send [06:01:07]OFD Sender: No OFD packet to send [06:01:12]OFD Sender: No OFD packet to send [06:01:17]OFD Sender: No OFD packet to send [06:01:22]OFD Sender: No OFD packet to send [06:01:27]OFD Sender: No OFD packet to send [06:01:32]OFD Sender: No OFD packet to send [06:01:37]OFD Sender: No OFD packet to send [06:01:42]OFD Sender: No OFD packet to send [06:01:47]OFD Sender: No OFD packet to send [06:01:52]OFD Sender: No OFD packet to send [06:01:57]OFD Sender: No OFD packet to send [06:02:02]OFD Sender: No OFD packet to send [06:02:07]OFD Sender: No OFD packet to send [06:02:12]OFD Sender: No OFD packet to send [06:02:17]OFD Sender: No OFD packet to send [06:02:22]OFD Sender: No OFD packet to send [06:02:27]OFD Sender: No OFD packet to send [06:02:32]OFD Sender: No OFD packet to send [06:02:37]OFD Sender: No OFD packet to send [06:02:42]OFD Sender: No OFD packet to send [06:02:47]OFD Sender: No OFD packet to send [06:02:52]OFD Sender: No OFD packet to send [06:02:57]OFD Sender: No OFD packet to send [06:03:02]OFD Sender: No OFD packet to send [06:03:07]OFD Sender: No OFD packet to send [06:03:12]OFD Sender: No OFD packet to send [06:03:17]OFD Sender: No OFD packet to send [06:03:22]OFD Sender: No OFD packet to send [06:03:27]OFD Sender: No OFD packet to send [06:03:32]OFD Sender: No OFD packet to send [06:03:37]OFD Sender: No OFD packet to send [06:03:42]OFD Sender: No OFD packet to send [06:03:47]OFD Sender: No OFD packet to send [06:03:52]OFD Sender: No OFD packet to send [06:03:57]OFD Sender: No OFD packet to send [06:04:02]OFD Sender: No OFD packet to send [06:04:07]OFD Sender: No OFD packet to send [06:04:12]OFD Sender: No OFD packet to send [06:04:17]OFD Sender: No OFD packet to send [06:04:22]OFD Sender: No OFD packet to send [06:04:27]OFD Sender: No OFD packet to send [06:04:32]OFD Sender: No OFD packet to send [06:04:37]OFD Sender: No OFD packet to send [06:04:42]OFD Sender: No OFD packet to send [06:04:47]OFD Sender: No OFD packet to send [06:04:52]OFD Sender: No OFD packet to send [06:04:57]OFD Sender: No OFD packet to send [06:05:02]OFD Sender: No OFD packet to send [06:05:07]OFD Sender: No OFD packet to send [06:05:12]OFD Sender: No OFD packet to send [06:05:18]OFD Sender: No OFD packet to send [06:05:23]OFD Sender: No OFD packet to send [06:05:28]OFD Sender: No OFD packet to send [06:05:33]OFD Sender: No OFD packet to send [06:05:38]OFD Sender: No OFD packet to send [06:05:43]OFD Sender: No OFD packet to send [06:05:48]OFD Sender: No OFD packet to send [06:05:53]OFD Sender: No OFD packet to send [06:05:58]OFD Sender: No OFD packet to send [06:06:03]OFD Sender: No OFD packet to send [06:06:08]OFD Sender: No OFD packet to send [06:06:13]OFD Sender: No OFD packet to send [06:06:18]OFD Sender: No OFD packet to send [06:06:23]OFD Sender: No OFD packet to send [06:06:28]OFD Sender: No OFD packet to send [06:06:33]OFD Sender: No OFD packet to send [06:06:38]OFD Sender: No OFD packet to send [06:06:43]OFD Sender: No OFD packet to send [06:06:48]OFD Sender: No OFD packet to send [06:06:53]OFD Sender: No OFD packet to send [06:06:58]OFD Sender: No OFD packet to send [06:07:03]OFD Sender: No OFD packet to send [06:07:08]OFD Sender: No OFD packet to send [06:07:13]OFD Sender: No OFD packet to send [06:07:18]OFD Sender: No OFD packet to send [06:07:23]OFD Sender: No OFD packet to send [06:07:28]OFD Sender: No OFD packet to send [06:07:33]OFD Sender: No OFD packet to send [06:07:38]OFD Sender: No OFD packet to send [06:07:43]OFD Sender: No OFD packet to send [06:07:48]OFD Sender: No OFD packet to send [06:07:53]OFD Sender: No OFD packet to send [06:07:58]OFD Sender: No OFD packet to send [06:08:03]OFD Sender: No OFD packet to send [06:08:08]OFD Sender: No OFD packet to send [06:08:13]OFD Sender: No OFD packet to send [06:08:18]OFD Sender: No OFD packet to send [06:08:23]OFD Sender: No OFD packet to send [06:08:28]OFD Sender: No OFD packet to send [06:08:33]OFD Sender: No OFD packet to send [06:08:38]OFD Sender: No OFD packet to send [06:08:43]OFD Sender: No OFD packet to send [06:08:48]OFD Sender: No OFD packet to send [06:08:53]OFD Sender: No OFD packet to send [06:08:58]OFD Sender: No OFD packet to send [06:09:03]OFD Sender: No OFD packet to send [06:09:08]OFD Sender: No OFD packet to send [06:09:13]OFD Sender: No OFD packet to send [06:09:18]OFD Sender: No OFD packet to send [06:09:23]OFD Sender: No OFD packet to send [06:09:28]OFD Sender: No OFD packet to send [06:09:33]OFD Sender: No OFD packet to send [06:09:38]OFD Sender: No OFD packet to send [06:09:43]OFD Sender: No OFD packet to send [06:09:48]OFD Sender: No OFD packet to send [06:09:53]OFD Sender: No OFD packet to send [06:09:58]OFD Sender: No OFD packet to send [06:10:03]OFD Sender: No OFD packet to send [06:10:08]OFD Sender: No OFD packet to send [06:10:13]OFD Sender: No OFD packet to send [06:10:18]OFD Sender: No OFD packet to send [06:10:23]OFD Sender: No OFD packet to send [06:10:28]OFD Sender: No OFD packet to send [06:10:33]OFD Sender: No OFD packet to send [06:10:38]OFD Sender: No OFD packet to send [06:10:43]OFD Sender: No OFD packet to send [06:10:48]OFD Sender: No OFD packet to send [06:10:53]OFD Sender: No OFD packet to send [06:10:58]OFD Sender: No OFD packet to send [06:11:03]OFD Sender: No OFD packet to send [06:11:08]OFD Sender: No OFD packet to send [06:11:13]OFD Sender: No OFD packet to send [06:11:18]OFD Sender: No OFD packet to send [06:11:23]OFD Sender: No OFD packet to send [06:11:28]OFD Sender: No OFD packet to send [06:11:33]OFD Sender: No OFD packet to send [06:11:38]OFD Sender: No OFD packet to send [06:11:43]OFD Sender: No OFD packet to send [06:11:48]OFD Sender: No OFD packet to send [06:11:53]OFD Sender: No OFD packet to send [06:11:58]OFD Sender: No OFD packet to send [06:12:03]OFD Sender: No OFD packet to send [06:12:08]OFD Sender: No OFD packet to send [06:12:13]OFD Sender: No OFD packet to send [06:12:18]OFD Sender: No OFD packet to send [06:12:23]OFD Sender: No OFD packet to send [06:12:28]OFD Sender: No OFD packet to send [06:12:33]OFD Sender: No OFD packet to send [06:12:38]OFD Sender: No OFD packet to send [06:12:43]OFD Sender: No OFD packet to send [06:12:48]OFD Sender: No OFD packet to send [06:12:53]OFD Sender: No OFD packet to send [06:12:58]OFD Sender: No OFD packet to send [06:13:03]OFD Sender: No OFD packet to send [06:13:08]OFD Sender: No OFD packet to send [06:13:13]OFD Sender: No OFD packet to send [06:13:18]OFD Sender: No OFD packet to send [06:13:23]OFD Sender: No OFD packet to send [06:13:28]OFD Sender: No OFD packet to send [06:13:33]OFD Sender: No OFD packet to send [06:13:38]OFD Sender: No OFD packet to send [06:13:43]OFD Sender: No OFD packet to send [06:13:48]OFD Sender: No OFD packet to send [06:13:53]OFD Sender: No OFD packet to send [06:13:58]OFD Sender: No OFD packet to send [06:14:03]OFD Sender: No OFD packet to send [06:14:08]OFD Sender: No OFD packet to send [06:14:13]OFD Sender: No OFD packet to send [06:14:18]OFD Sender: No OFD packet to send [06:14:23]OFD Sender: No OFD packet to send [06:14:28]OFD Sender: No OFD packet to send [06:14:33]OFD Sender: No OFD packet to send [06:14:38]OFD Sender: No OFD packet to send [06:14:43]OFD Sender: No OFD packet to send [06:14:48]OFD Sender: No OFD packet to send [06:14:53]OFD Sender: No OFD packet to send [06:14:58]OFD Sender: No OFD packet to send [06:15:03]OFD Sender: No OFD packet to send [06:15:08]OFD Sender: No OFD packet to send [06:15:13]OFD Sender: No OFD packet to send [06:15:18]OFD Sender: No OFD packet to send [06:15:23]OFD Sender: No OFD packet to send [06:15:28]OFD Sender: No OFD packet to send [06:15:33]OFD Sender: No OFD packet to send [06:15:38]OFD Sender: No OFD packet to send [06:15:43]OFD Sender: No OFD packet to send [06:15:48]OFD Sender: No OFD packet to send [06:15:53]OFD Sender: No OFD packet to send [06:15:58]OFD Sender: No OFD packet to send [06:16:03]OFD Sender: No OFD packet to send [06:16:08]OFD Sender: No OFD packet to send [06:16:13]OFD Sender: No OFD packet to send [06:16:18]OFD Sender: No OFD packet to send [06:16:23]OFD Sender: No OFD packet to send [06:16:28]OFD Sender: No OFD packet to send [06:16:33]OFD Sender: No OFD packet to send [06:16:38]OFD Sender: No OFD packet to send [06:16:43]OFD Sender: No OFD packet to send [06:16:48]OFD Sender: No OFD packet to send [06:16:53]OFD Sender: No OFD packet to send [06:16:58]OFD Sender: No OFD packet to send [06:17:03]OFD Sender: No OFD packet to send [06:17:08]OFD Sender: No OFD packet to send [06:17:13]OFD Sender: No OFD packet to send [06:17:18]OFD Sender: No OFD packet to send [06:17:23]OFD Sender: No OFD packet to send [06:17:28]OFD Sender: No OFD packet to send [06:17:33]OFD Sender: No OFD packet to send [06:17:38]OFD Sender: No OFD packet to send [06:17:43]OFD Sender: No OFD packet to send [06:17:48]OFD Sender: No OFD packet to send [06:17:53]OFD Sender: No OFD packet to send [06:17:58]OFD Sender: No OFD packet to send [06:18:03]OFD Sender: No OFD packet to send [06:18:08]OFD Sender: No OFD packet to send [06:18:13]OFD Sender: No OFD packet to send [06:18:18]OFD Sender: No OFD packet to send [06:18:23]OFD Sender: No OFD packet to send [06:18:28]OFD Sender: No OFD packet to send [06:18:33]OFD Sender: No OFD packet to send [06:18:38]OFD Sender: No OFD packet to send [06:18:43]OFD Sender: No OFD packet to send [06:18:48]OFD Sender: No OFD packet to send [06:18:53]OFD Sender: No OFD packet to send [06:18:58]OFD Sender: No OFD packet to send [06:19:03]OFD Sender: No OFD packet to send [06:19:08]OFD Sender: No OFD packet to send [06:19:13]OFD Sender: No OFD packet to send [06:19:18]OFD Sender: No OFD packet to send [06:19:23]OFD Sender: No OFD packet to send [06:19:28]OFD Sender: No OFD packet to send [06:19:33]OFD Sender: No OFD packet to send [06:19:38]OFD Sender: No OFD packet to send [06:19:43]OFD Sender: No OFD packet to send [06:19:48]OFD Sender: No OFD packet to send [06:19:53]OFD Sender: No OFD packet to send [06:19:58]OFD Sender: No OFD packet to send [06:20:03]OFD Sender: No OFD packet to send [06:20:08]OFD Sender: No OFD packet to send [06:20:13]OFD Sender: No OFD packet to send [06:20:18]OFD Sender: No OFD packet to send [06:20:23]OFD Sender: No OFD packet to send [06:20:28]OFD Sender: No OFD packet to send [06:20:33]OFD Sender: No OFD packet to send [06:20:38]OFD Sender: No OFD packet to send [06:20:43]OFD Sender: No OFD packet to send [06:20:48]OFD Sender: No OFD packet to send [06:20:53]OFD Sender: No OFD packet to send [06:20:58]OFD Sender: No OFD packet to send [06:21:03]OFD Sender: No OFD packet to send [06:21:08]OFD Sender: No OFD packet to send [06:21:13]OFD Sender: No OFD packet to send [06:21:18]OFD Sender: No OFD packet to send [06:21:23]OFD Sender: No OFD packet to send [06:21:28]OFD Sender: No OFD packet to send [06:21:33]OFD Sender: No OFD packet to send [06:21:38]OFD Sender: No OFD packet to send [06:21:43]OFD Sender: No OFD packet to send [06:21:48]OFD Sender: No OFD packet to send [06:21:53]OFD Sender: No OFD packet to send [06:21:58]OFD Sender: No OFD packet to send [06:22:03]OFD Sender: No OFD packet to send [06:22:08]OFD Sender: No OFD packet to send [06:22:13]OFD Sender: No OFD packet to send [06:22:18]OFD Sender: No OFD packet to send [06:22:23]OFD Sender: No OFD packet to send [06:22:28]OFD Sender: No OFD packet to send [06:22:33]OFD Sender: No OFD packet to send [06:22:38]OFD Sender: No OFD packet to send [06:22:43]OFD Sender: No OFD packet to send [06:22:48]OFD Sender: No OFD packet to send [06:22:53]OFD Sender: No OFD packet to send [06:22:58]OFD Sender: No OFD packet to send [06:23:03]OFD Sender: No OFD packet to send [06:23:08]OFD Sender: No OFD packet to send [06:23:13]OFD Sender: No OFD packet to send [06:23:18]OFD Sender: No OFD packet to send [06:23:23]OFD Sender: No OFD packet to send [06:23:28]OFD Sender: No OFD packet to send [06:23:33]OFD Sender: No OFD packet to send [06:23:38]OFD Sender: No OFD packet to send [06:23:43]OFD Sender: No OFD packet to send [06:23:48]OFD Sender: No OFD packet to send [06:23:53]OFD Sender: No OFD packet to send [06:23:58]OFD Sender: No OFD packet to send [06:24:03]OFD Sender: No OFD packet to send [06:24:08]OFD Sender: No OFD packet to send [06:24:13]OFD Sender: No OFD packet to send [06:24:18]OFD Sender: No OFD packet to send [06:24:23]OFD Sender: No OFD packet to send [06:24:28]OFD Sender: No OFD packet to send [06:24:33]OFD Sender: No OFD packet to send [06:24:38]OFD Sender: No OFD packet to send [06:24:43]OFD Sender: No OFD packet to send [06:24:48]OFD Sender: No OFD packet to send [06:24:53]OFD Sender: No OFD packet to send [06:24:58]OFD Sender: No OFD packet to send [06:25:03]OFD Sender: No OFD packet to send [06:25:08]OFD Sender: No OFD packet to send [06:25:13]OFD Sender: No OFD packet to send [06:25:18]OFD Sender: No OFD packet to send [06:25:23]OFD Sender: No OFD packet to send [06:25:28]OFD Sender: No OFD packet to send [06:25:33]OFD Sender: No OFD packet to send [06:25:38]OFD Sender: No OFD packet to send [06:25:43]OFD Sender: No OFD packet to send [06:25:48]OFD Sender: No OFD packet to send [06:25:53]OFD Sender: No OFD packet to send [06:25:58]OFD Sender: No OFD packet to send [06:26:03]OFD Sender: No OFD packet to send [06:26:08]OFD Sender: No OFD packet to send [06:26:13]OFD Sender: No OFD packet to send [06:26:18]OFD Sender: No OFD packet to send [06:26:23]OFD Sender: No OFD packet to send [06:26:28]OFD Sender: No OFD packet to send [06:26:33]OFD Sender: No OFD packet to send [06:26:38]OFD Sender: No OFD packet to send [06:26:43]OFD Sender: No OFD packet to send [06:26:48]OFD Sender: No OFD packet to send [06:26:53]OFD Sender: No OFD packet to send [06:26:58]OFD Sender: No OFD packet to send [06:27:03]OFD Sender: No OFD packet to send [06:27:09]OFD Sender: No OFD packet to send [06:27:14]OFD Sender: No OFD packet to send [06:27:19]OFD Sender: No OFD packet to send [06:27:24]OFD Sender: No OFD packet to send [06:27:29]OFD Sender: No OFD packet to send [06:27:34]OFD Sender: No OFD packet to send [06:27:39]OFD Sender: No OFD packet to send [06:27:44]OFD Sender: No OFD packet to send [06:27:49]OFD Sender: No OFD packet to send [06:27:54]OFD Sender: No OFD packet to send [06:27:59]OFD Sender: No OFD packet to send [06:28:04]OFD Sender: No OFD packet to send [06:28:09]OFD Sender: No OFD packet to send [06:28:14]OFD Sender: No OFD packet to send [06:28:19]OFD Sender: No OFD packet to send [06:28:24]OFD Sender: No OFD packet to send [06:28:29]OFD Sender: No OFD packet to send [06:28:34]OFD Sender: No OFD packet to send [06:28:39]OFD Sender: No OFD packet to send [06:28:44]OFD Sender: No OFD packet to send [06:28:49]OFD Sender: No OFD packet to send [06:28:54]OFD Sender: No OFD packet to send [06:28:59]OFD Sender: No OFD packet to send [06:29:04]OFD Sender: No OFD packet to send [06:29:09]OFD Sender: No OFD packet to send [06:29:14]OFD Sender: No OFD packet to send [06:29:19]OFD Sender: No OFD packet to send [06:29:24]OFD Sender: No OFD packet to send [06:29:29]OFD Sender: No OFD packet to send [06:29:34]OFD Sender: No OFD packet to send [06:29:39]OFD Sender: No OFD packet to send [06:29:44]OFD Sender: No OFD packet to send [06:29:49]OFD Sender: No OFD packet to send [06:29:54]OFD Sender: No OFD packet to send [06:29:59]OFD Sender: No OFD packet to send [06:30:04]OFD Sender: No OFD packet to send [06:30:09]OFD Sender: No OFD packet to send [06:30:14]OFD Sender: No OFD packet to send [06:30:19]OFD Sender: No OFD packet to send [06:30:24]OFD Sender: No OFD packet to send [06:30:29]OFD Sender: No OFD packet to send [06:30:34]OFD Sender: No OFD packet to send [06:30:39]OFD Sender: No OFD packet to send [06:30:44]OFD Sender: No OFD packet to send [06:30:49]OFD Sender: No OFD packet to send [06:30:54]OFD Sender: No OFD packet to send [06:30:59]OFD Sender: No OFD packet to send [06:31:04]OFD Sender: No OFD packet to send [06:31:09]OFD Sender: No OFD packet to send [06:31:14]OFD Sender: No OFD packet to send [06:31:19]OFD Sender: No OFD packet to send [06:31:24]OFD Sender: No OFD packet to send [06:31:29]OFD Sender: No OFD packet to send [06:31:34]OFD Sender: No OFD packet to send [06:31:39]OFD Sender: No OFD packet to send [06:31:44]OFD Sender: No OFD packet to send [06:31:49]OFD Sender: No OFD packet to send [06:31:54]OFD Sender: No OFD packet to send [06:31:59]OFD Sender: No OFD packet to send [06:32:04]OFD Sender: No OFD packet to send [06:32:09]OFD Sender: No OFD packet to send [06:32:14]OFD Sender: No OFD packet to send [06:32:19]OFD Sender: No OFD packet to send [06:32:24]OFD Sender: No OFD packet to send [06:32:29]OFD Sender: No OFD packet to send [06:32:34]OFD Sender: No OFD packet to send [06:32:39]OFD Sender: No OFD packet to send [06:32:44]OFD Sender: No OFD packet to send [06:32:49]OFD Sender: No OFD packet to send [06:32:54]OFD Sender: No OFD packet to send [06:32:59]OFD Sender: No OFD packet to send [06:33:04]OFD Sender: No OFD packet to send [06:33:09]OFD Sender: No OFD packet to send [06:33:14]OFD Sender: No OFD packet to send [06:33:19]OFD Sender: No OFD packet to send [06:33:24]OFD Sender: No OFD packet to send [06:33:29]OFD Sender: No OFD packet to send [06:33:34]OFD Sender: No OFD packet to send [06:33:39]OFD Sender: No OFD packet to send [06:33:44]OFD Sender: No OFD packet to send [06:33:49]OFD Sender: No OFD packet to send [06:33:54]OFD Sender: No OFD packet to send [06:33:59]OFD Sender: No OFD packet to send [06:34:04]OFD Sender: No OFD packet to send [06:34:09]OFD Sender: No OFD packet to send [06:34:14]OFD Sender: No OFD packet to send [06:34:19]OFD Sender: No OFD packet to send [06:34:24]OFD Sender: No OFD packet to send [06:34:29]OFD Sender: No OFD packet to send [06:34:34]OFD Sender: No OFD packet to send [06:34:39]OFD Sender: No OFD packet to send [06:34:44]OFD Sender: No OFD packet to send [06:34:49]OFD Sender: No OFD packet to send [06:34:54]OFD Sender: No OFD packet to send [06:34:59]OFD Sender: No OFD packet to send [06:35:04]OFD Sender: No OFD packet to send [06:35:09]OFD Sender: No OFD packet to send [06:35:14]OFD Sender: No OFD packet to send [06:35:19]OFD Sender: No OFD packet to send [06:35:24]OFD Sender: No OFD packet to send [06:35:29]OFD Sender: No OFD packet to send [06:35:34]OFD Sender: No OFD packet to send [06:35:39]OFD Sender: No OFD packet to send [06:35:44]OFD Sender: No OFD packet to send [06:35:49]OFD Sender: No OFD packet to send [06:35:54]OFD Sender: No OFD packet to send [06:35:59]OFD Sender: No OFD packet to send [06:36:04]OFD Sender: No OFD packet to send [06:36:09]OFD Sender: No OFD packet to send [06:36:14]OFD Sender: No OFD packet to send [06:36:19]OFD Sender: No OFD packet to send [06:36:24]OFD Sender: No OFD packet to send [06:36:29]OFD Sender: No OFD packet to send [06:36:34]OFD Sender: No OFD packet to send [06:36:39]OFD Sender: No OFD packet to send [06:36:44]OFD Sender: No OFD packet to send [06:36:49]OFD Sender: No OFD packet to send [06:36:54]OFD Sender: No OFD packet to send [06:36:59]OFD Sender: No OFD packet to send [06:37:04]OFD Sender: No OFD packet to send [06:37:09]OFD Sender: No OFD packet to send [06:37:14]OFD Sender: No OFD packet to send [06:37:19]OFD Sender: No OFD packet to send [06:37:24]OFD Sender: No OFD packet to send [06:37:29]OFD Sender: No OFD packet to send [06:37:34]OFD Sender: No OFD packet to send [06:37:39]OFD Sender: No OFD packet to send [06:37:44]OFD Sender: No OFD packet to send [06:37:49]OFD Sender: No OFD packet to send [06:37:54]OFD Sender: No OFD packet to send [06:37:59]OFD Sender: No OFD packet to send [06:38:04]OFD Sender: No OFD packet to send [06:38:09]OFD Sender: No OFD packet to send [06:38:14]OFD Sender: No OFD packet to send [06:38:19]OFD Sender: No OFD packet to send [06:38:24]OFD Sender: No OFD packet to send [06:38:29]OFD Sender: No OFD packet to send [06:38:34]OFD Sender: No OFD packet to send [06:38:39]OFD Sender: No OFD packet to send [06:38:44]OFD Sender: No OFD packet to send [06:38:49]OFD Sender: No OFD packet to send [06:38:54]OFD Sender: No OFD packet to send [06:38:59]OFD Sender: No OFD packet to send [06:39:04]OFD Sender: No OFD packet to send [06:39:09]OFD Sender: No OFD packet to send [06:39:14]OFD Sender: No OFD packet to send [06:39:19]OFD Sender: No OFD packet to send [06:39:24]OFD Sender: No OFD packet to send [06:39:29]OFD Sender: No OFD packet to send [06:39:34]OFD Sender: No OFD packet to send [06:39:39]OFD Sender: No OFD packet to send [06:39:44]OFD Sender: No OFD packet to send [06:39:49]OFD Sender: No OFD packet to send [06:39:54]OFD Sender: No OFD packet to send [06:39:59]OFD Sender: No OFD packet to send [06:40:04]OFD Sender: No OFD packet to send [06:40:09]OFD Sender: No OFD packet to send [06:40:14]OFD Sender: No OFD packet to send [06:40:19]OFD Sender: No OFD packet to send [06:40:24]OFD Sender: No OFD packet to send [06:40:29]OFD Sender: No OFD packet to send [06:40:34]OFD Sender: No OFD packet to send [06:40:39]OFD Sender: No OFD packet to send [06:40:44]OFD Sender: No OFD packet to send [06:40:49]OFD Sender: No OFD packet to send [06:40:54]OFD Sender: No OFD packet to send [06:40:59]OFD Sender: No OFD packet to send [06:41:04]OFD Sender: No OFD packet to send [06:41:09]OFD Sender: No OFD packet to send [06:41:14]OFD Sender: No OFD packet to send [06:41:19]OFD Sender: No OFD packet to send [06:41:24]OFD Sender: No OFD packet to send [06:41:29]OFD Sender: No OFD packet to send [06:41:34]OFD Sender: No OFD packet to send [06:41:39]OFD Sender: No OFD packet to send [06:41:44]OFD Sender: No OFD packet to send [06:41:49]OFD Sender: No OFD packet to send [06:41:54]OFD Sender: No OFD packet to send [06:41:59]OFD Sender: No OFD packet to send [06:42:04]OFD Sender: No OFD packet to send [06:42:09]OFD Sender: No OFD packet to send [06:42:14]OFD Sender: No OFD packet to send [06:42:19]OFD Sender: No OFD packet to send [06:42:24]OFD Sender: No OFD packet to send [06:42:29]OFD Sender: No OFD packet to send [06:42:34]OFD Sender: No OFD packet to send [06:42:39]OFD Sender: No OFD packet to send [06:42:44]OFD Sender: No OFD packet to send [06:42:49]OFD Sender: No OFD packet to send [06:42:54]OFD Sender: No OFD packet to send [06:42:59]OFD Sender: No OFD packet to send [06:43:04]OFD Sender: No OFD packet to send [06:43:09]OFD Sender: No OFD packet to send [06:43:14]OFD Sender: No OFD packet to send [06:43:19]OFD Sender: No OFD packet to send [06:43:24]OFD Sender: No OFD packet to send [06:43:29]OFD Sender: No OFD packet to send [06:43:34]OFD Sender: No OFD packet to send [06:43:39]OFD Sender: No OFD packet to send [06:43:44]OFD Sender: No OFD packet to send [06:43:49]OFD Sender: No OFD packet to send [06:43:54]OFD Sender: No OFD packet to send [06:43:59]OFD Sender: No OFD packet to send [06:44:04]OFD Sender: No OFD packet to send [06:44:09]OFD Sender: No OFD packet to send [06:44:14]OFD Sender: No OFD packet to send [06:44:19]OFD Sender: No OFD packet to send [06:44:24]OFD Sender: No OFD packet to send [06:44:29]OFD Sender: No OFD packet to send [06:44:34]OFD Sender: No OFD packet to send [06:44:39]OFD Sender: No OFD packet to send [06:44:44]OFD Sender: No OFD packet to send [06:44:49]OFD Sender: No OFD packet to send [06:44:54]OFD Sender: No OFD packet to send [06:44:59]OFD Sender: No OFD packet to send [06:45:04]OFD Sender: No OFD packet to send [06:45:09]OFD Sender: No OFD packet to send [06:45:14]OFD Sender: No OFD packet to send [06:45:19]OFD Sender: No OFD packet to send [06:45:24]OFD Sender: No OFD packet to send [06:45:29]OFD Sender: No OFD packet to send [06:45:34]OFD Sender: No OFD packet to send [06:45:39]OFD Sender: No OFD packet to send [06:45:44]OFD Sender: No OFD packet to send [06:45:49]OFD Sender: No OFD packet to send [06:45:54]OFD Sender: No OFD packet to send [06:45:59]OFD Sender: No OFD packet to send [06:46:04]OFD Sender: No OFD packet to send [06:46:09]OFD Sender: No OFD packet to send [06:46:14]OFD Sender: No OFD packet to send [06:46:19]OFD Sender: No OFD packet to send [06:46:24]OFD Sender: No OFD packet to send [06:46:29]OFD Sender: No OFD packet to send [06:46:34]OFD Sender: No OFD packet to send [06:46:39]OFD Sender: No OFD packet to send [06:46:44]OFD Sender: No OFD packet to send [06:46:49]OFD Sender: No OFD packet to send [06:46:54]OFD Sender: No OFD packet to send [06:46:59]OFD Sender: No OFD packet to send [06:47:04]OFD Sender: No OFD packet to send [06:47:09]OFD Sender: No OFD packet to send [06:47:14]OFD Sender: No OFD packet to send [06:47:19]OFD Sender: No OFD packet to send [06:47:24]OFD Sender: No OFD packet to send [06:47:29]OFD Sender: No OFD packet to send [06:47:34]OFD Sender: No OFD packet to send [06:47:39]OFD Sender: No OFD packet to send [06:47:44]OFD Sender: No OFD packet to send [06:47:49]OFD Sender: No OFD packet to send [06:47:54]OFD Sender: No OFD packet to send [06:47:59]OFD Sender: No OFD packet to send [06:48:04]OFD Sender: No OFD packet to send [06:48:09]OFD Sender: No OFD packet to send [06:48:14]OFD Sender: No OFD packet to send [06:48:19]OFD Sender: No OFD packet to send [06:48:24]OFD Sender: No OFD packet to send [06:48:29]OFD Sender: No OFD packet to send [06:48:34]OFD Sender: No OFD packet to send [06:48:39]OFD Sender: No OFD packet to send [06:48:44]OFD Sender: No OFD packet to send [06:48:49]OFD Sender: No OFD packet to send [06:48:55]OFD Sender: No OFD packet to send [06:49:00]OFD Sender: No OFD packet to send [06:49:05]OFD Sender: No OFD packet to send [06:49:10]OFD Sender: No OFD packet to send [06:49:15]OFD Sender: No OFD packet to send [06:49:20]OFD Sender: No OFD packet to send [06:49:25]OFD Sender: No OFD packet to send [06:49:30]OFD Sender: No OFD packet to send [06:49:35]OFD Sender: No OFD packet to send [06:49:40]OFD Sender: No OFD packet to send [06:49:45]OFD Sender: No OFD packet to send [06:49:50]OFD Sender: No OFD packet to send [06:49:55]OFD Sender: No OFD packet to send [06:50:00]OFD Sender: No OFD packet to send [06:50:05]OFD Sender: No OFD packet to send [06:50:10]OFD Sender: No OFD packet to send [06:50:15]OFD Sender: No OFD packet to send [06:50:20]OFD Sender: No OFD packet to send [06:50:25]OFD Sender: No OFD packet to send [06:50:30]OFD Sender: No OFD packet to send [06:50:35]OFD Sender: No OFD packet to send [06:50:40]OFD Sender: No OFD packet to send [06:50:45]OFD Sender: No OFD packet to send [06:50:50]OFD Sender: No OFD packet to send [06:50:55]OFD Sender: No OFD packet to send [06:51:00]OFD Sender: No OFD packet to send [06:51:05]OFD Sender: No OFD packet to send [06:51:10]OFD Sender: No OFD packet to send [06:51:15]OFD Sender: No OFD packet to send [06:51:20]OFD Sender: No OFD packet to send [06:51:25]OFD Sender: No OFD packet to send [06:51:30]OFD Sender: No OFD packet to send [06:51:35]OFD Sender: No OFD packet to send [06:51:40]OFD Sender: No OFD packet to send [06:51:45]OFD Sender: No OFD packet to send [06:51:50]OFD Sender: No OFD packet to send [06:51:55]OFD Sender: No OFD packet to send [06:52:00]OFD Sender: No OFD packet to send [06:52:05]OFD Sender: No OFD packet to send [06:52:10]OFD Sender: No OFD packet to send [06:52:15]OFD Sender: No OFD packet to send [06:52:20]OFD Sender: No OFD packet to send [06:52:25]OFD Sender: No OFD packet to send [06:52:30]OFD Sender: No OFD packet to send [06:52:35]OFD Sender: No OFD packet to send [06:52:40]OFD Sender: No OFD packet to send [06:52:45]OFD Sender: No OFD packet to send [06:52:50]OFD Sender: No OFD packet to send [06:52:55]OFD Sender: No OFD packet to send [06:53:00]OFD Sender: No OFD packet to send [06:53:05]OFD Sender: No OFD packet to send [06:53:10]OFD Sender: No OFD packet to send [06:53:15]OFD Sender: No OFD packet to send [06:53:20]OFD Sender: No OFD packet to send [06:53:25]OFD Sender: No OFD packet to send [06:53:30]OFD Sender: No OFD packet to send [06:53:35]OFD Sender: No OFD packet to send [06:53:40]OFD Sender: No OFD packet to send [06:53:45]OFD Sender: No OFD packet to send [06:53:50]OFD Sender: No OFD packet to send [06:53:55]OFD Sender: No OFD packet to send [06:54:00]OFD Sender: No OFD packet to send [06:54:05]OFD Sender: No OFD packet to send [06:54:10]OFD Sender: No OFD packet to send [06:54:15]OFD Sender: No OFD packet to send [06:54:20]OFD Sender: No OFD packet to send [06:54:25]OFD Sender: No OFD packet to send [06:54:30]OFD Sender: No OFD packet to send [06:54:35]OFD Sender: No OFD packet to send [06:54:40]OFD Sender: No OFD packet to send [06:54:45]OFD Sender: No OFD packet to send [06:54:50]OFD Sender: No OFD packet to send [06:54:55]OFD Sender: No OFD packet to send [06:55:00]OFD Sender: No OFD packet to send [06:55:05]OFD Sender: No OFD packet to send [06:55:10]OFD Sender: No OFD packet to send [06:55:15]OFD Sender: No OFD packet to send [06:55:20]OFD Sender: No OFD packet to send [06:55:25]OFD Sender: No OFD packet to send [06:55:30]OFD Sender: No OFD packet to send [06:55:35]OFD Sender: No OFD packet to send [06:55:40]OFD Sender: No OFD packet to send [06:55:45]OFD Sender: No OFD packet to send [06:55:50]OFD Sender: No OFD packet to send [06:55:55]OFD Sender: No OFD packet to send [06:56:00]OFD Sender: No OFD packet to send [06:56:05]OFD Sender: No OFD packet to send [06:56:10]OFD Sender: No OFD packet to send [06:56:15]OFD Sender: No OFD packet to send [06:56:20]OFD Sender: No OFD packet to send [06:56:25]OFD Sender: No OFD packet to send [06:56:30]OFD Sender: No OFD packet to send [06:56:35]OFD Sender: No OFD packet to send [06:56:40]OFD Sender: No OFD packet to send [06:56:45]OFD Sender: No OFD packet to send [06:56:50]OFD Sender: No OFD packet to send [06:56:55]OFD Sender: No OFD packet to send [06:57:00]OFD Sender: No OFD packet to send [06:57:05]OFD Sender: No OFD packet to send [06:57:10]OFD Sender: No OFD packet to send [06:57:15]OFD Sender: No OFD packet to send [06:57:20]OFD Sender: No OFD packet to send [06:57:25]OFD Sender: No OFD packet to send [06:57:30]OFD Sender: No OFD packet to send [06:57:35]OFD Sender: No OFD packet to send [06:57:40]OFD Sender: No OFD packet to send [06:57:45]OFD Sender: No OFD packet to send [06:57:50]OFD Sender: No OFD packet to send [06:57:55]OFD Sender: No OFD packet to send [06:58:00]OFD Sender: No OFD packet to send [06:58:05]OFD Sender: No OFD packet to send [06:58:10]OFD Sender: No OFD packet to send [06:58:15]OFD Sender: No OFD packet to send [06:58:20]OFD Sender: No OFD packet to send [06:58:25]OFD Sender: No OFD packet to send [06:58:30]OFD Sender: No OFD packet to send [06:58:35]OFD Sender: No OFD packet to send [06:58:40]OFD Sender: No OFD packet to send [06:58:45]OFD Sender: No OFD packet to send [06:58:50]OFD Sender: No OFD packet to send [06:58:55]OFD Sender: No OFD packet to send [06:58:59]accept exits with 9 [06:58:59]New connection [06:58:59]New thread 3067370852 created [06:58:59]Thread 3067227492 joined [06:58:59]Waiting for new connection... [06:58:59] Sock 9.Parse request [06:58:59]Sock 9.Check first char [06:58:59]Sock 9.First char is OK [06:58:59]request: POST /json_proto HTTP/1.0 [06:58:59]Method: POST [06:58:59]URL: /json_proto [06:58:59]Method is POST - this is cgi request [06:58:59]url: /json_proto [06:58:59]query_string will be loaded in cgi processing [06:58:59]execute_cgi json_proto POST (null) [06:58:59]execute_cgi path=json_proto method=POST [06:58:59]POST find Content-Length [06:58:59]Host: 172.17.56.68:8080 [06:58:59]Content-Length: 620 [06:58:59]Content-Type: application/json [06:58:59] [06:58:59]POST finish read [06:58:59]Found Content-Length = 620 [06:58:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4340", "tax_sys" : 0, "items" : [ { "code": "48744997", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Compact Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:58:59]execute_script... [06:58:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4340", "tax_sys" : 0, "items" : [ { "code": "48744997", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Compact Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:58:59]POST & json_proto [06:58:59]process_json_proto [06:58:59]json parsed OK: [06:58:59]protocol is kg_v1.0 [06:58:59]action value=close_receipt [06:58:59]process_action close_receipt [06:58:59]cmd_close_receipt [06:58:59]MH_GetDate [06:58:59]Write to MH i2c: F0 00 00 CF 16 D4 [06:58:59]Write i2c OK [06:58:59]MH_I2C_Read... [06:58:59]Read from MH i2c: F0 [06:58:59]MH_I2C_Read... [06:58:59]Read from MH i2c: F0 09 00 [06:58:59]MH_I2C_Read... [06:58:59]Read from MH i2c: F0 09 00 CF 16 00 3A BB 5E 66 42 69 5C 66 03 [06:58:59]GetLastDocTimeStamp 1717479356 [06:58:59]current date 1717484346 [06:58:59]FM_GetShiftState [06:58:59]SAM_PROTO_GetShiftState [06:58:59]wFMCommunicate request_size=4 [06:58:59]MH_SAM_APDU [06:58:59]CAPDU: 80 13 01 00 [06:58:59]Write to MH i2c: E2 08 00 D0 16 80 13 01 00 00 00 00 00 63 [06:58:59]Write i2c OK [06:58:59]MH_I2C_Read... [06:58:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:58:59]Read from MH i2c: E2 [06:58:59]MH_I2C_Read... [06:58:59]Read from MH i2c: E2 0E 00 [06:58:59]MH_I2C_Read... [06:58:59]Read from MH i2c: E2 0E 00 D0 16 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 FC [06:58:59]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [06:58:59]wFMCommunicate OK [06:58:59]SAM_PROTO_GetShiftState done [06:58:59]FM_GetShiftState done [06:58:59]opened in 1717459822 [06:58:59]opened+sec_in_day 1717546222 [06:58:59]quantity*price = 13500 [06:58:59]sum+1 = 13501 [06:58:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 4 04.06.2024 06:59 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4087 ФПД: 67490028177908 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T065906&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4087&fm=67490028177908&tin=02508201610067®Number=0000000000145775&sum=13500 0 [06:59:00]StoreToDocumentArchive [06:59:00]shift 83 fd 4087 [06:59:00]save to /storage/0083/doc_00004087 [06:59:00]save last doc name /storage/0083/doc_00004087 to /storage/kkm_last_doc_name [06:59:00]save OK [06:59:00]Clear old archive folders... [06:59:00]ProcessDocumentItem done err = 0, tmpTLVsize=274 [06:59:00]tlvbuf is 007EC740 [06:59:00]SAM_PROTO_ClearQueue [06:59:00]wFMCommunicate request_size=4 [06:59:00]MH_SAM_APDU [06:59:00]CAPDU: 80 09 00 00 [06:59:00]Write to MH i2c: E2 08 00 DD 16 80 09 00 00 00 00 00 00 65 [06:59:00]Write i2c OK [06:59:00]MH_I2C_Read... [06:59:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:59:00]Read from MH i2c: E2 [06:59:00]MH_I2C_Read... [06:59:00]Read from MH i2c: E2 03 00 [06:59:00]MH_I2C_Read... [06:59:00]Read from MH i2c: E2 03 00 DD 16 00 90 00 67 [06:59:00]RAPDU: 90 00 [06:59:00]wFMCommunicate OK [06:59:00]SAM_PROTO_ClearQueue done [06:59:00]KKMCreateOFDPacket [06:59:00]OFDProtocolAddRootSTLVToBuf [06:59:00]FM_MakeSignedData [06:59:00]FM_MakeSignedData [06:59:00]SAM_PROTO_SignData [06:59:00]wFMCommunicate request_size=4 [06:59:00]MH_SAM_APDU [06:59:00]CAPDU: 80 0D 01 02 [06:59:00]Write to MH i2c: E2 08 00 DE 16 80 0D 01 02 00 00 00 00 6D [06:59:00]Write i2c OK [06:59:00]MH_I2C_Read... [06:59:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:59:00]Read from MH i2c: E2 [06:59:00]MH_I2C_Read... [06:59:00]Read from MH i2c: E2 03 00 [06:59:00]MH_I2C_Read... [06:59:00]Read from MH i2c: E2 03 00 DE 16 00 90 00 68 [06:59:00]RAPDU: 90 00 [06:59:00]wFMCommunicate OK [06:59:00]wFMCommunicate request_size=255 [06:59:00]MH_SAM_APDU [06:59:00]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 3A BB 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 [06:59:00]Write to MH i2c: E2 02 01 DF 16 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 3A BB 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 00 00 A3 [06:59:00]Write i2c OK [06:59:00]MH_I2C_Read... [06:59:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:59:00]Read from MH i2c: E2 [06:59:00]MH_I2C_Read... [06:59:00]Read from MH i2c: E2 03 00 [06:59:00]MH_I2C_Read... [06:59:00]Read from MH i2c: E2 03 00 DF 16 00 90 00 69 [06:59:00]RAPDU: 90 00 [06:59:00]wFMCommunicate OK [06:59:00]wFMCommunicate request_size=33 [06:59:00]MH_SAM_APDU [06:59:00]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F7 0F 00 00 35 04 06 00 3D 61 BF 27 C9 F4 [06:59:00]Write to MH i2c: E2 24 00 E0 16 80 0D 02 02 1C 00 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F7 0F 00 00 35 04 06 00 3D 61 BF 27 C9 F4 00 00 46 [06:59:00]Write i2c OK [06:59:00]MH_I2C_Read... [06:59:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:59:00]Read from MH i2c: E2 [06:59:00]MH_I2C_Read... [06:59:00]Read from MH i2c: E2 03 00 [06:59:00]MH_I2C_Read... [06:59:00]Read from MH i2c: E2 03 00 E0 16 00 90 00 6A [06:59:00]RAPDU: 90 00 [06:59:00]wFMCommunicate OK [06:59:00]wFMCommunicate request_size=4 [06:59:00]MH_SAM_APDU [06:59:00]CAPDU: 80 0D 03 02 [06:59:00]Write to MH i2c: E2 08 00 E1 16 80 0D 03 02 00 00 00 00 72 [06:59:00]Write i2c OK [06:59:00]MH_I2C_Read... [06:59:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:59:01]Read from MH i2c: E2 [06:59:01]MH_I2C_Read... [06:59:01]Read from MH i2c: E2 0B 00 [06:59:01]MH_I2C_Read... [06:59:01]Read from MH i2c: E2 0B 00 E1 16 00 81 C0 34 09 0C 83 43 D2 90 00 95 [06:59:01]RAPDU: 81 C0 34 09 0C 83 43 D2 90 00 [06:59:01]wFMCommunicate OK [06:59:01]SAM_PROTO_SignData done [06:59:01]FM_MakeSignedData done [06:59:01]CreateOFDProtocolMessage [06:59:01]wFMCommunicate request_size=4 [06:59:01]MH_SAM_APDU [06:59:01]CAPDU: 80 11 00 00 [06:59:01]Write to MH i2c: E2 08 00 E2 16 80 11 00 00 00 00 00 00 72 [06:59:01]Write i2c OK [06:59:01]MH_I2C_Read... [06:59:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:59:01]Read from MH i2c: E2 [06:59:01]MH_I2C_Read... [06:59:01]Read from MH i2c: E2 17 00 [06:59:01]MH_I2C_Read... [06:59:01]Read from MH i2c: E2 17 00 E2 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C5 [06:59:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [06:59:01]wFMCommunicate OK [06:59:01]CreateOFDProtocolMessage done [06:59:01]OFDSenderStorePacket 4087 [06:59:01]StoreOFDPacket docnum=4087 [06:59:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 AA 57 1E 01 96 02 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 3A BB 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F7 0F 00 00 35 04 06 00 3D 61 BF 27 C9 F4 81 C0 34 09 0C 83 43 D2 [06:59:01]CheckFolder [06:59:01]dirname=/storage/ofd_packets [06:59:01]CheckFolder done [06:59:01]ProducePacketName [06:59:01]name=ofd_packets/00004087 [06:59:01]NVStorageSaveData ofd_packets/00004087 [06:59:01]File name is /storage/ofd_packets/00004087 [06:59:01]Write 324 bytes [06:59:01]NVStorageSaveData done [06:59:01]OFDSenderStorePacket done [06:59:01]KKMCreateOFDPacket done [06:59:01]NVStorageSaveData kkm_last_timestamp [06:59:01]File name is /storage/kkm_last_timestamp [06:59:01]Write 4 bytes [06:59:01]NVStorageSaveData done [06:59:01]ExternCall_PrintAddStr [06:59:01]wPrintStart [06:59:01]Write to MH i2c: 01 00 00 E3 16 F9 [06:59:01]Write i2c OK [06:59:01]MH_I2C_Read... [06:59:01]Read from MH i2c: 01 [06:59:01]MH_I2C_Read... [06:59:01]Read from MH i2c: 01 07 00 [06:59:01]MH_I2C_Read... [06:59:01]Read from MH i2c: 01 07 00 E3 16 00 00 00 00 00 FF 0F 0E [06:59:01]RasterBufferAndPrint [06:59:01]line Счет N : (3)4340 [06:59:01]line ИНН: 02508201610067 [06:59:01]line Контрольно-Кассовый Чек [06:59:01]line ПРОДАЖА [06:59:01]line Товар: 48744997 [06:59:01]line Сигареты Winston Compact Blue [06:59:01]line 1.000 * 135.00 [06:59:01]line = 135.00 [06:59:01]line НДС 12% НСП 1% [06:59:01]line > о реализуемом товаре [06:59:01]line ИТОГО: 135.00 [06:59:01]line НСП 1% : 1.19 [06:59:01]line НДС 12% : 14.34 [06:59:01]line Наличными: 135.00 [06:59:01]line Безнал.: 0.00 [06:59:01]line Место: АЗС № 116 "Партнер Нефть" [06:59:01]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [06:59:01]line СНО: Общий режим [06:59:01]line Чек 4 04.06.2024 06:59 [06:59:01]line Смена: 83 ФФД: 1.0 [06:59:01]line ЗНМ: 0300000233 [06:59:01]line РНМ: 0000000000145775 [06:59:01]line Версия ККМ: v1.0 [06:59:01]line ФМ: 0000000000959360 [06:59:01]line ФД: 4087 [06:59:01]line ФПД: 67490028177908 [06:59:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T065906&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4087&fm=67490028177908&tin=02508201610067®Number=0000000000145775&sum=13500 [06:59:01]OFD Sender: Processing packet 4087 [packets to send 2, broken 1] [06:59:01]ProducePacketName [06:59:01]name=ofd_packets/00004087 [06:59:01]OFD Sender: To server: pG, [06:59:01]CommunicateWithHost lk.salyk.kg:30040 [06:59:01]ConnectInit lk.salyk.kg [06:59:01]line 0 [06:59:01]written 0, free lines is 4095 [06:59:01]Connected sock=10 [06:59:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 AA 57 1E 01 96 02 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 3A BB 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F7 0F 00 00 35 04 06 00 3D 61 BF 27 C9 F4 81 C0 34 09 0C 83 43 D2 [06:59:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 A2 5E 47 00 2C 1E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F7 0F 00 00 F4 03 04 00 3C 67 5E 66 B6 04 01 00 00 FD 4C 5B D0 EC 3D 25 FD [06:59:01]CommunicateWithHost err = 0 [06:59:01]CheckOFDResponse [06:59:01]1017 (14) - 77093643461234 [06:59:01]1041 (16) - 0000000000959360 [06:59:01]1040 (4) - 4087 [06:59:01]1012 (4) - 04.06.2024 01:00 [06:59:01]1206 (1) - 0 [06:59:01]OFD Sender: Remove packet 4087 [06:59:01]ProducePacketName [06:59:01]name=ofd_packets/00004087 [06:59:01]NVStorageDeleteData [06:59:01]Write to MH i2c: 01 00 00 0C 17 23 [06:59:01]Write i2c OK [06:59:01]MH_I2C_Read... [06:59:01]Read from MH i2c: 01 [06:59:01]MH_I2C_Read... [06:59:01]Read from MH i2c: 01 07 00 [06:59:01]MH_I2C_Read... [06:59:01]Read from MH i2c: 01 07 00 0C 17 00 00 00 00 00 B7 0C ED [06:59:01]RasterBufferAndPrint [06:59:01]line [06:59:01]line [06:59:01]line [06:59:01]line [06:59:01]line [06:59:01]written 0, free lines is 3260 [06:59:01]MH_Cut [06:59:01]Write to MH i2c: D1 01 00 13 17 01 FC [06:59:01]Write i2c OK [06:59:01]MH_I2C_Read... [06:59:01]Read from MH i2c: D1 [06:59:01]MH_I2C_Read... [06:59:01]Read from MH i2c: D1 01 00 [06:59:01]MH_I2C_Read... [06:59:01]Read from MH i2c: D1 01 00 13 17 00 FB [06:59:01]Write to MH i2c: 01 00 00 14 17 2B [06:59:01]Write i2c OK [06:59:01]MH_I2C_Read... [06:59:02]OFD Sender: No OFD packet to send [06:59:02]*** Cut start [06:59:02]*** Partial cut [06:59:02]*** CUTSNS_PIN = 1 [06:59:02]*** CUTSNS_PIN = 0 [06:59:03]*** Brake cut motor [06:59:03]Read from MH i2c: 01 [06:59:03]MH_I2C_Read... [06:59:03]*** Stop cut motor [06:59:03]*** Cut end [06:59:03]Read from MH i2c: 01 07 00 [06:59:03]MH_I2C_Read... [06:59:03]Read from MH i2c: 01 07 00 14 17 00 00 00 00 00 FF 0F 40 [06:59:03]process_action close_receipt done [06:59:03]requested_data is exist [06:59:03]produce_requested_data [06:59:03]requested_item fm.sn is exist - process it [06:59:03]wFMCommunicate request_size=4 [06:59:03]MH_SAM_APDU [06:59:03]CAPDU: 80 11 00 00 [06:59:03]Write to MH i2c: E2 08 00 15 17 80 11 00 00 00 00 00 00 A6 [06:59:03]Write i2c OK [06:59:03]MH_I2C_Read... [06:59:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:59:03]Read from MH i2c: E2 [06:59:03]MH_I2C_Read... [06:59:03]Read from MH i2c: E2 17 00 [06:59:03]MH_I2C_Read... [06:59:03]Read from MH i2c: E2 17 00 15 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F9 [06:59:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [06:59:03]wFMCommunicate OK [06:59:03]requested_item fd.num is exist - process it [06:59:03]SAM_PROTO_GetFieldsCounters [06:59:03]wFMCommunicate request_size=4 [06:59:03]MH_SAM_APDU [06:59:03]CAPDU: 80 13 00 00 [06:59:03]Write to MH i2c: E2 08 00 16 17 80 13 00 00 00 00 00 00 A9 [06:59:03]Write i2c OK [06:59:03]MH_I2C_Read... [06:59:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:59:03]Read from MH i2c: E2 [06:59:03]MH_I2C_Read... [06:59:03]Read from MH i2c: E2 62 00 [06:59:03]MH_I2C_Read... [06:59:03]Read from MH i2c: E2 62 00 16 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F7 0F 00 00 0E 04 04 00 53 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 33 [06:59:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F7 0F 00 00 0E 04 04 00 53 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 [06:59:03]wFMCommunicate OK [06:59:03]SAM_PROTO_GetFieldsCounters done [06:59:03]requested_item shift.num is exist - process it [06:59:03]requested_item shift.opened is exist - process it [06:59:03]req_shift_opened [06:59:03]FM_GetShiftState [06:59:03]SAM_PROTO_GetShiftState [06:59:03]wFMCommunicate request_size=4 [06:59:03]MH_SAM_APDU [06:59:03]CAPDU: 80 13 01 00 [06:59:03]Write to MH i2c: E2 08 00 17 17 80 13 01 00 00 00 00 00 AB [06:59:03]Write i2c OK [06:59:03]MH_I2C_Read... [06:59:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:59:03]Read from MH i2c: E2 [06:59:03]MH_I2C_Read... [06:59:03]Read from MH i2c: E2 0E 00 [06:59:03]MH_I2C_Read... [06:59:03]Read from MH i2c: E2 0E 00 17 17 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 44 [06:59:03]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [06:59:03]wFMCommunicate OK [06:59:03]SAM_PROTO_GetShiftState done [06:59:03]FM_GetShiftState done [06:59:03]req_shift_opened done [06:59:03]requested_item shift.open_date is exist - process it [06:59:03]req_shift_open_date [06:59:03]req_shift_open_date done [06:59:03]produce_requested_data done [06:59:03]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4087,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [06:59:03]process_action_free close_receipt [06:59:03]json_value_free [06:59:03]json_value_free done [06:59:03]process_json_proto returns [06:59:03]Send response to host [06:59:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4087,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [06:59:03]free response buf [06:59:03]execute_script done [06:59:03]execute_script returns [06:59:03]free content buf [06:59:03]Sock 9.Close socket [06:59:03]Sock 9.Thread stoped [06:59:07]OFD Sender: No OFD packet to send [06:59:12]OFD Sender: No OFD packet to send [06:59:17]OFD Sender: No OFD packet to send [06:59:22]OFD Sender: No OFD packet to send [06:59:27]OFD Sender: No OFD packet to send [06:59:32]OFD Sender: No OFD packet to send [06:59:37]OFD Sender: No OFD packet to send [06:59:42]OFD Sender: No OFD packet to send [06:59:47]OFD Sender: No OFD packet to send [06:59:52]OFD Sender: No OFD packet to send [06:59:57]OFD Sender: No OFD packet to send [07:00:02]OFD Sender: No OFD packet to send [07:00:07]OFD Sender: No OFD packet to send [07:00:12]OFD Sender: No OFD packet to send [07:00:17]OFD Sender: No OFD packet to send [07:00:22]OFD Sender: No OFD packet to send [07:00:27]OFD Sender: No OFD packet to send [07:00:32]OFD Sender: No OFD packet to send [07:00:37]OFD Sender: No OFD packet to send [07:00:42]OFD Sender: No OFD packet to send [07:00:47]OFD Sender: No OFD packet to send [07:00:52]OFD Sender: No OFD packet to send [07:00:57]OFD Sender: No OFD packet to send [07:01:02]OFD Sender: No OFD packet to send [07:01:07]OFD Sender: No OFD packet to send [07:01:12]OFD Sender: No OFD packet to send [07:01:17]OFD Sender: No OFD packet to send [07:01:22]OFD Sender: No OFD packet to send [07:01:27]OFD Sender: No OFD packet to send [07:01:32]OFD Sender: No OFD packet to send [07:01:37]OFD Sender: No OFD packet to send [07:01:42]OFD Sender: No OFD packet to send [07:01:47]OFD Sender: No OFD packet to send [07:01:52]OFD Sender: No OFD packet to send [07:01:57]OFD Sender: No OFD packet to send [07:02:02]OFD Sender: No OFD packet to send [07:02:07]OFD Sender: No OFD packet to send [07:02:12]OFD Sender: No OFD packet to send [07:02:17]OFD Sender: No OFD packet to send [07:02:22]OFD Sender: No OFD packet to send [07:02:27]OFD Sender: No OFD packet to send [07:02:32]OFD Sender: No OFD packet to send [07:02:37]OFD Sender: No OFD packet to send [07:02:42]OFD Sender: No OFD packet to send [07:02:47]OFD Sender: No OFD packet to send [07:02:52]OFD Sender: No OFD packet to send [07:02:57]OFD Sender: No OFD packet to send [07:03:02]OFD Sender: No OFD packet to send [07:03:07]OFD Sender: No OFD packet to send [07:03:12]OFD Sender: No OFD packet to send [07:03:17]OFD Sender: No OFD packet to send [07:03:22]OFD Sender: No OFD packet to send [07:03:27]OFD Sender: No OFD packet to send [07:03:32]OFD Sender: No OFD packet to send [07:03:37]OFD Sender: No OFD packet to send [07:03:42]OFD Sender: No OFD packet to send [07:03:47]OFD Sender: No OFD packet to send [07:03:52]OFD Sender: No OFD packet to send [07:03:57]OFD Sender: No OFD packet to send [07:04:02]OFD Sender: No OFD packet to send [07:04:07]OFD Sender: No OFD packet to send [07:04:12]OFD Sender: No OFD packet to send [07:04:17]OFD Sender: No OFD packet to send [07:04:22]OFD Sender: No OFD packet to send [07:04:27]OFD Sender: No OFD packet to send [07:04:32]OFD Sender: No OFD packet to send [07:04:37]OFD Sender: No OFD packet to send [07:04: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:03]accept exits with 8 [07:11:03]New connection [07:11:03]New thread 3067227492 created [07:11:03]Thread 3067370852 joined [07:11:03]Waiting for new connection... [07:11:03] Sock 8.Parse request [07:11:03]Sock 8.Check first char [07:11:03]Sock 8.First char is OK [07:11:03]request: POST /json_proto HTTP/1.0 [07:11:03]Method: POST [07:11:03]URL: /json_proto [07:11:03]Method is POST - this is cgi request [07:11:03]url: /json_proto [07:11:03]query_string will be loaded in cgi processing [07:11:03]execute_cgi json_proto POST (null) [07:11:03]execute_cgi path=json_proto method=POST [07:11:03]POST find Content-Length [07:11:03]Host: 172.17.56.68:8080 [07:11:03]Content-Length: 635 [07:11:03]Content-Type: application/json [07:11:03] [07:11:03]POST finish read [07:11:03]Found Content-Length = 635 [07:11:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4341", "tax_sys" : 0, "items" : [ { "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:11:03]execute_script... [07:11: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)4341", "tax_sys" : 0, "items" : [ { "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:11:03]POST & json_proto [07:11:03]process_json_proto [07:11:03]json parsed OK: [07:11:03]protocol is kg_v1.0 [07:11:03]action value=close_receipt [07:11:03]process_action close_receipt [07:11:03]cmd_close_receipt [07:11:03]MH_GetDate [07:11:03]Write to MH i2c: F0 00 00 18 17 1E [07:11:03]Write i2c OK [07:11:03]MH_I2C_Read... [07:11:03]Read from MH i2c: F0 [07:11:03]MH_I2C_Read... [07:11:03]Read from MH i2c: F0 09 00 [07:11:03]MH_I2C_Read... [07:11:03]Read from MH i2c: F0 09 00 18 17 00 0E BE 5E 66 42 69 5C 66 24 [07:11:03]GetLastDocTimeStamp 1717484346 [07:11:03]current date 1717485070 [07:11:03]FM_GetShiftState [07:11:03]SAM_PROTO_GetShiftState [07:11:03]wFMCommunicate request_size=4 [07:11:03]MH_SAM_APDU [07:11:03]CAPDU: 80 13 01 00 [07:11:03]Write to MH i2c: E2 08 00 19 17 80 13 01 00 00 00 00 00 AD [07:11:03]Write i2c OK [07:11:03]MH_I2C_Read... [07:11:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:11:03]Read from MH i2c: E2 [07:11:03]MH_I2C_Read... [07:11:03]Read from MH i2c: E2 0E 00 [07:11:03]MH_I2C_Read... [07:11:03]Read from MH i2c: E2 0E 00 19 17 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 46 [07:11:03]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [07:11:03]wFMCommunicate OK [07:11:03]SAM_PROTO_GetShiftState done [07:11:03]FM_GetShiftState done [07:11:03]opened in 1717459822 [07:11:03]opened+sec_in_day 1717546222 [07:11:03]quantity*price = 5000 [07:11:03]sum+1 = 5001 [07:11:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 5 04.06.2024 07:11 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4088 ФПД: 109429101299149 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T071111&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4088&fm=109429101299149&tin=02508201610067®Number=0000000000145775&sum=5000 0 [07:11:04]StoreToDocumentArchive [07:11:04]shift 83 fd 4088 [07:11:04]save to /storage/0083/doc_00004088 [07:11:04]save last doc name /storage/0083/doc_00004088 to /storage/kkm_last_doc_name [07:11:04]save OK [07:11:04]Clear old archive folders... [07:11:04]ProcessDocumentItem done err = 0, tmpTLVsize=272 [07:11:04]tlvbuf is 00774570 [07:11:04]SAM_PROTO_ClearQueue [07:11:04]wFMCommunicate request_size=4 [07:11:04]MH_SAM_APDU [07:11:04]CAPDU: 80 09 00 00 [07:11:04]Write to MH i2c: E2 08 00 26 17 80 09 00 00 00 00 00 00 AF [07:11:04]Write i2c OK [07:11:04]MH_I2C_Read... [07:11:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:11:04]Read from MH i2c: E2 [07:11:04]MH_I2C_Read... [07:11:04]Read from MH i2c: E2 03 00 [07:11:04]MH_I2C_Read... [07:11:04]Read from MH i2c: E2 03 00 26 17 00 90 00 B1 [07:11:04]RAPDU: 90 00 [07:11:04]wFMCommunicate OK [07:11:04]SAM_PROTO_ClearQueue done [07:11:04]KKMCreateOFDPacket [07:11:04]OFDProtocolAddRootSTLVToBuf [07:11:04]FM_MakeSignedData [07:11:04]FM_MakeSignedData [07:11:04]SAM_PROTO_SignData [07:11:04]wFMCommunicate request_size=4 [07:11:04]MH_SAM_APDU [07:11:04]CAPDU: 80 0D 01 02 [07:11:04]Write to MH i2c: E2 08 00 27 17 80 0D 01 02 00 00 00 00 B7 [07:11:04]Write i2c OK [07:11:04]MH_I2C_Read... [07:11:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:11:04]Read from MH i2c: E2 [07:11:04]MH_I2C_Read... [07:11:04]Read from MH i2c: E2 03 00 [07:11:04]MH_I2C_Read... [07:11:04]Read from MH i2c: E2 03 00 27 17 00 90 00 B2 [07:11:04]RAPDU: 90 00 [07:11:04]wFMCommunicate OK [07:11:04]wFMCommunicate request_size=255 [07:11:04]MH_SAM_APDU [07:11:04]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 0F BE 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 [07:11:04]Write to MH i2c: E2 02 01 28 17 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 0F BE 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 00 00 F1 [07:11:04]Write i2c OK [07:11:04]MH_I2C_Read... [07:11:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:11:04]Read from MH i2c: E2 [07:11:04]MH_I2C_Read... [07:11:04]Read from MH i2c: E2 03 00 [07:11:04]MH_I2C_Read... [07:11:04]Read from MH i2c: E2 03 00 28 17 00 90 00 B3 [07:11:04]RAPDU: 90 00 [07:11:04]wFMCommunicate OK [07:11:04]wFMCommunicate request_size=31 [07:11:04]MH_SAM_APDU [07:11:04]CAPDU: 80 0D 02 02 1A 30 30 39 35 39 33 36 30 10 04 04 00 F8 0F 00 00 35 04 06 00 63 86 72 B6 05 CD [07:11:04]Write to MH i2c: E2 22 00 29 17 80 0D 02 02 1A 00 30 30 39 35 39 33 36 30 10 04 04 00 F8 0F 00 00 35 04 06 00 63 86 72 B6 05 CD 00 00 CF [07:11:04]Write i2c OK [07:11:04]MH_I2C_Read... [07:11:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:11:04]Read from MH i2c: E2 [07:11:04]MH_I2C_Read... [07:11:04]Read from MH i2c: E2 03 00 [07:11:04]MH_I2C_Read... [07:11:04]Read from MH i2c: E2 03 00 29 17 00 90 00 B4 [07:11:04]RAPDU: 90 00 [07:11:04]wFMCommunicate OK [07:11:04]wFMCommunicate request_size=4 [07:11:04]MH_SAM_APDU [07:11:04]CAPDU: 80 0D 03 02 [07:11:04]Write to MH i2c: E2 08 00 2A 17 80 0D 03 02 00 00 00 00 BC [07:11:04]Write i2c OK [07:11:04]MH_I2C_Read... [07:11:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:11:04]Read from MH i2c: E2 [07:11:04]MH_I2C_Read... [07:11:04]Read from MH i2c: E2 0B 00 [07:11:04]MH_I2C_Read... [07:11:04]Read from MH i2c: E2 0B 00 2A 17 00 CC 75 F9 4A 45 4B C6 DB 90 00 72 [07:11:04]RAPDU: CC 75 F9 4A 45 4B C6 DB 90 00 [07:11:04]wFMCommunicate OK [07:11:04]SAM_PROTO_SignData done [07:11:04]FM_MakeSignedData done [07:11:04]CreateOFDProtocolMessage [07:11:04]wFMCommunicate request_size=4 [07:11:04]MH_SAM_APDU [07:11:04]CAPDU: 80 11 00 00 [07:11:04]Write to MH i2c: E2 08 00 2B 17 80 11 00 00 00 00 00 00 BC [07:11:04]Write i2c OK [07:11:04]MH_I2C_Read... [07:11:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:11:05]Read from MH i2c: E2 [07:11:05]MH_I2C_Read... [07:11:05]Read from MH i2c: E2 17 00 [07:11:05]MH_I2C_Read... [07:11:05]Read from MH i2c: E2 17 00 2B 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 0F [07:11:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:11:05]wFMCommunicate OK [07:11:05]CreateOFDProtocolMessage done [07:11:05]OFDSenderStorePacket 4088 [07:11:05]StoreOFDPacket docnum=4088 [07:11:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 24 01 00 00 34 CB 1C 01 62 90 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 0F BE 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F8 0F 00 00 35 04 06 00 63 86 72 B6 05 CD CC 75 F9 4A 45 4B C6 DB [07:11:05]CheckFolder [07:11:05]dirname=/storage/ofd_packets [07:11:05]CheckFolder done [07:11:05]ProducePacketName [07:11:05]name=ofd_packets/00004088 [07:11:05]NVStorageSaveData ofd_packets/00004088 [07:11:05]File name is /storage/ofd_packets/00004088 [07:11:05]Write 322 bytes [07:11:05]NVStorageSaveData done [07:11:05]OFDSenderStorePacket done [07:11:05]KKMCreateOFDPacket done [07:11:05]NVStorageSaveData kkm_last_timestamp [07:11:05]File name is /storage/kkm_last_timestamp [07:11:05]Write 4 bytes [07:11:05]NVStorageSaveData done [07:11:05]ExternCall_PrintAddStr [07:11:05]wPrintStart [07:11:05]Write to MH i2c: 01 00 00 2C 17 43 [07:11:05]Write i2c OK [07:11:05]MH_I2C_Read... [07:11:05]Read from MH i2c: 01 [07:11:05]MH_I2C_Read... [07:11:05]Read from MH i2c: 01 07 00 [07:11:05]MH_I2C_Read... [07:11:05]Read from MH i2c: 01 07 00 2C 17 00 00 00 00 00 FF 0F 58 [07:11:05]RasterBufferAndPrint [07:11:05]line Счет N : (3)4341 [07:11:05]line ИНН: 02508201610067 [07:11:05]line Контрольно-Кассовый Чек [07:11:05]line ПРОДАЖА [07:11:05]line Товар: 4700000160051 [07:11:05]line Вода Ыссык Ата 1л [07:11:05]line 1.000 * 50.00 [07:11:05]line = 50.00 [07:11:05]line НДС 12% НСП 1% [07:11:05]line > о реализуемом товаре [07:11:05]line ИТОГО: 50.00 [07:11:05]line НСП 1% : 0.44 [07:11:05]line НДС 12% : 5.31 [07:11:05]line Наличными: 50.00 [07:11:05]line Безнал.: 0.00 [07:11:05]line Место: АЗС № 116 "Партнер Нефть" [07:11:05]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [07:11:05]line СНО: Общий режим [07:11:05]line Чек 5 04.06.2024 07:11 [07:11:05]line Смена: 83 ФФД: 1.0 [07:11:05]line ЗНМ: 0300000233 [07:11:05]line РНМ: 0000000000145775 [07:11:05]line Версия ККМ: v1.0 [07:11:05]line ФМ: 0000000000959360 [07:11:05]line ФД: 4088 [07:11:05]line ФПД: 109429101299149 [07:11:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T071111&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4088&fm=109429101299149&tin=02508201610067®Number=0000000000145775&sum=5000 [07:11:05]line 0 [07:11:05]OFD Sender: Processing packet 4088 [packets to send 2, broken 1] [07:11:05]ProducePacketName [07:11:05]name=ofd_packets/00004088 [07:11:05]OFD Sender: To server: pG, [07:11:05]CommunicateWithHost lk.salyk.kg:30040 [07:11:05]ConnectInit lk.salyk.kg [07:11:05]written 0, free lines is 4095 [07:11:05]Connected sock=10 [07:11:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 24 01 00 00 34 CB 1C 01 62 90 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 0F BE 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F8 0F 00 00 35 04 06 00 63 86 72 B6 05 CD CC 75 F9 4A 45 4B C6 DB [07:11:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 64 3B 47 00 BE 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F8 0F 00 00 F4 03 04 00 10 6A 5E 66 B6 04 01 00 00 41 4D D6 C6 9F B1 44 B3 [07:11:05]CommunicateWithHost err = 0 [07:11:05]CheckOFDResponse [07:11:05]1017 (14) - 77093643461234 [07:11:05]1041 (16) - 0000000000959360 [07:11:05]1040 (4) - 4088 [07:11:05]1012 (4) - 04.06.2024 01:12 [07:11:05]1206 (1) - 0 [07:11:05]OFD Sender: Remove packet 4088 [07:11:05]ProducePacketName [07:11:05]name=ofd_packets/00004088 [07:11:05]NVStorageDeleteData [07:11:05]Write to MH i2c: 01 00 00 54 17 6B [07:11:05]Write i2c OK [07:11:05]MH_I2C_Read... [07:11:05]Read from MH i2c: 01 [07:11:05]MH_I2C_Read... [07:11:05]Read from MH i2c: 01 07 00 [07:11:05]MH_I2C_Read... [07:11:05]Read from MH i2c: 01 07 00 54 17 00 00 00 00 00 CC 0C 4A [07:11:05]RasterBufferAndPrint [07:11:05]line [07:11:05]line [07:11:05]line [07:11:05]line [07:11:05]line [07:11:05]written 0, free lines is 3282 [07:11:05]MH_Cut [07:11:05]Write to MH i2c: D1 01 00 5B 17 01 44 [07:11:05]Write i2c OK [07:11:05]MH_I2C_Read... [07:11:05]Read from MH i2c: D1 [07:11:05]MH_I2C_Read... [07:11:05]Read from MH i2c: D1 01 00 [07:11:05]MH_I2C_Read... [07:11:05]Read from MH i2c: D1 01 00 5B 17 00 43 [07:11:05]Write to MH i2c: 01 00 00 5C 17 73 [07:11:05]Write i2c OK [07:11:05]MH_I2C_Read... [07:11:06]OFD Sender: No OFD packet to send [07:11:06]*** Cut start [07:11:06]*** Partial cut [07:11:06]*** CUTSNS_PIN = 1 [07:11:06]*** CUTSNS_PIN = 0 [07:11:06]*** Brake cut motor [07:11:07]Read from MH i2c: 01 [07:11:07]MH_I2C_Read... [07:11:07]*** Stop cut motor [07:11:07]*** Cut end [07:11:07]Read from MH i2c: 01 07 00 [07:11:07]MH_I2C_Read... [07:11:07]Read from MH i2c: 01 07 00 5C 17 00 00 00 00 00 FF 0F 88 [07:11:07]process_action close_receipt done [07:11:07]requested_data is exist [07:11:07]produce_requested_data [07:11:07]requested_item fm.sn is exist - process it [07:11:07]wFMCommunicate request_size=4 [07:11:07]MH_SAM_APDU [07:11:07]CAPDU: 80 11 00 00 [07:11:07]Write to MH i2c: E2 08 00 5D 17 80 11 00 00 00 00 00 00 EE [07:11:07]Write i2c OK [07:11:07]MH_I2C_Read... [07:11:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:11:07]Read from MH i2c: E2 [07:11:07]MH_I2C_Read... [07:11:07]Read from MH i2c: E2 17 00 [07:11:07]MH_I2C_Read... [07:11:07]Read from MH i2c: E2 17 00 5D 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 41 [07:11:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:11:07]wFMCommunicate OK [07:11:07]requested_item fd.num is exist - process it [07:11:07]SAM_PROTO_GetFieldsCounters [07:11:07]wFMCommunicate request_size=4 [07:11:07]MH_SAM_APDU [07:11:07]CAPDU: 80 13 00 00 [07:11:07]Write to MH i2c: E2 08 00 5E 17 80 13 00 00 00 00 00 00 F1 [07:11:07]Write i2c OK [07:11:07]MH_I2C_Read... [07:11:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:11:07]Read from MH i2c: E2 [07:11:07]MH_I2C_Read... [07:11:07]Read from MH i2c: E2 62 00 [07:11:07]MH_I2C_Read... [07:11:07]Read from MH i2c: E2 62 00 5E 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F8 0F 00 00 0E 04 04 00 53 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 7F [07:11:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F8 0F 00 00 0E 04 04 00 53 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:11:07]wFMCommunicate OK [07:11:07]SAM_PROTO_GetFieldsCounters done [07:11:07]requested_item shift.num is exist - process it [07:11:07]requested_item shift.opened is exist - process it [07:11:07]req_shift_opened [07:11:07]FM_GetShiftState [07:11:07]SAM_PROTO_GetShiftState [07:11:07]wFMCommunicate request_size=4 [07:11:07]MH_SAM_APDU [07:11:07]CAPDU: 80 13 01 00 [07:11:07]Write to MH i2c: E2 08 00 5F 17 80 13 01 00 00 00 00 00 F3 [07:11:07]Write i2c OK [07:11:07]MH_I2C_Read... [07:11:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:11:07]Read from MH i2c: E2 [07:11:07]MH_I2C_Read... [07:11:07]Read from MH i2c: E2 0E 00 [07:11:07]MH_I2C_Read... [07:11:07]Read from MH i2c: E2 0E 00 5F 17 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 8C [07:11:07]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [07:11:07]wFMCommunicate OK [07:11:07]SAM_PROTO_GetShiftState done [07:11:07]FM_GetShiftState done [07:11:07]req_shift_opened done [07:11:07]requested_item shift.open_date is exist - process it [07:11:07]req_shift_open_date [07:11:07]req_shift_open_date done [07:11:07]produce_requested_data done [07:11:07]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4088,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [07:11:07]process_action_free close_receipt [07:11:07]json_value_free [07:11:07]json_value_free done [07:11:07]process_json_proto returns [07:11:07]Send response to host [07:11:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4088,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [07:11:07]free response buf [07:11:07]execute_script done [07:11:07]execute_script returns [07:11:07]free content buf [07:11:07]Sock 8.Close socket [07:11:07]Sock 8.Thread stoped [07:11:11]OFD Sender: No OFD packet to send [07:11:16]OFD Sender: No OFD packet to send [07:11:21]OFD Sender: No OFD packet to send [07:11:26]OFD Sender: No OFD packet to send [07:11:31]OFD Sender: No OFD packet to send [07:11:36]OFD Sender: No OFD packet to send [07:11:41]OFD Sender: No OFD packet to send [07:11:46]OFD Sender: No OFD packet to send [07:11:51]OFD Sender: No OFD packet to send [07:11:56]OFD Sender: No OFD packet to send [07:12:01]OFD Sender: No OFD packet to send [07:12:06]OFD Sender: No OFD packet to send [07:12:11]OFD Sender: No OFD packet to send [07:12:16]OFD Sender: No OFD packet to send [07:12:21]OFD Sender: No OFD packet to send [07:12:26]OFD Sender: No OFD packet to send [07:12:31]OFD Sender: No OFD packet to send [07:12:36]OFD Sender: No OFD packet to send [07:12:41]OFD Sender: No OFD packet to send [07:12:46]OFD Sender: No OFD packet to send [07:12:51]OFD Sender: No OFD packet to send [07:12:56]OFD Sender: No OFD packet to send [07:13:01]OFD Sender: No OFD packet to send [07:13:06]OFD Sender: No OFD packet to send [07:13:11]OFD Sender: No OFD packet to send [07:13:16]OFD Sender: No OFD packet to send [07:13:21]OFD Sender: No OFD packet to send [07:13:26]OFD Sender: No OFD packet to send [07:13:31]OFD Sender: No OFD packet to send [07:13:36]OFD Sender: No OFD packet to send [07:13:41]OFD Sender: No OFD packet to send [07:13:46]OFD Sender: No OFD packet to send [07:13:51]OFD Sender: No OFD packet to send [07:13:56]OFD Sender: No OFD packet to send [07:14:01]OFD Sender: No OFD packet to send [07:14:06]OFD Sender: No OFD packet to send [07:14:11]OFD Sender: No OFD packet to send [07:14:16]OFD Sender: No OFD packet to send [07:14:21]OFD Sender: No OFD packet to send [07:14:26]OFD Sender: No OFD packet to send [07:14:31]OFD Sender: No OFD packet to send [07:14:36]OFD Sender: No OFD packet to send [07:14:41]OFD Sender: No OFD packet to send [07:14:46]OFD Sender: No OFD packet to send [07:14:51]OFD Sender: No OFD packet to send [07:14:56]OFD Sender: No OFD packet to send [07:15:01]OFD Sender: No OFD packet to send [07:15:06]OFD Sender: No OFD packet to send [07:15:11]OFD Sender: No OFD packet to send [07:15:16]OFD Sender: No OFD packet to send [07:15:21]OFD Sender: No OFD packet to send [07:15:26]OFD Sender: No OFD packet to send [07:15:31]OFD Sender: No OFD packet to send [07:15:36]OFD Sender: No OFD packet to send [07:15:41]OFD Sender: No OFD packet to send [07:15:46]OFD Sender: No OFD packet to send [07:15:51]OFD Sender: No OFD packet to send [07:15:56]OFD Sender: No OFD packet to send [07:16:01]OFD Sender: No OFD packet to send [07:16:06]OFD Sender: No OFD packet to send [07:16:11]OFD Sender: No OFD packet to send [07:16:16]OFD Sender: No OFD packet to send [07:16:21]OFD Sender: No OFD packet to send [07:16:26]OFD Sender: No OFD packet to send [07:16:31]OFD Sender: No OFD packet to send [07:16:36]OFD Sender: No OFD packet to send [07:16:41]OFD Sender: No OFD packet to send [07:16:46]OFD Sender: No OFD packet to send [07:16:51]OFD Sender: No OFD packet to send [07:16:56]OFD Sender: No OFD packet to send [07:17:01]OFD Sender: No OFD packet to send [07:17:06]OFD Sender: No OFD packet to send [07:17:11]OFD Sender: No OFD packet to send [07:17:16]OFD Sender: No OFD packet to send [07:17:21]OFD Sender: No OFD packet to send [07:17:26]OFD Sender: No OFD packet to send [07:17:31]OFD Sender: No OFD packet to send [07:17:36]OFD Sender: No OFD packet to send [07:17:41]OFD Sender: No OFD packet to send [07:17:46]OFD Sender: No OFD packet to send [07:17:51]OFD Sender: No OFD packet to send [07:17:56]OFD Sender: No OFD packet to send [07:18:01]OFD Sender: No OFD packet to send [07:18:06]OFD Sender: No OFD packet to send [07:18:11]OFD Sender: No OFD packet to send [07:18:16]OFD Sender: No OFD packet to send [07:18:21]OFD Sender: No OFD packet to send [07:18:26]OFD Sender: No OFD packet to send [07:18:31]OFD Sender: No OFD packet to send [07:18:36]OFD Sender: No OFD packet to send [07:18:41]OFD Sender: No OFD packet to send [07:18:46]OFD Sender: No OFD packet to send [07:18:51]OFD Sender: No OFD packet to send [07:18:56]OFD Sender: No OFD packet to send [07:19:01]OFD Sender: No OFD packet to send [07:19:06]OFD Sender: No OFD packet to send [07:19:11]OFD Sender: No OFD packet to send [07:19:16]OFD Sender: No OFD packet to send [07:19:21]OFD Sender: No OFD packet to send [07:19:26]OFD Sender: No OFD packet to send [07:19:31]OFD Sender: No OFD packet to send [07:19:36]OFD Sender: No OFD packet to send [07:19:41]OFD Sender: No OFD packet to send [07:19:46]OFD Sender: No OFD packet to send [07:19:51]OFD Sender: No OFD packet to send [07:19:56]OFD Sender: No OFD packet to send [07:20:01]OFD Sender: No OFD packet to send [07:20:06]OFD Sender: No OFD packet to send [07:20:11]OFD Sender: No OFD packet to send [07:20:16]OFD Sender: No OFD packet to send [07:20:21]OFD Sender: No OFD packet to send [07:20:26]OFD Sender: No OFD packet to send [07:20:31]OFD Sender: No OFD packet to send [07:20:36]OFD Sender: No OFD packet to send [07:20:41]OFD Sender: No OFD packet to send [07:20:46]OFD Sender: No OFD packet to send [07:20:51]OFD Sender: No OFD packet to send [07:20:56]OFD Sender: No OFD packet to send [07:21:01]OFD Sender: No OFD packet to send [07:21:06]OFD Sender: No OFD packet to send [07:21:11]OFD Sender: No OFD packet to send [07:21:16]OFD Sender: No OFD packet to send [07:21:21]OFD Sender: No OFD packet to send [07:21:26]OFD Sender: No OFD packet to send [07:21:31]OFD Sender: No OFD packet to send [07:21:36]OFD Sender: No OFD packet to send [07:21:41]OFD Sender: No OFD packet to send [07:21:46]OFD Sender: No OFD packet to send [07:21:51]OFD Sender: No OFD packet to send [07:21:56]OFD Sender: No OFD packet to send [07:22:01]OFD Sender: No OFD packet to send [07:22:06]OFD Sender: No OFD packet to send [07:22:11]OFD Sender: No OFD packet to send [07:22:16]OFD Sender: No OFD packet to send [07:22:21]OFD Sender: No OFD packet to send [07:22:26]OFD Sender: No OFD packet to send [07:22:31]OFD Sender: No OFD packet to send [07:22:36]OFD Sender: No OFD packet to send [07:22:41]OFD Sender: No OFD packet to send [07:22:46]OFD Sender: No OFD packet to send [07:22:51]OFD Sender: No OFD packet to send [07:22:56]OFD Sender: No OFD packet to send [07:23:01]OFD Sender: No OFD packet to send [07:23:06]OFD Sender: No OFD packet to send [07:23:11]OFD Sender: No OFD packet to send [07:23:16]OFD Sender: No OFD packet to send [07:23:21]OFD Sender: No OFD packet to send [07:23:26]OFD Sender: No OFD packet to send [07:23:31]OFD Sender: No OFD packet to send [07:23:36]OFD Sender: No OFD packet to send [07:23:41]OFD Sender: No OFD packet to send [07:23:46]OFD Sender: No OFD packet to send [07:23:51]OFD Sender: No OFD packet to send [07:23:56]OFD Sender: No OFD packet to send [07:24:01]OFD Sender: No OFD packet to send [07:24:06]OFD Sender: No OFD packet to send [07:24:11]OFD Sender: No OFD packet to send [07:24:16]OFD Sender: No OFD packet to send [07:24:21]OFD Sender: No OFD packet to send [07:24:26]OFD Sender: No OFD packet to send [07:24:31]OFD Sender: No OFD packet to send [07:24:36]OFD Sender: No OFD packet to send [07:24:41]OFD Sender: No OFD packet to send [07:24:46]OFD Sender: No OFD packet to send [07:24:51]OFD Sender: No OFD packet to send [07:24:56]OFD Sender: No OFD packet to send [07:25:01]OFD Sender: No OFD packet to send [07:25:06]OFD Sender: No OFD packet to send [07:25:11]OFD Sender: No OFD packet to send [07:25:16]OFD Sender: No OFD packet to send [07:25:21]OFD Sender: No OFD packet to send [07:25:26]OFD Sender: No OFD packet to send [07:25:31]OFD Sender: No OFD packet to send [07:25:36]OFD Sender: No OFD packet to send [07:25:41]OFD Sender: No OFD packet to send [07:25:46]OFD Sender: No OFD packet to send [07:25:51]OFD Sender: No OFD packet to send [07:25:56]OFD Sender: No OFD packet to send [07:26:01]OFD Sender: No OFD packet to send [07:26:06]OFD Sender: No OFD packet to send [07:26:11]OFD Sender: No OFD packet to send [07:26:16]OFD Sender: No OFD packet to send [07:26:21]OFD Sender: No OFD packet to send [07:26:26]OFD Sender: No OFD packet to send [07:26:31]OFD Sender: No OFD packet to send [07:26:36]OFD Sender: No OFD packet to send [07:26:41]OFD Sender: No OFD packet to send [07:26:46]OFD Sender: No OFD packet to send [07:26:51]OFD Sender: No OFD packet to send [07:26:56]OFD Sender: No OFD packet to send [07:27:01]OFD Sender: No OFD packet to send [07:27:06]OFD Sender: No OFD packet to send [07:27:11]OFD Sender: No OFD packet to send [07:27:16]OFD Sender: No OFD packet to send [07:27:21]OFD Sender: No OFD packet to send [07:27:26]OFD Sender: No OFD packet to send [07:27:31]OFD Sender: No OFD packet to send [07:27:36]OFD Sender: No OFD packet to send [07:27:41]OFD Sender: No OFD packet to send [07:27:46]OFD Sender: No OFD packet to send [07:27:51]OFD Sender: No OFD packet to send [07:27:56]OFD Sender: No OFD packet to send [07:28:01]OFD Sender: No OFD packet to send [07:28:06]OFD Sender: No OFD packet to send [07:28:11]OFD Sender: No OFD packet to send [07:28:16]OFD Sender: No OFD packet to send [07:28:21]OFD Sender: No OFD packet to send [07:28:26]OFD Sender: No OFD packet to send [07:28:32]OFD Sender: No OFD packet to send [07:28:37]OFD Sender: No OFD packet to send [07:28:42]OFD Sender: No OFD packet to send [07:28:47]OFD Sender: No OFD packet to send [07:28:52]OFD Sender: No OFD packet to send [07:28:57]OFD Sender: No OFD packet to send [07:29:02]OFD Sender: No OFD packet to send [07:29:07]OFD Sender: No OFD packet to send [07:29:12]OFD Sender: No OFD packet to send [07:29:17]OFD Sender: No OFD packet to send [07:29:22]OFD Sender: No OFD packet to send [07:29:27]OFD Sender: No OFD packet to send [07:29:32]OFD Sender: No OFD packet to send [07:29:37]OFD Sender: No OFD packet to send [07:29:42]OFD Sender: No OFD packet to send [07:29:47]OFD Sender: No OFD packet to send [07:29:52]OFD Sender: No OFD packet to send [07:29:57]OFD Sender: No OFD packet to send [07:30:02]OFD Sender: No OFD packet to send [07:30:07]OFD Sender: No OFD packet to send [07:30:12]OFD Sender: No OFD packet to send [07:30:17]OFD Sender: No OFD packet to send [07:30:22]OFD Sender: No OFD packet to send [07:30:27]OFD Sender: No OFD packet to send [07:30:32]OFD Sender: No OFD packet to send [07:30:37]OFD Sender: No OFD packet to send [07:30:42]OFD Sender: No OFD packet to send [07:30:47]OFD Sender: No OFD packet to send [07:30:52]OFD Sender: No OFD packet to send [07:30:57]OFD Sender: No OFD packet to send [07:31:02]OFD Sender: No OFD packet to send [07:31:07]OFD Sender: No OFD packet to send [07:31:12]OFD Sender: No OFD packet to send [07:31:17]OFD Sender: No OFD packet to send [07:31:22]OFD Sender: No OFD packet to send [07:31:27]OFD Sender: No OFD packet to send [07:31:32]OFD Sender: No OFD packet to send [07:31:37]OFD Sender: No OFD packet to send [07:31:42]OFD Sender: No OFD packet to send [07:31:47]OFD Sender: No OFD packet to send [07:31:52]OFD Sender: No OFD packet to send [07:31:57]OFD Sender: No OFD packet to send [07:32:02]OFD Sender: No OFD packet to send [07:32:07]OFD Sender: No OFD packet to send [07:32:12]OFD Sender: No OFD packet to send [07:32:17]OFD Sender: No OFD packet to send [07:32:22]OFD Sender: No OFD packet to send [07:32:27]OFD Sender: No OFD packet to send [07:32:32]OFD Sender: No OFD packet to send [07:32:37]OFD Sender: No OFD packet to send [07:32:42]OFD Sender: No OFD packet to send [07:32:47]OFD Sender: No OFD packet to send [07:32:52]OFD Sender: No OFD packet to send [07:32:57]OFD Sender: No OFD packet to send [07:33:02]OFD Sender: No OFD packet to send [07:33:07]OFD Sender: No OFD packet to send [07:33:12]OFD Sender: No OFD packet to send [07:33:17]OFD Sender: No OFD packet to send [07:33:22]OFD Sender: No OFD packet to send [07:33:27]OFD Sender: No OFD packet to send [07:33:32]OFD Sender: No OFD packet to send [07:33:37]OFD Sender: No OFD packet to send [07:33:42]OFD Sender: No OFD packet to send [07:33:47]OFD Sender: No OFD packet to send [07:33:52]OFD Sender: No OFD packet to send [07:33:57]OFD Sender: No OFD packet to send [07:34:02]OFD Sender: No OFD packet to send [07:34:07]OFD Sender: No OFD packet to send [07:34:12]OFD Sender: No OFD packet to send [07:34:17]OFD Sender: No OFD packet to send [07:34:22]OFD Sender: No OFD packet to send [07:34:27]OFD Sender: No OFD packet to send [07:34:32]OFD Sender: No OFD packet to send [07:34:37]OFD Sender: No OFD packet to send [07:34:42]OFD Sender: No OFD packet to send [07:34:47]OFD Sender: No OFD packet to send [07:34:52]OFD Sender: No OFD packet to send [07:34:57]OFD Sender: No OFD packet to send [07:35:02]OFD Sender: No OFD packet to send [07:35:07]OFD Sender: No OFD packet to send [07:35:12]OFD Sender: No OFD packet to send [07:35:17]OFD Sender: No OFD packet to send [07:35:22]OFD Sender: No OFD packet to send [07:35:27]OFD Sender: No OFD packet to send [07:35:32]OFD Sender: No OFD packet to send [07:35:37]OFD Sender: No OFD packet to send [07:35:42]OFD Sender: No OFD packet to send [07:35:47]OFD Sender: No OFD packet to send [07:35:52]OFD Sender: No OFD packet to send [07:35:57]OFD Sender: No OFD packet to send [07:36:02]OFD Sender: No OFD packet to send [07:36:07]OFD Sender: No OFD packet to send [07:36:12]OFD Sender: No OFD packet to send [07:36:17]OFD Sender: No OFD packet to send [07:36:22]OFD Sender: No OFD packet to send [07:36:27]OFD Sender: No OFD packet to send [07:36:32]OFD Sender: No OFD packet to send [07:36:37]OFD Sender: No OFD packet to send [07:36:42]OFD Sender: No OFD packet to send [07:36:47]OFD Sender: No OFD packet to send [07:36:52]OFD Sender: No OFD packet to send [07:36:57]OFD Sender: No OFD packet to send [07:37:02]OFD Sender: No OFD packet to send [07:37:07]OFD Sender: No OFD packet to send [07:37:12]OFD Sender: No OFD packet to send [07:37:17]OFD Sender: No OFD packet to send [07:37:22]OFD Sender: No OFD packet to send [07:37:27]OFD Sender: No OFD packet to send [07:37:32]OFD Sender: No OFD packet to send [07:37:37]OFD Sender: No OFD packet to send [07:37:42]OFD Sender: No OFD packet to send [07:37:47]OFD Sender: No OFD packet to send [07:37:52]OFD Sender: No OFD packet to send [07:37:57]OFD Sender: No OFD packet to send [07:38:02]OFD Sender: No OFD packet to send [07:38:07]OFD Sender: No OFD packet to send [07:38:12]OFD Sender: No OFD packet to send [07:38:17]OFD Sender: No OFD packet to send [07:38:22]OFD Sender: No OFD packet to send [07:38:27]OFD Sender: No OFD packet to send [07:38:32]OFD Sender: No OFD packet to send [07:38:37]OFD Sender: No OFD packet to send [07:38:42]OFD Sender: No OFD packet to send [07:38:47]OFD Sender: No OFD packet to send [07:38:52]OFD Sender: No OFD packet to send [07:38:57]OFD Sender: No OFD packet to send [07:39:02]OFD Sender: No OFD packet to send [07:39:07]OFD Sender: No OFD packet to send [07:39:12]OFD Sender: No OFD packet to send [07:39:17]OFD Sender: No OFD packet to send [07:39:22]OFD Sender: No OFD packet to send [07:39:27]OFD Sender: No OFD packet to send [07:39:32]OFD Sender: No OFD packet to send [07:39:37]OFD Sender: No OFD packet to send [07:39:42]OFD Sender: No OFD packet to send [07:39:47]OFD Sender: No OFD packet to send [07:39:52]OFD Sender: No OFD packet to send [07:39:57]OFD Sender: No OFD packet to send [07:40:02]OFD Sender: No OFD packet to send [07:40:07]OFD Sender: No OFD packet to send [07:40:12]OFD Sender: No OFD packet to send [07:40:17]OFD Sender: No OFD packet to send [07:40:22]OFD Sender: No OFD packet to send [07:40:27]OFD Sender: No OFD packet to send [07:40:32]OFD Sender: No OFD packet to send [07:40:37]OFD Sender: No OFD packet to send [07:40:42]OFD Sender: No OFD packet to send [07:40:47]OFD Sender: No OFD packet to send [07:40:52]OFD Sender: No OFD packet to send [07:40:56]accept exits with 9 [07:40:56]New connection [07:40:56]New thread 3067370852 created [07:40:56]Thread 3067227492 joined [07:40:56]Waiting for new connection... [07:40:56] Sock 9.Parse request [07:40:56]Sock 9.Check first char [07:40:56]Sock 9.First char is OK [07:40:56]request: POST /json_proto HTTP/1.0 [07:40:56]Method: POST [07:40:56]URL: /json_proto [07:40:56]Method is POST - this is cgi request [07:40:56]url: /json_proto [07:40:56]query_string will be loaded in cgi processing [07:40:56]execute_cgi json_proto POST (null) [07:40:56]execute_cgi path=json_proto method=POST [07:40:56]POST find Content-Length [07:40:56]Host: 172.17.56.68:8080 [07:40:56]Content-Length: 622 [07:40:56]Content-Type: application/json [07:40:56] [07:40:56]POST finish read [07:40:56]Found Content-Length = 622 [07:40:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4342", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:40:56]execute_script... [07:40: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)4342", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:40:56]POST & json_proto [07:40:56]process_json_proto [07:40:56]json parsed OK: [07:40:56]protocol is kg_v1.0 [07:40:56]action value=close_receipt [07:40:56]process_action close_receipt [07:40:56]cmd_close_receipt [07:40:56]MH_GetDate [07:40:56]Write to MH i2c: F0 00 00 60 17 66 [07:40:56]Write i2c OK [07:40:56]MH_I2C_Read... [07:40:56]Read from MH i2c: F0 [07:40:56]MH_I2C_Read... [07:40:56]Read from MH i2c: F0 09 00 [07:40:56]MH_I2C_Read... [07:40:56]Read from MH i2c: F0 09 00 60 17 00 0F C5 5E 66 42 69 5C 66 74 [07:40:56]GetLastDocTimeStamp 1717485071 [07:40:56]current date 1717486863 [07:40:56]FM_GetShiftState [07:40:56]SAM_PROTO_GetShiftState [07:40:56]wFMCommunicate request_size=4 [07:40:56]MH_SAM_APDU [07:40:56]CAPDU: 80 13 01 00 [07:40:56]Write to MH i2c: E2 08 00 61 17 80 13 01 00 00 00 00 00 F5 [07:40:56]Write i2c OK [07:40:56]MH_I2C_Read... [07:40:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:40:56]Read from MH i2c: E2 [07:40:56]MH_I2C_Read... [07:40:56]Read from MH i2c: E2 0E 00 [07:40:56]MH_I2C_Read... [07:40:56]Read from MH i2c: E2 0E 00 61 17 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 8E [07:40:56]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [07:40:56]wFMCommunicate OK [07:40:56]SAM_PROTO_GetShiftState done [07:40:56]FM_GetShiftState done [07:40:56]opened in 1717459822 [07:40:56]opened+sec_in_day 1717546222 [07:40:56]quantity*price = 14300 [07:40:56]sum+1 = 14301 [07:40:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 143.00 НСП 1% : 1.26 НДС 12% : 15.19 Наличными: 143.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 6 04.06.2024 07:41 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4089 ФПД: 277941216269969 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T074104&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4089&fm=277941216269969&tin=02508201610067®Number=0000000000145775&sum=14300 0 [07:40:57]StoreToDocumentArchive [07:40:57]shift 83 fd 4089 [07:40:57]save to /storage/0083/doc_00004089 [07:40:57]save last doc name /storage/0083/doc_00004089 to /storage/kkm_last_doc_name [07:40:57]save OK [07:40:57]Clear old archive folders... [07:40:57]ProcessDocumentItem done err = 0, tmpTLVsize=276 [07:40:57]tlvbuf is B6FBB240 [07:40:57]SAM_PROTO_ClearQueue [07:40:57]wFMCommunicate request_size=4 [07:40:57]MH_SAM_APDU [07:40:57]CAPDU: 80 09 00 00 [07:40:57]Write to MH i2c: E2 08 00 6E 17 80 09 00 00 00 00 00 00 F7 [07:40:57]Write i2c OK [07:40:57]MH_I2C_Read... [07:40:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:40:57]Read from MH i2c: E2 [07:40:57]MH_I2C_Read... [07:40:57]Read from MH i2c: E2 03 00 [07:40:57]MH_I2C_Read... [07:40:57]Read from MH i2c: E2 03 00 6E 17 00 90 00 F9 [07:40:57]RAPDU: 90 00 [07:40:57]wFMCommunicate OK [07:40:57]SAM_PROTO_ClearQueue done [07:40:57]KKMCreateOFDPacket [07:40:57]OFDProtocolAddRootSTLVToBuf [07:40:57]FM_MakeSignedData [07:40:57]FM_MakeSignedData [07:40:57]SAM_PROTO_SignData [07:40:57]wFMCommunicate request_size=4 [07:40:57]MH_SAM_APDU [07:40:57]CAPDU: 80 0D 01 02 [07:40:57]Write to MH i2c: E2 08 00 6F 17 80 0D 01 02 00 00 00 00 FF [07:40:57]Write i2c OK [07:40:57]MH_I2C_Read... [07:40:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:40:57]Read from MH i2c: E2 [07:40:57]MH_I2C_Read... [07:40:57]Read from MH i2c: E2 03 00 [07:40:57]MH_I2C_Read... [07:40:57]Read from MH i2c: E2 03 00 6F 17 00 90 00 FA [07:40:57]RAPDU: 90 00 [07:40:57]wFMCommunicate OK [07:40:57]wFMCommunicate request_size=255 [07:40:57]MH_SAM_APDU [07:40:57]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 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 10 C5 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 [07:40:57]Write to MH i2c: E2 02 01 70 17 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 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 10 C5 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 00 00 44 [07:40:57]Write i2c OK [07:40:57]MH_I2C_Read... [07:40:57]OFD Sender: No OFD packet to send [07:40:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:40:57]Read from MH i2c: E2 [07:40:57]MH_I2C_Read... [07:40:57]Read from MH i2c: E2 03 00 [07:40:57]MH_I2C_Read... [07:40:57]Read from MH i2c: E2 03 00 70 17 00 90 00 FB [07:40:57]RAPDU: 90 00 [07:40:57]wFMCommunicate OK [07:40:57]wFMCommunicate request_size=35 [07:40:57]MH_SAM_APDU [07:40:57]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F9 0F 00 00 35 04 06 00 FC C9 3B 76 D6 91 [07:40:57]Write to MH i2c: E2 26 00 71 17 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F9 0F 00 00 35 04 06 00 FC C9 3B 76 D6 91 00 00 DA [07:40:57]Write i2c OK [07:40:57]MH_I2C_Read... [07:40:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:40:57]Read from MH i2c: E2 [07:40:57]MH_I2C_Read... [07:40:57]Read from MH i2c: E2 03 00 [07:40:57]MH_I2C_Read... [07:40:57]Read from MH i2c: E2 03 00 71 17 00 90 00 FC [07:40:57]RAPDU: 90 00 [07:40:57]wFMCommunicate OK [07:40:57]wFMCommunicate request_size=4 [07:40:57]MH_SAM_APDU [07:40:57]CAPDU: 80 0D 03 02 [07:40:57]Write to MH i2c: E2 08 00 72 17 80 0D 03 02 00 00 00 00 04 [07:40:57]Write i2c OK [07:40:57]MH_I2C_Read... [07:40:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:40:57]Read from MH i2c: E2 [07:40:57]MH_I2C_Read... [07:40:57]Read from MH i2c: E2 0B 00 [07:40:57]MH_I2C_Read... [07:40:57]Read from MH i2c: E2 0B 00 72 17 00 37 E0 FE 65 FE 85 5F 8F 90 00 F0 [07:40:57]RAPDU: 37 E0 FE 65 FE 85 5F 8F 90 00 [07:40:57]wFMCommunicate OK [07:40:57]SAM_PROTO_SignData done [07:40:57]FM_MakeSignedData done [07:40:57]CreateOFDProtocolMessage [07:40:57]wFMCommunicate request_size=4 [07:40:57]MH_SAM_APDU [07:40:57]CAPDU: 80 11 00 00 [07:40:57]Write to MH i2c: E2 08 00 73 17 80 11 00 00 00 00 00 00 04 [07:40:57]Write i2c OK [07:40:57]MH_I2C_Read... [07:40:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:40:57]Read from MH i2c: E2 [07:40:57]MH_I2C_Read... [07:40:57]Read from MH i2c: E2 17 00 [07:40:57]MH_I2C_Read... [07:40:57]Read from MH i2c: E2 17 00 73 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 57 [07:40:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:40:57]wFMCommunicate OK [07:40:57]CreateOFDProtocolMessage done [07:40:57]OFDSenderStorePacket 4089 [07:40:57]StoreOFDPacket docnum=4089 [07:40:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 28 01 00 00 CF 82 20 01 CE 39 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 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 10 C5 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F9 0F 00 00 35 04 06 00 FC C9 3B 76 D6 91 37 E0 FE 65 FE 85 5F 8F [07:40:57]CheckFolder [07:40:57]dirname=/storage/ofd_packets [07:40:57]CheckFolder done [07:40:57]ProducePacketName [07:40:57]name=ofd_packets/00004089 [07:40:57]NVStorageSaveData ofd_packets/00004089 [07:40:57]File name is /storage/ofd_packets/00004089 [07:40:57]Write 326 bytes [07:40:57]NVStorageSaveData done [07:40:57]OFDSenderStorePacket done [07:40:57]KKMCreateOFDPacket done [07:40:57]NVStorageSaveData kkm_last_timestamp [07:40:57]File name is /storage/kkm_last_timestamp [07:40:57]Write 4 bytes [07:40:57]NVStorageSaveData done [07:40:57]ExternCall_PrintAddStr [07:40:57]wPrintStart [07:40:57]Write to MH i2c: 01 00 00 74 17 8B [07:40:57]Write i2c OK [07:40:57]MH_I2C_Read... [07:40:57]Read from MH i2c: 01 [07:40:57]MH_I2C_Read... [07:40:57]Read from MH i2c: 01 07 00 [07:40:57]MH_I2C_Read... [07:40:57]Read from MH i2c: 01 07 00 74 17 00 00 00 00 00 FF 0F A0 [07:40:57]RasterBufferAndPrint [07:40:57]line Счет N : (3)4342 [07:40:57]line ИНН: 02508201610067 [07:40:57]line Контрольно-Кассовый Чек [07:40:57]line ПРОДАЖА [07:40:57]line Товар: 48744683 [07:40:57]line Сигареты Winston XStyle Caster+ [07:40:57]line 1.000 * 143.00 [07:40:57]line = 143.00 [07:40:57]line НДС 12% НСП 1% [07:40:57]line > о реализуемом товаре [07:40:57]line ИТОГО: 143.00 [07:40:57]line НСП 1% : 1.26 [07:40:57]line НДС 12% : 15.19 [07:40:57]line Наличными: 143.00 [07:40:57]line Безнал.: 0.00 [07:40:57]line Место: АЗС № 116 "Партнер Нефть" [07:40:57]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [07:40:57]line СНО: Общий режим [07:40:57]line Чек 6 04.06.2024 07:41 [07:40:57]line Смена: 83 ФФД: 1.0 [07:40:57]line ЗНМ: 0300000233 [07:40:57]line РНМ: 0000000000145775 [07:40:57]line Версия ККМ: v1.0 [07:40:57]line ФМ: 0000000000959360 [07:40:57]line ФД: 4089 [07:40:57]line ФПД: 277941216269969 [07:40:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T074104&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4089&fm=277941216269969&tin=02508201610067®Number=0000000000145775&sum=14300 [07:40:58]line 0 [07:40:58]OFD Sender: Processing packet 4089 [packets to send 2, broken 1] [07:40:58]ProducePacketName [07:40:58]name=ofd_packets/00004089 [07:40:58]OFD Sender: To server: pG, [07:40:58]CommunicateWithHost lk.salyk.kg:30040 [07:40:58]ConnectInit lk.salyk.kg [07:40:58]written 0, free lines is 4095 [07:40:58]Connected sock=10 [07:40:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 28 01 00 00 CF 82 20 01 CE 39 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 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 10 C5 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F9 0F 00 00 35 04 06 00 FC C9 3B 76 D6 91 37 E0 FE 65 FE 85 5F 8F [07:40:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 58 D5 47 00 16 94 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F9 0F 00 00 F4 03 04 00 11 71 5E 66 B6 04 01 00 00 51 8B C2 3F 2B AE 87 39 [07:40:58]CommunicateWithHost err = 0 [07:40:58]CheckOFDResponse [07:40:58]1017 (14) - 77093643461234 [07:40:58]1041 (16) - 0000000000959360 [07:40:58]1040 (4) - 4089 [07:40:58]1012 (4) - 04.06.2024 01:42 [07:40:58]1206 (1) - 0 [07:40:58]OFD Sender: Remove packet 4089 [07:40:58]ProducePacketName [07:40:58]name=ofd_packets/00004089 [07:40:58]NVStorageDeleteData [07:40:58]Write to MH i2c: 01 00 00 9D 17 B4 [07:40:58]Write i2c OK [07:40:58]MH_I2C_Read... [07:40:58]Read from MH i2c: 01 [07:40:58]MH_I2C_Read... [07:40:58]Read from MH i2c: 01 07 00 [07:40:58]MH_I2C_Read... [07:40:58]Read from MH i2c: 01 07 00 9D 17 00 00 00 00 00 D8 0C 9F [07:40:58]RasterBufferAndPrint [07:40:58]line [07:40:58]line [07:40:58]line [07:40:58]line [07:40:58]line [07:40:58]written 0, free lines is 3296 [07:40:58]MH_Cut [07:40:58]Write to MH i2c: D1 01 00 A4 17 01 8D [07:40:58]Write i2c OK [07:40:58]MH_I2C_Read... [07:40:58]Read from MH i2c: D1 [07:40:58]MH_I2C_Read... [07:40:58]Read from MH i2c: D1 01 00 [07:40:58]MH_I2C_Read... [07:40:58]Read from MH i2c: D1 01 00 A4 17 00 8C [07:40:58]Write to MH i2c: 01 00 00 A5 17 BC [07:40:58]Write i2c OK [07:40:58]MH_I2C_Read... [07:40:59]OFD Sender: No OFD packet to send [07:40:59]*** Cut start [07:40:59]*** Partial cut [07:40:59]*** CUTSNS_PIN = 1 [07:40:59]*** CUTSNS_PIN = 0 [07:40:59]*** Brake cut motor [07:41:00]Read from MH i2c: 01 [07:41:00]MH_I2C_Read... [07:41:00]*** Stop cut motor [07:41:00]*** Cut end [07:41:00]Read from MH i2c: 01 07 00 [07:41:00]MH_I2C_Read... [07:41:00]Read from MH i2c: 01 07 00 A5 17 00 00 00 00 00 FF 0F D1 [07:41:00]process_action close_receipt done [07:41:00]requested_data is exist [07:41:00]produce_requested_data [07:41:00]requested_item fm.sn is exist - process it [07:41:00]wFMCommunicate request_size=4 [07:41:00]MH_SAM_APDU [07:41:00]CAPDU: 80 11 00 00 [07:41:00]Write to MH i2c: E2 08 00 A6 17 80 11 00 00 00 00 00 00 37 [07:41:00]Write i2c OK [07:41:00]MH_I2C_Read... [07:41:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:41:00]Read from MH i2c: E2 [07:41:00]MH_I2C_Read... [07:41:00]Read from MH i2c: E2 17 00 [07:41:00]MH_I2C_Read... [07:41:00]Read from MH i2c: E2 17 00 A6 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 8A [07:41:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:41:00]wFMCommunicate OK [07:41:00]requested_item fd.num is exist - process it [07:41:00]SAM_PROTO_GetFieldsCounters [07:41:00]wFMCommunicate request_size=4 [07:41:00]MH_SAM_APDU [07:41:00]CAPDU: 80 13 00 00 [07:41:00]Write to MH i2c: E2 08 00 A7 17 80 13 00 00 00 00 00 00 3A [07:41:00]Write i2c OK [07:41:00]MH_I2C_Read... [07:41:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:41:00]Read from MH i2c: E2 [07:41:00]MH_I2C_Read... [07:41:00]Read from MH i2c: E2 62 00 [07:41:00]MH_I2C_Read... [07:41:00]Read from MH i2c: E2 62 00 A7 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F9 0F 00 00 0E 04 04 00 53 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 CC [07:41:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F9 0F 00 00 0E 04 04 00 53 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 [07:41:00]wFMCommunicate OK [07:41:00]SAM_PROTO_GetFieldsCounters done [07:41:00]requested_item shift.num is exist - process it [07:41:00]requested_item shift.opened is exist - process it [07:41:00]req_shift_opened [07:41:00]FM_GetShiftState [07:41:00]SAM_PROTO_GetShiftState [07:41:00]wFMCommunicate request_size=4 [07:41:00]MH_SAM_APDU [07:41:00]CAPDU: 80 13 01 00 [07:41:00]Write to MH i2c: E2 08 00 A8 17 80 13 01 00 00 00 00 00 3C [07:41:00]Write i2c OK [07:41:00]MH_I2C_Read... [07:41:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:41:00]Read from MH i2c: E2 [07:41:00]MH_I2C_Read... [07:41:00]Read from MH i2c: E2 0E 00 [07:41:00]MH_I2C_Read... [07:41:00]Read from MH i2c: E2 0E 00 A8 17 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 D5 [07:41:00]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [07:41:00]wFMCommunicate OK [07:41:00]SAM_PROTO_GetShiftState done [07:41:00]FM_GetShiftState done [07:41:00]req_shift_opened done [07:41:00]requested_item shift.open_date is exist - process it [07:41:00]req_shift_open_date [07:41:00]req_shift_open_date done [07:41:00]produce_requested_data done [07:41:00]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4089,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [07:41:00]process_action_free close_receipt [07:41:00]json_value_free [07:41:00]json_value_free done [07:41:00]process_json_proto returns [07:41:00]Send response to host [07:41:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4089,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [07:41:00]free response buf [07:41:00]execute_script done [07:41:00]execute_script returns [07:41:00]free content buf [07:41:00]Sock 9.Close socket [07:41:00]Sock 9.Thread stoped [07:41:04]OFD Sender: No OFD packet to send [07:41:05]accept exits with 8 [07:41:05]New connection [07:41:05]New thread 3067227492 created [07:41:05]Thread 3067370852 joined [07:41:05]Waiting for new connection... [07:41:05] Sock 8.Parse request [07:41:05]Sock 8.Check first char [07:41:05]Sock 8.First char is OK [07:41:05]request: POST /json_proto HTTP/1.0 [07:41:05]Method: POST [07:41:05]URL: /json_proto [07:41:05]Method is POST - this is cgi request [07:41:05]url: /json_proto [07:41:05]query_string will be loaded in cgi processing [07:41:05]execute_cgi json_proto POST (null) [07:41:05]execute_cgi path=json_proto method=POST [07:41:05]POST find Content-Length [07:41:05]Host: 172.17.56.68:8080 [07:41:05]Content-Length: 606 [07:41:05]Content-Type: application/json [07:41:05] [07:41:05]POST finish read [07:41:05]Found Content-Length = 606 [07:41:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4343", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:41:05]execute_script... [07:41: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)4343", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:41:05]POST & json_proto [07:41:05]process_json_proto [07:41:05]json parsed OK: [07:41:05]protocol is kg_v1.0 [07:41:05]action value=close_receipt [07:41:05]process_action close_receipt [07:41:05]cmd_close_receipt [07:41:05]MH_GetDate [07:41:05]Write to MH i2c: F0 00 00 A9 17 AF [07:41:05]Write i2c OK [07:41:05]MH_I2C_Read... [07:41:05]Read from MH i2c: F0 [07:41:05]MH_I2C_Read... [07:41:05]Read from MH i2c: F0 09 00 [07:41:05]MH_I2C_Read... [07:41:05]Read from MH i2c: F0 09 00 A9 17 00 18 C5 5E 66 42 69 5C 66 C6 [07:41:05]GetLastDocTimeStamp 1717486864 [07:41:05]current date 1717486872 [07:41:05]FM_GetShiftState [07:41:05]SAM_PROTO_GetShiftState [07:41:05]wFMCommunicate request_size=4 [07:41:05]MH_SAM_APDU [07:41:05]CAPDU: 80 13 01 00 [07:41:05]Write to MH i2c: E2 08 00 AA 17 80 13 01 00 00 00 00 00 3E [07:41:05]Write i2c OK [07:41:05]MH_I2C_Read... [07:41:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:41:05]Read from MH i2c: E2 [07:41:05]MH_I2C_Read... [07:41:05]Read from MH i2c: E2 0E 00 [07:41:05]MH_I2C_Read... [07:41:05]Read from MH i2c: E2 0E 00 AA 17 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 D7 [07:41:05]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [07:41:05]wFMCommunicate OK [07:41:05]SAM_PROTO_GetShiftState done [07:41:05]FM_GetShiftState done [07:41:05]opened in 1717459822 [07:41:05]opened+sec_in_day 1717546222 [07:41:05]quantity*price = 1000 [07:41:05]sum+1 = 1001 [07:41:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 7 04.06.2024 07:41 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4090 ФПД: 5967092127741 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T074112&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4090&fm=5967092127741&tin=02508201610067®Number=0000000000145775&sum=1000 0 [07:41:06]StoreToDocumentArchive [07:41:06]shift 83 fd 4090 [07:41:06]save to /storage/0083/doc_00004090 [07:41:06]save last doc name /storage/0083/doc_00004090 to /storage/kkm_last_doc_name [07:41:06]save OK [07:41:06]Clear old archive folders... [07:41:06]ProcessDocumentItem done err = 0, tmpTLVsize=267 [07:41:06]tlvbuf is B6F27E60 [07:41:06]SAM_PROTO_ClearQueue [07:41:06]wFMCommunicate request_size=4 [07:41:06]MH_SAM_APDU [07:41:06]CAPDU: 80 09 00 00 [07:41:06]Write to MH i2c: E2 08 00 B7 17 80 09 00 00 00 00 00 00 40 [07:41:06]Write i2c OK [07:41:06]MH_I2C_Read... [07:41:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:41:06]Read from MH i2c: E2 [07:41:06]MH_I2C_Read... [07:41:06]Read from MH i2c: E2 03 00 [07:41:06]MH_I2C_Read... [07:41:06]Read from MH i2c: E2 03 00 B7 17 00 90 00 42 [07:41:06]RAPDU: 90 00 [07:41:06]wFMCommunicate OK [07:41:06]SAM_PROTO_ClearQueue done [07:41:06]KKMCreateOFDPacket [07:41:06]OFDProtocolAddRootSTLVToBuf [07:41:06]FM_MakeSignedData [07:41:06]FM_MakeSignedData [07:41:06]SAM_PROTO_SignData [07:41:06]wFMCommunicate request_size=4 [07:41:06]MH_SAM_APDU [07:41:06]CAPDU: 80 0D 01 02 [07:41:06]Write to MH i2c: E2 08 00 B8 17 80 0D 01 02 00 00 00 00 48 [07:41:06]Write i2c OK [07:41:06]MH_I2C_Read... [07:41:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:41:06]Read from MH i2c: E2 [07:41:06]MH_I2C_Read... [07:41:06]Read from MH i2c: E2 03 00 [07:41:06]MH_I2C_Read... [07:41:06]Read from MH i2c: E2 03 00 B8 17 00 90 00 43 [07:41:06]RAPDU: 90 00 [07:41:06]wFMCommunicate OK [07:41:06]wFMCommunicate request_size=255 [07:41:06]MH_SAM_APDU [07:41:06]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 18 C5 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 [07:41:06]Write to MH i2c: E2 02 01 B9 17 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 18 C5 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 00 00 E1 [07:41:06]Write i2c OK [07:41:06]MH_I2C_Read... [07:41:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:41:06]Read from MH i2c: E2 [07:41:06]MH_I2C_Read... [07:41:06]Read from MH i2c: E2 03 00 [07:41:06]MH_I2C_Read... [07:41:06]Read from MH i2c: E2 03 00 B9 17 00 90 00 44 [07:41:06]RAPDU: 90 00 [07:41:06]wFMCommunicate OK [07:41:06]wFMCommunicate request_size=26 [07:41:06]MH_SAM_APDU [07:41:06]CAPDU: 80 0D 02 02 15 33 36 30 10 04 04 00 FA 0F 00 00 35 04 06 00 05 6D 52 68 17 FD [07:41:06]Write to MH i2c: E2 1D 00 BA 17 80 0D 02 02 15 00 33 36 30 10 04 04 00 FA 0F 00 00 35 04 06 00 05 6D 52 68 17 FD 00 00 AE [07:41:06]Write i2c OK [07:41:06]MH_I2C_Read... [07:41:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:41:06]Read from MH i2c: E2 [07:41:06]MH_I2C_Read... [07:41:06]Read from MH i2c: E2 03 00 [07:41:06]MH_I2C_Read... [07:41:06]Read from MH i2c: E2 03 00 BA 17 00 90 00 45 [07:41:06]RAPDU: 90 00 [07:41:06]wFMCommunicate OK [07:41:06]wFMCommunicate request_size=4 [07:41:06]MH_SAM_APDU [07:41:06]CAPDU: 80 0D 03 02 [07:41:06]Write to MH i2c: E2 08 00 BB 17 80 0D 03 02 00 00 00 00 4D [07:41:06]Write i2c OK [07:41:06]MH_I2C_Read... [07:41:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:41:06]Read from MH i2c: E2 [07:41:06]MH_I2C_Read... [07:41:06]Read from MH i2c: E2 0B 00 [07:41:06]MH_I2C_Read... [07:41:06]Read from MH i2c: E2 0B 00 BB 17 00 FE DD C1 76 5E 9E B7 1B 90 00 2E [07:41:06]RAPDU: FE DD C1 76 5E 9E B7 1B 90 00 [07:41:06]wFMCommunicate OK [07:41:06]SAM_PROTO_SignData done [07:41:06]FM_MakeSignedData done [07:41:06]CreateOFDProtocolMessage [07:41:06]wFMCommunicate request_size=4 [07:41:06]MH_SAM_APDU [07:41:06]CAPDU: 80 11 00 00 [07:41:06]Write to MH i2c: E2 08 00 BC 17 80 11 00 00 00 00 00 00 4D [07:41:06]Write i2c OK [07:41:06]MH_I2C_Read... [07:41:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:41:06]Read from MH i2c: E2 [07:41:06]MH_I2C_Read... [07:41:06]Read from MH i2c: E2 17 00 [07:41:06]MH_I2C_Read... [07:41:06]Read from MH i2c: E2 17 00 BC 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 A0 [07:41:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:41:06]wFMCommunicate OK [07:41:06]CreateOFDProtocolMessage done [07:41:06]OFDSenderStorePacket 4090 [07:41:06]StoreOFDPacket docnum=4090 [07:41:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1F 01 00 00 CB 87 17 01 AF 4A 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 18 C5 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FA 0F 00 00 35 04 06 00 05 6D 52 68 17 FD FE DD C1 76 5E 9E B7 1B [07:41:06]CheckFolder [07:41:06]dirname=/storage/ofd_packets [07:41:06]CheckFolder done [07:41:06]ProducePacketName [07:41:06]name=ofd_packets/00004090 [07:41:06]NVStorageSaveData ofd_packets/00004090 [07:41:06]File name is /storage/ofd_packets/00004090 [07:41:06]Write 317 bytes [07:41:06]NVStorageSaveData done [07:41:06]OFDSenderStorePacket done [07:41:06]KKMCreateOFDPacket done [07:41:06]NVStorageSaveData kkm_last_timestamp [07:41:06]File name is /storage/kkm_last_timestamp [07:41:06]Write 4 bytes [07:41:06]NVStorageSaveData done [07:41:06]ExternCall_PrintAddStr [07:41:06]wPrintStart [07:41:06]Write to MH i2c: 01 00 00 BD 17 D4 [07:41:06]Write i2c OK [07:41:06]MH_I2C_Read... [07:41:06]Read from MH i2c: 01 [07:41:06]MH_I2C_Read... [07:41:06]Read from MH i2c: 01 07 00 [07:41:06]MH_I2C_Read... [07:41:06]Read from MH i2c: 01 07 00 BD 17 00 00 00 00 00 FF 0F E9 [07:41:06]RasterBufferAndPrint [07:41:06]line Счет N : (3)4343 [07:41:06]line ИНН: 02508201610067 [07:41:06]line Контрольно-Кассовый Чек [07:41:06]line ПРОДАЖА [07:41:06]line Товар: 46231529 [07:41:06]line Mentos ПФ Арбуз 6*100*2 [07:41:06]line 1.000 * 10.00 [07:41:06]line = 10.00 [07:41:06]line НДС 12% НСП 1% [07:41:06]line > о реализуемом товаре [07:41:06]line ИТОГО: 10.00 [07:41:06]line НСП 1% : 0.09 [07:41:06]line НДС 12% : 1.06 [07:41:06]line Наличными: 10.00 [07:41:06]line Безнал.: 0.00 [07:41:06]line Место: АЗС № 116 "Партнер Нефть" [07:41:06]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [07:41:06]line СНО: Общий режим [07:41:06]line Чек 7 04.06.2024 07:41 [07:41:06]line Смена: 83 ФФД: 1.0 [07:41:06]line ЗНМ: 0300000233 [07:41:06]line РНМ: 0000000000145775 [07:41:06]line Версия ККМ: v1.0 [07:41:06]line ФМ: 0000000000959360 [07:41:06]line ФД: 4090 [07:41:06]line ФПД: 5967092127741 [07:41:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T074112&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4090&fm=5967092127741&tin=02508201610067®Number=0000000000145775&sum=1000 [07:41:06]line 0 [07:41:06]written 0, free lines is 4095 [07:41:06]OFD Sender: Processing packet 4090 [packets to send 2, broken 1] [07:41:06]ProducePacketName [07:41:06]name=ofd_packets/00004090 [07:41:06]OFD Sender: To server: pG, [07:41:06]CommunicateWithHost lk.salyk.kg:30040 [07:41:06]ConnectInit lk.salyk.kg [07:41:06]Connected sock=10 [07:41:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1F 01 00 00 CB 87 17 01 AF 4A 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 18 C5 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FA 0F 00 00 35 04 06 00 05 6D 52 68 17 FD FE DD C1 76 5E 9E B7 1B [07:41:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 FF 6A 47 00 7B 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 30 39 35 39 33 36 30 10 04 04 00 FA 0F 00 00 F4 03 04 00 19 71 5E 66 B6 04 01 00 00 33 3F 74 80 97 5D F9 0A [07:41:07]CommunicateWithHost err = 0 [07:41:07]CheckOFDResponse [07:41:07]1017 (14) - 77093643461234 [07:41:07]1041 (16) - 0000000000959360 [07:41:07]1040 (4) - 4090 [07:41:07]1012 (4) - 04.06.2024 01:42 [07:41:07]1206 (1) - 0 [07:41:07]OFD Sender: Remove packet 4090 [07:41:07]ProducePacketName [07:41:07]name=ofd_packets/00004090 [07:41:07]NVStorageDeleteData [07:41:07]Write to MH i2c: 01 00 00 E5 17 FC [07:41:07]Write i2c OK [07:41:07]MH_I2C_Read... [07:41:07]Read from MH i2c: 01 [07:41:07]MH_I2C_Read... [07:41:07]Read from MH i2c: 01 07 00 [07:41:07]MH_I2C_Read... [07:41:07]Read from MH i2c: 01 07 00 E5 17 00 00 00 00 00 E7 0C F6 [07:41:07]RasterBufferAndPrint [07:41:07]line [07:41:07]line [07:41:07]line [07:41:07]line [07:41:07]line [07:41:07]written 0, free lines is 3313 [07:41:07]MH_Cut [07:41:07]Write to MH i2c: D1 01 00 EC 17 01 D5 [07:41:07]Write i2c OK [07:41:07]MH_I2C_Read... [07:41:07]Read from MH i2c: D1 [07:41:07]MH_I2C_Read... [07:41:07]Read from MH i2c: D1 01 00 [07:41:07]MH_I2C_Read... [07:41:07]Read from MH i2c: D1 01 00 EC 17 00 D4 [07:41:07]Write to MH i2c: 01 00 00 ED 17 04 [07:41:07]Write i2c OK [07:41:07]MH_I2C_Read... [07:41:07]OFD Sender: No OFD packet to send [07:41:08]*** Cut start [07:41:08]*** Partial cut [07:41:08]*** CUTSNS_PIN = 1 [07:41:08]*** CUTSNS_PIN = 0 [07:41:08]*** Brake cut motor [07:41:08]Read from MH i2c: 01 [07:41:08]MH_I2C_Read... [07:41:08]*** Stop cut motor [07:41:08]*** Cut end [07:41:08]Read from MH i2c: 01 07 00 [07:41:08]MH_I2C_Read... [07:41:08]Read from MH i2c: 01 07 00 ED 17 00 00 00 00 00 FF 0F 19 [07:41:08]process_action close_receipt done [07:41:08]requested_data is exist [07:41:08]produce_requested_data [07:41:08]requested_item fm.sn is exist - process it [07:41:08]wFMCommunicate request_size=4 [07:41:08]MH_SAM_APDU [07:41:08]CAPDU: 80 11 00 00 [07:41:08]Write to MH i2c: E2 08 00 EE 17 80 11 00 00 00 00 00 00 7F [07:41:08]Write i2c OK [07:41:08]MH_I2C_Read... [07:41:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:41:08]Read from MH i2c: E2 [07:41:08]MH_I2C_Read... [07:41:08]Read from MH i2c: E2 17 00 [07:41:08]MH_I2C_Read... [07:41:08]Read from MH i2c: E2 17 00 EE 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D2 [07:41:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:41:08]wFMCommunicate OK [07:41:08]requested_item fd.num is exist - process it [07:41:08]SAM_PROTO_GetFieldsCounters [07:41:08]wFMCommunicate request_size=4 [07:41:08]MH_SAM_APDU [07:41:08]CAPDU: 80 13 00 00 [07:41:08]Write to MH i2c: E2 08 00 EF 17 80 13 00 00 00 00 00 00 82 [07:41:08]Write i2c OK [07:41:08]MH_I2C_Read... [07:41:08]Read from MH i2c: E2 [07:41:08]MH_I2C_Read... [07:41:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:41:08]Read from MH i2c: E2 62 00 [07:41:08]MH_I2C_Read... [07:41:08]Read from MH i2c: E2 62 00 EF 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 FA 0F 00 00 0E 04 04 00 53 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 18 [07:41:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 FA 0F 00 00 0E 04 04 00 53 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 [07:41:08]wFMCommunicate OK [07:41:08]SAM_PROTO_GetFieldsCounters done [07:41:08]requested_item shift.num is exist - process it [07:41:08]requested_item shift.opened is exist - process it [07:41:08]req_shift_opened [07:41:08]FM_GetShiftState [07:41:08]SAM_PROTO_GetShiftState [07:41:08]wFMCommunicate request_size=4 [07:41:08]MH_SAM_APDU [07:41:08]CAPDU: 80 13 01 00 [07:41:08]Write to MH i2c: E2 08 00 F0 17 80 13 01 00 00 00 00 00 84 [07:41:08]Write i2c OK [07:41:08]MH_I2C_Read... [07:41:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:41:08]Read from MH i2c: E2 [07:41:08]MH_I2C_Read... [07:41:08]Read from MH i2c: E2 0E 00 [07:41:08]MH_I2C_Read... [07:41:08]Read from MH i2c: E2 0E 00 F0 17 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 1D [07:41:08]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [07:41:08]wFMCommunicate OK [07:41:08]SAM_PROTO_GetShiftState done [07:41:08]FM_GetShiftState done [07:41:08]req_shift_opened done [07:41:08]requested_item shift.open_date is exist - process it [07:41:08]req_shift_open_date [07:41:08]req_shift_open_date done [07:41:08]produce_requested_data done [07:41:08]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4090,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [07:41:08]process_action_free close_receipt [07:41:08]json_value_free [07:41:08]json_value_free done [07:41:08]process_json_proto returns [07:41:08]Send response to host [07:41:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4090,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [07:41:08]free response buf [07:41:08]execute_script done [07:41:08]execute_script returns [07:41:08]free content buf [07:41:08]Sock 8.Close socket [07:41:08]Sock 8.Thread stoped [07:41:12]OFD Sender: No OFD packet to send [07:41:17]OFD Sender: No OFD packet to send [07:41:22]OFD Sender: No OFD packet to send [07:41:27]OFD Sender: No OFD packet to send [07:41:32]OFD Sender: No OFD packet to send [07:41:37]OFD Sender: No OFD packet to send [07:41:38]int [07:41:38]Write to MH i2c: 01 00 00 F1 17 08 [07:41:38]*** FLAG_PRN_PAP1 set [07:41:38]Write i2c OK [07:41:38]MH_I2C_Read... [07:41:38]Read from MH i2c: 01 [07:41:38]MH_I2C_Read... [07:41:38]Read from MH i2c: 01 07 00 [07:41:38]MH_I2C_Read... [07:41:38]Read from MH i2c: 01 07 00 F1 17 00 01 00 00 00 FF 0F 1E [07:41:38]state=0 [07:41:38]No paper [07:41:38]int [07:41:38]Write to MH i2c: 01 00 00 F2 17 09 [07:41:38]*** FLAG_PRN_PAP2 set [07:41:38]Write i2c OK [07:41:38]MH_I2C_Read... [07:41:38]Read from MH i2c: 01 [07:41:38]MH_I2C_Read... [07:41:38]Read from MH i2c: 01 07 00 [07:41:38]MH_I2C_Read... [07:41:38]Read from MH i2c: 01 07 00 F2 17 00 03 00 00 00 FF 0F 21 [07:41:38]state=0 [07:41:38]No paper [07:41:38]Cover opened [07:41:39]int [07:41:39]Write to MH i2c: 01 00 00 F3 17 0A [07:41:39]*** FLAG_PRN_PAP2 reset [07:41:39]Write i2c OK [07:41:39]MH_I2C_Read... [07:41:39]Read from MH i2c: 01 [07:41:39]MH_I2C_Read... [07:41:39]Read from MH i2c: 01 07 00 [07:41:39]MH_I2C_Read... [07:41:39]Read from MH i2c: 01 07 00 F3 17 00 01 00 00 00 FF 0F 20 [07:41:39]state=3 [07:41:39]No paper [07:41:39]Cover closed [07:41:39]int [07:41:39]Write to MH i2c: 01 00 00 F4 17 0B [07:41:39]*** FLAG_PRN_PAP2 set [07:41:39]Write i2c OK [07:41:39]MH_I2C_Read... [07:41:39]Read from MH i2c: 01 [07:41:39]MH_I2C_Read... [07:41:39]Read from MH i2c: 01 07 00 [07:41:39]MH_I2C_Read... [07:41:39]Read from MH i2c: 01 07 00 F4 17 00 03 00 00 00 FF 0F 23 [07:41:39]state=0 [07:41:39]No paper [07:41:39]Cover opened [07:41:42]OFD Sender: No OFD packet to send [07:41:44]Write to MH i2c: 01 00 00 F5 17 0C [07:41:44]Write i2c OK [07:41:44]MH_I2C_Read... [07:41:44]Read from MH i2c: 01 [07:41:44]MH_I2C_Read... [07:41:44]Read from MH i2c: 01 07 00 [07:41:44]MH_I2C_Read... [07:41:44]Read from MH i2c: 01 07 00 F5 17 00 03 00 00 00 FF 0F 24 [07:41:44]state=3 [07:41:44]No paper [07:41:44]Cover opened [07:41:47]OFD Sender: No OFD packet to send [07:41:49]Write to MH i2c: 01 00 00 F6 17 0D [07:41:49]Write i2c OK [07:41:49]MH_I2C_Read... [07:41:49]Read from MH i2c: 01 [07:41:49]MH_I2C_Read... [07:41:49]Read from MH i2c: 01 07 00 [07:41:49]MH_I2C_Read... [07:41:49]Read from MH i2c: 01 07 00 F6 17 00 03 00 00 00 FF 0F 25 [07:41:49]state=3 [07:41:49]No paper [07:41:49]Cover opened [07:41:52]OFD Sender: No OFD packet to send [07:41:53]int [07:41:53]Write to MH i2c: 01 00 00 F7 17 0E [07:41:53]*** FLAG_PRN_PAP2 reset [07:41:53]Write i2c OK [07:41:53]MH_I2C_Read... [07:41:53]Read from MH i2c: 01 [07:41:53]MH_I2C_Read... [07:41:53]Read from MH i2c: 01 07 00 [07:41:53]MH_I2C_Read... [07:41:53]Read from MH i2c: 01 07 00 F7 17 00 01 00 00 00 FF 0F 24 [07:41:53]state=3 [07:41:53]No paper [07:41:53]Cover closed [07:41:53]int [07:41:53]Write to MH i2c: 01 00 00 F8 17 0F [07:41:53]*** FLAG_PRN_PAP1 reset [07:41:53]Write i2c OK [07:41:53]MH_I2C_Read... [07:41:53]Read from MH i2c: 01 [07:41:53]MH_I2C_Read... [07:41:53]Read from MH i2c: 01 07 00 [07:41:53]MH_I2C_Read... [07:41:53]Read from MH i2c: 01 07 00 F8 17 00 00 00 00 00 FF 0F 24 [07:41:53]state=0 [07:41:54]int [07:41:54]Write to MH i2c: 01 00 00 F9 17 10 [07:41:54]*** FLAG_PRN_KEY set [07:41:54]Write i2c OK [07:41:54]MH_I2C_Read... [07:41:54]Read from MH i2c: 01 [07:41:54]MH_I2C_Read... [07:41:54]Read from MH i2c: 01 07 00 [07:41:54]MH_I2C_Read... [07:41:54]Read from MH i2c: 01 07 00 F9 17 00 08 00 00 00 FF 0F 2D [07:41:54]state=0 [07:41:54]Key pressed [07:41:54]Feed [07:41:54]Write to MH i2c: D8 00 00 FA 17 E8 [07:41:54]Write i2c OK [07:41:54]MH_I2C_Read... [07:41:54]Read from MH i2c: D8 [07:41:54]MH_I2C_Read... [07:41:54]Read from MH i2c: D8 01 00 [07:41:54]MH_I2C_Read... [07:41:54]Read from MH i2c: D8 01 00 FA 17 00 E9 [07:41:54]int [07:41:54]Write to MH i2c: 01 00 00 FB 17 12 [07:41:54]Write i2c OK [07:41:54]MH_I2C_Read... [07:41:54]Read from MH i2c: 01 [07:41:54]MH_I2C_Read... [07:41:54]Read from MH i2c: 01 07 00 [07:41:54]MH_I2C_Read... [07:41:54]Read from MH i2c: 01 07 00 FB 17 00 48 00 00 00 3C 00 9D [07:41:54]state=2 [07:41:54]Key pressed [07:41:54]int [07:41:54]Write to MH i2c: 01 00 00 FC 17 13 [07:41:54]*** FLAG_PRN_KEY reset [07:41:54]Write i2c OK [07:41:54]MH_I2C_Read... [07:41:54]Read from MH i2c: 01 [07:41:54]MH_I2C_Read... [07:41:54]Read from MH i2c: 01 07 00 [07:41:54]MH_I2C_Read... [07:41:54]Read from MH i2c: 01 07 00 FC 17 00 00 00 00 00 FF 0F 28 [07:41:54]state=2 [07:41:54]Stop feed [07:41:57]OFD Sender: No OFD packet to send [07:42:02]OFD Sender: No OFD packet to send [07:42:07]OFD Sender: No OFD packet to send [07:42:12]OFD Sender: No OFD packet to send [07:42:17]OFD Sender: No OFD packet to send [07:42:22]OFD Sender: No OFD packet to send [07:42:27]OFD Sender: No OFD packet to send [07:42:32]OFD Sender: No OFD packet to send [07:42:37]OFD Sender: No OFD packet to send [07:42:42]OFD Sender: No OFD packet to send [07:42:47]OFD Sender: No OFD packet to send [07:42:52]OFD Sender: No OFD packet to send [07:42:57]OFD Sender: No OFD packet to send [07:43:02]OFD Sender: No OFD packet to send [07:43:07]OFD Sender: No OFD packet to send [07:43:12]OFD Sender: No OFD packet to send [07:43:17]OFD Sender: No OFD packet to send [07:43:22]OFD Sender: No OFD packet to send [07:43:27]OFD Sender: No OFD packet to send [07:43:32]OFD Sender: No OFD packet to send [07:43:37]OFD Sender: No OFD packet to send [07:43:42]OFD Sender: No OFD packet to send [07:43:47]OFD Sender: No OFD packet to send [07:43:52]OFD Sender: No OFD packet to send [07:43:57]OFD Sender: No OFD packet to send [07:44:02]OFD Sender: No OFD packet to send [07:44:07]OFD Sender: No OFD packet to send [07:44:12]OFD Sender: No OFD packet to send [07:44:17]OFD Sender: No OFD packet to send [07:44:22]OFD Sender: No OFD packet to send [07:44:27]OFD Sender: No OFD packet to send [07:44:32]OFD Sender: No OFD packet to send [07:44:37]OFD Sender: No OFD packet to send [07:44:42]OFD Sender: No OFD packet to send [07:44:47]OFD Sender: No OFD packet to send [07:44:52]OFD Sender: No OFD packet to send [07:44:57]OFD Sender: No OFD packet to send [07:45:02]OFD Sender: No OFD packet to send [07:45:07]OFD Sender: No OFD packet to send [07:45:12]OFD Sender: No OFD packet to send [07:45:17]OFD Sender: No OFD packet to send [07:45:22]OFD Sender: No OFD packet to send [07:45:27]OFD Sender: No OFD packet to send [07:45:32]OFD Sender: No OFD packet to send [07:45:37]OFD Sender: No OFD packet to send [07:45:42]OFD Sender: No OFD packet to send [07:45:47]OFD Sender: No OFD packet to send [07:45:52]OFD Sender: No OFD packet to send [07:45:57]OFD Sender: No OFD packet to send [07:46:02]OFD Sender: No OFD packet to send [07:46:07]OFD Sender: No OFD packet to send [07:46:12]OFD Sender: No OFD packet to send [07:46:17]OFD Sender: No OFD packet to send [07:46:22]OFD Sender: No OFD packet to send [07:46:27]OFD Sender: No OFD packet to send [07:46:32]OFD Sender: No OFD packet to send [07:46:37]OFD Sender: No OFD packet to send [07:46:42]OFD Sender: No OFD packet to send [07:46:47]OFD Sender: No OFD packet to send [07:46:52]OFD Sender: No OFD packet to send [07:46:57]OFD Sender: No OFD packet to send [07:47:02]OFD Sender: No OFD packet to send [07:47:07]OFD Sender: No OFD packet to send [07:47:12]OFD Sender: No OFD packet to send [07:47:17]OFD Sender: No OFD packet to send [07:47:22]OFD Sender: No OFD packet to send [07:47:27]OFD Sender: No OFD packet to send [07:47:32]OFD Sender: No OFD packet to send [07:47:37]OFD Sender: No OFD packet to send [07:47:42]OFD Sender: No OFD packet to send [07:47:47]OFD Sender: No OFD packet to send [07:47:52]OFD Sender: No OFD packet to send [07:47:57]OFD Sender: No OFD packet to send [07:48:02]OFD Sender: No OFD packet to send [07:48:07]OFD Sender: No OFD packet to send [07:48:12]OFD Sender: No OFD packet to send [07:48:18]OFD Sender: No OFD packet to send [07:48:23]OFD Sender: No OFD packet to send [07:48:28]OFD Sender: No OFD packet to send [07:48:33]OFD Sender: No OFD packet to send [07:48:38]OFD Sender: No OFD packet to send [07:48:43]OFD Sender: No OFD packet to send [07:48:48]OFD Sender: No OFD packet to send [07:48:53]OFD Sender: No OFD packet to send [07:48:58]OFD Sender: No OFD packet to send [07:49:03]OFD Sender: No OFD packet to send [07:49:08]OFD Sender: No OFD packet to send [07:49:13]OFD Sender: No OFD packet to send [07:49:18]OFD Sender: No OFD packet to send [07:49:23]OFD Sender: No OFD packet to send [07:49:28]OFD Sender: No OFD packet to send [07:49:33]OFD Sender: No OFD packet to send [07:49:38]OFD Sender: No OFD packet to send [07:49:43]OFD Sender: No OFD packet to send [07:49:48]OFD Sender: No OFD packet to send [07:49:53]OFD Sender: No OFD packet to send [07:49:58]OFD Sender: No OFD packet to send [07:50:03]OFD Sender: No OFD packet to send [07:50:08]OFD Sender: No OFD packet to send [07:50:13]OFD Sender: No OFD packet to send [07:50:18]OFD Sender: No OFD packet to send [07:50:23]OFD Sender: No OFD packet to send [07:50:28]OFD Sender: No OFD packet to send [07:50:33]OFD Sender: No OFD packet to send [07:50:38]OFD Sender: No OFD packet to send [07:50:43]OFD Sender: No OFD packet to send [07:50:48]OFD Sender: No OFD packet to send [07:50:53]OFD Sender: No OFD packet to send [07:50:58]OFD Sender: No OFD packet to send [07:51:03]OFD Sender: No OFD packet to send [07:51:08]OFD Sender: No OFD packet to send [07:51:13]OFD Sender: No OFD packet to send [07:51:18]OFD Sender: No OFD packet to send [07:51:23]OFD Sender: No OFD packet to send [07:51:28]OFD Sender: No OFD packet to send [07:51:33]OFD Sender: No OFD packet to send [07:51:38]OFD Sender: No OFD packet to send [07:51:43]OFD Sender: No OFD packet to send [07:51:48]OFD Sender: No OFD packet to send [07:51:53]OFD Sender: No OFD packet to send [07:51:58]OFD Sender: No OFD packet to send [07:52:03]OFD Sender: No OFD packet to send [07:52:08]OFD Sender: No OFD packet to send [07:52:13]OFD Sender: No OFD packet to send [07:52:18]OFD Sender: No OFD packet to send [07:52:23]OFD Sender: No OFD packet to send [07:52:28]OFD Sender: No OFD packet to send [07:52:33]OFD Sender: No OFD packet to send [07:52:38]OFD Sender: No OFD packet to send [07:52:43]OFD Sender: No OFD packet to send [07:52:48]OFD Sender: No OFD packet to send [07:52:53]OFD Sender: No OFD packet to send [07:52:58]OFD Sender: No OFD packet to send [07:53:03]OFD Sender: No OFD packet to send [07:53:08]OFD Sender: No OFD packet to send [07:53:13]OFD Sender: No OFD packet to send [07:53:18]OFD Sender: No OFD packet to send [07:53:23]OFD Sender: No OFD packet to send [07:53:28]OFD Sender: No OFD packet to send [07:53:33]OFD Sender: No OFD packet to send [07:53:38]OFD Sender: No OFD packet to send [07:53:43]OFD Sender: No OFD packet to send [07:53:48]OFD Sender: No OFD packet to send [07:53:53]OFD Sender: No OFD packet to send [07:53:58]OFD Sender: No OFD packet to send [07:54:03]OFD Sender: No OFD packet to send [07:54:08]OFD Sender: No OFD packet to send [07:54:13]OFD Sender: No OFD packet to send [07:54:18]OFD Sender: No OFD packet to send [07:54:23]OFD Sender: No OFD packet to send [07:54:28]OFD Sender: No OFD packet to send [07:54:33]OFD Sender: No OFD packet to send [07:54:38]OFD Sender: No OFD packet to send [07:54:43]OFD Sender: No OFD packet to send [07:54:48]OFD Sender: No OFD packet to send [07:54:53]OFD Sender: No OFD packet to send [07:54:58]OFD Sender: No OFD packet to send [07:55:03]OFD Sender: No OFD packet to send [07:55:08]OFD Sender: No OFD packet to send [07:55:13]OFD Sender: No OFD packet to send [07:55:18]OFD Sender: No OFD packet to send [07:55:23]OFD Sender: No OFD packet to send [07:55:28]OFD Sender: No OFD packet to send [07:55:33]OFD Sender: No OFD packet to send [07:55:38]OFD Sender: No OFD packet to send [07:55:43]OFD Sender: No OFD packet to send [07:55:48]OFD Sender: No OFD packet to send [07:55:53]OFD Sender: No OFD packet to send [07:55:58]OFD Sender: No OFD packet to send [07:56:03]OFD Sender: No OFD packet to send [07:56:08]OFD Sender: No OFD packet to send [07:56:13]OFD Sender: No OFD packet to send [07:56:18]OFD Sender: No OFD packet to send [07:56:23]OFD Sender: No OFD packet to send [07:56:28]OFD Sender: No OFD packet to send [07:56:33]OFD Sender: No OFD packet to send [07:56:38]OFD Sender: No OFD packet to send [07:56:43]OFD Sender: No OFD packet to send [07:56:48]OFD Sender: No OFD packet to send [07:56:53]OFD Sender: No OFD packet to send [07:56:58]OFD Sender: No OFD packet to send [07:57:03]OFD Sender: No OFD packet to send [07:57:08]OFD Sender: No OFD packet to send [07:57:13]OFD Sender: No OFD packet to send [07:57:18]OFD Sender: No OFD packet to send [07:57:23]OFD Sender: No OFD packet to send [07:57:28]OFD Sender: No OFD packet to send [07:57:33]OFD Sender: No OFD packet to send [07:57:38]OFD Sender: No OFD packet to send [07:57:43]OFD Sender: No OFD packet to send [07:57:48]OFD Sender: No OFD packet to send [07:57:53]OFD Sender: No OFD packet to send [07:57:58]OFD Sender: No OFD packet to send [07:58:03]OFD Sender: No OFD packet to send [07:58:08]OFD Sender: No OFD packet to send [07:58:13]OFD Sender: No OFD packet to send [07:58:18]OFD Sender: No OFD packet to send [07:58:23]OFD Sender: No OFD packet to send [07:58:28]OFD Sender: No OFD packet to send [07:58:33]OFD Sender: No OFD packet to send [07:58:38]OFD Sender: No OFD packet to send [07:58:43]OFD Sender: No OFD packet to send [07:58:48]OFD Sender: No OFD packet to send [07:58:53]OFD Sender: No OFD packet to send [07:58:58]OFD Sender: No OFD packet to send [07:59:03]OFD Sender: No OFD packet to send [07:59:08]OFD Sender: No OFD packet to send [07:59:13]OFD Sender: No OFD packet to send [07:59:18]OFD Sender: No OFD packet to send [07:59:23]OFD Sender: No OFD packet to send [07:59:28]OFD Sender: No OFD packet to send [07:59:33]OFD Sender: No OFD packet to send [07:59:38]OFD Sender: No OFD packet to send [07:59:43]OFD Sender: No OFD packet to send [07:59:48]OFD Sender: No OFD packet to send [07:59:53]OFD Sender: No OFD packet to send [07:59:58]OFD Sender: No OFD packet to send [08:00:03]OFD Sender: No OFD packet to send [08:00:08]OFD Sender: No OFD packet to send [08:00:13]OFD Sender: No OFD packet to send [08:00:18]OFD Sender: No OFD packet to send [08:00:23]OFD Sender: No OFD packet to send [08:00:28]OFD Sender: No OFD packet to send [08:00:33]OFD Sender: No OFD packet to send [08:00:38]OFD Sender: No OFD packet to send [08:00:43]OFD Sender: No OFD packet to send [08:00:48]OFD Sender: No OFD packet to send [08:00:53]OFD Sender: No OFD packet to send [08:00:58]OFD Sender: No OFD packet to send [08:01:03]OFD Sender: No OFD packet to send [08:01:08]OFD Sender: No OFD packet to send [08:01:13]OFD Sender: No OFD packet to send [08:01:18]OFD Sender: No OFD packet to send [08:01:23]OFD Sender: No OFD packet to send [08:01:28]OFD Sender: No OFD packet to send [08:01:33]OFD Sender: No OFD packet to send [08:01:38]OFD Sender: No OFD packet to send [08:01:43]OFD Sender: No OFD packet to send [08:01:48]OFD Sender: No OFD packet to send [08:01:53]OFD Sender: No OFD packet to send [08:01:58]OFD Sender: No OFD packet to send [08:02:03]OFD Sender: No OFD packet to send [08:02:08]OFD Sender: No OFD packet to send [08:02:13]OFD Sender: No OFD packet to send [08:02:18]OFD Sender: No OFD packet to send [08:02:23]OFD Sender: No OFD packet to send [08:02:28]OFD Sender: No OFD packet to send [08:02:33]OFD Sender: No OFD packet to send [08:02:38]OFD Sender: No OFD packet to send [08:02:43]OFD Sender: No OFD packet to send [08:02:48]OFD Sender: No OFD packet to send [08:02:53]OFD Sender: No OFD packet to send [08:02:58]OFD Sender: No OFD packet to send [08:03:03]OFD Sender: No OFD packet to send [08:03:08]OFD Sender: No OFD packet to send [08:03:13]OFD Sender: No OFD packet to send [08:03:18]OFD Sender: No OFD packet to send [08:03:23]OFD Sender: No OFD packet to send [08:03:28]OFD Sender: No OFD packet to send [08:03:33]OFD Sender: No OFD packet to send [08:03:38]OFD Sender: No OFD packet to send [08:03:43]OFD Sender: No OFD packet to send [08:03:48]OFD Sender: No OFD packet to send [08:03:53]OFD Sender: No OFD packet to send [08:03:58]OFD Sender: No OFD packet to send [08:04:03]OFD Sender: No OFD packet to send [08:04:08]OFD Sender: No OFD packet to send [08:04:13]OFD Sender: No OFD packet to send [08:04:18]OFD Sender: No OFD packet to send [08:04:23]OFD Sender: No OFD packet to send [08:04:28]OFD Sender: No OFD packet to send [08:04:33]OFD Sender: No OFD packet to send [08:04:38]OFD Sender: No OFD packet to send [08:04:43]OFD Sender: No OFD packet to send [08:04:48]OFD Sender: No OFD packet to send [08:04:53]OFD Sender: No OFD packet to send [08:04:58]OFD Sender: No OFD packet to send [08:05:03]OFD Sender: No OFD packet to send [08:05:08]OFD Sender: No OFD packet to send [08:05:13]OFD Sender: No OFD packet to send [08:05:18]OFD Sender: No OFD packet to send [08:05:23]OFD Sender: No OFD packet to send [08:05:28]OFD Sender: No OFD packet to send [08:05:33]OFD Sender: No OFD packet to send [08:05:38]OFD Sender: No OFD packet to send [08:05:43]OFD Sender: No OFD packet to send [08:05:48]OFD Sender: No OFD packet to send [08:05:53]OFD Sender: No OFD packet to send [08:05:58]OFD Sender: No OFD packet to send [08:06:03]OFD Sender: No OFD packet to send [08:06:08]OFD Sender: No OFD packet to send [08:06:13]OFD Sender: No OFD packet to send [08:06:18]OFD Sender: No OFD packet to send [08:06:23]OFD Sender: No OFD packet to send [08:06:28]OFD Sender: No OFD packet to send [08:06:33]OFD Sender: No OFD packet to send [08:06:38]OFD Sender: No OFD packet to send [08:06:43]OFD Sender: No OFD packet to send [08:06:48]OFD Sender: No OFD packet to send [08:06:53]OFD Sender: No OFD packet to send [08:06:58]OFD Sender: No OFD packet to send [08:07:03]OFD Sender: No OFD packet to send [08:07:08]OFD Sender: No OFD packet to send [08:07:13]OFD Sender: No OFD packet to send [08:07:18]OFD Sender: No OFD packet to send [08:07:23]OFD Sender: No OFD packet to send [08:07:28]OFD Sender: No OFD packet to send [08:07:33]OFD Sender: No OFD packet to send [08:07:38]OFD Sender: No OFD packet to send [08:07:43]OFD Sender: No OFD packet to send [08:07:48]OFD Sender: No OFD packet to send [08:07:53]OFD Sender: No OFD packet to send [08:07:58]OFD Sender: No OFD packet to send [08:08:03]OFD Sender: No OFD packet to send [08:08:08]OFD Sender: No OFD packet to send [08:08:13]OFD Sender: No OFD packet to send [08:08:18]OFD Sender: No OFD packet to send [08:08:23]OFD Sender: No OFD packet to send [08:08:28]OFD Sender: No OFD packet to send [08:08:33]OFD Sender: No OFD packet to send [08:08:38]OFD Sender: No OFD packet to send [08:08:43]OFD Sender: No OFD packet to send [08:08:48]OFD Sender: No OFD packet to send [08:08:53]OFD Sender: No OFD packet to send [08:08:58]OFD Sender: No OFD packet to send [08:09:03]OFD Sender: No OFD packet to send [08:09:08]OFD Sender: No OFD packet to send [08:09:13]OFD Sender: No OFD packet to send [08:09:18]OFD Sender: No OFD packet to send [08:09:23]OFD Sender: No OFD packet to send [08:09:28]OFD Sender: No OFD packet to send [08:09:33]OFD Sender: No OFD packet to send [08:09:38]OFD Sender: No OFD packet to send [08:09:43]OFD Sender: No OFD packet to send [08:09:48]OFD Sender: No OFD packet to send [08:09:53]OFD Sender: No OFD packet to send [08:09:58]OFD Sender: No OFD packet to send [08:10:03]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]OFD Sender: No OFD packet to send [08:11:19]OFD Sender: No OFD packet to send [08:11:24]OFD Sender: No OFD packet to send [08:11:29]OFD Sender: No OFD packet to send [08:11:34]OFD Sender: No OFD packet to send [08:11:39]OFD Sender: No OFD packet to send [08:11:44]OFD Sender: No OFD packet to send [08:11:49]OFD Sender: No OFD packet to send [08:11:54]OFD Sender: No OFD packet to send [08:11:59]OFD Sender: No OFD packet to send [08:12:04]OFD Sender: No OFD packet to send [08:12:09]OFD Sender: No OFD packet to send [08:12:14]OFD Sender: No OFD packet to send [08:12:19]OFD Sender: No OFD packet to send [08:12:24]OFD Sender: No OFD packet to send [08:12:29]OFD Sender: No OFD packet to send [08:12:34]OFD Sender: No OFD packet to send [08:12:39]OFD Sender: No OFD packet to send [08:12:44]OFD Sender: No OFD packet to send [08:12:49]OFD Sender: No OFD packet to send [08:12:54]OFD Sender: No OFD packet to send [08:12:59]OFD Sender: No OFD packet to send [08:13:04]OFD Sender: No OFD packet to send [08:13:09]OFD Sender: No OFD packet to send [08:13:14]OFD Sender: No OFD packet to send [08:13:19]OFD Sender: No OFD packet to send [08:13:24]OFD Sender: No OFD packet to send [08:13:29]OFD Sender: No OFD packet to send [08:13:34]OFD Sender: No OFD packet to send [08:13:39]OFD Sender: No OFD packet to send [08:13:44]OFD Sender: No OFD packet to send [08:13:49]OFD Sender: No OFD packet to send [08:13:54]OFD Sender: No OFD packet to send [08:13:59]OFD Sender: No OFD packet to send [08:14:04]OFD Sender: No OFD packet to send [08:14:09]OFD Sender: No OFD packet to send [08:14:14]OFD Sender: No OFD packet to send [08:14:19]OFD Sender: No OFD packet to send [08:14:24]OFD Sender: No OFD packet to send [08:14:29]OFD Sender: No OFD packet to send [08:14:34]OFD Sender: No OFD packet to send [08:14:39]OFD Sender: No OFD packet to send [08:14:44]OFD Sender: No OFD packet to send [08:14:49]OFD Sender: No OFD packet to send [08:14:54]OFD Sender: No OFD packet to send [08:14:59]OFD Sender: No OFD packet to send [08:15:04]OFD Sender: No OFD packet to send [08:15:09]OFD Sender: No OFD packet to send [08:15:14]OFD Sender: No OFD packet to send [08:15:19]OFD Sender: No OFD packet to send [08:15:24]OFD Sender: No OFD packet to send [08:15:29]OFD Sender: No OFD packet to send [08:15:34]OFD Sender: No OFD packet to send [08:15:39]OFD Sender: No OFD packet to send [08:15:41]accept exits with 9 [08:15:41]New connection [08:15:41]New thread 3067370852 created [08:15:41]Thread 3067227492 joined [08:15:41]Waiting for new connection... [08:15:41] Sock 9.Parse request [08:15:41]Sock 9.Check first char [08:15:41]Sock 9.First char is OK [08:15:41]request: POST /json_proto HTTP/1.0 [08:15:41]Method: POST [08:15:41]URL: /json_proto [08:15:41]Method is POST - this is cgi request [08:15:41]url: /json_proto [08:15:41]query_string will be loaded in cgi processing [08:15:41]execute_cgi json_proto POST (null) [08:15:41]execute_cgi path=json_proto method=POST [08:15:41]POST find Content-Length [08:15:41]Host: 172.17.56.68:8080 [08:15:41]Content-Length: 810 [08:15:41]Content-Type: application/json [08:15:41] [08:15:41]POST finish read [08:15:41]Found Content-Length = 810 [08:15:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4344", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:15:41]execute_script... [08:15: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)4344", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:15:41]POST & json_proto [08:15:41]process_json_proto [08:15:41]json parsed OK: [08:15:41]protocol is kg_v1.0 [08:15:41]action value=close_receipt [08:15:41]process_action close_receipt [08:15:41]cmd_close_receipt [08:15:41]MH_GetDate [08:15:41]Write to MH i2c: F0 00 00 FD 17 03 [08:15:41]Write i2c OK [08:15:41]MH_I2C_Read... [08:15:41]Read from MH i2c: F0 [08:15:41]MH_I2C_Read... [08:15:41]Read from MH i2c: F0 09 00 [08:15:41]MH_I2C_Read... [08:15:41]Read from MH i2c: F0 09 00 FD 17 00 34 CD 5E 66 42 69 5C 66 3E [08:15:41]GetLastDocTimeStamp 1717486872 [08:15:41]current date 1717488948 [08:15:41]FM_GetShiftState [08:15:41]SAM_PROTO_GetShiftState [08:15:41]wFMCommunicate request_size=4 [08:15:41]MH_SAM_APDU [08:15:41]CAPDU: 80 13 01 00 [08:15:41]Write to MH i2c: E2 08 00 FE 17 80 13 01 00 00 00 00 00 92 [08:15:41]Write i2c OK [08:15:41]MH_I2C_Read... [08:15:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:15:41]Read from MH i2c: E2 [08:15:41]MH_I2C_Read... [08:15:41]Read from MH i2c: E2 0E 00 [08:15:41]MH_I2C_Read... [08:15:41]Read from MH i2c: E2 0E 00 FE 17 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 2B [08:15:41]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [08:15:41]wFMCommunicate OK [08:15:41]SAM_PROTO_GetShiftState done [08:15:41]FM_GetShiftState done [08:15:41]opened in 1717459822 [08:15:41]opened+sec_in_day 1717546222 [08:15:41]quantity*price = 12500 [08:15:41]sum+1 = 12501 [08:15:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 0.00 Безнал.: 125.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 8 04.06.2024 08:15 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4091 ФПД: 31043500720068 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T081548&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4091&fm=31043500720068&tin=02508201610067®Number=0000000000145775&sum=12500 0 [08:15:42]StoreToDocumentArchive [08:15:42]shift 83 fd 4091 [08:15:42]save to /storage/0083/doc_00004091 [08:15:42]save last doc name /storage/0083/doc_00004091 to /storage/kkm_last_doc_name [08:15:42]save OK [08:15:42]Clear old archive folders... [08:15:42]ProcessDocumentItem done err = 0, tmpTLVsize=282 [08:15:42]tlvbuf is 00798B00 [08:15:42]SAM_PROTO_ClearQueue [08:15:42]wFMCommunicate request_size=4 [08:15:42]MH_SAM_APDU [08:15:42]CAPDU: 80 09 00 00 [08:15:42]Write to MH i2c: E2 08 00 0B 18 80 09 00 00 00 00 00 00 95 [08:15:42]Write i2c OK [08:15:42]MH_I2C_Read... [08:15:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:15:42]Read from MH i2c: E2 [08:15:42]MH_I2C_Read... [08:15:42]Read from MH i2c: E2 03 00 [08:15:42]MH_I2C_Read... [08:15:42]Read from MH i2c: E2 03 00 0B 18 00 90 00 97 [08:15:42]RAPDU: 90 00 [08:15:42]wFMCommunicate OK [08:15:42]SAM_PROTO_ClearQueue done [08:15:42]KKMCreateOFDPacket [08:15:42]OFDProtocolAddRootSTLVToBuf [08:15:42]FM_MakeSignedData [08:15:42]FM_MakeSignedData [08:15:42]SAM_PROTO_SignData [08:15:42]wFMCommunicate request_size=4 [08:15:42]MH_SAM_APDU [08:15:42]CAPDU: 80 0D 01 02 [08:15:42]Write to MH i2c: E2 08 00 0C 18 80 0D 01 02 00 00 00 00 9D [08:15:42]Write i2c OK [08:15:42]MH_I2C_Read... [08:15:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:15:42]Read from MH i2c: E2 [08:15:42]MH_I2C_Read... [08:15:42]Read from MH i2c: E2 03 00 [08:15:42]MH_I2C_Read... [08:15:42]Read from MH i2c: E2 03 00 0C 18 00 90 00 98 [08:15:42]RAPDU: 90 00 [08:15:42]wFMCommunicate OK [08:15:42]wFMCommunicate request_size=255 [08:15:42]MH_SAM_APDU [08:15:42]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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 34 CD 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 [08:15:42]Write to MH i2c: E2 02 01 0D 18 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 34 CD 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 00 00 BF [08:15:42]Write i2c OK [08:15:42]MH_I2C_Read... [08:15:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:15:42]Read from MH i2c: E2 [08:15:42]MH_I2C_Read... [08:15:42]Read from MH i2c: E2 03 00 [08:15:42]MH_I2C_Read... [08:15:42]Read from MH i2c: E2 03 00 0D 18 00 90 00 99 [08:15:42]RAPDU: 90 00 [08:15:42]wFMCommunicate OK [08:15:42]wFMCommunicate request_size=41 [08:15:42]MH_SAM_APDU [08:15:42]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FB 0F 00 00 35 04 06 00 1C 3B E0 D5 3F C4 [08:15:42]Write to MH i2c: E2 2C 00 0E 18 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FB 0F 00 00 35 04 06 00 1C 3B E0 D5 3F C4 00 00 88 [08:15:42]Write i2c OK [08:15:42]MH_I2C_Read... [08:15:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:15:42]Read from MH i2c: E2 [08:15:42]MH_I2C_Read... [08:15:42]Read from MH i2c: E2 03 00 [08:15:42]MH_I2C_Read... [08:15:42]Read from MH i2c: E2 03 00 0E 18 00 90 00 9A [08:15:42]RAPDU: 90 00 [08:15:42]wFMCommunicate OK [08:15:42]wFMCommunicate request_size=4 [08:15:42]MH_SAM_APDU [08:15:42]CAPDU: 80 0D 03 02 [08:15:42]Write to MH i2c: E2 08 00 0F 18 80 0D 03 02 00 00 00 00 A2 [08:15:42]Write i2c OK [08:15:42]MH_I2C_Read... [08:15:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:15:42]Read from MH i2c: E2 [08:15:42]MH_I2C_Read... [08:15:42]Read from MH i2c: E2 0B 00 [08:15:42]MH_I2C_Read... [08:15:42]Read from MH i2c: E2 0B 00 0F 18 00 2D 51 83 1F 53 65 13 17 90 00 A5 [08:15:42]RAPDU: 2D 51 83 1F 53 65 13 17 90 00 [08:15:42]wFMCommunicate OK [08:15:42]SAM_PROTO_SignData done [08:15:42]FM_MakeSignedData done [08:15:42]CreateOFDProtocolMessage [08:15:42]wFMCommunicate request_size=4 [08:15:42]MH_SAM_APDU [08:15:42]CAPDU: 80 11 00 00 [08:15:42]Write to MH i2c: E2 08 00 10 18 80 11 00 00 00 00 00 00 A2 [08:15:42]Write i2c OK [08:15:42]MH_I2C_Read... [08:15:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:15:42]Read from MH i2c: E2 [08:15:42]MH_I2C_Read... [08:15:42]Read from MH i2c: E2 17 00 [08:15:42]MH_I2C_Read... [08:15:42]Read from MH i2c: E2 17 00 10 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F5 [08:15:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:15:42]wFMCommunicate OK [08:15:42]CreateOFDProtocolMessage done [08:15:42]OFDSenderStorePacket 4091 [08:15:42]StoreOFDPacket docnum=4091 [08:15:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 74 C0 26 01 76 09 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 34 CD 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FB 0F 00 00 35 04 06 00 1C 3B E0 D5 3F C4 2D 51 83 1F 53 65 13 17 [08:15:42]CheckFolder [08:15:42]dirname=/storage/ofd_packets [08:15:42]CheckFolder done [08:15:42]ProducePacketName [08:15:42]name=ofd_packets/00004091 [08:15:42]NVStorageSaveData ofd_packets/00004091 [08:15:42]File name is /storage/ofd_packets/00004091 [08:15:42]Write 332 bytes [08:15:42]NVStorageSaveData done [08:15:42]OFDSenderStorePacket done [08:15:42]KKMCreateOFDPacket done [08:15:42]NVStorageSaveData kkm_last_timestamp [08:15:42]File name is /storage/kkm_last_timestamp [08:15:42]Write 4 bytes [08:15:42]NVStorageSaveData done [08:15:42]ExternCall_PrintAddStr [08:15:42]wPrintStart [08:15:42]Write to MH i2c: 01 00 00 11 18 29 [08:15:42]Write i2c OK [08:15:42]MH_I2C_Read... [08:15:42]Read from MH i2c: 01 [08:15:42]MH_I2C_Read... [08:15:42]Read from MH i2c: 01 07 00 [08:15:42]MH_I2C_Read... [08:15:42]Read from MH i2c: 01 07 00 11 18 00 00 00 00 00 FF 0F 3E [08:15:42]RasterBufferAndPrint [08:15:42]line Счет N : (3)4344 [08:15:42]line ИНН: 02508201610067 [08:15:42]line Контрольно-Кассовый Чек [08:15:42]line ПРОДАЖА [08:15:42]line Товар: 2000036220012 [08:15:42]line Кофе Капучино XL(GABB TRADE) [08:15:42]line 1.000 * 125.00 [08:15:42]line = 125.00 [08:15:42]line НДС 12% НСП 1% [08:15:42]line > о реализуемом товаре [08:15:42]line ИТОГО: 125.00 [08:15:42]line НСП 1% : 1.11 [08:15:42]line НДС 12% : 13.27 [08:15:42]line Наличными: 0.00 [08:15:42]line Безнал.: 125.00 [08:15:42]line Место: АЗС № 116 "Партнер Нефть" [08:15:42]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [08:15:42]line СНО: Общий режим [08:15:42]line Чек 8 04.06.2024 08:15 [08:15:42]line Смена: 83 ФФД: 1.0 [08:15:42]line ЗНМ: 0300000233 [08:15:42]line РНМ: 0000000000145775 [08:15:43]line Версия ККМ: v1.0 [08:15:43]line Платежная система: О! деньги [08:15:43]line ФМ: 0000000000959360 [08:15:43]line ФД: 4091 [08:15:43]line ФПД: 31043500720068 [08:15:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T081548&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4091&fm=31043500720068&tin=02508201610067®Number=0000000000145775&sum=12500 [08:15:43]line 0 [08:15:43]OFD Sender: Processing packet 4091 [packets to send 2, broken 1] [08:15:43]ProducePacketName [08:15:43]name=ofd_packets/00004091 [08:15:43]OFD Sender: To server: pG, [08:15:43]CommunicateWithHost lk.salyk.kg:30040 [08:15:43]ConnectInit lk.salyk.kg [08:15:43]written 0, free lines is 4095 [08:15:43]Connected sock=10 [08:15:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 74 C0 26 01 76 09 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 34 CD 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FB 0F 00 00 35 04 06 00 1C 3B E0 D5 3F C4 2D 51 83 1F 53 65 13 17 [08:15:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 0A B8 47 00 E4 F6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FB 0F 00 00 F4 03 04 00 36 79 5E 66 B6 04 01 00 00 56 CD 47 CF 41 41 E4 87 [08:15:43]CommunicateWithHost err = 0 [08:15:43]CheckOFDResponse [08:15:43]1017 (14) - 77093643461234 [08:15:43]1041 (16) - 0000000000959360 [08:15:43]1040 (4) - 4091 [08:15:43]1012 (4) - 04.06.2024 02:17 [08:15:43]1206 (1) - 0 [08:15:43]OFD Sender: Remove packet 4091 [08:15:43]ProducePacketName [08:15:43]name=ofd_packets/00004091 [08:15:43]NVStorageDeleteData [08:15:43]Write to MH i2c: 01 00 00 3C 18 54 [08:15:43]Write i2c OK [08:15:43]MH_I2C_Read... [08:15:43]Read from MH i2c: 01 [08:15:43]MH_I2C_Read... [08:15:43]Read from MH i2c: 01 07 00 [08:15:43]MH_I2C_Read... [08:15:43]Read from MH i2c: 01 07 00 3C 18 00 00 00 00 00 A9 0C 10 [08:15:43]RasterBufferAndPrint [08:15:43]line [08:15:43]line [08:15:43]line [08:15:43]line [08:15:43]line [08:15:43]written 0, free lines is 3246 [08:15:43]MH_Cut [08:15:43]Write to MH i2c: D1 01 00 43 18 01 2D [08:15:43]Write i2c OK [08:15:43]MH_I2C_Read... [08:15:43]Read from MH i2c: D1 [08:15:43]MH_I2C_Read... [08:15:43]Read from MH i2c: D1 01 00 [08:15:43]MH_I2C_Read... [08:15:43]Read from MH i2c: D1 01 00 43 18 00 2C [08:15:43]Write to MH i2c: 01 00 00 44 18 5C [08:15:43]Write i2c OK [08:15:43]MH_I2C_Read... [08:15:43]OFD Sender: No OFD packet to send [08:15:44]*** Cut start [08:15:44]*** Partial cut [08:15:44]*** CUTSNS_PIN = 1 [08:15:44]*** CUTSNS_PIN = 0 [08:15:44]*** Brake cut motor [08:15:45]Read from MH i2c: 01 [08:15:45]MH_I2C_Read... [08:15:45]*** Stop cut motor [08:15:45]*** Cut end [08:15:45]Read from MH i2c: 01 07 00 [08:15:45]MH_I2C_Read... [08:15:45]Read from MH i2c: 01 07 00 44 18 00 00 00 00 00 FF 0F 71 [08:15:45]process_action close_receipt done [08:15:45]requested_data is exist [08:15:45]produce_requested_data [08:15:45]requested_item fm.sn is exist - process it [08:15:45]wFMCommunicate request_size=4 [08:15:45]MH_SAM_APDU [08:15:45]CAPDU: 80 11 00 00 [08:15:45]Write to MH i2c: E2 08 00 45 18 80 11 00 00 00 00 00 00 D7 [08:15:45]Write i2c OK [08:15:45]MH_I2C_Read... [08:15:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:15:45]Read from MH i2c: E2 [08:15:45]MH_I2C_Read... [08:15:45]Read from MH i2c: E2 17 00 [08:15:45]MH_I2C_Read... [08:15:45]Read from MH i2c: E2 17 00 45 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 2A [08:15:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:15:45]wFMCommunicate OK [08:15:45]requested_item fd.num is exist - process it [08:15:45]SAM_PROTO_GetFieldsCounters [08:15:45]wFMCommunicate request_size=4 [08:15:45]MH_SAM_APDU [08:15:45]CAPDU: 80 13 00 00 [08:15:45]Write to MH i2c: E2 08 00 46 18 80 13 00 00 00 00 00 00 DA [08:15:45]Write i2c OK [08:15:45]MH_I2C_Read... [08:15:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:15:45]Read from MH i2c: E2 [08:15:45]MH_I2C_Read... [08:15:45]Read from MH i2c: E2 62 00 [08:15:45]MH_I2C_Read... [08:15:45]Read from MH i2c: E2 62 00 46 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 FB 0F 00 00 0E 04 04 00 53 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 74 [08:15:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 FB 0F 00 00 0E 04 04 00 53 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:15:45]wFMCommunicate OK [08:15:45]SAM_PROTO_GetFieldsCounters done [08:15:45]requested_item shift.num is exist - process it [08:15:45]requested_item shift.opened is exist - process it [08:15:45]req_shift_opened [08:15:45]FM_GetShiftState [08:15:45]SAM_PROTO_GetShiftState [08:15:45]wFMCommunicate request_size=4 [08:15:45]MH_SAM_APDU [08:15:45]CAPDU: 80 13 01 00 [08:15:45]Write to MH i2c: E2 08 00 47 18 80 13 01 00 00 00 00 00 DC [08:15:45]Write i2c OK [08:15:45]MH_I2C_Read... [08:15:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:15:45]Read from MH i2c: E2 [08:15:45]MH_I2C_Read... [08:15:45]Read from MH i2c: E2 0E 00 [08:15:45]MH_I2C_Read... [08:15:45]Read from MH i2c: E2 0E 00 47 18 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 75 [08:15:45]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [08:15:45]wFMCommunicate OK [08:15:45]SAM_PROTO_GetShiftState done [08:15:45]FM_GetShiftState done [08:15:45]req_shift_opened done [08:15:45]requested_item shift.open_date is exist - process it [08:15:45]req_shift_open_date [08:15:45]req_shift_open_date done [08:15:45]produce_requested_data done [08:15:45]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4091,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [08:15:45]process_action_free close_receipt [08:15:45]json_value_free [08:15:45]json_value_free done [08:15:45]process_json_proto returns [08:15:45]Send response to host [08:15:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4091,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [08:15:45]free response buf [08:15:45]execute_script done [08:15:45]execute_script returns [08:15:45]free content buf [08:15:45]Sock 9.Close socket [08:15:45]Sock 9.Thread stoped [08:15:48]OFD Sender: No OFD packet to send [08:15:53]OFD Sender: No OFD packet to send [08:15:58]OFD Sender: No OFD packet to send [08:16:03]OFD Sender: No OFD packet to send [08:16:08]OFD Sender: No OFD packet to send [08:16:13]OFD Sender: No OFD packet to send [08:16:18]OFD Sender: No OFD packet to send [08:16:23]OFD Sender: No OFD packet to send [08:16:28]OFD Sender: No OFD packet to send [08:16:33]OFD Sender: No OFD packet to send [08:16:38]OFD Sender: No OFD packet to send [08:16:43]OFD Sender: No OFD packet to send [08:16:48]OFD Sender: No OFD packet to send [08:16:53]OFD Sender: No OFD packet to send [08:16:58]OFD Sender: No OFD packet to send [08:17:03]OFD Sender: No OFD packet to send [08:17:08]OFD Sender: No OFD packet to send [08:17:13]OFD Sender: No OFD packet to send [08:17:18]OFD Sender: No OFD packet to send [08:17:20]accept exits with 8 [08:17:20]New connection [08:17:20]New thread 3067227492 created [08:17:20]Thread 3067370852 joined [08:17:20]Waiting for new connection... [08:17:20] Sock 8.Parse request [08:17:20]Sock 8.Check first char [08:17:20]Sock 8.First char is OK [08:17:20]request: POST /json_proto HTTP/1.0 [08:17:20]Method: POST [08:17:20]URL: /json_proto [08:17:20]Method is POST - this is cgi request [08:17:20]url: /json_proto [08:17:20]query_string will be loaded in cgi processing [08:17:20]execute_cgi json_proto POST (null) [08:17:20]execute_cgi path=json_proto method=POST [08:17:20]POST find Content-Length [08:17:20]Host: 172.17.56.68:8080 [08:17:20]Content-Length: 790 [08:17:20]Content-Type: application/json [08:17:20] [08:17:20]POST finish read [08:17:20]Found Content-Length = 790 [08:17:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4345", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:17:20]execute_script... [08:17: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)4345", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:17:20]POST & json_proto [08:17:20]process_json_proto [08:17:20]json parsed OK: [08:17:20]protocol is kg_v1.0 [08:17:20]action value=close_receipt [08:17:20]process_action close_receipt [08:17:20]cmd_close_receipt [08:17:20]MH_GetDate [08:17:20]Write to MH i2c: F0 00 00 48 18 4F [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 48 18 00 98 CD 5E 66 42 69 5C 66 EE [08:17:20]GetLastDocTimeStamp 1717488948 [08:17:20]current date 1717489048 [08:17:20]FM_GetShiftState [08:17:20]SAM_PROTO_GetShiftState [08:17:20]wFMCommunicate request_size=4 [08:17:20]MH_SAM_APDU [08:17:20]CAPDU: 80 13 01 00 [08:17:20]Write to MH i2c: E2 08 00 49 18 80 13 01 00 00 00 00 00 DE [08:17:20]Write i2c OK [08:17:20]MH_I2C_Read... [08:17:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:17:21]Read from MH i2c: E2 [08:17:21]MH_I2C_Read... [08:17:21]Read from MH i2c: E2 0E 00 [08:17:21]MH_I2C_Read... [08:17:21]Read from MH i2c: E2 0E 00 49 18 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 77 [08:17:21]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [08:17:21]wFMCommunicate OK [08:17:21]SAM_PROTO_GetShiftState done [08:17:21]FM_GetShiftState done [08:17:21]opened in 1717459822 [08:17:21]opened+sec_in_day 1717546222 [08:17:21]quantity*price = 11500 [08:17:21]sum+1 = 11501 [08:17:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 9 04.06.2024 08:17 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4092 ФПД: 124795939152955 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T081728&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4092&fm=124795939152955&tin=02508201610067®Number=0000000000145775&sum=11500 0 [08:17:22]StoreToDocumentArchive [08:17:22]shift 83 fd 4092 [08:17:22]save to /storage/0083/doc_00004092 [08:17:22]save last doc name /storage/0083/doc_00004092 to /storage/kkm_last_doc_name [08:17:22]save OK [08:17:22]Clear old archive folders... [08:17:22]ProcessDocumentItem done err = 0, tmpTLVsize=274 [08:17:22]tlvbuf is B6F278C0 [08:17:22]SAM_PROTO_ClearQueue [08:17:22]wFMCommunicate request_size=4 [08:17:22]MH_SAM_APDU [08:17:22]CAPDU: 80 09 00 00 [08:17:22]Write to MH i2c: E2 08 00 56 18 80 09 00 00 00 00 00 00 E0 [08:17:22]Write i2c OK [08:17:22]MH_I2C_Read... [08:17:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:17:22]Read from MH i2c: E2 [08:17:22]MH_I2C_Read... [08:17:22]Read from MH i2c: E2 03 00 [08:17:22]MH_I2C_Read... [08:17:22]Read from MH i2c: E2 03 00 56 18 00 90 00 E2 [08:17:22]RAPDU: 90 00 [08:17:22]wFMCommunicate OK [08:17:22]SAM_PROTO_ClearQueue done [08:17:22]KKMCreateOFDPacket [08:17:22]OFDProtocolAddRootSTLVToBuf [08:17:22]FM_MakeSignedData [08:17:22]FM_MakeSignedData [08:17:22]SAM_PROTO_SignData [08:17:22]wFMCommunicate request_size=4 [08:17:22]MH_SAM_APDU [08:17:22]CAPDU: 80 0D 01 02 [08:17:22]Write to MH i2c: E2 08 00 57 18 80 0D 01 02 00 00 00 00 E8 [08:17:22]Write i2c OK [08:17:22]MH_I2C_Read... [08:17:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:17:22]Read from MH i2c: E2 [08:17:22]MH_I2C_Read... [08:17:22]Read from MH i2c: E2 03 00 [08:17:22]MH_I2C_Read... [08:17:22]Read from MH i2c: E2 03 00 57 18 00 90 00 E3 [08:17:22]RAPDU: 90 00 [08:17:22]wFMCommunicate OK [08:17:22]wFMCommunicate request_size=255 [08:17:22]MH_SAM_APDU [08:17:22]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 98 CD 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 [08:17:22]Write to MH i2c: E2 02 01 58 18 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 98 CD 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 00 00 0D [08:17:22]Write i2c OK [08:17:22]MH_I2C_Read... [08:17:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:17:22]Read from MH i2c: E2 [08:17:22]MH_I2C_Read... [08:17:22]Read from MH i2c: E2 03 00 [08:17:22]MH_I2C_Read... [08:17:22]Read from MH i2c: E2 03 00 58 18 00 90 00 E4 [08:17:22]RAPDU: 90 00 [08:17:22]wFMCommunicate OK [08:17:22]wFMCommunicate request_size=33 [08:17:22]MH_SAM_APDU [08:17:22]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FC 0F 00 00 35 04 06 00 71 80 51 9F 64 3B [08:17:22]Write to MH i2c: E2 24 00 59 18 80 0D 02 02 1C 00 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FC 0F 00 00 35 04 06 00 71 80 51 9F 64 3B 00 00 05 [08:17:22]Write i2c OK [08:17:22]MH_I2C_Read... [08:17:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:17:22]Read from MH i2c: E2 [08:17:22]MH_I2C_Read... [08:17:22]Read from MH i2c: E2 03 00 [08:17:22]MH_I2C_Read... [08:17:22]Read from MH i2c: E2 03 00 59 18 00 90 00 E5 [08:17:22]RAPDU: 90 00 [08:17:22]wFMCommunicate OK [08:17:22]wFMCommunicate request_size=4 [08:17:22]MH_SAM_APDU [08:17:22]CAPDU: 80 0D 03 02 [08:17:22]Write to MH i2c: E2 08 00 5A 18 80 0D 03 02 00 00 00 00 ED [08:17:22]Write i2c OK [08:17:22]MH_I2C_Read... [08:17:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:17:22]Read from MH i2c: E2 [08:17:22]MH_I2C_Read... [08:17:22]Read from MH i2c: E2 0B 00 [08:17:22]MH_I2C_Read... [08:17:22]Read from MH i2c: E2 0B 00 5A 18 00 74 29 5A 0E 52 1F 90 68 90 00 5C [08:17:22]RAPDU: 74 29 5A 0E 52 1F 90 68 90 00 [08:17:22]wFMCommunicate OK [08:17:22]SAM_PROTO_SignData done [08:17:22]FM_MakeSignedData done [08:17:22]CreateOFDProtocolMessage [08:17:22]wFMCommunicate request_size=4 [08:17:22]MH_SAM_APDU [08:17:22]CAPDU: 80 11 00 00 [08:17:22]Write to MH i2c: E2 08 00 5B 18 80 11 00 00 00 00 00 00 ED [08:17:22]Write i2c OK [08:17:22]MH_I2C_Read... [08:17:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:17:22]Read from MH i2c: E2 [08:17:22]MH_I2C_Read... [08:17:22]Read from MH i2c: E2 17 00 [08:17:22]MH_I2C_Read... [08:17:22]Read from MH i2c: E2 17 00 5B 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 40 [08:17:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:17:22]wFMCommunicate OK [08:17:22]CreateOFDProtocolMessage done [08:17:22]OFDSenderStorePacket 4092 [08:17:22]StoreOFDPacket docnum=4092 [08:17:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 57 39 1E 01 B6 24 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 98 CD 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FC 0F 00 00 35 04 06 00 71 80 51 9F 64 3B 74 29 5A 0E 52 1F 90 68 [08:17:22]CheckFolder [08:17:22]dirname=/storage/ofd_packets [08:17:22]CheckFolder done [08:17:22]ProducePacketName [08:17:22]name=ofd_packets/00004092 [08:17:22]NVStorageSaveData ofd_packets/00004092 [08:17:22]File name is /storage/ofd_packets/00004092 [08:17:22]Write 324 bytes [08:17:22]NVStorageSaveData done [08:17:22]OFDSenderStorePacket done [08:17:22]KKMCreateOFDPacket done [08:17:22]NVStorageSaveData kkm_last_timestamp [08:17:22]File name is /storage/kkm_last_timestamp [08:17:22]Write 4 bytes [08:17:22]NVStorageSaveData done [08:17:22]ExternCall_PrintAddStr [08:17:22]wPrintStart [08:17:22]Write to MH i2c: 01 00 00 5C 18 74 [08:17:22]Write i2c OK [08:17:22]MH_I2C_Read... [08:17:22]Read from MH i2c: 01 [08:17:22]MH_I2C_Read... [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 5C 18 00 00 00 00 00 FF 0F 89 [08:17:22]RasterBufferAndPrint [08:17:22]line Счет N : (3)4345 [08:17:22]line ИНН: 02508201610067 [08:17:22]line Контрольно-Кассовый Чек [08:17:22]line ПРОДАЖА [08:17:22]line Товар: 2000036240010 [08:17:22]line Кофе Латте (GABB TRADE) [08:17:22]line 1.000 * 115.00 [08:17:22]line = 115.00 [08:17:22]line НДС 12% НСП 1% [08:17:22]line > о реализуемом товаре [08:17:22]line ИТОГО: 115.00 [08:17:22]line НСП 1% : 1.02 [08:17:22]line НДС 12% : 12.21 [08:17:22]line Наличными: 0.00 [08:17:22]line Безнал.: 115.00 [08:17:22]line Место: АЗС № 116 "Партнер Нефть" [08:17:22]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [08:17:22]line СНО: Общий режим [08:17:22]line Чек 9 04.06.2024 08:17 [08:17:22]line Смена: 83 ФФД: 1.0 [08:17:22]line ЗНМ: 0300000233 [08:17:22]line РНМ: 0000000000145775 [08:17:22]line Версия ККМ: v1.0 [08:17:22]line Платежная система: О! деньги [08:17:22]line ФМ: 0000000000959360 [08:17:22]line ФД: 4092 [08:17:22]line ФПД: 124795939152955 [08:17:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T081728&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4092&fm=124795939152955&tin=02508201610067®Number=0000000000145775&sum=11500 [08:17:23]line 0 [08:17:23]OFD Sender: Processing packet 4092 [packets to send 2, broken 1] [08:17:23]ProducePacketName [08:17:23]name=ofd_packets/00004092 [08:17:23]OFD Sender: To server: pG, [08:17:23]CommunicateWithHost lk.salyk.kg:30040 [08:17:23]ConnectInit lk.salyk.kg [08:17:23]written 0, free lines is 4095 [08:17:23]Connected sock=10 [08:17:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 57 39 1E 01 B6 24 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 98 CD 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FC 0F 00 00 35 04 06 00 71 80 51 9F 64 3B 74 29 5A 0E 52 1F 90 68 [08:17:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 09 CF 47 00 24 DA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FC 0F 00 00 F4 03 04 00 9A 79 5E 66 B6 04 01 00 00 F9 CD A6 C6 FF 4C A1 B7 [08:17:23]CommunicateWithHost err = 0 [08:17:23]CheckOFDResponse [08:17:23]1017 (14) - 77093643461234 [08:17:23]1041 (16) - 0000000000959360 [08:17:23]1040 (4) - 4092 [08:17:23]1012 (4) - 04.06.2024 02:19 [08:17:23]1206 (1) - 0 [08:17:23]OFD Sender: Remove packet 4092 [08:17:23]ProducePacketName [08:17:23]name=ofd_packets/00004092 [08:17:23]NVStorageDeleteData [08:17:23]Write to MH i2c: 01 00 00 86 18 9E [08:17:23]Write i2c OK [08:17:23]MH_I2C_Read... [08:17:23]Read from MH i2c: 01 [08:17:23]MH_I2C_Read... [08:17:23]Read from MH i2c: 01 07 00 [08:17:23]MH_I2C_Read... [08:17:23]Read from MH i2c: 01 07 00 86 18 00 00 00 00 00 9F 0C 50 [08:17:23]RasterBufferAndPrint [08:17:23]line [08:17:23]line [08:17:23]line [08:17:23]line [08:17:23]line [08:17:23]written 0, free lines is 3236 [08:17:23]MH_Cut [08:17:23]Write to MH i2c: D1 01 00 8D 18 01 77 [08:17:23]Write i2c OK [08:17:23]MH_I2C_Read... [08:17:23]Read from MH i2c: D1 [08:17:23]MH_I2C_Read... [08:17:23]Read from MH i2c: D1 01 00 [08:17:23]MH_I2C_Read... [08:17:23]Read from MH i2c: D1 01 00 8D 18 00 76 [08:17:23]Write to MH i2c: 01 00 00 8E 18 A6 [08:17:23]Write i2c OK [08:17:23]MH_I2C_Read... [08:17:23]OFD Sender: No OFD packet to send [08:17:24]*** Cut start [08:17:24]*** Partial cut [08:17:24]*** CUTSNS_PIN = 1 [08:17:24]*** CUTSNS_PIN = 0 [08:17:24]*** Brake cut motor [08:17:25]Read from MH i2c: 01 [08:17:25]MH_I2C_Read... [08:17:25]*** Stop cut motor [08:17:25]*** Cut end [08:17:25]Read from MH i2c: 01 07 00 [08:17:25]MH_I2C_Read... [08:17:25]Read from MH i2c: 01 07 00 8E 18 00 00 00 00 00 FF 0F BB [08:17:25]process_action close_receipt done [08:17:25]requested_data is exist [08:17:25]produce_requested_data [08:17:25]requested_item fm.sn is exist - process it [08:17:25]wFMCommunicate request_size=4 [08:17:25]MH_SAM_APDU [08:17:25]CAPDU: 80 11 00 00 [08:17:25]Write to MH i2c: E2 08 00 8F 18 80 11 00 00 00 00 00 00 21 [08:17:25]Write i2c OK [08:17:25]MH_I2C_Read... [08:17:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:17:25]Read from MH i2c: E2 [08:17:25]MH_I2C_Read... [08:17:25]Read from MH i2c: E2 17 00 [08:17:25]MH_I2C_Read... [08:17:25]Read from MH i2c: E2 17 00 8F 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 74 [08:17:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:17:25]wFMCommunicate OK [08:17:25]requested_item fd.num is exist - process it [08:17:25]SAM_PROTO_GetFieldsCounters [08:17:25]wFMCommunicate request_size=4 [08:17:25]MH_SAM_APDU [08:17:25]CAPDU: 80 13 00 00 [08:17:25]Write to MH i2c: E2 08 00 90 18 80 13 00 00 00 00 00 00 24 [08:17:25]Write i2c OK [08:17:25]MH_I2C_Read... [08:17:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:17:25]Read from MH i2c: E2 [08:17:25]MH_I2C_Read... [08:17:25]Read from MH i2c: E2 62 00 [08:17:25]MH_I2C_Read... [08:17:25]Read from MH i2c: E2 62 00 90 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 FC 0F 00 00 0E 04 04 00 53 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 C2 [08:17:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 FC 0F 00 00 0E 04 04 00 53 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:17:25]wFMCommunicate OK [08:17:25]SAM_PROTO_GetFieldsCounters done [08:17:25]requested_item shift.num is exist - process it [08:17:25]requested_item shift.opened is exist - process it [08:17:25]req_shift_opened [08:17:25]FM_GetShiftState [08:17:25]SAM_PROTO_GetShiftState [08:17:25]wFMCommunicate request_size=4 [08:17:25]MH_SAM_APDU [08:17:25]CAPDU: 80 13 01 00 [08:17:25]Write to MH i2c: E2 08 00 91 18 80 13 01 00 00 00 00 00 26 [08:17:25]Write i2c OK [08:17:25]MH_I2C_Read... [08:17:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:17:25]Read from MH i2c: E2 [08:17:25]MH_I2C_Read... [08:17:25]Read from MH i2c: E2 0E 00 [08:17:25]MH_I2C_Read... [08:17:25]Read from MH i2c: E2 0E 00 91 18 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 BF [08:17:25]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [08:17:25]wFMCommunicate OK [08:17:25]SAM_PROTO_GetShiftState done [08:17:25]FM_GetShiftState done [08:17:25]req_shift_opened done [08:17:25]requested_item shift.open_date is exist - process it [08:17:25]req_shift_open_date [08:17:25]req_shift_open_date done [08:17:25]produce_requested_data done [08:17:25]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4092,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [08:17:25]process_action_free close_receipt [08:17:25]json_value_free [08:17:25]json_value_free done [08:17:25]process_json_proto returns [08:17:25]Send response to host [08:17:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4092,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [08:17:25]free response buf [08:17:25]execute_script done [08:17:25]execute_script returns [08:17:25]free content buf [08:17:25]Sock 8.Close socket [08:17:25]Sock 8.Thread stoped [08:17:28]OFD Sender: No OFD packet to send [08:17:33]OFD Sender: No OFD packet to send [08:17:38]OFD Sender: No OFD packet to send [08:17:43]OFD Sender: No OFD packet to send [08:17:48]OFD Sender: No OFD packet to send [08:17:53]OFD Sender: No OFD packet to send [08:17:58]OFD Sender: No OFD packet to send [08:18:03]OFD Sender: No OFD packet to send [08:18:08]OFD Sender: No OFD packet to send [08:18:13]OFD Sender: No OFD packet to send [08:18:18]OFD Sender: No OFD packet to send [08:18:23]OFD Sender: No OFD packet to send [08:18:28]OFD Sender: No OFD packet to send [08:18:33]OFD Sender: No OFD packet to send [08:18:38]OFD Sender: No OFD packet to send [08:18:43]OFD Sender: No OFD packet to send [08:18:48]OFD Sender: No OFD packet to send [08:18:53]OFD Sender: No OFD packet to send [08:18:58]OFD Sender: No OFD packet to send [08:19:03]OFD Sender: No OFD packet to send [08:19:08]OFD Sender: No OFD packet to send [08:19:13]OFD Sender: No OFD packet to send [08:19:18]OFD Sender: No OFD packet to send [08:19:23]OFD Sender: No OFD packet to send [08:19:28]OFD Sender: No OFD packet to send [08:19:33]OFD Sender: No OFD packet to send [08:19:38]OFD Sender: No OFD packet to send [08:19:43]OFD Sender: No OFD packet to send [08:19:48]OFD Sender: No OFD packet to send [08:19:53]OFD Sender: No OFD packet to send [08:19:58]OFD Sender: No OFD packet to send [08:20:03]OFD Sender: No OFD packet to send [08:20:08]OFD Sender: No OFD packet to send [08:20:13]OFD Sender: No OFD packet to send [08:20:18]OFD Sender: No OFD packet to send [08:20:23]OFD Sender: No OFD packet to send [08:20:28]OFD Sender: No OFD packet to send [08:20:33]OFD Sender: No OFD packet to send [08:20:38]OFD Sender: No OFD packet to send [08:20:43]OFD Sender: No OFD packet to send [08:20:48]OFD Sender: No OFD packet to send [08:20:53]OFD Sender: No OFD packet to send [08:20:58]OFD Sender: No OFD packet to send [08:21:03]OFD Sender: No OFD packet to send [08:21:08]OFD Sender: No OFD packet to send [08:21:13]OFD Sender: No OFD packet to send [08:21:18]OFD Sender: No OFD packet to send [08:21:23]OFD Sender: No OFD packet to send [08:21:29]OFD Sender: No OFD packet to send [08:21:34]OFD Sender: No OFD packet to send [08:21:39]OFD Sender: No OFD packet to send [08:21:44]OFD Sender: No OFD packet to send [08:21:49]OFD Sender: No OFD packet to send [08:21:54]OFD Sender: No OFD packet to send [08:21:59]OFD Sender: No OFD packet to send [08:22:04]OFD Sender: No OFD packet to send [08:22:09]OFD Sender: No OFD packet to send [08:22:14]OFD Sender: No OFD packet to send [08:22:19]OFD Sender: No OFD packet to send [08:22:24]OFD Sender: No OFD packet to send [08:22:26]accept exits with 9 [08:22:26]New connection [08:22:26]New thread 3067370852 created [08:22:26]Thread 3067227492 joined [08:22:26]Waiting for new connection... [08:22:26] Sock 9.Parse request [08:22:26]Sock 9.Check first char [08:22:26]Sock 9.First char is OK [08:22:26]request: POST /json_proto HTTP/1.0 [08:22:26]Method: POST [08:22:26]URL: /json_proto [08:22:26]Method is POST - this is cgi request [08:22:26]url: /json_proto [08:22:26]query_string will be loaded in cgi processing [08:22:26]execute_cgi json_proto POST (null) [08:22:26]execute_cgi path=json_proto method=POST [08:22:26]POST find Content-Length [08:22:26]Host: 172.17.56.68:8080 [08:22:26]Content-Length: 808 [08:22:26]Content-Type: application/json [08:22:26] [08:22:26]POST finish read [08:22:26]Found Content-Length = 808 [08:22:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4346", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:22:26]execute_script... [08: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)4346", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:22:26]POST & json_proto [08:22:26]process_json_proto [08:22:26]json parsed OK: [08:22:26]protocol is kg_v1.0 [08:22:26]action value=close_receipt [08:22:26]process_action close_receipt [08:22:26]cmd_close_receipt [08:22:26]MH_GetDate [08:22:26]Write to MH i2c: F0 00 00 92 18 99 [08:22:26]Write i2c OK [08:22:26]MH_I2C_Read... [08:22:26]Read from MH i2c: F0 [08:22:26]MH_I2C_Read... [08:22:26]Read from MH i2c: F0 09 00 [08:22:26]MH_I2C_Read... [08:22:26]Read from MH i2c: F0 09 00 92 18 00 C9 CE 5E 66 42 69 5C 66 6A [08:22:26]GetLastDocTimeStamp 1717489048 [08:22:26]current date 1717489353 [08:22:26]FM_GetShiftState [08:22:26]SAM_PROTO_GetShiftState [08:22:26]wFMCommunicate request_size=4 [08:22:26]MH_SAM_APDU [08:22:26]CAPDU: 80 13 01 00 [08:22:26]Write to MH i2c: E2 08 00 93 18 80 13 01 00 00 00 00 00 28 [08:22:26]Write i2c OK [08:22:26]MH_I2C_Read... [08:22:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:22:26]Read from MH i2c: E2 [08:22:26]MH_I2C_Read... [08:22:26]Read from MH i2c: E2 0E 00 [08:22:26]MH_I2C_Read... [08:22:26]Read from MH i2c: E2 0E 00 93 18 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 C1 [08:22:26]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [08:22:26]wFMCommunicate OK [08:22:26]SAM_PROTO_GetShiftState done [08:22:26]FM_GetShiftState done [08:22:26]opened in 1717459822 [08:22:26]opened+sec_in_day 1717546222 [08:22:26]quantity*price = 11500 [08:22:26]sum+1 = 11501 [08:22:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 10 04.06.2024 08:22 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4093 ФПД: 52393366072784 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T082234&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4093&fm=52393366072784&tin=02508201610067®Number=0000000000145775&sum=11500 0 [08:22:27]StoreToDocumentArchive [08:22:27]shift 83 fd 4093 [08:22:27]save to /storage/0083/doc_00004093 [08:22:27]save last doc name /storage/0083/doc_00004093 to /storage/kkm_last_doc_name [08:22:27]save OK [08:22:27]Clear old archive folders... [08:22:27]ProcessDocumentItem done err = 0, tmpTLVsize=280 [08:22:27]tlvbuf is 00789BE0 [08:22:27]SAM_PROTO_ClearQueue [08:22:27]wFMCommunicate request_size=4 [08:22:27]MH_SAM_APDU [08:22:27]CAPDU: 80 09 00 00 [08:22:27]Write to MH i2c: E2 08 00 A0 18 80 09 00 00 00 00 00 00 2A [08:22:27]Write i2c OK [08:22:27]MH_I2C_Read... [08:22:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:22:27]Read from MH i2c: E2 [08:22:27]MH_I2C_Read... [08:22:27]Read from MH i2c: E2 03 00 [08:22:27]MH_I2C_Read... [08:22:27]Read from MH i2c: E2 03 00 A0 18 00 90 00 2C [08:22:27]RAPDU: 90 00 [08:22:27]wFMCommunicate OK [08:22:27]SAM_PROTO_ClearQueue done [08:22:27]KKMCreateOFDPacket [08:22:27]OFDProtocolAddRootSTLVToBuf [08:22:27]FM_MakeSignedData [08:22:27]FM_MakeSignedData [08:22:27]SAM_PROTO_SignData [08:22:27]wFMCommunicate request_size=4 [08:22:27]MH_SAM_APDU [08:22:27]CAPDU: 80 0D 01 02 [08:22:27]Write to MH i2c: E2 08 00 A1 18 80 0D 01 02 00 00 00 00 32 [08:22:27]Write i2c OK [08:22:27]MH_I2C_Read... [08:22:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:22:27]Read from MH i2c: E2 [08:22:27]MH_I2C_Read... [08:22:27]Read from MH i2c: E2 03 00 [08:22:27]MH_I2C_Read... [08:22:27]Read from MH i2c: E2 03 00 A1 18 00 90 00 2D [08:22:27]RAPDU: 90 00 [08:22:27]wFMCommunicate OK [08:22:27]wFMCommunicate request_size=255 [08:22:27]MH_SAM_APDU [08:22:27]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 CA CE 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 [08:22:27]Write to MH i2c: E2 02 01 A2 18 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 CA CE 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 00 2F [08:22:27]Write i2c OK [08:22:27]MH_I2C_Read... [08:22:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:22:27]Read from MH i2c: E2 [08:22:27]MH_I2C_Read... [08:22:27]Read from MH i2c: E2 03 00 [08:22:27]MH_I2C_Read... [08:22:27]Read from MH i2c: E2 03 00 A2 18 00 90 00 2E [08:22:27]RAPDU: 90 00 [08:22:27]wFMCommunicate OK [08:22:27]wFMCommunicate request_size=39 [08:22:27]MH_SAM_APDU [08:22:27]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FD 0F 00 00 35 04 06 00 2F A6 C7 F9 2D D0 [08:22:27]Write to MH i2c: E2 2A 00 A3 18 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FD 0F 00 00 35 04 06 00 2F A6 C7 F9 2D D0 00 00 8E [08:22:27]Write i2c OK [08:22:27]MH_I2C_Read... [08:22:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:22:27]Read from MH i2c: E2 [08:22:27]MH_I2C_Read... [08:22:27]Read from MH i2c: E2 03 00 [08:22:27]MH_I2C_Read... [08:22:27]Read from MH i2c: E2 03 00 A3 18 00 90 00 2F [08:22:27]RAPDU: 90 00 [08:22:27]wFMCommunicate OK [08:22:27]wFMCommunicate request_size=4 [08:22:27]MH_SAM_APDU [08:22:27]CAPDU: 80 0D 03 02 [08:22:27]Write to MH i2c: E2 08 00 A4 18 80 0D 03 02 00 00 00 00 37 [08:22:27]Write i2c OK [08:22:27]MH_I2C_Read... [08:22:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:22:27]Read from MH i2c: E2 [08:22:27]MH_I2C_Read... [08:22:27]Read from MH i2c: E2 0B 00 [08:22:27]MH_I2C_Read... [08:22:27]Read from MH i2c: E2 0B 00 A4 18 00 0F 3E 50 BA B3 59 86 F1 90 00 12 [08:22:27]RAPDU: 0F 3E 50 BA B3 59 86 F1 90 00 [08:22:27]wFMCommunicate OK [08:22:27]SAM_PROTO_SignData done [08:22:27]FM_MakeSignedData done [08:22:27]CreateOFDProtocolMessage [08:22:27]wFMCommunicate request_size=4 [08:22:27]MH_SAM_APDU [08:22:27]CAPDU: 80 11 00 00 [08:22:27]Write to MH i2c: E2 08 00 A5 18 80 11 00 00 00 00 00 00 37 [08:22:27]Write i2c OK [08:22:27]MH_I2C_Read... [08:22:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:22:27]Read from MH i2c: E2 [08:22:27]MH_I2C_Read... [08:22:27]Read from MH i2c: E2 17 00 [08:22:27]MH_I2C_Read... [08:22:27]Read from MH i2c: E2 17 00 A5 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 8A [08:22:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:22:27]wFMCommunicate OK [08:22:27]CreateOFDProtocolMessage done [08:22:27]OFDSenderStorePacket 4093 [08:22:27]StoreOFDPacket docnum=4093 [08:22:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 81 F2 24 01 48 48 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 CA CE 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FD 0F 00 00 35 04 06 00 2F A6 C7 F9 2D D0 0F 3E 50 BA B3 59 86 F1 [08:22:27]CheckFolder [08:22:27]dirname=/storage/ofd_packets [08:22:27]CheckFolder done [08:22:27]ProducePacketName [08:22:27]name=ofd_packets/00004093 [08:22:27]NVStorageSaveData ofd_packets/00004093 [08:22:27]File name is /storage/ofd_packets/00004093 [08:22:27]Write 330 bytes [08:22:27]NVStorageSaveData done [08:22:27]OFDSenderStorePacket done [08:22:27]KKMCreateOFDPacket done [08:22:27]NVStorageSaveData kkm_last_timestamp [08:22:27]File name is /storage/kkm_last_timestamp [08:22:27]Write 4 bytes [08:22:27]NVStorageSaveData done [08:22:27]ExternCall_PrintAddStr [08:22:27]wPrintStart [08:22:27]Write to MH i2c: 01 00 00 A6 18 BE [08:22:27]Write i2c OK [08:22:27]MH_I2C_Read... [08:22:27]Read from MH i2c: 01 [08:22:27]MH_I2C_Read... [08:22:27]Read from MH i2c: 01 07 00 [08:22:27]MH_I2C_Read... [08:22:27]Read from MH i2c: 01 07 00 A6 18 00 00 00 00 00 FF 0F D3 [08:22:27]RasterBufferAndPrint [08:22:27]line Счет N : (3)4346 [08:22:27]line ИНН: 02508201610067 [08:22:27]line Контрольно-Кассовый Чек [08:22:27]line ПРОДАЖА [08:22:27]line Товар: 2000036210013 [08:22:27]line Кофе Капучино (GABB TRADE) [08:22:27]line 1.000 * 115.00 [08:22:27]line = 115.00 [08:22:27]line НДС 12% НСП 1% [08:22:27]line > о реализуемом товаре [08:22:27]line ИТОГО: 115.00 [08:22:27]line НСП 1% : 1.02 [08:22:27]line НДС 12% : 12.21 [08:22:27]line Наличными: 0.00 [08:22:27]line Безнал.: 115.00 [08:22:27]line Место: АЗС № 116 "Партнер Нефть" [08:22:27]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [08:22:27]line СНО: Общий режим [08:22:27]line Чек 10 04.06.2024 08:22 [08:22:27]line Смена: 83 ФФД: 1.0 [08:22:27]line ЗНМ: 0300000233 [08:22:27]line РНМ: 0000000000145775 [08:22:27]line Версия ККМ: v1.0 [08:22:27]line Платежная система: О! деньги [08:22:27]line ФМ: 0000000000959360 [08:22:27]line ФД: 4093 [08:22:27]line ФПД: 52393366072784 [08:22:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T082234&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4093&fm=52393366072784&tin=02508201610067®Number=0000000000145775&sum=11500 [08:22:28]line 0 [08:22:28]OFD Sender: Processing packet 4093 [packets to send 2, broken 1] [08:22:28]ProducePacketName [08:22:28]name=ofd_packets/00004093 [08:22:28]OFD Sender: To server: pG, [08:22:28]CommunicateWithHost lk.salyk.kg:30040 [08:22:28]ConnectInit lk.salyk.kg [08:22:28]written 0, free lines is 4095 [08:22:28]Connected sock=10 [08:22:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 81 F2 24 01 48 48 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 CA CE 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FD 0F 00 00 35 04 06 00 2F A6 C7 F9 2D D0 0F 3E 50 BA B3 59 86 F1 [08:22:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 61 98 47 00 CE B0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FD 0F 00 00 F4 03 04 00 CB 7A 5E 66 B6 04 01 00 00 A0 8A B9 20 FD 60 AF A9 [08:22:28]CommunicateWithHost err = 0 [08:22:28]CheckOFDResponse [08:22:28]1017 (14) - 77093643461234 [08:22:28]1041 (16) - 0000000000959360 [08:22:28]1040 (4) - 4093 [08:22:28]1012 (4) - 04.06.2024 02:24 [08:22:28]1206 (1) - 0 [08:22:28]OFD Sender: Remove packet 4093 [08:22:28]ProducePacketName [08:22:28]name=ofd_packets/00004093 [08:22:28]NVStorageDeleteData [08:22:28]Write to MH i2c: 01 00 00 D0 18 E8 [08:22:28]Write i2c OK [08:22:28]MH_I2C_Read... [08:22:28]Read from MH i2c: 01 [08:22:28]MH_I2C_Read... [08:22:28]Read from MH i2c: 01 07 00 [08:22:28]MH_I2C_Read... [08:22:28]Read from MH i2c: 01 07 00 D0 18 00 00 00 00 00 A9 0C A4 [08:22:28]RasterBufferAndPrint [08:22:28]line [08:22:28]line [08:22:28]line [08:22:28]line [08:22:28]line [08:22:28]written 0, free lines is 3246 [08:22:28]MH_Cut [08:22:28]Write to MH i2c: D1 01 00 D7 18 01 C1 [08:22:28]Write i2c OK [08:22:28]MH_I2C_Read... [08:22:28]Read from MH i2c: D1 [08:22:28]MH_I2C_Read... [08:22:28]Read from MH i2c: D1 01 00 [08:22:28]MH_I2C_Read... [08:22:28]Read from MH i2c: D1 01 00 D7 18 00 C0 [08:22:28]Write to MH i2c: 01 00 00 D8 18 F0 [08:22:28]Write i2c OK [08:22:28]MH_I2C_Read... [08:22:28]OFD Sender: No OFD packet to send [08:22:29]*** Cut start [08:22:29]*** Partial cut [08:22:29]*** CUTSNS_PIN = 1 [08:22:29]*** CUTSNS_PIN = 0 [08:22:29]*** Brake cut motor [08:22:30]Read from MH i2c: 01 [08:22:30]MH_I2C_Read... [08:22:30]*** Stop cut motor [08:22:30]*** Cut end [08:22:30]Read from MH i2c: 01 07 00 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: 01 07 00 D8 18 00 00 00 00 00 FF 0F 05 [08:22:30]process_action close_receipt done [08:22:30]requested_data is exist [08:22:30]produce_requested_data [08:22:30]requested_item fm.sn is exist - process it [08:22:30]wFMCommunicate request_size=4 [08:22:30]MH_SAM_APDU [08:22:30]CAPDU: 80 11 00 00 [08:22:30]Write to MH i2c: E2 08 00 D9 18 80 11 00 00 00 00 00 00 6B [08:22:30]Write i2c OK [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 [08:22:30]MH_I2C_Read... [08:22:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:22:30]Read from MH i2c: E2 17 00 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 17 00 D9 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 BE [08:22:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:22:30]wFMCommunicate OK [08:22:30]requested_item fd.num is exist - process it [08:22:30]SAM_PROTO_GetFieldsCounters [08:22:30]wFMCommunicate request_size=4 [08:22:30]MH_SAM_APDU [08:22:30]CAPDU: 80 13 00 00 [08:22:30]Write to MH i2c: E2 08 00 DA 18 80 13 00 00 00 00 00 00 6E [08:22:30]Write i2c OK [08:22:30]MH_I2C_Read... [08:22:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:22:30]Read from MH i2c: E2 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 62 00 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 62 00 DA 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 FD 0F 00 00 0E 04 04 00 53 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 10 [08:22:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 FD 0F 00 00 0E 04 04 00 53 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:22:30]wFMCommunicate OK [08:22:30]SAM_PROTO_GetFieldsCounters done [08:22:30]requested_item shift.num is exist - process it [08:22:30]requested_item shift.opened is exist - process it [08:22:30]req_shift_opened [08:22:30]FM_GetShiftState [08:22:30]SAM_PROTO_GetShiftState [08:22:30]wFMCommunicate request_size=4 [08:22:30]MH_SAM_APDU [08:22:30]CAPDU: 80 13 01 00 [08:22:30]Write to MH i2c: E2 08 00 DB 18 80 13 01 00 00 00 00 00 70 [08:22:30]Write i2c OK [08:22:30]MH_I2C_Read... [08:22:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:22:30]Read from MH i2c: E2 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 0E 00 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 0E 00 DB 18 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 09 [08:22:30]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [08:22:30]wFMCommunicate OK [08:22:30]SAM_PROTO_GetShiftState done [08:22:30]FM_GetShiftState done [08:22:30]req_shift_opened done [08:22:30]requested_item shift.open_date is exist - process it [08:22:30]req_shift_open_date [08:22:30]req_shift_open_date done [08:22:30]produce_requested_data done [08:22:30]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4093,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [08:22:30]process_action_free close_receipt [08:22:30]json_value_free [08:22:30]json_value_free done [08:22:30]process_json_proto returns [08:22:30]Send response to host [08:22:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4093,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [08:22:30]free response buf [08:22:30]execute_script done [08:22:30]execute_script returns [08:22:30]free content buf [08:22:30]Sock 9.Close socket [08:22:30]Sock 9.Thread stoped [08:22:33]OFD Sender: No OFD packet to send [08:22:38]OFD Sender: No OFD packet to send [08:22:43]OFD Sender: No OFD packet to send [08:22:48]OFD Sender: No OFD packet to send [08:22:53]OFD Sender: No OFD packet to send [08:22:58]OFD Sender: No OFD packet to send [08:23:03]OFD Sender: No OFD packet to send [08:23:08]OFD Sender: No OFD packet to send [08:23:13]OFD Sender: No OFD packet to send [08:23:19]OFD Sender: No OFD packet to send [08:23:24]OFD Sender: No OFD packet to send [08:23:29]OFD Sender: No OFD packet to send [08:23:34]OFD Sender: No OFD packet to send [08:23:39]OFD Sender: No OFD packet to send [08:23:44]OFD Sender: No OFD packet to send [08:23:49]OFD Sender: No OFD packet to send [08:23:54]OFD Sender: No OFD packet to send [08:23:59]OFD Sender: No OFD packet to send [08:24:04]OFD Sender: No OFD packet to send [08:24:09]OFD Sender: No OFD packet to send [08:24:14]OFD Sender: No OFD packet to send [08:24:19]OFD Sender: No OFD packet to send [08:24:24]OFD Sender: No OFD packet to send [08:24:29]OFD Sender: No OFD packet to send [08:24:34]OFD Sender: No OFD packet to send [08:24:39]OFD Sender: No OFD packet to send [08:24:44]OFD Sender: No OFD packet to send [08:24:49]OFD Sender: No OFD packet to send [08:24:54]OFD Sender: No OFD packet to send [08:24:59]OFD Sender: No OFD packet to send [08:25:04]OFD Sender: No OFD packet to send [08:25:09]OFD Sender: No OFD packet to send [08:25:14]OFD Sender: No OFD packet to send [08:25:19]OFD Sender: No OFD packet to send [08:25:24]OFD Sender: No OFD packet to send [08:25:29]OFD Sender: No OFD packet to send [08:25:34]OFD Sender: No OFD packet to send [08:25:39]OFD Sender: No OFD packet to send [08:25:44]OFD Sender: No OFD packet to send [08:25:49]OFD Sender: No OFD packet to send [08:25:54]OFD Sender: No OFD packet to send [08:25:59]OFD Sender: No OFD packet to send [08:26:04]OFD Sender: No OFD packet to send [08:26:09]OFD Sender: No OFD packet to send [08:26:14]OFD Sender: No OFD packet to send [08:26:19]OFD Sender: No OFD packet to send [08:26:24]OFD Sender: No OFD packet to send [08:26:29]OFD Sender: No OFD packet to send [08:26:34]OFD Sender: No OFD packet to send [08:26:39]OFD Sender: No OFD packet to send [08:26:44]OFD Sender: No OFD packet to send [08:26:49]OFD Sender: No OFD packet to send [08:26:54]OFD Sender: No OFD packet to send [08:26:59]OFD Sender: No OFD packet to send [08:27:04]OFD Sender: No OFD packet to send [08:27:09]OFD Sender: No OFD packet to send [08:27:14]OFD Sender: No OFD packet to send [08:27:19]OFD Sender: No OFD packet to send [08:27:24]OFD Sender: No OFD packet to send [08:27:29]OFD Sender: No OFD packet to send [08:27:34]OFD Sender: No OFD packet to send [08:27:39]OFD Sender: No OFD packet to send [08:27:44]OFD Sender: No OFD packet to send [08:27:49]OFD Sender: No OFD packet to send [08:27:54]OFD Sender: No OFD packet to send [08:27:59]OFD Sender: No OFD packet to send [08:28:04]OFD Sender: No OFD packet to send [08:28:09]OFD Sender: No OFD packet to send [08:28:14]OFD Sender: No OFD packet to send [08:28:19]OFD Sender: No OFD packet to send [08:28:24]OFD Sender: No OFD packet to send [08:28:29]OFD Sender: No OFD packet to send [08:28:34]OFD Sender: No OFD packet to send [08:28:39]OFD Sender: No OFD packet to send [08:28:44]OFD Sender: No OFD packet to send [08:28:49]OFD Sender: No OFD packet to send [08:28:54]OFD Sender: No OFD packet to send [08:28:59]OFD Sender: No OFD packet to send [08:29:04]OFD Sender: No OFD packet to send [08:29:09]OFD Sender: No OFD packet to send [08:29:14]OFD Sender: No OFD packet to send [08:29:19]OFD Sender: No OFD packet to send [08:29:24]OFD Sender: No OFD packet to send [08:29:29]OFD Sender: No OFD packet to send [08:29:34]OFD Sender: No OFD packet to send [08:29:39]OFD Sender: No OFD packet to send [08:29:44]OFD Sender: No OFD packet to send [08:29:49]OFD Sender: No OFD packet to send [08:29:54]OFD Sender: No OFD packet to send [08:29:59]OFD Sender: No OFD packet to send [08:30:04]OFD Sender: No OFD packet to send [08:30:09]OFD Sender: No OFD packet to send [08:30:14]OFD Sender: No OFD packet to send [08:30:19]OFD Sender: No OFD packet to send [08:30:24]OFD Sender: No OFD packet to send [08:30:29]OFD Sender: No OFD packet to send [08:30:34]OFD Sender: No OFD packet to send [08:30:39]OFD Sender: No OFD packet to send [08:30:44]OFD Sender: No OFD packet to send [08:30:49]OFD Sender: No OFD packet to send [08:30:54]OFD Sender: No OFD packet to send [08:30:59]OFD Sender: No OFD packet to send [08:31:04]OFD Sender: No OFD packet to send [08:31:09]OFD Sender: No OFD packet to send [08:31:14]OFD Sender: No OFD packet to send [08:31:19]OFD Sender: No OFD packet to send [08:31:24]OFD Sender: No OFD packet to send [08:31:29]OFD Sender: No OFD packet to send [08:31:34]OFD Sender: No OFD packet to send [08:31:39]OFD Sender: No OFD packet to send [08:31:44]OFD Sender: No OFD packet to send [08:31:49]OFD Sender: No OFD packet to send [08:31:54]OFD Sender: No OFD packet to send [08:31:59]OFD Sender: No OFD packet to send [08:32:04]OFD Sender: No OFD packet to send [08:32:09]OFD Sender: No OFD packet to send [08:32:14]OFD Sender: No OFD packet to send [08:32:19]OFD Sender: No OFD packet to send [08:32:24]OFD Sender: No OFD packet to send [08:32:29]OFD Sender: No OFD packet to send [08:32:34]OFD Sender: No OFD packet to send [08:32:39]OFD Sender: No OFD packet to send [08:32:44]OFD Sender: No OFD packet to send [08:32:49]OFD Sender: No OFD packet to send [08:32:54]OFD Sender: No OFD packet to send [08:32:59]OFD Sender: No OFD packet to send [08:33:04]OFD Sender: No OFD packet to send [08:33:09]OFD Sender: No OFD packet to send [08:33:14]OFD Sender: No OFD packet to send [08:33:19]OFD Sender: No OFD packet to send [08:33:24]OFD Sender: No OFD packet to send [08:33:29]OFD Sender: No OFD packet to send [08:33:34]OFD Sender: No OFD packet to send [08:33:39]OFD Sender: No OFD packet to send [08:33:44]OFD Sender: No OFD packet to send [08:33:49]OFD Sender: No OFD packet to send [08:33:54]OFD Sender: No OFD packet to send [08:33:59]OFD Sender: No OFD packet to send [08:34:04]OFD Sender: No OFD packet to send [08:34:09]OFD Sender: No OFD packet to send [08:34:14]OFD Sender: No OFD packet to send [08:34:19]OFD Sender: No OFD packet to send [08:34:24]OFD Sender: No OFD packet to send [08:34:29]OFD Sender: No OFD packet to send [08:34:34]OFD Sender: No OFD packet to send [08:34:39]OFD Sender: No OFD packet to send [08:34:44]OFD Sender: No OFD packet to send [08:34:49]OFD Sender: No OFD packet to send [08:34:54]OFD Sender: No OFD packet to send [08:34:59]OFD Sender: No OFD packet to send [08:35:04]OFD Sender: No OFD packet to send [08:35:09]OFD Sender: No OFD packet to send [08:35:14]OFD Sender: No OFD packet to send [08:35:19]OFD Sender: No OFD packet to send [08:35:24]OFD Sender: No OFD packet to send [08:35:29]OFD Sender: No OFD packet to send [08:35:34]OFD Sender: No OFD packet to send [08:35:39]OFD Sender: No OFD packet to send [08:35:44]OFD Sender: No OFD packet to send [08:35:49]OFD Sender: No OFD packet to send [08:35:54]OFD Sender: No OFD packet to send [08:35:59]OFD Sender: No OFD packet to send [08:36:04]OFD Sender: No OFD packet to send [08:36:09]OFD Sender: No OFD packet to send [08:36:14]OFD Sender: No OFD packet to send [08:36:19]OFD Sender: No OFD packet to send [08:36:24]OFD Sender: No OFD packet to send [08:36:29]OFD Sender: No OFD packet to send [08:36:34]OFD Sender: No OFD packet to send [08:36:39]OFD Sender: No OFD packet to send [08:36:44]OFD Sender: No OFD packet to send [08:36:49]OFD Sender: No OFD packet to send [08:36:54]OFD Sender: No OFD packet to send [08:36:59]OFD Sender: No OFD packet to send [08:37:04]OFD Sender: No OFD packet to send [08:37:09]OFD Sender: No OFD packet to send [08:37:14]OFD Sender: No OFD packet to send [08:37:19]OFD Sender: No OFD packet to send [08:37:24]OFD Sender: No OFD packet to send [08:37:29]OFD Sender: No OFD packet to send [08:37:34]OFD Sender: No OFD packet to send [08:37:39]OFD Sender: No OFD packet to send [08:37:44]OFD Sender: No OFD packet to send [08:37:49]OFD Sender: No OFD packet to send [08:37:54]OFD Sender: No OFD packet to send [08:37:59]OFD Sender: No OFD packet to send [08:38:04]OFD Sender: No OFD packet to send [08:38:09]OFD Sender: No OFD packet to send [08:38:14]OFD Sender: No OFD packet to send [08:38:19]OFD Sender: No OFD packet to send [08:38:24]OFD Sender: No OFD packet to send [08:38:29]OFD Sender: No OFD packet to send [08:38:34]OFD Sender: No OFD packet to send [08:38:39]OFD Sender: No OFD packet to send [08:38:44]OFD Sender: No OFD packet to send [08:38:49]OFD Sender: No OFD packet to send [08:38:54]OFD Sender: No OFD packet to send [08:38:59]OFD Sender: No OFD packet to send [08:39:04]OFD Sender: No OFD packet to send [08:39:09]OFD Sender: No OFD packet to send [08:39:14]OFD Sender: No OFD packet to send [08:39:19]OFD Sender: No OFD packet to send [08:39:24]OFD Sender: No OFD packet to send [08:39:29]OFD Sender: No OFD packet to send [08:39:34]OFD Sender: No OFD packet to send [08:39:39]OFD Sender: No OFD packet to send [08:39:44]OFD Sender: No OFD packet to send [08:39:49]OFD Sender: No OFD packet to send [08:39:54]OFD Sender: No OFD packet to send [08:39:59]OFD Sender: No OFD packet to send [08:40:04]OFD Sender: No OFD packet to send [08:40:09]OFD Sender: No OFD packet to send [08:40:14]OFD Sender: No OFD packet to send [08:40:19]OFD Sender: No OFD packet to send [08:40:24]OFD Sender: No OFD packet to send [08:40:29]OFD Sender: No OFD packet to send [08:40:34]OFD Sender: No OFD packet to send [08:40:39]OFD Sender: No OFD packet to send [08:40:44]OFD Sender: No OFD packet to send [08:40:49]OFD Sender: No OFD packet to send [08:40:54]OFD Sender: No OFD packet to send [08:40:59]OFD Sender: No OFD packet to send [08:41:04]OFD Sender: No OFD packet to send [08:41:09]OFD Sender: No OFD packet to send [08:41:14]OFD Sender: No OFD packet to send [08:41:19]OFD Sender: No OFD packet to send [08:41:24]OFD Sender: No OFD packet to send [08:41:29]OFD Sender: No OFD packet to send [08:41:34]OFD Sender: No OFD packet to send [08:41:39]OFD Sender: No OFD packet to send [08:41:44]OFD Sender: No OFD packet to send [08:41:49]OFD Sender: No OFD packet to send [08:41:54]OFD Sender: No OFD packet to send [08:41:59]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:19]OFD Sender: No OFD packet to send [08:44:24]OFD Sender: No OFD packet to send [08:44:29]OFD Sender: No OFD packet to send [08:44:34]OFD Sender: No OFD packet to send [08:44:39]OFD Sender: No OFD packet to send [08:44:44]OFD Sender: No OFD packet to send [08:44:49]OFD Sender: No OFD packet to send [08:44:54]OFD Sender: No OFD packet to send [08:44:59]OFD Sender: No OFD packet to send [08:45:04]OFD Sender: No OFD packet to send [08:45:09]OFD Sender: No OFD packet to send [08:45:15]OFD Sender: No OFD packet to send [08:45:20]OFD Sender: No OFD packet to send [08:45:25]OFD Sender: No OFD packet to send [08:45:30]OFD Sender: No OFD packet to send [08:45:35]OFD Sender: No OFD packet to send [08:45:40]OFD Sender: No OFD packet to send [08:45:45]OFD Sender: No OFD packet to send [08:45:50]OFD Sender: No OFD packet to send [08:45:55]OFD Sender: No OFD packet to send [08:46:00]OFD Sender: No OFD packet to send [08:46:05]OFD Sender: No OFD packet to send [08:46:10]OFD Sender: No OFD packet to send [08:46:15]OFD Sender: No OFD packet to send [08:46:20]OFD Sender: No OFD packet to send [08:46:25]OFD Sender: No OFD packet to send [08:46:30]OFD Sender: No OFD packet to send [08:46:35]OFD Sender: No OFD packet to send [08:46:40]OFD Sender: No OFD packet to send [08:46:45]OFD Sender: No OFD packet to send [08:46:50]OFD Sender: No OFD packet to send [08:46:55]OFD Sender: No OFD packet to send [08:47:00]OFD Sender: No OFD packet to send [08:47:05]OFD Sender: No OFD packet to send [08:47:10]OFD Sender: No OFD packet to send [08:47:15]OFD Sender: No OFD packet to send [08:47:20]OFD Sender: No OFD packet to send [08:47:25]OFD Sender: No OFD packet to send [08:47:30]OFD Sender: No OFD packet to send [08:47:35]OFD Sender: No OFD packet to send [08:47:40]OFD Sender: No OFD packet to send [08:47:45]OFD Sender: No OFD packet to send [08:47:50]OFD Sender: No OFD packet to send [08:47:55]OFD Sender: No OFD packet to send [08:48:00]OFD Sender: No OFD packet to send [08:48:05]OFD Sender: No OFD packet to send [08:48:10]OFD Sender: No OFD packet to send [08:48:15]OFD Sender: No OFD packet to send [08:48:20]OFD Sender: No OFD packet to send [08:48:25]OFD Sender: No OFD packet to send [08:48:30]OFD Sender: No OFD packet to send [08:48:35]OFD Sender: No OFD packet to send [08:48:40]OFD Sender: No OFD packet to send [08:48:45]OFD Sender: No OFD packet to send [08:48:50]OFD Sender: No OFD packet to send [08:48:55]OFD Sender: No OFD packet to send [08:49:00]OFD Sender: No OFD packet to send [08:49:05]OFD Sender: No OFD packet to send [08:49:10]OFD Sender: No OFD packet to send [08:49:15]OFD Sender: No OFD packet to send [08:49:20]OFD Sender: No OFD packet to send [08:49:25]OFD Sender: No OFD packet to send [08:49:30]OFD Sender: No OFD packet to send [08:49:35]OFD Sender: No OFD packet to send [08:49:40]OFD Sender: No OFD packet to send [08:49:45]OFD Sender: No OFD packet to send [08:49:50]OFD Sender: No OFD packet to send [08:49:55]OFD Sender: No OFD packet to send [08:50:00]OFD Sender: No OFD packet to send [08:50:05]OFD Sender: No OFD packet to send [08:50:10]OFD Sender: No OFD packet to send [08:50:15]OFD Sender: No OFD packet to send [08:50:20]OFD Sender: No OFD packet to send [08:50:25]OFD Sender: No OFD packet to send [08:50:30]OFD Sender: No OFD packet to send [08:50:35]OFD Sender: No OFD packet to send [08:50:40]OFD Sender: No OFD packet to send [08:50:45]OFD Sender: No OFD packet to send [08:50:50]OFD Sender: No OFD packet to send [08:50:55]OFD Sender: No OFD packet to send [08:51:00]OFD Sender: No OFD packet to send [08:51:05]OFD Sender: No OFD packet to send [08:51:10]OFD Sender: No OFD packet to send [08:51:15]OFD Sender: No OFD packet to send [08:51:20]OFD Sender: No OFD packet to send [08:51:25]OFD Sender: No OFD packet to send [08:51:30]OFD Sender: No OFD packet to send [08:51:35]OFD Sender: No OFD packet to send [08:51:40]OFD Sender: No OFD packet to send [08:51:45]OFD Sender: No OFD packet to send [08:51:50]OFD Sender: No OFD packet to send [08:51:55]OFD Sender: No OFD packet to send [08:52:00]OFD Sender: No OFD packet to send [08:52:05]OFD Sender: No OFD packet to send [08:52:10]OFD Sender: No OFD packet to send [08:52:15]OFD Sender: No OFD packet to send [08:52:20]OFD Sender: No OFD packet to send [08:52:25]OFD Sender: No OFD packet to send [08:52:30]OFD Sender: No OFD packet to send [08:52:35]OFD Sender: No OFD packet to send [08:52:40]OFD Sender: No OFD packet to send [08:52:45]OFD Sender: No OFD packet to send [08:52:50]OFD Sender: No OFD packet to send [08:52:55]OFD Sender: No OFD packet to send [08:53:00]OFD Sender: No OFD packet to send [08:53:05]OFD Sender: No OFD packet to send [08:53:10]OFD Sender: No OFD packet to send [08:53:15]OFD Sender: No OFD packet to send [08:53:20]OFD Sender: No OFD packet to send [08:53:25]OFD Sender: No OFD packet to send [08:53:30]OFD Sender: No OFD packet to send [08:53:35]OFD Sender: No OFD packet to send [08:53:40]OFD Sender: No OFD packet to send [08:53:45]OFD Sender: No OFD packet to send [08:53:50]OFD Sender: No OFD packet to send [08:53:55]OFD Sender: No OFD packet to send [08:54:00]OFD Sender: No OFD packet to send [08:54:05]OFD Sender: No OFD packet to send [08:54:10]OFD Sender: No OFD packet to send [08:54:15]OFD Sender: No OFD packet to send [08:54:20]OFD Sender: No OFD packet to send [08:54:25]OFD Sender: No OFD packet to send [08:54:30]OFD Sender: No OFD packet to send [08:54:35]OFD Sender: No OFD packet to send [08:54:40]OFD Sender: No OFD packet to send [08:54:45]OFD Sender: No OFD packet to send [08:54:50]OFD Sender: No OFD packet to send [08:54:55]OFD Sender: No OFD packet to send [08:55:00]OFD Sender: No OFD packet to send [08:55:05]OFD Sender: No OFD packet to send [08:55:10]OFD Sender: No OFD packet to send [08:55:15]OFD Sender: No OFD packet to send [08:55:20]OFD Sender: No OFD packet to send [08:55:25]OFD Sender: No OFD packet to send [08:55:30]OFD Sender: No OFD packet to send [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:05]OFD Sender: No OFD packet to send [08:56:10]OFD Sender: No OFD packet to send [08:56:15]OFD Sender: No OFD packet to send [08:56:20]OFD Sender: No OFD packet to send [08:56:25]OFD Sender: No OFD packet to send [08:56:30]OFD Sender: No OFD packet to send [08:56:35]OFD Sender: No OFD packet to send [08:56:40]OFD Sender: No OFD packet to send [08:56:45]OFD Sender: No OFD packet to send [08:56:50]OFD Sender: No OFD packet to send [08:56:55]OFD Sender: No OFD packet to send [08:57:00]OFD Sender: No OFD packet to send [08:57:05]OFD Sender: No OFD packet to send [08:57:10]OFD Sender: No OFD packet to send [08:57:15]OFD Sender: No OFD packet to send [08:57:20]OFD Sender: No OFD packet to send [08:57:25]OFD Sender: No OFD packet to send [08:57:30]OFD Sender: No OFD packet to send [08:57:35]OFD Sender: No OFD packet to send [08:57:40]OFD Sender: No OFD packet to send [08:57:45]OFD Sender: No OFD packet to send [08:57:50]OFD Sender: No OFD packet to send [08:57:55]OFD Sender: No OFD packet to send [08:58:00]OFD Sender: No OFD packet to send [08:58:05]OFD Sender: No OFD packet to send [08:58:10]OFD Sender: No OFD packet to send [08:58:15]OFD Sender: No OFD packet to send [08:58:20]OFD Sender: No OFD packet to send [08:58:25]OFD Sender: No OFD packet to send [08:58:30]OFD Sender: No OFD packet to send [08:58:35]OFD Sender: No OFD packet to send [08:58:40]OFD Sender: No OFD packet to send [08:58:45]OFD Sender: No OFD packet to send [08:58:50]OFD Sender: No OFD packet to send [08:58:55]OFD Sender: No OFD packet to send [08:59:00]OFD Sender: No OFD packet to send [08:59:05]OFD Sender: No OFD packet to send [08:59:10]OFD Sender: No OFD packet to send [08:59:12]accept exits with 8 [08:59:12]New connection [08:59:12]New thread 3067227492 created [08:59:12]Thread 3067370852 joined [08:59:12]Waiting for new connection... [08:59:12] Sock 8.Parse request [08:59:12]Sock 8.Check first char [08:59:12]Sock 8.First char is OK [08:59:12]request: POST /json_proto HTTP/1.0 [08:59:12]Method: POST [08:59:12]URL: /json_proto [08:59:12]Method is POST - this is cgi request [08:59:12]url: /json_proto [08:59:12]query_string will be loaded in cgi processing [08:59:12]execute_cgi json_proto POST (null) [08:59:12]execute_cgi path=json_proto method=POST [08:59:12]POST find Content-Length [08:59:12]Host: 172.17.56.68:8080 [08:59:12]Content-Length: 1416 [08:59:12]Content-Type: application/json [08:59:12] [08:59:12]POST finish read [08:59:12]Found Content-Length = 1416 [08:59:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4347", "tax_sys" : 0, "items" : [ { "code": "4870001570903", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A DADA \u044F\u0431\u043B,\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 \u041F\u042D\u0422 1\u043B", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40099484", "name": "\u0416\u0435\u0432 Orbit White \u043F\u043E\u0434", "price" : 45.00, "quantity" : 2.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:59:12]execute_script... [08:59: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)4347", "tax_sys" : 0, "items" : [ { "code": "4870001570903", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A DADA \u044F\u0431\u043B,\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 \u041F\u042D\u0422 1\u043B", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40099484", "name": "\u0416\u0435\u0432 Orbit White \u043F\u043E\u0434", "price" : 45.00, "quantity" : 2.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:59:12]POST & json_proto [08:59:12]process_json_proto [08:59:12]json parsed OK: [08:59:12]protocol is kg_v1.0 [08:59:12]action value=close_receipt [08:59:12]process_action close_receipt [08:59:12]cmd_close_receipt [08:59:12]MH_GetDate [08:59:12]Write to MH i2c: F0 00 00 DC 18 E3 [08:59:12]Write i2c OK [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: F0 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: F0 09 00 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: F0 09 00 DC 18 00 68 D7 5E 66 42 69 5C 66 5C [08:59:12]GetLastDocTimeStamp 1717489354 [08:59:12]current date 1717491560 [08:59:12]FM_GetShiftState [08:59:12]SAM_PROTO_GetShiftState [08:59:12]wFMCommunicate request_size=4 [08:59:12]MH_SAM_APDU [08:59:12]CAPDU: 80 13 01 00 [08:59:12]Write to MH i2c: E2 08 00 DD 18 80 13 01 00 00 00 00 00 72 [08:59:12]Write i2c OK [08:59:12]MH_I2C_Read... [08:59:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:59:12]Read from MH i2c: E2 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 0E 00 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 0E 00 DD 18 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 0B [08:59:12]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [08:59:12]wFMCommunicate OK [08:59:12]SAM_PROTO_GetShiftState done [08:59:12]FM_GetShiftState done [08:59:12]opened in 1717459822 [08:59:12]opened+sec_in_day 1717546222 [08:59:12]quantity*price = 16500 [08:59:12]sum+1 = 16501 [08:59:12]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4660085515163 Шок Батончик Сникерс супер 95/80г 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 40099484 Жев Orbit White под 2.000 * 45.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 345.00 НСП 1% : 3.06 НДС 12% : 36.64 Наличными: 0.00 Безнал.: 345.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 11 04.06.2024 08:59 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959360 ФД: 4094 ФПД: 249717462248898 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T085920&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4094&fm=249717462248898&tin=02508201610067®Number=0000000000145775&sum=34500 0 [08:59:13]StoreToDocumentArchive [08:59:13]shift 83 fd 4094 [08:59:13]save to /storage/0083/doc_00004094 [08:59:13]save last doc name /storage/0083/doc_00004094 to /storage/kkm_last_doc_name [08:59:13]save OK [08:59:13]Clear old archive folders... [08:59:13]ProcessDocumentItem done err = 0, tmpTLVsize=517 [08:59:13]tlvbuf is B6FBB010 [08:59:13]SAM_PROTO_ClearQueue [08:59:13]wFMCommunicate request_size=4 [08:59:13]MH_SAM_APDU [08:59:13]CAPDU: 80 09 00 00 [08:59:13]Write to MH i2c: E2 08 00 EA 18 80 09 00 00 00 00 00 00 74 [08:59:13]Write i2c OK [08:59:13]MH_I2C_Read... [08:59:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:59:13]Read from MH i2c: E2 [08:59:13]MH_I2C_Read... [08:59:13]Read from MH i2c: E2 03 00 [08:59:13]MH_I2C_Read... [08:59:13]Read from MH i2c: E2 03 00 EA 18 00 90 00 76 [08:59:13]RAPDU: 90 00 [08:59:13]wFMCommunicate OK [08:59:13]SAM_PROTO_ClearQueue done [08:59:13]KKMCreateOFDPacket [08:59:13]OFDProtocolAddRootSTLVToBuf [08:59:13]FM_MakeSignedData [08:59:13]FM_MakeSignedData [08:59:13]SAM_PROTO_SignData [08:59:13]wFMCommunicate request_size=4 [08:59:13]MH_SAM_APDU [08:59:13]CAPDU: 80 0D 01 02 [08:59:13]Write to MH i2c: E2 08 00 EB 18 80 0D 01 02 00 00 00 00 7C [08:59:13]Write i2c OK [08:59:13]MH_I2C_Read... [08:59:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:59:13]Read from MH i2c: E2 [08:59:13]MH_I2C_Read... [08:59:13]Read from MH i2c: E2 03 00 [08:59:13]MH_I2C_Read... [08:59:13]Read from MH i2c: E2 03 00 EB 18 00 90 00 77 [08:59:13]RAPDU: 90 00 [08:59:13]wFMCommunicate OK [08:59:13]wFMCommunicate request_size=255 [08:59:13]MH_SAM_APDU [08:59:13]CAPDU: 80 0D 02 02 FA 03 00 05 02 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 39 30 33 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D1 8F D0 B1 D0 BB 2C D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 [08:59:13]Write to MH i2c: E2 02 01 EC 18 80 0D 02 02 FA 00 03 00 05 02 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 39 30 33 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D1 8F D0 B1 D0 BB 2C D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 00 00 75 [08:59:13]Write i2c OK [08:59:13]MH_I2C_Read... [08:59:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:59:14]Read from MH i2c: E2 [08:59:14]MH_I2C_Read... [08:59:14]Read from MH i2c: E2 03 00 [08:59:14]MH_I2C_Read... [08:59:14]Read from MH i2c: E2 03 00 EC 18 00 90 00 78 [08:59:14]RAPDU: 90 00 [08:59:14]wFMCommunicate OK [08:59:14]wFMCommunicate request_size=255 [08:59:14]MH_SAM_APDU [08:59:14]CAPDU: 80 0D 02 02 FA 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 58 00 8A 04 08 00 34 30 30 39 39 34 38 34 06 04 19 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 86 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 68 D7 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 [08:59:14]Write to MH i2c: E2 02 01 ED 18 80 0D 02 02 FA 00 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 58 00 8A 04 08 00 34 30 30 39 39 34 38 34 06 04 19 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 86 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 68 D7 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 00 00 45 [08:59:14]Write i2c OK [08:59:14]MH_I2C_Read... [08:59:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:59:14]Read from MH i2c: E2 [08:59:14]MH_I2C_Read... [08:59:14]Read from MH i2c: E2 03 00 [08:59:14]MH_I2C_Read... [08:59:14]Read from MH i2c: E2 03 00 ED 18 00 90 00 79 [08:59:14]RAPDU: 90 00 [08:59:14]wFMCommunicate OK [08:59:14]wFMCommunicate request_size=26 [08:59:14]MH_SAM_APDU [08:59:14]CAPDU: 80 0D 02 02 15 33 36 30 10 04 04 00 FE 0F 00 00 35 04 06 00 E3 1D E0 A1 AD C2 [08:59:14]Write to MH i2c: E2 1D 00 EE 18 80 0D 02 02 15 00 33 36 30 10 04 04 00 FE 0F 00 00 35 04 06 00 E3 1D E0 A1 AD C2 00 00 97 [08:59:14]Write i2c OK [08:59:14]MH_I2C_Read... [08:59:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:59:14]Read from MH i2c: E2 [08:59:14]MH_I2C_Read... [08:59:14]Read from MH i2c: E2 03 00 [08:59:14]MH_I2C_Read... [08:59:14]Read from MH i2c: E2 03 00 EE 18 00 90 00 7A [08:59:14]RAPDU: 90 00 [08:59:14]wFMCommunicate OK [08:59:14]wFMCommunicate request_size=4 [08:59:14]MH_SAM_APDU [08:59:14]CAPDU: 80 0D 03 02 [08:59:14]Write to MH i2c: E2 08 00 EF 18 80 0D 03 02 00 00 00 00 82 [08:59:14]Write i2c OK [08:59:14]MH_I2C_Read... [08:59:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:59:14]Read from MH i2c: E2 [08:59:14]MH_I2C_Read... [08:59:14]Read from MH i2c: E2 0B 00 [08:59:14]MH_I2C_Read... [08:59:14]Read from MH i2c: E2 0B 00 EF 18 00 B4 AA 18 B7 93 44 7B 6A 90 00 6C [08:59:14]RAPDU: B4 AA 18 B7 93 44 7B 6A 90 00 [08:59:14]wFMCommunicate OK [08:59:14]SAM_PROTO_SignData done [08:59:14]FM_MakeSignedData done [08:59:14]CreateOFDProtocolMessage [08:59:14]wFMCommunicate request_size=4 [08:59:14]MH_SAM_APDU [08:59:14]CAPDU: 80 11 00 00 [08:59:14]Write to MH i2c: E2 08 00 F0 18 80 11 00 00 00 00 00 00 82 [08:59:14]Write i2c OK [08:59:14]MH_I2C_Read... [08:59:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:59:14]Read from MH i2c: E2 [08:59:14]MH_I2C_Read... [08:59:14]Read from MH i2c: E2 17 00 [08:59:14]MH_I2C_Read... [08:59:14]Read from MH i2c: E2 17 00 F0 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D5 [08:59:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:59:14]wFMCommunicate OK [08:59:14]CreateOFDProtocolMessage done [08:59:14]OFDSenderStorePacket 4094 [08:59:14]StoreOFDPacket docnum=4094 [08:59:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 19 02 00 00 D3 12 11 02 26 81 5A 03 01 00 03 00 05 02 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 39 30 33 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D1 8F D0 B1 D0 BB 2C D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 58 00 8A 04 08 00 34 30 30 39 39 34 38 34 06 04 19 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 86 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 68 D7 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FE 0F 00 00 35 04 06 00 E3 1D E0 A1 AD C2 B4 AA 18 B7 93 44 7B 6A [08:59:14]CheckFolder [08:59:14]dirname=/storage/ofd_packets [08:59:14]CheckFolder done [08:59:14]ProducePacketName [08:59:14]name=ofd_packets/00004094 [08:59:14]NVStorageSaveData ofd_packets/00004094 [08:59:14]File name is /storage/ofd_packets/00004094 [08:59:14]Write 567 bytes [08:59:14]NVStorageSaveData done [08:59:14]OFDSenderStorePacket done [08:59:14]KKMCreateOFDPacket done [08:59:14]NVStorageSaveData kkm_last_timestamp [08:59:14]File name is /storage/kkm_last_timestamp [08:59:14]Write 4 bytes [08:59:14]NVStorageSaveData done [08:59:14]ExternCall_PrintAddStr [08:59:14]wPrintStart [08:59:14]Write to MH i2c: 01 00 00 F1 18 09 [08:59:14]Write i2c OK [08:59:14]MH_I2C_Read... [08:59:14]Read from MH i2c: 01 [08:59:14]MH_I2C_Read... [08:59:14]Read from MH i2c: 01 07 00 [08:59:14]MH_I2C_Read... [08:59:14]Read from MH i2c: 01 07 00 F1 18 00 00 00 00 00 FF 0F 1E [08:59:14]RasterBufferAndPrint [08:59:14]line Счет N : (3)4347 [08:59:14]line ИНН: 02508201610067 [08:59:14]line Контрольно-Кассовый Чек [08:59:14]line ПРОДАЖА [08:59:14]line Товар: 4870001570903 [08:59:14]line Напиток DADA ябл,клубника ПЭТ 1л [08:59:14]line 1.000 * 165.00 [08:59:14]line = 165.00 [08:59:14]line НДС 12% НСП 1% [08:59:14]line > о реализуемом товаре [08:59:14]line Товар: 4660085515163 [08:59:14]line Шок Батончик Сникерс супер 95/80г [08:59:14]line 1.000 * 90.00 [08:59:14]line = 90.00 [08:59:14]line НДС 12% НСП 1% [08:59:14]line > о реализуемом товаре [08:59:14]line Товар: 40099484 [08:59:14]line Жев Orbit White под [08:59:14]line 2.000 * 45.00 [08:59:14]line = 90.00 [08:59:14]line НДС 12% НСП 1% [08:59:14]line > о реализуемом товаре [08:59:14]line ИТОГО: 345.00 [08:59:14]line НСП 1% : 3.06 [08:59:14]line НДС 12% : 36.64 [08:59:14]line Наличными: 0.00 [08:59:14]line Безнал.: 345.00 [08:59:14]line Место: АЗС № 116 "Партнер Нефть" [08:59:14]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [08:59:14]line СНО: Общий режим [08:59:14]line Чек 11 04.06.2024 08:59 [08:59:14]line Смена: 83 ФФД: 1.0 [08:59:14]line ЗНМ: 0300000233 [08:59:14]line РНМ: 0000000000145775 [08:59:14]line Версия ККМ: v1.0 [08:59:14]line Платежная система: Бакай Банк [08:59:14]line ФМ: 0000000000959360 [08:59:14]line ФД: 4094 [08:59:14]line ФПД: 249717462248898 [08:59:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T085920&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4094&fm=249717462248898&tin=02508201610067®Number=0000000000145775&sum=34500 [08:59:14]OFD Sender: Processing packet 4094 [packets to send 2, broken 1] [08:59:14]ProducePacketName [08:59:14]name=ofd_packets/00004094 [08:59:14]OFD Sender: To server: pG, [08:59:14]CommunicateWithHost lk.salyk.kg:30040 [08:59:14]ConnectInit lk.salyk.kg [08:59:14]line 0 [08:59:14]written 0, free lines is 4095 [08:59:14]Connected sock=10 [08:59:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 19 02 00 00 D3 12 11 02 26 81 5A 03 01 00 03 00 05 02 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 39 30 33 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D1 8F D0 B1 D0 BB 2C D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 58 00 8A 04 08 00 34 30 30 39 39 34 38 34 06 04 19 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 86 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 68 D7 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FE 0F 00 00 35 04 06 00 E3 1D E0 A1 AD C2 B4 AA 18 B7 93 44 7B 6A [08:59:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 DE B2 47 00 14 72 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FE 0F 00 00 F4 03 04 00 69 83 5E 66 B6 04 01 00 00 95 0C E3 36 4D CE 42 B3 [08:59:15]CommunicateWithHost err = 0 [08:59:15]CheckOFDResponse [08:59:15]1017 (14) - 77093643461234 [08:59:15]1041 (16) - 0000000000959360 [08:59:15]1040 (4) - 4094 [08:59:15]1012 (4) - 04.06.2024 03:00 [08:59:15]1206 (1) - 0 [08:59:15]OFD Sender: Remove packet 4094 [08:59:15]ProducePacketName [08:59:15]name=ofd_packets/00004094 [08:59:15]NVStorageDeleteData [08:59:15]Write to MH i2c: 01 00 00 29 19 42 [08:59:15]Write i2c OK [08:59:15]MH_I2C_Read... [08:59:15]Read from MH i2c: 01 [08:59:15]MH_I2C_Read... [08:59:15]Read from MH i2c: 01 07 00 [08:59:15]MH_I2C_Read... [08:59:15]Read from MH i2c: 01 07 00 29 19 00 00 00 00 00 BA 0B 0E [08:59:15]RasterBufferAndPrint [08:59:15]line [08:59:15]line [08:59:15]line [08:59:15]line [08:59:15]line [08:59:15]written 0, free lines is 3007 [08:59:15]MH_Cut [08:59:15]Write to MH i2c: D1 01 00 30 19 01 1B [08:59:15]Write i2c OK [08:59:15]MH_I2C_Read... [08:59:15]Read from MH i2c: D1 [08:59:15]MH_I2C_Read... [08:59:15]Read from MH i2c: D1 01 00 [08:59:15]MH_I2C_Read... [08:59:15]Read from MH i2c: D1 01 00 30 19 00 1A [08:59:15]Write to MH i2c: 01 00 00 31 19 4A [08:59:15]Write i2c OK [08:59:15]MH_I2C_Read... [08:59:15]OFD Sender: No OFD packet to send [08:59:16]*** Cut start [08:59:16]*** Partial cut [08:59:16]*** CUTSNS_PIN = 1 [08:59:16]*** CUTSNS_PIN = 0 [08:59:16]*** Brake cut motor [08:59:17]Read from MH i2c: 01 [08:59:17]MH_I2C_Read... [08:59:17]*** Stop cut motor [08:59:17]*** Cut end [08:59:17]Read from MH i2c: 01 07 00 [08:59:17]MH_I2C_Read... [08:59:17]Read from MH i2c: 01 07 00 31 19 00 00 00 00 00 FF 0F 5F [08:59:17]process_action close_receipt done [08:59:17]requested_data is exist [08:59:17]produce_requested_data [08:59:17]requested_item fm.sn is exist - process it [08:59:17]wFMCommunicate request_size=4 [08:59:17]MH_SAM_APDU [08:59:17]CAPDU: 80 11 00 00 [08:59:17]Write to MH i2c: E2 08 00 32 19 80 11 00 00 00 00 00 00 C5 [08:59:17]Write i2c OK [08:59:17]MH_I2C_Read... [08:59:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:59:17]Read from MH i2c: E2 [08:59:17]MH_I2C_Read... [08:59:17]Read from MH i2c: E2 17 00 [08:59:17]MH_I2C_Read... [08:59:17]Read from MH i2c: E2 17 00 32 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 18 [08:59:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:59:17]wFMCommunicate OK [08:59:17]requested_item fd.num is exist - process it [08:59:17]SAM_PROTO_GetFieldsCounters [08:59:17]wFMCommunicate request_size=4 [08:59:17]MH_SAM_APDU [08:59:17]CAPDU: 80 13 00 00 [08:59:17]Write to MH i2c: E2 08 00 33 19 80 13 00 00 00 00 00 00 C8 [08:59:17]Write i2c OK [08:59:17]MH_I2C_Read... [08:59:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:59:17]Read from MH i2c: E2 [08:59:17]MH_I2C_Read... [08:59:17]Read from MH i2c: E2 62 00 [08:59:17]MH_I2C_Read... [08:59:17]Read from MH i2c: E2 62 00 33 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 FE 0F 00 00 0E 04 04 00 53 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 6E [08:59:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 FE 0F 00 00 0E 04 04 00 53 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:59:17]wFMCommunicate OK [08:59:17]SAM_PROTO_GetFieldsCounters done [08:59:17]requested_item shift.num is exist - process it [08:59:17]requested_item shift.opened is exist - process it [08:59:17]req_shift_opened [08:59:17]FM_GetShiftState [08:59:17]SAM_PROTO_GetShiftState [08:59:17]wFMCommunicate request_size=4 [08:59:17]MH_SAM_APDU [08:59:17]CAPDU: 80 13 01 00 [08:59:17]Write to MH i2c: E2 08 00 34 19 80 13 01 00 00 00 00 00 CA [08:59:17]Write i2c OK [08:59:17]MH_I2C_Read... [08:59:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:59:17]Read from MH i2c: E2 [08:59:17]MH_I2C_Read... [08:59:17]Read from MH i2c: E2 0E 00 [08:59:17]MH_I2C_Read... [08:59:17]Read from MH i2c: E2 0E 00 34 19 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 63 [08:59:17]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [08:59:17]wFMCommunicate OK [08:59:17]SAM_PROTO_GetShiftState done [08:59:17]FM_GetShiftState done [08:59:17]req_shift_opened done [08:59:17]requested_item shift.open_date is exist - process it [08:59:17]req_shift_open_date [08:59:17]req_shift_open_date done [08:59:17]produce_requested_data done [08:59:17]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4094,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [08:59:17]process_action_free close_receipt [08:59:17]json_value_free [08:59:17]json_value_free done [08:59:17]process_json_proto returns [08:59:17]Send response to host [08:59:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4094,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [08:59:17]free response buf [08:59:17]execute_script done [08:59:17]execute_script returns [08:59:17]free content buf [08:59:17]Sock 8.Close socket [08:59:17]Sock 8.Thread stoped [08:59:20]OFD Sender: No OFD packet to send [08:59:25]OFD Sender: No OFD packet to send [08:59:30]OFD Sender: No OFD packet to send [08:59:35]OFD Sender: No OFD packet to send [08:59:40]OFD Sender: No OFD packet to send [08:59:45]OFD Sender: No OFD packet to send [08:59:50]OFD Sender: No OFD packet to send [08:59:55]OFD Sender: No OFD packet to send [09:00:00]OFD Sender: No OFD packet to send [09:00:05]OFD Sender: No OFD packet to send [09:00:10]OFD Sender: No OFD packet to send [09:00:15]OFD Sender: No OFD packet to send [09:00:20]OFD Sender: No OFD packet to send [09:00:25]OFD Sender: No OFD packet to send [09:00:30]OFD Sender: No OFD packet to send [09:00:35]OFD Sender: No OFD packet to send [09:00:40]OFD Sender: No OFD packet to send [09:00:45]OFD Sender: No OFD packet to send [09:00:50]OFD Sender: No OFD packet to send [09:00:55]OFD Sender: No OFD packet to send [09:01:00]OFD Sender: No OFD packet to send [09:01:05]OFD Sender: No OFD packet to send [09:01:10]OFD Sender: No OFD packet to send [09:01:15]OFD Sender: No OFD packet to send [09:01:20]OFD Sender: No OFD packet to send [09:01:25]OFD Sender: No OFD packet to send [09:01:30]OFD Sender: No OFD packet to send [09:01:35]OFD Sender: No OFD packet to send [09:01:40]OFD Sender: No OFD packet to send [09:01:45]OFD Sender: No OFD packet to send [09:01:50]OFD Sender: No OFD packet to send [09:01:55]OFD Sender: No OFD packet to send [09:02:00]OFD Sender: No OFD packet to send [09:02:05]OFD Sender: No OFD packet to send [09:02:10]OFD Sender: No OFD packet to send [09:02:15]OFD Sender: No OFD packet to send [09:02:20]OFD Sender: No OFD packet to send [09:02:25]OFD Sender: No OFD packet to send [09:02:30]OFD Sender: No OFD packet to send [09:02:35]OFD Sender: No OFD packet to send [09:02:40]OFD Sender: No OFD packet to send [09:02:45]OFD Sender: No OFD packet to send [09:02:50]OFD Sender: No OFD packet to send [09:02:55]OFD Sender: No OFD packet to send [09:03:00]OFD Sender: No OFD packet to send [09:03:05]OFD Sender: No OFD packet to send [09:03:10]OFD Sender: No OFD packet to send [09:03:15]OFD Sender: No OFD packet to send [09:03:20]OFD Sender: No OFD packet to send [09:03:25]OFD Sender: No OFD packet to send [09:03:30]OFD Sender: No OFD packet to send [09:03:35]OFD Sender: No OFD packet to send [09:03:40]OFD Sender: No OFD packet to send [09:03:45]OFD Sender: No OFD packet to send [09:03:50]OFD Sender: No OFD packet to send [09:03:55]OFD Sender: No OFD packet to send [09:04:00]OFD Sender: No OFD packet to send [09:04:05]OFD Sender: No OFD packet to send [09:04:10]OFD Sender: No OFD packet to send [09:04:15]OFD Sender: No OFD packet to send [09:04:20]OFD Sender: No OFD packet to send [09:04:25]OFD Sender: No OFD packet to send [09:04:30]OFD Sender: No OFD packet to send [09:04:35]OFD Sender: No OFD packet to send [09:04:40]OFD Sender: No OFD packet to send [09:04:45]OFD Sender: No OFD packet to send [09:04:50]OFD Sender: No OFD packet to send [09:04:55]OFD Sender: No OFD packet to send [09:05:00]OFD Sender: No OFD packet to send [09:05:05]OFD Sender: No OFD packet to send [09:05:10]OFD Sender: No OFD packet to send [09:05:15]OFD Sender: No OFD packet to send [09:05:20]OFD Sender: No OFD packet to send [09:05:25]OFD Sender: No OFD packet to send [09:05:30]OFD Sender: No OFD packet to send [09:05:35]OFD Sender: No OFD packet to send [09:05:40]OFD Sender: No OFD packet to send [09:05:45]OFD Sender: No OFD packet to send [09:05:50]OFD Sender: No OFD packet to send [09:05:55]OFD Sender: No OFD packet to send [09:06:00]OFD Sender: No OFD packet to send [09:06:05]OFD Sender: No OFD packet to send [09:06:10]OFD Sender: No OFD packet to send [09:06:15]OFD Sender: No OFD packet to send [09:06:20]OFD Sender: No OFD packet to send [09:06:25]OFD Sender: No OFD packet to send [09:06:30]OFD Sender: No OFD packet to send [09:06:35]OFD Sender: No OFD packet to send [09:06:40]OFD Sender: No OFD packet to send [09:06:45]OFD Sender: No OFD packet to send [09:06:50]OFD Sender: No OFD packet to send [09:06:55]OFD Sender: No OFD packet to send [09:07:00]OFD Sender: No OFD packet to send [09:07:05]OFD Sender: No OFD packet to send [09:07:10]OFD Sender: No OFD packet to send [09:07:15]OFD Sender: No OFD packet to send [09:07:20]OFD Sender: No OFD packet to send [09:07:25]OFD Sender: No OFD packet to send [09:07:30]OFD Sender: No OFD packet to send [09:07:35]OFD Sender: No OFD packet to send [09:07:40]OFD Sender: No OFD packet to send [09:07:45]OFD Sender: No OFD packet to send [09:07:50]OFD Sender: No OFD packet to send [09:07:55]OFD Sender: No OFD packet to send [09:08:01]OFD Sender: No OFD packet to send [09:08:06]OFD Sender: No OFD packet to send [09:08:11]OFD Sender: No OFD packet to send [09:08:16]OFD Sender: No OFD packet to send [09:08:21]OFD Sender: No OFD packet to send [09:08:26]OFD Sender: No OFD packet to send [09:08:31]OFD Sender: No OFD packet to send [09:08:36]OFD Sender: No OFD packet to send [09:08:41]OFD Sender: No OFD packet to send [09:08:46]OFD Sender: No OFD packet to send [09:08:51]OFD Sender: No OFD packet to send [09:08:56]OFD Sender: No OFD packet to send [09:09:01]OFD Sender: No OFD packet to send [09:09:06]OFD Sender: No OFD packet to send [09:09:11]OFD Sender: No OFD packet to send [09:09:16]OFD Sender: No OFD packet to send [09:09:21]OFD Sender: No OFD packet to send [09:09:26]OFD Sender: No OFD packet to send [09:09:31]OFD Sender: No OFD packet to send [09:09:36]OFD Sender: No OFD packet to send [09:09:41]OFD Sender: No OFD packet to send [09:09:46]OFD Sender: No OFD packet to send [09:09:51]OFD Sender: No OFD packet to send [09:09:56]OFD Sender: No OFD packet to send [09:10:01]OFD Sender: No OFD packet to send [09:10:06]OFD Sender: No OFD packet to send [09:10:11]OFD Sender: No OFD packet to send [09:10:16]OFD Sender: No OFD packet to send [09:10:21]OFD Sender: No OFD packet to send [09:10:26]OFD Sender: No OFD packet to send [09:10:31]OFD Sender: No OFD packet to send [09:10:36]OFD Sender: No OFD packet to send [09:10:41]OFD Sender: No OFD packet to send [09:10:46]OFD Sender: No OFD packet to send [09:10:51]OFD Sender: No OFD packet to send [09:10:56]OFD Sender: No OFD packet to send [09:11:01]OFD Sender: No OFD packet to send [09:11:06]OFD Sender: No OFD packet to send [09:11:11]OFD Sender: No OFD packet to send [09:11:16]OFD Sender: No OFD packet to send [09:11:21]OFD Sender: No OFD packet to send [09:11:26]OFD Sender: No OFD packet to send [09:11:31]OFD Sender: No OFD packet to send [09:11:36]OFD Sender: No OFD packet to send [09:11:41]OFD Sender: No OFD packet to send [09:11:46]OFD Sender: No OFD packet to send [09:11:51]OFD Sender: No OFD packet to send [09:11:56]OFD Sender: No OFD packet to send [09:12:01]OFD Sender: No OFD packet to send [09:12:06]OFD Sender: No OFD packet to send [09:12:11]OFD Sender: No OFD packet to send [09:12:16]OFD Sender: No OFD packet to send [09:12:21]OFD Sender: No OFD packet to send [09:12:26]OFD Sender: No OFD packet to send [09:12:31]OFD Sender: No OFD packet to send [09:12:36]OFD Sender: No OFD packet to send [09:12:41]OFD Sender: No OFD packet to send [09:12:46]OFD Sender: No OFD packet to send [09:12:51]OFD Sender: No OFD packet to send [09:12:56]OFD Sender: No OFD packet to send [09:13:01]OFD Sender: No OFD packet to send [09:13:06]OFD Sender: No OFD packet to send [09:13:11]OFD Sender: No OFD packet to send [09:13:16]OFD Sender: No OFD packet to send [09:13:21]OFD Sender: No OFD packet to send [09:13:26]OFD Sender: No OFD packet to send [09:13:31]OFD Sender: No OFD packet to send [09:13:36]OFD Sender: No OFD packet to send [09:13:41]OFD Sender: No OFD packet to send [09:13:46]OFD Sender: No OFD packet to send [09:13:51]OFD Sender: No OFD packet to send [09:13:56]OFD Sender: No OFD packet to send [09:14:01]OFD Sender: No OFD packet to send [09:14:06]OFD Sender: No OFD packet to send [09:14:11]OFD Sender: No OFD packet to send [09:14:16]OFD Sender: No OFD packet to send [09:14:21]OFD Sender: No OFD packet to send [09:14:26]OFD Sender: No OFD packet to send [09:14:31]OFD Sender: No OFD packet to send [09:14:36]OFD Sender: No OFD packet to send [09:14:41]OFD Sender: No OFD packet to send [09:14:46]OFD Sender: No OFD packet to send [09:14:51]OFD Sender: No OFD packet to send [09:14:56]OFD Sender: No OFD packet to send [09:15:01]OFD Sender: No OFD packet to send [09:15:06]OFD Sender: No OFD packet to send [09:15:11]OFD Sender: No OFD packet to send [09:15:16]OFD Sender: No OFD packet to send [09:15:21]OFD Sender: No OFD packet to send [09:15:26]OFD Sender: No OFD packet to send [09:15:31]OFD Sender: No OFD packet to send [09:15:36]OFD Sender: No OFD packet to send [09:15:41]OFD Sender: No OFD packet to send [09:15:46]OFD Sender: No OFD packet to send [09:15:51]OFD Sender: No OFD packet to send [09:15:56]OFD Sender: No OFD packet to send [09:16:01]OFD Sender: No OFD packet to send [09:16:06]OFD Sender: No OFD packet to send [09:16:11]OFD Sender: No OFD packet to send [09:16:16]OFD Sender: No OFD packet to send [09:16:21]OFD Sender: No OFD packet to send [09:16:26]OFD Sender: No OFD packet to send [09:16:31]OFD Sender: No OFD packet to send [09:16:36]OFD Sender: No OFD packet to send [09:16:41]OFD Sender: No OFD packet to send [09:16:46]OFD Sender: No OFD packet to send [09:16:51]OFD Sender: No OFD packet to send [09:16:56]OFD Sender: No OFD packet to send [09:17:01]OFD Sender: No OFD packet to send [09:17:06]OFD Sender: No OFD packet to send [09:17:11]OFD Sender: No OFD packet to send [09:17:16]OFD Sender: No OFD packet to send [09:17:21]OFD Sender: No OFD packet to send [09:17:26]OFD Sender: No OFD packet to send [09:17:31]OFD Sender: No OFD packet to send [09:17:36]OFD Sender: No OFD packet to send [09:17:41]OFD Sender: No OFD packet to send [09:17:46]OFD Sender: No OFD packet to send [09:17:51]OFD Sender: No OFD packet to send [09:17:56]OFD Sender: No OFD packet to send [09:18:01]OFD Sender: No OFD packet to send [09:18:06]OFD Sender: No OFD packet to send [09:18:11]OFD Sender: No OFD packet to send [09:18:16]OFD Sender: No OFD packet to send [09:18:16]accept exits with 9 [09:18:16]New connection [09:18:16]New thread 3067370852 created [09:18:16]Thread 3067227492 joined [09:18:16]Waiting for new connection... [09:18:16] Sock 9.Parse request [09:18:16]Sock 9.Check first char [09:18:16]Sock 9.First char is OK [09:18:16]request: POST /json_proto HTTP/1.0 [09:18:16]Method: POST [09:18:16]URL: /json_proto [09:18:16]Method is POST - this is cgi request [09:18:16]url: /json_proto [09:18:16]query_string will be loaded in cgi processing [09:18:16]execute_cgi json_proto POST (null) [09:18:16]execute_cgi path=json_proto method=POST [09:18:16]POST find Content-Length [09:18:16]Host: 172.17.56.68:8080 [09:18:16]Content-Length: 808 [09:18:16]Content-Type: application/json [09:18:16] [09:18:16]POST finish read [09:18:16]Found Content-Length = 808 [09:18:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4348", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 53.00, "quantity" : 2.000, "sum" : 106.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 106.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:18:16]execute_script... [09:18:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4348", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 53.00, "quantity" : 2.000, "sum" : 106.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 106.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:18:16]POST & json_proto [09:18:16]process_json_proto [09:18:16]json parsed OK: [09:18:16]protocol is kg_v1.0 [09:18:16]action value=close_receipt [09:18:16]process_action close_receipt [09:18:16]cmd_close_receipt [09:18:16]MH_GetDate [09:18:16]Write to MH i2c: F0 00 00 35 19 3D [09:18:16]Write i2c OK [09:18:16]MH_I2C_Read... [09:18:16]Read from MH i2c: F0 [09:18:16]MH_I2C_Read... [09:18:16]Read from MH i2c: F0 09 00 [09:18:16]MH_I2C_Read... [09:18:16]Read from MH i2c: F0 09 00 35 19 00 E0 DB 5E 66 42 69 5C 66 32 [09:18:16]GetLastDocTimeStamp 1717491560 [09:18:16]current date 1717492704 [09:18:16]FM_GetShiftState [09:18:16]SAM_PROTO_GetShiftState [09:18:16]wFMCommunicate request_size=4 [09:18:16]MH_SAM_APDU [09:18:16]CAPDU: 80 13 01 00 [09:18:16]Write to MH i2c: E2 08 00 36 19 80 13 01 00 00 00 00 00 CC [09:18:16]Write i2c OK [09:18:16]MH_I2C_Read... [09:18:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:18:16]Read from MH i2c: E2 [09:18:16]MH_I2C_Read... [09:18:16]Read from MH i2c: E2 0E 00 [09:18:16]MH_I2C_Read... [09:18:16]Read from MH i2c: E2 0E 00 36 19 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 65 [09:18:16]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [09:18:16]wFMCommunicate OK [09:18:16]SAM_PROTO_GetShiftState done [09:18:16]FM_GetShiftState done [09:18:16]opened in 1717459822 [09:18:16]opened+sec_in_day 1717546222 [09:18:16]quantity*price = 10600 [09:18:16]sum+1 = 10601 [09:18:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 106.00 НСП 1% : 0.94 НДС 12% : 11.26 Наличными: 0.00 Безнал.: 106.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 12 04.06.2024 09:18 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4095 ФПД: 53167386095570 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T091824&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4095&fm=53167386095570&tin=02508201610067®Number=0000000000145775&sum=10600 0 [09:18:17]StoreToDocumentArchive [09:18:17]shift 83 fd 4095 [09:18:17]save to /storage/0083/doc_00004095 [09:18:17]save last doc name /storage/0083/doc_00004095 to /storage/kkm_last_doc_name [09:18:17]save OK [09:18:17]Clear old archive folders... [09:18:17]ProcessDocumentItem done err = 0, tmpTLVsize=281 [09:18:17]tlvbuf is B6F0E200 [09:18:17]SAM_PROTO_ClearQueue [09:18:17]wFMCommunicate request_size=4 [09:18:17]MH_SAM_APDU [09:18:17]CAPDU: 80 09 00 00 [09:18:17]Write to MH i2c: E2 08 00 43 19 80 09 00 00 00 00 00 00 CE [09:18:17]Write i2c OK [09:18:17]MH_I2C_Read... [09:18:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:18:17]Read from MH i2c: E2 [09:18:17]MH_I2C_Read... [09:18:17]Read from MH i2c: E2 03 00 [09:18:17]MH_I2C_Read... [09:18:17]Read from MH i2c: E2 03 00 43 19 00 90 00 D0 [09:18:17]RAPDU: 90 00 [09:18:17]wFMCommunicate OK [09:18:17]SAM_PROTO_ClearQueue done [09:18:17]KKMCreateOFDPacket [09:18:17]OFDProtocolAddRootSTLVToBuf [09:18:17]FM_MakeSignedData [09:18:17]FM_MakeSignedData [09:18:17]SAM_PROTO_SignData [09:18:17]wFMCommunicate request_size=4 [09:18:17]MH_SAM_APDU [09:18:17]CAPDU: 80 0D 01 02 [09:18:17]Write to MH i2c: E2 08 00 44 19 80 0D 01 02 00 00 00 00 D6 [09:18:17]Write i2c OK [09:18:17]MH_I2C_Read... [09:18:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:18:18]Read from MH i2c: E2 [09:18:18]MH_I2C_Read... [09:18:18]Read from MH i2c: E2 03 00 [09:18:18]MH_I2C_Read... [09:18:18]Read from MH i2c: E2 03 00 44 19 00 90 00 D1 [09:18:18]RAPDU: 90 00 [09:18:18]wFMCommunicate OK [09:18:18]wFMCommunicate request_size=255 [09:18:18]MH_SAM_APDU [09:18:18]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 68 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 E0 DB 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 [09:18:18]Write to MH i2c: E2 02 01 45 19 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 68 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 E0 DB 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 40 [09:18:18]Write i2c OK [09:18:18]MH_I2C_Read... [09:18:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:18:18]Read from MH i2c: E2 [09:18:18]MH_I2C_Read... [09:18:18]Read from MH i2c: E2 03 00 [09:18:18]MH_I2C_Read... [09:18:18]Read from MH i2c: E2 03 00 45 19 00 90 00 D2 [09:18:18]RAPDU: 90 00 [09:18:18]wFMCommunicate OK [09:18:18]wFMCommunicate request_size=40 [09:18:18]MH_SAM_APDU [09:18:18]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FF 0F 00 00 35 04 06 00 30 5A FF 29 6F D2 [09:18:18]Write to MH i2c: E2 2B 00 46 19 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FF 0F 00 00 35 04 06 00 30 5A FF 29 6F D2 00 00 97 [09:18:18]Write i2c OK [09:18:18]MH_I2C_Read... [09:18:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:18:18]Read from MH i2c: E2 [09:18:18]MH_I2C_Read... [09:18:18]Read from MH i2c: E2 03 00 [09:18:18]MH_I2C_Read... [09:18:18]Read from MH i2c: E2 03 00 46 19 00 90 00 D3 [09:18:18]RAPDU: 90 00 [09:18:18]wFMCommunicate OK [09:18:18]wFMCommunicate request_size=4 [09:18:18]MH_SAM_APDU [09:18:18]CAPDU: 80 0D 03 02 [09:18:18]Write to MH i2c: E2 08 00 47 19 80 0D 03 02 00 00 00 00 DB [09:18:18]Write i2c OK [09:18:18]MH_I2C_Read... [09:18:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:18:18]Read from MH i2c: E2 [09:18:18]MH_I2C_Read... [09:18:18]Read from MH i2c: E2 0B 00 [09:18:18]MH_I2C_Read... [09:18:18]Read from MH i2c: E2 0B 00 47 19 00 70 83 F4 A1 F2 4E 0F 11 90 00 C4 [09:18:18]RAPDU: 70 83 F4 A1 F2 4E 0F 11 90 00 [09:18:18]wFMCommunicate OK [09:18:18]SAM_PROTO_SignData done [09:18:18]FM_MakeSignedData done [09:18:18]CreateOFDProtocolMessage [09:18:18]wFMCommunicate request_size=4 [09:18:18]MH_SAM_APDU [09:18:18]CAPDU: 80 11 00 00 [09:18:18]Write to MH i2c: E2 08 00 48 19 80 11 00 00 00 00 00 00 DB [09:18:18]Write i2c OK [09:18:18]MH_I2C_Read... [09:18:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:18:18]Read from MH i2c: E2 [09:18:18]MH_I2C_Read... [09:18:18]Read from MH i2c: E2 17 00 [09:18:18]MH_I2C_Read... [09:18:18]Read from MH i2c: E2 17 00 48 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 2E [09:18:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:18:18]wFMCommunicate OK [09:18:18]CreateOFDProtocolMessage done [09:18:18]OFDSenderStorePacket 4095 [09:18:18]StoreOFDPacket docnum=4095 [09:18:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2D 01 00 00 4C 4F 25 01 2E F2 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 68 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 E0 DB 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FF 0F 00 00 35 04 06 00 30 5A FF 29 6F D2 70 83 F4 A1 F2 4E 0F 11 [09:18:18]CheckFolder [09:18:18]dirname=/storage/ofd_packets [09:18:18]CheckFolder done [09:18:18]ProducePacketName [09:18:18]name=ofd_packets/00004095 [09:18:18]NVStorageSaveData ofd_packets/00004095 [09:18:18]File name is /storage/ofd_packets/00004095 [09:18:18]Write 331 bytes [09:18:18]NVStorageSaveData done [09:18:18]OFDSenderStorePacket done [09:18:18]KKMCreateOFDPacket done [09:18:18]NVStorageSaveData kkm_last_timestamp [09:18:18]File name is /storage/kkm_last_timestamp [09:18:18]Write 4 bytes [09:18:18]NVStorageSaveData done [09:18:18]ExternCall_PrintAddStr [09:18:18]wPrintStart [09:18:18]Write to MH i2c: 01 00 00 49 19 62 [09:18:18]Write i2c OK [09:18:18]MH_I2C_Read... [09:18:18]Read from MH i2c: 01 [09:18:18]MH_I2C_Read... [09:18:18]Read from MH i2c: 01 07 00 [09:18:18]MH_I2C_Read... [09:18:18]Read from MH i2c: 01 07 00 49 19 00 00 00 00 00 FF 0F 77 [09:18:18]RasterBufferAndPrint [09:18:18]line Счет N : (3)4348 [09:18:18]line ИНН: 02508201610067 [09:18:18]line Контрольно-Кассовый Чек [09:18:18]line ПРОДАЖА [09:18:18]line Товар: 4607065001445 [09:18:18]line Шок батончик Snickers 50,5г [09:18:18]line 2.000 * 53.00 [09:18:18]line = 106.00 [09:18:18]line НДС 12% НСП 1% [09:18:18]line > о реализуемом товаре [09:18:18]line ИТОГО: 106.00 [09:18:18]line НСП 1% : 0.94 [09:18:18]line НДС 12% : 11.26 [09:18:18]line Наличными: 0.00 [09:18:18]line Безнал.: 106.00 [09:18:18]line Место: АЗС № 116 "Партнер Нефть" [09:18:18]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [09:18:18]line СНО: Общий режим [09:18:18]line Чек 12 04.06.2024 09:18 [09:18:18]line Смена: 83 ФФД: 1.0 [09:18:18]line ЗНМ: 0300000233 [09:18:18]line РНМ: 0000000000145775 [09:18:18]line Версия ККМ: v1.0 [09:18:18]line Платежная система: О! деньги [09:18:18]line ФМ: 0000000000959360 [09:18:18]line ФД: 4095 [09:18:18]line ФПД: 53167386095570 [09:18:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T091824&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4095&fm=53167386095570&tin=02508201610067®Number=0000000000145775&sum=10600 [09:18:18]line 0 [09:18:18]OFD Sender: Processing packet 4095 [packets to send 2, broken 1] [09:18:18]ProducePacketName [09:18:18]name=ofd_packets/00004095 [09:18:18]OFD Sender: To server: pG, [09:18:18]CommunicateWithHost lk.salyk.kg:30040 [09:18:18]ConnectInit lk.salyk.kg [09:18:18]written 0, free lines is 4095 [09:18:18]Connected sock=10 [09:18:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2D 01 00 00 4C 4F 25 01 2E F2 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 68 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 E0 DB 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FF 0F 00 00 35 04 06 00 30 5A FF 29 6F D2 70 83 F4 A1 F2 4E 0F 11 [09:18:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 ED 2E 47 00 B7 FF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 FF 0F 00 00 F4 03 04 00 E1 87 5E 66 B6 04 01 00 00 AF 25 A2 E4 0A F1 E5 A8 [09:18:19]CommunicateWithHost err = 0 [09:18:19]CheckOFDResponse [09:18:19]1017 (14) - 77093643461234 [09:18:19]1041 (16) - 0000000000959360 [09:18:19]1040 (4) - 4095 [09:18:19]1012 (4) - 04.06.2024 03:20 [09:18:19]1206 (1) - 0 [09:18:19]OFD Sender: Remove packet 4095 [09:18:19]ProducePacketName [09:18:19]name=ofd_packets/00004095 [09:18:19]NVStorageDeleteData [09:18:19]Write to MH i2c: 01 00 00 73 19 8C [09:18:19]Write i2c OK [09:18:19]MH_I2C_Read... [09:18:19]Read from MH i2c: 01 [09:18:19]MH_I2C_Read... [09:18:19]Read from MH i2c: 01 07 00 [09:18:19]MH_I2C_Read... [09:18:19]Read from MH i2c: 01 07 00 73 19 00 00 00 00 00 A2 0C 41 [09:18:19]RasterBufferAndPrint [09:18:19]line [09:18:19]line [09:18:19]line [09:18:19]line [09:18:19]line [09:18:19]written 0, free lines is 3241 [09:18:19]MH_Cut [09:18:19]Write to MH i2c: D1 01 00 7A 19 01 65 [09:18:19]Write i2c OK [09:18:19]MH_I2C_Read... [09:18:19]Read from MH i2c: D1 [09:18:19]MH_I2C_Read... [09:18:19]Read from MH i2c: D1 01 00 [09:18:19]MH_I2C_Read... [09:18:19]Read from MH i2c: D1 01 00 7A 19 00 64 [09:18:19]Write to MH i2c: 01 00 00 7B 19 94 [09:18:19]Write i2c OK [09:18:19]MH_I2C_Read... [09:18:19]OFD Sender: No OFD packet to send [09:18:20]*** Cut start [09:18:20]*** Partial cut [09:18:20]*** CUTSNS_PIN = 1 [09:18:20]*** CUTSNS_PIN = 0 [09:18:20]*** Brake cut motor [09:18:20]Read from MH i2c: 01 [09:18:20]MH_I2C_Read... [09:18:20]*** Stop cut motor [09:18:20]*** Cut end [09:18:20]Read from MH i2c: 01 07 00 [09:18:20]MH_I2C_Read... [09:18:20]Read from MH i2c: 01 07 00 7B 19 00 00 00 00 00 FF 0F A9 [09:18:20]process_action close_receipt done [09:18:20]requested_data is exist [09:18:20]produce_requested_data [09:18:20]requested_item fm.sn is exist - process it [09:18:20]wFMCommunicate request_size=4 [09:18:20]MH_SAM_APDU [09:18:20]CAPDU: 80 11 00 00 [09:18:20]Write to MH i2c: E2 08 00 7C 19 80 11 00 00 00 00 00 00 0F [09:18:20]Write i2c OK [09:18:20]MH_I2C_Read... [09:18:20]Read from MH i2c: E2 [09:18:20]MH_I2C_Read... [09:18:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:18:20]Read from MH i2c: E2 17 00 [09:18:20]MH_I2C_Read... [09:18:20]Read from MH i2c: E2 17 00 7C 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 62 [09:18:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:18:20]wFMCommunicate OK [09:18:20]requested_item fd.num is exist - process it [09:18:20]SAM_PROTO_GetFieldsCounters [09:18:20]wFMCommunicate request_size=4 [09:18:20]MH_SAM_APDU [09:18:20]CAPDU: 80 13 00 00 [09:18:20]Write to MH i2c: E2 08 00 7D 19 80 13 00 00 00 00 00 00 12 [09:18:20]Write i2c OK [09:18:20]MH_I2C_Read... [09:18:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:18:21]Read from MH i2c: E2 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 62 00 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 62 00 7D 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 FF 0F 00 00 0E 04 04 00 53 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 BC [09:18:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 FF 0F 00 00 0E 04 04 00 53 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 [09:18:21]wFMCommunicate OK [09:18:21]SAM_PROTO_GetFieldsCounters done [09:18:21]requested_item shift.num is exist - process it [09:18:21]requested_item shift.opened is exist - process it [09:18:21]req_shift_opened [09:18:21]FM_GetShiftState [09:18:21]SAM_PROTO_GetShiftState [09:18:21]wFMCommunicate request_size=4 [09:18:21]MH_SAM_APDU [09:18:21]CAPDU: 80 13 01 00 [09:18:21]Write to MH i2c: E2 08 00 7E 19 80 13 01 00 00 00 00 00 14 [09:18:21]Write i2c OK [09:18:21]MH_I2C_Read... [09:18:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:18:21]Read from MH i2c: E2 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 0E 00 [09:18:21]MH_I2C_Read... [09:18:21]Read from MH i2c: E2 0E 00 7E 19 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 AD [09:18:21]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [09:18:21]wFMCommunicate OK [09:18:21]SAM_PROTO_GetShiftState done [09:18:21]FM_GetShiftState done [09:18:21]req_shift_opened done [09:18:21]requested_item shift.open_date is exist - process it [09:18:21]req_shift_open_date [09:18:21]req_shift_open_date done [09:18:21]produce_requested_data done [09:18:21]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4095,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [09:18:21]process_action_free close_receipt [09:18:21]json_value_free [09:18:21]json_value_free done [09:18:21]process_json_proto returns [09:18:21]Send response to host [09:18:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4095,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [09:18:21]free response buf [09:18:21]execute_script done [09:18:21]execute_script returns [09:18:21]free content buf [09:18:21]Sock 9.Close socket [09:18:21]Sock 9.Thread stoped [09:18:24]OFD Sender: No OFD packet to send [09:18:29]OFD Sender: No OFD packet to send [09:18:34]OFD Sender: No OFD packet to send [09:18:39]OFD Sender: No OFD packet to send [09:18:44]OFD Sender: No OFD packet to send [09:18:49]OFD Sender: No OFD packet to send [09:18:54]OFD Sender: No OFD packet to send [09:18:59]OFD Sender: No OFD packet to send [09:19:04]OFD Sender: No OFD packet to send [09:19:09]OFD Sender: No OFD packet to send [09:19:14]OFD Sender: No OFD packet to send [09:19:19]OFD Sender: No OFD packet to send [09:19:24]OFD Sender: No OFD packet to send [09:19:29]OFD Sender: No OFD packet to send [09:19:34]OFD Sender: No OFD packet to send [09:19:39]OFD Sender: No OFD packet to send [09:19:44]OFD Sender: No OFD packet to send [09:19:49]OFD Sender: No OFD packet to send [09:19:54]OFD Sender: No OFD packet to send [09:19:59]OFD Sender: No OFD packet to send [09:20:04]OFD Sender: No OFD packet to send [09:20:09]OFD Sender: No OFD packet to send [09:20:14]OFD Sender: No OFD packet to send [09:20:19]OFD Sender: No OFD packet to send [09:20:24]OFD Sender: No OFD packet to send [09:20:29]OFD Sender: No OFD packet to send [09:20:34]OFD Sender: No OFD packet to send [09:20:39]OFD Sender: No OFD packet to send [09:20:44]OFD Sender: No OFD packet to send [09:20:49]OFD Sender: No OFD packet to send [09:20:54]OFD Sender: No OFD packet to send [09:20:59]OFD Sender: No OFD packet to send [09:21:04]OFD Sender: No OFD packet to send [09:21:09]OFD Sender: No OFD packet to send [09:21:14]OFD Sender: No OFD packet to send [09:21:19]OFD Sender: No OFD packet to send [09:21:24]OFD Sender: No OFD packet to send [09:21:29]OFD Sender: No OFD packet to send [09:21:34]OFD Sender: No OFD packet to send [09:21:39]OFD Sender: No OFD packet to send [09:21:44]OFD Sender: No OFD packet to send [09:21:49]OFD Sender: No OFD packet to send [09:21:54]OFD Sender: No OFD packet to send [09:21:59]OFD Sender: No OFD packet to send [09:22:04]OFD Sender: No OFD packet to send [09:22:09]OFD Sender: No OFD packet to send [09:22:14]OFD Sender: No OFD packet to send [09:22:19]OFD Sender: No OFD packet to send [09:22:24]OFD Sender: No OFD packet to send [09:22:29]OFD Sender: No OFD packet to send [09:22:34]OFD Sender: No OFD packet to send [09:22:39]OFD Sender: No OFD packet to send [09:22:44]OFD Sender: No OFD packet to send [09:22:49]OFD Sender: No OFD packet to send [09:22:54]OFD Sender: No OFD packet to send [09:22:59]OFD Sender: No OFD packet to send [09:23:04]OFD Sender: No OFD packet to send [09:23:09]OFD Sender: No OFD packet to send [09:23:14]OFD Sender: No OFD packet to send [09:23:19]OFD Sender: No OFD packet to send [09:23:24]OFD Sender: No OFD packet to send [09:23:29]OFD Sender: No OFD packet to send [09:23:34]OFD Sender: No OFD packet to send [09:23:39]OFD Sender: No OFD packet to send [09:23:44]OFD Sender: No OFD packet to send [09:23:49]OFD Sender: No OFD packet to send [09:23:54]OFD Sender: No OFD packet to send [09:23:59]OFD Sender: No OFD packet to send [09:24:04]OFD Sender: No OFD packet to send [09:24:09]OFD Sender: No OFD packet to send [09:24:14]OFD Sender: No OFD packet to send [09:24:19]OFD Sender: No OFD packet to send [09:24:24]OFD Sender: No OFD packet to send [09:24:29]OFD Sender: No OFD packet to send [09:24:34]OFD Sender: No OFD packet to send [09:24:39]OFD Sender: No OFD packet to send [09:24:44]OFD Sender: No OFD packet to send [09:24:49]OFD Sender: No OFD packet to send [09:24:54]OFD Sender: No OFD packet to send [09:24:59]OFD Sender: No OFD packet to send [09:25:04]OFD Sender: No OFD packet to send [09:25:09]OFD Sender: No OFD packet to send [09:25:14]OFD Sender: No OFD packet to send [09:25:19]OFD Sender: No OFD packet to send [09:25:24]OFD Sender: No OFD packet to send [09:25:29]OFD Sender: No OFD packet to send [09:25:34]OFD Sender: No OFD packet to send [09:25:39]OFD Sender: No OFD packet to send [09:25:44]OFD Sender: No OFD packet to send [09:25:49]OFD Sender: No OFD packet to send [09:25:54]OFD Sender: No OFD packet to send [09:25:59]OFD Sender: No OFD packet to send [09:26:04]OFD Sender: No OFD packet to send [09:26:09]OFD Sender: No OFD packet to send [09:26:14]OFD Sender: No OFD packet to send [09:26:19]OFD Sender: No OFD packet to send [09:26:24]OFD Sender: No OFD packet to send [09:26:29]OFD Sender: No OFD packet to send [09:26:34]OFD Sender: No OFD packet to send [09:26:39]OFD Sender: No OFD packet to send [09:26:44]OFD Sender: No OFD packet to send [09:26:49]OFD Sender: No OFD packet to send [09:26:54]OFD Sender: No OFD packet to send [09:26:59]OFD Sender: No OFD packet to send [09:27:04]OFD Sender: No OFD packet to send [09:27:09]OFD Sender: No OFD packet to send [09:27:14]OFD Sender: No OFD packet to send [09:27:19]OFD Sender: No OFD packet to send [09:27:24]OFD Sender: No OFD packet to send [09:27:29]OFD Sender: No OFD packet to send [09:27:34]OFD Sender: No OFD packet to send [09:27:39]OFD Sender: No OFD packet to send [09:27:44]OFD Sender: No OFD packet to send [09:27:49]OFD Sender: No OFD packet to send [09:27:54]OFD Sender: No OFD packet to send [09:27:59]OFD Sender: No OFD packet to send [09:28:04]OFD Sender: No OFD packet to send [09:28:10]OFD Sender: No OFD packet to send [09:28:15]OFD Sender: No OFD packet to send [09:28:20]OFD Sender: No OFD packet to send [09:28:25]OFD Sender: No OFD packet to send [09:28:30]OFD Sender: No OFD packet to send [09:28:35]OFD Sender: No OFD packet to send [09:28:40]OFD Sender: No OFD packet to send [09:28:45]OFD Sender: No OFD packet to send [09:28:50]OFD Sender: No OFD packet to send [09:28:55]OFD Sender: No OFD packet to send [09:29:00]OFD Sender: No OFD packet to send [09:29:05]OFD Sender: No OFD packet to send [09:29:10]OFD Sender: No OFD packet to send [09:29:15]OFD Sender: No OFD packet to send [09:29:20]OFD Sender: No OFD packet to send [09:29:25]OFD Sender: No OFD packet to send [09:29:30]OFD Sender: No OFD packet to send [09:29:35]OFD Sender: No OFD packet to send [09:29:40]OFD Sender: No OFD packet to send [09:29:45]OFD Sender: No OFD packet to send [09:29:50]OFD Sender: No OFD packet to send [09:29:55]OFD Sender: No OFD packet to send [09:30:00]OFD Sender: No OFD packet to send [09:30:05]OFD Sender: No OFD packet to send [09:30:10]OFD Sender: No OFD packet to send [09:30:15]OFD Sender: No OFD packet to send [09:30:20]OFD Sender: No OFD packet to send [09:30:25]OFD Sender: No OFD packet to send [09:30:30]OFD Sender: No OFD packet to send [09:30:35]OFD Sender: No OFD packet to send [09:30:40]OFD Sender: No OFD packet to send [09:30:45]OFD Sender: No OFD packet to send [09:30:50]OFD Sender: No OFD packet to send [09:30:55]OFD Sender: No OFD packet to send [09:31:00]OFD Sender: No OFD packet to send [09:31:05]OFD Sender: No OFD packet to send [09:31:10]OFD Sender: No OFD packet to send [09:31:15]OFD Sender: No OFD packet to send [09:31:20]OFD Sender: No OFD packet to send [09:31:25]OFD Sender: No OFD packet to send [09:31:30]OFD Sender: No OFD packet to send [09:31:35]OFD Sender: No OFD packet to send [09:31:40]OFD Sender: No OFD packet to send [09:31:45]OFD Sender: No OFD packet to send [09:31:50]OFD Sender: No OFD packet to send [09:31:55]OFD Sender: No OFD packet to send [09:32:00]OFD Sender: No OFD packet to send [09:32:05]OFD Sender: No OFD packet to send [09:32:10]OFD Sender: No OFD packet to send [09:32:15]OFD Sender: No OFD packet to send [09:32:20]OFD Sender: No OFD packet to send [09:32:25]OFD Sender: No OFD packet to send [09:32:30]OFD Sender: No OFD packet to send [09:32:35]OFD Sender: No OFD packet to send [09:32:40]OFD Sender: No OFD packet to send [09:32:45]OFD Sender: No OFD packet to send [09:32:50]OFD Sender: No OFD packet to send [09:32:55]OFD Sender: No OFD packet to send [09:33:00]OFD Sender: No OFD packet to send [09:33:05]OFD Sender: No OFD packet to send [09:33:10]OFD Sender: No OFD packet to send [09:33:15]OFD Sender: No OFD packet to send [09:33:20]OFD Sender: No OFD packet to send [09:33:25]OFD Sender: No OFD packet to send [09:33:30]OFD Sender: No OFD packet to send [09:33:35]OFD Sender: No OFD packet to send [09:33:40]OFD Sender: No OFD packet to send [09:33:45]OFD Sender: No OFD packet to send [09:33:50]OFD Sender: No OFD packet to send [09:33:55]OFD Sender: No OFD packet to send [09:34:00]OFD Sender: No OFD packet to send [09:34:05]OFD Sender: No OFD packet to send [09:34:10]OFD Sender: No OFD packet to send [09:34:15]OFD Sender: No OFD packet to send [09:34:20]OFD Sender: No OFD packet to send [09:34:25]OFD Sender: No OFD packet to send [09:34:30]OFD Sender: No OFD packet to send [09:34:35]OFD Sender: No OFD packet to send [09:34:40]OFD Sender: No OFD packet to send [09:34:45]OFD Sender: No OFD packet to send [09:34:50]OFD Sender: No OFD packet to send [09:34:55]OFD Sender: No OFD packet to send [09:35:00]OFD Sender: No OFD packet to send [09:35:05]OFD Sender: No OFD packet to send [09:35:10]OFD Sender: No OFD packet to send [09:35:15]OFD Sender: No OFD packet to send [09:35:20]OFD Sender: No OFD packet to send [09:35:25]OFD Sender: No OFD packet to send [09:35:30]OFD Sender: No OFD packet to send [09:35:35]OFD Sender: No OFD packet to send [09:35:40]OFD Sender: No OFD packet to send [09:35:45]OFD Sender: No OFD packet to send [09:35:50]OFD Sender: No OFD packet to send [09:35:55]OFD Sender: No OFD packet to send [09:36:00]OFD Sender: No OFD packet to send [09:36:05]OFD Sender: No OFD packet to send [09:36:10]OFD Sender: No OFD packet to send [09:36:15]OFD Sender: No OFD packet to send [09:36:20]OFD Sender: No OFD packet to send [09:36:25]OFD Sender: No OFD packet to send [09:36:30]OFD Sender: No OFD packet to send [09:36:35]OFD Sender: No OFD packet to send [09:36:40]OFD Sender: No OFD packet to send [09:36:45]OFD Sender: No OFD packet to send [09:36:50]OFD Sender: No OFD packet to send [09:36:55]OFD Sender: No OFD packet to send [09:37:00]OFD Sender: No OFD packet to send [09:37:05]OFD Sender: No OFD packet to send [09:37:10]OFD Sender: No OFD packet to send [09:37:15]OFD Sender: No OFD packet to send [09:37:20]OFD Sender: No OFD packet to send [09:37:25]OFD Sender: No OFD packet to send [09:37:30]OFD Sender: No OFD packet to send [09:37:35]OFD Sender: No OFD packet to send [09:37:40]OFD Sender: No OFD packet to send [09:37:45]OFD Sender: No OFD packet to send [09:37:50]OFD Sender: No OFD packet to send [09:37:55]OFD Sender: No OFD packet to send [09:38:00]OFD Sender: No OFD packet to send [09:38:05]OFD Sender: No OFD packet to send [09:38:10]OFD Sender: No OFD packet to send [09:38:15]OFD Sender: No OFD packet to send [09:38:20]OFD Sender: No OFD packet to send [09:38:25]OFD Sender: No OFD packet to send [09:38:30]OFD Sender: No OFD packet to send [09:38:35]OFD Sender: No OFD packet to send [09:38:40]OFD Sender: No OFD packet to send [09:38:45]OFD Sender: No OFD packet to send [09:38:50]OFD Sender: No OFD packet to send [09:38:55]OFD Sender: No OFD packet to send [09:39:00]OFD Sender: No OFD packet to send [09:39:05]OFD Sender: No OFD packet to send [09:39:10]OFD Sender: No OFD packet to send [09:39:15]OFD Sender: No OFD packet to send [09:39:20]OFD Sender: No OFD packet to send [09:39:25]OFD Sender: No OFD packet to send [09:39:30]OFD Sender: No OFD packet to send [09:39:35]OFD Sender: No OFD packet to send [09:39:40]OFD Sender: No OFD packet to send [09:39:45]OFD Sender: No OFD packet to send [09:39:50]OFD Sender: No OFD packet to send [09:39:55]OFD Sender: No OFD packet to send [09:40:00]OFD Sender: No OFD packet to send [09:40:05]OFD Sender: No OFD packet to send [09:40:10]OFD Sender: No OFD packet to send [09:40:15]OFD Sender: No OFD packet to send [09:40:20]OFD Sender: No OFD packet to send [09:40:25]OFD Sender: No OFD packet to send [09:40:30]OFD Sender: No OFD packet to send [09:40:35]OFD Sender: No OFD packet to send [09:40:40]OFD Sender: No OFD packet to send [09:40:45]OFD Sender: No OFD packet to send [09:40:50]OFD Sender: No OFD packet to send [09:40:55]OFD Sender: No OFD packet to send [09:41:00]OFD Sender: No OFD packet to send [09:41:05]OFD Sender: No OFD packet to send [09:41:10]OFD Sender: No OFD packet to send [09:41:15]OFD Sender: No OFD packet to send [09:41:20]OFD Sender: No OFD packet to send [09:41:25]OFD Sender: No OFD packet to send [09:41:30]OFD Sender: No OFD packet to send [09:41:35]OFD Sender: No OFD packet to send [09:41:40]OFD Sender: No OFD packet to send [09:41:45]OFD Sender: No OFD packet to send [09:41:50]OFD Sender: No OFD packet to send [09:41:55]OFD Sender: No OFD packet to send [09:42:00]OFD Sender: No OFD packet to send [09:42:05]OFD Sender: No OFD packet to send [09:42:10]OFD Sender: No OFD packet to send [09:42:15]OFD Sender: No OFD packet to send [09:42:20]OFD Sender: No OFD packet to send [09:42:25]OFD Sender: No OFD packet to send [09:42:30]OFD Sender: No OFD packet to send [09:42:35]OFD Sender: No OFD packet to send [09:42:40]OFD Sender: No OFD packet to send [09:42:45]OFD Sender: No OFD packet to send [09:42:50]OFD Sender: No OFD packet to send [09:42:55]OFD Sender: No OFD packet to send [09:43:00]OFD Sender: No OFD packet to send [09:43:05]OFD Sender: No OFD packet to send [09:43:10]OFD Sender: No OFD packet to send [09:43:15]OFD Sender: No OFD packet to send [09:43:20]OFD Sender: No OFD packet to send [09:43:25]OFD Sender: No OFD packet to send [09:43:30]OFD Sender: No OFD packet to send [09:43:35]OFD Sender: No OFD packet to send [09:43:40]OFD Sender: No OFD packet to send [09:43:45]OFD Sender: No OFD packet to send [09:43:50]OFD Sender: No OFD packet to send [09:43:55]OFD Sender: No OFD packet to send [09:44:00]OFD Sender: No OFD packet to send [09:44:05]OFD Sender: No OFD packet to send [09:44:10]OFD Sender: No OFD packet to send [09:44:15]OFD Sender: No OFD packet to send [09:44:20]OFD Sender: No OFD packet to send [09:44:25]OFD Sender: No OFD packet to send [09:44:30]OFD Sender: No OFD packet to send [09:44:35]OFD Sender: No OFD packet to send [09:44:40]OFD Sender: No OFD packet to send [09:44:45]OFD Sender: No OFD packet to send [09:44:50]OFD Sender: No OFD packet to send [09:44:55]OFD Sender: No OFD packet to send [09:45:00]OFD Sender: No OFD packet to send [09:45:05]OFD Sender: No OFD packet to send [09:45:10]OFD Sender: No OFD packet to send [09:45:15]OFD Sender: No OFD packet to send [09:45:20]OFD Sender: No OFD packet to send [09:45:25]OFD Sender: No OFD packet to send [09:45:30]OFD Sender: No OFD packet to send [09:45:35]OFD Sender: No OFD packet to send [09:45:40]OFD Sender: No OFD packet to send [09:45:45]OFD Sender: No OFD packet to send [09:45:50]OFD Sender: No OFD packet to send [09:45:55]OFD Sender: No OFD packet to send [09:46:00]OFD Sender: No OFD packet to send [09:46:05]OFD Sender: No OFD packet to send [09:46:10]OFD Sender: No OFD packet to send [09:46:15]OFD Sender: No OFD packet to send [09:46:20]OFD Sender: No OFD packet to send [09:46:25]OFD Sender: No OFD packet to send [09:46:30]OFD Sender: No OFD packet to send [09:46:35]OFD Sender: No OFD packet to send [09:46:40]OFD Sender: No OFD packet to send [09:46:45]OFD Sender: No OFD packet to send [09:46:50]OFD Sender: No OFD packet to send [09:46:55]OFD Sender: No OFD packet to send [09:47:00]OFD Sender: No OFD packet to send [09:47:05]OFD Sender: No OFD packet to send [09:47:10]OFD Sender: No OFD packet to send [09:47:15]OFD Sender: No OFD packet to send [09:47:20]OFD Sender: No OFD packet to send [09:47:25]OFD Sender: No OFD packet to send [09:47:30]OFD Sender: No OFD packet to send [09:47:35]OFD Sender: No OFD packet to send [09:47:40]OFD Sender: No OFD packet to send [09:47:45]OFD Sender: No OFD packet to send [09:47:50]OFD Sender: No OFD packet to send [09:47:55]OFD Sender: No OFD packet to send [09:48:00]OFD Sender: No OFD packet to send [09:48:05]OFD Sender: No OFD packet to send [09:48:10]OFD Sender: No OFD packet to send [09:48:15]OFD Sender: No OFD packet to send [09:48:20]OFD Sender: No OFD packet to send [09:48:25]OFD Sender: No OFD packet to send [09:48:30]OFD Sender: No OFD packet to send [09:48:35]OFD Sender: No OFD packet to send [09:48:40]OFD Sender: No OFD packet to send [09:48:45]OFD Sender: No OFD packet to send [09:48:50]OFD Sender: No OFD packet to send [09:48:55]OFD Sender: No OFD packet to send [09:49:00]OFD Sender: No OFD packet to send [09:49:05]OFD Sender: No OFD packet to send [09:49:10]OFD Sender: No OFD packet to send [09:49:15]OFD Sender: No OFD packet to send [09:49:20]OFD Sender: No OFD packet to send [09:49:25]OFD Sender: No OFD packet to send [09:49:30]OFD Sender: No OFD packet to send [09:49:35]OFD Sender: No OFD packet to send [09:49:40]OFD Sender: No OFD packet to send [09:49:45]OFD Sender: No OFD packet to send [09:49:50]OFD Sender: No OFD packet to send [09:49:55]OFD Sender: No OFD packet to send [09:50:00]OFD Sender: No OFD packet to send [09:50:05]OFD Sender: No OFD packet to send [09:50:10]OFD Sender: No OFD packet to send [09:50: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:40]accept exits with 8 [09:53:40]New connection [09:53:40]New thread 3067227492 created [09:53:40]Thread 3067370852 joined [09:53:40]Waiting for new connection... [09:53:40] Sock 8.Parse request [09:53:40]Sock 8.Check first char [09:53:40]Sock 8.First char is OK [09:53:40]request: POST /json_proto HTTP/1.0 [09:53:40]Method: POST [09:53:40]URL: /json_proto [09:53:40]Method is POST - this is cgi request [09:53:40]url: /json_proto [09:53:40]query_string will be loaded in cgi processing [09:53:40]execute_cgi json_proto POST (null) [09:53:40]execute_cgi path=json_proto method=POST [09:53:40]POST find Content-Length [09:53:40]Host: 172.17.56.68:8080 [09:53:40]Content-Length: 935 [09:53:40]Content-Type: application/json [09:53:40] [09:53:40]POST finish read [09:53:40]Found Content-Length = 935 [09:53:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4349", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 83.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:53:40]execute_script... [09:53: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)4349", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 83.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:53:40]POST & json_proto [09:53:40]process_json_proto [09:53:40]json parsed OK: [09:53:40]protocol is kg_v1.0 [09:53:40]action value=close_receipt [09:53:40]process_action close_receipt [09:53:40]cmd_close_receipt [09:53:40]MH_GetDate [09:53:40]Write to MH i2c: F0 00 00 7F 19 87 [09:53:40]Write i2c OK [09:53:40]MH_I2C_Read... [09:53:40]Read from MH i2c: F0 [09:53:40]MH_I2C_Read... [09:53:40]Read from MH i2c: F0 09 00 [09:53:40]MH_I2C_Read... [09:53:40]Read from MH i2c: F0 09 00 7F 19 00 2D E4 5E 66 42 69 5C 66 D2 [09:53:40]GetLastDocTimeStamp 1717492704 [09:53:40]current date 1717494829 [09:53:40]FM_GetShiftState [09:53:40]SAM_PROTO_GetShiftState [09:53:40]wFMCommunicate request_size=4 [09:53:40]MH_SAM_APDU [09:53:40]CAPDU: 80 13 01 00 [09:53:40]Write to MH i2c: E2 08 00 80 19 80 13 01 00 00 00 00 00 16 [09:53:40]Write i2c OK [09:53:40]MH_I2C_Read... [09:53:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:53:40]Read from MH i2c: E2 [09:53:40]MH_I2C_Read... [09:53:40]Read from MH i2c: E2 0E 00 [09:53:40]MH_I2C_Read... [09:53:40]Read from MH i2c: E2 0E 00 80 19 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 AF [09:53:40]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [09:53:40]wFMCommunicate OK [09:53:40]SAM_PROTO_GetShiftState done [09:53:40]FM_GetShiftState done [09:53:40]opened in 1717459822 [09:53:40]opened+sec_in_day 1717546222 [09:53:40]quantity*price = 5500 [09:53:40]sum+1 = 5501 [09:53:40]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 4.000 * 7.00 = 28.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 83.00 НСП 1% : 0.74 НДС 12% : 8.81 Наличными: 83.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 13 04.06.2024 09:53 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4096 ФПД: 160836474923281 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T095349&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4096&fm=160836474923281&tin=02508201610067®Number=0000000000145775&sum=8300 0 [09:53:41]StoreToDocumentArchive [09:53:41]shift 83 fd 4096 [09:53:41]save to /storage/0083/doc_00004096 [09:53:41]save last doc name /storage/0083/doc_00004096 to /storage/kkm_last_doc_name [09:53:41]save OK [09:53:41]Clear old archive folders... [09:53:41]ProcessDocumentItem done err = 0, tmpTLVsize=393 [09:53:41]tlvbuf is 007A65C0 [09:53:41]SAM_PROTO_ClearQueue [09:53:41]wFMCommunicate request_size=4 [09:53:41]MH_SAM_APDU [09:53:41]CAPDU: 80 09 00 00 [09:53:41]Write to MH i2c: E2 08 00 8D 19 80 09 00 00 00 00 00 00 18 [09:53:42]Write i2c OK [09:53:42]MH_I2C_Read... [09:53:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:53:42]Read from MH i2c: E2 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: E2 03 00 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: E2 03 00 8D 19 00 90 00 1A [09:53:42]RAPDU: 90 00 [09:53:42]wFMCommunicate OK [09:53:42]SAM_PROTO_ClearQueue done [09:53:42]KKMCreateOFDPacket [09:53:42]OFDProtocolAddRootSTLVToBuf [09:53:42]FM_MakeSignedData [09:53:42]FM_MakeSignedData [09:53:42]SAM_PROTO_SignData [09:53:42]wFMCommunicate request_size=4 [09:53:42]MH_SAM_APDU [09:53:42]CAPDU: 80 0D 01 02 [09:53:42]Write to MH i2c: E2 08 00 8E 19 80 0D 01 02 00 00 00 00 20 [09:53:42]Write i2c OK [09:53:42]MH_I2C_Read... [09:53:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:53:42]Read from MH i2c: E2 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: E2 03 00 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: E2 03 00 8E 19 00 90 00 1B [09:53:42]RAPDU: 90 00 [09:53:42]wFMCommunicate OK [09:53:42]wFMCommunicate request_size=255 [09:53:42]MH_SAM_APDU [09:53:42]CAPDU: 80 0D 02 02 FA 03 00 89 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 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 [09:53:42]Write to MH i2c: E2 02 01 8F 19 80 0D 02 02 FA 00 03 00 89 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 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 00 67 [09:53:42]Write i2c OK [09:53:42]MH_I2C_Read... [09:53:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:53:42]Read from MH i2c: E2 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: E2 03 00 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: E2 03 00 8F 19 00 90 00 1C [09:53:42]RAPDU: 90 00 [09:53:42]wFMCommunicate OK [09:53:42]wFMCommunicate request_size=152 [09:53:42]MH_SAM_APDU [09:53:42]CAPDU: 80 0D 02 02 93 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 03 00 00 00 00 07 04 06 00 6C 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 2D E4 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 00 10 00 00 35 04 06 00 92 47 A8 F4 69 11 [09:53:42]Write to MH i2c: E2 9B 00 90 19 80 0D 02 02 93 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 03 00 00 00 00 07 04 06 00 6C 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 2D E4 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 00 10 00 00 35 04 06 00 92 47 A8 F4 69 11 00 00 F3 [09:53:42]Write i2c OK [09:53:42]MH_I2C_Read... [09:53:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:53:42]Read from MH i2c: E2 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: E2 03 00 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: E2 03 00 90 19 00 90 00 1D [09:53:42]RAPDU: 90 00 [09:53:42]wFMCommunicate OK [09:53:42]wFMCommunicate request_size=4 [09:53:42]MH_SAM_APDU [09:53:42]CAPDU: 80 0D 03 02 [09:53:42]Write to MH i2c: E2 08 00 91 19 80 0D 03 02 00 00 00 00 25 [09:53:42]Write i2c OK [09:53:42]MH_I2C_Read... [09:53:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:53:42]Read from MH i2c: E2 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: E2 0B 00 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: E2 0B 00 91 19 00 DF 01 CA F9 93 E1 21 17 90 00 75 [09:53:42]RAPDU: DF 01 CA F9 93 E1 21 17 90 00 [09:53:42]wFMCommunicate OK [09:53:42]SAM_PROTO_SignData done [09:53:42]FM_MakeSignedData done [09:53:42]CreateOFDProtocolMessage [09:53:42]wFMCommunicate request_size=4 [09:53:42]MH_SAM_APDU [09:53:42]CAPDU: 80 11 00 00 [09:53:42]Write to MH i2c: E2 08 00 92 19 80 11 00 00 00 00 00 00 25 [09:53:42]Write i2c OK [09:53:42]MH_I2C_Read... [09:53:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:53:42]Read from MH i2c: E2 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: E2 17 00 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: E2 17 00 92 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 78 [09:53:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:53:42]wFMCommunicate OK [09:53:42]CreateOFDProtocolMessage done [09:53:42]OFDSenderStorePacket 4096 [09:53:42]StoreOFDPacket docnum=4096 [09:53:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9D 01 00 00 7F BD 95 01 95 E8 5A 03 01 00 03 00 89 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 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 03 00 00 00 00 07 04 06 00 6C 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 2D E4 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 00 10 00 00 35 04 06 00 92 47 A8 F4 69 11 DF 01 CA F9 93 E1 21 17 [09:53:42]CheckFolder [09:53:42]dirname=/storage/ofd_packets [09:53:42]CheckFolder done [09:53:42]ProducePacketName [09:53:42]name=ofd_packets/00004096 [09:53:42]NVStorageSaveData ofd_packets/00004096 [09:53:42]File name is /storage/ofd_packets/00004096 [09:53:42]Write 443 bytes [09:53:42]NVStorageSaveData done [09:53:42]OFDSenderStorePacket done [09:53:42]KKMCreateOFDPacket done [09:53:42]NVStorageSaveData kkm_last_timestamp [09:53:42]File name is /storage/kkm_last_timestamp [09:53:42]Write 4 bytes [09:53:42]NVStorageSaveData done [09:53:42]ExternCall_PrintAddStr [09:53:42]wPrintStart [09:53:42]Write to MH i2c: 01 00 00 93 19 AC [09:53:42]Write i2c OK [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 07 00 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 07 00 93 19 00 00 00 00 00 FF 0F C1 [09:53:42]RasterBufferAndPrint [09:53:42]line Счет N : (3)4349 [09:53:42]line ИНН: 02508201610067 [09:53:42]line Контрольно-Кассовый Чек [09:53:42]line ПРОДАЖА [09:53:42]line Товар: 4700000310043 [09:53:42]line Вода Жалалабат 27 1л [09:53:42]line 1.000 * 55.00 [09:53:42]line = 55.00 [09:53:42]line НДС 12% НСП 1% [09:53:42]line > о реализуемом товаре [09:53:42]line Товар: 2000053020015 [09:53:42]line Бумажные стаканы 250мл 1шт [09:53:42]line 4.000 * 7.00 [09:53:42]line = 28.00 [09:53:42]line НДС 12% НСП 1% [09:53:42]line > о реализуемом товаре [09:53:42]line ИТОГО: 83.00 [09:53:42]line НСП 1% : 0.74 [09:53:42]line НДС 12% : 8.81 [09:53:42]line Наличными: 83.00 [09:53:42]line Безнал.: 0.00 [09:53:42]line Место: АЗС № 116 "Партнер Нефть" [09:53:42]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [09:53:42]line СНО: Общий режим [09:53:42]line Чек 13 04.06.2024 09:53 [09:53:42]line Смена: 83 ФФД: 1.0 [09:53:42]line ЗНМ: 0300000233 [09:53:42]line РНМ: 0000000000145775 [09:53:42]line Версия ККМ: v1.0 [09:53:42]line ФМ: 0000000000959360 [09:53:42]line ФД: 4096 [09:53:42]line ФПД: 160836474923281 [09:53:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T095349&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4096&fm=160836474923281&tin=02508201610067®Number=0000000000145775&sum=8300 [09:53:42]line 0 [09:53:42]OFD Sender: Processing packet 4096 [packets to send 2, broken 1] [09:53:42]ProducePacketName [09:53:42]name=ofd_packets/00004096 [09:53:42]OFD Sender: To server: pG, [09:53:42]CommunicateWithHost lk.salyk.kg:30040 [09:53:42]ConnectInit lk.salyk.kg [09:53:42]written 0, free lines is 4095 [09:53:43]Connected sock=10 [09:53:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9D 01 00 00 7F BD 95 01 95 E8 5A 03 01 00 03 00 89 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 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 03 00 00 00 00 07 04 06 00 6C 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 2D E4 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 00 10 00 00 35 04 06 00 92 47 A8 F4 69 11 DF 01 CA F9 93 E1 21 17 [09:53:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 87 CA 47 00 64 D7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 00 10 00 00 F4 03 04 00 2E 90 5E 66 B6 04 01 00 00 7D 8E B4 B3 97 49 35 8E [09:53:43]CommunicateWithHost err = 0 [09:53:43]CheckOFDResponse [09:53:43]1017 (14) - 77093643461234 [09:53:43]1041 (16) - 0000000000959360 [09:53:43]1040 (4) - 4096 [09:53:43]1012 (4) - 04.06.2024 03:55 [09:53:43]1206 (1) - 0 [09:53:43]OFD Sender: Remove packet 4096 [09:53:43]ProducePacketName [09:53:43]name=ofd_packets/00004096 [09:53:43]NVStorageDeleteData [09:53:43]Write to MH i2c: 01 00 00 C2 19 DB [09:53:43]Write i2c OK [09:53:43]MH_I2C_Read... [09:53:43]Read from MH i2c: 01 [09:53:43]MH_I2C_Read... [09:53:43]Read from MH i2c: 01 07 00 [09:53:43]MH_I2C_Read... [09:53:43]Read from MH i2c: 01 07 00 C2 19 00 00 00 00 00 2D 0C 1B [09:53:43]RasterBufferAndPrint [09:53:43]line [09:53:43]line [09:53:43]line [09:53:43]line [09:53:43]line [09:53:43]written 0, free lines is 3121 [09:53:43]MH_Cut [09:53:43]Write to MH i2c: D1 01 00 C9 19 01 B4 [09:53:43]Write i2c OK [09:53:43]MH_I2C_Read... [09:53:43]Read from MH i2c: D1 [09:53:43]MH_I2C_Read... [09:53:43]Read from MH i2c: D1 01 00 [09:53:43]MH_I2C_Read... [09:53:43]Read from MH i2c: D1 01 00 C9 19 00 B3 [09:53:43]Write to MH i2c: 01 00 00 CA 19 E3 [09:53:43]Write i2c OK [09:53:43]MH_I2C_Read... [09:53:43]OFD Sender: No OFD packet to send [09:53:44]*** Cut start [09:53:44]*** Partial cut [09:53:44]*** CUTSNS_PIN = 1 [09:53:44]*** CUTSNS_PIN = 0 [09:53:44]*** Brake cut motor [09:53:45]Read from MH i2c: 01 [09:53:45]MH_I2C_Read... [09:53:45]*** Stop cut motor [09:53:45]*** Cut end [09:53:45]Read from MH i2c: 01 07 00 [09:53:45]MH_I2C_Read... [09:53:45]Read from MH i2c: 01 07 00 CA 19 00 00 00 00 00 FF 0F F8 [09:53:45]process_action close_receipt done [09:53:45]requested_data is exist [09:53:45]produce_requested_data [09:53:45]requested_item fm.sn is exist - process it [09:53:45]wFMCommunicate request_size=4 [09:53:45]MH_SAM_APDU [09:53:45]CAPDU: 80 11 00 00 [09:53:45]Write to MH i2c: E2 08 00 CB 19 80 11 00 00 00 00 00 00 5E [09:53:45]Write i2c OK [09:53:45]MH_I2C_Read... [09:53:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:53:45]Read from MH i2c: E2 [09:53:45]MH_I2C_Read... [09:53:45]Read from MH i2c: E2 17 00 [09:53:45]MH_I2C_Read... [09:53:45]Read from MH i2c: E2 17 00 CB 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 B1 [09:53:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:53:45]wFMCommunicate OK [09:53:45]requested_item fd.num is exist - process it [09:53:45]SAM_PROTO_GetFieldsCounters [09:53:45]wFMCommunicate request_size=4 [09:53:45]MH_SAM_APDU [09:53:45]CAPDU: 80 13 00 00 [09:53:45]Write to MH i2c: E2 08 00 CC 19 80 13 00 00 00 00 00 00 61 [09:53:45]Write i2c OK [09:53:45]MH_I2C_Read... [09:53:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:53:45]Read from MH i2c: E2 [09:53:45]MH_I2C_Read... [09:53:45]Read from MH i2c: E2 62 00 [09:53:45]MH_I2C_Read... [09:53:45]Read from MH i2c: E2 62 00 CC 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 00 10 00 00 0E 04 04 00 53 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 10 [09:53:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 00 10 00 00 0E 04 04 00 53 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 [09:53:45]wFMCommunicate OK [09:53:45]SAM_PROTO_GetFieldsCounters done [09:53:45]requested_item shift.num is exist - process it [09:53:45]requested_item shift.opened is exist - process it [09:53:45]req_shift_opened [09:53:45]FM_GetShiftState [09:53:45]SAM_PROTO_GetShiftState [09:53:45]wFMCommunicate request_size=4 [09:53:45]MH_SAM_APDU [09:53:45]CAPDU: 80 13 01 00 [09:53:45]Write to MH i2c: E2 08 00 CD 19 80 13 01 00 00 00 00 00 63 [09:53:45]Write i2c OK [09:53:45]MH_I2C_Read... [09:53:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:53:45]Read from MH i2c: E2 [09:53:45]MH_I2C_Read... [09:53:45]Read from MH i2c: E2 0E 00 [09:53:45]MH_I2C_Read... [09:53:45]Read from MH i2c: E2 0E 00 CD 19 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 FC [09:53:45]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [09:53:45]wFMCommunicate OK [09:53:45]SAM_PROTO_GetShiftState done [09:53:45]FM_GetShiftState done [09:53:45]req_shift_opened done [09:53:45]requested_item shift.open_date is exist - process it [09:53:45]req_shift_open_date [09:53:45]req_shift_open_date done [09:53:45]produce_requested_data done [09:53:45]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4096,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [09:53:45]process_action_free close_receipt [09:53:45]json_value_free [09:53:45]json_value_free done [09:53:45]process_json_proto returns [09:53:45]Send response to host [09:53:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4096,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [09:53:45]free response buf [09:53:45]execute_script done [09:53:45]execute_script returns [09:53:45]free content buf [09:53:45]Sock 8.Close socket [09:53:45]Sock 8.Thread stoped [09:53:48]OFD Sender: No OFD packet to send [09:53:53]OFD Sender: No OFD packet to send [09:53:58]OFD Sender: No OFD packet to send [09:54:03]OFD Sender: No OFD packet to send [09:54:08]OFD Sender: No OFD packet to send [09:54:13]OFD Sender: No OFD packet to send [09:54:18]OFD Sender: No OFD packet to send [09:54:23]OFD Sender: No OFD packet to send [09:54:28]OFD Sender: No OFD packet to send [09:54:33]OFD Sender: No OFD packet to send [09:54:38]OFD Sender: No OFD packet to send [09:54:43]OFD Sender: No OFD packet to send [09:54:48]OFD Sender: No OFD packet to send [09:54:53]OFD Sender: No OFD packet to send [09:54:58]OFD Sender: No OFD packet to send [09:55:03]OFD Sender: No OFD packet to send [09:55:08]OFD Sender: No OFD packet to send [09:55:13]OFD Sender: No OFD packet to send [09:55:18]OFD Sender: No OFD packet to send [09:55:23]OFD Sender: No OFD packet to send [09:55:28]OFD Sender: No OFD packet to send [09:55:33]OFD Sender: No OFD packet to send [09:55:38]OFD Sender: No OFD packet to send [09:55:43]OFD Sender: No OFD packet to send [09:55:48]OFD Sender: No OFD packet to send [09:55:53]OFD Sender: No OFD packet to send [09:55:58]OFD Sender: No OFD packet to send [09:56:03]OFD Sender: No OFD packet to send [09:56:08]OFD Sender: No OFD packet to send [09:56:13]OFD Sender: No OFD packet to send [09:56:15]accept exits with 9 [09:56:15]New connection [09:56:15]New thread 3067370852 created [09:56:15]Thread 3067227492 joined [09:56:15]Waiting for new connection... [09:56:15] Sock 9.Parse request [09:56:15]Sock 9.Check first char [09:56:15]Sock 9.First char is OK [09:56:15]request: POST /json_proto HTTP/1.0 [09:56:15]Method: POST [09:56:15]URL: /json_proto [09:56:15]Method is POST - this is cgi request [09:56:15]url: /json_proto [09:56:15]query_string will be loaded in cgi processing [09:56:15]execute_cgi json_proto POST (null) [09:56:15]execute_cgi path=json_proto method=POST [09:56:15]POST find Content-Length [09:56:15]Host: 172.17.56.68:8080 [09:56:15]Content-Length: 647 [09:56:15]Content-Type: application/json [09:56:15] [09:56:15]POST finish read [09:56:15]Found Content-Length = 647 [09:56:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4350", "tax_sys" : 0, "items" : [ { "code": "4680021880490", "name": "\u041F\u0435\u0447.\u0441\u0434.\u0421 \u043A\u0430\u043F\u043B\u044F\u043C\u0438 200\u0433/12", "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" ] } } [09:56:15]execute_script... [09:56: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)4350", "tax_sys" : 0, "items" : [ { "code": "4680021880490", "name": "\u041F\u0435\u0447.\u0441\u0434.\u0421 \u043A\u0430\u043F\u043B\u044F\u043C\u0438 200\u0433/12", "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" ] } } [09:56:15]POST & json_proto [09:56:15]process_json_proto [09:56:15]json parsed OK: [09:56:15]protocol is kg_v1.0 [09:56:15]action value=close_receipt [09:56:15]process_action close_receipt [09:56:15]cmd_close_receipt [09:56:15]MH_GetDate [09:56:15]Write to MH i2c: F0 00 00 CE 19 D6 [09:56:15]Write i2c OK [09:56:15]MH_I2C_Read... [09:56:15]Read from MH i2c: F0 [09:56:15]MH_I2C_Read... [09:56:15]Read from MH i2c: F0 09 00 [09:56:15]MH_I2C_Read... [09:56:15]Read from MH i2c: F0 09 00 CE 19 00 C7 E4 5E 66 42 69 5C 66 BB [09:56:15]GetLastDocTimeStamp 1717494829 [09:56:15]current date 1717494983 [09:56:15]FM_GetShiftState [09:56:15]SAM_PROTO_GetShiftState [09:56:15]wFMCommunicate request_size=4 [09:56:15]MH_SAM_APDU [09:56:15]CAPDU: 80 13 01 00 [09:56:15]Write to MH i2c: E2 08 00 CF 19 80 13 01 00 00 00 00 00 65 [09:56:15]Write i2c OK [09:56:15]MH_I2C_Read... [09:56:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:56:15]Read from MH i2c: E2 [09:56:15]MH_I2C_Read... [09:56:15]Read from MH i2c: E2 0E 00 [09:56:15]MH_I2C_Read... [09:56:15]Read from MH i2c: E2 0E 00 CF 19 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 FE [09:56:15]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [09:56:15]wFMCommunicate OK [09:56:15]SAM_PROTO_GetShiftState done [09:56:15]FM_GetShiftState done [09:56:15]opened in 1717459822 [09:56:15]opened+sec_in_day 1717546222 [09:56:15]quantity*price = 9500 [09:56:15]sum+1 = 9501 [09:56:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 14 04.06.2024 09:56 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4097 ФПД: 93438468160228 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T095623&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4097&fm=93438468160228&tin=02508201610067®Number=0000000000145775&sum=9500 0 [09:56:16]StoreToDocumentArchive [09:56:16]shift 83 fd 4097 [09:56:16]save to /storage/0083/doc_00004097 [09:56:16]save last doc name /storage/0083/doc_00004097 to /storage/kkm_last_doc_name [09:56:16]save OK [09:56:16]Clear old archive folders... [09:56:16]ProcessDocumentItem done err = 0, tmpTLVsize=280 [09:56:16]tlvbuf is B6F273F0 [09:56:16]SAM_PROTO_ClearQueue [09:56:16]wFMCommunicate request_size=4 [09:56:16]MH_SAM_APDU [09:56:16]CAPDU: 80 09 00 00 [09:56:16]Write to MH i2c: E2 08 00 DC 19 80 09 00 00 00 00 00 00 67 [09:56:16]Write i2c OK [09:56:16]MH_I2C_Read... [09:56:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:56:16]Read from MH i2c: E2 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: E2 03 00 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: E2 03 00 DC 19 00 90 00 69 [09:56:16]RAPDU: 90 00 [09:56:16]wFMCommunicate OK [09:56:16]SAM_PROTO_ClearQueue done [09:56:16]KKMCreateOFDPacket [09:56:16]OFDProtocolAddRootSTLVToBuf [09:56:16]FM_MakeSignedData [09:56:16]FM_MakeSignedData [09:56:16]SAM_PROTO_SignData [09:56:16]wFMCommunicate request_size=4 [09:56:16]MH_SAM_APDU [09:56:16]CAPDU: 80 0D 01 02 [09:56:16]Write to MH i2c: E2 08 00 DD 19 80 0D 01 02 00 00 00 00 6F [09:56:16]Write i2c OK [09:56:16]MH_I2C_Read... [09:56:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:56:16]Read from MH i2c: E2 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: E2 03 00 [09:56:16]MH_I2C_Read... [09:56:16]Read from MH i2c: E2 03 00 DD 19 00 90 00 6A [09:56:16]RAPDU: 90 00 [09:56:16]wFMCommunicate OK [09:56:16]wFMCommunicate request_size=255 [09:56:16]MH_SAM_APDU [09:56:16]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 38 30 30 32 31 38 38 30 34 39 30 06 04 26 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B4 2E D0 A1 20 D0 BA D0 B0 D0 BF D0 BB D1 8F D0 BC D0 B8 20 32 30 30 D0 B3 2F 31 32 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 0E 00 00 00 F4 03 04 00 C7 E4 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 [09:56:16]Write to MH i2c: E2 02 01 DE 19 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 38 30 30 32 31 38 38 30 34 39 30 06 04 26 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B4 2E D0 A1 20 D0 BA D0 B0 D0 BF D0 BB D1 8F D0 BC D0 B8 20 32 30 30 D0 B3 2F 31 32 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 0E 00 00 00 F4 03 04 00 C7 E4 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 00 07 [09:56:16]Write i2c OK [09:56:16]MH_I2C_Read... [09:56:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:56:17]Read from MH i2c: E2 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: E2 03 00 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: E2 03 00 DE 19 00 90 00 6B [09:56:17]RAPDU: 90 00 [09:56:17]wFMCommunicate OK [09:56:17]wFMCommunicate request_size=39 [09:56:17]MH_SAM_APDU [09:56:17]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 01 10 00 00 35 04 06 00 54 FB 56 B3 FA E4 [09:56:17]Write to MH i2c: E2 2A 00 DF 19 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 01 10 00 00 35 04 06 00 54 FB 56 B3 FA E4 00 00 74 [09:56:17]Write i2c OK [09:56:17]MH_I2C_Read... [09:56:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:56:17]Read from MH i2c: E2 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: E2 03 00 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: E2 03 00 DF 19 00 90 00 6C [09:56:17]RAPDU: 90 00 [09:56:17]wFMCommunicate OK [09:56:17]wFMCommunicate request_size=4 [09:56:17]MH_SAM_APDU [09:56:17]CAPDU: 80 0D 03 02 [09:56:17]Write to MH i2c: E2 08 00 E0 19 80 0D 03 02 00 00 00 00 74 [09:56:17]Write i2c OK [09:56:17]MH_I2C_Read... [09:56:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:56:17]Read from MH i2c: E2 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: E2 0B 00 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: E2 0B 00 E0 19 00 64 8F 38 C4 2B 60 C3 D6 90 00 88 [09:56:17]RAPDU: 64 8F 38 C4 2B 60 C3 D6 90 00 [09:56:17]wFMCommunicate OK [09:56:17]SAM_PROTO_SignData done [09:56:17]FM_MakeSignedData done [09:56:17]CreateOFDProtocolMessage [09:56:17]wFMCommunicate request_size=4 [09:56:17]MH_SAM_APDU [09:56:17]CAPDU: 80 11 00 00 [09:56:17]Write to MH i2c: E2 08 00 E1 19 80 11 00 00 00 00 00 00 74 [09:56:17]Write i2c OK [09:56:17]MH_I2C_Read... [09:56:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:17]Read from MH i2c: E2 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: E2 17 00 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: E2 17 00 E1 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C7 [09:56:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:56:17]wFMCommunicate OK [09:56:17]CreateOFDProtocolMessage done [09:56:17]OFDSenderStorePacket 4097 [09:56:17]StoreOFDPacket docnum=4097 [09:56:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 2D 23 24 01 21 7A 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 38 30 30 32 31 38 38 30 34 39 30 06 04 26 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B4 2E D0 A1 20 D0 BA D0 B0 D0 BF D0 BB D1 8F D0 BC D0 B8 20 32 30 30 D0 B3 2F 31 32 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 0E 00 00 00 F4 03 04 00 C7 E4 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 01 10 00 00 35 04 06 00 54 FB 56 B3 FA E4 64 8F 38 C4 2B 60 C3 D6 [09:56:17]CheckFolder [09:56:17]dirname=/storage/ofd_packets [09:56:17]CheckFolder done [09:56:17]ProducePacketName [09:56:17]name=ofd_packets/00004097 [09:56:17]NVStorageSaveData ofd_packets/00004097 [09:56:17]File name is /storage/ofd_packets/00004097 [09:56:17]Write 330 bytes [09:56:17]NVStorageSaveData done [09:56:17]OFDSenderStorePacket done [09:56:17]KKMCreateOFDPacket done [09:56:17]NVStorageSaveData kkm_last_timestamp [09:56:17]File name is /storage/kkm_last_timestamp [09:56:17]Write 4 bytes [09:56:17]NVStorageSaveData done [09:56:17]ExternCall_PrintAddStr [09:56:17]wPrintStart [09:56:17]Write to MH i2c: 01 00 00 E2 19 FB [09:56:17]Write i2c OK [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: 01 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: 01 07 00 [09:56:17]MH_I2C_Read... [09:56:17]Read from MH i2c: 01 07 00 E2 19 00 00 00 00 00 FF 0F 10 [09:56:17]RasterBufferAndPrint [09:56:17]line Счет N : (3)4350 [09:56:17]line ИНН: 02508201610067 [09:56:17]line Контрольно-Кассовый Чек [09:56:17]line ПРОДАЖА [09:56:17]line Товар: 4680021880490 [09:56:17]line Печ.сд.С каплями 200г/12 [09:56:17]line 1.000 * 95.00 [09:56:17]line = 95.00 [09:56:17]line НДС 12% НСП 1% [09:56:17]line > о реализуемом товаре [09:56:17]line ИТОГО: 95.00 [09:56:17]line НСП 1% : 0.84 [09:56:17]line НДС 12% : 10.09 [09:56:17]line Наличными: 95.00 [09:56:17]line Безнал.: 0.00 [09:56:17]line Место: АЗС № 116 "Партнер Нефть" [09:56:17]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [09:56:17]line СНО: Общий режим [09:56:17]line Чек 14 04.06.2024 09:56 [09:56:17]line Смена: 83 ФФД: 1.0 [09:56:17]line ЗНМ: 0300000233 [09:56:17]line РНМ: 0000000000145775 [09:56:17]line Версия ККМ: v1.0 [09:56:17]line ФМ: 0000000000959360 [09:56:17]line ФД: 4097 [09:56:17]line ФПД: 93438468160228 [09:56:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T095623&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4097&fm=93438468160228&tin=02508201610067®Number=0000000000145775&sum=9500 [09:56:17]line 0 [09:56:17]OFD Sender: Processing packet 4097 [packets to send 2, broken 1] [09:56:17]ProducePacketName [09:56:17]name=ofd_packets/00004097 [09:56:17]OFD Sender: To server: pG, [09:56:17]CommunicateWithHost lk.salyk.kg:30040 [09:56:17]ConnectInit lk.salyk.kg [09:56:17]written 0, free lines is 4095 [09:56:17]Connected sock=10 [09:56:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 2D 23 24 01 21 7A 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 38 30 30 32 31 38 38 30 34 39 30 06 04 26 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B4 2E D0 A1 20 D0 BA D0 B0 D0 BF D0 BB D1 8F D0 BC D0 B8 20 32 30 30 D0 B3 2F 31 32 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 0E 00 00 00 F4 03 04 00 C7 E4 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 01 10 00 00 35 04 06 00 54 FB 56 B3 FA E4 64 8F 38 C4 2B 60 C3 D6 [09:56:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 18 59 47 00 39 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 01 10 00 00 F4 03 04 00 C8 90 5E 66 B6 04 01 00 00 ED 3F CA 34 79 D3 A2 8A [09:56:17]CommunicateWithHost err = 0 [09:56:17]CheckOFDResponse [09:56:17]1017 (14) - 77093643461234 [09:56:17]1041 (16) - 0000000000959360 [09:56:17]1040 (4) - 4097 [09:56:17]1012 (4) - 04.06.2024 03:58 [09:56:17]1206 (1) - 0 [09:56:17]OFD Sender: Remove packet 4097 [09:56:17]ProducePacketName [09:56:17]name=ofd_packets/00004097 [09:56:17]NVStorageDeleteData [09:56:18]Write to MH i2c: 01 00 00 0A 1A 24 [09:56:18]Write i2c OK [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: 01 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: 01 07 00 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: 01 07 00 0A 1A 00 00 00 00 00 C5 0C FC [09:56:18]RasterBufferAndPrint [09:56:18]line [09:56:18]line [09:56:18]line [09:56:18]line [09:56:18]line [09:56:18]written 0, free lines is 3274 [09:56:18]MH_Cut [09:56:18]Write to MH i2c: D1 01 00 11 1A 01 FD [09:56:18]Write i2c OK [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: D1 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: D1 01 00 [09:56:18]MH_I2C_Read... [09:56:18]Read from MH i2c: D1 01 00 11 1A 00 FC [09:56:18]Write to MH i2c: 01 00 00 12 1A 2C [09:56:18]Write i2c OK [09:56:18]MH_I2C_Read... [09:56:18]OFD Sender: No OFD packet to send [09:56:18]*** Cut start [09:56:18]*** Partial cut [09:56:18]*** CUTSNS_PIN = 1 [09:56:19]*** CUTSNS_PIN = 0 [09:56:19]*** Brake cut motor [09:56:19]Read from MH i2c: 01 [09:56:19]MH_I2C_Read... [09:56:19]*** Stop cut motor [09:56:19]*** Cut end [09:56:19]Read from MH i2c: 01 07 00 [09:56:19]MH_I2C_Read... [09:56:19]Read from MH i2c: 01 07 00 12 1A 00 00 00 00 00 FF 0F 41 [09:56:19]process_action close_receipt done [09:56:19]requested_data is exist [09:56:19]produce_requested_data [09:56:19]requested_item fm.sn is exist - process it [09:56:19]wFMCommunicate request_size=4 [09:56:19]MH_SAM_APDU [09:56:19]CAPDU: 80 11 00 00 [09:56:19]Write to MH i2c: E2 08 00 13 1A 80 11 00 00 00 00 00 00 A7 [09:56:19]Write i2c OK [09:56:19]MH_I2C_Read... [09:56:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:19]Read from MH i2c: E2 [09:56:19]MH_I2C_Read... [09:56:19]Read from MH i2c: E2 17 00 [09:56:19]MH_I2C_Read... [09:56:19]Read from MH i2c: E2 17 00 13 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 FA [09:56:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:56:19]wFMCommunicate OK [09:56:19]requested_item fd.num is exist - process it [09:56:19]SAM_PROTO_GetFieldsCounters [09:56:19]wFMCommunicate request_size=4 [09:56:19]MH_SAM_APDU [09:56:19]CAPDU: 80 13 00 00 [09:56:19]Write to MH i2c: E2 08 00 14 1A 80 13 00 00 00 00 00 00 AA [09:56:19]Write i2c OK [09:56:19]MH_I2C_Read... [09:56:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:56:19]Read from MH i2c: E2 [09:56:19]MH_I2C_Read... [09:56:19]Read from MH i2c: E2 62 00 [09:56:19]MH_I2C_Read... [09:56:19]Read from MH i2c: E2 62 00 14 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 01 10 00 00 0E 04 04 00 53 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 5D [09:56:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 01 10 00 00 0E 04 04 00 53 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 [09:56:19]wFMCommunicate OK [09:56:19]SAM_PROTO_GetFieldsCounters done [09:56:19]requested_item shift.num is exist - process it [09:56:19]requested_item shift.opened is exist - process it [09:56:19]req_shift_opened [09:56:19]FM_GetShiftState [09:56:19]SAM_PROTO_GetShiftState [09:56:19]wFMCommunicate request_size=4 [09:56:19]MH_SAM_APDU [09:56:19]CAPDU: 80 13 01 00 [09:56:19]Write to MH i2c: E2 08 00 15 1A 80 13 01 00 00 00 00 00 AC [09:56:19]Write i2c OK [09:56:19]MH_I2C_Read... [09:56:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:56:19]Read from MH i2c: E2 [09:56:19]MH_I2C_Read... [09:56:19]Read from MH i2c: E2 0E 00 [09:56:19]MH_I2C_Read... [09:56:19]Read from MH i2c: E2 0E 00 15 1A 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 45 [09:56:19]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [09:56:19]wFMCommunicate OK [09:56:19]SAM_PROTO_GetShiftState done [09:56:19]FM_GetShiftState done [09:56:19]req_shift_opened done [09:56:19]requested_item shift.open_date is exist - process it [09:56:19]req_shift_open_date [09:56:19]req_shift_open_date done [09:56:19]produce_requested_data done [09:56:19]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4097,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [09:56:19]process_action_free close_receipt [09:56:19]json_value_free [09:56:19]json_value_free done [09:56:19]process_json_proto returns [09:56:19]Send response to host [09:56:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4097,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [09:56:19]free response buf [09:56:19]execute_script done [09:56:19]execute_script returns [09:56:19]free content buf [09:56:19]Sock 9.Close socket [09:56:19]Sock 9.Thread stoped [09:56:23]OFD Sender: No OFD packet to send [09:56:28]OFD Sender: No OFD packet to send [09:56:33]OFD Sender: No OFD packet to send [09:56:38]OFD Sender: No OFD packet to send [09:56:43]OFD Sender: No OFD packet to send [09:56:48]OFD Sender: No OFD packet to send [09:56:53]OFD Sender: No OFD packet to send [09:56:58]OFD Sender: No OFD packet to send [09:57:03]OFD Sender: No OFD packet to send [09:57:08]OFD Sender: No OFD packet to send [09:57:13]OFD Sender: No OFD packet to send [09:57:18]OFD Sender: No OFD packet to send [09:57:23]OFD Sender: No OFD packet to send [09:57:28]OFD Sender: No OFD packet to send [09:57:33]OFD Sender: No OFD packet to send [09:57:38]OFD Sender: No OFD packet to send [09:57:43]OFD Sender: No OFD packet to send [09:57:48]OFD Sender: No OFD packet to send [09:57:53]OFD Sender: No OFD packet to send [09:57:58]OFD Sender: No OFD packet to send [09:58:03]OFD Sender: No OFD packet to send [09:58:08]OFD Sender: No OFD packet to send [09:58:13]OFD Sender: No OFD packet to send [09:58:18]OFD Sender: No OFD packet to send [09:58:23]OFD Sender: No OFD packet to send [09:58:28]OFD Sender: No OFD packet to send [09:58:33]OFD Sender: No OFD packet to send [09:58:38]OFD Sender: No OFD packet to send [09:58:43]OFD Sender: No OFD packet to send [09:58:48]OFD Sender: No OFD packet to send [09:58:53]OFD Sender: No OFD packet to send [09:58:58]OFD Sender: No OFD packet to send [09:59:03]OFD Sender: No OFD packet to send [09:59:08]OFD Sender: No OFD packet to send [09:59:13]OFD Sender: No OFD packet to send [09:59:18]OFD Sender: No OFD packet to send [09:59:23]OFD Sender: No OFD packet to send [09:59:28]OFD Sender: No OFD packet to send [09:59:33]OFD Sender: No OFD packet to send [09:59:38]OFD Sender: No OFD packet to send [09:59:43]OFD Sender: No OFD packet to send [09:59:48]OFD Sender: No OFD packet to send [09:59:53]OFD Sender: No OFD packet to send [09:59:58]OFD Sender: No OFD packet to send [10:00:03]OFD Sender: No OFD packet to send [10:00:08]OFD Sender: No OFD packet to send [10:00:13]OFD Sender: No OFD packet to send [10:00:18]OFD Sender: No OFD packet to send [10:00:23]OFD Sender: No OFD packet to send [10:00:28]OFD Sender: No OFD packet to send [10:00:33]OFD Sender: No OFD packet to send [10:00:38]OFD Sender: No OFD packet to send [10:00:43]OFD Sender: No OFD packet to send [10:00:48]OFD Sender: No OFD packet to send [10:00:53]OFD Sender: No OFD packet to send [10:00:58]OFD Sender: No OFD packet to send [10:01:03]OFD Sender: No OFD packet to send [10:01:08]OFD Sender: No OFD packet to send [10:01:13]OFD Sender: No OFD packet to send [10:01:18]OFD Sender: No OFD packet to send [10:01:23]OFD Sender: No OFD packet to send [10:01:28]OFD Sender: No OFD packet to send [10:01:33]OFD Sender: No OFD packet to send [10:01:38]OFD Sender: No OFD packet to send [10:01:43]OFD Sender: No OFD packet to send [10:01:48]OFD Sender: No OFD packet to send [10:01:53]OFD Sender: No OFD packet to send [10:01:58]OFD Sender: No OFD packet to send [10:02:03]OFD Sender: No OFD packet to send [10:02:08]OFD Sender: No OFD packet to send [10:02:13]OFD Sender: No OFD packet to send [10:02:18]OFD Sender: No OFD packet to send [10:02:23]OFD Sender: No OFD packet to send [10:02:28]OFD Sender: No OFD packet to send [10:02:33]OFD Sender: No OFD packet to send [10:02:38]OFD Sender: No OFD packet to send [10:02:43]OFD Sender: No OFD packet to send [10:02:48]OFD Sender: No OFD packet to send [10:02:53]OFD Sender: No OFD packet to send [10:02:58]OFD Sender: No OFD packet to send [10:03:03]OFD Sender: No OFD packet to send [10:03:08]OFD Sender: No OFD packet to send [10:03:13]OFD Sender: No OFD packet to send [10:03:18]OFD Sender: No OFD packet to send [10:03:23]OFD Sender: No OFD packet to send [10:03:28]OFD Sender: No OFD packet to send [10:03:33]OFD Sender: No OFD packet to send [10:03:38]OFD Sender: No OFD packet to send [10:03:43]OFD Sender: No OFD packet to send [10:03:48]OFD Sender: No OFD packet to send [10:03:53]OFD Sender: No OFD packet to send [10:03:58]OFD Sender: No OFD packet to send [10:04:03]OFD Sender: No OFD packet to send [10:04:08]OFD Sender: No OFD packet to send [10:04:13]OFD Sender: No OFD packet to send [10:04:18]OFD Sender: No OFD packet to send [10:04:23]OFD Sender: No OFD packet to send [10:04:28]OFD Sender: No OFD packet to send [10:04:33]OFD Sender: No OFD packet to send [10:04:38]OFD Sender: No OFD packet to send [10:04:43]OFD Sender: No OFD packet to send [10:04:48]OFD Sender: No OFD packet to send [10:04:53]OFD Sender: No OFD packet to send [10:04:58]OFD Sender: No OFD packet to send [10:05:03]OFD Sender: No OFD packet to send [10:05:08]OFD Sender: No OFD packet to send [10:05:13]OFD Sender: No OFD packet to send [10:05:18]OFD Sender: No OFD packet to send [10:05:23]OFD Sender: No OFD packet to send [10:05:28]OFD Sender: No OFD packet to send [10:05:33]OFD Sender: No OFD packet to send [10:05:38]OFD Sender: No OFD packet to send [10:05:43]OFD Sender: No OFD packet to send [10:05:48]OFD Sender: No OFD packet to send [10:05:53]OFD Sender: No OFD packet to send [10:05:58]OFD Sender: No OFD packet to send [10:06:03]OFD Sender: No OFD packet to send [10:06:08]OFD Sender: No OFD packet to send [10:06:13]OFD Sender: No OFD packet to send [10:06:18]OFD Sender: No OFD packet to send [10:06:23]OFD Sender: No OFD packet to send [10:06:28]OFD Sender: No OFD packet to send [10:06:33]OFD Sender: No OFD packet to send [10:06:38]OFD Sender: No OFD packet to send [10:06:43]OFD Sender: No OFD packet to send [10:06:48]OFD Sender: No OFD packet to send [10:06:53]OFD Sender: No OFD packet to send [10:06:58]OFD Sender: No OFD packet to send [10:07:03]OFD Sender: No OFD packet to send [10:07:08]OFD Sender: No OFD packet to send [10:07:13]OFD Sender: No OFD packet to send [10:07:18]OFD Sender: No OFD packet to send [10:07:23]OFD Sender: No OFD packet to send [10:07:28]OFD Sender: No OFD packet to send [10:07:33]OFD Sender: No OFD packet to send [10:07:38]OFD Sender: No OFD packet to send [10:07:43]OFD Sender: No OFD packet to send [10:07:48]OFD Sender: No OFD packet to send [10:07:53]OFD Sender: No OFD packet to send [10:07:58]OFD Sender: No OFD packet to send [10:08:03]OFD Sender: No OFD packet to send [10:08:08]OFD Sender: No OFD packet to send [10:08:13]OFD Sender: No OFD packet to send [10:08:18]OFD Sender: No OFD packet to send [10:08:23]OFD Sender: No OFD packet to send [10:08:28]OFD Sender: No OFD packet to send [10:08:33]OFD Sender: No OFD packet to send [10:08:38]OFD Sender: No OFD packet to send [10:08:43]OFD Sender: No OFD packet to send [10:08:48]OFD Sender: No OFD packet to send [10:08:53]OFD Sender: No OFD packet to send [10:08:58]OFD Sender: No OFD packet to send [10:09:03]OFD Sender: No OFD packet to send [10:09:08]OFD Sender: No OFD packet to send [10:09:13]OFD Sender: No OFD packet to send [10:09:19]OFD Sender: No OFD packet to send [10:09:24]OFD Sender: No OFD packet to send [10:09:29]OFD Sender: No OFD packet to send [10:09:34]OFD Sender: No OFD packet to send [10:09:39]OFD Sender: No OFD packet to send [10:09:44]OFD Sender: No OFD packet to send [10:09:49]OFD Sender: No OFD packet to send [10:09:54]OFD Sender: No OFD packet to send [10:09:59]OFD Sender: No OFD packet to send [10:10:04]OFD Sender: No OFD packet to send [10:10:09]OFD Sender: No OFD packet to send [10:10:14]OFD Sender: No OFD packet to send [10:10:19]OFD Sender: No OFD packet to send [10:10:24]OFD Sender: No OFD packet to send [10:10:29]OFD Sender: No OFD packet to send [10:10:34]OFD Sender: No OFD packet to send [10:10:39]OFD Sender: No OFD packet to send [10:10:44]OFD Sender: No OFD packet to send [10:10:49]OFD Sender: No OFD packet to send [10:10:54]OFD Sender: No OFD packet to send [10:10:59]OFD Sender: No OFD packet to send [10:11:04]OFD Sender: No OFD packet to send [10:11:09]OFD Sender: No OFD packet to send [10:11:14]OFD Sender: No OFD packet to send [10:11:19]OFD Sender: No OFD packet to send [10:11:24]OFD Sender: No OFD packet to send [10:11:29]OFD Sender: No OFD packet to send [10:11:34]OFD Sender: No OFD packet to send [10:11:39]OFD Sender: No OFD packet to send [10:11:44]OFD Sender: No OFD packet to send [10:11:49]OFD Sender: No OFD packet to send [10:11:54]OFD Sender: No OFD packet to send [10:11:59]OFD Sender: No OFD packet to send [10:12:04]OFD Sender: No OFD packet to send [10:12:09]OFD Sender: No OFD packet to send [10:12:14]OFD Sender: No OFD packet to send [10:12:19]OFD Sender: No OFD packet to send [10:12:24]OFD Sender: No OFD packet to send [10:12:29]OFD Sender: No OFD packet to send [10:12:34]OFD Sender: No OFD packet to send [10:12:39]OFD Sender: No OFD packet to send [10:12:44]OFD Sender: No OFD packet to send [10:12:49]OFD Sender: No OFD packet to send [10:12:54]OFD Sender: No OFD packet to send [10:12:59]OFD Sender: No OFD packet to send [10:13:04]OFD Sender: No OFD packet to send [10:13:09]OFD Sender: No OFD packet to send [10:13:14]OFD Sender: No OFD packet to send [10:13:19]OFD Sender: No OFD packet to send [10:13:24]OFD Sender: No OFD packet to send [10:13:29]OFD Sender: No OFD packet to send [10:13:34]OFD Sender: No OFD packet to send [10:13:39]OFD Sender: No OFD packet to send [10:13:44]OFD Sender: No OFD packet to send [10:13:49]OFD Sender: No OFD packet to send [10:13:54]OFD Sender: No OFD packet to send [10:13:59]OFD Sender: No OFD packet to send [10:14:04]OFD Sender: No OFD packet to send [10:14:09]OFD Sender: No OFD packet to send [10:14:14]OFD Sender: No OFD packet to send [10:14:19]OFD Sender: No OFD packet to send [10:14:24]OFD Sender: No OFD packet to send [10:14:29]OFD Sender: No OFD packet to send [10:14:34]OFD Sender: No OFD packet to send [10:14:39]OFD Sender: No OFD packet to send [10:14:44]OFD Sender: No OFD packet to send [10:14:49]OFD Sender: No OFD packet to send [10:14:54]OFD Sender: No OFD packet to send [10:14:59]OFD Sender: No OFD packet to send [10:15:04]OFD Sender: No OFD packet to send [10:15:09]OFD Sender: No OFD packet to send [10:15:14]OFD Sender: No OFD packet to send [10:15:19]OFD Sender: No OFD packet to send [10:15:24]OFD Sender: No OFD packet to send [10:15:29]OFD Sender: No OFD packet to send [10:15:34]OFD Sender: No OFD packet to send [10:15:39]OFD Sender: No OFD packet to send [10:15:44]OFD Sender: No OFD packet to send [10:15:49]OFD Sender: No OFD packet to send [10:15:54]OFD Sender: No OFD packet to send [10:15:59]OFD Sender: No OFD packet to send [10:16:04]OFD Sender: No OFD packet to send [10:16:09]OFD Sender: No OFD packet to send [10:16:14]OFD Sender: No OFD packet to send [10:16:19]OFD Sender: No OFD packet to send [10:16:24]OFD Sender: No OFD packet to send [10:16:29]OFD Sender: No OFD packet to send [10:16:34]OFD Sender: No OFD packet to send [10:16:39]OFD Sender: No OFD packet to send [10:16:44]OFD Sender: No OFD packet to send [10:16:49]OFD Sender: No OFD packet to send [10:16:54]OFD Sender: No OFD packet to send [10:16:59]OFD Sender: No OFD packet to send [10:17:04]OFD Sender: No OFD packet to send [10:17:09]OFD Sender: No OFD packet to send [10:17:14]OFD Sender: No OFD packet to send [10:17:19]OFD Sender: No OFD packet to send [10:17:24]OFD Sender: No OFD packet to send [10:17:29]OFD Sender: No OFD packet to send [10:17:34]OFD Sender: No OFD packet to send [10:17:39]OFD Sender: No OFD packet to send [10:17:44]OFD Sender: No OFD packet to send [10:17:49]OFD Sender: No OFD packet to send [10:17:54]OFD Sender: No OFD packet to send [10:17:59]OFD Sender: No OFD packet to send [10:18:04]OFD Sender: No OFD packet to send [10:18:09]OFD Sender: No OFD packet to send [10:18:14]OFD Sender: No OFD packet to send [10:18:19]OFD Sender: No OFD packet to send [10:18:24]OFD Sender: No OFD packet to send [10:18:29]OFD Sender: No OFD packet to send [10:18:34]OFD Sender: No OFD packet to send [10:18:39]OFD Sender: No OFD packet to send [10:18:44]OFD Sender: No OFD packet to send [10:18:49]OFD Sender: No OFD packet to send [10:18:54]OFD Sender: No OFD packet to send [10:18:59]OFD Sender: No OFD packet to send [10:19:04]OFD Sender: No OFD packet to send [10:19:09]OFD Sender: No OFD packet to send [10:19:14]OFD Sender: No OFD packet to send [10:19:19]OFD Sender: No OFD packet to send [10:19:24]OFD Sender: No OFD packet to send [10:19:29]OFD Sender: No OFD packet to send [10:19:34]OFD Sender: No OFD packet to send [10:19:39]OFD Sender: No OFD packet to send [10:19:44]OFD Sender: No OFD packet to send [10:19:49]OFD Sender: No OFD packet to send [10:19:54]OFD Sender: No OFD packet to send [10:19:59]OFD Sender: No OFD packet to send [10:20:04]OFD Sender: No OFD packet to send [10:20:09]OFD Sender: No OFD packet to send [10:20:14]OFD Sender: No OFD packet to send [10:20:19]OFD Sender: No OFD packet to send [10:20:24]OFD Sender: No OFD packet to send [10:20:29]OFD Sender: No OFD packet to send [10:20:34]OFD Sender: No OFD packet to send [10:20:39]OFD Sender: No OFD packet to send [10:20:44]OFD Sender: No OFD packet to send [10:20:49]OFD Sender: No OFD packet to send [10:20:54]OFD Sender: No OFD packet to send [10:20:59]OFD Sender: No OFD packet to send [10:21:04]OFD Sender: No OFD packet to send [10:21:09]OFD Sender: No OFD packet to send [10:21:14]OFD Sender: No OFD packet to send [10:21:19]OFD Sender: No OFD packet to send [10:21:24]OFD Sender: No OFD packet to send [10:21:29]OFD Sender: No OFD packet to send [10:21:34]OFD Sender: No OFD packet to send [10:21:39]OFD Sender: No OFD packet to send [10:21:44]OFD Sender: No OFD packet to send [10:21:49]OFD Sender: No OFD packet to send [10:21:54]OFD Sender: No OFD packet to send [10:21:59]OFD Sender: No OFD packet to send [10:22:04]OFD Sender: No OFD packet to send [10:22:09]OFD Sender: No OFD packet to send [10:22:14]OFD Sender: No OFD packet to send [10:22:19]OFD Sender: No OFD packet to send [10:22:24]OFD Sender: No OFD packet to send [10:22:29]OFD Sender: No OFD packet to send [10:22:34]OFD Sender: No OFD packet to send [10:22:39]OFD Sender: No OFD packet to send [10:22:44]OFD Sender: No OFD packet to send [10:22:49]OFD Sender: No OFD packet to send [10:22:54]OFD Sender: No OFD packet to send [10:22:59]OFD Sender: No OFD packet to send [10:23:04]OFD Sender: No OFD packet to send [10:23:09]OFD Sender: No OFD packet to send [10:23:14]OFD Sender: No OFD packet to send [10:23:19]OFD Sender: No OFD packet to send [10:23:24]OFD Sender: No OFD packet to send [10:23:29]OFD Sender: No OFD packet to send [10:23:34]OFD Sender: No OFD packet to send [10:23:39]OFD Sender: No OFD packet to send [10:23:44]OFD Sender: No OFD packet to send [10:23:49]OFD Sender: No OFD packet to send [10:23:54]OFD Sender: No OFD packet to send [10:23:59]OFD Sender: No OFD packet to send [10:24:04]OFD Sender: No OFD packet to send [10:24:09]OFD Sender: No OFD packet to send [10:24:14]OFD Sender: No OFD packet to send [10:24:19]OFD Sender: No OFD packet to send [10:24:24]OFD Sender: No OFD packet to send [10:24:29]OFD Sender: No OFD packet to send [10:24:34]OFD Sender: No OFD packet to send [10:24:39]OFD Sender: No OFD packet to send [10:24:44]OFD Sender: No OFD packet to send [10:24:49]OFD Sender: No OFD packet to send [10:24:54]OFD Sender: No OFD packet to send [10:24:59]OFD Sender: No OFD packet to send [10:25:04]OFD Sender: No OFD packet to send [10:25:09]OFD Sender: No OFD packet to send [10:25:14]OFD Sender: No OFD packet to send [10:25:19]OFD Sender: No OFD packet to send [10:25:24]OFD Sender: No OFD packet to send [10:25:29]OFD Sender: No OFD packet to send [10:25:34]OFD Sender: No OFD packet to send [10:25:39]OFD Sender: No OFD packet to send [10:25:44]OFD Sender: No OFD packet to send [10:25:49]OFD Sender: No OFD packet to send [10:25:54]OFD Sender: No OFD packet to send [10:25:59]OFD Sender: No OFD packet to send [10:26:04]OFD Sender: No OFD packet to send [10:26:09]OFD Sender: No OFD packet to send [10:26:14]OFD Sender: No OFD packet to send [10:26:19]OFD Sender: No OFD packet to send [10:26:24]OFD Sender: No OFD packet to send [10:26:29]OFD Sender: No OFD packet to send [10:26:34]OFD Sender: No OFD packet to send [10:26:39]OFD Sender: No OFD packet to send [10:26:44]OFD Sender: No OFD packet to send [10:26:49]OFD Sender: No OFD packet to send [10:26:54]OFD Sender: No OFD packet to send [10:26:59]OFD Sender: No OFD packet to send [10:27:04]OFD Sender: No OFD packet to send [10:27:09]OFD Sender: No OFD packet to send [10:27:14]OFD Sender: No OFD packet to send [10:27:19]OFD Sender: No OFD packet to send [10:27:24]OFD Sender: No OFD packet to send [10:27:29]OFD Sender: No OFD packet to send [10:27:34]OFD Sender: No OFD packet to send [10:27:39]OFD Sender: No OFD packet to send [10:27:44]OFD Sender: No OFD packet to send [10:27:49]OFD Sender: No OFD packet to send [10:27:54]OFD Sender: No OFD packet to send [10:27:59]OFD Sender: No OFD packet to send [10:28:04]OFD Sender: No OFD packet to send [10:28:09]OFD Sender: No OFD packet to send [10:28:14]OFD Sender: No OFD packet to send [10:28:19]OFD Sender: No OFD packet to send [10:28:24]OFD Sender: No OFD packet to send [10:28:29]OFD Sender: No OFD packet to send [10:28:34]OFD Sender: No OFD packet to send [10:28:39]OFD Sender: No OFD packet to send [10:28:44]OFD Sender: No OFD packet to send [10:28:49]OFD Sender: No OFD packet to send [10:28:54]OFD Sender: No OFD packet to send [10:28:59]OFD Sender: No OFD packet to send [10:29:04]OFD Sender: No OFD packet to send [10:29:09]OFD Sender: No OFD packet to send [10:29:14]accept exits with 8 [10:29:14]New connection [10:29:14]New thread 3067227492 created [10:29:14]Thread 3067370852 joined [10:29:14]Waiting for new connection... [10:29:14] Sock 8.Parse request [10:29:14]Sock 8.Check first char [10:29:14]Sock 8.First char is OK [10:29:14]request: POST /json_proto HTTP/1.0 [10:29:14]Method: POST [10:29:14]URL: /json_proto [10:29:14]Method is POST - this is cgi request [10:29:14]url: /json_proto [10:29:14]query_string will be loaded in cgi processing [10:29:14]execute_cgi json_proto POST (null) [10:29:14]execute_cgi path=json_proto method=POST [10:29:14]POST find Content-Length [10:29:14]Host: 172.17.56.68:8080 [10:29:14]Content-Length: 619 [10:29:14]Content-Type: application/json [10:29:14] [10:29:14]POST finish read [10:29:14]Found Content-Length = 619 [10:29:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4351", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:29:14]execute_script... [10: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 : (3)4351", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:29:14]POST & json_proto [10:29:14]process_json_proto [10:29:14]json parsed OK: [10:29:14]protocol is kg_v1.0 [10:29:14]action value=close_receipt [10:29:14]process_action close_receipt [10:29:14]cmd_close_receipt [10:29:14]MH_GetDate [10:29:14]Write to MH i2c: F0 00 00 16 1A 1F [10:29:14]Write i2c OK [10:29:14]MH_I2C_Read... [10:29:14]Read from MH i2c: F0 [10:29:14]MH_I2C_Read... [10:29:14]Read from MH i2c: F0 09 00 [10:29:14]MH_I2C_Read... [10:29:14]Read from MH i2c: F0 09 00 16 1A 00 82 EC 5E 66 42 69 5C 66 C7 [10:29:14]GetLastDocTimeStamp 1717494983 [10:29:14]current date 1717496962 [10:29:14]FM_GetShiftState [10:29:14]SAM_PROTO_GetShiftState [10:29:14]wFMCommunicate request_size=4 [10:29:14]MH_SAM_APDU [10:29:14]CAPDU: 80 13 01 00 [10:29:14]Write to MH i2c: E2 08 00 17 1A 80 13 01 00 00 00 00 00 AE [10:29:14]Write i2c OK [10:29:14]MH_I2C_Read... [10:29:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:29:14]Read from MH i2c: E2 [10:29:14]MH_I2C_Read... [10:29:14]Read from MH i2c: E2 0E 00 [10:29:14]MH_I2C_Read... [10:29:14]Read from MH i2c: E2 0E 00 17 1A 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 47 [10:29:14]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [10:29:14]wFMCommunicate OK [10:29:14]SAM_PROTO_GetShiftState done [10:29:14]FM_GetShiftState done [10:29:14]opened in 1717459822 [10:29:14]opened+sec_in_day 1717546222 [10:29:14]quantity*price = 14000 [10:29:14]sum+1 = 14001 [10:29:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 15 04.06.2024 10:29 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4098 ФПД: 43471031303683 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T102922&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4098&fm=43471031303683&tin=02508201610067®Number=0000000000145775&sum=14000 0 [10:29:15]StoreToDocumentArchive [10:29:15]shift 83 fd 4098 [10:29:15]save to /storage/0083/doc_00004098 [10:29:15]save last doc name /storage/0083/doc_00004098 to /storage/kkm_last_doc_name [10:29:15]save OK [10:29:15]Clear old archive folders... [10:29:15]ProcessDocumentItem done err = 0, tmpTLVsize=273 [10:29:15]tlvbuf is 00829D10 [10:29:15]SAM_PROTO_ClearQueue [10:29:15]wFMCommunicate request_size=4 [10:29:15]MH_SAM_APDU [10:29:15]CAPDU: 80 09 00 00 [10:29:15]Write to MH i2c: E2 08 00 24 1A 80 09 00 00 00 00 00 00 B0 [10:29:15]Write i2c OK [10:29:15]MH_I2C_Read... [10:29:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:29:15]Read from MH i2c: E2 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 03 00 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 03 00 24 1A 00 90 00 B2 [10:29:15]RAPDU: 90 00 [10:29:15]wFMCommunicate OK [10:29:15]SAM_PROTO_ClearQueue done [10:29:15]KKMCreateOFDPacket [10:29:15]OFDProtocolAddRootSTLVToBuf [10:29:15]FM_MakeSignedData [10:29:15]FM_MakeSignedData [10:29:15]SAM_PROTO_SignData [10:29:15]wFMCommunicate request_size=4 [10:29:15]MH_SAM_APDU [10:29:15]CAPDU: 80 0D 01 02 [10:29:15]Write to MH i2c: E2 08 00 25 1A 80 0D 01 02 00 00 00 00 B8 [10:29:15]Write i2c OK [10:29:15]MH_I2C_Read... [10:29:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:29:15]Read from MH i2c: E2 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 03 00 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 03 00 25 1A 00 90 00 B3 [10:29:15]RAPDU: 90 00 [10:29:15]wFMCommunicate OK [10:29:15]wFMCommunicate request_size=255 [10:29:15]MH_SAM_APDU [10:29:15]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 82 EC 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 [10:29:15]Write to MH i2c: E2 02 01 26 1A 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 82 EC 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 00 00 45 [10:29:15]Write i2c OK [10:29:15]MH_I2C_Read... [10:29:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:29:15]Read from MH i2c: E2 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 03 00 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 03 00 26 1A 00 90 00 B4 [10:29:15]RAPDU: 90 00 [10:29:15]wFMCommunicate OK [10:29:15]wFMCommunicate request_size=32 [10:29:15]MH_SAM_APDU [10:29:15]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 36 30 10 04 04 00 02 10 00 00 35 04 06 00 27 89 63 60 FE 03 [10:29:15]Write to MH i2c: E2 23 00 27 1A 80 0D 02 02 1B 00 30 30 30 39 35 39 33 36 30 10 04 04 00 02 10 00 00 35 04 06 00 27 89 63 60 FE 03 00 00 9E [10:29:15]Write i2c OK [10:29:15]MH_I2C_Read... [10:29:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:29:15]Read from MH i2c: E2 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 03 00 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 03 00 27 1A 00 90 00 B5 [10:29:15]RAPDU: 90 00 [10:29:15]wFMCommunicate OK [10:29:15]wFMCommunicate request_size=4 [10:29:15]MH_SAM_APDU [10:29:15]CAPDU: 80 0D 03 02 [10:29:15]Write to MH i2c: E2 08 00 28 1A 80 0D 03 02 00 00 00 00 BD [10:29:15]Write i2c OK [10:29:15]MH_I2C_Read... [10:29:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:29:15]Read from MH i2c: E2 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 0B 00 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 0B 00 28 1A 00 78 7C DA 55 2A 61 61 E8 90 00 B5 [10:29:15]RAPDU: 78 7C DA 55 2A 61 61 E8 90 00 [10:29:15]wFMCommunicate OK [10:29:15]SAM_PROTO_SignData done [10:29:15]FM_MakeSignedData done [10:29:15]CreateOFDProtocolMessage [10:29:15]wFMCommunicate request_size=4 [10:29:15]MH_SAM_APDU [10:29:15]CAPDU: 80 11 00 00 [10:29:15]Write to MH i2c: E2 08 00 29 1A 80 11 00 00 00 00 00 00 BD [10:29:15]Write i2c OK [10:29:15]MH_I2C_Read... [10:29:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:29:15]Read from MH i2c: E2 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 17 00 [10:29:15]MH_I2C_Read... [10:29:15]Read from MH i2c: E2 17 00 29 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 10 [10:29:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:29:15]wFMCommunicate OK [10:29:15]CreateOFDProtocolMessage done [10:29:15]OFDSenderStorePacket 4098 [10:29:15]StoreOFDPacket docnum=4098 [10:29:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 C1 DD 1D 01 F4 73 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 82 EC 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 02 10 00 00 35 04 06 00 27 89 63 60 FE 03 78 7C DA 55 2A 61 61 E8 [10:29:15]CheckFolder [10:29:15]dirname=/storage/ofd_packets [10:29:15]CheckFolder done [10:29:16]ProducePacketName [10:29:16]name=ofd_packets/00004098 [10:29:16]NVStorageSaveData ofd_packets/00004098 [10:29:16]File name is /storage/ofd_packets/00004098 [10:29:16]Write 323 bytes [10:29:16]NVStorageSaveData done [10:29:16]OFDSenderStorePacket done [10:29:16]KKMCreateOFDPacket done [10:29:16]NVStorageSaveData kkm_last_timestamp [10:29:16]File name is /storage/kkm_last_timestamp [10:29:16]Write 4 bytes [10:29:16]NVStorageSaveData done [10:29:16]ExternCall_PrintAddStr [10:29:16]wPrintStart [10:29:16]Write to MH i2c: 01 00 00 2A 1A 44 [10:29:16]Write i2c OK [10:29:16]MH_I2C_Read... [10:29:16]Read from MH i2c: 01 [10:29:16]MH_I2C_Read... [10:29:16]Read from MH i2c: 01 07 00 [10:29:16]MH_I2C_Read... [10:29:16]Read from MH i2c: 01 07 00 2A 1A 00 00 00 00 00 FF 0F 59 [10:29:16]RasterBufferAndPrint [10:29:16]line Счет N : (3)4351 [10:29:16]line ИНН: 02508201610067 [10:29:16]line Контрольно-Кассовый Чек [10:29:16]line ПРОДАЖА [10:29:16]line Товар: 48743570 [10:29:16]line Сигареты Winston XStyle Blue [10:29:16]line 1.000 * 140.00 [10:29:16]line = 140.00 [10:29:16]line НДС 12% НСП 1% [10:29:16]line > о реализуемом товаре [10:29:16]line ИТОГО: 140.00 [10:29:16]line НСП 1% : 1.24 [10:29:16]line НДС 12% : 14.87 [10:29:16]line Наличными: 140.00 [10:29:16]line Безнал.: 0.00 [10:29:16]line Место: АЗС № 116 "Партнер Нефть" [10:29:16]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [10:29:16]line СНО: Общий режим [10:29:16]line Чек 15 04.06.2024 10:29 [10:29:16]line Смена: 83 ФФД: 1.0 [10:29:16]line ЗНМ: 0300000233 [10:29:16]line РНМ: 0000000000145775 [10:29:16]line Версия ККМ: v1.0 [10:29:16]line ФМ: 0000000000959360 [10:29:16]line ФД: 4098 [10:29:16]line ФПД: 43471031303683 [10:29:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T102922&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4098&fm=43471031303683&tin=02508201610067®Number=0000000000145775&sum=14000 [10:29:16]line 0 [10:29:16]OFD Sender: Processing packet 4098 [packets to send 2, broken 1] [10:29:16]ProducePacketName [10:29:16]name=ofd_packets/00004098 [10:29:16]OFD Sender: To server: pG, [10:29:16]CommunicateWithHost lk.salyk.kg:30040 [10:29:16]ConnectInit lk.salyk.kg [10:29:16]written 0, free lines is 4095 [10:29:16]Connected sock=10 [10:29:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 C1 DD 1D 01 F4 73 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 82 EC 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 02 10 00 00 35 04 06 00 27 89 63 60 FE 03 78 7C DA 55 2A 61 61 E8 [10:29:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 C1 B9 47 00 55 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 02 10 00 00 F4 03 04 00 83 98 5E 66 B6 04 01 00 00 D8 B4 0D 9D 29 C4 7F C7 [10:29:16]CommunicateWithHost err = 0 [10:29:16]CheckOFDResponse [10:29:16]1017 (14) - 77093643461234 [10:29:16]1041 (16) - 0000000000959360 [10:29:16]1040 (4) - 4098 [10:29:16]1012 (4) - 04.06.2024 04:30 [10:29:16]1206 (1) - 0 [10:29:16]OFD Sender: Remove packet 4098 [10:29:16]ProducePacketName [10:29:16]name=ofd_packets/00004098 [10:29:16]NVStorageDeleteData [10:29:16]Write to MH i2c: 01 00 00 52 1A 6C [10:29:16]Write i2c OK [10:29:16]MH_I2C_Read... [10:29:16]Read from MH i2c: 01 [10:29:16]MH_I2C_Read... [10:29:16]Read from MH i2c: 01 07 00 [10:29:16]MH_I2C_Read... [10:29:16]Read from MH i2c: 01 07 00 52 1A 00 00 00 00 00 C9 0C 48 [10:29:16]RasterBufferAndPrint [10:29:16]line [10:29:16]line [10:29:16]line [10:29:16]line [10:29:16]line [10:29:16]written 0, free lines is 3279 [10:29:16]MH_Cut [10:29:16]Write to MH i2c: D1 01 00 59 1A 01 45 [10:29:16]Write i2c OK [10:29:16]MH_I2C_Read... [10:29:16]Read from MH i2c: D1 [10:29:16]MH_I2C_Read... [10:29:16]Read from MH i2c: D1 01 00 [10:29:16]MH_I2C_Read... [10:29:16]Read from MH i2c: D1 01 00 59 1A 00 44 [10:29:16]Write to MH i2c: 01 00 00 5A 1A 74 [10:29:16]Write i2c OK [10:29:16]MH_I2C_Read... [10:29:17]OFD Sender: No OFD packet to send [10:29:17]*** Cut start [10:29:17]*** Partial cut [10:29:17]*** CUTSNS_PIN = 1 [10:29:17]*** CUTSNS_PIN = 0 [10:29:17]*** Brake cut motor [10:29:18]Read from MH i2c: 01 [10:29:18]MH_I2C_Read... [10:29:18]*** Stop cut motor [10:29:18]*** Cut end [10:29:18]Read from MH i2c: 01 07 00 [10:29:18]MH_I2C_Read... [10:29:18]Read from MH i2c: 01 07 00 5A 1A 00 00 00 00 00 FF 0F 89 [10:29:18]process_action close_receipt done [10:29:18]requested_data is exist [10:29:18]produce_requested_data [10:29:18]requested_item fm.sn is exist - process it [10:29:18]wFMCommunicate request_size=4 [10:29:18]MH_SAM_APDU [10:29:18]CAPDU: 80 11 00 00 [10:29:18]Write to MH i2c: E2 08 00 5B 1A 80 11 00 00 00 00 00 00 EF [10:29:18]Write i2c OK [10:29:18]MH_I2C_Read... [10:29:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:29:18]Read from MH i2c: E2 [10:29:18]MH_I2C_Read... [10:29:18]Read from MH i2c: E2 17 00 [10:29:18]MH_I2C_Read... [10:29:18]Read from MH i2c: E2 17 00 5B 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 42 [10:29:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:29:18]wFMCommunicate OK [10:29:18]requested_item fd.num is exist - process it [10:29:18]SAM_PROTO_GetFieldsCounters [10:29:18]wFMCommunicate request_size=4 [10:29:18]MH_SAM_APDU [10:29:18]CAPDU: 80 13 00 00 [10:29:18]Write to MH i2c: E2 08 00 5C 1A 80 13 00 00 00 00 00 00 F2 [10:29:18]Write i2c OK [10:29:18]MH_I2C_Read... [10:29:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:29:18]Read from MH i2c: E2 [10:29:18]MH_I2C_Read... [10:29:18]Read from MH i2c: E2 62 00 [10:29:18]MH_I2C_Read... [10:29:18]Read from MH i2c: E2 62 00 5C 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 02 10 00 00 0E 04 04 00 53 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 A9 [10:29:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 02 10 00 00 0E 04 04 00 53 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 [10:29:18]wFMCommunicate OK [10:29:18]SAM_PROTO_GetFieldsCounters done [10:29:18]requested_item shift.num is exist - process it [10:29:18]requested_item shift.opened is exist - process it [10:29:18]req_shift_opened [10:29:18]FM_GetShiftState [10:29:18]SAM_PROTO_GetShiftState [10:29:18]wFMCommunicate request_size=4 [10:29:18]MH_SAM_APDU [10:29:18]CAPDU: 80 13 01 00 [10:29:18]Write to MH i2c: E2 08 00 5D 1A 80 13 01 00 00 00 00 00 F4 [10:29:18]Write i2c OK [10:29:18]MH_I2C_Read... [10:29:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:29:18]Read from MH i2c: E2 [10:29:18]MH_I2C_Read... [10:29:18]Read from MH i2c: E2 0E 00 [10:29:18]MH_I2C_Read... [10:29:18]Read from MH i2c: E2 0E 00 5D 1A 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 8D [10:29:18]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [10:29:18]wFMCommunicate OK [10:29:18]SAM_PROTO_GetShiftState done [10:29:18]FM_GetShiftState done [10:29:18]req_shift_opened done [10:29:18]requested_item shift.open_date is exist - process it [10:29:18]req_shift_open_date [10:29:18]req_shift_open_date done [10:29:18]produce_requested_data done [10:29:18]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4098,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [10:29:18]process_action_free close_receipt [10:29:18]json_value_free [10:29:18]json_value_free done [10:29:18]process_json_proto returns [10:29:18]Send response to host [10:29:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4098,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [10:29:18]free response buf [10:29:18]execute_script done [10:29:18]execute_script returns [10:29:18]free content buf [10:29:18]Sock 8.Close socket [10:29:18]Sock 8.Thread stoped [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:39]accept exits with 9 [10:31:39]New connection [10:31:39]New thread 3067370852 created [10:31:39]Thread 3067227492 joined [10:31:39]Waiting for new connection... [10:31:39] Sock 9.Parse request [10:31:39]Sock 9.Check first char [10:31:39]Sock 9.First char is OK [10:31:39]request: POST /json_proto HTTP/1.0 [10:31:39]Method: POST [10:31:39]URL: /json_proto [10:31:39]Method is POST - this is cgi request [10:31:39]url: /json_proto [10:31:39]query_string will be loaded in cgi processing [10:31:39]execute_cgi json_proto POST (null) [10:31:39]execute_cgi path=json_proto method=POST [10:31:39]POST find Content-Length [10:31:39]Host: 172.17.56.68:8080 [10:31:39]Content-Length: 1301 [10:31:39]Content-Type: application/json [10:31:39] [10:31:39]POST finish read [10:31:39]Found Content-Length = 1301 [10:31:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4352", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 45.00, "quantity" : 1.000, "sum" : 45.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" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602606003759", "name": "\u041C\u0430\u0440-\u0434 Fruit-tella \u0437\u0432\u0435\u0440\u0438 mix 30*70\u0433", "price" : 103.00, "quantity" : 1.000, "sum" : 103.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" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:31:39]execute_script... [10:31: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)4352", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 45.00, "quantity" : 1.000, "sum" : 45.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" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602606003759", "name": "\u041C\u0430\u0440-\u0434 Fruit-tella \u0437\u0432\u0435\u0440\u0438 mix 30*70\u0433", "price" : 103.00, "quantity" : 1.000, "sum" : 103.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" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:31:39]POST & json_proto [10:31:39]process_json_proto [10:31:39]json parsed OK: [10:31:39]protocol is kg_v1.0 [10:31:39]action value=close_receipt [10:31:39]process_action close_receipt [10:31:39]cmd_close_receipt [10:31:39]MH_GetDate [10:31:39]Write to MH i2c: F0 00 00 5E 1A 67 [10:31:39]Write i2c OK [10:31:39]MH_I2C_Read... [10:31:39]Read from MH i2c: F0 [10:31:39]MH_I2C_Read... [10:31:39]Read from MH i2c: F0 09 00 [10:31:39]MH_I2C_Read... [10:31:39]Read from MH i2c: F0 09 00 5E 1A 00 14 ED 5E 66 42 69 5C 66 A2 [10:31:39]GetLastDocTimeStamp 1717496962 [10:31:39]current date 1717497108 [10:31:39]FM_GetShiftState [10:31:39]SAM_PROTO_GetShiftState [10:31:39]wFMCommunicate request_size=4 [10:31:39]MH_SAM_APDU [10:31:39]CAPDU: 80 13 01 00 [10:31:39]Write to MH i2c: E2 08 00 5F 1A 80 13 01 00 00 00 00 00 F6 [10:31:39]Write i2c OK [10:31:39]MH_I2C_Read... [10:31:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:31:39]Read from MH i2c: E2 [10:31:39]MH_I2C_Read... [10:31:39]Read from MH i2c: E2 0E 00 [10:31:39]MH_I2C_Read... [10:31:39]Read from MH i2c: E2 0E 00 5F 1A 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 8F [10:31:39]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [10:31:39]wFMCommunicate OK [10:31:39]SAM_PROTO_GetShiftState done [10:31:39]FM_GetShiftState done [10:31:39]opened in 1717459822 [10:31:39]opened+sec_in_day 1717546222 [10:31:39]quantity*price = 4500 [10:31:39]sum+1 = 4501 [10:31:39]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4602606003759 Мар-д Fruit-tella звери mix 30*70г 1.000 * 103.00 = 103.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.55 НДС 12% : 30.59 Наличными: 0.00 Безнал.: 288.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 16 04.06.2024 10:31 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959360 ФД: 4099 ФПД: 231590896416990 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T103148&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4099&fm=231590896416990&tin=02508201610067®Number=0000000000145775&sum=28800 0 [10:31:40]StoreToDocumentArchive [10:31:40]shift 83 fd 4099 [10:31:40]save to /storage/0083/doc_00004099 [10:31:40]save last doc name /storage/0083/doc_00004099 to /storage/kkm_last_doc_name [10:31:40]save OK [10:31:40]Clear old archive folders... [10:31:40]ProcessDocumentItem done err = 0, tmpTLVsize=488 [10:31:40]tlvbuf is 007CAC50 [10:31:40]SAM_PROTO_ClearQueue [10:31:40]wFMCommunicate request_size=4 [10:31:40]MH_SAM_APDU [10:31:40]CAPDU: 80 09 00 00 [10:31:40]Write to MH i2c: E2 08 00 6C 1A 80 09 00 00 00 00 00 00 F8 [10:31:40]Write i2c OK [10:31:40]MH_I2C_Read... [10:31:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:31:41]Read from MH i2c: E2 [10:31:41]MH_I2C_Read... [10:31:41]Read from MH i2c: E2 03 00 [10:31:41]MH_I2C_Read... [10:31:41]Read from MH i2c: E2 03 00 6C 1A 00 90 00 FA [10:31:41]RAPDU: 90 00 [10:31:41]wFMCommunicate OK [10:31:41]SAM_PROTO_ClearQueue done [10:31:41]KKMCreateOFDPacket [10:31:41]OFDProtocolAddRootSTLVToBuf [10:31:41]FM_MakeSignedData [10:31:41]FM_MakeSignedData [10:31:41]SAM_PROTO_SignData [10:31:41]wFMCommunicate request_size=4 [10:31:41]MH_SAM_APDU [10:31:41]CAPDU: 80 0D 01 02 [10:31:41]Write to MH i2c: E2 08 00 6D 1A 80 0D 01 02 00 00 00 00 00 [10:31:41]Write i2c OK [10:31:41]MH_I2C_Read... [10:31:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:31:41]Read from MH i2c: E2 [10:31:41]MH_I2C_Read... [10:31:41]Read from MH i2c: E2 03 00 [10:31:41]MH_I2C_Read... [10:31:41]Read from MH i2c: E2 03 00 6D 1A 00 90 00 FB [10:31:41]RAPDU: 90 00 [10:31:41]wFMCommunicate OK [10:31:41]wFMCommunicate request_size=255 [10:31:41]MH_SAM_APDU [10:31:41]CAPDU: 80 0D 02 02 FA 03 00 E8 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 32 36 30 36 30 30 33 37 35 39 06 04 2C 00 D0 9C D0 B0 D1 80 2D D0 B4 20 46 72 75 69 [10:31:41]Write to MH i2c: E2 02 01 6E 1A 80 0D 02 02 FA 00 03 00 E8 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 32 36 30 36 30 30 33 37 35 39 06 04 2C 00 D0 9C D0 B0 D1 80 2D D0 B4 20 46 72 75 69 00 00 E6 [10:31:41]Write i2c OK [10:31:41]MH_I2C_Read... [10:31:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:31:41]Read from MH i2c: E2 [10:31:41]MH_I2C_Read... [10:31:41]Read from MH i2c: E2 03 00 [10:31:41]MH_I2C_Read... [10:31:41]Read from MH i2c: E2 03 00 6E 1A 00 90 00 FC [10:31:41]RAPDU: 90 00 [10:31:41]wFMCommunicate OK [10:31:41]wFMCommunicate request_size=247 [10:31:41]MH_SAM_APDU [10:31:41]CAPDU: 80 0D 02 02 F2 74 2D 74 65 6C 6C 61 20 D0 B7 D0 B2 D0 B5 D1 80 D0 B8 20 6D 69 78 20 33 30 2A 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 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 F3 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 14 ED 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 03 10 00 00 35 04 06 00 D2 A1 75 1D 38 DE [10:31:41]Write to MH i2c: E2 FA 00 6F 1A 80 0D 02 02 F2 00 74 2D 74 65 6C 6C 61 20 D0 B7 D0 B2 D0 B5 D1 80 D0 B8 20 6D 69 78 20 33 30 2A 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 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 F3 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 14 ED 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 03 10 00 00 35 04 06 00 D2 A1 75 1D 38 DE 00 00 71 [10:31:41]Write i2c OK [10:31:41]MH_I2C_Read... [10:31:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:31:41]Read from MH i2c: E2 [10:31:41]MH_I2C_Read... [10:31:41]Read from MH i2c: E2 03 00 [10:31:41]MH_I2C_Read... [10:31:41]Read from MH i2c: E2 03 00 6F 1A 00 90 00 FD [10:31:41]RAPDU: 90 00 [10:31:41]wFMCommunicate OK [10:31:41]wFMCommunicate request_size=4 [10:31:41]MH_SAM_APDU [10:31:41]CAPDU: 80 0D 03 02 [10:31:41]Write to MH i2c: E2 08 00 70 1A 80 0D 03 02 00 00 00 00 05 [10:31:41]Write i2c OK [10:31:41]MH_I2C_Read... [10:31:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:31:41]Read from MH i2c: E2 [10:31:41]MH_I2C_Read... [10:31:41]Read from MH i2c: E2 0B 00 [10:31:41]MH_I2C_Read... [10:31:41]Read from MH i2c: E2 0B 00 70 1A 00 9F 5F FB 01 5E 8B FA 4C 90 00 2F [10:31:41]RAPDU: 9F 5F FB 01 5E 8B FA 4C 90 00 [10:31:41]wFMCommunicate OK [10:31:41]SAM_PROTO_SignData done [10:31:41]FM_MakeSignedData done [10:31:41]CreateOFDProtocolMessage [10:31:41]wFMCommunicate request_size=4 [10:31:41]MH_SAM_APDU [10:31:41]CAPDU: 80 11 00 00 [10:31:41]Write to MH i2c: E2 08 00 71 1A 80 11 00 00 00 00 00 00 05 [10:31:42]Write i2c OK [10:31:42]MH_I2C_Read... [10:31:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:31:42]Read from MH i2c: E2 [10:31:42]MH_I2C_Read... [10:31:42]Read from MH i2c: E2 17 00 [10:31:42]MH_I2C_Read... [10:31:42]Read from MH i2c: E2 17 00 71 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 58 [10:31:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:31:42]wFMCommunicate OK [10:31:42]CreateOFDProtocolMessage done [10:31:42]OFDSenderStorePacket 4099 [10:31:42]StoreOFDPacket docnum=4099 [10:31:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 FC 01 00 00 46 E5 F4 01 64 15 5A 03 01 00 03 00 E8 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 32 36 30 36 30 30 33 37 35 39 06 04 2C 00 D0 9C D0 B0 D1 80 2D D0 B4 20 46 72 75 69 74 2D 74 65 6C 6C 61 20 D0 B7 D0 B2 D0 B5 D1 80 D0 B8 20 6D 69 78 20 33 30 2A 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 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 F3 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 14 ED 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 03 10 00 00 35 04 06 00 D2 A1 75 1D 38 DE 9F 5F FB 01 5E 8B FA 4C [10:31:42]CheckFolder [10:31:42]dirname=/storage/ofd_packets [10:31:42]CheckFolder done [10:31:42]ProducePacketName [10:31:42]name=ofd_packets/00004099 [10:31:42]NVStorageSaveData ofd_packets/00004099 [10:31:42]File name is /storage/ofd_packets/00004099 [10:31:42]Write 538 bytes [10:31:42]NVStorageSaveData done [10:31:42]OFDSenderStorePacket done [10:31:42]KKMCreateOFDPacket done [10:31:42]NVStorageSaveData kkm_last_timestamp [10:31:42]File name is /storage/kkm_last_timestamp [10:31:42]Write 4 bytes [10:31:42]NVStorageSaveData done [10:31:42]ExternCall_PrintAddStr [10:31:42]wPrintStart [10:31:42]Write to MH i2c: 01 00 00 72 1A 8C [10:31:42]Write i2c OK [10:31:42]MH_I2C_Read... [10:31:42]Read from MH i2c: 01 [10:31:42]MH_I2C_Read... [10:31:42]Read from MH i2c: 01 07 00 [10:31:42]MH_I2C_Read... [10:31:42]Read from MH i2c: 01 07 00 72 1A 00 00 00 00 00 FF 0F A1 [10:31:42]RasterBufferAndPrint [10:31:42]line Счет N : (3)4352 [10:31:42]line ИНН: 02508201610067 [10:31:42]line Контрольно-Кассовый Чек [10:31:42]line ПРОДАЖА [10:31:42]line Товар: 4700000160358 [10:31:42]line Вода Легенда 1л [10:31:42]line 1.000 * 45.00 [10:31:42]line = 45.00 [10:31:42]line НДС 12% НСП 1% [10:31:42]line > о реализуемом товаре [10:31:42]line Товар: 48743570 [10:31:42]line Сигареты Winston XStyle Blue [10:31:42]line 1.000 * 140.00 [10:31:42]line = 140.00 [10:31:42]line НДС 12% НСП 1% [10:31:42]line > о реализуемом товаре [10:31:42]line Товар: 4602606003759 [10:31:42]line Мар-д Fruit-tella звери mix 30*70г [10:31:42]line 1.000 * 103.00 [10:31:42]line = 103.00 [10:31:42]line НДС 12% НСП 1% [10:31:42]line > о реализуемом товаре [10:31:42]line ИТОГО: 288.00 [10:31:42]line НСП 1% : 2.55 [10:31:42]line НДС 12% : 30.59 [10:31:42]line Наличными: 0.00 [10:31:42]line Безнал.: 288.00 [10:31:42]line Место: АЗС № 116 "Партнер Нефть" [10:31:42]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [10:31:42]line СНО: Общий режим [10:31:42]line Чек 16 04.06.2024 10:31 [10:31:42]line Смена: 83 ФФД: 1.0 [10:31:42]line ЗНМ: 0300000233 [10:31:42]line РНМ: 0000000000145775 [10:31:42]line Версия ККМ: v1.0 [10:31:42]line Платежная система: Бакай Банк [10:31:42]line ФМ: 0000000000959360 [10:31:42]line ФД: 4099 [10:31:42]line ФПД: 231590896416990 [10:31:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T103148&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4099&fm=231590896416990&tin=02508201610067®Number=0000000000145775&sum=28800 [10:31:42]line 0 [10:31:42]written 0, free lines is 4095 [10:31:42]OFD Sender: Processing packet 4099 [packets to send 2, broken 1] [10:31:42]ProducePacketName [10:31:42]name=ofd_packets/00004099 [10:31:42]OFD Sender: To server: pG, [10:31:42]CommunicateWithHost lk.salyk.kg:30040 [10:31:42]ConnectInit lk.salyk.kg [10:31:42]Connected sock=11 [10:31:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 FC 01 00 00 46 E5 F4 01 64 15 5A 03 01 00 03 00 E8 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 32 36 30 36 30 30 33 37 35 39 06 04 2C 00 D0 9C D0 B0 D1 80 2D D0 B4 20 46 72 75 69 74 2D 74 65 6C 6C 61 20 D0 B7 D0 B2 D0 B5 D1 80 D0 B8 20 6D 69 78 20 33 30 2A 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 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 F3 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 14 ED 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 03 10 00 00 35 04 06 00 D2 A1 75 1D 38 DE 9F 5F FB 01 5E 8B FA 4C [10:31:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 2B AA 47 00 C8 2C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 03 10 00 00 F4 03 04 00 15 99 5E 66 B6 04 01 00 00 57 C2 FA FE C3 1F AE 8D [10:31:42]CommunicateWithHost err = 0 [10:31:42]CheckOFDResponse [10:31:42]1017 (14) - 77093643461234 [10:31:42]1041 (16) - 0000000000959360 [10:31:42]1040 (4) - 4099 [10:31:42]1012 (4) - 04.06.2024 04:33 [10:31:42]1206 (1) - 0 [10:31:42]OFD Sender: Remove packet 4099 [10:31:42]ProducePacketName [10:31:42]name=ofd_packets/00004099 [10:31:42]NVStorageDeleteData [10:31:42]Write to MH i2c: 01 00 00 A9 1A C3 [10:31:42]Write i2c OK [10:31:42]MH_I2C_Read... [10:31:42]Read from MH i2c: 01 [10:31:42]MH_I2C_Read... [10:31:42]Read from MH i2c: 01 07 00 [10:31:42]MH_I2C_Read... [10:31:42]Read from MH i2c: 01 07 00 A9 1A 00 00 00 00 00 C6 0B 9B [10:31:42]RasterBufferAndPrint [10:31:42]line [10:31:42]line [10:31:42]line [10:31:42]line [10:31:42]line [10:31:42]written 0, free lines is 3019 [10:31:42]MH_Cut [10:31:42]Write to MH i2c: D1 01 00 B0 1A 01 9C [10:31:42]Write i2c OK [10:31:42]MH_I2C_Read... [10:31:42]Read from MH i2c: D1 [10:31:42]MH_I2C_Read... [10:31:42]Read from MH i2c: D1 01 00 [10:31:42]MH_I2C_Read... [10:31:42]Read from MH i2c: D1 01 00 B0 1A 00 9B [10:31:42]Write to MH i2c: 01 00 00 B1 1A CB [10:31:42]Write i2c OK [10:31:42]MH_I2C_Read... [10:31:42]OFD Sender: No OFD packet to send [10:31:43]*** Cut start [10:31:43]*** Partial cut [10:31:43]*** CUTSNS_PIN = 1 [10:31:43]*** CUTSNS_PIN = 0 [10:31:44]*** Brake cut motor [10:31:44]Read from MH i2c: 01 [10:31:44]MH_I2C_Read... [10:31:44]*** Stop cut motor [10:31:44]*** Cut end [10:31:44]Read from MH i2c: 01 07 00 [10:31:44]MH_I2C_Read... [10:31:44]Read from MH i2c: 01 07 00 B1 1A 00 00 00 00 00 FF 0F E0 [10:31:44]process_action close_receipt done [10:31:44]requested_data is exist [10:31:44]produce_requested_data [10:31:44]requested_item fm.sn is exist - process it [10:31:44]wFMCommunicate request_size=4 [10:31:44]MH_SAM_APDU [10:31:44]CAPDU: 80 11 00 00 [10:31:44]Write to MH i2c: E2 08 00 B2 1A 80 11 00 00 00 00 00 00 46 [10:31:44]Write i2c OK [10:31:44]MH_I2C_Read... [10:31:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:31:44]Read from MH i2c: E2 [10:31:44]MH_I2C_Read... [10:31:44]Read from MH i2c: E2 17 00 [10:31:44]MH_I2C_Read... [10:31:44]Read from MH i2c: E2 17 00 B2 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 99 [10:31:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:31:44]wFMCommunicate OK [10:31:44]requested_item fd.num is exist - process it [10:31:44]SAM_PROTO_GetFieldsCounters [10:31:44]wFMCommunicate request_size=4 [10:31:44]MH_SAM_APDU [10:31:44]CAPDU: 80 13 00 00 [10:31:44]Write to MH i2c: E2 08 00 B3 1A 80 13 00 00 00 00 00 00 49 [10:31:44]Write i2c OK [10:31:44]MH_I2C_Read... [10:31:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:31:44]Read from MH i2c: E2 [10:31:44]MH_I2C_Read... [10:31:44]Read from MH i2c: E2 62 00 [10:31:44]MH_I2C_Read... [10:31:44]Read from MH i2c: E2 62 00 B3 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 03 10 00 00 0E 04 04 00 53 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 04 [10:31:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 03 10 00 00 0E 04 04 00 53 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 [10:31:44]wFMCommunicate OK [10:31:44]SAM_PROTO_GetFieldsCounters done [10:31:44]requested_item shift.num is exist - process it [10:31:44]requested_item shift.opened is exist - process it [10:31:44]req_shift_opened [10:31:44]FM_GetShiftState [10:31:44]SAM_PROTO_GetShiftState [10:31:44]wFMCommunicate request_size=4 [10:31:44]MH_SAM_APDU [10:31:44]CAPDU: 80 13 01 00 [10:31:44]Write to MH i2c: E2 08 00 B4 1A 80 13 01 00 00 00 00 00 4B [10:31:44]Write i2c OK [10:31:44]MH_I2C_Read... [10:31:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:31:44]Read from MH i2c: E2 [10:31:44]MH_I2C_Read... [10:31:44]Read from MH i2c: E2 0E 00 [10:31:44]MH_I2C_Read... [10:31:44]Read from MH i2c: E2 0E 00 B4 1A 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 E4 [10:31:44]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [10:31:44]wFMCommunicate OK [10:31:44]SAM_PROTO_GetShiftState done [10:31:44]FM_GetShiftState done [10:31:44]req_shift_opened done [10:31:44]requested_item shift.open_date is exist - process it [10:31:44]req_shift_open_date [10:31:44]req_shift_open_date done [10:31:44]produce_requested_data done [10:31:44]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4099,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [10:31:44]process_action_free close_receipt [10:31:44]json_value_free [10:31:44]json_value_free done [10:31:44]process_json_proto returns [10:31:44]Send response to host [10:31:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4099,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [10:31:44]free response buf [10:31:44]execute_script done [10:31:44]execute_script returns [10:31:44]free content buf [10:31:44]Sock 9.Close socket [10:31:44]Sock 9.Thread stoped [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:18]OFD Sender: No OFD packet to send [10:32:23]OFD Sender: No OFD packet to send [10:32:28]OFD Sender: No OFD packet to send [10:32:33]OFD Sender: No OFD packet to send [10:32:38]OFD Sender: No OFD packet to send [10:32:43]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:09]OFD Sender: No OFD packet to send [10:54:14]OFD Sender: No OFD packet to send [10:54:19]OFD Sender: No OFD packet to send [10:54:24]OFD Sender: No OFD packet to send [10:54:29]OFD Sender: No OFD packet to send [10:54:34]OFD Sender: No OFD packet to send [10:54:39]OFD Sender: No OFD packet to send [10:54:44]OFD Sender: No OFD packet to send [10:54:49]OFD Sender: No OFD packet to send [10:54:54]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:24]OFD Sender: No OFD packet to send [10:55:29]OFD Sender: No OFD packet to send [10:55:34]OFD Sender: No OFD packet to send [10:55:39]OFD Sender: No OFD packet to send [10:55:44]OFD Sender: No OFD packet to send [10:55:49]OFD Sender: No OFD packet to send [10:55:54]OFD Sender: No OFD packet to send [10:55:59]OFD Sender: No OFD packet to send [10:56:04]OFD Sender: No OFD packet to send [10:56:09]OFD Sender: No OFD packet to send [10:56:14]OFD Sender: No OFD packet to send [10:56:19]OFD Sender: No OFD packet to send [10:56:24]OFD Sender: No OFD packet to send [10:56:29]OFD Sender: No OFD packet to send [10:56:34]OFD Sender: No OFD packet to send [10:56:39]OFD Sender: No OFD packet to send [10:56:44]OFD Sender: No OFD packet to send [10:56:49]OFD Sender: No OFD packet to send [10:56:54]OFD Sender: No OFD packet to send [10:56:59]OFD Sender: No OFD packet to send [10:57:04]OFD Sender: No OFD packet to send [10:57:09]OFD Sender: No OFD packet to send [10:57:14]OFD Sender: No OFD packet to send [10:57:19]OFD Sender: No OFD packet to send [10:57:24]OFD Sender: No OFD packet to send [10:57:29]OFD Sender: No OFD packet to send [10:57:34]OFD Sender: No OFD packet to send [10:57:39]OFD Sender: No OFD packet to send [10:57:44]OFD Sender: No OFD packet to send [10:57:49]OFD Sender: No OFD packet to send [10:57:54]OFD Sender: No OFD packet to send [10:57:59]OFD Sender: No OFD packet to send [10:58:04]OFD Sender: No OFD packet to send [10:58:09]OFD Sender: No OFD packet to send [10:58:14]OFD Sender: No OFD packet to send [10:58:19]OFD Sender: No OFD packet to send [10:58:24]OFD Sender: No OFD packet to send [10:58:29]OFD Sender: No OFD packet to send [10:58:34]OFD Sender: No OFD packet to send [10:58:39]OFD Sender: No OFD packet to send [10:58:44]OFD Sender: No OFD packet to send [10:58:49]OFD Sender: No OFD packet to send [10:58:54]OFD Sender: No OFD packet to send [10:58:59]OFD Sender: No OFD packet to send [10:59:04]OFD Sender: No OFD packet to send [10:59:09]OFD Sender: No OFD packet to send [10:59:14]OFD Sender: No OFD packet to send [10:59:19]OFD Sender: No OFD packet to send [10:59:24]OFD Sender: No OFD packet to send [10:59:29]OFD Sender: No OFD packet to send [10:59:34]OFD Sender: No OFD packet to send [10:59:39]OFD Sender: No OFD packet to send [10:59:44]OFD Sender: No OFD packet to send [10:59:49]OFD Sender: No OFD packet to send [10:59:54]OFD Sender: No OFD packet to send [10:59:59]OFD Sender: No OFD packet to send [11:00:04]OFD Sender: No OFD packet to send [11:00:09]OFD Sender: No OFD packet to send [11:00:14]OFD Sender: No OFD packet to send [11:00:19]OFD Sender: No OFD packet to send [11:00:24]OFD Sender: No OFD packet to send [11:00:29]OFD Sender: No OFD packet to send [11:00:34]OFD Sender: No OFD packet to send [11:00:39]OFD Sender: No OFD packet to send [11:00:44]OFD Sender: No OFD packet to send [11:00:49]OFD Sender: No OFD packet to send [11:00:54]OFD Sender: No OFD packet to send [11:00:59]OFD Sender: No OFD packet to send [11:01:04]OFD Sender: No OFD packet to send [11:01:09]OFD Sender: No OFD packet to send [11:01:14]OFD Sender: No OFD packet to send [11:01:19]OFD Sender: No OFD packet to send [11:01:24]OFD Sender: No OFD packet to send [11:01:29]OFD Sender: No OFD packet to send [11:01:34]OFD Sender: No OFD packet to send [11:01:39]OFD Sender: No OFD packet to send [11:01:44]OFD Sender: No OFD packet to send [11:01:49]OFD Sender: No OFD packet to send [11:01:54]OFD Sender: No OFD packet to send [11:01:59]OFD Sender: No OFD packet to send [11:02:04]OFD Sender: No OFD packet to send [11:02:09]OFD Sender: No OFD packet to send [11:02:14]OFD Sender: No OFD packet to send [11:02:19]OFD Sender: No OFD packet to send [11:02:24]OFD Sender: No OFD packet to send [11:02:29]OFD Sender: No OFD packet to send [11:02:34]OFD Sender: No OFD packet to send [11:02:39]OFD Sender: No OFD packet to send [11:02:44]OFD Sender: No OFD packet to send [11:02:49]OFD Sender: No OFD packet to send [11:02:54]OFD Sender: No OFD packet to send [11:02:59]OFD Sender: No OFD packet to send [11:03:04]OFD Sender: No OFD packet to send [11:03:09]OFD Sender: No OFD packet to send [11:03:14]OFD Sender: No OFD packet to send [11:03:19]OFD Sender: No OFD packet to send [11:03:24]OFD Sender: No OFD packet to send [11:03:29]OFD Sender: No OFD packet to send [11:03:34]OFD Sender: No OFD packet to send [11:03:39]OFD Sender: No OFD packet to send [11:03:44]OFD Sender: No OFD packet to send [11:03:49]OFD Sender: No OFD packet to send [11:03:54]OFD Sender: No OFD packet to send [11:03:59]OFD Sender: No OFD packet to send [11:04:04]OFD Sender: No OFD packet to send [11:04:09]OFD Sender: No OFD packet to send [11:04:14]OFD Sender: No OFD packet to send [11:04:19]OFD Sender: No OFD packet to send [11:04:24]OFD Sender: No OFD packet to send [11:04:29]OFD Sender: No OFD packet to send [11:04:34]OFD Sender: No OFD packet to send [11:04:39]OFD Sender: No OFD packet to send [11:04:44]OFD Sender: No OFD packet to send [11:04:49]OFD Sender: No OFD packet to send [11:04:54]OFD Sender: No OFD packet to send [11:04:59]OFD Sender: No OFD packet to send [11:05:04]OFD Sender: No OFD packet to send [11:05:09]OFD Sender: No OFD packet to send [11:05:14]OFD Sender: No OFD packet to send [11:05:19]OFD Sender: No OFD packet to send [11:05:24]OFD Sender: No OFD packet to send [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:28]accept exits with 8 [11:08:28]New connection [11:08:28]New thread 3067227492 created [11:08:28]Thread 3067370852 joined [11:08:28]Waiting for new connection... [11:08:28] Sock 8.Parse request [11:08:28]Sock 8.Check first char [11:08:28]Sock 8.First char is OK [11:08:28]request: POST /json_proto HTTP/1.0 [11:08:28]Method: POST [11:08:28]URL: /json_proto [11:08:28]Method is POST - this is cgi request [11:08:28]url: /json_proto [11:08:28]query_string will be loaded in cgi processing [11:08:28]execute_cgi json_proto POST (null) [11:08:28]execute_cgi path=json_proto method=POST [11:08:28]POST find Content-Length [11:08:28]Host: 172.17.56.68:8080 [11:08:28]Content-Length: 626 [11:08:28]Content-Type: application/json [11:08:28] [11:08:28]POST finish read [11:08:28]Found Content-Length = 626 [11:08:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4353", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:08:28]execute_script... [11:08: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)4353", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:08:28]POST & json_proto [11:08:28]process_json_proto [11:08:28]json parsed OK: [11:08:28]protocol is kg_v1.0 [11:08:28]action value=close_receipt [11:08:28]process_action close_receipt [11:08:28]cmd_close_receipt [11:08:28]MH_GetDate [11:08:28]Write to MH i2c: F0 00 00 B5 1A BE [11:08:28]Write i2c OK [11:08:28]MH_I2C_Read... [11:08:28]Read from MH i2c: F0 [11:08:28]MH_I2C_Read... [11:08:28]Read from MH i2c: F0 09 00 [11:08:28]MH_I2C_Read... [11:08:28]Read from MH i2c: F0 09 00 B5 1A 00 B4 F5 5E 66 42 69 5C 66 A1 [11:08:28]GetLastDocTimeStamp 1717497108 [11:08:28]current date 1717499316 [11:08:28]FM_GetShiftState [11:08:28]SAM_PROTO_GetShiftState [11:08:28]wFMCommunicate request_size=4 [11:08:28]MH_SAM_APDU [11:08:28]CAPDU: 80 13 01 00 [11:08:28]Write to MH i2c: E2 08 00 B6 1A 80 13 01 00 00 00 00 00 4D [11:08:28]Write i2c OK [11:08:28]MH_I2C_Read... [11:08:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:08:28]Read from MH i2c: E2 [11:08:28]MH_I2C_Read... [11:08:28]Read from MH i2c: E2 0E 00 [11:08:28]MH_I2C_Read... [11:08:28]Read from MH i2c: E2 0E 00 B6 1A 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 E6 [11:08:28]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [11:08:28]wFMCommunicate OK [11:08:28]SAM_PROTO_GetShiftState done [11:08:28]FM_GetShiftState done [11:08:28]opened in 1717459822 [11:08:28]opened+sec_in_day 1717546222 [11:08:28]quantity*price = 13000 [11:08:28]sum+1 = 13001 [11:08:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 17 04.06.2024 11:08 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4100 ФПД: 84152020721020 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T110836&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4100&fm=84152020721020&tin=02508201610067®Number=0000000000145775&sum=13000 0 [11:08:29]StoreToDocumentArchive [11:08:29]shift 83 fd 4100 [11:08:29]save to /storage/0083/doc_00004100 [11:08:29]save last doc name /storage/0083/doc_00004100 to /storage/kkm_last_doc_name [11:08:29]save OK [11:08:29]Clear old archive folders... [11:08:29]ProcessDocumentItem done err = 0, tmpTLVsize=276 [11:08:29]tlvbuf is 007D2980 [11:08:29]SAM_PROTO_ClearQueue [11:08:29]wFMCommunicate request_size=4 [11:08:29]MH_SAM_APDU [11:08:29]CAPDU: 80 09 00 00 [11:08:29]Write to MH i2c: E2 08 00 C3 1A 80 09 00 00 00 00 00 00 4F [11:08:29]Write i2c OK [11:08:29]MH_I2C_Read... [11:08:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:08:29]Read from MH i2c: E2 [11:08:29]MH_I2C_Read... [11:08:29]Read from MH i2c: E2 03 00 [11:08:29]MH_I2C_Read... [11:08:29]Read from MH i2c: E2 03 00 C3 1A 00 90 00 51 [11:08:29]RAPDU: 90 00 [11:08:29]wFMCommunicate OK [11:08:29]SAM_PROTO_ClearQueue done [11:08:29]KKMCreateOFDPacket [11:08:29]OFDProtocolAddRootSTLVToBuf [11:08:29]FM_MakeSignedData [11:08:29]FM_MakeSignedData [11:08:29]SAM_PROTO_SignData [11:08:29]wFMCommunicate request_size=4 [11:08:29]MH_SAM_APDU [11:08:29]CAPDU: 80 0D 01 02 [11:08:29]Write to MH i2c: E2 08 00 C4 1A 80 0D 01 02 00 00 00 00 57 [11:08:29]Write i2c OK [11:08:29]MH_I2C_Read... [11:08:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:08:29]Read from MH i2c: E2 [11:08:29]MH_I2C_Read... [11:08:29]Read from MH i2c: E2 03 00 [11:08:29]MH_I2C_Read... [11:08:29]Read from MH i2c: E2 03 00 C4 1A 00 90 00 52 [11:08:29]RAPDU: 90 00 [11:08:29]wFMCommunicate OK [11:08:29]wFMCommunicate request_size=255 [11:08:29]MH_SAM_APDU [11:08:29]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 B4 F5 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 [11:08:29]Write to MH i2c: E2 02 01 C5 1A 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 B4 F5 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 00 00 47 [11:08:29]Write i2c OK [11:08:29]MH_I2C_Read... [11:08:29]OFD Sender: No OFD packet to send [11:08:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:08:29]Read from MH i2c: E2 [11:08:29]MH_I2C_Read... [11:08:29]Read from MH i2c: E2 03 00 [11:08:29]MH_I2C_Read... [11:08:29]Read from MH i2c: E2 03 00 C5 1A 00 90 00 53 [11:08:29]RAPDU: 90 00 [11:08:29]wFMCommunicate OK [11:08:29]wFMCommunicate request_size=35 [11:08:29]MH_SAM_APDU [11:08:29]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 04 10 00 00 35 04 06 00 4C 89 2B 4D 5D 7C [11:08:29]Write to MH i2c: E2 26 00 C6 1A 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 04 10 00 00 35 04 06 00 4C 89 2B 4D 5D 7C 00 00 87 [11:08:29]Write i2c OK [11:08:29]MH_I2C_Read... [11:08:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:08:29]Read from MH i2c: E2 [11:08:29]MH_I2C_Read... [11:08:29]Read from MH i2c: E2 03 00 [11:08:29]MH_I2C_Read... [11:08:29]Read from MH i2c: E2 03 00 C6 1A 00 90 00 54 [11:08:29]RAPDU: 90 00 [11:08:29]wFMCommunicate OK [11:08:29]wFMCommunicate request_size=4 [11:08:29]MH_SAM_APDU [11:08:29]CAPDU: 80 0D 03 02 [11:08:29]Write to MH i2c: E2 08 00 C7 1A 80 0D 03 02 00 00 00 00 5C [11:08:29]Write i2c OK [11:08:29]MH_I2C_Read... [11:08:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:08:29]Read from MH i2c: E2 [11:08:29]MH_I2C_Read... [11:08:29]Read from MH i2c: E2 0B 00 [11:08:29]MH_I2C_Read... [11:08:29]Read from MH i2c: E2 0B 00 C7 1A 00 47 88 09 B6 93 FA B8 EE 90 00 1E [11:08:29]RAPDU: 47 88 09 B6 93 FA B8 EE 90 00 [11:08:29]wFMCommunicate OK [11:08:29]SAM_PROTO_SignData done [11:08:29]FM_MakeSignedData done [11:08:29]CreateOFDProtocolMessage [11:08:29]wFMCommunicate request_size=4 [11:08:29]MH_SAM_APDU [11:08:29]CAPDU: 80 11 00 00 [11:08:29]Write to MH i2c: E2 08 00 C8 1A 80 11 00 00 00 00 00 00 5C [11:08:29]Write i2c OK [11:08:29]MH_I2C_Read... [11:08:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:08:29]Read from MH i2c: E2 [11:08:29]MH_I2C_Read... [11:08:29]Read from MH i2c: E2 17 00 [11:08:29]MH_I2C_Read... [11:08:29]Read from MH i2c: E2 17 00 C8 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 AF [11:08:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:08:29]wFMCommunicate OK [11:08:29]CreateOFDProtocolMessage done [11:08:29]OFDSenderStorePacket 4100 [11:08:29]StoreOFDPacket docnum=4100 [11:08:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 28 01 00 00 C6 C6 20 01 A9 CB 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 B4 F5 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 04 10 00 00 35 04 06 00 4C 89 2B 4D 5D 7C 47 88 09 B6 93 FA B8 EE [11:08:29]CheckFolder [11:08:29]dirname=/storage/ofd_packets [11:08:29]CheckFolder done [11:08:29]ProducePacketName [11:08:29]name=ofd_packets/00004100 [11:08:29]NVStorageSaveData ofd_packets/00004100 [11:08:29]File name is /storage/ofd_packets/00004100 [11:08:29]Write 326 bytes [11:08:29]NVStorageSaveData done [11:08:29]OFDSenderStorePacket done [11:08:29]KKMCreateOFDPacket done [11:08:29]NVStorageSaveData kkm_last_timestamp [11:08:29]File name is /storage/kkm_last_timestamp [11:08:29]Write 4 bytes [11:08:29]NVStorageSaveData done [11:08:29]ExternCall_PrintAddStr [11:08:29]wPrintStart [11:08:29]Write to MH i2c: 01 00 00 C9 1A E3 [11:08:29]Write i2c OK [11:08:29]MH_I2C_Read... [11:08:29]Read from MH i2c: 01 [11:08:29]MH_I2C_Read... [11:08:29]Read from MH i2c: 01 07 00 [11:08:29]MH_I2C_Read... [11:08:29]Read from MH i2c: 01 07 00 C9 1A 00 00 00 00 00 FF 0F F8 [11:08:29]RasterBufferAndPrint [11:08:29]line Счет N : (3)4353 [11:08:29]line ИНН: 02508201610067 [11:08:29]line Контрольно-Кассовый Чек [11:08:29]line ПРОДАЖА [11:08:29]line Товар: 2000036230011 [11:08:29]line Кофе Латте XL(GABB TRADE) [11:08:29]line 1.000 * 130.00 [11:08:30]line = 130.00 [11:08:30]line НДС 12% НСП 1% [11:08:30]line > о реализуемом товаре [11:08:30]line ИТОГО: 130.00 [11:08:30]line НСП 1% : 1.15 [11:08:30]line НДС 12% : 13.80 [11:08:30]line Наличными: 130.00 [11:08:30]line Безнал.: 0.00 [11:08:30]line Место: АЗС № 116 "Партнер Нефть" [11:08:30]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [11:08:30]line СНО: Общий режим [11:08:30]line Чек 17 04.06.2024 11:08 [11:08:30]line Смена: 83 ФФД: 1.0 [11:08:30]line ЗНМ: 0300000233 [11:08:30]line РНМ: 0000000000145775 [11:08:30]line Версия ККМ: v1.0 [11:08:30]line ФМ: 0000000000959360 [11:08:30]line ФД: 4100 [11:08:30]line ФПД: 84152020721020 [11:08:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T110836&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4100&fm=84152020721020&tin=02508201610067®Number=0000000000145775&sum=13000 [11:08:30]line 0 [11:08:30]OFD Sender: Processing packet 4100 [packets to send 2, broken 1] [11:08:30]ProducePacketName [11:08:30]name=ofd_packets/00004100 [11:08:30]OFD Sender: To server: pG, [11:08:30]CommunicateWithHost lk.salyk.kg:30040 [11:08:30]ConnectInit lk.salyk.kg [11:08:30]written 0, free lines is 4095 [11:08:30]Connected sock=11 [11:08:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 28 01 00 00 C6 C6 20 01 A9 CB 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 B4 F5 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 04 10 00 00 35 04 06 00 4C 89 2B 4D 5D 7C 47 88 09 B6 93 FA B8 EE [11:08:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 5E 45 47 00 5A 22 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 04 10 00 00 F4 03 04 00 B5 A1 5E 66 B6 04 01 00 00 FF DC A8 3C 3E B1 85 A4 [11:08:30]CommunicateWithHost err = 0 [11:08:30]CheckOFDResponse [11:08:30]1017 (14) - 77093643461234 [11:08:30]1041 (16) - 0000000000959360 [11:08:30]1040 (4) - 4100 [11:08:30]1012 (4) - 04.06.2024 05:10 [11:08:30]1206 (1) - 0 [11:08:30]OFD Sender: Remove packet 4100 [11:08:30]ProducePacketName [11:08:30]name=ofd_packets/00004100 [11:08:30]NVStorageDeleteData [11:08:30]Write to MH i2c: 01 00 00 F1 1A 0B [11:08:30]Write i2c OK [11:08:30]MH_I2C_Read... [11:08:30]Read from MH i2c: 01 [11:08:30]MH_I2C_Read... [11:08:30]Read from MH i2c: 01 07 00 [11:08:30]MH_I2C_Read... [11:08:30]Read from MH i2c: 01 07 00 F1 1A 00 00 00 00 00 C3 0C E1 [11:08:30]RasterBufferAndPrint [11:08:30]line [11:08:30]line [11:08:30]line [11:08:30]line [11:08:30]line [11:08:30]written 0, free lines is 3271 [11:08:30]MH_Cut [11:08:30]Write to MH i2c: D1 01 00 F8 1A 01 E4 [11:08:30]Write i2c OK [11:08:30]MH_I2C_Read... [11:08:30]Read from MH i2c: D1 [11:08:30]MH_I2C_Read... [11:08:30]Read from MH i2c: D1 01 00 [11:08:30]MH_I2C_Read... [11:08:30]Read from MH i2c: D1 01 00 F8 1A 00 E3 [11:08:30]Write to MH i2c: 01 00 00 F9 1A 13 [11:08:30]Write i2c OK [11:08:30]MH_I2C_Read... [11:08:31]OFD Sender: No OFD packet to send [11:08:31]*** Cut start [11:08:31]*** Partial cut [11:08:31]*** CUTSNS_PIN = 1 [11:08:31]*** CUTSNS_PIN = 0 [11:08:31]*** Brake cut motor [11:08:32]Read from MH i2c: 01 [11:08:32]MH_I2C_Read... [11:08:32]*** Stop cut motor [11:08:32]*** Cut end [11:08:32]Read from MH i2c: 01 07 00 [11:08:32]MH_I2C_Read... [11:08:32]Read from MH i2c: 01 07 00 F9 1A 00 00 00 00 00 FF 0F 28 [11:08:32]process_action close_receipt done [11:08:32]requested_data is exist [11:08:32]produce_requested_data [11:08:32]requested_item fm.sn is exist - process it [11:08:32]wFMCommunicate request_size=4 [11:08:32]MH_SAM_APDU [11:08:32]CAPDU: 80 11 00 00 [11:08:32]Write to MH i2c: E2 08 00 FA 1A 80 11 00 00 00 00 00 00 8E [11:08:32]Write i2c OK [11:08:32]MH_I2C_Read... [11:08:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:08:32]Read from MH i2c: E2 [11:08:32]MH_I2C_Read... [11:08:32]Read from MH i2c: E2 17 00 [11:08:32]MH_I2C_Read... [11:08:32]Read from MH i2c: E2 17 00 FA 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 E1 [11:08:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:08:32]wFMCommunicate OK [11:08:32]requested_item fd.num is exist - process it [11:08:32]SAM_PROTO_GetFieldsCounters [11:08:32]wFMCommunicate request_size=4 [11:08:32]MH_SAM_APDU [11:08:32]CAPDU: 80 13 00 00 [11:08:32]Write to MH i2c: E2 08 00 FB 1A 80 13 00 00 00 00 00 00 91 [11:08:32]Write i2c OK [11:08:32]MH_I2C_Read... [11:08:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:08:32]Read from MH i2c: E2 [11:08:32]MH_I2C_Read... [11:08:32]Read from MH i2c: E2 62 00 [11:08:32]MH_I2C_Read... [11:08:32]Read from MH i2c: E2 62 00 FB 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 04 10 00 00 0E 04 04 00 53 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 50 [11:08:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 04 10 00 00 0E 04 04 00 53 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 [11:08:32]wFMCommunicate OK [11:08:32]SAM_PROTO_GetFieldsCounters done [11:08:32]requested_item shift.num is exist - process it [11:08:32]requested_item shift.opened is exist - process it [11:08:32]req_shift_opened [11:08:32]FM_GetShiftState [11:08:32]SAM_PROTO_GetShiftState [11:08:32]wFMCommunicate request_size=4 [11:08:32]MH_SAM_APDU [11:08:32]CAPDU: 80 13 01 00 [11:08:32]Write to MH i2c: E2 08 00 FC 1A 80 13 01 00 00 00 00 00 93 [11:08:32]Write i2c OK [11:08:32]MH_I2C_Read... [11:08:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:08:32]Read from MH i2c: E2 [11:08:32]MH_I2C_Read... [11:08:32]Read from MH i2c: E2 0E 00 [11:08:32]MH_I2C_Read... [11:08:32]Read from MH i2c: E2 0E 00 FC 1A 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 2C [11:08:32]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [11:08:32]wFMCommunicate OK [11:08:32]SAM_PROTO_GetShiftState done [11:08:32]FM_GetShiftState done [11:08:32]req_shift_opened done [11:08:32]requested_item shift.open_date is exist - process it [11:08:32]req_shift_open_date [11:08:32]req_shift_open_date done [11:08:32]produce_requested_data done [11:08:32]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4100,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [11:08:32]process_action_free close_receipt [11:08:32]json_value_free [11:08:32]json_value_free done [11:08:32]process_json_proto returns [11:08:32]Send response to host [11:08:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4100,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [11:08:32]free response buf [11:08:32]execute_script done [11:08:32]execute_script returns [11:08:32]free content buf [11:08:32]Sock 8.Close socket [11:08:32]Sock 8.Thread stoped [11:08:36]OFD Sender: No OFD packet to send [11:08:41]OFD Sender: No OFD packet to send [11:08:46]OFD Sender: No OFD packet to send [11:08:51]OFD Sender: No OFD packet to send [11:08:56]OFD Sender: No OFD packet to send [11:09:01]OFD Sender: No OFD packet to send [11:09:06]OFD Sender: No OFD packet to send [11:09:11]OFD Sender: No OFD packet to send [11:09:16]OFD Sender: No OFD packet to send [11:09:21]OFD Sender: No OFD packet to send [11:09:26]OFD Sender: No OFD packet to send [11:09:31]OFD Sender: No OFD packet to send [11:09:36]OFD Sender: No OFD packet to send [11:09:41]OFD Sender: No OFD packet to send [11:09:46]OFD Sender: No OFD packet to send [11:09:51]OFD Sender: No OFD packet to send [11:09:56]OFD Sender: No OFD packet to send [11:10:01]OFD Sender: No OFD packet to send [11:10:06]OFD Sender: No OFD packet to send [11:10:11]OFD Sender: No OFD packet to send [11:10:16]OFD Sender: No OFD packet to send [11:10:21]OFD Sender: No OFD packet to send [11:10:26]OFD Sender: No OFD packet to send [11:10:31]OFD Sender: No OFD packet to send [11:10:36]OFD Sender: No OFD packet to send [11:10:41]OFD Sender: No OFD packet to send [11:10:46]OFD Sender: No OFD packet to send [11:10:51]OFD Sender: No OFD packet to send [11:10:56]OFD Sender: No OFD packet to send [11:11:01]OFD Sender: No OFD packet to send [11:11:06]OFD Sender: No OFD packet to send [11:11:11]OFD Sender: No OFD packet to send [11:11:16]OFD Sender: No OFD packet to send [11:11:21]OFD Sender: No OFD packet to send [11:11:26]OFD Sender: No OFD packet to send [11:11:31]OFD Sender: No OFD packet to send [11:11:36]OFD Sender: No OFD packet to send [11:11:41]OFD Sender: No OFD packet to send [11:11:46]OFD Sender: No OFD packet to send [11:11:51]OFD Sender: No OFD packet to send [11:11:56]OFD Sender: No OFD packet to send [11:12:01]OFD Sender: No OFD packet to send [11:12:06]OFD Sender: No OFD packet to send [11:12:11]OFD Sender: No OFD packet to send [11:12:16]OFD Sender: No OFD packet to send [11:12:21]OFD Sender: No OFD packet to send [11:12:26]OFD Sender: No OFD packet to send [11:12:31]OFD Sender: No OFD packet to send [11:12:36]OFD Sender: No OFD packet to send [11:12:41]OFD Sender: No OFD packet to send [11:12:46]OFD Sender: No OFD packet to send [11:12:51]OFD Sender: No OFD packet to send [11:12:56]OFD Sender: No OFD packet to send [11:13:01]OFD Sender: No OFD packet to send [11:13:06]OFD Sender: No OFD packet to send [11:13:11]OFD Sender: No OFD packet to send [11:13:16]OFD Sender: No OFD packet to send [11:13:21]OFD Sender: No OFD packet to send [11:13:26]OFD Sender: No OFD packet to send [11:13:31]OFD Sender: No OFD packet to send [11:13:36]OFD Sender: No OFD packet to send [11:13:41]OFD Sender: No OFD packet to send [11:13:46]OFD Sender: No OFD packet to send [11:13:51]OFD Sender: No OFD packet to send [11:13:56]OFD Sender: No OFD packet to send [11:14:01]OFD Sender: No OFD packet to send [11:14:06]OFD Sender: No OFD packet to send [11:14:11]OFD Sender: No OFD packet to send [11:14:16]OFD Sender: No OFD packet to send [11:14:21]OFD Sender: No OFD packet to send [11:14:26]OFD Sender: No OFD packet to send [11:14:31]OFD Sender: No OFD packet to send [11:14:36]OFD Sender: No OFD packet to send [11:14:41]OFD Sender: No OFD packet to send [11:14:46]OFD Sender: No OFD packet to send [11:14:51]OFD Sender: No OFD packet to send [11:14:56]OFD Sender: No OFD packet to send [11:15:01]OFD Sender: No OFD packet to send [11:15:06]OFD Sender: No OFD packet to send [11:15:11]OFD Sender: No OFD packet to send [11:15:16]OFD Sender: No OFD packet to send [11:15:21]OFD Sender: No OFD packet to send [11:15:26]OFD Sender: No OFD packet to send [11:15:31]OFD Sender: No OFD packet to send [11:15:36]OFD Sender: No OFD packet to send [11:15:41]OFD Sender: No OFD packet to send [11:15:46]OFD Sender: No OFD packet to send [11:15:51]OFD Sender: No OFD packet to send [11:15:56]OFD Sender: No OFD packet to send [11:16:01]OFD Sender: No OFD packet to send [11:16:06]OFD Sender: No OFD packet to send [11:16:11]OFD Sender: No OFD packet to send [11:16:16]OFD Sender: No OFD packet to send [11:16:21]OFD Sender: No OFD packet to send [11:16:26]OFD Sender: No OFD packet to send [11:16:31]OFD Sender: No OFD packet to send [11:16:36]OFD Sender: No OFD packet to send [11:16:41]OFD Sender: No OFD packet to send [11:16:46]OFD Sender: No OFD packet to send [11:16:51]OFD Sender: No OFD packet to send [11:16:56]OFD Sender: No OFD packet to send [11:17:01]OFD Sender: No OFD packet to send [11:17:06]OFD Sender: No OFD packet to send [11:17:11]OFD Sender: No OFD packet to send [11:17:16]OFD Sender: No OFD packet to send [11:17:21]OFD Sender: No OFD packet to send [11:17:26]OFD Sender: No OFD packet to send [11:17:31]OFD Sender: No OFD packet to send [11:17:36]OFD Sender: No OFD packet to send [11:17:41]OFD Sender: No OFD packet to send [11:17:46]OFD Sender: No OFD packet to send [11:17:51]OFD Sender: No OFD packet to send [11:17:56]OFD Sender: No OFD packet to send [11:18:01]OFD Sender: No OFD packet to send [11:18:06]OFD Sender: No OFD packet to send [11:18:11]OFD Sender: No OFD packet to send [11:18:16]OFD Sender: No OFD packet to send [11:18:21]OFD Sender: No OFD packet to send [11:18:26]OFD Sender: No OFD packet to send [11:18:31]OFD Sender: No OFD packet to send [11:18:36]OFD Sender: No OFD packet to send [11:18:41]OFD Sender: No OFD packet to send [11:18:46]OFD Sender: No OFD packet to send [11:18:51]OFD Sender: No OFD packet to send [11:18:56]OFD Sender: No OFD packet to send [11:19:01]OFD Sender: No OFD packet to send [11:19:06]OFD Sender: No OFD packet to send [11:19:11]OFD Sender: No OFD packet to send [11:19:16]OFD Sender: No OFD packet to send [11:19:21]OFD Sender: No OFD packet to send [11:19:26]OFD Sender: No OFD packet to send [11:19:31]OFD Sender: No OFD packet to send [11:19:36]OFD Sender: No OFD packet to send [11:19:41]OFD Sender: No OFD packet to send [11:19:46]OFD Sender: No OFD packet to send [11:19:51]OFD Sender: No OFD packet to send [11:19:56]OFD Sender: No OFD packet to send [11:20:01]OFD Sender: No OFD packet to send [11:20:06]OFD Sender: No OFD packet to send [11:20:11]OFD Sender: No OFD packet to send [11:20:16]OFD Sender: No OFD packet to send [11:20:21]OFD Sender: No OFD packet to send [11:20:26]OFD Sender: No OFD packet to send [11:20:31]OFD Sender: No OFD packet to send [11:20:36]OFD Sender: No OFD packet to send [11:20:41]OFD Sender: No OFD packet to send [11:20:46]OFD Sender: No OFD packet to send [11:20:51]OFD Sender: No OFD packet to send [11:20:56]OFD Sender: No OFD packet to send [11:21:01]OFD Sender: No OFD packet to send [11:21:06]OFD Sender: No OFD packet to send [11:21:11]OFD Sender: No OFD packet to send [11:21:16]OFD Sender: No OFD packet to send [11:21:21]OFD Sender: No OFD packet to send [11:21:26]OFD Sender: No OFD packet to send [11:21:31]OFD Sender: No OFD packet to send [11:21:36]OFD Sender: No OFD packet to send [11:21:41]OFD Sender: No OFD packet to send [11:21:46]OFD Sender: No OFD packet to send [11:21:51]OFD Sender: No OFD packet to send [11:21:56]OFD Sender: No OFD packet to send [11:22:01]OFD Sender: No OFD packet to send [11:22:06]OFD Sender: No OFD packet to send [11:22:11]OFD Sender: No OFD packet to send [11:22:16]OFD Sender: No OFD packet to send [11:22:21]OFD Sender: No OFD packet to send [11:22:26]OFD Sender: No OFD packet to send [11:22:31]OFD Sender: No OFD packet to send [11:22:36]OFD Sender: No OFD packet to send [11:22:41]OFD Sender: No OFD packet to send [11:22:46]OFD Sender: No OFD packet to send [11:22:51]OFD Sender: No OFD packet to send [11:22:56]OFD Sender: No OFD packet to send [11:23:01]OFD Sender: No OFD packet to send [11:23:06]OFD Sender: No OFD packet to send [11:23:11]OFD Sender: No OFD packet to send [11:23:16]OFD Sender: No OFD packet to send [11:23:21]OFD Sender: No OFD packet to send [11:23:26]OFD Sender: No OFD packet to send [11:23:31]OFD Sender: No OFD packet to send [11:23:36]accept exits with 9 [11:23:36]New connection [11:23:36]New thread 3067370852 created [11:23:36]Thread 3067227492 joined [11:23:36]Waiting for new connection... [11:23:36] Sock 9.Parse request [11:23:36]Sock 9.Check first char [11:23:36]Sock 9.First char is OK [11:23:36]request: POST /json_proto HTTP/1.0 [11:23:36]Method: POST [11:23:36]URL: /json_proto [11:23:36]Method is POST - this is cgi request [11:23:36]url: /json_proto [11:23:36]query_string will be loaded in cgi processing [11:23:36]execute_cgi json_proto POST (null) [11:23:36]execute_cgi path=json_proto method=POST [11:23:36]POST find Content-Length [11:23:36]Host: 172.17.56.68:8080 [11:23:36]Content-Length: 980 [11:23:36]Content-Type: application/json [11:23:36] [11:23:36]POST finish read [11:23:36]Found Content-Length = 980 [11:23:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4354", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 3.000, "sum" : 510.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 525.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:23:36]execute_script... [11:23:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4354", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 3.000, "sum" : 510.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 525.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:23:36]POST & json_proto [11:23:36]process_json_proto [11:23:36]json parsed OK: [11:23:36]protocol is kg_v1.0 [11:23:36]action value=close_receipt [11:23:36]process_action close_receipt [11:23:36]cmd_close_receipt [11:23:36]MH_GetDate [11:23:36]Write to MH i2c: F0 00 00 FD 1A 06 [11:23:36]Write i2c OK [11:23:36]MH_I2C_Read... [11:23:36]Read from MH i2c: F0 [11:23:36]MH_I2C_Read... [11:23:36]Read from MH i2c: F0 09 00 [11:23:36]MH_I2C_Read... [11:23:36]Read from MH i2c: F0 09 00 FD 1A 00 40 F9 5E 66 42 69 5C 66 79 [11:23:36]GetLastDocTimeStamp 1717499316 [11:23:36]current date 1717500224 [11:23:36]FM_GetShiftState [11:23:36]SAM_PROTO_GetShiftState [11:23:36]wFMCommunicate request_size=4 [11:23:36]MH_SAM_APDU [11:23:36]CAPDU: 80 13 01 00 [11:23:36]Write to MH i2c: E2 08 00 FE 1A 80 13 01 00 00 00 00 00 95 [11:23:36]Write i2c OK [11:23:36]MH_I2C_Read... [11:23:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:23:36]Read from MH i2c: E2 [11:23:36]MH_I2C_Read... [11:23:36]Read from MH i2c: E2 0E 00 [11:23:36]MH_I2C_Read... [11:23:36]Read from MH i2c: E2 0E 00 FE 1A 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 2E [11:23:36]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [11:23:36]wFMCommunicate OK [11:23:36]SAM_PROTO_GetShiftState done [11:23:36]FM_GetShiftState done [11:23:36]opened in 1717459822 [11:23:36]opened+sec_in_day 1717546222 [11:23:36]quantity*price = 51000 [11:23:36]sum+1 = 51001 [11:23:36]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160013 Снек Курут индивидуальный 1.000 * 15.00 = 15.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 525.00 НСП 1% : 4.64 НДС 12% : 55.75 Наличными: 525.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 18 04.06.2024 11:23 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4101 ФПД: 141859945277774 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T112345&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4101&fm=141859945277774&tin=02508201610067®Number=0000000000145775&sum=52500 0 [11:23:37]StoreToDocumentArchive [11:23:37]shift 83 fd 4101 [11:23:37]save to /storage/0083/doc_00004101 [11:23:37]save last doc name /storage/0083/doc_00004101 to /storage/kkm_last_doc_name [11:23:37]save OK [11:23:37]Clear old archive folders... [11:23:37]ProcessDocumentItem done err = 0, tmpTLVsize=402 [11:23:37]tlvbuf is 007D2290 [11:23:37]SAM_PROTO_ClearQueue [11:23:37]wFMCommunicate request_size=4 [11:23:37]MH_SAM_APDU [11:23:37]CAPDU: 80 09 00 00 [11:23:37]Write to MH i2c: E2 08 00 0B 1B 80 09 00 00 00 00 00 00 98 [11:23:37]Write i2c OK [11:23:37]MH_I2C_Read... [11:23:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:23:37]Read from MH i2c: E2 [11:23:37]MH_I2C_Read... [11:23:37]Read from MH i2c: E2 03 00 [11:23:37]MH_I2C_Read... [11:23:37]Read from MH i2c: E2 03 00 0B 1B 00 90 00 9A [11:23:37]RAPDU: 90 00 [11:23:37]wFMCommunicate OK [11:23:37]SAM_PROTO_ClearQueue done [11:23:37]KKMCreateOFDPacket [11:23:37]OFDProtocolAddRootSTLVToBuf [11:23:37]FM_MakeSignedData [11:23:37]FM_MakeSignedData [11:23:37]SAM_PROTO_SignData [11:23:37]wFMCommunicate request_size=4 [11:23:37]MH_SAM_APDU [11:23:37]CAPDU: 80 0D 01 02 [11:23:37]Write to MH i2c: E2 08 00 0C 1B 80 0D 01 02 00 00 00 00 A0 [11:23:37]Write i2c OK [11:23:37]MH_I2C_Read... [11:23:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:23:37]Read from MH i2c: E2 [11:23:37]MH_I2C_Read... [11:23:37]Read from MH i2c: E2 03 00 [11:23:37]MH_I2C_Read... [11:23:37]Read from MH i2c: E2 03 00 0C 1B 00 90 00 9B [11:23:37]RAPDU: 90 00 [11:23:37]wFMCommunicate OK [11:23:37]wFMCommunicate request_size=255 [11:23:37]MH_SAM_APDU [11:23:37]CAPDU: 80 0D 02 02 FA 03 00 92 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 38 C7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 CD 00 00 00 [11:23:37]Write to MH i2c: E2 02 01 0D 1B 80 0D 02 02 FA 00 03 00 92 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 38 C7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 CD 00 00 00 00 00 22 [11:23:37]Write i2c OK [11:23:37]MH_I2C_Read... [11:23:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:23:37]Read from MH i2c: E2 [11:23:37]MH_I2C_Read... [11:23:37]Read from MH i2c: E2 03 00 [11:23:37]MH_I2C_Read... [11:23:37]Read from MH i2c: E2 03 00 0D 1B 00 90 00 9C [11:23:37]RAPDU: 90 00 [11:23:37]wFMCommunicate OK [11:23:37]wFMCommunicate request_size=161 [11:23:37]MH_SAM_APDU [11:23:37]CAPDU: 80 0D 02 02 9C 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 15 00 00 00 00 07 04 06 00 14 CD 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 41 F9 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 05 10 00 00 35 04 06 00 81 05 57 A5 69 4E [11:23:37]Write to MH i2c: E2 A4 00 0E 1B 80 0D 02 02 9C 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 15 00 00 00 00 07 04 06 00 14 CD 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 41 F9 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 05 10 00 00 35 04 06 00 81 05 57 A5 69 4E 00 00 5B [11:23:37]Write i2c OK [11:23:37]MH_I2C_Read... [11:23:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:23:38]Read from MH i2c: E2 [11:23:38]MH_I2C_Read... [11:23:38]Read from MH i2c: E2 03 00 [11:23:38]MH_I2C_Read... [11:23:38]Read from MH i2c: E2 03 00 0E 1B 00 90 00 9D [11:23:38]RAPDU: 90 00 [11:23:38]wFMCommunicate OK [11:23:38]wFMCommunicate request_size=4 [11:23:38]MH_SAM_APDU [11:23:38]CAPDU: 80 0D 03 02 [11:23:38]Write to MH i2c: E2 08 00 0F 1B 80 0D 03 02 00 00 00 00 A5 [11:23:38]Write i2c OK [11:23:38]MH_I2C_Read... [11:23:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:23:38]Read from MH i2c: E2 [11:23:38]MH_I2C_Read... [11:23:38]Read from MH i2c: E2 0B 00 [11:23:38]MH_I2C_Read... [11:23:38]Read from MH i2c: E2 0B 00 0F 1B 00 3B 69 8A DF 6F DA A4 33 90 00 D3 [11:23:38]RAPDU: 3B 69 8A DF 6F DA A4 33 90 00 [11:23:38]wFMCommunicate OK [11:23:38]SAM_PROTO_SignData done [11:23:38]FM_MakeSignedData done [11:23:38]CreateOFDProtocolMessage [11:23:38]wFMCommunicate request_size=4 [11:23:38]MH_SAM_APDU [11:23:38]CAPDU: 80 11 00 00 [11:23:38]Write to MH i2c: E2 08 00 10 1B 80 11 00 00 00 00 00 00 A5 [11:23:38]Write i2c OK [11:23:38]MH_I2C_Read... [11:23:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:23:38]Read from MH i2c: E2 [11:23:38]MH_I2C_Read... [11:23:38]Read from MH i2c: E2 17 00 [11:23:38]MH_I2C_Read... [11:23:38]Read from MH i2c: E2 17 00 10 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F8 [11:23:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:23:38]wFMCommunicate OK [11:23:38]CreateOFDProtocolMessage done [11:23:38]OFDSenderStorePacket 4101 [11:23:38]StoreOFDPacket docnum=4101 [11:23:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 A6 01 00 00 F5 BD 9E 01 01 6C 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 38 C7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 CD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 15 00 00 00 00 07 04 06 00 14 CD 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 41 F9 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 05 10 00 00 35 04 06 00 81 05 57 A5 69 4E 3B 69 8A DF 6F DA A4 33 [11:23:38]CheckFolder [11:23:38]dirname=/storage/ofd_packets [11:23:38]CheckFolder done [11:23:38]ProducePacketName [11:23:38]name=ofd_packets/00004101 [11:23:38]NVStorageSaveData ofd_packets/00004101 [11:23:38]File name is /storage/ofd_packets/00004101 [11:23:38]Write 452 bytes [11:23:38]NVStorageSaveData done [11:23:38]OFDSenderStorePacket done [11:23:38]KKMCreateOFDPacket done [11:23:38]NVStorageSaveData kkm_last_timestamp [11:23:38]File name is /storage/kkm_last_timestamp [11:23:38]Write 4 bytes [11:23:38]NVStorageSaveData done [11:23:38]ExternCall_PrintAddStr [11:23:38]wPrintStart [11:23:38]Write to MH i2c: 01 00 00 11 1B 2C [11:23:38]OFD Sender: Processing packet 4101 [packets to send 2, broken 1] [11:23:38]ProducePacketName [11:23:38]name=ofd_packets/00004101 [11:23:38]OFD Sender: To server: pG, [11:23:38]CommunicateWithHost lk.salyk.kg:30040 [11:23:38]ConnectInit lk.salyk.kg [11:23:38]Write i2c OK [11:23:38]MH_I2C_Read... [11:23:38]Read from MH i2c: 01 [11:23:38]MH_I2C_Read... [11:23:38]Connected sock=10 [11:23:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 A6 01 00 00 F5 BD 9E 01 01 6C 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 38 C7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 CD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 15 00 00 00 00 07 04 06 00 14 CD 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 41 F9 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 05 10 00 00 35 04 06 00 81 05 57 A5 69 4E 3B 69 8A DF 6F DA A4 33 [11:23:38]Read from MH i2c: 01 07 00 [11:23:38]MH_I2C_Read... [11:23:38]Read from MH i2c: 01 07 00 11 1B 00 00 00 00 00 FF 0F 41 [11:23:38]RasterBufferAndPrint [11:23:38]line Счет N : (3)4354 [11:23:38]line ИНН: 02508201610067 [11:23:38]line Контрольно-Кассовый Чек [11:23:38]line ПРОДАЖА [11:23:38]line Товар: 4700000480357 [11:23:38]line Пиво шахтерское 1л ПЭТ [11:23:38]line 3.000 * 170.00 [11:23:38]line = 510.00 [11:23:38]line НДС 12% НСП 1% [11:23:38]line > о реализуемом товаре [11:23:38]line Товар: 4700000160013 [11:23:38]line Снек Курут индивидуальный [11:23:38]line 1.000 * 15.00 [11:23:38]line = 15.00 [11:23:38]line НДС 12% НСП 1% [11:23:38]line > о реализуемом товаре [11:23:38]line ИТОГО: 525.00 [11:23:38]line НСП 1% : 4.64 [11:23:38]line НДС 12% : 55.75 [11:23:38]line Наличными: 525.00 [11:23:38]line Безнал.: 0.00 [11:23:38]line Место: АЗС № 116 "Партнер Нефть" [11:23:38]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [11:23:38]line СНО: Общий режим [11:23:38]line Чек 18 04.06.2024 11:23 [11:23:38]line Смена: 83 ФФД: 1.0 [11:23:38]line ЗНМ: 0300000233 [11:23:38]line РНМ: 0000000000145775 [11:23:38]line Версия ККМ: v1.0 [11:23:38]line ФМ: 0000000000959360 [11:23:38]line ФД: 4101 [11:23:38]line ФПД: 141859945277774 [11:23:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T112345&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4101&fm=141859945277774&tin=02508201610067®Number=0000000000145775&sum=52500 [11:23:38]line 0 [11:23:38]written 0, free lines is 4095 [11:23:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 22 33 47 00 B6 A3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 05 10 00 00 F4 03 04 00 41 A5 5E 66 B6 04 01 00 00 EE 1B 3B 85 C8 4C 5A 3E [11:23:38]CommunicateWithHost err = 0 [11:23:38]CheckOFDResponse [11:23:38]1017 (14) - 77093643461234 [11:23:38]1041 (16) - 0000000000959360 [11:23:38]1040 (4) - 4101 [11:23:38]1012 (4) - 04.06.2024 05:25 [11:23:38]1206 (1) - 0 [11:23:38]OFD Sender: Remove packet 4101 [11:23:38]ProducePacketName [11:23:38]name=ofd_packets/00004101 [11:23:38]NVStorageDeleteData [11:23:39]Write to MH i2c: 01 00 00 3F 1B 5A [11:23:39]Write i2c OK [11:23:39]MH_I2C_Read... [11:23:39]Read from MH i2c: 01 [11:23:39]MH_I2C_Read... [11:23:39]Read from MH i2c: 01 07 00 [11:23:39]MH_I2C_Read... [11:23:39]Read from MH i2c: 01 07 00 3F 1B 00 00 00 00 00 5E 0C CB [11:23:39]RasterBufferAndPrint [11:23:39]line [11:23:39]line [11:23:39]line [11:23:39]line [11:23:39]line [11:23:39]written 0, free lines is 3173 [11:23:39]MH_Cut [11:23:39]Write to MH i2c: D1 01 00 46 1B 01 33 [11:23:39]Write i2c OK [11:23:39]MH_I2C_Read... [11:23:39]Read from MH i2c: D1 [11:23:39]MH_I2C_Read... [11:23:39]Read from MH i2c: D1 01 00 [11:23:39]MH_I2C_Read... [11:23:39]Read from MH i2c: D1 01 00 46 1B 00 32 [11:23:39]Write to MH i2c: 01 00 00 47 1B 62 [11:23:39]Write i2c OK [11:23:39]MH_I2C_Read... [11:23:39]OFD Sender: No OFD packet to send [11:23:40]*** Cut start [11:23:40]*** Partial cut [11:23:40]*** CUTSNS_PIN = 1 [11:23:40]*** CUTSNS_PIN = 0 [11:23:40]*** Brake cut motor [11:23:40]Read from MH i2c: 01 [11:23:40]MH_I2C_Read... [11:23:40]*** Stop cut motor [11:23:40]*** Cut end [11:23:40]Read from MH i2c: 01 07 00 [11:23:40]MH_I2C_Read... [11:23:40]Read from MH i2c: 01 07 00 47 1B 00 00 00 00 00 FF 0F 77 [11:23:40]process_action close_receipt done [11:23:40]requested_data is exist [11:23:40]produce_requested_data [11:23:40]requested_item fm.sn is exist - process it [11:23:40]wFMCommunicate request_size=4 [11:23:40]MH_SAM_APDU [11:23:40]CAPDU: 80 11 00 00 [11:23:40]Write to MH i2c: E2 08 00 48 1B 80 11 00 00 00 00 00 00 DD [11:23:40]Write i2c OK [11:23:40]MH_I2C_Read... [11:23:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:23:40]Read from MH i2c: E2 [11:23:40]MH_I2C_Read... [11:23:40]Read from MH i2c: E2 17 00 [11:23:40]MH_I2C_Read... [11:23:40]Read from MH i2c: E2 17 00 48 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 30 [11:23:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:23:40]wFMCommunicate OK [11:23:40]requested_item fd.num is exist - process it [11:23:40]SAM_PROTO_GetFieldsCounters [11:23:40]wFMCommunicate request_size=4 [11:23:40]MH_SAM_APDU [11:23:40]CAPDU: 80 13 00 00 [11:23:40]Write to MH i2c: E2 08 00 49 1B 80 13 00 00 00 00 00 00 E0 [11:23:40]Write i2c OK [11:23:40]MH_I2C_Read... [11:23:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:23:40]Read from MH i2c: E2 [11:23:40]MH_I2C_Read... [11:23:40]Read from MH i2c: E2 62 00 [11:23:40]MH_I2C_Read... [11:23:40]Read from MH i2c: E2 62 00 49 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 05 10 00 00 0E 04 04 00 53 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 A3 [11:23:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 05 10 00 00 0E 04 04 00 53 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 [11:23:40]wFMCommunicate OK [11:23:40]SAM_PROTO_GetFieldsCounters done [11:23:40]requested_item shift.num is exist - process it [11:23:40]requested_item shift.opened is exist - process it [11:23:40]req_shift_opened [11:23:40]FM_GetShiftState [11:23:40]SAM_PROTO_GetShiftState [11:23:40]wFMCommunicate request_size=4 [11:23:40]MH_SAM_APDU [11:23:40]CAPDU: 80 13 01 00 [11:23:40]Write to MH i2c: E2 08 00 4A 1B 80 13 01 00 00 00 00 00 E2 [11:23:40]Write i2c OK [11:23:40]MH_I2C_Read... [11:23:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:23:41]Read from MH i2c: E2 [11:23:41]MH_I2C_Read... [11:23:41]Read from MH i2c: E2 0E 00 [11:23:41]MH_I2C_Read... [11:23:41]Read from MH i2c: E2 0E 00 4A 1B 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 7B [11:23:41]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [11:23:41]wFMCommunicate OK [11:23:41]SAM_PROTO_GetShiftState done [11:23:41]FM_GetShiftState done [11:23:41]req_shift_opened done [11:23:41]requested_item shift.open_date is exist - process it [11:23:41]req_shift_open_date [11:23:41]req_shift_open_date done [11:23:41]produce_requested_data done [11:23:41]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4101,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [11:23:41]process_action_free close_receipt [11:23:41]json_value_free [11:23:41]json_value_free done [11:23:41]process_json_proto returns [11:23:41]Send response to host [11:23:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4101,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [11:23:41]free response buf [11:23:41]execute_script done [11:23:41]execute_script returns [11:23:41]free content buf [11:23:41]Sock 9.Close socket [11:23:41]Sock 9.Thread stoped [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:21]accept exits with 8 [11:30:21]New connection [11:30:21]New thread 3067227492 created [11:30:21]Thread 3067370852 joined [11:30:21]Waiting for new connection... [11:30:21] Sock 8.Parse request [11:30:21]Sock 8.Check first char [11:30:21]Sock 8.First char is OK [11:30:21]request: POST /json_proto HTTP/1.0 [11:30:21]Method: POST [11:30:21]URL: /json_proto [11:30:21]Method is POST - this is cgi request [11:30:21]url: /json_proto [11:30:21]query_string will be loaded in cgi processing [11:30:21]execute_cgi json_proto POST (null) [11:30:21]execute_cgi path=json_proto method=POST [11:30:21]POST find Content-Length [11:30:21]Host: 172.17.56.68:8080 [11:30:21]Content-Length: 619 [11:30:21]Content-Type: application/json [11:30:21] [11:30:21]POST finish read [11:30:21]Found Content-Length = 619 [11:30:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4355", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:30:21]execute_script... [11:30: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)4355", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:30:21]POST & json_proto [11:30:21]process_json_proto [11:30:21]json parsed OK: [11:30:21]protocol is kg_v1.0 [11:30:21]action value=close_receipt [11:30:21]process_action close_receipt [11:30:21]cmd_close_receipt [11:30:21]MH_GetDate [11:30:21]Write to MH i2c: F0 00 00 4B 1B 55 [11:30:21]Write i2c OK [11:30:21]MH_I2C_Read... [11:30:21]Read from MH i2c: F0 [11:30:21]MH_I2C_Read... [11:30:21]Read from MH i2c: F0 09 00 [11:30:21]MH_I2C_Read... [11:30:21]Read from MH i2c: F0 09 00 4B 1B 00 D5 FA 5E 66 42 69 5C 66 5E [11:30:21]GetLastDocTimeStamp 1717500225 [11:30:21]current date 1717500629 [11:30:21]FM_GetShiftState [11:30:21]SAM_PROTO_GetShiftState [11:30:21]wFMCommunicate request_size=4 [11:30:21]MH_SAM_APDU [11:30:21]CAPDU: 80 13 01 00 [11:30:21]Write to MH i2c: E2 08 00 4C 1B 80 13 01 00 00 00 00 00 E4 [11:30:21]Write i2c OK [11:30:21]MH_I2C_Read... [11:30:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:30:21]Read from MH i2c: E2 [11:30:21]MH_I2C_Read... [11:30:21]Read from MH i2c: E2 0E 00 [11:30:21]MH_I2C_Read... [11:30:21]Read from MH i2c: E2 0E 00 4C 1B 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 7D [11:30:21]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [11:30:21]wFMCommunicate OK [11:30:21]SAM_PROTO_GetShiftState done [11:30:21]FM_GetShiftState done [11:30:21]opened in 1717459822 [11:30:21]opened+sec_in_day 1717546222 [11:30:21]quantity*price = 14000 [11:30:21]sum+1 = 14001 [11:30:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 19 04.06.2024 11:30 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4102 ФПД: 257737356711490 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T113029&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4102&fm=257737356711490&tin=02508201610067®Number=0000000000145775&sum=14000 0 [11:30:22]StoreToDocumentArchive [11:30:22]shift 83 fd 4102 [11:30:22]save to /storage/0083/doc_00004102 [11:30:22]save last doc name /storage/0083/doc_00004102 to /storage/kkm_last_doc_name [11:30:22]save OK [11:30:22]Clear old archive folders... [11:30:22]ProcessDocumentItem done err = 0, tmpTLVsize=273 [11:30:22]tlvbuf is 007D1EF0 [11:30:22]SAM_PROTO_ClearQueue [11:30:22]wFMCommunicate request_size=4 [11:30:22]MH_SAM_APDU [11:30:22]CAPDU: 80 09 00 00 [11:30:22]Write to MH i2c: E2 08 00 59 1B 80 09 00 00 00 00 00 00 E6 [11:30:22]Write i2c OK [11:30:22]MH_I2C_Read... [11:30:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:30:22]Read from MH i2c: E2 [11:30:22]MH_I2C_Read... [11:30:22]Read from MH i2c: E2 03 00 [11:30:22]MH_I2C_Read... [11:30:22]Read from MH i2c: E2 03 00 59 1B 00 90 00 E8 [11:30:22]RAPDU: 90 00 [11:30:22]wFMCommunicate OK [11:30:22]SAM_PROTO_ClearQueue done [11:30:22]KKMCreateOFDPacket [11:30:22]OFDProtocolAddRootSTLVToBuf [11:30:22]FM_MakeSignedData [11:30:22]FM_MakeSignedData [11:30:22]SAM_PROTO_SignData [11:30:22]wFMCommunicate request_size=4 [11:30:22]MH_SAM_APDU [11:30:22]CAPDU: 80 0D 01 02 [11:30:22]Write to MH i2c: E2 08 00 5A 1B 80 0D 01 02 00 00 00 00 EE [11:30:22]Write i2c OK [11:30:22]MH_I2C_Read... [11:30:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:30:22]Read from MH i2c: E2 [11:30:22]MH_I2C_Read... [11:30:22]Read from MH i2c: E2 03 00 [11:30:22]MH_I2C_Read... [11:30:22]Read from MH i2c: E2 03 00 5A 1B 00 90 00 E9 [11:30:22]RAPDU: 90 00 [11:30:22]wFMCommunicate OK [11:30:22]wFMCommunicate request_size=255 [11:30:22]MH_SAM_APDU [11:30:22]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 D5 FA 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 [11:30:22]Write to MH i2c: E2 02 01 5B 1B 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 D5 FA 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 00 00 E0 [11:30:22]Write i2c OK [11:30:22]MH_I2C_Read... [11:30:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:30:22]Read from MH i2c: E2 [11:30:22]MH_I2C_Read... [11:30:22]Read from MH i2c: E2 03 00 [11:30:22]MH_I2C_Read... [11:30:22]Read from MH i2c: E2 03 00 5B 1B 00 90 00 EA [11:30:22]RAPDU: 90 00 [11:30:22]wFMCommunicate OK [11:30:22]wFMCommunicate request_size=32 [11:30:22]MH_SAM_APDU [11:30:22]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 36 30 10 04 04 00 06 10 00 00 35 04 06 00 EA 69 27 97 96 42 [11:30:22]Write to MH i2c: E2 23 00 5C 1B 80 0D 02 02 1B 00 30 30 30 39 35 39 33 36 30 10 04 04 00 06 10 00 00 35 04 06 00 EA 69 27 97 96 42 00 00 4D [11:30:22]Write i2c OK [11:30:22]MH_I2C_Read... [11:30:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:30:22]Read from MH i2c: E2 [11:30:22]MH_I2C_Read... [11:30:22]Read from MH i2c: E2 03 00 [11:30:22]MH_I2C_Read... [11:30:22]Read from MH i2c: E2 03 00 5C 1B 00 90 00 EB [11:30:22]RAPDU: 90 00 [11:30:22]wFMCommunicate OK [11:30:22]wFMCommunicate request_size=4 [11:30:22]MH_SAM_APDU [11:30:22]CAPDU: 80 0D 03 02 [11:30:22]Write to MH i2c: E2 08 00 5D 1B 80 0D 03 02 00 00 00 00 F3 [11:30:22]Write i2c OK [11:30:22]MH_I2C_Read... [11:30:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:30:22]Read from MH i2c: E2 [11:30:22]MH_I2C_Read... [11:30:22]Read from MH i2c: E2 0B 00 [11:30:22]MH_I2C_Read... [11:30:22]Read from MH i2c: E2 0B 00 5D 1B 00 C6 6F 9A 8A 46 9D 4A 86 90 00 00 [11:30:22]RAPDU: C6 6F 9A 8A 46 9D 4A 86 90 00 [11:30:22]wFMCommunicate OK [11:30:22]SAM_PROTO_SignData done [11:30:22]FM_MakeSignedData done [11:30:22]CreateOFDProtocolMessage [11:30:22]wFMCommunicate request_size=4 [11:30:22]MH_SAM_APDU [11:30:22]CAPDU: 80 11 00 00 [11:30:22]Write to MH i2c: E2 08 00 5E 1B 80 11 00 00 00 00 00 00 F3 [11:30:22]Write i2c OK [11:30:22]MH_I2C_Read... [11:30:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:30:22]Read from MH i2c: E2 [11:30:22]MH_I2C_Read... [11:30:22]Read from MH i2c: E2 17 00 [11:30:22]MH_I2C_Read... [11:30:22]Read from MH i2c: E2 17 00 5E 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 46 [11:30:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:30:22]wFMCommunicate OK [11:30:22]CreateOFDProtocolMessage done [11:30:22]OFDSenderStorePacket 4102 [11:30:22]StoreOFDPacket docnum=4102 [11:30:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 DA AA 1D 01 2B A9 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 D5 FA 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 06 10 00 00 35 04 06 00 EA 69 27 97 96 42 C6 6F 9A 8A 46 9D 4A 86 [11:30:22]CheckFolder [11:30:22]dirname=/storage/ofd_packets [11:30:22]CheckFolder done [11:30:22]ProducePacketName [11:30:22]name=ofd_packets/00004102 [11:30:22]NVStorageSaveData ofd_packets/00004102 [11:30:22]File name is /storage/ofd_packets/00004102 [11:30:22]Write 323 bytes [11:30:22]NVStorageSaveData done [11:30:22]OFDSenderStorePacket done [11:30:22]KKMCreateOFDPacket done [11:30:22]NVStorageSaveData kkm_last_timestamp [11:30:22]File name is /storage/kkm_last_timestamp [11:30:22]Write 4 bytes [11:30:22]NVStorageSaveData done [11:30:22]ExternCall_PrintAddStr [11:30:22]wPrintStart [11:30:22]Write to MH i2c: 01 00 00 5F 1B 7A [11:30:22]Write i2c OK [11:30:22]MH_I2C_Read... [11:30:22]Read from MH i2c: 01 [11:30:22]MH_I2C_Read... [11:30:22]Read from MH i2c: 01 07 00 [11:30:22]MH_I2C_Read... [11:30:22]Read from MH i2c: 01 07 00 5F 1B 00 00 00 00 00 FF 0F 8F [11:30:22]RasterBufferAndPrint [11:30:22]line Счет N : (3)4355 [11:30:22]line ИНН: 02508201610067 [11:30:22]line Контрольно-Кассовый Чек [11:30:22]line ПРОДАЖА [11:30:22]line Товар: 48743570 [11:30:22]line Сигареты Winston XStyle Blue [11:30:22]line 1.000 * 140.00 [11:30:22]line = 140.00 [11:30:22]line НДС 12% НСП 1% [11:30:22]line > о реализуемом товаре [11:30:22]line ИТОГО: 140.00 [11:30:22]line НСП 1% : 1.24 [11:30:22]line НДС 12% : 14.87 [11:30:22]line Наличными: 140.00 [11:30:22]line Безнал.: 0.00 [11:30:22]line Место: АЗС № 116 "Партнер Нефть" [11:30:22]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [11:30:22]line СНО: Общий режим [11:30:22]line Чек 19 04.06.2024 11:30 [11:30:22]line Смена: 83 ФФД: 1.0 [11:30:22]line ЗНМ: 0300000233 [11:30:22]line РНМ: 0000000000145775 [11:30:22]line Версия ККМ: v1.0 [11:30:22]line ФМ: 0000000000959360 [11:30:22]line ФД: 4102 [11:30:22]line ФПД: 257737356711490 [11:30:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T113029&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4102&fm=257737356711490&tin=02508201610067®Number=0000000000145775&sum=14000 [11:30:23]line 0 [11:30:23]OFD Sender: Processing packet 4102 [packets to send 2, broken 1] [11:30:23]ProducePacketName [11:30:23]name=ofd_packets/00004102 [11:30:23]OFD Sender: To server: pG, [11:30:23]CommunicateWithHost lk.salyk.kg:30040 [11:30:23]ConnectInit lk.salyk.kg [11:30:23]written 0, free lines is 4095 [11:30:23]Connected sock=10 [11:30:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 DA AA 1D 01 2B A9 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 D5 FA 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 06 10 00 00 35 04 06 00 EA 69 27 97 96 42 C6 6F 9A 8A 46 9D 4A 86 [11:30:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 6F 06 47 00 66 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 06 10 00 00 F4 03 04 00 D6 A6 5E 66 B6 04 01 00 00 6D 5E DF 51 59 58 9D B9 [11:30:23]CommunicateWithHost err = 0 [11:30:23]CheckOFDResponse [11:30:23]1017 (14) - 77093643461234 [11:30:23]1041 (16) - 0000000000959360 [11:30:23]1040 (4) - 4102 [11:30:23]1012 (4) - 04.06.2024 05:32 [11:30:23]1206 (1) - 0 [11:30:23]OFD Sender: Remove packet 4102 [11:30:23]ProducePacketName [11:30:23]name=ofd_packets/00004102 [11:30:23]NVStorageDeleteData [11:30:23]Write to MH i2c: 01 00 00 87 1B A2 [11:30:23]Write i2c OK [11:30:23]MH_I2C_Read... [11:30:23]Read from MH i2c: 01 [11:30:23]MH_I2C_Read... [11:30:23]Read from MH i2c: 01 07 00 [11:30:23]MH_I2C_Read... [11:30:23]Read from MH i2c: 01 07 00 87 1B 00 00 00 00 00 D9 0C 8E [11:30:23]RasterBufferAndPrint [11:30:23]line [11:30:23]line [11:30:23]line [11:30:23]line [11:30:23]line [11:30:23]written 0, free lines is 3296 [11:30:23]MH_Cut [11:30:23]Write to MH i2c: D1 01 00 8E 1B 01 7B [11:30:23]Write i2c OK [11:30:23]MH_I2C_Read... [11:30:23]Read from MH i2c: D1 [11:30:23]MH_I2C_Read... [11:30:23]Read from MH i2c: D1 01 00 [11:30:23]MH_I2C_Read... [11:30:23]Read from MH i2c: D1 01 00 8E 1B 00 7A [11:30:23]Write to MH i2c: 01 00 00 8F 1B AA [11:30:23]Write i2c OK [11:30:23]MH_I2C_Read... [11:30:24]OFD Sender: No OFD packet to send [11:30:24]*** Cut start [11:30:24]*** Partial cut [11:30:24]*** CUTSNS_PIN = 1 [11:30:24]*** CUTSNS_PIN = 0 [11:30:24]*** Brake cut motor [11:30:25]Read from MH i2c: 01 [11:30:25]MH_I2C_Read... [11:30:25]*** Stop cut motor [11:30:25]*** Cut end [11:30:25]Read from MH i2c: 01 07 00 [11:30:25]MH_I2C_Read... [11:30:25]Read from MH i2c: 01 07 00 8F 1B 00 00 00 00 00 FF 0F BF [11:30:25]process_action close_receipt done [11:30:25]requested_data is exist [11:30:25]produce_requested_data [11:30:25]requested_item fm.sn is exist - process it [11:30:25]wFMCommunicate request_size=4 [11:30:25]MH_SAM_APDU [11:30:25]CAPDU: 80 11 00 00 [11:30:25]Write to MH i2c: E2 08 00 90 1B 80 11 00 00 00 00 00 00 25 [11:30:25]Write i2c OK [11:30:25]MH_I2C_Read... [11:30:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:30:25]Read from MH i2c: E2 [11:30:25]MH_I2C_Read... [11:30:25]Read from MH i2c: E2 17 00 [11:30:25]MH_I2C_Read... [11:30:25]Read from MH i2c: E2 17 00 90 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 78 [11:30:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:30:25]wFMCommunicate OK [11:30:25]requested_item fd.num is exist - process it [11:30:25]SAM_PROTO_GetFieldsCounters [11:30:25]wFMCommunicate request_size=4 [11:30:25]MH_SAM_APDU [11:30:25]CAPDU: 80 13 00 00 [11:30:25]Write to MH i2c: E2 08 00 91 1B 80 13 00 00 00 00 00 00 28 [11:30:25]Write i2c OK [11:30:25]MH_I2C_Read... [11:30:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:30:25]Read from MH i2c: E2 [11:30:25]MH_I2C_Read... [11:30:25]Read from MH i2c: E2 62 00 [11:30:25]MH_I2C_Read... [11:30:25]Read from MH i2c: E2 62 00 91 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 06 10 00 00 0E 04 04 00 53 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 EF [11:30:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 06 10 00 00 0E 04 04 00 53 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 [11:30:25]wFMCommunicate OK [11:30:25]SAM_PROTO_GetFieldsCounters done [11:30:25]requested_item shift.num is exist - process it [11:30:25]requested_item shift.opened is exist - process it [11:30:25]req_shift_opened [11:30:25]FM_GetShiftState [11:30:25]SAM_PROTO_GetShiftState [11:30:25]wFMCommunicate request_size=4 [11:30:25]MH_SAM_APDU [11:30:25]CAPDU: 80 13 01 00 [11:30:25]Write to MH i2c: E2 08 00 92 1B 80 13 01 00 00 00 00 00 2A [11:30:25]Write i2c OK [11:30:25]MH_I2C_Read... [11:30:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:30:25]Read from MH i2c: E2 [11:30:25]MH_I2C_Read... [11:30:25]Read from MH i2c: E2 0E 00 [11:30:25]MH_I2C_Read... [11:30:25]Read from MH i2c: E2 0E 00 92 1B 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 C3 [11:30:25]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [11:30:25]wFMCommunicate OK [11:30:25]SAM_PROTO_GetShiftState done [11:30:25]FM_GetShiftState done [11:30:25]req_shift_opened done [11:30:25]requested_item shift.open_date is exist - process it [11:30:25]req_shift_open_date [11:30:25]req_shift_open_date done [11:30:25]produce_requested_data done [11:30:25]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4102,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [11:30:25]process_action_free close_receipt [11:30:25]json_value_free [11:30:25]json_value_free done [11:30:25]process_json_proto returns [11:30:25]Send response to host [11:30:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4102,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [11:30:25]free response buf [11:30:25]execute_script done [11:30:25]execute_script returns [11:30:25]free content buf [11:30:25]Sock 8.Close socket [11:30:25]Sock 8.Thread stoped [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:24]OFD Sender: No OFD packet to send [11:37:29]OFD Sender: No OFD packet to send [11:37:34]OFD Sender: No OFD packet to send [11:37:39]OFD Sender: No OFD packet to send [11:37:44]OFD Sender: No OFD packet to send [11:37:49]OFD Sender: No OFD packet to send [11:37:54]OFD Sender: No OFD packet to send [11:37:59]OFD Sender: No OFD packet to send [11:38:04]OFD Sender: No OFD packet to send [11:38:09]OFD Sender: No OFD packet to send [11:38:14]OFD Sender: No OFD packet to send [11:38:19]OFD Sender: No OFD packet to send [11:38:24]OFD Sender: No OFD packet to send [11:38:29]OFD Sender: No OFD packet to send [11:38:34]OFD Sender: No OFD packet to send [11:38:39]OFD Sender: No OFD packet to send [11:38:44]OFD Sender: No OFD packet to send [11:38:49]OFD Sender: No OFD packet to send [11:38:54]OFD Sender: No OFD packet to send [11:38:59]OFD Sender: No OFD packet to send [11:39:04]OFD Sender: No OFD packet to send [11:39:09]OFD Sender: No OFD packet to send [11:39:14]OFD Sender: No OFD packet to send [11:39:19]accept exits with 9 [11:39:19]New connection [11:39:19]New thread 3067370852 created [11:39:19]Thread 3067227492 joined [11:39:19]Waiting for new connection... [11:39:19] Sock 9.Parse request [11:39:19]Sock 9.Check first char [11:39:19]Sock 9.First char is OK [11:39:19]request: POST /json_proto HTTP/1.0 [11:39:19]Method: POST [11:39:19]URL: /json_proto [11:39:19]Method is POST - this is cgi request [11:39:19]url: /json_proto [11:39:19]query_string will be loaded in cgi processing [11:39:19]execute_cgi json_proto POST (null) [11:39:19]execute_cgi path=json_proto method=POST [11:39:19]POST find Content-Length [11:39:19]Host: 172.17.56.68:8080 [11:39:19]Content-Length: 642 [11:39:19]Content-Type: application/json [11:39:19] [11:39:19]POST finish read [11:39:19]Found Content-Length = 642 [11:39:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4356", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:39:19]execute_script... [11:39: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)4356", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:39:19]POST & json_proto [11:39:19]process_json_proto [11:39:19]json parsed OK: [11:39:19]protocol is kg_v1.0 [11:39:19]action value=close_receipt [11:39:19]process_action close_receipt [11:39:19]cmd_close_receipt [11:39:19]MH_GetDate [11:39:19]Write to MH i2c: F0 00 00 93 1B 9D [11:39:19]Write i2c OK [11:39:19]MH_I2C_Read... [11:39:19]Read from MH i2c: F0 [11:39:19]MH_I2C_Read... [11:39:19]Read from MH i2c: F0 09 00 [11:39:19]MH_I2C_Read... [11:39:19]Read from MH i2c: F0 09 00 93 1B 00 EF FC 5E 66 42 69 5C 66 C2 [11:39:19]GetLastDocTimeStamp 1717500629 [11:39:19]current date 1717501167 [11:39:19]FM_GetShiftState [11:39:19]SAM_PROTO_GetShiftState [11:39:19]wFMCommunicate request_size=4 [11:39:19]MH_SAM_APDU [11:39:19]CAPDU: 80 13 01 00 [11:39:19]Write to MH i2c: E2 08 00 94 1B 80 13 01 00 00 00 00 00 2C [11:39:19]Write i2c OK [11:39:19]MH_I2C_Read... [11:39:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:39:19]Read from MH i2c: E2 [11:39:19]MH_I2C_Read... [11:39:19]Read from MH i2c: E2 0E 00 [11:39:19]MH_I2C_Read... [11:39:19]Read from MH i2c: E2 0E 00 94 1B 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 C5 [11:39:19]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [11:39:19]wFMCommunicate OK [11:39:19]SAM_PROTO_GetShiftState done [11:39:19]FM_GetShiftState done [11:39:19]opened in 1717459822 [11:39:19]opened+sec_in_day 1717546222 [11:39:19]quantity*price = 23000 [11:39:19]sum+1 = 23001 [11:39:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 230.00 НСП 1% : 2.03 НДС 12% : 24.42 Наличными: 230.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 20 04.06.2024 11:39 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4103 ФПД: 219199008403910 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T113927&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4103&fm=219199008403910&tin=02508201610067®Number=0000000000145775&sum=23000 0 [11:39:20]StoreToDocumentArchive [11:39:20]shift 83 fd 4103 [11:39:20]save to /storage/0083/doc_00004103 [11:39:20]save last doc name /storage/0083/doc_00004103 to /storage/kkm_last_doc_name [11:39:20]save OK [11:39:20]Clear old archive folders... [11:39:20]ProcessDocumentItem done err = 0, tmpTLVsize=280 [11:39:20]tlvbuf is B6FBB7B0 [11:39:20]SAM_PROTO_ClearQueue [11:39:20]wFMCommunicate request_size=4 [11:39:20]MH_SAM_APDU [11:39:20]CAPDU: 80 09 00 00 [11:39:20]Write to MH i2c: E2 08 00 A1 1B 80 09 00 00 00 00 00 00 2E [11:39:20]Write i2c OK [11:39:20]MH_I2C_Read... [11:39:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:39:20]Read from MH i2c: E2 [11:39:20]MH_I2C_Read... [11:39:20]Read from MH i2c: E2 03 00 [11:39:20]MH_I2C_Read... [11:39:20]Read from MH i2c: E2 03 00 A1 1B 00 90 00 30 [11:39:20]RAPDU: 90 00 [11:39:20]wFMCommunicate OK [11:39:20]SAM_PROTO_ClearQueue done [11:39:20]KKMCreateOFDPacket [11:39:20]OFDProtocolAddRootSTLVToBuf [11:39:20]FM_MakeSignedData [11:39:20]FM_MakeSignedData [11:39:20]SAM_PROTO_SignData [11:39:20]wFMCommunicate request_size=4 [11:39:20]MH_SAM_APDU [11:39:20]CAPDU: 80 0D 01 02 [11:39:20]Write to MH i2c: E2 08 00 A2 1B 80 0D 01 02 00 00 00 00 36 [11:39:20]Write i2c OK [11:39:20]MH_I2C_Read... [11:39:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:39:20]Read from MH i2c: E2 [11:39:20]MH_I2C_Read... [11:39:20]Read from MH i2c: E2 03 00 [11:39:20]MH_I2C_Read... [11:39:20]Read from MH i2c: E2 03 00 A2 1B 00 90 00 31 [11:39:20]RAPDU: 90 00 [11:39:20]wFMCommunicate OK [11:39:20]wFMCommunicate request_size=255 [11:39:20]MH_SAM_APDU [11:39:20]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 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 EF FC 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 [11:39:20]Write to MH i2c: E2 02 01 A3 1B 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 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 EF FC 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 00 F6 [11:39:20]Write i2c OK [11:39:20]MH_I2C_Read... [11:39:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:39:20]Read from MH i2c: E2 [11:39:20]MH_I2C_Read... [11:39:20]Read from MH i2c: E2 03 00 [11:39:20]MH_I2C_Read... [11:39:20]Read from MH i2c: E2 03 00 A3 1B 00 90 00 32 [11:39:20]RAPDU: 90 00 [11:39:20]wFMCommunicate OK [11:39:20]wFMCommunicate request_size=39 [11:39:20]MH_SAM_APDU [11:39:20]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 07 10 00 00 35 04 06 00 C7 5C 3F 07 F1 C6 [11:39:20]Write to MH i2c: E2 2A 00 A4 1B 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 07 10 00 00 35 04 06 00 C7 5C 3F 07 F1 C6 00 00 2B [11:39:20]Write i2c OK [11:39:20]MH_I2C_Read... [11:39:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:39:20]Read from MH i2c: E2 [11:39:20]MH_I2C_Read... [11:39:20]Read from MH i2c: E2 03 00 [11:39:20]MH_I2C_Read... [11:39:20]Read from MH i2c: E2 03 00 A4 1B 00 90 00 33 [11:39:20]RAPDU: 90 00 [11:39:20]wFMCommunicate OK [11:39:20]wFMCommunicate request_size=4 [11:39:20]MH_SAM_APDU [11:39:20]CAPDU: 80 0D 03 02 [11:39:20]Write to MH i2c: E2 08 00 A5 1B 80 0D 03 02 00 00 00 00 3B [11:39:20]Write i2c OK [11:39:20]MH_I2C_Read... [11:39:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:39:20]Read from MH i2c: E2 [11:39:20]MH_I2C_Read... [11:39:20]Read from MH i2c: E2 0B 00 [11:39:20]MH_I2C_Read... [11:39:20]Read from MH i2c: E2 0B 00 A5 1B 00 E1 CB 56 33 E3 26 9B 4E 90 00 63 [11:39:20]RAPDU: E1 CB 56 33 E3 26 9B 4E 90 00 [11:39:20]wFMCommunicate OK [11:39:20]SAM_PROTO_SignData done [11:39:20]FM_MakeSignedData done [11:39:20]CreateOFDProtocolMessage [11:39:20]wFMCommunicate request_size=4 [11:39:20]MH_SAM_APDU [11:39:20]CAPDU: 80 11 00 00 [11:39:20]Write to MH i2c: E2 08 00 A6 1B 80 11 00 00 00 00 00 00 3B [11:39:20]Write i2c OK [11:39:20]MH_I2C_Read... [11:39:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:39:20]Read from MH i2c: E2 [11:39:20]MH_I2C_Read... [11:39:20]Read from MH i2c: E2 17 00 [11:39:20]MH_I2C_Read... [11:39:20]Read from MH i2c: E2 17 00 A6 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 8E [11:39:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:39:20]wFMCommunicate OK [11:39:20]CreateOFDProtocolMessage done [11:39:20]OFDSenderStorePacket 4103 [11:39:20]StoreOFDPacket docnum=4103 [11:39:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 3D 88 24 01 17 6B 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 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 EF FC 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 07 10 00 00 35 04 06 00 C7 5C 3F 07 F1 C6 E1 CB 56 33 E3 26 9B 4E [11:39:20]CheckFolder [11:39:20]dirname=/storage/ofd_packets [11:39:20]CheckFolder done [11:39:20]ProducePacketName [11:39:20]name=ofd_packets/00004103 [11:39:20]NVStorageSaveData ofd_packets/00004103 [11:39:20]File name is /storage/ofd_packets/00004103 [11:39:20]Write 330 bytes [11:39:20]NVStorageSaveData done [11:39:20]OFDSenderStorePacket done [11:39:20]KKMCreateOFDPacket done [11:39:20]NVStorageSaveData kkm_last_timestamp [11:39:20]File name is /storage/kkm_last_timestamp [11:39:20]Write 4 bytes [11:39:20]NVStorageSaveData done [11:39:20]ExternCall_PrintAddStr [11:39:20]wPrintStart [11:39:20]Write to MH i2c: 01 00 00 A7 1B C2 [11:39:20]OFD Sender: Processing packet 4103 [packets to send 2, broken 1] [11:39:20]ProducePacketName [11:39:20]name=ofd_packets/00004103 [11:39:20]OFD Sender: To server: pG, [11:39:20]CommunicateWithHost lk.salyk.kg:30040 [11:39:20]ConnectInit lk.salyk.kg [11:39:20]Write i2c OK [11:39:20]MH_I2C_Read... [11:39:20]Read from MH i2c: 01 [11:39:20]MH_I2C_Read... [11:39:20]Read from MH i2c: 01 07 00 [11:39:20]MH_I2C_Read... [11:39:20]Read from MH i2c: 01 07 00 A7 1B 00 00 00 00 00 FF 0F D7 [11:39:20]RasterBufferAndPrint [11:39:20]line Счет N : (3)4356 [11:39:20]line ИНН: 02508201610067 [11:39:20]line Контрольно-Кассовый Чек [11:39:20]line ПРОДАЖА [11:39:20]line Товар: 2000036210013 [11:39:20]line Кофе Капучино (GABB TRADE) [11:39:20]line 2.000 * 115.00 [11:39:20]line = 230.00 [11:39:20]line НДС 12% НСП 1% [11:39:20]line > о реализуемом товаре [11:39:20]line ИТОГО: 230.00 [11:39:20]line НСП 1% : 2.03 [11:39:20]line НДС 12% : 24.42 [11:39:20]line Наличными: 230.00 [11:39:20]line Безнал.: 0.00 [11:39:20]line Место: АЗС № 116 "Партнер Нефть" [11:39:20]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [11:39:20]line СНО: Общий режим [11:39:20]line Чек 20 04.06.2024 11:39 [11:39:20]line Смена: 83 ФФД: 1.0 [11:39:20]line ЗНМ: 0300000233 [11:39:20]line РНМ: 0000000000145775 [11:39:20]line Версия ККМ: v1.0 [11:39:20]line ФМ: 0000000000959360 [11:39:20]line ФД: 4103 [11:39:20]line ФПД: 219199008403910 [11:39:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T113927&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4103&fm=219199008403910&tin=02508201610067®Number=0000000000145775&sum=23000 [11:39:21]line 0 [11:39:21]Connected sock=11 [11:39:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 3D 88 24 01 17 6B 5A 03 01 00 03 written 0, free lines is 4095 [11:39:21]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 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 EF FC 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 07 10 00 00 35 04 06 00 C7 5C 3F 07 F1 C6 E1 CB 56 33 E3 26 9B 4E [11:39:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 78 30 47 00 5B C0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 07 10 00 00 F4 03 04 00 F0 A8 5E 66 B6 04 01 00 00 74 49 DE 0F 32 70 F7 F7 [11:39:21]CommunicateWithHost err = 0 [11:39:21]CheckOFDResponse [11:39:21]1017 (14) - 77093643461234 [11:39:21]1041 (16) - 0000000000959360 [11:39:21]1040 (4) - 4103 [11:39:21]1012 (4) - 04.06.2024 05:41 [11:39:21]1206 (1) - 0 [11:39:21]OFD Sender: Remove packet 4103 [11:39:21]ProducePacketName [11:39:21]name=ofd_packets/00004103 [11:39:21]NVStorageDeleteData [11:39:21]Write to MH i2c: 01 00 00 CF 1B EA [11:39:21]Write i2c OK [11:39:21]MH_I2C_Read... [11:39:21]Read from MH i2c: 01 [11:39:21]MH_I2C_Read... [11:39:21]Read from MH i2c: 01 07 00 [11:39:21]MH_I2C_Read... [11:39:21]Read from MH i2c: 01 07 00 CF 1B 00 00 00 00 00 D8 0C D5 [11:39:21]RasterBufferAndPrint [11:39:21]line [11:39:21]line [11:39:21]line [11:39:21]line [11:39:21]line [11:39:21]written 0, free lines is 3295 [11:39:21]MH_Cut [11:39:21]Write to MH i2c: D1 01 00 D6 1B 01 C3 [11:39:21]Write i2c OK [11:39:21]MH_I2C_Read... [11:39:21]Read from MH i2c: D1 [11:39:21]MH_I2C_Read... [11:39:21]Read from MH i2c: D1 01 00 [11:39:21]MH_I2C_Read... [11:39:21]Read from MH i2c: D1 01 00 D6 1B 00 C2 [11:39:21]Write to MH i2c: 01 00 00 D7 1B F2 [11:39:21]Write i2c OK [11:39:21]MH_I2C_Read... [11:39:21]OFD Sender: No OFD packet to send [11:39:22]*** Cut start [11:39:22]*** Partial cut [11:39:22]*** CUTSNS_PIN = 1 [11:39:22]*** CUTSNS_PIN = 0 [11:39:22]*** Brake cut motor [11:39:23]Read from MH i2c: 01 [11:39:23]MH_I2C_Read... [11:39:23]*** Stop cut motor [11:39:23]*** Cut end [11:39:23]Read from MH i2c: 01 07 00 [11:39:23]MH_I2C_Read... [11:39:23]Read from MH i2c: 01 07 00 D7 1B 00 00 00 00 00 FF 0F 07 [11:39:23]process_action close_receipt done [11:39:23]requested_data is exist [11:39:23]produce_requested_data [11:39:23]requested_item fm.sn is exist - process it [11:39:23]wFMCommunicate request_size=4 [11:39:23]MH_SAM_APDU [11:39:23]CAPDU: 80 11 00 00 [11:39:23]Write to MH i2c: E2 08 00 D8 1B 80 11 00 00 00 00 00 00 6D [11:39:23]Write i2c OK [11:39:23]MH_I2C_Read... [11:39:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:39:23]Read from MH i2c: E2 [11:39:23]MH_I2C_Read... [11:39:23]Read from MH i2c: E2 17 00 [11:39:23]MH_I2C_Read... [11:39:23]Read from MH i2c: E2 17 00 D8 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C0 [11:39:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:39:23]wFMCommunicate OK [11:39:23]requested_item fd.num is exist - process it [11:39:23]SAM_PROTO_GetFieldsCounters [11:39:23]wFMCommunicate request_size=4 [11:39:23]MH_SAM_APDU [11:39:23]CAPDU: 80 13 00 00 [11:39:23]Write to MH i2c: E2 08 00 D9 1B 80 13 00 00 00 00 00 00 70 [11:39:23]Write i2c OK [11:39:23]MH_I2C_Read... [11:39:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:39:23]Read from MH i2c: E2 [11:39:23]MH_I2C_Read... [11:39:23]Read from MH i2c: E2 62 00 [11:39:23]MH_I2C_Read... [11:39:23]Read from MH i2c: E2 62 00 D9 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 07 10 00 00 0E 04 04 00 53 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 3B [11:39:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 07 10 00 00 0E 04 04 00 53 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 [11:39:23]wFMCommunicate OK [11:39:23]SAM_PROTO_GetFieldsCounters done [11:39:23]requested_item shift.num is exist - process it [11:39:23]requested_item shift.opened is exist - process it [11:39:23]req_shift_opened [11:39:23]FM_GetShiftState [11:39:23]SAM_PROTO_GetShiftState [11:39:23]wFMCommunicate request_size=4 [11:39:23]MH_SAM_APDU [11:39:23]CAPDU: 80 13 01 00 [11:39:23]Write to MH i2c: E2 08 00 DA 1B 80 13 01 00 00 00 00 00 72 [11:39:23]Write i2c OK [11:39:23]MH_I2C_Read... [11:39:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:39:23]Read from MH i2c: E2 [11:39:23]MH_I2C_Read... [11:39:23]Read from MH i2c: E2 0E 00 [11:39:23]MH_I2C_Read... [11:39:23]Read from MH i2c: E2 0E 00 DA 1B 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 0B [11:39:23]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [11:39:23]wFMCommunicate OK [11:39:23]SAM_PROTO_GetShiftState done [11:39:23]FM_GetShiftState done [11:39:23]req_shift_opened done [11:39:23]requested_item shift.open_date is exist - process it [11:39:23]req_shift_open_date [11:39:23]req_shift_open_date done [11:39:23]produce_requested_data done [11:39:23]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4103,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [11:39:23]process_action_free close_receipt [11:39:23]json_value_free [11:39:23]json_value_free done [11:39:23]process_json_proto returns [11:39:23]Send response to host [11:39:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4103,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [11:39:23]free response buf [11:39:23]execute_script done [11:39:23]execute_script returns [11:39:23]free content buf [11:39:23]Sock 9.Close socket [11:39:23]Sock 9.Thread stoped [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:37]accept exits with 8 [11:40:37]New connection [11:40:37]New thread 3067227492 created [11:40:37]Thread 3067370852 joined [11:40:37]Waiting for new connection... [11:40:37] Sock 8.Parse request [11:40:37]Sock 8.Check first char [11:40:37]Sock 8.First char is OK [11:40:37]request: POST /json_proto HTTP/1.0 [11:40:37]Method: POST [11:40:37]URL: /json_proto [11:40:37]Method is POST - this is cgi request [11:40:37]url: /json_proto [11:40:37]query_string will be loaded in cgi processing [11:40:37]execute_cgi json_proto POST (null) [11:40:37]execute_cgi path=json_proto method=POST [11:40:37]POST find Content-Length [11:40:37]Host: 172.17.56.68:8080 [11:40:37]Content-Length: 693 [11:40:37]Content-Type: application/json [11:40:37] [11:40:37]POST finish read [11:40:37]Found Content-Length = 693 [11:40:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4357", "tax_sys" : 0, "items" : [ { "code": "5000159381178", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 \u0422\u0440\u0438\u043E 82,5\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 89.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:40:37]execute_script... [11:40:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4357", "tax_sys" : 0, "items" : [ { "code": "5000159381178", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 \u0422\u0440\u0438\u043E 82,5\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 89.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:40:37]POST & json_proto [11:40:37]process_json_proto [11:40:37]json parsed OK: [11:40:37]protocol is kg_v1.0 [11:40:37]action value=close_receipt [11:40:37]process_action close_receipt [11:40:37]cmd_close_receipt [11:40:37]MH_GetDate [11:40:37]Write to MH i2c: F0 00 00 DB 1B E5 [11:40:37]Write i2c OK [11:40:37]MH_I2C_Read... [11:40:37]Read from MH i2c: F0 [11:40:37]MH_I2C_Read... [11:40:37]Read from MH i2c: F0 09 00 [11:40:37]MH_I2C_Read... [11:40:37]Read from MH i2c: F0 09 00 DB 1B 00 3D FD 5E 66 42 69 5C 66 59 [11:40:37]GetLastDocTimeStamp 1717501167 [11:40:37]current date 1717501245 [11:40:37]FM_GetShiftState [11:40:37]SAM_PROTO_GetShiftState [11:40:37]wFMCommunicate request_size=4 [11:40:37]MH_SAM_APDU [11:40:37]CAPDU: 80 13 01 00 [11:40:37]Write to MH i2c: E2 08 00 DC 1B 80 13 01 00 00 00 00 00 74 [11:40:37]Write i2c OK [11:40:37]MH_I2C_Read... [11:40:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:40:37]Read from MH i2c: E2 [11:40:37]MH_I2C_Read... [11:40:37]Read from MH i2c: E2 0E 00 [11:40:37]MH_I2C_Read... [11:40:37]Read from MH i2c: E2 0E 00 DC 1B 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 0D [11:40:37]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [11:40:37]wFMCommunicate OK [11:40:37]SAM_PROTO_GetShiftState done [11:40:37]FM_GetShiftState done [11:40:37]opened in 1717459822 [11:40:37]opened+sec_in_day 1717546222 [11:40:37]quantity*price = 8900 [11:40:37]sum+1 = 8901 [11:40:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 89.00 НСП 1% : 0.79 НДС 12% : 9.45 Наличными: 89.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 21 04.06.2024 11:40 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4104 ФПД: 69575563208305 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T114045&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4104&fm=69575563208305&tin=02508201610067®Number=0000000000145775&sum=8900 0 [11:40:38]StoreToDocumentArchive [11:40:38]shift 83 fd 4104 [11:40:38]save to /storage/0083/doc_00004104 [11:40:38]save last doc name /storage/0083/doc_00004104 to /storage/kkm_last_doc_name [11:40:38]save OK [11:40:38]Clear old archive folders... [11:40:38]ProcessDocumentItem done err = 0, tmpTLVsize=294 [11:40:38]tlvbuf is 007ECF70 [11:40:38]SAM_PROTO_ClearQueue [11:40:38]wFMCommunicate request_size=4 [11:40:38]MH_SAM_APDU [11:40:38]CAPDU: 80 09 00 00 [11:40:38]Write to MH i2c: E2 08 00 E9 1B 80 09 00 00 00 00 00 00 76 [11:40:38]Write i2c OK [11:40:38]MH_I2C_Read... [11:40:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:40:38]Read from MH i2c: E2 [11:40:38]MH_I2C_Read... [11:40:38]Read from MH i2c: E2 03 00 [11:40:38]MH_I2C_Read... [11:40:38]Read from MH i2c: E2 03 00 E9 1B 00 90 00 78 [11:40:38]RAPDU: 90 00 [11:40:38]wFMCommunicate OK [11:40:38]SAM_PROTO_ClearQueue done [11:40:38]KKMCreateOFDPacket [11:40:38]OFDProtocolAddRootSTLVToBuf [11:40:38]FM_MakeSignedData [11:40:38]FM_MakeSignedData [11:40:38]SAM_PROTO_SignData [11:40:38]wFMCommunicate request_size=4 [11:40:38]MH_SAM_APDU [11:40:38]CAPDU: 80 0D 01 02 [11:40:38]Write to MH i2c: E2 08 00 EA 1B 80 0D 01 02 00 00 00 00 7E [11:40:38]Write i2c OK [11:40:38]MH_I2C_Read... [11:40:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:40:38]Read from MH i2c: E2 [11:40:38]MH_I2C_Read... [11:40:38]Read from MH i2c: E2 03 00 [11:40:38]MH_I2C_Read... [11:40:38]Read from MH i2c: E2 03 00 EA 1B 00 90 00 79 [11:40:38]RAPDU: 90 00 [11:40:38]wFMCommunicate OK [11:40:38]wFMCommunicate request_size=255 [11:40:38]MH_SAM_APDU [11:40:38]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 C4 22 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 3D FD 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [11:40:38]Write to MH i2c: E2 02 01 EB 1B 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 C4 22 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 3D FD 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 20 [11:40:38]Write i2c OK [11:40:38]MH_I2C_Read... [11:40:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:40:38]Read from MH i2c: E2 [11:40:38]MH_I2C_Read... [11:40:38]Read from MH i2c: E2 03 00 [11:40:38]MH_I2C_Read... [11:40:38]Read from MH i2c: E2 03 00 EB 1B 00 90 00 7A [11:40:38]RAPDU: 90 00 [11:40:38]wFMCommunicate OK [11:40:38]wFMCommunicate request_size=53 [11:40:38]MH_SAM_APDU [11:40:38]CAPDU: 80 0D 02 02 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 08 10 00 00 35 04 06 00 3F 47 52 BA E6 71 [11:40:38]Write to MH i2c: E2 38 00 EC 1B 80 0D 02 02 30 00 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 08 10 00 00 35 04 06 00 3F 47 52 BA E6 71 00 00 7B [11:40:38]Write i2c OK [11:40:38]MH_I2C_Read... [11:40:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:40:38]Read from MH i2c: E2 [11:40:38]MH_I2C_Read... [11:40:38]Read from MH i2c: E2 03 00 [11:40:38]MH_I2C_Read... [11:40:38]Read from MH i2c: E2 03 00 EC 1B 00 90 00 7B [11:40:38]RAPDU: 90 00 [11:40:38]wFMCommunicate OK [11:40:38]wFMCommunicate request_size=4 [11:40:38]MH_SAM_APDU [11:40:38]CAPDU: 80 0D 03 02 [11:40:38]Write to MH i2c: E2 08 00 ED 1B 80 0D 03 02 00 00 00 00 83 [11:40:38]Write i2c OK [11:40:38]MH_I2C_Read... [11:40:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:40:38]Read from MH i2c: E2 [11:40:38]MH_I2C_Read... [11:40:38]Read from MH i2c: E2 0B 00 [11:40:38]MH_I2C_Read... [11:40:38]Read from MH i2c: E2 0B 00 ED 1B 00 58 B7 F7 C7 7C 7C 72 AF 90 00 6A [11:40:38]RAPDU: 58 B7 F7 C7 7C 7C 72 AF 90 00 [11:40:38]wFMCommunicate OK [11:40:38]SAM_PROTO_SignData done [11:40:38]FM_MakeSignedData done [11:40:38]CreateOFDProtocolMessage [11:40:38]wFMCommunicate request_size=4 [11:40:38]MH_SAM_APDU [11:40:38]CAPDU: 80 11 00 00 [11:40:38]Write to MH i2c: E2 08 00 EE 1B 80 11 00 00 00 00 00 00 83 [11:40:38]Write i2c OK [11:40:38]MH_I2C_Read... [11:40:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:40:38]Read from MH i2c: E2 [11:40:38]MH_I2C_Read... [11:40:38]Read from MH i2c: E2 17 00 [11:40:38]MH_I2C_Read... [11:40:38]Read from MH i2c: E2 17 00 EE 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D6 [11:40:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:40:38]wFMCommunicate OK [11:40:38]CreateOFDProtocolMessage done [11:40:38]OFDSenderStorePacket 4104 [11:40:38]StoreOFDPacket docnum=4104 [11:40:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3A 01 00 00 F1 CB 32 01 FF 36 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 C4 22 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 3D FD 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 08 10 00 00 35 04 06 00 3F 47 52 BA E6 71 58 B7 F7 C7 7C 7C 72 AF [11:40:38]CheckFolder [11:40:38]dirname=/storage/ofd_packets [11:40:38]CheckFolder done [11:40:38]ProducePacketName [11:40:38]name=ofd_packets/00004104 [11:40:38]NVStorageSaveData ofd_packets/00004104 [11:40:38]File name is /storage/ofd_packets/00004104 [11:40:38]Write 344 bytes [11:40:38]NVStorageSaveData done [11:40:38]OFDSenderStorePacket done [11:40:38]KKMCreateOFDPacket done [11:40:38]NVStorageSaveData kkm_last_timestamp [11:40:38]File name is /storage/kkm_last_timestamp [11:40:38]Write 4 bytes [11:40:38]NVStorageSaveData done [11:40:38]ExternCall_PrintAddStr [11:40:38]wPrintStart [11:40:38]Write to MH i2c: 01 00 00 EF 1B 0A [11:40:38]Write i2c OK [11:40:38]MH_I2C_Read... [11:40:38]Read from MH i2c: 01 [11:40:38]MH_I2C_Read... [11:40:38]Read from MH i2c: 01 07 00 [11:40:38]MH_I2C_Read... [11:40:38]Read from MH i2c: 01 07 00 EF 1B 00 00 00 00 00 FF 0F 1F [11:40:38]RasterBufferAndPrint [11:40:38]line Счет N : (3)4357 [11:40:38]line ИНН: 02508201610067 [11:40:38]line Контрольно-Кассовый Чек [11:40:38]line ПРОДАЖА [11:40:38]line Товар: 5000159381178 [11:40:38]line Шок Батончик Баунти Трио 82,5г [11:40:38]line 1.000 * 89.00 [11:40:38]line = 89.00 [11:40:38]line НДС 12% НСП 1% [11:40:38]line > о реализуемом товаре [11:40:38]line ИТОГО: 89.00 [11:40:38]line НСП 1% : 0.79 [11:40:38]line НДС 12% : 9.45 [11:40:38]line Наличными: 89.00 [11:40:38]line Безнал.: 0.00 [11:40:38]line Место: АЗС № 116 "Партнер Нефть" [11:40:38]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [11:40:38]line СНО: Общий режим [11:40:38]line Чек 21 04.06.2024 11:40 [11:40:38]line Смена: 83 ФФД: 1.0 [11:40:38]line ЗНМ: 0300000233 [11:40:38]line РНМ: 0000000000145775 [11:40:38]line Версия ККМ: v1.0 [11:40:38]line ФМ: 0000000000959360 [11:40:38]line ФД: 4104 [11:40:38]line ФПД: 69575563208305 [11:40:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T114045&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4104&fm=69575563208305&tin=02508201610067®Number=0000000000145775&sum=8900 [11:40:39]line 0 [11:40:39]OFD Sender: Processing packet 4104 [packets to send 2, broken 1] [11:40:39]ProducePacketName [11:40:39]name=ofd_packets/00004104 [11:40:39]OFD Sender: To server: pG, [11:40:39]CommunicateWithHost lk.salyk.kg:30040 [11:40:39]ConnectInit lk.salyk.kg [11:40:39]written 0, free lines is 4095 [11:40:39]Connected sock=10 [11:40:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3A 01 00 00 F1 CB 32 01 FF 36 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 C4 22 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 3D FD 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 08 10 00 00 35 04 06 00 3F 47 52 BA E6 71 58 B7 F7 C7 7C 7C 72 AF [11:40:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 4C 26 47 00 46 72 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 08 10 00 00 F4 03 04 00 3E A9 5E 66 B6 04 01 00 00 AA 2C B9 F7 B9 D3 F6 0F [11:40:39]CommunicateWithHost err = 0 [11:40:39]CheckOFDResponse [11:40:39]1017 (14) - 77093643461234 [11:40:39]1041 (16) - 0000000000959360 [11:40:39]1040 (4) - 4104 [11:40:39]1012 (4) - 04.06.2024 05:42 [11:40:39]1206 (1) - 0 [11:40:39]OFD Sender: Remove packet 4104 [11:40:39]ProducePacketName [11:40:39]name=ofd_packets/00004104 [11:40:39]NVStorageDeleteData [11:40:39]Write to MH i2c: 01 00 00 18 1C 34 [11:40:39]Write i2c OK [11:40:39]MH_I2C_Read... [11:40:39]Read from MH i2c: 01 [11:40:39]MH_I2C_Read... [11:40:39]Read from MH i2c: 01 07 00 [11:40:39]MH_I2C_Read... [11:40:39]Read from MH i2c: 01 07 00 18 1C 00 00 00 00 00 CA 0C 11 [11:40:39]RasterBufferAndPrint [11:40:39]line [11:40:39]line [11:40:39]line [11:40:39]line [11:40:39]line [11:40:39]written 0, free lines is 3281 [11:40:39]MH_Cut [11:40:39]Write to MH i2c: D1 01 00 1F 1C 01 0D [11:40:39]Write i2c OK [11:40:39]MH_I2C_Read... [11:40:39]Read from MH i2c: D1 [11:40:39]MH_I2C_Read... [11:40:39]Read from MH i2c: D1 01 00 [11:40:39]MH_I2C_Read... [11:40:39]Read from MH i2c: D1 01 00 1F 1C 00 0C [11:40:39]Write to MH i2c: 01 00 00 20 1C 3C [11:40:39]Write i2c OK [11:40:39]MH_I2C_Read... [11:40:40]OFD Sender: No OFD packet to send [11:40:40]*** Cut start [11:40:40]*** Partial cut [11:40:40]*** CUTSNS_PIN = 1 [11:40:40]*** CUTSNS_PIN = 0 [11:40:40]*** Brake cut motor [11:40:41]Read from MH i2c: 01 [11:40:41]MH_I2C_Read... [11:40:41]*** Stop cut motor [11:40:41]*** Cut end [11:40:41]Read from MH i2c: 01 07 00 [11:40:41]MH_I2C_Read... [11:40:41]Read from MH i2c: 01 07 00 20 1C 00 00 00 00 00 FF 0F 51 [11:40:41]process_action close_receipt done [11:40:41]requested_data is exist [11:40:41]produce_requested_data [11:40:41]requested_item fm.sn is exist - process it [11:40:41]wFMCommunicate request_size=4 [11:40:41]MH_SAM_APDU [11:40:41]CAPDU: 80 11 00 00 [11:40:41]Write to MH i2c: E2 08 00 21 1C 80 11 00 00 00 00 00 00 B7 [11:40:41]Write i2c OK [11:40:41]MH_I2C_Read... [11:40:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:40:41]Read from MH i2c: E2 [11:40:41]MH_I2C_Read... [11:40:41]Read from MH i2c: E2 17 00 [11:40:41]MH_I2C_Read... [11:40:41]Read from MH i2c: E2 17 00 21 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 0A [11:40:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:40:41]wFMCommunicate OK [11:40:41]requested_item fd.num is exist - process it [11:40:41]SAM_PROTO_GetFieldsCounters [11:40:41]wFMCommunicate request_size=4 [11:40:41]MH_SAM_APDU [11:40:41]CAPDU: 80 13 00 00 [11:40:41]Write to MH i2c: E2 08 00 22 1C 80 13 00 00 00 00 00 00 BA [11:40:41]Write i2c OK [11:40:41]MH_I2C_Read... [11:40:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:40:41]Read from MH i2c: E2 [11:40:41]MH_I2C_Read... [11:40:41]Read from MH i2c: E2 62 00 [11:40:41]MH_I2C_Read... [11:40:41]Read from MH i2c: E2 62 00 22 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 08 10 00 00 0E 04 04 00 53 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 89 [11:40:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 08 10 00 00 0E 04 04 00 53 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 [11:40:41]wFMCommunicate OK [11:40:41]SAM_PROTO_GetFieldsCounters done [11:40:41]requested_item shift.num is exist - process it [11:40:41]requested_item shift.opened is exist - process it [11:40:41]req_shift_opened [11:40:41]FM_GetShiftState [11:40:41]SAM_PROTO_GetShiftState [11:40:41]wFMCommunicate request_size=4 [11:40:41]MH_SAM_APDU [11:40:41]CAPDU: 80 13 01 00 [11:40:41]Write to MH i2c: E2 08 00 23 1C 80 13 01 00 00 00 00 00 BC [11:40:41]Write i2c OK [11:40:41]MH_I2C_Read... [11:40:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:40:41]Read from MH i2c: E2 [11:40:41]MH_I2C_Read... [11:40:41]Read from MH i2c: E2 0E 00 [11:40:41]MH_I2C_Read... [11:40:41]Read from MH i2c: E2 0E 00 23 1C 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 55 [11:40:41]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [11:40:41]wFMCommunicate OK [11:40:41]SAM_PROTO_GetShiftState done [11:40:41]FM_GetShiftState done [11:40:41]req_shift_opened done [11:40:41]requested_item shift.open_date is exist - process it [11:40:41]req_shift_open_date [11:40:41]req_shift_open_date done [11:40:41]produce_requested_data done [11:40:41]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4104,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [11:40:41]process_action_free close_receipt [11:40:41]json_value_free [11:40:41]json_value_free done [11:40:41]process_json_proto returns [11:40:41]Send response to host [11:40:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4104,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [11:40:41]free response buf [11:40:41]execute_script done [11:40:41]execute_script returns [11:40:41]free content buf [11:40:41]Sock 8.Close socket [11:40:41]Sock 8.Thread stoped [11:40:45]OFD Sender: No OFD packet to send [11:40:50]OFD Sender: No OFD packet to send [11:40:55]OFD Sender: No OFD packet to send [11:41:00]OFD Sender: No OFD packet to send [11:41:05]OFD Sender: No OFD packet to send [11:41:10]OFD Sender: No OFD packet to send [11:41:15]OFD Sender: No OFD packet to send [11:41:20]OFD Sender: No OFD packet to send [11:41:25]OFD Sender: No OFD packet to send [11:41:30]OFD Sender: No OFD packet to send [11:41:35]OFD Sender: No OFD packet to send [11:41:40]OFD Sender: No OFD packet to send [11:41:45]OFD Sender: No OFD packet to send [11:41:50]OFD Sender: No OFD packet to send [11:41:55]OFD Sender: No OFD packet to send [11:42:00]OFD Sender: No OFD packet to send [11:42:05]OFD Sender: No OFD packet to send [11:42:10]OFD Sender: No OFD packet to send [11:42:15]OFD Sender: No OFD packet to send [11:42:20]OFD Sender: No OFD packet to send [11:42:25]OFD Sender: No OFD packet to send [11:42:30]OFD Sender: No OFD packet to send [11:42:35]OFD Sender: No OFD packet to send [11:42:40]OFD Sender: No OFD packet to send [11:42:45]OFD Sender: No OFD packet to send [11:42:50]OFD Sender: No OFD packet to send [11:42:55]OFD Sender: No OFD packet to send [11:43:00]OFD Sender: No OFD packet to send [11:43:05]OFD Sender: No OFD packet to send [11:43:10]OFD Sender: No OFD packet to send [11:43:15]OFD Sender: No OFD packet to send [11:43:20]OFD Sender: No OFD packet to send [11:43:25]OFD Sender: No OFD packet to send [11:43:30]OFD Sender: No OFD packet to send [11:43:35]OFD Sender: No OFD packet to send [11:43:40]OFD Sender: No OFD packet to send [11:43:45]OFD Sender: No OFD packet to send [11:43:50]OFD Sender: No OFD packet to send [11:43:55]OFD Sender: No OFD packet to send [11:44:00]OFD Sender: No OFD packet to send [11:44:05]OFD Sender: No OFD packet to send [11:44:10]OFD Sender: No OFD packet to send [11:44:15]OFD Sender: No OFD packet to send [11:44:20]OFD Sender: No OFD packet to send [11:44:25]OFD Sender: No OFD packet to send [11:44:30]OFD Sender: No OFD packet to send [11:44:35]OFD Sender: No OFD packet to send [11:44:40]OFD Sender: No OFD packet to send [11:44:45]OFD Sender: No OFD packet to send [11:44:50]OFD Sender: No OFD packet to send [11:44:55]OFD Sender: No OFD packet to send [11:45:00]OFD Sender: No OFD packet to send [11:45:05]OFD Sender: No OFD packet to send [11:45:10]OFD Sender: No OFD packet to send [11:45:15]OFD Sender: No OFD packet to send [11:45:20]OFD Sender: No OFD packet to send [11:45:25]OFD Sender: No OFD packet to send [11:45:30]OFD Sender: No OFD packet to send [11:45:35]OFD Sender: No OFD packet to send [11:45:40]OFD Sender: No OFD packet to send [11:45:45]OFD Sender: No OFD packet to send [11:45:50]OFD Sender: No OFD packet to send [11:45:55]OFD Sender: No OFD packet to send [11:46:00]OFD Sender: No OFD packet to send [11:46:05]OFD Sender: No OFD packet to send [11:46:10]OFD Sender: No OFD packet to send [11:46:15]OFD Sender: No OFD packet to send [11:46:20]OFD Sender: No OFD packet to send [11:46:25]OFD Sender: No OFD packet to send [11:46:30]OFD Sender: No OFD packet to send [11:46:35]OFD Sender: No OFD packet to send [11:46:40]OFD Sender: No OFD packet to send [11:46:45]OFD Sender: No OFD packet to send [11:46:50]OFD Sender: No OFD packet to send [11:46:55]OFD Sender: No OFD packet to send [11:47:00]OFD Sender: No OFD packet to send [11:47:05]OFD Sender: No OFD packet to send [11:47:10]OFD Sender: No OFD packet to send [11:47:15]OFD Sender: No OFD packet to send [11:47:20]OFD Sender: No OFD packet to send [11:47:25]OFD Sender: No OFD packet to send [11:47:30]OFD Sender: No OFD packet to send [11:47:35]OFD Sender: No OFD packet to send [11:47:40]OFD Sender: No OFD packet to send [11:47:45]OFD Sender: No OFD packet to send [11:47:50]OFD Sender: No OFD packet to send [11:47:55]OFD Sender: No OFD packet to send [11:48:00]OFD Sender: No OFD packet to send [11:48:05]OFD Sender: No OFD packet to send [11:48:10]OFD Sender: No OFD packet to send [11:48:15]OFD Sender: No OFD packet to send [11:48:20]OFD Sender: No OFD packet to send [11:48:25]OFD Sender: No OFD packet to send [11:48:30]OFD Sender: No OFD packet to send [11:48:35]OFD Sender: No OFD packet to send [11:48:40]OFD Sender: No OFD packet to send [11:48:45]OFD Sender: No OFD packet to send [11:48:50]OFD Sender: No OFD packet to send [11:48:55]OFD Sender: No OFD packet to send [11:49:00]OFD Sender: No OFD packet to send [11:49:05]OFD Sender: No OFD packet to send [11:49:10]OFD Sender: No OFD packet to send [11:49:15]OFD Sender: No OFD packet to send [11:49:20]OFD Sender: No OFD packet to send [11:49:25]OFD Sender: No OFD packet to send [11:49:30]OFD Sender: No OFD packet to send [11:49:35]OFD Sender: No OFD packet to send [11:49:40]OFD Sender: No OFD packet to send [11:49:41]accept exits with 9 [11:49:41]New connection [11:49:41]New thread 3067370852 created [11:49:41]Thread 3067227492 joined [11:49:41]Waiting for new connection... [11:49:41] Sock 9.Parse request [11:49:41]Sock 9.Check first char [11:49:41]Sock 9.First char is OK [11:49:41]request: POST /json_proto HTTP/1.0 [11:49:41]Method: POST [11:49:41]URL: /json_proto [11:49:41]Method is POST - this is cgi request [11:49:41]url: /json_proto [11:49:41]query_string will be loaded in cgi processing [11:49:41]execute_cgi json_proto POST (null) [11:49:41]execute_cgi path=json_proto method=POST [11:49:41]POST find Content-Length [11:49:41]Host: 172.17.56.68:8080 [11:49:41]Content-Length: 693 [11:49:41]Content-Type: application/json [11:49:41] [11:49:41]POST finish read [11:49:41]Found Content-Length = 693 [11:49:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4358", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:49:41]execute_script... [11:49: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)4358", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:49:41]POST & json_proto [11:49:41]process_json_proto [11:49:41]json parsed OK: [11:49:41]protocol is kg_v1.0 [11:49:41]action value=close_receipt [11:49:41]process_action close_receipt [11:49:41]cmd_close_receipt [11:49:41]MH_GetDate [11:49:41]Write to MH i2c: F0 00 00 24 1C 2F [11:49:41]Write i2c OK [11:49:41]MH_I2C_Read... [11:49:41]Read from MH i2c: F0 [11:49:41]MH_I2C_Read... [11:49:41]Read from MH i2c: F0 09 00 [11:49:41]MH_I2C_Read... [11:49:41]Read from MH i2c: F0 09 00 24 1C 00 5D FF 5E 66 42 69 5C 66 C5 [11:49:41]GetLastDocTimeStamp 1717501245 [11:49:41]current date 1717501789 [11:49:41]FM_GetShiftState [11:49:41]SAM_PROTO_GetShiftState [11:49:41]wFMCommunicate request_size=4 [11:49:41]MH_SAM_APDU [11:49:41]CAPDU: 80 13 01 00 [11:49:41]Write to MH i2c: E2 08 00 25 1C 80 13 01 00 00 00 00 00 BE [11:49:41]Write i2c OK [11:49:41]MH_I2C_Read... [11:49:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:49:41]Read from MH i2c: E2 [11:49:41]MH_I2C_Read... [11:49:41]Read from MH i2c: E2 0E 00 [11:49:41]MH_I2C_Read... [11:49:41]Read from MH i2c: E2 0E 00 25 1C 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 57 [11:49:41]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [11:49:41]wFMCommunicate OK [11:49:41]SAM_PROTO_GetShiftState done [11:49:41]FM_GetShiftState done [11:49:41]opened in 1717459822 [11:49:41]opened+sec_in_day 1717546222 [11:49:41]quantity*price = 1500 [11:49:41]sum+1 = 1501 [11:49:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 15.00 НСП 1% : 0.13 НДС 12% : 1.59 Наличными: 15.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 22 04.06.2024 11:49 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4105 ФПД: 154564196868103 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T114949&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4105&fm=154564196868103&tin=02508201610067®Number=0000000000145775&sum=1500 0 [11:49:42]StoreToDocumentArchive [11:49:42]shift 83 fd 4105 [11:49:42]save to /storage/0083/doc_00004105 [11:49:42]save last doc name /storage/0083/doc_00004105 to /storage/kkm_last_doc_name [11:49:42]save OK [11:49:42]Clear old archive folders... [11:49:42]ProcessDocumentItem done err = 0, tmpTLVsize=290 [11:49:42]tlvbuf is 007C5180 [11:49:42]SAM_PROTO_ClearQueue [11:49:42]wFMCommunicate request_size=4 [11:49:42]MH_SAM_APDU [11:49:42]CAPDU: 80 09 00 00 [11:49:42]Write to MH i2c: E2 08 00 32 1C 80 09 00 00 00 00 00 00 C0 [11:49:42]Write i2c OK [11:49:42]MH_I2C_Read... [11:49:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:49:42]Read from MH i2c: E2 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 03 00 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 03 00 32 1C 00 90 00 C2 [11:49:42]RAPDU: 90 00 [11:49:42]wFMCommunicate OK [11:49:42]SAM_PROTO_ClearQueue done [11:49:42]KKMCreateOFDPacket [11:49:42]OFDProtocolAddRootSTLVToBuf [11:49:42]FM_MakeSignedData [11:49:42]FM_MakeSignedData [11:49:42]SAM_PROTO_SignData [11:49:42]wFMCommunicate request_size=4 [11:49:42]MH_SAM_APDU [11:49:42]CAPDU: 80 0D 01 02 [11:49:42]Write to MH i2c: E2 08 00 33 1C 80 0D 01 02 00 00 00 00 C8 [11:49:42]Write i2c OK [11:49:42]MH_I2C_Read... [11:49:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:49:42]Read from MH i2c: E2 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 03 00 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 03 00 33 1C 00 90 00 C3 [11:49:42]RAPDU: 90 00 [11:49:42]wFMCommunicate OK [11:49:42]wFMCommunicate request_size=255 [11:49:42]MH_SAM_APDU [11:49:42]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 5D FF 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [11:49:42]Write to MH i2c: E2 02 01 34 1C 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 5D FF 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 0F [11:49:42]Write i2c OK [11:49:42]MH_I2C_Read... [11:49:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:49:42]Read from MH i2c: E2 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 03 00 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 03 00 34 1C 00 90 00 C4 [11:49:42]RAPDU: 90 00 [11:49:42]wFMCommunicate OK [11:49:42]wFMCommunicate request_size=49 [11:49:42]MH_SAM_APDU [11:49:42]CAPDU: 80 0D 02 02 2C 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 09 10 00 00 35 04 06 00 8C 93 48 0C A0 07 [11:49:42]Write to MH i2c: E2 34 00 35 1C 80 0D 02 02 2C 00 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 09 10 00 00 35 04 06 00 8C 93 48 0C A0 07 00 00 2F [11:49:42]Write i2c OK [11:49:42]MH_I2C_Read... [11:49:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:49:42]Read from MH i2c: E2 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 03 00 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 03 00 35 1C 00 90 00 C5 [11:49:42]RAPDU: 90 00 [11:49:42]wFMCommunicate OK [11:49:42]wFMCommunicate request_size=4 [11:49:42]MH_SAM_APDU [11:49:42]CAPDU: 80 0D 03 02 [11:49:42]Write to MH i2c: E2 08 00 36 1C 80 0D 03 02 00 00 00 00 CD [11:49:42]Write i2c OK [11:49:42]MH_I2C_Read... [11:49:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:49:42]Read from MH i2c: E2 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 0B 00 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 0B 00 36 1C 00 23 4E 83 84 7F A3 88 79 90 00 69 [11:49:42]RAPDU: 23 4E 83 84 7F A3 88 79 90 00 [11:49:42]wFMCommunicate OK [11:49:42]SAM_PROTO_SignData done [11:49:42]FM_MakeSignedData done [11:49:42]CreateOFDProtocolMessage [11:49:42]wFMCommunicate request_size=4 [11:49:42]MH_SAM_APDU [11:49:42]CAPDU: 80 11 00 00 [11:49:42]Write to MH i2c: E2 08 00 37 1C 80 11 00 00 00 00 00 00 CD [11:49:42]Write i2c OK [11:49:42]MH_I2C_Read... [11:49:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:49:42]Read from MH i2c: E2 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 17 00 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: E2 17 00 37 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 20 [11:49:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:49:42]wFMCommunicate OK [11:49:42]CreateOFDProtocolMessage done [11:49:42]OFDSenderStorePacket 4105 [11:49:42]StoreOFDPacket docnum=4105 [11:49:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 36 01 00 00 B2 6F 2E 01 DF 34 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 5D FF 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 09 10 00 00 35 04 06 00 8C 93 48 0C A0 07 23 4E 83 84 7F A3 88 79 [11:49:42]CheckFolder [11:49:42]dirname=/storage/ofd_packets [11:49:42]CheckFolder done [11:49:42]ProducePacketName [11:49:42]name=ofd_packets/00004105 [11:49:42]NVStorageSaveData ofd_packets/00004105 [11:49:42]File name is /storage/ofd_packets/00004105 [11:49:42]Write 340 bytes [11:49:42]NVStorageSaveData done [11:49:42]OFDSenderStorePacket done [11:49:42]KKMCreateOFDPacket done [11:49:42]NVStorageSaveData kkm_last_timestamp [11:49:42]File name is /storage/kkm_last_timestamp [11:49:42]Write 4 bytes [11:49:42]NVStorageSaveData done [11:49:42]ExternCall_PrintAddStr [11:49:42]wPrintStart [11:49:42]Write to MH i2c: 01 00 00 38 1C 54 [11:49:42]Write i2c OK [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: 01 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: 01 07 00 [11:49:42]MH_I2C_Read... [11:49:42]Read from MH i2c: 01 07 00 38 1C 00 00 00 00 00 FF 0F 69 [11:49:42]RasterBufferAndPrint [11:49:42]line Счет N : (3)4358 [11:49:42]line ИНН: 02508201610067 [11:49:42]line Контрольно-Кассовый Чек [11:49:42]line ПРОДАЖА [11:49:42]line Товар: 4700000160013 [11:49:42]line Снек Курут индивидуальный [11:49:42]line 1.000 * 15.00 [11:49:42]line = 15.00 [11:49:42]line НДС 12% НСП 1% [11:49:42]line > о реализуемом товаре [11:49:42]line ИТОГО: 15.00 [11:49:42]line НСП 1% : 0.13 [11:49:42]line НДС 12% : 1.59 [11:49:42]line Наличными: 15.00 [11:49:42]line Безнал.: 0.00 [11:49:42]line Место: АЗС № 116 "Партнер Нефть" [11:49:42]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [11:49:42]line СНО: Общий режим [11:49:42]line Чек 22 04.06.2024 11:49 [11:49:42]line Смена: 83 ФФД: 1.0 [11:49:42]line ЗНМ: 0300000233 [11:49:42]line РНМ: 0000000000145775 [11:49:42]line Версия ККМ: v1.0 [11:49:42]line ФМ: 0000000000959360 [11:49:42]line ФД: 4105 [11:49:42]line ФПД: 154564196868103 [11:49:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T114949&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4105&fm=154564196868103&tin=02508201610067®Number=0000000000145775&sum=1500 [11:49:43]line 0 [11:49:43]OFD Sender: Processing packet 4105 [packets to send 2, broken 1] [11:49:43]ProducePacketName [11:49:43]name=ofd_packets/00004105 [11:49:43]OFD Sender: To server: pG, [11:49:43]CommunicateWithHost lk.salyk.kg:30040 [11:49:43]ConnectInit lk.salyk.kg [11:49:43]written 0, free lines is 4095 [11:49:43]Connected sock=8 [11:49:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 36 01 00 00 B2 6F 2E 01 DF 34 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 5D FF 5E 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 09 10 00 00 35 04 06 00 8C 93 48 0C A0 07 23 4E 83 84 7F A3 88 79 [11:49:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 DA 34 47 00 36 9B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 09 10 00 00 F4 03 04 00 5E AB 5E 66 B6 04 01 00 00 E8 43 01 BB 0D 86 8C EE [11:49:43]CommunicateWithHost err = 0 [11:49:43]CheckOFDResponse [11:49:43]1017 (14) - 77093643461234 [11:49:43]1041 (16) - 0000000000959360 [11:49:43]1040 (4) - 4105 [11:49:43]1012 (4) - 04.06.2024 05:51 [11:49:43]1206 (1) - 0 [11:49:43]OFD Sender: Remove packet 4105 [11:49:43]ProducePacketName [11:49:43]name=ofd_packets/00004105 [11:49:43]NVStorageDeleteData [11:49:43]Write to MH i2c: 01 00 00 60 1C 7C [11:49:43]Write i2c OK [11:49:43]MH_I2C_Read... [11:49:43]Read from MH i2c: 01 [11:49:43]MH_I2C_Read... [11:49:43]Read from MH i2c: 01 07 00 [11:49:43]MH_I2C_Read... [11:49:43]Read from MH i2c: 01 07 00 60 1C 00 00 00 00 00 CC 0C 5B [11:49:43]RasterBufferAndPrint [11:49:43]line [11:49:43]line [11:49:43]line [11:49:43]line [11:49:43]line [11:49:43]written 0, free lines is 3281 [11:49:43]MH_Cut [11:49:43]Write to MH i2c: D1 01 00 67 1C 01 55 [11:49:43]Write i2c OK [11:49:43]MH_I2C_Read... [11:49:43]Read from MH i2c: D1 [11:49:43]MH_I2C_Read... [11:49:43]Read from MH i2c: D1 01 00 [11:49:43]MH_I2C_Read... [11:49:43]Read from MH i2c: D1 01 00 67 1C 00 54 [11:49:43]Write to MH i2c: 01 00 00 68 1C 84 [11:49:43]Write i2c OK [11:49:43]MH_I2C_Read... [11:49:43]OFD Sender: No OFD packet to send [11:49:44]*** Cut start [11:49:44]*** Partial cut [11:49:44]*** CUTSNS_PIN = 1 [11:49:44]*** CUTSNS_PIN = 0 [11:49:44]*** Brake cut motor [11:49:45]Read from MH i2c: 01 [11:49:45]MH_I2C_Read... [11:49:45]*** Stop cut motor [11:49:45]*** Cut end [11:49:45]Read from MH i2c: 01 07 00 [11:49:45]MH_I2C_Read... [11:49:45]Read from MH i2c: 01 07 00 68 1C 00 00 00 00 00 FF 0F 99 [11:49:45]process_action close_receipt done [11:49:45]requested_data is exist [11:49:45]produce_requested_data [11:49:45]requested_item fm.sn is exist - process it [11:49:45]wFMCommunicate request_size=4 [11:49:45]MH_SAM_APDU [11:49:45]CAPDU: 80 11 00 00 [11:49:45]Write to MH i2c: E2 08 00 69 1C 80 11 00 00 00 00 00 00 FF [11:49:45]Write i2c OK [11:49:45]MH_I2C_Read... [11:49:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:49:45]Read from MH i2c: E2 [11:49:45]MH_I2C_Read... [11:49:45]Read from MH i2c: E2 17 00 [11:49:45]MH_I2C_Read... [11:49:45]Read from MH i2c: E2 17 00 69 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 52 [11:49:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:49:45]wFMCommunicate OK [11:49:45]requested_item fd.num is exist - process it [11:49:45]SAM_PROTO_GetFieldsCounters [11:49:45]wFMCommunicate request_size=4 [11:49:45]MH_SAM_APDU [11:49:45]CAPDU: 80 13 00 00 [11:49:45]Write to MH i2c: E2 08 00 6A 1C 80 13 00 00 00 00 00 00 02 [11:49:45]Write i2c OK [11:49:45]MH_I2C_Read... [11:49:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:49:45]Read from MH i2c: E2 [11:49:45]MH_I2C_Read... [11:49:45]Read from MH i2c: E2 62 00 [11:49:45]MH_I2C_Read... [11:49:45]Read from MH i2c: E2 62 00 6A 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 09 10 00 00 0E 04 04 00 53 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 D5 [11:49:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 09 10 00 00 0E 04 04 00 53 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 [11:49:45]wFMCommunicate OK [11:49:45]SAM_PROTO_GetFieldsCounters done [11:49:45]requested_item shift.num is exist - process it [11:49:45]requested_item shift.opened is exist - process it [11:49:45]req_shift_opened [11:49:45]FM_GetShiftState [11:49:45]SAM_PROTO_GetShiftState [11:49:45]wFMCommunicate request_size=4 [11:49:45]MH_SAM_APDU [11:49:45]CAPDU: 80 13 01 00 [11:49:45]Write to MH i2c: E2 08 00 6B 1C 80 13 01 00 00 00 00 00 04 [11:49:45]Write i2c OK [11:49:45]MH_I2C_Read... [11:49:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:49:45]Read from MH i2c: E2 [11:49:45]MH_I2C_Read... [11:49:45]Read from MH i2c: E2 0E 00 [11:49:45]MH_I2C_Read... [11:49:45]Read from MH i2c: E2 0E 00 6B 1C 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 9D [11:49:45]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [11:49:45]wFMCommunicate OK [11:49:45]SAM_PROTO_GetShiftState done [11:49:45]FM_GetShiftState done [11:49:45]req_shift_opened done [11:49:45]requested_item shift.open_date is exist - process it [11:49:45]req_shift_open_date [11:49:45]req_shift_open_date done [11:49:45]produce_requested_data done [11:49:45]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4105,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [11:49:45]process_action_free close_receipt [11:49:45]json_value_free [11:49:45]json_value_free done [11:49:45]process_json_proto returns [11:49:45]Send response to host [11:49:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4105,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [11:49:45]free response buf [11:49:45]execute_script done [11:49:45]execute_script returns [11:49:45]free content buf [11:49:45]Sock 9.Close socket [11:49:45]Sock 9.Thread stoped [11:49:48]OFD Sender: No OFD packet to send [11:49:53]OFD Sender: No OFD packet to send [11:49:58]OFD Sender: No OFD packet to send [11:50:03]OFD Sender: No OFD packet to send [11:50:09]OFD Sender: No OFD packet to send [11:50:14]OFD Sender: No OFD packet to send [11:50:19]OFD Sender: No OFD packet to send [11:50:24]OFD Sender: No OFD packet to send [11:50:29]OFD Sender: No OFD packet to send [11:50:34]OFD Sender: No OFD packet to send [11:50:39]OFD Sender: No OFD packet to send [11:50:44]OFD Sender: No OFD packet to send [11:50:49]OFD Sender: No OFD packet to send [11:50:54]OFD Sender: No OFD packet to send [11:50:59]OFD Sender: No OFD packet to send [11:51:04]OFD Sender: No OFD packet to send [11:51:09]OFD Sender: No OFD packet to send [11:51:14]OFD Sender: No OFD packet to send [11:51:19]OFD Sender: No OFD packet to send [11:51:24]OFD Sender: No OFD packet to send [11:51:29]OFD Sender: No OFD packet to send [11:51:34]OFD Sender: No OFD packet to send [11:51:39]OFD Sender: No OFD packet to send [11:51:44]OFD Sender: No OFD packet to send [11:51:49]OFD Sender: No OFD packet to send [11:51:54]OFD Sender: No OFD packet to send [11:51:59]OFD Sender: No OFD packet to send [11:52:04]OFD Sender: No OFD packet to send [11:52:09]OFD Sender: No OFD packet to send [11:52:14]OFD Sender: No OFD packet to send [11:52:19]OFD Sender: No OFD packet to send [11:52:24]OFD Sender: No OFD packet to send [11:52:29]OFD Sender: No OFD packet to send [11:52:34]OFD Sender: No OFD packet to send [11:52:39]OFD Sender: No OFD packet to send [11:52:44]OFD Sender: No OFD packet to send [11:52:49]OFD Sender: No OFD packet to send [11:52:54]OFD Sender: No OFD packet to send [11:52:59]OFD Sender: No OFD packet to send [11:53:04]OFD Sender: No OFD packet to send [11:53:09]OFD Sender: No OFD packet to send [11:53:14]OFD Sender: No OFD packet to send [11:53:19]OFD Sender: No OFD packet to send [11:53:24]OFD Sender: No OFD packet to send [11:53:29]OFD Sender: No OFD packet to send [11:53:34]OFD Sender: No OFD packet to send [11:53:39]OFD Sender: No OFD packet to send [11:53:44]OFD Sender: No OFD packet to send [11:53:49]OFD Sender: No OFD packet to send [11:53:54]OFD Sender: No OFD packet to send [11:53:59]OFD Sender: No OFD packet to send [11:54:04]OFD Sender: No OFD packet to send [11:54:09]OFD Sender: No OFD packet to send [11:54:14]OFD Sender: No OFD packet to send [11:54:19]OFD Sender: No OFD packet to send [11:54:24]OFD Sender: No OFD packet to send [11:54:29]OFD Sender: No OFD packet to send [11:54:34]OFD Sender: No OFD packet to send [11:54:39]OFD Sender: No OFD packet to send [11:54:44]OFD Sender: No OFD packet to send [11:54:49]OFD Sender: No OFD packet to send [11:54:54]OFD Sender: No OFD packet to send [11:54:59]OFD Sender: No OFD packet to send [11:55:04]OFD Sender: No OFD packet to send [11:55:09]OFD Sender: No OFD packet to send [11:55:14]OFD Sender: No OFD packet to send [11:55:19]OFD Sender: No OFD packet to send [11:55:24]OFD Sender: No OFD packet to send [11:55:29]OFD Sender: No OFD packet to send [11:55:34]OFD Sender: No OFD packet to send [11:55:39]OFD Sender: No OFD packet to send [11:55:44]OFD Sender: No OFD packet to send [11:55:49]OFD Sender: No OFD packet to send [11:55:54]OFD Sender: No OFD packet to send [11:55:59]OFD Sender: No OFD packet to send [11:56:04]OFD Sender: No OFD packet to send [11:56:09]OFD Sender: No OFD packet to send [11:56:14]OFD Sender: No OFD packet to send [11:56:19]OFD Sender: No OFD packet to send [11:56:24]OFD Sender: No OFD packet to send [11:56:29]OFD Sender: No OFD packet to send [11:56:34]OFD Sender: No OFD packet to send [11:56:39]OFD Sender: No OFD packet to send [11:56:44]OFD Sender: No OFD packet to send [11:56:49]OFD Sender: No OFD packet to send [11:56:54]OFD Sender: No OFD packet to send [11:56:59]OFD Sender: No OFD packet to send [11:57:03]accept exits with 10 [11:57:03]New connection [11:57:03]New thread 3067227492 created [11:57:03]Thread 3067370852 joined [11:57:03]Waiting for new connection... [11:57:03] Sock 10.Parse request [11:57:03]Sock 10.Check first char [11:57:03]Sock 10.First char is OK [11:57:03]request: POST /json_proto HTTP/1.0 [11:57:03]Method: POST [11:57:03]URL: /json_proto [11:57:03]Method is POST - this is cgi request [11:57:03]url: /json_proto [11:57:03]query_string will be loaded in cgi processing [11:57:03]execute_cgi json_proto POST (null) [11:57:03]execute_cgi path=json_proto method=POST [11:57:03]POST find Content-Length [11:57:03]Host: 172.17.56.68:8080 [11:57:03]Content-Length: 1413 [11:57:03]Content-Type: application/json [11:57:03] [11:57:03]POST finish read [11:57:03]Found Content-Length = 1413 [11:57:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4360", "tax_sys" : 0, "items" : [ { "code": "5000159381178", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 \u0422\u0440\u0438\u043E 82,5\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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": "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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 279.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:57:03]execute_script... [11:57:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4360", "tax_sys" : 0, "items" : [ { "code": "5000159381178", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 \u0422\u0440\u0438\u043E 82,5\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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": "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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 279.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:57:03]POST & json_proto [11:57:03]process_json_proto [11:57:03]json parsed OK: [11:57:03]protocol is kg_v1.0 [11:57:03]action value=close_receipt [11:57:03]process_action close_receipt [11:57:03]cmd_close_receipt [11:57:03]MH_GetDate [11:57:03]Write to MH i2c: F0 00 00 6C 1C 77 [11:57:03]Write i2c OK [11:57:03]MH_I2C_Read... [11:57:03]Read from MH i2c: F0 [11:57:03]MH_I2C_Read... [11:57:03]Read from MH i2c: F0 09 00 [11:57:03]MH_I2C_Read... [11:57:03]Read from MH i2c: F0 09 00 6C 1C 00 18 01 5F 66 42 69 5C 66 CB [11:57:03]GetLastDocTimeStamp 1717501789 [11:57:03]current date 1717502232 [11:57:03]FM_GetShiftState [11:57:03]SAM_PROTO_GetShiftState [11:57:03]wFMCommunicate request_size=4 [11:57:03]MH_SAM_APDU [11:57:03]CAPDU: 80 13 01 00 [11:57:03]Write to MH i2c: E2 08 00 6D 1C 80 13 01 00 00 00 00 00 06 [11:57:03]Write i2c OK [11:57:03]MH_I2C_Read... [11:57:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:57:03]Read from MH i2c: E2 [11:57:03]MH_I2C_Read... [11:57:03]Read from MH i2c: E2 0E 00 [11:57:03]MH_I2C_Read... [11:57:03]Read from MH i2c: E2 0E 00 6D 1C 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 9F [11:57:03]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [11:57:03]wFMCommunicate OK [11:57:03]SAM_PROTO_GetShiftState done [11:57:03]FM_GetShiftState done [11:57:03]opened in 1717459822 [11:57:03]opened+sec_in_day 1717546222 [11:57:03]quantity*price = 8900 [11:57:03]sum+1 = 8901 [11:57:03]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% > о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 279.00 НСП 1% : 2.47 НДС 12% : 29.63 Наличными: 0.00 Безнал.: 279.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 23 04.06.2024 11:57 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4106 ФПД: 111547708027214 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T115712&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4106&fm=111547708027214&tin=02508201610067®Number=0000000000145775&sum=27900 0 [11:57:04]StoreToDocumentArchive [11:57:04]shift 83 fd 4106 [11:57:04]save to /storage/0083/doc_00004106 [11:57:04]save last doc name /storage/0083/doc_00004106 to /storage/kkm_last_doc_name [11:57:04]save OK [11:57:04]Clear old archive folders... [11:57:04]ProcessDocumentItem done err = 0, tmpTLVsize=543 [11:57:04]tlvbuf is B6FBB400 [11:57:04]SAM_PROTO_ClearQueue [11:57:04]wFMCommunicate request_size=4 [11:57:04]MH_SAM_APDU [11:57:04]CAPDU: 80 09 00 00 [11:57:04]Write to MH i2c: E2 08 00 7A 1C 80 09 00 00 00 00 00 00 08 [11:57:04]Write i2c OK [11:57:04]MH_I2C_Read... [11:57:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:57:04]Read from MH i2c: E2 [11:57:04]MH_I2C_Read... [11:57:04]Read from MH i2c: E2 03 00 [11:57:04]MH_I2C_Read... [11:57:04]Read from MH i2c: E2 03 00 7A 1C 00 90 00 0A [11:57:04]RAPDU: 90 00 [11:57:04]wFMCommunicate OK [11:57:04]SAM_PROTO_ClearQueue done [11:57:04]KKMCreateOFDPacket [11:57:04]OFDProtocolAddRootSTLVToBuf [11:57:04]FM_MakeSignedData [11:57:04]FM_MakeSignedData [11:57:04]SAM_PROTO_SignData [11:57:04]wFMCommunicate request_size=4 [11:57:04]MH_SAM_APDU [11:57:04]CAPDU: 80 0D 01 02 [11:57:04]Write to MH i2c: E2 08 00 7B 1C 80 0D 01 02 00 00 00 00 10 [11:57:04]Write i2c OK [11:57:04]MH_I2C_Read... [11:57:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:57:05]Read from MH i2c: E2 [11:57:05]MH_I2C_Read... [11:57:05]Read from MH i2c: E2 03 00 [11:57:05]MH_I2C_Read... [11:57:05]Read from MH i2c: E2 03 00 7B 1C 00 90 00 0B [11:57:05]RAPDU: 90 00 [11:57:05]wFMCommunicate OK [11:57:05]wFMCommunicate request_size=255 [11:57:05]MH_SAM_APDU [11:57:05]CAPDU: 80 0D 02 02 FA 03 00 1F 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 [11:57:05]Write to MH i2c: E2 02 01 7C 1C 80 0D 02 02 FA 00 03 00 1F 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 00 25 [11:57:05]Write i2c OK [11:57:05]MH_I2C_Read... [11:57:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:57:05]Read from MH i2c: E2 [11:57:05]MH_I2C_Read... [11:57:05]Read from MH i2c: E2 03 00 [11:57:05]MH_I2C_Read... [11:57:05]Read from MH i2c: E2 03 00 7C 1C 00 90 00 0C [11:57:05]RAPDU: 90 00 [11:57:05]wFMCommunicate OK [11:57:05]wFMCommunicate request_size=255 [11:57:05]MH_SAM_APDU [11:57:05]CAPDU: 80 0D 02 02 FA 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 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 93 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 6C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 18 01 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [11:57:05]Write to MH i2c: E2 02 01 7D 1C 80 0D 02 02 FA 00 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 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 93 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 6C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 18 01 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 0E [11:57:05]Write i2c OK [11:57:05]MH_I2C_Read... [11:57:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:57:05]Read from MH i2c: E2 [11:57:05]MH_I2C_Read... [11:57:05]Read from MH i2c: E2 03 00 [11:57:05]MH_I2C_Read... [11:57:05]Read from MH i2c: E2 03 00 7D 1C 00 90 00 0D [11:57:05]RAPDU: 90 00 [11:57:05]wFMCommunicate OK [11:57:05]wFMCommunicate request_size=52 [11:57:05]MH_SAM_APDU [11:57:05]CAPDU: 80 0D 02 02 2F 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0A 10 00 00 35 04 06 00 65 73 B9 83 31 4E [11:57:05]Write to MH i2c: E2 37 00 7E 1C 80 0D 02 02 2F 00 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0A 10 00 00 35 04 06 00 65 73 B9 83 31 4E 00 00 88 [11:57:05]Write i2c OK [11:57:05]MH_I2C_Read... [11:57:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:57:05]Read from MH i2c: E2 [11:57:05]MH_I2C_Read... [11:57:05]Read from MH i2c: E2 03 00 [11:57:05]MH_I2C_Read... [11:57:05]Read from MH i2c: E2 03 00 7E 1C 00 90 00 0E [11:57:05]RAPDU: 90 00 [11:57:05]wFMCommunicate OK [11:57:05]wFMCommunicate request_size=4 [11:57:05]MH_SAM_APDU [11:57:05]CAPDU: 80 0D 03 02 [11:57:05]Write to MH i2c: E2 08 00 7F 1C 80 0D 03 02 00 00 00 00 16 [11:57:05]Write i2c OK [11:57:05]MH_I2C_Read... [11:57:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:57:05]Read from MH i2c: E2 [11:57:05]MH_I2C_Read... [11:57:05]Read from MH i2c: E2 0B 00 [11:57:05]MH_I2C_Read... [11:57:05]Read from MH i2c: E2 0B 00 7F 1C 00 80 05 C6 BF 60 BB 4C 75 90 00 FD [11:57:05]RAPDU: 80 05 C6 BF 60 BB 4C 75 90 00 [11:57:05]wFMCommunicate OK [11:57:05]SAM_PROTO_SignData done [11:57:05]FM_MakeSignedData done [11:57:05]CreateOFDProtocolMessage [11:57:05]wFMCommunicate request_size=4 [11:57:05]MH_SAM_APDU [11:57:05]CAPDU: 80 11 00 00 [11:57:05]Write to MH i2c: E2 08 00 80 1C 80 11 00 00 00 00 00 00 16 [11:57:05]Write i2c OK [11:57:05]MH_I2C_Read... [11:57:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:57:05]Read from MH i2c: E2 [11:57:05]MH_I2C_Read... [11:57:05]Read from MH i2c: E2 17 00 [11:57:05]MH_I2C_Read... [11:57:05]Read from MH i2c: E2 17 00 80 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 69 [11:57:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:57:05]wFMCommunicate OK [11:57:05]CreateOFDProtocolMessage done [11:57:05]OFDSenderStorePacket 4106 [11:57:05]StoreOFDPacket docnum=4106 [11:57:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 33 02 00 00 7E E2 2B 02 8D 04 5A 03 01 00 03 00 1F 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 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 93 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 6C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 18 01 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0A 10 00 00 35 04 06 00 65 73 B9 83 31 4E 80 05 C6 BF 60 BB 4C 75 [11:57:05]CheckFolder [11:57:05]dirname=/storage/ofd_packets [11:57:05]CheckFolder done [11:57:05]ProducePacketName [11:57:05]name=ofd_packets/00004106 [11:57:05]NVStorageSaveData ofd_packets/00004106 [11:57:05]File name is /storage/ofd_packets/00004106 [11:57:05]Write 593 bytes [11:57:05]NVStorageSaveData done [11:57:05]OFDSenderStorePacket done [11:57:05]KKMCreateOFDPacket done [11:57:05]NVStorageSaveData kkm_last_timestamp [11:57:05]File name is /storage/kkm_last_timestamp [11:57:05]Write 4 bytes [11:57:05]NVStorageSaveData done [11:57:05]ExternCall_PrintAddStr [11:57:05]wPrintStart [11:57:05]Write to MH i2c: 01 00 00 81 1C 9D [11:57:05]Write i2c OK [11:57:05]MH_I2C_Read... [11:57:05]Read from MH i2c: 01 [11:57:05]MH_I2C_Read... [11:57:05]Read from MH i2c: 01 07 00 [11:57:05]MH_I2C_Read... [11:57:05]Read from MH i2c: 01 07 00 81 1C 00 00 00 00 00 FF 0F B2 [11:57:05]RasterBufferAndPrint [11:57:05]line Счет N : (3)4360 [11:57:05]line ИНН: 02508201610067 [11:57:05]line Контрольно-Кассовый Чек [11:57:05]line ПРОДАЖА [11:57:05]line Товар: 5000159381178 [11:57:05]line Шок Батончик Баунти Трио 82,5г [11:57:05]line 1.000 * 89.00 [11:57:05]line = 89.00 [11:57:05]line НДС 12% НСП 1% [11:57:05]line > о реализуемом товаре [11:57:05]line Товар: 4631150682851 [11:57:05]line Нап En Dragon Mojito лайм,клуб ж/б 0,45л [11:57:06]line 1.000 * 95.00 [11:57:06]line = 95.00 [11:57:06]line НДС 12% НСП 1% [11:57:06]line > о реализуемом товаре [11:57:06]line Товар: 4700000480050 [11:57:06]line Напиток Nitro Energy эн green ж/б 0,45л [11:57:06]line 1.000 * 95.00 [11:57:06]line = 95.00 [11:57:06]line НДС 12% НСП 1% [11:57:06]line > о реализуемом товаре [11:57:06]line ИТОГО: 279.00 [11:57:06]line НСП 1% : 2.47 [11:57:06]line НДС 12% : 29.63 [11:57:06]line Наличными: 0.00 [11:57:06]line Безнал.: 279.00 [11:57:06]line Место: АЗС № 116 "Партнер Нефть" [11:57:06]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [11:57:06]line СНО: Общий режим [11:57:06]line Чек 23 04.06.2024 11:57 [11:57:06]line Смена: 83 ФФД: 1.0 [11:57:06]line ЗНМ: 0300000233 [11:57:06]line РНМ: 0000000000145775 [11:57:06]line Версия ККМ: v1.0 [11:57:06]line Платежная система: О! деньги [11:57:06]line ФМ: 0000000000959360 [11:57:06]line ФД: 4106 [11:57:06]line ФПД: 111547708027214 [11:57:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T115712&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4106&fm=111547708027214&tin=02508201610067®Number=0000000000145775&sum=27900 [11:57:06]line 0 [11:57:06]OFD Sender: Processing packet 4106 [packets to send 2, broken 1] [11:57:06]ProducePacketName [11:57:06]name=ofd_packets/00004106 [11:57:06]OFD Sender: To server: pG, [11:57:06]CommunicateWithHost lk.salyk.kg:30040 [11:57:06]ConnectInit lk.salyk.kg [11:57:06]written 0, free lines is 4095 [11:57:06]Connected sock=9 [11:57:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 33 02 00 00 7E E2 2B 02 8D 04 5A 03 01 00 03 00 1F 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 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 93 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 6C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 18 01 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0A 10 00 00 35 04 06 00 65 73 B9 83 31 4E 80 05 C6 BF 60 BB 4C 75 [11:57:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 C1 AD 47 00 5B 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0A 10 00 00 F4 03 04 00 19 AD 5E 66 B6 04 01 00 00 62 96 AC BB 36 24 8A DE [11:57:06]CommunicateWithHost err = 0 [11:57:06]CheckOFDResponse [11:57:06]1017 (14) - 77093643461234 [11:57:06]1041 (16) - 0000000000959360 [11:57:06]1040 (4) - 4106 [11:57:06]1012 (4) - 04.06.2024 05:58 [11:57:06]1206 (1) - 0 [11:57:06]OFD Sender: Remove packet 4106 [11:57:06]ProducePacketName [11:57:06]name=ofd_packets/00004106 [11:57:06]NVStorageDeleteData [11:57:06]Write to MH i2c: 01 00 00 BA 1C D6 [11:57:06]Write i2c OK [11:57:06]MH_I2C_Read... [11:57:06]Read from MH i2c: 01 [11:57:06]MH_I2C_Read... [11:57:06]Read from MH i2c: 01 07 00 [11:57:06]MH_I2C_Read... [11:57:06]Read from MH i2c: 01 07 00 BA 1C 00 00 00 00 00 A9 0B 91 [11:57:06]RasterBufferAndPrint [11:57:06]line [11:57:06]line [11:57:06]line [11:57:06]line [11:57:06]line [11:57:06]written 0, free lines is 2992 [11:57:06]MH_Cut [11:57:06]Write to MH i2c: D1 01 00 C1 1C 01 AF [11:57:06]Write i2c OK [11:57:06]MH_I2C_Read... [11:57:06]Read from MH i2c: D1 [11:57:06]MH_I2C_Read... [11:57:06]Read from MH i2c: D1 01 00 [11:57:06]MH_I2C_Read... [11:57:06]Read from MH i2c: D1 01 00 C1 1C 00 AE [11:57:06]Write to MH i2c: 01 00 00 C2 1C DE [11:57:06]Write i2c OK [11:57:06]MH_I2C_Read... [11:57:06]OFD Sender: No OFD packet to send [11:57:07]*** Cut start [11:57:07]*** Partial cut [11:57:07]*** CUTSNS_PIN = 1 [11:57:07]*** CUTSNS_PIN = 0 [11:57:08]*** Brake cut motor [11:57:08]Read from MH i2c: 01 [11:57:08]MH_I2C_Read... [11:57:08]*** Stop cut motor [11:57:08]*** Cut end [11:57:08]Read from MH i2c: 01 07 00 [11:57:08]MH_I2C_Read... [11:57:08]Read from MH i2c: 01 07 00 C2 1C 00 00 00 00 00 FF 0F F3 [11:57:08]process_action close_receipt done [11:57:08]requested_data is exist [11:57:08]produce_requested_data [11:57:08]requested_item fm.sn is exist - process it [11:57:08]wFMCommunicate request_size=4 [11:57:08]MH_SAM_APDU [11:57:08]CAPDU: 80 11 00 00 [11:57:08]Write to MH i2c: E2 08 00 C3 1C 80 11 00 00 00 00 00 00 59 [11:57:08]Write i2c OK [11:57:08]MH_I2C_Read... [11:57:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:57:08]Read from MH i2c: E2 [11:57:08]MH_I2C_Read... [11:57:08]Read from MH i2c: E2 17 00 [11:57:08]MH_I2C_Read... [11:57:08]Read from MH i2c: E2 17 00 C3 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 AC [11:57:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:57:08]wFMCommunicate OK [11:57:08]requested_item fd.num is exist - process it [11:57:08]SAM_PROTO_GetFieldsCounters [11:57:08]wFMCommunicate request_size=4 [11:57:08]MH_SAM_APDU [11:57:08]CAPDU: 80 13 00 00 [11:57:08]Write to MH i2c: E2 08 00 C4 1C 80 13 00 00 00 00 00 00 5C [11:57:08]Write i2c OK [11:57:08]MH_I2C_Read... [11:57:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:57:08]Read from MH i2c: E2 [11:57:08]MH_I2C_Read... [11:57:08]Read from MH i2c: E2 62 00 [11:57:08]MH_I2C_Read... [11:57:08]Read from MH i2c: E2 62 00 C4 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 0A 10 00 00 0E 04 04 00 53 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 33 [11:57:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 0A 10 00 00 0E 04 04 00 53 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:57:08]wFMCommunicate OK [11:57:08]SAM_PROTO_GetFieldsCounters done [11:57:08]requested_item shift.num is exist - process it [11:57:08]requested_item shift.opened is exist - process it [11:57:08]req_shift_opened [11:57:08]FM_GetShiftState [11:57:08]SAM_PROTO_GetShiftState [11:57:08]wFMCommunicate request_size=4 [11:57:08]MH_SAM_APDU [11:57:08]CAPDU: 80 13 01 00 [11:57:08]Write to MH i2c: E2 08 00 C5 1C 80 13 01 00 00 00 00 00 5E [11:57:08]Write i2c OK [11:57:08]MH_I2C_Read... [11:57:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:57:08]Read from MH i2c: E2 [11:57:08]MH_I2C_Read... [11:57:08]Read from MH i2c: E2 0E 00 [11:57:08]MH_I2C_Read... [11:57:08]Read from MH i2c: E2 0E 00 C5 1C 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 F7 [11:57:08]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [11:57:08]wFMCommunicate OK [11:57:08]SAM_PROTO_GetShiftState done [11:57:08]FM_GetShiftState done [11:57:08]req_shift_opened done [11:57:08]requested_item shift.open_date is exist - process it [11:57:08]req_shift_open_date [11:57:08]req_shift_open_date done [11:57:08]produce_requested_data done [11:57:08]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4106,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [11:57:08]process_action_free close_receipt [11:57:08]json_value_free [11:57:08]json_value_free done [11:57:08]process_json_proto returns [11:57:08]Send response to host [11:57:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4106,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [11:57:08]free response buf [11:57:08]execute_script done [11:57:08]execute_script returns [11:57:08]free content buf [11:57:08]Sock 10.Close socket [11:57:08]Sock 10.Thread stoped [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:27]OFD Sender: No OFD packet to send [11:57:32]OFD Sender: No OFD packet to send [11:57:37]OFD Sender: No OFD packet to send [11:57:42]OFD Sender: No OFD packet to send [11:57:47]OFD Sender: No OFD packet to send [11:57:52]OFD Sender: No OFD packet to send [11:57:57]OFD Sender: No OFD packet to send [11:58:02]OFD Sender: No OFD packet to send [11:58:07]OFD Sender: No OFD packet to send [11:58:12]OFD Sender: No OFD packet to send [11:58:17]OFD Sender: No OFD packet to send [11:58:22]OFD Sender: No OFD packet to send [11:58:27]OFD Sender: No OFD packet to send [11:58:32]OFD Sender: No OFD packet to send [11:58:37]OFD Sender: No OFD packet to send [11:58:42]OFD Sender: No OFD packet to send [11:58:47]OFD Sender: No OFD packet to send [11:58:52]OFD Sender: No OFD packet to send [11:58:57]OFD Sender: No OFD packet to send [11:59:02]OFD Sender: No OFD packet to send [11:59:07]OFD Sender: No OFD packet to send [11:59:12]OFD Sender: No OFD packet to send [11:59:17]OFD Sender: No OFD packet to send [11:59:22]OFD Sender: No OFD packet to send [11:59:27]OFD Sender: No OFD packet to send [11:59:32]OFD Sender: No OFD packet to send [11:59:37]OFD Sender: No OFD packet to send [11:59:42]OFD Sender: No OFD packet to send [11:59:47]OFD Sender: No OFD packet to send [11:59:52]OFD Sender: No OFD packet to send [11:59:57]OFD Sender: No OFD packet to send [12:00:02]OFD Sender: No OFD packet to send [12:00:07]OFD Sender: No OFD packet to send [12:00:12]OFD Sender: No OFD packet to send [12:00:17]OFD Sender: No OFD packet to send [12:00:22]OFD Sender: No OFD packet to send [12:00:27]OFD Sender: No OFD packet to send [12:00:32]OFD Sender: No OFD packet to send [12:00:37]OFD Sender: No OFD packet to send [12:00:42]OFD Sender: No OFD packet to send [12:00:47]OFD Sender: No OFD packet to send [12:00:52]OFD Sender: No OFD packet to send [12:00:57]OFD Sender: No OFD packet to send [12:01:02]OFD Sender: No OFD packet to send [12:01:07]OFD Sender: No OFD packet to send [12:01:12]OFD Sender: No OFD packet to send [12:01:17]OFD Sender: No OFD packet to send [12:01:22]OFD Sender: No OFD packet to send [12:01:27]OFD Sender: No OFD packet to send [12:01:32]OFD Sender: No OFD packet to send [12:01:37]OFD Sender: No OFD packet to send [12:01:42]OFD Sender: No OFD packet to send [12:01:43]accept exits with 8 [12:01:43]New connection [12:01:43]New thread 3067370852 created [12:01:43]Thread 3067227492 joined [12:01:43]Waiting for new connection... [12:01:43] Sock 8.Parse request [12:01:43]Sock 8.Check first char [12:01:43]Sock 8.First char is OK [12:01:43]request: POST /json_proto HTTP/1.0 [12:01:43]Method: POST [12:01:43]URL: /json_proto [12:01:43]Method is POST - this is cgi request [12:01:43]url: /json_proto [12:01:43]query_string will be loaded in cgi processing [12:01:43]execute_cgi json_proto POST (null) [12:01:43]execute_cgi path=json_proto method=POST [12:01:43]POST find Content-Length [12:01:43]Host: 172.17.56.68:8080 [12:01:43]Content-Length: 1459 [12:01:43]Content-Type: application/json [12:01:43] [12:01:43]POST finish read [12:01:43]Found Content-Length = 1459 [12:01:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4361", "tax_sys" : 0, "items" : [ { "code": "4620016307540", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut Nat FITOGUARD \u0430\u043B\u043E\u044D 20 \u0448", "price" : 65.00, "quantity" : 1.000, "sum" : 65.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": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\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": "4870112002782", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 Ulker Biskrem \u043A\u0430\u043A\u0430\u043E-\u043A\u0440\u0435\u043C 180\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 410.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:01:43]execute_script... [12:01: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)4361", "tax_sys" : 0, "items" : [ { "code": "4620016307540", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut Nat FITOGUARD \u0430\u043B\u043E\u044D 20 \u0448", "price" : 65.00, "quantity" : 1.000, "sum" : 65.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": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\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": "4870112002782", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 Ulker Biskrem \u043A\u0430\u043A\u0430\u043E-\u043A\u0440\u0435\u043C 180\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 410.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:01:43]POST & json_proto [12:01:43]process_json_proto [12:01:43]json parsed OK: [12:01:43]protocol is kg_v1.0 [12:01:43]action value=close_receipt [12:01:43]process_action close_receipt [12:01:43]cmd_close_receipt [12:01:43]MH_GetDate [12:01:43]Write to MH i2c: F0 00 00 C6 1C D1 [12:01:43]Write i2c OK [12:01:43]MH_I2C_Read... [12:01:43]Read from MH i2c: F0 [12:01:43]MH_I2C_Read... [12:01:43]Read from MH i2c: F0 09 00 [12:01:43]MH_I2C_Read... [12:01:43]Read from MH i2c: F0 09 00 C6 1C 00 30 02 5F 66 42 69 5C 66 3E [12:01:43]GetLastDocTimeStamp 1717502232 [12:01:43]current date 1717502512 [12:01:43]FM_GetShiftState [12:01:43]SAM_PROTO_GetShiftState [12:01:43]wFMCommunicate request_size=4 [12:01:43]MH_SAM_APDU [12:01:43]CAPDU: 80 13 01 00 [12:01:43]Write to MH i2c: E2 08 00 C7 1C 80 13 01 00 00 00 00 00 60 [12:01:43]Write i2c OK [12:01:43]MH_I2C_Read... [12:01:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:01:43]Read from MH i2c: E2 [12:01:43]MH_I2C_Read... [12:01:43]Read from MH i2c: E2 0E 00 [12:01:43]MH_I2C_Read... [12:01:43]Read from MH i2c: E2 0E 00 C7 1C 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 F9 [12:01:43]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [12:01:43]wFMCommunicate OK [12:01:43]SAM_PROTO_GetShiftState done [12:01:43]FM_GetShiftState done [12:01:43]opened in 1717459822 [12:01:43]opened+sec_in_day 1717546222 [12:01:43]quantity*price = 6500 [12:01:43]sum+1 = 6501 [12:01:43]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% > о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870112002782 Печенье Ulker Biskrem какао-крем 180г 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 410.00 НСП 1% : 3.63 НДС 12% : 43.53 Наличными: 410.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 24 04.06.2024 12:01 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4107 ФПД: 181049059429289 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T120152&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4107&fm=181049059429289&tin=02508201610067®Number=0000000000145775&sum=41000 0 [12:01:45]StoreToDocumentArchive [12:01:45]shift 83 fd 4107 [12:01:45]save to /storage/0083/doc_00004107 [12:01:45]save last doc name /storage/0083/doc_00004107 to /storage/kkm_last_doc_name [12:01:45]save OK [12:01:45]Clear old archive folders... [12:01:45]ProcessDocumentItem done err = 0, tmpTLVsize=639 [12:01:45]tlvbuf is 007B9AA0 [12:01:45]SAM_PROTO_ClearQueue [12:01:45]wFMCommunicate request_size=4 [12:01:45]MH_SAM_APDU [12:01:45]CAPDU: 80 09 00 00 [12:01:45]Write to MH i2c: E2 08 00 D4 1C 80 09 00 00 00 00 00 00 62 [12:01:45]Write i2c OK [12:01:45]MH_I2C_Read... [12:01:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:01:45]Read from MH i2c: E2 [12:01:45]MH_I2C_Read... [12:01:45]Read from MH i2c: E2 03 00 [12:01:45]MH_I2C_Read... [12:01:45]Read from MH i2c: E2 03 00 D4 1C 00 90 00 64 [12:01:45]RAPDU: 90 00 [12:01:45]wFMCommunicate OK [12:01:45]SAM_PROTO_ClearQueue done [12:01:45]KKMCreateOFDPacket [12:01:45]OFDProtocolAddRootSTLVToBuf [12:01:45]FM_MakeSignedData [12:01:45]FM_MakeSignedData [12:01:45]SAM_PROTO_SignData [12:01:45]wFMCommunicate request_size=4 [12:01:45]MH_SAM_APDU [12:01:45]CAPDU: 80 0D 01 02 [12:01:45]Write to MH i2c: E2 08 00 D5 1C 80 0D 01 02 00 00 00 00 6A [12:01:45]Write i2c OK [12:01:45]MH_I2C_Read... [12:01:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:01:45]Read from MH i2c: E2 [12:01:45]MH_I2C_Read... [12:01:45]Read from MH i2c: E2 03 00 [12:01:45]MH_I2C_Read... [12:01:45]Read from MH i2c: E2 03 00 D5 1C 00 90 00 65 [12:01:45]RAPDU: 90 00 [12:01:45]wFMCommunicate OK [12:01:45]wFMCommunicate request_size=255 [12:01:45]MH_SAM_APDU [12:01:45]CAPDU: 80 0D 02 02 FA 03 00 7F 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 6C 00 8A 04 0D 00 32 30 [12:01:45]Write to MH i2c: E2 02 01 D6 1C 80 0D 02 02 FA 00 03 00 7F 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 6C 00 8A 04 0D 00 32 30 00 00 09 [12:01:45]Write i2c OK [12:01:45]MH_I2C_Read... [12:01:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:01:45]Read from MH i2c: E2 [12:01:45]MH_I2C_Read... [12:01:45]Read from MH i2c: E2 03 00 [12:01:45]MH_I2C_Read... [12:01:45]Read from MH i2c: E2 03 00 D6 1C 00 90 00 66 [12:01:45]RAPDU: 90 00 [12:01:45]wFMCommunicate OK [12:01:45]wFMCommunicate request_size=255 [12:01:45]MH_SAM_APDU [12:01:45]CAPDU: 80 0D 02 02 FA 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 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 7A 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 38 32 06 04 36 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 55 6C 6B 65 72 20 42 69 73 6B 72 65 6D 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 2D D0 BA D1 80 D0 B5 D0 BC 20 31 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 A0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 [12:01:45]Write to MH i2c: E2 02 01 D7 1C 80 0D 02 02 FA 00 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 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 7A 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 38 32 06 04 36 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 55 6C 6B 65 72 20 42 69 73 6B 72 65 6D 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 2D D0 BA D1 80 D0 B5 D0 BC 20 31 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 A0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 00 2A [12:01:45]Write i2c OK [12:01:45]MH_I2C_Read... [12:01:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:01:45]Read from MH i2c: E2 [12:01:45]MH_I2C_Read... [12:01:45]Read from MH i2c: E2 03 00 [12:01:45]MH_I2C_Read... [12:01:45]Read from MH i2c: E2 03 00 D7 1C 00 90 00 67 [12:01:45]RAPDU: 90 00 [12:01:45]wFMCommunicate OK [12:01:45]wFMCommunicate request_size=148 [12:01:45]MH_SAM_APDU [12:01:45]CAPDU: 80 0D 02 02 8F 01 F7 03 06 00 6B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 01 11 00 00 00 00 07 04 06 00 28 A0 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 30 02 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0B 10 00 00 35 04 06 00 A4 A9 C4 DF CB A9 [12:01:45]Write to MH i2c: E2 97 00 D8 1C 80 0D 02 02 8F 00 01 F7 03 06 00 6B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 01 11 00 00 00 00 07 04 06 00 28 A0 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 30 02 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0B 10 00 00 35 04 06 00 A4 A9 C4 DF CB A9 00 00 E5 [12:01:45]Write i2c OK [12:01:45]MH_I2C_Read... [12:01:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:01:45]Read from MH i2c: E2 [12:01:45]MH_I2C_Read... [12:01:45]Read from MH i2c: E2 03 00 [12:01:45]MH_I2C_Read... [12:01:45]Read from MH i2c: E2 03 00 D8 1C 00 90 00 68 [12:01:45]RAPDU: 90 00 [12:01:45]wFMCommunicate OK [12:01:45]wFMCommunicate request_size=4 [12:01:45]MH_SAM_APDU [12:01:45]CAPDU: 80 0D 03 02 [12:01:45]Write to MH i2c: E2 08 00 D9 1C 80 0D 03 02 00 00 00 00 70 [12:01:45]Write i2c OK [12:01:45]MH_I2C_Read... [12:01:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:01:45]Read from MH i2c: E2 [12:01:45]MH_I2C_Read... [12:01:45]Read from MH i2c: E2 0B 00 [12:01:45]MH_I2C_Read... [12:01:45]Read from MH i2c: E2 0B 00 D9 1C 00 45 D3 B6 35 94 B0 18 4C 90 00 1C [12:01:45]RAPDU: 45 D3 B6 35 94 B0 18 4C 90 00 [12:01:45]wFMCommunicate OK [12:01:45]SAM_PROTO_SignData done [12:01:45]FM_MakeSignedData done [12:01:45]CreateOFDProtocolMessage [12:01:45]wFMCommunicate request_size=4 [12:01:45]MH_SAM_APDU [12:01:45]CAPDU: 80 11 00 00 [12:01:45]Write to MH i2c: E2 08 00 DA 1C 80 11 00 00 00 00 00 00 70 [12:01:45]Write i2c OK [12:01:45]MH_I2C_Read... [12:01:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:01:46]Read from MH i2c: E2 [12:01:46]MH_I2C_Read... [12:01:46]Read from MH i2c: E2 17 00 [12:01:46]MH_I2C_Read... [12:01:46]Read from MH i2c: E2 17 00 DA 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C3 [12:01:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:01:46]wFMCommunicate OK [12:01:46]CreateOFDProtocolMessage done [12:01:46]OFDSenderStorePacket 4107 [12:01:46]StoreOFDPacket docnum=4107 [12:01:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 93 02 00 00 FC CA 8B 02 38 94 5A 03 01 00 03 00 7F 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 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 7A 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 38 32 06 04 36 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 55 6C 6B 65 72 20 42 69 73 6B 72 65 6D 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 2D D0 BA D1 80 D0 B5 D0 BC 20 31 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 A0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 01 11 00 00 00 00 07 04 06 00 28 A0 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 30 02 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0B 10 00 00 35 04 06 00 A4 A9 C4 DF CB A9 45 D3 B6 35 94 B0 18 4C [12:01:46]CheckFolder [12:01:46]dirname=/storage/ofd_packets [12:01:46]CheckFolder done [12:01:46]ProducePacketName [12:01:46]name=ofd_packets/00004107 [12:01:46]NVStorageSaveData ofd_packets/00004107 [12:01:46]File name is /storage/ofd_packets/00004107 [12:01:46]Write 689 bytes [12:01:46]NVStorageSaveData done [12:01:46]OFDSenderStorePacket done [12:01:46]KKMCreateOFDPacket done [12:01:46]NVStorageSaveData kkm_last_timestamp [12:01:46]File name is /storage/kkm_last_timestamp [12:01:46]Write 4 bytes [12:01:46]NVStorageSaveData done [12:01:46]ExternCall_PrintAddStr [12:01:46]wPrintStart [12:01:46]Write to MH i2c: 01 00 00 DB 1C F7 [12:01:46]Write i2c OK [12:01:46]MH_I2C_Read... [12:01:46]Read from MH i2c: 01 [12:01:46]MH_I2C_Read... [12:01:46]Read from MH i2c: 01 07 00 [12:01:46]MH_I2C_Read... [12:01:46]Read from MH i2c: 01 07 00 DB 1C 00 00 00 00 00 FF 0F 0C [12:01:46]RasterBufferAndPrint [12:01:46]line Счет N : (3)4361 [12:01:46]line ИНН: 02508201610067 [12:01:46]line Контрольно-Кассовый Чек [12:01:46]line ПРОДАЖА [12:01:46]line Товар: 4620016307540 [12:01:46]line Салфетки Absolut Nat FITOGUARD алоэ 20 ш [12:01:46]line 1.000 * 65.00 [12:01:46]line = 65.00 [12:01:46]line НДС 12% НСП 1% [12:01:46]line > о реализуемом товаре [12:01:46]line Товар: 2000036230011 [12:01:46]line Кофе Латте XL(GABB TRADE) [12:01:46]line 1.000 * 130.00 [12:01:46]line = 130.00 [12:01:46]line НДС 12% НСП 1% [12:01:46]line > о реализуемом товаре [12:01:46]line Товар: 2000036220012 [12:01:46]line Кофе Капучино XL(GABB TRADE) [12:01:46]line 1.000 * 125.00 [12:01:46]line = 125.00 [12:01:46]line НДС 12% НСП 1% [12:01:46]line > о реализуемом товаре [12:01:46]line Товар: 4870112002782 [12:01:46]line Печенье Ulker Biskrem какао-крем 180г [12:01:46]line 1.000 * 90.00 [12:01:46]line = 90.00 [12:01:46]line НДС 12% НСП 1% [12:01:46]line > о реализуемом товаре [12:01:46]line ИТОГО: 410.00 [12:01:46]line НСП 1% : 3.63 [12:01:46]line НДС 12% : 43.53 [12:01:46]line Наличными: 410.00 [12:01:46]line Безнал.: 0.00 [12:01:46]line Место: АЗС № 116 "Партнер Нефть" [12:01:46]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:01:46]line СНО: Общий режим [12:01:46]line Чек 24 04.06.2024 12:01 [12:01:46]line Смена: 83 ФФД: 1.0 [12:01:46]line ЗНМ: 0300000233 [12:01:46]line РНМ: 0000000000145775 [12:01:46]line Версия ККМ: v1.0 [12:01:46]line ФМ: 0000000000959360 [12:01:46]line ФД: 4107 [12:01:46]line ФПД: 181049059429289 [12:01:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T120152&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4107&fm=181049059429289&tin=02508201610067®Number=0000000000145775&sum=41000 [12:01:46]OFD Sender: Processing packet 4107 [packets to send 2, broken 1] [12:01:46]ProducePacketName [12:01:46]name=ofd_packets/00004107 [12:01:46]OFD Sender: To server: pG, [12:01:46]CommunicateWithHost lk.salyk.kg:30040 [12:01:46]ConnectInit lk.salyk.kg [12:01:46]line 0 [12:01:46]written 0, free lines is 4095 [12:01:46]Connected sock=10 [12:01:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 93 02 00 00 FC CA 8B 02 38 94 5A 03 01 00 03 00 7F 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 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 7A 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 38 32 06 04 36 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 55 6C 6B 65 72 20 42 69 73 6B 72 65 6D 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 2D D0 BA D1 80 D0 B5 D0 BC 20 31 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 A0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 01 11 00 00 00 00 07 04 06 00 28 A0 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 30 02 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0B 10 00 00 35 04 06 00 A4 A9 C4 DF CB A9 45 D3 B6 35 94 B0 18 4C [12:01:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 4B 88 47 00 DC BA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0B 10 00 00 F4 03 04 00 31 AE 5E 66 B6 04 01 00 00 D3 18 95 1B C9 7C 0D C5 [12:01:46]CommunicateWithHost err = 0 [12:01:46]CheckOFDResponse [12:01:46]1017 (14) - 77093643461234 [12:01:46]1041 (16) - 0000000000959360 [12:01:46]1040 (4) - 4107 [12:01:46]1012 (4) - 04.06.2024 06:03 [12:01:46]1206 (1) - 0 [12:01:46]OFD Sender: Remove packet 4107 [12:01:46]ProducePacketName [12:01:46]name=ofd_packets/00004107 [12:01:46]NVStorageDeleteData [12:01:47]Write to MH i2c: 01 00 00 18 1D 35 [12:01:47]Write i2c OK [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: 01 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: 01 07 00 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: 01 07 00 18 1D 00 00 00 00 00 5F 0B A6 [12:01:47]RasterBufferAndPrint [12:01:47]line [12:01:47]line [12:01:47]line [12:01:47]line [12:01:47]line [12:01:47]written 0, free lines is 2916 [12:01:47]MH_Cut [12:01:47]Write to MH i2c: D1 01 00 1F 1D 01 0E [12:01:47]Write i2c OK [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: D1 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: D1 01 00 [12:01:47]MH_I2C_Read... [12:01:47]Read from MH i2c: D1 01 00 1F 1D 00 0D [12:01:47]Write to MH i2c: 01 00 00 20 1D 3D [12:01:47]Write i2c OK [12:01:47]MH_I2C_Read... [12:01:47]OFD Sender: No OFD packet to send [12:01:48]*** Cut start [12:01:48]*** Partial cut [12:01:48]*** CUTSNS_PIN = 1 [12:01:48]*** CUTSNS_PIN = 0 [12:01:48]*** Brake cut motor [12:01:48]Read from MH i2c: 01 [12:01:48]MH_I2C_Read... [12:01:48]*** Stop cut motor [12:01:48]*** Cut end [12:01:48]Read from MH i2c: 01 07 00 [12:01:48]MH_I2C_Read... [12:01:48]Read from MH i2c: 01 07 00 20 1D 00 00 00 00 00 FF 0F 52 [12:01:48]process_action close_receipt done [12:01:48]requested_data is exist [12:01:48]produce_requested_data [12:01:48]requested_item fm.sn is exist - process it [12:01:48]wFMCommunicate request_size=4 [12:01:48]MH_SAM_APDU [12:01:48]CAPDU: 80 11 00 00 [12:01:48]Write to MH i2c: E2 08 00 21 1D 80 11 00 00 00 00 00 00 B8 [12:01:48]Write i2c OK [12:01:48]MH_I2C_Read... [12:01:48]Read from MH i2c: E2 [12:01:48]MH_I2C_Read... [12:01:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:01:48]Read from MH i2c: E2 17 00 [12:01:48]MH_I2C_Read... [12:01:48]Read from MH i2c: E2 17 00 21 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 0B [12:01:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:01:48]wFMCommunicate OK [12:01:48]requested_item fd.num is exist - process it [12:01:48]SAM_PROTO_GetFieldsCounters [12:01:48]wFMCommunicate request_size=4 [12:01:48]MH_SAM_APDU [12:01:48]CAPDU: 80 13 00 00 [12:01:48]Write to MH i2c: E2 08 00 22 1D 80 13 00 00 00 00 00 00 BB [12:01:48]Write i2c OK [12:01:48]MH_I2C_Read... [12:01:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:01:49]Read from MH i2c: E2 [12:01:49]MH_I2C_Read... [12:01:49]Read from MH i2c: E2 62 00 [12:01:49]MH_I2C_Read... [12:01:49]Read from MH i2c: E2 62 00 22 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 0B 10 00 00 0E 04 04 00 53 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 96 [12:01:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 0B 10 00 00 0E 04 04 00 53 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 [12:01:49]wFMCommunicate OK [12:01:49]SAM_PROTO_GetFieldsCounters done [12:01:49]requested_item shift.num is exist - process it [12:01:49]requested_item shift.opened is exist - process it [12:01:49]req_shift_opened [12:01:49]FM_GetShiftState [12:01:49]SAM_PROTO_GetShiftState [12:01:49]wFMCommunicate request_size=4 [12:01:49]MH_SAM_APDU [12:01:49]CAPDU: 80 13 01 00 [12:01:49]Write to MH i2c: E2 08 00 23 1D 80 13 01 00 00 00 00 00 BD [12:01:49]Write i2c OK [12:01:49]MH_I2C_Read... [12:01:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:01:49]Read from MH i2c: E2 [12:01:49]MH_I2C_Read... [12:01:49]Read from MH i2c: E2 0E 00 [12:01:49]MH_I2C_Read... [12:01:49]Read from MH i2c: E2 0E 00 23 1D 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 56 [12:01:49]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [12:01:49]wFMCommunicate OK [12:01:49]SAM_PROTO_GetShiftState done [12:01:49]FM_GetShiftState done [12:01:49]req_shift_opened done [12:01:49]requested_item shift.open_date is exist - process it [12:01:49]req_shift_open_date [12:01:49]req_shift_open_date done [12:01:49]produce_requested_data done [12:01:49]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4107,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [12:01:49]process_action_free close_receipt [12:01:49]json_value_free [12:01:49]json_value_free done [12:01:49]process_json_proto returns [12:01:49]Send response to host [12:01:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4107,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [12:01:49]free response buf [12:01:49]execute_script done [12:01:49]execute_script returns [12:01:49]free content buf [12:01:49]Sock 8.Close socket [12:01:49]Sock 8.Thread stoped [12:01:52]OFD Sender: No OFD packet to send [12:01:57]OFD Sender: No OFD packet to send [12:02:02]OFD Sender: No OFD packet to send [12:02:07]OFD Sender: No OFD packet to send [12:02:12]OFD Sender: No OFD packet to send [12:02:17]OFD Sender: No OFD packet to send [12:02:22]OFD Sender: No OFD packet to send [12:02:27]OFD Sender: No OFD packet to send [12:02:32]OFD Sender: No OFD packet to send [12:02:37]OFD Sender: No OFD packet to send [12:02:42]OFD Sender: No OFD packet to send [12:02:47]OFD Sender: No OFD packet to send [12:02:52]OFD Sender: No OFD packet to send [12:02:57]OFD Sender: No OFD packet to send [12:03:02]OFD Sender: No OFD packet to send [12:03:07]OFD Sender: No OFD packet to send [12:03:12]OFD Sender: No OFD packet to send [12:03:17]OFD Sender: No OFD packet to send [12:03:22]OFD Sender: No OFD packet to send [12:03:27]OFD Sender: No OFD packet to send [12:03:32]OFD Sender: No OFD packet to send [12:03:37]OFD Sender: No OFD packet to send [12:03:42]OFD Sender: No OFD packet to send [12:03:47]OFD Sender: No OFD packet to send [12:03:52]OFD Sender: No OFD packet to send [12:03:57]OFD Sender: No OFD packet to send [12:04:02]OFD Sender: No OFD packet to send [12:04:07]OFD Sender: No OFD packet to send [12:04:12]OFD Sender: No OFD packet to send [12:04:17]OFD Sender: No OFD packet to send [12:04:22]OFD Sender: No OFD packet to send [12:04:27]OFD Sender: No OFD packet to send [12:04:32]OFD Sender: No OFD packet to send [12:04:37]OFD Sender: No OFD packet to send [12:04:42]OFD Sender: No OFD packet to send [12:04:47]OFD Sender: No OFD packet to send [12:04:52]OFD Sender: No OFD packet to send [12:04:57]OFD Sender: No OFD packet to send [12:05:02]OFD Sender: No OFD packet to send [12:05:07]OFD Sender: No OFD packet to send [12:05:12]OFD Sender: No OFD packet to send [12:05:17]OFD Sender: No OFD packet to send [12:05:22]OFD Sender: No OFD packet to send [12:05:27]OFD Sender: No OFD packet to send [12:05:32]OFD Sender: No OFD packet to send [12:05:37]OFD Sender: No OFD packet to send [12:05:42]OFD Sender: No OFD packet to send [12:05:47]OFD Sender: No OFD packet to send [12:05:52]OFD Sender: No OFD packet to send [12:05:57]OFD Sender: No OFD packet to send [12:06:02]OFD Sender: No OFD packet to send [12:06:07]OFD Sender: No OFD packet to send [12:06:12]OFD Sender: No OFD packet to send [12:06:17]OFD Sender: No OFD packet to send [12:06:22]OFD Sender: No OFD packet to send [12:06:27]OFD Sender: No OFD packet to send [12:06:32]OFD Sender: No OFD packet to send [12:06:37]OFD Sender: No OFD packet to send [12:06:42]OFD Sender: No OFD packet to send [12:06:47]OFD Sender: No OFD packet to send [12:06:52]OFD Sender: No OFD packet to send [12:06:57]OFD Sender: No OFD packet to send [12:07:02]OFD Sender: No OFD packet to send [12:07:07]OFD Sender: No OFD packet to send [12:07:12]OFD Sender: No OFD packet to send [12:07:17]OFD Sender: No OFD packet to send [12:07:22]OFD Sender: No OFD packet to send [12:07:27]OFD Sender: No OFD packet to send [12:07:32]OFD Sender: No OFD packet to send [12:07:37]OFD Sender: No OFD packet to send [12:07:42]OFD Sender: No OFD packet to send [12:07:47]OFD Sender: No OFD packet to send [12:07:52]OFD Sender: No OFD packet to send [12:07:57]OFD Sender: No OFD packet to send [12:08:02]OFD Sender: No OFD packet to send [12:08:07]OFD Sender: No OFD packet to send [12:08:12]OFD Sender: No OFD packet to send [12:08:17]OFD Sender: No OFD packet to send [12:08:22]OFD Sender: No OFD packet to send [12:08:27]OFD Sender: No OFD packet to send [12:08:32]OFD Sender: No OFD packet to send [12:08:37]OFD Sender: No OFD packet to send [12:08:42]OFD Sender: No OFD packet to send [12:08:47]OFD Sender: No OFD packet to send [12:08:52]OFD Sender: No OFD packet to send [12:08:57]OFD Sender: No OFD packet to send [12:09:02]OFD Sender: No OFD packet to send [12:09:07]OFD Sender: No OFD packet to send [12:09:12]OFD Sender: No OFD packet to send [12:09:17]OFD Sender: No OFD packet to send [12:09:22]OFD Sender: No OFD packet to send [12:09:27]OFD Sender: No OFD packet to send [12:09:32]OFD Sender: No OFD packet to send [12:09:37]OFD Sender: No OFD packet to send [12:09:42]OFD Sender: No OFD packet to send [12:09:47]OFD Sender: No OFD packet to send [12:09:52]OFD Sender: No OFD packet to send [12:09:57]OFD Sender: No OFD packet to send [12:10:02]OFD Sender: No OFD packet to send [12:10:07]OFD Sender: No OFD packet to send [12:10:12]OFD Sender: No OFD packet to send [12:10:17]OFD Sender: No OFD packet to send [12:10:22]OFD Sender: No OFD packet to send [12:10:27]OFD Sender: No OFD packet to send [12:10:32]OFD Sender: No OFD packet to send [12:10:37]OFD Sender: No OFD packet to send [12:10:42]OFD Sender: No OFD packet to send [12:10:47]OFD Sender: No OFD packet to send [12:10:52]OFD Sender: No OFD packet to send [12:10:57]OFD Sender: No OFD packet to send [12:11:02]OFD Sender: No OFD packet to send [12:11:07]OFD Sender: No OFD packet to send [12:11:12]OFD Sender: No OFD packet to send [12:11:17]OFD Sender: No OFD packet to send [12:11:22]OFD Sender: No OFD packet to send [12:11:27]OFD Sender: No OFD packet to send [12:11:32]OFD Sender: No OFD packet to send [12:11:37]OFD Sender: No OFD packet to send [12:11:42]OFD Sender: No OFD packet to send [12:11:47]OFD Sender: No OFD packet to send [12:11:52]OFD Sender: No OFD packet to send [12:11:57]OFD Sender: No OFD packet to send [12:12:02]OFD Sender: No OFD packet to send [12:12:07]OFD Sender: No OFD packet to send [12:12:12]OFD Sender: No OFD packet to send [12:12:17]OFD Sender: No OFD packet to send [12:12:22]OFD Sender: No OFD packet to send [12:12:27]OFD Sender: No OFD packet to send [12:12:32]OFD Sender: No OFD packet to send [12:12:37]OFD Sender: No OFD packet to send [12:12:42]OFD Sender: No OFD packet to send [12:12:47]OFD Sender: No OFD packet to send [12:12:52]OFD Sender: No OFD packet to send [12:12:57]OFD Sender: No OFD packet to send [12:13:02]OFD Sender: No OFD packet to send [12:13:07]OFD Sender: No OFD packet to send [12:13:12]OFD Sender: No OFD packet to send [12:13:17]OFD Sender: No OFD packet to send [12:13:22]OFD Sender: No OFD packet to send [12:13:24]accept exits with 9 [12:13:24]New connection [12:13:24]New thread 3067227492 created [12:13:24]Thread 3067370852 joined [12:13:24]Waiting for new connection... [12:13:24] Sock 9.Parse request [12:13:24]Sock 9.Check first char [12:13:24]Sock 9.First char is OK [12:13:24]request: POST /json_proto HTTP/1.0 [12:13:24]Method: POST [12:13:24]URL: /json_proto [12:13:24]Method is POST - this is cgi request [12:13:24]url: /json_proto [12:13:24]query_string will be loaded in cgi processing [12:13:24]execute_cgi json_proto POST (null) [12:13:24]execute_cgi path=json_proto method=POST [12:13:24]POST find Content-Length [12:13:24]Host: 172.17.56.68:8080 [12:13:24]Content-Length: 951 [12:13:24]Content-Type: application/json [12:13:24] [12:13:24]POST finish read [12:13:24]Found Content-Length = 951 [12:13:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4362", "tax_sys" : 0, "items" : [ { "code": "4700003010346", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.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" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:13:24]execute_script... [12:13:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4362", "tax_sys" : 0, "items" : [ { "code": "4700003010346", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.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" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:13:24]POST & json_proto [12:13:24]process_json_proto [12:13:24]json parsed OK: [12:13:24]protocol is kg_v1.0 [12:13:24]action value=close_receipt [12:13:24]process_action close_receipt [12:13:24]cmd_close_receipt [12:13:24]MH_GetDate [12:13:24]Write to MH i2c: F0 00 00 24 1D 30 [12:13:24]Write i2c OK [12:13:24]MH_I2C_Read... [12:13:24]Read from MH i2c: F0 [12:13:24]MH_I2C_Read... [12:13:24]Read from MH i2c: F0 09 00 [12:13:24]MH_I2C_Read... [12:13:24]Read from MH i2c: F0 09 00 24 1D 00 EC 04 5F 66 42 69 5C 66 5B [12:13:24]GetLastDocTimeStamp 1717502512 [12:13:24]current date 1717503212 [12:13:24]FM_GetShiftState [12:13:24]SAM_PROTO_GetShiftState [12:13:24]wFMCommunicate request_size=4 [12:13:24]MH_SAM_APDU [12:13:24]CAPDU: 80 13 01 00 [12:13:24]Write to MH i2c: E2 08 00 25 1D 80 13 01 00 00 00 00 00 BF [12:13:24]Write i2c OK [12:13:24]MH_I2C_Read... [12:13:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:13:24]Read from MH i2c: E2 [12:13:24]MH_I2C_Read... [12:13:24]Read from MH i2c: E2 0E 00 [12:13:24]MH_I2C_Read... [12:13:24]Read from MH i2c: E2 0E 00 25 1D 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 58 [12:13:24]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [12:13:24]wFMCommunicate OK [12:13:24]SAM_PROTO_GetShiftState done [12:13:24]FM_GetShiftState done [12:13:24]opened in 1717459822 [12:13:24]opened+sec_in_day 1717546222 [12:13:24]quantity*price = 4000 [12:13:24]sum+1 = 4001 [12:13:24]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 25 04.06.2024 12:13 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4108 ФПД: 180586601170077 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T121332&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4108&fm=180586601170077&tin=02508201610067®Number=0000000000145775&sum=13500 0 [12:13:25]StoreToDocumentArchive [12:13:25]shift 83 fd 4108 [12:13:25]save to /storage/0083/doc_00004108 [12:13:25]save last doc name /storage/0083/doc_00004108 to /storage/kkm_last_doc_name [12:13:25]save OK [12:13:25]Clear old archive folders... [12:13:25]ProcessDocumentItem done err = 0, tmpTLVsize=419 [12:13:25]tlvbuf is 007FF9E0 [12:13:25]SAM_PROTO_ClearQueue [12:13:25]wFMCommunicate request_size=4 [12:13:25]MH_SAM_APDU [12:13:25]CAPDU: 80 09 00 00 [12:13:25]Write to MH i2c: E2 08 00 32 1D 80 09 00 00 00 00 00 00 C1 [12:13:25]Write i2c OK [12:13:25]MH_I2C_Read... [12:13:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:13:25]Read from MH i2c: E2 [12:13:25]MH_I2C_Read... [12:13:25]Read from MH i2c: E2 03 00 [12:13:25]MH_I2C_Read... [12:13:25]Read from MH i2c: E2 03 00 32 1D 00 90 00 C3 [12:13:25]RAPDU: 90 00 [12:13:25]wFMCommunicate OK [12:13:25]SAM_PROTO_ClearQueue done [12:13:25]KKMCreateOFDPacket [12:13:25]OFDProtocolAddRootSTLVToBuf [12:13:25]FM_MakeSignedData [12:13:25]FM_MakeSignedData [12:13:25]SAM_PROTO_SignData [12:13:25]wFMCommunicate request_size=4 [12:13:25]MH_SAM_APDU [12:13:25]CAPDU: 80 0D 01 02 [12:13:25]Write to MH i2c: E2 08 00 33 1D 80 0D 01 02 00 00 00 00 C9 [12:13:25]Write i2c OK [12:13:25]MH_I2C_Read... [12:13:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:13:25]Read from MH i2c: E2 [12:13:25]MH_I2C_Read... [12:13:25]Read from MH i2c: E2 03 00 [12:13:25]MH_I2C_Read... [12:13:25]Read from MH i2c: E2 03 00 33 1D 00 90 00 C4 [12:13:25]RAPDU: 90 00 [12:13:25]wFMCommunicate OK [12:13:25]wFMCommunicate request_size=255 [12:13:25]MH_SAM_APDU [12:13:25]CAPDU: 80 0D 02 02 FA 03 00 A3 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 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 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 [12:13:25]Write to MH i2c: E2 02 01 34 1D 80 0D 02 02 FA 00 03 00 A3 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 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 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 00 00 38 [12:13:25]Write i2c OK [12:13:25]MH_I2C_Read... [12:13:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:13:25]Read from MH i2c: E2 [12:13:25]MH_I2C_Read... [12:13:25]Read from MH i2c: E2 03 00 [12:13:25]MH_I2C_Read... [12:13:25]Read from MH i2c: E2 03 00 34 1D 00 90 00 C5 [12:13:25]RAPDU: 90 00 [12:13:25]wFMCommunicate OK [12:13:25]wFMCommunicate request_size=178 [12:13:25]MH_SAM_APDU [12:13:25]CAPDU: 80 0D 02 02 AD 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 EC 04 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0C 10 00 00 35 04 06 00 A4 3E 18 36 C4 9D [12:13:25]Write to MH i2c: E2 B5 00 35 1D 80 0D 02 02 AD 00 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 EC 04 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0C 10 00 00 35 04 06 00 A4 3E 18 36 C4 9D 00 00 F4 [12:13:25]Write i2c OK [12:13:25]MH_I2C_Read... [12:13:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:13:25]Read from MH i2c: E2 [12:13:25]MH_I2C_Read... [12:13:25]Read from MH i2c: E2 03 00 [12:13:25]MH_I2C_Read... [12:13:25]Read from MH i2c: E2 03 00 35 1D 00 90 00 C6 [12:13:25]RAPDU: 90 00 [12:13:25]wFMCommunicate OK [12:13:25]wFMCommunicate request_size=4 [12:13:25]MH_SAM_APDU [12:13:25]CAPDU: 80 0D 03 02 [12:13:25]Write to MH i2c: E2 08 00 36 1D 80 0D 03 02 00 00 00 00 CE [12:13:25]Write i2c OK [12:13:25]MH_I2C_Read... [12:13:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:13:25]Read from MH i2c: E2 [12:13:25]MH_I2C_Read... [12:13:25]Read from MH i2c: E2 0B 00 [12:13:25]MH_I2C_Read... [12:13:25]Read from MH i2c: E2 0B 00 36 1D 00 3C 72 B9 5E 61 E1 2F 55 90 00 5A [12:13:25]RAPDU: 3C 72 B9 5E 61 E1 2F 55 90 00 [12:13:25]wFMCommunicate OK [12:13:25]SAM_PROTO_SignData done [12:13:25]FM_MakeSignedData done [12:13:25]CreateOFDProtocolMessage [12:13:25]wFMCommunicate request_size=4 [12:13:25]MH_SAM_APDU [12:13:25]CAPDU: 80 11 00 00 [12:13:25]Write to MH i2c: E2 08 00 37 1D 80 11 00 00 00 00 00 00 CE [12:13:25]Write i2c OK [12:13:25]MH_I2C_Read... [12:13:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:13:25]Read from MH i2c: E2 [12:13:25]MH_I2C_Read... [12:13:25]Read from MH i2c: E2 17 00 [12:13:25]MH_I2C_Read... [12:13:25]Read from MH i2c: E2 17 00 37 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 21 [12:13:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:13:25]wFMCommunicate OK [12:13:25]CreateOFDProtocolMessage done [12:13:25]OFDSenderStorePacket 4108 [12:13:25]StoreOFDPacket docnum=4108 [12:13:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 B7 01 00 00 53 9A AF 01 E0 2C 5A 03 01 00 03 00 A3 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 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 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 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 EC 04 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0C 10 00 00 35 04 06 00 A4 3E 18 36 C4 9D 3C 72 B9 5E 61 E1 2F 55 [12:13:25]CheckFolder [12:13:25]dirname=/storage/ofd_packets [12:13:25]CheckFolder done [12:13:25]ProducePacketName [12:13:25]name=ofd_packets/00004108 [12:13:25]NVStorageSaveData ofd_packets/00004108 [12:13:25]File name is /storage/ofd_packets/00004108 [12:13:25]Write 469 bytes [12:13:25]NVStorageSaveData done [12:13:25]OFDSenderStorePacket done [12:13:25]KKMCreateOFDPacket done [12:13:25]NVStorageSaveData kkm_last_timestamp [12:13:25]File name is /storage/kkm_last_timestamp [12:13:25]Write 4 bytes [12:13:25]NVStorageSaveData done [12:13:25]ExternCall_PrintAddStr [12:13:26]wPrintStart [12:13:26]Write to MH i2c: 01 00 00 38 1D 55 [12:13:26]OFD Sender: Processing packet 4108 [packets to send 2, broken 1] [12:13:26]ProducePacketName [12:13:26]name=ofd_packets/00004108 [12:13:26]OFD Sender: To server: pG, [12:13:26]CommunicateWithHost lk.salyk.kg:30040 [12:13:26]ConnectInit lk.salyk.kg [12:13:26]Write i2c OK [12:13:26]MH_I2C_Read... [12:13:26]Read from MH i2c: 01 [12:13:26]MH_I2C_Read... [12:13:26]Read from MH i2c: 01 07 00 [12:13:26]MH_I2C_Read... [12:13:26]Read from MH i2c: 01 07 00 38 1D 00 00 00 00 00 FF 0F 6A [12:13:26]RasterBufferAndPrint [12:13:26]line Счет N : (3)4362 [12:13:26]line ИНН: 02508201610067 [12:13:26]line Контрольно-Кассовый Чек [12:13:26]line ПРОДАЖА [12:13:26]line Товар: 4700003010346 [12:13:26]line Напиток Let`s Go! с/с груша ПЭТ 0,5л [12:13:26]line 1.000 * 40.00 [12:13:26]line = 40.00 [12:13:26]line НДС 12% НСП 1% [12:13:26]line > о реализуемом товаре [12:13:26]line Товар: 4700000480050 [12:13:26]line Напиток Nitro Energy эн green ж/б 0,45л [12:13:26]line 1.000 * 95.00 [12:13:26]line = 95.00 [12:13:26]line НДС 12% НСП 1% [12:13:26]line > о реализуемом товаре [12:13:26]line ИТОГО: 135.00 [12:13:26]line НСП 1% : 1.19 [12:13:26]line НДС 12% : 14.34 [12:13:26]line Наличными: 135.00 [12:13:26]line Безнал.: 0.00 [12:13:26]line Место: АЗС № 116 "Партнер Нефть" [12:13:26]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:13:26]line СНО: Общий режим [12:13:26]line Чек 25 04.06.2024 12:13 [12:13:26]line Смена: 83 ФФД: 1.0 [12:13:26]line ЗНМ: 0300000233 [12:13:26]line РНМ: 0000000000145775 [12:13:26]line Версия ККМ: v1.0 [12:13:26]line ФМ: 0000000000959360 [12:13:26]line ФД: 4108 [12:13:26]line ФПД: 180586601170077 [12:13:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T121332&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4108&fm=180586601170077&tin=02508201610067®Number=0000000000145775&sum=13500 [12:13:26]line 0 [12:13:26]written 0, free lines is 4095 [12:13:26]Connected sock=10 [12:13:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 B7 01 00 00 53 9A AF 01 E0 2C 5A 03 01 00 03 00 A3 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 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 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 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 EC 04 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0C 10 00 00 35 04 06 00 A4 3E 18 36 C4 9D 3C 72 B9 5E 61 E1 2F 55 [12:13:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 43 37 47 00 61 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0C 10 00 00 F4 03 04 00 ED B0 5E 66 B6 04 01 00 00 74 5A 70 C0 8B E3 D2 07 [12:13:26]CommunicateWithHost err = 0 [12:13:26]CheckOFDResponse [12:13:26]1017 (14) - 77093643461234 [12:13:26]1041 (16) - 0000000000959360 [12:13:26]1040 (4) - 4108 [12:13:26]1012 (4) - 04.06.2024 06:15 [12:13:26]1206 (1) - 0 [12:13:26]OFD Sender: Remove packet 4108 [12:13:26]ProducePacketName [12:13:26]name=ofd_packets/00004108 [12:13:26]NVStorageDeleteData [12:13:26]Write to MH i2c: 01 00 00 68 1D 85 [12:13:26]Write i2c OK [12:13:26]MH_I2C_Read... [12:13:26]Read from MH i2c: 01 [12:13:26]MH_I2C_Read... [12:13:26]Read from MH i2c: 01 07 00 [12:13:26]MH_I2C_Read... [12:13:26]Read from MH i2c: 01 07 00 68 1D 00 00 00 00 00 34 0C CC [12:13:26]RasterBufferAndPrint [12:13:26]line [12:13:26]line [12:13:26]line [12:13:26]line [12:13:26]line [12:13:26]written 0, free lines is 3129 [12:13:26]MH_Cut [12:13:26]Write to MH i2c: D1 01 00 6F 1D 01 5E [12:13:26]Write i2c OK [12:13:26]MH_I2C_Read... [12:13:26]Read from MH i2c: D1 [12:13:26]MH_I2C_Read... [12:13:26]Read from MH i2c: D1 01 00 [12:13:26]MH_I2C_Read... [12:13:26]Read from MH i2c: D1 01 00 6F 1D 00 5D [12:13:26]Write to MH i2c: 01 00 00 70 1D 8D [12:13:26]Write i2c OK [12:13:26]MH_I2C_Read... [12:13:27]int [12:13:27]*** FLAG_PRN_PAP2 set [12:13:27]*** Cut start [12:13:27]*** Partial cut [12:13:27]*** CUTSNS_PIN = 1 [12:13:27]OFD Sender: No OFD packet to send [12:13:27]*** CUTSNS_PIN = 0 [12:13:27]*** Brake cut motor [12:13:27]Read from MH i2c: 01 [12:13:27]MH_I2C_Read... [12:13:27]*** Stop cut motor [12:13:27]*** Cut end [12:13:27]Read from MH i2c: 01 07 00 [12:13:27]MH_I2C_Read... [12:13:27]Read from MH i2c: 01 07 00 70 1D 00 02 00 00 00 FF 0F A4 [12:13:27]process_action close_receipt done [12:13:27]requested_data is exist [12:13:27]produce_requested_data [12:13:27]requested_item fm.sn is exist - process it [12:13:27]wFMCommunicate request_size=4 [12:13:27]MH_SAM_APDU [12:13:27]CAPDU: 80 11 00 00 [12:13:27]Write to MH i2c: E2 08 00 71 1D 80 11 00 00 00 00 00 00 08 [12:13:27]Write i2c OK [12:13:27]MH_I2C_Read... [12:13:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:13:27]Read from MH i2c: E2 [12:13:27]MH_I2C_Read... [12:13:27]Read from MH i2c: E2 17 00 [12:13:27]MH_I2C_Read... [12:13:27]Read from MH i2c: E2 17 00 71 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 5B [12:13:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:13:27]wFMCommunicate OK [12:13:27]requested_item fd.num is exist - process it [12:13:27]SAM_PROTO_GetFieldsCounters [12:13:27]wFMCommunicate request_size=4 [12:13:27]MH_SAM_APDU [12:13:27]CAPDU: 80 13 00 00 [12:13:27]Write to MH i2c: E2 08 00 72 1D 80 13 00 00 00 00 00 00 0B [12:13:27]Write i2c OK [12:13:27]MH_I2C_Read... [12:13:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:13:27]Read from MH i2c: E2 [12:13:27]MH_I2C_Read... [12:13:27]Read from MH i2c: E2 62 00 [12:13:27]MH_I2C_Read... [12:13:27]Read from MH i2c: E2 62 00 72 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 0C 10 00 00 0E 04 04 00 53 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 EA [12:13:27]Write to MH i2c: RAPDU: 01 5D 00 00 00 B9 73 04 1D 90 01 [12:13:27]00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 0C 10 00 00 0E 04 04 00 53 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 [12:13:27]wFMCommunicate OK [12:13:27]SAM_PROTO_GetFieldsCounters done [12:13:27]requested_item shift.num is exist - process it [12:13:27]requested_item shift.opened is exist - process it [12:13:27]req_shift_opened [12:13:27]FM_GetShiftState [12:13:27]SAM_PROTO_GetShiftState [12:13:27]wFMCommunicate request_size=4 [12:13:27]MH_SAM_APDU [12:13:27]CAPDU: 80 13 01 00 [12:13:27]Write i2c OK [12:13:27]MH_I2C_Read... [12:13:27]Read from MH i2c: 01 [12:13:27]MH_I2C_Read... [12:13:27]Read from MH i2c: 01 07 00 [12:13:27]MH_I2C_Read... [12:13:27]Read from MH i2c: 01 07 00 73 1D 00 02 00 00 00 FF 0F A7 [12:13:27]Write to MH i2c: state=0 [12:13:27]E2 Cover opened [12:13:27]08 00 74 1D 80 13 01 00 00 00 00 00 0E [12:13:27]Write i2c OK [12:13:27]MH_I2C_Read... [12:13:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:13:27]Read from MH i2c: E2 [12:13:27]MH_I2C_Read... [12:13:27]Read from MH i2c: E2 0E 00 [12:13:27]MH_I2C_Read... [12:13:27]Read from MH i2c: E2 0E 00 74 1D 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 A7 [12:13:27]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [12:13:27]wFMCommunicate OK [12:13:27]SAM_PROTO_GetShiftState done [12:13:27]FM_GetShiftState done [12:13:27]req_shift_opened done [12:13:27]requested_item shift.open_date is exist - process it [12:13:27]req_shift_open_date [12:13:27]req_shift_open_date done [12:13:27]produce_requested_data done [12:13:27]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4108,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [12:13:27]process_action_free close_receipt [12:13:27]json_value_free [12:13:27]json_value_free done [12:13:27]process_json_proto returns [12:13:27]Send response to host [12:13:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4108,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [12:13:27]free response buf [12:13:27]execute_script done [12:13:27]execute_script returns [12:13:27]free content buf [12:13:27]Sock 9.Close socket [12:13:27]Sock 9.Thread stoped [12:13:32]OFD Sender: No OFD packet to send [12:13:32]Write to MH i2c: 01 00 00 75 1D 92 [12:13:32]Write i2c OK [12:13:32]MH_I2C_Read... [12:13:32]Read from MH i2c: 01 [12:13:32]MH_I2C_Read... [12:13:32]Read from MH i2c: 01 07 00 [12:13:32]MH_I2C_Read... [12:13:32]Read from MH i2c: 01 07 00 75 1D 00 02 00 00 00 FF 0F A9 [12:13:32]state=3 [12:13:32]Cover opened [12:13:34]int [12:13:34]Write to MH i2c: 01 00 00 76 1D 93 [12:13:34]*** FLAG_PRN_PAP1 set [12:13:34]Write i2c OK [12:13:34]MH_I2C_Read... [12:13:34]Read from MH i2c: 01 [12:13:34]MH_I2C_Read... [12:13:34]Read from MH i2c: 01 07 00 [12:13:34]MH_I2C_Read... [12:13:34]Read from MH i2c: 01 07 00 76 1D 00 03 00 00 00 FF 0F AB [12:13:34]state=3 [12:13:34]No paper [12:13:34]Cover opened [12:13:37]OFD Sender: No OFD packet to send [12:13:39]Write to MH i2c: 01 00 00 77 1D 94 [12:13:39]Write i2c OK [12:13:39]MH_I2C_Read... [12:13:39]Read from MH i2c: 01 [12:13:39]MH_I2C_Read... [12:13:39]Read from MH i2c: 01 07 00 [12:13:39]MH_I2C_Read... [12:13:39]Read from MH i2c: 01 07 00 77 1D 00 03 00 00 00 FF 0F AC [12:13:39]state=3 [12:13:39]No paper [12:13:39]Cover opened [12:13:42]OFD Sender: No OFD packet to send [12:13:44]Write to MH i2c: 01 00 00 78 1D 95 [12:13:44]Write i2c OK [12:13:44]MH_I2C_Read... [12:13:44]Read from MH i2c: 01 [12:13:44]MH_I2C_Read... [12:13:44]Read from MH i2c: 01 07 00 [12:13:44]MH_I2C_Read... [12:13:44]Read from MH i2c: 01 07 00 78 1D 00 03 00 00 00 FF 0F AD [12:13:44]state=3 [12:13:44]No paper [12:13:44]Cover opened [12:13:47]OFD Sender: No OFD packet to send [12:13:49]Write to MH i2c: 01 00 00 79 1D 96 [12:13:49]Write i2c OK [12:13:49]MH_I2C_Read... [12:13:49]Read from MH i2c: 01 [12:13:49]MH_I2C_Read... [12:13:49]Read from MH i2c: 01 07 00 [12:13:49]MH_I2C_Read... [12:13:49]Read from MH i2c: 01 07 00 79 1D 00 03 00 00 00 FF 0F AE [12:13:49]state=3 [12:13:49]No paper [12:13:49]Cover opened [12:13:51]int [12:13:51]Write to MH i2c: 01 00 00 7A 1D 97 [12:13:51]*** FLAG_PRN_PAP2 reset [12:13:51]Write i2c OK [12:13:51]MH_I2C_Read... [12:13:51]Read from MH i2c: 01 [12:13:51]MH_I2C_Read... [12:13:51]Read from MH i2c: 01 07 00 [12:13:51]MH_I2C_Read... [12:13:51]Read from MH i2c: 01 07 00 7A 1D 00 01 00 00 00 FF 0F AD [12:13:51]state=3 [12:13:51]No paper [12:13:51]Cover closed [12:13:51]int [12:13:51]Write to MH i2c: 01 00 00 7B 1D 98 [12:13:51]*** FLAG_PRN_PAP1 reset [12:13:51]Write i2c OK [12:13:51]MH_I2C_Read... [12:13:51]Read from MH i2c: 01 [12:13:51]MH_I2C_Read... [12:13:51]Read from MH i2c: 01 07 00 [12:13:51]MH_I2C_Read... [12:13:51]Read from MH i2c: 01 07 00 7B 1D 00 00 00 00 00 FF 0F AD [12:13:51]state=0 [12:13:52]OFD Sender: No OFD packet to send [12:13:57]OFD Sender: No OFD packet to send [12:14:02]OFD Sender: No OFD packet to send [12:14:07]OFD Sender: No OFD packet to send [12:14:12]OFD Sender: No OFD packet to send [12:14:17]OFD Sender: No OFD packet to send [12:14:22]OFD Sender: No OFD packet to send [12:14:27]OFD Sender: No OFD packet to send [12:14:32]OFD Sender: No OFD packet to send [12:14:33]accept exits with 8 [12:14:33]New connection [12:14:33]New thread 3067370852 created [12:14:33]Thread 3067227492 joined [12:14:33]Waiting for new connection... [12:14:33] Sock 8.Parse request [12:14:33]Sock 8.Check first char [12:14:33]Sock 8.First char is OK [12:14:33]request: POST /json_proto HTTP/1.0 [12:14:33]Method: POST [12:14:33]URL: /json_proto [12:14:33]Method is POST - this is cgi request [12:14:33]url: /json_proto [12:14:33]query_string will be loaded in cgi processing [12:14:33]execute_cgi json_proto POST (null) [12:14:33]execute_cgi path=json_proto method=POST [12:14:33]POST find Content-Length [12:14:33]Host: 172.17.56.68:8080 [12:14:33]Content-Length: 745 [12:14:33]Content-Type: application/json [12:14:33] [12:14:33]POST finish read [12:14:33]Found Content-Length = 745 [12:14:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4363", "tax_sys" : 0, "items" : [ { "code": "6921090700103", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 502.00, "quantity" : 1.000, "sum" : 502.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 502.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:14:33]execute_script... [12:14:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4363", "tax_sys" : 0, "items" : [ { "code": "6921090700103", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 502.00, "quantity" : 1.000, "sum" : 502.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 502.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:14:33]POST & json_proto [12:14:33]process_json_proto [12:14:33]json parsed OK: [12:14:33]protocol is kg_v1.0 [12:14:33]action value=close_receipt [12:14:33]process_action close_receipt [12:14:33]cmd_close_receipt [12:14:33]MH_GetDate [12:14:33]Write to MH i2c: F0 00 00 7C 1D 88 [12:14:33]Write i2c OK [12:14:33]MH_I2C_Read... [12:14:33]Read from MH i2c: F0 [12:14:33]MH_I2C_Read... [12:14:33]Read from MH i2c: F0 09 00 [12:14:33]MH_I2C_Read... [12:14:33]Read from MH i2c: F0 09 00 7C 1D 00 32 05 5F 66 42 69 5C 66 FA [12:14:33]GetLastDocTimeStamp 1717503212 [12:14:33]current date 1717503282 [12:14:33]FM_GetShiftState [12:14:33]SAM_PROTO_GetShiftState [12:14:33]wFMCommunicate request_size=4 [12:14:33]MH_SAM_APDU [12:14:33]CAPDU: 80 13 01 00 [12:14:33]Write to MH i2c: E2 08 00 7D 1D 80 13 01 00 00 00 00 00 17 [12:14:33]Write i2c OK [12:14:33]MH_I2C_Read... [12:14:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:34]Read from MH i2c: E2 [12:14:34]MH_I2C_Read... [12:14:34]Read from MH i2c: E2 0E 00 [12:14:34]MH_I2C_Read... [12:14:34]Read from MH i2c: E2 0E 00 7D 1D 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 B0 [12:14:34]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [12:14:34]wFMCommunicate OK [12:14:34]SAM_PROTO_GetShiftState done [12:14:34]FM_GetShiftState done [12:14:34]opened in 1717459822 [12:14:34]opened+sec_in_day 1717546222 [12:14:34]quantity*price = 50200 [12:14:34]sum+1 = 50201 [12:14:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 502.00 НСП 1% : 4.44 НДС 12% : 53.31 Наличными: 502.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 26 04.06.2024 12:14 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4109 ФПД: 113162351265637 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T121442&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4109&fm=113162351265637&tin=02508201610067®Number=0000000000145775&sum=50200 0 [12:14:35]StoreToDocumentArchive [12:14:35]shift 83 fd 4109 [12:14:35]save to /storage/0083/doc_00004109 [12:14:35]save last doc name /storage/0083/doc_00004109 to /storage/kkm_last_doc_name [12:14:35]save OK [12:14:35]Clear old archive folders... [12:14:35]ProcessDocumentItem done err = 0, tmpTLVsize=307 [12:14:35]tlvbuf is B6F40940 [12:14:35]SAM_PROTO_ClearQueue [12:14:35]wFMCommunicate request_size=4 [12:14:35]MH_SAM_APDU [12:14:35]CAPDU: 80 09 00 00 [12:14:35]Write to MH i2c: E2 08 00 8A 1D 80 09 00 00 00 00 00 00 19 [12:14:35]Write i2c OK [12:14:35]MH_I2C_Read... [12:14:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:14:35]Read from MH i2c: E2 [12:14:35]MH_I2C_Read... [12:14:35]Read from MH i2c: E2 03 00 [12:14:35]MH_I2C_Read... [12:14:35]Read from MH i2c: E2 03 00 8A 1D 00 90 00 1B [12:14:35]RAPDU: 90 00 [12:14:35]wFMCommunicate OK [12:14:35]SAM_PROTO_ClearQueue done [12:14:35]KKMCreateOFDPacket [12:14:35]OFDProtocolAddRootSTLVToBuf [12:14:35]FM_MakeSignedData [12:14:35]FM_MakeSignedData [12:14:35]SAM_PROTO_SignData [12:14:35]wFMCommunicate request_size=4 [12:14:35]MH_SAM_APDU [12:14:35]CAPDU: 80 0D 01 02 [12:14:35]Write to MH i2c: E2 08 00 8B 1D 80 0D 01 02 00 00 00 00 21 [12:14:35]Write i2c OK [12:14:35]MH_I2C_Read... [12:14:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:14:35]Read from MH i2c: E2 [12:14:35]MH_I2C_Read... [12:14:35]Read from MH i2c: E2 03 00 [12:14:35]MH_I2C_Read... [12:14:35]Read from MH i2c: E2 03 00 8B 1D 00 90 00 1C [12:14:35]RAPDU: 90 00 [12:14:35]wFMCommunicate OK [12:14:35]wFMCommunicate request_size=255 [12:14:35]MH_SAM_APDU [12:14:35]CAPDU: 80 0D 02 02 FA 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 18 C4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 C4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 14 00 00 00 00 07 04 06 00 18 C4 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 32 05 5F 66 0E 04 04 00 53 00 00 00 B9 04 [12:14:35]Write to MH i2c: E2 02 01 8C 1D 80 0D 02 02 FA 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 18 C4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 C4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 14 00 00 00 00 07 04 06 00 18 C4 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 32 05 5F 66 0E 04 04 00 53 00 00 00 B9 04 00 00 18 [12:14:35]Write i2c OK [12:14:35]MH_I2C_Read... [12:14:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:35]Read from MH i2c: E2 [12:14:35]MH_I2C_Read... [12:14:35]Read from MH i2c: E2 03 00 [12:14:35]MH_I2C_Read... [12:14:35]Read from MH i2c: E2 03 00 8C 1D 00 90 00 1D [12:14:35]RAPDU: 90 00 [12:14:35]wFMCommunicate OK [12:14:35]wFMCommunicate request_size=66 [12:14:35]MH_SAM_APDU [12:14:35]CAPDU: 80 0D 02 02 3D 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0D 10 00 00 35 04 06 00 66 EB A9 BF C7 65 [12:14:35]Write to MH i2c: E2 45 00 8D 1D 80 0D 02 02 3D 00 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0D 10 00 00 35 04 06 00 66 EB A9 BF C7 65 00 00 7C [12:14:35]Write i2c OK [12:14:35]MH_I2C_Read... [12:14:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:35]Read from MH i2c: E2 [12:14:35]MH_I2C_Read... [12:14:35]Read from MH i2c: E2 03 00 [12:14:35]MH_I2C_Read... [12:14:35]Read from MH i2c: E2 03 00 8D 1D 00 90 00 1E [12:14:35]RAPDU: 90 00 [12:14:35]wFMCommunicate OK [12:14:35]wFMCommunicate request_size=4 [12:14:35]MH_SAM_APDU [12:14:35]CAPDU: 80 0D 03 02 [12:14:35]Write to MH i2c: E2 08 00 8E 1D 80 0D 03 02 00 00 00 00 26 [12:14:35]Write i2c OK [12:14:35]MH_I2C_Read... [12:14:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:14:35]Read from MH i2c: E2 [12:14:35]MH_I2C_Read... [12:14:35]Read from MH i2c: E2 0B 00 [12:14:35]MH_I2C_Read... [12:14:35]Read from MH i2c: E2 0B 00 8E 1D 00 85 72 B9 BA E4 63 94 46 90 00 B2 [12:14:35]RAPDU: 85 72 B9 BA E4 63 94 46 90 00 [12:14:35]wFMCommunicate OK [12:14:35]SAM_PROTO_SignData done [12:14:35]FM_MakeSignedData done [12:14:35]CreateOFDProtocolMessage [12:14:35]wFMCommunicate request_size=4 [12:14:35]MH_SAM_APDU [12:14:35]CAPDU: 80 11 00 00 [12:14:35]Write to MH i2c: E2 08 00 8F 1D 80 11 00 00 00 00 00 00 26 [12:14:35]Write i2c OK [12:14:35]MH_I2C_Read... [12:14:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:14:35]Read from MH i2c: E2 [12:14:35]MH_I2C_Read... [12:14:35]Read from MH i2c: E2 17 00 [12:14:35]MH_I2C_Read... [12:14:35]Read from MH i2c: E2 17 00 8F 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 79 [12:14:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:14:35]wFMCommunicate OK [12:14:35]CreateOFDProtocolMessage done [12:14:35]OFDSenderStorePacket 4109 [12:14:35]StoreOFDPacket docnum=4109 [12:14:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 47 01 00 00 8C 15 3F 01 9A 19 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 18 C4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 C4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 14 00 00 00 00 07 04 06 00 18 C4 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 32 05 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0D 10 00 00 35 04 06 00 66 EB A9 BF C7 65 85 72 B9 BA E4 63 94 46 [12:14:35]CheckFolder [12:14:35]dirname=/storage/ofd_packets [12:14:35]CheckFolder done [12:14:35]ProducePacketName [12:14:35]name=ofd_packets/00004109 [12:14:35]NVStorageSaveData ofd_packets/00004109 [12:14:35]File name is /storage/ofd_packets/00004109 [12:14:35]Write 357 bytes [12:14:35]NVStorageSaveData done [12:14:35]OFDSenderStorePacket done [12:14:35]KKMCreateOFDPacket done [12:14:35]NVStorageSaveData kkm_last_timestamp [12:14:35]File name is /storage/kkm_last_timestamp [12:14:35]Write 4 bytes [12:14:35]NVStorageSaveData done [12:14:35]ExternCall_PrintAddStr [12:14:35]wPrintStart [12:14:35]Write to MH i2c: 01 00 00 90 1D AD [12:14:35]OFD Sender: Processing packet 4109 [packets to send 2, broken 1] [12:14:35]ProducePacketName [12:14:35]name=ofd_packets/00004109 [12:14:35]OFD Sender: To server: pG, [12:14:35]CommunicateWithHost lk.salyk.kg:30040 [12:14:35]ConnectInit lk.salyk.kg [12:14:35]Write i2c OK [12:14:35]MH_I2C_Read... [12:14:35]Read from MH i2c: 01 [12:14:35]MH_I2C_Read... [12:14:35]Read from MH i2c: 01 07 00 [12:14:35]MH_I2C_Read... [12:14:35]Read from MH i2c: 01 07 00 90 1D 00 00 00 00 00 FF 0F C2 [12:14:35]RasterBufferAndPrint [12:14:35]line Счет N : (3)4363 [12:14:35]line ИНН: 02508201610067 [12:14:35]line Контрольно-Кассовый Чек [12:14:35]line ПРОДАЖА [12:14:35]line Товар: 6921090700103 [12:14:35]line Очки солнцезащитные в ассортименте [12:14:35]line 1.000 * 502.00 [12:14:35]line = 502.00 [12:14:35]line НДС 12% НСП 1% [12:14:35]line > о реализуемом товаре [12:14:35]line ИТОГО: 502.00 [12:14:35]line НСП 1% : 4.44 [12:14:35]line НДС 12% : 53.31 [12:14:35]line Наличными: 502.00 [12:14:35]line Безнал.: 0.00 [12:14:35]line Место: АЗС № 116 "Партнер Нефть" [12:14:35]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:14:35]line СНО: Общий режим [12:14:35]line Чек 26 04.06.2024 12:14 [12:14:35]line Смена: 83 ФФД: 1.0 [12:14:35]line ЗНМ: 0300000233 [12:14:35]line РНМ: 0000000000145775 [12:14:35]line Версия ККМ: v1.0 [12:14:35]line ФМ: 0000000000959360 [12:14:35]line ФД: 4109 [12:14:35]line ФПД: 113162351265637 [12:14:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T121442&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4109&fm=113162351265637&tin=02508201610067®Number=0000000000145775&sum=50200 [12:14:36]line 0 [12:14:36]Connected sock=9 [12:14:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 47 01 00 00 8C 15 3F 01 9A 19 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 18 C4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 C4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 14 00 00 00 00 07 04 06 00 18 C4 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 32 05 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0D 10 00 00 35 04 06 00 66 EB A9 BF C7 65 85 72 B9 BA E4 63 94 46 [12:14:36]written 0, free lines is 4095 [12:14:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 F3 9A 47 00 70 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 30 39 35 39 33 36 30 10 04 04 00 0D 10 00 00 F4 03 04 00 33 B1 5E 66 B6 04 01 00 00 DD A7 C4 64 1B DD 1C 0A [12:14:36]CommunicateWithHost err = 0 [12:14:36]CheckOFDResponse [12:14:36]1017 (14) - 77093643461234 [12:14:36]1041 (16) - 0000000000959360 [12:14:36]1040 (4) - 4109 [12:14:36]1012 (4) - 04.06.2024 06:16 [12:14:36]1206 (1) - 0 [12:14:36]OFD Sender: Remove packet 4109 [12:14:36]ProducePacketName [12:14:36]name=ofd_packets/00004109 [12:14:36]NVStorageDeleteData [12:14:36]Write to MH i2c: 01 00 00 B9 1D D6 [12:14:36]Write i2c OK [12:14:36]MH_I2C_Read... [12:14:36]Read from MH i2c: 01 [12:14:36]MH_I2C_Read... [12:14:36]Read from MH i2c: 01 07 00 [12:14:36]MH_I2C_Read... [12:14:36]Read from MH i2c: 01 07 00 B9 1D 00 00 00 00 00 B0 0C 99 [12:14:36]RasterBufferAndPrint [12:14:36]line [12:14:36]line [12:14:36]line [12:14:36]line [12:14:36]line [12:14:36]written 0, free lines is 3252 [12:14:36]MH_Cut [12:14:36]Write to MH i2c: D1 01 00 C0 1D 01 AF [12:14:36]Write i2c OK [12:14:36]MH_I2C_Read... [12:14:36]Read from MH i2c: D1 [12:14:36]MH_I2C_Read... [12:14:36]Read from MH i2c: D1 01 00 [12:14:36]MH_I2C_Read... [12:14:36]Read from MH i2c: D1 01 00 C0 1D 00 AE [12:14:36]Write to MH i2c: 01 00 00 C1 1D DE [12:14:36]Write i2c OK [12:14:36]MH_I2C_Read... [12:14:36]OFD Sender: No OFD packet to send [12:14:37]*** Cut start [12:14:37]*** Partial cut [12:14:37]*** CUTSNS_PIN = 1 [12:14:37]*** CUTSNS_PIN = 0 [12:14:37]*** Brake cut motor [12:14:38]Read from MH i2c: 01 [12:14:38]MH_I2C_Read... [12:14:38]*** Stop cut motor [12:14:38]*** Cut end [12:14:38]Read from MH i2c: 01 07 00 [12:14:38]MH_I2C_Read... [12:14:38]Read from MH i2c: 01 07 00 C1 1D 00 00 00 00 00 FF 0F F3 [12:14:38]process_action close_receipt done [12:14:38]requested_data is exist [12:14:38]produce_requested_data [12:14:38]requested_item fm.sn is exist - process it [12:14:38]wFMCommunicate request_size=4 [12:14:38]MH_SAM_APDU [12:14:38]CAPDU: 80 11 00 00 [12:14:38]Write to MH i2c: E2 08 00 C2 1D 80 11 00 00 00 00 00 00 59 [12:14:38]Write i2c OK [12:14:38]MH_I2C_Read... [12:14:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:14:38]Read from MH i2c: E2 [12:14:38]MH_I2C_Read... [12:14:38]Read from MH i2c: E2 17 00 [12:14:38]MH_I2C_Read... [12:14:38]Read from MH i2c: E2 17 00 C2 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 AC [12:14:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:14:38]wFMCommunicate OK [12:14:38]requested_item fd.num is exist - process it [12:14:38]SAM_PROTO_GetFieldsCounters [12:14:38]wFMCommunicate request_size=4 [12:14:38]MH_SAM_APDU [12:14:38]CAPDU: 80 13 00 00 [12:14:38]Write to MH i2c: E2 08 00 C3 1D 80 13 00 00 00 00 00 00 5C [12:14:38]Write i2c OK [12:14:38]MH_I2C_Read... [12:14:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:14:38]Read from MH i2c: E2 [12:14:38]MH_I2C_Read... [12:14:38]Read from MH i2c: E2 62 00 [12:14:38]MH_I2C_Read... [12:14:38]Read from MH i2c: E2 62 00 C3 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 0D 10 00 00 0E 04 04 00 53 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 3F [12:14:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 0D 10 00 00 0E 04 04 00 53 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 [12:14:38]wFMCommunicate OK [12:14:38]SAM_PROTO_GetFieldsCounters done [12:14:38]requested_item shift.num is exist - process it [12:14:38]requested_item shift.opened is exist - process it [12:14:38]req_shift_opened [12:14:38]FM_GetShiftState [12:14:38]SAM_PROTO_GetShiftState [12:14:38]wFMCommunicate request_size=4 [12:14:38]MH_SAM_APDU [12:14:38]CAPDU: 80 13 01 00 [12:14:38]Write to MH i2c: E2 08 00 C4 1D 80 13 01 00 00 00 00 00 5E [12:14:38]Write i2c OK [12:14:38]MH_I2C_Read... [12:14:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:38]Read from MH i2c: E2 [12:14:38]MH_I2C_Read... [12:14:38]Read from MH i2c: E2 0E 00 [12:14:38]MH_I2C_Read... [12:14:38]Read from MH i2c: E2 0E 00 C4 1D 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 F7 [12:14:38]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [12:14:38]wFMCommunicate OK [12:14:38]SAM_PROTO_GetShiftState done [12:14:38]FM_GetShiftState done [12:14:38]req_shift_opened done [12:14:38]requested_item shift.open_date is exist - process it [12:14:38]req_shift_open_date [12:14:38]req_shift_open_date done [12:14:38]produce_requested_data done [12:14:38]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4109,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [12:14:38]process_action_free close_receipt [12:14:38]json_value_free [12:14:38]json_value_free done [12:14:38]process_json_proto returns [12:14:38]Send response to host [12:14:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4109,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [12:14:38]free response buf [12:14:38]execute_script done [12:14:38]execute_script returns [12:14:38]free content buf [12:14:38]Sock 8.Close socket [12:14:38]Sock 8.Thread stoped [12:14:41]OFD Sender: No OFD packet to send [12:14:46]OFD Sender: No OFD packet to send [12:14:51]OFD Sender: No OFD packet to send [12:14:56]OFD Sender: No OFD packet to send [12:15:01]OFD Sender: No OFD packet to send [12:15:06]OFD Sender: No OFD packet to send [12:15:11]OFD Sender: No OFD packet to send [12:15:16]OFD Sender: No OFD packet to send [12:15:21]OFD Sender: No OFD packet to send [12:15:26]OFD Sender: No OFD packet to send [12:15:31]OFD Sender: No OFD packet to send [12:15:36]OFD Sender: No OFD packet to send [12:15:41]OFD Sender: No OFD packet to send [12:15:46]OFD Sender: No OFD packet to send [12:15:51]OFD Sender: No OFD packet to send [12:15:56]OFD Sender: No OFD packet to send [12:16:01]OFD Sender: No OFD packet to send [12:16:06]OFD Sender: No OFD packet to send [12:16:11]OFD Sender: No OFD packet to send [12:16:16]OFD Sender: No OFD packet to send [12:16:21]OFD Sender: No OFD packet to send [12:16:26]OFD Sender: No OFD packet to send [12:16:31]OFD Sender: No OFD packet to send [12:16:36]OFD Sender: No OFD packet to send [12:16:41]OFD Sender: No OFD packet to send [12:16:46]OFD Sender: No OFD packet to send [12:16:51]OFD Sender: No OFD packet to send [12:16:56]OFD Sender: No OFD packet to send [12:17:01]OFD Sender: No OFD packet to send [12:17:06]OFD Sender: No OFD packet to send [12:17:11]OFD Sender: No OFD packet to send [12:17:16]OFD Sender: No OFD packet to send [12:17:21]OFD Sender: No OFD packet to send [12:17:26]OFD Sender: No OFD packet to send [12:17:31]OFD Sender: No OFD packet to send [12:17:36]OFD Sender: No OFD packet to send [12:17:41]OFD Sender: No OFD packet to send [12:17:46]OFD Sender: No OFD packet to send [12:17:51]OFD Sender: No OFD packet to send [12:17:56]OFD Sender: No OFD packet to send [12:18:01]OFD Sender: No OFD packet to send [12:18:06]OFD Sender: No OFD packet to send [12:18:11]OFD Sender: No OFD packet to send [12:18:16]OFD Sender: No OFD packet to send [12:18:21]OFD Sender: No OFD packet to send [12:18:26]OFD Sender: No OFD packet to send [12:18:31]OFD Sender: No OFD packet to send [12:18:36]OFD Sender: No OFD packet to send [12:18:41]OFD Sender: No OFD packet to send [12:18:46]OFD Sender: No OFD packet to send [12:18:51]OFD Sender: No OFD packet to send [12:18:56]OFD Sender: No OFD packet to send [12:19:01]OFD Sender: No OFD packet to send [12:19:07]OFD Sender: No OFD packet to send [12:19:12]OFD Sender: No OFD packet to send [12:19:17]OFD Sender: No OFD packet to send [12:19:22]OFD Sender: No OFD packet to send [12:19:27]OFD Sender: No OFD packet to send [12:19:32]OFD Sender: No OFD packet to send [12:19:37]OFD Sender: No OFD packet to send [12:19:42]OFD Sender: No OFD packet to send [12:19:47]OFD Sender: No OFD packet to send [12:19:52]OFD Sender: No OFD packet to send [12:19:57]OFD Sender: No OFD packet to send [12:20:02]OFD Sender: No OFD packet to send [12:20:07]OFD Sender: No OFD packet to send [12:20:12]OFD Sender: No OFD packet to send [12:20:17]OFD Sender: No OFD packet to send [12:20:22]OFD Sender: No OFD packet to send [12:20:27]OFD Sender: No OFD packet to send [12:20:32]OFD Sender: No OFD packet to send [12:20:37]OFD Sender: No OFD packet to send [12:20:42]OFD Sender: No OFD packet to send [12:20:47]OFD Sender: No OFD packet to send [12:20:52]OFD Sender: No OFD packet to send [12:20:57]OFD Sender: No OFD packet to send [12:21:02]OFD Sender: No OFD packet to send [12:21:07]OFD Sender: No OFD packet to send [12:21:12]OFD Sender: No OFD packet to send [12:21:17]OFD Sender: No OFD packet to send [12:21:22]OFD Sender: No OFD packet to send [12:21:27]OFD Sender: No OFD packet to send [12:21:32]OFD Sender: No OFD packet to send [12:21:37]OFD Sender: No OFD packet to send [12:21:42]OFD Sender: No OFD packet to send [12:21:47]OFD Sender: No OFD packet to send [12:21:52]OFD Sender: No OFD packet to send [12:21:57]OFD Sender: No OFD packet to send [12:22:02]OFD Sender: No OFD packet to send [12:22:07]OFD Sender: No OFD packet to send [12:22:12]OFD Sender: No OFD packet to send [12:22:17]OFD Sender: No OFD packet to send [12:22:22]OFD Sender: No OFD packet to send [12:22:27]OFD Sender: No OFD packet to send [12:22:32]OFD Sender: No OFD packet to send [12:22:37]OFD Sender: No OFD packet to send [12:22:42]OFD Sender: No OFD packet to send [12:22:47]OFD Sender: No OFD packet to send [12:22:52]OFD Sender: No OFD packet to send [12:22:57]OFD Sender: No OFD packet to send [12:23:02]OFD Sender: No OFD packet to send [12:23:07]OFD Sender: No OFD packet to send [12:23:12]OFD Sender: No OFD packet to send [12:23:17]OFD Sender: No OFD packet to send [12:23:22]OFD Sender: No OFD packet to send [12:23:27]OFD Sender: No OFD packet to send [12:23:32]OFD Sender: No OFD packet to send [12:23:37]OFD Sender: No OFD packet to send [12:23:42]OFD Sender: No OFD packet to send [12:23:47]OFD Sender: No OFD packet to send [12:23:52]OFD Sender: No OFD packet to send [12:23:57]OFD Sender: No OFD packet to send [12:24:02]OFD Sender: No OFD packet to send [12:24:07]OFD Sender: No OFD packet to send [12:24:12]OFD Sender: No OFD packet to send [12:24:17]OFD Sender: No OFD packet to send [12:24:22]OFD Sender: No OFD packet to send [12:24:27]OFD Sender: No OFD packet to send [12:24:32]OFD Sender: No OFD packet to send [12:24:37]OFD Sender: No OFD packet to send [12:24:42]OFD Sender: No OFD packet to send [12:24:47]OFD Sender: No OFD packet to send [12:24:52]OFD Sender: No OFD packet to send [12:24:57]OFD Sender: No OFD packet to send [12:25:02]OFD Sender: No OFD packet to send [12:25:07]OFD Sender: No OFD packet to send [12:25:12]OFD Sender: No OFD packet to send [12:25:17]OFD Sender: No OFD packet to send [12:25:22]OFD Sender: No OFD packet to send [12:25:27]OFD Sender: No OFD packet to send [12:25:32]OFD Sender: No OFD packet to send [12:25:37]OFD Sender: No OFD packet to send [12:25:42]OFD Sender: No OFD packet to send [12:25:47]OFD Sender: No OFD packet to send [12:25:52]OFD Sender: No OFD packet to send [12:25:57]OFD Sender: No OFD packet to send [12:26:02]OFD Sender: No OFD packet to send [12:26:07]OFD Sender: No OFD packet to send [12:26:12]OFD Sender: No OFD packet to send [12:26:17]OFD Sender: No OFD packet to send [12:26:22]OFD Sender: No OFD packet to send [12:26:27]OFD Sender: No OFD packet to send [12:26:32]OFD Sender: No OFD packet to send [12:26:37]OFD Sender: No OFD packet to send [12:26:42]OFD Sender: No OFD packet to send [12:26:47]OFD Sender: No OFD packet to send [12:26:52]OFD Sender: No OFD packet to send [12:26:57]OFD Sender: No OFD packet to send [12:27:02]OFD Sender: No OFD packet to send [12:27:07]OFD Sender: No OFD packet to send [12:27:12]OFD Sender: No OFD packet to send [12:27:17]OFD Sender: No OFD packet to send [12:27:22]OFD Sender: No OFD packet to send [12:27:27]OFD Sender: No OFD packet to send [12:27:32]OFD Sender: No OFD packet to send [12:27:37]OFD Sender: No OFD packet to send [12:27:42]OFD Sender: No OFD packet to send [12:27:47]OFD Sender: No OFD packet to send [12:27:52]OFD Sender: No OFD packet to send [12:27:57]OFD Sender: No OFD packet to send [12:28:02]OFD Sender: No OFD packet to send [12:28:07]OFD Sender: No OFD packet to send [12:28:12]OFD Sender: No OFD packet to send [12:28:17]OFD Sender: No OFD packet to send [12:28:22]OFD Sender: No OFD packet to send [12:28:27]OFD Sender: No OFD packet to send [12:28:32]OFD Sender: No OFD packet to send [12:28:37]OFD Sender: No OFD packet to send [12:28:42]OFD Sender: No OFD packet to send [12:28:47]OFD Sender: No OFD packet to send [12:28:52]OFD Sender: No OFD packet to send [12:28:57]OFD Sender: No OFD packet to send [12:29:02]OFD Sender: No OFD packet to send [12:29:07]OFD Sender: No OFD packet to send [12:29:12]OFD Sender: No OFD packet to send [12:29:17]OFD Sender: No OFD packet to send [12:29:22]OFD Sender: No OFD packet to send [12:29:27]OFD Sender: No OFD packet to send [12:29:32]OFD Sender: No OFD packet to send [12:29:37]OFD Sender: No OFD packet to send [12:29:42]OFD Sender: No OFD packet to send [12:29:47]OFD Sender: No OFD packet to send [12:29:52]OFD Sender: No OFD packet to send [12:29:57]OFD Sender: No OFD packet to send [12:30:02]OFD Sender: No OFD packet to send [12:30:07]OFD Sender: No OFD packet to send [12:30:12]OFD Sender: No OFD packet to send [12:30:17]OFD Sender: No OFD packet to send [12:30:22]OFD Sender: No OFD packet to send [12:30:27]OFD Sender: No OFD packet to send [12:30:32]OFD Sender: No OFD packet to send [12:30:37]OFD Sender: No OFD packet to send [12:30:42]OFD Sender: No OFD packet to send [12:30:47]OFD Sender: No OFD packet to send [12:30:52]OFD Sender: No OFD packet to send [12:30:57]OFD Sender: No OFD packet to send [12:31:02]OFD Sender: No OFD packet to send [12:31:07]OFD Sender: No OFD packet to send [12:31:12]OFD Sender: No OFD packet to send [12:31:17]OFD Sender: No OFD packet to send [12:31:22]OFD Sender: No OFD packet to send [12:31:27]OFD Sender: No OFD packet to send [12:31:32]OFD Sender: No OFD packet to send [12:31:37]OFD Sender: No OFD packet to send [12:31:42]OFD Sender: No OFD packet to send [12:31:47]OFD Sender: No OFD packet to send [12:31:52]OFD Sender: No OFD packet to send [12:31:57]OFD Sender: No OFD packet to send [12:32:02]OFD Sender: No OFD packet to send [12:32:07]OFD Sender: No OFD packet to send [12:32:12]OFD Sender: No OFD packet to send [12:32:17]OFD Sender: No OFD packet to send [12:32:22]OFD Sender: No OFD packet to send [12:32:27]OFD Sender: No OFD packet to send [12:32:32]OFD Sender: No OFD packet to send [12:32:37]OFD Sender: No OFD packet to send [12:32:42]OFD Sender: No OFD packet to send [12:32:47]OFD Sender: No OFD packet to send [12:32:52]OFD Sender: No OFD packet to send [12:32:57]OFD Sender: No OFD packet to send [12:33:02]OFD Sender: No OFD packet to send [12:33:07]OFD Sender: No OFD packet to send [12:33:12]OFD Sender: No OFD packet to send [12:33:17]OFD Sender: No OFD packet to send [12:33:22]OFD Sender: No OFD packet to send [12:33:27]OFD Sender: No OFD packet to send [12:33:32]OFD Sender: No OFD packet to send [12:33:37]OFD Sender: No OFD packet to send [12:33:42]OFD Sender: No OFD packet to send [12:33:47]OFD Sender: No OFD packet to send [12:33:52]OFD Sender: No OFD packet to send [12:33:57]OFD Sender: No OFD packet to send [12:34:02]OFD Sender: No OFD packet to send [12:34:07]OFD Sender: No OFD packet to send [12:34:12]OFD Sender: No OFD packet to send [12:34:17]OFD Sender: No OFD packet to send [12:34:22]OFD Sender: No OFD packet to send [12:34:27]OFD Sender: No OFD packet to send [12:34:32]OFD Sender: No OFD packet to send [12:34:37]OFD Sender: No OFD packet to send [12:34:42]OFD Sender: No OFD packet to send [12:34:47]OFD Sender: No OFD packet to send [12:34:52]OFD Sender: No OFD packet to send [12:34:57]OFD Sender: No OFD packet to send [12:35:02]OFD Sender: No OFD packet to send [12:35:07]OFD Sender: No OFD packet to send [12:35:12]OFD Sender: No OFD packet to send [12:35:17]OFD Sender: No OFD packet to send [12:35:22]OFD Sender: No OFD packet to send [12:35:27]OFD Sender: No OFD packet to send [12:35:32]OFD Sender: No OFD packet to send [12:35:37]OFD Sender: No OFD packet to send [12:35:42]OFD Sender: No OFD packet to send [12:35:47]OFD Sender: No OFD packet to send [12:35:52]OFD Sender: No OFD packet to send [12:35:57]OFD Sender: No OFD packet to send [12:36:02]OFD Sender: No OFD packet to send [12:36:07]OFD Sender: No OFD packet to send [12:36:12]OFD Sender: No OFD packet to send [12:36:17]OFD Sender: No OFD packet to send [12:36:22]OFD Sender: No OFD packet to send [12:36:27]OFD Sender: No OFD packet to send [12:36:32]OFD Sender: No OFD packet to send [12:36:37]OFD Sender: No OFD packet to send [12:36:42]OFD Sender: No OFD packet to send [12:36:47]OFD Sender: No OFD packet to send [12:36:52]OFD Sender: No OFD packet to send [12:36:57]OFD Sender: No OFD packet to send [12:37:02]OFD Sender: No OFD packet to send [12:37:07]OFD Sender: No OFD packet to send [12:37:12]OFD Sender: No OFD packet to send [12:37:17]OFD Sender: No OFD packet to send [12:37:22]OFD Sender: No OFD packet to send [12:37:27]OFD Sender: No OFD packet to send [12:37:32]OFD Sender: No OFD packet to send [12:37:37]OFD Sender: No OFD packet to send [12:37:42]OFD Sender: No OFD packet to send [12:37:47]OFD Sender: No OFD packet to send [12:37:52]OFD Sender: No OFD packet to send [12:37:57]OFD Sender: No OFD packet to send [12:38:02]OFD Sender: No OFD packet to send [12:38:07]OFD Sender: No OFD packet to send [12:38:12]OFD Sender: No OFD packet to send [12:38:17]OFD Sender: No OFD packet to send [12:38:22]OFD Sender: No OFD packet to send [12:38:27]OFD Sender: No OFD packet to send [12:38:32]OFD Sender: No OFD packet to send [12:38:37]OFD Sender: No OFD packet to send [12:38:42]OFD Sender: No OFD packet to send [12:38:47]OFD Sender: No OFD packet to send [12:38:52]OFD Sender: No OFD packet to send [12:38:57]OFD Sender: No OFD packet to send [12:39:02]OFD Sender: No OFD packet to send [12:39:07]OFD Sender: No OFD packet to send [12:39:12]OFD Sender: No OFD packet to send [12:39:17]OFD Sender: No OFD packet to send [12:39:22]OFD Sender: No OFD packet to send [12:39:27]OFD Sender: No OFD packet to send [12:39:32]OFD Sender: No OFD packet to send [12:39:37]OFD Sender: No OFD packet to send [12:39:42]OFD Sender: No OFD packet to send [12:39:47]OFD Sender: No OFD packet to send [12:39:52]OFD Sender: No OFD packet to send [12:39:57]OFD Sender: No OFD packet to send [12:40:02]OFD Sender: No OFD packet to send [12:40:07]OFD Sender: No OFD packet to send [12:40:12]OFD Sender: No OFD packet to send [12:40:17]OFD Sender: No OFD packet to send [12:40:22]OFD Sender: No OFD packet to send [12:40:27]OFD Sender: No OFD packet to send [12:40:32]OFD Sender: No OFD packet to send [12:40:37]OFD Sender: No OFD packet to send [12:40:42]OFD Sender: No OFD packet to send [12:40:47]OFD Sender: No OFD packet to send [12:40:52]OFD Sender: No OFD packet to send [12:40:57]OFD Sender: No OFD packet to send [12:41:03]OFD Sender: No OFD packet to send [12:41:08]OFD Sender: No OFD packet to send [12:41:13]OFD Sender: No OFD packet to send [12:41:18]OFD Sender: No OFD packet to send [12:41:23]OFD Sender: No OFD packet to send [12:41:28]OFD Sender: No OFD packet to send [12:41:33]OFD Sender: No OFD packet to send [12:41:38]OFD Sender: No OFD packet to send [12:41:43]OFD Sender: No OFD packet to send [12:41:48]OFD Sender: No OFD packet to send [12:41:53]OFD Sender: No OFD packet to send [12:41:58]OFD Sender: No OFD packet to send [12:42:03]OFD Sender: No OFD packet to send [12:42:08]OFD Sender: No OFD packet to send [12:42:13]OFD Sender: No OFD packet to send [12:42:18]OFD Sender: No OFD packet to send [12:42:23]OFD Sender: No OFD packet to send [12:42:28]OFD Sender: No OFD packet to send [12:42:33]OFD Sender: No OFD packet to send [12:42:38]OFD Sender: No OFD packet to send [12:42:43]OFD Sender: No OFD packet to send [12:42:48]OFD Sender: No OFD packet to send [12:42:53]OFD Sender: No OFD packet to send [12:42:58]OFD Sender: No OFD packet to send [12:43:03]OFD Sender: No OFD packet to send [12:43:08]OFD Sender: No OFD packet to send [12:43:13]OFD Sender: No OFD packet to send [12:43:18]OFD Sender: No OFD packet to send [12:43:23]OFD Sender: No OFD packet to send [12:43:28]OFD Sender: No OFD packet to send [12:43:33]OFD Sender: No OFD packet to send [12:43:38]OFD Sender: No OFD packet to send [12:43:43]OFD Sender: No OFD packet to send [12:43:48]OFD Sender: No OFD packet to send [12:43:53]OFD Sender: No OFD packet to send [12:43:58]OFD Sender: No OFD packet to send [12:44:03]OFD Sender: No OFD packet to send [12:44:08]OFD Sender: No OFD packet to send [12:44:13]OFD Sender: No OFD packet to send [12:44:18]OFD Sender: No OFD packet to send [12:44:23]OFD Sender: No OFD packet to send [12:44:28]OFD Sender: No OFD packet to send [12:44:33]OFD Sender: No OFD packet to send [12:44:38]OFD Sender: No OFD packet to send [12:44:43]OFD Sender: No OFD packet to send [12:44:48]OFD Sender: No OFD packet to send [12:44:53]OFD Sender: No OFD packet to send [12:44:58]OFD Sender: No OFD packet to send [12:45:03]OFD Sender: No OFD packet to send [12:45:08]OFD Sender: No OFD packet to send [12:45:13]OFD Sender: No OFD packet to send [12:45:18]OFD Sender: No OFD packet to send [12:45:23]OFD Sender: No OFD packet to send [12:45:28]OFD Sender: No OFD packet to send [12:45:33]OFD Sender: No OFD packet to send [12:45:38]OFD Sender: No OFD packet to send [12:45:43]OFD Sender: No OFD packet to send [12:45:48]OFD Sender: No OFD packet to send [12:45:53]OFD Sender: No OFD packet to send [12:45:58]OFD Sender: No OFD packet to send [12:46:03]OFD Sender: No OFD packet to send [12:46:08]OFD Sender: No OFD packet to send [12:46:13]OFD Sender: No OFD packet to send [12:46:18]OFD Sender: No OFD packet to send [12:46:23]OFD Sender: No OFD packet to send [12:46:28]OFD Sender: No OFD packet to send [12:46:33]OFD Sender: No OFD packet to send [12:46:38]OFD Sender: No OFD packet to send [12:46:43]OFD Sender: No OFD packet to send [12:46:48]OFD Sender: No OFD packet to send [12:46:53]OFD Sender: No OFD packet to send [12:46:58]OFD Sender: No OFD packet to send [12:47:03]OFD Sender: No OFD packet to send [12:47:08]OFD Sender: No OFD packet to send [12:47:13]OFD Sender: No OFD packet to send [12:47:18]OFD Sender: No OFD packet to send [12:47:23]OFD Sender: No OFD packet to send [12:47:28]OFD Sender: No OFD packet to send [12:47:33]OFD Sender: No OFD packet to send [12:47:38]OFD Sender: No OFD packet to send [12:47:43]OFD Sender: No OFD packet to send [12:47:48]OFD Sender: No OFD packet to send [12:47:53]OFD Sender: No OFD packet to send [12:47:58]OFD Sender: No OFD packet to send [12:48:03]OFD Sender: No OFD packet to send [12:48:08]OFD Sender: No OFD packet to send [12:48:13]OFD Sender: No OFD packet to send [12:48:18]OFD Sender: No OFD packet to send [12:48:23]OFD Sender: No OFD packet to send [12:48:28]OFD Sender: No OFD packet to send [12:48:33]OFD Sender: No OFD packet to send [12:48:38]OFD Sender: No OFD packet to send [12:48:43]OFD Sender: No OFD packet to send [12:48:48]OFD Sender: No OFD packet to send [12:48:53]OFD Sender: No OFD packet to send [12:48:58]OFD Sender: No OFD packet to send [12:49:03]OFD Sender: No OFD packet to send [12:49:08]OFD Sender: No OFD packet to send [12:49:13]OFD Sender: No OFD packet to send [12:49:18]OFD Sender: No OFD packet to send [12:49:23]OFD Sender: No OFD packet to send [12:49:28]OFD Sender: No OFD packet to send [12:49:33]OFD Sender: No OFD packet to send [12:49:38]OFD Sender: No OFD packet to send [12:49:43]OFD Sender: No OFD packet to send [12:49:48]OFD Sender: No OFD packet to send [12:49:53]OFD Sender: No OFD packet to send [12:49:58]OFD Sender: No OFD packet to send [12:50:03]OFD Sender: No OFD packet to send [12:50:08]OFD Sender: No OFD packet to send [12:50:13]OFD Sender: No OFD packet to send [12:50:18]OFD Sender: No OFD packet to send [12:50:23]OFD Sender: No OFD packet to send [12:50:28]OFD Sender: No OFD packet to send [12:50:33]OFD Sender: No OFD packet to send [12:50:38]OFD Sender: No OFD packet to send [12:50:43]OFD Sender: No OFD packet to send [12:50:48]OFD Sender: No OFD packet to send [12:50:53]OFD Sender: No OFD packet to send [12:50:58]OFD Sender: No OFD packet to send [12:51:03]OFD Sender: No OFD packet to send [12:51:08]OFD Sender: No OFD packet to send [12:51:13]OFD Sender: No OFD packet to send [12:51:18]OFD Sender: No OFD packet to send [12:51:23]OFD Sender: No OFD packet to send [12:51:28]OFD Sender: No OFD packet to send [12:51:33]OFD Sender: No OFD packet to send [12:51:38]OFD Sender: No OFD packet to send [12:51:43]OFD Sender: No OFD packet to send [12:51:48]OFD Sender: No OFD packet to send [12:51:53]OFD Sender: No OFD packet to send [12:51:58]OFD Sender: No OFD packet to send [12:52:03]OFD Sender: No OFD packet to send [12:52:08]OFD Sender: No OFD packet to send [12:52:13]OFD Sender: No OFD packet to send [12:52:18]OFD Sender: No OFD packet to send [12:52:23]OFD Sender: No OFD packet to send [12:52:28]OFD Sender: No OFD packet to send [12:52:33]OFD Sender: No OFD packet to send [12:52:38]OFD Sender: No OFD packet to send [12:52:43]OFD Sender: No OFD packet to send [12:52:48]OFD Sender: No OFD packet to send [12:52:53]OFD Sender: No OFD packet to send [12:52:58]OFD Sender: No OFD packet to send [12:53:03]OFD Sender: No OFD packet to send [12:53:08]OFD Sender: No OFD packet to send [12:53:13]OFD Sender: No OFD packet to send [12:53:18]OFD Sender: No OFD packet to send [12:53:23]OFD Sender: No OFD packet to send [12:53:28]OFD Sender: No OFD packet to send [12:53:33]OFD Sender: No OFD packet to send [12:53:38]OFD Sender: No OFD packet to send [12:53:43]OFD Sender: No OFD packet to send [12:53:48]OFD Sender: No OFD packet to send [12:53:53]OFD Sender: No OFD packet to send [12:53:58]OFD Sender: No OFD packet to send [12:54:03]OFD Sender: No OFD packet to send [12:54:08]OFD Sender: No OFD packet to send [12:54:13]OFD Sender: No OFD packet to send [12:54:18]OFD Sender: No OFD packet to send [12:54:23]OFD Sender: No OFD packet to send [12:54:28]OFD Sender: No OFD packet to send [12:54:33]OFD Sender: No OFD packet to send [12:54:38]OFD Sender: No OFD packet to send [12:54:43]OFD Sender: No OFD packet to send [12:54:48]OFD Sender: No OFD packet to send [12:54:53]OFD Sender: No OFD packet to send [12:54:58]OFD Sender: No OFD packet to send [12:55:03]OFD Sender: No OFD packet to send [12:55:08]OFD Sender: No OFD packet to send [12:55:13]OFD Sender: No OFD packet to send [12:55:18]OFD Sender: No OFD packet to send [12:55:23]OFD Sender: No OFD packet to send [12:55:28]OFD Sender: No OFD packet to send [12:55:33]OFD Sender: No OFD packet to send [12:55:38]OFD Sender: No OFD packet to send [12:55:43]OFD Sender: No OFD packet to send [12:55:48]OFD Sender: No OFD packet to send [12:55:53]OFD Sender: No OFD packet to send [12:55:58]OFD Sender: No OFD packet to send [12:56:03]OFD Sender: No OFD packet to send [12:56:08]OFD Sender: No OFD packet to send [12:56:13]OFD Sender: No OFD packet to send [12:56:18]OFD Sender: No OFD packet to send [12:56:23]OFD Sender: No OFD packet to send [12:56:28]OFD Sender: No OFD packet to send [12:56:33]OFD Sender: No OFD packet to send [12:56:38]OFD Sender: No OFD packet to send [12:56:43]OFD Sender: No OFD packet to send [12:56:48]OFD Sender: No OFD packet to send [12:56:53]OFD Sender: No OFD packet to send [12:56:58]OFD Sender: No OFD packet to send [12:57:03]OFD Sender: No OFD packet to send [12:57:08]OFD Sender: No OFD packet to send [12:57:13]OFD Sender: No OFD packet to send [12:57:18]OFD Sender: No OFD packet to send [12:57:23]OFD Sender: No OFD packet to send [12:57:28]OFD Sender: No OFD packet to send [12:57:33]OFD Sender: No OFD packet to send [12:57:38]OFD Sender: No OFD packet to send [12:57:43]OFD Sender: No OFD packet to send [12:57:48]OFD Sender: No OFD packet to send [12:57:53]OFD Sender: No OFD packet to send [12:57:58]OFD Sender: No OFD packet to send [12:58:03]OFD Sender: No OFD packet to send [12:58:08]OFD Sender: No OFD packet to send [12:58:13]OFD Sender: No OFD packet to send [12:58:18]OFD Sender: No OFD packet to send [12:58:23]OFD Sender: No OFD packet to send [12:58:28]OFD Sender: No OFD packet to send [12:58:33]OFD Sender: No OFD packet to send [12:58:38]OFD Sender: No OFD packet to send [12:58:43]OFD Sender: No OFD packet to send [12:58:48]OFD Sender: No OFD packet to send [12:58:53]OFD Sender: No OFD packet to send [12:58:58]OFD Sender: No OFD packet to send [12:59:03]OFD Sender: No OFD packet to send [12:59:08]OFD Sender: No OFD packet to send [12:59:13]OFD Sender: No OFD packet to send [12:59:18]OFD Sender: No OFD packet to send [12:59:23]OFD Sender: No OFD packet to send [12:59:28]OFD Sender: No OFD packet to send [12:59:33]OFD Sender: No OFD packet to send [12:59:38]OFD Sender: No OFD packet to send [12:59:43]OFD Sender: No OFD packet to send [12:59:48]OFD Sender: No OFD packet to send [12:59:53]OFD Sender: No OFD packet to send [12:59:58]OFD Sender: No OFD packet to send [13:00:03]OFD Sender: No OFD packet to send [13:00:08]OFD Sender: No OFD packet to send [13:00:13]OFD Sender: No OFD packet to send [13:00:18]OFD Sender: No OFD packet to send [13:00:23]OFD Sender: No OFD packet to send [13:00:28]OFD Sender: No OFD packet to send [13:00:33]OFD Sender: No OFD packet to send [13:00:38]OFD Sender: No OFD packet to send [13:00:43]OFD Sender: No OFD packet to send [13:00:48]OFD Sender: No OFD packet to send [13:00:53]OFD Sender: No OFD packet to send [13:00:58]OFD Sender: No OFD packet to send [13:01:03]OFD Sender: No OFD packet to send [13:01:08]OFD Sender: No OFD packet to send [13:01:13]OFD Sender: No OFD packet to send [13:01:18]OFD Sender: No OFD packet to send [13:01:23]OFD Sender: No OFD packet to send [13:01:28]OFD Sender: No OFD packet to send [13:01:33]OFD Sender: No OFD packet to send [13:01:38]OFD Sender: No OFD packet to send [13:01:43]OFD Sender: No OFD packet to send [13:01:48]OFD Sender: No OFD packet to send [13:01:53]OFD Sender: No OFD packet to send [13:01:58]OFD Sender: No OFD packet to send [13:02:03]OFD Sender: No OFD packet to send [13:02:08]OFD Sender: No OFD packet to send [13:02:13]OFD Sender: No OFD packet to send [13:02:18]OFD Sender: No OFD packet to send [13:02:23]OFD Sender: No OFD packet to send [13:02:28]OFD Sender: No OFD packet to send [13:02:33]OFD Sender: No OFD packet to send [13:02:38]OFD Sender: No OFD packet to send [13:02:43]OFD Sender: No OFD packet to send [13:02:49]OFD Sender: No OFD packet to send [13:02:54]OFD Sender: No OFD packet to send [13:02:59]OFD Sender: No OFD packet to send [13:03:04]OFD Sender: No OFD packet to send [13:03:09]OFD Sender: No OFD packet to send [13:03:14]OFD Sender: No OFD packet to send [13:03:19]OFD Sender: No OFD packet to send [13:03:24]OFD Sender: No OFD packet to send [13:03:29]OFD Sender: No OFD packet to send [13:03:34]OFD Sender: No OFD packet to send [13:03:39]OFD Sender: No OFD packet to send [13:03:44]OFD Sender: No OFD packet to send [13:03:49]OFD Sender: No OFD packet to send [13:03:54]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:14]OFD Sender: No OFD packet to send [13:11:19]OFD Sender: No OFD packet to send [13:11:24]OFD Sender: No OFD packet to send [13:11:29]OFD Sender: No OFD packet to send [13:11:34]OFD Sender: No OFD packet to send [13:11:39]OFD Sender: No OFD packet to send [13:11:44]OFD Sender: No OFD packet to send [13:11:49]OFD Sender: No OFD packet to send [13:11:54]OFD Sender: No OFD packet to send [13:11:59]OFD Sender: No OFD packet to send [13:12:04]OFD Sender: No OFD packet to send [13:12:09]OFD Sender: No OFD packet to send [13:12:14]OFD Sender: No OFD packet to send [13:12:19]OFD Sender: No OFD packet to send [13:12:24]OFD Sender: No OFD packet to send [13:12:29]OFD Sender: No OFD packet to send [13:12:34]OFD Sender: No OFD packet to send [13:12:39]OFD Sender: No OFD packet to send [13:12:44]OFD Sender: No OFD packet to send [13:12:49]OFD Sender: No OFD packet to send [13:12:54]OFD Sender: No OFD packet to send [13:12:59]OFD Sender: No OFD packet to send [13:13:04]OFD Sender: No OFD packet to send [13:13:09]OFD Sender: No OFD packet to send [13:13:14]OFD Sender: No OFD packet to send [13:13:19]OFD Sender: No OFD packet to send [13:13:24]OFD Sender: No OFD packet to send [13:13:29]OFD Sender: No OFD packet to send [13:13:34]OFD Sender: No OFD packet to send [13:13:39]OFD Sender: No OFD packet to send [13:13:44]OFD Sender: No OFD packet to send [13:13:49]OFD Sender: No OFD packet to send [13:13:54]OFD Sender: No OFD packet to send [13:13:59]OFD Sender: No OFD packet to send [13:14:04]OFD Sender: No OFD packet to send [13:14:09]OFD Sender: No OFD packet to send [13:14:14]OFD Sender: No OFD packet to send [13:14:19]OFD Sender: No OFD packet to send [13:14:24]OFD Sender: No OFD packet to send [13:14:29]OFD Sender: No OFD packet to send [13:14:34]OFD Sender: No OFD packet to send [13:14:39]OFD Sender: No OFD packet to send [13:14:44]OFD Sender: No OFD packet to send [13:14:49]OFD Sender: No OFD packet to send [13:14:54]OFD Sender: No OFD packet to send [13:14:59]OFD Sender: No OFD packet to send [13:15:04]OFD Sender: No OFD packet to send [13:15:09]OFD Sender: No OFD packet to send [13:15:14]OFD Sender: No OFD packet to send [13:15:19]OFD Sender: No OFD packet to send [13:15:24]OFD Sender: No OFD packet to send [13:15:29]OFD Sender: No OFD packet to send [13:15:34]OFD Sender: No OFD packet to send [13:15:39]OFD Sender: No OFD packet to send [13:15:44]OFD Sender: No OFD packet to send [13:15:49]OFD Sender: No OFD packet to send [13:15:54]OFD Sender: No OFD packet to send [13:15:59]OFD Sender: No OFD packet to send [13:16:04]OFD Sender: No OFD packet to send [13:16:09]OFD Sender: No OFD packet to send [13:16:14]OFD Sender: No OFD packet to send [13:16:19]OFD Sender: No OFD packet to send [13:16:24]OFD Sender: No OFD packet to send [13:16:29]OFD Sender: No OFD packet to send [13:16:34]OFD Sender: No OFD packet to send [13:16:39]OFD Sender: No OFD packet to send [13:16:44]OFD Sender: No OFD packet to send [13:16:49]OFD Sender: No OFD packet to send [13:16:54]OFD Sender: No OFD packet to send [13:16:57]accept exits with 10 [13:16:57]New connection [13:16:57]New thread 3067227492 created [13:16:57]Thread 3067370852 joined [13:16:57]Waiting for new connection... [13:16:57] Sock 10.Parse request [13:16:57]Sock 10.Check first char [13:16:57]Sock 10.First char is OK [13:16:57]request: POST /json_proto HTTP/1.0 [13:16:57]Method: POST [13:16:57]URL: /json_proto [13:16:57]Method is POST - this is cgi request [13:16:57]url: /json_proto [13:16:57]query_string will be loaded in cgi processing [13:16:57]execute_cgi json_proto POST (null) [13:16:57]execute_cgi path=json_proto method=POST [13:16:57]POST find Content-Length [13:16:57]Host: 172.17.56.68:8080 [13:16:57]Content-Length: 1252 [13:16:57]Content-Type: application/json [13:16:57] [13:16:57]POST finish read [13:16:57]Found Content-Length = 1252 [13:16:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4364", "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" : 85.00, "quantity" : 3.000, "sum" : 255.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.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 }]} ], "payments": [ { "type": 0, "sum" : 435.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:16:57]execute_script... [13:16: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)4364", "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" : 85.00, "quantity" : 3.000, "sum" : 255.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.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 }]} ], "payments": [ { "type": 0, "sum" : 435.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:16:57]POST & json_proto [13:16:57]process_json_proto [13:16:57]json parsed OK: [13:16:57]protocol is kg_v1.0 [13:16:57]action value=close_receipt [13:16:57]process_action close_receipt [13:16:57]cmd_close_receipt [13:16:57]MH_GetDate [13:16:57]Write to MH i2c: F0 00 00 C5 1D D1 [13:16:57]Write i2c OK [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: F0 [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: F0 09 00 [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: F0 09 00 C5 1D 00 D2 13 5F 66 42 69 5C 66 F1 [13:16:57]GetLastDocTimeStamp 1717503282 [13:16:57]current date 1717507026 [13:16:57]FM_GetShiftState [13:16:57]SAM_PROTO_GetShiftState [13:16:57]wFMCommunicate request_size=4 [13:16:57]MH_SAM_APDU [13:16:57]CAPDU: 80 13 01 00 [13:16:57]Write to MH i2c: E2 08 00 C6 1D 80 13 01 00 00 00 00 00 60 [13:16:57]Write i2c OK [13:16:57]MH_I2C_Read... [13:16:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:16:57]Read from MH i2c: E2 [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: E2 0E 00 [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: E2 0E 00 C6 1D 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 F9 [13:16:57]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [13:16:57]wFMCommunicate OK [13:16:57]SAM_PROTO_GetShiftState done [13:16:57]FM_GetShiftState done [13:16:57]opened in 1717459822 [13:16:57]opened+sec_in_day 1717546222 [13:16:57]quantity*price = 25500 [13:16:57]sum+1 = 25501 [13:16:57]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000481453 Напиток энерг Nitro Max 0,45 ж/б 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4631150682851 Нап En Dragon Mojito лайм,клуб ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 435.00 НСП 1% : 3.85 НДС 12% : 46.20 Наличными: 435.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 27 04.06.2024 13:17 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4110 ФПД: 25752848304021 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T131706&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4110&fm=25752848304021&tin=02508201610067®Number=0000000000145775&sum=43500 0 [13:16:58]StoreToDocumentArchive [13:16:58]shift 83 fd 4110 [13:16:58]save to /storage/0083/doc_00004110 [13:16:58]save last doc name /storage/0083/doc_00004110 to /storage/kkm_last_doc_name [13:16:58]save OK [13:16:58]Clear old archive folders... [13:16:58]ProcessDocumentItem done err = 0, tmpTLVsize=543 [13:16:58]tlvbuf is B6F0E3D0 [13:16:58]SAM_PROTO_ClearQueue [13:16:58]wFMCommunicate request_size=4 [13:16:58]MH_SAM_APDU [13:16:58]CAPDU: 80 09 00 00 [13:16:58]Write to MH i2c: E2 08 00 D3 1D 80 09 00 00 00 00 00 00 62 [13:16:58]Write i2c OK [13:16:58]MH_I2C_Read... [13:16:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:16:58]Read from MH i2c: E2 [13:16:58]MH_I2C_Read... [13:16:58]Read from MH i2c: E2 03 00 [13:16:58]MH_I2C_Read... [13:16:58]Read from MH i2c: E2 03 00 D3 1D 00 90 00 64 [13:16:58]RAPDU: 90 00 [13:16:58]wFMCommunicate OK [13:16:58]SAM_PROTO_ClearQueue done [13:16:58]KKMCreateOFDPacket [13:16:58]OFDProtocolAddRootSTLVToBuf [13:16:58]FM_MakeSignedData [13:16:58]FM_MakeSignedData [13:16:58]SAM_PROTO_SignData [13:16:58]wFMCommunicate request_size=4 [13:16:58]MH_SAM_APDU [13:16:58]CAPDU: 80 0D 01 02 [13:16:58]Write to MH i2c: E2 08 00 D4 1D 80 0D 01 02 00 00 00 00 6A [13:16:58]Write i2c OK [13:16:58]MH_I2C_Read... [13:16:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:16:58]Read from MH i2c: E2 [13:16:58]MH_I2C_Read... [13:16:58]Read from MH i2c: E2 03 00 [13:16:58]MH_I2C_Read... [13:16:58]Read from MH i2c: E2 03 00 D4 1D 00 90 00 65 [13:16:58]RAPDU: 90 00 [13:16:58]wFMCommunicate OK [13:16:58]wFMCommunicate request_size=255 [13:16:58]MH_SAM_APDU [13:16:58]CAPDU: 80 0D 02 02 FA 03 00 1F 02 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 B8 0B 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 9C 63 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 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 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 [13:16:58]Write to MH i2c: E2 02 01 D5 1D 80 0D 02 02 FA 00 03 00 1F 02 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 B8 0B 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 9C 63 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 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 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 00 00 24 [13:16:58]Write i2c OK [13:16:58]MH_I2C_Read... [13:16:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:16:58]Read from MH i2c: E2 [13:16:58]MH_I2C_Read... [13:16:58]Read from MH i2c: E2 03 00 [13:16:58]MH_I2C_Read... [13:16:58]Read from MH i2c: E2 03 00 D5 1D 00 90 00 66 [13:16:58]RAPDU: 90 00 [13:16:58]wFMCommunicate OK [13:16:58]wFMCommunicate request_size=255 [13:16:58]MH_SAM_APDU [13:16:58]CAPDU: 80 0D 02 02 FA 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 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 12 00 00 00 00 07 04 06 00 EC A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 D2 13 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [13:16:58]Write to MH i2c: E2 02 01 D6 1D 80 0D 02 02 FA 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 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 12 00 00 00 00 07 04 06 00 EC A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 D2 13 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 06 [13:16:59]Write i2c OK [13:16:59]MH_I2C_Read... [13:16:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:16:59]Read from MH i2c: E2 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: E2 03 00 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: E2 03 00 D6 1D 00 90 00 67 [13:16:59]RAPDU: 90 00 [13:16:59]wFMCommunicate OK [13:16:59]wFMCommunicate request_size=52 [13:16:59]MH_SAM_APDU [13:16:59]CAPDU: 80 0D 02 02 2F 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0E 10 00 00 35 04 06 00 17 6C 0D 60 07 95 [13:16:59]Write to MH i2c: E2 37 00 D7 1D 80 0D 02 02 2F 00 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0E 10 00 00 35 04 06 00 17 6C 0D 60 07 95 00 00 DF [13:16:59]Write i2c OK [13:16:59]MH_I2C_Read... [13:16:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:16:59]Read from MH i2c: E2 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: E2 03 00 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: E2 03 00 D7 1D 00 90 00 68 [13:16:59]RAPDU: 90 00 [13:16:59]wFMCommunicate OK [13:16:59]wFMCommunicate request_size=4 [13:16:59]MH_SAM_APDU [13:16:59]CAPDU: 80 0D 03 02 [13:16:59]Write to MH i2c: E2 08 00 D8 1D 80 0D 03 02 00 00 00 00 70 [13:16:59]Write i2c OK [13:16:59]MH_I2C_Read... [13:16:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:16:59]Read from MH i2c: E2 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: E2 0B 00 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: E2 0B 00 D8 1D 00 48 C7 02 58 4E 8D 44 CF 90 00 C8 [13:16:59]RAPDU: 48 C7 02 58 4E 8D 44 CF 90 00 [13:16:59]wFMCommunicate OK [13:16:59]SAM_PROTO_SignData done [13:16:59]FM_MakeSignedData done [13:16:59]CreateOFDProtocolMessage [13:16:59]wFMCommunicate request_size=4 [13:16:59]MH_SAM_APDU [13:16:59]CAPDU: 80 11 00 00 [13:16:59]Write to MH i2c: E2 08 00 D9 1D 80 11 00 00 00 00 00 00 70 [13:16:59]Write i2c OK [13:16:59]MH_I2C_Read... [13:16:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:16:59]Read from MH i2c: E2 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: E2 17 00 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: E2 17 00 D9 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C3 [13:16:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:16:59]wFMCommunicate OK [13:16:59]CreateOFDProtocolMessage done [13:16:59]OFDSenderStorePacket 4110 [13:16:59]StoreOFDPacket docnum=4110 [13:16:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 33 02 00 00 AB 8C 2B 02 91 1C 5A 03 01 00 03 00 1F 02 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 B8 0B 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 9C 63 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 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 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 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 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 12 00 00 00 00 07 04 06 00 EC A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 D2 13 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0E 10 00 00 35 04 06 00 17 6C 0D 60 07 95 48 C7 02 58 4E 8D 44 CF [13:16:59]CheckFolder [13:16:59]dirname=/storage/ofd_packets [13:16:59]CheckFolder done [13:16:59]ProducePacketName [13:16:59]name=ofd_packets/00004110 [13:16:59]NVStorageSaveData ofd_packets/00004110 [13:16:59]File name is /storage/ofd_packets/00004110 [13:16:59]Write 593 bytes [13:16:59]NVStorageSaveData done [13:16:59]OFDSenderStorePacket done [13:16:59]KKMCreateOFDPacket done [13:16:59]NVStorageSaveData kkm_last_timestamp [13:16:59]File name is /storage/kkm_last_timestamp [13:16:59]Write 4 bytes [13:16:59]NVStorageSaveData done [13:16:59]ExternCall_PrintAddStr [13:16:59]wPrintStart [13:16:59]Write to MH i2c: 01 00 00 DA 1D F7 [13:16:59]Write i2c OK [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: 01 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: 01 07 00 [13:16:59]MH_I2C_Read... [13:16:59]Read from MH i2c: 01 07 00 DA 1D 00 00 00 00 00 FF 0F 0C [13:16:59]RasterBufferAndPrint [13:16:59]line Счет N : (3)4364 [13:16:59]line ИНН: 02508201610067 [13:16:59]line Контрольно-Кассовый Чек [13:16:59]line ПРОДАЖА [13:16:59]line Товар: 4700000480364 [13:16:59]line Напиток энерг Nitro экзотик 0.45 ж/б [13:16:59]line 3.000 * 85.00 [13:16:59]line = 255.00 [13:16:59]line НДС 12% НСП 1% [13:16:59]line > о реализуемом товаре [13:16:59]line Товар: 4700000481453 [13:16:59]line Напиток энерг Nitro Max 0,45 ж/б [13:16:59]line 1.000 * 85.00 [13:16:59]line = 85.00 [13:16:59]line НДС 12% НСП 1% [13:16:59]line > о реализуемом товаре [13:16:59]line Товар: 4631150682851 [13:16:59]line Нап En Dragon Mojito лайм,клуб ж/б 0,45л [13:16:59]line 1.000 * 95.00 [13:16:59]line = 95.00 [13:16:59]line НДС 12% НСП 1% [13:16:59]line > о реализуемом товаре [13:16:59]line ИТОГО: 435.00 [13:16:59]line НСП 1% : 3.85 [13:16:59]line НДС 12% : 46.20 [13:16:59]line Наличными: 435.00 [13:16:59]line Безнал.: 0.00 [13:16:59]line Место: АЗС № 116 "Партнер Нефть" [13:16:59]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:16:59]line СНО: Общий режим [13:16:59]line Чек 27 04.06.2024 13:17 [13:16:59]line Смена: 83 ФФД: 1.0 [13:16:59]line ЗНМ: 0300000233 [13:16:59]line РНМ: 0000000000145775 [13:16:59]line Версия ККМ: v1.0 [13:16:59]line ФМ: 0000000000959360 [13:16:59]line ФД: 4110 [13:16:59]line ФПД: 25752848304021 [13:16:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T131706&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4110&fm=25752848304021&tin=02508201610067®Number=0000000000145775&sum=43500 [13:16:59]OFD Sender: Processing packet 4110 [packets to send 2, broken 1] [13:16:59]ProducePacketName [13:16:59]name=ofd_packets/00004110 [13:16:59]OFD Sender: To server: pG, [13:16:59]CommunicateWithHost lk.salyk.kg:30040 [13:16:59]ConnectInit lk.salyk.kg [13:16:59]line 0 [13:16:59]written 0, free lines is 4095 [13:16:59]Connected sock=9 [13:16:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 33 02 00 00 AB 8C 2B 02 91 1C 5A 03 01 00 03 00 1F 02 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 B8 0B 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 9C 63 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 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 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 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 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 12 00 00 00 00 07 04 06 00 EC A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 D2 13 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0E 10 00 00 35 04 06 00 17 6C 0D 60 07 95 48 C7 02 58 4E 8D 44 CF [13:17:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 A3 95 47 00 7C 3A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0E 10 00 00 F4 03 04 00 D3 BF 5E 66 B6 04 01 00 00 38 8C D3 1A 73 C4 A4 5D [13:17:00]CommunicateWithHost err = 0 [13:17:00]CheckOFDResponse [13:17:00]1017 (14) - 77093643461234 [13:17:00]1041 (16) - 0000000000959360 [13:17:00]1040 (4) - 4110 [13:17:00]1012 (4) - 04.06.2024 07:18 [13:17:00]1206 (1) - 0 [13:17:00]OFD Sender: Remove packet 4110 [13:17:00]ProducePacketName [13:17:00]name=ofd_packets/00004110 [13:17:00]NVStorageDeleteData [13:17:00]Write to MH i2c: 01 00 00 11 1E 2F [13:17:00]Write i2c OK [13:17:00]MH_I2C_Read... [13:17:00]Read from MH i2c: 01 [13:17:00]MH_I2C_Read... [13:17:00]Read from MH i2c: 01 07 00 [13:17:00]MH_I2C_Read... [13:17:00]Read from MH i2c: 01 07 00 11 1E 00 00 00 00 00 AC 0B ED [13:17:00]RasterBufferAndPrint [13:17:00]line [13:17:00]line [13:17:00]line [13:17:00]line [13:17:00]line [13:17:00]written 0, free lines is 2996 [13:17:00]MH_Cut [13:17:00]Write to MH i2c: D1 01 00 18 1E 01 08 [13:17:00]Write i2c OK [13:17:00]MH_I2C_Read... [13:17:00]Read from MH i2c: D1 [13:17:00]MH_I2C_Read... [13:17:00]Read from MH i2c: D1 01 00 [13:17:00]MH_I2C_Read... [13:17:00]Read from MH i2c: D1 01 00 18 1E 00 07 [13:17:00]Write to MH i2c: 01 00 00 19 1E 37 [13:17:00]Write i2c OK [13:17:00]MH_I2C_Read... [13:17:00]OFD Sender: No OFD packet to send [13:17:01]*** Cut start [13:17:01]*** Partial cut [13:17:01]*** CUTSNS_PIN = 1 [13:17:01]*** CUTSNS_PIN = 0 [13:17:01]*** Brake cut motor [13:17:02]Read from MH i2c: 01 [13:17:02]MH_I2C_Read... [13:17:02]*** Stop cut motor [13:17:02]*** Cut end [13:17:02]Read from MH i2c: 01 07 00 [13:17:02]MH_I2C_Read... [13:17:02]Read from MH i2c: 01 07 00 19 1E 00 00 00 00 00 FF 0F 4C [13:17:02]process_action close_receipt done [13:17:02]requested_data is exist [13:17:02]produce_requested_data [13:17:02]requested_item fm.sn is exist - process it [13:17:02]wFMCommunicate request_size=4 [13:17:02]MH_SAM_APDU [13:17:02]CAPDU: 80 11 00 00 [13:17:02]Write to MH i2c: E2 08 00 1A 1E 80 11 00 00 00 00 00 00 B2 [13:17:02]Write i2c OK [13:17:02]MH_I2C_Read... [13:17:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:17:02]Read from MH i2c: E2 [13:17:02]MH_I2C_Read... [13:17:02]Read from MH i2c: E2 17 00 [13:17:02]MH_I2C_Read... [13:17:02]Read from MH i2c: E2 17 00 1A 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 05 [13:17:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:17:02]wFMCommunicate OK [13:17:02]requested_item fd.num is exist - process it [13:17:02]SAM_PROTO_GetFieldsCounters [13:17:02]wFMCommunicate request_size=4 [13:17:02]MH_SAM_APDU [13:17:02]CAPDU: 80 13 00 00 [13:17:02]Write to MH i2c: E2 08 00 1B 1E 80 13 00 00 00 00 00 00 B5 [13:17:02]Write i2c OK [13:17:02]MH_I2C_Read... [13:17:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:17:02]Read from MH i2c: E2 [13:17:02]MH_I2C_Read... [13:17:02]Read from MH i2c: E2 62 00 [13:17:02]MH_I2C_Read... [13:17:02]Read from MH i2c: E2 62 00 1B 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 0E 10 00 00 0E 04 04 00 53 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 9C [13:17:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 0E 10 00 00 0E 04 04 00 53 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 [13:17:02]wFMCommunicate OK [13:17:02]SAM_PROTO_GetFieldsCounters done [13:17:02]requested_item shift.num is exist - process it [13:17:02]requested_item shift.opened is exist - process it [13:17:02]req_shift_opened [13:17:02]FM_GetShiftState [13:17:02]SAM_PROTO_GetShiftState [13:17:02]wFMCommunicate request_size=4 [13:17:02]MH_SAM_APDU [13:17:02]CAPDU: 80 13 01 00 [13:17:02]Write to MH i2c: E2 08 00 1C 1E 80 13 01 00 00 00 00 00 B7 [13:17:02]Write i2c OK [13:17:02]MH_I2C_Read... [13:17:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:17:02]Read from MH i2c: E2 [13:17:02]MH_I2C_Read... [13:17:02]Read from MH i2c: E2 0E 00 [13:17:02]MH_I2C_Read... [13:17:02]Read from MH i2c: E2 0E 00 1C 1E 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 50 [13:17:02]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [13:17:02]wFMCommunicate OK [13:17:02]SAM_PROTO_GetShiftState done [13:17:02]FM_GetShiftState done [13:17:02]req_shift_opened done [13:17:02]requested_item shift.open_date is exist - process it [13:17:02]req_shift_open_date [13:17:02]req_shift_open_date done [13:17:02]produce_requested_data done [13:17:02]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4110,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [13:17:02]process_action_free close_receipt [13:17:02]json_value_free [13:17:02]json_value_free done [13:17:02]process_json_proto returns [13:17:02]Send response to host [13:17:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4110,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [13:17:02]free response buf [13:17:02]execute_script done [13:17:02]execute_script returns [13:17:02]free content buf [13:17:02]Sock 10.Close socket [13:17:02]Sock 10.Thread stoped [13:17:05]OFD Sender: No OFD packet to send [13:17:10]OFD Sender: No OFD packet to send [13:17:15]OFD Sender: No OFD packet to send [13:17:20]OFD Sender: No OFD packet to send [13:17:25]OFD Sender: No OFD packet to send [13:17:30]OFD Sender: No OFD packet to send [13:17:35]OFD Sender: No OFD packet to send [13:17:40]OFD Sender: No OFD packet to send [13:17:45]OFD Sender: No OFD packet to send [13:17:50]OFD Sender: No OFD packet to send [13:17:55]OFD Sender: No OFD packet to send [13:18:00]OFD Sender: No OFD packet to send [13:18:05]OFD Sender: No OFD packet to send [13:18:10]OFD Sender: No OFD packet to send [13:18:15]OFD Sender: No OFD packet to send [13:18:20]OFD Sender: No OFD packet to send [13:18:25]OFD Sender: No OFD packet to send [13:18:30]OFD Sender: No OFD packet to send [13:18:35]OFD Sender: No OFD packet to send [13:18:40]OFD Sender: No OFD packet to send [13:18:45]OFD Sender: No OFD packet to send [13:18:50]OFD Sender: No OFD packet to send [13:18:55]OFD Sender: No OFD packet to send [13:19:00]OFD Sender: No OFD packet to send [13:19:05]OFD Sender: No OFD packet to send [13:19:10]OFD Sender: No OFD packet to send [13:19:15]OFD Sender: No OFD packet to send [13:19:20]OFD Sender: No OFD packet to send [13:19:25]OFD Sender: No OFD packet to send [13:19:30]OFD Sender: No OFD packet to send [13:19:35]OFD Sender: No OFD packet to send [13:19:40]OFD Sender: No OFD packet to send [13:19:45]OFD Sender: No OFD packet to send [13:19:50]OFD Sender: No OFD packet to send [13:19:55]OFD Sender: No OFD packet to send [13:20:00]OFD Sender: No OFD packet to send [13:20:05]OFD Sender: No OFD packet to send [13:20:10]OFD Sender: No OFD packet to send [13:20:15]OFD Sender: No OFD packet to send [13:20:20]OFD Sender: No OFD packet to send [13:20:25]OFD Sender: No OFD packet to send [13:20:30]OFD Sender: No OFD packet to send [13:20:35]OFD Sender: No OFD packet to send [13:20:40]OFD Sender: No OFD packet to send [13:20:45]OFD Sender: No OFD packet to send [13:20:50]OFD Sender: No OFD packet to send [13:20:55]OFD Sender: No OFD packet to send [13:21:00]OFD Sender: No OFD packet to send [13:21:05]OFD Sender: No OFD packet to send [13:21:10]OFD Sender: No OFD packet to send [13:21:15]OFD Sender: No OFD packet to send [13:21:20]OFD Sender: No OFD packet to send [13:21:25]OFD Sender: No OFD packet to send [13:21:30]OFD Sender: No OFD packet to send [13:21:35]OFD Sender: No OFD packet to send [13:21:40]OFD Sender: No OFD packet to send [13:21:45]OFD Sender: No OFD packet to send [13:21:50]OFD Sender: No OFD packet to send [13:21:55]OFD Sender: No OFD packet to send [13:22:00]OFD Sender: No OFD packet to send [13:22:05]OFD Sender: No OFD packet to send [13:22:10]OFD Sender: No OFD packet to send [13:22:15]OFD Sender: No OFD packet to send [13:22:20]OFD Sender: No OFD packet to send [13:22:25]OFD Sender: No OFD packet to send [13:22:30]OFD Sender: No OFD packet to send [13:22:35]OFD Sender: No OFD packet to send [13:22:40]OFD Sender: No OFD packet to send [13:22:45]OFD Sender: No OFD packet to send [13:22:50]OFD Sender: No OFD packet to send [13:22:55]OFD Sender: No OFD packet to send [13:23:00]OFD Sender: No OFD packet to send [13:23:05]OFD Sender: No OFD packet to send [13:23:10]OFD Sender: No OFD packet to send [13:23:15]OFD Sender: No OFD packet to send [13:23:20]OFD Sender: No OFD packet to send [13:23:25]OFD Sender: No OFD packet to send [13:23:30]OFD Sender: No OFD packet to send [13:23:35]OFD Sender: No OFD packet to send [13:23:40]OFD Sender: No OFD packet to send [13:23:45]OFD Sender: No OFD packet to send [13:23:50]OFD Sender: No OFD packet to send [13:23:55]OFD Sender: No OFD packet to send [13:24:00]OFD Sender: No OFD packet to send [13:24:05]OFD Sender: No OFD packet to send [13:24:10]OFD Sender: No OFD packet to send [13:24:15]OFD Sender: No OFD packet to send [13:24:20]OFD Sender: No OFD packet to send [13:24:25]OFD Sender: No OFD packet to send [13:24:30]OFD Sender: No OFD packet to send [13:24:35]OFD Sender: No OFD packet to send [13:24:40]OFD Sender: No OFD packet to send [13:24:45]OFD Sender: No OFD packet to send [13:24:50]OFD Sender: No OFD packet to send [13:24:55]OFD Sender: No OFD packet to send [13:25:00]OFD Sender: No OFD packet to send [13:25:05]OFD Sender: No OFD packet to send [13:25:11]OFD Sender: No OFD packet to send [13:25:16]OFD Sender: No OFD packet to send [13:25:21]OFD Sender: No OFD packet to send [13:25:26]OFD Sender: No OFD packet to send [13:25:31]OFD Sender: No OFD packet to send [13:25:36]OFD Sender: No OFD packet to send [13:25:41]OFD Sender: No OFD packet to send [13:25:46]OFD Sender: No OFD packet to send [13:25:51]OFD Sender: No OFD packet to send [13:25:56]OFD Sender: No OFD packet to send [13:26:01]OFD Sender: No OFD packet to send [13:26:06]OFD Sender: No OFD packet to send [13:26:11]OFD Sender: No OFD packet to send [13:26:16]OFD Sender: No OFD packet to send [13:26:21]OFD Sender: No OFD packet to send [13:26:26]OFD Sender: No OFD packet to send [13:26:31]OFD Sender: No OFD packet to send [13:26:36]OFD Sender: No OFD packet to send [13:26:41]OFD Sender: No OFD packet to send [13:26:46]OFD Sender: No OFD packet to send [13:26:51]OFD Sender: No OFD packet to send [13:26:56]OFD Sender: No OFD packet to send [13:27:01]OFD Sender: No OFD packet to send [13:27:06]OFD Sender: No OFD packet to send [13:27:11]OFD Sender: No OFD packet to send [13:27:16]OFD Sender: No OFD packet to send [13:27:21]OFD Sender: No OFD packet to send [13:27:26]OFD Sender: No OFD packet to send [13:27:31]OFD Sender: No OFD packet to send [13:27:36]OFD Sender: No OFD packet to send [13:27:41]OFD Sender: No OFD packet to send [13:27:46]OFD Sender: No OFD packet to send [13:27:51]OFD Sender: No OFD packet to send [13:27:56]OFD Sender: No OFD packet to send [13:28:01]OFD Sender: No OFD packet to send [13:28:06]OFD Sender: No OFD packet to send [13:28:11]OFD Sender: No OFD packet to send [13:28:16]OFD Sender: No OFD packet to send [13:28:21]OFD Sender: No OFD packet to send [13:28:26]OFD Sender: No OFD packet to send [13:28:31]OFD Sender: No OFD packet to send [13:28:36]OFD Sender: No OFD packet to send [13:28:41]OFD Sender: No OFD packet to send [13:28:46]OFD Sender: No OFD packet to send [13:28:51]OFD Sender: No OFD packet to send [13:28:56]OFD Sender: No OFD packet to send [13:29:01]OFD Sender: No OFD packet to send [13:29:06]OFD Sender: No OFD packet to send [13:29:11]OFD Sender: No OFD packet to send [13:29:16]OFD Sender: No OFD packet to send [13:29:21]OFD Sender: No OFD packet to send [13:29:26]OFD Sender: No OFD packet to send [13:29:31]OFD Sender: No OFD packet to send [13:29:36]OFD Sender: No OFD packet to send [13:29:41]OFD Sender: No OFD packet to send [13:29:46]OFD Sender: No OFD packet to send [13:29:51]OFD Sender: No OFD packet to send [13:29:56]OFD Sender: No OFD packet to send [13:30:01]OFD Sender: No OFD packet to send [13:30:06]OFD Sender: No OFD packet to send [13:30:11]OFD Sender: No OFD packet to send [13:30:16]OFD Sender: No OFD packet to send [13:30:21]OFD Sender: No OFD packet to send [13:30:26]OFD Sender: No OFD packet to send [13:30:31]OFD Sender: No OFD packet to send [13:30:36]OFD Sender: No OFD packet to send [13:30:41]OFD Sender: No OFD packet to send [13:30:46]OFD Sender: No OFD packet to send [13:30:51]OFD Sender: No OFD packet to send [13:30:56]OFD Sender: No OFD packet to send [13:31:01]OFD Sender: No OFD packet to send [13:31:06]OFD Sender: No OFD packet to send [13:31:11]OFD Sender: No OFD packet to send [13:31:16]OFD Sender: No OFD packet to send [13:31:21]OFD Sender: No OFD packet to send [13:31:26]OFD Sender: No OFD packet to send [13:31:31]OFD Sender: No OFD packet to send [13:31:36]OFD Sender: No OFD packet to send [13:31:41]OFD Sender: No OFD packet to send [13:31:46]OFD Sender: No OFD packet to send [13:31:51]OFD Sender: No OFD packet to send [13:31:56]OFD Sender: No OFD packet to send [13:32:01]OFD Sender: No OFD packet to send [13:32:06]OFD Sender: No OFD packet to send [13:32:11]OFD Sender: No OFD packet to send [13:32:16]OFD Sender: No OFD packet to send [13:32:21]OFD Sender: No OFD packet to send [13:32:26]OFD Sender: No OFD packet to send [13:32:31]OFD Sender: No OFD packet to send [13:32:36]OFD Sender: No OFD packet to send [13:32:41]OFD Sender: No OFD packet to send [13:32:46]OFD Sender: No OFD packet to send [13:32:51]OFD Sender: No OFD packet to send [13:32:56]OFD Sender: No OFD packet to send [13:33:01]OFD Sender: No OFD packet to send [13:33:06]OFD Sender: No OFD packet to send [13:33:11]OFD Sender: No OFD packet to send [13:33:16]OFD Sender: No OFD packet to send [13:33:21]OFD Sender: No OFD packet to send [13:33:26]OFD Sender: No OFD packet to send [13:33:31]OFD Sender: No OFD packet to send [13:33:36]OFD Sender: No OFD packet to send [13:33:41]OFD Sender: No OFD packet to send [13:33:46]OFD Sender: No OFD packet to send [13:33:51]OFD Sender: No OFD packet to send [13:33:56]OFD Sender: No OFD packet to send [13:34:01]OFD Sender: No OFD packet to send [13:34:06]OFD Sender: No OFD packet to send [13:34:11]OFD Sender: No OFD packet to send [13:34:16]OFD Sender: No OFD packet to send [13:34:21]OFD Sender: No OFD packet to send [13:34:26]OFD Sender: No OFD packet to send [13:34:31]OFD Sender: No OFD packet to send [13:34:36]OFD Sender: No OFD packet to send [13:34:41]OFD Sender: No OFD packet to send [13:34:46]OFD Sender: No OFD packet to send [13:34:51]OFD Sender: No OFD packet to send [13:34:56]OFD Sender: No OFD packet to send [13:35:01]OFD Sender: No OFD packet to send [13:35:06]OFD Sender: No OFD packet to send [13:35:11]OFD Sender: No OFD packet to send [13:35:16]OFD Sender: No OFD packet to send [13:35:21]OFD Sender: No OFD packet to send [13:35:26]OFD Sender: No OFD packet to send [13:35:31]OFD Sender: No OFD packet to send [13:35:36]OFD Sender: No OFD packet to send [13:35:41]OFD Sender: No OFD packet to send [13:35:46]OFD Sender: No OFD packet to send [13:35:51]OFD Sender: No OFD packet to send [13:35:56]OFD Sender: No OFD packet to send [13:36:01]OFD Sender: No OFD packet to send [13:36:06]OFD Sender: No OFD packet to send [13:36:11]OFD Sender: No OFD packet to send [13:36:16]OFD Sender: No OFD packet to send [13:36:21]OFD Sender: No OFD packet to send [13:36:26]OFD Sender: No OFD packet to send [13:36:31]OFD Sender: No OFD packet to send [13:36:36]OFD Sender: No OFD packet to send [13:36:41]OFD Sender: No OFD packet to send [13:36:46]OFD Sender: No OFD packet to send [13:36:51]OFD Sender: No OFD packet to send [13:36:56]OFD Sender: No OFD packet to send [13:37:01]OFD Sender: No OFD packet to send [13:37:06]OFD Sender: No OFD packet to send [13:37:11]OFD Sender: No OFD packet to send [13:37:16]OFD Sender: No OFD packet to send [13:37:21]OFD Sender: No OFD packet to send [13:37:26]OFD Sender: No OFD packet to send [13:37:31]OFD Sender: No OFD packet to send [13:37:36]OFD Sender: No OFD packet to send [13:37:41]OFD Sender: No OFD packet to send [13:37:46]OFD Sender: No OFD packet to send [13:37:51]OFD Sender: No OFD packet to send [13:37:56]OFD Sender: No OFD packet to send [13:38:01]OFD Sender: No OFD packet to send [13:38:06]OFD Sender: No OFD packet to send [13:38:11]OFD Sender: No OFD packet to send [13:38:16]OFD Sender: No OFD packet to send [13:38:21]OFD Sender: No OFD packet to send [13:38:26]OFD Sender: No OFD packet to send [13:38:31]OFD Sender: No OFD packet to send [13:38:36]OFD Sender: No OFD packet to send [13:38:41]OFD Sender: No OFD packet to send [13:38:46]OFD Sender: No OFD packet to send [13:38:51]OFD Sender: No OFD packet to send [13:38:56]OFD Sender: No OFD packet to send [13:39:01]OFD Sender: No OFD packet to send [13:39:06]OFD Sender: No OFD packet to send [13:39:11]OFD Sender: No OFD packet to send [13:39:16]OFD Sender: No OFD packet to send [13:39:21]OFD Sender: No OFD packet to send [13:39:26]OFD Sender: No OFD packet to send [13:39:31]OFD Sender: No OFD packet to send [13:39:36]OFD Sender: No OFD packet to send [13:39:41]OFD Sender: No OFD packet to send [13:39:46]OFD Sender: No OFD packet to send [13:39:51]OFD Sender: No OFD packet to send [13:39:56]OFD Sender: No OFD packet to send [13:40:01]OFD Sender: No OFD packet to send [13:40:06]OFD Sender: No OFD packet to send [13:40:07]accept exits with 8 [13:40:07]New connection [13:40:07]New thread 3067370852 created [13:40:07]Thread 3067227492 joined [13:40:07]Waiting for new connection... [13:40:07] Sock 8.Parse request [13:40:07]Sock 8.Check first char [13:40:07]Sock 8.First char is OK [13:40:07]request: POST /json_proto HTTP/1.0 [13:40:07]Method: POST [13:40:07]URL: /json_proto [13:40:07]Method is POST - this is cgi request [13:40:07]url: /json_proto [13:40:07]query_string will be loaded in cgi processing [13:40:07]execute_cgi json_proto POST (null) [13:40:07]execute_cgi path=json_proto method=POST [13:40:07]POST find Content-Length [13:40:07]Host: 172.17.56.68:8080 [13:40:07]Content-Length: 655 [13:40:07]Content-Type: application/json [13:40:07] [13:40:07]POST finish read [13:40:07]Found Content-Length = 655 [13:40:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4365", "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" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:40:07]execute_script... [13:40: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)4365", "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" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:40:07]POST & json_proto [13:40:07]process_json_proto [13:40:07]json parsed OK: [13:40:07]protocol is kg_v1.0 [13:40:07]action value=close_receipt [13:40:07]process_action close_receipt [13:40:07]cmd_close_receipt [13:40:07]MH_GetDate [13:40:07]Write to MH i2c: F0 00 00 1D 1E 2A [13:40:07]Write i2c OK [13:40:07]MH_I2C_Read... [13:40:07]Read from MH i2c: F0 [13:40:07]MH_I2C_Read... [13:40:07]Read from MH i2c: F0 09 00 [13:40:07]MH_I2C_Read... [13:40:07]Read from MH i2c: F0 09 00 1D 1E 00 40 19 5F 66 42 69 5C 66 BE [13:40:07]GetLastDocTimeStamp 1717507026 [13:40:07]current date 1717508416 [13:40:07]FM_GetShiftState [13:40:07]SAM_PROTO_GetShiftState [13:40:07]wFMCommunicate request_size=4 [13:40:07]MH_SAM_APDU [13:40:07]CAPDU: 80 13 01 00 [13:40:07]Write to MH i2c: E2 08 00 1E 1E 80 13 01 00 00 00 00 00 B9 [13:40:07]Write i2c OK [13:40:07]MH_I2C_Read... [13:40:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:40:07]Read from MH i2c: E2 [13:40:07]MH_I2C_Read... [13:40:07]Read from MH i2c: E2 0E 00 [13:40:07]MH_I2C_Read... [13:40:07]Read from MH i2c: E2 0E 00 1E 1E 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 52 [13:40:07]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [13:40:07]wFMCommunicate OK [13:40:07]SAM_PROTO_GetShiftState done [13:40:07]FM_GetShiftState done [13:40:07]opened in 1717459822 [13:40:07]opened+sec_in_day 1717546222 [13:40:07]quantity*price = 8500 [13:40:07]sum+1 = 8501 [13:40:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 28 04.06.2024 13:40 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4111 ФПД: 224692529600202 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T134016&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4111&fm=224692529600202&tin=02508201610067®Number=0000000000145775&sum=8500 0 [13:40:08]StoreToDocumentArchive [13:40:08]shift 83 fd 4111 [13:40:08]save to /storage/0083/doc_00004111 [13:40:08]save last doc name /storage/0083/doc_00004111 to /storage/kkm_last_doc_name [13:40:08]save OK [13:40:08]Clear old archive folders... [13:40:08]ProcessDocumentItem done err = 0, tmpTLVsize=288 [13:40:08]tlvbuf is 0077E2B0 [13:40:08]SAM_PROTO_ClearQueue [13:40:08]wFMCommunicate request_size=4 [13:40:08]MH_SAM_APDU [13:40:08]CAPDU: 80 09 00 00 [13:40:08]Write to MH i2c: E2 08 00 2B 1E 80 09 00 00 00 00 00 00 BB [13:40:08]Write i2c OK [13:40:08]MH_I2C_Read... [13:40:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:40:08]Read from MH i2c: E2 [13:40:08]MH_I2C_Read... [13:40:08]Read from MH i2c: E2 03 00 [13:40:08]MH_I2C_Read... [13:40:08]Read from MH i2c: E2 03 00 2B 1E 00 90 00 BD [13:40:08]RAPDU: 90 00 [13:40:08]wFMCommunicate OK [13:40:08]SAM_PROTO_ClearQueue done [13:40:08]KKMCreateOFDPacket [13:40:08]OFDProtocolAddRootSTLVToBuf [13:40:08]FM_MakeSignedData [13:40:08]FM_MakeSignedData [13:40:08]SAM_PROTO_SignData [13:40:08]wFMCommunicate request_size=4 [13:40:08]MH_SAM_APDU [13:40:08]CAPDU: 80 0D 01 02 [13:40:08]Write to MH i2c: E2 08 00 2C 1E 80 0D 01 02 00 00 00 00 C3 [13:40:08]Write i2c OK [13:40:08]MH_I2C_Read... [13:40:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:40:08]Read from MH i2c: E2 [13:40:08]MH_I2C_Read... [13:40:08]Read from MH i2c: E2 03 00 [13:40:08]MH_I2C_Read... [13:40:08]Read from MH i2c: E2 03 00 2C 1E 00 90 00 BE [13:40:08]RAPDU: 90 00 [13:40:08]wFMCommunicate OK [13:40:08]wFMCommunicate request_size=255 [13:40:08]MH_SAM_APDU [13:40:08]CAPDU: 80 0D 02 02 FA 03 00 20 01 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 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 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 40 19 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 [13:40:08]Write to MH i2c: E2 02 01 2D 1E 80 0D 02 02 FA 00 03 00 20 01 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 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 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 40 19 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 00 00 14 [13:40:08]Write i2c OK [13:40:08]MH_I2C_Read... [13:40:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:40:09]Read from MH i2c: E2 [13:40:09]MH_I2C_Read... [13:40:09]Read from MH i2c: E2 03 00 [13:40:09]MH_I2C_Read... [13:40:09]Read from MH i2c: E2 03 00 2D 1E 00 90 00 BF [13:40:09]RAPDU: 90 00 [13:40:09]wFMCommunicate OK [13:40:09]wFMCommunicate request_size=47 [13:40:09]MH_SAM_APDU [13:40:09]CAPDU: 80 0D 02 02 2A 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0F 10 00 00 35 04 06 00 CC 5B 4E 69 16 CA [13:40:09]Write to MH i2c: E2 32 00 2E 1E 80 0D 02 02 2A 00 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0F 10 00 00 35 04 06 00 CC 5B 4E 69 16 CA 00 00 6B [13:40:09]Write i2c OK [13:40:09]MH_I2C_Read... [13:40:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:40:09]Read from MH i2c: E2 [13:40:09]MH_I2C_Read... [13:40:09]Read from MH i2c: E2 03 00 [13:40:09]MH_I2C_Read... [13:40:09]Read from MH i2c: E2 03 00 2E 1E 00 90 00 C0 [13:40:09]RAPDU: 90 00 [13:40:09]wFMCommunicate OK [13:40:09]wFMCommunicate request_size=4 [13:40:09]MH_SAM_APDU [13:40:09]CAPDU: 80 0D 03 02 [13:40:09]Write to MH i2c: E2 08 00 2F 1E 80 0D 03 02 00 00 00 00 C8 [13:40:09]Write i2c OK [13:40:09]MH_I2C_Read... [13:40:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:40:09]Read from MH i2c: E2 [13:40:09]MH_I2C_Read... [13:40:09]Read from MH i2c: E2 0B 00 [13:40:09]MH_I2C_Read... [13:40:09]Read from MH i2c: E2 0B 00 2F 1E 00 2C 79 E4 2E 69 06 EC 89 90 00 64 [13:40:09]RAPDU: 2C 79 E4 2E 69 06 EC 89 90 00 [13:40:09]wFMCommunicate OK [13:40:09]SAM_PROTO_SignData done [13:40:09]FM_MakeSignedData done [13:40:09]CreateOFDProtocolMessage [13:40:09]wFMCommunicate request_size=4 [13:40:09]MH_SAM_APDU [13:40:09]CAPDU: 80 11 00 00 [13:40:09]Write to MH i2c: E2 08 00 30 1E 80 11 00 00 00 00 00 00 C8 [13:40:09]Write i2c OK [13:40:09]MH_I2C_Read... [13:40:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:40:09]Read from MH i2c: E2 [13:40:09]MH_I2C_Read... [13:40:09]Read from MH i2c: E2 17 00 [13:40:09]MH_I2C_Read... [13:40:09]Read from MH i2c: E2 17 00 30 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 1B [13:40:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:40:09]wFMCommunicate OK [13:40:09]CreateOFDProtocolMessage done [13:40:09]OFDSenderStorePacket 4111 [13:40:09]StoreOFDPacket docnum=4111 [13:40:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 34 01 00 00 FB E8 2C 01 75 24 5A 03 01 00 03 00 20 01 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 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 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 40 19 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0F 10 00 00 35 04 06 00 CC 5B 4E 69 16 CA 2C 79 E4 2E 69 06 EC 89 [13:40:09]CheckFolder [13:40:09]dirname=/storage/ofd_packets [13:40:09]CheckFolder done [13:40:09]ProducePacketName [13:40:09]name=ofd_packets/00004111 [13:40:09]NVStorageSaveData ofd_packets/00004111 [13:40:09]File name is /storage/ofd_packets/00004111 [13:40:09]Write 338 bytes [13:40:09]NVStorageSaveData done [13:40:09]OFDSenderStorePacket done [13:40:09]KKMCreateOFDPacket done [13:40:09]NVStorageSaveData kkm_last_timestamp [13:40:09]File name is /storage/kkm_last_timestamp [13:40:09]Write 4 bytes [13:40:09]NVStorageSaveData done [13:40:09]ExternCall_PrintAddStr [13:40:09]wPrintStart [13:40:09]Write to MH i2c: 01 00 00 31 1E 4F [13:40:09]Write i2c OK [13:40:09]MH_I2C_Read... [13:40:09]Read from MH i2c: 01 [13:40:09]MH_I2C_Read... [13:40:09]Read from MH i2c: 01 07 00 [13:40:09]MH_I2C_Read... [13:40:09]Read from MH i2c: 01 07 00 31 1E 00 00 00 00 00 FF 0F 64 [13:40:09]RasterBufferAndPrint [13:40:09]line Счет N : (3)4365 [13:40:09]OFD Sender: Processing packet 4111 [packets to send 2, broken 1] [13:40:09]line ИНН: 02508201610067 [13:40:09]ProducePacketName [13:40:09]line Контрольно-Кассовый Чек [13:40:09]name=ofd_packets/00004111 [13:40:09]line ПРОДАЖА [13:40:09]OFD Sender: To server: pG, [13:40:09]line Товар: 4700000481453 [13:40:09]CommunicateWithHost lk.salyk.kg:30040 [13:40:09]line Напиток энерг Nitro Max 0,45 ж/б [13:40:09]ConnectInit lk.salyk.kg [13:40:09]line 1.000 * 85.00 [13:40:09]line = 85.00 [13:40:09]line НДС 12% НСП 1% [13:40:09]line > о реализуемом товаре [13:40:09]line ИТОГО: 85.00 [13:40:09]line НСП 1% : 0.75 [13:40:09]line НДС 12% : 9.03 [13:40:09]line Наличными: 85.00 [13:40:09]line Безнал.: 0.00 [13:40:09]line Место: АЗС № 116 "Партнер Нефть" [13:40:09]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:40:09]line СНО: Общий режим [13:40:09]line Чек 28 04.06.2024 13:40 [13:40:09]line Смена: 83 ФФД: 1.0 [13:40:09]line ЗНМ: 0300000233 [13:40:09]line РНМ: 0000000000145775 [13:40:09]line Версия ККМ: v1.0 [13:40:09]line ФМ: 0000000000959360 [13:40:09]line ФД: 4111 [13:40:09]line ФПД: 224692529600202 [13:40:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T134016&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4111&fm=224692529600202&tin=02508201610067®Number=0000000000145775&sum=8500 [13:40:09]line 0 [13:40:09]Connected sock=10 [13:40:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 34 01 00 00 FB E8 2C 01 75 24 5A 03 01 00 03 00 20 01 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 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 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 40 19 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0F 10 00 00 35 04 06 00 CC 5B 4E 69 16 CA 2C 79 E4 2E 69 06 EC 89 [13:40:09]written 0, free lines is 4095 [13:40:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 20 15 47 00 97 C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 0F 10 00 00 F4 03 04 00 41 C5 5E 66 B6 04 01 00 00 23 1E 8B 6B A4 B6 96 93 [13:40:09]CommunicateWithHost err = 0 [13:40:09]CheckOFDResponse [13:40:09]1017 (14) - 77093643461234 [13:40:09]1041 (16) - 0000000000959360 [13:40:09]1040 (4) - 4111 [13:40:09]1012 (4) - 04.06.2024 07:41 [13:40:09]1206 (1) - 0 [13:40:09]OFD Sender: Remove packet 4111 [13:40:09]ProducePacketName [13:40:09]name=ofd_packets/00004111 [13:40:09]NVStorageDeleteData [13:40:10]Write to MH i2c: 01 00 00 5A 1E 78 [13:40:10]Write i2c OK [13:40:10]MH_I2C_Read... [13:40:10]Read from MH i2c: 01 [13:40:10]MH_I2C_Read... [13:40:10]Read from MH i2c: 01 07 00 [13:40:10]MH_I2C_Read... [13:40:10]Read from MH i2c: 01 07 00 5A 1E 00 00 00 00 00 A4 0C 2F [13:40:10]RasterBufferAndPrint [13:40:10]line [13:40:10]line [13:40:10]line [13:40:10]line [13:40:10]line [13:40:10]written 0, free lines is 3241 [13:40:10]MH_Cut [13:40:10]Write to MH i2c: D1 01 00 61 1E 01 51 [13:40:10]Write i2c OK [13:40:10]MH_I2C_Read... [13:40:10]Read from MH i2c: D1 [13:40:10]MH_I2C_Read... [13:40:10]Read from MH i2c: D1 01 00 [13:40:10]MH_I2C_Read... [13:40:10]Read from MH i2c: D1 01 00 61 1E 00 50 [13:40:10]Write to MH i2c: 01 00 00 62 1E 80 [13:40:10]Write i2c OK [13:40:10]MH_I2C_Read... [13:40:10]OFD Sender: No OFD packet to send [13:40:11]*** Cut start [13:40:11]*** Partial cut [13:40:11]*** CUTSNS_PIN = 1 [13:40:11]*** CUTSNS_PIN = 0 [13:40:11]*** Brake cut motor [13:40:11]Read from MH i2c: 01 [13:40:11]MH_I2C_Read... [13:40:11]*** Stop cut motor [13:40:11]*** Cut end [13:40:11]Read from MH i2c: 01 07 00 [13:40:11]MH_I2C_Read... [13:40:11]Read from MH i2c: 01 07 00 62 1E 00 00 00 00 00 FF 0F 95 [13:40:11]process_action close_receipt done [13:40:11]requested_data is exist [13:40:11]produce_requested_data [13:40:11]requested_item fm.sn is exist - process it [13:40:11]wFMCommunicate request_size=4 [13:40:11]MH_SAM_APDU [13:40:11]CAPDU: 80 11 00 00 [13:40:11]Write to MH i2c: E2 08 00 63 1E 80 11 00 00 00 00 00 00 FB [13:40:11]Write i2c OK [13:40:11]MH_I2C_Read... [13:40:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:40:11]Read from MH i2c: E2 [13:40:11]MH_I2C_Read... [13:40:11]Read from MH i2c: E2 17 00 [13:40:11]MH_I2C_Read... [13:40:11]Read from MH i2c: E2 17 00 63 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 4E [13:40:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:40:11]wFMCommunicate OK [13:40:11]requested_item fd.num is exist - process it [13:40:11]SAM_PROTO_GetFieldsCounters [13:40:11]wFMCommunicate request_size=4 [13:40:11]MH_SAM_APDU [13:40:11]CAPDU: 80 13 00 00 [13:40:11]Write to MH i2c: E2 08 00 64 1E 80 13 00 00 00 00 00 00 FE [13:40:11]Write i2c OK [13:40:11]MH_I2C_Read... [13:40:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:40:11]Read from MH i2c: E2 [13:40:11]MH_I2C_Read... [13:40:11]Read from MH i2c: E2 62 00 [13:40:11]MH_I2C_Read... [13:40:11]Read from MH i2c: E2 62 00 64 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 0F 10 00 00 0E 04 04 00 53 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 E9 [13:40:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 0F 10 00 00 0E 04 04 00 53 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 [13:40:11]wFMCommunicate OK [13:40:11]SAM_PROTO_GetFieldsCounters done [13:40:11]requested_item shift.num is exist - process it [13:40:11]requested_item shift.opened is exist - process it [13:40:11]req_shift_opened [13:40:11]FM_GetShiftState [13:40:11]SAM_PROTO_GetShiftState [13:40:11]wFMCommunicate request_size=4 [13:40:11]MH_SAM_APDU [13:40:11]CAPDU: 80 13 01 00 [13:40:11]Write to MH i2c: E2 08 00 65 1E 80 13 01 00 00 00 00 00 00 [13:40:11]Write i2c OK [13:40:11]MH_I2C_Read... [13:40:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:40:11]Read from MH i2c: E2 [13:40:11]MH_I2C_Read... [13:40:11]Read from MH i2c: E2 0E 00 [13:40:11]MH_I2C_Read... [13:40:11]Read from MH i2c: E2 0E 00 65 1E 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 99 [13:40:11]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [13:40:11]wFMCommunicate OK [13:40:11]SAM_PROTO_GetShiftState done [13:40:11]FM_GetShiftState done [13:40:11]req_shift_opened done [13:40:11]requested_item shift.open_date is exist - process it [13:40:11]req_shift_open_date [13:40:11]req_shift_open_date done [13:40:11]produce_requested_data done [13:40:11]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4111,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [13:40:11]process_action_free close_receipt [13:40:11]json_value_free [13:40:11]json_value_free done [13:40:11]process_json_proto returns [13:40:11]Send response to host [13:40:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4111,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [13:40:11]free response buf [13:40:11]execute_script done [13:40:11]execute_script returns [13:40:11]free content buf [13:40:11]Sock 8.Close socket [13:40:11]Sock 8.Thread stoped [13:40:15]OFD Sender: No OFD packet to send [13:40:20]OFD Sender: No OFD packet to send [13:40:25]OFD Sender: No OFD packet to send [13:40:30]OFD Sender: No OFD packet to send [13:40:35]OFD Sender: No OFD packet to send [13:40:40]OFD Sender: No OFD packet to send [13:40:45]OFD Sender: No OFD packet to send [13:40:50]OFD Sender: No OFD packet to send [13:40:55]OFD Sender: No OFD packet to send [13:41:00]OFD Sender: No OFD packet to send [13:41:05]OFD Sender: No OFD packet to send [13:41:10]OFD Sender: No OFD packet to send [13:41:15]OFD Sender: No OFD packet to send [13:41:20]OFD Sender: No OFD packet to send [13:41:25]OFD Sender: No OFD packet to send [13:41:30]OFD Sender: No OFD packet to send [13:41:35]OFD Sender: No OFD packet to send [13:41:40]OFD Sender: No OFD packet to send [13:41:45]OFD Sender: No OFD packet to send [13:41:50]OFD Sender: No OFD packet to send [13:41:55]OFD Sender: No OFD packet to send [13:42:00]OFD Sender: No OFD packet to send [13:42:05]OFD Sender: No OFD packet to send [13:42:10]OFD Sender: No OFD packet to send [13:42:15]OFD Sender: No OFD packet to send [13:42:20]OFD Sender: No OFD packet to send [13:42:25]OFD Sender: No OFD packet to send [13:42:30]OFD Sender: No OFD packet to send [13:42:35]OFD Sender: No OFD packet to send [13:42:40]OFD Sender: No OFD packet to send [13:42:45]OFD Sender: No OFD packet to send [13:42:50]OFD Sender: No OFD packet to send [13:42:55]OFD Sender: No OFD packet to send [13:43:00]OFD Sender: No OFD packet to send [13:43:05]OFD Sender: No OFD packet to send [13:43:10]OFD Sender: No OFD packet to send [13:43:15]OFD Sender: No OFD packet to send [13:43:20]OFD Sender: No OFD packet to send [13:43:25]OFD Sender: No OFD packet to send [13:43:30]OFD Sender: No OFD packet to send [13:43:35]OFD Sender: No OFD packet to send [13:43:40]OFD Sender: No OFD packet to send [13:43:45]OFD Sender: No OFD packet to send [13:43:50]OFD Sender: No OFD packet to send [13:43:55]OFD Sender: No OFD packet to send [13:44:00]OFD Sender: No OFD packet to send [13:44:05]OFD Sender: No OFD packet to send [13:44:10]OFD Sender: No OFD packet to send [13:44:15]OFD Sender: No OFD packet to send [13:44:20]OFD Sender: No OFD packet to send [13:44:25]OFD Sender: No OFD packet to send [13:44:30]OFD Sender: No OFD packet to send [13:44:35]OFD Sender: No OFD packet to send [13:44:40]OFD Sender: No OFD packet to send [13:44:45]OFD Sender: No OFD packet to send [13:44:50]OFD Sender: No OFD packet to send [13:44:55]OFD Sender: No OFD packet to send [13:45:00]OFD Sender: No OFD packet to send [13:45:05]OFD Sender: No OFD packet to send [13:45:10]OFD Sender: No OFD packet to send [13:45:15]OFD Sender: No OFD packet to send [13:45:20]OFD Sender: No OFD packet to send [13:45:25]OFD Sender: No OFD packet to send [13:45:30]OFD Sender: No OFD packet to send [13:45:35]OFD Sender: No OFD packet to send [13:45:40]OFD Sender: No OFD packet to send [13:45:45]OFD Sender: No OFD packet to send [13:45:50]OFD Sender: No OFD packet to send [13:45:55]OFD Sender: No OFD packet to send [13:46:00]OFD Sender: No OFD packet to send [13:46:05]OFD Sender: No OFD packet to send [13:46:10]OFD Sender: No OFD packet to send [13:46:15]OFD Sender: No OFD packet to send [13:46:20]OFD Sender: No OFD packet to send [13:46:25]OFD Sender: No OFD packet to send [13:46:30]OFD Sender: No OFD packet to send [13:46:35]OFD Sender: No OFD packet to send [13:46:40]OFD Sender: No OFD packet to send [13:46:45]OFD Sender: No OFD packet to send [13:46:50]OFD Sender: No OFD packet to send [13:46:55]OFD Sender: No OFD packet to send [13:47:00]OFD Sender: No OFD packet to send [13:47:05]OFD Sender: No OFD packet to send [13:47:10]OFD Sender: No OFD packet to send [13:47:15]OFD Sender: No OFD packet to send [13:47:20]OFD Sender: No OFD packet to send [13:47:25]OFD Sender: No OFD packet to send [13:47:30]OFD Sender: No OFD packet to send [13:47:35]OFD Sender: No OFD packet to send [13:47:40]OFD Sender: No OFD packet to send [13:47:45]OFD Sender: No OFD packet to send [13:47:50]OFD Sender: No OFD packet to send [13:47:55]OFD Sender: No OFD packet to send [13:48:00]OFD Sender: No OFD packet to send [13:48:05]OFD Sender: No OFD packet to send [13:48:10]OFD Sender: No OFD packet to send [13:48:15]OFD Sender: No OFD packet to send [13:48:20]OFD Sender: No OFD packet to send [13:48:25]OFD Sender: No OFD packet to send [13:48:30]OFD Sender: No OFD packet to send [13:48:35]OFD Sender: No OFD packet to send [13:48:40]OFD Sender: No OFD packet to send [13:48:45]OFD Sender: No OFD packet to send [13:48:50]OFD Sender: No OFD packet to send [13:48:55]OFD Sender: No OFD packet to send [13:49:00]OFD Sender: No OFD packet to send [13:49:05]OFD Sender: No OFD packet to send [13:49:10]OFD Sender: No OFD packet to send [13:49:15]OFD Sender: No OFD packet to send [13:49:20]OFD Sender: No OFD packet to send [13:49:25]OFD Sender: No OFD packet to send [13:49:30]OFD Sender: No OFD packet to send [13:49:35]OFD Sender: No OFD packet to send [13:49:40]OFD Sender: No OFD packet to send [13:49:45]OFD Sender: No OFD packet to send [13:49:50]OFD Sender: No OFD packet to send [13:49:55]OFD Sender: No OFD packet to send [13:50:00]OFD Sender: No OFD packet to send [13:50:05]OFD Sender: No OFD packet to send [13:50:10]OFD Sender: No OFD packet to send [13:50:15]OFD Sender: No OFD packet to send [13:50:20]OFD Sender: No OFD packet to send [13:50:25]OFD Sender: No OFD packet to send [13:50:30]OFD Sender: No OFD packet to send [13:50:35]OFD Sender: No OFD packet to send [13:50:40]OFD Sender: No OFD packet to send [13:50:45]OFD Sender: No OFD packet to send [13:50:50]OFD Sender: No OFD packet to send [13:50:55]OFD Sender: No OFD packet to send [13:51:00]OFD Sender: No OFD packet to send [13:51:05]OFD Sender: No OFD packet to send [13:51:10]OFD Sender: No OFD packet to send [13:51:15]OFD Sender: No OFD packet to send [13:51:20]OFD Sender: No OFD packet to send [13:51:25]OFD Sender: No OFD packet to send [13:51:30]OFD Sender: No OFD packet to send [13:51:35]OFD Sender: No OFD packet to send [13:51:40]OFD Sender: No OFD packet to send [13:51:45]OFD Sender: No OFD packet to send [13:51:50]OFD Sender: No OFD packet to send [13:51:55]OFD Sender: No OFD packet to send [13:52:00]OFD Sender: No OFD packet to send [13:52:05]OFD Sender: No OFD packet to send [13:52:10]OFD Sender: No OFD packet to send [13:52:15]OFD Sender: No OFD packet to send [13:52:20]OFD Sender: No OFD packet to send [13:52:25]OFD Sender: No OFD packet to send [13:52:30]OFD Sender: No OFD packet to send [13:52:35]OFD Sender: No OFD packet to send [13:52:40]OFD Sender: No OFD packet to send [13:52:45]OFD Sender: No OFD packet to send [13:52:50]OFD Sender: No OFD packet to send [13:52:55]OFD Sender: No OFD packet to send [13:53:00]OFD Sender: No OFD packet to send [13:53:05]OFD Sender: No OFD packet to send [13:53:10]OFD Sender: No OFD packet to send [13:53:15]OFD Sender: No OFD packet to send [13:53:20]OFD Sender: No OFD packet to send [13:53:25]OFD Sender: No OFD packet to send [13:53:28]accept exits with 9 [13:53:28]New connection [13:53:28]New thread 3067227492 created [13:53:28]Thread 3067370852 joined [13:53:28]Waiting for new connection... [13:53:28] Sock 9.Parse request [13:53:28]Sock 9.Check first char [13:53:28]Sock 9.First char is OK [13:53:28]request: POST /json_proto HTTP/1.0 [13:53:28]Method: POST [13:53:28]URL: /json_proto [13:53:28]Method is POST - this is cgi request [13:53:28]url: /json_proto [13:53:28]query_string will be loaded in cgi processing [13:53:28]execute_cgi json_proto POST (null) [13:53:28]execute_cgi path=json_proto method=POST [13:53:28]POST find Content-Length [13:53:28]Host: 172.17.56.68:8080 [13:53:28]Content-Length: 1574 [13:53:28]Content-Type: application/json [13:53:28] [13:53:28]POST finish read [13:53:28]Found Content-Length = 1574 [13:53:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4366", "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 }]} ,{ "code": "4607065000868", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043E\u043C 45\u0433", "price" : 63.00, "quantity" : 1.000, "sum" : 63.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002328497", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A DADA \u044F\u0433\u043E\u0434,\u043A\u0430\u0440\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 328.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:53:28]execute_script... [13:53:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4366", "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 }]} ,{ "code": "4607065000868", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043E\u043C 45\u0433", "price" : 63.00, "quantity" : 1.000, "sum" : 63.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002328497", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A DADA \u044F\u0433\u043E\u0434,\u043A\u0430\u0440\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 328.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:53:28]POST & json_proto [13:53:28]process_json_proto [13:53:28]json parsed OK: [13:53:28]protocol is kg_v1.0 [13:53:28]action value=close_receipt [13:53:28]process_action close_receipt [13:53:28]cmd_close_receipt [13:53:28]MH_GetDate [13:53:28]Write to MH i2c: F0 00 00 66 1E 73 [13:53:28]Write i2c OK [13:53:28]MH_I2C_Read... [13:53:28]Read from MH i2c: F0 [13:53:28]MH_I2C_Read... [13:53:28]Read from MH i2c: F0 09 00 [13:53:28]MH_I2C_Read... [13:53:28]Read from MH i2c: F0 09 00 66 1E 00 61 1C 5F 66 42 69 5C 66 2B [13:53:28]GetLastDocTimeStamp 1717508416 [13:53:28]current date 1717509217 [13:53:28]FM_GetShiftState [13:53:28]SAM_PROTO_GetShiftState [13:53:28]wFMCommunicate request_size=4 [13:53:28]MH_SAM_APDU [13:53:28]CAPDU: 80 13 01 00 [13:53:28]Write to MH i2c: E2 08 00 67 1E 80 13 01 00 00 00 00 00 02 [13:53:28]Write i2c OK [13:53:28]MH_I2C_Read... [13:53:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:53:28]Read from MH i2c: E2 [13:53:28]MH_I2C_Read... [13:53:28]Read from MH i2c: E2 0E 00 [13:53:28]MH_I2C_Read... [13:53:28]Read from MH i2c: E2 0E 00 67 1E 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 9B [13:53:28]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [13:53:28]wFMCommunicate OK [13:53:28]SAM_PROTO_GetShiftState done [13:53:28]FM_GetShiftState done [13:53:28]opened in 1717459822 [13:53:28]opened+sec_in_day 1717546222 [13:53:28]quantity*price = 9500 [13:53:28]sum+1 = 9501 [13:53:28]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065000868 Шок M&M`s с шоколадом 45г 1.000 * 63.00 = 63.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870002328497 Напиток DADA ягод,карк ПЭТ 0,5л 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700003010353 Напиток Let`s Go! с/с груша ПЭТ 1л 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 328.00 НСП 1% : 2.91 НДС 12% : 34.84 Наличными: 328.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 29 04.06.2024 13:53 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4112 ФПД: 165076890148358 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T135337&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4112&fm=165076890148358&tin=02508201610067®Number=0000000000145775&sum=32800 0 [13:53:29]StoreToDocumentArchive [13:53:29]shift 83 fd 4112 [13:53:29]save to /storage/0083/doc_00004112 [13:53:29]save last doc name /storage/0083/doc_00004112 to /storage/kkm_last_doc_name [13:53:29]save OK [13:53:29]Clear old archive folders... [13:53:29]ProcessDocumentItem done err = 0, tmpTLVsize=661 [13:53:29]tlvbuf is 007EA850 [13:53:29]SAM_PROTO_ClearQueue [13:53:29]wFMCommunicate request_size=4 [13:53:29]MH_SAM_APDU [13:53:29]CAPDU: 80 09 00 00 [13:53:29]Write to MH i2c: E2 08 00 74 1E 80 09 00 00 00 00 00 00 04 [13:53:29]Write i2c OK [13:53:29]MH_I2C_Read... [13:53:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:53:29]Read from MH i2c: E2 [13:53:29]MH_I2C_Read... [13:53:29]Read from MH i2c: E2 03 00 [13:53:29]MH_I2C_Read... [13:53:29]Read from MH i2c: E2 03 00 74 1E 00 90 00 06 [13:53:29]RAPDU: 90 00 [13:53:29]wFMCommunicate OK [13:53:29]SAM_PROTO_ClearQueue done [13:53:29]KKMCreateOFDPacket [13:53:29]OFDProtocolAddRootSTLVToBuf [13:53:29]FM_MakeSignedData [13:53:29]FM_MakeSignedData [13:53:29]SAM_PROTO_SignData [13:53:29]wFMCommunicate request_size=4 [13:53:29]MH_SAM_APDU [13:53:29]CAPDU: 80 0D 01 02 [13:53:29]Write to MH i2c: E2 08 00 75 1E 80 0D 01 02 00 00 00 00 0C [13:53:29]Write i2c OK [13:53:29]MH_I2C_Read... [13:53:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:53:29]Read from MH i2c: E2 [13:53:29]MH_I2C_Read... [13:53:29]Read from MH i2c: E2 03 00 [13:53:29]MH_I2C_Read... [13:53:29]Read from MH i2c: E2 03 00 75 1E 00 90 00 07 [13:53:29]RAPDU: 90 00 [13:53:29]wFMCommunicate OK [13:53:29]wFMCommunicate request_size=255 [13:53:29]MH_SAM_APDU [13:53:29]CAPDU: 80 0D 02 02 FA 03 00 95 02 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 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 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC [13:53:29]Write to MH i2c: E2 02 01 76 1E 80 0D 02 02 FA 00 03 00 95 02 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 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 9C 18 00 00 00 00 13 04 06 00 9C 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 00 00 77 [13:53:29]Write i2c OK [13:53:29]MH_I2C_Read... [13:53:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:53:30]Read from MH i2c: E2 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 03 00 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 03 00 76 1E 00 90 00 08 [13:53:30]RAPDU: 90 00 [13:53:30]wFMCommunicate OK [13:53:30]wFMCommunicate request_size=255 [13:53:30]MH_SAM_APDU [13:53:30]CAPDU: 80 0D 02 02 FA 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 39 37 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D1 8F D0 B3 D0 BE D0 B4 2C D0 BA D0 B0 D1 80 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 [13:53:30]Write to MH i2c: E2 02 01 77 1E 80 0D 02 02 FA 00 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 39 37 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D1 8F D0 B3 D0 BE D0 B4 2C D0 BA D0 B0 D1 80 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 00 00 F3 [13:53:30]Write i2c OK [13:53:30]MH_I2C_Read... [13:53:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:53:30]Read from MH i2c: E2 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 03 00 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 03 00 77 1E 00 90 00 09 [13:53:30]RAPDU: 90 00 [13:53:30]wFMCommunicate OK [13:53:30]wFMCommunicate request_size=170 [13:53:30]MH_SAM_APDU [13:53:30]CAPDU: 80 0D 02 02 A5 FC 03 06 00 20 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 0D 00 00 00 00 07 04 06 00 20 80 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 61 1C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 10 10 00 00 35 04 06 00 96 22 F5 65 DE 06 [13:53:30]Write to MH i2c: E2 AD 00 78 1E 80 0D 02 02 A5 00 FC 03 06 00 20 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 0D 00 00 00 00 07 04 06 00 20 80 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 61 1C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 10 10 00 00 35 04 06 00 96 22 F5 65 DE 06 00 00 75 [13:53:30]Write i2c OK [13:53:30]MH_I2C_Read... [13:53:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:53:30]Read from MH i2c: E2 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 03 00 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 03 00 78 1E 00 90 00 0A [13:53:30]RAPDU: 90 00 [13:53:30]wFMCommunicate OK [13:53:30]wFMCommunicate request_size=4 [13:53:30]MH_SAM_APDU [13:53:30]CAPDU: 80 0D 03 02 [13:53:30]Write to MH i2c: E2 08 00 79 1E 80 0D 03 02 00 00 00 00 12 [13:53:30]Write i2c OK [13:53:30]MH_I2C_Read... [13:53:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:53:30]Read from MH i2c: E2 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 0B 00 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 0B 00 79 1E 00 C5 C0 3D BF EA B6 10 CE 90 00 12 [13:53:30]RAPDU: C5 C0 3D BF EA B6 10 CE 90 00 [13:53:30]wFMCommunicate OK [13:53:30]SAM_PROTO_SignData done [13:53:30]FM_MakeSignedData done [13:53:30]CreateOFDProtocolMessage [13:53:30]wFMCommunicate request_size=4 [13:53:30]MH_SAM_APDU [13:53:30]CAPDU: 80 11 00 00 [13:53:30]Write to MH i2c: E2 08 00 7A 1E 80 11 00 00 00 00 00 00 12 [13:53:30]Write i2c OK [13:53:30]MH_I2C_Read... [13:53:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:53:30]Read from MH i2c: E2 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 17 00 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: E2 17 00 7A 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 65 [13:53:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:53:30]wFMCommunicate OK [13:53:30]CreateOFDProtocolMessage done [13:53:30]OFDSenderStorePacket 4112 [13:53:30]StoreOFDPacket docnum=4112 [13:53:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 A9 02 00 00 F3 F6 A1 02 FC 1B 5A 03 01 00 03 00 95 02 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 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 9C 18 00 00 00 00 13 04 06 00 9C 18 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 30 30 32 33 32 38 34 39 37 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D1 8F D0 B3 D0 BE D0 B4 2C D0 BA D0 B0 D1 80 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 0D 00 00 00 00 07 04 06 00 20 80 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 61 1C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 10 10 00 00 35 04 06 00 96 22 F5 65 DE 06 C5 C0 3D BF EA B6 10 CE [13:53:30]CheckFolder [13:53:30]dirname=/storage/ofd_packets [13:53:30]CheckFolder done [13:53:30]ProducePacketName [13:53:30]name=ofd_packets/00004112 [13:53:30]NVStorageSaveData ofd_packets/00004112 [13:53:30]File name is /storage/ofd_packets/00004112 [13:53:30]Write 711 bytes [13:53:30]NVStorageSaveData done [13:53:30]OFDSenderStorePacket done [13:53:30]KKMCreateOFDPacket done [13:53:30]NVStorageSaveData kkm_last_timestamp [13:53:30]File name is /storage/kkm_last_timestamp [13:53:30]Write 4 bytes [13:53:30]NVStorageSaveData done [13:53:30]ExternCall_PrintAddStr [13:53:30]wPrintStart [13:53:30]Write to MH i2c: 01 00 00 7B 1E 99 [13:53:30]Write i2c OK [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: 01 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: 01 07 00 [13:53:30]MH_I2C_Read... [13:53:30]Read from MH i2c: 01 07 00 7B 1E 00 00 00 00 00 FF 0F AE [13:53:30]RasterBufferAndPrint [13:53:30]line Счет N : (3)4366 [13:53:30]line ИНН: 02508201610067 [13:53:30]line Контрольно-Кассовый Чек [13:53:30]line ПРОДАЖА [13:53:30]line Товар: 4700000480302 [13:53:30]line Напиток энерг Nitro манго-клуб 0.45 ж/б [13:53:30]line 1.000 * 95.00 [13:53:30]line = 95.00 [13:53:30]line НДС 12% НСП 1% [13:53:30]line > о реализуемом товаре [13:53:30]line Товар: 4607065000868 [13:53:30]line Шок M&M`s с шоколадом 45г [13:53:30]line 1.000 * 63.00 [13:53:30]line = 63.00 [13:53:30]line НДС 12% НСП 1% [13:53:30]line > о реализуемом товаре [13:53:30]line Товар: 4870002328497 [13:53:30]line Напиток DADA ягод,карк ПЭТ 0,5л [13:53:30]line 1.000 * 90.00 [13:53:30]line = 90.00 [13:53:30]line НДС 12% НСП 1% [13:53:30]line > о реализуемом товаре [13:53:30]line Товар: 4700003010353 [13:53:30]line Напиток Let`s Go! с/с груша ПЭТ 1л [13:53:30]line 1.000 * 80.00 [13:53:30]line = 80.00 [13:53:30]line НДС 12% НСП 1% [13:53:30]line > о реализуемом товаре [13:53:30]line ИТОГО: 328.00 [13:53:30]line НСП 1% : 2.91 [13:53:30]line НДС 12% : 34.84 [13:53:30]line Наличными: 328.00 [13:53:30]line Безнал.: 0.00 [13:53:30]line Место: АЗС № 116 "Партнер Нефть" [13:53:30]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:53:30]line СНО: Общий режим [13:53:30]line Чек 29 04.06.2024 13:53 [13:53:30]line Смена: 83 ФФД: 1.0 [13:53:30]line ЗНМ: 0300000233 [13:53:30]line РНМ: 0000000000145775 [13:53:30]line Версия ККМ: v1.0 [13:53:30]line ФМ: 0000000000959360 [13:53:30]line ФД: 4112 [13:53:30]OFD Sender: Processing packet 4112 [packets to send 2, broken 1] [13:53:30]ProducePacketName [13:53:30]name=ofd_packets/00004112 [13:53:30]OFD Sender: To server: pG, [13:53:30]CommunicateWithHost lk.salyk.kg:30040 [13:53:30]ConnectInit lk.salyk.kg [13:53:30]line ФПД: 165076890148358 [13:53:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T135337&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4112&fm=165076890148358&tin=02508201610067®Number=0000000000145775&sum=32800 [13:53:30]line 0 [13:53:30]written 0, free lines is 4095 [13:53:31]Connected sock=10 [13:53:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 A9 02 00 00 F3 F6 A1 02 FC 1B 5A 03 01 00 03 00 95 02 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 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 9C 18 00 00 00 00 13 04 06 00 9C 18 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 30 30 32 33 32 38 34 39 37 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D1 8F D0 B3 D0 BE D0 B4 2C D0 BA D0 B0 D1 80 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 0D 00 00 00 00 07 04 06 00 20 80 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 61 1C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 10 10 00 00 35 04 06 00 96 22 F5 65 DE 06 C5 C0 3D BF EA B6 10 CE [13:53:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 A4 D5 47 00 81 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 10 10 00 00 F4 03 04 00 62 C8 5E 66 B6 04 01 00 00 9B AD C5 82 7E 61 2F 7C [13:53:31]CommunicateWithHost err = 0 [13:53:31]CheckOFDResponse [13:53:31]1017 (14) - 77093643461234 [13:53:31]1041 (16) - 0000000000959360 [13:53:31]1040 (4) - 4112 [13:53:31]1012 (4) - 04.06.2024 07:55 [13:53:31]1206 (1) - 0 [13:53:31]OFD Sender: Remove packet 4112 [13:53:31]ProducePacketName [13:53:31]name=ofd_packets/00004112 [13:53:31]NVStorageDeleteData [13:53:31]Write to MH i2c: 01 00 00 B8 1E D6 [13:53:31]Write i2c OK [13:53:31]MH_I2C_Read... [13:53:31]Read from MH i2c: 01 [13:53:31]MH_I2C_Read... [13:53:31]Read from MH i2c: 01 07 00 [13:53:31]MH_I2C_Read... [13:53:31]Read from MH i2c: 01 07 00 B8 1E 00 00 00 00 00 40 0B 28 [13:53:31]RasterBufferAndPrint [13:53:31]line [13:53:31]line [13:53:31]line [13:53:31]line [13:53:31]line [13:53:31]written 0, free lines is 2885 [13:53:31]MH_Cut [13:53:31]Write to MH i2c: D1 01 00 BF 1E 01 AF [13:53:31]Write i2c OK [13:53:31]MH_I2C_Read... [13:53:31]Read from MH i2c: D1 [13:53:31]MH_I2C_Read... [13:53:31]Read from MH i2c: D1 01 00 [13:53:31]MH_I2C_Read... [13:53:31]Read from MH i2c: D1 01 00 BF 1E 00 AE [13:53:31]Write to MH i2c: 01 00 00 C0 1E DE [13:53:31]Write i2c OK [13:53:31]MH_I2C_Read... [13:53:31]OFD Sender: No OFD packet to send [13:53:32]*** Cut start [13:53:32]*** Partial cut [13:53:32]*** CUTSNS_PIN = 1 [13:53:32]*** CUTSNS_PIN = 0 [13:53:33]*** Brake cut motor [13:53:33]Read from MH i2c: 01 [13:53:33]MH_I2C_Read... [13:53:33]*** Stop cut motor [13:53:33]*** Cut end [13:53:33]Read from MH i2c: 01 07 00 [13:53:33]MH_I2C_Read... [13:53:33]Read from MH i2c: 01 07 00 C0 1E 00 00 00 00 00 FF 0F F3 [13:53:33]process_action close_receipt done [13:53:33]requested_data is exist [13:53:33]produce_requested_data [13:53:33]requested_item fm.sn is exist - process it [13:53:33]wFMCommunicate request_size=4 [13:53:33]MH_SAM_APDU [13:53:33]CAPDU: 80 11 00 00 [13:53:33]Write to MH i2c: E2 08 00 C1 1E 80 11 00 00 00 00 00 00 59 [13:53:33]Write i2c OK [13:53:33]MH_I2C_Read... [13:53:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:53:33]Read from MH i2c: E2 [13:53:33]MH_I2C_Read... [13:53:33]Read from MH i2c: E2 17 00 [13:53:33]MH_I2C_Read... [13:53:33]Read from MH i2c: E2 17 00 C1 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 AC [13:53:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:53:33]wFMCommunicate OK [13:53:33]requested_item fd.num is exist - process it [13:53:33]SAM_PROTO_GetFieldsCounters [13:53:33]wFMCommunicate request_size=4 [13:53:33]MH_SAM_APDU [13:53:33]CAPDU: 80 13 00 00 [13:53:33]Write to MH i2c: E2 08 00 C2 1E 80 13 00 00 00 00 00 00 5C [13:53:33]Write i2c OK [13:53:33]MH_I2C_Read... [13:53:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:53:33]Read from MH i2c: E2 [13:53:33]MH_I2C_Read... [13:53:33]Read from MH i2c: E2 62 00 [13:53:33]MH_I2C_Read... [13:53:33]Read from MH i2c: E2 62 00 C2 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 10 10 00 00 0E 04 04 00 53 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 4B [13:53:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 10 10 00 00 0E 04 04 00 53 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 [13:53:33]wFMCommunicate OK [13:53:33]SAM_PROTO_GetFieldsCounters done [13:53:33]requested_item shift.num is exist - process it [13:53:33]requested_item shift.opened is exist - process it [13:53:33]req_shift_opened [13:53:33]FM_GetShiftState [13:53:33]SAM_PROTO_GetShiftState [13:53:33]wFMCommunicate request_size=4 [13:53:33]MH_SAM_APDU [13:53:33]CAPDU: 80 13 01 00 [13:53:33]Write to MH i2c: E2 08 00 C3 1E 80 13 01 00 00 00 00 00 5E [13:53:33]Write i2c OK [13:53:33]MH_I2C_Read... [13:53:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:53:33]Read from MH i2c: E2 [13:53:33]MH_I2C_Read... [13:53:33]Read from MH i2c: E2 0E 00 [13:53:33]MH_I2C_Read... [13:53:33]Read from MH i2c: E2 0E 00 C3 1E 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 F7 [13:53:33]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [13:53:33]wFMCommunicate OK [13:53:33]SAM_PROTO_GetShiftState done [13:53:33]FM_GetShiftState done [13:53:33]req_shift_opened done [13:53:33]requested_item shift.open_date is exist - process it [13:53:33]req_shift_open_date [13:53:33]req_shift_open_date done [13:53:33]produce_requested_data done [13:53:33]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4112,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [13:53:33]process_action_free close_receipt [13:53:33]json_value_free [13:53:33]json_value_free done [13:53:33]process_json_proto returns [13:53:33]Send response to host [13:53:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4112,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [13:53:33]free response buf [13:53:33]execute_script done [13:53:33]execute_script returns [13:53:33]free content buf [13:53:33]Sock 9.Close socket [13:53:33]Sock 9.Thread stoped [13:53:36]OFD Sender: No OFD packet to send [13:53:41]OFD Sender: No OFD packet to send [13:53:46]OFD Sender: No OFD packet to send [13:53:51]OFD Sender: No OFD packet to send [13:53:56]OFD Sender: No OFD packet to send [13:54:01]OFD Sender: No OFD packet to send [13:54:06]OFD Sender: No OFD packet to send [13:54:11]OFD Sender: No OFD packet to send [13:54:16]OFD Sender: No OFD packet to send [13:54:21]OFD Sender: No OFD packet to send [13:54:26]OFD Sender: No OFD packet to send [13:54:31]OFD Sender: No OFD packet to send [13:54:36]OFD Sender: No OFD packet to send [13:54:41]OFD Sender: No OFD packet to send [13:54:46]OFD Sender: No OFD packet to send [13:54:51]OFD Sender: No OFD packet to send [13:54:56]OFD Sender: No OFD packet to send [13:55:01]OFD Sender: No OFD packet to send [13:55:06]OFD Sender: No OFD packet to send [13:55:11]OFD Sender: No OFD packet to send [13:55:16]OFD Sender: No OFD packet to send [13:55:21]OFD Sender: No OFD packet to send [13:55:26]OFD Sender: No OFD packet to send [13:55:31]OFD Sender: No OFD packet to send [13:55:36]OFD Sender: No OFD packet to send [13:55:41]OFD Sender: No OFD packet to send [13:55:46]OFD Sender: No OFD packet to send [13:55:51]OFD Sender: No OFD packet to send [13:55:56]OFD Sender: No OFD packet to send [13:56:01]OFD Sender: No OFD packet to send [13:56:06]OFD Sender: No OFD packet to send [13:56:11]OFD Sender: No OFD packet to send [13:56:16]OFD Sender: No OFD packet to send [13:56:21]OFD Sender: No OFD packet to send [13:56:26]OFD Sender: No OFD packet to send [13:56:31]OFD Sender: No OFD packet to send [13:56:36]OFD Sender: No OFD packet to send [13:56:41]OFD Sender: No OFD packet to send [13:56:46]OFD Sender: No OFD packet to send [13:56:51]OFD Sender: No OFD packet to send [13:56:56]OFD Sender: No OFD packet to send [13:57:01]OFD Sender: No OFD packet to send [13:57:06]OFD Sender: No OFD packet to send [13:57:11]OFD Sender: No OFD packet to send [13:57:16]OFD Sender: No OFD packet to send [13:57:21]OFD Sender: No OFD packet to send [13:57:26]OFD Sender: No OFD packet to send [13:57:31]OFD Sender: No OFD packet to send [13:57:36]OFD Sender: No OFD packet to send [13:57:41]OFD Sender: No OFD packet to send [13:57:46]OFD Sender: No OFD packet to send [13:57:51]OFD Sender: No OFD packet to send [13:57:56]OFD Sender: No OFD packet to send [13:58:01]OFD Sender: No OFD packet to send [13:58:06]OFD Sender: No OFD packet to send [13:58:11]OFD Sender: No OFD packet to send [13:58:16]OFD Sender: No OFD packet to send [13:58:22]OFD Sender: No OFD packet to send [13:58:27]OFD Sender: No OFD packet to send [13:58:32]OFD Sender: No OFD packet to send [13:58:37]OFD Sender: No OFD packet to send [13:58:42]OFD Sender: No OFD packet to send [13:58:47]OFD Sender: No OFD packet to send [13:58:52]OFD Sender: No OFD packet to send [13:58:57]OFD Sender: No OFD packet to send [13:59:02]OFD Sender: No OFD packet to send [13:59:07]OFD Sender: No OFD packet to send [13:59:12]OFD Sender: No OFD packet to send [13:59:17]OFD Sender: No OFD packet to send [13:59:22]OFD Sender: No OFD packet to send [13:59:27]OFD Sender: No OFD packet to send [13:59:32]OFD Sender: No OFD packet to send [13:59:37]OFD Sender: No OFD packet to send [13:59:42]OFD Sender: No OFD packet to send [13:59:47]OFD Sender: No OFD packet to send [13:59:52]OFD Sender: No OFD packet to send [13:59:57]OFD Sender: No OFD packet to send [14:00:02]OFD Sender: No OFD packet to send [14:00:07]OFD Sender: No OFD packet to send [14:00:12]OFD Sender: No OFD packet to send [14:00:17]OFD Sender: No OFD packet to send [14:00:22]OFD Sender: No OFD packet to send [14:00:27]OFD Sender: No OFD packet to send [14:00:32]OFD Sender: No OFD packet to send [14:00:37]OFD Sender: No OFD packet to send [14:00:42]OFD Sender: No OFD packet to send [14:00:47]OFD Sender: No OFD packet to send [14:00:52]OFD Sender: No OFD packet to send [14:00:57]OFD Sender: No OFD packet to send [14:01:02]OFD Sender: No OFD packet to send [14:01:07]OFD Sender: No OFD packet to send [14:01:12]OFD Sender: No OFD packet to send [14:01:17]OFD Sender: No OFD packet to send [14:01:22]OFD Sender: No OFD packet to send [14:01:27]OFD Sender: No OFD packet to send [14:01:32]OFD Sender: No OFD packet to send [14:01:37]OFD Sender: No OFD packet to send [14:01:42]OFD Sender: No OFD packet to send [14:01:47]OFD Sender: No OFD packet to send [14:01:52]OFD Sender: No OFD packet to send [14:01:57]OFD Sender: No OFD packet to send [14:02:02]OFD Sender: No OFD packet to send [14:02:07]OFD Sender: No OFD packet to send [14:02:12]OFD Sender: No OFD packet to send [14:02:17]OFD Sender: No OFD packet to send [14:02:22]OFD Sender: No OFD packet to send [14:02:27]OFD Sender: No OFD packet to send [14:02:32]OFD Sender: No OFD packet to send [14:02:37]OFD Sender: No OFD packet to send [14:02:42]OFD Sender: No OFD packet to send [14:02:47]OFD Sender: No OFD packet to send [14:02:52]OFD Sender: No OFD packet to send [14:02:57]OFD Sender: No OFD packet to send [14:03:02]OFD Sender: No OFD packet to send [14:03:07]OFD Sender: No OFD packet to send [14:03:12]OFD Sender: No OFD packet to send [14:03:17]OFD Sender: No OFD packet to send [14:03:22]OFD Sender: No OFD packet to send [14:03:27]OFD Sender: No OFD packet to send [14:03:32]OFD Sender: No OFD packet to send [14:03:37]OFD Sender: No OFD packet to send [14:03:42]OFD Sender: No OFD packet to send [14:03:47]OFD Sender: No OFD packet to send [14:03:52]OFD Sender: No OFD packet to send [14:03:57]OFD Sender: No OFD packet to send [14:04:02]OFD Sender: No OFD packet to send [14:04:07]OFD Sender: No OFD packet to send [14:04:12]OFD Sender: No OFD packet to send [14:04:17]OFD Sender: No OFD packet to send [14:04:22]OFD Sender: No OFD packet to send [14:04:27]OFD Sender: No OFD packet to send [14:04:32]OFD Sender: No OFD packet to send [14:04:37]OFD Sender: No OFD packet to send [14:04:42]OFD Sender: No OFD packet to send [14:04:47]OFD Sender: No OFD packet to send [14:04:52]OFD Sender: No OFD packet to send [14:04:57]OFD Sender: No OFD packet to send [14:05:02]OFD Sender: No OFD packet to send [14:05:07]OFD Sender: No OFD packet to send [14:05:12]OFD Sender: No OFD packet to send [14:05:17]OFD Sender: No OFD packet to send [14:05:22]OFD Sender: No OFD packet to send [14:05:27]OFD Sender: No OFD packet to send [14:05:32]OFD Sender: No OFD packet to send [14:05:37]OFD Sender: No OFD packet to send [14:05:42]OFD Sender: No OFD packet to send [14:05:47]OFD Sender: No OFD packet to send [14:05:52]OFD Sender: No OFD packet to send [14:05:57]OFD Sender: No OFD packet to send [14:06:02]OFD Sender: No OFD packet to send [14:06:07]OFD Sender: No OFD packet to send [14:06:12]OFD Sender: No OFD packet to send [14:06:17]OFD Sender: No OFD packet to send [14:06:22]OFD Sender: No OFD packet to send [14:06:27]OFD Sender: No OFD packet to send [14:06:32]OFD Sender: No OFD packet to send [14:06:37]OFD Sender: No OFD packet to send [14:06:42]OFD Sender: No OFD packet to send [14:06:47]OFD Sender: No OFD packet to send [14:06:52]OFD Sender: No OFD packet to send [14:06:57]OFD Sender: No OFD packet to send [14:07:02]OFD Sender: No OFD packet to send [14:07:07]OFD Sender: No OFD packet to send [14:07:12]OFD Sender: No OFD packet to send [14:07:17]OFD Sender: No OFD packet to send [14:07:22]OFD Sender: No OFD packet to send [14:07:27]OFD Sender: No OFD packet to send [14:07:32]OFD Sender: No OFD packet to send [14:07:37]OFD Sender: No OFD packet to send [14:07:42]OFD Sender: No OFD packet to send [14:07:47]OFD Sender: No OFD packet to send [14:07:52]OFD Sender: No OFD packet to send [14:07:57]OFD Sender: No OFD packet to send [14:08:02]OFD Sender: No OFD packet to send [14:08:07]OFD Sender: No OFD packet to send [14:08:12]OFD Sender: No OFD packet to send [14:08:17]OFD Sender: No OFD packet to send [14:08:22]OFD Sender: No OFD packet to send [14:08:27]OFD Sender: No OFD packet to send [14:08:32]OFD Sender: No OFD packet to send [14:08:37]OFD Sender: No OFD packet to send [14:08:42]OFD Sender: No OFD packet to send [14:08:47]OFD Sender: No OFD packet to send [14:08:52]OFD Sender: No OFD packet to send [14:08:57]OFD Sender: No OFD packet to send [14:09:02]OFD Sender: No OFD packet to send [14:09:07]OFD Sender: No OFD packet to send [14:09:12]OFD Sender: No OFD packet to send [14:09:17]OFD Sender: No OFD packet to send [14:09:22]OFD Sender: No OFD packet to send [14:09:27]OFD Sender: No OFD packet to send [14:09:32]OFD Sender: No OFD packet to send [14:09:37]OFD Sender: No OFD packet to send [14:09:42]OFD Sender: No OFD packet to send [14:09:47]OFD Sender: No OFD packet to send [14:09:52]OFD Sender: No OFD packet to send [14:09:57]OFD Sender: No OFD packet to send [14:10:02]OFD Sender: No OFD packet to send [14:10:07]OFD Sender: No OFD packet to send [14:10:12]OFD Sender: No OFD packet to send [14:10:17]OFD Sender: No OFD packet to send [14:10:22]OFD Sender: No OFD packet to send [14:10:27]OFD Sender: No OFD packet to send [14:10:32]OFD Sender: No OFD packet to send [14:10:37]OFD Sender: No OFD packet to send [14:10:42]OFD Sender: No OFD packet to send [14:10:47]OFD Sender: No OFD packet to send [14:10:52]OFD Sender: No OFD packet to send [14:10:57]OFD Sender: No OFD packet to send [14:11:02]OFD Sender: No OFD packet to send [14:11:07]OFD Sender: No OFD packet to send [14:11:12]OFD Sender: No OFD packet to send [14:11:17]OFD Sender: No OFD packet to send [14:11:22]OFD Sender: No OFD packet to send [14:11:27]OFD Sender: No OFD packet to send [14:11:32]OFD Sender: No OFD packet to send [14:11:37]OFD Sender: No OFD packet to send [14:11:42]OFD Sender: No OFD packet to send [14:11:47]OFD Sender: No OFD packet to send [14:11:52]OFD Sender: No OFD packet to send [14:11:57]OFD Sender: No OFD packet to send [14:12:02]OFD Sender: No OFD packet to send [14:12:07]OFD Sender: No OFD packet to send [14:12:12]OFD Sender: No OFD packet to send [14:12:17]OFD Sender: No OFD packet to send [14:12:22]OFD Sender: No OFD packet to send [14:12:27]OFD Sender: No OFD packet to send [14:12:32]OFD Sender: No OFD packet to send [14:12:37]OFD Sender: No OFD packet to send [14:12:42]OFD Sender: No OFD packet to send [14:12:47]OFD Sender: No OFD packet to send [14:12:52]OFD Sender: No OFD packet to send [14:12:57]OFD Sender: No OFD packet to send [14:13:02]OFD Sender: No OFD packet to send [14:13:07]OFD Sender: No OFD packet to send [14:13:12]OFD Sender: No OFD packet to send [14:13:17]OFD Sender: No OFD packet to send [14:13:22]OFD Sender: No OFD packet to send [14:13:27]OFD Sender: No OFD packet to send [14:13:32]OFD Sender: No OFD packet to send [14:13:37]OFD Sender: No OFD packet to send [14:13:42]OFD Sender: No OFD packet to send [14:13:44]accept exits with 8 [14:13:44]New connection [14:13:44]New thread 3067370852 created [14:13:44]Thread 3067227492 joined [14:13:44]Waiting for new connection... [14:13:44] Sock 8.Parse request [14:13:44]Sock 8.Check first char [14:13:44]Sock 8.First char is OK [14:13:44]request: POST /json_proto HTTP/1.0 [14:13:44]Method: POST [14:13:44]URL: /json_proto [14:13:44]Method is POST - this is cgi request [14:13:44]url: /json_proto [14:13:44]query_string will be loaded in cgi processing [14:13:44]execute_cgi json_proto POST (null) [14:13:44]execute_cgi path=json_proto method=POST [14:13:44]POST find Content-Length [14:13:44]Host: 172.17.56.68:8080 [14:13:44]Content-Length: 691 [14:13:44]Content-Type: application/json [14:13:44] [14:13:44]POST finish read [14:13:44]Found Content-Length = 691 [14:13:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4367", "tax_sys" : 0, "items" : [ { "code": "4602441018222", "name": "\u0427\u0438\u043F\u0441\u044B FRY`S \u0421\u043C\u0435\u0442\u0430\u043D\u0430 \u0441 \u0437\u0435\u043B\u0435\u043D\u044C\u044E 1/130", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:13:44]execute_script... [14:13: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)4367", "tax_sys" : 0, "items" : [ { "code": "4602441018222", "name": "\u0427\u0438\u043F\u0441\u044B FRY`S \u0421\u043C\u0435\u0442\u0430\u043D\u0430 \u0441 \u0437\u0435\u043B\u0435\u043D\u044C\u044E 1/130", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:13:44]POST & json_proto [14:13:44]process_json_proto [14:13:44]json parsed OK: [14:13:44]protocol is kg_v1.0 [14:13:44]action value=close_receipt [14:13:44]process_action close_receipt [14:13:44]cmd_close_receipt [14:13:44]MH_GetDate [14:13:44]Write to MH i2c: F0 00 00 C4 1E D1 [14:13:44]Write i2c OK [14:13:44]MH_I2C_Read... [14:13:44]Read from MH i2c: F0 [14:13:44]MH_I2C_Read... [14:13:44]Read from MH i2c: F0 09 00 [14:13:44]MH_I2C_Read... [14:13:44]Read from MH i2c: F0 09 00 C4 1E 00 21 21 5F 66 42 69 5C 66 4E [14:13:44]GetLastDocTimeStamp 1717509217 [14:13:44]current date 1717510433 [14:13:44]FM_GetShiftState [14:13:44]SAM_PROTO_GetShiftState [14:13:44]wFMCommunicate request_size=4 [14:13:44]MH_SAM_APDU [14:13:44]CAPDU: 80 13 01 00 [14:13:44]Write to MH i2c: E2 08 00 C5 1E 80 13 01 00 00 00 00 00 60 [14:13:44]Write i2c OK [14:13:44]MH_I2C_Read... [14:13:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:13:44]Read from MH i2c: E2 [14:13:44]MH_I2C_Read... [14:13:44]Read from MH i2c: E2 0E 00 [14:13:44]MH_I2C_Read... [14:13:44]Read from MH i2c: E2 0E 00 C5 1E 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 F9 [14:13:44]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [14:13:44]wFMCommunicate OK [14:13:44]SAM_PROTO_GetShiftState done [14:13:44]FM_GetShiftState done [14:13:44]opened in 1717459822 [14:13:44]opened+sec_in_day 1717546222 [14:13:44]quantity*price = 17500 [14:13:44]sum+1 = 17501 [14:13:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 175.00 НСП 1% : 1.55 НДС 12% : 18.58 Наличными: 175.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 30 04.06.2024 14:13 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4113 ФПД: 205865428387381 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T141353&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4113&fm=205865428387381&tin=02508201610067®Number=0000000000145775&sum=17500 0 [14:13:45]StoreToDocumentArchive [14:13:45]shift 83 fd 4113 [14:13:45]save to /storage/0083/doc_00004113 [14:13:45]save last doc name /storage/0083/doc_00004113 to /storage/kkm_last_doc_name [14:13:45]save OK [14:13:45]Clear old archive folders... [14:13:45]ProcessDocumentItem done err = 0, tmpTLVsize=297 [14:13:45]tlvbuf is 00829A80 [14:13:45]SAM_PROTO_ClearQueue [14:13:45]wFMCommunicate request_size=4 [14:13:45]MH_SAM_APDU [14:13:45]CAPDU: 80 09 00 00 [14:13:45]Write to MH i2c: E2 08 00 D2 1E 80 09 00 00 00 00 00 00 62 [14:13:45]Write i2c OK [14:13:45]MH_I2C_Read... [14:13:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:13:45]Read from MH i2c: E2 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 03 00 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 03 00 D2 1E 00 90 00 64 [14:13:45]RAPDU: 90 00 [14:13:45]wFMCommunicate OK [14:13:45]SAM_PROTO_ClearQueue done [14:13:45]KKMCreateOFDPacket [14:13:45]OFDProtocolAddRootSTLVToBuf [14:13:45]FM_MakeSignedData [14:13:45]FM_MakeSignedData [14:13:45]SAM_PROTO_SignData [14:13:45]wFMCommunicate request_size=4 [14:13:45]MH_SAM_APDU [14:13:45]CAPDU: 80 0D 01 02 [14:13:45]Write to MH i2c: E2 08 00 D3 1E 80 0D 01 02 00 00 00 00 6A [14:13:45]Write i2c OK [14:13:45]MH_I2C_Read... [14:13:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:13:45]Read from MH i2c: E2 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 03 00 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 03 00 D3 1E 00 90 00 65 [14:13:45]RAPDU: 90 00 [14:13:45]wFMCommunicate OK [14:13:45]wFMCommunicate request_size=255 [14:13:45]MH_SAM_APDU [14:13:45]CAPDU: 80 0D 02 02 FA 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 32 32 32 06 04 37 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 A1 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 20 D1 81 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8C D1 8E 20 31 2F 31 33 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 21 21 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 [14:13:45]Write to MH i2c: E2 02 01 D4 1E 80 0D 02 02 FA 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 32 32 32 06 04 37 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 A1 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 20 D1 81 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8C D1 8E 20 31 2F 31 33 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 21 21 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 00 00 54 [14:13:45]Write i2c OK [14:13:45]MH_I2C_Read... [14:13:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:13:45]Read from MH i2c: E2 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 03 00 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 03 00 D4 1E 00 90 00 66 [14:13:45]RAPDU: 90 00 [14:13:45]wFMCommunicate OK [14:13:45]wFMCommunicate request_size=56 [14:13:45]MH_SAM_APDU [14:13:45]CAPDU: 80 0D 02 02 33 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 11 10 00 00 35 04 06 00 BB 3B C7 BB 06 35 [14:13:45]Write to MH i2c: E2 3B 00 D5 1E 80 0D 02 02 33 00 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 11 10 00 00 35 04 06 00 BB 3B C7 BB 06 35 00 00 D0 [14:13:45]Write i2c OK [14:13:45]MH_I2C_Read... [14:13:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:13:45]Read from MH i2c: E2 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 03 00 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 03 00 D5 1E 00 90 00 67 [14:13:45]RAPDU: 90 00 [14:13:45]wFMCommunicate OK [14:13:45]wFMCommunicate request_size=4 [14:13:45]MH_SAM_APDU [14:13:45]CAPDU: 80 0D 03 02 [14:13:45]Write to MH i2c: E2 08 00 D6 1E 80 0D 03 02 00 00 00 00 6F [14:13:45]Write i2c OK [14:13:45]MH_I2C_Read... [14:13:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:13:46]Read from MH i2c: E2 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: E2 0B 00 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: E2 0B 00 D6 1E 00 55 0E 7D 5D A4 38 9A DD 90 00 00 [14:13:46]RAPDU: 55 0E 7D 5D A4 38 9A DD 90 00 [14:13:46]wFMCommunicate OK [14:13:46]SAM_PROTO_SignData done [14:13:46]FM_MakeSignedData done [14:13:46]CreateOFDProtocolMessage [14:13:46]wFMCommunicate request_size=4 [14:13:46]MH_SAM_APDU [14:13:46]CAPDU: 80 11 00 00 [14:13:46]Write to MH i2c: E2 08 00 D7 1E 80 11 00 00 00 00 00 00 6F [14:13:46]Write i2c OK [14:13:46]MH_I2C_Read... [14:13:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:13:46]Read from MH i2c: E2 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: E2 17 00 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: E2 17 00 D7 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C2 [14:13:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:13:46]wFMCommunicate OK [14:13:46]CreateOFDProtocolMessage done [14:13:46]OFDSenderStorePacket 4113 [14:13:46]StoreOFDPacket docnum=4113 [14:13:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3D 01 00 00 60 DF 35 01 BE AF 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 32 32 32 06 04 37 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 A1 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 20 D1 81 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8C D1 8E 20 31 2F 31 33 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 21 21 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 11 10 00 00 35 04 06 00 BB 3B C7 BB 06 35 55 0E 7D 5D A4 38 9A DD [14:13:46]CheckFolder [14:13:46]dirname=/storage/ofd_packets [14:13:46]CheckFolder done [14:13:46]ProducePacketName [14:13:46]name=ofd_packets/00004113 [14:13:46]NVStorageSaveData ofd_packets/00004113 [14:13:46]File name is /storage/ofd_packets/00004113 [14:13:46]Write 347 bytes [14:13:46]NVStorageSaveData done [14:13:46]OFDSenderStorePacket done [14:13:46]KKMCreateOFDPacket done [14:13:46]NVStorageSaveData kkm_last_timestamp [14:13:46]File name is /storage/kkm_last_timestamp [14:13:46]Write 4 bytes [14:13:46]NVStorageSaveData done [14:13:46]ExternCall_PrintAddStr [14:13:46]wPrintStart [14:13:46]Write to MH i2c: 01 00 00 D8 1E F6 [14:13:46]Write i2c OK [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: 01 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: 01 07 00 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: 01 07 00 D8 1E 00 00 00 00 00 FF 0F 0B [14:13:46]RasterBufferAndPrint [14:13:46]line Счет N : (3)4367 [14:13:46]line ИНН: 02508201610067 [14:13:46]line Контрольно-Кассовый Чек [14:13:46]line ПРОДАЖА [14:13:46]line Товар: 4602441018222 [14:13:46]line Чипсы FRY`S Сметана с зеленью 1/130 [14:13:46]line 1.000 * 175.00 [14:13:46]line = 175.00 [14:13:46]line НДС 12% НСП 1% [14:13:46]line > о реализуемом товаре [14:13:46]line ИТОГО: 175.00 [14:13:46]line НСП 1% : 1.55 [14:13:46]line НДС 12% : 18.58 [14:13:46]line Наличными: 175.00 [14:13:46]line Безнал.: 0.00 [14:13:46]line Место: АЗС № 116 "Партнер Нефть" [14:13:46]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [14:13:46]line СНО: Общий режим [14:13:46]line Чек 30 04.06.2024 14:13 [14:13:46]line Смена: 83 ФФД: 1.0 [14:13:46]line ЗНМ: 0300000233 [14:13:46]line РНМ: 0000000000145775 [14:13:46]line Версия ККМ: v1.0 [14:13:46]line ФМ: 0000000000959360 [14:13:46]line ФД: 4113 [14:13:46]line ФПД: 205865428387381 [14:13:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T141353&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4113&fm=205865428387381&tin=02508201610067®Number=0000000000145775&sum=17500 [14:13:46]line 0 [14:13:46]OFD Sender: Processing packet 4113 [packets to send 2, broken 1] [14:13:46]ProducePacketName [14:13:46]name=ofd_packets/00004113 [14:13:46]OFD Sender: To server: pG, [14:13:46]CommunicateWithHost lk.salyk.kg:30040 [14:13:46]ConnectInit lk.salyk.kg [14:13:46]written 0, free lines is 4095 [14:13:46]Connected sock=10 [14:13:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3D 01 00 00 60 DF 35 01 BE AF 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 32 32 32 06 04 37 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 A1 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 20 D1 81 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8C D1 8E 20 31 2F 31 33 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 21 21 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 11 10 00 00 35 04 06 00 BB 3B C7 BB 06 35 55 0E 7D 5D A4 38 9A DD [14:13:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 71 99 47 00 2C 88 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 11 10 00 00 F4 03 04 00 22 CD 5E 66 B6 04 01 00 00 5F 82 15 1C 5B 3A 6E 0C [14:13:46]CommunicateWithHost err = 0 [14:13:46]CheckOFDResponse [14:13:46]1017 (14) - 77093643461234 [14:13:46]1041 (16) - 0000000000959360 [14:13:46]1040 (4) - 4113 [14:13:46]1012 (4) - 04.06.2024 08:15 [14:13:46]1206 (1) - 0 [14:13:46]OFD Sender: Remove packet 4113 [14:13:46]ProducePacketName [14:13:46]name=ofd_packets/00004113 [14:13:46]NVStorageDeleteData [14:13:46]Write to MH i2c: 01 00 00 01 1F 20 [14:13:46]Write i2c OK [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: 01 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: 01 07 00 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: 01 07 00 01 1F 00 00 00 00 00 B0 0C E3 [14:13:46]RasterBufferAndPrint [14:13:46]line [14:13:46]line [14:13:46]line [14:13:46]line [14:13:46]line [14:13:46]written 0, free lines is 3252 [14:13:46]MH_Cut [14:13:46]Write to MH i2c: D1 01 00 08 1F 01 F9 [14:13:46]Write i2c OK [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: D1 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: D1 01 00 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: D1 01 00 08 1F 00 F8 [14:13:46]Write to MH i2c: 01 00 00 09 1F 28 [14:13:46]Write i2c OK [14:13:46]MH_I2C_Read... [14:13:47]OFD Sender: No OFD packet to send [14:13:47]*** Cut start [14:13:47]*** Partial cut [14:13:47]*** CUTSNS_PIN = 1 [14:13:47]*** CUTSNS_PIN = 0 [14:13:48]*** Brake cut motor [14:13:48]Read from MH i2c: 01 [14:13:48]MH_I2C_Read... [14:13:48]*** Stop cut motor [14:13:48]*** Cut end [14:13:48]Read from MH i2c: 01 07 00 [14:13:48]MH_I2C_Read... [14:13:48]Read from MH i2c: 01 07 00 09 1F 00 00 00 00 00 FF 0F 3D [14:13:48]process_action close_receipt done [14:13:48]requested_data is exist [14:13:48]produce_requested_data [14:13:48]requested_item fm.sn is exist - process it [14:13:48]wFMCommunicate request_size=4 [14:13:48]MH_SAM_APDU [14:13:48]CAPDU: 80 11 00 00 [14:13:48]Write to MH i2c: E2 08 00 0A 1F 80 11 00 00 00 00 00 00 A3 [14:13:48]Write i2c OK [14:13:48]MH_I2C_Read... [14:13:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:13:48]Read from MH i2c: E2 [14:13:48]MH_I2C_Read... [14:13:48]Read from MH i2c: E2 17 00 [14:13:48]MH_I2C_Read... [14:13:48]Read from MH i2c: E2 17 00 0A 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F6 [14:13:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:13:48]wFMCommunicate OK [14:13:48]requested_item fd.num is exist - process it [14:13:48]SAM_PROTO_GetFieldsCounters [14:13:48]wFMCommunicate request_size=4 [14:13:48]MH_SAM_APDU [14:13:48]CAPDU: 80 13 00 00 [14:13:48]Write to MH i2c: E2 08 00 0B 1F 80 13 00 00 00 00 00 00 A6 [14:13:48]Write i2c OK [14:13:48]MH_I2C_Read... [14:13:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:13:48]Read from MH i2c: E2 [14:13:48]MH_I2C_Read... [14:13:48]Read from MH i2c: E2 62 00 [14:13:48]MH_I2C_Read... [14:13:48]Read from MH i2c: E2 62 00 0B 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 11 10 00 00 0E 04 04 00 53 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 99 [14:13:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 11 10 00 00 0E 04 04 00 53 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 [14:13:48]wFMCommunicate OK [14:13:48]SAM_PROTO_GetFieldsCounters done [14:13:48]requested_item shift.num is exist - process it [14:13:48]requested_item shift.opened is exist - process it [14:13:48]req_shift_opened [14:13:48]FM_GetShiftState [14:13:48]SAM_PROTO_GetShiftState [14:13:48]wFMCommunicate request_size=4 [14:13:48]MH_SAM_APDU [14:13:48]CAPDU: 80 13 01 00 [14:13:48]Write to MH i2c: E2 08 00 0C 1F 80 13 01 00 00 00 00 00 A8 [14:13:48]Write i2c OK [14:13:48]MH_I2C_Read... [14:13:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:13:48]Read from MH i2c: E2 [14:13:48]MH_I2C_Read... [14:13:48]Read from MH i2c: E2 0E 00 [14:13:48]MH_I2C_Read... [14:13:48]Read from MH i2c: E2 0E 00 0C 1F 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 41 [14:13:48]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [14:13:48]wFMCommunicate OK [14:13:48]SAM_PROTO_GetShiftState done [14:13:48]FM_GetShiftState done [14:13:48]req_shift_opened done [14:13:48]requested_item shift.open_date is exist - process it [14:13:48]req_shift_open_date [14:13:48]req_shift_open_date done [14:13:48]produce_requested_data done [14:13:48]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4113,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [14:13:48]process_action_free close_receipt [14:13:48]json_value_free [14:13:48]json_value_free done [14:13:48]process_json_proto returns [14:13:48]Send response to host [14:13:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4113,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [14:13:48]free response buf [14:13:48]execute_script done [14:13:48]execute_script returns [14:13:48]free content buf [14:13:48]Sock 8.Close socket [14:13:48]Sock 8.Thread stoped [14:13:52]OFD Sender: No OFD packet to send [14:13:57]OFD Sender: No OFD packet to send [14:14:02]OFD Sender: No OFD packet to send [14:14:07]OFD Sender: No OFD packet to send [14:14:12]OFD Sender: No OFD packet to send [14:14:17]OFD Sender: No OFD packet to send [14:14:22]OFD Sender: No OFD packet to send [14:14:27]OFD Sender: No OFD packet to send [14:14:32]OFD Sender: No OFD packet to send [14:14:37]OFD Sender: No OFD packet to send [14:14:42]OFD Sender: No OFD packet to send [14:14:47]OFD Sender: No OFD packet to send [14:14:52]OFD Sender: No OFD packet to send [14:14:57]OFD Sender: No OFD packet to send [14:15:02]OFD Sender: No OFD packet to send [14:15:07]OFD Sender: No OFD packet to send [14:15:12]OFD Sender: No OFD packet to send [14:15:17]OFD Sender: No OFD packet to send [14:15:22]OFD Sender: No OFD packet to send [14:15:27]OFD Sender: No OFD packet to send [14:15:32]OFD Sender: No OFD packet to send [14:15:37]OFD Sender: No OFD packet to send [14:15:42]OFD Sender: No OFD packet to send [14:15:47]OFD Sender: No OFD packet to send [14:15:52]OFD Sender: No OFD packet to send [14:15:57]OFD Sender: No OFD packet to send [14:16:02]OFD Sender: No OFD packet to send [14:16:07]OFD Sender: No OFD packet to send [14:16:12]OFD Sender: No OFD packet to send [14:16:17]OFD Sender: No OFD packet to send [14:16:22]OFD Sender: No OFD packet to send [14:16:27]OFD Sender: No OFD packet to send [14:16:32]OFD Sender: No OFD packet to send [14:16:37]OFD Sender: No OFD packet to send [14:16:42]OFD Sender: No OFD packet to send [14:16:47]OFD Sender: No OFD packet to send [14:16:52]OFD Sender: No OFD packet to send [14:16:57]OFD Sender: No OFD packet to send [14:17:02]OFD Sender: No OFD packet to send [14:17:07]OFD Sender: No OFD packet to send [14:17:12]OFD Sender: No OFD packet to send [14:17:17]OFD Sender: No OFD packet to send [14:17:22]OFD Sender: No OFD packet to send [14:17:27]OFD Sender: No OFD packet to send [14:17:32]OFD Sender: No OFD packet to send [14:17:37]OFD Sender: No OFD packet to send [14:17:42]OFD Sender: No OFD packet to send [14:17:47]OFD Sender: No OFD packet to send [14:17:52]OFD Sender: No OFD packet to send [14:17:57]OFD Sender: No OFD packet to send [14:18:02]OFD Sender: No OFD packet to send [14:18:07]OFD Sender: No OFD packet to send [14:18:12]OFD Sender: No OFD packet to send [14:18:17]OFD Sender: No OFD packet to send [14:18:22]OFD Sender: No OFD packet to send [14:18:27]OFD Sender: No OFD packet to send [14:18:32]OFD Sender: No OFD packet to send [14:18:37]OFD Sender: No OFD packet to send [14:18:42]OFD Sender: No OFD packet to send [14:18:47]OFD Sender: No OFD packet to send [14:18:52]OFD Sender: No OFD packet to send [14:18:57]OFD Sender: No OFD packet to send [14:19:02]OFD Sender: No OFD packet to send [14:19:07]OFD Sender: No OFD packet to send [14:19:12]OFD Sender: No OFD packet to send [14:19:17]OFD Sender: No OFD packet to send [14:19:22]OFD Sender: No OFD packet to send [14:19:27]OFD Sender: No OFD packet to send [14:19:32]OFD Sender: No OFD packet to send [14:19:37]OFD Sender: No OFD packet to send [14:19:42]OFD Sender: No OFD packet to send [14:19:47]OFD Sender: No OFD packet to send [14:19:52]OFD Sender: No OFD packet to send [14:19:57]OFD Sender: No OFD packet to send [14:20:02]OFD Sender: No OFD packet to send [14:20:07]OFD Sender: No OFD packet to send [14:20:12]OFD Sender: No OFD packet to send [14:20:17]OFD Sender: No OFD packet to send [14:20:22]OFD Sender: No OFD packet to send [14:20:27]OFD Sender: No OFD packet to send [14:20:32]OFD Sender: No OFD packet to send [14:20:37]OFD Sender: No OFD packet to send [14:20:42]OFD Sender: No OFD packet to send [14:20:47]OFD Sender: No OFD packet to send [14:20:52]OFD Sender: No OFD packet to send [14:20:57]OFD Sender: No OFD packet to send [14:21:02]OFD Sender: No OFD packet to send [14:21:07]OFD Sender: No OFD packet to send [14:21:12]OFD Sender: No OFD packet to send [14:21:17]OFD Sender: No OFD packet to send [14:21:22]OFD Sender: No OFD packet to send [14:21:27]OFD Sender: No OFD packet to send [14:21:32]OFD Sender: No OFD packet to send [14:21:37]OFD Sender: No OFD packet to send [14:21:42]OFD Sender: No OFD packet to send [14:21:47]OFD Sender: No OFD packet to send [14:21:52]OFD Sender: No OFD packet to send [14:21:57]OFD Sender: No OFD packet to send [14:22:02]OFD Sender: No OFD packet to send [14:22:07]OFD Sender: No OFD packet to send [14:22:12]OFD Sender: No OFD packet to send [14:22:17]OFD Sender: No OFD packet to send [14:22:22]OFD Sender: No OFD packet to send [14:22:27]OFD Sender: No OFD packet to send [14:22:32]OFD Sender: No OFD packet to send [14:22:37]OFD Sender: No OFD packet to send [14:22:42]OFD Sender: No OFD packet to send [14:22:47]OFD Sender: No OFD packet to send [14:22:52]OFD Sender: No OFD packet to send [14:22:57]OFD Sender: No OFD packet to send [14:23:02]OFD Sender: No OFD packet to send [14:23:07]OFD Sender: No OFD packet to send [14:23:12]OFD Sender: No OFD packet to send [14:23:17]OFD Sender: No OFD packet to send [14:23:22]OFD Sender: No OFD packet to send [14:23:27]OFD Sender: No OFD packet to send [14:23:32]OFD Sender: No OFD packet to send [14:23:37]OFD Sender: No OFD packet to send [14:23:42]OFD Sender: No OFD packet to send [14:23:47]OFD Sender: No OFD packet to send [14:23:52]OFD Sender: No OFD packet to send [14:23:57]OFD Sender: No OFD packet to send [14:24:02]OFD Sender: No OFD packet to send [14:24:07]OFD Sender: No OFD packet to send [14:24:12]OFD Sender: No OFD packet to send [14:24:17]OFD Sender: No OFD packet to send [14:24:22]OFD Sender: No OFD packet to send [14:24:27]OFD Sender: No OFD packet to send [14:24:32]OFD Sender: No OFD packet to send [14:24:37]OFD Sender: No OFD packet to send [14:24:42]OFD Sender: No OFD packet to send [14:24:47]OFD Sender: No OFD packet to send [14:24:52]OFD Sender: No OFD packet to send [14:24:57]OFD Sender: No OFD packet to send [14:25:02]OFD Sender: No OFD packet to send [14:25:07]OFD Sender: No OFD packet to send [14:25:12]OFD Sender: No OFD packet to send [14:25:17]OFD Sender: No OFD packet to send [14:25:22]OFD Sender: No OFD packet to send [14:25:27]OFD Sender: No OFD packet to send [14:25:32]OFD Sender: No OFD packet to send [14:25:37]OFD Sender: No OFD packet to send [14:25:42]OFD Sender: No OFD packet to send [14:25:47]OFD Sender: No OFD packet to send [14:25:52]OFD Sender: No OFD packet to send [14:25:57]OFD Sender: No OFD packet to send [14:26:02]OFD Sender: No OFD packet to send [14:26:07]OFD Sender: No OFD packet to send [14:26:12]OFD Sender: No OFD packet to send [14:26:17]OFD Sender: No OFD packet to send [14:26:22]OFD Sender: No OFD packet to send [14:26:27]OFD Sender: No OFD packet to send [14:26:32]OFD Sender: No OFD packet to send [14:26:37]OFD Sender: No OFD packet to send [14:26:42]OFD Sender: No OFD packet to send [14:26:47]OFD Sender: No OFD packet to send [14:26:52]OFD Sender: No OFD packet to send [14:26:57]OFD Sender: No OFD packet to send [14:27:02]OFD Sender: No OFD packet to send [14:27:07]OFD Sender: No OFD packet to send [14:27:12]OFD Sender: No OFD packet to send [14:27:17]OFD Sender: No OFD packet to send [14:27:22]OFD Sender: No OFD packet to send [14:27:27]OFD Sender: No OFD packet to send [14:27:32]OFD Sender: No OFD packet to send [14:27:37]OFD Sender: No OFD packet to send [14:27:42]OFD Sender: No OFD packet to send [14:27:47]OFD Sender: No OFD packet to send [14:27:52]OFD Sender: No OFD packet to send [14:27:57]OFD Sender: No OFD packet to send [14:28:02]OFD Sender: No OFD packet to send [14:28:07]OFD Sender: No OFD packet to send [14:28:12]OFD Sender: No OFD packet to send [14:28:17]OFD Sender: No OFD packet to send [14:28:22]OFD Sender: No OFD packet to send [14:28:27]OFD Sender: No OFD packet to send [14:28:32]OFD Sender: No OFD packet to send [14:28:37]OFD Sender: No OFD packet to send [14:28:42]OFD Sender: No OFD packet to send [14:28:47]OFD Sender: No OFD packet to send [14:28:52]OFD Sender: No OFD packet to send [14:28:57]OFD Sender: No OFD packet to send [14:29:02]OFD Sender: No OFD packet to send [14:29:07]OFD Sender: No OFD packet to send [14:29:12]OFD Sender: No OFD packet to send [14:29:17]OFD Sender: No OFD packet to send [14:29:22]OFD Sender: No OFD packet to send [14:29:27]OFD Sender: No OFD packet to send [14:29:32]OFD Sender: No OFD packet to send [14:29:37]OFD Sender: No OFD packet to send [14:29:42]OFD Sender: No OFD packet to send [14:29:47]OFD Sender: No OFD packet to send [14:29:52]OFD Sender: No OFD packet to send [14:29:57]OFD Sender: No OFD packet to send [14:30:02]OFD Sender: No OFD packet to send [14:30:07]OFD Sender: No OFD packet to send [14:30:12]OFD Sender: No OFD packet to send [14:30:17]OFD Sender: No OFD packet to send [14:30:22]OFD Sender: No OFD packet to send [14:30:27]OFD Sender: No OFD packet to send [14:30:32]OFD Sender: No OFD packet to send [14:30:37]OFD Sender: No OFD packet to send [14:30:42]OFD Sender: No OFD packet to send [14:30:47]OFD Sender: No OFD packet to send [14:30:52]OFD Sender: No OFD packet to send [14:30:57]OFD Sender: No OFD packet to send [14:31:02]OFD Sender: No OFD packet to send [14:31:07]OFD Sender: No OFD packet to send [14:31:12]OFD Sender: No OFD packet to send [14:31:17]OFD Sender: No OFD packet to send [14:31:22]OFD Sender: No OFD packet to send [14:31:27]OFD Sender: No OFD packet to send [14:31:32]OFD Sender: No OFD packet to send [14:31:37]OFD Sender: No OFD packet to send [14:31:42]OFD Sender: No OFD packet to send [14:31:47]OFD Sender: No OFD packet to send [14:31:52]OFD Sender: No OFD packet to send [14:31:57]OFD Sender: No OFD packet to send [14:32:02]OFD Sender: No OFD packet to send [14:32:07]OFD Sender: No OFD packet to send [14:32:13]OFD Sender: No OFD packet to send [14:32:18]OFD Sender: No OFD packet to send [14:32:23]OFD Sender: No OFD packet to send [14:32:28]OFD Sender: No OFD packet to send [14:32:33]OFD Sender: No OFD packet to send [14:32:38]OFD Sender: No OFD packet to send [14:32:43]OFD Sender: No OFD packet to send [14:32:48]OFD Sender: No OFD packet to send [14:32:53]OFD Sender: No OFD packet to send [14:32:58]OFD Sender: No OFD packet to send [14:33:03]OFD Sender: No OFD packet to send [14:33:08]OFD Sender: No OFD packet to send [14:33:13]OFD Sender: No OFD packet to send [14:33:18]OFD Sender: No OFD packet to send [14:33:23]OFD Sender: No OFD packet to send [14:33:28]OFD Sender: No OFD packet to send [14:33:33]OFD Sender: No OFD packet to send [14:33:38]OFD Sender: No OFD packet to send [14:33:43]OFD Sender: No OFD packet to send [14:33:48]OFD Sender: No OFD packet to send [14:33:53]OFD Sender: No OFD packet to send [14:33:58]OFD Sender: No OFD packet to send [14:34:03]OFD Sender: No OFD packet to send [14:34:08]OFD Sender: No OFD packet to send [14:34:13]OFD Sender: No OFD packet to send [14:34:18]OFD Sender: No OFD packet to send [14:34:23]OFD Sender: No OFD packet to send [14:34:28]OFD Sender: No OFD packet to send [14:34:33]OFD Sender: No OFD packet to send [14:34:38]OFD Sender: No OFD packet to send [14:34:43]OFD Sender: No OFD packet to send [14:34:48]OFD Sender: No OFD packet to send [14:34:53]OFD Sender: No OFD packet to send [14:34:58]OFD Sender: No OFD packet to send [14:35:03]OFD Sender: No OFD packet to send [14:35:08]OFD Sender: No OFD packet to send [14:35:13]OFD Sender: No OFD packet to send [14:35:18]OFD Sender: No OFD packet to send [14:35:23]OFD Sender: No OFD packet to send [14:35:28]OFD Sender: No OFD packet to send [14:35:33]OFD Sender: No OFD packet to send [14:35:38]OFD Sender: No OFD packet to send [14:35:43]OFD Sender: No OFD packet to send [14:35:48]OFD Sender: No OFD packet to send [14:35:53]OFD Sender: No OFD packet to send [14:35:58]OFD Sender: No OFD packet to send [14:36:03]OFD Sender: No OFD packet to send [14:36:08]OFD Sender: No OFD packet to send [14:36:13]OFD Sender: No OFD packet to send [14:36:18]OFD Sender: No OFD packet to send [14:36:23]OFD Sender: No OFD packet to send [14:36:28]OFD Sender: No OFD packet to send [14:36:33]OFD Sender: No OFD packet to send [14:36:38]OFD Sender: No OFD packet to send [14:36:43]OFD Sender: No OFD packet to send [14:36:48]OFD Sender: No OFD packet to send [14:36:53]OFD Sender: No OFD packet to send [14:36:58]OFD Sender: No OFD packet to send [14:37:03]OFD Sender: No OFD packet to send [14:37:08]OFD Sender: No OFD packet to send [14:37:13]OFD Sender: No OFD packet to send [14:37:18]OFD Sender: No OFD packet to send [14:37:23]OFD Sender: No OFD packet to send [14:37:28]OFD Sender: No OFD packet to send [14:37:33]OFD Sender: No OFD packet to send [14:37:38]OFD Sender: No OFD packet to send [14:37:43]OFD Sender: No OFD packet to send [14:37:48]OFD Sender: No OFD packet to send [14:37:53]OFD Sender: No OFD packet to send [14:37:58]OFD Sender: No OFD packet to send [14:38:03]OFD Sender: No OFD packet to send [14:38:08]OFD Sender: No OFD packet to send [14:38:13]OFD Sender: No OFD packet to send [14:38:18]OFD Sender: No OFD packet to send [14:38:23]OFD Sender: No OFD packet to send [14:38:28]OFD Sender: No OFD packet to send [14:38:33]OFD Sender: No OFD packet to send [14:38:38]OFD Sender: No OFD packet to send [14:38:43]OFD Sender: No OFD packet to send [14:38:48]OFD Sender: No OFD packet to send [14:38:53]OFD Sender: No OFD packet to send [14:38:58]OFD Sender: No OFD packet to send [14:39:03]OFD Sender: No OFD packet to send [14:39:08]OFD Sender: No OFD packet to send [14:39:13]OFD Sender: No OFD packet to send [14:39:18]OFD Sender: No OFD packet to send [14:39:23]OFD Sender: No OFD packet to send [14:39:28]OFD Sender: No OFD packet to send [14:39:33]OFD Sender: No OFD packet to send [14:39:38]OFD Sender: No OFD packet to send [14:39:43]OFD Sender: No OFD packet to send [14:39:48]OFD Sender: No OFD packet to send [14:39:53]OFD Sender: No OFD packet to send [14:39:58]OFD Sender: No OFD packet to send [14:40:03]OFD Sender: No OFD packet to send [14:40:08]OFD Sender: No OFD packet to send [14:40:13]OFD Sender: No OFD packet to send [14:40:18]OFD Sender: No OFD packet to send [14:40:23]OFD Sender: No OFD packet to send [14:40:28]OFD Sender: No OFD packet to send [14:40:33]OFD Sender: No OFD packet to send [14:40:38]OFD Sender: No OFD packet to send [14:40:43]OFD Sender: No OFD packet to send [14:40:48]OFD Sender: No OFD packet to send [14:40:53]OFD Sender: No OFD packet to send [14:40:58]OFD Sender: No OFD packet to send [14:41:03]OFD Sender: No OFD packet to send [14:41:08]OFD Sender: No OFD packet to send [14:41:13]OFD Sender: No OFD packet to send [14:41:18]OFD Sender: No OFD packet to send [14:41:23]OFD Sender: No OFD packet to send [14:41:28]OFD Sender: No OFD packet to send [14:41:33]OFD Sender: No OFD packet to send [14:41:38]OFD Sender: No OFD packet to send [14:41:43]OFD Sender: No OFD packet to send [14:41:48]OFD Sender: No OFD packet to send [14:41:53]OFD Sender: No OFD packet to send [14:41:58]OFD Sender: No OFD packet to send [14:42:03]OFD Sender: No OFD packet to send [14:42:08]OFD Sender: No OFD packet to send [14:42:13]OFD Sender: No OFD packet to send [14:42:18]OFD Sender: No OFD packet to send [14:42:23]OFD Sender: No OFD packet to send [14:42:28]OFD Sender: No OFD packet to send [14:42:33]OFD Sender: No OFD packet to send [14:42:38]OFD Sender: No OFD packet to send [14:42:43]OFD Sender: No OFD packet to send [14:42:48]OFD Sender: No OFD packet to send [14:42:53]OFD Sender: No OFD packet to send [14:42:58]OFD Sender: No OFD packet to send [14:43:03]OFD Sender: No OFD packet to send [14:43:08]OFD Sender: No OFD packet to send [14:43:13]OFD Sender: No OFD packet to send [14:43:18]OFD Sender: No OFD packet to send [14:43:23]OFD Sender: No OFD packet to send [14:43:28]OFD Sender: No OFD packet to send [14:43:33]OFD Sender: No OFD packet to send [14:43:38]OFD Sender: No OFD packet to send [14:43:43]OFD Sender: No OFD packet to send [14:43:48]OFD Sender: No OFD packet to send [14:43:53]OFD Sender: No OFD packet to send [14:43:58]OFD Sender: No OFD packet to send [14:44:03]OFD Sender: No OFD packet to send [14:44:08]OFD Sender: No OFD packet to send [14:44:13]OFD Sender: No OFD packet to send [14:44:18]OFD Sender: No OFD packet to send [14:44:23]OFD Sender: No OFD packet to send [14:44:28]OFD Sender: No OFD packet to send [14:44:33]OFD Sender: No OFD packet to send [14:44:38]OFD Sender: No OFD packet to send [14:44:43]OFD Sender: No OFD packet to send [14:44:48]OFD Sender: No OFD packet to send [14:44:53]OFD Sender: No OFD packet to send [14:44:58]OFD Sender: No OFD packet to send [14:45:03]OFD Sender: No OFD packet to send [14:45:08]OFD Sender: No OFD packet to send [14:45:13]OFD Sender: No OFD packet to send [14:45:18]OFD Sender: No OFD packet to send [14:45:23]OFD Sender: No OFD packet to send [14:45:28]OFD Sender: No OFD packet to send [14:45:33]OFD Sender: No OFD packet to send [14:45:38]OFD Sender: No OFD packet to send [14:45:43]OFD Sender: No OFD packet to send [14:45:48]OFD Sender: No OFD packet to send [14:45:53]OFD Sender: No OFD packet to send [14:45:58]OFD Sender: No OFD packet to send [14:46:03]OFD Sender: No OFD packet to send [14:46:08]OFD Sender: No OFD packet to send [14:46:13]OFD Sender: No OFD packet to send [14:46:18]OFD Sender: No OFD packet to send [14:46:23]OFD Sender: No OFD packet to send [14:46:28]OFD Sender: No OFD packet to send [14:46:33]OFD Sender: No OFD packet to send [14:46:38]OFD Sender: No OFD packet to send [14:46:43]OFD Sender: No OFD packet to send [14:46:48]OFD Sender: No OFD packet to send [14:46:53]OFD Sender: No OFD packet to send [14:46:58]OFD Sender: No OFD packet to send [14:47:03]OFD Sender: No OFD packet to send [14:47:08]OFD Sender: No OFD packet to send [14:47:13]OFD Sender: No OFD packet to send [14:47:18]OFD Sender: No OFD packet to send [14:47:23]OFD Sender: No OFD packet to send [14:47:28]OFD Sender: No OFD packet to send [14:47:33]OFD Sender: No OFD packet to send [14:47:38]OFD Sender: No OFD packet to send [14:47:43]OFD Sender: No OFD packet to send [14:47:48]OFD Sender: No OFD packet to send [14:47:53]OFD Sender: No OFD packet to send [14:47:58]OFD Sender: No OFD packet to send [14:48:03]OFD Sender: No OFD packet to send [14:48:08]OFD Sender: No OFD packet to send [14:48:13]OFD Sender: No OFD packet to send [14:48:18]OFD Sender: No OFD packet to send [14:48:23]OFD Sender: No OFD packet to send [14:48:28]OFD Sender: No OFD packet to send [14:48:33]OFD Sender: No OFD packet to send [14:48:38]OFD Sender: No OFD packet to send [14:48:43]OFD Sender: No OFD packet to send [14:48:48]OFD Sender: No OFD packet to send [14:48:53]OFD Sender: No OFD packet to send [14:48:58]OFD Sender: No OFD packet to send [14:49:03]OFD Sender: No OFD packet to send [14:49:08]OFD Sender: No OFD packet to send [14:49:13]OFD Sender: No OFD packet to send [14:49:18]OFD Sender: No OFD packet to send [14:49:23]OFD Sender: No OFD packet to send [14:49:28]OFD Sender: No OFD packet to send [14:49:33]OFD Sender: No OFD packet to send [14:49:38]OFD Sender: No OFD packet to send [14:49:43]OFD Sender: No OFD packet to send [14:49:48]OFD Sender: No OFD packet to send [14:49:53]OFD Sender: No OFD packet to send [14:49:58]OFD Sender: No OFD packet to send [14:50:03]OFD Sender: No OFD packet to send [14:50:08]OFD Sender: No OFD packet to send [14:50:13]OFD Sender: No OFD packet to send [14:50:18]OFD Sender: No OFD packet to send [14:50:23]OFD Sender: No OFD packet to send [14:50:28]OFD Sender: No OFD packet to send [14:50:33]OFD Sender: No OFD packet to send [14:50:38]OFD Sender: No OFD packet to send [14:50:43]OFD Sender: No OFD packet to send [14:50:48]OFD Sender: No OFD packet to send [14:50:53]OFD Sender: No OFD packet to send [14:50:58]OFD Sender: No OFD packet to send [14:51:03]OFD Sender: No OFD packet to send [14:51:08]OFD Sender: No OFD packet to send [14:51:13]OFD Sender: No OFD packet to send [14:51:18]OFD Sender: No OFD packet to send [14:51:23]OFD Sender: No OFD packet to send [14:51:28]OFD Sender: No OFD packet to send [14:51:33]OFD Sender: No OFD packet to send [14:51:38]OFD Sender: No OFD packet to send [14:51:43]OFD Sender: No OFD packet to send [14:51:48]OFD Sender: No OFD packet to send [14:51:53]OFD Sender: No OFD packet to send [14:51:58]OFD Sender: No OFD packet to send [14:52:03]OFD Sender: No OFD packet to send [14:52:08]OFD Sender: No OFD packet to send [14:52:13]OFD Sender: No OFD packet to send [14:52:18]OFD Sender: No OFD packet to send [14:52:23]OFD Sender: No OFD packet to send [14:52:28]OFD Sender: No OFD packet to send [14:52:33]OFD Sender: No OFD packet to send [14:52:38]OFD Sender: No OFD packet to send [14:52:43]OFD Sender: No OFD packet to send [14:52:48]OFD Sender: No OFD packet to send [14:52:53]OFD Sender: No OFD packet to send [14:52:58]OFD Sender: No OFD packet to send [14:53:03]OFD Sender: No OFD packet to send [14:53:08]OFD Sender: No OFD packet to send [14:53:13]OFD Sender: No OFD packet to send [14:53:18]OFD Sender: No OFD packet to send [14:53:23]OFD Sender: No OFD packet to send [14:53:28]OFD Sender: No OFD packet to send [14:53:33]OFD Sender: No OFD packet to send [14:53:38]OFD Sender: No OFD packet to send [14:53:43]OFD Sender: No OFD packet to send [14:53:48]OFD Sender: No OFD packet to send [14:53:53]OFD Sender: No OFD packet to send [14:53:58]OFD Sender: No OFD packet to send [14:54:03]OFD Sender: No OFD packet to send [14:54:09]OFD Sender: No OFD packet to send [14:54:14]OFD Sender: No OFD packet to send [14:54:19]OFD Sender: No OFD packet to send [14:54:24]OFD Sender: No OFD packet to send [14:54:29]OFD Sender: No OFD packet to send [14:54:34]OFD Sender: No OFD packet to send [14:54:39]OFD Sender: No OFD packet to send [14:54:44]OFD Sender: No OFD packet to send [14:54:49]OFD Sender: No OFD packet to send [14:54:54]OFD Sender: No OFD packet to send [14:54:59]OFD Sender: No OFD packet to send [14:55:04]OFD Sender: No OFD packet to send [14:55:09]OFD Sender: No OFD packet to send [14:55:14]OFD Sender: No OFD packet to send [14:55:19]OFD Sender: No OFD packet to send [14:55:24]OFD Sender: No OFD packet to send [14:55:29]OFD Sender: No OFD packet to send [14:55:34]OFD Sender: No OFD packet to send [14:55:39]OFD Sender: No OFD packet to send [14:55:44]OFD Sender: No OFD packet to send [14:55:49]OFD Sender: No OFD packet to send [14:55:54]OFD Sender: No OFD packet to send [14:55:59]OFD Sender: No OFD packet to send [14:56:04]OFD Sender: No OFD packet to send [14:56:09]OFD Sender: No OFD packet to send [14:56:14]OFD Sender: No OFD packet to send [14:56:19]OFD Sender: No OFD packet to send [14:56:24]OFD Sender: No OFD packet to send [14:56:29]OFD Sender: No OFD packet to send [14:56:34]OFD Sender: No OFD packet to send [14:56:39]OFD Sender: No OFD packet to send [14:56:44]OFD Sender: No OFD packet to send [14:56:49]OFD Sender: No OFD packet to send [14:56:54]OFD Sender: No OFD packet to send [14:56:59]OFD Sender: No OFD packet to send [14:57:04]OFD Sender: No OFD packet to send [14:57:09]OFD Sender: No OFD packet to send [14:57:14]OFD Sender: No OFD packet to send [14:57:19]OFD Sender: No OFD packet to send [14:57:24]OFD Sender: No OFD packet to send [14:57:29]OFD Sender: No OFD packet to send [14:57:34]OFD Sender: No OFD packet to send [14:57:39]OFD Sender: No OFD packet to send [14:57:44]OFD Sender: No OFD packet to send [14:57:49]OFD Sender: No OFD packet to send [14:57:54]OFD Sender: No OFD packet to send [14:57:59]OFD Sender: No OFD packet to send [14:58:04]OFD Sender: No OFD packet to send [14:58:09]OFD Sender: No OFD packet to send [14:58:14]OFD Sender: No OFD packet to send [14:58:19]OFD Sender: No OFD packet to send [14:58:24]OFD Sender: No OFD packet to send [14:58:29]OFD Sender: No OFD packet to send [14:58:34]OFD Sender: No OFD packet to send [14:58:39]OFD Sender: No OFD packet to send [14:58:44]OFD Sender: No OFD packet to send [14:58:49]OFD Sender: No OFD packet to send [14:58:54]OFD Sender: No OFD packet to send [14:58:59]OFD Sender: No OFD packet to send [14:59:04]OFD Sender: No OFD packet to send [14:59:09]OFD Sender: No OFD packet to send [14:59:14]OFD Sender: No OFD packet to send [14:59:19]OFD Sender: No OFD packet to send [14:59:24]OFD Sender: No OFD packet to send [14:59:29]OFD Sender: No OFD packet to send [14:59:34]OFD Sender: No OFD packet to send [14:59:39]OFD Sender: No OFD packet to send [14:59:44]OFD Sender: No OFD packet to send [14:59:49]OFD Sender: No OFD packet to send [14:59:54]OFD Sender: No OFD packet to send [14:59:59]OFD Sender: No OFD packet to send [15:00:04]OFD Sender: No OFD packet to send [15:00:09]OFD Sender: No OFD packet to send [15:00:14]OFD Sender: No OFD packet to send [15:00:19]OFD Sender: No OFD packet to send [15:00:24]OFD Sender: No OFD packet to send [15:00:29]OFD Sender: No OFD packet to send [15:00:34]OFD Sender: No OFD packet to send [15:00:39]OFD Sender: No OFD packet to send [15:00:44]OFD Sender: No OFD packet to send [15:00:49]OFD Sender: No OFD packet to send [15:00:54]OFD Sender: No OFD packet to send [15:00:59]OFD Sender: No OFD packet to send [15:01:04]OFD Sender: No OFD packet to send [15:01:09]OFD Sender: No OFD packet to send [15:01:14]OFD Sender: No OFD packet to send [15:01:19]OFD Sender: No OFD packet to send [15:01:24]OFD Sender: No OFD packet to send [15:01:29]OFD Sender: No OFD packet to send [15:01:34]OFD Sender: No OFD packet to send [15:01:39]OFD Sender: No OFD packet to send [15:01:44]OFD Sender: No OFD packet to send [15:01:49]OFD Sender: No OFD packet to send [15:01:54]OFD Sender: No OFD packet to send [15:01:59]OFD Sender: No OFD packet to send [15:02:04]OFD Sender: No OFD packet to send [15:02:09]OFD Sender: No OFD packet to send [15:02:14]OFD Sender: No OFD packet to send [15:02:19]OFD Sender: No OFD packet to send [15:02:24]OFD Sender: No OFD packet to send [15:02:29]OFD Sender: No OFD packet to send [15:02:34]OFD Sender: No OFD packet to send [15:02:39]OFD Sender: No OFD packet to send [15:02:44]OFD Sender: No OFD packet to send [15:02:49]OFD Sender: No OFD packet to send [15:02:54]OFD Sender: No OFD packet to send [15:02:59]OFD Sender: No OFD packet to send [15:03:04]OFD Sender: No OFD packet to send [15:03:09]OFD Sender: No OFD packet to send [15:03:14]OFD Sender: No OFD packet to send [15:03:19]OFD Sender: No OFD packet to send [15:03:24]OFD Sender: No OFD packet to send [15:03:29]OFD Sender: No OFD packet to send [15:03:34]OFD Sender: No OFD packet to send [15:03:39]OFD Sender: No OFD packet to send [15:03:44]OFD Sender: No OFD packet to send [15:03:49]OFD Sender: No OFD packet to send [15:03:54]OFD Sender: No OFD packet to send [15:03:59]OFD Sender: No OFD packet to send [15:04:04]OFD Sender: No OFD packet to send [15:04:09]OFD Sender: No OFD packet to send [15:04:14]OFD Sender: No OFD packet to send [15:04:19]OFD Sender: No OFD packet to send [15:04:24]OFD Sender: No OFD packet to send [15:04:29]OFD Sender: No OFD packet to send [15:04:34]OFD Sender: No OFD packet to send [15:04:39]OFD Sender: No OFD packet to send [15:04:44]OFD Sender: No OFD packet to send [15:04:49]OFD Sender: No OFD packet to send [15:04:54]OFD Sender: No OFD packet to send [15:04:59]OFD Sender: No OFD packet to send [15:05:04]OFD Sender: No OFD packet to send [15:05:09]OFD Sender: No OFD packet to send [15:05:14]OFD Sender: No OFD packet to send [15:05:19]OFD Sender: No OFD packet to send [15:05:24]OFD Sender: No OFD packet to send [15:05:29]OFD Sender: No OFD packet to send [15:05:34]OFD Sender: No OFD packet to send [15:05:39]OFD Sender: No OFD packet to send [15:05:44]OFD Sender: No OFD packet to send [15:05:49]OFD Sender: No OFD packet to send [15:05:54]OFD Sender: No OFD packet to send [15:05:59]OFD Sender: No OFD packet to send [15:06:04]OFD Sender: No OFD packet to send [15:06:09]OFD Sender: No OFD packet to send [15:06:14]OFD Sender: No OFD packet to send [15:06:19]OFD Sender: No OFD packet to send [15:06:24]OFD Sender: No OFD packet to send [15:06:29]OFD Sender: No OFD packet to send [15:06:34]OFD Sender: No OFD packet to send [15:06:39]OFD Sender: No OFD packet to send [15:06:44]OFD Sender: No OFD packet to send [15:06:49]OFD Sender: No OFD packet to send [15:06:54]OFD Sender: No OFD packet to send [15:06:59]OFD Sender: No OFD packet to send [15:07:04]OFD Sender: No OFD packet to send [15:07:09]OFD Sender: No OFD packet to send [15:07:14]OFD Sender: No OFD packet to send [15:07:19]OFD Sender: No OFD packet to send [15:07:24]OFD Sender: No OFD packet to send [15:07:29]OFD Sender: No OFD packet to send [15:07:34]OFD Sender: No OFD packet to send [15:07:39]OFD Sender: No OFD packet to send [15:07:44]OFD Sender: No OFD packet to send [15:07:49]OFD Sender: No OFD packet to send [15:07:54]OFD Sender: No OFD packet to send [15:07:59]OFD Sender: No OFD packet to send [15:08:04]OFD Sender: No OFD packet to send [15:08:09]OFD Sender: No OFD packet to send [15:08:14]OFD Sender: No OFD packet to send [15:08:19]OFD Sender: No OFD packet to send [15:08:24]OFD Sender: No OFD packet to send [15:08:29]OFD Sender: No OFD packet to send [15:08:34]OFD Sender: No OFD packet to send [15:08:39]OFD Sender: No OFD packet to send [15:08:44]OFD Sender: No OFD packet to send [15:08:49]OFD Sender: No OFD packet to send [15:08:54]OFD Sender: No OFD packet to send [15:08:59]OFD Sender: No OFD packet to send [15:09:04]OFD Sender: No OFD packet to send [15:09:09]OFD Sender: No OFD packet to send [15:09:14]OFD Sender: No OFD packet to send [15:09:19]OFD Sender: No OFD packet to send [15:09:24]OFD Sender: No OFD packet to send [15:09:29]OFD Sender: No OFD packet to send [15:09:34]OFD Sender: No OFD packet to send [15:09:39]OFD Sender: No OFD packet to send [15:09:44]OFD Sender: No OFD packet to send [15:09:49]OFD Sender: No OFD packet to send [15:09:54]OFD Sender: No OFD packet to send [15:09:59]OFD Sender: No OFD packet to send [15:10:04]OFD Sender: No OFD packet to send [15:10:09]OFD Sender: No OFD packet to send [15:10:14]OFD Sender: No OFD packet to send [15:10:19]OFD Sender: No OFD packet to send [15:10:24]OFD Sender: No OFD packet to send [15:10:29]OFD Sender: No OFD packet to send [15:10:34]OFD Sender: No OFD packet to send [15:10:39]OFD Sender: No OFD packet to send [15:10:44]OFD Sender: No OFD packet to send [15:10:49]OFD Sender: No OFD packet to send [15:10:54]OFD Sender: No OFD packet to send [15:10:59]OFD Sender: No OFD packet to send [15:11:04]OFD Sender: No OFD packet to send [15:11:09]OFD Sender: No OFD packet to send [15:11:14]OFD Sender: No OFD packet to send [15:11:19]OFD Sender: No OFD packet to send [15:11:24]OFD Sender: No OFD packet to send [15:11:29]OFD Sender: No OFD packet to send [15:11:34]OFD Sender: No OFD packet to send [15:11:39]OFD Sender: No OFD packet to send [15:11:44]OFD Sender: No OFD packet to send [15:11:49]OFD Sender: No OFD packet to send [15:11:54]OFD Sender: No OFD packet to send [15:11:59]OFD Sender: No OFD packet to send [15:12:04]OFD Sender: No OFD packet to send [15:12:09]OFD Sender: No OFD packet to send [15:12:14]OFD Sender: No OFD packet to send [15:12:19]OFD Sender: No OFD packet to send [15:12:24]OFD Sender: No OFD packet to send [15:12:29]OFD Sender: No OFD packet to send [15:12:34]OFD Sender: No OFD packet to send [15:12:39]OFD Sender: No OFD packet to send [15:12:44]OFD Sender: No OFD packet to send [15:12:49]OFD Sender: No OFD packet to send [15:12:54]OFD Sender: No OFD packet to send [15:12:59]OFD Sender: No OFD packet to send [15:13:04]OFD Sender: No OFD packet to send [15:13:09]OFD Sender: No OFD packet to send [15:13:14]OFD Sender: No OFD packet to send [15:13:19]OFD Sender: No OFD packet to send [15:13:24]OFD Sender: No OFD packet to send [15:13:29]OFD Sender: No OFD packet to send [15:13:34]OFD Sender: No OFD packet to send [15:13:39]OFD Sender: No OFD packet to send [15:13:44]OFD Sender: No OFD packet to send [15:13:49]OFD Sender: No OFD packet to send [15:13:54]OFD Sender: No OFD packet to send [15:13:59]OFD Sender: No OFD packet to send [15:14:04]OFD Sender: No OFD packet to send [15:14:09]OFD Sender: No OFD packet to send [15:14:14]OFD Sender: No OFD packet to send [15:14:19]OFD Sender: No OFD packet to send [15:14:24]OFD Sender: No OFD packet to send [15:14:29]OFD Sender: No OFD packet to send [15:14:34]OFD Sender: No OFD packet to send [15:14:39]OFD Sender: No OFD packet to send [15:14:44]OFD Sender: No OFD packet to send [15:14:49]OFD Sender: No OFD packet to send [15:14:54]OFD Sender: No OFD packet to send [15:14:59]OFD Sender: No OFD packet to send [15:15:04]OFD Sender: No OFD packet to send [15:15:09]OFD Sender: No OFD packet to send [15:15:14]OFD Sender: No OFD packet to send [15:15:19]OFD Sender: No OFD packet to send [15:15:24]OFD Sender: No OFD packet to send [15:15:29]OFD Sender: No OFD packet to send [15:15:34]OFD Sender: No OFD packet to send [15:15:39]OFD Sender: No OFD packet to send [15:15:44]OFD Sender: No OFD packet to send [15:15:49]OFD Sender: No OFD packet to send [15:15:54]OFD Sender: No OFD packet to send [15:15:59]OFD Sender: No OFD packet to send [15:16:05]OFD Sender: No OFD packet to send [15:16:10]OFD Sender: No OFD packet to send [15:16:15]OFD Sender: No OFD packet to send [15:16:20]OFD Sender: No OFD packet to send [15:16:25]OFD Sender: No OFD packet to send [15:16:30]OFD Sender: No OFD packet to send [15:16:35]OFD Sender: No OFD packet to send [15:16:40]OFD Sender: No OFD packet to send [15:16:45]OFD Sender: No OFD packet to send [15:16:50]OFD Sender: No OFD packet to send [15:16:55]OFD Sender: No OFD packet to send [15:17:00]OFD Sender: No OFD packet to send [15:17:05]OFD Sender: No OFD packet to send [15:17:10]OFD Sender: No OFD packet to send [15:17:15]OFD Sender: No OFD packet to send [15:17:20]OFD Sender: No OFD packet to send [15:17:25]OFD Sender: No OFD packet to send [15:17:30]OFD Sender: No OFD packet to send [15:17:35]OFD Sender: No OFD packet to send [15:17:40]OFD Sender: No OFD packet to send [15:17:45]OFD Sender: No OFD packet to send [15:17:50]OFD Sender: No OFD packet to send [15:17:55]OFD Sender: No OFD packet to send [15:18:00]OFD Sender: No OFD packet to send [15:18:05]OFD Sender: No OFD packet to send [15:18:10]OFD Sender: No OFD packet to send [15:18:15]OFD Sender: No OFD packet to send [15:18:20]OFD Sender: No OFD packet to send [15:18:25]OFD Sender: No OFD packet to send [15:18:30]OFD Sender: No OFD packet to send [15:18:35]OFD Sender: No OFD packet to send [15:18:40]OFD Sender: No OFD packet to send [15:18:45]OFD Sender: No OFD packet to send [15:18:50]OFD Sender: No OFD packet to send [15:18:55]OFD Sender: No OFD packet to send [15:19:00]OFD Sender: No OFD packet to send [15:19:05]OFD Sender: No OFD packet to send [15:19:10]OFD Sender: No OFD packet to send [15:19:15]OFD Sender: No OFD packet to send [15:19:20]OFD Sender: No OFD packet to send [15:19:25]OFD Sender: No OFD packet to send [15:19:30]OFD Sender: No OFD packet to send [15:19:35]OFD Sender: No OFD packet to send [15:19:40]OFD Sender: No OFD packet to send [15:19:45]OFD Sender: No OFD packet to send [15:19:50]OFD Sender: No OFD packet to send [15:19:55]OFD Sender: No OFD packet to send [15:20:00]OFD Sender: No OFD packet to send [15:20:05]OFD Sender: No OFD packet to send [15:20:10]OFD Sender: No OFD packet to send [15:20:15]OFD Sender: No OFD packet to send [15:20:20]OFD Sender: No OFD packet to send [15:20:25]OFD Sender: No OFD packet to send [15:20:30]OFD Sender: No OFD packet to send [15:20:35]OFD Sender: No OFD packet to send [15:20:40]OFD Sender: No OFD packet to send [15:20:45]OFD Sender: No OFD packet to send [15:20:50]OFD Sender: No OFD packet to send [15:20:55]OFD Sender: No OFD packet to send [15:21:00]OFD Sender: No OFD packet to send [15:21:05]OFD Sender: No OFD packet to send [15:21:10]OFD Sender: No OFD packet to send [15:21:15]OFD Sender: No OFD packet to send [15:21:20]OFD Sender: No OFD packet to send [15:21:25]OFD Sender: No OFD packet to send [15:21:30]OFD Sender: No OFD packet to send [15:21:35]OFD Sender: No OFD packet to send [15:21:40]OFD Sender: No OFD packet to send [15:21:45]OFD Sender: No OFD packet to send [15:21:50]OFD Sender: No OFD packet to send [15:21:55]OFD Sender: No OFD packet to send [15:22:00]OFD Sender: No OFD packet to send [15:22:05]OFD Sender: No OFD packet to send [15:22:10]OFD Sender: No OFD packet to send [15:22:15]OFD Sender: No OFD packet to send [15:22:20]OFD Sender: No OFD packet to send [15:22:25]OFD Sender: No OFD packet to send [15:22:30]OFD Sender: No OFD packet to send [15:22:35]OFD Sender: No OFD packet to send [15:22:40]OFD Sender: No OFD packet to send [15:22:45]OFD Sender: No OFD packet to send [15:22:50]OFD Sender: No OFD packet to send [15:22:55]OFD Sender: No OFD packet to send [15:23:00]OFD Sender: No OFD packet to send [15:23:05]OFD Sender: No OFD packet to send [15:23:10]OFD Sender: No OFD packet to send [15:23:15]OFD Sender: No OFD packet to send [15:23:20]OFD Sender: No OFD packet to send [15:23:25]OFD Sender: No OFD packet to send [15:23:30]OFD Sender: No OFD packet to send [15:23:35]OFD Sender: No OFD packet to send [15:23:40]OFD Sender: No OFD packet to send [15:23:45]OFD Sender: No OFD packet to send [15:23:50]OFD Sender: No OFD packet to send [15:23:55]OFD Sender: No OFD packet to send [15:24:00]OFD Sender: No OFD packet to send [15:24:05]OFD Sender: No OFD packet to send [15:24:10]OFD Sender: No OFD packet to send [15:24:15]OFD Sender: No OFD packet to send [15:24:20]OFD Sender: No OFD packet to send [15:24:25]OFD Sender: No OFD packet to send [15:24:30]OFD Sender: No OFD packet to send [15:24:35]OFD Sender: No OFD packet to send [15:24:40]OFD Sender: No OFD packet to send [15:24:45]OFD Sender: No OFD packet to send [15:24:50]OFD Sender: No OFD packet to send [15:24:55]OFD Sender: No OFD packet to send [15:25:00]OFD Sender: No OFD packet to send [15:25:05]OFD Sender: No OFD packet to send [15:25:10]OFD Sender: No OFD packet to send [15:25:15]OFD Sender: No OFD packet to send [15:25:20]OFD Sender: No OFD packet to send [15:25:25]OFD Sender: No OFD packet to send [15:25:30]OFD Sender: No OFD packet to send [15:25:35]OFD Sender: No OFD packet to send [15:25:40]OFD Sender: No OFD packet to send [15:25:45]OFD Sender: No OFD packet to send [15:25:50]OFD Sender: No OFD packet to send [15:25:55]OFD Sender: No OFD packet to send [15:26:00]OFD Sender: No OFD packet to send [15:26:05]OFD Sender: No OFD packet to send [15:26:10]OFD Sender: No OFD packet to send [15:26:15]OFD Sender: No OFD packet to send [15:26:20]OFD Sender: No OFD packet to send [15:26:25]OFD Sender: No OFD packet to send [15:26:30]OFD Sender: No OFD packet to send [15:26:35]OFD Sender: No OFD packet to send [15:26:40]OFD Sender: No OFD packet to send [15:26:45]OFD Sender: No OFD packet to send [15:26:50]OFD Sender: No OFD packet to send [15:26:55]OFD Sender: No OFD packet to send [15:27:00]OFD Sender: No OFD packet to send [15:27:05]OFD Sender: No OFD packet to send [15:27:10]OFD Sender: No OFD packet to send [15:27:15]OFD Sender: No OFD packet to send [15:27:20]OFD Sender: No OFD packet to send [15:27:25]OFD Sender: No OFD packet to send [15:27:30]OFD Sender: No OFD packet to send [15:27:35]OFD Sender: No OFD packet to send [15:27:40]OFD Sender: No OFD packet to send [15:27:45]OFD Sender: No OFD packet to send [15:27:50]OFD Sender: No OFD packet to send [15:27:55]OFD Sender: No OFD packet to send [15:28:00]OFD Sender: No OFD packet to send [15:28:05]OFD Sender: No OFD packet to send [15:28:10]OFD Sender: No OFD packet to send [15:28:15]OFD Sender: No OFD packet to send [15:28:20]OFD Sender: No OFD packet to send [15:28:25]OFD Sender: No OFD packet to send [15:28:30]OFD Sender: No OFD packet to send [15:28:35]OFD Sender: No OFD packet to send [15:28:40]OFD Sender: No OFD packet to send [15:28:45]OFD Sender: No OFD packet to send [15:28:50]OFD Sender: No OFD packet to send [15:28:55]OFD Sender: No OFD packet to send [15:29:00]OFD Sender: No OFD packet to send [15:29:05]OFD Sender: No OFD packet to send [15:29:10]OFD Sender: No OFD packet to send [15:29:15]OFD Sender: No OFD packet to send [15:29:20]OFD Sender: No OFD packet to send [15:29:25]OFD Sender: No OFD packet to send [15:29:30]OFD Sender: No OFD packet to send [15:29:35]OFD Sender: No OFD packet to send [15:29:40]OFD Sender: No OFD packet to send [15:29:45]OFD Sender: No OFD packet to send [15:29:50]OFD Sender: No OFD packet to send [15:29:55]OFD Sender: No OFD packet to send [15:30:00]OFD Sender: No OFD packet to send [15:30:05]OFD Sender: No OFD packet to send [15:30:10]OFD Sender: No OFD packet to send [15:30:15]OFD Sender: No OFD packet to send [15:30:20]OFD Sender: No OFD packet to send [15:30:25]OFD Sender: No OFD packet to send [15:30:30]OFD Sender: No OFD packet to send [15:30:35]OFD Sender: No OFD packet to send [15:30:40]OFD Sender: No OFD packet to send [15:30:45]OFD Sender: No OFD packet to send [15:30:50]OFD Sender: No OFD packet to send [15:30:55]OFD Sender: No OFD packet to send [15:31:00]OFD Sender: No OFD packet to send [15:31:05]OFD Sender: No OFD packet to send [15:31:10]OFD Sender: No OFD packet to send [15:31:15]OFD Sender: No OFD packet to send [15:31:20]OFD Sender: No OFD packet to send [15:31:25]OFD Sender: No OFD packet to send [15:31:30]OFD Sender: No OFD packet to send [15:31:35]OFD Sender: No OFD packet to send [15:31:40]OFD Sender: No OFD packet to send [15:31:45]OFD Sender: No OFD packet to send [15:31:50]OFD Sender: No OFD packet to send [15:31:55]OFD Sender: No OFD packet to send [15:32:00]OFD Sender: No OFD packet to send [15:32:05]OFD Sender: No OFD packet to send [15:32:10]OFD Sender: No OFD packet to send [15:32:15]OFD Sender: No OFD packet to send [15:32:20]OFD Sender: No OFD packet to send [15:32:25]OFD Sender: No OFD packet to send [15:32:30]OFD Sender: No OFD packet to send [15:32:35]OFD Sender: No OFD packet to send [15:32:40]OFD Sender: No OFD packet to send [15:32:45]OFD Sender: No OFD packet to send [15:32:50]OFD Sender: No OFD packet to send [15:32:55]OFD Sender: No OFD packet to send [15:33:00]OFD Sender: No OFD packet to send [15:33:05]OFD Sender: No OFD packet to send [15:33:10]OFD Sender: No OFD packet to send [15:33:15]OFD Sender: No OFD packet to send [15:33:20]OFD Sender: No OFD packet to send [15:33:25]OFD Sender: No OFD packet to send [15:33:30]OFD Sender: No OFD packet to send [15:33:35]OFD Sender: No OFD packet to send [15:33:40]OFD Sender: No OFD packet to send [15:33:45]OFD Sender: No OFD packet to send [15:33:50]OFD Sender: No OFD packet to send [15:33:55]OFD Sender: No OFD packet to send [15:34:00]OFD Sender: No OFD packet to send [15:34:05]OFD Sender: No OFD packet to send [15:34:10]OFD Sender: No OFD packet to send [15:34:15]OFD Sender: No OFD packet to send [15:34:20]OFD Sender: No OFD packet to send [15:34:25]OFD Sender: No OFD packet to send [15:34:30]OFD Sender: No OFD packet to send [15:34:35]OFD Sender: No OFD packet to send [15:34:40]OFD Sender: No OFD packet to send [15:34:45]OFD Sender: No OFD packet to send [15:34:50]OFD Sender: No OFD packet to send [15:34:55]OFD Sender: No OFD packet to send [15:35:00]OFD Sender: No OFD packet to send [15:35:05]OFD Sender: No OFD packet to send [15:35:10]OFD Sender: No OFD packet to send [15:35:15]OFD Sender: No OFD packet to send [15:35:20]OFD Sender: No OFD packet to send [15:35:25]OFD Sender: No OFD packet to send [15:35:30]OFD Sender: No OFD packet to send [15:35:35]OFD Sender: No OFD packet to send [15:35:40]OFD Sender: No OFD packet to send [15:35:45]OFD Sender: No OFD packet to send [15:35:50]OFD Sender: No OFD packet to send [15:35:55]OFD Sender: No OFD packet to send [15:36:00]OFD Sender: No OFD packet to send [15:36:05]OFD Sender: No OFD packet to send [15:36:10]OFD Sender: No OFD packet to send [15:36:15]OFD Sender: No OFD packet to send [15:36:20]OFD Sender: No OFD packet to send [15:36:25]OFD Sender: No OFD packet to send [15:36:30]OFD Sender: No OFD packet to send [15:36:35]OFD Sender: No OFD packet to send [15:36:40]OFD Sender: No OFD packet to send [15:36:45]OFD Sender: No OFD packet to send [15:36:50]OFD Sender: No OFD packet to send [15:36:55]OFD Sender: No OFD packet to send [15:37:00]OFD Sender: No OFD packet to send [15:37:05]OFD Sender: No OFD packet to send [15:37:10]OFD Sender: No OFD packet to send [15:37:15]OFD Sender: No OFD packet to send [15:37:20]OFD Sender: No OFD packet to send [15:37:25]OFD Sender: No OFD packet to send [15:37:30]OFD Sender: No OFD packet to send [15:37:35]OFD Sender: No OFD packet to send [15:37:40]OFD Sender: No OFD packet to send [15:37:45]OFD Sender: No OFD packet to send [15:37:50]OFD Sender: No OFD packet to send [15:37:56]OFD Sender: No OFD packet to send [15:38:01]OFD Sender: No OFD packet to send [15:38:06]OFD Sender: No OFD packet to send [15:38:11]OFD Sender: No OFD packet to send [15:38:16]OFD Sender: No OFD packet to send [15:38:18]accept exits with 9 [15:38:18]New connection [15:38:18]New thread 3067227492 created [15:38:18]Thread 3067370852 joined [15:38:18]Waiting for new connection... [15:38:18] Sock 9.Parse request [15:38:18]Sock 9.Check first char [15:38:18]Sock 9.First char is OK [15:38:18]request: POST /json_proto HTTP/1.0 [15:38:18]Method: POST [15:38:18]URL: /json_proto [15:38:18]Method is POST - this is cgi request [15:38:18]url: /json_proto [15:38:18]query_string will be loaded in cgi processing [15:38:18]execute_cgi json_proto POST (null) [15:38:18]execute_cgi path=json_proto method=POST [15:38:18]POST find Content-Length [15:38:18]Host: 172.17.56.68:8080 [15:38:18]Content-Length: 1061 [15:38:18]Content-Type: application/json [15:38:18] [15:38:18]POST finish read [15:38:18]Found Content-Length = 1061 [15:38:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4368", "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 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:38:18]execute_script... [15:38: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)4368", "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 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:38:18]POST & json_proto [15:38:18]process_json_proto [15:38:18]json parsed OK: [15:38:18]protocol is kg_v1.0 [15:38:18]action value=close_receipt [15:38:18]process_action close_receipt [15:38:18]cmd_close_receipt [15:38:18]MH_GetDate [15:38:18]Write to MH i2c: F0 00 00 0D 1F 1B [15:38:18]Write i2c OK [15:38:18]MH_I2C_Read... [15:38:18]Read from MH i2c: F0 [15:38:18]MH_I2C_Read... [15:38:18]Read from MH i2c: F0 09 00 [15:38:18]MH_I2C_Read... [15:38:18]Read from MH i2c: F0 09 00 0D 1F 00 F3 34 5F 66 42 69 5C 66 7D [15:38:18]GetLastDocTimeStamp 1717510433 [15:38:18]current date 1717515507 [15:38:18]FM_GetShiftState [15:38:18]SAM_PROTO_GetShiftState [15:38:18]wFMCommunicate request_size=4 [15:38:18]MH_SAM_APDU [15:38:18]CAPDU: 80 13 01 00 [15:38:18]Write to MH i2c: E2 08 00 0E 1F 80 13 01 00 00 00 00 00 AA [15:38:18]Write i2c OK [15:38:18]MH_I2C_Read... [15:38:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:38:18]Read from MH i2c: E2 [15:38:18]MH_I2C_Read... [15:38:18]Read from MH i2c: E2 0E 00 [15:38:18]MH_I2C_Read... [15:38:18]Read from MH i2c: E2 0E 00 0E 1F 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 43 [15:38:18]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [15:38:18]wFMCommunicate OK [15:38:18]SAM_PROTO_GetShiftState done [15:38:18]FM_GetShiftState done [15:38:18]opened in 1717459822 [15:38:18]opened+sec_in_day 1717546222 [15:38:18]quantity*price = 11500 [15:38:18]sum+1 = 11501 [15:38:18]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036240010 Кофе Латте (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 230.00 НСП 1% : 2.04 НДС 12% : 24.42 Наличными: 0.00 Безнал.: 230.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 31 04.06.2024 15:38 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959360 ФД: 4114 ФПД: 186718465655759 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T153827&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4114&fm=186718465655759&tin=02508201610067®Number=0000000000145775&sum=23000 0 [15:38:19]StoreToDocumentArchive [15:38:19]shift 83 fd 4114 [15:38:19]save to /storage/0083/doc_00004114 [15:38:19]save last doc name /storage/0083/doc_00004114 to /storage/kkm_last_doc_name [15:38:19]save OK [15:38:19]Clear old archive folders... [15:38:19]ProcessDocumentItem done err = 0, tmpTLVsize=384 [15:38:19]tlvbuf is 0078A000 [15:38:19]SAM_PROTO_ClearQueue [15:38:19]wFMCommunicate request_size=4 [15:38:19]MH_SAM_APDU [15:38:19]CAPDU: 80 09 00 00 [15:38:19]Write to MH i2c: E2 08 00 1B 1F 80 09 00 00 00 00 00 00 AC [15:38:19]Write i2c OK [15:38:19]MH_I2C_Read... [15:38:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:38:19]Read from MH i2c: E2 [15:38:19]MH_I2C_Read... [15:38:19]Read from MH i2c: E2 03 00 [15:38:19]MH_I2C_Read... [15:38:19]Read from MH i2c: E2 03 00 1B 1F 00 90 00 AE [15:38:19]RAPDU: 90 00 [15:38:19]wFMCommunicate OK [15:38:19]SAM_PROTO_ClearQueue done [15:38:19]KKMCreateOFDPacket [15:38:19]OFDProtocolAddRootSTLVToBuf [15:38:19]FM_MakeSignedData [15:38:19]FM_MakeSignedData [15:38:19]SAM_PROTO_SignData [15:38:19]wFMCommunicate request_size=4 [15:38:19]MH_SAM_APDU [15:38:19]CAPDU: 80 0D 01 02 [15:38:19]Write to MH i2c: E2 08 00 1C 1F 80 0D 01 02 00 00 00 00 B4 [15:38:19]Write i2c OK [15:38:19]MH_I2C_Read... [15:38:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:38:19]Read from MH i2c: E2 [15:38:19]MH_I2C_Read... [15:38:19]Read from MH i2c: E2 03 00 [15:38:19]MH_I2C_Read... [15:38:19]Read from MH i2c: E2 03 00 1C 1F 00 90 00 AF [15:38:19]RAPDU: 90 00 [15:38:19]wFMCommunicate OK [15:38:19]wFMCommunicate request_size=255 [15:38:19]MH_SAM_APDU [15:38:19]CAPDU: 80 0D 02 02 FA 03 00 80 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 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 [15:38:19]Write to MH i2c: E2 02 01 1D 1F 80 0D 02 02 FA 00 03 00 80 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 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 99 [15:38:19]Write i2c OK [15:38:19]MH_I2C_Read... [15:38:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:38:19]Read from MH i2c: E2 [15:38:19]MH_I2C_Read... [15:38:19]Read from MH i2c: E2 03 00 [15:38:19]MH_I2C_Read... [15:38:19]Read from MH i2c: E2 03 00 1D 1F 00 90 00 B0 [15:38:19]RAPDU: 90 00 [15:38:19]wFMCommunicate OK [15:38:19]wFMCommunicate request_size=143 [15:38:19]MH_SAM_APDU [15:38:19]CAPDU: 80 0D 02 02 8A 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 00 00 00 00 00 00 39 04 06 00 D8 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 F3 34 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 12 10 00 00 35 04 06 00 A9 D1 C7 D1 83 CF [15:38:19]Write to MH i2c: E2 92 00 1E 1F 80 0D 02 02 8A 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 00 00 00 00 00 00 39 04 06 00 D8 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 F3 34 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 12 10 00 00 35 04 06 00 A9 D1 C7 D1 83 CF 00 00 70 [15:38:19]Write i2c OK [15:38:19]MH_I2C_Read... [15:38:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:38:19]Read from MH i2c: E2 [15:38:19]MH_I2C_Read... [15:38:19]Read from MH i2c: E2 03 00 [15:38:19]MH_I2C_Read... [15:38:19]Read from MH i2c: E2 03 00 1E 1F 00 90 00 B1 [15:38:19]RAPDU: 90 00 [15:38:19]wFMCommunicate OK [15:38:19]wFMCommunicate request_size=4 [15:38:19]MH_SAM_APDU [15:38:19]CAPDU: 80 0D 03 02 [15:38:19]Write to MH i2c: E2 08 00 1F 1F 80 0D 03 02 00 00 00 00 B9 [15:38:19]Write i2c OK [15:38:19]MH_I2C_Read... [15:38:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:38:20]Read from MH i2c: E2 [15:38:20]MH_I2C_Read... [15:38:20]Read from MH i2c: E2 0B 00 [15:38:20]MH_I2C_Read... [15:38:20]Read from MH i2c: E2 0B 00 1F 1F 00 1F 5B FD 35 ED CE FC 67 90 00 84 [15:38:20]RAPDU: 1F 5B FD 35 ED CE FC 67 90 00 [15:38:20]wFMCommunicate OK [15:38:20]SAM_PROTO_SignData done [15:38:20]FM_MakeSignedData done [15:38:20]CreateOFDProtocolMessage [15:38:20]wFMCommunicate request_size=4 [15:38:20]MH_SAM_APDU [15:38:20]CAPDU: 80 11 00 00 [15:38:20]Write to MH i2c: E2 08 00 20 1F 80 11 00 00 00 00 00 00 B9 [15:38:20]Write i2c OK [15:38:20]MH_I2C_Read... [15:38:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:38:20]Read from MH i2c: E2 [15:38:20]MH_I2C_Read... [15:38:20]Read from MH i2c: E2 17 00 [15:38:20]MH_I2C_Read... [15:38:20]Read from MH i2c: E2 17 00 20 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 0C [15:38:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [15:38:20]wFMCommunicate OK [15:38:20]CreateOFDProtocolMessage done [15:38:20]OFDSenderStorePacket 4114 [15:38:20]StoreOFDPacket docnum=4114 [15:38:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 94 01 00 00 E4 54 8C 01 CF 56 5A 03 01 00 03 00 80 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 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 00 00 00 00 00 00 39 04 06 00 D8 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 F3 34 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 12 10 00 00 35 04 06 00 A9 D1 C7 D1 83 CF 1F 5B FD 35 ED CE FC 67 [15:38:20]CheckFolder [15:38:20]dirname=/storage/ofd_packets [15:38:20]CheckFolder done [15:38:20]ProducePacketName [15:38:20]name=ofd_packets/00004114 [15:38:20]NVStorageSaveData ofd_packets/00004114 [15:38:20]File name is /storage/ofd_packets/00004114 [15:38:20]Write 434 bytes [15:38:20]NVStorageSaveData done [15:38:20]OFDSenderStorePacket done [15:38:20]KKMCreateOFDPacket done [15:38:20]NVStorageSaveData kkm_last_timestamp [15:38:20]File name is /storage/kkm_last_timestamp [15:38:20]Write 4 bytes [15:38:20]NVStorageSaveData done [15:38:20]ExternCall_PrintAddStr [15:38:20]wPrintStart [15:38:20]Write to MH i2c: 01 00 00 21 1F 40 [15:38:20]OFD Sender: Processing packet 4114 [packets to send 2, broken 1] [15:38:20]ProducePacketName [15:38:20]name=ofd_packets/00004114 [15:38:20]OFD Sender: To server: pG, [15:38:20]CommunicateWithHost lk.salyk.kg:30040 [15:38:20]ConnectInit lk.salyk.kg [15:38:20]Write i2c OK [15:38:20]MH_I2C_Read... [15:38:20]Read from MH i2c: 01 [15:38:20]MH_I2C_Read... [15:38:20]Read from MH i2c: 01 07 00 [15:38:20]MH_I2C_Read... [15:38:20]Read from MH i2c: 01 07 00 21 1F 00 00 00 00 00 FF 0F 55 [15:38:20]RasterBufferAndPrint [15:38:20]line Счет N : (3)4368 [15:38:20]line ИНН: 02508201610067 [15:38:20]line Контрольно-Кассовый Чек [15:38:20]line ПРОДАЖА [15:38:20]line Товар: 2000036210013 [15:38:20]line Кофе Капучино (GABB TRADE) [15:38:20]line 1.000 * 115.00 [15:38:20]line = 115.00 [15:38:20]line НДС 12% НСП 1% [15:38:20]line > о реализуемом товаре [15:38:20]line Товар: 2000036240010 [15:38:20]line Кофе Латте (GABB TRADE) [15:38:20]line 1.000 * 115.00 [15:38:20]line = 115.00 [15:38:20]line НДС 12% НСП 1% [15:38:20]line > о реализуемом товаре [15:38:20]line ИТОГО: 230.00 [15:38:20]line НСП 1% : 2.04 [15:38:20]line НДС 12% : 24.42 [15:38:20]line Наличными: 0.00 [15:38:20]line Безнал.: 230.00 [15:38:20]line Место: АЗС № 116 "Партнер Нефть" [15:38:20]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [15:38:20]line СНО: Общий режим [15:38:20]line Чек 31 04.06.2024 15:38 [15:38:20]line Смена: 83 ФФД: 1.0 [15:38:20]line ЗНМ: 0300000233 [15:38:20]line РНМ: 0000000000145775 [15:38:20]line Версия ККМ: v1.0 [15:38:20]line Платежная система: Бакай Банк [15:38:20]line ФМ: 0000000000959360 [15:38:20]line ФД: 4114 [15:38:20]line ФПД: 186718465655759 [15:38:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T153827&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4114&fm=186718465655759&tin=02508201610067®Number=0000000000145775&sum=23000 [15:38:20]line 0 [15:38:20]written 0, free lines is 4095 [15:38:20]Connected sock=10 [15:38:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 94 01 00 00 E4 54 8C 01 CF 56 5A 03 01 00 03 00 80 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 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 00 00 00 00 00 00 39 04 06 00 D8 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 F3 34 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 12 10 00 00 35 04 06 00 A9 D1 C7 D1 83 CF 1F 5B FD 35 ED CE FC 67 [15:38:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 F6 35 47 00 5D 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 12 10 00 00 F4 03 04 00 F4 E0 5E 66 B6 04 01 00 00 77 C0 BE E5 E2 67 19 49 [15:38:20]CommunicateWithHost err = 0 [15:38:20]CheckOFDResponse [15:38:20]1017 (14) - 77093643461234 [15:38:20]1041 (16) - 0000000000959360 [15:38:20]1040 (4) - 4114 [15:38:20]1012 (4) - 04.06.2024 09:40 [15:38:20]1206 (1) - 0 [15:38:20]OFD Sender: Remove packet 4114 [15:38:20]ProducePacketName [15:38:20]name=ofd_packets/00004114 [15:38:20]NVStorageDeleteData [15:38:20]Write to MH i2c: 01 00 00 51 1F 70 [15:38:20]Write i2c OK [15:38:20]MH_I2C_Read... [15:38:20]Read from MH i2c: 01 [15:38:20]MH_I2C_Read... [15:38:20]Read from MH i2c: 01 07 00 [15:38:20]MH_I2C_Read... [15:38:20]Read from MH i2c: 01 07 00 51 1F 00 00 00 00 00 40 0C C3 [15:38:20]RasterBufferAndPrint [15:38:20]line [15:38:20]line [15:38:20]line [15:38:20]line [15:38:20]line [15:38:20]written 0, free lines is 3142 [15:38:20]MH_Cut [15:38:20]Write to MH i2c: D1 01 00 58 1F 01 49 [15:38:20]Write i2c OK [15:38:20]MH_I2C_Read... [15:38:20]Read from MH i2c: D1 [15:38:20]MH_I2C_Read... [15:38:20]Read from MH i2c: D1 01 00 [15:38:20]MH_I2C_Read... [15:38:20]Read from MH i2c: D1 01 00 58 1F 00 48 [15:38:20]Write to MH i2c: 01 00 00 59 1F 78 [15:38:20]Write i2c OK [15:38:20]MH_I2C_Read... [15:38:21]OFD Sender: No OFD packet to send [15:38:22]*** Cut start [15:38:22]*** Partial cut [15:38:22]*** CUTSNS_PIN = 1 [15:38:22]*** CUTSNS_PIN = 0 [15:38:22]*** Brake cut motor [15:38:22]Read from MH i2c: 01 [15:38:22]MH_I2C_Read... [15:38:22]*** Stop cut motor [15:38:22]*** Cut end [15:38:22]Read from MH i2c: 01 07 00 [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: 01 07 00 59 1F 00 00 00 00 00 FF 0F 8D [15:38:22]process_action close_receipt done [15:38:22]requested_data is exist [15:38:22]produce_requested_data [15:38:22]requested_item fm.sn is exist - process it [15:38:22]wFMCommunicate request_size=4 [15:38:22]MH_SAM_APDU [15:38:22]CAPDU: 80 11 00 00 [15:38:22]Write to MH i2c: E2 08 00 5A 1F 80 11 00 00 00 00 00 00 F3 [15:38:22]Write i2c OK [15:38:22]MH_I2C_Read... [15:38:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:38:22]Read from MH i2c: E2 [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: E2 17 00 [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: E2 17 00 5A 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 46 [15:38:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [15:38:22]wFMCommunicate OK [15:38:22]requested_item fd.num is exist - process it [15:38:22]SAM_PROTO_GetFieldsCounters [15:38:22]wFMCommunicate request_size=4 [15:38:22]MH_SAM_APDU [15:38:22]CAPDU: 80 13 00 00 [15:38:22]Write to MH i2c: E2 08 00 5B 1F 80 13 00 00 00 00 00 00 F6 [15:38:22]Write i2c OK [15:38:22]MH_I2C_Read... [15:38:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:38:22]Read from MH i2c: E2 [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: E2 62 00 [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: E2 62 00 5B 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 12 10 00 00 0E 04 04 00 53 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 ED [15:38:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 12 10 00 00 0E 04 04 00 53 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 [15:38:22]wFMCommunicate OK [15:38:22]SAM_PROTO_GetFieldsCounters done [15:38:22]requested_item shift.num is exist - process it [15:38:22]requested_item shift.opened is exist - process it [15:38:22]req_shift_opened [15:38:22]FM_GetShiftState [15:38:22]SAM_PROTO_GetShiftState [15:38:22]wFMCommunicate request_size=4 [15:38:22]MH_SAM_APDU [15:38:22]CAPDU: 80 13 01 00 [15:38:22]Write to MH i2c: E2 08 00 5C 1F 80 13 01 00 00 00 00 00 F8 [15:38:22]Write i2c OK [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: E2 [15:38:22]MH_I2C_Read... [15:38:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:38:22]Read from MH i2c: E2 0E 00 [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: E2 0E 00 5C 1F 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 91 [15:38:22]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [15:38:22]wFMCommunicate OK [15:38:22]SAM_PROTO_GetShiftState done [15:38:22]FM_GetShiftState done [15:38:22]req_shift_opened done [15:38:22]requested_item shift.open_date is exist - process it [15:38:22]req_shift_open_date [15:38:22]req_shift_open_date done [15:38:22]produce_requested_data done [15:38:22]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4114,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [15:38:22]process_action_free close_receipt [15:38:22]json_value_free [15:38:22]json_value_free done [15:38:22]process_json_proto returns [15:38:22]Send response to host [15:38:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4114,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [15:38:22]free response buf [15:38:22]execute_script done [15:38:22]execute_script returns [15:38:22]free content buf [15:38:22]Sock 9.Close socket [15:38:22]Sock 9.Thread stoped [15:38:26]OFD Sender: No OFD packet to send [15:38:31]OFD Sender: No OFD packet to send [15:38:36]OFD Sender: No OFD packet to send [15:38:41]OFD Sender: No OFD packet to send [15:38:46]OFD Sender: No OFD packet to send [15:38:51]OFD Sender: No OFD packet to send [15:38:56]OFD Sender: No OFD packet to send [15:39:01]OFD Sender: No OFD packet to send [15:39:06]OFD Sender: No OFD packet to send [15:39:11]OFD Sender: No OFD packet to send [15:39:16]OFD Sender: No OFD packet to send [15:39:21]OFD Sender: No OFD packet to send [15:39:26]OFD Sender: No OFD packet to send [15:39:31]OFD Sender: No OFD packet to send [15:39:36]OFD Sender: No OFD packet to send [15:39:41]OFD Sender: No OFD packet to send [15:39:46]OFD Sender: No OFD packet to send [15:39:51]OFD Sender: No OFD packet to send [15:39:56]OFD Sender: No OFD packet to send [15:40:01]OFD Sender: No OFD packet to send [15:40:06]OFD Sender: No OFD packet to send [15:40:11]OFD Sender: No OFD packet to send [15:40:16]OFD Sender: No OFD packet to send [15:40:21]OFD Sender: No OFD packet to send [15:40:26]OFD Sender: No OFD packet to send [15:40:31]OFD Sender: No OFD packet to send [15:40:36]OFD Sender: No OFD packet to send [15:40:41]OFD Sender: No OFD packet to send [15:40:46]OFD Sender: No OFD packet to send [15:40:51]OFD Sender: No OFD packet to send [15:40:56]OFD Sender: No OFD packet to send [15:41:01]OFD Sender: No OFD packet to send [15:41:06]OFD Sender: No OFD packet to send [15:41:11]OFD Sender: No OFD packet to send [15:41:16]OFD Sender: No OFD packet to send [15:41:21]OFD Sender: No OFD packet to send [15:41:26]OFD Sender: No OFD packet to send [15:41:31]OFD Sender: No OFD packet to send [15:41:36]OFD Sender: No OFD packet to send [15:41:41]OFD Sender: No OFD packet to send [15:41:46]OFD Sender: No OFD packet to send [15:41:51]OFD Sender: No OFD packet to send [15:41:56]OFD Sender: No OFD packet to send [15:42:01]OFD Sender: No OFD packet to send [15:42:06]OFD Sender: No OFD packet to send [15:42:11]OFD Sender: No OFD packet to send [15:42:16]OFD Sender: No OFD packet to send [15:42:21]OFD Sender: No OFD packet to send [15:42:26]OFD Sender: No OFD packet to send [15:42:31]OFD Sender: No OFD packet to send [15:42:36]OFD Sender: No OFD packet to send [15:42:41]OFD Sender: No OFD packet to send [15:42:46]OFD Sender: No OFD packet to send [15:42:51]OFD Sender: No OFD packet to send [15:42:56]OFD Sender: No OFD packet to send [15:43:01]OFD Sender: No OFD packet to send [15:43:06]OFD Sender: No OFD packet to send [15:43:11]OFD Sender: No OFD packet to send [15:43:16]OFD Sender: No OFD packet to send [15:43:21]OFD Sender: No OFD packet to send [15:43:26]OFD Sender: No OFD packet to send [15:43:31]OFD Sender: No OFD packet to send [15:43:36]OFD Sender: No OFD packet to send [15:43:41]OFD Sender: No OFD packet to send [15:43:46]OFD Sender: No OFD packet to send [15:43:51]OFD Sender: No OFD packet to send [15:43:56]OFD Sender: No OFD packet to send [15:44:01]OFD Sender: No OFD packet to send [15:44:06]OFD Sender: No OFD packet to send [15:44:11]OFD Sender: No OFD packet to send [15:44:16]OFD Sender: No OFD packet to send [15:44:21]OFD Sender: No OFD packet to send [15:44:26]OFD Sender: No OFD packet to send [15:44:31]OFD Sender: No OFD packet to send [15:44:36]OFD Sender: No OFD packet to send [15:44:41]OFD Sender: No OFD packet to send [15:44:46]OFD Sender: No OFD packet to send [15:44:51]OFD Sender: No OFD packet to send [15:44:56]OFD Sender: No OFD packet to send [15:45:01]OFD Sender: No OFD packet to send [15:45:06]OFD Sender: No OFD packet to send [15:45:11]OFD Sender: No OFD packet to send [15:45:16]OFD Sender: No OFD packet to send [15:45:21]OFD Sender: No OFD packet to send [15:45:26]OFD Sender: No OFD packet to send [15:45:31]OFD Sender: No OFD packet to send [15:45:36]OFD Sender: No OFD packet to send [15:45:41]OFD Sender: No OFD packet to send [15:45:46]OFD Sender: No OFD packet to send [15:45:51]OFD Sender: No OFD packet to send [15:45:56]OFD Sender: No OFD packet to send [15:46:01]OFD Sender: No OFD packet to send [15:46:06]OFD Sender: No OFD packet to send [15:46:11]OFD Sender: No OFD packet to send [15:46:16]OFD Sender: No OFD packet to send [15:46:21]OFD Sender: No OFD packet to send [15:46:26]OFD Sender: No OFD packet to send [15:46:31]OFD Sender: No OFD packet to send [15:46:36]OFD Sender: No OFD packet to send [15:46:41]OFD Sender: No OFD packet to send [15:46:46]OFD Sender: No OFD packet to send [15:46:51]OFD Sender: No OFD packet to send [15:46:56]OFD Sender: No OFD packet to send [15:47:01]OFD Sender: No OFD packet to send [15:47:06]OFD Sender: No OFD packet to send [15:47:11]OFD Sender: No OFD packet to send [15:47:16]OFD Sender: No OFD packet to send [15:47:21]OFD Sender: No OFD packet to send [15:47:26]OFD Sender: No OFD packet to send [15:47:31]OFD Sender: No OFD packet to send [15:47:36]OFD Sender: No OFD packet to send [15:47:41]OFD Sender: No OFD packet to send [15:47:46]OFD Sender: No OFD packet to send [15:47:51]OFD Sender: No OFD packet to send [15:47:56]OFD Sender: No OFD packet to send [15:48:01]OFD Sender: No OFD packet to send [15:48:06]OFD Sender: No OFD packet to send [15:48:11]OFD Sender: No OFD packet to send [15:48:16]OFD Sender: No OFD packet to send [15:48:21]OFD Sender: No OFD packet to send [15:48:26]OFD Sender: No OFD packet to send [15:48:31]OFD Sender: No OFD packet to send [15:48:36]OFD Sender: No OFD packet to send [15:48:41]OFD Sender: No OFD packet to send [15:48:46]OFD Sender: No OFD packet to send [15:48:51]OFD Sender: No OFD packet to send [15:48:56]OFD Sender: No OFD packet to send [15:49:01]OFD Sender: No OFD packet to send [15:49:06]OFD Sender: No OFD packet to send [15:49:11]OFD Sender: No OFD packet to send [15:49:16]OFD Sender: No OFD packet to send [15:49:21]OFD Sender: No OFD packet to send [15:49:26]OFD Sender: No OFD packet to send [15:49:31]OFD Sender: No OFD packet to send [15:49:36]OFD Sender: No OFD packet to send [15:49:41]OFD Sender: No OFD packet to send [15:49:46]OFD Sender: No OFD packet to send [15:49:51]OFD Sender: No OFD packet to send [15:49:56]OFD Sender: No OFD packet to send [15:50:01]OFD Sender: No OFD packet to send [15:50:06]OFD Sender: No OFD packet to send [15:50:11]OFD Sender: No OFD packet to send [15:50:16]OFD Sender: No OFD packet to send [15:50:21]OFD Sender: No OFD packet to send [15:50:26]OFD Sender: No OFD packet to send [15:50:31]OFD Sender: No OFD packet to send [15:50:36]OFD Sender: No OFD packet to send [15:50:41]OFD Sender: No OFD packet to send [15:50:46]OFD Sender: No OFD packet to send [15:50:51]OFD Sender: No OFD packet to send [15:50:56]OFD Sender: No OFD packet to send [15:51:01]OFD Sender: No OFD packet to send [15:51:06]OFD Sender: No OFD packet to send [15:51:11]OFD Sender: No OFD packet to send [15:51:16]OFD Sender: No OFD packet to send [15:51:21]OFD Sender: No OFD packet to send [15:51:26]OFD Sender: No OFD packet to send [15:51:31]OFD Sender: No OFD packet to send [15:51:36]OFD Sender: No OFD packet to send [15:51:41]OFD Sender: No OFD packet to send [15:51:46]OFD Sender: No OFD packet to send [15:51:51]OFD Sender: No OFD packet to send [15:51:56]OFD Sender: No OFD packet to send [15:52:01]OFD Sender: No OFD packet to send [15:52:06]OFD Sender: No OFD packet to send [15:52:11]OFD Sender: No OFD packet to send [15:52:16]OFD Sender: No OFD packet to send [15:52:21]OFD Sender: No OFD packet to send [15:52:26]OFD Sender: No OFD packet to send [15:52:31]OFD Sender: No OFD packet to send [15:52:36]OFD Sender: No OFD packet to send [15:52:41]OFD Sender: No OFD packet to send [15:52:46]OFD Sender: No OFD packet to send [15:52:47]accept exits with 8 [15:52:47]New connection [15:52:47]New thread 3067370852 created [15:52:47]Thread 3067227492 joined [15:52:47]Waiting for new connection... [15:52:47] Sock 8.Parse request [15:52:47]Sock 8.Check first char [15:52:47]Sock 8.First char is OK [15:52:47]request: POST /json_proto HTTP/1.0 [15:52:47]Method: POST [15:52:47]URL: /json_proto [15:52:47]Method is POST - this is cgi request [15:52:47]url: /json_proto [15:52:47]query_string will be loaded in cgi processing [15:52:47]execute_cgi json_proto POST (null) [15:52:47]execute_cgi path=json_proto method=POST [15:52:47]POST find Content-Length [15:52:47]Host: 172.17.56.68:8080 [15:52:47]Content-Length: 670 [15:52:47]Content-Type: application/json [15:52:47] [15:52:47]POST finish read [15:52:47]Found Content-Length = 670 [15:52:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4369", "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" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:52:47]execute_script... [15:52: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)4369", "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" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:52:47]POST & json_proto [15:52:47]process_json_proto [15:52:47]json parsed OK: [15:52:47]protocol is kg_v1.0 [15:52:47]action value=close_receipt [15:52:47]process_action close_receipt [15:52:47]cmd_close_receipt [15:52:47]MH_GetDate [15:52:47]Write to MH i2c: F0 00 00 5D 1F 6B [15:52:47]Write i2c OK [15:52:47]MH_I2C_Read... [15:52:47]Read from MH i2c: F0 [15:52:47]MH_I2C_Read... [15:52:47]Read from MH i2c: F0 09 00 [15:52:47]MH_I2C_Read... [15:52:47]Read from MH i2c: F0 09 00 5D 1F 00 59 38 5F 66 42 69 5C 66 37 [15:52:47]GetLastDocTimeStamp 1717515507 [15:52:47]current date 1717516377 [15:52:47]FM_GetShiftState [15:52:47]SAM_PROTO_GetShiftState [15:52:47]wFMCommunicate request_size=4 [15:52:47]MH_SAM_APDU [15:52:47]CAPDU: 80 13 01 00 [15:52:47]Write to MH i2c: E2 08 00 5E 1F 80 13 01 00 00 00 00 00 FA [15:52:47]Write i2c OK [15:52:47]MH_I2C_Read... [15:52:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:52:48]Read from MH i2c: E2 [15:52:48]MH_I2C_Read... [15:52:48]Read from MH i2c: E2 0E 00 [15:52:48]MH_I2C_Read... [15:52:48]Read from MH i2c: E2 0E 00 5E 1F 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 93 [15:52:48]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [15:52:48]wFMCommunicate OK [15:52:48]SAM_PROTO_GetShiftState done [15:52:48]FM_GetShiftState done [15:52:48]opened in 1717459822 [15:52:48]opened+sec_in_day 1717546222 [15:52:48]quantity*price = 19000 [15:52:48]sum+1 = 19001 [15:52:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 32 04.06.2024 15:52 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4115 ФПД: 50778894310417 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T155257&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4115&fm=50778894310417&tin=02508201610067®Number=0000000000145775&sum=19000 0 [15:52:49]StoreToDocumentArchive [15:52:49]shift 83 fd 4115 [15:52:49]save to /storage/0083/doc_00004115 [15:52:49]save last doc name /storage/0083/doc_00004115 to /storage/kkm_last_doc_name [15:52:49]save OK [15:52:49]Clear old archive folders... [15:52:49]ProcessDocumentItem done err = 0, tmpTLVsize=293 [15:52:49]tlvbuf is 0077AA30 [15:52:49]SAM_PROTO_ClearQueue [15:52:49]wFMCommunicate request_size=4 [15:52:49]MH_SAM_APDU [15:52:49]CAPDU: 80 09 00 00 [15:52:49]Write to MH i2c: E2 08 00 6B 1F 80 09 00 00 00 00 00 00 FC [15:52:49]Write i2c OK [15:52:49]MH_I2C_Read... [15:52:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:52:49]Read from MH i2c: E2 [15:52:49]MH_I2C_Read... [15:52:49]Read from MH i2c: E2 03 00 [15:52:49]MH_I2C_Read... [15:52:49]Read from MH i2c: E2 03 00 6B 1F 00 90 00 FE [15:52:49]RAPDU: 90 00 [15:52:49]wFMCommunicate OK [15:52:49]SAM_PROTO_ClearQueue done [15:52:49]KKMCreateOFDPacket [15:52:49]OFDProtocolAddRootSTLVToBuf [15:52:49]FM_MakeSignedData [15:52:49]FM_MakeSignedData [15:52:49]SAM_PROTO_SignData [15:52:49]wFMCommunicate request_size=4 [15:52:49]MH_SAM_APDU [15:52:49]CAPDU: 80 0D 01 02 [15:52:49]Write to MH i2c: E2 08 00 6C 1F 80 0D 01 02 00 00 00 00 04 [15:52:49]Write i2c OK [15:52:49]MH_I2C_Read... [15:52:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:52:49]Read from MH i2c: E2 [15:52:49]MH_I2C_Read... [15:52:49]Read from MH i2c: E2 03 00 [15:52:49]MH_I2C_Read... [15:52:49]Read from MH i2c: E2 03 00 6C 1F 00 90 00 FF [15:52:49]RAPDU: 90 00 [15:52:49]wFMCommunicate OK [15:52:49]wFMCommunicate request_size=255 [15:52:49]MH_SAM_APDU [15:52:49]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 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 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 59 38 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [15:52:49]Write to MH i2c: E2 02 01 6D 1F 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 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 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 59 38 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 BD [15:52:49]Write i2c OK [15:52:49]MH_I2C_Read... [15:52:49]Read from MH i2c: E2 [15:52:49]MH_I2C_Read... [15:52:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:52:49]Read from MH i2c: E2 03 00 [15:52:49]MH_I2C_Read... [15:52:49]Read from MH i2c: E2 03 00 6D 1F 00 90 00 00 [15:52:49]RAPDU: 90 00 [15:52:49]wFMCommunicate OK [15:52:49]wFMCommunicate request_size=52 [15:52:49]MH_SAM_APDU [15:52:49]CAPDU: 80 0D 02 02 2F 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 13 10 00 00 35 04 06 00 2E 2E E1 F5 1C 11 [15:52:49]Write to MH i2c: E2 37 00 6E 1F 80 0D 02 02 2F 00 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 13 10 00 00 35 04 06 00 2E 2E E1 F5 1C 11 00 00 50 [15:52:49]Write i2c OK [15:52:49]MH_I2C_Read... [15:52:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:52:49]Read from MH i2c: E2 [15:52:49]MH_I2C_Read... [15:52:49]Read from MH i2c: E2 03 00 [15:52:49]MH_I2C_Read... [15:52:49]Read from MH i2c: E2 03 00 6E 1F 00 90 00 01 [15:52:49]RAPDU: 90 00 [15:52:49]wFMCommunicate OK [15:52:49]wFMCommunicate request_size=4 [15:52:49]MH_SAM_APDU [15:52:49]CAPDU: 80 0D 03 02 [15:52:49]Write to MH i2c: E2 08 00 6F 1F 80 0D 03 02 00 00 00 00 09 [15:52:49]Write i2c OK [15:52:49]MH_I2C_Read... [15:52:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:52:49]Read from MH i2c: E2 [15:52:49]MH_I2C_Read... [15:52:49]Read from MH i2c: E2 0B 00 [15:52:49]MH_I2C_Read... [15:52:49]Read from MH i2c: E2 0B 00 6F 1F 00 BD 7B 89 CB DD AE 5E 50 90 00 CF [15:52:49]RAPDU: BD 7B 89 CB DD AE 5E 50 90 00 [15:52:49]wFMCommunicate OK [15:52:49]SAM_PROTO_SignData done [15:52:49]FM_MakeSignedData done [15:52:49]CreateOFDProtocolMessage [15:52:49]wFMCommunicate request_size=4 [15:52:49]MH_SAM_APDU [15:52:49]CAPDU: 80 11 00 00 [15:52:49]Write to MH i2c: E2 08 00 70 1F 80 11 00 00 00 00 00 00 09 [15:52:49]Write i2c OK [15:52:49]MH_I2C_Read... [15:52:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:52:49]Read from MH i2c: E2 [15:52:49]MH_I2C_Read... [15:52:49]Read from MH i2c: E2 17 00 [15:52:49]MH_I2C_Read... [15:52:49]Read from MH i2c: E2 17 00 70 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 5C [15:52:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [15:52:49]wFMCommunicate OK [15:52:49]CreateOFDProtocolMessage done [15:52:49]OFDSenderStorePacket 4115 [15:52:49]StoreOFDPacket docnum=4115 [15:52:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 D8 EE 31 01 9C E4 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 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 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 59 38 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 13 10 00 00 35 04 06 00 2E 2E E1 F5 1C 11 BD 7B 89 CB DD AE 5E 50 [15:52:49]CheckFolder [15:52:49]dirname=/storage/ofd_packets [15:52:49]CheckFolder done [15:52:49]ProducePacketName [15:52:49]name=ofd_packets/00004115 [15:52:49]NVStorageSaveData ofd_packets/00004115 [15:52:49]File name is /storage/ofd_packets/00004115 [15:52:49]Write 343 bytes [15:52:49]NVStorageSaveData done [15:52:49]OFDSenderStorePacket done [15:52:49]KKMCreateOFDPacket done [15:52:49]NVStorageSaveData kkm_last_timestamp [15:52:49]File name is /storage/kkm_last_timestamp [15:52:49]Write 4 bytes [15:52:49]NVStorageSaveData done [15:52:49]ExternCall_PrintAddStr [15:52:49]wPrintStart [15:52:49]Write to MH i2c: 01 00 00 71 1F 90 [15:52:49]Write i2c OK [15:52:49]MH_I2C_Read... [15:52:49]Read from MH i2c: 01 [15:52:49]MH_I2C_Read... [15:52:49]Read from MH i2c: 01 07 00 [15:52:49]MH_I2C_Read... [15:52:49]Read from MH i2c: 01 07 00 71 1F 00 00 00 00 00 FF 0F A5 [15:52:49]RasterBufferAndPrint [15:52:49]line Счет N : (3)4369 [15:52:49]line ИНН: 02508201610067 [15:52:49]line Контрольно-Кассовый Чек [15:52:49]line ПРОДАЖА [15:52:49]line Товар: 4700003010056 [15:52:49]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [15:52:49]line 2.000 * 95.00 [15:52:49]line = 190.00 [15:52:49]line НДС 12% НСП 1% [15:52:49]line > о реализуемом товаре [15:52:49]line ИТОГО: 190.00 [15:52:49]line НСП 1% : 1.68 [15:52:49]line НДС 12% : 20.18 [15:52:49]line Наличными: 190.00 [15:52:49]line Безнал.: 0.00 [15:52:49]line Место: АЗС № 116 "Партнер Нефть" [15:52:49]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [15:52:49]line СНО: Общий режим [15:52:49]line Чек 32 04.06.2024 15:52 [15:52:49]line Смена: 83 ФФД: 1.0 [15:52:49]line ЗНМ: 0300000233 [15:52:49]line РНМ: 0000000000145775 [15:52:49]line Версия ККМ: v1.0 [15:52:49]line ФМ: 0000000000959360 [15:52:49]line ФД: 4115 [15:52:49]line ФПД: 50778894310417 [15:52:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T155257&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4115&fm=50778894310417&tin=02508201610067®Number=0000000000145775&sum=19000 [15:52:50]line 0 [15:52:50]OFD Sender: Processing packet 4115 [packets to send 2, broken 1] [15:52:50]ProducePacketName [15:52:50]name=ofd_packets/00004115 [15:52:50]OFD Sender: To server: pG, [15:52:50]CommunicateWithHost lk.salyk.kg:30040 [15:52:50]ConnectInit lk.salyk.kg [15:52:50]written 0, free lines is 4095 [15:52:50]Connected sock=10 [15:52:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 D8 EE 31 01 9C E4 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 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 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 59 38 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 13 10 00 00 35 04 06 00 2E 2E E1 F5 1C 11 BD 7B 89 CB DD AE 5E 50 [15:52:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 F8 8C 47 00 40 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 30 39 35 39 33 36 30 10 04 04 00 13 10 00 00 F4 03 04 00 59 E4 5E 66 B6 04 01 00 00 7C 4B 0D A7 55 08 A6 0D [15:52:50]CommunicateWithHost err = 0 [15:52:50]CheckOFDResponse [15:52:50]1017 (14) - 77093643461234 [15:52:50]1041 (16) - 0000000000959360 [15:52:50]1040 (4) - 4115 [15:52:50]1012 (4) - 04.06.2024 09:54 [15:52:50]1206 (1) - 0 [15:52:50]OFD Sender: Remove packet 4115 [15:52:50]ProducePacketName [15:52:50]name=ofd_packets/00004115 [15:52:50]NVStorageDeleteData [15:52:50]Write to MH i2c: 01 00 00 9A 1F B9 [15:52:50]Write i2c OK [15:52:50]MH_I2C_Read... [15:52:50]Read from MH i2c: 01 [15:52:50]MH_I2C_Read... [15:52:50]Read from MH i2c: 01 07 00 [15:52:50]MH_I2C_Read... [15:52:50]Read from MH i2c: 01 07 00 9A 1F 00 00 00 00 00 AF 0C 7B [15:52:50]RasterBufferAndPrint [15:52:50]line [15:52:50]line [15:52:50]line [15:52:50]line [15:52:50]line [15:52:50]written 0, free lines is 3251 [15:52:50]MH_Cut [15:52:50]Write to MH i2c: D1 01 00 A1 1F 01 92 [15:52:50]Write i2c OK [15:52:50]MH_I2C_Read... [15:52:50]Read from MH i2c: D1 [15:52:50]MH_I2C_Read... [15:52:50]Read from MH i2c: D1 01 00 [15:52:50]MH_I2C_Read... [15:52:50]Read from MH i2c: D1 01 00 A1 1F 00 91 [15:52:50]Write to MH i2c: 01 00 00 A2 1F C1 [15:52:50]Write i2c OK [15:52:50]MH_I2C_Read... [15:52:50]OFD Sender: No OFD packet to send [15:52:51]*** Cut start [15:52:51]*** Partial cut [15:52:51]*** CUTSNS_PIN = 1 [15:52:51]*** CUTSNS_PIN = 0 [15:52:51]*** Brake cut motor [15:52:52]Read from MH i2c: 01 [15:52:52]MH_I2C_Read... [15:52:52]*** Stop cut motor [15:52:52]*** Cut end [15:52:52]Read from MH i2c: 01 07 00 [15:52:52]MH_I2C_Read... [15:52:52]Read from MH i2c: 01 07 00 A2 1F 00 00 00 00 00 FF 0F D6 [15:52:52]process_action close_receipt done [15:52:52]requested_data is exist [15:52:52]produce_requested_data [15:52:52]requested_item fm.sn is exist - process it [15:52:52]wFMCommunicate request_size=4 [15:52:52]MH_SAM_APDU [15:52:52]CAPDU: 80 11 00 00 [15:52:52]Write to MH i2c: E2 08 00 A3 1F 80 11 00 00 00 00 00 00 3C [15:52:52]Write i2c OK [15:52:52]MH_I2C_Read... [15:52:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:52:52]Read from MH i2c: E2 [15:52:52]MH_I2C_Read... [15:52:52]Read from MH i2c: E2 17 00 [15:52:52]MH_I2C_Read... [15:52:52]Read from MH i2c: E2 17 00 A3 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 8F [15:52:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [15:52:52]wFMCommunicate OK [15:52:52]requested_item fd.num is exist - process it [15:52:52]SAM_PROTO_GetFieldsCounters [15:52:52]wFMCommunicate request_size=4 [15:52:52]MH_SAM_APDU [15:52:52]CAPDU: 80 13 00 00 [15:52:52]Write to MH i2c: E2 08 00 A4 1F 80 13 00 00 00 00 00 00 3F [15:52:52]Write i2c OK [15:52:52]MH_I2C_Read... [15:52:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:52:52]Read from MH i2c: E2 [15:52:52]MH_I2C_Read... [15:52:52]Read from MH i2c: E2 62 00 [15:52:52]MH_I2C_Read... [15:52:52]Read from MH i2c: E2 62 00 A4 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 13 10 00 00 0E 04 04 00 53 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 3A [15:52:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 13 10 00 00 0E 04 04 00 53 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 [15:52:52]wFMCommunicate OK [15:52:52]SAM_PROTO_GetFieldsCounters done [15:52:52]requested_item shift.num is exist - process it [15:52:52]requested_item shift.opened is exist - process it [15:52:52]req_shift_opened [15:52:52]FM_GetShiftState [15:52:52]SAM_PROTO_GetShiftState [15:52:52]wFMCommunicate request_size=4 [15:52:52]MH_SAM_APDU [15:52:52]CAPDU: 80 13 01 00 [15:52:52]Write to MH i2c: E2 08 00 A5 1F 80 13 01 00 00 00 00 00 41 [15:52:52]Write i2c OK [15:52:52]MH_I2C_Read... [15:52:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:52:52]Read from MH i2c: E2 [15:52:52]MH_I2C_Read... [15:52:52]Read from MH i2c: E2 0E 00 [15:52:52]MH_I2C_Read... [15:52:52]Read from MH i2c: E2 0E 00 A5 1F 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 DA [15:52:52]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [15:52:52]wFMCommunicate OK [15:52:52]SAM_PROTO_GetShiftState done [15:52:52]FM_GetShiftState done [15:52:52]req_shift_opened done [15:52:52]requested_item shift.open_date is exist - process it [15:52:52]req_shift_open_date [15:52:52]req_shift_open_date done [15:52:52]produce_requested_data done [15:52:52]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4115,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [15:52:52]process_action_free close_receipt [15:52:52]json_value_free [15:52:52]json_value_free done [15:52:52]process_json_proto returns [15:52:52]Send response to host [15:52:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4115,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [15:52:52]free response buf [15:52:52]execute_script done [15:52:52]execute_script returns [15:52:52]free content buf [15:52:52]Sock 8.Close socket [15:52:52]Sock 8.Thread stoped [15:52:55]OFD Sender: No OFD packet to send [15:53:00]OFD Sender: No OFD packet to send [15:53:05]OFD Sender: No OFD packet to send [15:53:10]OFD Sender: No OFD packet to send [15:53:15]OFD Sender: No OFD packet to send [15:53:20]OFD Sender: No OFD packet to send [15:53:25]OFD Sender: No OFD packet to send [15:53:30]OFD Sender: No OFD packet to send [15:53:35]OFD Sender: No OFD packet to send [15:53:40]OFD Sender: No OFD packet to send [15:53:45]OFD Sender: No OFD packet to send [15:53:50]OFD Sender: No OFD packet to send [15:53:55]OFD Sender: No OFD packet to send [15:54:00]OFD Sender: No OFD packet to send [15:54:05]OFD Sender: No OFD packet to send [15:54:10]OFD Sender: No OFD packet to send [15:54:15]OFD Sender: No OFD packet to send [15:54:20]OFD Sender: No OFD packet to send [15:54:25]OFD Sender: No OFD packet to send [15:54:30]OFD Sender: No OFD packet to send [15:54:35]OFD Sender: No OFD packet to send [15:54:40]OFD Sender: No OFD packet to send [15:54:45]OFD Sender: No OFD packet to send [15:54:50]OFD Sender: No OFD packet to send [15:54:55]OFD Sender: No OFD packet to send [15:55:00]OFD Sender: No OFD packet to send [15:55:05]OFD Sender: No OFD packet to send [15:55:10]OFD Sender: No OFD packet to send [15:55:15]OFD Sender: No OFD packet to send [15:55:20]OFD Sender: No OFD packet to send [15:55:25]OFD Sender: No OFD packet to send [15:55:30]OFD Sender: No OFD packet to send [15:55:35]OFD Sender: No OFD packet to send [15:55:40]OFD Sender: No OFD packet to send [15:55:45]OFD Sender: No OFD packet to send [15:55:50]OFD Sender: No OFD packet to send [15:55:55]OFD Sender: No OFD packet to send [15:56:00]OFD Sender: No OFD packet to send [15:56:05]OFD Sender: No OFD packet to send [15:56:10]OFD Sender: No OFD packet to send [15:56:15]OFD Sender: No OFD packet to send [15:56:20]OFD Sender: No OFD packet to send [15:56:25]OFD Sender: No OFD packet to send [15:56:30]OFD Sender: No OFD packet to send [15:56:35]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:43]accept exits with 9 [15:59:43]New connection [15:59:43]New thread 3067227492 created [15:59:43]Thread 3067370852 joined [15:59:43]Waiting for new connection... [15:59:43] Sock 9.Parse request [15:59:43]Sock 9.Check first char [15:59:43]Sock 9.First char is OK [15:59:43]request: POST /json_proto HTTP/1.0 [15:59:43]Method: POST [15:59:43]URL: /json_proto [15:59:43]Method is POST - this is cgi request [15:59:43]url: /json_proto [15:59:43]query_string will be loaded in cgi processing [15:59:43]execute_cgi json_proto POST (null) [15:59:43]execute_cgi path=json_proto method=POST [15:59:43]POST find Content-Length [15:59:43]Host: 172.17.56.68:8080 [15:59:43]Content-Length: 640 [15:59:43]Content-Type: application/json [15:59:43] [15:59:43]POST finish read [15:59:43]Found Content-Length = 640 [15:59:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4370", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 53.00, "quantity" : 1.000, "sum" : 53.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 53.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:59:43]execute_script... [15:59: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)4370", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 53.00, "quantity" : 1.000, "sum" : 53.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 53.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:59:43]POST & json_proto [15:59:43]process_json_proto [15:59:43]json parsed OK: [15:59:43]protocol is kg_v1.0 [15:59:43]action value=close_receipt [15:59:43]process_action close_receipt [15:59:43]cmd_close_receipt [15:59:43]MH_GetDate [15:59:43]Write to MH i2c: F0 00 00 A6 1F B4 [15:59:43]Write i2c OK [15:59:43]MH_I2C_Read... [15:59:43]Read from MH i2c: F0 [15:59:43]MH_I2C_Read... [15:59:43]Read from MH i2c: F0 09 00 [15:59:43]MH_I2C_Read... [15:59:43]Read from MH i2c: F0 09 00 A6 1F 00 F9 39 5F 66 42 69 5C 66 21 [15:59:43]GetLastDocTimeStamp 1717516377 [15:59:43]current date 1717516793 [15:59:43]FM_GetShiftState [15:59:43]SAM_PROTO_GetShiftState [15:59:43]wFMCommunicate request_size=4 [15:59:43]MH_SAM_APDU [15:59:43]CAPDU: 80 13 01 00 [15:59:43]Write to MH i2c: E2 08 00 A7 1F 80 13 01 00 00 00 00 00 43 [15:59:43]Write i2c OK [15:59:43]MH_I2C_Read... [15:59:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:59:43]Read from MH i2c: E2 [15:59:43]MH_I2C_Read... [15:59:43]Read from MH i2c: E2 0E 00 [15:59:43]MH_I2C_Read... [15:59:43]Read from MH i2c: E2 0E 00 A7 1F 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 DC [15:59:43]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [15:59:43]wFMCommunicate OK [15:59:43]SAM_PROTO_GetShiftState done [15:59:43]FM_GetShiftState done [15:59:43]opened in 1717459822 [15:59:43]opened+sec_in_day 1717546222 [15:59:43]quantity*price = 5300 [15:59:43]sum+1 = 5301 [15:59:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 53.00 НСП 1% : 0.47 НДС 12% : 5.63 Наличными: 53.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 33 04.06.2024 15:59 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4116 ФПД: 267410087814539 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T155953&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4116&fm=267410087814539&tin=02508201610067®Number=0000000000145775&sum=5300 0 [15:59:45]StoreToDocumentArchive [15:59:45]shift 83 fd 4116 [15:59:45]save to /storage/0083/doc_00004116 [15:59:45]save last doc name /storage/0083/doc_00004116 to /storage/kkm_last_doc_name [15:59:45]save OK [15:59:45]Clear old archive folders... [15:59:45]ProcessDocumentItem done err = 0, tmpTLVsize=281 [15:59:45]tlvbuf is 0077A780 [15:59:45]SAM_PROTO_ClearQueue [15:59:45]wFMCommunicate request_size=4 [15:59:45]MH_SAM_APDU [15:59:45]CAPDU: 80 09 00 00 [15:59:45]Write to MH i2c: E2 08 00 B4 1F 80 09 00 00 00 00 00 00 45 [15:59:45]Write i2c OK [15:59:45]MH_I2C_Read... [15:59:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:59:45]Read from MH i2c: E2 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 03 00 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 03 00 B4 1F 00 90 00 47 [15:59:45]RAPDU: 90 00 [15:59:45]wFMCommunicate OK [15:59:45]SAM_PROTO_ClearQueue done [15:59:45]KKMCreateOFDPacket [15:59:45]OFDProtocolAddRootSTLVToBuf [15:59:45]FM_MakeSignedData [15:59:45]FM_MakeSignedData [15:59:45]SAM_PROTO_SignData [15:59:45]wFMCommunicate request_size=4 [15:59:45]MH_SAM_APDU [15:59:45]CAPDU: 80 0D 01 02 [15:59:45]Write to MH i2c: E2 08 00 B5 1F 80 0D 01 02 00 00 00 00 4D [15:59:45]Write i2c OK [15:59:45]MH_I2C_Read... [15:59:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:59:45]Read from MH i2c: E2 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 03 00 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 03 00 B5 1F 00 90 00 48 [15:59:45]RAPDU: 90 00 [15:59:45]wFMCommunicate OK [15:59:45]wFMCommunicate request_size=255 [15:59:45]MH_SAM_APDU [15:59:45]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 14 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 02 00 00 00 00 07 04 06 00 B4 14 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 F9 39 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 [15:59:45]Write to MH i2c: E2 02 01 B6 1F 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 14 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 02 00 00 00 00 07 04 06 00 B4 14 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 F9 39 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 99 [15:59:45]Write i2c OK [15:59:45]MH_I2C_Read... [15:59:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:59:45]Read from MH i2c: E2 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 03 00 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 03 00 B6 1F 00 90 00 49 [15:59:45]RAPDU: 90 00 [15:59:45]wFMCommunicate OK [15:59:45]wFMCommunicate request_size=40 [15:59:45]MH_SAM_APDU [15:59:45]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 14 10 00 00 35 04 06 00 F3 35 43 4B 25 8B [15:59:45]Write to MH i2c: E2 2B 00 B7 1F 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 14 10 00 00 35 04 06 00 F3 35 43 4B 25 8B 00 00 97 [15:59:45]Write i2c OK [15:59:45]MH_I2C_Read... [15:59:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:59:45]Read from MH i2c: E2 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 03 00 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 03 00 B7 1F 00 90 00 4A [15:59:45]RAPDU: 90 00 [15:59:45]wFMCommunicate OK [15:59:45]wFMCommunicate request_size=4 [15:59:45]MH_SAM_APDU [15:59:45]CAPDU: 80 0D 03 02 [15:59:45]Write to MH i2c: E2 08 00 B8 1F 80 0D 03 02 00 00 00 00 52 [15:59:45]Write i2c OK [15:59:45]MH_I2C_Read... [15:59:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:59:45]Read from MH i2c: E2 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 0B 00 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 0B 00 B8 1F 00 EF 7E 50 F6 15 EC A2 F1 90 00 9A [15:59:45]RAPDU: EF 7E 50 F6 15 EC A2 F1 90 00 [15:59:45]wFMCommunicate OK [15:59:45]SAM_PROTO_SignData done [15:59:45]FM_MakeSignedData done [15:59:45]CreateOFDProtocolMessage [15:59:45]wFMCommunicate request_size=4 [15:59:45]MH_SAM_APDU [15:59:45]CAPDU: 80 11 00 00 [15:59:45]Write to MH i2c: E2 08 00 B9 1F 80 11 00 00 00 00 00 00 52 [15:59:45]Write i2c OK [15:59:45]MH_I2C_Read... [15:59:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:59:45]Read from MH i2c: E2 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 17 00 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 17 00 B9 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 A5 [15:59:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [15:59:45]wFMCommunicate OK [15:59:45]CreateOFDProtocolMessage done [15:59:45]OFDSenderStorePacket 4116 [15:59:45]StoreOFDPacket docnum=4116 [15:59:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2D 01 00 00 A6 B8 25 01 7A 95 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 14 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 02 00 00 00 00 07 04 06 00 B4 14 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 F9 39 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 14 10 00 00 35 04 06 00 F3 35 43 4B 25 8B EF 7E 50 F6 15 EC A2 F1 [15:59:45]CheckFolder [15:59:45]dirname=/storage/ofd_packets [15:59:45]CheckFolder done [15:59:45]ProducePacketName [15:59:45]name=ofd_packets/00004116 [15:59:45]NVStorageSaveData ofd_packets/00004116 [15:59:45]File name is /storage/ofd_packets/00004116 [15:59:45]Write 331 bytes [15:59:45]NVStorageSaveData done [15:59:45]OFDSenderStorePacket done [15:59:45]KKMCreateOFDPacket done [15:59:45]NVStorageSaveData kkm_last_timestamp [15:59:45]File name is /storage/kkm_last_timestamp [15:59:45]Write 4 bytes [15:59:45]NVStorageSaveData done [15:59:45]ExternCall_PrintAddStr [15:59:45]wPrintStart [15:59:45]Write to MH i2c: 01 00 00 BA 1F D9 [15:59:45]Write i2c OK [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: 01 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: 01 07 00 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: 01 07 00 BA 1F 00 00 00 00 00 FF 0F EE [15:59:45]RasterBufferAndPrint [15:59:45]line Счет N : (3)4370 [15:59:45]line ИНН: 02508201610067 [15:59:45]line Контрольно-Кассовый Чек [15:59:45]line ПРОДАЖА [15:59:45]line Товар: 4607065001445 [15:59:45]line Шок батончик Snickers 50,5г [15:59:45]line 1.000 * 53.00 [15:59:45]line = 53.00 [15:59:45]line НДС 12% НСП 1% [15:59:45]line > о реализуемом товаре [15:59:45]line ИТОГО: 53.00 [15:59:45]line НСП 1% : 0.47 [15:59:45]line НДС 12% : 5.63 [15:59:45]line Наличными: 53.00 [15:59:45]line Безнал.: 0.00 [15:59:45]line Место: АЗС № 116 "Партнер Нефть" [15:59:45]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [15:59:45]line СНО: Общий режим [15:59:45]line Чек 33 04.06.2024 15:59 [15:59:45]line Смена: 83 ФФД: 1.0 [15:59:45]line ЗНМ: 0300000233 [15:59:45]line РНМ: 0000000000145775 [15:59:45]line Версия ККМ: v1.0 [15:59:45]line ФМ: 0000000000959360 [15:59:45]line ФД: 4116 [15:59:45]line ФПД: 267410087814539 [15:59:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T155953&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4116&fm=267410087814539&tin=02508201610067®Number=0000000000145775&sum=5300 [15:59:45]line 0 [15:59:45]OFD Sender: Processing packet 4116 [packets to send 2, broken 1] [15:59:45]ProducePacketName [15:59:45]name=ofd_packets/00004116 [15:59:45]OFD Sender: To server: pG, [15:59:45]CommunicateWithHost lk.salyk.kg:30040 [15:59:45]ConnectInit lk.salyk.kg [15:59:45]written 0, free lines is 4095 [15:59:46]Connected sock=8 [15:59:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2D 01 00 00 A6 B8 25 01 7A 95 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 14 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 02 00 00 00 00 07 04 06 00 B4 14 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 F9 39 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 14 10 00 00 35 04 06 00 F3 35 43 4B 25 8B EF 7E 50 F6 15 EC A2 F1 [15:59:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 DB 05 47 00 49 AF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 14 10 00 00 F4 03 04 00 F9 E5 5E 66 B6 04 01 00 00 31 77 5A 5E 4F 0E 39 12 [15:59:46]CommunicateWithHost err = 0 [15:59:46]CheckOFDResponse [15:59:46]1017 (14) - 77093643461234 [15:59:46]1041 (16) - 0000000000959360 [15:59:46]1040 (4) - 4116 [15:59:46]1012 (4) - 04.06.2024 10:01 [15:59:46]1206 (1) - 0 [15:59:46]OFD Sender: Remove packet 4116 [15:59:46]ProducePacketName [15:59:46]name=ofd_packets/00004116 [15:59:46]NVStorageDeleteData [15:59:46]Write to MH i2c: 01 00 00 E2 1F 01 [15:59:46]Write i2c OK [15:59:46]MH_I2C_Read... [15:59:46]Read from MH i2c: 01 [15:59:46]MH_I2C_Read... [15:59:46]Read from MH i2c: 01 07 00 [15:59:46]MH_I2C_Read... [15:59:46]Read from MH i2c: 01 07 00 E2 1F 00 00 00 00 00 CA 0C DE [15:59:46]RasterBufferAndPrint [15:59:46]line [15:59:46]line [15:59:46]line [15:59:46]line [15:59:46]line [15:59:46]written 0, free lines is 3280 [15:59:46]MH_Cut [15:59:46]Write to MH i2c: D1 01 00 E9 1F 01 DA [15:59:46]Write i2c OK [15:59:46]MH_I2C_Read... [15:59:46]Read from MH i2c: D1 [15:59:46]MH_I2C_Read... [15:59:46]Read from MH i2c: D1 01 00 [15:59:46]MH_I2C_Read... [15:59:46]Read from MH i2c: D1 01 00 E9 1F 00 D9 [15:59:46]Write to MH i2c: 01 00 00 EA 1F 09 [15:59:46]Write i2c OK [15:59:46]MH_I2C_Read... [15:59:46]OFD Sender: No OFD packet to send [15:59:47]*** Cut start [15:59:47]*** Partial cut [15:59:47]*** CUTSNS_PIN = 1 [15:59:47]*** CUTSNS_PIN = 0 [15:59:47]*** Brake cut motor [15:59:47]Read from MH i2c: 01 [15:59:47]MH_I2C_Read... [15:59:47]*** Stop cut motor [15:59:47]*** Cut end [15:59:47]Read from MH i2c: 01 07 00 [15:59:47]MH_I2C_Read... [15:59:47]Read from MH i2c: 01 07 00 EA 1F 00 00 00 00 00 FF 0F 1E [15:59:47]process_action close_receipt done [15:59:47]requested_data is exist [15:59:47]produce_requested_data [15:59:47]requested_item fm.sn is exist - process it [15:59:47]wFMCommunicate request_size=4 [15:59:47]MH_SAM_APDU [15:59:47]CAPDU: 80 11 00 00 [15:59:47]Write to MH i2c: E2 08 00 EB 1F 80 11 00 00 00 00 00 00 84 [15:59:47]Write i2c OK [15:59:47]MH_I2C_Read... [15:59:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:59:48]Read from MH i2c: E2 [15:59:48]MH_I2C_Read... [15:59:48]Read from MH i2c: E2 17 00 [15:59:48]MH_I2C_Read... [15:59:48]Read from MH i2c: E2 17 00 EB 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D7 [15:59:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [15:59:48]wFMCommunicate OK [15:59:48]requested_item fd.num is exist - process it [15:59:48]SAM_PROTO_GetFieldsCounters [15:59:48]wFMCommunicate request_size=4 [15:59:48]MH_SAM_APDU [15:59:48]CAPDU: 80 13 00 00 [15:59:48]Write to MH i2c: E2 08 00 EC 1F 80 13 00 00 00 00 00 00 87 [15:59:48]Write i2c OK [15:59:48]MH_I2C_Read... [15:59:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:59:48]Read from MH i2c: E2 [15:59:48]MH_I2C_Read... [15:59:48]Read from MH i2c: E2 62 00 [15:59:48]MH_I2C_Read... [15:59:48]Read from MH i2c: E2 62 00 EC 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 14 10 00 00 0E 04 04 00 53 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 86 [15:59:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 14 10 00 00 0E 04 04 00 53 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 [15:59:48]wFMCommunicate OK [15:59:48]SAM_PROTO_GetFieldsCounters done [15:59:48]requested_item shift.num is exist - process it [15:59:48]requested_item shift.opened is exist - process it [15:59:48]req_shift_opened [15:59:48]FM_GetShiftState [15:59:48]SAM_PROTO_GetShiftState [15:59:48]wFMCommunicate request_size=4 [15:59:48]MH_SAM_APDU [15:59:48]CAPDU: 80 13 01 00 [15:59:48]Write to MH i2c: E2 08 00 ED 1F 80 13 01 00 00 00 00 00 89 [15:59:48]Write i2c OK [15:59:48]MH_I2C_Read... [15:59:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:59:48]Read from MH i2c: E2 [15:59:48]MH_I2C_Read... [15:59:48]Read from MH i2c: E2 0E 00 [15:59:48]MH_I2C_Read... [15:59:48]Read from MH i2c: E2 0E 00 ED 1F 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 22 [15:59:48]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [15:59:48]wFMCommunicate OK [15:59:48]SAM_PROTO_GetShiftState done [15:59:48]FM_GetShiftState done [15:59:48]req_shift_opened done [15:59:48]requested_item shift.open_date is exist - process it [15:59:48]req_shift_open_date [15:59:48]req_shift_open_date done [15:59:48]produce_requested_data done [15:59:48]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4116,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [15:59:48]process_action_free close_receipt [15:59:48]json_value_free [15:59:48]json_value_free done [15:59:48]process_json_proto returns [15:59:48]Send response to host [15:59:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4116,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [15:59:48]free response buf [15:59:48]execute_script done [15:59:48]execute_script returns [15:59:48]free content buf [15:59:48]Sock 9.Close socket [15:59:48]Sock 9.Thread stoped [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:48]accept exits with 10 [16:01:48]New connection [16:01:48]New thread 3067370852 created [16:01:48]Thread 3067227492 joined [16:01:48]Waiting for new connection... [16:01:48] Sock 10.Parse request [16:01:48]Sock 10.Check first char [16:01:48]Sock 10.First char is OK [16:01:48]request: POST /json_proto HTTP/1.0 [16:01:48]Method: POST [16:01:48]URL: /json_proto [16:01:48]Method is POST - this is cgi request [16:01:48]url: /json_proto [16:01:48]query_string will be loaded in cgi processing [16:01:48]execute_cgi json_proto POST (null) [16:01:48]execute_cgi path=json_proto method=POST [16:01:48]POST find Content-Length [16:01:48]Host: 172.17.56.68:8080 [16:01:48]Content-Length: 606 [16:01:48]Content-Type: application/json [16:01:48] [16:01:48]POST finish read [16:01:48]Found Content-Length = 606 [16:01:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4371", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:01:48]execute_script... [16:01: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)4371", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:01:48]POST & json_proto [16:01:48]process_json_proto [16:01:48]json parsed OK: [16:01:48]protocol is kg_v1.0 [16:01:48]action value=close_receipt [16:01:48]process_action close_receipt [16:01:48]cmd_close_receipt [16:01:48]MH_GetDate [16:01:48]Write to MH i2c: F0 00 00 EE 1F FC [16:01:48]Write i2c OK [16:01:48]MH_I2C_Read... [16:01:48]Read from MH i2c: F0 [16:01:48]MH_I2C_Read... [16:01:48]Read from MH i2c: F0 09 00 [16:01:48]MH_I2C_Read... [16:01:48]Read from MH i2c: F0 09 00 EE 1F 00 76 3A 5F 66 42 69 5C 66 E7 [16:01:48]GetLastDocTimeStamp 1717516793 [16:01:48]current date 1717516918 [16:01:48]FM_GetShiftState [16:01:48]SAM_PROTO_GetShiftState [16:01:48]wFMCommunicate request_size=4 [16:01:48]MH_SAM_APDU [16:01:48]CAPDU: 80 13 01 00 [16:01:48]Write to MH i2c: E2 08 00 EF 1F 80 13 01 00 00 00 00 00 8B [16:01:48]Write i2c OK [16:01:48]MH_I2C_Read... [16:01:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:01:48]Read from MH i2c: E2 [16:01:48]MH_I2C_Read... [16:01:48]Read from MH i2c: E2 0E 00 [16:01:48]MH_I2C_Read... [16:01:48]Read from MH i2c: E2 0E 00 EF 1F 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 24 [16:01:48]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [16:01:48]wFMCommunicate OK [16:01:48]SAM_PROTO_GetShiftState done [16:01:48]FM_GetShiftState done [16:01:48]opened in 1717459822 [16:01:48]opened+sec_in_day 1717546222 [16:01:48]quantity*price = 2000 [16:01:48]sum+1 = 2001 [16:01:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 20.00 НСП 1% : 0.18 НДС 12% : 2.12 Наличными: 20.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 34 04.06.2024 16:01 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4117 ФПД: 215192040504953 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T160158&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4117&fm=215192040504953&tin=02508201610067®Number=0000000000145775&sum=2000 0 [16:01:50]StoreToDocumentArchive [16:01:50]shift 83 fd 4117 [16:01:50]save to /storage/0083/doc_00004117 [16:01:50]save last doc name /storage/0083/doc_00004117 to /storage/kkm_last_doc_name [16:01:50]save OK [16:01:50]Clear old archive folders... [16:01:50]ProcessDocumentItem done err = 0, tmpTLVsize=267 [16:01:50]tlvbuf is 00785BD0 [16:01:50]SAM_PROTO_ClearQueue [16:01:50]wFMCommunicate request_size=4 [16:01:50]MH_SAM_APDU [16:01:50]CAPDU: 80 09 00 00 [16:01:50]Write to MH i2c: E2 08 00 FC 1F 80 09 00 00 00 00 00 00 8D [16:01:50]Write i2c OK [16:01:50]MH_I2C_Read... [16:01:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:01:50]Read from MH i2c: E2 [16:01:50]MH_I2C_Read... [16:01:50]Read from MH i2c: E2 03 00 [16:01:50]MH_I2C_Read... [16:01:50]Read from MH i2c: E2 03 00 FC 1F 00 90 00 8F [16:01:50]RAPDU: 90 00 [16:01:50]wFMCommunicate OK [16:01:50]SAM_PROTO_ClearQueue done [16:01:50]KKMCreateOFDPacket [16:01:50]OFDProtocolAddRootSTLVToBuf [16:01:50]FM_MakeSignedData [16:01:50]FM_MakeSignedData [16:01:50]SAM_PROTO_SignData [16:01:50]wFMCommunicate request_size=4 [16:01:50]MH_SAM_APDU [16:01:50]CAPDU: 80 0D 01 02 [16:01:50]Write to MH i2c: E2 08 00 FD 1F 80 0D 01 02 00 00 00 00 95 [16:01:50]Write i2c OK [16:01:50]MH_I2C_Read... [16:01:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:01:50]Read from MH i2c: E2 [16:01:50]MH_I2C_Read... [16:01:50]Read from MH i2c: E2 03 00 [16:01:50]MH_I2C_Read... [16:01:50]Read from MH i2c: E2 03 00 FD 1F 00 90 00 90 [16:01:50]RAPDU: 90 00 [16:01:50]wFMCommunicate OK [16:01:50]wFMCommunicate request_size=255 [16:01:50]MH_SAM_APDU [16:01:50]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 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 76 3A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 [16:01:50]Write to MH i2c: E2 02 01 FE 1F 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 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 76 3A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 00 00 40 [16:01:50]Write i2c OK [16:01:50]MH_I2C_Read... [16:01:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:01:50]Read from MH i2c: E2 [16:01:50]MH_I2C_Read... [16:01:50]Read from MH i2c: E2 03 00 [16:01:50]MH_I2C_Read... [16:01:50]Read from MH i2c: E2 03 00 FE 1F 00 90 00 91 [16:01:50]RAPDU: 90 00 [16:01:50]wFMCommunicate OK [16:01:50]wFMCommunicate request_size=26 [16:01:50]MH_SAM_APDU [16:01:50]CAPDU: 80 0D 02 02 15 33 36 30 10 04 04 00 15 10 00 00 35 04 06 00 C3 B7 4D 21 FE 79 [16:01:50]Write to MH i2c: E2 1D 00 FF 1F 80 0D 02 02 15 00 33 36 30 10 04 04 00 15 10 00 00 35 04 06 00 C3 B7 4D 21 FE 79 00 00 36 [16:01:50]Write i2c OK [16:01:50]MH_I2C_Read... [16:01:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:01:50]Read from MH i2c: E2 [16:01:50]MH_I2C_Read... [16:01:50]Read from MH i2c: E2 03 00 [16:01:50]MH_I2C_Read... [16:01:50]Read from MH i2c: E2 03 00 FF 1F 00 90 00 92 [16:01:50]RAPDU: 90 00 [16:01:50]wFMCommunicate OK [16:01:50]wFMCommunicate request_size=4 [16:01:50]MH_SAM_APDU [16:01:50]CAPDU: 80 0D 03 02 [16:01:50]Write to MH i2c: E2 08 00 00 20 80 0D 03 02 00 00 00 00 9B [16:01:50]Write i2c OK [16:01:50]MH_I2C_Read... [16:01:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:01:50]Read from MH i2c: E2 [16:01:50]MH_I2C_Read... [16:01:50]Read from MH i2c: E2 0B 00 [16:01:50]MH_I2C_Read... [16:01:50]Read from MH i2c: E2 0B 00 00 20 00 85 BE AE 02 96 04 79 95 90 00 37 [16:01:50]RAPDU: 85 BE AE 02 96 04 79 95 90 00 [16:01:50]wFMCommunicate OK [16:01:50]SAM_PROTO_SignData done [16:01:50]FM_MakeSignedData done [16:01:50]CreateOFDProtocolMessage [16:01:50]wFMCommunicate request_size=4 [16:01:50]MH_SAM_APDU [16:01:50]CAPDU: 80 11 00 00 [16:01:50]Write to MH i2c: E2 08 00 01 20 80 11 00 00 00 00 00 00 9B [16:01:50]Write i2c OK [16:01:50]MH_I2C_Read... [16:01:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:01:50]Read from MH i2c: E2 [16:01:50]MH_I2C_Read... [16:01:50]Read from MH i2c: E2 17 00 [16:01:50]MH_I2C_Read... [16:01:50]Read from MH i2c: E2 17 00 01 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 EE [16:01:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:01:50]wFMCommunicate OK [16:01:50]CreateOFDProtocolMessage done [16:01:50]OFDSenderStorePacket 4117 [16:01:50]StoreOFDPacket docnum=4117 [16:01:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1F 01 00 00 A8 77 17 01 CC CC 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 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 76 3A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 15 10 00 00 35 04 06 00 C3 B7 4D 21 FE 79 85 BE AE 02 96 04 79 95 [16:01:50]CheckFolder [16:01:50]dirname=/storage/ofd_packets [16:01:50]CheckFolder done [16:01:50]ProducePacketName [16:01:50]name=ofd_packets/00004117 [16:01:50]NVStorageSaveData ofd_packets/00004117 [16:01:50]File name is /storage/ofd_packets/00004117 [16:01:50]Write 317 bytes [16:01:50]NVStorageSaveData done [16:01:50]OFDSenderStorePacket done [16:01:50]KKMCreateOFDPacket done [16:01:50]NVStorageSaveData kkm_last_timestamp [16:01:50]File name is /storage/kkm_last_timestamp [16:01:50]Write 4 bytes [16:01:50]NVStorageSaveData done [16:01:50]ExternCall_PrintAddStr [16:01:50]wPrintStart [16:01:50]Write to MH i2c: 01 00 00 02 20 22 [16:01:50]Write i2c OK [16:01:50]MH_I2C_Read... [16:01:50]Read from MH i2c: 01 [16:01:50]MH_I2C_Read... [16:01:50]Read from MH i2c: 01 07 00 [16:01:50]MH_I2C_Read... [16:01:50]Read from MH i2c: 01 07 00 02 20 00 00 00 00 00 FF 0F 37 [16:01:50]RasterBufferAndPrint [16:01:50]line Счет N : (3)4371 [16:01:50]line ИНН: 02508201610067 [16:01:50]line Контрольно-Кассовый Чек [16:01:50]line ПРОДАЖА [16:01:50]line Товар: 46231529 [16:01:50]line Mentos ПФ Арбуз 6*100*2 [16:01:50]line 2.000 * 10.00 [16:01:50]line = 20.00 [16:01:50]line НДС 12% НСП 1% [16:01:50]line > о реализуемом товаре [16:01:50]line ИТОГО: 20.00 [16:01:50]line НСП 1% : 0.18 [16:01:50]line НДС 12% : 2.12 [16:01:50]line Наличными: 20.00 [16:01:50]line Безнал.: 0.00 [16:01:50]line Место: АЗС № 116 "Партнер Нефть" [16:01:50]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [16:01:50]line СНО: Общий режим [16:01:50]line Чек 34 04.06.2024 16:01 [16:01:50]line Смена: 83 ФФД: 1.0 [16:01:50]line ЗНМ: 0300000233 [16:01:50]line РНМ: 0000000000145775 [16:01:50]line Версия ККМ: v1.0 [16:01:50]line ФМ: 0000000000959360 [16:01:50]line ФД: 4117 [16:01:50]line ФПД: 215192040504953 [16:01:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T160158&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4117&fm=215192040504953&tin=02508201610067®Number=0000000000145775&sum=2000 [16:01:50]line 0 [16:01:50]OFD Sender: Processing packet 4117 [packets to send 2, broken 1] [16:01:50]ProducePacketName [16:01:50]name=ofd_packets/00004117 [16:01:50]OFD Sender: To server: pG, [16:01:50]CommunicateWithHost lk.salyk.kg:30040 [16:01:50]ConnectInit lk.salyk.kg [16:01:50]written 0, free lines is 4095 [16:01:50]Connected sock=9 [16:01:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1F 01 00 00 A8 77 17 01 CC CC 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 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 76 3A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 15 10 00 00 35 04 06 00 C3 B7 4D 21 FE 79 85 BE AE 02 96 04 79 95 [16:01:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 5C 77 47 00 75 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 15 10 00 00 F4 03 04 00 76 E6 5E 66 B6 04 01 00 00 DE 53 11 35 2A B4 24 59 [16:01:51]CommunicateWithHost err = 0 [16:01:51]CheckOFDResponse [16:01:51]1017 (14) - 77093643461234 [16:01:51]1041 (16) - 0000000000959360 [16:01:51]1040 (4) - 4117 [16:01:51]1012 (4) - 04.06.2024 10:03 [16:01:51]1206 (1) - 0 [16:01:51]OFD Sender: Remove packet 4117 [16:01:51]ProducePacketName [16:01:51]name=ofd_packets/00004117 [16:01:51]NVStorageDeleteData [16:01:51]Write to MH i2c: 01 00 00 2A 20 4A [16:01:51]Write i2c OK [16:01:51]MH_I2C_Read... [16:01:51]Read from MH i2c: 01 [16:01:51]MH_I2C_Read... [16:01:51]Read from MH i2c: 01 07 00 [16:01:51]MH_I2C_Read... [16:01:51]Read from MH i2c: 01 07 00 2A 20 00 00 00 00 00 C7 0C 24 [16:01:51]RasterBufferAndPrint [16:01:51]line [16:01:51]line [16:01:51]line [16:01:51]line [16:01:51]line [16:01:51]written 0, free lines is 3274 [16:01:51]MH_Cut [16:01:51]Write to MH i2c: D1 01 00 31 20 01 23 [16:01:51]Write i2c OK [16:01:51]MH_I2C_Read... [16:01:51]Read from MH i2c: D1 [16:01:51]MH_I2C_Read... [16:01:51]Read from MH i2c: D1 01 00 [16:01:51]MH_I2C_Read... [16:01:51]Read from MH i2c: D1 01 00 31 20 00 22 [16:01:51]Write to MH i2c: 01 00 00 32 20 52 [16:01:51]Write i2c OK [16:01:51]MH_I2C_Read... [16:01:51]OFD Sender: No OFD packet to send [16:01:52]*** Cut start [16:01:52]*** Partial cut [16:01:52]*** CUTSNS_PIN = 1 [16:01:52]*** CUTSNS_PIN = 0 [16:01:52]*** Brake cut motor [16:01:52]Read from MH i2c: 01 [16:01:52]MH_I2C_Read... [16:01:52]*** Stop cut motor [16:01:52]*** Cut end [16:01:52]Read from MH i2c: 01 07 00 [16:01:52]MH_I2C_Read... [16:01:52]Read from MH i2c: 01 07 00 32 20 00 00 00 00 00 FF 0F 67 [16:01:52]process_action close_receipt done [16:01:52]requested_data is exist [16:01:52]produce_requested_data [16:01:52]requested_item fm.sn is exist - process it [16:01:52]wFMCommunicate request_size=4 [16:01:52]MH_SAM_APDU [16:01:52]CAPDU: 80 11 00 00 [16:01:52]Write to MH i2c: E2 08 00 33 20 80 11 00 00 00 00 00 00 CD [16:01:52]Write i2c OK [16:01:52]MH_I2C_Read... [16:01:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:01:52]Read from MH i2c: E2 [16:01:52]MH_I2C_Read... [16:01:52]Read from MH i2c: E2 17 00 [16:01:52]MH_I2C_Read... [16:01:52]Read from MH i2c: E2 17 00 33 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 20 [16:01:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:01:52]wFMCommunicate OK [16:01:52]requested_item fd.num is exist - process it [16:01:52]SAM_PROTO_GetFieldsCounters [16:01:52]wFMCommunicate request_size=4 [16:01:52]MH_SAM_APDU [16:01:52]CAPDU: 80 13 00 00 [16:01:52]Write to MH i2c: E2 08 00 34 20 80 13 00 00 00 00 00 00 D0 [16:01:52]Write i2c OK [16:01:52]MH_I2C_Read... [16:01:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:01:53]Read from MH i2c: E2 [16:01:53]MH_I2C_Read... [16:01:53]Read from MH i2c: E2 62 00 [16:01:53]MH_I2C_Read... [16:01:53]Read from MH i2c: E2 62 00 34 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 15 10 00 00 0E 04 04 00 53 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 D3 [16:01:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 15 10 00 00 0E 04 04 00 53 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 [16:01:53]wFMCommunicate OK [16:01:53]SAM_PROTO_GetFieldsCounters done [16:01:53]requested_item shift.num is exist - process it [16:01:53]requested_item shift.opened is exist - process it [16:01:53]req_shift_opened [16:01:53]FM_GetShiftState [16:01:53]SAM_PROTO_GetShiftState [16:01:53]wFMCommunicate request_size=4 [16:01:53]MH_SAM_APDU [16:01:53]CAPDU: 80 13 01 00 [16:01:53]Write to MH i2c: E2 08 00 35 20 80 13 01 00 00 00 00 00 D2 [16:01:53]Write i2c OK [16:01:53]MH_I2C_Read... [16:01:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:01:53]Read from MH i2c: E2 [16:01:53]MH_I2C_Read... [16:01:53]Read from MH i2c: E2 0E 00 [16:01:53]MH_I2C_Read... [16:01:53]Read from MH i2c: E2 0E 00 35 20 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 6B [16:01:53]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [16:01:53]wFMCommunicate OK [16:01:53]SAM_PROTO_GetShiftState done [16:01:53]FM_GetShiftState done [16:01:53]req_shift_opened done [16:01:53]requested_item shift.open_date is exist - process it [16:01:53]req_shift_open_date [16:01:53]req_shift_open_date done [16:01:53]produce_requested_data done [16:01:53]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4117,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [16:01:53]process_action_free close_receipt [16:01:53]json_value_free [16:01:53]json_value_free done [16:01:53]process_json_proto returns [16:01:53]Send response to host [16:01:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4117,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [16:01:53]free response buf [16:01:53]execute_script done [16:01:53]execute_script returns [16:01:53]free content buf [16:01:53]Sock 10.Close socket [16:01:53]Sock 10.Thread stoped [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:55]accept exits with 8 [16:02:55]New connection [16:02:55]New thread 3067227492 created [16:02:55]Thread 3067370852 joined [16:02:55]Waiting for new connection... [16:02:55] Sock 8.Parse request [16:02:55]Sock 8.Check first char [16:02:55]Sock 8.First char is OK [16:02:55]request: POST /json_proto HTTP/1.0 [16:02:55]Method: POST [16:02:55]URL: /json_proto [16:02:55]Method is POST - this is cgi request [16:02:55]url: /json_proto [16:02:55]query_string will be loaded in cgi processing [16:02:55]execute_cgi json_proto POST (null) [16:02:55]execute_cgi path=json_proto method=POST [16:02:55]POST find Content-Length [16:02:55]Host: 172.17.56.68:8080 [16:02:55]Content-Length: 879 [16:02:55]Content-Type: application/json [16:02:55] [16:02:55]POST finish read [16:02:55]Found Content-Length = 879 [16:02:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4372", "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" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:55]execute_script... [16:02:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4372", "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" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:55]POST & json_proto [16:02:55]process_json_proto [16:02:55]json parsed OK: [16:02:55]protocol is kg_v1.0 [16:02:55]action value=close_receipt [16:02:55]process_action close_receipt [16:02:55]cmd_close_receipt [16:02:55]MH_GetDate [16:02:55]Write to MH i2c: F0 00 00 36 20 45 [16:02:55]Write i2c OK [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: F0 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: F0 09 00 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: F0 09 00 36 20 00 B8 3A 5F 66 42 69 5C 66 72 [16:02:55]GetLastDocTimeStamp 1717516918 [16:02:55]current date 1717516984 [16:02:55]FM_GetShiftState [16:02:55]SAM_PROTO_GetShiftState [16:02:55]wFMCommunicate request_size=4 [16:02:55]MH_SAM_APDU [16:02:55]CAPDU: 80 13 01 00 [16:02:55]Write to MH i2c: E2 08 00 37 20 80 13 01 00 00 00 00 00 D4 [16:02:55]Write i2c OK [16:02:55]MH_I2C_Read... [16:02:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:55]Read from MH i2c: E2 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: E2 0E 00 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: E2 0E 00 37 20 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 6D [16:02:55]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [16:02:55]wFMCommunicate OK [16:02:55]SAM_PROTO_GetShiftState done [16:02:55]FM_GetShiftState done [16:02:55]opened in 1717459822 [16:02:55]opened+sec_in_day 1717546222 [16:02:55]quantity*price = 19000 [16:02:55]sum+1 = 19001 [16:02:55]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46231529 Mentos ПФ Арбуз 6*100*2 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 35 04.06.2024 16:03 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4118 ФПД: 116067708154713 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T160304&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4118&fm=116067708154713&tin=02508201610067®Number=0000000000145775&sum=20000 0 [16:02:56]StoreToDocumentArchive [16:02:56]shift 83 fd 4118 [16:02:56]save to /storage/0083/doc_00004118 [16:02:56]save last doc name /storage/0083/doc_00004118 to /storage/kkm_last_doc_name [16:02:56]save OK [16:02:56]Clear old archive folders... [16:02:56]ProcessDocumentItem done err = 0, tmpTLVsize=390 [16:02:56]tlvbuf is B6E0E600 [16:02:56]SAM_PROTO_ClearQueue [16:02:56]wFMCommunicate request_size=4 [16:02:56]MH_SAM_APDU [16:02:56]CAPDU: 80 09 00 00 [16:02:56]Write to MH i2c: E2 08 00 44 20 80 09 00 00 00 00 00 00 D6 [16:02:56]Write i2c OK [16:02:56]MH_I2C_Read... [16:02:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:02:56]Read from MH i2c: E2 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 44 20 00 90 00 D8 [16:02:56]RAPDU: 90 00 [16:02:56]wFMCommunicate OK [16:02:56]SAM_PROTO_ClearQueue done [16:02:56]KKMCreateOFDPacket [16:02:56]OFDProtocolAddRootSTLVToBuf [16:02:56]FM_MakeSignedData [16:02:56]FM_MakeSignedData [16:02:56]SAM_PROTO_SignData [16:02:56]wFMCommunicate request_size=4 [16:02:56]MH_SAM_APDU [16:02:56]CAPDU: 80 0D 01 02 [16:02:56]Write to MH i2c: E2 08 00 45 20 80 0D 01 02 00 00 00 00 DE [16:02:56]Write i2c OK [16:02:56]MH_I2C_Read... [16:02:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:02:56]Read from MH i2c: E2 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 45 20 00 90 00 D9 [16:02:56]RAPDU: 90 00 [16:02:56]wFMCommunicate OK [16:02:56]wFMCommunicate request_size=255 [16:02:56]MH_SAM_APDU [16:02:56]CAPDU: 80 0D 02 02 FA 03 00 86 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 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 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 [16:02:56]Write to MH i2c: E2 02 01 46 20 80 0D 02 02 FA 00 03 00 86 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 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 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 BC [16:02:56]Write i2c OK [16:02:56]MH_I2C_Read... [16:02:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:56]Read from MH i2c: E2 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 46 20 00 90 00 DA [16:02:56]RAPDU: 90 00 [16:02:56]wFMCommunicate OK [16:02:56]wFMCommunicate request_size=149 [16:02:56]MH_SAM_APDU [16:02:56]CAPDU: 80 0D 02 02 90 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 B8 3A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 16 10 00 00 35 04 06 00 69 90 1E 83 B3 59 [16:02:56]Write to MH i2c: E2 98 00 47 20 80 0D 02 02 90 00 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 B8 3A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 16 10 00 00 35 04 06 00 69 90 1E 83 B3 59 00 00 9F [16:02:56]OFD Sender: No OFD packet to send [16:02:56]Write i2c OK [16:02:56]MH_I2C_Read... [16:02:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:56]Read from MH i2c: E2 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 47 20 00 90 00 DB [16:02:56]RAPDU: 90 00 [16:02:56]wFMCommunicate OK [16:02:56]wFMCommunicate request_size=4 [16:02:56]MH_SAM_APDU [16:02:56]CAPDU: 80 0D 03 02 [16:02:56]Write to MH i2c: E2 08 00 48 20 80 0D 03 02 00 00 00 00 E3 [16:02:56]Write i2c OK [16:02:56]MH_I2C_Read... [16:02:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:02:56]Read from MH i2c: E2 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 0B 00 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 0B 00 48 20 00 71 D2 BD 9F EC 7E 70 48 90 00 A5 [16:02:56]RAPDU: 71 D2 BD 9F EC 7E 70 48 90 00 [16:02:56]wFMCommunicate OK [16:02:56]SAM_PROTO_SignData done [16:02:56]FM_MakeSignedData done [16:02:56]CreateOFDProtocolMessage [16:02:56]wFMCommunicate request_size=4 [16:02:56]MH_SAM_APDU [16:02:56]CAPDU: 80 11 00 00 [16:02:56]Write to MH i2c: E2 08 00 49 20 80 11 00 00 00 00 00 00 E3 [16:02:56]Write i2c OK [16:02:56]MH_I2C_Read... [16:02:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:57]Read from MH i2c: E2 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: E2 17 00 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: E2 17 00 49 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 36 [16:02:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:02:57]wFMCommunicate OK [16:02:57]CreateOFDProtocolMessage done [16:02:57]OFDSenderStorePacket 4118 [16:02:57]StoreOFDPacket docnum=4118 [16:02:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9A 01 00 00 DF 57 92 01 8A 89 5A 03 01 00 03 00 86 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 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 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 B8 3A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 16 10 00 00 35 04 06 00 69 90 1E 83 B3 59 71 D2 BD 9F EC 7E 70 48 [16:02:57]CheckFolder [16:02:57]dirname=/storage/ofd_packets [16:02:57]CheckFolder done [16:02:57]ProducePacketName [16:02:57]name=ofd_packets/00004118 [16:02:57]NVStorageSaveData ofd_packets/00004118 [16:02:57]File name is /storage/ofd_packets/00004118 [16:02:57]Write 440 bytes [16:02:57]NVStorageSaveData done [16:02:57]OFDSenderStorePacket done [16:02:57]KKMCreateOFDPacket done [16:02:57]NVStorageSaveData kkm_last_timestamp [16:02:57]File name is /storage/kkm_last_timestamp [16:02:57]Write 4 bytes [16:02:57]NVStorageSaveData done [16:02:57]ExternCall_PrintAddStr [16:02:57]wPrintStart [16:02:57]Write to MH i2c: 01 00 00 4A 20 6A [16:02:57]Write i2c OK [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: 01 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: 01 07 00 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: 01 07 00 4A 20 00 00 00 00 00 FF 0F 7F [16:02:57]RasterBufferAndPrint [16:02:57]line Счет N : (3)4372 [16:02:57]line ИНН: 02508201610067 [16:02:57]line Контрольно-Кассовый Чек [16:02:57]line ПРОДАЖА [16:02:57]line Товар: 4700000480050 [16:02:57]line Напиток Nitro Energy эн green ж/б 0,45л [16:02:57]line 2.000 * 95.00 [16:02:57]line = 190.00 [16:02:57]line НДС 12% НСП 1% [16:02:57]line > о реализуемом товаре [16:02:57]line Товар: 46231529 [16:02:57]line Mentos ПФ Арбуз 6*100*2 [16:02:57]line 1.000 * 10.00 [16:02:57]line = 10.00 [16:02:57]line НДС 12% НСП 1% [16:02:57]line > о реализуемом товаре [16:02:57]line ИТОГО: 200.00 [16:02:57]line НСП 1% : 1.77 [16:02:57]line НДС 12% : 21.24 [16:02:57]line Наличными: 200.00 [16:02:57]line Безнал.: 0.00 [16:02:57]line Место: АЗС № 116 "Партнер Нефть" [16:02:57]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [16:02:57]line СНО: Общий режим [16:02:57]line Чек 35 04.06.2024 16:03 [16:02:57]line Смена: 83 ФФД: 1.0 [16:02:57]line ЗНМ: 0300000233 [16:02:57]line РНМ: 0000000000145775 [16:02:57]line Версия ККМ: v1.0 [16:02:57]line ФМ: 0000000000959360 [16:02:57]line ФД: 4118 [16:02:57]line ФПД: 116067708154713 [16:02:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T160304&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4118&fm=116067708154713&tin=02508201610067®Number=0000000000145775&sum=20000 [16:02:57]line 0 [16:02:57]OFD Sender: Processing packet 4118 [packets to send 2, broken 1] [16:02:57]ProducePacketName [16:02:57]name=ofd_packets/00004118 [16:02:57]OFD Sender: To server: pG, [16:02:57]CommunicateWithHost lk.salyk.kg:30040 [16:02:57]ConnectInit lk.salyk.kg [16:02:57]written 0, free lines is 4095 [16:02:57]Connected sock=10 [16:02:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9A 01 00 00 DF 57 92 01 8A 89 5A 03 01 00 03 00 86 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 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 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 B8 3A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 16 10 00 00 35 04 06 00 69 90 1E 83 B3 59 71 D2 BD 9F EC 7E 70 48 [16:02:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 BC 7C 47 00 24 2C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 16 10 00 00 F4 03 04 00 B9 E6 5E 66 B6 04 01 00 00 F3 1C BB AA 3E 3D 6E 09 [16:02:57]CommunicateWithHost err = 0 [16:02:57]CheckOFDResponse [16:02:57]1017 (14) - 77093643461234 [16:02:57]1041 (16) - 0000000000959360 [16:02:57]1040 (4) - 4118 [16:02:57]1012 (4) - 04.06.2024 10:04 [16:02:57]1206 (1) - 0 [16:02:57]OFD Sender: Remove packet 4118 [16:02:57]ProducePacketName [16:02:57]name=ofd_packets/00004118 [16:02:57]NVStorageDeleteData [16:02:57]Write to MH i2c: 01 00 00 79 20 99 [16:02:57]Write i2c OK [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: 01 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: 01 07 00 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: 01 07 00 79 20 00 00 00 00 00 3D 0C E9 [16:02:57]RasterBufferAndPrint [16:02:57]line [16:02:57]line [16:02:57]line [16:02:57]line [16:02:57]line [16:02:57]written 0, free lines is 3138 [16:02:57]MH_Cut [16:02:57]Write to MH i2c: D1 01 00 80 20 01 72 [16:02:57]Write i2c OK [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: D1 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: D1 01 00 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: D1 01 00 80 20 00 71 [16:02:57]Write to MH i2c: 01 00 00 81 20 A1 [16:02:57]Write i2c OK [16:02:57]MH_I2C_Read... [16:02:58]OFD Sender: No OFD packet to send [16:02:58]*** Cut start [16:02:58]*** Partial cut [16:02:58]*** CUTSNS_PIN = 1 [16:02:58]*** CUTSNS_PIN = 0 [16:02:59]*** Brake cut motor [16:02:59]Read from MH i2c: 01 [16:02:59]MH_I2C_Read... [16:02:59]*** Stop cut motor [16:02:59]*** Cut end [16:02:59]Read from MH i2c: 01 07 00 [16:02:59]MH_I2C_Read... [16:02:59]Read from MH i2c: 01 07 00 81 20 00 00 00 00 00 FF 0F B6 [16:02:59]process_action close_receipt done [16:02:59]requested_data is exist [16:02:59]produce_requested_data [16:02:59]requested_item fm.sn is exist - process it [16:02:59]wFMCommunicate request_size=4 [16:02:59]MH_SAM_APDU [16:02:59]CAPDU: 80 11 00 00 [16:02:59]Write to MH i2c: E2 08 00 82 20 80 11 00 00 00 00 00 00 1C [16:02:59]Write i2c OK [16:02:59]MH_I2C_Read... [16:02:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:59]Read from MH i2c: E2 [16:02:59]MH_I2C_Read... [16:02:59]Read from MH i2c: E2 17 00 [16:02:59]MH_I2C_Read... [16:02:59]Read from MH i2c: E2 17 00 82 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 6F [16:02:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:02:59]wFMCommunicate OK [16:02:59]requested_item fd.num is exist - process it [16:02:59]SAM_PROTO_GetFieldsCounters [16:02:59]wFMCommunicate request_size=4 [16:02:59]MH_SAM_APDU [16:02:59]CAPDU: 80 13 00 00 [16:02:59]Write to MH i2c: E2 08 00 83 20 80 13 00 00 00 00 00 00 1F [16:02:59]Write i2c OK [16:02:59]MH_I2C_Read... [16:02:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:02:59]Read from MH i2c: E2 [16:02:59]MH_I2C_Read... [16:02:59]Read from MH i2c: E2 62 00 [16:02:59]MH_I2C_Read... [16:02:59]Read from MH i2c: E2 62 00 83 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 16 10 00 00 0E 04 04 00 53 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 26 [16:02:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 16 10 00 00 0E 04 04 00 53 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 [16:02:59]wFMCommunicate OK [16:02:59]SAM_PROTO_GetFieldsCounters done [16:02:59]requested_item shift.num is exist - process it [16:02:59]requested_item shift.opened is exist - process it [16:02:59]req_shift_opened [16:02:59]FM_GetShiftState [16:02:59]SAM_PROTO_GetShiftState [16:02:59]wFMCommunicate request_size=4 [16:02:59]MH_SAM_APDU [16:02:59]CAPDU: 80 13 01 00 [16:02:59]Write to MH i2c: E2 08 00 84 20 80 13 01 00 00 00 00 00 21 [16:02:59]Write i2c OK [16:02:59]MH_I2C_Read... [16:02:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:59]Read from MH i2c: E2 [16:02:59]MH_I2C_Read... [16:02:59]Read from MH i2c: E2 0E 00 [16:02:59]MH_I2C_Read... [16:02:59]Read from MH i2c: E2 0E 00 84 20 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 BA [16:02:59]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [16:02:59]wFMCommunicate OK [16:02:59]SAM_PROTO_GetShiftState done [16:02:59]FM_GetShiftState done [16:02:59]req_shift_opened done [16:02:59]requested_item shift.open_date is exist - process it [16:02:59]req_shift_open_date [16:02:59]req_shift_open_date done [16:02:59]produce_requested_data done [16:02:59]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4118,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [16:02:59]process_action_free close_receipt [16:02:59]json_value_free [16:02:59]json_value_free done [16:02:59]process_json_proto returns [16:02:59]Send response to host [16:02:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4118,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [16:02:59]free response buf [16:02:59]execute_script done [16:02:59]execute_script returns [16:02:59]free content buf [16:02:59]Sock 8.Close socket [16:02:59]Sock 8.Thread stoped [16:03:03]OFD Sender: No OFD packet to send [16:03:08]OFD Sender: No OFD packet to send [16:03:13]OFD Sender: No OFD packet to send [16:03:18]OFD Sender: No OFD packet to send [16:03:23]OFD Sender: No OFD packet to send [16:03:28]OFD Sender: No OFD packet to send [16:03:33]OFD Sender: No OFD packet to send [16:03:36]accept exits with 9 [16:03:36]New connection [16:03:36]New thread 3067370852 created [16:03:36]Thread 3067227492 joined [16:03:36]Waiting for new connection... [16:03:36] Sock 9.Parse request [16:03:36]Sock 9.Check first char [16:03:36]Sock 9.First char is OK [16:03:36]request: POST /json_proto HTTP/1.0 [16:03:36]Method: POST [16:03:36]URL: /json_proto [16:03:36]Method is POST - this is cgi request [16:03:36]url: /json_proto [16:03:36]query_string will be loaded in cgi processing [16:03:36]execute_cgi json_proto POST (null) [16:03:36]execute_cgi path=json_proto method=POST [16:03:36]POST find Content-Length [16:03:36]Host: 172.17.56.68:8080 [16:03:36]Content-Length: 1106 [16:03:36]Content-Type: application/json [16:03:36] [16:03:36]POST finish read [16:03:36]Found Content-Length = 1106 [16:03:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4373", "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 }]} ,{ "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:03:36]execute_script... [16:03:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4373", "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 }]} ,{ "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:03:36]POST & json_proto [16:03:36]process_json_proto [16:03:36]json parsed OK: [16:03:36]protocol is kg_v1.0 [16:03:36]action value=close_receipt [16:03:36]process_action close_receipt [16:03:36]cmd_close_receipt [16:03:36]MH_GetDate [16:03:36]Write to MH i2c: F0 00 00 85 20 94 [16:03:36]Write i2c OK [16:03:36]MH_I2C_Read... [16:03:36]Read from MH i2c: F0 [16:03:36]MH_I2C_Read... [16:03:36]Read from MH i2c: F0 09 00 [16:03:36]MH_I2C_Read... [16:03:36]Read from MH i2c: F0 09 00 85 20 00 E1 3A 5F 66 42 69 5C 66 EA [16:03:36]GetLastDocTimeStamp 1717516984 [16:03:36]current date 1717517025 [16:03:36]FM_GetShiftState [16:03:36]SAM_PROTO_GetShiftState [16:03:36]wFMCommunicate request_size=4 [16:03:36]MH_SAM_APDU [16:03:36]CAPDU: 80 13 01 00 [16:03:36]Write to MH i2c: E2 08 00 86 20 80 13 01 00 00 00 00 00 23 [16:03:36]Write i2c OK [16:03:36]MH_I2C_Read... [16:03:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:03:36]Read from MH i2c: E2 [16:03:36]MH_I2C_Read... [16:03:36]Read from MH i2c: E2 0E 00 [16:03:36]MH_I2C_Read... [16:03:36]Read from MH i2c: E2 0E 00 86 20 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 BC [16:03:36]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [16:03:36]wFMCommunicate OK [16:03:36]SAM_PROTO_GetShiftState done [16:03:36]FM_GetShiftState done [16:03:36]opened in 1717459822 [16:03:36]opened+sec_in_day 1717546222 [16:03:36]quantity*price = 9500 [16:03:36]sum+1 = 9501 [16:03:36]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112003925 Конд ULKER-Albeni 40gr (6*24) 1.000 * 55.00 = 55.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 0.00 Безнал.: 150.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 36 04.06.2024 16:03 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959360 ФД: 4119 ФПД: 172458616661418 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T160345&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4119&fm=172458616661418&tin=02508201610067®Number=0000000000145775&sum=15000 0 [16:03:37]StoreToDocumentArchive [16:03:37]shift 83 fd 4119 [16:03:37]save to /storage/0083/doc_00004119 [16:03:37]save last doc name /storage/0083/doc_00004119 to /storage/kkm_last_doc_name [16:03:37]save OK [16:03:37]Clear old archive folders... [16:03:37]ProcessDocumentItem done err = 0, tmpTLVsize=409 [16:03:37]tlvbuf is B6F405E0 [16:03:37]SAM_PROTO_ClearQueue [16:03:37]wFMCommunicate request_size=4 [16:03:37]MH_SAM_APDU [16:03:37]CAPDU: 80 09 00 00 [16:03:37]Write to MH i2c: E2 08 00 93 20 80 09 00 00 00 00 00 00 25 [16:03:37]Write i2c OK [16:03:37]MH_I2C_Read... [16:03:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:03:37]Read from MH i2c: E2 [16:03:37]MH_I2C_Read... [16:03:37]Read from MH i2c: E2 03 00 [16:03:37]MH_I2C_Read... [16:03:37]Read from MH i2c: E2 03 00 93 20 00 90 00 27 [16:03:37]RAPDU: 90 00 [16:03:37]wFMCommunicate OK [16:03:37]SAM_PROTO_ClearQueue done [16:03:37]KKMCreateOFDPacket [16:03:37]OFDProtocolAddRootSTLVToBuf [16:03:37]FM_MakeSignedData [16:03:37]FM_MakeSignedData [16:03:37]SAM_PROTO_SignData [16:03:37]wFMCommunicate request_size=4 [16:03:37]MH_SAM_APDU [16:03:37]CAPDU: 80 0D 01 02 [16:03:37]Write to MH i2c: E2 08 00 94 20 80 0D 01 02 00 00 00 00 2D [16:03:37]Write i2c OK [16:03:37]MH_I2C_Read... [16:03:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:03:37]Read from MH i2c: E2 [16:03:37]MH_I2C_Read... [16:03:37]Read from MH i2c: E2 03 00 [16:03:37]MH_I2C_Read... [16:03:37]Read from MH i2c: E2 03 00 94 20 00 90 00 28 [16:03:37]RAPDU: 90 00 [16:03:37]wFMCommunicate OK [16:03:37]wFMCommunicate request_size=255 [16:03:37]MH_SAM_APDU [16:03:37]CAPDU: 80 0D 02 02 FA 03 00 99 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 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 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 [16:03:37]Write to MH i2c: E2 02 01 95 20 80 0D 02 02 FA 00 03 00 99 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 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 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 00 00 75 [16:03:37]Write i2c OK [16:03:37]MH_I2C_Read... [16:03:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:03:37]Read from MH i2c: E2 [16:03:37]MH_I2C_Read... [16:03:37]Read from MH i2c: E2 03 00 [16:03:37]MH_I2C_Read... [16:03:37]Read from MH i2c: E2 03 00 95 20 00 90 00 29 [16:03:37]RAPDU: 90 00 [16:03:37]wFMCommunicate OK [16:03:37]wFMCommunicate request_size=168 [16:03:37]MH_SAM_APDU [16:03:37]CAPDU: 80 0D 02 02 A3 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 24 00 00 00 F4 03 04 00 E1 3A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 17 10 00 00 35 04 06 00 9C D9 A6 95 A5 AA [16:03:37]Write to MH i2c: E2 AB 00 96 20 80 0D 02 02 A3 00 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 24 00 00 00 F4 03 04 00 E1 3A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 17 10 00 00 35 04 06 00 9C D9 A6 95 A5 AA 00 00 A2 [16:03:37]Write i2c OK [16:03:37]MH_I2C_Read... [16:03:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:03:37]Read from MH i2c: E2 [16:03:37]MH_I2C_Read... [16:03:37]Read from MH i2c: E2 03 00 [16:03:37]MH_I2C_Read... [16:03:37]Read from MH i2c: E2 03 00 96 20 00 90 00 2A [16:03:37]RAPDU: 90 00 [16:03:37]wFMCommunicate OK [16:03:37]wFMCommunicate request_size=4 [16:03:37]MH_SAM_APDU [16:03:37]CAPDU: 80 0D 03 02 [16:03:37]Write to MH i2c: E2 08 00 97 20 80 0D 03 02 00 00 00 00 32 [16:03:37]Write i2c OK [16:03:37]MH_I2C_Read... [16:03:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:03:37]Read from MH i2c: E2 [16:03:37]MH_I2C_Read... [16:03:37]Read from MH i2c: E2 0B 00 [16:03:37]MH_I2C_Read... [16:03:37]Read from MH i2c: E2 0B 00 97 20 00 B0 51 ED 1E FB 68 97 03 90 00 3C [16:03:37]RAPDU: B0 51 ED 1E FB 68 97 03 90 00 [16:03:37]wFMCommunicate OK [16:03:37]SAM_PROTO_SignData done [16:03:37]FM_MakeSignedData done [16:03:37]CreateOFDProtocolMessage [16:03:37]wFMCommunicate request_size=4 [16:03:37]MH_SAM_APDU [16:03:37]CAPDU: 80 11 00 00 [16:03:37]Write to MH i2c: E2 08 00 98 20 80 11 00 00 00 00 00 00 32 [16:03:37]Write i2c OK [16:03:37]MH_I2C_Read... [16:03:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:03:37]Read from MH i2c: E2 [16:03:37]MH_I2C_Read... [16:03:37]Read from MH i2c: E2 17 00 [16:03:37]MH_I2C_Read... [16:03:37]Read from MH i2c: E2 17 00 98 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 85 [16:03:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:03:37]wFMCommunicate OK [16:03:37]CreateOFDProtocolMessage done [16:03:37]OFDSenderStorePacket 4119 [16:03:37]StoreOFDPacket docnum=4119 [16:03:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 AD 01 00 00 E2 F1 A5 01 38 93 5A 03 01 00 03 00 99 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 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 7C 15 00 00 00 00 13 04 06 00 7C 15 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 24 00 00 00 F4 03 04 00 E1 3A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 17 10 00 00 35 04 06 00 9C D9 A6 95 A5 AA B0 51 ED 1E FB 68 97 03 [16:03:37]CheckFolder [16:03:37]dirname=/storage/ofd_packets [16:03:37]CheckFolder done [16:03:37]ProducePacketName [16:03:37]name=ofd_packets/00004119 [16:03:37]NVStorageSaveData ofd_packets/00004119 [16:03:37]File name is /storage/ofd_packets/00004119 [16:03:37]Write 459 bytes [16:03:38]NVStorageSaveData done [16:03:38]OFDSenderStorePacket done [16:03:38]KKMCreateOFDPacket done [16:03:38]NVStorageSaveData kkm_last_timestamp [16:03:38]File name is /storage/kkm_last_timestamp [16:03:38]Write 4 bytes [16:03:38]NVStorageSaveData done [16:03:38]ExternCall_PrintAddStr [16:03:38]wPrintStart [16:03:38]Write to MH i2c: 01 00 00 99 20 B9 [16:03:38]OFD Sender: Processing packet 4119 [packets to send 2, broken 1] [16:03:38]ProducePacketName [16:03:38]name=ofd_packets/00004119 [16:03:38]OFD Sender: To server: pG, [16:03:38]CommunicateWithHost lk.salyk.kg:30040 [16:03:38]ConnectInit lk.salyk.kg [16:03:38]Write i2c OK [16:03:38]MH_I2C_Read... [16:03:38]Read from MH i2c: 01 [16:03:38]MH_I2C_Read... [16:03:38]Read from MH i2c: 01 07 00 [16:03:38]MH_I2C_Read... [16:03:38]Read from MH i2c: 01 07 00 99 20 00 00 00 00 00 FF 0F CE [16:03:38]RasterBufferAndPrint [16:03:38]line Счет N : (3)4373 [16:03:38]line ИНН: 02508201610067 [16:03:38]line Контрольно-Кассовый Чек [16:03:38]line ПРОДАЖА [16:03:38]line Товар: 4700000480302 [16:03:38]line Напиток энерг Nitro манго-клуб 0.45 ж/б [16:03:38]line 1.000 * 95.00 [16:03:38]line = 95.00 [16:03:38]line НДС 12% НСП 1% [16:03:38]line > о реализуемом товаре [16:03:38]line Товар: 4870112003925 [16:03:38]line Конд ULKER-Albeni 40gr (6*24) [16:03:38]line 1.000 * 55.00 [16:03:38]line = 55.00 [16:03:38]line НДС 12% НСП 1% [16:03:38]line > о реализуемом товаре [16:03:38]line ИТОГО: 150.00 [16:03:38]line НСП 1% : 1.33 [16:03:38]line НДС 12% : 15.93 [16:03:38]line Наличными: 0.00 [16:03:38]line Безнал.: 150.00 [16:03:38]line Место: АЗС № 116 "Партнер Нефть" [16:03:38]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [16:03:38]line СНО: Общий режим [16:03:38]line Чек 36 04.06.2024 16:03 [16:03:38]line Смена: 83 ФФД: 1.0 [16:03:38]line ЗНМ: 0300000233 [16:03:38]line РНМ: 0000000000145775 [16:03:38]line Версия ККМ: v1.0 [16:03:38]line Платежная система: Бакай Банк [16:03:38]line ФМ: 0000000000959360 [16:03:38]line ФД: 4119 [16:03:38]line ФПД: 172458616661418 [16:03:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T160345&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4119&fm=172458616661418&tin=02508201610067®Number=0000000000145775&sum=15000 [16:03:38]line 0 [16:03:38]written 0, free lines is 4095 [16:03:38]Connected sock=10 [16:03:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 AD 01 00 00 E2 F1 A5 01 38 93 5A 03 01 00 03 00 99 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 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 7C 15 00 00 00 00 13 04 06 00 7C 15 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 24 00 00 00 F4 03 04 00 E1 3A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 17 10 00 00 35 04 06 00 9C D9 A6 95 A5 AA B0 51 ED 1E FB 68 97 03 [16:03:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 49 BA 47 00 D0 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 30 39 35 39 33 36 30 10 04 04 00 17 10 00 00 F4 03 04 00 E2 E6 5E 66 B6 04 01 00 00 BF C8 2A 1E 92 96 7C BA [16:03:38]CommunicateWithHost err = 0 [16:03:38]CheckOFDResponse [16:03:38]1017 (14) - 77093643461234 [16:03:38]1041 (16) - 0000000000959360 [16:03:38]1040 (4) - 4119 [16:03:38]1012 (4) - 04.06.2024 10:05 [16:03:38]1206 (1) - 0 [16:03:38]OFD Sender: Remove packet 4119 [16:03:38]ProducePacketName [16:03:38]name=ofd_packets/00004119 [16:03:38]NVStorageDeleteData [16:03:38]Write to MH i2c: 01 00 00 CA 20 EA [16:03:38]Write i2c OK [16:03:38]MH_I2C_Read... [16:03:38]Read from MH i2c: 01 [16:03:38]MH_I2C_Read... [16:03:38]Read from MH i2c: 01 07 00 [16:03:38]MH_I2C_Read... [16:03:38]Read from MH i2c: 01 07 00 CA 20 00 00 00 00 00 2B 0C 28 [16:03:38]RasterBufferAndPrint [16:03:38]line [16:03:38]line [16:03:38]line [16:03:38]line [16:03:38]line [16:03:38]written 0, free lines is 3123 [16:03:38]MH_Cut [16:03:38]Write to MH i2c: D1 01 00 D1 20 01 C3 [16:03:38]Write i2c OK [16:03:38]MH_I2C_Read... [16:03:38]Read from MH i2c: D1 [16:03:38]MH_I2C_Read... [16:03:38]Read from MH i2c: D1 01 00 [16:03:38]MH_I2C_Read... [16:03:38]Read from MH i2c: D1 01 00 D1 20 00 C2 [16:03:38]Write to MH i2c: 01 00 00 D2 20 F2 [16:03:38]Write i2c OK [16:03:38]MH_I2C_Read... [16:03:39]OFD Sender: No OFD packet to send [16:03:39]OFD Sender: No OFD packet to send [16:03:39]*** Cut start [16:03:39]*** Partial cut [16:03:39]*** CUTSNS_PIN = 1 [16:03:39]*** CUTSNS_PIN = 0 [16:03:40]*** Brake cut motor [16:03:40]Read from MH i2c: 01 [16:03:40]MH_I2C_Read... [16:03:40]*** Stop cut motor [16:03:40]*** Cut end [16:03:40]Read from MH i2c: 01 07 00 [16:03:40]MH_I2C_Read... [16:03:40]Read from MH i2c: 01 07 00 D2 20 00 00 00 00 00 FF 0F 07 [16:03:40]process_action close_receipt done [16:03:40]requested_data is exist [16:03:40]produce_requested_data [16:03:40]requested_item fm.sn is exist - process it [16:03:40]wFMCommunicate request_size=4 [16:03:40]MH_SAM_APDU [16:03:40]CAPDU: 80 11 00 00 [16:03:40]Write to MH i2c: E2 08 00 D3 20 80 11 00 00 00 00 00 00 6D [16:03:40]Write i2c OK [16:03:40]MH_I2C_Read... [16:03:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:03:40]Read from MH i2c: E2 [16:03:40]MH_I2C_Read... [16:03:40]Read from MH i2c: E2 17 00 [16:03:40]MH_I2C_Read... [16:03:40]Read from MH i2c: E2 17 00 D3 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C0 [16:03:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:03:40]wFMCommunicate OK [16:03:40]requested_item fd.num is exist - process it [16:03:40]SAM_PROTO_GetFieldsCounters [16:03:40]wFMCommunicate request_size=4 [16:03:40]MH_SAM_APDU [16:03:40]CAPDU: 80 13 00 00 [16:03:40]Write to MH i2c: E2 08 00 D4 20 80 13 00 00 00 00 00 00 70 [16:03:40]Write i2c OK [16:03:40]MH_I2C_Read... [16:03:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:03:40]Read from MH i2c: E2 [16:03:40]MH_I2C_Read... [16:03:40]Read from MH i2c: E2 62 00 [16:03:40]MH_I2C_Read... [16:03:40]Read from MH i2c: E2 62 00 D4 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 17 10 00 00 0E 04 04 00 53 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 7B [16:03:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 17 10 00 00 0E 04 04 00 53 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 [16:03:40]wFMCommunicate OK [16:03:40]SAM_PROTO_GetFieldsCounters done [16:03:40]requested_item shift.num is exist - process it [16:03:40]requested_item shift.opened is exist - process it [16:03:40]req_shift_opened [16:03:40]FM_GetShiftState [16:03:40]SAM_PROTO_GetShiftState [16:03:40]wFMCommunicate request_size=4 [16:03:40]MH_SAM_APDU [16:03:40]CAPDU: 80 13 01 00 [16:03:40]Write to MH i2c: E2 08 00 D5 20 80 13 01 00 00 00 00 00 72 [16:03:40]Write i2c OK [16:03:40]MH_I2C_Read... [16:03:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:03:40]Read from MH i2c: E2 [16:03:40]MH_I2C_Read... [16:03:40]Read from MH i2c: E2 0E 00 [16:03:40]MH_I2C_Read... [16:03:40]Read from MH i2c: E2 0E 00 D5 20 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 0B [16:03:40]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [16:03:40]wFMCommunicate OK [16:03:40]SAM_PROTO_GetShiftState done [16:03:40]FM_GetShiftState done [16:03:40]req_shift_opened done [16:03:40]requested_item shift.open_date is exist - process it [16:03:40]req_shift_open_date [16:03:40]req_shift_open_date done [16:03:40]produce_requested_data done [16:03:40]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4119,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [16:03:40]process_action_free close_receipt [16:03:40]json_value_free [16:03:40]json_value_free done [16:03:40]process_json_proto returns [16:03:40]Send response to host [16:03:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4119,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [16:03:40]free response buf [16:03:40]execute_script done [16:03:40]execute_script returns [16:03:40]free content buf [16:03:40]Sock 9.Close socket [16:03:40]Sock 9.Thread stoped [16:03:44]OFD Sender: No OFD packet to send [16:03:49]OFD Sender: No OFD packet to send [16:03:54]OFD Sender: No OFD packet to send [16:03:59]OFD Sender: No OFD packet to send [16:04:04]OFD Sender: No OFD packet to send [16:04:09]OFD Sender: No OFD packet to send [16:04:14]OFD Sender: No OFD packet to send [16:04:19]OFD Sender: No OFD packet to send [16:04:24]OFD Sender: No OFD packet to send [16:04:29]OFD Sender: No OFD packet to send [16:04:34]OFD Sender: No OFD packet to send [16:04:39]OFD Sender: No OFD packet to send [16:04:44]OFD Sender: No OFD packet to send [16:04:49]OFD Sender: No OFD packet to send [16:04:54]OFD Sender: No OFD packet to send [16:04:59]OFD Sender: No OFD packet to send [16:05:04]OFD Sender: No OFD packet to send [16:05:09]OFD Sender: No OFD packet to send [16:05:14]OFD Sender: No OFD packet to send [16:05:19]OFD Sender: No OFD packet to send [16:05:24]OFD Sender: No OFD packet to send [16:05:29]OFD Sender: No OFD packet to send [16:05:34]OFD Sender: No OFD packet to send [16:05:39]OFD Sender: No OFD packet to send [16:05:44]OFD Sender: No OFD packet to send [16:05:49]OFD Sender: No OFD packet to send [16:05:54]OFD Sender: No OFD packet to send [16:05:59]OFD Sender: No OFD packet to send [16:06:04]OFD Sender: No OFD packet to send [16:06:09]OFD Sender: No OFD packet to send [16:06:14]OFD Sender: No OFD packet to send [16:06:19]OFD Sender: No OFD packet to send [16:06:24]OFD Sender: No OFD packet to send [16:06:29]OFD Sender: No OFD packet to send [16:06:34]OFD Sender: No OFD packet to send [16:06:39]OFD Sender: No OFD packet to send [16:06:44]OFD Sender: No OFD packet to send [16:06:49]OFD Sender: No OFD packet to send [16:06:54]OFD Sender: No OFD packet to send [16:06:59]OFD Sender: No OFD packet to send [16:07:04]OFD Sender: No OFD packet to send [16:07:09]OFD Sender: No OFD packet to send [16:07:14]OFD Sender: No OFD packet to send [16:07:19]OFD Sender: No OFD packet to send [16:07:24]OFD Sender: No OFD packet to send [16:07:29]OFD Sender: No OFD packet to send [16:07:34]OFD Sender: No OFD packet to send [16:07:39]OFD Sender: No OFD packet to send [16:07:44]OFD Sender: No OFD packet to send [16:07:49]OFD Sender: No OFD packet to send [16:07:54]OFD Sender: No OFD packet to send [16:07:59]OFD Sender: No OFD packet to send [16:08:04]OFD Sender: No OFD packet to send [16:08:09]OFD Sender: No OFD packet to send [16:08:14]OFD Sender: No OFD packet to send [16:08:19]OFD Sender: No OFD packet to send [16:08:24]OFD Sender: No OFD packet to send [16:08:29]OFD Sender: No OFD packet to send [16:08:34]OFD Sender: No OFD packet to send [16:08:39]OFD Sender: No OFD packet to send [16:08:44]OFD Sender: No OFD packet to send [16:08:49]OFD Sender: No OFD packet to send [16:08:54]OFD Sender: No OFD packet to send [16:08:59]OFD Sender: No OFD packet to send [16:09:04]OFD Sender: No OFD packet to send [16:09:09]OFD Sender: No OFD packet to send [16:09:14]OFD Sender: No OFD packet to send [16:09:19]OFD Sender: No OFD packet to send [16:09:24]OFD Sender: No OFD packet to send [16:09:29]OFD Sender: No OFD packet to send [16:09:34]OFD Sender: No OFD packet to send [16:09:39]OFD Sender: No OFD packet to send [16:09:44]OFD Sender: No OFD packet to send [16:09:49]OFD Sender: No OFD packet to send [16:09:54]OFD Sender: No OFD packet to send [16:09:59]OFD Sender: No OFD packet to send [16:10:04]OFD Sender: No OFD packet to send [16:10:09]OFD Sender: No OFD packet to send [16:10:14]OFD Sender: No OFD packet to send [16:10:19]OFD Sender: No OFD packet to send [16:10:24]OFD Sender: No OFD packet to send [16:10:29]OFD Sender: No OFD packet to send [16:10:34]OFD Sender: No OFD packet to send [16:10:39]OFD Sender: No OFD packet to send [16:10:44]OFD Sender: No OFD packet to send [16:10:49]OFD Sender: No OFD packet to send [16:10:54]OFD Sender: No OFD packet to send [16:10:59]OFD Sender: No OFD packet to send [16:11:04]OFD Sender: No OFD packet to send [16:11:09]OFD Sender: No OFD packet to send [16:11:14]OFD Sender: No OFD packet to send [16:11:19]OFD Sender: No OFD packet to send [16:11:24]OFD Sender: No OFD packet to send [16:11:29]OFD Sender: No OFD packet to send [16:11:34]OFD Sender: No OFD packet to send [16:11:39]OFD Sender: No OFD packet to send [16:11:44]OFD Sender: No OFD packet to send [16:11:49]OFD Sender: No OFD packet to send [16:11:54]OFD Sender: No OFD packet to send [16:11:59]OFD Sender: No OFD packet to send [16:12:04]OFD Sender: No OFD packet to send [16:12:09]OFD Sender: No OFD packet to send [16:12:14]OFD Sender: No OFD packet to send [16:12:19]OFD Sender: No OFD packet to send [16:12:24]OFD Sender: No OFD packet to send [16:12:29]OFD Sender: No OFD packet to send [16:12:34]OFD Sender: No OFD packet to send [16:12:39]OFD Sender: No OFD packet to send [16:12:44]OFD Sender: No OFD packet to send [16:12:49]OFD Sender: No OFD packet to send [16:12:54]OFD Sender: No OFD packet to send [16:12:59]OFD Sender: No OFD packet to send [16:13:04]OFD Sender: No OFD packet to send [16:13:09]OFD Sender: No OFD packet to send [16:13:14]OFD Sender: No OFD packet to send [16:13:19]OFD Sender: No OFD packet to send [16:13:24]OFD Sender: No OFD packet to send [16:13:29]OFD Sender: No OFD packet to send [16:13:34]OFD Sender: No OFD packet to send [16:13:39]OFD Sender: No OFD packet to send [16:13:44]OFD Sender: No OFD packet to send [16:13:49]OFD Sender: No OFD packet to send [16:13:54]OFD Sender: No OFD packet to send [16:13:59]OFD Sender: No OFD packet to send [16:14:04]OFD Sender: No OFD packet to send [16:14:09]OFD Sender: No OFD packet to send [16:14:14]OFD Sender: No OFD packet to send [16:14:19]OFD Sender: No OFD packet to send [16:14:24]OFD Sender: No OFD packet to send [16:14:29]OFD Sender: No OFD packet to send [16:14:34]OFD Sender: No OFD packet to send [16:14:39]OFD Sender: No OFD packet to send [16:14:44]OFD Sender: No OFD packet to send [16:14:49]OFD Sender: No OFD packet to send [16:14:54]OFD Sender: No OFD packet to send [16:14:59]OFD Sender: No OFD packet to send [16:15:04]OFD Sender: No OFD packet to send [16:15:09]OFD Sender: No OFD packet to send [16:15:14]OFD Sender: No OFD packet to send [16:15:19]OFD Sender: No OFD packet to send [16:15:24]OFD Sender: No OFD packet to send [16:15:29]OFD Sender: No OFD packet to send [16:15:34]OFD Sender: No OFD packet to send [16:15:39]OFD Sender: No OFD packet to send [16:15:44]OFD Sender: No OFD packet to send [16:15:49]OFD Sender: No OFD packet to send [16:15:54]OFD Sender: No OFD packet to send [16:15:59]OFD Sender: No OFD packet to send [16:16:04]OFD Sender: No OFD packet to send [16:16:09]OFD Sender: No OFD packet to send [16:16:14]OFD Sender: No OFD packet to send [16:16:19]OFD Sender: No OFD packet to send [16:16:24]OFD Sender: No OFD packet to send [16:16:29]OFD Sender: No OFD packet to send [16:16:34]OFD Sender: No OFD packet to send [16:16:39]OFD Sender: No OFD packet to send [16:16:44]OFD Sender: No OFD packet to send [16:16:49]OFD Sender: No OFD packet to send [16:16:54]OFD Sender: No OFD packet to send [16:16:59]OFD Sender: No OFD packet to send [16:17:04]OFD Sender: No OFD packet to send [16:17:09]OFD Sender: No OFD packet to send [16:17:14]OFD Sender: No OFD packet to send [16:17:19]OFD Sender: No OFD packet to send [16:17:24]OFD Sender: No OFD packet to send [16:17:29]OFD Sender: No OFD packet to send [16:17:34]OFD Sender: No OFD packet to send [16:17:39]OFD Sender: No OFD packet to send [16:17:44]OFD Sender: No OFD packet to send [16:17:49]OFD Sender: No OFD packet to send [16:17:54]OFD Sender: No OFD packet to send [16:17:59]OFD Sender: No OFD packet to send [16:18:04]OFD Sender: No OFD packet to send [16:18:09]OFD Sender: No OFD packet to send [16:18:14]OFD Sender: No OFD packet to send [16:18:19]OFD Sender: No OFD packet to send [16:18:24]OFD Sender: No OFD packet to send [16:18:29]OFD Sender: No OFD packet to send [16:18:34]OFD Sender: No OFD packet to send [16:18:39]OFD Sender: No OFD packet to send [16:18:44]OFD Sender: No OFD packet to send [16:18:49]OFD Sender: No OFD packet to send [16:18:54]OFD Sender: No OFD packet to send [16:18:59]OFD Sender: No OFD packet to send [16:19:04]OFD Sender: No OFD packet to send [16:19:09]OFD Sender: No OFD packet to send [16:19:14]OFD Sender: No OFD packet to send [16:19:19]OFD Sender: No OFD packet to send [16:19:24]OFD Sender: No OFD packet to send [16:19:29]OFD Sender: No OFD packet to send [16:19:34]OFD Sender: No OFD packet to send [16:19:39]OFD Sender: No OFD packet to send [16:19:44]OFD Sender: No OFD packet to send [16:19:49]OFD Sender: No OFD packet to send [16:19:54]OFD Sender: No OFD packet to send [16:19:59]OFD Sender: No OFD packet to send [16:20:04]OFD Sender: No OFD packet to send [16:20:09]OFD Sender: No OFD packet to send [16:20:14]OFD Sender: No OFD packet to send [16:20:19]OFD Sender: No OFD packet to send [16:20:24]OFD Sender: No OFD packet to send [16:20:29]OFD Sender: No OFD packet to send [16:20:34]OFD Sender: No OFD packet to send [16:20:39]OFD Sender: No OFD packet to send [16:20:44]OFD Sender: No OFD packet to send [16:20:50]OFD Sender: No OFD packet to send [16:20:55]OFD Sender: No OFD packet to send [16:21:00]OFD Sender: No OFD packet to send [16:21:05]OFD Sender: No OFD packet to send [16:21:10]OFD Sender: No OFD packet to send [16:21:15]OFD Sender: No OFD packet to send [16:21:20]OFD Sender: No OFD packet to send [16:21:25]OFD Sender: No OFD packet to send [16:21:30]OFD Sender: No OFD packet to send [16:21:35]OFD Sender: No OFD packet to send [16:21:40]OFD Sender: No OFD packet to send [16:21:45]OFD Sender: No OFD packet to send [16:21:50]OFD Sender: No OFD packet to send [16:21:55]OFD Sender: No OFD packet to send [16:22:00]OFD Sender: No OFD packet to send [16:22:05]OFD Sender: No OFD packet to send [16:22:10]OFD Sender: No OFD packet to send [16:22:15]OFD Sender: No OFD packet to send [16:22:20]OFD Sender: No OFD packet to send [16:22:25]OFD Sender: No OFD packet to send [16:22:30]OFD Sender: No OFD packet to send [16:22:35]OFD Sender: No OFD packet to send [16:22:40]OFD Sender: No OFD packet to send [16:22:45]OFD Sender: No OFD packet to send [16:22:50]OFD Sender: No OFD packet to send [16:22:55]OFD Sender: No OFD packet to send [16:23:00]OFD Sender: No OFD packet to send [16:23:05]OFD Sender: No OFD packet to send [16:23:10]OFD Sender: No OFD packet to send [16:23:15]OFD Sender: No OFD packet to send [16:23:20]OFD Sender: No OFD packet to send [16:23:25]OFD Sender: No OFD packet to send [16:23:30]OFD Sender: No OFD packet to send [16:23:35]OFD Sender: No OFD packet to send [16:23:40]OFD Sender: No OFD packet to send [16:23:45]OFD Sender: No OFD packet to send [16:23:50]OFD Sender: No OFD packet to send [16:23:55]OFD Sender: No OFD packet to send [16:24:00]OFD Sender: No OFD packet to send [16:24:05]OFD Sender: No OFD packet to send [16:24:10]OFD Sender: No OFD packet to send [16:24:15]OFD Sender: No OFD packet to send [16:24:20]OFD Sender: No OFD packet to send [16:24:25]OFD Sender: No OFD packet to send [16:24:30]OFD Sender: No OFD packet to send [16:24:35]OFD Sender: No OFD packet to send [16:24:40]OFD Sender: No OFD packet to send [16:24:45]OFD Sender: No OFD packet to send [16:24:50]OFD Sender: No OFD packet to send [16:24:55]OFD Sender: No OFD packet to send [16:25:00]OFD Sender: No OFD packet to send [16:25:05]OFD Sender: No OFD packet to send [16:25:10]OFD Sender: No OFD packet to send [16:25:15]OFD Sender: No OFD packet to send [16:25:20]OFD Sender: No OFD packet to send [16:25:25]OFD Sender: No OFD packet to send [16:25:25]accept exits with 8 [16:25:25]New connection [16:25:25]New thread 3067227492 created [16:25:25]Thread 3067370852 joined [16:25:25]Waiting for new connection... [16:25:25] Sock 8.Parse request [16:25:25]Sock 8.Check first char [16:25:25]Sock 8.First char is OK [16:25:25]request: POST /json_proto HTTP/1.0 [16:25:25]Method: POST [16:25:25]URL: /json_proto [16:25:25]Method is POST - this is cgi request [16:25:25]url: /json_proto [16:25:25]query_string will be loaded in cgi processing [16:25:25]execute_cgi json_proto POST (null) [16:25:25]execute_cgi path=json_proto method=POST [16:25:25]POST find Content-Length [16:25:25]Host: 172.17.56.68:8080 [16:25:25]Content-Length: 693 [16:25:25]Content-Type: application/json [16:25:25] [16:25:25]POST finish read [16:25:25]Found Content-Length = 693 [16:25:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4374", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:25]execute_script... [16:25: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)4374", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:25]POST & json_proto [16:25:25]process_json_proto [16:25:25]json parsed OK: [16:25:25]protocol is kg_v1.0 [16:25:25]action value=close_receipt [16:25:25]process_action close_receipt [16:25:25]cmd_close_receipt [16:25:25]MH_GetDate [16:25:25]Write to MH i2c: F0 00 00 D6 20 E5 [16:25:25]Write i2c OK [16:25:25]MH_I2C_Read... [16:25:25]Read from MH i2c: F0 [16:25:25]MH_I2C_Read... [16:25:25]Read from MH i2c: F0 09 00 [16:25:25]MH_I2C_Read... [16:25:25]Read from MH i2c: F0 09 00 D6 20 00 FF 3F 5F 66 42 69 5C 66 5E [16:25:25]GetLastDocTimeStamp 1717517025 [16:25:25]current date 1717518335 [16:25:25]FM_GetShiftState [16:25:25]SAM_PROTO_GetShiftState [16:25:25]wFMCommunicate request_size=4 [16:25:25]MH_SAM_APDU [16:25:25]CAPDU: 80 13 01 00 [16:25:25]Write to MH i2c: E2 08 00 D7 20 80 13 01 00 00 00 00 00 74 [16:25:25]Write i2c OK [16:25:25]MH_I2C_Read... [16:25:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:25]Read from MH i2c: E2 [16:25:25]MH_I2C_Read... [16:25:25]Read from MH i2c: E2 0E 00 [16:25:25]MH_I2C_Read... [16:25:25]Read from MH i2c: E2 0E 00 D7 20 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 0D [16:25:25]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [16:25:25]wFMCommunicate OK [16:25:25]SAM_PROTO_GetShiftState done [16:25:25]FM_GetShiftState done [16:25:25]opened in 1717459822 [16:25:25]opened+sec_in_day 1717546222 [16:25:25]quantity*price = 1500 [16:25:25]sum+1 = 1501 [16:25:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 15.00 НСП 1% : 0.13 НДС 12% : 1.59 Наличными: 15.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 37 04.06.2024 16:25 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4120 ФПД: 29407342998792 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T162535&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4120&fm=29407342998792&tin=02508201610067®Number=0000000000145775&sum=1500 0 [16:25:26]StoreToDocumentArchive [16:25:26]shift 83 fd 4120 [16:25:26]save to /storage/0083/doc_00004120 [16:25:26]save last doc name /storage/0083/doc_00004120 to /storage/kkm_last_doc_name [16:25:26]save OK [16:25:26]Clear old archive folders... [16:25:26]ProcessDocumentItem done err = 0, tmpTLVsize=290 [16:25:26]tlvbuf is B6E0E6B0 [16:25:26]SAM_PROTO_ClearQueue [16:25:26]wFMCommunicate request_size=4 [16:25:26]MH_SAM_APDU [16:25:26]CAPDU: 80 09 00 00 [16:25:26]Write to MH i2c: E2 08 00 E4 20 80 09 00 00 00 00 00 00 76 [16:25:26]Write i2c OK [16:25:26]MH_I2C_Read... [16:25:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:25:26]Read from MH i2c: E2 [16:25:26]MH_I2C_Read... [16:25:26]Read from MH i2c: E2 03 00 [16:25:26]MH_I2C_Read... [16:25:26]Read from MH i2c: E2 03 00 E4 20 00 90 00 78 [16:25:26]RAPDU: 90 00 [16:25:26]wFMCommunicate OK [16:25:26]SAM_PROTO_ClearQueue done [16:25:26]KKMCreateOFDPacket [16:25:26]OFDProtocolAddRootSTLVToBuf [16:25:26]FM_MakeSignedData [16:25:26]FM_MakeSignedData [16:25:26]SAM_PROTO_SignData [16:25:26]wFMCommunicate request_size=4 [16:25:26]MH_SAM_APDU [16:25:26]CAPDU: 80 0D 01 02 [16:25:26]Write to MH i2c: E2 08 00 E5 20 80 0D 01 02 00 00 00 00 7E [16:25:26]Write i2c OK [16:25:26]MH_I2C_Read... [16:25:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:25:27]Read from MH i2c: E2 [16:25:27]MH_I2C_Read... [16:25:27]Read from MH i2c: E2 03 00 [16:25:27]MH_I2C_Read... [16:25:27]Read from MH i2c: E2 03 00 E5 20 00 90 00 79 [16:25:27]RAPDU: 90 00 [16:25:27]wFMCommunicate OK [16:25:27]wFMCommunicate request_size=255 [16:25:27]MH_SAM_APDU [16:25:27]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 FF 3F 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [16:25:27]Write to MH i2c: E2 02 01 E6 20 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 FF 3F 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 B7 [16:25:27]Write i2c OK [16:25:27]MH_I2C_Read... [16:25:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:27]Read from MH i2c: E2 [16:25:27]MH_I2C_Read... [16:25:27]Read from MH i2c: E2 03 00 [16:25:27]MH_I2C_Read... [16:25:27]Read from MH i2c: E2 03 00 E6 20 00 90 00 7A [16:25:27]RAPDU: 90 00 [16:25:27]wFMCommunicate OK [16:25:27]wFMCommunicate request_size=49 [16:25:27]MH_SAM_APDU [16:25:27]CAPDU: 80 0D 02 02 2C 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 18 10 00 00 35 04 06 00 1A BE EE 3B B5 08 [16:25:27]Write to MH i2c: E2 34 00 E7 20 80 0D 02 02 2C 00 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 18 10 00 00 35 04 06 00 1A BE EE 3B B5 08 00 00 98 [16:25:27]Write i2c OK [16:25:27]MH_I2C_Read... [16:25:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:27]Read from MH i2c: E2 [16:25:27]MH_I2C_Read... [16:25:27]Read from MH i2c: E2 03 00 [16:25:27]MH_I2C_Read... [16:25:27]Read from MH i2c: E2 03 00 E7 20 00 90 00 7B [16:25:27]RAPDU: 90 00 [16:25:27]wFMCommunicate OK [16:25:27]wFMCommunicate request_size=4 [16:25:27]MH_SAM_APDU [16:25:27]CAPDU: 80 0D 03 02 [16:25:27]Write to MH i2c: E2 08 00 E8 20 80 0D 03 02 00 00 00 00 83 [16:25:27]Write i2c OK [16:25:27]MH_I2C_Read... [16:25:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:25:27]Read from MH i2c: E2 [16:25:27]MH_I2C_Read... [16:25:27]Read from MH i2c: E2 0B 00 [16:25:27]MH_I2C_Read... [16:25:27]Read from MH i2c: E2 0B 00 E8 20 00 00 64 AF CE 8C 10 CF 2E 90 00 FE [16:25:27]RAPDU: 00 64 AF CE 8C 10 CF 2E 90 00 [16:25:27]wFMCommunicate OK [16:25:27]SAM_PROTO_SignData done [16:25:27]FM_MakeSignedData done [16:25:27]CreateOFDProtocolMessage [16:25:27]wFMCommunicate request_size=4 [16:25:27]MH_SAM_APDU [16:25:27]CAPDU: 80 11 00 00 [16:25:27]Write to MH i2c: E2 08 00 E9 20 80 11 00 00 00 00 00 00 83 [16:25:27]Write i2c OK [16:25:27]MH_I2C_Read... [16:25:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:27]Read from MH i2c: E2 [16:25:27]MH_I2C_Read... [16:25:27]Read from MH i2c: E2 17 00 [16:25:27]MH_I2C_Read... [16:25:27]Read from MH i2c: E2 17 00 E9 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D6 [16:25:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:25:27]wFMCommunicate OK [16:25:27]CreateOFDProtocolMessage done [16:25:27]OFDSenderStorePacket 4120 [16:25:27]StoreOFDPacket docnum=4120 [16:25:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 36 01 00 00 6F 3C 2E 01 C6 E8 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 FF 3F 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 18 10 00 00 35 04 06 00 1A BE EE 3B B5 08 00 64 AF CE 8C 10 CF 2E [16:25:27]CheckFolder [16:25:27]dirname=/storage/ofd_packets [16:25:27]CheckFolder done [16:25:27]ProducePacketName [16:25:27]name=ofd_packets/00004120 [16:25:27]NVStorageSaveData ofd_packets/00004120 [16:25:27]File name is /storage/ofd_packets/00004120 [16:25:27]Write 340 bytes [16:25:27]NVStorageSaveData done [16:25:27]OFDSenderStorePacket done [16:25:27]KKMCreateOFDPacket done [16:25:27]NVStorageSaveData kkm_last_timestamp [16:25:27]File name is /storage/kkm_last_timestamp [16:25:27]Write 4 bytes [16:25:27]NVStorageSaveData done [16:25:27]ExternCall_PrintAddStr [16:25:27]wPrintStart [16:25:27]Write to MH i2c: 01 00 00 EA 20 0A [16:25:27]Write i2c OK [16:25:27]MH_I2C_Read... [16:25:27]Read from MH i2c: 01 [16:25:27]MH_I2C_Read... [16:25:27]Read from MH i2c: 01 07 00 [16:25:27]MH_I2C_Read... [16:25:27]Read from MH i2c: 01 07 00 EA 20 00 00 00 00 00 FF 0F 1F [16:25:27]RasterBufferAndPrint [16:25:27]line Счет N : (3)4374 [16:25:27]line ИНН: 02508201610067 [16:25:27]line Контрольно-Кассовый Чек [16:25:27]line ПРОДАЖА [16:25:27]line Товар: 4700000160013 [16:25:27]line Снек Курут индивидуальный [16:25:27]line 1.000 * 15.00 [16:25:27]line = 15.00 [16:25:27]line НДС 12% НСП 1% [16:25:27]line > о реализуемом товаре [16:25:27]line ИТОГО: 15.00 [16:25:27]line НСП 1% : 0.13 [16:25:27]line НДС 12% : 1.59 [16:25:27]line Наличными: 15.00 [16:25:27]line Безнал.: 0.00 [16:25:27]line Место: АЗС № 116 "Партнер Нефть" [16:25:27]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [16:25:27]line СНО: Общий режим [16:25:27]line Чек 37 04.06.2024 16:25 [16:25:27]line Смена: 83 ФФД: 1.0 [16:25:27]line ЗНМ: 0300000233 [16:25:27]line РНМ: 0000000000145775 [16:25:27]line Версия ККМ: v1.0 [16:25:27]line ФМ: 0000000000959360 [16:25:27]line ФД: 4120 [16:25:27]line ФПД: 29407342998792 [16:25:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T162535&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4120&fm=29407342998792&tin=02508201610067®Number=0000000000145775&sum=1500 [16:25:27]line 0 [16:25:27]OFD Sender: Processing packet 4120 [packets to send 2, broken 1] [16:25:27]ProducePacketName [16:25:27]name=ofd_packets/00004120 [16:25:27]OFD Sender: To server: pG, [16:25:27]CommunicateWithHost lk.salyk.kg:30040 [16:25:27]ConnectInit lk.salyk.kg [16:25:27]written 0, free lines is 4095 [16:25:27]Connected sock=10 [16:25:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 36 01 00 00 6F 3C 2E 01 C6 E8 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 FF 3F 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 18 10 00 00 35 04 06 00 1A BE EE 3B B5 08 00 64 AF CE 8C 10 CF 2E [16:25:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 4B 12 47 00 08 57 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 18 10 00 00 F4 03 04 00 FF EB 5E 66 B6 04 01 00 00 77 69 8D 86 12 2F A4 D0 [16:25:28]CommunicateWithHost err = 0 [16:25:28]CheckOFDResponse [16:25:28]1017 (14) - 77093643461234 [16:25:28]1041 (16) - 0000000000959360 [16:25:28]1040 (4) - 4120 [16:25:28]1012 (4) - 04.06.2024 10:27 [16:25:28]1206 (1) - 0 [16:25:28]OFD Sender: Remove packet 4120 [16:25:28]ProducePacketName [16:25:28]name=ofd_packets/00004120 [16:25:28]NVStorageDeleteData [16:25:28]Write to MH i2c: 01 00 00 12 21 33 [16:25:28]Write i2c OK [16:25:28]MH_I2C_Read... [16:25:28]Read from MH i2c: 01 [16:25:28]MH_I2C_Read... [16:25:28]Read from MH i2c: 01 07 00 [16:25:28]MH_I2C_Read... [16:25:28]Read from MH i2c: 01 07 00 12 21 00 00 00 00 00 CB 0C 11 [16:25:28]RasterBufferAndPrint [16:25:28]line [16:25:28]line [16:25:28]line [16:25:28]line [16:25:28]line [16:25:28]written 0, free lines is 3282 [16:25:28]MH_Cut [16:25:28]Write to MH i2c: D1 01 00 19 21 01 0C [16:25:28]Write i2c OK [16:25:28]MH_I2C_Read... [16:25:28]Read from MH i2c: D1 [16:25:28]MH_I2C_Read... [16:25:28]Read from MH i2c: D1 01 00 [16:25:28]MH_I2C_Read... [16:25:28]Read from MH i2c: D1 01 00 19 21 00 0B [16:25:28]Write to MH i2c: 01 00 00 1A 21 3B [16:25:28]Write i2c OK [16:25:28]MH_I2C_Read... [16:25:28]OFD Sender: No OFD packet to send [16:25:29]*** Cut start [16:25:29]*** Partial cut [16:25:29]*** CUTSNS_PIN = 1 [16:25:29]*** CUTSNS_PIN = 0 [16:25:29]*** Brake cut motor [16:25:29]Read from MH i2c: 01 [16:25:29]MH_I2C_Read... [16:25:29]*** Stop cut motor [16:25:29]*** Cut end [16:25:29]Read from MH i2c: 01 07 00 [16:25:29]MH_I2C_Read... [16:25:29]Read from MH i2c: 01 07 00 1A 21 00 00 00 00 00 FF 0F 50 [16:25:29]process_action close_receipt done [16:25:29]requested_data is exist [16:25:29]produce_requested_data [16:25:29]requested_item fm.sn is exist - process it [16:25:29]wFMCommunicate request_size=4 [16:25:29]MH_SAM_APDU [16:25:29]CAPDU: 80 11 00 00 [16:25:29]Write to MH i2c: E2 08 00 1B 21 80 11 00 00 00 00 00 00 B6 [16:25:29]Write i2c OK [16:25:29]MH_I2C_Read... [16:25:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:29]Read from MH i2c: E2 [16:25:29]MH_I2C_Read... [16:25:29]Read from MH i2c: E2 17 00 [16:25:29]MH_I2C_Read... [16:25:29]Read from MH i2c: E2 17 00 1B 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 09 [16:25:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:25:29]wFMCommunicate OK [16:25:29]requested_item fd.num is exist - process it [16:25:29]SAM_PROTO_GetFieldsCounters [16:25:29]wFMCommunicate request_size=4 [16:25:29]MH_SAM_APDU [16:25:29]CAPDU: 80 13 00 00 [16:25:29]Write to MH i2c: E2 08 00 1C 21 80 13 00 00 00 00 00 00 B9 [16:25:29]Write i2c OK [16:25:29]MH_I2C_Read... [16:25:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:25:29]Read from MH i2c: E2 [16:25:29]MH_I2C_Read... [16:25:29]Read from MH i2c: E2 62 00 [16:25:29]MH_I2C_Read... [16:25:30]Read from MH i2c: E2 62 00 1C 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 18 10 00 00 0E 04 04 00 53 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 C8 [16:25:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 18 10 00 00 0E 04 04 00 53 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 [16:25:30]wFMCommunicate OK [16:25:30]SAM_PROTO_GetFieldsCounters done [16:25:30]requested_item shift.num is exist - process it [16:25:30]requested_item shift.opened is exist - process it [16:25:30]req_shift_opened [16:25:30]FM_GetShiftState [16:25:30]SAM_PROTO_GetShiftState [16:25:30]wFMCommunicate request_size=4 [16:25:30]MH_SAM_APDU [16:25:30]CAPDU: 80 13 01 00 [16:25:30]Write to MH i2c: E2 08 00 1D 21 80 13 01 00 00 00 00 00 BB [16:25:30]Write i2c OK [16:25:30]MH_I2C_Read... [16:25:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:30]Read from MH i2c: E2 [16:25:30]MH_I2C_Read... [16:25:30]Read from MH i2c: E2 0E 00 [16:25:30]MH_I2C_Read... [16:25:30]Read from MH i2c: E2 0E 00 1D 21 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 54 [16:25:30]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [16:25:30]wFMCommunicate OK [16:25:30]SAM_PROTO_GetShiftState done [16:25:30]FM_GetShiftState done [16:25:30]req_shift_opened done [16:25:30]requested_item shift.open_date is exist - process it [16:25:30]req_shift_open_date [16:25:30]req_shift_open_date done [16:25:30]produce_requested_data done [16:25:30]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4120,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [16:25:30]process_action_free close_receipt [16:25:30]json_value_free [16:25:30]json_value_free done [16:25:30]process_json_proto returns [16:25:30]Send response to host [16:25:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4120,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [16:25:30]free response buf [16:25:30]execute_script done [16:25:30]execute_script returns [16:25:30]free content buf [16:25:30]Sock 8.Close socket [16:25:30]Sock 8.Thread stoped [16:25:33]OFD Sender: No OFD packet to send [16:25:38]OFD Sender: No OFD packet to send [16:25:43]OFD Sender: No OFD packet to send [16:25:48]OFD Sender: No OFD packet to send [16:25:53]OFD Sender: No OFD packet to send [16:25:58]OFD Sender: No OFD packet to send [16:26:03]OFD Sender: No OFD packet to send [16:26:08]OFD Sender: No OFD packet to send [16:26:13]OFD Sender: No OFD packet to send [16:26:18]OFD Sender: No OFD packet to send [16:26:23]OFD Sender: No OFD packet to send [16:26:28]OFD Sender: No OFD packet to send [16:26:33]OFD Sender: No OFD packet to send [16:26:38]OFD Sender: No OFD packet to send [16:26:43]OFD Sender: No OFD packet to send [16:26:48]OFD Sender: No OFD packet to send [16:26:53]OFD Sender: No OFD packet to send [16:26:58]OFD Sender: No OFD packet to send [16:27:03]OFD Sender: No OFD packet to send [16:27:08]OFD Sender: No OFD packet to send [16:27:13]OFD Sender: No OFD packet to send [16:27:18]OFD Sender: No OFD packet to send [16:27:23]OFD Sender: No OFD packet to send [16:27:28]OFD Sender: No OFD packet to send [16:27:33]OFD Sender: No OFD packet to send [16:27:38]OFD Sender: No OFD packet to send [16:27:43]OFD Sender: No OFD packet to send [16:27:48]OFD Sender: No OFD packet to send [16:27:53]OFD Sender: No OFD packet to send [16:27:58]OFD Sender: No OFD packet to send [16:28:03]OFD Sender: No OFD packet to send [16:28:08]OFD Sender: No OFD packet to send [16:28:13]OFD Sender: No OFD packet to send [16:28:18]OFD Sender: No OFD packet to send [16:28:23]OFD Sender: No OFD packet to send [16:28:28]OFD Sender: No OFD packet to send [16:28:33]OFD Sender: No OFD packet to send [16:28:38]OFD Sender: No OFD packet to send [16:28:43]OFD Sender: No OFD packet to send [16:28:48]OFD Sender: No OFD packet to send [16:28:53]OFD Sender: No OFD packet to send [16:28:58]OFD Sender: No OFD packet to send [16:29:03]OFD Sender: No OFD packet to send [16:29:08]OFD Sender: No OFD packet to send [16:29:13]OFD Sender: No OFD packet to send [16:29:18]OFD Sender: No OFD packet to send [16:29:23]OFD Sender: No OFD packet to send [16:29:28]OFD Sender: No OFD packet to send [16:29:33]OFD Sender: No OFD packet to send [16:29:38]OFD Sender: No OFD packet to send [16:29:43]OFD Sender: No OFD packet to send [16:29:48]accept exits with 9 [16:29:48]New connection [16:29:48]New thread 3067370852 created [16:29:48]Thread 3067227492 joined [16:29:48]Waiting for new connection... [16:29:48] Sock 9.Parse request [16:29:48]Sock 9.Check first char [16:29:48]Sock 9.First char is OK [16:29:48]request: POST /json_proto HTTP/1.0 [16:29:48]Method: POST [16:29:48]URL: /json_proto [16:29:48]Method is POST - this is cgi request [16:29:48]url: /json_proto [16:29:48]query_string will be loaded in cgi processing [16:29:48]execute_cgi json_proto POST (null) [16:29:48]execute_cgi path=json_proto method=POST [16:29:48]POST find Content-Length [16:29:48]Host: 172.17.56.68:8080 [16:29:48]Content-Length: 1555 [16:29:48]Content-Type: application/json [16:29:48] [16:29:48]POST finish read [16:29:48]Found Content-Length = 1555 [16:29:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4375", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000273680", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 0,5\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.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" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 307.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:29:48]execute_script... [16:29: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)4375", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000273680", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 0,5\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.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" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 307.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:29:48]POST & json_proto [16:29:48]process_json_proto [16:29:48]json parsed OK: [16:29:48]protocol is kg_v1.0 [16:29:48]action value=close_receipt [16:29:48]process_action close_receipt [16:29:48]cmd_close_receipt [16:29:48]MH_GetDate [16:29:48]Write to MH i2c: F0 00 00 1E 21 2E [16:29:48]Write i2c OK [16:29:48]MH_I2C_Read... [16:29:48]Read from MH i2c: F0 [16:29:48]MH_I2C_Read... [16:29:48]Read from MH i2c: F0 09 00 [16:29:48]MH_I2C_Read... [16:29:48]Read from MH i2c: F0 09 00 1E 21 00 06 41 5F 66 42 69 5C 66 B0 [16:29:48]GetLastDocTimeStamp 1717518335 [16:29:48]current date 1717518598 [16:29:48]FM_GetShiftState [16:29:48]SAM_PROTO_GetShiftState [16:29:48]wFMCommunicate request_size=4 [16:29:48]MH_SAM_APDU [16:29:48]CAPDU: 80 13 01 00 [16:29:48]Write to MH i2c: E2 08 00 1F 21 80 13 01 00 00 00 00 00 BD [16:29:48]Write i2c OK [16:29:48]MH_I2C_Read... [16:29:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:29:48]Read from MH i2c: E2 [16:29:48]MH_I2C_Read... [16:29:48]Read from MH i2c: E2 0E 00 [16:29:48]MH_I2C_Read... [16:29:48]Read from MH i2c: E2 0E 00 1F 21 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 56 [16:29:48]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [16:29:48]wFMCommunicate OK [16:29:48]SAM_PROTO_GetShiftState done [16:29:48]FM_GetShiftState done [16:29:48]opened in 1717459822 [16:29:48]opened+sec_in_day 1717546222 [16:29:48]quantity*price = 6700 [16:29:48]sum+1 = 6701 [16:29:48]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000273680 Сок Piko Pulpy красный виноград ПЭТ 0,5л 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160792 Снек Курут классический (круглый) 2.000 * 60.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46231529 Mentos ПФ Арбуз 6*100*2 2.000 * 10.00 = 20.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 307.00 НСП 1% : 2.71 НДС 12% : 32.59 Наличными: 307.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 38 04.06.2024 16:29 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4121 ФПД: 106922140015183 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T162958&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4121&fm=106922140015183&tin=02508201610067®Number=0000000000145775&sum=30700 0 [16:29:49]StoreToDocumentArchive [16:29:49]shift 83 fd 4121 [16:29:49]save to /storage/0083/doc_00004121 [16:29:49]save last doc name /storage/0083/doc_00004121 to /storage/kkm_last_doc_name [16:29:49]save OK [16:29:49]Clear old archive folders... [16:29:49]ProcessDocumentItem done err = 0, tmpTLVsize=648 [16:29:49]tlvbuf is 0077E740 [16:29:49]SAM_PROTO_ClearQueue [16:29:49]wFMCommunicate request_size=4 [16:29:49]MH_SAM_APDU [16:29:49]CAPDU: 80 09 00 00 [16:29:49]Write to MH i2c: E2 08 00 2C 21 80 09 00 00 00 00 00 00 BF [16:29:49]Write i2c OK [16:29:49]MH_I2C_Read... [16:29:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:29:49]Read from MH i2c: E2 [16:29:49]MH_I2C_Read... [16:29:49]Read from MH i2c: E2 03 00 [16:29:49]MH_I2C_Read... [16:29:49]Read from MH i2c: E2 03 00 2C 21 00 90 00 C1 [16:29:49]RAPDU: 90 00 [16:29:49]wFMCommunicate OK [16:29:49]SAM_PROTO_ClearQueue done [16:29:49]KKMCreateOFDPacket [16:29:49]OFDProtocolAddRootSTLVToBuf [16:29:49]FM_MakeSignedData [16:29:49]FM_MakeSignedData [16:29:49]SAM_PROTO_SignData [16:29:49]wFMCommunicate request_size=4 [16:29:49]MH_SAM_APDU [16:29:49]CAPDU: 80 0D 01 02 [16:29:49]Write to MH i2c: E2 08 00 2D 21 80 0D 01 02 00 00 00 00 C7 [16:29:49]Write i2c OK [16:29:49]MH_I2C_Read... [16:29:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:29:50]Read from MH i2c: E2 [16:29:50]MH_I2C_Read... [16:29:50]Read from MH i2c: E2 03 00 [16:29:50]MH_I2C_Read... [16:29:50]Read from MH i2c: E2 03 00 2D 21 00 90 00 C2 [16:29:50]RAPDU: 90 00 [16:29:50]wFMCommunicate OK [16:29:50]wFMCommunicate request_size=255 [16:29:50]MH_SAM_APDU [16:29:50]CAPDU: 80 0D 02 02 FA 03 00 88 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB 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 [16:29:50]Write to MH i2c: E2 02 01 2E 21 80 0D 02 02 FA 00 03 00 88 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB 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 00 8C [16:29:50]Write i2c OK [16:29:50]MH_I2C_Read... [16:29:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:29:50]Read from MH i2c: E2 [16:29:50]MH_I2C_Read... [16:29:50]Read from MH i2c: E2 03 00 [16:29:50]MH_I2C_Read... [16:29:50]Read from MH i2c: E2 03 00 2E 21 00 90 00 C3 [16:29:50]RAPDU: 90 00 [16:29:50]wFMCommunicate OK [16:29:50]wFMCommunicate request_size=255 [16:29:50]MH_SAM_APDU [16:29:50]CAPDU: 80 0D 02 02 FA 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 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 [16:29:50]Write to MH i2c: E2 02 01 2F 21 80 0D 02 02 FA 00 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 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 00 00 75 [16:29:50]Write i2c OK [16:29:50]MH_I2C_Read... [16:29:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:29:50]Read from MH i2c: E2 [16:29:50]MH_I2C_Read... [16:29:50]Read from MH i2c: E2 03 00 [16:29:50]MH_I2C_Read... [16:29:50]Read from MH i2c: E2 03 00 2F 21 00 90 00 C4 [16:29:50]RAPDU: 90 00 [16:29:50]wFMCommunicate OK [16:29:50]wFMCommunicate request_size=157 [16:29:50]MH_SAM_APDU [16:29:50]CAPDU: 80 0D 02 02 98 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 06 41 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 19 10 00 00 35 04 06 00 61 3E C0 2C 9A 4F [16:29:50]Write to MH i2c: E2 A0 00 30 21 80 0D 02 02 98 00 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 06 41 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 19 10 00 00 35 04 06 00 61 3E C0 2C 9A 4F 00 00 84 [16:29:50]Write i2c OK [16:29:50]MH_I2C_Read... [16:29:50]Read from MH i2c: E2 [16:29:50]MH_I2C_Read... [16:29:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:29:50]Read from MH i2c: E2 03 00 [16:29:50]MH_I2C_Read... [16:29:50]Read from MH i2c: E2 03 00 30 21 00 90 00 C5 [16:29:50]RAPDU: 90 00 [16:29:50]wFMCommunicate OK [16:29:50]wFMCommunicate request_size=4 [16:29:50]MH_SAM_APDU [16:29:50]CAPDU: 80 0D 03 02 [16:29:50]Write to MH i2c: E2 08 00 31 21 80 0D 03 02 00 00 00 00 CD [16:29:50]Write i2c OK [16:29:50]MH_I2C_Read... [16:29:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:29:50]Read from MH i2c: E2 [16:29:50]MH_I2C_Read... [16:29:50]Read from MH i2c: E2 0B 00 [16:29:50]MH_I2C_Read... [16:29:50]Read from MH i2c: E2 0B 00 31 21 00 40 F3 12 B2 01 70 3F 26 90 00 9B [16:29:50]RAPDU: 40 F3 12 B2 01 70 3F 26 90 00 [16:29:50]wFMCommunicate OK [16:29:50]SAM_PROTO_SignData done [16:29:50]FM_MakeSignedData done [16:29:50]CreateOFDProtocolMessage [16:29:50]wFMCommunicate request_size=4 [16:29:50]MH_SAM_APDU [16:29:50]CAPDU: 80 11 00 00 [16:29:50]Write to MH i2c: E2 08 00 32 21 80 11 00 00 00 00 00 00 CD [16:29:50]Write i2c OK [16:29:50]MH_I2C_Read... [16:29:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:29:50]Read from MH i2c: E2 [16:29:50]MH_I2C_Read... [16:29:50]Read from MH i2c: E2 17 00 [16:29:50]MH_I2C_Read... [16:29:50]Read from MH i2c: E2 17 00 32 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 20 [16:29:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:29:50]wFMCommunicate OK [16:29:50]CreateOFDProtocolMessage done [16:29:50]OFDSenderStorePacket 4121 [16:29:50]StoreOFDPacket docnum=4121 [16:29:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9C 02 00 00 44 F3 94 02 9F FA 5A 03 01 00 03 00 88 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB 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 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 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 06 41 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 19 10 00 00 35 04 06 00 61 3E C0 2C 9A 4F 40 F3 12 B2 01 70 3F 26 [16:29:50]CheckFolder [16:29:50]dirname=/storage/ofd_packets [16:29:50]CheckFolder done [16:29:50]ProducePacketName [16:29:50]name=ofd_packets/00004121 [16:29:50]NVStorageSaveData ofd_packets/00004121 [16:29:50]File name is /storage/ofd_packets/00004121 [16:29:50]Write 698 bytes [16:29:50]NVStorageSaveData done [16:29:50]OFDSenderStorePacket done [16:29:50]KKMCreateOFDPacket done [16:29:50]NVStorageSaveData kkm_last_timestamp [16:29:50]File name is /storage/kkm_last_timestamp [16:29:50]Write 4 bytes [16:29:50]NVStorageSaveData done [16:29:50]ExternCall_PrintAddStr [16:29:50]wPrintStart [16:29:50]Write to MH i2c: 01 00 00 33 21 54 [16:29:50]Write i2c OK [16:29:50]MH_I2C_Read... [16:29:50]Read from MH i2c: 01 [16:29:50]MH_I2C_Read... [16:29:50]Read from MH i2c: 01 07 00 [16:29:50]MH_I2C_Read... [16:29:50]Read from MH i2c: 01 07 00 33 21 00 00 00 00 00 FF 0F 69 [16:29:50]RasterBufferAndPrint [16:29:50]line Счет N : (3)4375 [16:29:50]line ИНН: 02508201610067 [16:29:50]line Контрольно-Кассовый Чек [16:29:50]line ПРОДАЖА [16:29:50]line Товар: 6931280300549 [16:29:50]line Зажигалка Cricket ПН пьезо [16:29:50]line 1.000 * 67.00 [16:29:50]line = 67.00 [16:29:50]line НДС 12% НСП 1% [16:29:50]line > о реализуемом товаре [16:29:50]line Товар: 5449000273680 [16:29:51]line Сок Piko Pulpy красный виноград ПЭТ 0,5л [16:29:51]line 1.000 * 100.00 [16:29:51]line = 100.00 [16:29:51]line НДС 12% НСП 1% [16:29:51]line > о реализуемом товаре [16:29:51]line Товар: 4700000160792 [16:29:51]line Снек Курут классический (круглый) [16:29:51]line 2.000 * 60.00 [16:29:51]line = 120.00 [16:29:51]line НДС 12% НСП 1% [16:29:51]line > о реализуемом товаре [16:29:51]line Товар: 46231529 [16:29:51]line Mentos ПФ Арбуз 6*100*2 [16:29:51]line 2.000 * 10.00 [16:29:51]line = 20.00 [16:29:51]line НДС 12% НСП 1% [16:29:51]line > о реализуемом товаре [16:29:51]line ИТОГО: 307.00 [16:29:51]line НСП 1% : 2.71 [16:29:51]line НДС 12% : 32.59 [16:29:51]line Наличными: 307.00 [16:29:51]line Безнал.: 0.00 [16:29:51]line Место: АЗС № 116 "Партнер Нефть" [16:29:51]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [16:29:51]line СНО: Общий режим [16:29:51]line Чек 38 04.06.2024 16:29 [16:29:51]line Смена: 83 ФФД: 1.0 [16:29:51]line ЗНМ: 0300000233 [16:29:51]line РНМ: 0000000000145775 [16:29:51]line Версия ККМ: v1.0 [16:29:51]line ФМ: 0000000000959360 [16:29:51]line ФД: 4121 [16:29:51]line ФПД: 106922140015183 [16:29:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T162958&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4121&fm=106922140015183&tin=02508201610067®Number=0000000000145775&sum=30700 [16:29:51]line 0 [16:29:51]OFD Sender: Processing packet 4121 [packets to send 2, broken 1] [16:29:51]ProducePacketName [16:29:51]name=ofd_packets/00004121 [16:29:51]OFD Sender: To server: pG, [16:29:51]CommunicateWithHost lk.salyk.kg:30040 [16:29:51]ConnectInit lk.salyk.kg [16:29:51]written 0, free lines is 4095 [16:29:51]Connected sock=10 [16:29:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9C 02 00 00 44 F3 94 02 9F FA 5A 03 01 00 03 00 88 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 38 30 06 04 3E 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB 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 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 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 06 41 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 19 10 00 00 35 04 06 00 61 3E C0 2C 9A 4F 40 F3 12 B2 01 70 3F 26 [16:29:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 03 93 47 00 14 F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 19 10 00 00 F4 03 04 00 07 ED 5E 66 B6 04 01 00 00 E4 04 49 ED 68 98 2D 64 [16:29:51]CommunicateWithHost err = 0 [16:29:51]CheckOFDResponse [16:29:51]1017 (14) - 77093643461234 [16:29:51]1041 (16) - 0000000000959360 [16:29:51]1040 (4) - 4121 [16:29:51]1012 (4) - 04.06.2024 10:31 [16:29:51]1206 (1) - 0 [16:29:51]OFD Sender: Remove packet 4121 [16:29:51]ProducePacketName [16:29:51]name=ofd_packets/00004121 [16:29:51]NVStorageDeleteData [16:29:51]Write to MH i2c: 01 00 00 6F 21 90 [16:29:51]Write i2c OK [16:29:51]MH_I2C_Read... [16:29:51]Read from MH i2c: 01 [16:29:51]MH_I2C_Read... [16:29:51]Read from MH i2c: 01 07 00 [16:29:51]MH_I2C_Read... [16:29:51]Read from MH i2c: 01 07 00 6F 21 00 00 00 00 00 74 0B 16 [16:29:51]RasterBufferAndPrint [16:29:51]line [16:29:51]line [16:29:51]line [16:29:51]line [16:29:51]line [16:29:51]written 0, free lines is 2939 [16:29:51]MH_Cut [16:29:51]Write to MH i2c: D1 01 00 76 21 01 69 [16:29:51]Write i2c OK [16:29:51]MH_I2C_Read... [16:29:51]Read from MH i2c: D1 [16:29:51]MH_I2C_Read... [16:29:51]Read from MH i2c: D1 01 00 [16:29:51]MH_I2C_Read... [16:29:51]Read from MH i2c: D1 01 00 76 21 00 68 [16:29:51]Write to MH i2c: 01 00 00 77 21 98 [16:29:51]Write i2c OK [16:29:51]MH_I2C_Read... [16:29:52]OFD Sender: No OFD packet to send [16:29:53]*** Cut start [16:29:53]*** Partial cut [16:29:53]*** CUTSNS_PIN = 1 [16:29:53]*** CUTSNS_PIN = 0 [16:29:53]*** Brake cut motor [16:29:53]Read from MH i2c: 01 [16:29:53]MH_I2C_Read... [16:29:53]*** Stop cut motor [16:29:53]*** Cut end [16:29:53]Read from MH i2c: 01 07 00 [16:29:53]MH_I2C_Read... [16:29:53]Read from MH i2c: 01 07 00 77 21 00 00 00 00 00 FF 0F AD [16:29:53]process_action close_receipt done [16:29:53]requested_data is exist [16:29:53]produce_requested_data [16:29:53]requested_item fm.sn is exist - process it [16:29:53]wFMCommunicate request_size=4 [16:29:53]MH_SAM_APDU [16:29:53]CAPDU: 80 11 00 00 [16:29:53]Write to MH i2c: E2 08 00 78 21 80 11 00 00 00 00 00 00 13 [16:29:53]Write i2c OK [16:29:53]MH_I2C_Read... [16:29:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:29:53]Read from MH i2c: E2 [16:29:53]MH_I2C_Read... [16:29:53]Read from MH i2c: E2 17 00 [16:29:53]MH_I2C_Read... [16:29:53]Read from MH i2c: E2 17 00 78 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 66 [16:29:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:29:53]wFMCommunicate OK [16:29:53]requested_item fd.num is exist - process it [16:29:53]SAM_PROTO_GetFieldsCounters [16:29:53]wFMCommunicate request_size=4 [16:29:53]MH_SAM_APDU [16:29:53]CAPDU: 80 13 00 00 [16:29:53]Write to MH i2c: E2 08 00 79 21 80 13 00 00 00 00 00 00 16 [16:29:53]Write i2c OK [16:29:53]MH_I2C_Read... [16:29:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:29:53]Read from MH i2c: E2 [16:29:53]MH_I2C_Read... [16:29:53]Read from MH i2c: E2 62 00 [16:29:53]MH_I2C_Read... [16:29:53]Read from MH i2c: E2 62 00 79 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 19 10 00 00 0E 04 04 00 53 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 29 [16:29:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 19 10 00 00 0E 04 04 00 53 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 [16:29:53]wFMCommunicate OK [16:29:53]SAM_PROTO_GetFieldsCounters done [16:29:53]requested_item shift.num is exist - process it [16:29:53]requested_item shift.opened is exist - process it [16:29:53]req_shift_opened [16:29:53]FM_GetShiftState [16:29:53]SAM_PROTO_GetShiftState [16:29:53]wFMCommunicate request_size=4 [16:29:53]MH_SAM_APDU [16:29:53]CAPDU: 80 13 01 00 [16:29:53]Write to MH i2c: E2 08 00 7A 21 80 13 01 00 00 00 00 00 18 [16:29:53]Write i2c OK [16:29:53]MH_I2C_Read... [16:29:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:29:53]Read from MH i2c: E2 [16:29:53]MH_I2C_Read... [16:29:53]Read from MH i2c: E2 0E 00 [16:29:53]MH_I2C_Read... [16:29:53]Read from MH i2c: E2 0E 00 7A 21 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 B1 [16:29:53]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [16:29:53]wFMCommunicate OK [16:29:53]SAM_PROTO_GetShiftState done [16:29:53]FM_GetShiftState done [16:29:53]req_shift_opened done [16:29:53]requested_item shift.open_date is exist - process it [16:29:53]req_shift_open_date [16:29:53]req_shift_open_date done [16:29:53]produce_requested_data done [16:29:53]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4121,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [16:29:53]process_action_free close_receipt [16:29:53]json_value_free [16:29:53]json_value_free done [16:29:53]process_json_proto returns [16:29:53]Send response to host [16:29:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4121,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [16:29:53]free response buf [16:29:53]execute_script done [16:29:53]execute_script returns [16:29:53]free content buf [16:29:53]Sock 9.Close socket [16:29:53]Sock 9.Thread stoped [16:29:57]OFD Sender: No OFD packet to send [16:30:02]OFD Sender: No OFD packet to send [16:30:07]OFD Sender: No OFD packet to send [16:30:12]OFD Sender: No OFD packet to send [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:33]accept exits with 8 [16:34:33]New connection [16:34:33]New thread 3067227492 created [16:34:33]Thread 3067370852 joined [16:34:33]Waiting for new connection... [16:34:33] Sock 8.Parse request [16:34:33]Sock 8.Check first char [16:34:33]Sock 8.First char is OK [16:34:33]request: POST /json_proto HTTP/1.0 [16:34:33]Method: POST [16:34:33]URL: /json_proto [16:34:33]Method is POST - this is cgi request [16:34:33]url: /json_proto [16:34:33]query_string will be loaded in cgi processing [16:34:33]execute_cgi json_proto POST (null) [16:34:33]execute_cgi path=json_proto method=POST [16:34:33]POST find Content-Length [16:34:33]Host: 172.17.56.68:8080 [16:34:33]Content-Length: 215 [16:34:33]Content-Type: application/json [16:34:33] [16:34:33]POST finish read [16:34:33]Found Content-Length = 215 [16:34:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:34:33]execute_script... [16:34:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:34:33]POST & json_proto [16:34:33]process_json_proto [16:34:33]json parsed OK: [16:34:33]protocol is kg_v1.0 [16:34:33]action value=get_value [16:34:33]process_action get_value [16:34:33]cmd_get_value [16:34:33]process_action get_value done [16:34:33]requested_data is exist [16:34:33]produce_requested_data [16:34:33]requested_item kkm.sn is exist - process it [16:34:33]requested_item kkm.ver is exist - process it [16:34:33]requested_item fm.sn is exist - process it [16:34:33]wFMCommunicate request_size=4 [16:34:33]MH_SAM_APDU [16:34:33]CAPDU: 80 11 00 00 [16:34:33]Write to MH i2c: E2 08 00 7B 21 80 11 00 00 00 00 00 00 16 [16:34:33]Write i2c OK [16:34:33]MH_I2C_Read... [16:34:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:34:33]Read from MH i2c: E2 [16:34:33]MH_I2C_Read... [16:34:33]Read from MH i2c: E2 17 00 [16:34:33]MH_I2C_Read... [16:34:33]Read from MH i2c: E2 17 00 7B 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 69 [16:34:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:34:33]wFMCommunicate OK [16:34:33]requested_item fd.num is exist - process it [16:34:33]SAM_PROTO_GetFieldsCounters [16:34:33]wFMCommunicate request_size=4 [16:34:33]MH_SAM_APDU [16:34:33]CAPDU: 80 13 00 00 [16:34:33]Write to MH i2c: E2 08 00 7C 21 80 13 00 00 00 00 00 00 19 [16:34:33]Write i2c OK [16:34:33]MH_I2C_Read... [16:34:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:34:33]Read from MH i2c: E2 [16:34:33]MH_I2C_Read... [16:34:33]Read from MH i2c: E2 62 00 [16:34:33]MH_I2C_Read... [16:34:33]Read from MH i2c: E2 62 00 7C 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 19 10 00 00 0E 04 04 00 53 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 2C [16:34:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 19 10 00 00 0E 04 04 00 53 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 [16:34:33]wFMCommunicate OK [16:34:33]SAM_PROTO_GetFieldsCounters done [16:34:33]requested_item shift.num is exist - process it [16:34:33]requested_item shift.opened is exist - process it [16:34:33]req_shift_opened [16:34:33]FM_GetShiftState [16:34:33]SAM_PROTO_GetShiftState [16:34:33]wFMCommunicate request_size=4 [16:34:33]MH_SAM_APDU [16:34:33]CAPDU: 80 13 01 00 [16:34:33]Write to MH i2c: E2 08 00 7D 21 80 13 01 00 00 00 00 00 1B [16:34:33]Write i2c OK [16:34:33]MH_I2C_Read... [16:34:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:34:33]Read from MH i2c: E2 [16:34:33]MH_I2C_Read... [16:34:33]Read from MH i2c: E2 0E 00 [16:34:33]MH_I2C_Read... [16:34:33]Read from MH i2c: E2 0E 00 7D 21 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 B4 [16:34:33]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [16:34:33]wFMCommunicate OK [16:34:33]SAM_PROTO_GetShiftState done [16:34:33]FM_GetShiftState done [16:34:33]req_shift_opened done [16:34:33]requested_item shift.open_date is exist - process it [16:34:33]req_shift_open_date [16:34:33]req_shift_open_date done [16:34:33]produce_requested_data done [16:34:33]produce_requested_data return {"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4121,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [16:34:33]process_action_free get_value [16:34:33]json_value_free [16:34:33]json_value_free done [16:34:33]process_json_proto returns [16:34:33]Send response to host [16:34:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4121,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [16:34:33]free response buf [16:34:33]execute_script done [16:34:33]execute_script returns [16:34:33]free content buf [16:34:33]Sock 8.Close socket [16:34:33]Sock 8.Thread stoped [16:34:37]accept exits with 9 [16:34:37]New connection [16:34:37]New thread 3067370852 created [16:34:37]Thread 3067227492 joined [16:34:37]Waiting for new connection... [16:34:37] Sock 9.Parse request [16:34:37]Sock 9.Check first char [16:34:37]Sock 9.First char is OK [16:34:37]request: POST /json_proto HTTP/1.0 [16:34:37]Method: POST [16:34:37]URL: /json_proto [16:34:37]Method is POST - this is cgi request [16:34:37]url: /json_proto [16:34:37]query_string will be loaded in cgi processing [16:34:37]execute_cgi json_proto POST (null) [16:34:37]execute_cgi path=json_proto method=POST [16:34:37]POST find Content-Length [16:34:37]Host: 172.17.56.68:8080 [16:34:37]Content-Length: 331 [16:34:37]Content-Type: application/json [16:34:37] [16:34:37]POST finish read [16:34:37]Found Content-Length = 331 [16:34:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [16:34:37]execute_script... [16:34:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [16:34:37]POST & json_proto [16:34:37]process_json_proto [16:34:37]json parsed OK: [16:34:37]protocol is kg_v1.0 [16:34:37]action value=get_value [16:34:37]process_action get_value [16:34:37]cmd_get_value [16:34:37]process_action get_value done [16:34:37]requested_data is exist [16:34:37]produce_requested_data [16:34:37]requested_item fm.sale.total is exist - process it [16:34:37]SAM_PROTO_GetFMData [16:34:37]wFMCommunicate request_size=4 [16:34:37]MH_SAM_APDU [16:34:37]CAPDU: 80 13 03 00 [16:34:37]Write to MH i2c: E2 08 00 7E 21 80 13 03 00 00 00 00 00 1E [16:34:37]Write i2c OK [16:34:37]MH_I2C_Read... [16:34:37]OFD Sender: No OFD packet to send [16:34:37]Read from MH i2c: E2 [16:34:37]MH_I2C_Read... [16:34:37]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [16:34:37]Read from MH i2c: E2 FD 00 [16:34:37]MH_I2C_Read... [16:34:37]Read from MH i2c: E2 FD 00 7E 21 00 BB 04 85 04 B7 04 6E 04 04 00 73 0F 00 00 69 04 9E 00 6F 04 04 00 6A 0F 00 00 B1 04 04 00 EF 0F 7F 05 70 04 04 00 C4 F6 95 04 72 04 03 00 2B 19 E9 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 3F 6B 95 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 BD 71 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 80 [16:34:37]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 73 0F 00 00 69 04 9E 00 6F 04 04 00 6A 0F 00 00 B1 04 04 00 EF 0F 7F 05 70 04 04 00 C4 F6 95 04 72 04 03 00 2B 19 E9 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 3F 6B 95 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 BD 71 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [16:34:37]wFMCommunicate OK [16:34:37]wFMCommunicate request_size=4 [16:34:37]MH_SAM_APDU [16:34:37]CAPDU: 80 17 00 00 [16:34:37]Write to MH i2c: E2 08 00 7F 21 80 17 00 00 00 00 00 00 20 [16:34:37]Write i2c OK [16:34:37]MH_I2C_Read... [16:34:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:34:37]Read from MH i2c: E2 [16:34:37]MH_I2C_Read... [16:34:37]Read from MH i2c: E2 FD 00 [16:34:37]MH_I2C_Read... [16:34:37]Read from MH i2c: E2 FD 00 7F 21 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E8 [16:34:37]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:34:37]wFMCommunicate OK [16:34:37]wFMCommunicate request_size=4 [16:34:37]MH_SAM_APDU [16:34:37]CAPDU: 80 17 00 00 [16:34:37]Write to MH i2c: E2 08 00 80 21 80 17 00 00 00 00 00 00 21 [16:34:37]Write i2c OK [16:34:37]MH_I2C_Read... [16:34:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:34:37]Read from MH i2c: E2 [16:34:37]MH_I2C_Read... [16:34:37]Read from MH i2c: E2 FD 00 [16:34:37]MH_I2C_Read... [16:34:37]Read from MH i2c: E2 FD 00 80 21 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4D [16:34:37]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:34:38]wFMCommunicate OK [16:34:38]wFMCommunicate request_size=4 [16:34:38]MH_SAM_APDU [16:34:38]CAPDU: 80 17 00 00 [16:34:38]Write to MH i2c: E2 08 00 81 21 80 17 00 00 00 00 00 00 22 [16:34:38]Write i2c OK [16:34:38]MH_I2C_Read... [16:34:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:34:38]Read from MH i2c: E2 [16:34:38]MH_I2C_Read... [16:34:38]Read from MH i2c: E2 FD 00 [16:34:38]MH_I2C_Read... [16:34:38]Read from MH i2c: E2 FD 00 81 21 00 00 00 EF 03 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 90 00 97 [16:34:38]RAPDU: 00 00 EF 03 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 90 00 [16:34:38]wFMCommunicate OK [16:34:38]wFMCommunicate request_size=4 [16:34:38]MH_SAM_APDU [16:34:38]CAPDU: 80 17 00 00 [16:34:38]Write to MH i2c: E2 08 00 82 21 80 17 00 00 00 00 00 00 23 [16:34:38]Write i2c OK [16:34:38]MH_I2C_Read... [16:34:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [16:34:38]Read from MH i2c: E2 [16:34:38]MH_I2C_Read... [16:34:38]Read from MH i2c: E2 D8 00 [16:34:38]MH_I2C_Read... [16:34:38]Read from MH i2c: E2 D8 00 82 21 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0A [16:34:38]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:34:38]wFMCommunicate OK [16:34:38]SAM_PROTO_GetFMData done [16:34:38]requested_item fm.sale_refund.total is exist - process it [16:34:38]requested_item fm.buy.total is exist - process it [16:34:38]requested_item shift.sale.total is exist - process it [16:34:38]SAM_PROTO_GetShiftData [16:34:38]wFMCommunicate request_size=4 [16:34:38]MH_SAM_APDU [16:34:38]CAPDU: 80 13 02 00 [16:34:38]Write to MH i2c: E2 08 00 83 21 80 13 02 00 00 00 00 00 22 [16:34:38]Write i2c OK [16:34:38]MH_I2C_Read... [16:34:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:34:38]Read from MH i2c: E2 [16:34:38]MH_I2C_Read... [16:34:38]Read from MH i2c: E2 FD 00 [16:34:38]MH_I2C_Read... [16:34:38]Read from MH i2c: E2 FD 00 83 21 00 AE 04 AA 04 AA 04 6E 04 04 00 26 00 00 00 69 04 9B 00 6F 04 04 00 26 00 00 00 B1 04 03 00 64 8C 0A 70 04 03 00 C8 53 07 72 04 03 00 9C 38 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C2 1E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E5 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 FF [16:34:38]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 26 00 00 00 69 04 9B 00 6F 04 04 00 26 00 00 00 B1 04 03 00 64 8C 0A 70 04 03 00 C8 53 07 72 04 03 00 9C 38 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C2 1E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E5 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [16:34:38]wFMCommunicate OK [16:34:38]wFMCommunicate request_size=4 [16:34:38]MH_SAM_APDU [16:34:38]CAPDU: 80 17 00 00 [16:34:38]Write to MH i2c: E2 08 00 84 21 80 17 00 00 00 00 00 00 25 [16:34:38]Write i2c OK [16:34:38]MH_I2C_Read... [16:34:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:34:39]Read from MH i2c: E2 [16:34:39]MH_I2C_Read... [16:34:39]Read from MH i2c: E2 FD 00 [16:34:39]MH_I2C_Read... [16:34:39]Read from MH i2c: E2 FD 00 84 21 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 47 [16:34: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 [16:34:39]wFMCommunicate OK [16:34:39]wFMCommunicate request_size=4 [16:34:39]MH_SAM_APDU [16:34:39]CAPDU: 80 17 00 00 [16:34:39]Write to MH i2c: E2 08 00 85 21 80 17 00 00 00 00 00 00 26 [16:34:39]Write i2c OK [16:34:39]MH_I2C_Read... [16:34:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:34:39]Read from MH i2c: E2 [16:34:39]MH_I2C_Read... [16:34:39]Read from MH i2c: E2 FD 00 [16:34:39]MH_I2C_Read... [16:34:39]Read from MH i2c: E2 FD 00 85 21 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DD [16:34:39]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 [16:34:39]wFMCommunicate OK [16:34:39]wFMCommunicate request_size=4 [16:34:39]MH_SAM_APDU [16:34:39]CAPDU: 80 17 00 00 [16:34:39]Write to MH i2c: E2 08 00 86 21 80 17 00 00 00 00 00 00 27 [16:34:39]Write i2c OK [16:34:39]MH_I2C_Read... [16:34:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:34:39]Read from MH i2c: E2 [16:34:39]MH_I2C_Read... [16:34:39]Read from MH i2c: E2 FD 00 [16:34:39]MH_I2C_Read... [16:34:39]Read from MH i2c: E2 FD 00 86 21 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 99 [16:34:39]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [16:34:39]wFMCommunicate OK [16:34:39]wFMCommunicate request_size=4 [16:34:39]MH_SAM_APDU [16:34:39]CAPDU: 80 17 00 00 [16:34:39]Write to MH i2c: E2 08 00 87 21 80 17 00 00 00 00 00 00 28 [16:34:39]Write i2c OK [16:34:39]MH_I2C_Read... [16:34:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [16:34:40]Read from MH i2c: E2 [16:34:40]MH_I2C_Read... [16:34:40]Read from MH i2c: E2 CB 00 [16:34:40]MH_I2C_Read... [16:34:40]Read from MH i2c: E2 CB 00 87 21 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 11 [16:34: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 [16:34:40]wFMCommunicate OK [16:34:40]SAM_PROTO_GetShiftData done [16:34:40]requested_item shift.sale.total_cash is exist - process it [16:34:40]requested_item shift.sale_refund.total is exist - process it [16:34:40]requested_item shift.sale_refund.total_cash is exist - process it [16:34:40]requested_item shift.buy.total is exist - process it [16:34:40]requested_item shift.buy.total_cash is exist - process it [16:34:40]produce_requested_data done [16:34:40]produce_requested_data return {"fm.sale.total":922132.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":6913.00,"shift.sale.total_cash":4802.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} [16:34:40]process_action_free get_value [16:34:40]json_value_free [16:34:40]json_value_free done [16:34:40]process_json_proto returns [16:34:40]Send response to host [16:34:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":922132.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":6913.00,"shift.sale.total_cash":4802.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}}} [16:34:40]free response buf [16:34:40]execute_script done [16:34:40]execute_script returns [16:34:40]free content buf [16:34:40]Sock 9.Close socket [16:34:40]Sock 9.Thread stoped [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:32]OFD Sender: No OFD packet to send [16:40:37]OFD Sender: No OFD packet to send [16:40:42]OFD Sender: No OFD packet to send [16:40:47]OFD Sender: No OFD packet to send [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:47]OFD Sender: No OFD packet to send [16:41:52]OFD Sender: No OFD packet to send [16:41:57]OFD Sender: No OFD packet to send [16:42:02]OFD Sender: No OFD packet to send [16:42:07]OFD Sender: No OFD packet to send [16:42:12]OFD Sender: No OFD packet to send [16:42:17]OFD Sender: No OFD packet to send [16:42:22]OFD Sender: No OFD packet to send [16:42:27]OFD Sender: No OFD packet to send [16:42:32]OFD Sender: No OFD packet to send [16:42:37]OFD Sender: No OFD packet to send [16:42:42]OFD Sender: No OFD packet to send [16:42:47]OFD Sender: No OFD packet to send [16:42:52]OFD Sender: No OFD packet to send [16:42:57]OFD Sender: No OFD packet to send [16:43:02]OFD Sender: No OFD packet to send [16:43:07]OFD Sender: No OFD packet to send [16:43:12]OFD Sender: No OFD packet to send [16:43:17]OFD Sender: No OFD packet to send [16:43:22]OFD Sender: No OFD packet to send [16:43:27]OFD Sender: No OFD packet to send [16:43:32]OFD Sender: No OFD packet to send [16:43:37]OFD Sender: No OFD packet to send [16:43:42]OFD Sender: No OFD packet to send [16:43:47]OFD Sender: No OFD packet to send [16:43:52]OFD Sender: No OFD packet to send [16:43:57]OFD Sender: No OFD packet to send [16:44:02]OFD Sender: No OFD packet to send [16:44:07]OFD Sender: No OFD packet to send [16:44:12]OFD Sender: No OFD packet to send [16:44:17]OFD Sender: No OFD packet to send [16:44:22]OFD Sender: No OFD packet to send [16:44:27]OFD Sender: No OFD packet to send [16:44:32]OFD Sender: No OFD packet to send [16:44:37]OFD Sender: No OFD packet to send [16:44:42]OFD Sender: No OFD packet to send [16:44:47]OFD Sender: No OFD packet to send [16:44:52]OFD Sender: No OFD packet to send [16:44:57]OFD Sender: No OFD packet to send [16:45:02]OFD Sender: No OFD packet to send [16:45:07]OFD Sender: No OFD packet to send [16:45:12]OFD Sender: No OFD packet to send [16:45:17]OFD Sender: No OFD packet to send [16:45:22]OFD Sender: No OFD packet to send [16:45:27]OFD Sender: No OFD packet to send [16:45:32]OFD Sender: No OFD packet to send [16:45:37]OFD Sender: No OFD packet to send [16:45:42]OFD Sender: No OFD packet to send [16:45:47]OFD Sender: No OFD packet to send [16:45:52]OFD Sender: No OFD packet to send [16:45:57]OFD Sender: No OFD packet to send [16:46:02]OFD Sender: No OFD packet to send [16:46:07]OFD Sender: No OFD packet to send [16:46:12]OFD Sender: No OFD packet to send [16:46:17]OFD Sender: No OFD packet to send [16:46:22]OFD Sender: No OFD packet to send [16:46:27]OFD Sender: No OFD packet to send [16:46:32]OFD Sender: No OFD packet to send [16:46:37]OFD Sender: No OFD packet to send [16:46:42]OFD Sender: No OFD packet to send [16:46:47]OFD Sender: No OFD packet to send [16:46:52]OFD Sender: No OFD packet to send [16:46:57]OFD Sender: No OFD packet to send [16:47:02]OFD Sender: No OFD packet to send [16:47:07]OFD Sender: No OFD packet to send [16:47:12]OFD Sender: No OFD packet to send [16:47:17]OFD Sender: No OFD packet to send [16:47:22]OFD Sender: No OFD packet to send [16:47:27]OFD Sender: No OFD packet to send [16:47:32]OFD Sender: No OFD packet to send [16:47:37]OFD Sender: No OFD packet to send [16:47:42]OFD Sender: No OFD packet to send [16:47:47]OFD Sender: No OFD packet to send [16:47:52]OFD Sender: No OFD packet to send [16:47:57]OFD Sender: No OFD packet to send [16:48:02]OFD Sender: No OFD packet to send [16:48:07]OFD Sender: No OFD packet to send [16:48:12]OFD Sender: No OFD packet to send [16:48:17]OFD Sender: No OFD packet to send [16:48:22]OFD Sender: No OFD packet to send [16:48:27]OFD Sender: No OFD packet to send [16:48:32]OFD Sender: No OFD packet to send [16:48:37]OFD Sender: No OFD packet to send [16:48:42]OFD Sender: No OFD packet to send [16:48:47]OFD Sender: No OFD packet to send [16:48:52]OFD Sender: No OFD packet to send [16:48:57]OFD Sender: No OFD packet to send [16:49:02]OFD Sender: No OFD packet to send [16:49:07]OFD Sender: No OFD packet to send [16:49:12]OFD Sender: No OFD packet to send [16:49:17]OFD Sender: No OFD packet to send [16:49:22]OFD Sender: No OFD packet to send [16:49:27]OFD Sender: No OFD packet to send [16:49:32]OFD Sender: No OFD packet to send [16:49:37]OFD Sender: No OFD packet to send [16:49:42]OFD Sender: No OFD packet to send [16:49:47]OFD Sender: No OFD packet to send [16:49:52]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:03]OFD Sender: No OFD packet to send [16:58:08]OFD Sender: No OFD packet to send [16:58:13]OFD Sender: No OFD packet to send [16:58:18]OFD Sender: No OFD packet to send [16:58:23]OFD Sender: No OFD packet to send [16:58:28]OFD Sender: No OFD packet to send [16:58:33]OFD Sender: No OFD packet to send [16:58:38]OFD Sender: No OFD packet to send [16:58:43]OFD Sender: No OFD packet to send [16:58:48]OFD Sender: No OFD packet to send [16:58:53]OFD Sender: No OFD packet to send [16:58:58]OFD Sender: No OFD packet to send [16:59:03]OFD Sender: No OFD packet to send [16:59:08]OFD Sender: No OFD packet to send [16:59:13]OFD Sender: No OFD packet to send [16:59:18]OFD Sender: No OFD packet to send [16:59:23]OFD Sender: No OFD packet to send [16:59:28]OFD Sender: No OFD packet to send [16:59:33]OFD Sender: No OFD packet to send [16:59:38]OFD Sender: No OFD packet to send [16:59:43]OFD Sender: No OFD packet to send [16:59:48]OFD Sender: No OFD packet to send [16:59:53]OFD Sender: No OFD packet to send [16:59:58]OFD Sender: No OFD packet to send [17:00:03]OFD Sender: No OFD packet to send [17:00:08]OFD Sender: No OFD packet to send [17:00:13]OFD Sender: No OFD packet to send [17:00:18]OFD Sender: No OFD packet to send [17:00:23]OFD Sender: No OFD packet to send [17:00:28]OFD Sender: No OFD packet to send [17:00:33]OFD Sender: No OFD packet to send [17:00:38]OFD Sender: No OFD packet to send [17:00:43]OFD Sender: No OFD packet to send [17:00:48]OFD Sender: No OFD packet to send [17:00:53]OFD Sender: No OFD packet to send [17:00:58]OFD Sender: No OFD packet to send [17:01:03]OFD Sender: No OFD packet to send [17:01:08]OFD Sender: No OFD packet to send [17:01:13]OFD Sender: No OFD packet to send [17:01:18]OFD Sender: No OFD packet to send [17:01:23]OFD Sender: No OFD packet to send [17:01:28]OFD Sender: No OFD packet to send [17:01:33]OFD Sender: No OFD packet to send [17:01:38]OFD Sender: No OFD packet to send [17:01:43]OFD Sender: No OFD packet to send [17:01:48]OFD Sender: No OFD packet to send [17:01:53]OFD Sender: No OFD packet to send [17:01:58]OFD Sender: No OFD packet to send [17:02:03]OFD Sender: No OFD packet to send [17:02:08]OFD Sender: No OFD packet to send [17:02:13]OFD Sender: No OFD packet to send [17:02:18]OFD Sender: No OFD packet to send [17:02:23]OFD Sender: No OFD packet to send [17:02:28]OFD Sender: No OFD packet to send [17:02:33]OFD Sender: No OFD packet to send [17:02:38]OFD Sender: No OFD packet to send [17:02:43]OFD Sender: No OFD packet to send [17:02:48]OFD Sender: No OFD packet to send [17:02:53]OFD Sender: No OFD packet to send [17:02:58]OFD Sender: No OFD packet to send [17:03:03]OFD Sender: No OFD packet to send [17:03:08]OFD Sender: No OFD packet to send [17:03:13]OFD Sender: No OFD packet to send [17:03:18]OFD Sender: No OFD packet to send [17:03:23]OFD Sender: No OFD packet to send [17:03:28]OFD Sender: No OFD packet to send [17:03:33]OFD Sender: No OFD packet to send [17:03:38]OFD Sender: No OFD packet to send [17:03:43]OFD Sender: No OFD packet to send [17:03:48]OFD Sender: No OFD packet to send [17:03:53]OFD Sender: No OFD packet to send [17:03:58]OFD Sender: No OFD packet to send [17:04:03]OFD Sender: No OFD packet to send [17:04:08]OFD Sender: No OFD packet to send [17:04:13]OFD Sender: No OFD packet to send [17:04:18]OFD Sender: No OFD packet to send [17:04:23]OFD Sender: No OFD packet to send [17:04:28]OFD Sender: No OFD packet to send [17:04:33]OFD Sender: No OFD packet to send [17:04:38]OFD Sender: No OFD packet to send [17:04:43]OFD Sender: No OFD packet to send [17:04:48]OFD Sender: No OFD packet to send [17:04:53]OFD Sender: No OFD packet to send [17:04:58]OFD Sender: No OFD packet to send [17:05:03]OFD Sender: No OFD packet to send [17:05:08]OFD Sender: No OFD packet to send [17:05:13]OFD Sender: No OFD packet to send [17:05:18]OFD Sender: No OFD packet to send [17:05:23]OFD Sender: No OFD packet to send [17:05:28]OFD Sender: No OFD packet to send [17:05:33]OFD Sender: No OFD packet to send [17:05:38]OFD Sender: No OFD packet to send [17:05:43]OFD Sender: No OFD packet to send [17:05:48]OFD Sender: No OFD packet to send [17:05:53]OFD Sender: No OFD packet to send [17:05:58]OFD Sender: No OFD packet to send [17:06:03]OFD Sender: No OFD packet to send [17:06:08]OFD Sender: No OFD packet to send [17:06:13]OFD Sender: No OFD packet to send [17:06:18]OFD Sender: No OFD packet to send [17:06:23]OFD Sender: No OFD packet to send [17:06:28]OFD Sender: No OFD packet to send [17:06:33]OFD Sender: No OFD packet to send [17:06:38]OFD Sender: No OFD packet to send [17:06:43]OFD Sender: No OFD packet to send [17:06:48]OFD Sender: No OFD packet to send [17:06:53]OFD Sender: No OFD packet to send [17:06:58]OFD Sender: No OFD packet to send [17:07:03]OFD Sender: No OFD packet to send [17:07:08]OFD Sender: No OFD packet to send [17:07:13]OFD Sender: No OFD packet to send [17:07:18]OFD Sender: No OFD packet to send [17:07:23]OFD Sender: No OFD packet to send [17:07:28]OFD Sender: No OFD packet to send [17:07:33]OFD Sender: No OFD packet to send [17:07:38]OFD Sender: No OFD packet to send [17:07:43]OFD Sender: No OFD packet to send [17:07:48]OFD Sender: No OFD packet to send [17:07:53]OFD Sender: No OFD packet to send [17:07:58]OFD Sender: No OFD packet to send [17:08:03]OFD Sender: No OFD packet to send [17:08:08]OFD Sender: No OFD packet to send [17:08:13]OFD Sender: No OFD packet to send [17:08:18]OFD Sender: No OFD packet to send [17:08:23]OFD Sender: No OFD packet to send [17:08:28]OFD Sender: No OFD packet to send [17:08:33]OFD Sender: No OFD packet to send [17:08:38]OFD Sender: No OFD packet to send [17:08:43]OFD Sender: No OFD packet to send [17:08:48]OFD Sender: No OFD packet to send [17:08:53]OFD Sender: No OFD packet to send [17:08:58]OFD Sender: No OFD packet to send [17:09:03]OFD Sender: No OFD packet to send [17:09:08]OFD Sender: No OFD packet to send [17:09:13]OFD Sender: No OFD packet to send [17:09:18]OFD Sender: No OFD packet to send [17:09:23]OFD Sender: No OFD packet to send [17:09:28]OFD Sender: No OFD packet to send [17:09:33]OFD Sender: No OFD packet to send [17:09:38]OFD Sender: No OFD packet to send [17:09:43]OFD Sender: No OFD packet to send [17:09:48]OFD Sender: No OFD packet to send [17:09:53]OFD Sender: No OFD packet to send [17:09:58]OFD Sender: No OFD packet to send [17:10:03]OFD Sender: No OFD packet to send [17:10:08]OFD Sender: No OFD packet to send [17:10:13]OFD Sender: No OFD packet to send [17:10:18]OFD Sender: No OFD packet to send [17:10:23]OFD Sender: No OFD packet to send [17:10:28]OFD Sender: No OFD packet to send [17:10:33]OFD Sender: No OFD packet to send [17:10:38]OFD Sender: No OFD packet to send [17:10:43]OFD Sender: No OFD packet to send [17:10:48]OFD Sender: No OFD packet to send [17:10:53]OFD Sender: No OFD packet to send [17:10:58]OFD Sender: No OFD packet to send [17:11:03]OFD Sender: No OFD packet to send [17:11:08]OFD Sender: No OFD packet to send [17:11:09]accept exits with 8 [17:11:09]New connection [17:11:09]New thread 3067227492 created [17:11:09]Thread 3067370852 joined [17:11:09]Waiting for new connection... [17:11:09] Sock 8.Parse request [17:11:09]Sock 8.Check first char [17:11:09]Sock 8.First char is OK [17:11:09]request: POST /json_proto HTTP/1.0 [17:11:09]Method: POST [17:11:09]URL: /json_proto [17:11:09]Method is POST - this is cgi request [17:11:09]url: /json_proto [17:11:09]query_string will be loaded in cgi processing [17:11:09]execute_cgi json_proto POST (null) [17:11:09]execute_cgi path=json_proto method=POST [17:11:09]POST find Content-Length [17:11:09]Host: 172.17.56.68:8080 [17:11:09]Content-Length: 720 [17:11:09]Content-Type: application/json [17:11:09] [17:11:09]POST finish read [17:11:09]Found Content-Length = 720 [17:11:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4376", "tax_sys" : 0, "items" : [ { "code": "4870002329470", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041F\u0438\u0430\u043B\u0430 Ice Tea \u043C\u0430\u043D\u0433\u043E,\u0430\u043D\u0430\u043D,\u043B\u0435\u043C 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:11:09]execute_script... [17:11: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)4376", "tax_sys" : 0, "items" : [ { "code": "4870002329470", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041F\u0438\u0430\u043B\u0430 Ice Tea \u043C\u0430\u043D\u0433\u043E,\u0430\u043D\u0430\u043D,\u043B\u0435\u043C 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:11:09]POST & json_proto [17:11:09]process_json_proto [17:11:09]json parsed OK: [17:11:09]protocol is kg_v1.0 [17:11:09]action value=close_receipt [17:11:09]process_action close_receipt [17:11:09]cmd_close_receipt [17:11:09]MH_GetDate [17:11:09]Write to MH i2c: F0 00 00 88 21 98 [17:11:09]Write i2c OK [17:11:09]MH_I2C_Read... [17:11:09]Read from MH i2c: F0 [17:11:09]MH_I2C_Read... [17:11:09]Read from MH i2c: F0 09 00 [17:11:09]MH_I2C_Read... [17:11:09]Read from MH i2c: F0 09 00 88 21 00 B7 4A 5F 66 42 69 5C 66 D4 [17:11:09]GetLastDocTimeStamp 1717518598 [17:11:09]current date 1717521079 [17:11:09]FM_GetShiftState [17:11:09]SAM_PROTO_GetShiftState [17:11:09]wFMCommunicate request_size=4 [17:11:09]MH_SAM_APDU [17:11:09]CAPDU: 80 13 01 00 [17:11:09]Write to MH i2c: E2 08 00 89 21 80 13 01 00 00 00 00 00 27 [17:11:09]Write i2c OK [17:11:09]MH_I2C_Read... [17:11:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:11:09]Read from MH i2c: E2 [17:11:09]MH_I2C_Read... [17:11:09]Read from MH i2c: E2 0E 00 [17:11:09]MH_I2C_Read... [17:11:09]Read from MH i2c: E2 0E 00 89 21 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 C0 [17:11:09]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:11:09]wFMCommunicate OK [17:11:09]SAM_PROTO_GetShiftState done [17:11:09]FM_GetShiftState done [17:11:09]opened in 1717459822 [17:11:09]opened+sec_in_day 1717546222 [17:11:09]quantity*price = 10000 [17:11:09]sum+1 = 10001 [17:11:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 39 04.06.2024 17:11 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4122 ФПД: 123713189356932 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T171119&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4122&fm=123713189356932&tin=02508201610067®Number=0000000000145775&sum=10000 0 [17:11:10]StoreToDocumentArchive [17:11:10]shift 83 fd 4122 [17:11:10]save to /storage/0083/doc_00004122 [17:11:10]save last doc name /storage/0083/doc_00004122 to /storage/kkm_last_doc_name [17:11:10]save OK [17:11:10]Clear old archive folders... [17:11:10]ProcessDocumentItem done err = 0, tmpTLVsize=306 [17:11:10]tlvbuf is 007C4CA0 [17:11:10]SAM_PROTO_ClearQueue [17:11:10]wFMCommunicate request_size=4 [17:11:10]MH_SAM_APDU [17:11:10]CAPDU: 80 09 00 00 [17:11:10]Write to MH i2c: E2 08 00 96 21 80 09 00 00 00 00 00 00 29 [17:11:10]Write i2c OK [17:11:10]MH_I2C_Read... [17:11:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:11:10]Read from MH i2c: E2 [17:11:10]MH_I2C_Read... [17:11:10]Read from MH i2c: E2 03 00 [17:11:10]MH_I2C_Read... [17:11:10]Read from MH i2c: E2 03 00 96 21 00 90 00 2B [17:11:10]RAPDU: 90 00 [17:11:10]wFMCommunicate OK [17:11:10]SAM_PROTO_ClearQueue done [17:11:10]KKMCreateOFDPacket [17:11:10]OFDProtocolAddRootSTLVToBuf [17:11:10]FM_MakeSignedData [17:11:10]FM_MakeSignedData [17:11:10]SAM_PROTO_SignData [17:11:10]wFMCommunicate request_size=4 [17:11:10]MH_SAM_APDU [17:11:10]CAPDU: 80 0D 01 02 [17:11:10]Write to MH i2c: E2 08 00 97 21 80 0D 01 02 00 00 00 00 31 [17:11:10]Write i2c OK [17:11:10]MH_I2C_Read... [17:11:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:11:10]Read from MH i2c: E2 [17:11:10]MH_I2C_Read... [17:11:10]Read from MH i2c: E2 03 00 [17:11:10]MH_I2C_Read... [17:11:10]Read from MH i2c: E2 03 00 97 21 00 90 00 2C [17:11:10]RAPDU: 90 00 [17:11:10]wFMCommunicate OK [17:11:10]wFMCommunicate request_size=255 [17:11:10]MH_SAM_APDU [17:11:10]CAPDU: 80 0D 02 02 FA 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 37 30 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D0 B0 D0 BD D0 B0 D0 BD 2C D0 BB D0 B5 D0 BC 20 31 D0 BB 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 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 B7 4A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 [17:11:10]Write to MH i2c: E2 02 01 98 21 80 0D 02 02 FA 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 37 30 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D0 B0 D0 BD D0 B0 D0 BD 2C D0 BB D0 B5 D0 BC 20 31 D0 BB 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 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 B7 4A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 00 F3 [17:11:10]Write i2c OK [17:11:10]MH_I2C_Read... [17:11:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:11:11]Read from MH i2c: E2 [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: E2 03 00 [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: E2 03 00 98 21 00 90 00 2D [17:11:11]RAPDU: 90 00 [17:11:11]wFMCommunicate OK [17:11:11]wFMCommunicate request_size=65 [17:11:11]MH_SAM_APDU [17:11:11]CAPDU: 80 0D 02 02 3C 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1A 10 00 00 35 04 06 00 70 84 38 B4 A5 84 [17:11:11]Write to MH i2c: E2 44 00 99 21 80 0D 02 02 3C 00 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1A 10 00 00 35 04 06 00 70 84 38 B4 A5 84 00 00 BA [17:11:11]Write i2c OK [17:11:11]MH_I2C_Read... [17:11:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:11:11]Read from MH i2c: E2 [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: E2 03 00 [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: E2 03 00 99 21 00 90 00 2E [17:11:11]RAPDU: 90 00 [17:11:11]wFMCommunicate OK [17:11:11]wFMCommunicate request_size=4 [17:11:11]MH_SAM_APDU [17:11:11]CAPDU: 80 0D 03 02 [17:11:11]Write to MH i2c: E2 08 00 9A 21 80 0D 03 02 00 00 00 00 36 [17:11:11]Write i2c OK [17:11:11]MH_I2C_Read... [17:11:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:11:11]Read from MH i2c: E2 [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: E2 0B 00 [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: E2 0B 00 9A 21 00 39 0F 10 0E 9D 69 1C 98 90 00 57 [17:11:11]RAPDU: 39 0F 10 0E 9D 69 1C 98 90 00 [17:11:11]wFMCommunicate OK [17:11:11]SAM_PROTO_SignData done [17:11:11]FM_MakeSignedData done [17:11:11]CreateOFDProtocolMessage [17:11:11]wFMCommunicate request_size=4 [17:11:11]MH_SAM_APDU [17:11:11]CAPDU: 80 11 00 00 [17:11:11]Write to MH i2c: E2 08 00 9B 21 80 11 00 00 00 00 00 00 36 [17:11:11]Write i2c OK [17:11:11]MH_I2C_Read... [17:11:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:11:11]Read from MH i2c: E2 [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: E2 17 00 [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: E2 17 00 9B 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 89 [17:11:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:11:11]wFMCommunicate OK [17:11:11]CreateOFDProtocolMessage done [17:11:11]OFDSenderStorePacket 4122 [17:11:11]StoreOFDPacket docnum=4122 [17:11:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 46 01 00 00 83 C9 3E 01 7C 85 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 37 30 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D0 B0 D0 BD D0 B0 D0 BD 2C D0 BB D0 B5 D0 BC 20 31 D0 BB 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 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 B7 4A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1A 10 00 00 35 04 06 00 70 84 38 B4 A5 84 39 0F 10 0E 9D 69 1C 98 [17:11:11]CheckFolder [17:11:11]dirname=/storage/ofd_packets [17:11:11]CheckFolder done [17:11:11]ProducePacketName [17:11:11]name=ofd_packets/00004122 [17:11:11]NVStorageSaveData ofd_packets/00004122 [17:11:11]File name is /storage/ofd_packets/00004122 [17:11:11]Write 356 bytes [17:11:11]NVStorageSaveData done [17:11:11]OFDSenderStorePacket done [17:11:11]KKMCreateOFDPacket done [17:11:11]NVStorageSaveData kkm_last_timestamp [17:11:11]File name is /storage/kkm_last_timestamp [17:11:11]Write 4 bytes [17:11:11]NVStorageSaveData done [17:11:11]ExternCall_PrintAddStr [17:11:11]wPrintStart [17:11:11]Write to MH i2c: 01 00 00 9C 21 BD [17:11:11]Write i2c OK [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: 01 [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: 01 07 00 [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: 01 07 00 9C 21 00 00 00 00 00 FF 0F D2 [17:11:11]RasterBufferAndPrint [17:11:11]line Счет N : (3)4376 [17:11:11]line ИНН: 02508201610067 [17:11:11]line Контрольно-Кассовый Чек [17:11:11]line ПРОДАЖА [17:11:11]line Товар: 4870002329470 [17:11:11]line Напиток Пиала Ice Tea манго,анан,лем 1л [17:11:11]line 1.000 * 100.00 [17:11:11]line = 100.00 [17:11:11]line НДС 12% НСП 1% [17:11:11]line > о реализуемом товаре [17:11:11]line ИТОГО: 100.00 [17:11:11]line НСП 1% : 0.88 [17:11:11]line НДС 12% : 10.62 [17:11:11]line Наличными: 100.00 [17:11:11]line Безнал.: 0.00 [17:11:11]line Место: АЗС № 116 "Партнер Нефть" [17:11:11]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [17:11:11]line СНО: Общий режим [17:11:11]line Чек 39 04.06.2024 17:11 [17:11:11]line Смена: 83 ФФД: 1.0 [17:11:11]line ЗНМ: 0300000233 [17:11:11]line РНМ: 0000000000145775 [17:11:11]line Версия ККМ: v1.0 [17:11:11]line ФМ: 0000000000959360 [17:11:11]line ФД: 4122 [17:11:11]line ФПД: 123713189356932 [17:11:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T171119&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4122&fm=123713189356932&tin=02508201610067®Number=0000000000145775&sum=10000 [17:11:11]line 0 [17:11:11]written 0, free lines is 4095 [17:11:11]OFD Sender: Processing packet 4122 [packets to send 2, broken 1] [17:11:11]ProducePacketName [17:11:11]name=ofd_packets/00004122 [17:11:11]OFD Sender: To server: pG, [17:11:11]CommunicateWithHost lk.salyk.kg:30040 [17:11:11]ConnectInit lk.salyk.kg [17:11:11]Connected sock=10 [17:11:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 46 01 00 00 83 C9 3E 01 7C 85 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 37 30 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D0 B0 D0 BD D0 B0 D0 BD 2C D0 BB D0 B5 D0 BC 20 31 D0 BB 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 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 B7 4A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1A 10 00 00 35 04 06 00 70 84 38 B4 A5 84 39 0F 10 0E 9D 69 1C 98 [17:11:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 92 F1 47 00 B3 C8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1A 10 00 00 F4 03 04 00 B7 F6 5E 66 B6 04 01 00 00 96 EC 3A 4C ED FA 61 A0 [17:11:11]CommunicateWithHost err = 0 [17:11:11]CheckOFDResponse [17:11:11]1017 (14) - 77093643461234 [17:11:11]1041 (16) - 0000000000959360 [17:11:11]1040 (4) - 4122 [17:11:11]1012 (4) - 04.06.2024 11:12 [17:11:11]1206 (1) - 0 [17:11:11]OFD Sender: Remove packet 4122 [17:11:11]ProducePacketName [17:11:11]name=ofd_packets/00004122 [17:11:11]NVStorageDeleteData [17:11:11]Write to MH i2c: 01 00 00 C5 21 E6 [17:11:11]Write i2c OK [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: 01 [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: 01 07 00 [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: 01 07 00 C5 21 00 00 00 00 00 C1 0C BA [17:11:11]RasterBufferAndPrint [17:11:11]line [17:11:11]line [17:11:11]line [17:11:11]line [17:11:11]line [17:11:11]written 0, free lines is 3271 [17:11:11]MH_Cut [17:11:11]Write to MH i2c: D1 01 00 CC 21 01 BF [17:11:11]Write i2c OK [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: D1 [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: D1 01 00 [17:11:11]MH_I2C_Read... [17:11:11]Read from MH i2c: D1 01 00 CC 21 00 BE [17:11:11]Write to MH i2c: 01 00 00 CD 21 EE [17:11:11]Write i2c OK [17:11:11]MH_I2C_Read... [17:11:12]OFD Sender: No OFD packet to send [17:11:12]*** Cut start [17:11:12]*** Partial cut [17:11:12]*** CUTSNS_PIN = 1 [17:11:12]*** CUTSNS_PIN = 0 [17:11:12]*** Brake cut motor [17:11:13]Read from MH i2c: 01 [17:11:13]MH_I2C_Read... [17:11:13]*** Stop cut motor [17:11:13]*** Cut end [17:11:13]Read from MH i2c: 01 07 00 [17:11:13]MH_I2C_Read... [17:11:13]Read from MH i2c: 01 07 00 CD 21 00 00 00 00 00 FF 0F 03 [17:11:13]process_action close_receipt done [17:11:13]requested_data is exist [17:11:13]produce_requested_data [17:11:13]requested_item fm.sn is exist - process it [17:11:13]wFMCommunicate request_size=4 [17:11:13]MH_SAM_APDU [17:11:13]CAPDU: 80 11 00 00 [17:11:13]Write to MH i2c: E2 08 00 CE 21 80 11 00 00 00 00 00 00 69 [17:11:13]Write i2c OK [17:11:13]MH_I2C_Read... [17:11:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:11:13]Read from MH i2c: E2 [17:11:13]MH_I2C_Read... [17:11:13]Read from MH i2c: E2 17 00 [17:11:13]MH_I2C_Read... [17:11:13]Read from MH i2c: E2 17 00 CE 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 BC [17:11:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:11:13]wFMCommunicate OK [17:11:13]requested_item fd.num is exist - process it [17:11:13]SAM_PROTO_GetFieldsCounters [17:11:13]wFMCommunicate request_size=4 [17:11:13]MH_SAM_APDU [17:11:13]CAPDU: 80 13 00 00 [17:11:13]Write to MH i2c: E2 08 00 CF 21 80 13 00 00 00 00 00 00 6C [17:11:13]Write i2c OK [17:11:13]MH_I2C_Read... [17:11:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:11:13]Read from MH i2c: E2 [17:11:13]MH_I2C_Read... [17:11:13]Read from MH i2c: E2 62 00 [17:11:13]MH_I2C_Read... [17:11:13]Read from MH i2c: E2 62 00 CF 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 1A 10 00 00 0E 04 04 00 53 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 83 [17:11:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 1A 10 00 00 0E 04 04 00 53 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 [17:11:13]wFMCommunicate OK [17:11:13]SAM_PROTO_GetFieldsCounters done [17:11:13]requested_item shift.num is exist - process it [17:11:13]requested_item shift.opened is exist - process it [17:11:13]req_shift_opened [17:11:13]FM_GetShiftState [17:11:13]SAM_PROTO_GetShiftState [17:11:13]wFMCommunicate request_size=4 [17:11:13]MH_SAM_APDU [17:11:13]CAPDU: 80 13 01 00 [17:11:13]Write to MH i2c: E2 08 00 D0 21 80 13 01 00 00 00 00 00 6E [17:11:13]Write i2c OK [17:11:13]MH_I2C_Read... [17:11:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:11:13]Read from MH i2c: E2 [17:11:13]MH_I2C_Read... [17:11:13]Read from MH i2c: E2 0E 00 [17:11:13]MH_I2C_Read... [17:11:13]Read from MH i2c: E2 0E 00 D0 21 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 07 [17:11:13]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:11:13]wFMCommunicate OK [17:11:13]SAM_PROTO_GetShiftState done [17:11:13]FM_GetShiftState done [17:11:13]req_shift_opened done [17:11:13]requested_item shift.open_date is exist - process it [17:11:13]req_shift_open_date [17:11:13]req_shift_open_date done [17:11:13]produce_requested_data done [17:11:13]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4122,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [17:11:13]process_action_free close_receipt [17:11:13]json_value_free [17:11:13]json_value_free done [17:11:13]process_json_proto returns [17:11:13]Send response to host [17:11:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4122,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [17:11:13]free response buf [17:11:13]execute_script done [17:11:13]execute_script returns [17:11:13]free content buf [17:11:13]Sock 8.Close socket [17:11:13]Sock 8.Thread stoped [17:11:17]OFD Sender: No OFD packet to send [17:11:22]OFD Sender: No OFD packet to send [17:11:27]OFD Sender: No OFD packet to send [17:11:32]OFD Sender: No OFD packet to send [17:11:37]OFD Sender: No OFD packet to send [17:11:42]OFD Sender: No OFD packet to send [17:11:47]OFD Sender: No OFD packet to send [17:11:52]OFD Sender: No OFD packet to send [17:11:57]OFD Sender: No OFD packet to send [17:12:02]OFD Sender: No OFD packet to send [17:12:07]OFD Sender: No OFD packet to send [17:12:12]OFD Sender: No OFD packet to send [17:12:17]OFD Sender: No OFD packet to send [17:12:22]OFD Sender: No OFD packet to send [17:12:27]OFD Sender: No OFD packet to send [17:12:32]OFD Sender: No OFD packet to send [17:12:37]OFD Sender: No OFD packet to send [17:12:42]OFD Sender: No OFD packet to send [17:12:47]OFD Sender: No OFD packet to send [17:12:52]OFD Sender: No OFD packet to send [17:12:57]OFD Sender: No OFD packet to send [17:13:02]OFD Sender: No OFD packet to send [17:13:07]OFD Sender: No OFD packet to send [17:13:12]OFD Sender: No OFD packet to send [17:13:17]OFD Sender: No OFD packet to send [17:13:22]OFD Sender: No OFD packet to send [17:13:27]OFD Sender: No OFD packet to send [17:13:32]OFD Sender: No OFD packet to send [17:13:37]OFD Sender: No OFD packet to send [17:13:42]OFD Sender: No OFD packet to send [17:13:47]OFD Sender: No OFD packet to send [17:13:52]OFD Sender: No OFD packet to send [17:13:57]OFD Sender: No OFD packet to send [17:14:02]OFD Sender: No OFD packet to send [17:14:07]OFD Sender: No OFD packet to send [17:14:12]OFD Sender: No OFD packet to send [17:14:17]OFD Sender: No OFD packet to send [17:14:22]OFD Sender: No OFD packet to send [17:14:27]OFD Sender: No OFD packet to send [17:14:32]OFD Sender: No OFD packet to send [17:14:37]OFD Sender: No OFD packet to send [17:14:42]OFD Sender: No OFD packet to send [17:14:47]OFD Sender: No OFD packet to send [17:14:52]OFD Sender: No OFD packet to send [17:14:57]OFD Sender: No OFD packet to send [17:15:02]OFD Sender: No OFD packet to send [17:15:07]OFD Sender: No OFD packet to send [17:15:12]OFD Sender: No OFD packet to send [17:15:17]OFD Sender: No OFD packet to send [17:15:22]OFD Sender: No OFD packet to send [17:15:27]OFD Sender: No OFD packet to send [17:15:32]OFD Sender: No OFD packet to send [17:15:37]OFD Sender: No OFD packet to send [17:15:42]OFD Sender: No OFD packet to send [17:15:47]OFD Sender: No OFD packet to send [17:15:52]OFD Sender: No OFD packet to send [17:15:57]OFD Sender: No OFD packet to send [17:16:02]OFD Sender: No OFD packet to send [17:16:07]OFD Sender: No OFD packet to send [17:16:12]OFD Sender: No OFD packet to send [17:16:17]OFD Sender: No OFD packet to send [17:16:22]OFD Sender: No OFD packet to send [17:16:27]OFD Sender: No OFD packet to send [17:16:32]OFD Sender: No OFD packet to send [17:16:37]OFD Sender: No OFD packet to send [17:16:42]OFD Sender: No OFD packet to send [17:16:47]OFD Sender: No OFD packet to send [17:16:48]accept exits with 9 [17:16:48]New connection [17:16:48]New thread 3067370852 created [17:16:48]Thread 3067227492 joined [17:16:48]Waiting for new connection... [17:16:48] Sock 9.Parse request [17:16:48]Sock 9.Check first char [17:16:48]Sock 9.First char is OK [17:16:48]request: POST /json_proto HTTP/1.0 [17:16:48]Method: POST [17:16:48]URL: /json_proto [17:16:48]Method is POST - this is cgi request [17:16:48]url: /json_proto [17:16:48]query_string will be loaded in cgi processing [17:16:48]execute_cgi json_proto POST (null) [17:16:48]execute_cgi path=json_proto method=POST [17:16:48]POST find Content-Length [17:16:48]Host: 172.17.56.68:8080 [17:16:48]Content-Length: 644 [17:16:48]Content-Type: application/json [17:16:48] [17:16:48]POST finish read [17:16:48]Found Content-Length = 644 [17:16:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4377", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\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" ] } } [17:16:48]execute_script... [17:16: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)4377", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\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" ] } } [17:16:48]POST & json_proto [17:16:48]process_json_proto [17:16:48]json parsed OK: [17:16:48]protocol is kg_v1.0 [17:16:48]action value=close_receipt [17:16:48]process_action close_receipt [17:16:48]cmd_close_receipt [17:16:48]MH_GetDate [17:16:48]Write to MH i2c: F0 00 00 D1 21 E1 [17:16:48]Write i2c OK [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: F0 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: F0 09 00 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: F0 09 00 D1 21 00 0A 4C 5F 66 42 69 5C 66 72 [17:16:48]GetLastDocTimeStamp 1717521079 [17:16:48]current date 1717521418 [17:16:48]FM_GetShiftState [17:16:48]SAM_PROTO_GetShiftState [17:16:48]wFMCommunicate request_size=4 [17:16:48]MH_SAM_APDU [17:16:48]CAPDU: 80 13 01 00 [17:16:48]Write to MH i2c: E2 08 00 D2 21 80 13 01 00 00 00 00 00 70 [17:16:48]Write i2c OK [17:16:48]MH_I2C_Read... [17:16:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:16:48]Read from MH i2c: E2 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 0E 00 [17:16:48]MH_I2C_Read... [17:16:48]Read from MH i2c: E2 0E 00 D2 21 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 09 [17:16:48]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:16:48]wFMCommunicate OK [17:16:48]SAM_PROTO_GetShiftState done [17:16:48]FM_GetShiftState done [17:16:48]opened in 1717459822 [17:16:48]opened+sec_in_day 1717546222 [17:16:48]quantity*price = 12500 [17:16:48]sum+1 = 12501 [17:16:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 40 04.06.2024 17:16 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4123 ФПД: 272008998406832 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T171658&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4123&fm=272008998406832&tin=02508201610067®Number=0000000000145775&sum=12500 0 [17:16:49]StoreToDocumentArchive [17:16:49]shift 83 fd 4123 [17:16:49]save to /storage/0083/doc_00004123 [17:16:49]save last doc name /storage/0083/doc_00004123 to /storage/kkm_last_doc_name [17:16:49]save OK [17:16:49]Clear old archive folders... [17:16:49]ProcessDocumentItem done err = 0, tmpTLVsize=282 [17:16:49]tlvbuf is B6E0E8D0 [17:16:49]SAM_PROTO_ClearQueue [17:16:49]wFMCommunicate request_size=4 [17:16:49]MH_SAM_APDU [17:16:49]CAPDU: 80 09 00 00 [17:16:49]Write to MH i2c: E2 08 00 DF 21 80 09 00 00 00 00 00 00 72 [17:16:49]Write i2c OK [17:16:49]MH_I2C_Read... [17:16:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:16:49]Read from MH i2c: E2 [17:16:49]MH_I2C_Read... [17:16:49]Read from MH i2c: E2 03 00 [17:16:49]MH_I2C_Read... [17:16:49]Read from MH i2c: E2 03 00 DF 21 00 90 00 74 [17:16:49]RAPDU: 90 00 [17:16:49]wFMCommunicate OK [17:16:49]SAM_PROTO_ClearQueue done [17:16:49]KKMCreateOFDPacket [17:16:49]OFDProtocolAddRootSTLVToBuf [17:16:49]FM_MakeSignedData [17:16:49]FM_MakeSignedData [17:16:49]SAM_PROTO_SignData [17:16:49]wFMCommunicate request_size=4 [17:16:49]MH_SAM_APDU [17:16:49]CAPDU: 80 0D 01 02 [17:16:49]Write to MH i2c: E2 08 00 E0 21 80 0D 01 02 00 00 00 00 7A [17:16:49]Write i2c OK [17:16:49]MH_I2C_Read... [17:16:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:16:49]Read from MH i2c: E2 [17:16:49]MH_I2C_Read... [17:16:49]Read from MH i2c: E2 03 00 [17:16:49]MH_I2C_Read... [17:16:49]Read from MH i2c: E2 03 00 E0 21 00 90 00 75 [17:16:49]RAPDU: 90 00 [17:16:49]wFMCommunicate OK [17:16:49]wFMCommunicate request_size=255 [17:16:49]MH_SAM_APDU [17:16:49]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 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 28 00 00 00 F4 03 04 00 0A 4C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 [17:16:49]Write to MH i2c: E2 02 01 E1 21 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 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 28 00 00 00 F4 03 04 00 0A 4C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 00 00 12 [17:16:49]Write i2c OK [17:16:49]MH_I2C_Read... [17:16:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:16:50]Read from MH i2c: E2 [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: E2 03 00 [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: E2 03 00 E1 21 00 90 00 76 [17:16:50]RAPDU: 90 00 [17:16:50]wFMCommunicate OK [17:16:50]wFMCommunicate request_size=41 [17:16:50]MH_SAM_APDU [17:16:50]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1B 10 00 00 35 04 06 00 F7 64 07 B9 CA B0 [17:16:50]Write to MH i2c: E2 2C 00 E2 21 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1B 10 00 00 35 04 06 00 F7 64 07 B9 CA B0 00 00 0C [17:16:50]Write i2c OK [17:16:50]MH_I2C_Read... [17:16:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:16:50]Read from MH i2c: E2 [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: E2 03 00 [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: E2 03 00 E2 21 00 90 00 77 [17:16:50]RAPDU: 90 00 [17:16:50]wFMCommunicate OK [17:16:50]wFMCommunicate request_size=4 [17:16:50]MH_SAM_APDU [17:16:50]CAPDU: 80 0D 03 02 [17:16:50]Write to MH i2c: E2 08 00 E3 21 80 0D 03 02 00 00 00 00 7F [17:16:50]Write i2c OK [17:16:50]MH_I2C_Read... [17:16:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:16:50]Read from MH i2c: E2 [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: E2 0B 00 [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: E2 0B 00 E3 21 00 6D A0 EF 55 6A 0D 69 6C 90 00 1D [17:16:50]RAPDU: 6D A0 EF 55 6A 0D 69 6C 90 00 [17:16:50]wFMCommunicate OK [17:16:50]SAM_PROTO_SignData done [17:16:50]FM_MakeSignedData done [17:16:50]CreateOFDProtocolMessage [17:16:50]wFMCommunicate request_size=4 [17:16:50]MH_SAM_APDU [17:16:50]CAPDU: 80 11 00 00 [17:16:50]Write to MH i2c: E2 08 00 E4 21 80 11 00 00 00 00 00 00 7F [17:16:50]Write i2c OK [17:16:50]MH_I2C_Read... [17:16:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:16:50]Read from MH i2c: E2 [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: E2 17 00 [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: E2 17 00 E4 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D2 [17:16:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:16:50]wFMCommunicate OK [17:16:50]CreateOFDProtocolMessage done [17:16:50]OFDSenderStorePacket 4123 [17:16:50]StoreOFDPacket docnum=4123 [17:16:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 B9 A1 26 01 E4 40 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 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 28 00 00 00 F4 03 04 00 0A 4C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1B 10 00 00 35 04 06 00 F7 64 07 B9 CA B0 6D A0 EF 55 6A 0D 69 6C [17:16:50]CheckFolder [17:16:50]dirname=/storage/ofd_packets [17:16:50]CheckFolder done [17:16:50]ProducePacketName [17:16:50]name=ofd_packets/00004123 [17:16:50]NVStorageSaveData ofd_packets/00004123 [17:16:50]File name is /storage/ofd_packets/00004123 [17:16:50]Write 332 bytes [17:16:50]NVStorageSaveData done [17:16:50]OFDSenderStorePacket done [17:16:50]KKMCreateOFDPacket done [17:16:50]NVStorageSaveData kkm_last_timestamp [17:16:50]File name is /storage/kkm_last_timestamp [17:16:50]Write 4 bytes [17:16:50]NVStorageSaveData done [17:16:50]ExternCall_PrintAddStr [17:16:50]wPrintStart [17:16:50]Write to MH i2c: 01 00 00 E5 21 06 [17:16:50]Write i2c OK [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: 01 [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: 01 07 00 [17:16:50]MH_I2C_Read... [17:16:50]Read from MH i2c: 01 07 00 E5 21 00 00 00 00 00 FF 0F 1B [17:16:50]RasterBufferAndPrint [17:16:50]line Счет N : (3)4377 [17:16:50]line ИНН: 02508201610067 [17:16:50]line Контрольно-Кассовый Чек [17:16:50]line ПРОДАЖА [17:16:50]line Товар: 2000036220012 [17:16:50]line Кофе Капучино XL(GABB TRADE) [17:16:50]line 1.000 * 125.00 [17:16:50]line = 125.00 [17:16:50]line НДС 12% НСП 1% [17:16:50]line > о реализуемом товаре [17:16:50]line ИТОГО: 125.00 [17:16:50]line НСП 1% : 1.11 [17:16:50]line НДС 12% : 13.27 [17:16:50]line Наличными: 125.00 [17:16:50]line Безнал.: 0.00 [17:16:50]line Место: АЗС № 116 "Партнер Нефть" [17:16:50]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [17:16:50]line СНО: Общий режим [17:16:50]line Чек 40 04.06.2024 17:16 [17:16:50]line Смена: 83 ФФД: 1.0 [17:16:50]line ЗНМ: 0300000233 [17:16:50]line РНМ: 0000000000145775 [17:16:50]line Версия ККМ: v1.0 [17:16:50]line ФМ: 0000000000959360 [17:16:50]line ФД: 4123 [17:16:50]line ФПД: 272008998406832 [17:16:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T171658&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4123&fm=272008998406832&tin=02508201610067®Number=0000000000145775&sum=12500 [17:16:50]line 0 [17:16:50]OFD Sender: Processing packet 4123 [packets to send 2, broken 1] [17:16:50]ProducePacketName [17:16:50]name=ofd_packets/00004123 [17:16:50]OFD Sender: To server: pG, [17:16:50]CommunicateWithHost lk.salyk.kg:30040 [17:16:50]ConnectInit lk.salyk.kg [17:16:50]written 0, free lines is 4095 [17:16:50]Connected sock=10 [17:16:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 B9 A1 26 01 E4 40 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 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 28 00 00 00 F4 03 04 00 0A 4C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1B 10 00 00 35 04 06 00 F7 64 07 B9 CA B0 6D A0 EF 55 6A 0D 69 6C [17:16:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 EB DD 47 00 91 93 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1B 10 00 00 F4 03 04 00 0A F8 5E 66 B6 04 01 00 00 86 4C 79 A1 82 B2 1A 3E [17:16:50]CommunicateWithHost err = 0 [17:16:50]CheckOFDResponse [17:16:50]1017 (14) - 77093643461234 [17:16:50]1041 (16) - 0000000000959360 [17:16:50]1040 (4) - 4123 [17:16:50]1012 (4) - 04.06.2024 11:18 [17:16:50]1206 (1) - 0 [17:16:50]OFD Sender: Remove packet 4123 [17:16:50]ProducePacketName [17:16:50]name=ofd_packets/00004123 [17:16:50]NVStorageDeleteData [17:16:51]Write to MH i2c: 01 00 00 0E 22 30 [17:16:51]Write i2c OK [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: 01 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: 01 07 00 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: 01 07 00 0E 22 00 00 00 00 00 B5 0C F8 [17:16:51]RasterBufferAndPrint [17:16:51]line [17:16:51]line [17:16:51]line [17:16:51]line [17:16:51]line [17:16:51]written 0, free lines is 3257 [17:16:51]MH_Cut [17:16:51]Write to MH i2c: D1 01 00 15 22 01 09 [17:16:51]Write i2c OK [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: D1 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: D1 01 00 [17:16:51]MH_I2C_Read... [17:16:51]Read from MH i2c: D1 01 00 15 22 00 08 [17:16:51]Write to MH i2c: 01 00 00 16 22 38 [17:16:51]Write i2c OK [17:16:51]MH_I2C_Read... [17:16:51]OFD Sender: No OFD packet to send [17:16:52]*** Cut start [17:16:52]*** Partial cut [17:16:52]*** CUTSNS_PIN = 1 [17:16:52]*** CUTSNS_PIN = 0 [17:16:52]*** Brake cut motor [17:16:52]Read from MH i2c: 01 [17:16:52]MH_I2C_Read... [17:16:52]*** Stop cut motor [17:16:52]*** Cut end [17:16:52]Read from MH i2c: 01 07 00 [17:16:52]MH_I2C_Read... [17:16:52]Read from MH i2c: 01 07 00 16 22 00 00 00 00 00 FF 0F 4D [17:16:52]process_action close_receipt done [17:16:52]requested_data is exist [17:16:52]produce_requested_data [17:16:52]requested_item fm.sn is exist - process it [17:16:52]wFMCommunicate request_size=4 [17:16:52]MH_SAM_APDU [17:16:52]CAPDU: 80 11 00 00 [17:16:52]Write to MH i2c: E2 08 00 17 22 80 11 00 00 00 00 00 00 B3 [17:16:52]Write i2c OK [17:16:52]MH_I2C_Read... [17:16:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:16:52]Read from MH i2c: E2 [17:16:52]MH_I2C_Read... [17:16:52]Read from MH i2c: E2 17 00 [17:16:52]MH_I2C_Read... [17:16:52]Read from MH i2c: E2 17 00 17 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 06 [17:16:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:16:52]wFMCommunicate OK [17:16:52]requested_item fd.num is exist - process it [17:16:52]SAM_PROTO_GetFieldsCounters [17:16:52]wFMCommunicate request_size=4 [17:16:52]MH_SAM_APDU [17:16:52]CAPDU: 80 13 00 00 [17:16:52]Write to MH i2c: E2 08 00 18 22 80 13 00 00 00 00 00 00 B6 [17:16:52]Write i2c OK [17:16:52]MH_I2C_Read... [17:16:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:16:52]Read from MH i2c: E2 [17:16:52]MH_I2C_Read... [17:16:52]Read from MH i2c: E2 62 00 [17:16:52]MH_I2C_Read... [17:16:52]Read from MH i2c: E2 62 00 18 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 1B 10 00 00 0E 04 04 00 53 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 D1 [17:16:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 1B 10 00 00 0E 04 04 00 53 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 [17:16:52]wFMCommunicate OK [17:16:52]SAM_PROTO_GetFieldsCounters done [17:16:52]requested_item shift.num is exist - process it [17:16:52]requested_item shift.opened is exist - process it [17:16:52]req_shift_opened [17:16:52]FM_GetShiftState [17:16:52]SAM_PROTO_GetShiftState [17:16:52]wFMCommunicate request_size=4 [17:16:52]MH_SAM_APDU [17:16:52]CAPDU: 80 13 01 00 [17:16:52]Write to MH i2c: E2 08 00 19 22 80 13 01 00 00 00 00 00 B8 [17:16:52]Write i2c OK [17:16:52]MH_I2C_Read... [17:16:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:16:52]Read from MH i2c: E2 [17:16:52]MH_I2C_Read... [17:16:52]Read from MH i2c: E2 0E 00 [17:16:52]MH_I2C_Read... [17:16:52]Read from MH i2c: E2 0E 00 19 22 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 51 [17:16:52]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:16:52]wFMCommunicate OK [17:16:52]SAM_PROTO_GetShiftState done [17:16:52]FM_GetShiftState done [17:16:52]req_shift_opened done [17:16:52]requested_item shift.open_date is exist - process it [17:16:52]req_shift_open_date [17:16:52]req_shift_open_date done [17:16:52]produce_requested_data done [17:16:52]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4123,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [17:16:52]process_action_free close_receipt [17:16:52]json_value_free [17:16:52]json_value_free done [17:16:52]process_json_proto returns [17:16:52]Send response to host [17:16:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4123,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [17:16:52]free response buf [17:16:52]execute_script done [17:16:52]execute_script returns [17:16:52]free content buf [17:16:52]Sock 9.Close socket [17:16:52]Sock 9.Thread stoped [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:10]accept exits with 8 [17:20:10]New connection [17:20:10]New thread 3067227492 created [17:20:10]Thread 3067370852 joined [17:20:10]Waiting for new connection... [17:20:10] Sock 8.Parse request [17:20:10]Sock 8.Check first char [17:20:10]Sock 8.First char is OK [17:20:10]request: POST /json_proto HTTP/1.0 [17:20:10]Method: POST [17:20:10]URL: /json_proto [17:20:10]Method is POST - this is cgi request [17:20:10]url: /json_proto [17:20:10]query_string will be loaded in cgi processing [17:20:10]execute_cgi json_proto POST (null) [17:20:10]execute_cgi path=json_proto method=POST [17:20:10]POST find Content-Length [17:20:10]Host: 172.17.56.68:8080 [17:20:10]Content-Length: 619 [17:20:10]Content-Type: application/json [17:20:10] [17:20:10]POST finish read [17:20:10]Found Content-Length = 619 [17:20:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4378", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:20:10]execute_script... [17:20:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4378", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:20:10]POST & json_proto [17:20:10]process_json_proto [17:20:10]json parsed OK: [17:20:10]protocol is kg_v1.0 [17:20:10]action value=close_receipt [17:20:10]process_action close_receipt [17:20:10]cmd_close_receipt [17:20:10]MH_GetDate [17:20:10]Write to MH i2c: F0 00 00 1A 22 2B [17:20:10]Write i2c OK [17:20:10]MH_I2C_Read... [17:20:10]Read from MH i2c: F0 [17:20:10]MH_I2C_Read... [17:20:10]Read from MH i2c: F0 09 00 [17:20:10]MH_I2C_Read... [17:20:10]Read from MH i2c: F0 09 00 1A 22 00 D4 4C 5F 66 42 69 5C 66 86 [17:20:10]GetLastDocTimeStamp 1717521418 [17:20:10]current date 1717521620 [17:20:10]FM_GetShiftState [17:20:10]SAM_PROTO_GetShiftState [17:20:10]wFMCommunicate request_size=4 [17:20:10]MH_SAM_APDU [17:20:10]CAPDU: 80 13 01 00 [17:20:10]Write to MH i2c: E2 08 00 1B 22 80 13 01 00 00 00 00 00 BA [17:20:10]Write i2c OK [17:20:10]MH_I2C_Read... [17:20:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:20:10]Read from MH i2c: E2 [17:20:10]MH_I2C_Read... [17:20:10]Read from MH i2c: E2 0E 00 [17:20:10]MH_I2C_Read... [17:20:10]Read from MH i2c: E2 0E 00 1B 22 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 53 [17:20:10]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:20:10]wFMCommunicate OK [17:20:10]SAM_PROTO_GetShiftState done [17:20:10]FM_GetShiftState done [17:20:10]opened in 1717459822 [17:20:10]opened+sec_in_day 1717546222 [17:20:10]quantity*price = 14000 [17:20:10]sum+1 = 14001 [17:20:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 41 04.06.2024 17:20 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4124 ФПД: 148723044879050 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T172020&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4124&fm=148723044879050&tin=02508201610067®Number=0000000000145775&sum=14000 0 [17:20:11]StoreToDocumentArchive [17:20:11]shift 83 fd 4124 [17:20:11]save to /storage/0083/doc_00004124 [17:20:11]save last doc name /storage/0083/doc_00004124 to /storage/kkm_last_doc_name [17:20:11]save OK [17:20:11]Clear old archive folders... [17:20:11]ProcessDocumentItem done err = 0, tmpTLVsize=273 [17:20:11]tlvbuf is 007FFC80 [17:20:11]SAM_PROTO_ClearQueue [17:20:11]wFMCommunicate request_size=4 [17:20:11]MH_SAM_APDU [17:20:11]CAPDU: 80 09 00 00 [17:20:11]Write to MH i2c: E2 08 00 28 22 80 09 00 00 00 00 00 00 BC [17:20:11]Write i2c OK [17:20:11]MH_I2C_Read... [17:20:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:20:11]Read from MH i2c: E2 [17:20:11]MH_I2C_Read... [17:20:11]Read from MH i2c: E2 03 00 [17:20:11]MH_I2C_Read... [17:20:11]Read from MH i2c: E2 03 00 28 22 00 90 00 BE [17:20:11]RAPDU: 90 00 [17:20:11]wFMCommunicate OK [17:20:11]SAM_PROTO_ClearQueue done [17:20:11]KKMCreateOFDPacket [17:20:11]OFDProtocolAddRootSTLVToBuf [17:20:11]FM_MakeSignedData [17:20:11]FM_MakeSignedData [17:20:11]SAM_PROTO_SignData [17:20:11]wFMCommunicate request_size=4 [17:20:11]MH_SAM_APDU [17:20:11]CAPDU: 80 0D 01 02 [17:20:11]Write to MH i2c: E2 08 00 29 22 80 0D 01 02 00 00 00 00 C4 [17:20:11]Write i2c OK [17:20:11]MH_I2C_Read... [17:20:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:20:11]Read from MH i2c: E2 [17:20:11]MH_I2C_Read... [17:20:11]Read from MH i2c: E2 03 00 [17:20:11]MH_I2C_Read... [17:20:11]Read from MH i2c: E2 03 00 29 22 00 90 00 BF [17:20:11]RAPDU: 90 00 [17:20:11]wFMCommunicate OK [17:20:11]wFMCommunicate request_size=255 [17:20:11]MH_SAM_APDU [17:20: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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 D4 4C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 [17:20:11]Write to MH i2c: E2 02 01 2A 22 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 D4 4C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 00 00 1E [17:20:11]OFD Sender: No OFD packet to send [17:20:11]Write i2c OK [17:20:11]MH_I2C_Read... [17:20:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:20:11]Read from MH i2c: E2 [17:20:11]MH_I2C_Read... [17:20:11]Read from MH i2c: E2 03 00 [17:20:11]MH_I2C_Read... [17:20:11]Read from MH i2c: E2 03 00 2A 22 00 90 00 C0 [17:20:11]RAPDU: 90 00 [17:20:11]wFMCommunicate OK [17:20:11]wFMCommunicate request_size=32 [17:20:11]MH_SAM_APDU [17:20:11]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 36 30 10 04 04 00 1C 10 00 00 35 04 06 00 87 43 48 42 8A CA [17:20:11]Write to MH i2c: E2 23 00 2B 22 80 0D 02 02 1B 00 30 30 30 39 35 39 33 36 30 10 04 04 00 1C 10 00 00 35 04 06 00 87 43 48 42 8A CA 00 00 F8 [17:20:11]Write i2c OK [17:20:11]MH_I2C_Read... [17:20:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:20:11]Read from MH i2c: E2 [17:20:11]MH_I2C_Read... [17:20:11]Read from MH i2c: E2 03 00 [17:20:11]MH_I2C_Read... [17:20:11]Read from MH i2c: E2 03 00 2B 22 00 90 00 C1 [17:20:11]RAPDU: 90 00 [17:20:11]wFMCommunicate OK [17:20:11]wFMCommunicate request_size=4 [17:20:11]MH_SAM_APDU [17:20:11]CAPDU: 80 0D 03 02 [17:20:11]Write to MH i2c: E2 08 00 2C 22 80 0D 03 02 00 00 00 00 C9 [17:20:11]Write i2c OK [17:20:11]MH_I2C_Read... [17:20:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:20:12]Read from MH i2c: E2 [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: E2 0B 00 [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: E2 0B 00 2C 22 00 6D 6A C7 27 DD 8F E5 5D 90 00 3D [17:20:12]RAPDU: 6D 6A C7 27 DD 8F E5 5D 90 00 [17:20:12]wFMCommunicate OK [17:20:12]SAM_PROTO_SignData done [17:20:12]FM_MakeSignedData done [17:20:12]CreateOFDProtocolMessage [17:20:12]wFMCommunicate request_size=4 [17:20:12]MH_SAM_APDU [17:20:12]CAPDU: 80 11 00 00 [17:20:12]Write to MH i2c: E2 08 00 2D 22 80 11 00 00 00 00 00 00 C9 [17:20:12]Write i2c OK [17:20:12]MH_I2C_Read... [17:20:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:20:12]Read from MH i2c: E2 [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: E2 17 00 [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: E2 17 00 2D 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 1C [17:20:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:20:12]wFMCommunicate OK [17:20:12]CreateOFDProtocolMessage done [17:20:12]OFDSenderStorePacket 4124 [17:20:12]StoreOFDPacket docnum=4124 [17:20:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 95 1F 1D 01 E8 A3 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 D4 4C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1C 10 00 00 35 04 06 00 87 43 48 42 8A CA 6D 6A C7 27 DD 8F E5 5D [17:20:12]CheckFolder [17:20:12]dirname=/storage/ofd_packets [17:20:12]CheckFolder done [17:20:12]ProducePacketName [17:20:12]name=ofd_packets/00004124 [17:20:12]NVStorageSaveData ofd_packets/00004124 [17:20:12]File name is /storage/ofd_packets/00004124 [17:20:12]Write 323 bytes [17:20:12]NVStorageSaveData done [17:20:12]OFDSenderStorePacket done [17:20:12]KKMCreateOFDPacket done [17:20:12]NVStorageSaveData kkm_last_timestamp [17:20:12]File name is /storage/kkm_last_timestamp [17:20:12]Write 4 bytes [17:20:12]NVStorageSaveData done [17:20:12]ExternCall_PrintAddStr [17:20:12]wPrintStart [17:20:12]Write to MH i2c: 01 00 00 2E 22 50 [17:20:12]Write i2c OK [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: 01 [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: 01 07 00 [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: 01 07 00 2E 22 00 00 00 00 00 FF 0F 65 [17:20:12]RasterBufferAndPrint [17:20:12]line Счет N : (3)4378 [17:20:12]line ИНН: 02508201610067 [17:20:12]line Контрольно-Кассовый Чек [17:20:12]line ПРОДАЖА [17:20:12]line Товар: 48743570 [17:20:12]line Сигареты Winston XStyle Blue [17:20:12]line 1.000 * 140.00 [17:20:12]line = 140.00 [17:20:12]line НДС 12% НСП 1% [17:20:12]line > о реализуемом товаре [17:20:12]line ИТОГО: 140.00 [17:20:12]line НСП 1% : 1.24 [17:20:12]line НДС 12% : 14.87 [17:20:12]line Наличными: 140.00 [17:20:12]line Безнал.: 0.00 [17:20:12]line Место: АЗС № 116 "Партнер Нефть" [17:20:12]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [17:20:12]line СНО: Общий режим [17:20:12]line Чек 41 04.06.2024 17:20 [17:20:12]line Смена: 83 ФФД: 1.0 [17:20:12]line ЗНМ: 0300000233 [17:20:12]line РНМ: 0000000000145775 [17:20:12]line Версия ККМ: v1.0 [17:20:12]line ФМ: 0000000000959360 [17:20:12]line ФД: 4124 [17:20:12]line ФПД: 148723044879050 [17:20:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T172020&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4124&fm=148723044879050&tin=02508201610067®Number=0000000000145775&sum=14000 [17:20:12]line 0 [17:20:12]OFD Sender: Processing packet 4124 [packets to send 2, broken 1] [17:20:12]ProducePacketName [17:20:12]name=ofd_packets/00004124 [17:20:12]OFD Sender: To server: pG, [17:20:12]CommunicateWithHost lk.salyk.kg:30040 [17:20:12]ConnectInit lk.salyk.kg [17:20:12]written 0, free lines is 4095 [17:20:12]Connected sock=10 [17:20:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 95 1F 1D 01 E8 A3 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 D4 4C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1C 10 00 00 35 04 06 00 87 43 48 42 8A CA 6D 6A C7 27 DD 8F E5 5D [17:20:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 CE 8F 47 00 E4 9D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1C 10 00 00 F4 03 04 00 D4 F8 5E 66 B6 04 01 00 00 E5 9F 24 75 20 F9 07 83 [17:20:12]CommunicateWithHost err = 0 [17:20:12]CheckOFDResponse [17:20:12]1017 (14) - 77093643461234 [17:20:12]1041 (16) - 0000000000959360 [17:20:12]1040 (4) - 4124 [17:20:12]1012 (4) - 04.06.2024 11:21 [17:20:12]1206 (1) - 0 [17:20:12]OFD Sender: Remove packet 4124 [17:20:12]ProducePacketName [17:20:12]name=ofd_packets/00004124 [17:20:12]NVStorageDeleteData [17:20:12]Write to MH i2c: 01 00 00 56 22 78 [17:20:12]Write i2c OK [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: 01 [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: 01 07 00 [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: 01 07 00 56 22 00 00 00 00 00 D4 0C 5F [17:20:12]RasterBufferAndPrint [17:20:12]line [17:20:12]line [17:20:12]line [17:20:12]line [17:20:12]line [17:20:12]written 0, free lines is 3290 [17:20:12]MH_Cut [17:20:12]Write to MH i2c: D1 01 00 5D 22 01 51 [17:20:12]Write i2c OK [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: D1 [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: D1 01 00 [17:20:12]MH_I2C_Read... [17:20:12]Read from MH i2c: D1 01 00 5D 22 00 50 [17:20:12]Write to MH i2c: 01 00 00 5E 22 80 [17:20:12]Write i2c OK [17:20:12]MH_I2C_Read... [17:20:13]OFD Sender: No OFD packet to send [17:20:13]*** Cut start [17:20:13]*** Partial cut [17:20:13]*** CUTSNS_PIN = 1 [17:20:13]*** CUTSNS_PIN = 0 [17:20:14]*** Brake cut motor [17:20:14]Read from MH i2c: 01 [17:20:14]MH_I2C_Read... [17:20:14]*** Stop cut motor [17:20:14]*** Cut end [17:20:14]Read from MH i2c: 01 07 00 [17:20:14]MH_I2C_Read... [17:20:14]Read from MH i2c: 01 07 00 5E 22 00 00 00 00 00 FF 0F 95 [17:20:14]process_action close_receipt done [17:20:14]requested_data is exist [17:20:14]produce_requested_data [17:20:14]requested_item fm.sn is exist - process it [17:20:14]wFMCommunicate request_size=4 [17:20:14]MH_SAM_APDU [17:20:14]CAPDU: 80 11 00 00 [17:20:14]Write to MH i2c: E2 08 00 5F 22 80 11 00 00 00 00 00 00 FB [17:20:14]Write i2c OK [17:20:14]MH_I2C_Read... [17:20:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:20:14]Read from MH i2c: E2 [17:20:14]MH_I2C_Read... [17:20:14]Read from MH i2c: E2 17 00 [17:20:14]MH_I2C_Read... [17:20:14]Read from MH i2c: E2 17 00 5F 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 4E [17:20:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:20:14]wFMCommunicate OK [17:20:14]requested_item fd.num is exist - process it [17:20:14]SAM_PROTO_GetFieldsCounters [17:20:14]wFMCommunicate request_size=4 [17:20:14]MH_SAM_APDU [17:20:14]CAPDU: 80 13 00 00 [17:20:14]Write to MH i2c: E2 08 00 60 22 80 13 00 00 00 00 00 00 FE [17:20:14]Write i2c OK [17:20:14]MH_I2C_Read... [17:20:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:20:14]Read from MH i2c: E2 [17:20:14]MH_I2C_Read... [17:20:14]Read from MH i2c: E2 62 00 [17:20:14]MH_I2C_Read... [17:20:14]Read from MH i2c: E2 62 00 60 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 1C 10 00 00 0E 04 04 00 53 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 1D [17:20:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 1C 10 00 00 0E 04 04 00 53 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 [17:20:14]wFMCommunicate OK [17:20:14]SAM_PROTO_GetFieldsCounters done [17:20:14]requested_item shift.num is exist - process it [17:20:14]requested_item shift.opened is exist - process it [17:20:14]req_shift_opened [17:20:14]FM_GetShiftState [17:20:14]SAM_PROTO_GetShiftState [17:20:14]wFMCommunicate request_size=4 [17:20:14]MH_SAM_APDU [17:20:14]CAPDU: 80 13 01 00 [17:20:14]Write to MH i2c: E2 08 00 61 22 80 13 01 00 00 00 00 00 00 [17:20:14]Write i2c OK [17:20:14]MH_I2C_Read... [17:20:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:20:14]Read from MH i2c: E2 [17:20:14]MH_I2C_Read... [17:20:14]Read from MH i2c: E2 0E 00 [17:20:14]MH_I2C_Read... [17:20:14]Read from MH i2c: E2 0E 00 61 22 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 99 [17:20:14]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:20:14]wFMCommunicate OK [17:20:14]SAM_PROTO_GetShiftState done [17:20:14]FM_GetShiftState done [17:20:14]req_shift_opened done [17:20:14]requested_item shift.open_date is exist - process it [17:20:14]req_shift_open_date [17:20:14]req_shift_open_date done [17:20:14]produce_requested_data done [17:20:14]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4124,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [17:20:14]process_action_free close_receipt [17:20:14]json_value_free [17:20:14]json_value_free done [17:20:14]process_json_proto returns [17:20:14]Send response to host [17:20:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4124,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [17:20:14]free response buf [17:20:14]execute_script done [17:20:14]execute_script returns [17:20:14]free content buf [17:20:14]Sock 8.Close socket [17:20:14]Sock 8.Thread stoped [17:20:18]OFD Sender: No OFD packet to send [17:20:23]OFD Sender: No OFD packet to send [17:20:28]OFD Sender: No OFD packet to send [17:20:33]OFD Sender: No OFD packet to send [17:20:38]OFD Sender: No OFD packet to send [17:20:43]OFD Sender: No OFD packet to send [17:20:48]OFD Sender: No OFD packet to send [17:20:53]OFD Sender: No OFD packet to send [17:20:58]OFD Sender: No OFD packet to send [17:21:03]OFD Sender: No OFD packet to send [17:21:08]OFD Sender: No OFD packet to send [17:21:13]OFD Sender: No OFD packet to send [17:21:18]OFD Sender: No OFD packet to send [17:21:23]OFD Sender: No OFD packet to send [17:21:28]OFD Sender: No OFD packet to send [17:21:33]OFD Sender: No OFD packet to send [17:21:38]OFD Sender: No OFD packet to send [17:21:43]OFD Sender: No OFD packet to send [17:21:48]OFD Sender: No OFD packet to send [17:21:53]OFD Sender: No OFD packet to send [17:21:58]OFD Sender: No OFD packet to send [17:22:03]OFD Sender: No OFD packet to send [17:22:08]OFD Sender: No OFD packet to send [17:22:13]OFD Sender: No OFD packet to send [17:22:18]OFD Sender: No OFD packet to send [17:22:23]OFD Sender: No OFD packet to send [17:22:28]OFD Sender: No OFD packet to send [17:22:33]OFD Sender: No OFD packet to send [17:22:38]OFD Sender: No OFD packet to send [17:22:43]OFD Sender: No OFD packet to send [17:22:48]OFD Sender: No OFD packet to send [17:22:53]OFD Sender: No OFD packet to send [17:22:58]OFD Sender: No OFD packet to send [17:23:03]OFD Sender: No OFD packet to send [17:23:08]OFD Sender: No OFD packet to send [17:23:11]accept exits with 9 [17:23:11]New connection [17:23:11]New thread 3067370852 created [17:23:11]Thread 3067227492 joined [17:23:11]Waiting for new connection... [17:23:11] Sock 9.Parse request [17:23:11]Sock 9.Check first char [17:23:11]Sock 9.First char is OK [17:23:11]request: POST /json_proto HTTP/1.0 [17:23:11]Method: POST [17:23:11]URL: /json_proto [17:23:11]Method is POST - this is cgi request [17:23:11]url: /json_proto [17:23:11]query_string will be loaded in cgi processing [17:23:11]execute_cgi json_proto POST (null) [17:23:11]execute_cgi path=json_proto method=POST [17:23:11]POST find Content-Length [17:23:11]Host: 172.17.56.68:8080 [17:23:11]Content-Length: 620 [17:23:11]Content-Type: application/json [17:23:11] [17:23:11]POST finish read [17:23:11]Found Content-Length = 620 [17:23:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4379", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:23:11]execute_script... [17:23:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4379", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:23:11]POST & json_proto [17:23:11]process_json_proto [17:23:11]json parsed OK: [17:23:11]protocol is kg_v1.0 [17:23:11]action value=close_receipt [17:23:11]process_action close_receipt [17:23:11]cmd_close_receipt [17:23:11]MH_GetDate [17:23:11]Write to MH i2c: F0 00 00 62 22 73 [17:23:11]Write i2c OK [17:23:11]MH_I2C_Read... [17:23:11]Read from MH i2c: F0 [17:23:11]MH_I2C_Read... [17:23:11]Read from MH i2c: F0 09 00 [17:23:11]MH_I2C_Read... [17:23:11]Read from MH i2c: F0 09 00 62 22 00 89 4D 5F 66 42 69 5C 66 84 [17:23:11]GetLastDocTimeStamp 1717521620 [17:23:11]current date 1717521801 [17:23:11]FM_GetShiftState [17:23:11]SAM_PROTO_GetShiftState [17:23:11]wFMCommunicate request_size=4 [17:23:11]MH_SAM_APDU [17:23:11]CAPDU: 80 13 01 00 [17:23:11]Write to MH i2c: E2 08 00 63 22 80 13 01 00 00 00 00 00 02 [17:23:11]Write i2c OK [17:23:11]MH_I2C_Read... [17:23:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:23:11]Read from MH i2c: E2 [17:23:11]MH_I2C_Read... [17:23:11]Read from MH i2c: E2 0E 00 [17:23:11]MH_I2C_Read... [17:23:11]Read from MH i2c: E2 0E 00 63 22 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 9B [17:23:11]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:23:11]wFMCommunicate OK [17:23:11]SAM_PROTO_GetShiftState done [17:23:11]FM_GetShiftState done [17:23:11]opened in 1717459822 [17:23:11]opened+sec_in_day 1717546222 [17:23:11]quantity*price = 13800 [17:23:11]sum+1 = 13801 [17:23:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 42 04.06.2024 17:23 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4125 ФПД: 172981632876090 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T172321&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4125&fm=172981632876090&tin=02508201610067®Number=0000000000145775&sum=13800 0 [17:23:12]StoreToDocumentArchive [17:23:12]shift 83 fd 4125 [17:23:12]save to /storage/0083/doc_00004125 [17:23:12]save last doc name /storage/0083/doc_00004125 to /storage/kkm_last_doc_name [17:23:12]save OK [17:23:12]Clear old archive folders... [17:23:12]ProcessDocumentItem done err = 0, tmpTLVsize=274 [17:23:12]tlvbuf is 007C53A0 [17:23:12]SAM_PROTO_ClearQueue [17:23:12]wFMCommunicate request_size=4 [17:23:12]MH_SAM_APDU [17:23:12]CAPDU: 80 09 00 00 [17:23:12]Write to MH i2c: E2 08 00 70 22 80 09 00 00 00 00 00 00 04 [17:23:12]Write i2c OK [17:23:12]MH_I2C_Read... [17:23:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:23:12]Read from MH i2c: E2 [17:23:12]MH_I2C_Read... [17:23:12]Read from MH i2c: E2 03 00 [17:23:12]MH_I2C_Read... [17:23:12]Read from MH i2c: E2 03 00 70 22 00 90 00 06 [17:23:12]RAPDU: 90 00 [17:23:12]wFMCommunicate OK [17:23:12]SAM_PROTO_ClearQueue done [17:23:12]KKMCreateOFDPacket [17:23:12]OFDProtocolAddRootSTLVToBuf [17:23:12]FM_MakeSignedData [17:23:12]FM_MakeSignedData [17:23:12]SAM_PROTO_SignData [17:23:12]wFMCommunicate request_size=4 [17:23:12]MH_SAM_APDU [17:23:12]CAPDU: 80 0D 01 02 [17:23:12]Write to MH i2c: E2 08 00 71 22 80 0D 01 02 00 00 00 00 0C [17:23:12]Write i2c OK [17:23:12]MH_I2C_Read... [17:23:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:23:12]Read from MH i2c: E2 [17:23:12]MH_I2C_Read... [17:23:12]Read from MH i2c: E2 03 00 [17:23:12]MH_I2C_Read... [17:23:12]Read from MH i2c: E2 03 00 71 22 00 90 00 07 [17:23:12]RAPDU: 90 00 [17:23:12]wFMCommunicate OK [17:23:12]wFMCommunicate request_size=255 [17:23:12]MH_SAM_APDU [17:23:12]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 89 4D 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 [17:23:12]Write to MH i2c: E2 02 01 72 22 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 89 4D 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 00 00 65 [17:23:12]Write i2c OK [17:23:12]MH_I2C_Read... [17:23:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:12]Read from MH i2c: E2 [17:23:12]MH_I2C_Read... [17:23:12]Read from MH i2c: E2 03 00 [17:23:12]MH_I2C_Read... [17:23:12]Read from MH i2c: E2 03 00 72 22 00 90 00 08 [17:23:12]RAPDU: 90 00 [17:23:12]wFMCommunicate OK [17:23:12]wFMCommunicate request_size=33 [17:23:12]MH_SAM_APDU [17:23:12]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1D 10 00 00 35 04 06 00 9D 53 6C C7 BE 3A [17:23:12]Write to MH i2c: E2 24 00 73 22 80 0D 02 02 1C 00 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1D 10 00 00 35 04 06 00 9D 53 6C C7 BE 3A 00 00 E6 [17:23:12]Write i2c OK [17:23:12]MH_I2C_Read... [17:23:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:12]Read from MH i2c: E2 [17:23:12]MH_I2C_Read... [17:23:12]Read from MH i2c: E2 03 00 [17:23:12]MH_I2C_Read... [17:23:12]Read from MH i2c: E2 03 00 73 22 00 90 00 09 [17:23:12]RAPDU: 90 00 [17:23:12]wFMCommunicate OK [17:23:12]wFMCommunicate request_size=4 [17:23:12]MH_SAM_APDU [17:23:12]CAPDU: 80 0D 03 02 [17:23:12]Write to MH i2c: E2 08 00 74 22 80 0D 03 02 00 00 00 00 11 [17:23:12]Write i2c OK [17:23:12]MH_I2C_Read... [17:23:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:23:13]Read from MH i2c: E2 [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: E2 0B 00 [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: E2 0B 00 74 22 00 80 21 D3 5C 62 26 28 F5 90 00 87 [17:23:13]RAPDU: 80 21 D3 5C 62 26 28 F5 90 00 [17:23:13]wFMCommunicate OK [17:23:13]SAM_PROTO_SignData done [17:23:13]FM_MakeSignedData done [17:23:13]CreateOFDProtocolMessage [17:23:13]wFMCommunicate request_size=4 [17:23:13]MH_SAM_APDU [17:23:13]CAPDU: 80 11 00 00 [17:23:13]Write to MH i2c: E2 08 00 75 22 80 11 00 00 00 00 00 00 11 [17:23:13]Write i2c OK [17:23:13]MH_I2C_Read... [17:23:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:23:13]Read from MH i2c: E2 [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: E2 17 00 [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: E2 17 00 75 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 64 [17:23:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:23:13]wFMCommunicate OK [17:23:13]CreateOFDProtocolMessage done [17:23:13]OFDSenderStorePacket 4125 [17:23:13]StoreOFDPacket docnum=4125 [17:23:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 BC 95 1E 01 5E 7A 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 89 4D 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1D 10 00 00 35 04 06 00 9D 53 6C C7 BE 3A 80 21 D3 5C 62 26 28 F5 [17:23:13]CheckFolder [17:23:13]dirname=/storage/ofd_packets [17:23:13]CheckFolder done [17:23:13]ProducePacketName [17:23:13]name=ofd_packets/00004125 [17:23:13]NVStorageSaveData ofd_packets/00004125 [17:23:13]File name is /storage/ofd_packets/00004125 [17:23:13]Write 324 bytes [17:23:13]NVStorageSaveData done [17:23:13]OFDSenderStorePacket done [17:23:13]KKMCreateOFDPacket done [17:23:13]NVStorageSaveData kkm_last_timestamp [17:23:13]File name is /storage/kkm_last_timestamp [17:23:13]Write 4 bytes [17:23:13]NVStorageSaveData done [17:23:13]ExternCall_PrintAddStr [17:23:13]wPrintStart [17:23:13]Write to MH i2c: 01 00 00 76 22 98 [17:23:13]Write i2c OK [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: 01 [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: 01 07 00 [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: 01 07 00 76 22 00 00 00 00 00 FF 0F AD [17:23:13]RasterBufferAndPrint [17:23:13]line Счет N : (3)4379 [17:23:13]line ИНН: 02508201610067 [17:23:13]line Контрольно-Кассовый Чек [17:23:13]line ПРОДАЖА [17:23:13]line Товар: 4640030091645 [17:23:13]line Сигареты ESSE Exchange M [17:23:13]line 1.000 * 138.00 [17:23:13]line = 138.00 [17:23:13]line НДС 12% НСП 1% [17:23:13]line > о реализуемом товаре [17:23:13]line ИТОГО: 138.00 [17:23:13]line НСП 1% : 1.22 [17:23:13]line НДС 12% : 14.65 [17:23:13]line Наличными: 138.00 [17:23:13]line Безнал.: 0.00 [17:23:13]line Место: АЗС № 116 "Партнер Нефть" [17:23:13]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [17:23:13]line СНО: Общий режим [17:23:13]line Чек 42 04.06.2024 17:23 [17:23:13]line Смена: 83 ФФД: 1.0 [17:23:13]line ЗНМ: 0300000233 [17:23:13]line РНМ: 0000000000145775 [17:23:13]line Версия ККМ: v1.0 [17:23:13]line ФМ: 0000000000959360 [17:23:13]line ФД: 4125 [17:23:13]line ФПД: 172981632876090 [17:23:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T172321&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4125&fm=172981632876090&tin=02508201610067®Number=0000000000145775&sum=13800 [17:23:13]OFD Sender: Processing packet 4125 [packets to send 2, broken 1] [17:23:13]ProducePacketName [17:23:13]name=ofd_packets/00004125 [17:23:13]OFD Sender: To server: pG, [17:23:13]CommunicateWithHost lk.salyk.kg:30040 [17:23:13]ConnectInit lk.salyk.kg [17:23:13]line 0 [17:23:13]written 0, free lines is 4095 [17:23:13]Connected sock=10 [17:23:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 BC 95 1E 01 5E 7A 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 89 4D 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1D 10 00 00 35 04 06 00 9D 53 6C C7 BE 3A 80 21 D3 5C 62 26 28 F5 [17:23:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 57 2A 47 00 33 D0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1D 10 00 00 F4 03 04 00 89 F9 5E 66 B6 04 01 00 00 6F 28 56 99 82 69 A8 CE [17:23:13]CommunicateWithHost err = 0 [17:23:13]CheckOFDResponse [17:23:13]1017 (14) - 77093643461234 [17:23:13]1041 (16) - 0000000000959360 [17:23:13]1040 (4) - 4125 [17:23:13]1012 (4) - 04.06.2024 11:24 [17:23:13]1206 (1) - 0 [17:23:13]OFD Sender: Remove packet 4125 [17:23:13]ProducePacketName [17:23:13]name=ofd_packets/00004125 [17:23:13]NVStorageDeleteData [17:23:13]Write to MH i2c: 01 00 00 9E 22 C0 [17:23:13]Write i2c OK [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: 01 [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: 01 07 00 [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: 01 07 00 9E 22 00 00 00 00 00 C9 0C 9C [17:23:13]RasterBufferAndPrint [17:23:13]line [17:23:13]line [17:23:13]line [17:23:13]line [17:23:13]line [17:23:13]written 0, free lines is 3277 [17:23:13]MH_Cut [17:23:13]Write to MH i2c: D1 01 00 A5 22 01 99 [17:23:13]Write i2c OK [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: D1 [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: D1 01 00 [17:23:13]MH_I2C_Read... [17:23:13]Read from MH i2c: D1 01 00 A5 22 00 98 [17:23:13]Write to MH i2c: 01 00 00 A6 22 C8 [17:23:13]Write i2c OK [17:23:13]MH_I2C_Read... [17:23:14]OFD Sender: No OFD packet to send [17:23:14]*** Cut start [17:23:14]*** Partial cut [17:23:14]*** CUTSNS_PIN = 1 [17:23:14]*** CUTSNS_PIN = 0 [17:23:15]*** Brake cut motor [17:23:15]Read from MH i2c: 01 [17:23:15]MH_I2C_Read... [17:23:15]*** Stop cut motor [17:23:15]*** Cut end [17:23:15]Read from MH i2c: 01 07 00 [17:23:15]MH_I2C_Read... [17:23:15]Read from MH i2c: 01 07 00 A6 22 00 00 00 00 00 FF 0F DD [17:23:15]process_action close_receipt done [17:23:15]requested_data is exist [17:23:15]produce_requested_data [17:23:15]requested_item fm.sn is exist - process it [17:23:15]wFMCommunicate request_size=4 [17:23:15]MH_SAM_APDU [17:23:15]CAPDU: 80 11 00 00 [17:23:15]Write to MH i2c: E2 08 00 A7 22 80 11 00 00 00 00 00 00 43 [17:23:15]Write i2c OK [17:23:15]MH_I2C_Read... [17:23:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:23:15]Read from MH i2c: E2 [17:23:15]MH_I2C_Read... [17:23:15]Read from MH i2c: E2 17 00 [17:23:15]MH_I2C_Read... [17:23:15]Read from MH i2c: E2 17 00 A7 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 96 [17:23:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:23:15]wFMCommunicate OK [17:23:15]requested_item fd.num is exist - process it [17:23:15]SAM_PROTO_GetFieldsCounters [17:23:15]wFMCommunicate request_size=4 [17:23:15]MH_SAM_APDU [17:23:15]CAPDU: 80 13 00 00 [17:23:15]Write to MH i2c: E2 08 00 A8 22 80 13 00 00 00 00 00 00 46 [17:23:15]Write i2c OK [17:23:15]MH_I2C_Read... [17:23:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:23:15]Read from MH i2c: E2 [17:23:15]MH_I2C_Read... [17:23:15]Read from MH i2c: E2 62 00 [17:23:15]MH_I2C_Read... [17:23:15]Read from MH i2c: E2 62 00 A8 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 1D 10 00 00 0E 04 04 00 53 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 69 [17:23:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 1D 10 00 00 0E 04 04 00 53 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 [17:23:15]wFMCommunicate OK [17:23:15]SAM_PROTO_GetFieldsCounters done [17:23:15]requested_item shift.num is exist - process it [17:23:15]requested_item shift.opened is exist - process it [17:23:15]req_shift_opened [17:23:15]FM_GetShiftState [17:23:15]SAM_PROTO_GetShiftState [17:23:15]wFMCommunicate request_size=4 [17:23:15]MH_SAM_APDU [17:23:15]CAPDU: 80 13 01 00 [17:23:15]Write to MH i2c: E2 08 00 A9 22 80 13 01 00 00 00 00 00 48 [17:23:15]Write i2c OK [17:23:15]MH_I2C_Read... [17:23:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:23:15]Read from MH i2c: E2 [17:23:15]MH_I2C_Read... [17:23:15]Read from MH i2c: E2 0E 00 [17:23:15]MH_I2C_Read... [17:23:15]Read from MH i2c: E2 0E 00 A9 22 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 E1 [17:23:15]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:23:15]wFMCommunicate OK [17:23:15]SAM_PROTO_GetShiftState done [17:23:15]FM_GetShiftState done [17:23:15]req_shift_opened done [17:23:15]requested_item shift.open_date is exist - process it [17:23:15]req_shift_open_date [17:23:15]req_shift_open_date done [17:23:15]produce_requested_data done [17:23:15]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4125,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [17:23:15]process_action_free close_receipt [17:23:15]json_value_free [17:23:15]json_value_free done [17:23:15]process_json_proto returns [17:23:15]Send response to host [17:23:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4125,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [17:23:15]free response buf [17:23:15]execute_script done [17:23:15]execute_script returns [17:23:15]free content buf [17:23:15]Sock 9.Close socket [17:23:15]Sock 9.Thread stoped [17:23:19]OFD Sender: No OFD packet to send [17:23:24]OFD Sender: No OFD packet to send [17:23:29]OFD Sender: No OFD packet to send [17:23:34]OFD Sender: No OFD packet to send [17:23:39]OFD Sender: No OFD packet to send [17:23:44]OFD Sender: No OFD packet to send [17:23:49]OFD Sender: No OFD packet to send [17:23:54]OFD Sender: No OFD packet to send [17:23:59]OFD Sender: No OFD packet to send [17:24:04]OFD Sender: No OFD packet to send [17:24:09]OFD Sender: No OFD packet to send [17:24:14]OFD Sender: No OFD packet to send [17:24:19]OFD Sender: No OFD packet to send [17:24:24]OFD Sender: No OFD packet to send [17:24:29]OFD Sender: No OFD packet to send [17:24:34]OFD Sender: No OFD packet to send [17:24:39]OFD Sender: No OFD packet to send [17:24:44]OFD Sender: No OFD packet to send [17:24:49]OFD Sender: No OFD packet to send [17:24:54]OFD Sender: No OFD packet to send [17:24:59]OFD Sender: No OFD packet to send [17:25:04]OFD Sender: No OFD packet to send [17:25:09]OFD Sender: No OFD packet to send [17:25:14]OFD Sender: No OFD packet to send [17:25:19]OFD Sender: No OFD packet to send [17:25:24]OFD Sender: No OFD packet to send [17:25:29]OFD Sender: No OFD packet to send [17:25:34]OFD Sender: No OFD packet to send [17:25:39]OFD Sender: No OFD packet to send [17:25:44]OFD Sender: No OFD packet to send [17:25:49]OFD Sender: No OFD packet to send [17:25:54]OFD Sender: No OFD packet to send [17:25:59]OFD Sender: No OFD packet to send [17:26:04]OFD Sender: No OFD packet to send [17:26:09]OFD Sender: No OFD packet to send [17:26:14]OFD Sender: No OFD packet to send [17:26:19]OFD Sender: No OFD packet to send [17:26:24]OFD Sender: No OFD packet to send [17:26:29]OFD Sender: No OFD packet to send [17:26:34]OFD Sender: No OFD packet to send [17:26:39]OFD Sender: No OFD packet to send [17:26:44]OFD Sender: No OFD packet to send [17:26:49]OFD Sender: No OFD packet to send [17:26:54]OFD Sender: No OFD packet to send [17:26:59]OFD Sender: No OFD packet to send [17:27:04]OFD Sender: No OFD packet to send [17:27:09]OFD Sender: No OFD packet to send [17:27:14]OFD Sender: No OFD packet to send [17:27:19]OFD Sender: No OFD packet to send [17:27:24]OFD Sender: No OFD packet to send [17:27:29]OFD Sender: No OFD packet to send [17:27:34]OFD Sender: No OFD packet to send [17:27:39]OFD Sender: No OFD packet to send [17:27:44]OFD Sender: No OFD packet to send [17:27:49]OFD Sender: No OFD packet to send [17:27:54]OFD Sender: No OFD packet to send [17:27:59]OFD Sender: No OFD packet to send [17:28:04]OFD Sender: No OFD packet to send [17:28:09]OFD Sender: No OFD packet to send [17:28:14]OFD Sender: No OFD packet to send [17:28:19]OFD Sender: No OFD packet to send [17:28:23]accept exits with 8 [17:28:23]New connection [17:28:23]New thread 3067227492 created [17:28:23]Thread 3067370852 joined [17:28:23]Waiting for new connection... [17:28:23] Sock 8.Parse request [17:28:23]Sock 8.Check first char [17:28:23]Sock 8.First char is OK [17:28:23]request: POST /json_proto HTTP/1.0 [17:28:23]Method: POST [17:28:23]URL: /json_proto [17:28:23]Method is POST - this is cgi request [17:28:23]url: /json_proto [17:28:23]query_string will be loaded in cgi processing [17:28:23]execute_cgi json_proto POST (null) [17:28:23]execute_cgi path=json_proto method=POST [17:28:23]POST find Content-Length [17:28:23]Host: 172.17.56.68:8080 [17:28:23]Content-Length: 619 [17:28:23]Content-Type: application/json [17:28:23] [17:28:23]POST finish read [17:28:23]Found Content-Length = 619 [17:28:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4380", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:28:23]execute_script... [17:28:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4380", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:28:23]POST & json_proto [17:28:23]process_json_proto [17:28:23]json parsed OK: [17:28:23]protocol is kg_v1.0 [17:28:23]action value=close_receipt [17:28:23]process_action close_receipt [17:28:23]cmd_close_receipt [17:28:23]MH_GetDate [17:28:23]Write to MH i2c: F0 00 00 AA 22 BB [17:28:23]Write i2c OK [17:28:23]MH_I2C_Read... [17:28:23]Read from MH i2c: F0 [17:28:23]MH_I2C_Read... [17:28:23]Read from MH i2c: F0 09 00 [17:28:23]MH_I2C_Read... [17:28:23]Read from MH i2c: F0 09 00 AA 22 00 C1 4E 5F 66 42 69 5C 66 05 [17:28:23]GetLastDocTimeStamp 1717521801 [17:28:23]current date 1717522113 [17:28:23]FM_GetShiftState [17:28:23]SAM_PROTO_GetShiftState [17:28:23]wFMCommunicate request_size=4 [17:28:23]MH_SAM_APDU [17:28:23]CAPDU: 80 13 01 00 [17:28:23]Write to MH i2c: E2 08 00 AB 22 80 13 01 00 00 00 00 00 4A [17:28:23]Write i2c OK [17:28:23]MH_I2C_Read... [17:28:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:28:23]Read from MH i2c: E2 [17:28:23]MH_I2C_Read... [17:28:23]Read from MH i2c: E2 0E 00 [17:28:23]MH_I2C_Read... [17:28:23]Read from MH i2c: E2 0E 00 AB 22 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 E3 [17:28:23]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:28:23]wFMCommunicate OK [17:28:23]SAM_PROTO_GetShiftState done [17:28:23]FM_GetShiftState done [17:28:23]opened in 1717459822 [17:28:23]opened+sec_in_day 1717546222 [17:28:23]quantity*price = 14000 [17:28:23]sum+1 = 14001 [17:28:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 43 04.06.2024 17:28 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4126 ФПД: 123637281323005 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T172833&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4126&fm=123637281323005&tin=02508201610067®Number=0000000000145775&sum=14000 0 [17:28:24]StoreToDocumentArchive [17:28:24]shift 83 fd 4126 [17:28:24]save to /storage/0083/doc_00004126 [17:28:24]save last doc name /storage/0083/doc_00004126 to /storage/kkm_last_doc_name [17:28:24]save OK [17:28:24]Clear old archive folders... [17:28:24]ProcessDocumentItem done err = 0, tmpTLVsize=273 [17:28:24]tlvbuf is 00789F30 [17:28:24]SAM_PROTO_ClearQueue [17:28:24]wFMCommunicate request_size=4 [17:28:24]MH_SAM_APDU [17:28:24]CAPDU: 80 09 00 00 [17:28:24]Write to MH i2c: E2 08 00 B8 22 80 09 00 00 00 00 00 00 4C [17:28:24]Write i2c OK [17:28:24]MH_I2C_Read... [17:28:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:28:24]Read from MH i2c: E2 [17:28:24]MH_I2C_Read... [17:28:24]Read from MH i2c: E2 03 00 [17:28:24]MH_I2C_Read... [17:28:24]Read from MH i2c: E2 03 00 B8 22 00 90 00 4E [17:28:24]RAPDU: 90 00 [17:28:24]wFMCommunicate OK [17:28:24]SAM_PROTO_ClearQueue done [17:28:24]KKMCreateOFDPacket [17:28:24]OFDProtocolAddRootSTLVToBuf [17:28:24]FM_MakeSignedData [17:28:24]FM_MakeSignedData [17:28:24]SAM_PROTO_SignData [17:28:24]wFMCommunicate request_size=4 [17:28:24]MH_SAM_APDU [17:28:24]CAPDU: 80 0D 01 02 [17:28:24]Write to MH i2c: E2 08 00 B9 22 80 0D 01 02 00 00 00 00 54 [17:28:24]Write i2c OK [17:28:24]MH_I2C_Read... [17:28:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:28:24]Read from MH i2c: E2 [17:28:24]MH_I2C_Read... [17:28:24]Read from MH i2c: E2 03 00 [17:28:24]MH_I2C_Read... [17:28:24]Read from MH i2c: E2 03 00 B9 22 00 90 00 4F [17:28:24]RAPDU: 90 00 [17:28:24]wFMCommunicate OK [17:28:24]wFMCommunicate request_size=255 [17:28:24]MH_SAM_APDU [17:28:24]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 C1 4E 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 [17:28:24]Write to MH i2c: E2 02 01 BA 22 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 C1 4E 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 00 00 9F [17:28:24]Write i2c OK [17:28:24]MH_I2C_Read... [17:28:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:28:24]Read from MH i2c: E2 [17:28:24]MH_I2C_Read... [17:28:24]Read from MH i2c: E2 03 00 [17:28:24]MH_I2C_Read... [17:28:24]Read from MH i2c: E2 03 00 BA 22 00 90 00 50 [17:28:24]RAPDU: 90 00 [17:28:24]wFMCommunicate OK [17:28:24]wFMCommunicate request_size=32 [17:28:24]MH_SAM_APDU [17:28:24]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 36 30 10 04 04 00 1E 10 00 00 35 04 06 00 70 72 8C 3B F7 FD [17:28:24]Write to MH i2c: E2 23 00 BB 22 80 0D 02 02 1B 00 30 30 30 39 35 39 33 36 30 10 04 04 00 1E 10 00 00 35 04 06 00 70 72 8C 3B F7 FD 00 00 7F [17:28:24]Write i2c OK [17:28:24]MH_I2C_Read... [17:28:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:28:25]Read from MH i2c: E2 [17:28:25]MH_I2C_Read... [17:28:25]Read from MH i2c: E2 03 00 [17:28:25]MH_I2C_Read... [17:28:25]Read from MH i2c: E2 03 00 BB 22 00 90 00 51 [17:28:25]RAPDU: 90 00 [17:28:25]wFMCommunicate OK [17:28:25]wFMCommunicate request_size=4 [17:28:25]MH_SAM_APDU [17:28:25]CAPDU: 80 0D 03 02 [17:28:25]Write to MH i2c: E2 08 00 BC 22 80 0D 03 02 00 00 00 00 59 [17:28:25]Write i2c OK [17:28:25]MH_I2C_Read... [17:28:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:28:25]Read from MH i2c: E2 [17:28:25]MH_I2C_Read... [17:28:25]Read from MH i2c: E2 0B 00 [17:28:25]MH_I2C_Read... [17:28:25]Read from MH i2c: E2 0B 00 BC 22 00 D0 47 52 64 39 93 BC DA 90 00 89 [17:28:25]RAPDU: D0 47 52 64 39 93 BC DA 90 00 [17:28:25]wFMCommunicate OK [17:28:25]SAM_PROTO_SignData done [17:28:25]FM_MakeSignedData done [17:28:25]CreateOFDProtocolMessage [17:28:25]wFMCommunicate request_size=4 [17:28:25]MH_SAM_APDU [17:28:25]CAPDU: 80 11 00 00 [17:28:25]Write to MH i2c: E2 08 00 BD 22 80 11 00 00 00 00 00 00 59 [17:28:25]Write i2c OK [17:28:25]MH_I2C_Read... [17:28:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:28:25]Read from MH i2c: E2 [17:28:25]MH_I2C_Read... [17:28:25]Read from MH i2c: E2 17 00 [17:28:25]MH_I2C_Read... [17:28:25]Read from MH i2c: E2 17 00 BD 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 AC [17:28:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:28:25]wFMCommunicate OK [17:28:25]CreateOFDProtocolMessage done [17:28:25]OFDSenderStorePacket 4126 [17:28:25]StoreOFDPacket docnum=4126 [17:28:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 F8 93 1D 01 8A 42 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 C1 4E 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1E 10 00 00 35 04 06 00 70 72 8C 3B F7 FD D0 47 52 64 39 93 BC DA [17:28:25]CheckFolder [17:28:25]dirname=/storage/ofd_packets [17:28:25]CheckFolder done [17:28:25]ProducePacketName [17:28:25]name=ofd_packets/00004126 [17:28:25]NVStorageSaveData ofd_packets/00004126 [17:28:25]File name is /storage/ofd_packets/00004126 [17:28:25]Write 323 bytes [17:28:25]NVStorageSaveData done [17:28:25]OFDSenderStorePacket done [17:28:25]KKMCreateOFDPacket done [17:28:25]NVStorageSaveData kkm_last_timestamp [17:28:25]File name is /storage/kkm_last_timestamp [17:28:25]Write 4 bytes [17:28:25]NVStorageSaveData done [17:28:25]ExternCall_PrintAddStr [17:28:25]wPrintStart [17:28:25]Write to MH i2c: 01 00 00 BE 22 E0 [17:28:25]OFD Sender: Processing packet 4126 [packets to send 2, broken 1] [17:28:25]ProducePacketName [17:28:25]name=ofd_packets/00004126 [17:28:25]OFD Sender: To server: pG, [17:28:25]CommunicateWithHost lk.salyk.kg:30040 [17:28:25]ConnectInit lk.salyk.kg [17:28:25]Write i2c OK [17:28:25]MH_I2C_Read... [17:28:25]Read from MH i2c: 01 [17:28:25]MH_I2C_Read... [17:28:25]Read from MH i2c: 01 07 00 [17:28:25]MH_I2C_Read... [17:28:25]Read from MH i2c: 01 07 00 BE 22 00 00 00 00 00 FF 0F F5 [17:28:25]RasterBufferAndPrint [17:28:25]line Счет N : (3)4380 [17:28:25]line ИНН: 02508201610067 [17:28:25]line Контрольно-Кассовый Чек [17:28:25]line ПРОДАЖА [17:28:25]line Товар: 48743570 [17:28:25]line Сигареты Winston XStyle Blue [17:28:25]line 1.000 * 140.00 [17:28:25]line = 140.00 [17:28:25]line НДС 12% НСП 1% [17:28:25]line > о реализуемом товаре [17:28:25]line ИТОГО: 140.00 [17:28:25]line НСП 1% : 1.24 [17:28:25]line НДС 12% : 14.87 [17:28:25]line Наличными: 140.00 [17:28:25]line Безнал.: 0.00 [17:28:25]line Место: АЗС № 116 "Партнер Нефть" [17:28:25]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [17:28:25]line СНО: Общий режим [17:28:25]line Чек 43 04.06.2024 17:28 [17:28:25]line Смена: 83 ФФД: 1.0 [17:28:25]line ЗНМ: 0300000233 [17:28:25]line РНМ: 0000000000145775 [17:28:25]line Версия ККМ: v1.0 [17:28:25]line ФМ: 0000000000959360 [17:28:25]line ФД: 4126 [17:28:25]line ФПД: 123637281323005 [17:28:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T172833&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4126&fm=123637281323005&tin=02508201610067®Number=0000000000145775&sum=14000 [17:28:25]line 0 [17:28:25]Connected sock=10 [17:28:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 F8 93 1D 01 8A 42 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 C1 4E 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1E 10 00 00 35 04 06 00 70 72 8C 3B F7 FD D0 47 52 64 39 93 BC DA [17:28:25]written 0, free lines is 4095 [17:28:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 8D 53 47 00 DB 64 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1E 10 00 00 F4 03 04 00 C1 FA 5E 66 B6 04 01 00 00 F4 2D 47 CB AA 8A BF A5 [17:28:25]CommunicateWithHost err = 0 [17:28:25]CheckOFDResponse [17:28:25]1017 (14) - 77093643461234 [17:28:25]1041 (16) - 0000000000959360 [17:28:25]1040 (4) - 4126 [17:28:25]1012 (4) - 04.06.2024 11:30 [17:28:25]1206 (1) - 0 [17:28:25]OFD Sender: Remove packet 4126 [17:28:25]ProducePacketName [17:28:25]name=ofd_packets/00004126 [17:28:25]NVStorageDeleteData [17:28:25]Write to MH i2c: 01 00 00 E6 22 08 [17:28:25]Write i2c OK [17:28:25]MH_I2C_Read... [17:28:25]Read from MH i2c: 01 [17:28:25]MH_I2C_Read... [17:28:25]Read from MH i2c: 01 07 00 [17:28:25]MH_I2C_Read... [17:28:25]Read from MH i2c: 01 07 00 E6 22 00 00 00 00 00 CB 0C E6 [17:28:25]RasterBufferAndPrint [17:28:25]line [17:28:25]line [17:28:25]line [17:28:25]line [17:28:25]line [17:28:25]written 0, free lines is 3280 [17:28:25]MH_Cut [17:28:25]Write to MH i2c: D1 01 00 ED 22 01 E1 [17:28:25]Write i2c OK [17:28:25]MH_I2C_Read... [17:28:25]Read from MH i2c: D1 [17:28:25]MH_I2C_Read... [17:28:25]Read from MH i2c: D1 01 00 [17:28:25]MH_I2C_Read... [17:28:25]Read from MH i2c: D1 01 00 ED 22 00 E0 [17:28:25]Write to MH i2c: 01 00 00 EE 22 10 [17:28:25]Write i2c OK [17:28:25]MH_I2C_Read... [17:28:26]OFD Sender: No OFD packet to send [17:28:26]*** Cut start [17:28:26]*** Partial cut [17:28:26]*** CUTSNS_PIN = 1 [17:28:26]*** CUTSNS_PIN = 0 [17:28:27]*** Brake cut motor [17:28:27]Read from MH i2c: 01 [17:28:27]MH_I2C_Read... [17:28:27]*** Stop cut motor [17:28:27]*** Cut end [17:28:27]Read from MH i2c: 01 07 00 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: 01 07 00 EE 22 00 00 00 00 00 FF 0F 25 [17:28:27]process_action close_receipt done [17:28:27]requested_data is exist [17:28:27]produce_requested_data [17:28:27]requested_item fm.sn is exist - process it [17:28:27]wFMCommunicate request_size=4 [17:28:27]MH_SAM_APDU [17:28:27]CAPDU: 80 11 00 00 [17:28:27]Write to MH i2c: E2 08 00 EF 22 80 11 00 00 00 00 00 00 8B [17:28:27]Write i2c OK [17:28:27]MH_I2C_Read... [17:28:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:28:27]Read from MH i2c: E2 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 17 00 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 17 00 EF 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 DE [17:28:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:28:27]wFMCommunicate OK [17:28:27]requested_item fd.num is exist - process it [17:28:27]SAM_PROTO_GetFieldsCounters [17:28:27]wFMCommunicate request_size=4 [17:28:27]MH_SAM_APDU [17:28:27]CAPDU: 80 13 00 00 [17:28:27]Write to MH i2c: E2 08 00 F0 22 80 13 00 00 00 00 00 00 8E [17:28:27]Write i2c OK [17:28:27]MH_I2C_Read... [17:28:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:28:27]Read from MH i2c: E2 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 62 00 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 62 00 F0 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 1E 10 00 00 0E 04 04 00 53 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 B5 [17:28:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 1E 10 00 00 0E 04 04 00 53 00 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:28:27]wFMCommunicate OK [17:28:27]SAM_PROTO_GetFieldsCounters done [17:28:27]requested_item shift.num is exist - process it [17:28:27]requested_item shift.opened is exist - process it [17:28:27]req_shift_opened [17:28:27]FM_GetShiftState [17:28:27]SAM_PROTO_GetShiftState [17:28:27]wFMCommunicate request_size=4 [17:28:27]MH_SAM_APDU [17:28:27]CAPDU: 80 13 01 00 [17:28:27]Write to MH i2c: E2 08 00 F1 22 80 13 01 00 00 00 00 00 90 [17:28:27]Write i2c OK [17:28:27]MH_I2C_Read... [17:28:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:28:27]Read from MH i2c: E2 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 0E 00 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 0E 00 F1 22 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 29 [17:28:27]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:28:27]wFMCommunicate OK [17:28:27]SAM_PROTO_GetShiftState done [17:28:27]FM_GetShiftState done [17:28:27]req_shift_opened done [17:28:27]requested_item shift.open_date is exist - process it [17:28:27]req_shift_open_date [17:28:27]req_shift_open_date done [17:28:27]produce_requested_data done [17:28:27]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4126,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [17:28:27]process_action_free close_receipt [17:28:27]json_value_free [17:28:27]json_value_free done [17:28:27]process_json_proto returns [17:28:27]Send response to host [17:28:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4126,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [17:28:27]free response buf [17:28:27]execute_script done [17:28:27]execute_script returns [17:28:27]free content buf [17:28:27]Sock 8.Close socket [17:28:27]Sock 8.Thread stoped [17:28:31]OFD Sender: No OFD packet to send [17:28:36]OFD Sender: No OFD packet to send [17:28:41]OFD Sender: No OFD packet to send [17:28:46]OFD Sender: No OFD packet to send [17:28:51]OFD Sender: No OFD packet to send [17:28:56]OFD Sender: No OFD packet to send [17:29:01]OFD Sender: No OFD packet to send [17:29:01]accept exits with 9 [17:29:01]New connection [17:29:01]New thread 3067370852 created [17:29:01]Thread 3067227492 joined [17:29:01]Waiting for new connection... [17:29:01] Sock 9.Parse request [17:29:01]Sock 9.Check first char [17:29:01]Sock 9.First char is OK [17:29:01]request: POST /json_proto HTTP/1.0 [17:29:01]Method: POST [17:29:01]URL: /json_proto [17:29:01]Method is POST - this is cgi request [17:29:01]url: /json_proto [17:29:01]query_string will be loaded in cgi processing [17:29:01]execute_cgi json_proto POST (null) [17:29:01]execute_cgi path=json_proto method=POST [17:29:01]POST find Content-Length [17:29:01]Host: 172.17.56.68:8080 [17:29:01]Content-Length: 606 [17:29:01]Content-Type: application/json [17:29:01] [17:29:01]POST finish read [17:29:01]Found Content-Length = 606 [17:29:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4381", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:29:01]execute_script... [17:29: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)4381", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:29:01]POST & json_proto [17:29:01]process_json_proto [17:29:01]json parsed OK: [17:29:01]protocol is kg_v1.0 [17:29:01]action value=close_receipt [17:29:01]process_action close_receipt [17:29:01]cmd_close_receipt [17:29:01]MH_GetDate [17:29:01]Write to MH i2c: F0 00 00 F2 22 03 [17:29:01]Write i2c OK [17:29:01]MH_I2C_Read... [17:29:01]Read from MH i2c: F0 [17:29:01]MH_I2C_Read... [17:29:01]Read from MH i2c: F0 09 00 [17:29:01]MH_I2C_Read... [17:29:01]Read from MH i2c: F0 09 00 F2 22 00 E7 4E 5F 66 42 69 5C 66 73 [17:29:01]GetLastDocTimeStamp 1717522113 [17:29:01]current date 1717522151 [17:29:01]FM_GetShiftState [17:29:01]SAM_PROTO_GetShiftState [17:29:01]wFMCommunicate request_size=4 [17:29:01]MH_SAM_APDU [17:29:01]CAPDU: 80 13 01 00 [17:29:01]Write to MH i2c: E2 08 00 F3 22 80 13 01 00 00 00 00 00 92 [17:29:01]Write i2c OK [17:29:01]MH_I2C_Read... [17:29:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:29:01]Read from MH i2c: E2 [17:29:01]MH_I2C_Read... [17:29:01]Read from MH i2c: E2 0E 00 [17:29:01]MH_I2C_Read... [17:29:01]Read from MH i2c: E2 0E 00 F3 22 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 2B [17:29:01]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:29:01]wFMCommunicate OK [17:29:01]SAM_PROTO_GetShiftState done [17:29:01]FM_GetShiftState done [17:29:01]opened in 1717459822 [17:29:01]opened+sec_in_day 1717546222 [17:29:01]quantity*price = 1000 [17:29:01]sum+1 = 1001 [17:29:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 44 04.06.2024 17:29 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4127 ФПД: 231209946218628 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T172911&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4127&fm=231209946218628&tin=02508201610067®Number=0000000000145775&sum=1000 0 [17:29:02]StoreToDocumentArchive [17:29:02]shift 83 fd 4127 [17:29:02]save to /storage/0083/doc_00004127 [17:29:02]save last doc name /storage/0083/doc_00004127 to /storage/kkm_last_doc_name [17:29:02]save OK [17:29:02]Clear old archive folders... [17:29:02]ProcessDocumentItem done err = 0, tmpTLVsize=267 [17:29:02]tlvbuf is B6F409B0 [17:29:02]SAM_PROTO_ClearQueue [17:29:02]wFMCommunicate request_size=4 [17:29:02]MH_SAM_APDU [17:29:02]CAPDU: 80 09 00 00 [17:29:02]Write to MH i2c: E2 08 00 00 23 80 09 00 00 00 00 00 00 95 [17:29:02]Write i2c OK [17:29:02]MH_I2C_Read... [17:29:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:29:02]Read from MH i2c: E2 [17:29:02]MH_I2C_Read... [17:29:02]Read from MH i2c: E2 03 00 [17:29:02]MH_I2C_Read... [17:29:02]Read from MH i2c: E2 03 00 00 23 00 90 00 97 [17:29:02]RAPDU: 90 00 [17:29:02]wFMCommunicate OK [17:29:02]SAM_PROTO_ClearQueue done [17:29:02]KKMCreateOFDPacket [17:29:02]OFDProtocolAddRootSTLVToBuf [17:29:02]FM_MakeSignedData [17:29:02]FM_MakeSignedData [17:29:02]SAM_PROTO_SignData [17:29:02]wFMCommunicate request_size=4 [17:29:02]MH_SAM_APDU [17:29:02]CAPDU: 80 0D 01 02 [17:29:02]Write to MH i2c: E2 08 00 01 23 80 0D 01 02 00 00 00 00 9D [17:29:02]Write i2c OK [17:29:02]MH_I2C_Read... [17:29:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:29:02]Read from MH i2c: E2 [17:29:02]MH_I2C_Read... [17:29:02]Read from MH i2c: E2 03 00 [17:29:02]MH_I2C_Read... [17:29:02]Read from MH i2c: E2 03 00 01 23 00 90 00 98 [17:29:02]RAPDU: 90 00 [17:29:02]wFMCommunicate OK [17:29:02]wFMCommunicate request_size=255 [17:29:02]MH_SAM_APDU [17:29:02]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 E7 4E 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 [17:29:02]Write to MH i2c: E2 02 01 02 23 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 E7 4E 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 00 00 B4 [17:29:02]Write i2c OK [17:29:02]MH_I2C_Read... [17:29:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:29:02]Read from MH i2c: E2 [17:29:02]MH_I2C_Read... [17:29:02]Read from MH i2c: E2 03 00 [17:29:02]MH_I2C_Read... [17:29:02]Read from MH i2c: E2 03 00 02 23 00 90 00 99 [17:29:02]RAPDU: 90 00 [17:29:02]wFMCommunicate OK [17:29:02]wFMCommunicate request_size=26 [17:29:02]MH_SAM_APDU [17:29:02]CAPDU: 80 0D 02 02 15 33 36 30 10 04 04 00 1F 10 00 00 35 04 06 00 D2 48 C2 B6 80 84 [17:29:02]Write to MH i2c: E2 1D 00 03 23 80 0D 02 02 15 00 33 36 30 10 04 04 00 1F 10 00 00 35 04 06 00 D2 48 C2 B6 80 84 00 00 7F [17:29:02]Write i2c OK [17:29:02]MH_I2C_Read... [17:29:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:29:03]Read from MH i2c: E2 [17:29:03]MH_I2C_Read... [17:29:03]Read from MH i2c: E2 03 00 [17:29:03]MH_I2C_Read... [17:29:03]Read from MH i2c: E2 03 00 03 23 00 90 00 9A [17:29:03]RAPDU: 90 00 [17:29:03]wFMCommunicate OK [17:29:03]wFMCommunicate request_size=4 [17:29:03]MH_SAM_APDU [17:29:03]CAPDU: 80 0D 03 02 [17:29:03]Write to MH i2c: E2 08 00 04 23 80 0D 03 02 00 00 00 00 A2 [17:29:03]Write i2c OK [17:29:03]MH_I2C_Read... [17:29:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:29:03]Read from MH i2c: E2 [17:29:03]MH_I2C_Read... [17:29:03]Read from MH i2c: E2 0B 00 [17:29:03]MH_I2C_Read... [17:29:03]Read from MH i2c: E2 0B 00 04 23 00 5E 6C DE 4F 2B D5 B8 40 90 00 92 [17:29:03]RAPDU: 5E 6C DE 4F 2B D5 B8 40 90 00 [17:29:03]wFMCommunicate OK [17:29:03]SAM_PROTO_SignData done [17:29:03]FM_MakeSignedData done [17:29:03]CreateOFDProtocolMessage [17:29:03]wFMCommunicate request_size=4 [17:29:03]MH_SAM_APDU [17:29:03]CAPDU: 80 11 00 00 [17:29:03]Write to MH i2c: E2 08 00 05 23 80 11 00 00 00 00 00 00 A2 [17:29:03]Write i2c OK [17:29:03]MH_I2C_Read... [17:29:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:29:03]Read from MH i2c: E2 [17:29:03]MH_I2C_Read... [17:29:03]Read from MH i2c: E2 17 00 [17:29:03]MH_I2C_Read... [17:29:03]Read from MH i2c: E2 17 00 05 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F5 [17:29:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:29:03]wFMCommunicate OK [17:29:03]CreateOFDProtocolMessage done [17:29:03]OFDSenderStorePacket 4127 [17:29:03]StoreOFDPacket docnum=4127 [17:29:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1F 01 00 00 8E 79 17 01 45 EF 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 E7 4E 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1F 10 00 00 35 04 06 00 D2 48 C2 B6 80 84 5E 6C DE 4F 2B D5 B8 40 [17:29:03]CheckFolder [17:29:03]dirname=/storage/ofd_packets [17:29:03]CheckFolder done [17:29:03]ProducePacketName [17:29:03]name=ofd_packets/00004127 [17:29:03]NVStorageSaveData ofd_packets/00004127 [17:29:03]File name is /storage/ofd_packets/00004127 [17:29:03]Write 317 bytes [17:29:03]NVStorageSaveData done [17:29:03]OFDSenderStorePacket done [17:29:03]KKMCreateOFDPacket done [17:29:03]NVStorageSaveData kkm_last_timestamp [17:29:03]File name is /storage/kkm_last_timestamp [17:29:03]Write 4 bytes [17:29:03]NVStorageSaveData done [17:29:03]ExternCall_PrintAddStr [17:29:03]wPrintStart [17:29:03]Write to MH i2c: 01 00 00 06 23 29 [17:29:03]Write i2c OK [17:29:03]MH_I2C_Read... [17:29:03]Read from MH i2c: 01 [17:29:03]MH_I2C_Read... [17:29:03]Read from MH i2c: 01 07 00 [17:29:03]MH_I2C_Read... [17:29:03]Read from MH i2c: 01 07 00 06 23 00 00 00 00 00 FF 0F 3E [17:29:03]RasterBufferAndPrint [17:29:03]line Счет N : (3)4381 [17:29:03]line ИНН: 02508201610067 [17:29:03]line Контрольно-Кассовый Чек [17:29:03]line ПРОДАЖА [17:29:03]line Товар: 46231529 [17:29:03]line Mentos ПФ Арбуз 6*100*2 [17:29:03]line 1.000 * 10.00 [17:29:03]line = 10.00 [17:29:03]line НДС 12% НСП 1% [17:29:03]line > о реализуемом товаре [17:29:03]line ИТОГО: 10.00 [17:29:03]line НСП 1% : 0.09 [17:29:03]line НДС 12% : 1.06 [17:29:03]line Наличными: 10.00 [17:29:03]line Безнал.: 0.00 [17:29:03]line Место: АЗС № 116 "Партнер Нефть" [17:29:03]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [17:29:03]line СНО: Общий режим [17:29:03]line Чек 44 04.06.2024 17:29 [17:29:03]line Смена: 83 ФФД: 1.0 [17:29:03]line ЗНМ: 0300000233 [17:29:03]line РНМ: 0000000000145775 [17:29:03]line Версия ККМ: v1.0 [17:29:03]line ФМ: 0000000000959360 [17:29:03]line ФД: 4127 [17:29:03]line ФПД: 231209946218628 [17:29:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T172911&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4127&fm=231209946218628&tin=02508201610067®Number=0000000000145775&sum=1000 [17:29:03]line 0 [17:29:03]OFD Sender: Processing packet 4127 [packets to send 2, broken 1] [17:29:03]ProducePacketName [17:29:03]name=ofd_packets/00004127 [17:29:03]OFD Sender: To server: pG, [17:29:03]CommunicateWithHost lk.salyk.kg:30040 [17:29:03]ConnectInit lk.salyk.kg [17:29:03]written 0, free lines is 4095 [17:29:03]Connected sock=11 [17:29:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1F 01 00 00 8E 79 17 01 45 EF 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 E7 4E 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 1F 10 00 00 35 04 06 00 D2 48 C2 B6 80 84 5E 6C DE 4F 2B D5 B8 40 [17:29:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 81 3A 47 00 D3 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 30 39 35 39 33 36 30 10 04 04 00 1F 10 00 00 F4 03 04 00 E7 FA 5E 66 B6 04 01 00 00 10 42 C5 AC D5 2A BF D8 [17:29:03]CommunicateWithHost err = 0 [17:29:03]CheckOFDResponse [17:29:03]1017 (14) - 77093643461234 [17:29:03]1041 (16) - 0000000000959360 [17:29:03]1040 (4) - 4127 [17:29:03]1012 (4) - 04.06.2024 11:30 [17:29:03]1206 (1) - 0 [17:29:03]OFD Sender: Remove packet 4127 [17:29:03]ProducePacketName [17:29:03]name=ofd_packets/00004127 [17:29:03]NVStorageDeleteData [17:29:03]Write to MH i2c: 01 00 00 2E 23 51 [17:29:03]Write i2c OK [17:29:03]MH_I2C_Read... [17:29:03]Read from MH i2c: 01 [17:29:03]MH_I2C_Read... [17:29:03]Read from MH i2c: 01 07 00 [17:29:03]MH_I2C_Read... [17:29:03]Read from MH i2c: 01 07 00 2E 23 00 00 00 00 00 CD 0C 31 [17:29:03]RasterBufferAndPrint [17:29:03]line [17:29:03]line [17:29:03]line [17:29:03]line [17:29:03]line [17:29:03]written 0, free lines is 3282 [17:29:03]MH_Cut [17:29:03]Write to MH i2c: D1 01 00 35 23 01 2A [17:29:03]Write i2c OK [17:29:03]MH_I2C_Read... [17:29:03]Read from MH i2c: D1 [17:29:03]MH_I2C_Read... [17:29:03]Read from MH i2c: D1 01 00 [17:29:03]MH_I2C_Read... [17:29:03]Read from MH i2c: D1 01 00 35 23 00 29 [17:29:03]Write to MH i2c: 01 00 00 36 23 59 [17:29:03]Write i2c OK [17:29:03]MH_I2C_Read... [17:29:04]OFD Sender: No OFD packet to send [17:29:04]*** Cut start [17:29:04]*** Partial cut [17:29:04]*** CUTSNS_PIN = 1 [17:29:04]*** CUTSNS_PIN = 0 [17:29:05]*** Brake cut motor [17:29:05]Read from MH i2c: 01 [17:29:05]MH_I2C_Read... [17:29:05]*** Stop cut motor [17:29:05]*** Cut end [17:29:05]Read from MH i2c: 01 07 00 [17:29:05]MH_I2C_Read... [17:29:05]Read from MH i2c: 01 07 00 36 23 00 00 00 00 00 FF 0F 6E [17:29:05]process_action close_receipt done [17:29:05]requested_data is exist [17:29:05]produce_requested_data [17:29:05]requested_item fm.sn is exist - process it [17:29:05]wFMCommunicate request_size=4 [17:29:05]MH_SAM_APDU [17:29:05]CAPDU: 80 11 00 00 [17:29:05]Write to MH i2c: E2 08 00 37 23 80 11 00 00 00 00 00 00 D4 [17:29:05]Write i2c OK [17:29:05]MH_I2C_Read... [17:29:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:29:05]Read from MH i2c: E2 [17:29:05]MH_I2C_Read... [17:29:05]Read from MH i2c: E2 17 00 [17:29:05]MH_I2C_Read... [17:29:05]Read from MH i2c: E2 17 00 37 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 27 [17:29:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:29:05]wFMCommunicate OK [17:29:05]requested_item fd.num is exist - process it [17:29:05]SAM_PROTO_GetFieldsCounters [17:29:05]wFMCommunicate request_size=4 [17:29:05]MH_SAM_APDU [17:29:05]CAPDU: 80 13 00 00 [17:29:05]Write to MH i2c: E2 08 00 38 23 80 13 00 00 00 00 00 00 D7 [17:29:05]Write i2c OK [17:29:05]MH_I2C_Read... [17:29:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:29:05]Read from MH i2c: E2 [17:29:05]MH_I2C_Read... [17:29:05]Read from MH i2c: E2 62 00 [17:29:05]MH_I2C_Read... [17:29:05]Read from MH i2c: E2 62 00 38 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 1F 10 00 00 0E 04 04 00 53 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 02 [17:29:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 1F 10 00 00 0E 04 04 00 53 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 [17:29:05]wFMCommunicate OK [17:29:05]SAM_PROTO_GetFieldsCounters done [17:29:05]requested_item shift.num is exist - process it [17:29:05]requested_item shift.opened is exist - process it [17:29:05]req_shift_opened [17:29:05]FM_GetShiftState [17:29:05]SAM_PROTO_GetShiftState [17:29:05]wFMCommunicate request_size=4 [17:29:05]MH_SAM_APDU [17:29:05]CAPDU: 80 13 01 00 [17:29:05]Write to MH i2c: E2 08 00 39 23 80 13 01 00 00 00 00 00 D9 [17:29:05]Write i2c OK [17:29:05]MH_I2C_Read... [17:29:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:29:05]Read from MH i2c: E2 [17:29:05]MH_I2C_Read... [17:29:05]Read from MH i2c: E2 0E 00 [17:29:05]MH_I2C_Read... [17:29:05]Read from MH i2c: E2 0E 00 39 23 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 72 [17:29:05]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:29:05]wFMCommunicate OK [17:29:05]SAM_PROTO_GetShiftState done [17:29:05]FM_GetShiftState done [17:29:05]req_shift_opened done [17:29:05]requested_item shift.open_date is exist - process it [17:29:05]req_shift_open_date [17:29:05]req_shift_open_date done [17:29:05]produce_requested_data done [17:29:05]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4127,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [17:29:05]process_action_free close_receipt [17:29:05]json_value_free [17:29:05]json_value_free done [17:29:05]process_json_proto returns [17:29:05]Send response to host [17:29:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4127,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [17:29:05]free response buf [17:29:05]execute_script done [17:29:05]execute_script returns [17:29:05]free content buf [17:29:05]Sock 9.Close socket [17:29:05]Sock 9.Thread stoped [17:29:09]OFD Sender: No OFD packet to send [17:29:14]OFD Sender: No OFD packet to send [17:29:19]OFD Sender: No OFD packet to send [17:29:24]OFD Sender: No OFD packet to send [17:29:29]OFD Sender: No OFD packet to send [17:29:34]OFD Sender: No OFD packet to send [17:29:39]OFD Sender: No OFD packet to send [17:29:44]OFD Sender: No OFD packet to send [17:29:49]OFD Sender: No OFD packet to send [17:29:54]OFD Sender: No OFD packet to send [17:29:59]OFD Sender: No OFD packet to send [17:30:04]OFD Sender: No OFD packet to send [17:30:09]OFD Sender: No OFD packet to send [17:30:14]OFD Sender: No OFD packet to send [17:30:19]OFD Sender: No OFD packet to send [17:30:24]OFD Sender: No OFD packet to send [17:30:29]OFD Sender: No OFD packet to send [17:30:34]OFD Sender: No OFD packet to send [17:30:39]OFD Sender: No OFD packet to send [17:30:44]OFD Sender: No OFD packet to send [17:30:49]OFD Sender: No OFD packet to send [17:30:52]accept exits with 8 [17:30:52]New connection [17:30:52]New thread 3067227492 created [17:30:52]Thread 3067370852 joined [17:30:52]Waiting for new connection... [17:30:52] Sock 8.Parse request [17:30:52]Sock 8.Check first char [17:30:52]Sock 8.First char is OK [17:30:52]request: POST /json_proto HTTP/1.0 [17:30:52]Method: POST [17:30:52]URL: /json_proto [17:30:52]Method is POST - this is cgi request [17:30:52]url: /json_proto [17:30:52]query_string will be loaded in cgi processing [17:30:52]execute_cgi json_proto POST (null) [17:30:52]execute_cgi path=json_proto method=POST [17:30:52]POST find Content-Length [17:30:52]Host: 172.17.56.68:8080 [17:30:52]Content-Length: 659 [17:30:52]Content-Type: application/json [17:30:52] [17:30:52]POST finish read [17:30:52]Found Content-Length = 659 [17:30:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4382", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:30:52]execute_script... [17:30:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4382", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:30:52]POST & json_proto [17:30:52]process_json_proto [17:30:52]json parsed OK: [17:30:52]protocol is kg_v1.0 [17:30:52]action value=close_receipt [17:30:52]process_action close_receipt [17:30:52]cmd_close_receipt [17:30:52]MH_GetDate [17:30:52]Write to MH i2c: F0 00 00 3A 23 4C [17:30:52]Write i2c OK [17:30:52]MH_I2C_Read... [17:30:52]Read from MH i2c: F0 [17:30:52]MH_I2C_Read... [17:30:52]Read from MH i2c: F0 09 00 [17:30:52]MH_I2C_Read... [17:30:52]Read from MH i2c: F0 09 00 3A 23 00 56 4F 5F 66 42 69 5C 66 2C [17:30:52]GetLastDocTimeStamp 1717522151 [17:30:52]current date 1717522262 [17:30:52]FM_GetShiftState [17:30:52]SAM_PROTO_GetShiftState [17:30:52]wFMCommunicate request_size=4 [17:30:52]MH_SAM_APDU [17:30:52]CAPDU: 80 13 01 00 [17:30:52]Write to MH i2c: E2 08 00 3B 23 80 13 01 00 00 00 00 00 DB [17:30:52]Write i2c OK [17:30:52]MH_I2C_Read... [17:30:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:30:52]Read from MH i2c: E2 [17:30:52]MH_I2C_Read... [17:30:52]Read from MH i2c: E2 0E 00 [17:30:52]MH_I2C_Read... [17:30:52]Read from MH i2c: E2 0E 00 3B 23 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 74 [17:30:52]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:30:52]wFMCommunicate OK [17:30:52]SAM_PROTO_GetShiftState done [17:30:52]FM_GetShiftState done [17:30:52]opened in 1717459822 [17:30:52]opened+sec_in_day 1717546222 [17:30:52]quantity*price = 6700 [17:30:52]sum+1 = 6701 [17:30:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 67.00 НСП 1% : 0.59 НДС 12% : 7.11 Наличными: 67.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 45 04.06.2024 17:31 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4128 ФПД: 280312691637861 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T173102&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4128&fm=280312691637861&tin=02508201610067®Number=0000000000145775&sum=6700 0 [17:30:53]StoreToDocumentArchive [17:30:53]shift 83 fd 4128 [17:30:53]save to /storage/0083/doc_00004128 [17:30:53]save last doc name /storage/0083/doc_00004128 to /storage/kkm_last_doc_name [17:30:53]save OK [17:30:53]Clear old archive folders... [17:30:53]ProcessDocumentItem done err = 0, tmpTLVsize=284 [17:30:53]tlvbuf is 007AF910 [17:30:53]SAM_PROTO_ClearQueue [17:30:53]wFMCommunicate request_size=4 [17:30:53]MH_SAM_APDU [17:30:53]CAPDU: 80 09 00 00 [17:30:53]Write to MH i2c: E2 08 00 48 23 80 09 00 00 00 00 00 00 DD [17:30:53]Write i2c OK [17:30:53]MH_I2C_Read... [17:30:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:30:53]Read from MH i2c: E2 [17:30:53]MH_I2C_Read... [17:30:53]Read from MH i2c: E2 03 00 [17:30:53]MH_I2C_Read... [17:30:53]Read from MH i2c: E2 03 00 48 23 00 90 00 DF [17:30:53]RAPDU: 90 00 [17:30:53]wFMCommunicate OK [17:30:53]SAM_PROTO_ClearQueue done [17:30:53]KKMCreateOFDPacket [17:30:53]OFDProtocolAddRootSTLVToBuf [17:30:53]FM_MakeSignedData [17:30:53]FM_MakeSignedData [17:30:53]SAM_PROTO_SignData [17:30:53]wFMCommunicate request_size=4 [17:30:53]MH_SAM_APDU [17:30:53]CAPDU: 80 0D 01 02 [17:30:53]Write to MH i2c: E2 08 00 49 23 80 0D 01 02 00 00 00 00 E5 [17:30:53]Write i2c OK [17:30:53]MH_I2C_Read... [17:30:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:30:53]Read from MH i2c: E2 [17:30:53]MH_I2C_Read... [17:30:53]Read from MH i2c: E2 03 00 [17:30:53]MH_I2C_Read... [17:30:53]Read from MH i2c: E2 03 00 49 23 00 90 00 E0 [17:30:53]RAPDU: 90 00 [17:30:53]wFMCommunicate OK [17:30:53]wFMCommunicate request_size=255 [17:30:53]MH_SAM_APDU [17:30:53]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 56 4F 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 [17:30:53]Write to MH i2c: E2 02 01 4A 23 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 56 4F 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 00 00 F4 [17:30:53]Write i2c OK [17:30:53]MH_I2C_Read... [17:30:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:30:54]Read from MH i2c: E2 [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: E2 03 00 [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: E2 03 00 4A 23 00 90 00 E1 [17:30:54]RAPDU: 90 00 [17:30:54]wFMCommunicate OK [17:30:54]wFMCommunicate request_size=43 [17:30:54]MH_SAM_APDU [17:30:54]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 20 10 00 00 35 04 06 00 FE F1 62 69 3E 65 [17:30:54]Write to MH i2c: E2 2E 00 4B 23 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 20 10 00 00 35 04 06 00 FE F1 62 69 3E 65 00 00 5D [17:30:54]Write i2c OK [17:30:54]MH_I2C_Read... [17:30:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:30:54]Read from MH i2c: E2 [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: E2 03 00 [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: E2 03 00 4B 23 00 90 00 E2 [17:30:54]RAPDU: 90 00 [17:30:54]wFMCommunicate OK [17:30:54]wFMCommunicate request_size=4 [17:30:54]MH_SAM_APDU [17:30:54]CAPDU: 80 0D 03 02 [17:30:54]Write to MH i2c: E2 08 00 4C 23 80 0D 03 02 00 00 00 00 EA [17:30:54]Write i2c OK [17:30:54]MH_I2C_Read... [17:30:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:30:54]Read from MH i2c: E2 [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: E2 0B 00 [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: E2 0B 00 4C 23 00 01 B2 30 6D DA 3B F1 9C 90 00 DD [17:30:54]RAPDU: 01 B2 30 6D DA 3B F1 9C 90 00 [17:30:54]wFMCommunicate OK [17:30:54]SAM_PROTO_SignData done [17:30:54]FM_MakeSignedData done [17:30:54]CreateOFDProtocolMessage [17:30:54]wFMCommunicate request_size=4 [17:30:54]MH_SAM_APDU [17:30:54]CAPDU: 80 11 00 00 [17:30:54]Write to MH i2c: E2 08 00 4D 23 80 11 00 00 00 00 00 00 EA [17:30:54]Write i2c OK [17:30:54]MH_I2C_Read... [17:30:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:30:54]Read from MH i2c: E2 [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: E2 17 00 [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: E2 17 00 4D 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 3D [17:30:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:30:54]wFMCommunicate OK [17:30:54]CreateOFDProtocolMessage done [17:30:54]OFDSenderStorePacket 4128 [17:30:54]StoreOFDPacket docnum=4128 [17:30:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 30 01 00 00 6D EA 28 01 2B BE 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 56 4F 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 20 10 00 00 35 04 06 00 FE F1 62 69 3E 65 01 B2 30 6D DA 3B F1 9C [17:30:54]CheckFolder [17:30:54]dirname=/storage/ofd_packets [17:30:54]CheckFolder done [17:30:54]ProducePacketName [17:30:54]name=ofd_packets/00004128 [17:30:54]NVStorageSaveData ofd_packets/00004128 [17:30:54]File name is /storage/ofd_packets/00004128 [17:30:54]Write 334 bytes [17:30:54]NVStorageSaveData done [17:30:54]OFDSenderStorePacket done [17:30:54]KKMCreateOFDPacket done [17:30:54]NVStorageSaveData kkm_last_timestamp [17:30:54]File name is /storage/kkm_last_timestamp [17:30:54]Write 4 bytes [17:30:54]NVStorageSaveData done [17:30:54]ExternCall_PrintAddStr [17:30:54]wPrintStart [17:30:54]Write to MH i2c: 01 00 00 4E 23 71 [17:30:54]OFD Sender: Processing packet 4128 [packets to send 2, broken 1] [17:30:54]ProducePacketName [17:30:54]name=ofd_packets/00004128 [17:30:54]OFD Sender: To server: pG, [17:30:54]CommunicateWithHost lk.salyk.kg:30040 [17:30:54]ConnectInit lk.salyk.kg [17:30:54]Write i2c OK [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: 01 [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: 01 07 00 [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: 01 07 00 4E 23 00 00 00 00 00 FF 0F 86 [17:30:54]RasterBufferAndPrint [17:30:54]line Счет N : (3)4382 [17:30:54]line ИНН: 02508201610067 [17:30:54]line Контрольно-Кассовый Чек [17:30:54]line ПРОДАЖА [17:30:54]line Товар: 6931280300549 [17:30:54]line Зажигалка Cricket ПН пьезо [17:30:54]line 1.000 * 67.00 [17:30:54]line = 67.00 [17:30:54]line НДС 12% НСП 1% [17:30:54]line > о реализуемом товаре [17:30:54]line ИТОГО: 67.00 [17:30:54]line НСП 1% : 0.59 [17:30:54]line НДС 12% : 7.11 [17:30:54]line Наличными: 67.00 [17:30:54]line Безнал.: 0.00 [17:30:54]line Место: АЗС № 116 "Партнер Нефть" [17:30:54]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [17:30:54]line СНО: Общий режим [17:30:54]line Чек 45 04.06.2024 17:31 [17:30:54]line Смена: 83 ФФД: 1.0 [17:30:54]line ЗНМ: 0300000233 [17:30:54]line РНМ: 0000000000145775 [17:30:54]line Версия ККМ: v1.0 [17:30:54]line ФМ: 0000000000959360 [17:30:54]line ФД: 4128 [17:30:54]line ФПД: 280312691637861 [17:30:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T173102&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4128&fm=280312691637861&tin=02508201610067®Number=0000000000145775&sum=6700 [17:30:54]line 0 [17:30:54]written 0, free lines is 4095 [17:30:54]Connected sock=10 [17:30:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 30 01 00 00 6D EA 28 01 2B BE 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 56 4F 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 20 10 00 00 35 04 06 00 FE F1 62 69 3E 65 01 B2 30 6D DA 3B F1 9C [17:30:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 03 09 47 00 C0 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 20 10 00 00 F4 03 04 00 56 FB 5E 66 B6 04 01 00 00 AF 92 14 12 05 89 FA 0D [17:30:54]CommunicateWithHost err = 0 [17:30:54]CheckOFDResponse [17:30:54]1017 (14) - 77093643461234 [17:30:54]1041 (16) - 0000000000959360 [17:30:54]1040 (4) - 4128 [17:30:54]1012 (4) - 04.06.2024 11:32 [17:30:54]1206 (1) - 0 [17:30:54]OFD Sender: Remove packet 4128 [17:30:54]ProducePacketName [17:30:54]name=ofd_packets/00004128 [17:30:54]NVStorageDeleteData [17:30:54]Write to MH i2c: 01 00 00 76 23 99 [17:30:54]Write i2c OK [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: 01 [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: 01 07 00 [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: 01 07 00 76 23 00 00 00 00 00 D3 0C 7F [17:30:54]RasterBufferAndPrint [17:30:54]line [17:30:54]line [17:30:54]line [17:30:54]line [17:30:54]line [17:30:54]written 0, free lines is 3289 [17:30:54]MH_Cut [17:30:54]Write to MH i2c: D1 01 00 7D 23 01 72 [17:30:54]Write i2c OK [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: D1 [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: D1 01 00 [17:30:54]MH_I2C_Read... [17:30:54]Read from MH i2c: D1 01 00 7D 23 00 71 [17:30:54]Write to MH i2c: 01 00 00 7E 23 A1 [17:30:54]Write i2c OK [17:30:54]MH_I2C_Read... [17:30:55]OFD Sender: No OFD packet to send [17:30:55]*** Cut start [17:30:55]*** Partial cut [17:30:55]*** CUTSNS_PIN = 1 [17:30:55]*** CUTSNS_PIN = 0 [17:30:55]*** Brake cut motor [17:30:56]Read from MH i2c: 01 [17:30:56]MH_I2C_Read... [17:30:56]*** Stop cut motor [17:30:56]*** Cut end [17:30:56]Read from MH i2c: 01 07 00 [17:30:56]MH_I2C_Read... [17:30:56]Read from MH i2c: 01 07 00 7E 23 00 00 00 00 00 FF 0F B6 [17:30:56]process_action close_receipt done [17:30:56]requested_data is exist [17:30:56]produce_requested_data [17:30:56]requested_item fm.sn is exist - process it [17:30:56]wFMCommunicate request_size=4 [17:30:56]MH_SAM_APDU [17:30:56]CAPDU: 80 11 00 00 [17:30:56]Write to MH i2c: E2 08 00 7F 23 80 11 00 00 00 00 00 00 1C [17:30:56]Write i2c OK [17:30:56]MH_I2C_Read... [17:30:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:30:56]Read from MH i2c: E2 [17:30:56]MH_I2C_Read... [17:30:56]Read from MH i2c: E2 17 00 [17:30:56]MH_I2C_Read... [17:30:56]Read from MH i2c: E2 17 00 7F 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 6F [17:30:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:30:56]wFMCommunicate OK [17:30:56]requested_item fd.num is exist - process it [17:30:56]SAM_PROTO_GetFieldsCounters [17:30:56]wFMCommunicate request_size=4 [17:30:56]MH_SAM_APDU [17:30:56]CAPDU: 80 13 00 00 [17:30:56]Write to MH i2c: E2 08 00 80 23 80 13 00 00 00 00 00 00 1F [17:30:56]Write i2c OK [17:30:56]MH_I2C_Read... [17:30:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:30:56]Read from MH i2c: E2 [17:30:56]MH_I2C_Read... [17:30:56]Read from MH i2c: E2 62 00 [17:30:56]MH_I2C_Read... [17:30:56]Read from MH i2c: E2 62 00 80 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 20 10 00 00 0E 04 04 00 53 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 4E [17:30:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 20 10 00 00 0E 04 04 00 53 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 [17:30:56]wFMCommunicate OK [17:30:56]SAM_PROTO_GetFieldsCounters done [17:30:56]requested_item shift.num is exist - process it [17:30:56]requested_item shift.opened is exist - process it [17:30:56]req_shift_opened [17:30:56]FM_GetShiftState [17:30:56]SAM_PROTO_GetShiftState [17:30:56]wFMCommunicate request_size=4 [17:30:56]MH_SAM_APDU [17:30:56]CAPDU: 80 13 01 00 [17:30:56]Write to MH i2c: E2 08 00 81 23 80 13 01 00 00 00 00 00 21 [17:30:56]Write i2c OK [17:30:56]MH_I2C_Read... [17:30:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:30:56]Read from MH i2c: E2 [17:30:56]MH_I2C_Read... [17:30:56]Read from MH i2c: E2 0E 00 [17:30:56]MH_I2C_Read... [17:30:56]Read from MH i2c: E2 0E 00 81 23 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 BA [17:30:56]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:30:56]wFMCommunicate OK [17:30:56]SAM_PROTO_GetShiftState done [17:30:56]FM_GetShiftState done [17:30:56]req_shift_opened done [17:30:56]requested_item shift.open_date is exist - process it [17:30:56]req_shift_open_date [17:30:56]req_shift_open_date done [17:30:56]produce_requested_data done [17:30:56]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4128,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [17:30:56]process_action_free close_receipt [17:30:56]json_value_free [17:30:56]json_value_free done [17:30:56]process_json_proto returns [17:30:56]Send response to host [17:30:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4128,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [17:30:56]free response buf [17:30:56]execute_script done [17:30:56]execute_script returns [17:30:56]free content buf [17:30:56]Sock 8.Close socket [17:30:56]Sock 8.Thread stoped [17:31:00]OFD Sender: No OFD packet to send [17:31:05]OFD Sender: No OFD packet to send [17:31:10]OFD Sender: No OFD packet to send [17:31:15]OFD Sender: No OFD packet to send [17:31:20]OFD Sender: No OFD packet to send [17:31:25]OFD Sender: No OFD packet to send [17:31:30]OFD Sender: No OFD packet to send [17:31:35]OFD Sender: No OFD packet to send [17:31:40]OFD Sender: No OFD packet to send [17:31:45]OFD Sender: No OFD packet to send [17:31:50]OFD Sender: No OFD packet to send [17:31:55]OFD Sender: No OFD packet to send [17:32:00]OFD Sender: No OFD packet to send [17:32:05]OFD Sender: No OFD packet to send [17:32:10]OFD Sender: No OFD packet to send [17:32:15]OFD Sender: No OFD packet to send [17:32:20]OFD Sender: No OFD packet to send [17:32:25]OFD Sender: No OFD packet to send [17:32:30]OFD Sender: No OFD packet to send [17:32:35]OFD Sender: No OFD packet to send [17:32:40]OFD Sender: No OFD packet to send [17:32:45]OFD Sender: No OFD packet to send [17:32:50]OFD Sender: No OFD packet to send [17:32:55]OFD Sender: No OFD packet to send [17:33:00]OFD Sender: No OFD packet to send [17:33:05]OFD Sender: No OFD packet to send [17:33:10]OFD Sender: No OFD packet to send [17:33:15]OFD Sender: No OFD packet to send [17:33:20]OFD Sender: No OFD packet to send [17:33:25]OFD Sender: No OFD packet to send [17:33:30]OFD Sender: No OFD packet to send [17:33:35]OFD Sender: No OFD packet to send [17:33:40]OFD Sender: No OFD packet to send [17:33:45]OFD Sender: No OFD packet to send [17:33:50]OFD Sender: No OFD packet to send [17:33:55]OFD Sender: No OFD packet to send [17:34:00]OFD Sender: No OFD packet to send [17:34:05]OFD Sender: No OFD packet to send [17:34:10]OFD Sender: No OFD packet to send [17:34:15]OFD Sender: No OFD packet to send [17:34:20]OFD Sender: No OFD packet to send [17:34:25]OFD Sender: No OFD packet to send [17:34:30]OFD Sender: No OFD packet to send [17:34:35]OFD Sender: No OFD packet to send [17:34:40]OFD Sender: No OFD packet to send [17:34:45]OFD Sender: No OFD packet to send [17:34:50]OFD Sender: No OFD packet to send [17:34:55]OFD Sender: No OFD packet to send [17:35:00]OFD Sender: No OFD packet to send [17:35:05]OFD Sender: No OFD packet to send [17:35:10]OFD Sender: No OFD packet to send [17:35:15]OFD Sender: No OFD packet to send [17:35:20]OFD Sender: No OFD packet to send [17:35:25]OFD Sender: No OFD packet to send [17:35:30]OFD Sender: No OFD packet to send [17:35:35]OFD Sender: No OFD packet to send [17:35:40]OFD Sender: No OFD packet to send [17:35:45]OFD Sender: No OFD packet to send [17:35:50]OFD Sender: No OFD packet to send [17:35:55]OFD Sender: No OFD packet to send [17:36:00]OFD Sender: No OFD packet to send [17:36:05]OFD Sender: No OFD packet to send [17:36:10]OFD Sender: No OFD packet to send [17:36:15]OFD Sender: No OFD packet to send [17:36:20]OFD Sender: No OFD packet to send [17:36:25]OFD Sender: No OFD packet to send [17:36:30]OFD Sender: No OFD packet to send [17:36:35]OFD Sender: No OFD packet to send [17:36:40]OFD Sender: No OFD packet to send [17:36:45]OFD Sender: No OFD packet to send [17:36:46]accept exits with 9 [17:36:46]New connection [17:36:46]New thread 3067370852 created [17:36:46]Thread 3067227492 joined [17:36:46]Waiting for new connection... [17:36:46] Sock 9.Parse request [17:36:46]Sock 9.Check first char [17:36:46]Sock 9.First char is OK [17:36:46]request: POST /json_proto HTTP/1.0 [17:36:46]Method: POST [17:36:46]URL: /json_proto [17:36:46]Method is POST - this is cgi request [17:36:46]url: /json_proto [17:36:46]query_string will be loaded in cgi processing [17:36:46]execute_cgi json_proto POST (null) [17:36:46]execute_cgi path=json_proto method=POST [17:36:46]POST find Content-Length [17:36:46]Host: 172.17.56.68:8080 [17:36:46]Content-Length: 811 [17:36:46]Content-Type: application/json [17:36:46] [17:36:46]POST finish read [17:36:46]Found Content-Length = 811 [17:36:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4383", "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" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:36:46]execute_script... [17:36: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)4383", "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" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:36:46]POST & json_proto [17:36:46]process_json_proto [17:36:46]json parsed OK: [17:36:46]protocol is kg_v1.0 [17:36:46]action value=close_receipt [17:36:46]process_action close_receipt [17:36:46]cmd_close_receipt [17:36:46]MH_GetDate [17:36:46]Write to MH i2c: F0 00 00 82 23 94 [17:36:46]Write i2c OK [17:36:46]MH_I2C_Read... [17:36:46]Read from MH i2c: F0 [17:36:46]MH_I2C_Read... [17:36:46]Read from MH i2c: F0 09 00 [17:36:46]MH_I2C_Read... [17:36:46]Read from MH i2c: F0 09 00 82 23 00 B8 50 5F 66 42 69 5C 66 D7 [17:36:46]GetLastDocTimeStamp 1717522262 [17:36:46]current date 1717522616 [17:36:46]FM_GetShiftState [17:36:46]SAM_PROTO_GetShiftState [17:36:46]wFMCommunicate request_size=4 [17:36:46]MH_SAM_APDU [17:36:46]CAPDU: 80 13 01 00 [17:36:46]Write to MH i2c: E2 08 00 83 23 80 13 01 00 00 00 00 00 23 [17:36:46]Write i2c OK [17:36:46]MH_I2C_Read... [17:36:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:36:46]Read from MH i2c: E2 [17:36:46]MH_I2C_Read... [17:36:46]Read from MH i2c: E2 0E 00 [17:36:46]MH_I2C_Read... [17:36:46]Read from MH i2c: E2 0E 00 83 23 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 BC [17:36:46]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:36:46]wFMCommunicate OK [17:36:46]SAM_PROTO_GetShiftState done [17:36:46]FM_GetShiftState done [17:36:46]opened in 1717459822 [17:36:46]opened+sec_in_day 1717546222 [17:36:46]quantity*price = 3500 [17:36:46]sum+1 = 3501 [17:36:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 0.00 Безнал.: 35.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 46 04.06.2024 17:36 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4129 ФПД: 16362518921523 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T173656&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4129&fm=16362518921523&tin=02508201610067®Number=0000000000145775&sum=3500 0 [17:36:47]StoreToDocumentArchive [17:36:47]shift 83 fd 4129 [17:36:47]save to /storage/0083/doc_00004129 [17:36:47]save last doc name /storage/0083/doc_00004129 to /storage/kkm_last_doc_name [17:36:47]save OK [17:36:47]Clear old archive folders... [17:36:47]ProcessDocumentItem done err = 0, tmpTLVsize=278 [17:36:47]tlvbuf is 007AF650 [17:36:47]SAM_PROTO_ClearQueue [17:36:47]wFMCommunicate request_size=4 [17:36:47]MH_SAM_APDU [17:36:47]CAPDU: 80 09 00 00 [17:36:47]Write to MH i2c: E2 08 00 90 23 80 09 00 00 00 00 00 00 25 [17:36:47]Write i2c OK [17:36:47]MH_I2C_Read... [17:36:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:36:47]Read from MH i2c: E2 [17:36:47]MH_I2C_Read... [17:36:47]Read from MH i2c: E2 03 00 [17:36:47]MH_I2C_Read... [17:36:47]Read from MH i2c: E2 03 00 90 23 00 90 00 27 [17:36:47]RAPDU: 90 00 [17:36:47]wFMCommunicate OK [17:36:47]SAM_PROTO_ClearQueue done [17:36:47]KKMCreateOFDPacket [17:36:47]OFDProtocolAddRootSTLVToBuf [17:36:47]FM_MakeSignedData [17:36:47]FM_MakeSignedData [17:36:47]SAM_PROTO_SignData [17:36:47]wFMCommunicate request_size=4 [17:36:47]MH_SAM_APDU [17:36:47]CAPDU: 80 0D 01 02 [17:36:47]Write to MH i2c: E2 08 00 91 23 80 0D 01 02 00 00 00 00 2D [17:36:47]Write i2c OK [17:36:47]MH_I2C_Read... [17:36:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:36:47]Read from MH i2c: E2 [17:36:47]MH_I2C_Read... [17:36:47]Read from MH i2c: E2 03 00 [17:36:47]MH_I2C_Read... [17:36:47]Read from MH i2c: E2 03 00 91 23 00 90 00 28 [17:36:47]RAPDU: 90 00 [17:36:47]wFMCommunicate OK [17:36:47]wFMCommunicate request_size=255 [17:36:47]MH_SAM_APDU [17:36:47]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 B8 50 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 [17:36:47]Write to MH i2c: E2 02 01 92 23 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 B8 50 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 00 00 6A [17:36:47]Write i2c OK [17:36:47]MH_I2C_Read... [17:36:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:36:48]Read from MH i2c: E2 [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: E2 03 00 [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: E2 03 00 92 23 00 90 00 29 [17:36:48]RAPDU: 90 00 [17:36:48]wFMCommunicate OK [17:36:48]wFMCommunicate request_size=37 [17:36:48]MH_SAM_APDU [17:36:48]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 21 10 00 00 35 04 06 00 0E E1 B2 20 C1 33 [17:36:48]Write to MH i2c: E2 28 00 93 23 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 21 10 00 00 35 04 06 00 0E E1 B2 20 C1 33 00 00 6D [17:36:48]Write i2c OK [17:36:48]MH_I2C_Read... [17:36:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:36:48]Read from MH i2c: E2 [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: E2 03 00 [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: E2 03 00 93 23 00 90 00 2A [17:36:48]RAPDU: 90 00 [17:36:48]wFMCommunicate OK [17:36:48]wFMCommunicate request_size=4 [17:36:48]MH_SAM_APDU [17:36:48]CAPDU: 80 0D 03 02 [17:36:48]Write to MH i2c: E2 08 00 94 23 80 0D 03 02 00 00 00 00 32 [17:36:48]Write i2c OK [17:36:48]MH_I2C_Read... [17:36:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:36:48]Read from MH i2c: E2 [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: E2 0B 00 [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: E2 0B 00 94 23 00 90 C8 6B 44 E5 15 5A A7 90 00 35 [17:36:48]RAPDU: 90 C8 6B 44 E5 15 5A A7 90 00 [17:36:48]wFMCommunicate OK [17:36:48]SAM_PROTO_SignData done [17:36:48]FM_MakeSignedData done [17:36:48]CreateOFDProtocolMessage [17:36:48]wFMCommunicate request_size=4 [17:36:48]MH_SAM_APDU [17:36:48]CAPDU: 80 11 00 00 [17:36:48]Write to MH i2c: E2 08 00 95 23 80 11 00 00 00 00 00 00 32 [17:36:48]Write i2c OK [17:36:48]MH_I2C_Read... [17:36:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:36:48]Read from MH i2c: E2 [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: E2 17 00 [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: E2 17 00 95 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 85 [17:36:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:36:48]wFMCommunicate OK [17:36:48]CreateOFDProtocolMessage done [17:36:48]OFDSenderStorePacket 4129 [17:36:48]StoreOFDPacket docnum=4129 [17:36:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2A 01 00 00 99 8F 22 01 AA D2 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 B8 50 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 21 10 00 00 35 04 06 00 0E E1 B2 20 C1 33 90 C8 6B 44 E5 15 5A A7 [17:36:48]CheckFolder [17:36:48]dirname=/storage/ofd_packets [17:36:48]CheckFolder done [17:36:48]ProducePacketName [17:36:48]name=ofd_packets/00004129 [17:36:48]NVStorageSaveData ofd_packets/00004129 [17:36:48]File name is /storage/ofd_packets/00004129 [17:36:48]Write 328 bytes [17:36:48]NVStorageSaveData done [17:36:48]OFDSenderStorePacket done [17:36:48]KKMCreateOFDPacket done [17:36:48]NVStorageSaveData kkm_last_timestamp [17:36:48]File name is /storage/kkm_last_timestamp [17:36:48]Write 4 bytes [17:36:48]NVStorageSaveData done [17:36:48]ExternCall_PrintAddStr [17:36:48]wPrintStart [17:36:48]Write to MH i2c: 01 00 00 96 23 B9 [17:36:48]Write i2c OK [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: 01 [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: 01 07 00 [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: 01 07 00 96 23 00 00 00 00 00 FF 0F CE [17:36:48]RasterBufferAndPrint [17:36:48]line Счет N : (3)4383 [17:36:48]line ИНН: 02508201610067 [17:36:48]line Контрольно-Кассовый Чек [17:36:48]line ПРОДАЖА [17:36:48]line Товар: 4700000310036 [17:36:48]line Вода Жалалабат 27 0,5л [17:36:48]line 1.000 * 35.00 [17:36:48]line = 35.00 [17:36:48]line НДС 12% НСП 1% [17:36:48]line > о реализуемом товаре [17:36:48]line ИТОГО: 35.00 [17:36:48]line НСП 1% : 0.31 [17:36:48]line НДС 12% : 3.72 [17:36:48]line Наличными: 0.00 [17:36:48]line Безнал.: 35.00 [17:36:48]line Место: АЗС № 116 "Партнер Нефть" [17:36:48]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [17:36:48]line СНО: Общий режим [17:36:48]line Чек 46 04.06.2024 17:36 [17:36:48]line Смена: 83 ФФД: 1.0 [17:36:48]line ЗНМ: 0300000233 [17:36:48]line РНМ: 0000000000145775 [17:36:48]line Версия ККМ: v1.0 [17:36:48]line Платежная система: О! деньги [17:36:48]line ФМ: 0000000000959360 [17:36:48]line ФД: 4129 [17:36:48]line ФПД: 16362518921523 [17:36:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T173656&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4129&fm=16362518921523&tin=02508201610067®Number=0000000000145775&sum=3500 [17:36:48]line 0 [17:36:48]OFD Sender: Processing packet 4129 [packets to send 2, broken 1] [17:36:48]ProducePacketName [17:36:48]name=ofd_packets/00004129 [17:36:48]OFD Sender: To server: pG, [17:36:48]CommunicateWithHost lk.salyk.kg:30040 [17:36:48]ConnectInit lk.salyk.kg [17:36:48]written 0, free lines is 4095 [17:36:48]Connected sock=10 [17:36:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2A 01 00 00 99 8F 22 01 AA D2 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 B8 50 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 21 10 00 00 35 04 06 00 0E E1 B2 20 C1 33 90 C8 6B 44 E5 15 5A A7 [17:36:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 AB 9B 47 00 FD 41 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 21 10 00 00 F4 03 04 00 B8 FC 5E 66 B6 04 01 00 00 85 1A D7 72 55 BB 31 50 [17:36:48]CommunicateWithHost err = 0 [17:36:48]CheckOFDResponse [17:36:48]1017 (14) - 77093643461234 [17:36:48]1041 (16) - 0000000000959360 [17:36:48]1040 (4) - 4129 [17:36:48]1012 (4) - 04.06.2024 11:38 [17:36:48]1206 (1) - 0 [17:36:48]OFD Sender: Remove packet 4129 [17:36:48]ProducePacketName [17:36:48]name=ofd_packets/00004129 [17:36:48]NVStorageDeleteData [17:36:48]Write to MH i2c: 01 00 00 C0 23 E3 [17:36:48]Write i2c OK [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: 01 [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: 01 07 00 [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: 01 07 00 C0 23 00 00 00 00 00 9E 0C 94 [17:36:48]RasterBufferAndPrint [17:36:48]line [17:36:48]line [17:36:48]line [17:36:48]line [17:36:48]line [17:36:48]written 0, free lines is 3236 [17:36:48]MH_Cut [17:36:48]Write to MH i2c: D1 01 00 C7 23 01 BC [17:36:48]Write i2c OK [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: D1 [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: D1 01 00 [17:36:48]MH_I2C_Read... [17:36:48]Read from MH i2c: D1 01 00 C7 23 00 BB [17:36:48]Write to MH i2c: 01 00 00 C8 23 EB [17:36:48]Write i2c OK [17:36:48]MH_I2C_Read... [17:36:49]OFD Sender: No OFD packet to send [17:36:49]*** Cut start [17:36:49]*** Partial cut [17:36:49]*** CUTSNS_PIN = 1 [17:36:50]*** CUTSNS_PIN = 0 [17:36:50]*** Brake cut motor [17:36:50]Read from MH i2c: 01 [17:36:50]MH_I2C_Read... [17:36:50]*** Stop cut motor [17:36:50]*** Cut end [17:36:50]Read from MH i2c: 01 07 00 [17:36:50]MH_I2C_Read... [17:36:50]Read from MH i2c: 01 07 00 C8 23 00 00 00 00 00 FF 0F 00 [17:36:50]process_action close_receipt done [17:36:50]requested_data is exist [17:36:50]produce_requested_data [17:36:50]requested_item fm.sn is exist - process it [17:36:50]wFMCommunicate request_size=4 [17:36:50]MH_SAM_APDU [17:36:50]CAPDU: 80 11 00 00 [17:36:50]Write to MH i2c: E2 08 00 C9 23 80 11 00 00 00 00 00 00 66 [17:36:50]Write i2c OK [17:36:50]MH_I2C_Read... [17:36:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:36:50]Read from MH i2c: E2 [17:36:50]MH_I2C_Read... [17:36:50]Read from MH i2c: E2 17 00 [17:36:50]MH_I2C_Read... [17:36:50]Read from MH i2c: E2 17 00 C9 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 B9 [17:36:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:36:50]wFMCommunicate OK [17:36:50]requested_item fd.num is exist - process it [17:36:50]SAM_PROTO_GetFieldsCounters [17:36:50]wFMCommunicate request_size=4 [17:36:50]MH_SAM_APDU [17:36:50]CAPDU: 80 13 00 00 [17:36:50]Write to MH i2c: E2 08 00 CA 23 80 13 00 00 00 00 00 00 69 [17:36:50]Write i2c OK [17:36:50]MH_I2C_Read... [17:36:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:36:50]Read from MH i2c: E2 [17:36:50]MH_I2C_Read... [17:36:50]Read from MH i2c: E2 62 00 [17:36:50]MH_I2C_Read... [17:36:50]Read from MH i2c: E2 62 00 CA 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 21 10 00 00 0E 04 04 00 53 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 9C [17:36:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 21 10 00 00 0E 04 04 00 53 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:36:50]wFMCommunicate OK [17:36:50]SAM_PROTO_GetFieldsCounters done [17:36:50]requested_item shift.num is exist - process it [17:36:50]requested_item shift.opened is exist - process it [17:36:50]req_shift_opened [17:36:50]FM_GetShiftState [17:36:50]SAM_PROTO_GetShiftState [17:36:50]wFMCommunicate request_size=4 [17:36:50]MH_SAM_APDU [17:36:50]CAPDU: 80 13 01 00 [17:36:50]Write to MH i2c: E2 08 00 CB 23 80 13 01 00 00 00 00 00 6B [17:36:50]Write i2c OK [17:36:50]MH_I2C_Read... [17:36:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:36:50]Read from MH i2c: E2 [17:36:50]MH_I2C_Read... [17:36:50]Read from MH i2c: E2 0E 00 [17:36:50]MH_I2C_Read... [17:36:50]Read from MH i2c: E2 0E 00 CB 23 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 04 [17:36:50]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [17:36:50]wFMCommunicate OK [17:36:50]SAM_PROTO_GetShiftState done [17:36:50]FM_GetShiftState done [17:36:50]req_shift_opened done [17:36:50]requested_item shift.open_date is exist - process it [17:36:50]req_shift_open_date [17:36:50]req_shift_open_date done [17:36:50]produce_requested_data done [17:36:50]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4129,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [17:36:50]process_action_free close_receipt [17:36:50]json_value_free [17:36:50]json_value_free done [17:36:50]process_json_proto returns [17:36:50]Send response to host [17:36:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4129,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [17:36:50]free response buf [17:36:50]execute_script done [17:36:50]execute_script returns [17:36:50]free content buf [17:36:50]Sock 9.Close socket [17:36:50]Sock 9.Thread stoped [17:36:54]OFD Sender: No OFD packet to send [17:36:59]OFD Sender: No OFD packet to send [17:37:04]OFD Sender: No OFD packet to send [17:37:09]OFD Sender: No OFD packet to send [17:37:14]OFD Sender: No OFD packet to send [17:37:19]OFD Sender: No OFD packet to send [17:37:24]OFD Sender: No OFD packet to send [17:37:29]OFD Sender: No OFD packet to send [17:37:34]OFD Sender: No OFD packet to send [17:37:39]OFD Sender: No OFD packet to send [17:37:44]OFD Sender: No OFD packet to send [17:37:49]OFD Sender: No OFD packet to send [17:37:54]OFD Sender: No OFD packet to send [17:37:59]OFD Sender: No OFD packet to send [17:38:04]OFD Sender: No OFD packet to send [17:38:09]OFD Sender: No OFD packet to send [17:38:14]OFD Sender: No OFD packet to send [17:38:19]OFD Sender: No OFD packet to send [17:38:24]OFD Sender: No OFD packet to send [17:38:29]OFD Sender: No OFD packet to send [17:38:34]OFD Sender: No OFD packet to send [17:38:39]OFD Sender: No OFD packet to send [17:38:44]OFD Sender: No OFD packet to send [17:38:49]OFD Sender: No OFD packet to send [17:38:54]OFD Sender: No OFD packet to send [17:38:59]OFD Sender: No OFD packet to send [17:39:04]OFD Sender: No OFD packet to send [17:39:09]OFD Sender: No OFD packet to send [17:39:14]OFD Sender: No OFD packet to send [17:39:19]OFD Sender: No OFD packet to send [17:39:24]OFD Sender: No OFD packet to send [17:39:29]OFD Sender: No OFD packet to send [17:39:34]OFD Sender: No OFD packet to send [17:39:39]OFD Sender: No OFD packet to send [17:39:44]OFD Sender: No OFD packet to send [17:39:49]OFD Sender: No OFD packet to send [17:39:54]OFD Sender: No OFD packet to send [17:39:59]OFD Sender: No OFD packet to send [17:40:04]OFD Sender: No OFD packet to send [17:40:09]OFD Sender: No OFD packet to send [17:40:14]OFD Sender: No OFD packet to send [17:40:19]OFD Sender: No OFD packet to send [17:40:24]OFD Sender: No OFD packet to send [17:40:29]OFD Sender: No OFD packet to send [17:40:34]OFD Sender: No OFD packet to send [17:40:39]OFD Sender: No OFD packet to send [17:40:44]OFD Sender: No OFD packet to send [17:40:49]OFD Sender: No OFD packet to send [17:40:54]OFD Sender: No OFD packet to send [17:40:59]OFD Sender: No OFD packet to send [17:41:04]OFD Sender: No OFD packet to send [17:41:09]OFD Sender: No OFD packet to send [17:41:14]OFD Sender: No OFD packet to send [17:41:19]OFD Sender: No OFD packet to send [17:41:24]OFD Sender: No OFD packet to send [17:41:29]OFD Sender: No OFD packet to send [17:41:34]OFD Sender: No OFD packet to send [17:41:39]OFD Sender: No OFD packet to send [17:41:44]OFD Sender: No OFD packet to send [17:41:49]OFD Sender: No OFD packet to send [17:41:54]OFD Sender: No OFD packet to send [17:41:59]OFD Sender: No OFD packet to send [17:42:04]OFD Sender: No OFD packet to send [17:42:09]OFD Sender: No OFD packet to send [17:42:14]OFD Sender: No OFD packet to send [17:42:19]OFD Sender: No OFD packet to send [17:42:24]OFD Sender: No OFD packet to send [17:42:29]OFD Sender: No OFD packet to send [17:42:34]OFD Sender: No OFD packet to send [17:42:39]OFD Sender: No OFD packet to send [17:42:44]OFD Sender: No OFD packet to send [17:42:49]OFD Sender: No OFD packet to send [17:42:54]OFD Sender: No OFD packet to send [17:42:59]OFD Sender: No OFD packet to send [17:43:04]OFD Sender: No OFD packet to send [17:43:09]OFD Sender: No OFD packet to send [17:43:14]OFD Sender: No OFD packet to send [17:43:19]OFD Sender: No OFD packet to send [17:43:24]OFD Sender: No OFD packet to send [17:43:29]OFD Sender: No OFD packet to send [17:43:34]OFD Sender: No OFD packet to send [17:43:39]OFD Sender: No OFD packet to send [17:43:44]OFD Sender: No OFD packet to send [17:43:49]OFD Sender: No OFD packet to send [17:43:54]OFD Sender: No OFD packet to send [17:43:59]OFD Sender: No OFD packet to send [17:44:04]OFD Sender: No OFD packet to send [17:44:09]OFD Sender: No OFD packet to send [17:44:14]OFD Sender: No OFD packet to send [17:44:19]OFD Sender: No OFD packet to send [17:44:24]OFD Sender: No OFD packet to send [17:44:29]OFD Sender: No OFD packet to send [17:44:34]OFD Sender: No OFD packet to send [17:44:39]OFD Sender: No OFD packet to send [17:44:44]OFD Sender: No OFD packet to send [17:44:49]OFD Sender: No OFD packet to send [17:44:54]OFD Sender: No OFD packet to send [17:44:59]OFD Sender: No OFD packet to send [17:45:04]OFD Sender: No OFD packet to send [17:45:09]OFD Sender: No OFD packet to send [17:45:14]OFD Sender: No OFD packet to send [17:45:19]OFD Sender: No OFD packet to send [17:45:24]OFD Sender: No OFD packet to send [17:45:29]OFD Sender: No OFD packet to send [17:45:34]OFD Sender: No OFD packet to send [17:45:39]OFD Sender: No OFD packet to send [17:45:44]OFD Sender: No OFD packet to send [17:45:49]OFD Sender: No OFD packet to send [17:45:54]OFD Sender: No OFD packet to send [17:45:59]OFD Sender: No OFD packet to send [17:46:04]OFD Sender: No OFD packet to send [17:46:09]OFD Sender: No OFD packet to send [17:46:14]OFD Sender: No OFD packet to send [17:46:19]OFD Sender: No OFD packet to send [17:46:24]OFD Sender: No OFD packet to send [17:46:29]OFD Sender: No OFD packet to send [17:46:34]OFD Sender: No OFD packet to send [17:46:39]OFD Sender: No OFD packet to send [17:46:44]OFD Sender: No OFD packet to send [17:46:49]OFD Sender: No OFD packet to send [17:46:54]OFD Sender: No OFD packet to send [17:46:59]OFD Sender: No OFD packet to send [17:47:04]OFD Sender: No OFD packet to send [17:47:09]OFD Sender: No OFD packet to send [17:47:14]OFD Sender: No OFD packet to send [17:47:19]OFD Sender: No OFD packet to send [17:47:24]OFD Sender: No OFD packet to send [17:47:29]OFD Sender: No OFD packet to send [17:47:34]OFD Sender: No OFD packet to send [17:47:39]OFD Sender: No OFD packet to send [17:47:44]OFD Sender: No OFD packet to send [17:47:49]OFD Sender: No OFD packet to send [17:47:54]OFD Sender: No OFD packet to send [17:47:59]OFD Sender: No OFD packet to send [17:48:04]OFD Sender: No OFD packet to send [17:48:09]OFD Sender: No OFD packet to send [17:48:14]OFD Sender: No OFD packet to send [17:48:19]OFD Sender: No OFD packet to send [17:48:24]OFD Sender: No OFD packet to send [17:48:29]OFD Sender: No OFD packet to send [17:48:34]OFD Sender: No OFD packet to send [17:48:39]OFD Sender: No OFD packet to send [17:48:44]OFD Sender: No OFD packet to send [17:48:49]OFD Sender: No OFD packet to send [17:48:54]OFD Sender: No OFD packet to send [17:48:59]OFD Sender: No OFD packet to send [17:49:04]OFD Sender: No OFD packet to send [17:49:09]OFD Sender: No OFD packet to send [17:49:14]OFD Sender: No OFD packet to send [17:49:19]OFD Sender: No OFD packet to send [17:49:24]OFD Sender: No OFD packet to send [17:49:29]OFD Sender: No OFD packet to send [17:49:34]OFD Sender: No OFD packet to send [17:49:39]OFD Sender: No OFD packet to send [17:49:44]OFD Sender: No OFD packet to send [17:49:49]OFD Sender: No OFD packet to send [17:49:54]OFD Sender: No OFD packet to send [17:49:59]OFD Sender: No OFD packet to send [17:50:04]OFD Sender: No OFD packet to send [17:50:09]OFD Sender: No OFD packet to send [17:50:14]OFD Sender: No OFD packet to send [17:50:19]OFD Sender: No OFD packet to send [17:50:24]OFD Sender: No OFD packet to send [17:50:29]OFD Sender: No OFD packet to send [17:50:34]OFD Sender: No OFD packet to send [17:50:39]OFD Sender: No OFD packet to send [17:50:44]OFD Sender: No OFD packet to send [17:50:49]OFD Sender: No OFD packet to send [17:50:54]OFD Sender: No OFD packet to send [17:50:59]OFD Sender: No OFD packet to send [17:51:05]OFD Sender: No OFD packet to send [17:51:10]OFD Sender: No OFD packet to send [17:51:15]OFD Sender: No OFD packet to send [17:51:20]OFD Sender: No OFD packet to send [17:51:25]OFD Sender: No OFD packet to send [17:51:30]OFD Sender: No OFD packet to send [17:51:35]OFD Sender: No OFD packet to send [17:51:40]OFD Sender: No OFD packet to send [17:51:45]OFD Sender: No OFD packet to send [17:51:50]OFD Sender: No OFD packet to send [17:51:55]OFD Sender: No OFD packet to send [17:52:00]OFD Sender: No OFD packet to send [17:52:05]OFD Sender: No OFD packet to send [17:52:10]OFD Sender: No OFD packet to send [17:52:15]OFD Sender: No OFD packet to send [17:52:20]OFD Sender: No OFD packet to send [17:52:25]OFD Sender: No OFD packet to send [17:52:30]OFD Sender: No OFD packet to send [17:52:35]OFD Sender: No OFD packet to send [17:52:40]OFD Sender: No OFD packet to send [17:52:45]OFD Sender: No OFD packet to send [17:52:50]OFD Sender: No OFD packet to send [17:52:55]OFD Sender: No OFD packet to send [17:53:00]OFD Sender: No OFD packet to send [17:53:05]OFD Sender: No OFD packet to send [17:53:10]OFD Sender: No OFD packet to send [17:53:15]OFD Sender: No OFD packet to send [17:53:20]OFD Sender: No OFD packet to send [17:53:25]OFD Sender: No OFD packet to send [17:53:30]OFD Sender: No OFD packet to send [17:53:35]OFD Sender: No OFD packet to send [17:53:40]OFD Sender: No OFD packet to send [17:53:45]OFD Sender: No OFD packet to send [17:53:50]OFD Sender: No OFD packet to send [17:53:55]OFD Sender: No OFD packet to send [17:54:00]OFD Sender: No OFD packet to send [17:54:05]OFD Sender: No OFD packet to send [17:54:10]OFD Sender: No OFD packet to send [17:54:15]OFD Sender: No OFD packet to send [17:54:20]OFD Sender: No OFD packet to send [17:54:25]OFD Sender: No OFD packet to send [17:54:30]OFD Sender: No OFD packet to send [17:54:35]OFD Sender: No OFD packet to send [17:54:40]OFD Sender: No OFD packet to send [17:54:45]OFD Sender: No OFD packet to send [17:54:50]OFD Sender: No OFD packet to send [17:54:55]OFD Sender: No OFD packet to send [17:55:00]OFD Sender: No OFD packet to send [17:55:05]OFD Sender: No OFD packet to send [17:55:10]OFD Sender: No OFD packet to send [17:55:15]OFD Sender: No OFD packet to send [17:55:20]OFD Sender: No OFD packet to send [17:55:25]OFD Sender: No OFD packet to send [17:55:30]OFD Sender: No OFD packet to send [17:55:35]OFD Sender: No OFD packet to send [17:55:40]OFD Sender: No OFD packet to send [17:55:45]OFD Sender: No OFD packet to send [17:55:50]OFD Sender: No OFD packet to send [17:55:55]OFD Sender: No OFD packet to send [17:56:00]OFD Sender: No OFD packet to send [17:56:05]OFD Sender: No OFD packet to send [17:56:10]OFD Sender: No OFD packet to send [17:56:15]OFD Sender: No OFD packet to send [17:56:20]OFD Sender: No OFD packet to send [17:56:25]OFD Sender: No OFD packet to send [17:56:30]OFD Sender: No OFD packet to send [17:56:35]OFD Sender: No OFD packet to send [17:56:40]OFD Sender: No OFD packet to send [17:56:45]OFD Sender: No OFD packet to send [17:56:50]OFD Sender: No OFD packet to send [17:56:55]OFD Sender: No OFD packet to send [17:57:00]OFD Sender: No OFD packet to send [17:57:05]OFD Sender: No OFD packet to send [17:57:10]OFD Sender: No OFD packet to send [17:57:15]OFD Sender: No OFD packet to send [17:57:20]OFD Sender: No OFD packet to send [17:57:25]OFD Sender: No OFD packet to send [17:57:30]OFD Sender: No OFD packet to send [17:57:35]OFD Sender: No OFD packet to send [17:57:40]OFD Sender: No OFD packet to send [17:57:45]OFD Sender: No OFD packet to send [17:57:50]OFD Sender: No OFD packet to send [17:57:55]OFD Sender: No OFD packet to send [17:58:00]OFD Sender: No OFD packet to send [17:58:05]OFD Sender: No OFD packet to send [17:58:10]OFD Sender: No OFD packet to send [17:58:15]OFD Sender: No OFD packet to send [17:58:20]OFD Sender: No OFD packet to send [17:58:25]OFD Sender: No OFD packet to send [17:58:30]OFD Sender: No OFD packet to send [17:58:35]OFD Sender: No OFD packet to send [17:58:40]OFD Sender: No OFD packet to send [17:58:45]OFD Sender: No OFD packet to send [17:58:50]OFD Sender: No OFD packet to send [17:58:55]OFD Sender: No OFD packet to send [17:59:00]OFD Sender: No OFD packet to send [17:59:05]OFD Sender: No OFD packet to send [17:59:10]OFD Sender: No OFD packet to send [17:59:15]OFD Sender: No OFD packet to send [17:59:20]OFD Sender: No OFD packet to send [17:59:25]OFD Sender: No OFD packet to send [17:59:30]OFD Sender: No OFD packet to send [17:59:35]OFD Sender: No OFD packet to send [17:59:40]OFD Sender: No OFD packet to send [17:59:45]OFD Sender: No OFD packet to send [17:59:50]OFD Sender: No OFD packet to send [17:59:55]OFD Sender: No OFD packet to send [18:00:00]OFD Sender: No OFD packet to send [18:00:05]OFD Sender: No OFD packet to send [18:00:10]OFD Sender: No OFD packet to send [18:00:15]OFD Sender: No OFD packet to send [18:00:20]OFD Sender: No OFD packet to send [18:00:25]OFD Sender: No OFD packet to send [18:00:30]OFD Sender: No OFD packet to send [18:00:35]OFD Sender: No OFD packet to send [18:00:40]OFD Sender: No OFD packet to send [18:00:45]OFD Sender: No OFD packet to send [18:00:50]OFD Sender: No OFD packet to send [18:00:55]OFD Sender: No OFD packet to send [18:01:00]OFD Sender: No OFD packet to send [18:01:05]OFD Sender: No OFD packet to send [18:01:10]OFD Sender: No OFD packet to send [18:01:15]OFD Sender: No OFD packet to send [18:01:20]OFD Sender: No OFD packet to send [18:01:25]OFD Sender: No OFD packet to send [18:01:30]OFD Sender: No OFD packet to send [18:01:35]OFD Sender: No OFD packet to send [18:01:40]OFD Sender: No OFD packet to send [18:01:45]OFD Sender: No OFD packet to send [18:01:50]OFD Sender: No OFD packet to send [18:01:55]OFD Sender: No OFD packet to send [18:02:00]OFD Sender: No OFD packet to send [18:02:05]OFD Sender: No OFD packet to send [18:02:10]OFD Sender: No OFD packet to send [18:02:15]OFD Sender: No OFD packet to send [18:02:20]OFD Sender: No OFD packet to send [18:02:25]OFD Sender: No OFD packet to send [18:02:30]OFD Sender: No OFD packet to send [18:02:35]OFD Sender: No OFD packet to send [18:02:40]OFD Sender: No OFD packet to send [18:02:45]OFD Sender: No OFD packet to send [18:02:50]OFD Sender: No OFD packet to send [18:02:55]OFD Sender: No OFD packet to send [18:03:00]OFD Sender: No OFD packet to send [18:03:05]OFD Sender: No OFD packet to send [18:03:10]OFD Sender: No OFD packet to send [18:03:15]OFD Sender: No OFD packet to send [18:03:20]OFD Sender: No OFD packet to send [18:03:25]OFD Sender: No OFD packet to send [18:03:30]OFD Sender: No OFD packet to send [18:03:35]OFD Sender: No OFD packet to send [18:03:40]OFD Sender: No OFD packet to send [18:03:45]OFD Sender: No OFD packet to send [18:03:50]OFD Sender: No OFD packet to send [18:03:55]OFD Sender: No OFD packet to send [18:04:00]OFD Sender: No OFD packet to send [18:04:05]OFD Sender: No OFD packet to send [18:04:10]OFD Sender: No OFD packet to send [18:04:15]OFD Sender: No OFD packet to send [18:04:20]OFD Sender: No OFD packet to send [18:04:25]OFD Sender: No OFD packet to send [18:04:30]OFD Sender: No OFD packet to send [18:04:35]OFD Sender: No OFD packet to send [18:04:40]OFD Sender: No OFD packet to send [18:04:45]OFD Sender: No OFD packet to send [18:04:50]OFD Sender: No OFD packet to send [18:04:55]OFD Sender: No OFD packet to send [18:05:00]OFD Sender: No OFD packet to send [18:05:05]OFD Sender: No OFD packet to send [18:05:10]OFD Sender: No OFD packet to send [18:05:15]OFD Sender: No OFD packet to send [18:05:20]OFD Sender: No OFD packet to send [18:05:25]OFD Sender: No OFD packet to send [18:05:30]OFD Sender: No OFD packet to send [18:05:35]OFD Sender: No OFD packet to send [18:05:40]OFD Sender: No OFD packet to send [18:05:45]OFD Sender: No OFD packet to send [18:05:50]OFD Sender: No OFD packet to send [18:05:55]OFD Sender: No OFD packet to send [18:06:00]OFD Sender: No OFD packet to send [18:06:05]OFD Sender: No OFD packet to send [18:06:10]OFD Sender: No OFD packet to send [18:06:15]OFD Sender: No OFD packet to send [18:06:20]OFD Sender: No OFD packet to send [18:06:25]OFD Sender: No OFD packet to send [18:06:30]OFD Sender: No OFD packet to send [18:06:35]OFD Sender: No OFD packet to send [18:06:40]OFD Sender: No OFD packet to send [18:06:45]OFD Sender: No OFD packet to send [18:06:50]OFD Sender: No OFD packet to send [18:06:55]OFD Sender: No OFD packet to send [18:07:00]OFD Sender: No OFD packet to send [18:07:05]OFD Sender: No OFD packet to send [18:07:10]OFD Sender: No OFD packet to send [18:07:15]OFD Sender: No OFD packet to send [18:07:20]OFD Sender: No OFD packet to send [18:07:25]OFD Sender: No OFD packet to send [18:07:30]OFD Sender: No OFD packet to send [18:07:35]OFD Sender: No OFD packet to send [18:07:40]OFD Sender: No OFD packet to send [18:07:45]OFD Sender: No OFD packet to send [18:07:50]OFD Sender: No OFD packet to send [18:07:55]OFD Sender: No OFD packet to send [18:08:00]OFD Sender: No OFD packet to send [18:08:05]OFD Sender: No OFD packet to send [18:08:10]OFD Sender: No OFD packet to send [18:08:15]OFD Sender: No OFD packet to send [18:08:20]OFD Sender: No OFD packet to send [18:08:25]OFD Sender: No OFD packet to send [18:08:30]OFD Sender: No OFD packet to send [18:08:35]OFD Sender: No OFD packet to send [18:08:40]OFD Sender: No OFD packet to send [18:08:45]OFD Sender: No OFD packet to send [18:08:50]OFD Sender: No OFD packet to send [18:08:55]OFD Sender: No OFD packet to send [18:09:00]OFD Sender: No OFD packet to send [18:09:05]OFD Sender: No OFD packet to send [18:09:10]OFD Sender: No OFD packet to send [18:09:15]OFD Sender: No OFD packet to send [18:09:20]OFD Sender: No OFD packet to send [18:09:25]OFD Sender: No OFD packet to send [18:09:30]OFD Sender: No OFD packet to send [18:09:35]OFD Sender: No OFD packet to send [18:09:40]OFD Sender: No OFD packet to send [18:09:45]OFD Sender: No OFD packet to send [18:09:50]OFD Sender: No OFD packet to send [18:09:55]OFD Sender: No OFD packet to send [18:10:00]OFD Sender: No OFD packet to send [18:10:05]OFD Sender: No OFD packet to send [18:10:10]OFD Sender: No OFD packet to send [18:10:15]OFD Sender: No OFD packet to send [18:10:20]OFD Sender: No OFD packet to send [18:10:25]OFD Sender: No OFD packet to send [18:10:30]OFD Sender: No OFD packet to send [18:10:35]OFD Sender: No OFD packet to send [18:10:40]OFD Sender: No OFD packet to send [18:10:45]OFD Sender: No OFD packet to send [18:10:50]OFD Sender: No OFD packet to send [18:10:55]OFD Sender: No OFD packet to send [18:11:00]OFD Sender: No OFD packet to send [18:11:05]OFD Sender: No OFD packet to send [18:11:10]OFD Sender: No OFD packet to send [18:11:15]OFD Sender: No OFD packet to send [18:11:20]OFD Sender: No OFD packet to send [18:11:22]accept exits with 8 [18:11:22]New connection [18:11:22]New thread 3067227492 created [18:11:22]Thread 3067370852 joined [18:11:22]Waiting for new connection... [18:11:22] Sock 8.Parse request [18:11:22]Sock 8.Check first char [18:11:22]Sock 8.First char is OK [18:11:22]request: POST /json_proto HTTP/1.0 [18:11:22]Method: POST [18:11:22]URL: /json_proto [18:11:22]Method is POST - this is cgi request [18:11:22]url: /json_proto [18:11:22]query_string will be loaded in cgi processing [18:11:22]execute_cgi json_proto POST (null) [18:11:22]execute_cgi path=json_proto method=POST [18:11:22]POST find Content-Length [18:11:22]Host: 172.17.56.68:8080 [18:11:22]Content-Length: 2059 [18:11:22]Content-Type: application/json [18:11:22] [18:11:22]POST finish read [18:11:22]Found Content-Length = 2059 [18:11:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4384", "tax_sys" : 0, "items" : [ { "code": "4630056952082", "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 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4823077609077", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445 Multicake \u0441 \u043A\u0430\u043A\u0430\u043E 180 \u0433\u0440", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100091108", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0430\u0440\u0441 50\u0433", "price" : 59.00, "quantity" : 2.000, "sum" : 118.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" : 140.00, "quantity" : 2.000, "sum" : 280.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": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 702.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:11:22]execute_script... [18:11: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)4384", "tax_sys" : 0, "items" : [ { "code": "4630056952082", "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 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4823077609077", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445 Multicake \u0441 \u043A\u0430\u043A\u0430\u043E 180 \u0433\u0440", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100091108", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0430\u0440\u0441 50\u0433", "price" : 59.00, "quantity" : 2.000, "sum" : 118.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" : 140.00, "quantity" : 2.000, "sum" : 280.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": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 702.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:11:22]POST & json_proto [18:11:22]process_json_proto [18:11:22]json parsed OK: [18:11:22]protocol is kg_v1.0 [18:11:22]action value=close_receipt [18:11:22]process_action close_receipt [18:11:22]cmd_close_receipt [18:11:22]MH_GetDate [18:11:22]Write to MH i2c: F0 00 00 CC 23 DE [18:11:22]Write i2c OK [18:11:22]MH_I2C_Read... [18:11:22]Read from MH i2c: F0 [18:11:22]MH_I2C_Read... [18:11:22]Read from MH i2c: F0 09 00 [18:11:22]MH_I2C_Read... [18:11:22]Read from MH i2c: F0 09 00 CC 23 00 D4 58 5F 66 42 69 5C 66 45 [18:11:22]GetLastDocTimeStamp 1717522616 [18:11:22]current date 1717524692 [18:11:22]FM_GetShiftState [18:11:22]SAM_PROTO_GetShiftState [18:11:22]wFMCommunicate request_size=4 [18:11:22]MH_SAM_APDU [18:11:22]CAPDU: 80 13 01 00 [18:11:22]Write to MH i2c: E2 08 00 CD 23 80 13 01 00 00 00 00 00 6D [18:11:22]Write i2c OK [18:11:22]MH_I2C_Read... [18:11:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:11:22]Read from MH i2c: E2 [18:11:22]MH_I2C_Read... [18:11:22]Read from MH i2c: E2 0E 00 [18:11:22]MH_I2C_Read... [18:11:22]Read from MH i2c: E2 0E 00 CD 23 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 06 [18:11:22]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [18:11:22]wFMCommunicate OK [18:11:22]SAM_PROTO_GetShiftState done [18:11:22]FM_GetShiftState done [18:11:22]opened in 1717459822 [18:11:22]opened+sec_in_day 1717546222 [18:11:22]quantity*price = 5900 [18:11:22]sum+1 = 5901 [18:11:22]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4823077609077 Печ.сах Multicake с какао 180 гр 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4011100091108 Шок Батончик Марс 50г 2.000 * 59.00 = 118.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 2.000 * 140.00 = 280.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160013 Снек Курут индивидуальный 1.000 * 15.00 = 15.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 702.00 НСП 1% : 6.20 НДС 12% : 74.53 Наличными: 702.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 47 04.06.2024 18:11 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4130 ФПД: 117822598212909 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T181132&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4130&fm=117822598212909&tin=02508201610067®Number=0000000000145775&sum=70200 0 [18:11:24]StoreToDocumentArchive [18:11:24]shift 83 fd 4130 [18:11:24]save to /storage/0083/doc_00004130 [18:11:24]save last doc name /storage/0083/doc_00004130 to /storage/kkm_last_doc_name [18:11:24]save OK [18:11:24]Clear old archive folders... [18:11:24]ProcessDocumentItem done err = 0, tmpTLVsize=856 [18:11:24]tlvbuf is 007FF600 [18:11:24]SAM_PROTO_ClearQueue [18:11:24]wFMCommunicate request_size=4 [18:11:24]MH_SAM_APDU [18:11:24]CAPDU: 80 09 00 00 [18:11:24]Write to MH i2c: E2 08 00 DA 23 80 09 00 00 00 00 00 00 6F [18:11:24]Write i2c OK [18:11:24]MH_I2C_Read... [18:11:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:11:24]Read from MH i2c: E2 [18:11:24]MH_I2C_Read... [18:11:24]Read from MH i2c: E2 03 00 [18:11:24]MH_I2C_Read... [18:11:24]Read from MH i2c: E2 03 00 DA 23 00 90 00 71 [18:11:24]RAPDU: 90 00 [18:11:24]wFMCommunicate OK [18:11:24]SAM_PROTO_ClearQueue done [18:11:24]KKMCreateOFDPacket [18:11:24]OFDProtocolAddRootSTLVToBuf [18:11:24]FM_MakeSignedData [18:11:24]FM_MakeSignedData [18:11:24]SAM_PROTO_SignData [18:11:24]wFMCommunicate request_size=4 [18:11:24]MH_SAM_APDU [18:11:24]CAPDU: 80 0D 01 02 [18:11:24]Write to MH i2c: E2 08 00 DB 23 80 0D 01 02 00 00 00 00 77 [18:11:24]Write i2c OK [18:11:24]MH_I2C_Read... [18:11:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:11:24]Read from MH i2c: E2 [18:11:24]MH_I2C_Read... [18:11:24]Read from MH i2c: E2 03 00 [18:11:24]MH_I2C_Read... [18:11:24]Read from MH i2c: E2 03 00 DB 23 00 90 00 72 [18:11:24]RAPDU: 90 00 [18:11:24]wFMCommunicate OK [18:11:24]wFMCommunicate request_size=255 [18:11:24]MH_SAM_APDU [18:11:24]CAPDU: 80 0D 02 02 FA 03 00 58 03 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 30 38 32 06 04 3A 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 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 32 33 30 37 37 36 30 39 30 37 37 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 20 4D 75 6C 74 69 63 61 6B 65 20 D1 81 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 20 31 38 30 20 D0 B3 D1 80 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 [18:11:24]Write to MH i2c: E2 02 01 DC 23 80 0D 02 02 FA 00 03 00 58 03 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 30 38 32 06 04 3A 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 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 32 33 30 37 37 36 30 39 30 37 37 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 20 4D 75 6C 74 69 63 61 6B 65 20 D1 81 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 20 31 38 30 20 D0 B3 D1 80 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 00 FC [18:11:24]Write i2c OK [18:11:24]MH_I2C_Read... [18:11:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:11:24]Read from MH i2c: E2 [18:11:24]MH_I2C_Read... [18:11:24]Read from MH i2c: E2 03 00 [18:11:24]MH_I2C_Read... [18:11:24]Read from MH i2c: E2 03 00 DC 23 00 90 00 73 [18:11:24]RAPDU: 90 00 [18:11:24]wFMCommunicate OK [18:11:24]wFMCommunicate request_size=255 [18:11:24]MH_SAM_APDU [18:11:24]CAPDU: 80 0D 02 02 FA 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 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 9C D0 B0 D1 80 D1 81 20 35 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 18 2E 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 B0 36 00 00 00 00 13 04 06 00 60 6D 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 [18:11:24]Write to MH i2c: E2 02 01 DD 23 80 0D 02 02 FA 00 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 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 9C D0 B0 D1 80 D1 81 20 35 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 18 2E 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 B0 36 00 00 00 00 13 04 06 00 60 6D 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 00 00 19 [18:11:24]Write i2c OK [18:11:24]MH_I2C_Read... [18:11:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:11:24]Read from MH i2c: E2 [18:11:24]MH_I2C_Read... [18:11:24]Read from MH i2c: E2 03 00 [18:11:24]MH_I2C_Read... [18:11:24]Read from MH i2c: E2 03 00 DD 23 00 90 00 74 [18:11:24]RAPDU: 90 00 [18:11:24]wFMCommunicate OK [18:11:24]wFMCommunicate request_size=255 [18:11:24]MH_SAM_APDU [18:11:24]CAPDU: 80 0D 02 02 FA 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 12 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 1D 00 00 00 00 07 04 06 [18:11:24]Write to MH i2c: E2 02 01 DE 23 80 0D 02 02 FA 00 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 12 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 1D 00 00 00 00 07 04 06 00 00 88 [18:11:24]Write i2c OK [18:11:24]MH_I2C_Read... [18:11:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:11:24]Read from MH i2c: E2 [18:11:24]MH_I2C_Read... [18:11:24]Read from MH i2c: E2 03 00 [18:11:25]MH_I2C_Read... [18:11:25]Read from MH i2c: E2 03 00 DE 23 00 90 00 75 [18:11:25]RAPDU: 90 00 [18:11:25]wFMCommunicate OK [18:11:25]wFMCommunicate request_size=115 [18:11:25]MH_SAM_APDU [18:11:25]CAPDU: 80 0D 02 02 6E 00 38 12 01 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 D4 58 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 22 10 00 00 35 04 06 00 6B 28 B6 1C ED 2D [18:11:25]Write to MH i2c: E2 76 00 DF 23 80 0D 02 02 6E 00 00 38 12 01 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 D4 58 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 22 10 00 00 35 04 06 00 6B 28 B6 1C ED 2D 00 00 F4 [18:11:25]Write i2c OK [18:11:25]MH_I2C_Read... [18:11:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:11:25]Read from MH i2c: E2 [18:11:25]MH_I2C_Read... [18:11:25]Read from MH i2c: E2 03 00 [18:11:25]MH_I2C_Read... [18:11:25]Read from MH i2c: E2 03 00 DF 23 00 90 00 76 [18:11:25]RAPDU: 90 00 [18:11:25]wFMCommunicate OK [18:11:25]wFMCommunicate request_size=4 [18:11:25]MH_SAM_APDU [18:11:25]CAPDU: 80 0D 03 02 [18:11:25]Write to MH i2c: E2 08 00 E0 23 80 0D 03 02 00 00 00 00 7E [18:11:25]Write i2c OK [18:11:25]MH_I2C_Read... [18:11:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:11:25]Read from MH i2c: E2 [18:11:25]MH_I2C_Read... [18:11:25]Read from MH i2c: E2 0B 00 [18:11:25]MH_I2C_Read... [18:11:25]Read from MH i2c: E2 0B 00 E0 23 00 E5 4B D4 E1 01 6F CC 17 90 00 B7 [18:11:25]RAPDU: E5 4B D4 E1 01 6F CC 17 90 00 [18:11:25]wFMCommunicate OK [18:11:25]SAM_PROTO_SignData done [18:11:25]FM_MakeSignedData done [18:11:25]CreateOFDProtocolMessage [18:11:25]wFMCommunicate request_size=4 [18:11:25]MH_SAM_APDU [18:11:25]CAPDU: 80 11 00 00 [18:11:25]Write to MH i2c: E2 08 00 E1 23 80 11 00 00 00 00 00 00 7E [18:11:25]Write i2c OK [18:11:25]MH_I2C_Read... [18:11:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:11:25]Read from MH i2c: E2 [18:11:25]MH_I2C_Read... [18:11:25]Read from MH i2c: E2 17 00 [18:11:25]MH_I2C_Read... [18:11:25]Read from MH i2c: E2 17 00 E1 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D1 [18:11:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:11:25]wFMCommunicate OK [18:11:25]CreateOFDProtocolMessage done [18:11:25]OFDSenderStorePacket 4130 [18:11:25]StoreOFDPacket docnum=4130 [18:11:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 6C 03 00 00 4A E7 64 03 30 38 5A 03 01 00 03 00 58 03 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 30 38 32 06 04 3A 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 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 32 33 30 37 37 36 30 39 30 37 37 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 20 4D 75 6C 74 69 63 61 6B 65 20 D1 81 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 20 31 38 30 20 D0 B3 D1 80 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 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 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 9C D0 B0 D1 80 D1 81 20 35 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 18 2E 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 B0 36 00 00 00 00 13 04 06 00 60 6D 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 12 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 1D 00 00 00 00 07 04 06 00 38 12 01 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 D4 58 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 22 10 00 00 35 04 06 00 6B 28 B6 1C ED 2D E5 4B D4 E1 01 6F CC 17 [18:11:25]CheckFolder [18:11:25]dirname=/storage/ofd_packets [18:11:25]CheckFolder done [18:11:25]ProducePacketName [18:11:25]name=ofd_packets/00004130 [18:11:25]NVStorageSaveData ofd_packets/00004130 [18:11:25]File name is /storage/ofd_packets/00004130 [18:11:25]Write 906 bytes [18:11:25]NVStorageSaveData done [18:11:25]OFDSenderStorePacket done [18:11:25]KKMCreateOFDPacket done [18:11:25]NVStorageSaveData kkm_last_timestamp [18:11:25]File name is /storage/kkm_last_timestamp [18:11:25]Write 4 bytes [18:11:25]NVStorageSaveData done [18:11:25]ExternCall_PrintAddStr [18:11:25]wPrintStart [18:11:25]Write to MH i2c: 01 00 00 E2 23 05 [18:11:25]Write i2c OK [18:11:25]MH_I2C_Read... [18:11:25]Read from MH i2c: 01 [18:11:25]MH_I2C_Read... [18:11:25]Read from MH i2c: 01 07 00 [18:11:25]MH_I2C_Read... [18:11:25]OFD Sender: Processing packet 4130 [packets to send 2, broken 1] [18:11:25]ProducePacketName [18:11:25]name=ofd_packets/00004130 [18:11:25]OFD Sender: To server: pG, [18:11:25]CommunicateWithHost lk.salyk.kg:30040 [18:11:25]ConnectInit lk.salyk.kg [18:11:25]Read from MH i2c: 01 07 00 E2 23 00 00 00 00 00 FF 0F 1A [18:11:25]RasterBufferAndPrint [18:11:25]line Счет N : (3)4384 [18:11:25]line ИНН: 02508201610067 [18:11:25]line Контрольно-Кассовый Чек [18:11:25]line ПРОДАЖА [18:11:25]line Товар: 4630056952082 [18:11:25]line Печенье Юбилейное Торжество 120г [18:11:25]line 1.000 * 59.00 [18:11:25]line = 59.00 [18:11:25]line НДС 12% НСП 1% [18:11:25]line > о реализуемом товаре [18:11:25]line Товар: 4823077609077 [18:11:25]line Печ.сах Multicake с какао 180 гр [18:11:25]line 1.000 * 100.00 [18:11:25]line = 100.00 [18:11:25]line НДС 12% НСП 1% [18:11:25]line > о реализуемом товаре [18:11:25]line Товар: 4011100091108 [18:11:25]line Шок Батончик Марс 50г [18:11:25]line 2.000 * 59.00 [18:11:25]line = 118.00 [18:11:25]line НДС 12% НСП 1% [18:11:25]line > о реализуемом товаре [18:11:25]line Товар: 48743570 [18:11:25]line Сигареты Winston XStyle Blue [18:11:25]line 2.000 * 140.00 [18:11:25]line = 280.00 [18:11:25]line НДС 12% НСП 1% [18:11:25]line > о реализуемом товаре [18:11:25]line Товар: 2000036230011 [18:11:25]line Кофе Латте XL(GABB TRADE) [18:11:25]line 1.000 * 130.00 [18:11:25]line = 130.00 [18:11:25]line НДС 12% НСП 1% [18:11:25]line > о реализуемом товаре [18:11:25]line Товар: 4700000160013 [18:11:25]line Снек Курут индивидуальный [18:11:25]line 1.000 * 15.00 [18:11:25]line = 15.00 [18:11:25]line НДС 12% НСП 1% [18:11:25]line > о реализуемом товаре [18:11:25]line ИТОГО: 702.00 [18:11:25]line НСП 1% : 6.20 [18:11:25]line НДС 12% : 74.53 [18:11:25]line Наличными: 702.00 [18:11:25]line Безнал.: 0.00 [18:11:25]line Место: АЗС № 116 "Партнер Нефть" [18:11:25]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [18:11:25]line СНО: Общий режим [18:11:25]line Чек 47 04.06.2024 18:11 [18:11:25]line Смена: 83 ФФД: 1.0 [18:11:25]line ЗНМ: 0300000233 [18:11:25]line РНМ: 0000000000145775 [18:11:25]line Версия ККМ: v1.0 [18:11:25]line ФМ: 0000000000959360 [18:11:25]line ФД: 4130 [18:11:25]line ФПД: 117822598212909 [18:11:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T181132&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4130&fm=117822598212909&tin=02508201610067®Number=0000000000145775&sum=70200 [18:11:25]line 0 [18:11:25]written 0, free lines is 4095 [18:11:25]Connected sock=10 [18:11:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 6C 03 00 00 4A E7 64 03 30 38 5A 03 01 00 03 00 58 03 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 30 38 32 06 04 3A 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 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 32 33 30 37 37 36 30 39 30 37 37 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 20 4D 75 6C 74 69 63 61 6B 65 20 D1 81 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 20 31 38 30 20 D0 B3 D1 80 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 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 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 9C D0 B0 D1 80 D1 81 20 35 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 18 2E 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 B0 36 00 00 00 00 13 04 06 00 60 6D 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 12 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 1D 00 00 00 00 07 04 06 00 38 12 01 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 D4 58 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 22 10 00 00 35 04 06 00 6B 28 B6 1C ED 2D E5 4B D4 E1 01 6F CC 17 [18:11:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 FB D3 47 00 F9 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 30 39 35 39 33 36 30 10 04 04 00 22 10 00 00 F4 03 04 00 D5 04 5F 66 B6 04 01 00 00 8F 37 73 97 17 44 2C 27 [18:11:25]CommunicateWithHost err = 0 [18:11:25]CheckOFDResponse [18:11:25]1017 (14) - 77093643461234 [18:11:25]1041 (16) - 0000000000959360 [18:11:25]1040 (4) - 4130 [18:11:25]1012 (4) - 04.06.2024 12:13 [18:11:25]1206 (1) - 0 [18:11:25]OFD Sender: Remove packet 4130 [18:11:25]ProducePacketName [18:11:25]name=ofd_packets/00004130 [18:11:25]NVStorageDeleteData [18:11:26]Write to MH i2c: 01 00 00 2A 24 4E [18:11:26]Write i2c OK [18:11:26]MH_I2C_Read... [18:11:26]Read from MH i2c: 01 [18:11:26]MH_I2C_Read... [18:11:26]Read from MH i2c: 01 07 00 [18:11:26]MH_I2C_Read... [18:11:26]Read from MH i2c: 01 07 00 2A 24 00 00 00 00 00 99 0A F8 [18:11:26]RasterBufferAndPrint [18:11:26]line [18:11:26]line [18:11:26]line [18:11:26]line [18:11:26]line [18:11:26]written 0, free lines is 2722 [18:11:26]MH_Cut [18:11:26]Write to MH i2c: D1 01 00 31 24 01 27 [18:11:26]Write i2c OK [18:11:26]MH_I2C_Read... [18:11:26]Read from MH i2c: D1 [18:11:26]MH_I2C_Read... [18:11:26]Read from MH i2c: D1 01 00 [18:11:26]MH_I2C_Read... [18:11:26]Read from MH i2c: D1 01 00 31 24 00 26 [18:11:26]Write to MH i2c: 01 00 00 32 24 56 [18:11:26]Write i2c OK [18:11:26]MH_I2C_Read... [18:11:26]OFD Sender: No OFD packet to send [18:11:27]*** Cut start [18:11:27]*** Partial cut [18:11:27]*** CUTSNS_PIN = 1 [18:11:27]*** CUTSNS_PIN = 0 [18:11:28]*** Brake cut motor [18:11:28]Read from MH i2c: 01 [18:11:28]MH_I2C_Read... [18:11:28]*** Stop cut motor [18:11:28]*** Cut end [18:11:28]Read from MH i2c: 01 07 00 [18:11:28]MH_I2C_Read... [18:11:28]Read from MH i2c: 01 07 00 32 24 00 00 00 00 00 FF 0F 6B [18:11:28]process_action close_receipt done [18:11:28]requested_data is exist [18:11:28]produce_requested_data [18:11:28]requested_item fm.sn is exist - process it [18:11:28]wFMCommunicate request_size=4 [18:11:28]MH_SAM_APDU [18:11:28]CAPDU: 80 11 00 00 [18:11:28]Write to MH i2c: E2 08 00 33 24 80 11 00 00 00 00 00 00 D1 [18:11:28]Write i2c OK [18:11:28]MH_I2C_Read... [18:11:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:11:28]Read from MH i2c: E2 [18:11:28]MH_I2C_Read... [18:11:28]Read from MH i2c: E2 17 00 [18:11:28]MH_I2C_Read... [18:11:28]Read from MH i2c: E2 17 00 33 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 24 [18:11:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:11:28]wFMCommunicate OK [18:11:28]requested_item fd.num is exist - process it [18:11:28]SAM_PROTO_GetFieldsCounters [18:11:28]wFMCommunicate request_size=4 [18:11:28]MH_SAM_APDU [18:11:28]CAPDU: 80 13 00 00 [18:11:28]Write to MH i2c: E2 08 00 34 24 80 13 00 00 00 00 00 00 D4 [18:11:28]Write i2c OK [18:11:28]MH_I2C_Read... [18:11:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:11:28]Read from MH i2c: E2 [18:11:28]MH_I2C_Read... [18:11:28]Read from MH i2c: E2 62 00 [18:11:28]MH_I2C_Read... [18:11:28]Read from MH i2c: E2 62 00 34 24 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 22 10 00 00 0E 04 04 00 53 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 0B [18:11:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 22 10 00 00 0E 04 04 00 53 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 [18:11:28]wFMCommunicate OK [18:11:28]SAM_PROTO_GetFieldsCounters done [18:11:28]requested_item shift.num is exist - process it [18:11:28]requested_item shift.opened is exist - process it [18:11:28]req_shift_opened [18:11:28]FM_GetShiftState [18:11:28]SAM_PROTO_GetShiftState [18:11:28]wFMCommunicate request_size=4 [18:11:28]MH_SAM_APDU [18:11:28]CAPDU: 80 13 01 00 [18:11:28]Write to MH i2c: E2 08 00 35 24 80 13 01 00 00 00 00 00 D6 [18:11:28]Write i2c OK [18:11:28]MH_I2C_Read... [18:11:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:11:28]Read from MH i2c: E2 [18:11:28]MH_I2C_Read... [18:11:28]Read from MH i2c: E2 0E 00 [18:11:28]MH_I2C_Read... [18:11:28]Read from MH i2c: E2 0E 00 35 24 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 6F [18:11:28]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [18:11:28]wFMCommunicate OK [18:11:28]SAM_PROTO_GetShiftState done [18:11:28]FM_GetShiftState done [18:11:28]req_shift_opened done [18:11:28]requested_item shift.open_date is exist - process it [18:11:28]req_shift_open_date [18:11:28]req_shift_open_date done [18:11:28]produce_requested_data done [18:11:28]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4130,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [18:11:28]process_action_free close_receipt [18:11:28]json_value_free [18:11:28]json_value_free done [18:11:28]process_json_proto returns [18:11:28]Send response to host [18:11:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4130,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [18:11:28]free response buf [18:11:28]execute_script done [18:11:28]execute_script returns [18:11:28]free content buf [18:11:28]Sock 8.Close socket [18:11:28]Sock 8.Thread stoped [18:11:31]OFD Sender: No OFD packet to send [18:11:36]OFD Sender: No OFD packet to send [18:11:41]OFD Sender: No OFD packet to send [18:11:46]OFD Sender: No OFD packet to send [18:11:51]OFD Sender: No OFD packet to send [18:11:56]OFD Sender: No OFD packet to send [18:12:01]OFD Sender: No OFD packet to send [18:12:06]OFD Sender: No OFD packet to send [18:12:11]OFD Sender: No OFD packet to send [18:12:16]OFD Sender: No OFD packet to send [18:12:21]OFD Sender: No OFD packet to send [18:12:26]OFD Sender: No OFD packet to send [18:12:31]OFD Sender: No OFD packet to send [18:12:36]OFD Sender: No OFD packet to send [18:12:41]OFD Sender: No OFD packet to send [18:12:46]OFD Sender: No OFD packet to send [18:12:51]OFD Sender: No OFD packet to send [18:12:56]OFD Sender: No OFD packet to send [18:13:01]OFD Sender: No OFD packet to send [18:13:06]OFD Sender: No OFD packet to send [18:13:11]OFD Sender: No OFD packet to send [18:13:16]OFD Sender: No OFD packet to send [18:13:21]OFD Sender: No OFD packet to send [18:13:26]OFD Sender: No OFD packet to send [18:13:31]OFD Sender: No OFD packet to send [18:13:36]OFD Sender: No OFD packet to send [18:13:41]OFD Sender: No OFD packet to send [18:13:46]OFD Sender: No OFD packet to send [18:13:51]OFD Sender: No OFD packet to send [18:13:56]OFD Sender: No OFD packet to send [18:14:01]OFD Sender: No OFD packet to send [18:14:06]OFD Sender: No OFD packet to send [18:14:11]OFD Sender: No OFD packet to send [18:14:16]OFD Sender: No OFD packet to send [18:14:21]OFD Sender: No OFD packet to send [18:14:26]OFD Sender: No OFD packet to send [18:14:31]OFD Sender: No OFD packet to send [18:14:36]OFD Sender: No OFD packet to send [18:14:41]OFD Sender: No OFD packet to send [18:14:46]OFD Sender: No OFD packet to send [18:14:51]OFD Sender: No OFD packet to send [18:14:56]OFD Sender: No OFD packet to send [18:15:01]OFD Sender: No OFD packet to send [18:15:06]OFD Sender: No OFD packet to send [18:15:11]OFD Sender: No OFD packet to send [18:15:16]OFD Sender: No OFD packet to send [18:15:21]OFD Sender: No OFD packet to send [18:15:26]OFD Sender: No OFD packet to send [18:15:31]OFD Sender: No OFD packet to send [18:15:36]OFD Sender: No OFD packet to send [18:15:41]OFD Sender: No OFD packet to send [18:15:46]OFD Sender: No OFD packet to send [18:15:51]OFD Sender: No OFD packet to send [18:15:56]OFD Sender: No OFD packet to send [18:16:01]OFD Sender: No OFD packet to send [18:16:06]OFD Sender: No OFD packet to send [18:16:11]OFD Sender: No OFD packet to send [18:16:16]OFD Sender: No OFD packet to send [18:16:21]OFD Sender: No OFD packet to send [18:16:26]OFD Sender: No OFD packet to send [18:16:31]OFD Sender: No OFD packet to send [18:16:36]OFD Sender: No OFD packet to send [18:16:41]OFD Sender: No OFD packet to send [18:16:46]OFD Sender: No OFD packet to send [18:16:51]OFD Sender: No OFD packet to send [18:16:56]OFD Sender: No OFD packet to send [18:17:01]OFD Sender: No OFD packet to send [18:17:06]OFD Sender: No OFD packet to send [18:17:11]OFD Sender: No OFD packet to send [18:17:16]OFD Sender: No OFD packet to send [18:17:21]OFD Sender: No OFD packet to send [18:17:26]OFD Sender: No OFD packet to send [18:17:31]OFD Sender: No OFD packet to send [18:17:36]OFD Sender: No OFD packet to send [18:17:41]OFD Sender: No OFD packet to send [18:17:46]OFD Sender: No OFD packet to send [18:17:51]OFD Sender: No OFD packet to send [18:17:56]OFD Sender: No OFD packet to send [18:18:01]OFD Sender: No OFD packet to send [18:18:06]OFD Sender: No OFD packet to send [18:18:11]OFD Sender: No OFD packet to send [18:18:16]OFD Sender: No OFD packet to send [18:18:21]OFD Sender: No OFD packet to send [18:18:26]OFD Sender: No OFD packet to send [18:18:31]OFD Sender: No OFD packet to send [18:18:36]OFD Sender: No OFD packet to send [18:18:41]OFD Sender: No OFD packet to send [18:18:46]OFD Sender: No OFD packet to send [18:18:51]OFD Sender: No OFD packet to send [18:18:56]OFD Sender: No OFD packet to send [18:19:01]OFD Sender: No OFD packet to send [18:19:06]OFD Sender: No OFD packet to send [18:19:11]OFD Sender: No OFD packet to send [18:19:16]OFD Sender: No OFD packet to send [18:19:21]OFD Sender: No OFD packet to send [18:19:26]OFD Sender: No OFD packet to send [18:19:31]OFD Sender: No OFD packet to send [18:19:36]OFD Sender: No OFD packet to send [18:19:41]OFD Sender: No OFD packet to send [18:19:46]OFD Sender: No OFD packet to send [18:19:51]OFD Sender: No OFD packet to send [18:19:56]OFD Sender: No OFD packet to send [18:20:01]OFD Sender: No OFD packet to send [18:20:06]OFD Sender: No OFD packet to send [18:20:11]OFD Sender: No OFD packet to send [18:20:16]OFD Sender: No OFD packet to send [18:20:21]OFD Sender: No OFD packet to send [18:20:26]OFD Sender: No OFD packet to send [18:20:31]OFD Sender: No OFD packet to send [18:20:36]OFD Sender: No OFD packet to send [18:20:41]OFD Sender: No OFD packet to send [18:20:46]OFD Sender: No OFD packet to send [18:20:51]OFD Sender: No OFD packet to send [18:20:56]OFD Sender: No OFD packet to send [18:21:01]OFD Sender: No OFD packet to send [18:21:06]OFD Sender: No OFD packet to send [18:21:11]OFD Sender: No OFD packet to send [18:21:16]OFD Sender: No OFD packet to send [18:21:21]OFD Sender: No OFD packet to send [18:21:26]OFD Sender: No OFD packet to send [18:21:31]OFD Sender: No OFD packet to send [18:21:36]OFD Sender: No OFD packet to send [18:21:41]OFD Sender: No OFD packet to send [18:21:46]OFD Sender: No OFD packet to send [18:21:51]OFD Sender: No OFD packet to send [18:21:56]OFD Sender: No OFD packet to send [18:22:01]OFD Sender: No OFD packet to send [18:22:06]OFD Sender: No OFD packet to send [18:22:11]OFD Sender: No OFD packet to send [18:22:16]OFD Sender: No OFD packet to send [18:22:21]OFD Sender: No OFD packet to send [18:22:26]OFD Sender: No OFD packet to send [18:22:31]OFD Sender: No OFD packet to send [18:22:36]OFD Sender: No OFD packet to send [18:22:42]OFD Sender: No OFD packet to send [18:22:47]OFD Sender: No OFD packet to send [18:22:52]OFD Sender: No OFD packet to send [18:22:57]OFD Sender: No OFD packet to send [18:23:02]OFD Sender: No OFD packet to send [18:23:07]OFD Sender: No OFD packet to send [18:23:12]OFD Sender: No OFD packet to send [18:23:17]OFD Sender: No OFD packet to send [18:23:22]OFD Sender: No OFD packet to send [18:23:27]OFD Sender: No OFD packet to send [18:23:32]OFD Sender: No OFD packet to send [18:23:37]OFD Sender: No OFD packet to send [18:23:42]OFD Sender: No OFD packet to send [18:23:47]OFD Sender: No OFD packet to send [18:23:52]OFD Sender: No OFD packet to send [18:23:57]OFD Sender: No OFD packet to send [18:24:02]OFD Sender: No OFD packet to send [18:24:07]OFD Sender: No OFD packet to send [18:24:12]OFD Sender: No OFD packet to send [18:24:17]OFD Sender: No OFD packet to send [18:24:22]OFD Sender: No OFD packet to send [18:24:27]OFD Sender: No OFD packet to send [18:24:32]OFD Sender: No OFD packet to send [18:24:37]OFD Sender: No OFD packet to send [18:24:42]OFD Sender: No OFD packet to send [18:24:47]OFD Sender: No OFD packet to send [18:24:52]OFD Sender: No OFD packet to send [18:24:57]OFD Sender: No OFD packet to send [18:25:02]OFD Sender: No OFD packet to send [18:25:07]OFD Sender: No OFD packet to send [18:25:12]OFD Sender: No OFD packet to send [18:25:17]OFD Sender: No OFD packet to send [18:25:22]OFD Sender: No OFD packet to send [18:25:27]OFD Sender: No OFD packet to send [18:25:32]OFD Sender: No OFD packet to send [18:25:37]OFD Sender: No OFD packet to send [18:25:42]OFD Sender: No OFD packet to send [18:25:47]OFD Sender: No OFD packet to send [18:25:52]OFD Sender: No OFD packet to send [18:25:57]OFD Sender: No OFD packet to send [18:26:02]OFD Sender: No OFD packet to send [18:26:07]OFD Sender: No OFD packet to send [18:26:12]OFD Sender: No OFD packet to send [18:26:17]OFD Sender: No OFD packet to send [18:26:22]OFD Sender: No OFD packet to send [18:26:27]OFD Sender: No OFD packet to send [18:26:32]OFD Sender: No OFD packet to send [18:26:37]OFD Sender: No OFD packet to send [18:26:42]OFD Sender: No OFD packet to send [18:26:47]OFD Sender: No OFD packet to send [18:26:52]OFD Sender: No OFD packet to send [18:26:57]OFD Sender: No OFD packet to send [18:27:02]OFD Sender: No OFD packet to send [18:27:07]OFD Sender: No OFD packet to send [18:27:12]OFD Sender: No OFD packet to send [18:27:17]OFD Sender: No OFD packet to send [18:27:22]OFD Sender: No OFD packet to send [18:27:27]OFD Sender: No OFD packet to send [18:27:32]OFD Sender: No OFD packet to send [18:27:37]OFD Sender: No OFD packet to send [18:27:42]OFD Sender: No OFD packet to send [18:27:47]OFD Sender: No OFD packet to send [18:27:52]OFD Sender: No OFD packet to send [18:27:57]OFD Sender: No OFD packet to send [18:28:02]OFD Sender: No OFD packet to send [18:28:07]OFD Sender: No OFD packet to send [18:28:12]OFD Sender: No OFD packet to send [18:28:17]OFD Sender: No OFD packet to send [18:28:22]OFD Sender: No OFD packet to send [18:28:27]OFD Sender: No OFD packet to send [18:28:32]OFD Sender: No OFD packet to send [18:28:37]OFD Sender: No OFD packet to send [18:28:42]OFD Sender: No OFD packet to send [18:28:47]OFD Sender: No OFD packet to send [18:28:52]OFD Sender: No OFD packet to send [18:28:57]OFD Sender: No OFD packet to send [18:29:02]OFD Sender: No OFD packet to send [18:29:07]OFD Sender: No OFD packet to send [18:29:12]OFD Sender: No OFD packet to send [18:29:17]OFD Sender: No OFD packet to send [18:29:22]OFD Sender: No OFD packet to send [18:29:27]OFD Sender: No OFD packet to send [18:29:32]OFD Sender: No OFD packet to send [18:29:37]OFD Sender: No OFD packet to send [18:29:42]OFD Sender: No OFD packet to send [18:29:47]OFD Sender: No OFD packet to send [18:29:52]OFD Sender: No OFD packet to send [18:29:57]OFD Sender: No OFD packet to send [18:30:02]OFD Sender: No OFD packet to send [18:30:07]OFD Sender: No OFD packet to send [18:30:12]OFD Sender: No OFD packet to send [18:30:17]OFD Sender: No OFD packet to send [18:30:22]OFD Sender: No OFD packet to send [18:30:27]OFD Sender: No OFD packet to send [18:30:32]OFD Sender: No OFD packet to send [18:30:37]OFD Sender: No OFD packet to send [18:30:42]OFD Sender: No OFD packet to send [18:30:47]OFD Sender: No OFD packet to send [18:30:52]OFD Sender: No OFD packet to send [18:30:57]OFD Sender: No OFD packet to send [18:31:02]OFD Sender: No OFD packet to send [18:31:07]OFD Sender: No OFD packet to send [18:31:12]OFD Sender: No OFD packet to send [18:31:17]OFD Sender: No OFD packet to send [18:31:22]OFD Sender: No OFD packet to send [18:31:27]OFD Sender: No OFD packet to send [18:31:32]OFD Sender: No OFD packet to send [18:31:37]OFD Sender: No OFD packet to send [18:31:42]OFD Sender: No OFD packet to send [18:31:47]OFD Sender: No OFD packet to send [18:31:52]OFD Sender: No OFD packet to send [18:31:57]OFD Sender: No OFD packet to send [18:32:02]OFD Sender: No OFD packet to send [18:32:07]OFD Sender: No OFD packet to send [18:32:12]OFD Sender: No OFD packet to send [18:32:17]OFD Sender: No OFD packet to send [18:32:22]OFD Sender: No OFD packet to send [18:32:27]OFD Sender: No OFD packet to send [18:32:32]OFD Sender: No OFD packet to send [18:32:37]OFD Sender: No OFD packet to send [18:32:42]OFD Sender: No OFD packet to send [18:32:47]OFD Sender: No OFD packet to send [18:32:52]OFD Sender: No OFD packet to send [18:32:57]OFD Sender: No OFD packet to send [18:33:02]OFD Sender: No OFD packet to send [18:33:07]OFD Sender: No OFD packet to send [18:33:12]OFD Sender: No OFD packet to send [18:33:17]OFD Sender: No OFD packet to send [18:33:22]OFD Sender: No OFD packet to send [18:33:27]OFD Sender: No OFD packet to send [18:33:32]OFD Sender: No OFD packet to send [18:33:37]OFD Sender: No OFD packet to send [18:33:42]OFD Sender: No OFD packet to send [18:33:47]OFD Sender: No OFD packet to send [18:33:52]OFD Sender: No OFD packet to send [18:33:57]OFD Sender: No OFD packet to send [18:34:02]OFD Sender: No OFD packet to send [18:34:07]OFD Sender: No OFD packet to send [18:34:12]OFD Sender: No OFD packet to send [18:34:17]OFD Sender: No OFD packet to send [18:34:22]OFD Sender: No OFD packet to send [18:34:27]OFD Sender: No OFD packet to send [18:34:32]OFD Sender: No OFD packet to send [18:34:37]OFD Sender: No OFD packet to send [18:34:42]OFD Sender: No OFD packet to send [18:34:47]OFD Sender: No OFD packet to send [18:34:52]OFD Sender: No OFD packet to send [18:34:57]OFD Sender: No OFD packet to send [18:35:02]OFD Sender: No OFD packet to send [18:35:07]OFD Sender: No OFD packet to send [18:35:12]OFD Sender: No OFD packet to send [18:35:17]OFD Sender: No OFD packet to send [18:35:22]OFD Sender: No OFD packet to send [18:35:27]OFD Sender: No OFD packet to send [18:35:32]OFD Sender: No OFD packet to send [18:35:37]OFD Sender: No OFD packet to send [18:35:42]OFD Sender: No OFD packet to send [18:35:47]OFD Sender: No OFD packet to send [18:35:52]OFD Sender: No OFD packet to send [18:35:57]OFD Sender: No OFD packet to send [18:36:02]OFD Sender: No OFD packet to send [18:36:07]OFD Sender: No OFD packet to send [18:36:12]OFD Sender: No OFD packet to send [18:36:17]OFD Sender: No OFD packet to send [18:36:22]OFD Sender: No OFD packet to send [18:36:27]OFD Sender: No OFD packet to send [18:36:32]OFD Sender: No OFD packet to send [18:36:37]OFD Sender: No OFD packet to send [18:36:42]OFD Sender: No OFD packet to send [18:36:47]OFD Sender: No OFD packet to send [18:36:52]OFD Sender: No OFD packet to send [18:36:54]accept exits with 9 [18:36:54]New connection [18:36:54]New thread 3067370852 created [18:36:54]Thread 3067227492 joined [18:36:54]Waiting for new connection... [18:36:54] Sock 9.Parse request [18:36:54]Sock 9.Check first char [18:36:54]Sock 9.First char is OK [18:36:54]request: POST /json_proto HTTP/1.0 [18:36:54]Method: POST [18:36:54]URL: /json_proto [18:36:54]Method is POST - this is cgi request [18:36:54]url: /json_proto [18:36:54]query_string will be loaded in cgi processing [18:36:54]execute_cgi json_proto POST (null) [18:36:54]execute_cgi path=json_proto method=POST [18:36:54]POST find Content-Length [18:36:54]Host: 172.17.56.68:8080 [18:36:54]Content-Length: 933 [18:36:54]Content-Type: application/json [18:36:54] [18:36:54]POST finish read [18:36:54]Found Content-Length = 933 [18:36:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4385", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 223.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:36:54]execute_script... [18:36: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)4385", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 223.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:36:54]POST & json_proto [18:36:54]process_json_proto [18:36:54]json parsed OK: [18:36:54]protocol is kg_v1.0 [18:36:54]action value=close_receipt [18:36:54]process_action close_receipt [18:36:54]cmd_close_receipt [18:36:54]MH_GetDate [18:36:54]Write to MH i2c: F0 00 00 36 24 49 [18:36:54]Write i2c OK [18:36:54]MH_I2C_Read... [18:36:54]Read from MH i2c: F0 [18:36:54]MH_I2C_Read... [18:36:54]Read from MH i2c: F0 09 00 [18:36:54]MH_I2C_Read... [18:36:54]Read from MH i2c: F0 09 00 36 24 00 D0 5E 5F 66 42 69 5C 66 B2 [18:36:54]GetLastDocTimeStamp 1717524692 [18:36:54]current date 1717526224 [18:36:54]FM_GetShiftState [18:36:54]SAM_PROTO_GetShiftState [18:36:54]wFMCommunicate request_size=4 [18:36:54]MH_SAM_APDU [18:36:54]CAPDU: 80 13 01 00 [18:36:54]Write to MH i2c: E2 08 00 37 24 80 13 01 00 00 00 00 00 D8 [18:36:54]Write i2c OK [18:36:54]MH_I2C_Read... [18:36:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:36:54]Read from MH i2c: E2 [18:36:54]MH_I2C_Read... [18:36:54]Read from MH i2c: E2 0E 00 [18:36:54]MH_I2C_Read... [18:36:54]Read from MH i2c: E2 0E 00 37 24 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 71 [18:36:54]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [18:36:54]wFMCommunicate OK [18:36:54]SAM_PROTO_GetShiftState done [18:36:54]FM_GetShiftState done [18:36:54]opened in 1717459822 [18:36:54]opened+sec_in_day 1717546222 [18:36:54]quantity*price = 13800 [18:36:54]sum+1 = 13801 [18:36:54]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480364 Напиток энерг Nitro экзотик 0.45 ж/б 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 223.00 НСП 1% : 1.97 НДС 12% : 23.68 Наличными: 223.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 48 04.06.2024 18:37 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4131 ФПД: 159753319653774 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T183704&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4131&fm=159753319653774&tin=02508201610067®Number=0000000000145775&sum=22300 0 [18:36:55]StoreToDocumentArchive [18:36:55]shift 83 fd 4131 [18:36:55]save to /storage/0083/doc_00004131 [18:36:55]save last doc name /storage/0083/doc_00004131 to /storage/kkm_last_doc_name [18:36:55]save OK [18:36:55]Clear old archive folders... [18:36:55]ProcessDocumentItem done err = 0, tmpTLVsize=403 [18:36:55]tlvbuf is 007F6200 [18:36:55]SAM_PROTO_ClearQueue [18:36:55]wFMCommunicate request_size=4 [18:36:55]MH_SAM_APDU [18:36:55]CAPDU: 80 09 00 00 [18:36:55]Write to MH i2c: E2 08 00 44 24 80 09 00 00 00 00 00 00 DA [18:36:55]Write i2c OK [18:36:55]MH_I2C_Read... [18:36:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:36:55]Read from MH i2c: E2 [18:36:55]MH_I2C_Read... [18:36:55]Read from MH i2c: E2 03 00 [18:36:55]MH_I2C_Read... [18:36:55]Read from MH i2c: E2 03 00 44 24 00 90 00 DC [18:36:55]RAPDU: 90 00 [18:36:55]wFMCommunicate OK [18:36:55]SAM_PROTO_ClearQueue done [18:36:55]KKMCreateOFDPacket [18:36:55]OFDProtocolAddRootSTLVToBuf [18:36:55]FM_MakeSignedData [18:36:55]FM_MakeSignedData [18:36:55]SAM_PROTO_SignData [18:36:55]wFMCommunicate request_size=4 [18:36:55]MH_SAM_APDU [18:36:55]CAPDU: 80 0D 01 02 [18:36:55]Write to MH i2c: E2 08 00 45 24 80 0D 01 02 00 00 00 00 E2 [18:36:55]Write i2c OK [18:36:55]MH_I2C_Read... [18:36:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:36:55]Read from MH i2c: E2 [18:36:55]MH_I2C_Read... [18:36:55]Read from MH i2c: E2 03 00 [18:36:55]MH_I2C_Read... [18:36:55]Read from MH i2c: E2 03 00 45 24 00 90 00 DD [18:36:55]RAPDU: 90 00 [18:36:55]wFMCommunicate OK [18:36:55]wFMCommunicate request_size=255 [18:36:55]MH_SAM_APDU [18:36:55]CAPDU: 80 0D 02 02 FA 03 00 93 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 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 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 FC 03 06 00 1C 57 00 00 [18:36:55]Write to MH i2c: E2 02 01 46 24 80 0D 02 02 FA 00 03 00 93 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 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 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 FC 03 06 00 1C 57 00 00 00 00 43 [18:36:55]Write i2c OK [18:36:55]MH_I2C_Read... [18:36:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:36:55]Read from MH i2c: E2 [18:36:55]MH_I2C_Read... [18:36:55]Read from MH i2c: E2 03 00 [18:36:55]MH_I2C_Read... [18:36:55]Read from MH i2c: E2 03 00 46 24 00 90 00 DE [18:36:55]RAPDU: 90 00 [18:36:55]wFMCommunicate OK [18:36:55]wFMCommunicate request_size=162 [18:36:55]MH_SAM_APDU [18:36:55]CAPDU: 80 0D 02 02 9D 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 09 00 00 00 00 07 04 06 00 1C 57 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 D0 5E 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 23 10 00 00 35 04 06 00 91 4B 77 DE A1 8E [18:36:55]Write to MH i2c: E2 A5 00 47 24 80 0D 02 02 9D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 09 00 00 00 00 07 04 06 00 1C 57 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 D0 5E 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 23 10 00 00 35 04 06 00 91 4B 77 DE A1 8E 00 00 EA [18:36:55]Write i2c OK [18:36:55]MH_I2C_Read... [18:36:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:36:56]Read from MH i2c: E2 [18:36:56]MH_I2C_Read... [18:36:56]Read from MH i2c: E2 03 00 [18:36:56]MH_I2C_Read... [18:36:56]Read from MH i2c: E2 03 00 47 24 00 90 00 DF [18:36:56]RAPDU: 90 00 [18:36:56]wFMCommunicate OK [18:36:56]wFMCommunicate request_size=4 [18:36:56]MH_SAM_APDU [18:36:56]CAPDU: 80 0D 03 02 [18:36:56]Write to MH i2c: E2 08 00 48 24 80 0D 03 02 00 00 00 00 E7 [18:36:56]Write i2c OK [18:36:56]MH_I2C_Read... [18:36:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:36:56]Read from MH i2c: E2 [18:36:56]MH_I2C_Read... [18:36:56]Read from MH i2c: E2 0B 00 [18:36:56]MH_I2C_Read... [18:36:56]Read from MH i2c: E2 0B 00 48 24 00 25 E3 C6 59 84 F5 0F 0F 90 00 A6 [18:36:56]RAPDU: 25 E3 C6 59 84 F5 0F 0F 90 00 [18:36:56]wFMCommunicate OK [18:36:56]SAM_PROTO_SignData done [18:36:56]FM_MakeSignedData done [18:36:56]CreateOFDProtocolMessage [18:36:56]wFMCommunicate request_size=4 [18:36:56]MH_SAM_APDU [18:36:56]CAPDU: 80 11 00 00 [18:36:56]Write to MH i2c: E2 08 00 49 24 80 11 00 00 00 00 00 00 E7 [18:36:56]Write i2c OK [18:36:56]MH_I2C_Read... [18:36:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:36:56]Read from MH i2c: E2 [18:36:56]MH_I2C_Read... [18:36:56]Read from MH i2c: E2 17 00 [18:36:56]MH_I2C_Read... [18:36:56]Read from MH i2c: E2 17 00 49 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 3A [18:36:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:36:56]wFMCommunicate OK [18:36:56]CreateOFDProtocolMessage done [18:36:56]OFDSenderStorePacket 4131 [18:36:56]StoreOFDPacket docnum=4131 [18:36:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 A7 01 00 00 6F E0 9F 01 EA 51 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 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 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 FC 03 06 00 1C 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 09 00 00 00 00 07 04 06 00 1C 57 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 D0 5E 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 23 10 00 00 35 04 06 00 91 4B 77 DE A1 8E 25 E3 C6 59 84 F5 0F 0F [18:36:56]CheckFolder [18:36:56]dirname=/storage/ofd_packets [18:36:56]CheckFolder done [18:36:56]ProducePacketName [18:36:56]name=ofd_packets/00004131 [18:36:56]NVStorageSaveData ofd_packets/00004131 [18:36:56]File name is /storage/ofd_packets/00004131 [18:36:56]Write 453 bytes [18:36:56]NVStorageSaveData done [18:36:56]OFDSenderStorePacket done [18:36:56]KKMCreateOFDPacket done [18:36:56]NVStorageSaveData kkm_last_timestamp [18:36:56]File name is /storage/kkm_last_timestamp [18:36:56]Write 4 bytes [18:36:56]NVStorageSaveData done [18:36:56]ExternCall_PrintAddStr [18:36:56]wPrintStart [18:36:56]Write to MH i2c: 01 00 00 4A 24 6E [18:36:56]OFD Sender: Processing packet 4131 [packets to send 2, broken 1] [18:36:56]ProducePacketName [18:36:56]name=ofd_packets/00004131 [18:36:56]OFD Sender: To server: pG, [18:36:56]CommunicateWithHost lk.salyk.kg:30040 [18:36:56]ConnectInit lk.salyk.kg [18:36:56]Write i2c OK [18:36:56]MH_I2C_Read... [18:36:56]Read from MH i2c: 01 [18:36:56]MH_I2C_Read... [18:36:56]Read from MH i2c: 01 07 00 [18:36:56]MH_I2C_Read... [18:36:56]Read from MH i2c: 01 07 00 4A 24 00 00 00 00 00 FF 0F 83 [18:36:56]RasterBufferAndPrint [18:36:56]line Счет N : (3)4385 [18:36:56]line ИНН: 02508201610067 [18:36:56]line Контрольно-Кассовый Чек [18:36:56]line ПРОДАЖА [18:36:56]line Товар: 4640030091645 [18:36:56]line Сигареты ESSE Exchange M [18:36:56]line 1.000 * 138.00 [18:36:56]line = 138.00 [18:36:56]line НДС 12% НСП 1% [18:36:56]line > о реализуемом товаре [18:36:56]line Товар: 4700000480364 [18:36:56]line Напиток энерг Nitro экзотик 0.45 ж/б [18:36:56]line 1.000 * 85.00 [18:36:56]line = 85.00 [18:36:56]line НДС 12% НСП 1% [18:36:56]line > о реализуемом товаре [18:36:56]line ИТОГО: 223.00 [18:36:56]line НСП 1% : 1.97 [18:36:56]line НДС 12% : 23.68 [18:36:56]line Наличными: 223.00 [18:36:56]line Безнал.: 0.00 [18:36:56]line Место: АЗС № 116 "Партнер Нефть" [18:36:56]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [18:36:56]line СНО: Общий режим [18:36:56]line Чек 48 04.06.2024 18:37 [18:36:56]line Смена: 83 ФФД: 1.0 [18:36:56]line ЗНМ: 0300000233 [18:36:56]line РНМ: 0000000000145775 [18:36:56]line Версия ККМ: v1.0 [18:36:56]line ФМ: 0000000000959360 [18:36:56]line ФД: 4131 [18:36:56]line ФПД: 159753319653774 [18:36:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T183704&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4131&fm=159753319653774&tin=02508201610067®Number=0000000000145775&sum=22300 [18:36:56]line 0 [18:36:56]Connected sock=8 [18:36:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 A7 01 00 00 6F E0 9F 01 EA 51 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 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 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 FC 03 06 00 1C 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 09 00 00 00 00 07 04 06 00 1C 57 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 D0 5E 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 23 10 00 00 35 04 06 00 91 4B 77 DE A1 8E 25 E3 C6 59 84 F5 0F 0F [18:36:56]written 0, free lines is 4095 [18:36:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 57 83 47 00 5C A0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 23 10 00 00 F4 03 04 00 D0 0A 5F 66 B6 04 01 00 00 B9 29 6C CB FD F5 BB 4C [18:36:56]CommunicateWithHost err = 0 [18:36:56]CheckOFDResponse [18:36:56]1017 (14) - 77093643461234 [18:36:56]1041 (16) - 0000000000959360 [18:36:56]1040 (4) - 4131 [18:36:56]1012 (4) - 04.06.2024 12:38 [18:36:56]1206 (1) - 0 [18:36:56]OFD Sender: Remove packet 4131 [18:36:56]ProducePacketName [18:36:56]name=ofd_packets/00004131 [18:36:56]NVStorageDeleteData [18:36:57]Write to MH i2c: 01 00 00 79 24 9D [18:36:57]Write i2c OK [18:36:57]MH_I2C_Read... [18:36:57]Read from MH i2c: 01 [18:36:57]MH_I2C_Read... [18:36:57]Read from MH i2c: 01 07 00 [18:36:57]MH_I2C_Read... [18:36:57]Read from MH i2c: 01 07 00 79 24 00 00 00 00 00 34 0C E4 [18:36:57]RasterBufferAndPrint [18:36:57]line [18:36:57]line [18:36:57]line [18:36:57]line [18:36:57]line [18:36:57]written 0, free lines is 3130 [18:36:57]MH_Cut [18:36:57]Write to MH i2c: D1 01 00 80 24 01 76 [18:36:57]Write i2c OK [18:36:57]MH_I2C_Read... [18:36:57]Read from MH i2c: D1 [18:36:57]MH_I2C_Read... [18:36:57]Read from MH i2c: D1 01 00 [18:36:57]MH_I2C_Read... [18:36:57]Read from MH i2c: D1 01 00 80 24 00 75 [18:36:57]Write to MH i2c: 01 00 00 81 24 A5 [18:36:57]Write i2c OK [18:36:57]MH_I2C_Read... [18:36:57]OFD Sender: No OFD packet to send [18:36:58]*** Cut start [18:36:58]*** Partial cut [18:36:58]*** CUTSNS_PIN = 1 [18:36:58]*** CUTSNS_PIN = 0 [18:36:58]*** Brake cut motor [18:36:58]Read from MH i2c: 01 [18:36:58]MH_I2C_Read... [18:36:58]*** Stop cut motor [18:36:58]*** Cut end [18:36:58]Read from MH i2c: 01 07 00 [18:36:58]MH_I2C_Read... [18:36:58]Read from MH i2c: 01 07 00 81 24 00 00 00 00 00 FF 0F BA [18:36:58]process_action close_receipt done [18:36:58]requested_data is exist [18:36:58]produce_requested_data [18:36:58]requested_item fm.sn is exist - process it [18:36:58]wFMCommunicate request_size=4 [18:36:58]MH_SAM_APDU [18:36:58]CAPDU: 80 11 00 00 [18:36:58]Write to MH i2c: E2 08 00 82 24 80 11 00 00 00 00 00 00 20 [18:36:58]Write i2c OK [18:36:58]MH_I2C_Read... [18:36:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:36:58]Read from MH i2c: E2 [18:36:58]MH_I2C_Read... [18:36:58]Read from MH i2c: E2 17 00 [18:36:58]MH_I2C_Read... [18:36:58]Read from MH i2c: E2 17 00 82 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 73 [18:36:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:36:58]wFMCommunicate OK [18:36:58]requested_item fd.num is exist - process it [18:36:58]SAM_PROTO_GetFieldsCounters [18:36:58]wFMCommunicate request_size=4 [18:36:58]MH_SAM_APDU [18:36:58]CAPDU: 80 13 00 00 [18:36:58]Write to MH i2c: E2 08 00 83 24 80 13 00 00 00 00 00 00 23 [18:36:58]Write i2c OK [18:36:58]MH_I2C_Read... [18:36:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:36:59]Read from MH i2c: E2 [18:36:59]MH_I2C_Read... [18:36:59]Read from MH i2c: E2 62 00 [18:36:59]MH_I2C_Read... [18:36:59]Read from MH i2c: E2 62 00 83 24 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 23 10 00 00 0E 04 04 00 53 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 5E [18:36:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 23 10 00 00 0E 04 04 00 53 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 [18:36:59]wFMCommunicate OK [18:36:59]SAM_PROTO_GetFieldsCounters done [18:36:59]requested_item shift.num is exist - process it [18:36:59]requested_item shift.opened is exist - process it [18:36:59]req_shift_opened [18:36:59]FM_GetShiftState [18:36:59]SAM_PROTO_GetShiftState [18:36:59]wFMCommunicate request_size=4 [18:36:59]MH_SAM_APDU [18:36:59]CAPDU: 80 13 01 00 [18:36:59]Write to MH i2c: E2 08 00 84 24 80 13 01 00 00 00 00 00 25 [18:36:59]Write i2c OK [18:36:59]MH_I2C_Read... [18:36:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:36:59]Read from MH i2c: E2 [18:36:59]MH_I2C_Read... [18:36:59]Read from MH i2c: E2 0E 00 [18:36:59]MH_I2C_Read... [18:36:59]Read from MH i2c: E2 0E 00 84 24 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 BE [18:36:59]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [18:36:59]wFMCommunicate OK [18:36:59]SAM_PROTO_GetShiftState done [18:36:59]FM_GetShiftState done [18:36:59]req_shift_opened done [18:36:59]requested_item shift.open_date is exist - process it [18:36:59]req_shift_open_date [18:36:59]req_shift_open_date done [18:36:59]produce_requested_data done [18:36:59]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4131,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [18:36:59]process_action_free close_receipt [18:36:59]json_value_free [18:36:59]json_value_free done [18:36:59]process_json_proto returns [18:36:59]Send response to host [18:36:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4131,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [18:36:59]free response buf [18:36:59]execute_script done [18:36:59]execute_script returns [18:36:59]free content buf [18:36:59]Sock 9.Close socket [18:36:59]Sock 9.Thread stoped [18:37:02]OFD Sender: No OFD packet to send [18:37:07]OFD Sender: No OFD packet to send [18:37:12]OFD Sender: No OFD packet to send [18:37:17]OFD Sender: No OFD packet to send [18:37:22]OFD Sender: No OFD packet to send [18:37:27]OFD Sender: No OFD packet to send [18:37:32]OFD Sender: No OFD packet to send [18:37:37]OFD Sender: No OFD packet to send [18:37:42]OFD Sender: No OFD packet to send [18:37:47]OFD Sender: No OFD packet to send [18:37:52]OFD Sender: No OFD packet to send [18:37:57]OFD Sender: No OFD packet to send [18:38:02]OFD Sender: No OFD packet to send [18:38:07]OFD Sender: No OFD packet to send [18:38:12]OFD Sender: No OFD packet to send [18:38:17]OFD Sender: No OFD packet to send [18:38:22]OFD Sender: No OFD packet to send [18:38:27]OFD Sender: No OFD packet to send [18:38:32]OFD Sender: No OFD packet to send [18:38:37]OFD Sender: No OFD packet to send [18:38:42]OFD Sender: No OFD packet to send [18:38:47]OFD Sender: No OFD packet to send [18:38:52]OFD Sender: No OFD packet to send [18:38:57]OFD Sender: No OFD packet to send [18:39:02]OFD Sender: No OFD packet to send [18:39:07]OFD Sender: No OFD packet to send [18:39:12]OFD Sender: No OFD packet to send [18:39:17]OFD Sender: No OFD packet to send [18:39:22]OFD Sender: No OFD packet to send [18:39:27]OFD Sender: No OFD packet to send [18:39:32]OFD Sender: No OFD packet to send [18:39:37]OFD Sender: No OFD packet to send [18:39:42]OFD Sender: No OFD packet to send [18:39:47]OFD Sender: No OFD packet to send [18:39:52]OFD Sender: No OFD packet to send [18:39:57]OFD Sender: No OFD packet to send [18:40:02]OFD Sender: No OFD packet to send [18:40:07]OFD Sender: No OFD packet to send [18:40:12]OFD Sender: No OFD packet to send [18:40:17]OFD Sender: No OFD packet to send [18:40:22]OFD Sender: No OFD packet to send [18:40:27]OFD Sender: No OFD packet to send [18:40:32]OFD Sender: No OFD packet to send [18:40:37]OFD Sender: No OFD packet to send [18:40:42]OFD Sender: No OFD packet to send [18:40:47]OFD Sender: No OFD packet to send [18:40:52]OFD Sender: No OFD packet to send [18:40:57]OFD Sender: No OFD packet to send [18:41:02]OFD Sender: No OFD packet to send [18:41:07]OFD Sender: No OFD packet to send [18:41:12]OFD Sender: No OFD packet to send [18:41:17]OFD Sender: No OFD packet to send [18:41:22]OFD Sender: No OFD packet to send [18:41:27]OFD Sender: No OFD packet to send [18:41:32]OFD Sender: No OFD packet to send [18:41:37]OFD Sender: No OFD packet to send [18:41:42]OFD Sender: No OFD packet to send [18:41:47]OFD Sender: No OFD packet to send [18:41:52]OFD Sender: No OFD packet to send [18:41:57]OFD Sender: No OFD packet to send [18:42:02]OFD Sender: No OFD packet to send [18:42:07]OFD Sender: No OFD packet to send [18:42:12]OFD Sender: No OFD packet to send [18:42:17]OFD Sender: No OFD packet to send [18:42:22]OFD Sender: No OFD packet to send [18:42:27]OFD Sender: No OFD packet to send [18:42:32]OFD Sender: No OFD packet to send [18:42:37]OFD Sender: No OFD packet to send [18:42:42]OFD Sender: No OFD packet to send [18:42:47]OFD Sender: No OFD packet to send [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:28]accept exits with 10 [18:43:28]New connection [18:43:28]New thread 3067227492 created [18:43:28]Thread 3067370852 joined [18:43:28]Waiting for new connection... [18:43:28] Sock 10.Parse request [18:43:28]Sock 10.Check first char [18:43:28]Sock 10.First char is OK [18:43:28]request: POST /json_proto HTTP/1.0 [18:43:28]Method: POST [18:43:28]URL: /json_proto [18:43:28]Method is POST - this is cgi request [18:43:28]url: /json_proto [18:43:28]query_string will be loaded in cgi processing [18:43:28]execute_cgi json_proto POST (null) [18:43:28]execute_cgi path=json_proto method=POST [18:43:28]POST find Content-Length [18:43:28]Host: 172.17.56.68:8080 [18:43:28]Content-Length: 619 [18:43:28]Content-Type: application/json [18:43:28] [18:43:28]POST finish read [18:43:28]Found Content-Length = 619 [18:43:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4386", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:43:28]execute_script... [18:43: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)4386", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:43:28]POST & json_proto [18:43:28]process_json_proto [18:43:28]json parsed OK: [18:43:28]protocol is kg_v1.0 [18:43:28]action value=close_receipt [18:43:28]process_action close_receipt [18:43:28]cmd_close_receipt [18:43:28]MH_GetDate [18:43:28]Write to MH i2c: F0 00 00 85 24 98 [18:43:28]Write i2c OK [18:43:28]MH_I2C_Read... [18:43:28]Read from MH i2c: F0 [18:43:28]MH_I2C_Read... [18:43:28]Read from MH i2c: F0 09 00 [18:43:28]MH_I2C_Read... [18:43:28]Read from MH i2c: F0 09 00 85 24 00 5A 60 5F 66 42 69 5C 66 8D [18:43:28]GetLastDocTimeStamp 1717526224 [18:43:28]current date 1717526618 [18:43:28]FM_GetShiftState [18:43:28]SAM_PROTO_GetShiftState [18:43:28]wFMCommunicate request_size=4 [18:43:28]MH_SAM_APDU [18:43:28]CAPDU: 80 13 01 00 [18:43:28]Write to MH i2c: E2 08 00 86 24 80 13 01 00 00 00 00 00 27 [18:43:28]Write i2c OK [18:43:28]MH_I2C_Read... [18:43:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:43:28]Read from MH i2c: E2 [18:43:28]MH_I2C_Read... [18:43:28]Read from MH i2c: E2 0E 00 [18:43:28]MH_I2C_Read... [18:43:28]Read from MH i2c: E2 0E 00 86 24 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 C0 [18:43:28]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [18:43:28]wFMCommunicate OK [18:43:28]SAM_PROTO_GetShiftState done [18:43:28]FM_GetShiftState done [18:43:28]opened in 1717459822 [18:43:28]opened+sec_in_day 1717546222 [18:43:28]quantity*price = 14000 [18:43:28]sum+1 = 14001 [18:43:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 49 04.06.2024 18:43 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4132 ФПД: 4856186604238 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T184338&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4132&fm=4856186604238&tin=02508201610067®Number=0000000000145775&sum=14000 0 [18:43:29]StoreToDocumentArchive [18:43:29]shift 83 fd 4132 [18:43:29]save to /storage/0083/doc_00004132 [18:43:29]save last doc name /storage/0083/doc_00004132 to /storage/kkm_last_doc_name [18:43:29]save OK [18:43:29]Clear old archive folders... [18:43:29]ProcessDocumentItem done err = 0, tmpTLVsize=273 [18:43:29]tlvbuf is 008454C0 [18:43:29]SAM_PROTO_ClearQueue [18:43:29]wFMCommunicate request_size=4 [18:43:29]MH_SAM_APDU [18:43:29]CAPDU: 80 09 00 00 [18:43:29]Write to MH i2c: E2 08 00 93 24 80 09 00 00 00 00 00 00 29 [18:43:29]Write i2c OK [18:43:29]MH_I2C_Read... [18:43:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:43:29]Read from MH i2c: E2 [18:43:29]MH_I2C_Read... [18:43:29]Read from MH i2c: E2 03 00 [18:43:29]MH_I2C_Read... [18:43:29]Read from MH i2c: E2 03 00 93 24 00 90 00 2B [18:43:29]RAPDU: 90 00 [18:43:29]wFMCommunicate OK [18:43:29]SAM_PROTO_ClearQueue done [18:43:29]KKMCreateOFDPacket [18:43:29]OFDProtocolAddRootSTLVToBuf [18:43:29]FM_MakeSignedData [18:43:29]FM_MakeSignedData [18:43:29]SAM_PROTO_SignData [18:43:29]wFMCommunicate request_size=4 [18:43:29]MH_SAM_APDU [18:43:29]CAPDU: 80 0D 01 02 [18:43:29]Write to MH i2c: E2 08 00 94 24 80 0D 01 02 00 00 00 00 31 [18:43:29]Write i2c OK [18:43:29]MH_I2C_Read... [18:43:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:43:29]Read from MH i2c: E2 [18:43:29]MH_I2C_Read... [18:43:29]Read from MH i2c: E2 03 00 [18:43:29]MH_I2C_Read... [18:43:29]Read from MH i2c: E2 03 00 94 24 00 90 00 2C [18:43:29]RAPDU: 90 00 [18:43:29]wFMCommunicate OK [18:43:29]wFMCommunicate request_size=255 [18:43:29]MH_SAM_APDU [18:43:29]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 5A 60 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 [18:43:29]Write to MH i2c: E2 02 01 95 24 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 5A 60 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 00 00 19 [18:43:29]Write i2c OK [18:43:29]MH_I2C_Read... [18:43:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:43:29]Read from MH i2c: E2 [18:43:29]MH_I2C_Read... [18:43:29]Read from MH i2c: E2 03 00 [18:43:29]MH_I2C_Read... [18:43:29]Read from MH i2c: E2 03 00 95 24 00 90 00 2D [18:43:29]RAPDU: 90 00 [18:43:29]wFMCommunicate OK [18:43:29]wFMCommunicate request_size=32 [18:43:29]MH_SAM_APDU [18:43:29]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 36 30 10 04 04 00 24 10 00 00 35 04 06 00 04 6A AB 47 0A CE [18:43:29]Write to MH i2c: E2 23 00 96 24 80 0D 02 02 1B 00 30 30 30 39 35 39 33 36 30 10 04 04 00 24 10 00 00 35 04 06 00 04 6A AB 47 0A CE 00 00 FD [18:43:29]Write i2c OK [18:43:29]MH_I2C_Read... [18:43:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:43:29]Read from MH i2c: E2 [18:43:29]MH_I2C_Read... [18:43:29]Read from MH i2c: E2 03 00 [18:43:29]MH_I2C_Read... [18:43:29]Read from MH i2c: E2 03 00 96 24 00 90 00 2E [18:43:29]RAPDU: 90 00 [18:43:29]wFMCommunicate OK [18:43:29]wFMCommunicate request_size=4 [18:43:29]MH_SAM_APDU [18:43:29]CAPDU: 80 0D 03 02 [18:43:29]Write to MH i2c: E2 08 00 97 24 80 0D 03 02 00 00 00 00 36 [18:43:29]Write i2c OK [18:43:29]MH_I2C_Read... [18:43:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:43:29]Read from MH i2c: E2 [18:43:29]MH_I2C_Read... [18:43:29]Read from MH i2c: E2 0B 00 [18:43:29]MH_I2C_Read... [18:43:29]Read from MH i2c: E2 0B 00 97 24 00 88 8E DD EE E2 64 58 9B 90 00 51 [18:43:29]RAPDU: 88 8E DD EE E2 64 58 9B 90 00 [18:43:29]wFMCommunicate OK [18:43:29]SAM_PROTO_SignData done [18:43:29]FM_MakeSignedData done [18:43:29]CreateOFDProtocolMessage [18:43:29]wFMCommunicate request_size=4 [18:43:29]MH_SAM_APDU [18:43:29]CAPDU: 80 11 00 00 [18:43:29]Write to MH i2c: E2 08 00 98 24 80 11 00 00 00 00 00 00 36 [18:43:29]Write i2c OK [18:43:29]MH_I2C_Read... [18:43:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:43:29]Read from MH i2c: E2 [18:43:29]MH_I2C_Read... [18:43:29]Read from MH i2c: E2 17 00 [18:43:29]MH_I2C_Read... [18:43:29]Read from MH i2c: E2 17 00 98 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 89 [18:43:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:43:29]wFMCommunicate OK [18:43:29]CreateOFDProtocolMessage done [18:43:29]OFDSenderStorePacket 4132 [18:43:29]StoreOFDPacket docnum=4132 [18:43:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 D1 A8 1D 01 C7 3C 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 5A 60 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 24 10 00 00 35 04 06 00 04 6A AB 47 0A CE 88 8E DD EE E2 64 58 9B [18:43:29]CheckFolder [18:43:29]dirname=/storage/ofd_packets [18:43:29]CheckFolder done [18:43:29]ProducePacketName [18:43:29]name=ofd_packets/00004132 [18:43:29]NVStorageSaveData ofd_packets/00004132 [18:43:29]File name is /storage/ofd_packets/00004132 [18:43:29]Write 323 bytes [18:43:29]NVStorageSaveData done [18:43:29]OFDSenderStorePacket done [18:43:29]KKMCreateOFDPacket done [18:43:29]NVStorageSaveData kkm_last_timestamp [18:43:29]File name is /storage/kkm_last_timestamp [18:43:29]Write 4 bytes [18:43:29]NVStorageSaveData done [18:43:29]ExternCall_PrintAddStr [18:43:29]wPrintStart [18:43:29]Write to MH i2c: 01 00 00 99 24 BD [18:43:29]Write i2c OK [18:43:29]MH_I2C_Read... [18:43:29]Read from MH i2c: 01 [18:43:29]MH_I2C_Read... [18:43:29]Read from MH i2c: 01 07 00 [18:43:29]MH_I2C_Read... [18:43:29]Read from MH i2c: 01 07 00 99 24 00 00 00 00 00 FF 0F D2 [18:43:29]RasterBufferAndPrint [18:43:29]line Счет N : (3)4386 [18:43:29]line ИНН: 02508201610067 [18:43:29]line Контрольно-Кассовый Чек [18:43:29]line ПРОДАЖА [18:43:29]line Товар: 48747059 [18:43:29]line Сигареты Winston Legend Blue [18:43:29]line 1.000 * 140.00 [18:43:29]line = 140.00 [18:43:29]line НДС 12% НСП 1% [18:43:29]line > о реализуемом товаре [18:43:29]line ИТОГО: 140.00 [18:43:29]line НСП 1% : 1.24 [18:43:29]line НДС 12% : 14.87 [18:43:29]line Наличными: 140.00 [18:43:29]line Безнал.: 0.00 [18:43:29]line Место: АЗС № 116 "Партнер Нефть" [18:43:29]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [18:43:29]line СНО: Общий режим [18:43:29]line Чек 49 04.06.2024 18:43 [18:43:29]line Смена: 83 ФФД: 1.0 [18:43:29]line ЗНМ: 0300000233 [18:43:29]line РНМ: 0000000000145775 [18:43:29]line Версия ККМ: v1.0 [18:43:29]line ФМ: 0000000000959360 [18:43:29]line ФД: 4132 [18:43:29]line ФПД: 4856186604238 [18:43:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T184338&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4132&fm=4856186604238&tin=02508201610067®Number=0000000000145775&sum=14000 [18:43:30]line 0 [18:43:30]OFD Sender: Processing packet 4132 [packets to send 2, broken 1] [18:43:30]ProducePacketName [18:43:30]name=ofd_packets/00004132 [18:43:30]OFD Sender: To server: pG, [18:43:30]CommunicateWithHost lk.salyk.kg:30040 [18:43:30]ConnectInit lk.salyk.kg [18:43:30]written 0, free lines is 4095 [18:43:30]Connected sock=9 [18:43:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 D1 A8 1D 01 C7 3C 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 5A 60 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 24 10 00 00 35 04 06 00 04 6A AB 47 0A CE 88 8E DD EE E2 64 58 9B [18:43:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 F2 D3 47 00 84 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 24 10 00 00 F4 03 04 00 5A 0C 5F 66 B6 04 01 00 00 B6 45 D6 0C C6 9E D5 A8 [18:43:30]CommunicateWithHost err = 0 [18:43:30]CheckOFDResponse [18:43:30]1017 (14) - 77093643461234 [18:43:30]1041 (16) - 0000000000959360 [18:43:30]1040 (4) - 4132 [18:43:30]1012 (4) - 04.06.2024 12:45 [18:43:30]1206 (1) - 0 [18:43:30]OFD Sender: Remove packet 4132 [18:43:30]ProducePacketName [18:43:30]name=ofd_packets/00004132 [18:43:30]NVStorageDeleteData [18:43:30]Write to MH i2c: 01 00 00 C2 24 E6 [18:43:30]Write i2c OK [18:43:30]MH_I2C_Read... [18:43:30]Read from MH i2c: 01 [18:43:30]MH_I2C_Read... [18:43:30]Read from MH i2c: 01 07 00 [18:43:30]MH_I2C_Read... [18:43:30]Read from MH i2c: 01 07 00 C2 24 00 00 00 00 00 B2 0C AB [18:43:30]RasterBufferAndPrint [18:43:30]line [18:43:30]line [18:43:30]line [18:43:30]line [18:43:30]line [18:43:30]written 0, free lines is 3255 [18:43:30]MH_Cut [18:43:30]Write to MH i2c: D1 01 00 C9 24 01 BF [18:43:30]Write i2c OK [18:43:30]MH_I2C_Read... [18:43:30]Read from MH i2c: D1 [18:43:30]MH_I2C_Read... [18:43:30]Read from MH i2c: D1 01 00 [18:43:30]MH_I2C_Read... [18:43:30]Read from MH i2c: D1 01 00 C9 24 00 BE [18:43:30]Write to MH i2c: 01 00 00 CA 24 EE [18:43:30]Write i2c OK [18:43:30]MH_I2C_Read... [18:43:31]OFD Sender: No OFD packet to send [18:43:31]*** Cut start [18:43:31]*** Partial cut [18:43:31]*** CUTSNS_PIN = 1 [18:43:31]*** CUTSNS_PIN = 0 [18:43:31]*** Brake cut motor [18:43:32]Read from MH i2c: 01 [18:43:32]MH_I2C_Read... [18:43:32]*** Stop cut motor [18:43:32]*** Cut end [18:43:32]Read from MH i2c: 01 07 00 [18:43:32]MH_I2C_Read... [18:43:32]Read from MH i2c: 01 07 00 CA 24 00 00 00 00 00 FF 0F 03 [18:43:32]process_action close_receipt done [18:43:32]requested_data is exist [18:43:32]produce_requested_data [18:43:32]requested_item fm.sn is exist - process it [18:43:32]wFMCommunicate request_size=4 [18:43:32]MH_SAM_APDU [18:43:32]CAPDU: 80 11 00 00 [18:43:32]Write to MH i2c: E2 08 00 CB 24 80 11 00 00 00 00 00 00 69 [18:43:32]Write i2c OK [18:43:32]MH_I2C_Read... [18:43:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:43:32]Read from MH i2c: E2 [18:43:32]MH_I2C_Read... [18:43:32]Read from MH i2c: E2 17 00 [18:43:32]MH_I2C_Read... [18:43:32]Read from MH i2c: E2 17 00 CB 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 BC [18:43:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:43:32]wFMCommunicate OK [18:43:32]requested_item fd.num is exist - process it [18:43:32]SAM_PROTO_GetFieldsCounters [18:43:32]wFMCommunicate request_size=4 [18:43:32]MH_SAM_APDU [18:43:32]CAPDU: 80 13 00 00 [18:43:32]Write to MH i2c: E2 08 00 CC 24 80 13 00 00 00 00 00 00 6C [18:43:32]Write i2c OK [18:43:32]MH_I2C_Read... [18:43:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:43:32]Read from MH i2c: E2 [18:43:32]MH_I2C_Read... [18:43:32]Read from MH i2c: E2 62 00 [18:43:32]MH_I2C_Read... [18:43:32]Read from MH i2c: E2 62 00 CC 24 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 24 10 00 00 0E 04 04 00 53 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 AB [18:43:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 24 10 00 00 0E 04 04 00 53 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 [18:43:32]wFMCommunicate OK [18:43:32]SAM_PROTO_GetFieldsCounters done [18:43:32]requested_item shift.num is exist - process it [18:43:32]requested_item shift.opened is exist - process it [18:43:32]req_shift_opened [18:43:32]FM_GetShiftState [18:43:32]SAM_PROTO_GetShiftState [18:43:32]wFMCommunicate request_size=4 [18:43:32]MH_SAM_APDU [18:43:32]CAPDU: 80 13 01 00 [18:43:32]Write to MH i2c: E2 08 00 CD 24 80 13 01 00 00 00 00 00 6E [18:43:32]Write i2c OK [18:43:32]MH_I2C_Read... [18:43:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:43:32]Read from MH i2c: E2 [18:43:32]MH_I2C_Read... [18:43:32]Read from MH i2c: E2 0E 00 [18:43:32]MH_I2C_Read... [18:43:32]Read from MH i2c: E2 0E 00 CD 24 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 07 [18:43:32]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [18:43:32]wFMCommunicate OK [18:43:32]SAM_PROTO_GetShiftState done [18:43:32]FM_GetShiftState done [18:43:32]req_shift_opened done [18:43:32]requested_item shift.open_date is exist - process it [18:43:32]req_shift_open_date [18:43:32]req_shift_open_date done [18:43:32]produce_requested_data done [18:43:32]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4132,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [18:43:32]process_action_free close_receipt [18:43:32]json_value_free [18:43:32]json_value_free done [18:43:32]process_json_proto returns [18:43:32]Send response to host [18:43:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4132,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [18:43:32]free response buf [18:43:32]execute_script done [18:43:32]execute_script returns [18:43:32]free content buf [18:43:32]Sock 10.Close socket [18:43:32]Sock 10.Thread stoped [18:43:36]OFD Sender: No OFD packet to send [18:43:41]OFD Sender: No OFD packet to send [18:43:46]OFD Sender: No OFD packet to send [18:43:51]OFD Sender: No OFD packet to send [18:43:56]OFD Sender: No OFD packet to send [18:44:01]OFD Sender: No OFD packet to send [18:44:06]OFD Sender: No OFD packet to send [18:44:11]OFD Sender: No OFD packet to send [18:44:16]OFD Sender: No OFD packet to send [18:44:21]OFD Sender: No OFD packet to send [18:44:26]OFD Sender: No OFD packet to send [18:44:31]OFD Sender: No OFD packet to send [18:44:36]OFD Sender: No OFD packet to send [18:44:41]OFD Sender: No OFD packet to send [18:44:46]OFD Sender: No OFD packet to send [18:44:51]OFD Sender: No OFD packet to send [18:44:56]OFD Sender: No OFD packet to send [18:45:01]OFD Sender: No OFD packet to send [18:45:06]OFD Sender: No OFD packet to send [18:45:11]OFD Sender: No OFD packet to send [18:45:16]OFD Sender: No OFD packet to send [18:45:21]OFD Sender: No OFD packet to send [18:45:26]OFD Sender: No OFD packet to send [18:45:31]OFD Sender: No OFD packet to send [18:45:36]OFD Sender: No OFD packet to send [18:45:41]OFD Sender: No OFD packet to send [18:45:46]OFD Sender: No OFD packet to send [18:45:51]OFD Sender: No OFD packet to send [18:45:56]OFD Sender: No OFD packet to send [18:46:01]OFD Sender: No OFD packet to send [18:46:06]OFD Sender: No OFD packet to send [18:46:11]OFD Sender: No OFD packet to send [18:46:16]OFD Sender: No OFD packet to send [18:46:21]OFD Sender: No OFD packet to send [18:46:26]OFD Sender: No OFD packet to send [18:46:31]OFD Sender: No OFD packet to send [18:46:36]OFD Sender: No OFD packet to send [18:46:41]OFD Sender: No OFD packet to send [18:46:46]OFD Sender: No OFD packet to send [18:46:51]OFD Sender: No OFD packet to send [18:46:56]OFD Sender: No OFD packet to send [18:47:01]OFD Sender: No OFD packet to send [18:47:06]OFD Sender: No OFD packet to send [18:47:11]OFD Sender: No OFD packet to send [18:47:16]OFD Sender: No OFD packet to send [18:47:21]OFD Sender: No OFD packet to send [18:47:26]OFD Sender: No OFD packet to send [18:47:31]OFD Sender: No OFD packet to send [18:47:36]OFD Sender: No OFD packet to send [18:47:41]OFD Sender: No OFD packet to send [18:47:46]OFD Sender: No OFD packet to send [18:47:51]OFD Sender: No OFD packet to send [18:47:56]OFD Sender: No OFD packet to send [18:48:01]OFD Sender: No OFD packet to send [18:48:06]OFD Sender: No OFD packet to send [18:48:11]OFD Sender: No OFD packet to send [18:48:16]OFD Sender: No OFD packet to send [18:48:21]OFD Sender: No OFD packet to send [18:48:26]OFD Sender: No OFD packet to send [18:48:31]OFD Sender: No OFD packet to send [18:48:36]OFD Sender: No OFD packet to send [18:48:41]OFD Sender: No OFD packet to send [18:48:46]OFD Sender: No OFD packet to send [18:48:51]OFD Sender: No OFD packet to send [18:48:56]OFD Sender: No OFD packet to send [18:49:01]OFD Sender: No OFD packet to send [18:49:06]OFD Sender: No OFD packet to send [18:49:11]OFD Sender: No OFD packet to send [18:49:16]OFD Sender: No OFD packet to send [18:49:21]OFD Sender: No OFD packet to send [18:49:26]OFD Sender: No OFD packet to send [18:49:31]OFD Sender: No OFD packet to send [18:49:36]OFD Sender: No OFD packet to send [18:49:41]OFD Sender: No OFD packet to send [18:49:46]OFD Sender: No OFD packet to send [18:49:51]OFD Sender: No OFD packet to send [18:49:56]OFD Sender: No OFD packet to send [18:50:01]OFD Sender: No OFD packet to send [18:50:06]OFD Sender: No OFD packet to send [18:50:11]OFD Sender: No OFD packet to send [18:50:16]OFD Sender: No OFD packet to send [18:50:21]OFD Sender: No OFD packet to send [18:50:26]OFD Sender: No OFD packet to send [18:50:31]OFD Sender: No OFD packet to send [18:50:36]OFD Sender: No OFD packet to send [18:50:41]OFD Sender: No OFD packet to send [18:50:46]OFD Sender: No OFD packet to send [18:50:51]OFD Sender: No OFD packet to send [18:50:56]OFD Sender: No OFD packet to send [18:51:01]OFD Sender: No OFD packet to send [18:51:06]OFD Sender: No OFD packet to send [18:51:11]OFD Sender: No OFD packet to send [18:51:16]OFD Sender: No OFD packet to send [18:51:21]OFD Sender: No OFD packet to send [18:51:26]OFD Sender: No OFD packet to send [18:51:31]OFD Sender: No OFD packet to send [18:51:36]OFD Sender: No OFD packet to send [18:51:41]OFD Sender: No OFD packet to send [18:51:46]OFD Sender: No OFD packet to send [18:51:51]OFD Sender: No OFD packet to send [18:51:56]OFD Sender: No OFD packet to send [18:52:01]OFD Sender: No OFD packet to send [18:52:06]OFD Sender: No OFD packet to send [18:52:11]OFD Sender: No OFD packet to send [18:52:16]OFD Sender: No OFD packet to send [18:52:21]OFD Sender: No OFD packet to send [18:52:26]OFD Sender: No OFD packet to send [18:52:31]OFD Sender: No OFD packet to send [18:52:36]OFD Sender: No OFD packet to send [18:52:41]OFD Sender: No OFD packet to send [18:52:46]OFD Sender: No OFD packet to send [18:52:51]OFD Sender: No OFD packet to send [18:52:56]OFD Sender: No OFD packet to send [18:53:01]OFD Sender: No OFD packet to send [18:53:06]OFD Sender: No OFD packet to send [18:53:11]OFD Sender: No OFD packet to send [18:53:16]OFD Sender: No OFD packet to send [18:53:21]OFD Sender: No OFD packet to send [18:53:26]OFD Sender: No OFD packet to send [18:53:31]OFD Sender: No OFD packet to send [18:53:36]OFD Sender: No OFD packet to send [18:53:41]OFD Sender: No OFD packet to send [18:53:46]OFD Sender: No OFD packet to send [18:53:51]OFD Sender: No OFD packet to send [18:53:56]OFD Sender: No OFD packet to send [18:54:01]OFD Sender: No OFD packet to send [18:54:06]OFD Sender: No OFD packet to send [18:54:11]OFD Sender: No OFD packet to send [18:54:16]OFD Sender: No OFD packet to send [18:54:21]OFD Sender: No OFD packet to send [18:54:26]OFD Sender: No OFD packet to send [18:54:31]OFD Sender: No OFD packet to send [18:54:36]OFD Sender: No OFD packet to send [18:54:41]OFD Sender: No OFD packet to send [18:54:46]OFD Sender: No OFD packet to send [18:54:51]OFD Sender: No OFD packet to send [18:54:56]OFD Sender: No OFD packet to send [18:55:01]OFD Sender: No OFD packet to send [18:55:06]OFD Sender: No OFD packet to send [18:55:11]OFD Sender: No OFD packet to send [18:55:16]OFD Sender: No OFD packet to send [18:55:21]OFD Sender: No OFD packet to send [18:55:26]OFD Sender: No OFD packet to send [18:55:31]OFD Sender: No OFD packet to send [18:55:36]OFD Sender: No OFD packet to send [18:55:41]OFD Sender: No OFD packet to send [18:55:46]OFD Sender: No OFD packet to send [18:55:51]OFD Sender: No OFD packet to send [18:55:56]OFD Sender: No OFD packet to send [18:56:01]OFD Sender: No OFD packet to send [18:56:06]OFD Sender: No OFD packet to send [18:56:11]OFD Sender: No OFD packet to send [18:56:16]OFD Sender: No OFD packet to send [18:56:21]OFD Sender: No OFD packet to send [18:56:26]OFD Sender: No OFD packet to send [18:56:31]OFD Sender: No OFD packet to send [18:56:36]OFD Sender: No OFD packet to send [18:56:41]OFD Sender: No OFD packet to send [18:56:46]OFD Sender: No OFD packet to send [18:56:51]OFD Sender: No OFD packet to send [18:56:56]OFD Sender: No OFD packet to send [18:57:01]OFD Sender: No OFD packet to send [18:57:06]OFD Sender: No OFD packet to send [18:57:11]OFD Sender: No OFD packet to send [18:57:16]OFD Sender: No OFD packet to send [18:57:21]OFD Sender: No OFD packet to send [18:57:26]OFD Sender: No OFD packet to send [18:57:31]OFD Sender: No OFD packet to send [18:57:36]OFD Sender: No OFD packet to send [18:57:41]OFD Sender: No OFD packet to send [18:57:46]OFD Sender: No OFD packet to send [18:57:51]OFD Sender: No OFD packet to send [18:57:56]OFD Sender: No OFD packet to send [18:58:01]OFD Sender: No OFD packet to send [18:58:06]OFD Sender: No OFD packet to send [18:58:11]OFD Sender: No OFD packet to send [18:58:16]OFD Sender: No OFD packet to send [18:58:21]OFD Sender: No OFD packet to send [18:58:26]OFD Sender: No OFD packet to send [18:58:31]OFD Sender: No OFD packet to send [18:58:36]OFD Sender: No OFD packet to send [18:58:41]OFD Sender: No OFD packet to send [18:58:46]OFD Sender: No OFD packet to send [18:58:51]OFD Sender: No OFD packet to send [18:58:56]OFD Sender: No OFD packet to send [18:59:01]OFD Sender: No OFD packet to send [18:59:06]OFD Sender: No OFD packet to send [18:59:11]OFD Sender: No OFD packet to send [18:59:16]OFD Sender: No OFD packet to send [18:59:21]OFD Sender: No OFD packet to send [18:59:26]OFD Sender: No OFD packet to send [18:59:31]OFD Sender: No OFD packet to send [18:59:36]OFD Sender: No OFD packet to send [18:59:41]OFD Sender: No OFD packet to send [18:59:46]OFD Sender: No OFD packet to send [18:59:51]OFD Sender: No OFD packet to send [18:59:56]OFD Sender: No OFD packet to send [19:00:01]OFD Sender: No OFD packet to send [19:00:06]OFD Sender: No OFD packet to send [19:00:11]OFD Sender: No OFD packet to send [19:00:16]OFD Sender: No OFD packet to send [19:00:21]OFD Sender: No OFD packet to send [19:00:26]OFD Sender: No OFD packet to send [19:00:31]OFD Sender: No OFD packet to send [19:00:36]OFD Sender: No OFD packet to send [19:00:41]OFD Sender: No OFD packet to send [19:00:46]OFD Sender: No OFD packet to send [19:00:51]OFD Sender: No OFD packet to send [19:00:56]OFD Sender: No OFD packet to send [19:01:01]OFD Sender: No OFD packet to send [19:01:06]OFD Sender: No OFD packet to send [19:01:11]OFD Sender: No OFD packet to send [19:01:16]OFD Sender: No OFD packet to send [19:01:21]OFD Sender: No OFD packet to send [19:01:26]OFD Sender: No OFD packet to send [19:01:31]OFD Sender: No OFD packet to send [19:01:36]OFD Sender: No OFD packet to send [19:01:41]OFD Sender: No OFD packet to send [19:01:46]OFD Sender: No OFD packet to send [19:01:51]OFD Sender: No OFD packet to send [19:01:56]OFD Sender: No OFD packet to send [19:02:01]OFD Sender: No OFD packet to send [19:02:06]OFD Sender: No OFD packet to send [19:02:11]OFD Sender: No OFD packet to send [19:02:16]OFD Sender: No OFD packet to send [19:02:21]OFD Sender: No OFD packet to send [19:02:26]OFD Sender: No OFD packet to send [19:02:31]OFD Sender: No OFD packet to send [19:02:36]OFD Sender: No OFD packet to send [19:02:41]OFD Sender: No OFD packet to send [19:02:46]OFD Sender: No OFD packet to send [19:02:51]OFD Sender: No OFD packet to send [19:02:56]OFD Sender: No OFD packet to send [19:03:01]OFD Sender: No OFD packet to send [19:03:06]OFD Sender: No OFD packet to send [19:03:11]OFD Sender: No OFD packet to send [19:03:16]OFD Sender: No OFD packet to send [19:03:21]OFD Sender: No OFD packet to send [19:03:26]OFD Sender: No OFD packet to send [19:03:31]OFD Sender: No OFD packet to send [19:03:36]OFD Sender: No OFD packet to send [19:03:41]OFD Sender: No OFD packet to send [19:03:46]OFD Sender: No OFD packet to send [19:03:51]OFD Sender: No OFD packet to send [19:03:56]OFD Sender: No OFD packet to send [19:04:01]OFD Sender: No OFD packet to send [19:04:06]OFD Sender: No OFD packet to send [19:04:11]OFD Sender: No OFD packet to send [19:04:16]OFD Sender: No OFD packet to send [19:04:21]OFD Sender: No OFD packet to send [19:04:26]OFD Sender: No OFD packet to send [19:04:31]OFD Sender: No OFD packet to send [19:04:36]OFD Sender: No OFD packet to send [19:04:41]OFD Sender: No OFD packet to send [19:04:46]OFD Sender: No OFD packet to send [19:04:51]OFD Sender: No OFD packet to send [19:04:56]OFD Sender: No OFD packet to send [19:05:01]OFD Sender: No OFD packet to send [19:05:06]OFD Sender: No OFD packet to send [19:05:11]OFD Sender: No OFD packet to send [19:05:17]OFD Sender: No OFD packet to send [19:05:22]OFD Sender: No OFD packet to send [19:05:27]OFD Sender: No OFD packet to send [19:05:32]OFD Sender: No OFD packet to send [19:05:37]OFD Sender: No OFD packet to send [19:05:42]OFD Sender: No OFD packet to send [19:05:47]OFD Sender: No OFD packet to send [19:05:52]OFD Sender: No OFD packet to send [19:05:57]OFD Sender: No OFD packet to send [19:06:02]OFD Sender: No OFD packet to send [19:06:07]OFD Sender: No OFD packet to send [19:06:12]OFD Sender: No OFD packet to send [19:06:17]OFD Sender: No OFD packet to send [19:06:22]OFD Sender: No OFD packet to send [19:06:27]OFD Sender: No OFD packet to send [19:06:32]OFD Sender: No OFD packet to send [19:06:37]OFD Sender: No OFD packet to send [19:06:42]OFD Sender: No OFD packet to send [19:06:47]OFD Sender: No OFD packet to send [19:06:52]OFD Sender: No OFD packet to send [19:06:57]OFD Sender: No OFD packet to send [19:07:02]OFD Sender: No OFD packet to send [19:07:07]OFD Sender: No OFD packet to send [19:07:12]OFD Sender: No OFD packet to send [19:07:17]OFD Sender: No OFD packet to send [19:07:22]OFD Sender: No OFD packet to send [19:07:27]OFD Sender: No OFD packet to send [19:07:32]OFD Sender: No OFD packet to send [19:07:37]OFD Sender: No OFD packet to send [19:07:42]OFD Sender: No OFD packet to send [19:07:47]OFD Sender: No OFD packet to send [19:07:52]OFD Sender: No OFD packet to send [19:07:57]OFD Sender: No OFD packet to send [19:08:02]OFD Sender: No OFD packet to send [19:08:07]OFD Sender: No OFD packet to send [19:08:12]OFD Sender: No OFD packet to send [19:08:17]OFD Sender: No OFD packet to send [19:08:22]OFD Sender: No OFD packet to send [19:08:27]OFD Sender: No OFD packet to send [19:08:32]OFD Sender: No OFD packet to send [19:08:37]OFD Sender: No OFD packet to send [19:08:42]OFD Sender: No OFD packet to send [19:08:47]OFD Sender: No OFD packet to send [19:08:52]OFD Sender: No OFD packet to send [19:08:57]OFD Sender: No OFD packet to send [19:09:02]OFD Sender: No OFD packet to send [19:09:07]OFD Sender: No OFD packet to send [19:09:12]OFD Sender: No OFD packet to send [19:09:17]OFD Sender: No OFD packet to send [19:09:22]OFD Sender: No OFD packet to send [19:09:27]OFD Sender: No OFD packet to send [19:09:32]OFD Sender: No OFD packet to send [19:09:37]OFD Sender: No OFD packet to send [19:09:42]OFD Sender: No OFD packet to send [19:09:47]OFD Sender: No OFD packet to send [19:09:52]OFD Sender: No OFD packet to send [19:09:57]OFD Sender: No OFD packet to send [19:10:02]OFD Sender: No OFD packet to send [19:10:07]OFD Sender: No OFD packet to send [19:10:12]OFD Sender: No OFD packet to send [19:10:17]OFD Sender: No OFD packet to send [19:10:22]OFD Sender: No OFD packet to send [19:10:27]OFD Sender: No OFD packet to send [19:10:32]OFD Sender: No OFD packet to send [19:10:37]OFD Sender: No OFD packet to send [19:10:42]OFD Sender: No OFD packet to send [19:10:47]OFD Sender: No OFD packet to send [19:10:52]OFD Sender: No OFD packet to send [19:10:57]OFD Sender: No OFD packet to send [19:11:02]OFD Sender: No OFD packet to send [19:11:07]OFD Sender: No OFD packet to send [19:11:12]OFD Sender: No OFD packet to send [19:11:17]OFD Sender: No OFD packet to send [19:11:22]OFD Sender: No OFD packet to send [19:11:27]OFD Sender: No OFD packet to send [19:11:32]OFD Sender: No OFD packet to send [19:11:37]OFD Sender: No OFD packet to send [19:11:42]OFD Sender: No OFD packet to send [19:11:47]OFD Sender: No OFD packet to send [19:11:52]OFD Sender: No OFD packet to send [19:11:57]OFD Sender: No OFD packet to send [19:12:02]OFD Sender: No OFD packet to send [19:12:07]OFD Sender: No OFD packet to send [19:12:12]OFD Sender: No OFD packet to send [19:12:17]OFD Sender: No OFD packet to send [19:12:22]OFD Sender: No OFD packet to send [19:12:27]OFD Sender: No OFD packet to send [19:12:32]OFD Sender: No OFD packet to send [19:12:37]OFD Sender: No OFD packet to send [19:12:42]OFD Sender: No OFD packet to send [19:12:47]OFD Sender: No OFD packet to send [19:12:52]OFD Sender: No OFD packet to send [19:12:57]OFD Sender: No OFD packet to send [19:13:02]OFD Sender: No OFD packet to send [19:13:07]OFD Sender: No OFD packet to send [19:13:12]OFD Sender: No OFD packet to send [19:13:17]OFD Sender: No OFD packet to send [19:13:22]OFD Sender: No OFD packet to send [19:13:27]OFD Sender: No OFD packet to send [19:13:32]OFD Sender: No OFD packet to send [19:13:37]OFD Sender: No OFD packet to send [19:13:42]OFD Sender: No OFD packet to send [19:13:47]OFD Sender: No OFD packet to send [19:13:52]OFD Sender: No OFD packet to send [19:13:57]OFD Sender: No OFD packet to send [19:14:02]OFD Sender: No OFD packet to send [19:14:07]OFD Sender: No OFD packet to send [19:14:12]OFD Sender: No OFD packet to send [19:14:17]OFD Sender: No OFD packet to send [19:14:22]OFD Sender: No OFD packet to send [19:14:27]OFD Sender: No OFD packet to send [19:14:32]OFD Sender: No OFD packet to send [19:14:37]OFD Sender: No OFD packet to send [19:14:42]OFD Sender: No OFD packet to send [19:14:47]OFD Sender: No OFD packet to send [19:14:52]OFD Sender: No OFD packet to send [19:14:57]OFD Sender: No OFD packet to send [19:15:02]OFD Sender: No OFD packet to send [19:15:07]OFD Sender: No OFD packet to send [19:15:12]OFD Sender: No OFD packet to send [19:15:17]OFD Sender: No OFD packet to send [19:15:22]OFD Sender: No OFD packet to send [19:15:27]OFD Sender: No OFD packet to send [19:15:32]OFD Sender: No OFD packet to send [19:15:37]OFD Sender: No OFD packet to send [19:15:42]OFD Sender: No OFD packet to send [19:15:47]OFD Sender: No OFD packet to send [19:15:52]OFD Sender: No OFD packet to send [19:15:57]OFD Sender: No OFD packet to send [19:16:02]OFD Sender: No OFD packet to send [19:16:07]OFD Sender: No OFD packet to send [19:16:12]OFD Sender: No OFD packet to send [19:16:17]OFD Sender: No OFD packet to send [19:16:22]OFD Sender: No OFD packet to send [19:16:27]OFD Sender: No OFD packet to send [19:16:32]OFD Sender: No OFD packet to send [19:16:37]OFD Sender: No OFD packet to send [19:16:42]OFD Sender: No OFD packet to send [19:16:47]OFD Sender: No OFD packet to send [19:16:52]OFD Sender: No OFD packet to send [19:16:57]OFD Sender: No OFD packet to send [19:17:02]OFD Sender: No OFD packet to send [19:17:07]OFD Sender: No OFD packet to send [19:17:12]OFD Sender: No OFD packet to send [19:17:17]OFD Sender: No OFD packet to send [19:17:22]OFD Sender: No OFD packet to send [19:17:27]OFD Sender: No OFD packet to send [19:17:32]OFD Sender: No OFD packet to send [19:17:37]OFD Sender: No OFD packet to send [19:17:42]OFD Sender: No OFD packet to send [19:17:47]OFD Sender: No OFD packet to send [19:17:52]OFD Sender: No OFD packet to send [19:17:57]OFD Sender: No OFD packet to send [19:18:02]OFD Sender: No OFD packet to send [19:18:07]OFD Sender: No OFD packet to send [19:18:12]OFD Sender: No OFD packet to send [19:18:17]OFD Sender: No OFD packet to send [19:18:22]OFD Sender: No OFD packet to send [19:18:27]OFD Sender: No OFD packet to send [19:18:32]OFD Sender: No OFD packet to send [19:18:37]OFD Sender: No OFD packet to send [19:18:42]OFD Sender: No OFD packet to send [19:18:47]OFD Sender: No OFD packet to send [19:18:52]OFD Sender: No OFD packet to send [19:18:57]OFD Sender: No OFD packet to send [19:19:02]OFD Sender: No OFD packet to send [19:19:07]OFD Sender: No OFD packet to send [19:19:12]OFD Sender: No OFD packet to send [19:19:17]OFD Sender: No OFD packet to send [19:19:22]OFD Sender: No OFD packet to send [19:19:27]OFD Sender: No OFD packet to send [19:19:32]OFD Sender: No OFD packet to send [19:19:37]OFD Sender: No OFD packet to send [19:19:42]OFD Sender: No OFD packet to send [19:19:47]OFD Sender: No OFD packet to send [19:19:52]OFD Sender: No OFD packet to send [19:19:57]OFD Sender: No OFD packet to send [19:20:02]OFD Sender: No OFD packet to send [19:20:07]OFD Sender: No OFD packet to send [19:20:12]OFD Sender: No OFD packet to send [19:20:17]OFD Sender: No OFD packet to send [19:20:22]OFD Sender: No OFD packet to send [19:20:27]OFD Sender: No OFD packet to send [19:20:32]OFD Sender: No OFD packet to send [19:20:37]OFD Sender: No OFD packet to send [19:20:42]OFD Sender: No OFD packet to send [19:20:47]OFD Sender: No OFD packet to send [19:20:52]OFD Sender: No OFD packet to send [19:20:57]OFD Sender: No OFD packet to send [19:21:02]OFD Sender: No OFD packet to send [19:21:07]OFD Sender: No OFD packet to send [19:21:12]OFD Sender: No OFD packet to send [19:21:17]OFD Sender: No OFD packet to send [19:21:22]OFD Sender: No OFD packet to send [19:21:27]OFD Sender: No OFD packet to send [19:21:32]OFD Sender: No OFD packet to send [19:21:37]OFD Sender: No OFD packet to send [19:21:42]OFD Sender: No OFD packet to send [19:21:47]OFD Sender: No OFD packet to send [19:21:52]OFD Sender: No OFD packet to send [19:21:57]OFD Sender: No OFD packet to send [19:22:02]OFD Sender: No OFD packet to send [19:22:07]OFD Sender: No OFD packet to send [19:22:12]OFD Sender: No OFD packet to send [19:22:17]OFD Sender: No OFD packet to send [19:22:22]OFD Sender: No OFD packet to send [19:22:27]OFD Sender: No OFD packet to send [19:22:32]OFD Sender: No OFD packet to send [19:22:37]OFD Sender: No OFD packet to send [19:22:42]OFD Sender: No OFD packet to send [19:22:47]OFD Sender: No OFD packet to send [19:22:52]OFD Sender: No OFD packet to send [19:22:57]OFD Sender: No OFD packet to send [19:23:02]OFD Sender: No OFD packet to send [19:23:07]OFD Sender: No OFD packet to send [19:23:12]OFD Sender: No OFD packet to send [19:23:17]OFD Sender: No OFD packet to send [19:23:22]OFD Sender: No OFD packet to send [19:23:27]OFD Sender: No OFD packet to send [19:23:32]OFD Sender: No OFD packet to send [19:23:37]OFD Sender: No OFD packet to send [19:23:42]OFD Sender: No OFD packet to send [19:23:47]OFD Sender: No OFD packet to send [19:23:52]OFD Sender: No OFD packet to send [19:23:57]OFD Sender: No OFD packet to send [19:24:02]OFD Sender: No OFD packet to send [19:24:07]OFD Sender: No OFD packet to send [19:24:12]OFD Sender: No OFD packet to send [19:24:17]OFD Sender: No OFD packet to send [19:24:22]OFD Sender: No OFD packet to send [19:24:27]OFD Sender: No OFD packet to send [19:24:32]OFD Sender: No OFD packet to send [19:24:37]OFD Sender: No OFD packet to send [19:24:42]OFD Sender: No OFD packet to send [19:24:47]OFD Sender: No OFD packet to send [19:24:52]OFD Sender: No OFD packet to send [19:24:57]OFD Sender: No OFD packet to send [19:25:02]OFD Sender: No OFD packet to send [19:25:07]OFD Sender: No OFD packet to send [19:25:12]OFD Sender: No OFD packet to send [19:25:17]OFD Sender: No OFD packet to send [19:25:22]OFD Sender: No OFD packet to send [19:25:27]OFD Sender: No OFD packet to send [19:25:32]OFD Sender: No OFD packet to send [19:25:37]OFD Sender: No OFD packet to send [19:25:42]OFD Sender: No OFD packet to send [19:25:47]OFD Sender: No OFD packet to send [19:25:52]OFD Sender: No OFD packet to send [19:25:57]OFD Sender: No OFD packet to send [19:26:02]OFD Sender: No OFD packet to send [19:26:07]OFD Sender: No OFD packet to send [19:26:12]OFD Sender: No OFD packet to send [19:26:17]OFD Sender: No OFD packet to send [19:26:22]OFD Sender: No OFD packet to send [19:26:27]OFD Sender: No OFD packet to send [19:26:32]OFD Sender: No OFD packet to send [19:26:37]OFD Sender: No OFD packet to send [19:26:42]OFD Sender: No OFD packet to send [19:26:47]OFD Sender: No OFD packet to send [19:26:52]OFD Sender: No OFD packet to send [19:26:57]OFD Sender: No OFD packet to send [19:27:02]OFD Sender: No OFD packet to send [19:27:08]OFD Sender: No OFD packet to send [19:27:13]OFD Sender: No OFD packet to send [19:27:18]OFD Sender: No OFD packet to send [19:27:23]OFD Sender: No OFD packet to send [19:27:28]OFD Sender: No OFD packet to send [19:27:33]OFD Sender: No OFD packet to send [19:27:38]OFD Sender: No OFD packet to send [19:27:43]OFD Sender: No OFD packet to send [19:27:48]OFD Sender: No OFD packet to send [19:27:53]OFD Sender: No OFD packet to send [19:27:58]OFD Sender: No OFD packet to send [19:28:03]OFD Sender: No OFD packet to send [19:28:08]OFD Sender: No OFD packet to send [19:28:13]OFD Sender: No OFD packet to send [19:28:18]OFD Sender: No OFD packet to send [19:28:23]OFD Sender: No OFD packet to send [19:28:28]OFD Sender: No OFD packet to send [19:28:33]OFD Sender: No OFD packet to send [19:28:38]OFD Sender: No OFD packet to send [19:28:43]OFD Sender: No OFD packet to send [19:28:48]OFD Sender: No OFD packet to send [19:28:53]OFD Sender: No OFD packet to send [19:28:58]OFD Sender: No OFD packet to send [19:29:03]OFD Sender: No OFD packet to send [19:29:08]OFD Sender: No OFD packet to send [19:29:13]OFD Sender: No OFD packet to send [19:29:18]OFD Sender: No OFD packet to send [19:29:23]OFD Sender: No OFD packet to send [19:29:28]OFD Sender: No OFD packet to send [19:29:33]OFD Sender: No OFD packet to send [19:29:38]OFD Sender: No OFD packet to send [19:29:43]OFD Sender: No OFD packet to send [19:29:48]OFD Sender: No OFD packet to send [19:29:53]OFD Sender: No OFD packet to send [19:29:58]OFD Sender: No OFD packet to send [19:30:03]OFD Sender: No OFD packet to send [19:30:08]OFD Sender: No OFD packet to send [19:30:13]OFD Sender: No OFD packet to send [19:30:18]OFD Sender: No OFD packet to send [19:30:23]OFD Sender: No OFD packet to send [19:30:28]OFD Sender: No OFD packet to send [19:30:33]OFD Sender: No OFD packet to send [19:30:38]OFD Sender: No OFD packet to send [19:30:43]OFD Sender: No OFD packet to send [19:30:48]OFD Sender: No OFD packet to send [19:30:53]OFD Sender: No OFD packet to send [19:30:58]OFD Sender: No OFD packet to send [19:31:03]OFD Sender: No OFD packet to send [19:31:08]OFD Sender: No OFD packet to send [19:31:13]OFD Sender: No OFD packet to send [19:31:18]OFD Sender: No OFD packet to send [19:31:23]OFD Sender: No OFD packet to send [19:31:28]OFD Sender: No OFD packet to send [19:31:33]OFD Sender: No OFD packet to send [19:31:38]OFD Sender: No OFD packet to send [19:31:43]OFD Sender: No OFD packet to send [19:31:48]OFD Sender: No OFD packet to send [19:31:53]OFD Sender: No OFD packet to send [19:31:58]OFD Sender: No OFD packet to send [19:32:03]OFD Sender: No OFD packet to send [19:32:08]OFD Sender: No OFD packet to send [19:32:13]OFD Sender: No OFD packet to send [19:32:18]OFD Sender: No OFD packet to send [19:32:23]OFD Sender: No OFD packet to send [19:32:28]OFD Sender: No OFD packet to send [19:32:33]OFD Sender: No OFD packet to send [19:32:38]OFD Sender: No OFD packet to send [19:32:43]OFD Sender: No OFD packet to send [19:32:48]OFD Sender: No OFD packet to send [19:32:53]OFD Sender: No OFD packet to send [19:32:58]OFD Sender: No OFD packet to send [19:33:03]OFD Sender: No OFD packet to send [19:33:08]OFD Sender: No OFD packet to send [19:33:13]OFD Sender: No OFD packet to send [19:33:18]OFD Sender: No OFD packet to send [19:33:23]OFD Sender: No OFD packet to send [19:33:28]OFD Sender: No OFD packet to send [19:33:33]OFD Sender: No OFD packet to send [19:33:38]OFD Sender: No OFD packet to send [19:33:43]OFD Sender: No OFD packet to send [19:33:48]OFD Sender: No OFD packet to send [19:33:53]OFD Sender: No OFD packet to send [19:33:58]OFD Sender: No OFD packet to send [19:34:03]OFD Sender: No OFD packet to send [19:34:08]OFD Sender: No OFD packet to send [19:34:13]OFD Sender: No OFD packet to send [19:34:18]OFD Sender: No OFD packet to send [19:34:23]OFD Sender: No OFD packet to send [19:34:28]OFD Sender: No OFD packet to send [19:34:33]OFD Sender: No OFD packet to send [19:34:38]OFD Sender: No OFD packet to send [19:34:43]OFD Sender: No OFD packet to send [19:34:48]OFD Sender: No OFD packet to send [19:34:53]OFD Sender: No OFD packet to send [19:34:58]OFD Sender: No OFD packet to send [19:35:03]OFD Sender: No OFD packet to send [19:35:08]OFD Sender: No OFD packet to send [19:35:13]OFD Sender: No OFD packet to send [19:35:18]OFD Sender: No OFD packet to send [19:35:23]OFD Sender: No OFD packet to send [19:35:28]OFD Sender: No OFD packet to send [19:35:33]OFD Sender: No OFD packet to send [19:35:38]OFD Sender: No OFD packet to send [19:35:43]OFD Sender: No OFD packet to send [19:35:48]OFD Sender: No OFD packet to send [19:35:53]OFD Sender: No OFD packet to send [19:35:58]OFD Sender: No OFD packet to send [19:36:03]OFD Sender: No OFD packet to send [19:36:08]OFD Sender: No OFD packet to send [19:36:13]OFD Sender: No OFD packet to send [19:36:18]OFD Sender: No OFD packet to send [19:36: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:40]accept exits with 8 [19:36:40]New connection [19:36:40]New thread 3067370852 created [19:36:40]Thread 3067227492 joined [19:36:40]Waiting for new connection... [19:36:40] Sock 8.Parse request [19:36:40]Sock 8.Check first char [19:36:40]Sock 8.First char is OK [19:36:40]request: POST /json_proto HTTP/1.0 [19:36:40]Method: POST [19:36:40]URL: /json_proto [19:36:40]Method is POST - this is cgi request [19:36:40]url: /json_proto [19:36:40]query_string will be loaded in cgi processing [19:36:40]execute_cgi json_proto POST (null) [19:36:40]execute_cgi path=json_proto method=POST [19:36:40]POST find Content-Length [19:36:40]Host: 172.17.56.68:8080 [19:36:40]Content-Length: 619 [19:36:40]Content-Type: application/json [19:36:40] [19:36:40]POST finish read [19:36:40]Found Content-Length = 619 [19:36:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4387", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:36:40]execute_script... [19:36:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4387", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:36:40]POST & json_proto [19:36:40]process_json_proto [19:36:40]json parsed OK: [19:36:40]protocol is kg_v1.0 [19:36:40]action value=close_receipt [19:36:40]process_action close_receipt [19:36:40]cmd_close_receipt [19:36:40]MH_GetDate [19:36:40]Write to MH i2c: F0 00 00 CE 24 E1 [19:36:40]Write i2c OK [19:36:40]MH_I2C_Read... [19:36:40]Read from MH i2c: F0 [19:36:40]MH_I2C_Read... [19:36:40]Read from MH i2c: F0 09 00 [19:36:40]MH_I2C_Read... [19:36:40]Read from MH i2c: F0 09 00 CE 24 00 D3 6C 5F 66 42 69 5C 66 5B [19:36:40]GetLastDocTimeStamp 1717526618 [19:36:40]current date 1717529811 [19:36:40]FM_GetShiftState [19:36:40]SAM_PROTO_GetShiftState [19:36:40]wFMCommunicate request_size=4 [19:36:40]MH_SAM_APDU [19:36:40]CAPDU: 80 13 01 00 [19:36:40]Write to MH i2c: E2 08 00 CF 24 80 13 01 00 00 00 00 00 70 [19:36:40]Write i2c OK [19:36:40]MH_I2C_Read... [19:36:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:36:40]Read from MH i2c: E2 [19:36:40]MH_I2C_Read... [19:36:40]Read from MH i2c: E2 0E 00 [19:36:40]MH_I2C_Read... [19:36:40]Read from MH i2c: E2 0E 00 CF 24 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 09 [19:36:40]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [19:36:40]wFMCommunicate OK [19:36:40]SAM_PROTO_GetShiftState done [19:36:40]FM_GetShiftState done [19:36:40]opened in 1717459822 [19:36:40]opened+sec_in_day 1717546222 [19:36:40]quantity*price = 14000 [19:36:40]sum+1 = 14001 [19:36:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 50 04.06.2024 19:36 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4133 ФПД: 147048803346311 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T193651&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4133&fm=147048803346311&tin=02508201610067®Number=0000000000145775&sum=14000 0 [19:36:41]StoreToDocumentArchive [19:36:41]shift 83 fd 4133 [19:36:41]save to /storage/0083/doc_00004133 [19:36:41]save last doc name /storage/0083/doc_00004133 to /storage/kkm_last_doc_name [19:36:41]save OK [19:36:41]Clear old archive folders... [19:36:41]ProcessDocumentItem done err = 0, tmpTLVsize=273 [19:36:41]tlvbuf is 007EA890 [19:36:41]SAM_PROTO_ClearQueue [19:36:41]wFMCommunicate request_size=4 [19:36:41]MH_SAM_APDU [19:36:41]CAPDU: 80 09 00 00 [19:36:41]Write to MH i2c: E2 08 00 DC 24 80 09 00 00 00 00 00 00 72 [19:36:41]Write i2c OK [19:36:41]MH_I2C_Read... [19:36:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:36:41]Read from MH i2c: E2 [19:36:41]MH_I2C_Read... [19:36:41]Read from MH i2c: E2 03 00 [19:36:41]MH_I2C_Read... [19:36:41]Read from MH i2c: E2 03 00 DC 24 00 90 00 74 [19:36:41]RAPDU: 90 00 [19:36:41]wFMCommunicate OK [19:36:41]SAM_PROTO_ClearQueue done [19:36:41]KKMCreateOFDPacket [19:36:41]OFDProtocolAddRootSTLVToBuf [19:36:41]FM_MakeSignedData [19:36:41]FM_MakeSignedData [19:36:41]SAM_PROTO_SignData [19:36:41]wFMCommunicate request_size=4 [19:36:41]MH_SAM_APDU [19:36:41]CAPDU: 80 0D 01 02 [19:36:41]Write to MH i2c: E2 08 00 DD 24 80 0D 01 02 00 00 00 00 7A [19:36:41]Write i2c OK [19:36:41]MH_I2C_Read... [19:36:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:36:42]Read from MH i2c: E2 [19:36:42]MH_I2C_Read... [19:36:42]Read from MH i2c: E2 03 00 [19:36:42]MH_I2C_Read... [19:36:42]Read from MH i2c: E2 03 00 DD 24 00 90 00 75 [19:36:42]RAPDU: 90 00 [19:36:42]wFMCommunicate OK [19:36:42]wFMCommunicate request_size=255 [19:36:42]MH_SAM_APDU [19:36:42]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D3 6C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 [19:36:42]Write to MH i2c: E2 02 01 DE 24 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D3 6C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 00 00 E8 [19:36:42]Write i2c OK [19:36:42]MH_I2C_Read... [19:36:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:36:42]Read from MH i2c: E2 [19:36:42]MH_I2C_Read... [19:36:42]Read from MH i2c: E2 03 00 [19:36:42]MH_I2C_Read... [19:36:42]Read from MH i2c: E2 03 00 DE 24 00 90 00 76 [19:36:42]RAPDU: 90 00 [19:36:42]wFMCommunicate OK [19:36:42]wFMCommunicate request_size=32 [19:36:42]MH_SAM_APDU [19:36:42]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 36 30 10 04 04 00 25 10 00 00 35 04 06 00 85 BD 77 B0 27 87 [19:36:42]Write to MH i2c: E2 23 00 DF 24 80 0D 02 02 1B 00 30 30 30 39 35 39 33 36 30 10 04 04 00 25 10 00 00 35 04 06 00 85 BD 77 B0 27 87 00 00 26 [19:36:42]Write i2c OK [19:36:42]MH_I2C_Read... [19:36:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:36:42]Read from MH i2c: E2 [19:36:42]MH_I2C_Read... [19:36:42]Read from MH i2c: E2 03 00 [19:36:42]MH_I2C_Read... [19:36:42]Read from MH i2c: E2 03 00 DF 24 00 90 00 77 [19:36:42]RAPDU: 90 00 [19:36:42]wFMCommunicate OK [19:36:42]wFMCommunicate request_size=4 [19:36:42]MH_SAM_APDU [19:36:42]CAPDU: 80 0D 03 02 [19:36:42]Write to MH i2c: E2 08 00 E0 24 80 0D 03 02 00 00 00 00 7F [19:36:42]Write i2c OK [19:36:42]MH_I2C_Read... [19:36:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:36:42]Read from MH i2c: E2 [19:36:42]MH_I2C_Read... [19:36:42]Read from MH i2c: E2 0B 00 [19:36:42]MH_I2C_Read... [19:36:42]Read from MH i2c: E2 0B 00 E0 24 00 09 05 30 8D BA 24 AD F2 90 00 C8 [19:36:42]RAPDU: 09 05 30 8D BA 24 AD F2 90 00 [19:36:42]wFMCommunicate OK [19:36:42]SAM_PROTO_SignData done [19:36:42]FM_MakeSignedData done [19:36:42]CreateOFDProtocolMessage [19:36:42]wFMCommunicate request_size=4 [19:36:42]MH_SAM_APDU [19:36:42]CAPDU: 80 11 00 00 [19:36:42]Write to MH i2c: E2 08 00 E1 24 80 11 00 00 00 00 00 00 7F [19:36:42]Write i2c OK [19:36:42]MH_I2C_Read... [19:36:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:36:42]Read from MH i2c: E2 [19:36:42]MH_I2C_Read... [19:36:42]Read from MH i2c: E2 17 00 [19:36:42]MH_I2C_Read... [19:36:42]Read from MH i2c: E2 17 00 E1 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D2 [19:36:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:36:42]wFMCommunicate OK [19:36:42]CreateOFDProtocolMessage done [19:36:42]OFDSenderStorePacket 4133 [19:36:42]StoreOFDPacket docnum=4133 [19:36:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 E3 33 1D 01 7B CF 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D3 6C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 25 10 00 00 35 04 06 00 85 BD 77 B0 27 87 09 05 30 8D BA 24 AD F2 [19:36:42]CheckFolder [19:36:42]dirname=/storage/ofd_packets [19:36:42]CheckFolder done [19:36:42]ProducePacketName [19:36:42]name=ofd_packets/00004133 [19:36:42]NVStorageSaveData ofd_packets/00004133 [19:36:42]File name is /storage/ofd_packets/00004133 [19:36:42]Write 323 bytes [19:36:42]NVStorageSaveData done [19:36:42]OFDSenderStorePacket done [19:36:42]KKMCreateOFDPacket done [19:36:42]NVStorageSaveData kkm_last_timestamp [19:36:42]File name is /storage/kkm_last_timestamp [19:36:42]Write 4 bytes [19:36:42]NVStorageSaveData done [19:36:42]ExternCall_PrintAddStr [19:36:42]wPrintStart [19:36:42]Write to MH i2c: 01 00 00 E2 24 06 [19:36:42]Write i2c OK [19:36:42]MH_I2C_Read... [19:36:42]Read from MH i2c: 01 [19:36:42]MH_I2C_Read... [19:36:42]Read from MH i2c: 01 07 00 [19:36:42]MH_I2C_Read... [19:36:42]Read from MH i2c: 01 07 00 E2 24 00 00 00 00 00 FF 0F 1B [19:36:42]RasterBufferAndPrint [19:36:42]line Счет N : (3)4387 [19:36:42]line ИНН: 02508201610067 [19:36:42]line Контрольно-Кассовый Чек [19:36:42]line ПРОДАЖА [19:36:42]line Товар: 48747059 [19:36:42]line Сигареты Winston Legend Blue [19:36:42]line 1.000 * 140.00 [19:36:42]line = 140.00 [19:36:42]line НДС 12% НСП 1% [19:36:42]line > о реализуемом товаре [19:36:42]line ИТОГО: 140.00 [19:36:42]line НСП 1% : 1.24 [19:36:42]line НДС 12% : 14.87 [19:36:42]line Наличными: 140.00 [19:36:42]line Безнал.: 0.00 [19:36:42]line Место: АЗС № 116 "Партнер Нефть" [19:36:42]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [19:36:42]line СНО: Общий режим [19:36:42]line Чек 50 04.06.2024 19:36 [19:36:42]line Смена: 83 ФФД: 1.0 [19:36:42]line ЗНМ: 0300000233 [19:36:42]line РНМ: 0000000000145775 [19:36:42]line Версия ККМ: v1.0 [19:36:42]line ФМ: 0000000000959360 [19:36:42]line ФД: 4133 [19:36:42]line ФПД: 147048803346311 [19:36:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T193651&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4133&fm=147048803346311&tin=02508201610067®Number=0000000000145775&sum=14000 [19:36:42]line 0 [19:36:42]OFD Sender: Processing packet 4133 [packets to send 2, broken 1] [19:36:42]ProducePacketName [19:36:42]name=ofd_packets/00004133 [19:36:42]OFD Sender: To server: pG, [19:36:42]CommunicateWithHost lk.salyk.kg:30040 [19:36:42]ConnectInit lk.salyk.kg [19:36:42]written 0, free lines is 4095 [19:36:42]Connected sock=10 [19:36:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 E3 33 1D 01 7B CF 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D3 6C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 25 10 00 00 35 04 06 00 85 BD 77 B0 27 87 09 05 30 8D BA 24 AD F2 [19:36:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 E0 5E 47 00 B9 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 30 39 35 39 33 36 30 10 04 04 00 25 10 00 00 F4 03 04 00 D2 18 5F 66 B6 04 01 00 00 C7 E9 67 84 AE 42 CA 4C [19:36:43]CommunicateWithHost err = 0 [19:36:43]CheckOFDResponse [19:36:43]1017 (14) - 77093643461234 [19:36:43]1041 (16) - 0000000000959360 [19:36:43]1040 (4) - 4133 [19:36:43]1012 (4) - 04.06.2024 13:38 [19:36:43]1206 (1) - 0 [19:36:43]OFD Sender: Remove packet 4133 [19:36:43]ProducePacketName [19:36:43]name=ofd_packets/00004133 [19:36:43]NVStorageDeleteData [19:36:43]Write to MH i2c: 01 00 00 0B 25 30 [19:36:43]Write i2c OK [19:36:43]MH_I2C_Read... [19:36:43]Read from MH i2c: 01 [19:36:43]MH_I2C_Read... [19:36:43]Read from MH i2c: 01 07 00 [19:36:43]MH_I2C_Read... [19:36:43]Read from MH i2c: 01 07 00 0B 25 00 00 00 00 00 A9 0C EC [19:36:43]RasterBufferAndPrint [19:36:43]line [19:36:43]line [19:36:43]line [19:36:43]line [19:36:43]line [19:36:43]written 0, free lines is 3246 [19:36:43]MH_Cut [19:36:43]Write to MH i2c: D1 01 00 12 25 01 09 [19:36:43]Write i2c OK [19:36:43]MH_I2C_Read... [19:36:43]Read from MH i2c: D1 [19:36:43]MH_I2C_Read... [19:36:43]Read from MH i2c: D1 01 00 [19:36:43]MH_I2C_Read... [19:36:43]Read from MH i2c: D1 01 00 12 25 00 08 [19:36:43]Write to MH i2c: 01 00 00 13 25 38 [19:36:43]Write i2c OK [19:36:43]MH_I2C_Read... [19:36:43]OFD Sender: No OFD packet to send [19:36:44]*** Cut start [19:36:44]*** Partial cut [19:36:44]*** CUTSNS_PIN = 1 [19:36:44]*** CUTSNS_PIN = 0 [19:36:44]*** Brake cut motor [19:36:44]Read from MH i2c: 01 [19:36:44]MH_I2C_Read... [19:36:44]*** Stop cut motor [19:36:44]*** Cut end [19:36:44]Read from MH i2c: 01 07 00 [19:36:44]MH_I2C_Read... [19:36:44]Read from MH i2c: 01 07 00 13 25 00 00 00 00 00 FF 0F 4D [19:36:44]process_action close_receipt done [19:36:44]requested_data is exist [19:36:44]produce_requested_data [19:36:44]requested_item fm.sn is exist - process it [19:36:44]wFMCommunicate request_size=4 [19:36:44]MH_SAM_APDU [19:36:44]CAPDU: 80 11 00 00 [19:36:44]Write to MH i2c: E2 08 00 14 25 80 11 00 00 00 00 00 00 B3 [19:36:44]Write i2c OK [19:36:44]MH_I2C_Read... [19:36:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:36:44]Read from MH i2c: E2 [19:36:44]MH_I2C_Read... [19:36:44]Read from MH i2c: E2 17 00 [19:36:44]MH_I2C_Read... [19:36:44]Read from MH i2c: E2 17 00 14 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 06 [19:36:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:36:44]wFMCommunicate OK [19:36:44]requested_item fd.num is exist - process it [19:36:44]SAM_PROTO_GetFieldsCounters [19:36:44]wFMCommunicate request_size=4 [19:36:44]MH_SAM_APDU [19:36:44]CAPDU: 80 13 00 00 [19:36:44]Write to MH i2c: E2 08 00 15 25 80 13 00 00 00 00 00 00 B6 [19:36:44]Write i2c OK [19:36:44]MH_I2C_Read... [19:36:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:36:45]Read from MH i2c: E2 [19:36:45]MH_I2C_Read... [19:36:45]Read from MH i2c: E2 62 00 [19:36:45]MH_I2C_Read... [19:36:45]Read from MH i2c: E2 62 00 15 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 25 10 00 00 0E 04 04 00 53 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 F9 [19:36:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 25 10 00 00 0E 04 04 00 53 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 [19:36:45]wFMCommunicate OK [19:36:45]SAM_PROTO_GetFieldsCounters done [19:36:45]requested_item shift.num is exist - process it [19:36:45]requested_item shift.opened is exist - process it [19:36:45]req_shift_opened [19:36:45]FM_GetShiftState [19:36:45]SAM_PROTO_GetShiftState [19:36:45]wFMCommunicate request_size=4 [19:36:45]MH_SAM_APDU [19:36:45]CAPDU: 80 13 01 00 [19:36:45]Write to MH i2c: E2 08 00 16 25 80 13 01 00 00 00 00 00 B8 [19:36:45]Write i2c OK [19:36:45]MH_I2C_Read... [19:36:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:36:45]Read from MH i2c: E2 [19:36:45]MH_I2C_Read... [19:36:45]Read from MH i2c: E2 0E 00 [19:36:45]MH_I2C_Read... [19:36:45]Read from MH i2c: E2 0E 00 16 25 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 51 [19:36:45]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [19:36:45]wFMCommunicate OK [19:36:45]SAM_PROTO_GetShiftState done [19:36:45]FM_GetShiftState done [19:36:45]req_shift_opened done [19:36:45]requested_item shift.open_date is exist - process it [19:36:45]req_shift_open_date [19:36:45]req_shift_open_date done [19:36:45]produce_requested_data done [19:36:45]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4133,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [19:36:45]process_action_free close_receipt [19:36:45]json_value_free [19:36:45]json_value_free done [19:36:45]process_json_proto returns [19:36:45]Send response to host [19:36:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4133,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [19:36:45]free response buf [19:36:45]execute_script done [19:36:45]execute_script returns [19:36:45]free content buf [19:36:45]Sock 8.Close socket [19:36:45]Sock 8.Thread stoped [19:36:48]OFD Sender: No OFD packet to send [19:36:52]accept exits with 9 [19:36:52]New connection [19:36:52]New thread 3067227492 created [19:36:52]Thread 3067370852 joined [19:36:52]Waiting for new connection... [19:36:52] Sock 9.Parse request [19:36:52]Sock 9.Check first char [19:36:52]Sock 9.First char is OK [19:36:52]request: POST /json_proto HTTP/1.0 [19:36:52]Method: POST [19:36:52]URL: /json_proto [19:36:52]Method is POST - this is cgi request [19:36:52]url: /json_proto [19:36:52]query_string will be loaded in cgi processing [19:36:52]execute_cgi json_proto POST (null) [19:36:52]execute_cgi path=json_proto method=POST [19:36:52]POST find Content-Length [19:36:52]Host: 172.17.56.68:8080 [19:36:52]Content-Length: 620 [19:36:52]Content-Type: application/json [19:36:52] [19:36:52]POST finish read [19:36:52]Found Content-Length = 620 [19:36:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4388", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "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" ] } } [19:36:52]execute_script... [19:36:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4388", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "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" ] } } [19:36:52]POST & json_proto [19:36:52]process_json_proto [19:36:52]json parsed OK: [19:36:52]protocol is kg_v1.0 [19:36:52]action value=close_receipt [19:36:52]process_action close_receipt [19:36:52]cmd_close_receipt [19:36:52]MH_GetDate [19:36:52]Write to MH i2c: F0 00 00 17 25 2B [19:36:52]Write i2c OK [19:36:52]MH_I2C_Read... [19:36:52]Read from MH i2c: F0 [19:36:52]MH_I2C_Read... [19:36:52]Read from MH i2c: F0 09 00 [19:36:52]MH_I2C_Read... [19:36:52]Read from MH i2c: F0 09 00 17 25 00 DF 6C 5F 66 42 69 5C 66 B1 [19:36:52]GetLastDocTimeStamp 1717529811 [19:36:52]current date 1717529823 [19:36:52]FM_GetShiftState [19:36:52]SAM_PROTO_GetShiftState [19:36:52]wFMCommunicate request_size=4 [19:36:52]MH_SAM_APDU [19:36:52]CAPDU: 80 13 01 00 [19:36:52]Write to MH i2c: E2 08 00 18 25 80 13 01 00 00 00 00 00 BA [19:36:52]Write i2c OK [19:36:52]MH_I2C_Read... [19:36:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:36:52]Read from MH i2c: E2 [19:36:52]MH_I2C_Read... [19:36:52]Read from MH i2c: E2 0E 00 [19:36:52]MH_I2C_Read... [19:36:52]Read from MH i2c: E2 0E 00 18 25 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 53 [19:36:52]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [19:36:52]wFMCommunicate OK [19:36:52]SAM_PROTO_GetShiftState done [19:36:52]FM_GetShiftState done [19:36:52]opened in 1717459822 [19:36:52]opened+sec_in_day 1717546222 [19:36:52]quantity*price = 15000 [19:36:52]sum+1 = 15001 [19:36:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 51 04.06.2024 19:37 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4134 ФПД: 211191067362107 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T193703&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4134&fm=211191067362107&tin=02508201610067®Number=0000000000145775&sum=15000 0 [19:36:54]StoreToDocumentArchive [19:36:54]shift 83 fd 4134 [19:36:54]save to /storage/0083/doc_00004134 [19:36:54]save last doc name /storage/0083/doc_00004134 to /storage/kkm_last_doc_name [19:36:54]save OK [19:36:54]Clear old archive folders... [19:36:54]ProcessDocumentItem done err = 0, tmpTLVsize=274 [19:36:54]tlvbuf is 007EA690 [19:36:54]SAM_PROTO_ClearQueue [19:36:54]wFMCommunicate request_size=4 [19:36:54]MH_SAM_APDU [19:36:54]CAPDU: 80 09 00 00 [19:36:54]Write to MH i2c: E2 08 00 25 25 80 09 00 00 00 00 00 00 BC [19:36:54]Write i2c OK [19:36:54]MH_I2C_Read... [19:36:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:36:54]Read from MH i2c: E2 [19:36:54]MH_I2C_Read... [19:36:54]Read from MH i2c: E2 03 00 [19:36:54]MH_I2C_Read... [19:36:54]Read from MH i2c: E2 03 00 25 25 00 90 00 BE [19:36:54]RAPDU: 90 00 [19:36:54]wFMCommunicate OK [19:36:54]SAM_PROTO_ClearQueue done [19:36:54]KKMCreateOFDPacket [19:36:54]OFDProtocolAddRootSTLVToBuf [19:36:54]FM_MakeSignedData [19:36:54]FM_MakeSignedData [19:36:54]SAM_PROTO_SignData [19:36:54]wFMCommunicate request_size=4 [19:36:54]MH_SAM_APDU [19:36:54]CAPDU: 80 0D 01 02 [19:36:54]Write to MH i2c: E2 08 00 26 25 80 0D 01 02 00 00 00 00 C4 [19:36:54]Write i2c OK [19:36:54]MH_I2C_Read... [19:36:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:36:54]Read from MH i2c: E2 [19:36:54]MH_I2C_Read... [19:36:54]Read from MH i2c: E2 03 00 [19:36:54]MH_I2C_Read... [19:36:54]Read from MH i2c: E2 03 00 26 25 00 90 00 BF [19:36:54]RAPDU: 90 00 [19:36:54]wFMCommunicate OK [19:36:54]wFMCommunicate request_size=255 [19:36:54]MH_SAM_APDU [19:36:54]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 33 00 00 00 F4 03 04 00 DF 6C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 [19:36:54]Write to MH i2c: E2 02 01 27 25 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 33 00 00 00 F4 03 04 00 DF 6C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 00 00 76 [19:36:54]Write i2c OK [19:36:54]MH_I2C_Read... [19:36:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:36:54]Read from MH i2c: E2 [19:36:54]MH_I2C_Read... [19:36:54]Read from MH i2c: E2 03 00 [19:36:54]MH_I2C_Read... [19:36:54]Read from MH i2c: E2 03 00 27 25 00 90 00 C0 [19:36:54]RAPDU: 90 00 [19:36:54]wFMCommunicate OK [19:36:54]wFMCommunicate request_size=33 [19:36:54]MH_SAM_APDU [19:36:54]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 33 36 30 10 04 04 00 26 10 00 00 35 04 06 00 C0 13 C0 8C C3 3B [19:36:54]Write to MH i2c: E2 24 00 28 25 80 0D 02 02 1C 00 30 30 30 30 39 35 39 33 36 30 10 04 04 00 26 10 00 00 35 04 06 00 C0 13 C0 8C C3 3B 00 00 A9 [19:36:54]Write i2c OK [19:36:54]MH_I2C_Read... [19:36:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:36:54]Read from MH i2c: E2 [19:36:54]MH_I2C_Read... [19:36:54]Read from MH i2c: E2 03 00 [19:36:54]MH_I2C_Read... [19:36:54]Read from MH i2c: E2 03 00 28 25 00 90 00 C1 [19:36:54]RAPDU: 90 00 [19:36:54]wFMCommunicate OK [19:36:54]wFMCommunicate request_size=4 [19:36:54]MH_SAM_APDU [19:36:54]CAPDU: 80 0D 03 02 [19:36:54]Write to MH i2c: E2 08 00 29 25 80 0D 03 02 00 00 00 00 C9 [19:36:54]Write i2c OK [19:36:54]MH_I2C_Read... [19:36:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:36:54]Read from MH i2c: E2 [19:36:54]MH_I2C_Read... [19:36:54]Read from MH i2c: E2 0B 00 [19:36:54]MH_I2C_Read... [19:36:54]Read from MH i2c: E2 0B 00 29 25 00 1E 06 97 C9 72 95 9B 17 90 00 07 [19:36:54]RAPDU: 1E 06 97 C9 72 95 9B 17 90 00 [19:36:54]wFMCommunicate OK [19:36:54]SAM_PROTO_SignData done [19:36:54]FM_MakeSignedData done [19:36:54]CreateOFDProtocolMessage [19:36:54]wFMCommunicate request_size=4 [19:36:54]MH_SAM_APDU [19:36:54]CAPDU: 80 11 00 00 [19:36:54]Write to MH i2c: E2 08 00 2A 25 80 11 00 00 00 00 00 00 C9 [19:36:54]Write i2c OK [19:36:54]MH_I2C_Read... [19:36:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:36:54]Read from MH i2c: E2 [19:36:54]MH_I2C_Read... [19:36:54]Read from MH i2c: E2 17 00 [19:36:54]MH_I2C_Read... [19:36:54]Read from MH i2c: E2 17 00 2A 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 1C [19:36:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:36:54]wFMCommunicate OK [19:36:54]CreateOFDProtocolMessage done [19:36:54]OFDSenderStorePacket 4134 [19:36:54]StoreOFDPacket docnum=4134 [19:36:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 B4 07 1E 01 E6 95 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 33 00 00 00 F4 03 04 00 DF 6C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 26 10 00 00 35 04 06 00 C0 13 C0 8C C3 3B 1E 06 97 C9 72 95 9B 17 [19:36:54]CheckFolder [19:36:54]dirname=/storage/ofd_packets [19:36:54]CheckFolder done [19:36:54]ProducePacketName [19:36:54]name=ofd_packets/00004134 [19:36:54]NVStorageSaveData ofd_packets/00004134 [19:36:54]File name is /storage/ofd_packets/00004134 [19:36:54]Write 324 bytes [19:36:54]NVStorageSaveData done [19:36:54]OFDSenderStorePacket done [19:36:54]KKMCreateOFDPacket done [19:36:54]NVStorageSaveData kkm_last_timestamp [19:36:54]File name is /storage/kkm_last_timestamp [19:36:54]Write 4 bytes [19:36:54]NVStorageSaveData done [19:36:54]ExternCall_PrintAddStr [19:36:54]wPrintStart [19:36:54]Write to MH i2c: 01 00 00 2B 25 50 [19:36:54]Write i2c OK [19:36:54]MH_I2C_Read... [19:36:54]Read from MH i2c: 01 [19:36:54]MH_I2C_Read... [19:36:54]Read from MH i2c: 01 07 00 [19:36:54]MH_I2C_Read... [19:36:54]Read from MH i2c: 01 07 00 2B 25 00 00 00 00 00 FF 0F 65 [19:36:54]RasterBufferAndPrint [19:36:54]line Счет N : (3)4388 [19:36:54]line ИНН: 02508201610067 [19:36:54]line Контрольно-Кассовый Чек [19:36:54]line ПРОДАЖА [19:36:54]line Товар: 46230614 [19:36:54]line Сигареты Richmond Red Edition [19:36:54]line 1.000 * 150.00 [19:36:54]line = 150.00 [19:36:54]line НДС 12% НСП 1% [19:36:54]line > о реализуемом товаре [19:36:54]line ИТОГО: 150.00 [19:36:54]line НСП 1% : 1.33 [19:36:54]line НДС 12% : 15.93 [19:36:54]line Наличными: 150.00 [19:36:54]line Безнал.: 0.00 [19:36:54]line Место: АЗС № 116 "Партнер Нефть" [19:36:54]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [19:36:54]line СНО: Общий режим [19:36:54]line Чек 51 04.06.2024 19:37 [19:36:54]line Смена: 83 ФФД: 1.0 [19:36:54]line ЗНМ: 0300000233 [19:36:54]line РНМ: 0000000000145775 [19:36:54]line Версия ККМ: v1.0 [19:36:54]line ФМ: 0000000000959360 [19:36:54]line ФД: 4134 [19:36:54]line ФПД: 211191067362107 [19:36:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T193703&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4134&fm=211191067362107&tin=02508201610067®Number=0000000000145775&sum=15000 [19:36:54]line 0 [19:36:54]written 0, free lines is 4095 [19:36:54]OFD Sender: Processing packet 4134 [packets to send 2, broken 1] [19:36:54]ProducePacketName [19:36:54]name=ofd_packets/00004134 [19:36:54]OFD Sender: To server: pG, [19:36:54]CommunicateWithHost lk.salyk.kg:30040 [19:36:54]ConnectInit lk.salyk.kg [19:36:54]Connected sock=10 [19:36:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 B4 07 1E 01 E6 95 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 33 00 00 00 F4 03 04 00 DF 6C 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 26 10 00 00 35 04 06 00 C0 13 C0 8C C3 3B 1E 06 97 C9 72 95 9B 17 [19:36:55]Write to MH i2c: 01 00 00 54 25 79 [19:36:55]Write i2c OK [19:36:55]MH_I2C_Read... [19:36:55]Read from MH i2c: 01 [19:36:55]MH_I2C_Read... [19:36:55]Read from MH i2c: 01 07 00 [19:36:55]MH_I2C_Read... [19:36:55]Read from MH i2c: 01 07 00 54 25 00 00 00 00 00 AC 0C 38 [19:36:55]RasterBufferAndPrint [19:36:55]line [19:36:55]line [19:36:55]line [19:36:55]line [19:36:55]line [19:36:55]written 0, free lines is 3250 [19:36:55]MH_Cut [19:36:55]Write to MH i2c: D1 01 00 5B 25 01 52 [19:36:55]Write i2c OK [19:36:55]MH_I2C_Read... [19:36:55]Read from MH i2c: D1 [19:36:55]MH_I2C_Read... [19:36:55]Read from MH i2c: D1 01 00 [19:36:55]MH_I2C_Read... [19:36:55]Read from MH i2c: D1 01 00 5B 25 00 51 [19:36:55]Write to MH i2c: 01 00 00 5C 25 81 [19:36:55]Write i2c OK [19:36:55]MH_I2C_Read... [19:36:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 E5 40 47 00 8B 83 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 26 10 00 00 F4 03 04 00 DF 18 5F 66 B6 04 01 00 00 9C 3E 49 FC 1F 28 7D 6E [19:36:55]CommunicateWithHost err = 0 [19:36:55]CheckOFDResponse [19:36:55]1017 (14) - 77093643461234 [19:36:55]1041 (16) - 0000000000959360 [19:36:55]1040 (4) - 4134 [19:36:55]1012 (4) - 04.06.2024 13:38 [19:36:55]1206 (1) - 0 [19:36:55]OFD Sender: Remove packet 4134 [19:36:55]ProducePacketName [19:36:55]name=ofd_packets/00004134 [19:36:55]NVStorageDeleteData [19:36:55]OFD Sender: No OFD packet to send [19:36:56]*** Cut start [19:36:56]*** Partial cut [19:36:56]*** CUTSNS_PIN = 1 [19:36:56]*** CUTSNS_PIN = 0 [19:36:56]*** Brake cut motor [19:36:56]Read from MH i2c: 01 [19:36:56]MH_I2C_Read... [19:36:56]*** Stop cut motor [19:36:56]Read from MH i2c: *** Cut end [19:36:56]01 07 00 [19:36:56]MH_I2C_Read... [19:36:56]Read from MH i2c: 01 07 00 5C 25 00 00 00 00 00 FF 0F 96 [19:36:56]process_action close_receipt done [19:36:56]requested_data is exist [19:36:56]produce_requested_data [19:36:56]requested_item fm.sn is exist - process it [19:36:56]wFMCommunicate request_size=4 [19:36:56]MH_SAM_APDU [19:36:56]CAPDU: 80 11 00 00 [19:36:56]Write to MH i2c: E2 08 00 5D 25 80 11 00 00 00 00 00 00 FC [19:36:56]Write i2c OK [19:36:56]MH_I2C_Read... [19:36:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:36:56]Read from MH i2c: E2 [19:36:56]MH_I2C_Read... [19:36:56]Read from MH i2c: E2 17 00 [19:36:56]MH_I2C_Read... [19:36:56]Read from MH i2c: E2 17 00 5D 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 4F [19:36:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:36:56]wFMCommunicate OK [19:36:56]requested_item fd.num is exist - process it [19:36:56]SAM_PROTO_GetFieldsCounters [19:36:56]wFMCommunicate request_size=4 [19:36:56]MH_SAM_APDU [19:36:56]CAPDU: 80 13 00 00 [19:36:56]Write to MH i2c: E2 08 00 5E 25 80 13 00 00 00 00 00 00 FF [19:36:56]Write i2c OK [19:36:56]MH_I2C_Read... [19:36:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:36:56]Read from MH i2c: E2 [19:36:56]MH_I2C_Read... [19:36:56]Read from MH i2c: E2 62 00 [19:36:56]MH_I2C_Read... [19:36:56]Read from MH i2c: E2 62 00 5E 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 26 10 00 00 0E 04 04 00 53 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 46 [19:36:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 26 10 00 00 0E 04 04 00 53 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 [19:36:56]wFMCommunicate OK [19:36:56]SAM_PROTO_GetFieldsCounters done [19:36:56]requested_item shift.num is exist - process it [19:36:56]requested_item shift.opened is exist - process it [19:36:56]req_shift_opened [19:36:56]FM_GetShiftState [19:36:56]SAM_PROTO_GetShiftState [19:36:56]wFMCommunicate request_size=4 [19:36:56]MH_SAM_APDU [19:36:56]CAPDU: 80 13 01 00 [19:36:56]Write to MH i2c: E2 08 00 5F 25 80 13 01 00 00 00 00 00 01 [19:36:56]Write i2c OK [19:36:56]MH_I2C_Read... [19:36:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:36:56]Read from MH i2c: E2 [19:36:56]MH_I2C_Read... [19:36:56]Read from MH i2c: E2 0E 00 [19:36:56]MH_I2C_Read... [19:36:56]Read from MH i2c: E2 0E 00 5F 25 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 9A [19:36:56]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [19:36:56]wFMCommunicate OK [19:36:56]SAM_PROTO_GetShiftState done [19:36:56]FM_GetShiftState done [19:36:56]req_shift_opened done [19:36:56]requested_item shift.open_date is exist - process it [19:36:56]req_shift_open_date [19:36:56]req_shift_open_date done [19:36:56]produce_requested_data done [19:36:56]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4134,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [19:36:56]process_action_free close_receipt [19:36:56]json_value_free [19:36:56]json_value_free done [19:36:56]process_json_proto returns [19:36:56]Send response to host [19:36:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4134,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [19:36:56]free response buf [19:36:56]execute_script done [19:36:56]execute_script returns [19:36:56]free content buf [19:36:56]Sock 9.Close socket [19:36:56]Sock 9.Thread stoped [19:37:00]OFD Sender: No OFD packet to send [19:37:05]OFD Sender: No OFD packet to send [19:37:10]OFD Sender: No OFD packet to send [19:37:15]OFD Sender: No OFD packet to send [19:37:20]OFD Sender: No OFD packet to send [19:37:25]OFD Sender: No OFD packet to send [19:37:30]OFD Sender: No OFD packet to send [19:37:35]OFD Sender: No OFD packet to send [19:37:40]OFD Sender: No OFD packet to send [19:37:45]OFD Sender: No OFD packet to send [19:37:50]OFD Sender: No OFD packet to send [19:37:55]OFD Sender: No OFD packet to send [19:38:00]OFD Sender: No OFD packet to send [19:38:05]OFD Sender: No OFD packet to send [19:38:10]OFD Sender: No OFD packet to send [19:38:15]OFD Sender: No OFD packet to send [19:38:20]OFD Sender: No OFD packet to send [19:38:25]OFD Sender: No OFD packet to send [19:38:30]OFD Sender: No OFD packet to send [19:38:35]OFD Sender: No OFD packet to send [19:38:40]OFD Sender: No OFD packet to send [19:38:45]OFD Sender: No OFD packet to send [19:38:50]OFD Sender: No OFD packet to send [19:38:55]OFD Sender: No OFD packet to send [19:39:00]OFD Sender: No OFD packet to send [19:39:05]OFD Sender: No OFD packet to send [19:39:10]OFD Sender: No OFD packet to send [19:39:15]OFD Sender: No OFD packet to send [19:39:20]OFD Sender: No OFD packet to send [19:39:25]OFD Sender: No OFD packet to send [19:39:30]OFD Sender: No OFD packet to send [19:39:35]OFD Sender: No OFD packet to send [19:39:40]OFD Sender: No OFD packet to send [19:39:45]OFD Sender: No OFD packet to send [19:39:50]OFD Sender: No OFD packet to send [19:39:55]OFD Sender: No OFD packet to send [19:40:00]OFD Sender: No OFD packet to send [19:40:05]OFD Sender: No OFD packet to send [19:40:10]OFD Sender: No OFD packet to send [19:40:15]OFD Sender: No OFD packet to send [19:40:20]OFD Sender: No OFD packet to send [19:40:25]OFD Sender: No OFD packet to send [19:40:30]OFD Sender: No OFD packet to send [19:40:35]OFD Sender: No OFD packet to send [19:40:40]OFD Sender: No OFD packet to send [19:40:45]OFD Sender: No OFD packet to send [19:40:50]OFD Sender: No OFD packet to send [19:40:55]OFD Sender: No OFD packet to send [19:41:00]OFD Sender: No OFD packet to send [19:41:05]OFD Sender: No OFD packet to send [19:41:10]OFD Sender: No OFD packet to send [19:41:15]OFD Sender: No OFD packet to send [19:41:20]OFD Sender: No OFD packet to send [19:41:25]OFD Sender: No OFD packet to send [19:41:30]OFD Sender: No OFD packet to send [19:41:35]OFD Sender: No OFD packet to send [19:41:40]OFD Sender: No OFD packet to send [19:41:45]OFD Sender: No OFD packet to send [19:41:50]OFD Sender: No OFD packet to send [19:41:55]OFD Sender: No OFD packet to send [19:42:00]OFD Sender: No OFD packet to send [19:42:05]OFD Sender: No OFD packet to send [19:42:10]OFD Sender: No OFD packet to send [19:42:15]OFD Sender: No OFD packet to send [19:42:20]OFD Sender: No OFD packet to send [19:42:25]OFD Sender: No OFD packet to send [19:42:30]OFD Sender: No OFD packet to send [19:42:35]OFD Sender: No OFD packet to send [19:42:40]OFD Sender: No OFD packet to send [19:42:45]OFD Sender: No OFD packet to send [19:42:50]OFD Sender: No OFD packet to send [19:42:55]OFD Sender: No OFD packet to send [19:43:00]OFD Sender: No OFD packet to send [19:43:05]OFD Sender: No OFD packet to send [19:43:10]OFD Sender: No OFD packet to send [19:43:15]OFD Sender: No OFD packet to send [19:43:20]OFD Sender: No OFD packet to send [19:43:25]OFD Sender: No OFD packet to send [19:43:31]OFD Sender: No OFD packet to send [19:43:36]OFD Sender: No OFD packet to send [19:43:41]OFD Sender: No OFD packet to send [19:43:46]OFD Sender: No OFD packet to send [19:43:51]OFD Sender: No OFD packet to send [19:43:56]OFD Sender: No OFD packet to send [19:44:01]OFD Sender: No OFD packet to send [19:44:06]OFD Sender: No OFD packet to send [19:44:11]OFD Sender: No OFD packet to send [19:44:16]OFD Sender: No OFD packet to send [19:44:21]OFD Sender: No OFD packet to send [19:44:26]OFD Sender: No OFD packet to send [19:44:31]OFD Sender: No OFD packet to send [19:44:36]OFD Sender: No OFD packet to send [19:44:41]OFD Sender: No OFD packet to send [19:44:46]OFD Sender: No OFD packet to send [19:44:51]OFD Sender: No OFD packet to send [19:44:56]OFD Sender: No OFD packet to send [19:45:01]OFD Sender: No OFD packet to send [19:45:06]OFD Sender: No OFD packet to send [19:45:11]OFD Sender: No OFD packet to send [19:45:16]OFD Sender: No OFD packet to send [19:45:21]OFD Sender: No OFD packet to send [19:45:26]OFD Sender: No OFD packet to send [19:45:31]OFD Sender: No OFD packet to send [19:45:36]OFD Sender: No OFD packet to send [19:45:41]OFD Sender: No OFD packet to send [19:45:46]OFD Sender: No OFD packet to send [19:45:51]OFD Sender: No OFD packet to send [19:45:56]OFD Sender: No OFD packet to send [19:46:01]OFD Sender: No OFD packet to send [19:46:06]OFD Sender: No OFD packet to send [19:46:11]OFD Sender: No OFD packet to send [19:46:16]OFD Sender: No OFD packet to send [19:46:21]OFD Sender: No OFD packet to send [19:46:26]OFD Sender: No OFD packet to send [19:46:31]OFD Sender: No OFD packet to send [19:46:36]OFD Sender: No OFD packet to send [19:46:41]OFD Sender: No OFD packet to send [19:46:46]OFD Sender: No OFD packet to send [19:46:51]OFD Sender: No OFD packet to send [19:46:56]OFD Sender: No OFD packet to send [19:47:01]OFD Sender: No OFD packet to send [19:47:06]OFD Sender: No OFD packet to send [19:47:11]OFD Sender: No OFD packet to send [19:47:16]OFD Sender: No OFD packet to send [19:47:21]OFD Sender: No OFD packet to send [19:47:26]OFD Sender: No OFD packet to send [19:47:31]OFD Sender: No OFD packet to send [19:47:36]OFD Sender: No OFD packet to send [19:47:41]OFD Sender: No OFD packet to send [19:47:46]OFD Sender: No OFD packet to send [19:47:51]OFD Sender: No OFD packet to send [19:47:56]OFD Sender: No OFD packet to send [19:48:01]OFD Sender: No OFD packet to send [19:48:06]OFD Sender: No OFD packet to send [19:48:11]OFD Sender: No OFD packet to send [19:48:16]OFD Sender: No OFD packet to send [19:48:21]OFD Sender: No OFD packet to send [19:48:26]OFD Sender: No OFD packet to send [19:48:31]OFD Sender: No OFD packet to send [19:48:36]OFD Sender: No OFD packet to send [19:48:41]OFD Sender: No OFD packet to send [19:48:46]OFD Sender: No OFD packet to send [19:48:51]OFD Sender: No OFD packet to send [19:48:56]OFD Sender: No OFD packet to send [19:49:01]OFD Sender: No OFD packet to send [19:49:06]OFD Sender: No OFD packet to send [19:49:11]OFD Sender: No OFD packet to send [19:49:16]OFD Sender: No OFD packet to send [19:49:21]OFD Sender: No OFD packet to send [19:49:26]OFD Sender: No OFD packet to send [19:49:31]OFD Sender: No OFD packet to send [19:49:36]OFD Sender: No OFD packet to send [19:49:41]OFD Sender: No OFD packet to send [19:49:46]OFD Sender: No OFD packet to send [19:49:51]OFD Sender: No OFD packet to send [19:49:56]OFD Sender: No OFD packet to send [19:50:01]OFD Sender: No OFD packet to send [19:50:06]OFD Sender: No OFD packet to send [19:50:11]OFD Sender: No OFD packet to send [19:50:16]OFD Sender: No OFD packet to send [19:50:21]OFD Sender: No OFD packet to send [19:50:26]OFD Sender: No OFD packet to send [19:50:31]OFD Sender: No OFD packet to send [19:50:36]OFD Sender: No OFD packet to send [19:50:41]OFD Sender: No OFD packet to send [19:50:46]OFD Sender: No OFD packet to send [19:50:51]OFD Sender: No OFD packet to send [19:50:56]OFD Sender: No OFD packet to send [19:51:01]OFD Sender: No OFD packet to send [19:51:06]OFD Sender: No OFD packet to send [19:51:11]OFD Sender: No OFD packet to send [19:51:16]OFD Sender: No OFD packet to send [19:51:21]OFD Sender: No OFD packet to send [19:51:26]OFD Sender: No OFD packet to send [19:51:31]OFD Sender: No OFD packet to send [19:51:36]OFD Sender: No OFD packet to send [19:51:41]OFD Sender: No OFD packet to send [19:51:46]OFD Sender: No OFD packet to send [19:51:51]OFD Sender: No OFD packet to send [19:51:56]OFD Sender: No OFD packet to send [19:52:01]OFD Sender: No OFD packet to send [19:52:06]OFD Sender: No OFD packet to send [19:52:11]OFD Sender: No OFD packet to send [19:52:16]OFD Sender: No OFD packet to send [19:52:21]OFD Sender: No OFD packet to send [19:52:26]OFD Sender: No OFD packet to send [19:52:31]OFD Sender: No OFD packet to send [19:52:36]OFD Sender: No OFD packet to send [19:52:41]OFD Sender: No OFD packet to send [19:52:46]OFD Sender: No OFD packet to send [19:52:51]OFD Sender: No OFD packet to send [19:52:56]OFD Sender: No OFD packet to send [19:53:01]OFD Sender: No OFD packet to send [19:53:06]OFD Sender: No OFD packet to send [19:53:11]OFD Sender: No OFD packet to send [19:53:16]OFD Sender: No OFD packet to send [19:53:21]OFD Sender: No OFD packet to send [19:53:26]OFD Sender: No OFD packet to send [19:53:31]OFD Sender: No OFD packet to send [19:53:36]OFD Sender: No OFD packet to send [19:53:41]OFD Sender: No OFD packet to send [19:53:46]OFD Sender: No OFD packet to send [19:53:51]OFD Sender: No OFD packet to send [19:53:56]OFD Sender: No OFD packet to send [19:54:01]OFD Sender: No OFD packet to send [19:54:06]OFD Sender: No OFD packet to send [19:54:11]OFD Sender: No OFD packet to send [19:54:16]OFD Sender: No OFD packet to send [19:54:21]OFD Sender: No OFD packet to send [19:54:26]OFD Sender: No OFD packet to send [19:54:31]OFD Sender: No OFD packet to send [19:54:36]OFD Sender: No OFD packet to send [19:54:41]OFD Sender: No OFD packet to send [19:54:46]OFD Sender: No OFD packet to send [19:54:51]OFD Sender: No OFD packet to send [19:54:56]OFD Sender: No OFD packet to send [19:55:01]OFD Sender: No OFD packet to send [19:55:06]OFD Sender: No OFD packet to send [19:55:11]OFD Sender: No OFD packet to send [19:55:16]OFD Sender: No OFD packet to send [19:55:21]OFD Sender: No OFD packet to send [19:55:26]OFD Sender: No OFD packet to send [19:55:31]OFD Sender: No OFD packet to send [19:55:36]OFD Sender: No OFD packet to send [19:55:41]OFD Sender: No OFD packet to send [19:55:46]OFD Sender: No OFD packet to send [19:55:51]OFD Sender: No OFD packet to send [19:55:56]OFD Sender: No OFD packet to send [19:56:01]OFD Sender: No OFD packet to send [19:56:06]OFD Sender: No OFD packet to send [19:56:11]OFD Sender: No OFD packet to send [19:56:16]OFD Sender: No OFD packet to send [19:56:21]OFD Sender: No OFD packet to send [19:56:26]OFD Sender: No OFD packet to send [19:56:31]OFD Sender: No OFD packet to send [19:56:36]OFD Sender: No OFD packet to send [19:56:41]OFD Sender: No OFD packet to send [19:56:46]OFD Sender: No OFD packet to send [19:56:51]OFD Sender: No OFD packet to send [19:56:56]OFD Sender: No OFD packet to send [19:57:01]OFD Sender: No OFD packet to send [19:57:06]OFD Sender: No OFD packet to send [19:57:11]OFD Sender: No OFD packet to send [19:57:16]OFD Sender: No OFD packet to send [19:57:21]OFD Sender: No OFD packet to send [19:57:26]OFD Sender: No OFD packet to send [19:57:31]OFD Sender: No OFD packet to send [19:57:36]OFD Sender: No OFD packet to send [19:57:41]OFD Sender: No OFD packet to send [19:57:46]OFD Sender: No OFD packet to send [19:57:51]OFD Sender: No OFD packet to send [19:57:56]OFD Sender: No OFD packet to send [19:58:01]OFD Sender: No OFD packet to send [19:58:06]OFD Sender: No OFD packet to send [19:58:11]OFD Sender: No OFD packet to send [19:58:16]OFD Sender: No OFD packet to send [19:58:21]OFD Sender: No OFD packet to send [19:58:26]OFD Sender: No OFD packet to send [19:58:31]OFD Sender: No OFD packet to send [19:58:36]OFD Sender: No OFD packet to send [19:58:41]OFD Sender: No OFD packet to send [19:58:46]OFD Sender: No OFD packet to send [19:58:51]OFD Sender: No OFD packet to send [19:58:56]OFD Sender: No OFD packet to send [19:59:01]OFD Sender: No OFD packet to send [19:59:06]OFD Sender: No OFD packet to send [19:59:11]OFD Sender: No OFD packet to send [19:59:16]OFD Sender: No OFD packet to send [19:59:21]OFD Sender: No OFD packet to send [19:59:26]OFD Sender: No OFD packet to send [19:59:31]OFD Sender: No OFD packet to send [19:59:36]OFD Sender: No OFD packet to send [19:59:41]OFD Sender: No OFD packet to send [19:59:46]OFD Sender: No OFD packet to send [19:59:51]OFD Sender: No OFD packet to send [19:59:56]OFD Sender: No OFD packet to send [20:00:01]OFD Sender: No OFD packet to send [20:00:06]OFD Sender: No OFD packet to send [20:00:11]OFD Sender: No OFD packet to send [20:00:16]OFD Sender: No OFD packet to send [20:00:21]OFD Sender: No OFD packet to send [20:00:26]OFD Sender: No OFD packet to send [20:00:31]OFD Sender: No OFD packet to send [20:00:36]OFD Sender: No OFD packet to send [20:00:41]OFD Sender: No OFD packet to send [20:00:46]OFD Sender: No OFD packet to send [20:00:51]OFD Sender: No OFD packet to send [20:00:56]OFD Sender: No OFD packet to send [20:01:01]OFD Sender: No OFD packet to send [20:01:06]OFD Sender: No OFD packet to send [20:01:11]OFD Sender: No OFD packet to send [20:01:16]OFD Sender: No OFD packet to send [20:01:21]OFD Sender: No OFD packet to send [20:01:26]OFD Sender: No OFD packet to send [20:01:31]OFD Sender: No OFD packet to send [20:01:36]OFD Sender: No OFD packet to send [20:01:41]OFD Sender: No OFD packet to send [20:01:46]OFD Sender: No OFD packet to send [20:01:51]OFD Sender: No OFD packet to send [20:01:56]OFD Sender: No OFD packet to send [20:02:01]OFD Sender: No OFD packet to send [20:02:06]OFD Sender: No OFD packet to send [20:02:11]OFD Sender: No OFD packet to send [20:02:16]OFD Sender: No OFD packet to send [20:02:21]OFD Sender: No OFD packet to send [20:02:26]OFD Sender: No OFD packet to send [20:02:31]OFD Sender: No OFD packet to send [20:02:36]OFD Sender: No OFD packet to send [20:02:41]OFD Sender: No OFD packet to send [20:02:46]OFD Sender: No OFD packet to send [20:02:51]OFD Sender: No OFD packet to send [20:02:56]OFD Sender: No OFD packet to send [20:03:01]OFD Sender: No OFD packet to send [20:03:06]OFD Sender: No OFD packet to send [20:03:11]OFD Sender: No OFD packet to send [20:03:16]OFD Sender: No OFD packet to send [20:03:21]OFD Sender: No OFD packet to send [20:03:26]OFD Sender: No OFD packet to send [20:03:31]OFD Sender: No OFD packet to send [20:03:36]OFD Sender: No OFD packet to send [20:03:41]OFD Sender: No OFD packet to send [20:03:46]OFD Sender: No OFD packet to send [20:03:51]OFD Sender: No OFD packet to send [20:03:56]OFD Sender: No OFD packet to send [20:04:01]OFD Sender: No OFD packet to send [20:04:06]OFD Sender: No OFD packet to send [20:04:11]OFD Sender: No OFD packet to send [20:04:16]OFD Sender: No OFD packet to send [20:04:21]OFD Sender: No OFD packet to send [20:04:26]OFD Sender: No OFD packet to send [20:04:31]OFD Sender: No OFD packet to send [20:04:36]OFD Sender: No OFD packet to send [20:04:41]OFD Sender: No OFD packet to send [20:04:46]OFD Sender: No OFD packet to send [20:04:51]OFD Sender: No OFD packet to send [20:04:56]OFD Sender: No OFD packet to send [20:05:01]OFD Sender: No OFD packet to send [20:05:06]OFD Sender: No OFD packet to send [20:05:11]OFD Sender: No OFD packet to send [20:05:16]OFD Sender: No OFD packet to send [20:05:21]OFD Sender: No OFD packet to send [20:05:26]OFD Sender: No OFD packet to send [20:05:32]OFD Sender: No OFD packet to send [20:05:37]OFD Sender: No OFD packet to send [20:05:42]OFD Sender: No OFD packet to send [20:05:47]OFD Sender: No OFD packet to send [20:05:52]OFD Sender: No OFD packet to send [20:05:57]OFD Sender: No OFD packet to send [20:06:02]OFD Sender: No OFD packet to send [20:06:07]OFD Sender: No OFD packet to send [20:06:12]OFD Sender: No OFD packet to send [20:06:17]OFD Sender: No OFD packet to send [20:06:22]OFD Sender: No OFD packet to send [20:06:27]OFD Sender: No OFD packet to send [20:06:32]OFD Sender: No OFD packet to send [20:06:37]OFD Sender: No OFD packet to send [20:06:42]OFD Sender: No OFD packet to send [20:06:47]OFD Sender: No OFD packet to send [20:06:52]OFD Sender: No OFD packet to send [20:06:57]OFD Sender: No OFD packet to send [20:07:02]OFD Sender: No OFD packet to send [20:07:07]OFD Sender: No OFD packet to send [20:07:12]OFD Sender: No OFD packet to send [20:07:17]OFD Sender: No OFD packet to send [20:07:22]OFD Sender: No OFD packet to send [20:07:27]OFD Sender: No OFD packet to send [20:07:32]OFD Sender: No OFD packet to send [20:07:37]OFD Sender: No OFD packet to send [20:07:42]OFD Sender: No OFD packet to send [20:07:47]OFD Sender: No OFD packet to send [20:07:52]OFD Sender: No OFD packet to send [20:07:57]OFD Sender: No OFD packet to send [20:08:02]OFD Sender: No OFD packet to send [20:08:07]OFD Sender: No OFD packet to send [20:08:12]OFD Sender: No OFD packet to send [20:08:17]OFD Sender: No OFD packet to send [20:08:22]OFD Sender: No OFD packet to send [20:08:27]OFD Sender: No OFD packet to send [20:08:32]OFD Sender: No OFD packet to send [20:08:37]OFD Sender: No OFD packet to send [20:08:42]OFD Sender: No OFD packet to send [20:08:47]OFD Sender: No OFD packet to send [20:08:52]OFD Sender: No OFD packet to send [20:08:57]OFD Sender: No OFD packet to send [20:09:02]OFD Sender: No OFD packet to send [20:09:07]OFD Sender: No OFD packet to send [20:09:12]OFD Sender: No OFD packet to send [20:09:17]OFD Sender: No OFD packet to send [20:09:22]OFD Sender: No OFD packet to send [20:09:27]OFD Sender: No OFD packet to send [20:09:32]OFD Sender: No OFD packet to send [20:09:37]OFD Sender: No OFD packet to send [20:09:42]OFD Sender: No OFD packet to send [20:09:47]OFD Sender: No OFD packet to send [20:09:52]OFD Sender: No OFD packet to send [20:09:57]OFD Sender: No OFD packet to send [20:10:02]OFD Sender: No OFD packet to send [20:10:07]OFD Sender: No OFD packet to send [20:10:12]OFD Sender: No OFD packet to send [20:10:17]OFD Sender: No OFD packet to send [20:10:22]OFD Sender: No OFD packet to send [20:10:27]OFD Sender: No OFD packet to send [20:10:32]OFD Sender: No OFD packet to send [20:10:37]OFD Sender: No OFD packet to send [20:10:42]OFD Sender: No OFD packet to send [20:10:47]OFD Sender: No OFD packet to send [20:10:52]OFD Sender: No OFD packet to send [20:10:57]OFD Sender: No OFD packet to send [20:11:02]OFD Sender: No OFD packet to send [20:11:07]OFD Sender: No OFD packet to send [20:11:12]OFD Sender: No OFD packet to send [20:11:17]OFD Sender: No OFD packet to send [20:11:22]OFD Sender: No OFD packet to send [20:11:27]OFD Sender: No OFD packet to send [20:11:32]OFD Sender: No OFD packet to send [20:11:37]OFD Sender: No OFD packet to send [20:11:42]OFD Sender: No OFD packet to send [20:11:47]OFD Sender: No OFD packet to send [20:11:52]OFD Sender: No OFD packet to send [20:11:57]OFD Sender: No OFD packet to send [20:12:02]OFD Sender: No OFD packet to send [20:12:07]OFD Sender: No OFD packet to send [20:12:12]OFD Sender: No OFD packet to send [20:12:17]OFD Sender: No OFD packet to send [20:12:22]OFD Sender: No OFD packet to send [20:12:27]OFD Sender: No OFD packet to send [20:12:32]OFD Sender: No OFD packet to send [20:12:37]OFD Sender: No OFD packet to send [20:12:42]OFD Sender: No OFD packet to send [20:12:47]OFD Sender: No OFD packet to send [20:12:52]OFD Sender: No OFD packet to send [20:12:57]OFD Sender: No OFD packet to send [20:13:02]OFD Sender: No OFD packet to send [20:13:07]OFD Sender: No OFD packet to send [20:13:12]OFD Sender: No OFD packet to send [20:13:17]OFD Sender: No OFD packet to send [20:13:22]OFD Sender: No OFD packet to send [20:13:27]OFD Sender: No OFD packet to send [20:13:32]OFD Sender: No OFD packet to send [20:13:37]OFD Sender: No OFD packet to send [20:13:42]OFD Sender: No OFD packet to send [20:13:47]OFD Sender: No OFD packet to send [20:13:52]OFD Sender: No OFD packet to send [20:13:57]OFD Sender: No OFD packet to send [20:14:02]OFD Sender: No OFD packet to send [20:14:07]OFD Sender: No OFD packet to send [20:14:12]OFD Sender: No OFD packet to send [20:14:17]OFD Sender: No OFD packet to send [20:14:22]OFD Sender: No OFD packet to send [20:14:27]OFD Sender: No OFD packet to send [20:14:32]OFD Sender: No OFD packet to send [20:14:37]OFD Sender: No OFD packet to send [20:14:42]OFD Sender: No OFD packet to send [20:14:47]OFD Sender: No OFD packet to send [20:14:52]OFD Sender: No OFD packet to send [20:14:57]OFD Sender: No OFD packet to send [20:15:02]OFD Sender: No OFD packet to send [20:15:07]OFD Sender: No OFD packet to send [20:15:08]accept exits with 8 [20:15:08]New connection [20:15:08]New thread 3067370852 created [20:15:08]Thread 3067227492 joined [20:15:08]Waiting for new connection... [20:15:08] Sock 8.Parse request [20:15:08]Sock 8.Check first char [20:15:08]Sock 8.First char is OK [20:15:08]request: POST /json_proto HTTP/1.0 [20:15:08]Method: POST [20:15:08]URL: /json_proto [20:15:08]Method is POST - this is cgi request [20:15:08]url: /json_proto [20:15:08]query_string will be loaded in cgi processing [20:15:08]execute_cgi json_proto POST (null) [20:15:08]execute_cgi path=json_proto method=POST [20:15:08]POST find Content-Length [20:15:08]Host: 172.17.56.68:8080 [20:15:08]Content-Length: 619 [20:15:08]Content-Type: application/json [20:15:08] [20:15:08]POST finish read [20:15:08]Found Content-Length = 619 [20:15:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4389", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:15:08]execute_script... [20:15: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)4389", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:15:08]POST & json_proto [20:15:08]process_json_proto [20:15:08]json parsed OK: [20:15:08]protocol is kg_v1.0 [20:15:08]action value=close_receipt [20:15:08]process_action close_receipt [20:15:08]cmd_close_receipt [20:15:08]MH_GetDate [20:15:08]Write to MH i2c: F0 00 00 60 25 74 [20:15:08]Write i2c OK [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: F0 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: F0 09 00 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: F0 09 00 60 25 00 D7 75 5F 66 42 69 5C 66 FB [20:15:08]GetLastDocTimeStamp 1717529823 [20:15:08]current date 1717532119 [20:15:08]FM_GetShiftState [20:15:08]SAM_PROTO_GetShiftState [20:15:08]wFMCommunicate request_size=4 [20:15:08]MH_SAM_APDU [20:15:08]CAPDU: 80 13 01 00 [20:15:08]Write to MH i2c: E2 08 00 61 25 80 13 01 00 00 00 00 00 03 [20:15:08]Write i2c OK [20:15:08]MH_I2C_Read... [20:15:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:15:08]Read from MH i2c: E2 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 0E 00 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 0E 00 61 25 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 9C [20:15:08]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [20:15:08]wFMCommunicate OK [20:15:08]SAM_PROTO_GetShiftState done [20:15:08]FM_GetShiftState done [20:15:08]opened in 1717459822 [20:15:08]opened+sec_in_day 1717546222 [20:15:08]quantity*price = 14500 [20:15:08]sum+1 = 14501 [20:15:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 145.00 НСП 1% : 1.28 НДС 12% : 15.40 Наличными: 145.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 52 04.06.2024 20:15 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4135 ФПД: 21903425408977 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T201519&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4135&fm=21903425408977&tin=02508201610067®Number=0000000000145775&sum=14500 0 [20:15:09]StoreToDocumentArchive [20:15:09]shift 83 fd 4135 [20:15:09]save to /storage/0083/doc_00004135 [20:15:09]save last doc name /storage/0083/doc_00004135 to /storage/kkm_last_doc_name [20:15:09]save OK [20:15:09]Clear old archive folders... [20:15:09]ProcessDocumentItem done err = 0, tmpTLVsize=273 [20:15:09]tlvbuf is B6F40E90 [20:15:09]SAM_PROTO_ClearQueue [20:15:09]wFMCommunicate request_size=4 [20:15:09]MH_SAM_APDU [20:15:09]CAPDU: 80 09 00 00 [20:15:09]Write to MH i2c: E2 08 00 6E 25 80 09 00 00 00 00 00 00 05 [20:15:09]Write i2c OK [20:15:09]MH_I2C_Read... [20:15:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:15:09]Read from MH i2c: E2 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: E2 03 00 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: E2 03 00 6E 25 00 90 00 07 [20:15:09]RAPDU: 90 00 [20:15:09]wFMCommunicate OK [20:15:09]SAM_PROTO_ClearQueue done [20:15:09]KKMCreateOFDPacket [20:15:09]OFDProtocolAddRootSTLVToBuf [20:15:09]FM_MakeSignedData [20:15:09]FM_MakeSignedData [20:15:09]SAM_PROTO_SignData [20:15:09]wFMCommunicate request_size=4 [20:15:09]MH_SAM_APDU [20:15:09]CAPDU: 80 0D 01 02 [20:15:09]Write to MH i2c: E2 08 00 6F 25 80 0D 01 02 00 00 00 00 0D [20:15:09]Write i2c OK [20:15:09]MH_I2C_Read... [20:15:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:15:10]Read from MH i2c: E2 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 03 00 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 03 00 6F 25 00 90 00 08 [20:15:10]RAPDU: 90 00 [20:15:10]wFMCommunicate OK [20:15:10]wFMCommunicate request_size=255 [20:15:10]MH_SAM_APDU [20:15:10]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 D7 75 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 [20:15:10]Write to MH i2c: E2 02 01 70 25 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 D7 75 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 00 00 CE [20:15:10]Write i2c OK [20:15:10]MH_I2C_Read... [20:15:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:15:10]Read from MH i2c: E2 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 03 00 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 03 00 70 25 00 90 00 09 [20:15:10]RAPDU: 90 00 [20:15:10]wFMCommunicate OK [20:15:10]wFMCommunicate request_size=32 [20:15:10]MH_SAM_APDU [20:15:10]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 36 30 10 04 04 00 27 10 00 00 35 04 06 00 13 EB C9 E4 0F D1 [20:15:10]Write to MH i2c: E2 23 00 71 25 80 0D 02 02 1B 00 30 30 30 39 35 39 33 36 30 10 04 04 00 27 10 00 00 35 04 06 00 13 EB C9 E4 0F D1 00 00 2F [20:15:10]Write i2c OK [20:15:10]MH_I2C_Read... [20:15:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:15:10]Read from MH i2c: E2 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 03 00 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 03 00 71 25 00 90 00 0A [20:15:10]RAPDU: 90 00 [20:15:10]wFMCommunicate OK [20:15:10]wFMCommunicate request_size=4 [20:15:10]MH_SAM_APDU [20:15:10]CAPDU: 80 0D 03 02 [20:15:10]Write to MH i2c: E2 08 00 72 25 80 0D 03 02 00 00 00 00 12 [20:15:10]Write i2c OK [20:15:10]MH_I2C_Read... [20:15:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:15:10]Read from MH i2c: E2 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 0B 00 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 0B 00 72 25 00 1E 70 4F 9E 8C 09 83 1B 90 00 C1 [20:15:10]RAPDU: 1E 70 4F 9E 8C 09 83 1B 90 00 [20:15:10]wFMCommunicate OK [20:15:10]SAM_PROTO_SignData done [20:15:10]FM_MakeSignedData done [20:15:10]CreateOFDProtocolMessage [20:15:10]wFMCommunicate request_size=4 [20:15:10]MH_SAM_APDU [20:15:10]CAPDU: 80 11 00 00 [20:15:10]Write to MH i2c: E2 08 00 73 25 80 11 00 00 00 00 00 00 12 [20:15:10]Write i2c OK [20:15:10]MH_I2C_Read... [20:15:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:15:10]Read from MH i2c: E2 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 17 00 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 17 00 73 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 65 [20:15:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:15:10]wFMCommunicate OK [20:15:10]CreateOFDProtocolMessage done [20:15:10]OFDSenderStorePacket 4135 [20:15:10]StoreOFDPacket docnum=4135 [20:15:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 A9 08 1D 01 6A 20 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 D7 75 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 27 10 00 00 35 04 06 00 13 EB C9 E4 0F D1 1E 70 4F 9E 8C 09 83 1B [20:15:10]CheckFolder [20:15:10]dirname=/storage/ofd_packets [20:15:10]CheckFolder done [20:15:10]ProducePacketName [20:15:10]name=ofd_packets/00004135 [20:15:10]NVStorageSaveData ofd_packets/00004135 [20:15:10]File name is /storage/ofd_packets/00004135 [20:15:10]Write 323 bytes [20:15:10]NVStorageSaveData done [20:15:10]OFDSenderStorePacket done [20:15:10]KKMCreateOFDPacket done [20:15:10]NVStorageSaveData kkm_last_timestamp [20:15:10]File name is /storage/kkm_last_timestamp [20:15:10]Write 4 bytes [20:15:10]NVStorageSaveData done [20:15:10]ExternCall_PrintAddStr [20:15:10]wPrintStart [20:15:10]Write to MH i2c: 01 00 00 74 25 99 [20:15:10]Write i2c OK [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: 01 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: 01 07 00 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: 01 07 00 74 25 00 00 00 00 00 FF 0F AE [20:15:10]RasterBufferAndPrint [20:15:10]line Счет N : (3)4389 [20:15:10]line ИНН: 02508201610067 [20:15:10]line Контрольно-Кассовый Чек [20:15:10]line ПРОДАЖА [20:15:10]line Товар: 48744119 [20:15:10]line Сигареты Winston Xstyle Dual [20:15:10]line 1.000 * 145.00 [20:15:10]line = 145.00 [20:15:10]line НДС 12% НСП 1% [20:15:10]line > о реализуемом товаре [20:15:10]line ИТОГО: 145.00 [20:15:10]line НСП 1% : 1.28 [20:15:10]line НДС 12% : 15.40 [20:15:10]line Наличными: 145.00 [20:15:10]line Безнал.: 0.00 [20:15:10]line Место: АЗС № 116 "Партнер Нефть" [20:15:10]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [20:15:10]line СНО: Общий режим [20:15:10]line Чек 52 04.06.2024 20:15 [20:15:10]line Смена: 83 ФФД: 1.0 [20:15:10]line ЗНМ: 0300000233 [20:15:10]line РНМ: 0000000000145775 [20:15:10]line Версия ККМ: v1.0 [20:15:10]line ФМ: 0000000000959360 [20:15:10]line ФД: 4135 [20:15:10]line ФПД: 21903425408977 [20:15:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T201519&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4135&fm=21903425408977&tin=02508201610067®Number=0000000000145775&sum=14500 [20:15:10]line 0 [20:15:10]OFD Sender: Processing packet 4135 [packets to send 2, broken 1] [20:15:10]ProducePacketName [20:15:10]name=ofd_packets/00004135 [20:15:10]OFD Sender: To server: pG, [20:15:10]CommunicateWithHost lk.salyk.kg:30040 [20:15:10]ConnectInit lk.salyk.kg [20:15:10]written 0, free lines is 4095 [20:15:10]Connected sock=10 [20:15:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 A9 08 1D 01 6A 20 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 D7 75 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 27 10 00 00 35 04 06 00 13 EB C9 E4 0F D1 1E 70 4F 9E 8C 09 83 1B [20:15:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 40 9D 47 00 3B FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 27 10 00 00 F4 03 04 00 D6 21 5F 66 B6 04 01 00 00 06 07 CA 45 A3 5A 12 BF [20:15:11]CommunicateWithHost err = 0 [20:15:11]CheckOFDResponse [20:15:11]1017 (14) - 77093643461234 [20:15:11]1041 (16) - 0000000000959360 [20:15:11]1040 (4) - 4135 [20:15:11]1012 (4) - 04.06.2024 14:16 [20:15:11]1206 (1) - 0 [20:15:11]OFD Sender: Remove packet 4135 [20:15:11]ProducePacketName [20:15:11]name=ofd_packets/00004135 [20:15:11]NVStorageDeleteData [20:15:11]Write to MH i2c: 01 00 00 9C 25 C1 [20:15:11]Write i2c OK [20:15:11]MH_I2C_Read... [20:15:11]Read from MH i2c: 01 [20:15:11]MH_I2C_Read... [20:15:11]Read from MH i2c: 01 07 00 [20:15:11]MH_I2C_Read... [20:15:11]Read from MH i2c: 01 07 00 9C 25 00 00 00 00 00 BC 0C 90 [20:15:11]RasterBufferAndPrint [20:15:11]line [20:15:11]line [20:15:11]line [20:15:11]line [20:15:11]line [20:15:11]written 0, free lines is 3265 [20:15:11]MH_Cut [20:15:11]Write to MH i2c: D1 01 00 A3 25 01 9A [20:15:11]Write i2c OK [20:15:11]MH_I2C_Read... [20:15:11]Read from MH i2c: D1 [20:15:11]MH_I2C_Read... [20:15:11]Read from MH i2c: D1 01 00 [20:15:11]MH_I2C_Read... [20:15:11]Read from MH i2c: D1 01 00 A3 25 00 99 [20:15:11]Write to MH i2c: 01 00 00 A4 25 C9 [20:15:11]Write i2c OK [20:15:11]MH_I2C_Read... [20:15:11]OFD Sender: No OFD packet to send [20:15:12]*** Cut start [20:15:12]*** Partial cut [20:15:12]*** CUTSNS_PIN = 1 [20:15:12]*** CUTSNS_PIN = 0 [20:15:12]*** Brake cut motor [20:15:12]Read from MH i2c: 01 [20:15:12]MH_I2C_Read... [20:15:12]*** Stop cut motor [20:15:12]*** Cut end [20:15:12]Read from MH i2c: 01 07 00 [20:15:12]MH_I2C_Read... [20:15:12]Read from MH i2c: 01 07 00 A4 25 00 00 00 00 00 FF 0F DE [20:15:12]process_action close_receipt done [20:15:12]requested_data is exist [20:15:12]produce_requested_data [20:15:12]requested_item fm.sn is exist - process it [20:15:12]wFMCommunicate request_size=4 [20:15:12]MH_SAM_APDU [20:15:12]CAPDU: 80 11 00 00 [20:15:12]Write to MH i2c: E2 08 00 A5 25 80 11 00 00 00 00 00 00 44 [20:15:12]Write i2c OK [20:15:12]MH_I2C_Read... [20:15:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:15:12]Read from MH i2c: E2 [20:15:12]MH_I2C_Read... [20:15:12]Read from MH i2c: E2 17 00 [20:15:12]MH_I2C_Read... [20:15:12]Read from MH i2c: E2 17 00 A5 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 97 [20:15:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:15:12]wFMCommunicate OK [20:15:12]requested_item fd.num is exist - process it [20:15:12]SAM_PROTO_GetFieldsCounters [20:15:12]wFMCommunicate request_size=4 [20:15:12]MH_SAM_APDU [20:15:12]CAPDU: 80 13 00 00 [20:15:12]Write to MH i2c: E2 08 00 A6 25 80 13 00 00 00 00 00 00 47 [20:15:12]Write i2c OK [20:15:12]MH_I2C_Read... [20:15:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:15:12]Read from MH i2c: E2 [20:15:12]MH_I2C_Read... [20:15:12]Read from MH i2c: E2 62 00 [20:15:12]MH_I2C_Read... [20:15:12]Read from MH i2c: E2 62 00 A6 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 27 10 00 00 0E 04 04 00 53 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 92 [20:15:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 27 10 00 00 0E 04 04 00 53 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 [20:15:12]wFMCommunicate OK [20:15:12]SAM_PROTO_GetFieldsCounters done [20:15:12]requested_item shift.num is exist - process it [20:15:12]requested_item shift.opened is exist - process it [20:15:12]req_shift_opened [20:15:12]FM_GetShiftState [20:15:12]SAM_PROTO_GetShiftState [20:15:12]wFMCommunicate request_size=4 [20:15:12]MH_SAM_APDU [20:15:12]CAPDU: 80 13 01 00 [20:15:12]Write to MH i2c: E2 08 00 A7 25 80 13 01 00 00 00 00 00 49 [20:15:12]Write i2c OK [20:15:12]MH_I2C_Read... [20:15:13]Read from MH i2c: E2 [20:15:13]MH_I2C_Read... [20:15:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:15:13]Read from MH i2c: E2 0E 00 [20:15:13]MH_I2C_Read... [20:15:13]Read from MH i2c: E2 0E 00 A7 25 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 E2 [20:15:13]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [20:15:13]wFMCommunicate OK [20:15:13]SAM_PROTO_GetShiftState done [20:15:13]FM_GetShiftState done [20:15:13]req_shift_opened done [20:15:13]requested_item shift.open_date is exist - process it [20:15:13]req_shift_open_date [20:15:13]req_shift_open_date done [20:15:13]produce_requested_data done [20:15:13]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4135,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [20:15:13]process_action_free close_receipt [20:15:13]json_value_free [20:15:13]json_value_free done [20:15:13]process_json_proto returns [20:15:13]Send response to host [20:15:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4135,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [20:15:13]free response buf [20:15:13]execute_script done [20:15:13]execute_script returns [20:15:13]free content buf [20:15:13]Sock 8.Close socket [20:15:13]Sock 8.Thread stoped [20:15:16]OFD Sender: No OFD packet to send [20:15:21]OFD Sender: No OFD packet to send [20:15:26]OFD Sender: No OFD packet to send [20:15:31]OFD Sender: No OFD packet to send [20:15:36]OFD Sender: No OFD packet to send [20:15:41]OFD Sender: No OFD packet to send [20:15:46]OFD Sender: No OFD packet to send [20:15:51]OFD Sender: No OFD packet to send [20:15:56]OFD Sender: No OFD packet to send [20:16:01]OFD Sender: No OFD packet to send [20:16:06]OFD Sender: No OFD packet to send [20:16:11]OFD Sender: No OFD packet to send [20:16:16]OFD Sender: No OFD packet to send [20:16:21]OFD Sender: No OFD packet to send [20:16:26]OFD Sender: No OFD packet to send [20:16:31]OFD Sender: No OFD packet to send [20:16:36]OFD Sender: No OFD packet to send [20:16:41]OFD Sender: No OFD packet to send [20:16:46]OFD Sender: No OFD packet to send [20:16:51]OFD Sender: No OFD packet to send [20:16:56]OFD Sender: No OFD packet to send [20:17:01]OFD Sender: No OFD packet to send [20:17:06]OFD Sender: No OFD packet to send [20:17:11]OFD Sender: No OFD packet to send [20:17:16]OFD Sender: No OFD packet to send [20:17:21]OFD Sender: No OFD packet to send [20:17:26]OFD Sender: No OFD packet to send [20:17:31]OFD Sender: No OFD packet to send [20:17:36]OFD Sender: No OFD packet to send [20:17:41]OFD Sender: No OFD packet to send [20:17:46]OFD Sender: No OFD packet to send [20:17:51]OFD Sender: No OFD packet to send [20:17:56]OFD Sender: No OFD packet to send [20:18:01]OFD Sender: No OFD packet to send [20:18:06]OFD Sender: No OFD packet to send [20:18:11]OFD Sender: No OFD packet to send [20:18:16]OFD Sender: No OFD packet to send [20:18:21]OFD Sender: No OFD packet to send [20:18:26]OFD Sender: No OFD packet to send [20:18:31]OFD Sender: No OFD packet to send [20:18:36]OFD Sender: No OFD packet to send [20:18:41]OFD Sender: No OFD packet to send [20:18:46]OFD Sender: No OFD packet to send [20:18:51]OFD Sender: No OFD packet to send [20:18:56]OFD Sender: No OFD packet to send [20:19:01]OFD Sender: No OFD packet to send [20:19:06]OFD Sender: No OFD packet to send [20:19:11]OFD Sender: No OFD packet to send [20:19:16]OFD Sender: No OFD packet to send [20:19:21]OFD Sender: No OFD packet to send [20:19:26]OFD Sender: No OFD packet to send [20:19:31]OFD Sender: No OFD packet to send [20:19:36]OFD Sender: No OFD packet to send [20:19:41]OFD Sender: No OFD packet to send [20:19:46]OFD Sender: No OFD packet to send [20:19:51]OFD Sender: No OFD packet to send [20:19:56]OFD Sender: No OFD packet to send [20:20:01]OFD Sender: No OFD packet to send [20:20:06]OFD Sender: No OFD packet to send [20:20:11]OFD Sender: No OFD packet to send [20:20:16]OFD Sender: No OFD packet to send [20:20:21]OFD Sender: No OFD packet to send [20:20:26]OFD Sender: No OFD packet to send [20:20:31]OFD Sender: No OFD packet to send [20:20:36]OFD Sender: No OFD packet to send [20:20:41]OFD Sender: No OFD packet to send [20:20:46]OFD Sender: No OFD packet to send [20:20:51]OFD Sender: No OFD packet to send [20:20:56]OFD Sender: No OFD packet to send [20:21:01]OFD Sender: No OFD packet to send [20:21:06]OFD Sender: No OFD packet to send [20:21:11]OFD Sender: No OFD packet to send [20:21:16]OFD Sender: No OFD packet to send [20:21:21]OFD Sender: No OFD packet to send [20:21:26]OFD Sender: No OFD packet to send [20:21:31]OFD Sender: No OFD packet to send [20:21:36]OFD Sender: No OFD packet to send [20:21:41]OFD Sender: No OFD packet to send [20:21:46]OFD Sender: No OFD packet to send [20:21:51]OFD Sender: No OFD packet to send [20:21:56]OFD Sender: No OFD packet to send [20:22:01]OFD Sender: No OFD packet to send [20:22:06]OFD Sender: No OFD packet to send [20:22:11]OFD Sender: No OFD packet to send [20:22:16]OFD Sender: No OFD packet to send [20:22:21]OFD Sender: No OFD packet to send [20:22:26]OFD Sender: No OFD packet to send [20:22:31]OFD Sender: No OFD packet to send [20:22:36]OFD Sender: No OFD packet to send [20:22:41]OFD Sender: No OFD packet to send [20:22:46]OFD Sender: No OFD packet to send [20:22:51]OFD Sender: No OFD packet to send [20:22:56]OFD Sender: No OFD packet to send [20:23:01]OFD Sender: No OFD packet to send [20:23:06]OFD Sender: No OFD packet to send [20:23:11]OFD Sender: No OFD packet to send [20:23:16]OFD Sender: No OFD packet to send [20:23:21]OFD Sender: No OFD packet to send [20:23:26]OFD Sender: No OFD packet to send [20:23:31]OFD Sender: No OFD packet to send [20:23:36]OFD Sender: No OFD packet to send [20:23:41]OFD Sender: No OFD packet to send [20:23:46]OFD Sender: No OFD packet to send [20:23:51]OFD Sender: No OFD packet to send [20:23:56]OFD Sender: No OFD packet to send [20:24:01]OFD Sender: No OFD packet to send [20:24:06]OFD Sender: No OFD packet to send [20:24:12]OFD Sender: No OFD packet to send [20:24:17]OFD Sender: No OFD packet to send [20:24:22]OFD Sender: No OFD packet to send [20:24:27]OFD Sender: No OFD packet to send [20:24:32]OFD Sender: No OFD packet to send [20:24:37]OFD Sender: No OFD packet to send [20:24:42]OFD Sender: No OFD packet to send [20:24:47]OFD Sender: No OFD packet to send [20:24:52]OFD Sender: No OFD packet to send [20:24:57]OFD Sender: No OFD packet to send [20:25:02]OFD Sender: No OFD packet to send [20:25:07]OFD Sender: No OFD packet to send [20:25:12]OFD Sender: No OFD packet to send [20:25:17]OFD Sender: No OFD packet to send [20:25:22]OFD Sender: No OFD packet to send [20:25:27]OFD Sender: No OFD packet to send [20:25:32]OFD Sender: No OFD packet to send [20:25:37]OFD Sender: No OFD packet to send [20:25:42]OFD Sender: No OFD packet to send [20:25:47]OFD Sender: No OFD packet to send [20:25:52]OFD Sender: No OFD packet to send [20:25:57]OFD Sender: No OFD packet to send [20:26:02]OFD Sender: No OFD packet to send [20:26:07]OFD Sender: No OFD packet to send [20:26:12]OFD Sender: No OFD packet to send [20:26:17]OFD Sender: No OFD packet to send [20:26:22]OFD Sender: No OFD packet to send [20:26:27]OFD Sender: No OFD packet to send [20:26:32]OFD Sender: No OFD packet to send [20:26:37]OFD Sender: No OFD packet to send [20:26:42]OFD Sender: No OFD packet to send [20:26:47]OFD Sender: No OFD packet to send [20:26:52]OFD Sender: No OFD packet to send [20:26:57]OFD Sender: No OFD packet to send [20:27:02]OFD Sender: No OFD packet to send [20:27:07]OFD Sender: No OFD packet to send [20:27:12]OFD Sender: No OFD packet to send [20:27:17]OFD Sender: No OFD packet to send [20:27:22]OFD Sender: No OFD packet to send [20:27:27]OFD Sender: No OFD packet to send [20:27:32]OFD Sender: No OFD packet to send [20:27:37]OFD Sender: No OFD packet to send [20:27:42]OFD Sender: No OFD packet to send [20:27:47]OFD Sender: No OFD packet to send [20:27:52]OFD Sender: No OFD packet to send [20:27:57]OFD Sender: No OFD packet to send [20:28:02]OFD Sender: No OFD packet to send [20:28:07]OFD Sender: No OFD packet to send [20:28:12]OFD Sender: No OFD packet to send [20:28:17]OFD Sender: No OFD packet to send [20:28:22]OFD Sender: No OFD packet to send [20:28:27]OFD Sender: No OFD packet to send [20:28:32]OFD Sender: No OFD packet to send [20:28:37]OFD Sender: No OFD packet to send [20:28:42]OFD Sender: No OFD packet to send [20:28:47]OFD Sender: No OFD packet to send [20:28:52]OFD Sender: No OFD packet to send [20:28:57]OFD Sender: No OFD packet to send [20:29:02]OFD Sender: No OFD packet to send [20:29:07]OFD Sender: No OFD packet to send [20:29:12]OFD Sender: No OFD packet to send [20:29:17]OFD Sender: No OFD packet to send [20:29:22]OFD Sender: No OFD packet to send [20:29:27]OFD Sender: No OFD packet to send [20:29:32]OFD Sender: No OFD packet to send [20:29:37]OFD Sender: No OFD packet to send [20:29:42]OFD Sender: No OFD packet to send [20:29:47]OFD Sender: No OFD packet to send [20:29:52]OFD Sender: No OFD packet to send [20:29:57]OFD Sender: No OFD packet to send [20:30:02]OFD Sender: No OFD packet to send [20:30:07]OFD Sender: No OFD packet to send [20:30:12]OFD Sender: No OFD packet to send [20:30:17]OFD Sender: No OFD packet to send [20:30:22]OFD Sender: No OFD packet to send [20:30:27]OFD Sender: No OFD packet to send [20:30:32]OFD Sender: No OFD packet to send [20:30:37]OFD Sender: No OFD packet to send [20:30:42]OFD Sender: No OFD packet to send [20:30:47]OFD Sender: No OFD packet to send [20:30:52]OFD Sender: No OFD packet to send [20:30:57]OFD Sender: No OFD packet to send [20:31:02]OFD Sender: No OFD packet to send [20:31:07]OFD Sender: No OFD packet to send [20:31:12]OFD Sender: No OFD packet to send [20:31:17]OFD Sender: No OFD packet to send [20:31:22]OFD Sender: No OFD packet to send [20:31:27]OFD Sender: No OFD packet to send [20:31:32]OFD Sender: No OFD packet to send [20:31:37]OFD Sender: No OFD packet to send [20:31:42]OFD Sender: No OFD packet to send [20:31:47]OFD Sender: No OFD packet to send [20:31:52]OFD Sender: No OFD packet to send [20:31:57]OFD Sender: No OFD packet to send [20:32:02]OFD Sender: No OFD packet to send [20:32:07]OFD Sender: No OFD packet to send [20:32:12]OFD Sender: No OFD packet to send [20:32:17]OFD Sender: No OFD packet to send [20:32:22]OFD Sender: No OFD packet to send [20:32:27]OFD Sender: No OFD packet to send [20:32:32]OFD Sender: No OFD packet to send [20:32:37]OFD Sender: No OFD packet to send [20:32:42]OFD Sender: No OFD packet to send [20:32:47]OFD Sender: No OFD packet to send [20:32:52]OFD Sender: No OFD packet to send [20:32:57]OFD Sender: No OFD packet to send [20:33:02]OFD Sender: No OFD packet to send [20:33:07]OFD Sender: No OFD packet to send [20:33:12]OFD Sender: No OFD packet to send [20:33:17]OFD Sender: No OFD packet to send [20:33:22]OFD Sender: No OFD packet to send [20:33:27]OFD Sender: No OFD packet to send [20:33:32]OFD Sender: No OFD packet to send [20:33:37]OFD Sender: No OFD packet to send [20:33:42]OFD Sender: No OFD packet to send [20:33:47]OFD Sender: No OFD packet to send [20:33:52]OFD Sender: No OFD packet to send [20:33:57]OFD Sender: No OFD packet to send [20:34:02]OFD Sender: No OFD packet to send [20:34:07]OFD Sender: No OFD packet to send [20:34:12]OFD Sender: No OFD packet to send [20:34:17]OFD Sender: No OFD packet to send [20:34:22]OFD Sender: No OFD packet to send [20:34:27]OFD Sender: No OFD packet to send [20:34:32]OFD Sender: No OFD packet to send [20:34:37]OFD Sender: No OFD packet to send [20:34:42]OFD Sender: No OFD packet to send [20:34:47]OFD Sender: No OFD packet to send [20:34:52]OFD Sender: No OFD packet to send [20:34:57]OFD Sender: No OFD packet to send [20:35:02]OFD Sender: No OFD packet to send [20:35:07]OFD Sender: No OFD packet to send [20:35:12]OFD Sender: No OFD packet to send [20:35:17]OFD Sender: No OFD packet to send [20:35:22]OFD Sender: No OFD packet to send [20:35:27]OFD Sender: No OFD packet to send [20:35:32]OFD Sender: No OFD packet to send [20:35:37]OFD Sender: No OFD packet to send [20:35:42]OFD Sender: No OFD packet to send [20:35:47]OFD Sender: No OFD packet to send [20:35:52]OFD Sender: No OFD packet to send [20:35:57]OFD Sender: No OFD packet to send [20:36:02]OFD Sender: No OFD packet to send [20:36:07]OFD Sender: No OFD packet to send [20:36:12]OFD Sender: No OFD packet to send [20:36:17]OFD Sender: No OFD packet to send [20:36:22]OFD Sender: No OFD packet to send [20:36:27]OFD Sender: No OFD packet to send [20:36:32]OFD Sender: No OFD packet to send [20:36:37]OFD Sender: No OFD packet to send [20:36:41]accept exits with 9 [20:36:41]New connection [20:36:41]New thread 3067227492 created [20:36:41]Thread 3067370852 joined [20:36:41]Waiting for new connection... [20:36:41] Sock 9.Parse request [20:36:41]Sock 9.Check first char [20:36:41]Sock 9.First char is OK [20:36:41]request: POST /json_proto HTTP/1.0 [20:36:41]Method: POST [20:36:41]URL: /json_proto [20:36:41]Method is POST - this is cgi request [20:36:41]url: /json_proto [20:36:41]query_string will be loaded in cgi processing [20:36:41]execute_cgi json_proto POST (null) [20:36:41]execute_cgi path=json_proto method=POST [20:36:41]POST find Content-Length [20:36:41]Host: 172.17.56.68:8080 [20:36:41]Content-Length: 1140 [20:36:41]Content-Type: application/json [20:36:41] [20:36:41]POST finish read [20:36:41]Found Content-Length = 1140 [20:36:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4390", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.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" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 257.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:36:41]execute_script... [20:36: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)4390", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.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" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 257.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:36:41]POST & json_proto [20:36:41]process_json_proto [20:36:41]json parsed OK: [20:36:41]protocol is kg_v1.0 [20:36:41]action value=close_receipt [20:36:41]process_action close_receipt [20:36:41]cmd_close_receipt [20:36:41]MH_GetDate [20:36:41]Write to MH i2c: F0 00 00 A8 25 BC [20:36:41]Write i2c OK [20:36:41]MH_I2C_Read... [20:36:41]Read from MH i2c: F0 [20:36:41]MH_I2C_Read... [20:36:41]Read from MH i2c: F0 09 00 [20:36:41]MH_I2C_Read... [20:36:41]Read from MH i2c: F0 09 00 A8 25 00 E3 7A 5F 66 42 69 5C 66 54 [20:36:41]GetLastDocTimeStamp 1717532119 [20:36:41]current date 1717533411 [20:36:41]FM_GetShiftState [20:36:41]SAM_PROTO_GetShiftState [20:36:41]wFMCommunicate request_size=4 [20:36:41]MH_SAM_APDU [20:36:41]CAPDU: 80 13 01 00 [20:36:41]Write to MH i2c: E2 08 00 A9 25 80 13 01 00 00 00 00 00 4B [20:36:41]Write i2c OK [20:36:41]MH_I2C_Read... [20:36:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:36:41]Read from MH i2c: E2 [20:36:41]MH_I2C_Read... [20:36:41]Read from MH i2c: E2 0E 00 [20:36:41]MH_I2C_Read... [20:36:41]Read from MH i2c: E2 0E 00 A9 25 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 E4 [20:36:41]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [20:36:41]wFMCommunicate OK [20:36:41]SAM_PROTO_GetShiftState done [20:36:41]FM_GetShiftState done [20:36:41]opened in 1717459822 [20:36:41]opened+sec_in_day 1717546222 [20:36:41]quantity*price = 11000 [20:36:41]sum+1 = 11001 [20:36:41]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48747059 Сигареты Winston Legend Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 1.000 * 7.00 = 7.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 257.00 НСП 1% : 2.27 НДС 12% : 27.29 Наличными: 257.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 53 04.06.2024 20:36 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4136 ФПД: 239689790096191 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T203651&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4136&fm=239689790096191&tin=02508201610067®Number=0000000000145775&sum=25700 0 [20:36:42]StoreToDocumentArchive [20:36:42]shift 83 fd 4136 [20:36:42]save to /storage/0083/doc_00004136 [20:36:42]save last doc name /storage/0083/doc_00004136 to /storage/kkm_last_doc_name [20:36:42]save OK [20:36:42]Clear old archive folders... [20:36:42]ProcessDocumentItem done err = 0, tmpTLVsize=486 [20:36:42]tlvbuf is 007F9E10 [20:36:42]SAM_PROTO_ClearQueue [20:36:42]wFMCommunicate request_size=4 [20:36:42]MH_SAM_APDU [20:36:42]CAPDU: 80 09 00 00 [20:36:42]Write to MH i2c: E2 08 00 B6 25 80 09 00 00 00 00 00 00 4D [20:36:42]Write i2c OK [20:36:42]MH_I2C_Read... [20:36:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:36:42]Read from MH i2c: E2 [20:36:42]MH_I2C_Read... [20:36:42]Read from MH i2c: E2 03 00 [20:36:42]MH_I2C_Read... [20:36:42]Read from MH i2c: E2 03 00 B6 25 00 90 00 4F [20:36:42]RAPDU: 90 00 [20:36:42]wFMCommunicate OK [20:36:42]SAM_PROTO_ClearQueue done [20:36:42]KKMCreateOFDPacket [20:36:42]OFDProtocolAddRootSTLVToBuf [20:36:42]FM_MakeSignedData [20:36:42]FM_MakeSignedData [20:36:42]SAM_PROTO_SignData [20:36:42]wFMCommunicate request_size=4 [20:36:42]MH_SAM_APDU [20:36:42]CAPDU: 80 0D 01 02 [20:36:42]Write to MH i2c: E2 08 00 B7 25 80 0D 01 02 00 00 00 00 55 [20:36:42]Write i2c OK [20:36:42]MH_I2C_Read... [20:36:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:36:42]Read from MH i2c: E2 [20:36:42]MH_I2C_Read... [20:36:42]Read from MH i2c: E2 03 00 [20:36:42]MH_I2C_Read... [20:36:42]Read from MH i2c: E2 03 00 B7 25 00 90 00 50 [20:36:42]RAPDU: 90 00 [20:36:42]wFMCommunicate OK [20:36:42]wFMCommunicate request_size=255 [20:36:42]MH_SAM_APDU [20:36:42]CAPDU: 80 0D 02 02 FA 03 00 E6 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 [20:36:42]Write to MH i2c: E2 02 01 B8 25 80 0D 02 02 FA 00 03 00 E6 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 00 27 [20:36:42]OFD Sender: No OFD packet to send [20:36:42]Write i2c OK [20:36:42]MH_I2C_Read... [20:36:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:36:42]Read from MH i2c: E2 [20:36:42]MH_I2C_Read... [20:36:42]Read from MH i2c: E2 03 00 [20:36:42]MH_I2C_Read... [20:36:42]Read from MH i2c: E2 03 00 B8 25 00 90 00 51 [20:36:42]RAPDU: 90 00 [20:36:42]wFMCommunicate OK [20:36:42]wFMCommunicate request_size=245 [20:36:42]MH_SAM_APDU [20:36:42]CAPDU: 80 0D 02 02 F0 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 E3 7A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 28 10 00 00 35 04 06 00 D9 FF 20 CB 83 3F [20:36:42]Write to MH i2c: E2 F8 00 B9 25 80 0D 02 02 F0 00 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 E3 7A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 28 10 00 00 35 04 06 00 D9 FF 20 CB 83 3F 00 00 74 [20:36:43]Write i2c OK [20:36:43]MH_I2C_Read... [20:36:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:36:43]Read from MH i2c: E2 [20:36:43]MH_I2C_Read... [20:36:43]Read from MH i2c: E2 03 00 [20:36:43]MH_I2C_Read... [20:36:43]Read from MH i2c: E2 03 00 B9 25 00 90 00 52 [20:36:43]RAPDU: 90 00 [20:36:43]wFMCommunicate OK [20:36:43]wFMCommunicate request_size=4 [20:36:43]MH_SAM_APDU [20:36:43]CAPDU: 80 0D 03 02 [20:36:43]Write to MH i2c: E2 08 00 BA 25 80 0D 03 02 00 00 00 00 5A [20:36:43]Write i2c OK [20:36:43]MH_I2C_Read... [20:36:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:36:43]Read from MH i2c: E2 [20:36:43]MH_I2C_Read... [20:36:43]Read from MH i2c: E2 0B 00 [20:36:43]MH_I2C_Read... [20:36:43]Read from MH i2c: E2 0B 00 BA 25 00 F0 80 06 E2 D5 3D 46 60 90 00 6B [20:36:43]RAPDU: F0 80 06 E2 D5 3D 46 60 90 00 [20:36:43]wFMCommunicate OK [20:36:43]SAM_PROTO_SignData done [20:36:43]FM_MakeSignedData done [20:36:43]CreateOFDProtocolMessage [20:36:43]wFMCommunicate request_size=4 [20:36:43]MH_SAM_APDU [20:36:43]CAPDU: 80 11 00 00 [20:36:43]Write to MH i2c: E2 08 00 BB 25 80 11 00 00 00 00 00 00 5A [20:36:43]Write i2c OK [20:36:43]MH_I2C_Read... [20:36:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:36:43]Read from MH i2c: E2 [20:36:43]MH_I2C_Read... [20:36:43]Read from MH i2c: E2 17 00 [20:36:43]MH_I2C_Read... [20:36:43]Read from MH i2c: E2 17 00 BB 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 AD [20:36:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:36:43]wFMCommunicate OK [20:36:43]CreateOFDProtocolMessage done [20:36:43]OFDSenderStorePacket 4136 [20:36:43]StoreOFDPacket docnum=4136 [20:36:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 FA 01 00 00 E5 68 F2 01 65 5B 5A 03 01 00 03 00 E6 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 E3 7A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 28 10 00 00 35 04 06 00 D9 FF 20 CB 83 3F F0 80 06 E2 D5 3D 46 60 [20:36:43]CheckFolder [20:36:43]dirname=/storage/ofd_packets [20:36:43]CheckFolder done [20:36:43]ProducePacketName [20:36:43]name=ofd_packets/00004136 [20:36:43]NVStorageSaveData ofd_packets/00004136 [20:36:43]File name is /storage/ofd_packets/00004136 [20:36:43]Write 536 bytes [20:36:43]NVStorageSaveData done [20:36:43]OFDSenderStorePacket done [20:36:43]KKMCreateOFDPacket done [20:36:43]NVStorageSaveData kkm_last_timestamp [20:36:43]File name is /storage/kkm_last_timestamp [20:36:43]Write 4 bytes [20:36:43]NVStorageSaveData done [20:36:43]ExternCall_PrintAddStr [20:36:43]wPrintStart [20:36:43]Write to MH i2c: 01 00 00 BC 25 E1 [20:36:43]Write i2c OK [20:36:43]MH_I2C_Read... [20:36:43]Read from MH i2c: 01 [20:36:43]MH_I2C_Read... [20:36:43]Read from MH i2c: 01 07 00 [20:36:43]MH_I2C_Read... [20:36:43]Read from MH i2c: 01 07 00 BC 25 00 00 00 00 00 FF 0F F6 [20:36:43]RasterBufferAndPrint [20:36:43]line Счет N : (3)4390 [20:36:43]line ИНН: 02508201610067 [20:36:43]line Контрольно-Кассовый Чек [20:36:43]line ПРОДАЖА [20:36:43]line Товар: 4870001570071 [20:36:43]line Напиток Pepsi 1л [20:36:43]line 1.000 * 110.00 [20:36:43]line = 110.00 [20:36:43]line НДС 12% НСП 1% [20:36:43]line > о реализуемом товаре [20:36:43]line Товар: 48747059 [20:36:43]line Сигареты Winston Legend Blue [20:36:43]line 1.000 * 140.00 [20:36:43]line = 140.00 [20:36:43]line НДС 12% НСП 1% [20:36:43]line > о реализуемом товаре [20:36:43]line Товар: 2000053020015 [20:36:43]line Бумажные стаканы 250мл 1шт [20:36:43]line 1.000 * 7.00 [20:36:43]line = 7.00 [20:36:43]line НДС 12% НСП 1% [20:36:43]line > о реализуемом товаре [20:36:43]line ИТОГО: 257.00 [20:36:43]line НСП 1% : 2.27 [20:36:43]line НДС 12% : 27.29 [20:36:43]line Наличными: 257.00 [20:36:43]line Безнал.: 0.00 [20:36:43]line Место: АЗС № 116 "Партнер Нефть" [20:36:43]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [20:36:43]line СНО: Общий режим [20:36:43]line Чек 53 04.06.2024 20:36 [20:36:43]line Смена: 83 ФФД: 1.0 [20:36:43]line ЗНМ: 0300000233 [20:36:43]line РНМ: 0000000000145775 [20:36:43]line Версия ККМ: v1.0 [20:36:43]line ФМ: 0000000000959360 [20:36:43]line ФД: 4136 [20:36:43]line ФПД: 239689790096191 [20:36:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T203651&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4136&fm=239689790096191&tin=02508201610067®Number=0000000000145775&sum=25700 [20:36:43]line 0 [20:36:43]written 0, free lines is 4095 [20:36:43]OFD Sender: Processing packet 4136 [packets to send 2, broken 1] [20:36:43]ProducePacketName [20:36:43]name=ofd_packets/00004136 [20:36:43]OFD Sender: To server: pG, [20:36:43]CommunicateWithHost lk.salyk.kg:30040 [20:36:43]ConnectInit lk.salyk.kg [20:36:43]Connected sock=10 [20:36:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 FA 01 00 00 E5 68 F2 01 65 5B 5A 03 01 00 03 00 E6 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 E3 7A 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 28 10 00 00 35 04 06 00 D9 FF 20 CB 83 3F F0 80 06 E2 D5 3D 46 60 [20:36:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 51 FD 47 00 54 CC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 28 10 00 00 F4 03 04 00 E3 26 5F 66 B6 04 01 00 00 20 A3 63 9C 9B 2C E8 51 [20:36:43]CommunicateWithHost err = 0 [20:36:43]CheckOFDResponse [20:36:43]1017 (14) - 77093643461234 [20:36:43]1041 (16) - 0000000000959360 [20:36:43]1040 (4) - 4136 [20:36:43]1012 (4) - 04.06.2024 14:38 [20:36:43]1206 (1) - 0 [20:36:43]OFD Sender: Remove packet 4136 [20:36:43]ProducePacketName [20:36:43]name=ofd_packets/00004136 [20:36:43]NVStorageDeleteData [20:36:43]Write to MH i2c: 01 00 00 F2 25 17 [20:36:43]Write i2c OK [20:36:43]MH_I2C_Read... [20:36:43]Read from MH i2c: 01 [20:36:43]MH_I2C_Read... [20:36:43]Read from MH i2c: 01 07 00 [20:36:43]MH_I2C_Read... [20:36:43]Read from MH i2c: 01 07 00 F2 25 00 00 00 00 00 BA 0B E3 [20:36:43]RasterBufferAndPrint [20:36:43]line [20:36:43]line [20:36:43]line [20:36:43]line [20:36:43]line [20:36:43]written 0, free lines is 3007 [20:36:43]MH_Cut [20:36:43]Write to MH i2c: D1 01 00 F9 25 01 F0 [20:36:43]Write i2c OK [20:36:43]MH_I2C_Read... [20:36:43]Read from MH i2c: D1 [20:36:43]MH_I2C_Read... [20:36:43]Read from MH i2c: D1 01 00 [20:36:43]MH_I2C_Read... [20:36:43]Read from MH i2c: D1 01 00 F9 25 00 EF [20:36:43]Write to MH i2c: 01 00 00 FA 25 1F [20:36:43]Write i2c OK [20:36:43]MH_I2C_Read... [20:36:44]OFD Sender: No OFD packet to send [20:36:45]*** Cut start [20:36:45]*** Partial cut [20:36:45]*** CUTSNS_PIN = 1 [20:36:45]*** CUTSNS_PIN = 0 [20:36:45]*** Brake cut motor [20:36:45]Read from MH i2c: 01 [20:36:45]MH_I2C_Read... [20:36:45]*** Stop cut motor [20:36:45]*** Cut end [20:36:45]Read from MH i2c: 01 07 00 [20:36:45]MH_I2C_Read... [20:36:45]Read from MH i2c: 01 07 00 FA 25 00 00 00 00 00 FF 0F 34 [20:36:45]process_action close_receipt done [20:36:45]requested_data is exist [20:36:45]produce_requested_data [20:36:45]requested_item fm.sn is exist - process it [20:36:45]wFMCommunicate request_size=4 [20:36:45]MH_SAM_APDU [20:36:45]CAPDU: 80 11 00 00 [20:36:45]Write to MH i2c: E2 08 00 FB 25 80 11 00 00 00 00 00 00 9A [20:36:45]Write i2c OK [20:36:45]MH_I2C_Read... [20:36:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:36:45]Read from MH i2c: E2 [20:36:45]MH_I2C_Read... [20:36:45]Read from MH i2c: E2 17 00 [20:36:45]MH_I2C_Read... [20:36:45]Read from MH i2c: E2 17 00 FB 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 ED [20:36:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:36:45]wFMCommunicate OK [20:36:45]requested_item fd.num is exist - process it [20:36:45]SAM_PROTO_GetFieldsCounters [20:36:45]wFMCommunicate request_size=4 [20:36:45]MH_SAM_APDU [20:36:45]CAPDU: 80 13 00 00 [20:36:45]Write to MH i2c: E2 08 00 FC 25 80 13 00 00 00 00 00 00 9D [20:36:45]Write i2c OK [20:36:45]MH_I2C_Read... [20:36:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:36:45]Read from MH i2c: E2 [20:36:45]MH_I2C_Read... [20:36:45]Read from MH i2c: E2 62 00 [20:36:45]MH_I2C_Read... [20:36:45]Read from MH i2c: E2 62 00 FC 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 28 10 00 00 0E 04 04 00 53 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 EC [20:36:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 28 10 00 00 0E 04 04 00 53 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 [20:36:45]wFMCommunicate OK [20:36:45]SAM_PROTO_GetFieldsCounters done [20:36:45]requested_item shift.num is exist - process it [20:36:45]requested_item shift.opened is exist - process it [20:36:45]req_shift_opened [20:36:45]FM_GetShiftState [20:36:45]SAM_PROTO_GetShiftState [20:36:45]wFMCommunicate request_size=4 [20:36:45]MH_SAM_APDU [20:36:45]CAPDU: 80 13 01 00 [20:36:45]Write to MH i2c: E2 08 00 FD 25 80 13 01 00 00 00 00 00 9F [20:36:45]Write i2c OK [20:36:45]MH_I2C_Read... [20:36:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:36:45]Read from MH i2c: E2 [20:36:45]MH_I2C_Read... [20:36:45]Read from MH i2c: E2 0E 00 [20:36:45]MH_I2C_Read... [20:36:45]Read from MH i2c: E2 0E 00 FD 25 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 38 [20:36:45]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [20:36:45]wFMCommunicate OK [20:36:45]SAM_PROTO_GetShiftState done [20:36:45]FM_GetShiftState done [20:36:45]req_shift_opened done [20:36:45]requested_item shift.open_date is exist - process it [20:36:45]req_shift_open_date [20:36:45]req_shift_open_date done [20:36:45]produce_requested_data done [20:36:45]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4136,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [20:36:45]process_action_free close_receipt [20:36:45]json_value_free [20:36:45]json_value_free done [20:36:45]process_json_proto returns [20:36:45]Send response to host [20:36:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4136,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [20:36:45]free response buf [20:36:45]execute_script done [20:36:45]execute_script returns [20:36:45]free content buf [20:36:45]Sock 9.Close socket [20:36:45]Sock 9.Thread stoped [20:36:49]OFD Sender: No OFD packet to send [20:36:54]OFD Sender: No OFD packet to send [20:36:59]OFD Sender: No OFD packet to send [20:37:04]OFD Sender: No OFD packet to send [20:37:09]OFD Sender: No OFD packet to send [20:37:14]OFD Sender: No OFD packet to send [20:37:19]OFD Sender: No OFD packet to send [20:37:24]OFD Sender: No OFD packet to send [20:37:29]OFD Sender: No OFD packet to send [20:37:34]OFD Sender: No OFD packet to send [20:37:39]OFD Sender: No OFD packet to send [20:37:44]OFD Sender: No OFD packet to send [20:37:49]OFD Sender: No OFD packet to send [20:37:54]OFD Sender: No OFD packet to send [20:37:59]OFD Sender: No OFD packet to send [20:38:04]OFD Sender: No OFD packet to send [20:38:09]OFD Sender: No OFD packet to send [20:38:14]OFD Sender: No OFD packet to send [20:38:19]OFD Sender: No OFD packet to send [20:38:24]OFD Sender: No OFD packet to send [20:38:29]OFD Sender: No OFD packet to send [20:38:34]OFD Sender: No OFD packet to send [20:38:39]OFD Sender: No OFD packet to send [20:38:44]OFD Sender: No OFD packet to send [20:38:49]OFD Sender: No OFD packet to send [20:38:54]OFD Sender: No OFD packet to send [20:38:59]OFD Sender: No OFD packet to send [20:39:04]OFD Sender: No OFD packet to send [20:39:09]OFD Sender: No OFD packet to send [20:39:14]OFD Sender: No OFD packet to send [20:39:19]OFD Sender: No OFD packet to send [20:39:24]OFD Sender: No OFD packet to send [20:39:29]OFD Sender: No OFD packet to send [20:39:34]OFD Sender: No OFD packet to send [20:39:39]OFD Sender: No OFD packet to send [20:39:44]OFD Sender: No OFD packet to send [20:39:49]OFD Sender: No OFD packet to send [20:39:54]OFD Sender: No OFD packet to send [20:39:59]OFD Sender: No OFD packet to send [20:40:04]OFD Sender: No OFD packet to send [20:40:09]OFD Sender: No OFD packet to send [20:40:14]OFD Sender: No OFD packet to send [20:40:19]OFD Sender: No OFD packet to send [20:40:24]OFD Sender: No OFD packet to send [20:40:29]OFD Sender: No OFD packet to send [20:40:34]OFD Sender: No OFD packet to send [20:40:39]OFD Sender: No OFD packet to send [20:40:44]OFD Sender: No OFD packet to send [20:40:49]OFD Sender: No OFD packet to send [20:40:54]OFD Sender: No OFD packet to send [20:40:59]OFD Sender: No OFD packet to send [20:41:04]OFD Sender: No OFD packet to send [20:41:09]OFD Sender: No OFD packet to send [20:41:14]OFD Sender: No OFD packet to send [20:41:19]OFD Sender: No OFD packet to send [20:41:24]OFD Sender: No OFD packet to send [20:41:29]OFD Sender: No OFD packet to send [20:41:34]OFD Sender: No OFD packet to send [20:41:39]OFD Sender: No OFD packet to send [20:41:44]OFD Sender: No OFD packet to send [20:41:49]OFD Sender: No OFD packet to send [20:41:54]OFD Sender: No OFD packet to send [20:41:59]OFD Sender: No OFD packet to send [20:42:04]OFD Sender: No OFD packet to send [20:42:09]OFD Sender: No OFD packet to send [20:42:14]OFD Sender: No OFD packet to send [20:42:19]OFD Sender: No OFD packet to send [20:42:24]OFD Sender: No OFD packet to send [20:42:29]OFD Sender: No OFD packet to send [20:42:34]OFD Sender: No OFD packet to send [20:42:39]OFD Sender: No OFD packet to send [20:42:44]OFD Sender: No OFD packet to send [20:42:49]OFD Sender: No OFD packet to send [20:42:54]OFD Sender: No OFD packet to send [20:42:59]OFD Sender: No OFD packet to send [20:43:04]OFD Sender: No OFD packet to send [20:43:09]OFD Sender: No OFD packet to send [20:43:14]OFD Sender: No OFD packet to send [20:43:19]OFD Sender: No OFD packet to send [20:43:24]OFD Sender: No OFD packet to send [20:43:29]OFD Sender: No OFD packet to send [20:43:34]OFD Sender: No OFD packet to send [20:43:39]OFD Sender: No OFD packet to send [20:43:44]OFD Sender: No OFD packet to send [20:43:49]OFD Sender: No OFD packet to send [20:43:54]OFD Sender: No OFD packet to send [20:43:59]OFD Sender: No OFD packet to send [20:44:04]OFD Sender: No OFD packet to send [20:44:09]OFD Sender: No OFD packet to send [20:44:14]OFD Sender: No OFD packet to send [20:44:19]OFD Sender: No OFD packet to send [20:44:24]OFD Sender: No OFD packet to send [20:44:29]OFD Sender: No OFD packet to send [20:44:34]OFD Sender: No OFD packet to send [20:44:39]OFD Sender: No OFD packet to send [20:44:44]OFD Sender: No OFD packet to send [20:44:49]OFD Sender: No OFD packet to send [20:44:54]OFD Sender: No OFD packet to send [20:44:59]OFD Sender: No OFD packet to send [20:45:04]OFD Sender: No OFD packet to send [20:45:09]OFD Sender: No OFD packet to send [20:45:14]OFD Sender: No OFD packet to send [20:45:19]OFD Sender: No OFD packet to send [20:45:24]OFD Sender: No OFD packet to send [20:45:29]OFD Sender: No OFD packet to send [20:45:34]OFD Sender: No OFD packet to send [20:45:39]OFD Sender: No OFD packet to send [20:45:44]OFD Sender: No OFD packet to send [20:45:49]OFD Sender: No OFD packet to send [20:45:54]OFD Sender: No OFD packet to send [20:45:59]OFD Sender: No OFD packet to send [20:46:04]OFD Sender: No OFD packet to send [20:46:09]OFD Sender: No OFD packet to send [20:46:14]OFD Sender: No OFD packet to send [20:46:19]OFD Sender: No OFD packet to send [20:46:24]OFD Sender: No OFD packet to send [20:46:29]OFD Sender: No OFD packet to send [20:46:34]OFD Sender: No OFD packet to send [20:46:39]OFD Sender: No OFD packet to send [20:46:44]OFD Sender: No OFD packet to send [20:46:49]OFD Sender: No OFD packet to send [20:46:54]OFD Sender: No OFD packet to send [20:46:59]OFD Sender: No OFD packet to send [20:47:04]OFD Sender: No OFD packet to send [20:47:09]OFD Sender: No OFD packet to send [20:47:14]OFD Sender: No OFD packet to send [20:47:19]OFD Sender: No OFD packet to send [20:47:24]OFD Sender: No OFD packet to send [20:47:29]OFD Sender: No OFD packet to send [20:47:34]OFD Sender: No OFD packet to send [20:47:39]OFD Sender: No OFD packet to send [20:47:44]OFD Sender: No OFD packet to send [20:47:49]OFD Sender: No OFD packet to send [20:47:54]OFD Sender: No OFD packet to send [20:47:59]OFD Sender: No OFD packet to send [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:44]OFD Sender: No OFD packet to send [20:49:49]OFD Sender: No OFD packet to send [20:49:54]OFD Sender: No OFD packet to send [20:49:59]OFD Sender: No OFD packet to send [20:50:04]OFD Sender: No OFD packet to send [20:50:09]OFD Sender: No OFD packet to send [20:50:14]OFD Sender: No OFD packet to send [20:50:19]OFD Sender: No OFD packet to send [20:50:24]OFD Sender: No OFD packet to send [20:50:29]OFD Sender: No OFD packet to send [20:50:34]OFD Sender: No OFD packet to send [20:50:39]OFD Sender: No OFD packet to send [20:50:44]OFD Sender: No OFD packet to send [20:50:49]OFD Sender: No OFD packet to send [20:50:54]OFD Sender: No OFD packet to send [20:50:59]OFD Sender: No OFD packet to send [20:51:04]OFD Sender: No OFD packet to send [20:51:09]OFD Sender: No OFD packet to send [20:51:14]OFD Sender: No OFD packet to send [20:51:19]OFD Sender: No OFD packet to send [20:51:24]OFD Sender: No OFD packet to send [20:51:29]OFD Sender: No OFD packet to send [20:51:34]OFD Sender: No OFD packet to send [20:51:39]OFD Sender: No OFD packet to send [20:51:44]OFD Sender: No OFD packet to send [20:51:49]OFD Sender: No OFD packet to send [20:51:54]OFD Sender: No OFD packet to send [20:51:59]OFD Sender: No OFD packet to send [20:52:04]OFD Sender: No OFD packet to send [20:52:09]OFD Sender: No OFD packet to send [20:52:14]OFD Sender: No OFD packet to send [20:52:19]OFD Sender: No OFD packet to send [20:52:24]OFD Sender: No OFD packet to send [20:52:29]OFD Sender: No OFD packet to send [20:52:34]OFD Sender: No OFD packet to send [20:52:39]OFD Sender: No OFD packet to send [20:52:44]OFD Sender: No OFD packet to send [20:52:49]OFD Sender: No OFD packet to send [20:52:54]OFD Sender: No OFD packet to send [20:52:59]OFD Sender: No OFD packet to send [20:53:04]OFD Sender: No OFD packet to send [20:53:09]OFD Sender: No OFD packet to send [20:53:14]OFD Sender: No OFD packet to send [20:53:19]OFD Sender: No OFD packet to send [20:53:24]OFD Sender: No OFD packet to send [20:53:29]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:15]OFD Sender: No OFD packet to send [20:56:20]OFD Sender: No OFD packet to send [20:56:25]OFD Sender: No OFD packet to send [20:56:30]OFD Sender: No OFD packet to send [20:56:35]OFD Sender: No OFD packet to send [20:56:40]OFD Sender: No OFD packet to send [20:56:45]OFD Sender: No OFD packet to send [20:56:50]OFD Sender: No OFD packet to send [20:56:55]OFD Sender: No OFD packet to send [20:57:00]OFD Sender: No OFD packet to send [20:57:05]OFD Sender: No OFD packet to send [20:57:10]OFD Sender: No OFD packet to send [20:57:15]OFD Sender: No OFD packet to send [20:57:20]OFD Sender: No OFD packet to send [20:57:25]OFD Sender: No OFD packet to send [20:57:30]OFD Sender: No OFD packet to send [20:57:35]OFD Sender: No OFD packet to send [20:57:40]OFD Sender: No OFD packet to send [20:57:45]OFD Sender: No OFD packet to send [20:57:50]OFD Sender: No OFD packet to send [20:57:55]OFD Sender: No OFD packet to send [20:58:00]OFD Sender: No OFD packet to send [20:58:05]OFD Sender: No OFD packet to send [20:58:10]OFD Sender: No OFD packet to send [20:58:15]OFD Sender: No OFD packet to send [20:58:20]OFD Sender: No OFD packet to send [20:58:25]OFD Sender: No OFD packet to send [20:58:30]OFD Sender: No OFD packet to send [20:58:35]OFD Sender: No OFD packet to send [20:58:40]OFD Sender: No OFD packet to send [20:58:45]OFD Sender: No OFD packet to send [20:58:50]OFD Sender: No OFD packet to send [20:58:55]OFD Sender: No OFD packet to send [20:59:00]OFD Sender: No OFD packet to send [20:59:05]OFD Sender: No OFD packet to send [20:59:10]OFD Sender: No OFD packet to send [20:59:15]OFD Sender: No OFD packet to send [20:59:18]accept exits with 8 [20:59:18]New connection [20:59:18]New thread 3067370852 created [20:59:18]Thread 3067227492 joined [20:59:18]Waiting for new connection... [20:59:18] Sock 8.Parse request [20:59:18]Sock 8.Check first char [20:59:18]Sock 8.First char is OK [20:59:18]request: POST /json_proto HTTP/1.0 [20:59:18]Method: POST [20:59:18]URL: /json_proto [20:59:18]Method is POST - this is cgi request [20:59:18]url: /json_proto [20:59:18]query_string will be loaded in cgi processing [20:59:18]execute_cgi json_proto POST (null) [20:59:18]execute_cgi path=json_proto method=POST [20:59:18]POST find Content-Length [20:59:18]Host: 172.17.56.68:8080 [20:59:18]Content-Length: 1239 [20:59:18]Content-Type: application/json [20:59:18] [20:59:18]POST finish read [20:59:18]Found Content-Length = 1239 [20:59:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4391", "tax_sys" : 0, "items" : [ { "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "price" : 41.00, "quantity" : 2.000, "sum" : 82.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" : 41.00, "quantity" : 1.000, "sum" : 41.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 178.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:59:18]execute_script... [20:59: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)4391", "tax_sys" : 0, "items" : [ { "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "price" : 41.00, "quantity" : 2.000, "sum" : 82.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" : 41.00, "quantity" : 1.000, "sum" : 41.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 178.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:59:18]POST & json_proto [20:59:18]process_json_proto [20:59:18]json parsed OK: [20:59:18]protocol is kg_v1.0 [20:59:18]action value=close_receipt [20:59:18]process_action close_receipt [20:59:18]cmd_close_receipt [20:59:18]MH_GetDate [20:59:18]Write to MH i2c: F0 00 00 FE 25 12 [20:59:18]Write i2c OK [20:59:18]MH_I2C_Read... [20:59:18]Read from MH i2c: F0 [20:59:18]MH_I2C_Read... [20:59:18]Read from MH i2c: F0 09 00 [20:59:18]MH_I2C_Read... [20:59:18]Read from MH i2c: F0 09 00 FE 25 00 31 80 5F 66 42 69 5C 66 FE [20:59:18]GetLastDocTimeStamp 1717533411 [20:59:18]current date 1717534769 [20:59:18]FM_GetShiftState [20:59:18]SAM_PROTO_GetShiftState [20:59:18]wFMCommunicate request_size=4 [20:59:18]MH_SAM_APDU [20:59:18]CAPDU: 80 13 01 00 [20:59:18]Write to MH i2c: E2 08 00 FF 25 80 13 01 00 00 00 00 00 A1 [20:59:18]Write i2c OK [20:59:18]MH_I2C_Read... [20:59:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:59:19]Read from MH i2c: E2 [20:59:19]MH_I2C_Read... [20:59:19]Read from MH i2c: E2 0E 00 [20:59:19]MH_I2C_Read... [20:59:19]Read from MH i2c: E2 0E 00 FF 25 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 3A [20:59:19]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [20:59:19]wFMCommunicate OK [20:59:19]SAM_PROTO_GetShiftState done [20:59:19]FM_GetShiftState done [20:59:19]opened in 1717459822 [20:59:19]opened+sec_in_day 1717546222 [20:59:19]quantity*price = 8200 [20:59:19]sum+1 = 8201 [20:59:19]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607010740733 Чипсы Чипсоны шашлык 40г 1.000 * 41.00 = 41.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160204 Вода Легенда 1,5л 1.000 * 55.00 = 55.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 178.00 НСП 1% : 1.58 НДС 12% : 18.90 Наличными: 178.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 54 04.06.2024 20:59 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4137 ФПД: 273944198073166 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T205929&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4137&fm=273944198073166&tin=02508201610067®Number=0000000000145775&sum=17800 0 [20:59:20]StoreToDocumentArchive [20:59:20]shift 83 fd 4137 [20:59:20]save to /storage/0083/doc_00004137 [20:59:20]save last doc name /storage/0083/doc_00004137 to /storage/kkm_last_doc_name [20:59:20]save OK [20:59:20]Clear old archive folders... [20:59:20]ProcessDocumentItem done err = 0, tmpTLVsize=511 [20:59:20]tlvbuf is B6F40B00 [20:59:20]SAM_PROTO_ClearQueue [20:59:20]wFMCommunicate request_size=4 [20:59:20]MH_SAM_APDU [20:59:20]CAPDU: 80 09 00 00 [20:59:20]Write to MH i2c: E2 08 00 0C 26 80 09 00 00 00 00 00 00 A4 [20:59:20]Write i2c OK [20:59:20]MH_I2C_Read... [20:59:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:59:20]Read from MH i2c: E2 [20:59:20]MH_I2C_Read... [20:59:20]Read from MH i2c: E2 03 00 [20:59:20]MH_I2C_Read... [20:59:20]Read from MH i2c: E2 03 00 0C 26 00 90 00 A6 [20:59:20]RAPDU: 90 00 [20:59:20]wFMCommunicate OK [20:59:20]SAM_PROTO_ClearQueue done [20:59:20]KKMCreateOFDPacket [20:59:20]OFDProtocolAddRootSTLVToBuf [20:59:20]FM_MakeSignedData [20:59:20]FM_MakeSignedData [20:59:20]SAM_PROTO_SignData [20:59:20]wFMCommunicate request_size=4 [20:59:20]MH_SAM_APDU [20:59:20]CAPDU: 80 0D 01 02 [20:59:20]Write to MH i2c: E2 08 00 0D 26 80 0D 01 02 00 00 00 00 AC [20:59:20]Write i2c OK [20:59:20]MH_I2C_Read... [20:59:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:59:20]Read from MH i2c: E2 [20:59:20]MH_I2C_Read... [20:59:20]Read from MH i2c: E2 03 00 [20:59:20]MH_I2C_Read... [20:59:20]Read from MH i2c: E2 03 00 0D 26 00 90 00 A7 [20:59:20]RAPDU: 90 00 [20:59:20]wFMCommunicate OK [20:59:20]wFMCommunicate request_size=255 [20:59:20]MH_SAM_APDU [20:59:20]CAPDU: 80 0D 02 02 FA 03 00 FF 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 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 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 [20:59:20]Write to MH i2c: E2 02 01 0E 26 80 0D 02 02 FA 00 03 00 FF 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 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 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 00 00 BA [20:59:20]OFD Sender: No OFD packet to send [20:59:20]Write i2c OK [20:59:20]MH_I2C_Read... [20:59:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:59:20]Read from MH i2c: E2 [20:59:20]MH_I2C_Read... [20:59:20]Read from MH i2c: E2 03 00 [20:59:20]MH_I2C_Read... [20:59:20]Read from MH i2c: E2 03 00 0E 26 00 90 00 A8 [20:59:20]RAPDU: 90 00 [20:59:20]wFMCommunicate OK [20:59:20]wFMCommunicate request_size=255 [20:59:20]MH_SAM_APDU [20:59:20]CAPDU: 80 0D 02 02 FA 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 07 00 00 00 00 07 04 06 00 88 45 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 31 80 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 [20:59:20]Write to MH i2c: E2 02 01 0F 26 80 0D 02 02 FA 00 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 07 00 00 00 00 07 04 06 00 88 45 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 31 80 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 00 00 [20:59:20]Write i2c OK [20:59:20]MH_I2C_Read... [20:59:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:59:21]Read from MH i2c: E2 [20:59:21]MH_I2C_Read... [20:59:21]Read from MH i2c: E2 03 00 [20:59:21]MH_I2C_Read... [20:59:21]Read from MH i2c: E2 03 00 0F 26 00 90 00 A9 [20:59:21]RAPDU: 90 00 [20:59:21]wFMCommunicate OK [20:59:21]wFMCommunicate request_size=20 [20:59:21]MH_SAM_APDU [20:59:21]CAPDU: 80 0D 02 02 0F 00 29 10 00 00 35 04 06 00 F9 26 9A 9D 4B 4E [20:59:21]Write to MH i2c: E2 17 00 10 26 80 0D 02 02 0F 00 00 29 10 00 00 35 04 06 00 F9 26 9A 9D 4B 4E 00 00 35 [20:59:21]Write i2c OK [20:59:21]MH_I2C_Read... [20:59:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:59:21]Read from MH i2c: E2 [20:59:21]MH_I2C_Read... [20:59:21]Read from MH i2c: E2 03 00 [20:59:21]MH_I2C_Read... [20:59:21]Read from MH i2c: E2 03 00 10 26 00 90 00 AA [20:59:21]RAPDU: 90 00 [20:59:21]wFMCommunicate OK [20:59:21]wFMCommunicate request_size=4 [20:59:21]MH_SAM_APDU [20:59:21]CAPDU: 80 0D 03 02 [20:59:21]Write to MH i2c: E2 08 00 11 26 80 0D 03 02 00 00 00 00 B2 [20:59:21]Write i2c OK [20:59:21]MH_I2C_Read... [20:59:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:59:21]Read from MH i2c: E2 [20:59:21]MH_I2C_Read... [20:59:21]Read from MH i2c: E2 0B 00 [20:59:21]MH_I2C_Read... [20:59:21]Read from MH i2c: E2 0B 00 11 26 00 0C 42 CC C7 A3 A2 AB B1 90 00 35 [20:59:21]RAPDU: 0C 42 CC C7 A3 A2 AB B1 90 00 [20:59:21]wFMCommunicate OK [20:59:21]SAM_PROTO_SignData done [20:59:21]FM_MakeSignedData done [20:59:21]CreateOFDProtocolMessage [20:59:21]wFMCommunicate request_size=4 [20:59:21]MH_SAM_APDU [20:59:21]CAPDU: 80 11 00 00 [20:59:21]Write to MH i2c: E2 08 00 12 26 80 11 00 00 00 00 00 00 B2 [20:59:21]Write i2c OK [20:59:21]MH_I2C_Read... [20:59:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:59:21]Read from MH i2c: E2 [20:59:21]MH_I2C_Read... [20:59:21]Read from MH i2c: E2 17 00 [20:59:21]MH_I2C_Read... [20:59:21]Read from MH i2c: E2 17 00 12 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 05 [20:59:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:59:21]wFMCommunicate OK [20:59:21]CreateOFDProtocolMessage done [20:59:21]OFDSenderStorePacket 4137 [20:59:21]StoreOFDPacket docnum=4137 [20:59:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 13 02 00 00 C5 4C 0B 02 58 D4 5A 03 01 00 03 00 FF 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 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 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 07 00 00 00 00 07 04 06 00 88 45 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 31 80 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 29 10 00 00 35 04 06 00 F9 26 9A 9D 4B 4E 0C 42 CC C7 A3 A2 AB B1 [20:59:21]CheckFolder [20:59:21]dirname=/storage/ofd_packets [20:59:21]CheckFolder done [20:59:21]ProducePacketName [20:59:21]name=ofd_packets/00004137 [20:59:21]NVStorageSaveData ofd_packets/00004137 [20:59:21]File name is /storage/ofd_packets/00004137 [20:59:21]Write 561 bytes [20:59:21]NVStorageSaveData done [20:59:21]OFDSenderStorePacket done [20:59:21]KKMCreateOFDPacket done [20:59:21]NVStorageSaveData kkm_last_timestamp [20:59:21]File name is /storage/kkm_last_timestamp [20:59:21]Write 4 bytes [20:59:21]NVStorageSaveData done [20:59:21]ExternCall_PrintAddStr [20:59:21]wPrintStart [20:59:21]Write to MH i2c: 01 00 00 13 26 39 [20:59:21]Write i2c OK [20:59:21]MH_I2C_Read... [20:59:21]Read from MH i2c: 01 [20:59:21]MH_I2C_Read... [20:59:21]Read from MH i2c: 01 07 00 [20:59:21]MH_I2C_Read... [20:59:21]Read from MH i2c: 01 07 00 13 26 00 00 00 00 00 FF 0F 4E [20:59:21]RasterBufferAndPrint [20:59:21]line Счет N : (3)4391 [20:59:21]line ИНН: 02508201610067 [20:59:21]line Контрольно-Кассовый Чек [20:59:21]line ПРОДАЖА [20:59:21]line Товар: 4607010740757 [20:59:21]line Чипсы Чипсоны сметана, лук 40г [20:59:21]line 2.000 * 41.00 [20:59:21]line = 82.00 [20:59:21]line НДС 12% НСП 1% [20:59:21]line > о реализуемом товаре [20:59:21]line Товар: 4607010740733 [20:59:21]line Чипсы Чипсоны шашлык 40г [20:59:21]line 1.000 * 41.00 [20:59:21]line = 41.00 [20:59:21]line НДС 12% НСП 1% [20:59:21]line > о реализуемом товаре [20:59:21]line Товар: 4700000160204 [20:59:21]line Вода Легенда 1,5л [20:59:21]line 1.000 * 55.00 [20:59:21]line = 55.00 [20:59:21]line НДС 12% НСП 1% [20:59:21]line > о реализуемом товаре [20:59:21]line ИТОГО: 178.00 [20:59:21]line НСП 1% : 1.58 [20:59:21]line НДС 12% : 18.90 [20:59:21]line Наличными: 178.00 [20:59:21]line Безнал.: 0.00 [20:59:21]line Место: АЗС № 116 "Партнер Нефть" [20:59:21]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [20:59:21]line СНО: Общий режим [20:59:21]line Чек 54 04.06.2024 20:59 [20:59:21]line Смена: 83 ФФД: 1.0 [20:59:21]line ЗНМ: 0300000233 [20:59:21]line РНМ: 0000000000145775 [20:59:21]line Версия ККМ: v1.0 [20:59:21]line ФМ: 0000000000959360 [20:59:21]line ФД: 4137 [20:59:21]line ФПД: 273944198073166 [20:59:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T205929&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4137&fm=273944198073166&tin=02508201610067®Number=0000000000145775&sum=17800 [20:59:21]line 0 [20:59:21]OFD Sender: Processing packet 4137 [packets to send 2, broken 1] [20:59:21]ProducePacketName [20:59:21]name=ofd_packets/00004137 [20:59:21]OFD Sender: To server: pG, [20:59:21]CommunicateWithHost lk.salyk.kg:30040 [20:59:21]ConnectInit lk.salyk.kg [20:59:21]written 0, free lines is 4095 [20:59:21]Connected sock=10 [20:59:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 13 02 00 00 C5 4C 0B 02 58 D4 5A 03 01 00 03 00 FF 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 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 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 07 00 00 00 00 07 04 06 00 88 45 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 31 80 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 29 10 00 00 35 04 06 00 F9 26 9A 9D 4B 4E 0C 42 CC C7 A3 A2 AB B1 [20:59:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 30 E2 47 00 07 03 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 29 10 00 00 F4 03 04 00 31 2C 5F 66 B6 04 01 00 00 76 76 06 85 3C B7 5E 9E [20:59:21]CommunicateWithHost err = 0 [20:59:21]CheckOFDResponse [20:59:21]1017 (14) - 77093643461234 [20:59:21]1041 (16) - 0000000000959360 [20:59:21]1040 (4) - 4137 [20:59:21]1012 (4) - 04.06.2024 15:01 [20:59:21]1206 (1) - 0 [20:59:21]OFD Sender: Remove packet 4137 [20:59:21]ProducePacketName [20:59:21]name=ofd_packets/00004137 [20:59:21]NVStorageDeleteData [20:59:22]Write to MH i2c: 01 00 00 48 26 6E [20:59:22]Write i2c OK [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 07 00 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 07 00 48 26 00 00 00 00 00 E1 0B 61 [20:59:22]RasterBufferAndPrint [20:59:22]line [20:59:22]line [20:59:22]line [20:59:22]line [20:59:22]line [20:59:22]written 0, free lines is 3046 [20:59:22]MH_Cut [20:59:22]Write to MH i2c: D1 01 00 4F 26 01 47 [20:59:22]Write i2c OK [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: D1 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: D1 01 00 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: D1 01 00 4F 26 00 46 [20:59:22]Write to MH i2c: 01 00 00 50 26 76 [20:59:22]Write i2c OK [20:59:22]MH_I2C_Read... [20:59:22]OFD Sender: No OFD packet to send [20:59:23]*** Cut start [20:59:23]*** Partial cut [20:59:23]*** CUTSNS_PIN = 1 [20:59:23]*** CUTSNS_PIN = 0 [20:59:23]*** Brake cut motor [20:59:23]Read from MH i2c: 01 [20:59:23]MH_I2C_Read... [20:59:23]*** Stop cut motor [20:59:23]*** Cut end [20:59:23]Read from MH i2c: 01 07 00 [20:59:23]MH_I2C_Read... [20:59:23]Read from MH i2c: 01 07 00 50 26 00 00 00 00 00 FF 0F 8B [20:59:23]process_action close_receipt done [20:59:23]requested_data is exist [20:59:23]produce_requested_data [20:59:23]requested_item fm.sn is exist - process it [20:59:23]wFMCommunicate request_size=4 [20:59:23]MH_SAM_APDU [20:59:23]CAPDU: 80 11 00 00 [20:59:23]Write to MH i2c: E2 08 00 51 26 80 11 00 00 00 00 00 00 F1 [20:59:23]Write i2c OK [20:59:23]MH_I2C_Read... [20:59:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:59:23]Read from MH i2c: E2 [20:59:23]MH_I2C_Read... [20:59:23]Read from MH i2c: E2 17 00 [20:59:23]MH_I2C_Read... [20:59:23]Read from MH i2c: E2 17 00 51 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 44 [20:59:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:59:23]wFMCommunicate OK [20:59:23]requested_item fd.num is exist - process it [20:59:23]SAM_PROTO_GetFieldsCounters [20:59:23]wFMCommunicate request_size=4 [20:59:23]MH_SAM_APDU [20:59:23]CAPDU: 80 13 00 00 [20:59:23]Write to MH i2c: E2 08 00 52 26 80 13 00 00 00 00 00 00 F4 [20:59:23]Write i2c OK [20:59:23]MH_I2C_Read... [20:59:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:59:24]Read from MH i2c: E2 [20:59:24]MH_I2C_Read... [20:59:24]Read from MH i2c: E2 62 00 [20:59:24]MH_I2C_Read... [20:59:24]Read from MH i2c: E2 62 00 52 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 29 10 00 00 0E 04 04 00 53 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 47 [20:59:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 29 10 00 00 0E 04 04 00 53 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 [20:59:24]wFMCommunicate OK [20:59:24]SAM_PROTO_GetFieldsCounters done [20:59:24]requested_item shift.num is exist - process it [20:59:24]requested_item shift.opened is exist - process it [20:59:24]req_shift_opened [20:59:24]FM_GetShiftState [20:59:24]SAM_PROTO_GetShiftState [20:59:24]wFMCommunicate request_size=4 [20:59:24]MH_SAM_APDU [20:59:24]CAPDU: 80 13 01 00 [20:59:24]Write to MH i2c: E2 08 00 53 26 80 13 01 00 00 00 00 00 F6 [20:59:24]Write i2c OK [20:59:24]MH_I2C_Read... [20:59:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:59:24]Read from MH i2c: E2 [20:59:24]MH_I2C_Read... [20:59:24]Read from MH i2c: E2 0E 00 [20:59:24]MH_I2C_Read... [20:59:24]Read from MH i2c: E2 0E 00 53 26 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 8F [20:59:24]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [20:59:24]wFMCommunicate OK [20:59:24]SAM_PROTO_GetShiftState done [20:59:24]FM_GetShiftState done [20:59:24]req_shift_opened done [20:59:24]requested_item shift.open_date is exist - process it [20:59:24]req_shift_open_date [20:59:24]req_shift_open_date done [20:59:24]produce_requested_data done [20:59:24]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4137,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [20:59:24]process_action_free close_receipt [20:59:24]json_value_free [20:59:24]json_value_free done [20:59:24]process_json_proto returns [20:59:24]Send response to host [20:59:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4137,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [20:59:24]free response buf [20:59:24]execute_script done [20:59:24]execute_script returns [20:59:24]free content buf [20:59:24]Sock 8.Close socket [20:59:24]Sock 8.Thread stoped [20:59:27]OFD Sender: No OFD packet to send [20:59:32]OFD Sender: No OFD packet to send [20:59:37]OFD Sender: No OFD packet to send [20:59:42]OFD Sender: No OFD packet to send [20:59:47]OFD Sender: No OFD packet to send [20:59:52]OFD Sender: No OFD packet to send [20:59:57]OFD Sender: No OFD packet to send [21:00:02]OFD Sender: No OFD packet to send [21:00:07]OFD Sender: No OFD packet to send [21:00:12]OFD Sender: No OFD packet to send [21:00:17]OFD Sender: No OFD packet to send [21:00:22]OFD Sender: No OFD packet to send [21:00:27]OFD Sender: No OFD packet to send [21:00:32]OFD Sender: No OFD packet to send [21:00:37]OFD Sender: No OFD packet to send [21:00:42]OFD Sender: No OFD packet to send [21:00:47]OFD Sender: No OFD packet to send [21:00:52]OFD Sender: No OFD packet to send [21:00:57]OFD Sender: No OFD packet to send [21:01:02]OFD Sender: No OFD packet to send [21:01:07]OFD Sender: No OFD packet to send [21:01:12]OFD Sender: No OFD packet to send [21:01:17]OFD Sender: No OFD packet to send [21:01:22]OFD Sender: No OFD packet to send [21:01:27]OFD Sender: No OFD packet to send [21:01:32]OFD Sender: No OFD packet to send [21:01:37]OFD Sender: No OFD packet to send [21:01:42]OFD Sender: No OFD packet to send [21:01:47]OFD Sender: No OFD packet to send [21:01:52]OFD Sender: No OFD packet to send [21:01:57]OFD Sender: No OFD packet to send [21:02:02]OFD Sender: No OFD packet to send [21:02:07]OFD Sender: No OFD packet to send [21:02:12]OFD Sender: No OFD packet to send [21:02:17]OFD Sender: No OFD packet to send [21:02:22]OFD Sender: No OFD packet to send [21:02:27]OFD Sender: No OFD packet to send [21:02:32]OFD Sender: No OFD packet to send [21:02:37]OFD Sender: No OFD packet to send [21:02:42]OFD Sender: No OFD packet to send [21:02:47]OFD Sender: No OFD packet to send [21:02:52]OFD Sender: No OFD packet to send [21:02:57]OFD Sender: No OFD packet to send [21:03:02]OFD Sender: No OFD packet to send [21:03:07]OFD Sender: No OFD packet to send [21:03:12]OFD Sender: No OFD packet to send [21:03:17]OFD Sender: No OFD packet to send [21:03:22]OFD Sender: No OFD packet to send [21:03:27]OFD Sender: No OFD packet to send [21:03:32]OFD Sender: No OFD packet to send [21:03:37]OFD Sender: No OFD packet to send [21:03:42]OFD Sender: No OFD packet to send [21:03:47]OFD Sender: No OFD packet to send [21:03:52]OFD Sender: No OFD packet to send [21:03:57]OFD Sender: No OFD packet to send [21:04:02]OFD Sender: No OFD packet to send [21:04:07]OFD Sender: No OFD packet to send [21:04:12]OFD Sender: No OFD packet to send [21:04:17]OFD Sender: No OFD packet to send [21:04:22]OFD Sender: No OFD packet to send [21:04:27]OFD Sender: No OFD packet to send [21:04:32]OFD Sender: No OFD packet to send [21:04:37]OFD Sender: No OFD packet to send [21:04:42]OFD Sender: No OFD packet to send [21:04:47]OFD Sender: No OFD packet to send [21:04:52]OFD Sender: No OFD packet to send [21:04:57]OFD Sender: No OFD packet to send [21:05:02]OFD Sender: No OFD packet to send [21:05:07]OFD Sender: No OFD packet to send [21:05:12]OFD Sender: No OFD packet to send [21:05:17]OFD Sender: No OFD packet to send [21:05:22]OFD Sender: No OFD packet to send [21:05:27]OFD Sender: No OFD packet to send [21:05: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]accept exits with 9 [21:06:32]New connection [21:06:32]New thread 3067227492 created [21:06:32]Thread 3067370852 joined [21:06:32]Waiting for new connection... [21:06:32] Sock 9.Parse request [21:06:32]Sock 9.Check first char [21:06:32]Sock 9.First char is OK [21:06:32]request: POST /json_proto HTTP/1.0 [21:06:32]Method: POST [21:06:32]URL: /json_proto [21:06:32]Method is POST - this is cgi request [21:06:32]url: /json_proto [21:06:32]query_string will be loaded in cgi processing [21:06:32]execute_cgi json_proto POST (null) [21:06:32]execute_cgi path=json_proto method=POST [21:06:32]POST find Content-Length [21:06:32]Host: 172.17.56.68:8080 [21:06:32]Content-Length: 790 [21:06:32]Content-Type: application/json [21:06:32] [21:06:32]POST finish read [21:06:32]Found Content-Length = 790 [21:06:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4392", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:06:32]execute_script... [21:06:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4392", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:06:32]POST & json_proto [21:06:32]process_json_proto [21:06:32]json parsed OK: [21:06:32]protocol is kg_v1.0 [21:06:32]action value=close_receipt [21:06:32]process_action close_receipt [21:06:32]cmd_close_receipt [21:06:32]MH_GetDate [21:06:32]Write to MH i2c: F0 00 00 54 26 69 [21:06:32]Write i2c OK [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: F0 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: F0 09 00 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: F0 09 00 54 26 00 E3 81 5F 66 42 69 5C 66 08 [21:06:32]GetLastDocTimeStamp 1717534769 [21:06:32]current date 1717535203 [21:06:32]FM_GetShiftState [21:06:32]SAM_PROTO_GetShiftState [21:06:32]wFMCommunicate request_size=4 [21:06:32]MH_SAM_APDU [21:06:32]CAPDU: 80 13 01 00 [21:06:32]Write to MH i2c: E2 08 00 55 26 80 13 01 00 00 00 00 00 F8 [21:06:32]Write i2c OK [21:06:32]MH_I2C_Read... [21:06:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:06:32]Read from MH i2c: E2 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: E2 0E 00 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: E2 0E 00 55 26 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 91 [21:06:32]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [21:06:32]wFMCommunicate OK [21:06:32]SAM_PROTO_GetShiftState done [21:06:32]FM_GetShiftState done [21:06:32]opened in 1717459822 [21:06:32]opened+sec_in_day 1717546222 [21:06:32]quantity*price = 23000 [21:06:32]sum+1 = 23001 [21:06:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 230.00 НСП 1% : 2.03 НДС 12% : 24.42 Наличными: 0.00 Безнал.: 230.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 55 04.06.2024 21:06 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4138 ФПД: 133336701713576 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T210643&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4138&fm=133336701713576&tin=02508201610067®Number=0000000000145775&sum=23000 0 [21:06:33]StoreToDocumentArchive [21:06:33]shift 83 fd 4138 [21:06:33]save to /storage/0083/doc_00004138 [21:06:33]save last doc name /storage/0083/doc_00004138 to /storage/kkm_last_doc_name [21:06:33]save OK [21:06:33]Clear old archive folders... [21:06:33]ProcessDocumentItem done err = 0, tmpTLVsize=274 [21:06:33]tlvbuf is 007EABC0 [21:06:33]SAM_PROTO_ClearQueue [21:06:33]wFMCommunicate request_size=4 [21:06:33]MH_SAM_APDU [21:06:33]CAPDU: 80 09 00 00 [21:06:33]Write to MH i2c: E2 08 00 62 26 80 09 00 00 00 00 00 00 FA [21:06:33]Write i2c OK [21:06:33]MH_I2C_Read... [21:06:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:06:33]Read from MH i2c: E2 [21:06:33]MH_I2C_Read... [21:06:33]Read from MH i2c: E2 03 00 [21:06:33]MH_I2C_Read... [21:06:33]Read from MH i2c: E2 03 00 62 26 00 90 00 FC [21:06:33]RAPDU: 90 00 [21:06:33]wFMCommunicate OK [21:06:33]SAM_PROTO_ClearQueue done [21:06:33]KKMCreateOFDPacket [21:06:33]OFDProtocolAddRootSTLVToBuf [21:06:33]FM_MakeSignedData [21:06:33]FM_MakeSignedData [21:06:33]SAM_PROTO_SignData [21:06:33]wFMCommunicate request_size=4 [21:06:33]MH_SAM_APDU [21:06:33]CAPDU: 80 0D 01 02 [21:06:33]Write to MH i2c: E2 08 00 63 26 80 0D 01 02 00 00 00 00 02 [21:06:33]Write i2c OK [21:06:33]MH_I2C_Read... [21:06:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:06:33]Read from MH i2c: E2 [21:06:33]MH_I2C_Read... [21:06:33]Read from MH i2c: E2 03 00 [21:06:33]MH_I2C_Read... [21:06:33]Read from MH i2c: E2 03 00 63 26 00 90 00 FD [21:06:33]RAPDU: 90 00 [21:06:33]wFMCommunicate OK [21:06:33]wFMCommunicate request_size=255 [21:06:33]MH_SAM_APDU [21:06:33]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 E3 81 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 [21:06:33]Write to MH i2c: E2 02 01 64 26 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 E3 81 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 00 00 BB [21:06:33]Write i2c OK [21:06:33]MH_I2C_Read... [21:06:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:06:34]Read from MH i2c: E2 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: E2 03 00 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: E2 03 00 64 26 00 90 00 FE [21:06:34]RAPDU: 90 00 [21:06:34]wFMCommunicate OK [21:06:34]wFMCommunicate request_size=33 [21:06:34]MH_SAM_APDU [21:06:34]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2A 10 00 00 35 04 06 00 79 44 DE BD BC A8 [21:06:34]Write to MH i2c: E2 24 00 65 26 80 0D 02 02 1C 00 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2A 10 00 00 35 04 06 00 79 44 DE BD BC A8 00 00 8A [21:06:34]Write i2c OK [21:06:34]MH_I2C_Read... [21:06:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:06:34]Read from MH i2c: E2 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: E2 03 00 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: E2 03 00 65 26 00 90 00 FF [21:06:34]RAPDU: 90 00 [21:06:34]wFMCommunicate OK [21:06:34]wFMCommunicate request_size=4 [21:06:34]MH_SAM_APDU [21:06:34]CAPDU: 80 0D 03 02 [21:06:34]Write to MH i2c: E2 08 00 66 26 80 0D 03 02 00 00 00 00 07 [21:06:34]Write i2c OK [21:06:34]MH_I2C_Read... [21:06:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:06:34]Read from MH i2c: E2 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: E2 0B 00 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: E2 0B 00 66 26 00 67 E8 BC 44 9B 7C 5C BD 90 00 87 [21:06:34]RAPDU: 67 E8 BC 44 9B 7C 5C BD 90 00 [21:06:34]wFMCommunicate OK [21:06:34]SAM_PROTO_SignData done [21:06:34]FM_MakeSignedData done [21:06:34]CreateOFDProtocolMessage [21:06:34]wFMCommunicate request_size=4 [21:06:34]MH_SAM_APDU [21:06:34]CAPDU: 80 11 00 00 [21:06:34]Write to MH i2c: E2 08 00 67 26 80 11 00 00 00 00 00 00 07 [21:06:34]Write i2c OK [21:06:34]MH_I2C_Read... [21:06:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:06:34]Read from MH i2c: E2 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: E2 17 00 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: E2 17 00 67 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 5A [21:06:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:06:34]wFMCommunicate OK [21:06:34]CreateOFDProtocolMessage done [21:06:34]OFDSenderStorePacket 4138 [21:06:34]StoreOFDPacket docnum=4138 [21:06:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 2A 11 1E 01 DF C3 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 E3 81 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2A 10 00 00 35 04 06 00 79 44 DE BD BC A8 67 E8 BC 44 9B 7C 5C BD [21:06:34]CheckFolder [21:06:34]dirname=/storage/ofd_packets [21:06:34]CheckFolder done [21:06:34]ProducePacketName [21:06:34]name=ofd_packets/00004138 [21:06:34]NVStorageSaveData ofd_packets/00004138 [21:06:34]File name is /storage/ofd_packets/00004138 [21:06:34]Write 324 bytes [21:06:34]NVStorageSaveData done [21:06:34]OFDSenderStorePacket done [21:06:34]KKMCreateOFDPacket done [21:06:34]NVStorageSaveData kkm_last_timestamp [21:06:34]File name is /storage/kkm_last_timestamp [21:06:34]Write 4 bytes [21:06:34]NVStorageSaveData done [21:06:34]ExternCall_PrintAddStr [21:06:34]wPrintStart [21:06:34]Write to MH i2c: 01 00 00 68 26 8E [21:06:34]OFD Sender: Processing packet 4138 [packets to send 2, broken 1] [21:06:34]ProducePacketName [21:06:34]name=ofd_packets/00004138 [21:06:34]OFD Sender: To server: pG, [21:06:34]CommunicateWithHost lk.salyk.kg:30040 [21:06:34]ConnectInit lk.salyk.kg [21:06:34]Write i2c OK [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: 01 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: 01 07 00 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: 01 07 00 68 26 00 00 00 00 00 FF 0F A3 [21:06:34]RasterBufferAndPrint [21:06:34]line Счет N : (3)4392 [21:06:34]line ИНН: 02508201610067 [21:06:34]line Контрольно-Кассовый Чек [21:06:34]line ПРОДАЖА [21:06:34]line Товар: 2000036240010 [21:06:34]line Кофе Латте (GABB TRADE) [21:06:34]line 2.000 * 115.00 [21:06:34]line = 230.00 [21:06:34]line НДС 12% НСП 1% [21:06:34]line > о реализуемом товаре [21:06:34]line ИТОГО: 230.00 [21:06:34]line НСП 1% : 2.03 [21:06:34]line НДС 12% : 24.42 [21:06:34]line Наличными: 0.00 [21:06:34]line Безнал.: 230.00 [21:06:34]line Место: АЗС № 116 "Партнер Нефть" [21:06:34]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [21:06:34]line СНО: Общий режим [21:06:34]line Чек 55 04.06.2024 21:06 [21:06:34]line Смена: 83 ФФД: 1.0 [21:06:34]line ЗНМ: 0300000233 [21:06:34]line РНМ: 0000000000145775 [21:06:34]line Версия ККМ: v1.0 [21:06:34]line Платежная система: О! деньги [21:06:34]line ФМ: 0000000000959360 [21:06:34]line ФД: 4138 [21:06:34]line ФПД: 133336701713576 [21:06:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T210643&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4138&fm=133336701713576&tin=02508201610067®Number=0000000000145775&sum=23000 [21:06:34]line 0 [21:06:34]Connected sock=10 [21:06:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 2A 11 1E 01 DF C3 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 E3 81 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2A 10 00 00 35 04 06 00 79 44 DE BD BC A8 67 E8 BC 44 9B 7C 5C BD [21:06:34]written 0, free lines is 4095 [21:06:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 D4 6C 47 00 A3 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2A 10 00 00 F4 03 04 00 E2 2D 5F 66 B6 04 01 00 00 8B 0A 3E B8 D0 87 2B 6E [21:06:34]CommunicateWithHost err = 0 [21:06:34]CheckOFDResponse [21:06:34]1017 (14) - 77093643461234 [21:06:34]1041 (16) - 0000000000959360 [21:06:34]1040 (4) - 4138 [21:06:34]1012 (4) - 04.06.2024 15:08 [21:06:34]1206 (1) - 0 [21:06:34]OFD Sender: Remove packet 4138 [21:06:34]ProducePacketName [21:06:34]name=ofd_packets/00004138 [21:06:34]NVStorageDeleteData [21:06:35]Write to MH i2c: 01 00 00 92 26 B8 [21:06:35]Write i2c OK [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: 01 [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: 01 07 00 [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: 01 07 00 92 26 00 00 00 00 00 AC 0C 77 [21:06:35]RasterBufferAndPrint [21:06:35]line [21:06:35]line [21:06:35]line [21:06:35]line [21:06:35]line [21:06:35]written 0, free lines is 3251 [21:06:35]MH_Cut [21:06:35]Write to MH i2c: D1 01 00 99 26 01 91 [21:06:35]Write i2c OK [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: D1 [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: D1 01 00 [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: D1 01 00 99 26 00 90 [21:06:35]Write to MH i2c: 01 00 00 9A 26 C0 [21:06:35]Write i2c OK [21:06:35]MH_I2C_Read... [21:06:35]OFD Sender: No OFD packet to send [21:06:36]*** Cut start [21:06:36]*** Partial cut [21:06:36]*** CUTSNS_PIN = 1 [21:06:36]*** CUTSNS_PIN = 0 [21:06:36]*** Brake cut motor [21:06:36]Read from MH i2c: 01 [21:06:36]MH_I2C_Read... [21:06:36]*** Stop cut motor [21:06:36]*** Cut end [21:06:36]Read from MH i2c: 01 07 00 [21:06:36]MH_I2C_Read... [21:06:36]Read from MH i2c: 01 07 00 9A 26 00 00 00 00 00 FF 0F D5 [21:06:36]process_action close_receipt done [21:06:36]requested_data is exist [21:06:36]produce_requested_data [21:06:36]requested_item fm.sn is exist - process it [21:06:36]wFMCommunicate request_size=4 [21:06:36]MH_SAM_APDU [21:06:36]CAPDU: 80 11 00 00 [21:06:36]Write to MH i2c: E2 08 00 9B 26 80 11 00 00 00 00 00 00 3B [21:06:36]Write i2c OK [21:06:36]MH_I2C_Read... [21:06:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:06:36]Read from MH i2c: E2 [21:06:36]MH_I2C_Read... [21:06:36]Read from MH i2c: E2 17 00 [21:06:36]MH_I2C_Read... [21:06:36]Read from MH i2c: E2 17 00 9B 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 8E [21:06:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:06:36]wFMCommunicate OK [21:06:36]requested_item fd.num is exist - process it [21:06:36]SAM_PROTO_GetFieldsCounters [21:06:36]wFMCommunicate request_size=4 [21:06:36]MH_SAM_APDU [21:06:36]CAPDU: 80 13 00 00 [21:06:36]Write to MH i2c: E2 08 00 9C 26 80 13 00 00 00 00 00 00 3E [21:06:36]Write i2c OK [21:06:36]MH_I2C_Read... [21:06:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:06:36]Read from MH i2c: E2 [21:06:36]MH_I2C_Read... [21:06:36]Read from MH i2c: E2 62 00 [21:06:36]MH_I2C_Read... [21:06:36]Read from MH i2c: E2 62 00 9C 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2A 10 00 00 0E 04 04 00 53 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 95 [21:06:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2A 10 00 00 0E 04 04 00 53 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 [21:06:36]wFMCommunicate OK [21:06:36]SAM_PROTO_GetFieldsCounters done [21:06:36]requested_item shift.num is exist - process it [21:06:36]requested_item shift.opened is exist - process it [21:06:36]req_shift_opened [21:06:36]FM_GetShiftState [21:06:36]SAM_PROTO_GetShiftState [21:06:36]wFMCommunicate request_size=4 [21:06:36]MH_SAM_APDU [21:06:36]CAPDU: 80 13 01 00 [21:06:36]Write to MH i2c: E2 08 00 9D 26 80 13 01 00 00 00 00 00 40 [21:06:36]Write i2c OK [21:06:36]MH_I2C_Read... [21:06:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:06:36]Read from MH i2c: E2 [21:06:36]MH_I2C_Read... [21:06:36]Read from MH i2c: E2 0E 00 [21:06:36]MH_I2C_Read... [21:06:36]Read from MH i2c: E2 0E 00 9D 26 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 D9 [21:06:36]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [21:06:36]wFMCommunicate OK [21:06:36]SAM_PROTO_GetShiftState done [21:06:36]FM_GetShiftState done [21:06:36]req_shift_opened done [21:06:36]requested_item shift.open_date is exist - process it [21:06:36]req_shift_open_date [21:06:36]req_shift_open_date done [21:06:36]produce_requested_data done [21:06:36]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4138,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [21:06:36]process_action_free close_receipt [21:06:36]json_value_free [21:06:36]json_value_free done [21:06:36]process_json_proto returns [21:06:36]Send response to host [21:06:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4138,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [21:06:36]free response buf [21:06:36]execute_script done [21:06:36]execute_script returns [21:06:36]free content buf [21:06:36]Sock 9.Close socket [21:06:36]Sock 9.Thread stoped [21:06:40]OFD Sender: No OFD packet to send [21:06:45]OFD Sender: No OFD packet to send [21:06:50]OFD Sender: No OFD packet to send [21:06:55]OFD Sender: No OFD packet to send [21:07:00]OFD Sender: No OFD packet to send [21:07:05]OFD Sender: No OFD packet to send [21:07:10]OFD Sender: No OFD packet to send [21:07:15]OFD Sender: No OFD packet to send [21:07:20]OFD Sender: No OFD packet to send [21:07:25]OFD Sender: No OFD packet to send [21:07:30]OFD Sender: No OFD packet to send [21:07:35]OFD Sender: No OFD packet to send [21:07:40]OFD Sender: No OFD packet to send [21:07:45]OFD Sender: No OFD packet to send [21:07:50]OFD Sender: No OFD packet to send [21:07:55]OFD Sender: No OFD packet to send [21:08:00]OFD Sender: No OFD packet to send [21:08:05]OFD Sender: No OFD packet to send [21:08:10]OFD Sender: No OFD packet to send [21:08:15]OFD Sender: No OFD packet to send [21:08:20]OFD Sender: No OFD packet to send [21:08:25]OFD Sender: No OFD packet to send [21:08:30]OFD Sender: No OFD packet to send [21:08:35]OFD Sender: No OFD packet to send [21:08:40]OFD Sender: No OFD packet to send [21:08:45]OFD Sender: No OFD packet to send [21:08:50]OFD Sender: No OFD packet to send [21:08:55]OFD Sender: No OFD packet to send [21:09:00]OFD Sender: No OFD packet to send [21:09:05]OFD Sender: No OFD packet to send [21:09:10]OFD Sender: No OFD packet to send [21:09:15]OFD Sender: No OFD packet to send [21:09:20]OFD Sender: No OFD packet to send [21:09:25]OFD Sender: No OFD packet to send [21:09:30]OFD Sender: No OFD packet to send [21:09:35]OFD Sender: No OFD packet to send [21:09:40]OFD Sender: No OFD packet to send [21:09:45]OFD Sender: No OFD packet to send [21:09:50]OFD Sender: No OFD packet to send [21:09:55]OFD Sender: No OFD packet to send [21:10:00]OFD Sender: No OFD packet to send [21:10:05]OFD Sender: No OFD packet to send [21:10:10]OFD Sender: No OFD packet to send [21:10:15]OFD Sender: No OFD packet to send [21:10:20]OFD Sender: No OFD packet to send [21:10:25]OFD Sender: No OFD packet to send [21:10:30]OFD Sender: No OFD packet to send [21:10:35]OFD Sender: No OFD packet to send [21:10:40]OFD Sender: No OFD packet to send [21:10:45]OFD Sender: No OFD packet to send [21:10:50]OFD Sender: No OFD packet to send [21:10:55]OFD Sender: No OFD packet to send [21:11:00]OFD Sender: No OFD packet to send [21:11:05]OFD Sender: No OFD packet to send [21:11:10]OFD Sender: No OFD packet to send [21:11:15]OFD Sender: No OFD packet to send [21:11:20]OFD Sender: No OFD packet to send [21:11:25]OFD Sender: No OFD packet to send [21:11:30]OFD Sender: No OFD packet to send [21:11:35]OFD Sender: No OFD packet to send [21:11:40]OFD Sender: No OFD packet to send [21:11:45]OFD Sender: No OFD packet to send [21:11:50]OFD Sender: No OFD packet to send [21:11:55]OFD Sender: No OFD packet to send [21:12:00]OFD Sender: No OFD packet to send [21:12:05]OFD Sender: No OFD packet to send [21:12:10]OFD Sender: No OFD packet to send [21:12:15]OFD Sender: No OFD packet to send [21:12:20]OFD Sender: No OFD packet to send [21:12:25]OFD Sender: No OFD packet to send [21:12:30]OFD Sender: No OFD packet to send [21:12:35]OFD Sender: No OFD packet to send [21:12:40]OFD Sender: No OFD packet to send [21:12:45]OFD Sender: No OFD packet to send [21:12:50]OFD Sender: No OFD packet to send [21:12:55]OFD Sender: No OFD packet to send [21:13:00]OFD Sender: No OFD packet to send [21:13:05]OFD Sender: No OFD packet to send [21:13:10]OFD Sender: No OFD packet to send [21:13:15]OFD Sender: No OFD packet to send [21:13:20]OFD Sender: No OFD packet to send [21:13:25]OFD Sender: No OFD packet to send [21:13:30]OFD Sender: No OFD packet to send [21:13:35]OFD Sender: No OFD packet to send [21:13:40]OFD Sender: No OFD packet to send [21:13:45]OFD Sender: No OFD packet to send [21:13:50]OFD Sender: No OFD packet to send [21:13:55]OFD Sender: No OFD packet to send [21:14:00]OFD Sender: No OFD packet to send [21:14:05]OFD Sender: No OFD packet to send [21:14:10]OFD Sender: No OFD packet to send [21:14:15]OFD Sender: No OFD packet to send [21:14:20]OFD Sender: No OFD packet to send [21:14:25]OFD Sender: No OFD packet to send [21:14:30]OFD Sender: No OFD packet to send [21:14:35]OFD Sender: No OFD packet to send [21:14:40]OFD Sender: No OFD packet to send [21:14:45]OFD Sender: No OFD packet to send [21:14:50]OFD Sender: No OFD packet to send [21:14:55]OFD Sender: No OFD packet to send [21:15:00]OFD Sender: No OFD packet to send [21:15:05]OFD Sender: No OFD packet to send [21:15:10]OFD Sender: No OFD packet to send [21:15:15]OFD Sender: No OFD packet to send [21:15:20]OFD Sender: No OFD packet to send [21:15:25]OFD Sender: No OFD packet to send [21:15:30]OFD Sender: No OFD packet to send [21:15:35]OFD Sender: No OFD packet to send [21:15:40]OFD Sender: No OFD packet to send [21:15:45]OFD Sender: No OFD packet to send [21:15:50]OFD Sender: No OFD packet to send [21:15:55]OFD Sender: No OFD packet to send [21:16:00]OFD Sender: No OFD packet to send [21:16:05]OFD Sender: No OFD packet to send [21:16:10]OFD Sender: No OFD packet to send [21:16:15]OFD Sender: No OFD packet to send [21:16:20]OFD Sender: No OFD packet to send [21:16:25]OFD Sender: No OFD packet to send [21:16:30]OFD Sender: No OFD packet to send [21:16:35]OFD Sender: No OFD packet to send [21:16:40]OFD Sender: No OFD packet to send [21:16:45]OFD Sender: No OFD packet to send [21:16:50]OFD Sender: No OFD packet to send [21:16:55]OFD Sender: No OFD packet to send [21:17:00]OFD Sender: No OFD packet to send [21:17:05]OFD Sender: No OFD packet to send [21:17:10]OFD Sender: No OFD packet to send [21:17:15]OFD Sender: No OFD packet to send [21:17:20]OFD Sender: No OFD packet to send [21:17:25]OFD Sender: No OFD packet to send [21:17:30]OFD Sender: No OFD packet to send [21:17:35]OFD Sender: No OFD packet to send [21:17:40]OFD Sender: No OFD packet to send [21:17:45]OFD Sender: No OFD packet to send [21:17:50]OFD Sender: No OFD packet to send [21:17:55]OFD Sender: No OFD packet to send [21:18:00]OFD Sender: No OFD packet to send [21:18:05]OFD Sender: No OFD packet to send [21:18:10]OFD Sender: No OFD packet to send [21:18:15]OFD Sender: No OFD packet to send [21:18:20]OFD Sender: No OFD packet to send [21:18:25]OFD Sender: No OFD packet to send [21:18:30]OFD Sender: No OFD packet to send [21:18:35]OFD Sender: No OFD packet to send [21:18:40]OFD Sender: No OFD packet to send [21:18:45]OFD Sender: No OFD packet to send [21:18:50]OFD Sender: No OFD packet to send [21:18:55]OFD Sender: No OFD packet to send [21:19:00]OFD Sender: No OFD packet to send [21:19:05]OFD Sender: No OFD packet to send [21:19:10]OFD Sender: No OFD packet to send [21:19:15]OFD Sender: No OFD packet to send [21:19:20]OFD Sender: No OFD packet to send [21:19:25]OFD Sender: No OFD packet to send [21:19:30]OFD Sender: No OFD packet to send [21:19:35]OFD Sender: No OFD packet to send [21:19:40]OFD Sender: No OFD packet to send [21:19:45]OFD Sender: No OFD packet to send [21:19:50]OFD Sender: No OFD packet to send [21:19:55]OFD Sender: No OFD packet to send [21:20:00]OFD Sender: No OFD packet to send [21:20:05]OFD Sender: No OFD packet to send [21:20:10]OFD Sender: No OFD packet to send [21:20:15]OFD Sender: No OFD packet to send [21:20:20]OFD Sender: No OFD packet to send [21:20:25]OFD Sender: No OFD packet to send [21:20:30]OFD Sender: No OFD packet to send [21:20:35]OFD Sender: No OFD packet to send [21:20:40]OFD Sender: No OFD packet to send [21:20:45]OFD Sender: No OFD packet to send [21:20:50]OFD Sender: No OFD packet to send [21:20:55]OFD Sender: No OFD packet to send [21:21:00]OFD Sender: No OFD packet to send [21:21:05]OFD Sender: No OFD packet to send [21:21:10]OFD Sender: No OFD packet to send [21:21:15]OFD Sender: No OFD packet to send [21:21:20]OFD Sender: No OFD packet to send [21:21:25]OFD Sender: No OFD packet to send [21:21:30]OFD Sender: No OFD packet to send [21:21:35]OFD Sender: No OFD packet to send [21:21:41]OFD Sender: No OFD packet to send [21:21:46]OFD Sender: No OFD packet to send [21:21:51]OFD Sender: No OFD packet to send [21:21:56]OFD Sender: No OFD packet to send [21:22:01]OFD Sender: No OFD packet to send [21:22:06]OFD Sender: No OFD packet to send [21:22:11]OFD Sender: No OFD packet to send [21:22:16]OFD Sender: No OFD packet to send [21:22:21]OFD Sender: No OFD packet to send [21:22:26]OFD Sender: No OFD packet to send [21:22:31]OFD Sender: No OFD packet to send [21:22:36]OFD Sender: No OFD packet to send [21:22:41]OFD Sender: No OFD packet to send [21:22:46]OFD Sender: No OFD packet to send [21:22:51]OFD Sender: No OFD packet to send [21:22:56]OFD Sender: No OFD packet to send [21:23:01]OFD Sender: No OFD packet to send [21:23:06]OFD Sender: No OFD packet to send [21:23:11]OFD Sender: No OFD packet to send [21:23:16]OFD Sender: No OFD packet to send [21:23:21]OFD Sender: No OFD packet to send [21:23:26]OFD Sender: No OFD packet to send [21:23:31]OFD Sender: No OFD packet to send [21:23:36]OFD Sender: No OFD packet to send [21:23:41]OFD Sender: No OFD packet to send [21:23:46]OFD Sender: No OFD packet to send [21:23:51]OFD Sender: No OFD packet to send [21:23:56]OFD Sender: No OFD packet to send [21:24:01]OFD Sender: No OFD packet to send [21:24:06]OFD Sender: No OFD packet to send [21:24:11]OFD Sender: No OFD packet to send [21:24:16]OFD Sender: No OFD packet to send [21:24:21]OFD Sender: No OFD packet to send [21:24:26]OFD Sender: No OFD packet to send [21:24:31]OFD Sender: No OFD packet to send [21:24:36]OFD Sender: No OFD packet to send [21:24:41]OFD Sender: No OFD packet to send [21:24:46]OFD Sender: No OFD packet to send [21:24:51]OFD Sender: No OFD packet to send [21:24:56]OFD Sender: No OFD packet to send [21:25:01]OFD Sender: No OFD packet to send [21:25:06]OFD Sender: No OFD packet to send [21:25:11]OFD Sender: No OFD packet to send [21:25:16]OFD Sender: No OFD packet to send [21:25:21]OFD Sender: No OFD packet to send [21:25:26]OFD Sender: No OFD packet to send [21:25:31]OFD Sender: No OFD packet to send [21:25:36]OFD Sender: No OFD packet to send [21:25:41]OFD Sender: No OFD packet to send [21:25:46]OFD Sender: No OFD packet to send [21:25:51]OFD Sender: No OFD packet to send [21:25:56]OFD Sender: No OFD packet to send [21:26:01]OFD Sender: No OFD packet to send [21:26:06]OFD Sender: No OFD packet to send [21:26:11]OFD Sender: No OFD packet to send [21:26:16]OFD Sender: No OFD packet to send [21:26:21]OFD Sender: No OFD packet to send [21:26:26]OFD Sender: No OFD packet to send [21:26:31]OFD Sender: No OFD packet to send [21:26:36]OFD Sender: No OFD packet to send [21:26:41]OFD Sender: No OFD packet to send [21:26:46]OFD Sender: No OFD packet to send [21:26:51]OFD Sender: No OFD packet to send [21:26:56]OFD Sender: No OFD packet to send [21:27:01]OFD Sender: No OFD packet to send [21:27:06]OFD Sender: No OFD packet to send [21:27:11]OFD Sender: No OFD packet to send [21:27:16]OFD Sender: No OFD packet to send [21:27:21]OFD Sender: No OFD packet to send [21:27:26]OFD Sender: No OFD packet to send [21:27:31]OFD Sender: No OFD packet to send [21:27:36]OFD Sender: No OFD packet to send [21:27:41]OFD Sender: No OFD packet to send [21:27:46]OFD Sender: No OFD packet to send [21:27:51]OFD Sender: No OFD packet to send [21:27:56]OFD Sender: No OFD packet to send [21:28:01]OFD Sender: No OFD packet to send [21:28:06]OFD Sender: No OFD packet to send [21:28:11]OFD Sender: No OFD packet to send [21:28:16]OFD Sender: No OFD packet to send [21:28:21]OFD Sender: No OFD packet to send [21:28:26]OFD Sender: No OFD packet to send [21:28:31]OFD Sender: No OFD packet to send [21:28:36]OFD Sender: No OFD packet to send [21:28:41]OFD Sender: No OFD packet to send [21:28:46]OFD Sender: No OFD packet to send [21:28:51]OFD Sender: No OFD packet to send [21:28:56]OFD Sender: No OFD packet to send [21:29:01]OFD Sender: No OFD packet to send [21:29:06]OFD Sender: No OFD packet to send [21:29:11]OFD Sender: No OFD packet to send [21:29:16]OFD Sender: No OFD packet to send [21:29:21]OFD Sender: No OFD packet to send [21:29:26]OFD Sender: No OFD packet to send [21:29:31]OFD Sender: No OFD packet to send [21:29:36]OFD Sender: No OFD packet to send [21:29:41]OFD Sender: No OFD packet to send [21:29:46]OFD Sender: No OFD packet to send [21:29:51]OFD Sender: No OFD packet to send [21:29:56]OFD Sender: No OFD packet to send [21:30:01]OFD Sender: No OFD packet to send [21:30:06]OFD Sender: No OFD packet to send [21:30:11]OFD Sender: No OFD packet to send [21:30:16]OFD Sender: No OFD packet to send [21:30:21]OFD Sender: No OFD packet to send [21:30:26]OFD Sender: No OFD packet to send [21:30:31]OFD Sender: No OFD packet to send [21:30:36]OFD Sender: No OFD packet to send [21:30:41]OFD Sender: No OFD packet to send [21:30:46]OFD Sender: No OFD packet to send [21:30:51]OFD Sender: No OFD packet to send [21:30:56]OFD Sender: No OFD packet to send [21:31:01]OFD Sender: No OFD packet to send [21:31:06]OFD Sender: No OFD packet to send [21:31:11]OFD Sender: No OFD packet to send [21:31:16]OFD Sender: No OFD packet to send [21:31:21]OFD Sender: No OFD packet to send [21:31:26]OFD Sender: No OFD packet to send [21:31:31]OFD Sender: No OFD packet to send [21:31:36]OFD Sender: No OFD packet to send [21:31:41]OFD Sender: No OFD packet to send [21:31:46]OFD Sender: No OFD packet to send [21:31:51]OFD Sender: No OFD packet to send [21:31:56]OFD Sender: No OFD packet to send [21:32:01]OFD Sender: No OFD packet to send [21:32:06]OFD Sender: No OFD packet to send [21:32:11]OFD Sender: No OFD packet to send [21:32:16]OFD Sender: No OFD packet to send [21:32:21]OFD Sender: No OFD packet to send [21:32:26]OFD Sender: No OFD packet to send [21:32:31]OFD Sender: No OFD packet to send [21:32:36]OFD Sender: No OFD packet to send [21:32:41]OFD Sender: No OFD packet to send [21:32:46]OFD Sender: No OFD packet to send [21:32:51]OFD Sender: No OFD packet to send [21:32:56]OFD Sender: No OFD packet to send [21:33:01]OFD Sender: No OFD packet to send [21:33:06]OFD Sender: No OFD packet to send [21:33:11]OFD Sender: No OFD packet to send [21:33:16]OFD Sender: No OFD packet to send [21:33:21]OFD Sender: No OFD packet to send [21:33:26]OFD Sender: No OFD packet to send [21:33:31]OFD Sender: No OFD packet to send [21:33:36]OFD Sender: No OFD packet to send [21:33:41]OFD Sender: No OFD packet to send [21:33:46]OFD Sender: No OFD packet to send [21:33:51]OFD Sender: No OFD packet to send [21:33:56]OFD Sender: No OFD packet to send [21:34:01]OFD Sender: No OFD packet to send [21:34:06]OFD Sender: No OFD packet to send [21:34:11]OFD Sender: No OFD packet to send [21:34:16]OFD Sender: No OFD packet to send [21:34:21]OFD Sender: No OFD packet to send [21:34:26]OFD Sender: No OFD packet to send [21:34:31]OFD Sender: No OFD packet to send [21:34:36]OFD Sender: No OFD packet to send [21:34:41]OFD Sender: No OFD packet to send [21:34:46]OFD Sender: No OFD packet to send [21:34:51]OFD Sender: No OFD packet to send [21:34:56]OFD Sender: No OFD packet to send [21:35:01]OFD Sender: No OFD packet to send [21:35:06]OFD Sender: No OFD packet to send [21:35:11]OFD Sender: No OFD packet to send [21:35:16]OFD Sender: No OFD packet to send [21:35:21]OFD Sender: No OFD packet to send [21:35:26]OFD Sender: No OFD packet to send [21:35:31]OFD Sender: No OFD packet to send [21:35:36]OFD Sender: No OFD packet to send [21:35:41]OFD Sender: No OFD packet to send [21:35:46]OFD Sender: No OFD packet to send [21:35:51]OFD Sender: No OFD packet to send [21:35:56]OFD Sender: No OFD packet to send [21:36:01]OFD Sender: No OFD packet to send [21:36:06]OFD Sender: No OFD packet to send [21:36:11]OFD Sender: No OFD packet to send [21:36:16]OFD Sender: No OFD packet to send [21:36:21]OFD Sender: No OFD packet to send [21:36:26]OFD Sender: No OFD packet to send [21:36:31]OFD Sender: No OFD packet to send [21:36:36]OFD Sender: No OFD packet to send [21:36:41]OFD Sender: No OFD packet to send [21:36:46]OFD Sender: No OFD packet to send [21:36:51]OFD Sender: No OFD packet to send [21:36:56]OFD Sender: No OFD packet to send [21:37:01]OFD Sender: No OFD packet to send [21:37:06]OFD Sender: No OFD packet to send [21:37:11]OFD Sender: No OFD packet to send [21:37:16]OFD Sender: No OFD packet to send [21:37:21]OFD Sender: No OFD packet to send [21:37:26]OFD Sender: No OFD packet to send [21:37:31]OFD Sender: No OFD packet to send [21:37:36]OFD Sender: No OFD packet to send [21:37:41]OFD Sender: No OFD packet to send [21:37:46]OFD Sender: No OFD packet to send [21:37:51]OFD Sender: No OFD packet to send [21:37:56]OFD Sender: No OFD packet to send [21:38:01]OFD Sender: No OFD packet to send [21:38:06]OFD Sender: No OFD packet to send [21:38:11]OFD Sender: No OFD packet to send [21:38:16]OFD Sender: No OFD packet to send [21:38:21]OFD Sender: No OFD packet to send [21:38:26]OFD Sender: No OFD packet to send [21:38:31]OFD Sender: No OFD packet to send [21:38:36]OFD Sender: No OFD packet to send [21:38:41]OFD Sender: No OFD packet to send [21:38:46]OFD Sender: No OFD packet to send [21:38:51]OFD Sender: No OFD packet to send [21:38:56]OFD Sender: No OFD packet to send [21:39:01]OFD Sender: No OFD packet to send [21:39:06]OFD Sender: No OFD packet to send [21:39:11]OFD Sender: No OFD packet to send [21:39:16]OFD Sender: No OFD packet to send [21:39:21]OFD Sender: No OFD packet to send [21:39:26]OFD Sender: No OFD packet to send [21:39:31]OFD Sender: No OFD packet to send [21:39:36]OFD Sender: No OFD packet to send [21:39:41]OFD Sender: No OFD packet to send [21:39:46]OFD Sender: No OFD packet to send [21:39:51]OFD Sender: No OFD packet to send [21:39:56]OFD Sender: No OFD packet to send [21:40:01]OFD Sender: No OFD packet to send [21:40:06]OFD Sender: No OFD packet to send [21:40:11]OFD Sender: No OFD packet to send [21:40:16]OFD Sender: No OFD packet to send [21:40:21]OFD Sender: No OFD packet to send [21:40:26]OFD Sender: No OFD packet to send [21:40:31]OFD Sender: No OFD packet to send [21:40:36]OFD Sender: No OFD packet to send [21:40:41]OFD Sender: No OFD packet to send [21:40:46]OFD Sender: No OFD packet to send [21:40:51]OFD Sender: No OFD packet to send [21:40:56]OFD Sender: No OFD packet to send [21:41:01]OFD Sender: No OFD packet to send [21:41:06]OFD Sender: No OFD packet to send [21:41:11]OFD Sender: No OFD packet to send [21:41:16]OFD Sender: No OFD packet to send [21:41:21]OFD Sender: No OFD packet to send [21:41:26]OFD Sender: No OFD packet to send [21:41:31]OFD Sender: No OFD packet to send [21:41:36]OFD Sender: No OFD packet to send [21:41:41]OFD Sender: No OFD packet to send [21:41:46]OFD Sender: No OFD packet to send [21:41:51]OFD Sender: No OFD packet to send [21:41:56]OFD Sender: No OFD packet to send [21:42:01]OFD Sender: No OFD packet to send [21:42:06]OFD Sender: No OFD packet to send [21:42:11]OFD Sender: No OFD packet to send [21:42:16]OFD Sender: No OFD packet to send [21:42:21]OFD Sender: No OFD packet to send [21:42:26]OFD Sender: No OFD packet to send [21:42:31]OFD Sender: No OFD packet to send [21:42:36]OFD Sender: No OFD packet to send [21:42:41]OFD Sender: No OFD packet to send [21:42:46]OFD Sender: No OFD packet to send [21:42:51]OFD Sender: No OFD packet to send [21:42:56]OFD Sender: No OFD packet to send [21:43:01]OFD Sender: No OFD packet to send [21:43:06]OFD Sender: No OFD packet to send [21:43:11]OFD Sender: No OFD packet to send [21:43:16]OFD Sender: No OFD packet to send [21:43:21]OFD Sender: No OFD packet to send [21:43:26]OFD Sender: No OFD packet to send [21:43:31]OFD Sender: No OFD packet to send [21:43:37]OFD Sender: No OFD packet to send [21:43:42]OFD Sender: No OFD packet to send [21:43:47]OFD Sender: No OFD packet to send [21:43:52]OFD Sender: No OFD packet to send [21:43:57]OFD Sender: No OFD packet to send [21:44:02]OFD Sender: No OFD packet to send [21:44:07]OFD Sender: No OFD packet to send [21:44:12]OFD Sender: No OFD packet to send [21:44:17]OFD Sender: No OFD packet to send [21:44:22]OFD Sender: No OFD packet to send [21:44:27]OFD Sender: No OFD packet to send [21:44:32]OFD Sender: No OFD packet to send [21:44:37]OFD Sender: No OFD packet to send [21:44:42]OFD Sender: No OFD packet to send [21:44:47]OFD Sender: No OFD packet to send [21:44:52]OFD Sender: No OFD packet to send [21:44:57]OFD Sender: No OFD packet to send [21:45:02]OFD Sender: No OFD packet to send [21:45:07]OFD Sender: No OFD packet to send [21:45:12]OFD Sender: No OFD packet to send [21:45:17]OFD Sender: No OFD packet to send [21:45:22]OFD Sender: No OFD packet to send [21:45:27]OFD Sender: No OFD packet to send [21:45:32]OFD Sender: No OFD packet to send [21:45:37]OFD Sender: No OFD packet to send [21:45:42]OFD Sender: No OFD packet to send [21:45:47]OFD Sender: No OFD packet to send [21:45:52]OFD Sender: No OFD packet to send [21:45:57]OFD Sender: No OFD packet to send [21:46:02]OFD Sender: No OFD packet to send [21:46:07]OFD Sender: No OFD packet to send [21:46:12]OFD Sender: No OFD packet to send [21:46:17]OFD Sender: No OFD packet to send [21:46:22]OFD Sender: No OFD packet to send [21:46:27]OFD Sender: No OFD packet to send [21:46:32]OFD Sender: No OFD packet to send [21:46:37]OFD Sender: No OFD packet to send [21:46:42]OFD Sender: No OFD packet to send [21:46:47]OFD Sender: No OFD packet to send [21:46:52]OFD Sender: No OFD packet to send [21:46:57]OFD Sender: No OFD packet to send [21:47:02]OFD Sender: No OFD packet to send [21:47:07]OFD Sender: No OFD packet to send [21:47:12]OFD Sender: No OFD packet to send [21:47:17]OFD Sender: No OFD packet to send [21:47:22]OFD Sender: No OFD packet to send [21:47:27]OFD Sender: No OFD packet to send [21:47:32]OFD Sender: No OFD packet to send [21:47:37]OFD Sender: No OFD packet to send [21:47:42]OFD Sender: No OFD packet to send [21:47:47]OFD Sender: No OFD packet to send [21:47:52]OFD Sender: No OFD packet to send [21:47:57]OFD Sender: No OFD packet to send [21:48:02]OFD Sender: No OFD packet to send [21:48:07]OFD Sender: No OFD packet to send [21:48:12]OFD Sender: No OFD packet to send [21:48:17]OFD Sender: No OFD packet to send [21:48:22]OFD Sender: No OFD packet to send [21:48:27]OFD Sender: No OFD packet to send [21:48:32]OFD Sender: No OFD packet to send [21:48:37]OFD Sender: No OFD packet to send [21:48:42]OFD Sender: No OFD packet to send [21:48:47]OFD Sender: No OFD packet to send [21:48:52]OFD Sender: No OFD packet to send [21:48:57]OFD Sender: No OFD packet to send [21:49:02]OFD Sender: No OFD packet to send [21:49:07]OFD Sender: No OFD packet to send [21:49:12]OFD Sender: No OFD packet to send [21:49:17]OFD Sender: No OFD packet to send [21:49:22]OFD Sender: No OFD packet to send [21:49:27]OFD Sender: No OFD packet to send [21:49:32]OFD Sender: No OFD packet to send [21:49:37]OFD Sender: No OFD packet to send [21:49:42]OFD Sender: No OFD packet to send [21:49:47]OFD Sender: No OFD packet to send [21:49:52]OFD Sender: No OFD packet to send [21:49:57]OFD Sender: No OFD packet to send [21:50:02]OFD Sender: No OFD packet to send [21:50:07]OFD Sender: No OFD packet to send [21:50:12]OFD Sender: No OFD packet to send [21:50:17]OFD Sender: No OFD packet to send [21:50:22]OFD Sender: No OFD packet to send [21:50:27]OFD Sender: No OFD packet to send [21:50:32]OFD Sender: No OFD packet to send [21:50:37]OFD Sender: No OFD packet to send [21:50:42]OFD Sender: No OFD packet to send [21:50:47]OFD Sender: No OFD packet to send [21:50:52]OFD Sender: No OFD packet to send [21:50:57]OFD Sender: No OFD packet to send [21:51:02]OFD Sender: No OFD packet to send [21:51:07]OFD Sender: No OFD packet to send [21:51:12]OFD Sender: No OFD packet to send [21:51:17]OFD Sender: No OFD packet to send [21:51:22]OFD Sender: No OFD packet to send [21:51:27]OFD Sender: No OFD packet to send [21:51:32]OFD Sender: No OFD packet to send [21:51:37]OFD Sender: No OFD packet to send [21:51:42]OFD Sender: No OFD packet to send [21:51:47]OFD Sender: No OFD packet to send [21:51:52]OFD Sender: No OFD packet to send [21:51:57]OFD Sender: No OFD packet to send [21:52:02]OFD Sender: No OFD packet to send [21:52:07]OFD Sender: No OFD packet to send [21:52:12]OFD Sender: No OFD packet to send [21:52:17]OFD Sender: No OFD packet to send [21:52:22]OFD Sender: No OFD packet to send [21:52:27]OFD Sender: No OFD packet to send [21:52:32]OFD Sender: No OFD packet to send [21:52:37]OFD Sender: No OFD packet to send [21:52:42]OFD Sender: No OFD packet to send [21:52:47]OFD Sender: No OFD packet to send [21:52:52]OFD Sender: No OFD packet to send [21:52:57]OFD Sender: No OFD packet to send [21:53:02]OFD Sender: No OFD packet to send [21:53:07]OFD Sender: No OFD packet to send [21:53:12]OFD Sender: No OFD packet to send [21:53:17]OFD Sender: No OFD packet to send [21:53:22]OFD Sender: No OFD packet to send [21:53:27]OFD Sender: No OFD packet to send [21:53:32]OFD Sender: No OFD packet to send [21:53:37]OFD Sender: No OFD packet to send [21:53:42]OFD Sender: No OFD packet to send [21:53:47]OFD Sender: No OFD packet to send [21:53:52]OFD Sender: No OFD packet to send [21:53:57]OFD Sender: No OFD packet to send [21:54:02]OFD Sender: No OFD packet to send [21:54:07]OFD Sender: No OFD packet to send [21:54:12]OFD Sender: No OFD packet to send [21:54:17]OFD Sender: No OFD packet to send [21:54:22]OFD Sender: No OFD packet to send [21:54:27]OFD Sender: No OFD packet to send [21:54:32]OFD Sender: No OFD packet to send [21:54:37]OFD Sender: No OFD packet to send [21:54:42]OFD Sender: No OFD packet to send [21:54:47]OFD Sender: No OFD packet to send [21:54:52]OFD Sender: No OFD packet to send [21:54:57]OFD Sender: No OFD packet to send [21:55:02]OFD Sender: No OFD packet to send [21:55:07]OFD Sender: No OFD packet to send [21:55:12]OFD Sender: No OFD packet to send [21:55:17]OFD Sender: No OFD packet to send [21:55:22]OFD Sender: No OFD packet to send [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:37]OFD Sender: No OFD packet to send [22:02:42]OFD Sender: No OFD packet to send [22:02:47]OFD Sender: No OFD packet to send [22:02:52]OFD Sender: No OFD packet to send [22:02:57]OFD Sender: No OFD packet to send [22:03:02]OFD Sender: No OFD packet to send [22:03:07]OFD Sender: No OFD packet to send [22:03:12]OFD Sender: No OFD packet to send [22:03:17]OFD Sender: No OFD packet to send [22:03:22]OFD Sender: No OFD packet to send [22:03:27]OFD Sender: No OFD packet to send [22:03:32]OFD Sender: No OFD packet to send [22:03:37]OFD Sender: No OFD packet to send [22:03:42]OFD Sender: No OFD packet to send [22:03:47]OFD Sender: No OFD packet to send [22:03:52]OFD Sender: No OFD packet to send [22:03:57]OFD Sender: No OFD packet to send [22:04:02]OFD Sender: No OFD packet to send [22:04:07]OFD Sender: No OFD packet to send [22:04:12]OFD Sender: No OFD packet to send [22:04:17]OFD Sender: No OFD packet to send [22:04:22]OFD Sender: No OFD packet to send [22:04:27]OFD Sender: No OFD packet to send [22:04:32]OFD Sender: No OFD packet to send [22:04:37]OFD Sender: No OFD packet to send [22:04:42]OFD Sender: No OFD packet to send [22:04:47]OFD Sender: No OFD packet to send [22:04:52]OFD Sender: No OFD packet to send [22:04:57]OFD Sender: No OFD packet to send [22:05:02]OFD Sender: No OFD packet to send [22:05:07]OFD Sender: No OFD packet to send [22:05:12]OFD Sender: No OFD packet to send [22:05:17]OFD Sender: No OFD packet to send [22:05:23]OFD Sender: No OFD packet to send [22:05:28]OFD Sender: No OFD packet to send [22:05:33]OFD Sender: No OFD packet to send [22:05:38]OFD Sender: No OFD packet to send [22:05:43]OFD Sender: No OFD packet to send [22:05:48]OFD Sender: No OFD packet to send [22:05:53]OFD Sender: No OFD packet to send [22:05:58]OFD Sender: No OFD packet to send [22:06:03]OFD Sender: No OFD packet to send [22:06:08]OFD Sender: No OFD packet to send [22:06:13]OFD Sender: No OFD packet to send [22:06:18]OFD Sender: No OFD packet to send [22:06:23]OFD Sender: No OFD packet to send [22:06:28]OFD Sender: No OFD packet to send [22:06:33]OFD Sender: No OFD packet to send [22:06:38]OFD Sender: No OFD packet to send [22:06:43]OFD Sender: No OFD packet to send [22:06:48]OFD Sender: No OFD packet to send [22:06:53]OFD Sender: No OFD packet to send [22:06:58]OFD Sender: No OFD packet to send [22:07:03]OFD Sender: No OFD packet to send [22:07:08]OFD Sender: No OFD packet to send [22:07:13]OFD Sender: No OFD packet to send [22:07:18]OFD Sender: No OFD packet to send [22:07:23]OFD Sender: No OFD packet to send [22:07:28]OFD Sender: No OFD packet to send [22:07:33]OFD Sender: No OFD packet to send [22:07:38]OFD Sender: No OFD packet to send [22:07:43]OFD Sender: No OFD packet to send [22:07:48]OFD Sender: No OFD packet to send [22:07:53]OFD Sender: No OFD packet to send [22:07:58]OFD Sender: No OFD packet to send [22:08:03]OFD Sender: No OFD packet to send [22:08:08]OFD Sender: No OFD packet to send [22:08:13]OFD Sender: No OFD packet to send [22:08:18]OFD Sender: No OFD packet to send [22:08:23]OFD Sender: No OFD packet to send [22:08:28]OFD Sender: No OFD packet to send [22:08:33]OFD Sender: No OFD packet to send [22:08:38]OFD Sender: No OFD packet to send [22:08:43]OFD Sender: No OFD packet to send [22:08:48]OFD Sender: No OFD packet to send [22:08:53]OFD Sender: No OFD packet to send [22:08:58]OFD Sender: No OFD packet to send [22:09:03]OFD Sender: No OFD packet to send [22:09:08]OFD Sender: No OFD packet to send [22:09:13]OFD Sender: No OFD packet to send [22:09:18]OFD Sender: No OFD packet to send [22:09:23]OFD Sender: No OFD packet to send [22:09:28]OFD Sender: No OFD packet to send [22:09:33]OFD Sender: No OFD packet to send [22:09:38]OFD Sender: No OFD packet to send [22:09:43]OFD Sender: No OFD packet to send [22:09:48]OFD Sender: No OFD packet to send [22:09:53]OFD Sender: No OFD packet to send [22:09:58]OFD Sender: No OFD packet to send [22:10:03]OFD Sender: No OFD packet to send [22:10:08]OFD Sender: No OFD packet to send [22:10:13]OFD Sender: No OFD packet to send [22:10:18]OFD Sender: No OFD packet to send [22:10:23]OFD Sender: No OFD packet to send [22:10:28]OFD Sender: No OFD packet to send [22:10:33]OFD Sender: No OFD packet to send [22:10:38]OFD Sender: No OFD packet to send [22:10:43]OFD Sender: No OFD packet to send [22:10:48]OFD Sender: No OFD packet to send [22:10:53]OFD Sender: No OFD packet to send [22:10:58]OFD Sender: No OFD packet to send [22:11:03]OFD Sender: No OFD packet to send [22:11:08]OFD Sender: No OFD packet to send [22:11:13]OFD Sender: No OFD packet to send [22:11:18]OFD Sender: No OFD packet to send [22:11:23]OFD Sender: No OFD packet to send [22:11:28]OFD Sender: No OFD packet to send [22:11:33]OFD Sender: No OFD packet to send [22:11:38]OFD Sender: No OFD packet to send [22:11:43]OFD Sender: No OFD packet to send [22:11:48]OFD Sender: No OFD packet to send [22:11:53]OFD Sender: No OFD packet to send [22:11:58]OFD Sender: No OFD packet to send [22:12:03]OFD Sender: No OFD packet to send [22:12:08]OFD Sender: No OFD packet to send [22:12:13]OFD Sender: No OFD packet to send [22:12:18]OFD Sender: No OFD packet to send [22:12:23]OFD Sender: No OFD packet to send [22:12:28]OFD Sender: No OFD packet to send [22:12:33]OFD Sender: No OFD packet to send [22:12:38]OFD Sender: No OFD packet to send [22:12:43]OFD Sender: No OFD packet to send [22:12:48]OFD Sender: No OFD packet to send [22:12:53]OFD Sender: No OFD packet to send [22:12:58]OFD Sender: No OFD packet to send [22:13:03]OFD Sender: No OFD packet to send [22:13:08]OFD Sender: No OFD packet to send [22:13:13]OFD Sender: No OFD packet to send [22:13:18]OFD Sender: No OFD packet to send [22:13:23]OFD Sender: No OFD packet to send [22:13:28]OFD Sender: No OFD packet to send [22:13:33]OFD Sender: No OFD packet to send [22:13:38]OFD Sender: No OFD packet to send [22:13:43]OFD Sender: No OFD packet to send [22:13:48]OFD Sender: No OFD packet to send [22:13:53]OFD Sender: No OFD packet to send [22:13:58]OFD Sender: No OFD packet to send [22:14:03]OFD Sender: No OFD packet to send [22:14:08]OFD Sender: No OFD packet to send [22:14:13]OFD Sender: No OFD packet to send [22:14:18]OFD Sender: No OFD packet to send [22:14:23]OFD Sender: No OFD packet to send [22:14:28]OFD Sender: No OFD packet to send [22:14:33]OFD Sender: No OFD packet to send [22:14:38]OFD Sender: No OFD packet to send [22:14:43]OFD Sender: No OFD packet to send [22:14:48]OFD Sender: No OFD packet to send [22:14:53]OFD Sender: No OFD packet to send [22:14:58]OFD Sender: No OFD packet to send [22:15:03]OFD Sender: No OFD packet to send [22:15:08]OFD Sender: No OFD packet to send [22:15:13]OFD Sender: No OFD packet to send [22:15:18]OFD Sender: No OFD packet to send [22:15:23]OFD Sender: No OFD packet to send [22:15:28]OFD Sender: No OFD packet to send [22:15:33]OFD Sender: No OFD packet to send [22:15:38]OFD Sender: No OFD packet to send [22:15:43]OFD Sender: No OFD packet to send [22:15:48]OFD Sender: No OFD packet to send [22:15:53]OFD Sender: No OFD packet to send [22:15:58]OFD Sender: No OFD packet to send [22:16:03]OFD Sender: No OFD packet to send [22:16:08]OFD Sender: No OFD packet to send [22:16:13]OFD Sender: No OFD packet to send [22:16:18]OFD Sender: No OFD packet to send [22:16:23]OFD Sender: No OFD packet to send [22:16:28]OFD Sender: No OFD packet to send [22:16:33]OFD Sender: No OFD packet to send [22:16:38]OFD Sender: No OFD packet to send [22:16:43]OFD Sender: No OFD packet to send [22:16:48]OFD Sender: No OFD packet to send [22:16:53]OFD Sender: No OFD packet to send [22:16:58]OFD Sender: No OFD packet to send [22:17:03]OFD Sender: No OFD packet to send [22:17:08]OFD Sender: No OFD packet to send [22:17:13]OFD Sender: No OFD packet to send [22:17:18]OFD Sender: No OFD packet to send [22:17:23]OFD Sender: No OFD packet to send [22:17:28]OFD Sender: No OFD packet to send [22:17:33]OFD Sender: No OFD packet to send [22:17:38]OFD Sender: No OFD packet to send [22:17:43]OFD Sender: No OFD packet to send [22:17:48]OFD Sender: No OFD packet to send [22:17:53]OFD Sender: No OFD packet to send [22:17:58]OFD Sender: No OFD packet to send [22:18:03]OFD Sender: No OFD packet to send [22:18:08]OFD Sender: No OFD packet to send [22:18:13]OFD Sender: No OFD packet to send [22:18:18]OFD Sender: No OFD packet to send [22:18:23]OFD Sender: No OFD packet to send [22:18:28]OFD Sender: No OFD packet to send [22:18:33]OFD Sender: No OFD packet to send [22:18:38]OFD Sender: No OFD packet to send [22:18:43]OFD Sender: No OFD packet to send [22:18:48]OFD Sender: No OFD packet to send [22:18:53]OFD Sender: No OFD packet to send [22:18:58]OFD Sender: No OFD packet to send [22:19:03]OFD Sender: No OFD packet to send [22:19:08]OFD Sender: No OFD packet to send [22:19:13]OFD Sender: No OFD packet to send [22:19:18]OFD Sender: No OFD packet to send [22:19:23]OFD Sender: No OFD packet to send [22:19:28]OFD Sender: No OFD packet to send [22:19:33]OFD Sender: No OFD packet to send [22:19:38]OFD Sender: No OFD packet to send [22:19:43]OFD Sender: No OFD packet to send [22:19:48]OFD Sender: No OFD packet to send [22:19:53]OFD Sender: No OFD packet to send [22:19:58]OFD Sender: No OFD packet to send [22:20:03]OFD Sender: No OFD packet to send [22:20:08]OFD Sender: No OFD packet to send [22:20:13]OFD Sender: No OFD packet to send [22:20:18]OFD Sender: No OFD packet to send [22:20:23]OFD Sender: No OFD packet to send [22:20:28]OFD Sender: No OFD packet to send [22:20:33]OFD Sender: No OFD packet to send [22:20:38]OFD Sender: No OFD packet to send [22:20:43]OFD Sender: No OFD packet to send [22:20:48]OFD Sender: No OFD packet to send [22:20:53]OFD Sender: No OFD packet to send [22:20:58]OFD Sender: No OFD packet to send [22:21:03]OFD Sender: No OFD packet to send [22:21:08]OFD Sender: No OFD packet to send [22:21:13]OFD Sender: No OFD packet to send [22:21:18]OFD Sender: No OFD packet to send [22:21:23]OFD Sender: No OFD packet to send [22:21:28]OFD Sender: No OFD packet to send [22:21:33]OFD Sender: No OFD packet to send [22:21:38]OFD Sender: No OFD packet to send [22:21:43]OFD Sender: No OFD packet to send [22:21:48]OFD Sender: No OFD packet to send [22:21:53]OFD Sender: No OFD packet to send [22:21:58]OFD Sender: No OFD packet to send [22:22:03]OFD Sender: No OFD packet to send [22:22:08]OFD Sender: No OFD packet to send [22:22:13]OFD Sender: No OFD packet to send [22:22:18]OFD Sender: No OFD packet to send [22:22:23]OFD Sender: No OFD packet to send [22:22:28]OFD Sender: No OFD packet to send [22:22:33]OFD Sender: No OFD packet to send [22:22:38]OFD Sender: No OFD packet to send [22:22:43]OFD Sender: No OFD packet to send [22:22:48]OFD Sender: No OFD packet to send [22:22:53]OFD Sender: No OFD packet to send [22:22:58]OFD Sender: No OFD packet to send [22:23:03]OFD Sender: No OFD packet to send [22:23:08]OFD Sender: No OFD packet to send [22:23:13]OFD Sender: No OFD packet to send [22:23:18]OFD Sender: No OFD packet to send [22:23:23]OFD Sender: No OFD packet to send [22:23:28]OFD Sender: No OFD packet to send [22:23:33]OFD Sender: No OFD packet to send [22:23:38]OFD Sender: No OFD packet to send [22:23:43]OFD Sender: No OFD packet to send [22:23:48]OFD Sender: No OFD packet to send [22:23:53]OFD Sender: No OFD packet to send [22:23:58]OFD Sender: No OFD packet to send [22:24:03]OFD Sender: No OFD packet to send [22:24:08]OFD Sender: No OFD packet to send [22:24:13]OFD Sender: No OFD packet to send [22:24:18]OFD Sender: No OFD packet to send [22:24:23]OFD Sender: No OFD packet to send [22:24:28]OFD Sender: No OFD packet to send [22:24:33]OFD Sender: No OFD packet to send [22:24:38]OFD Sender: No OFD packet to send [22:24:43]OFD Sender: No OFD packet to send [22:24:48]OFD Sender: No OFD packet to send [22:24:53]OFD Sender: No OFD packet to send [22:24:58]OFD Sender: No OFD packet to send [22:25:03]OFD Sender: No OFD packet to send [22:25:08]OFD Sender: No OFD packet to send [22:25:13]OFD Sender: No OFD packet to send [22:25:18]OFD Sender: No OFD packet to send [22:25:23]OFD Sender: No OFD packet to send [22:25:28]OFD Sender: No OFD packet to send [22:25:33]OFD Sender: No OFD packet to send [22:25:38]OFD Sender: No OFD packet to send [22:25:43]OFD Sender: No OFD packet to send [22:25:48]OFD Sender: No OFD packet to send [22:25:53]OFD Sender: No OFD packet to send [22:25:58]OFD Sender: No OFD packet to send [22:26:03]OFD Sender: No OFD packet to send [22:26:08]OFD Sender: No OFD packet to send [22:26:13]OFD Sender: No OFD packet to send [22:26:18]OFD Sender: No OFD packet to send [22:26:23]OFD Sender: No OFD packet to send [22:26:28]OFD Sender: No OFD packet to send [22:26:33]OFD Sender: No OFD packet to send [22:26:38]OFD Sender: No OFD packet to send [22:26:43]OFD Sender: No OFD packet to send [22:26:48]OFD Sender: No OFD packet to send [22:26:53]OFD Sender: No OFD packet to send [22:26:58]OFD Sender: No OFD packet to send [22:27:03]OFD Sender: No OFD packet to send [22:27:09]OFD Sender: No OFD packet to send [22:27:14]OFD Sender: No OFD packet to send [22:27:19]OFD Sender: No OFD packet to send [22:27:24]OFD Sender: No OFD packet to send [22:27:29]OFD Sender: No OFD packet to send [22:27:34]OFD Sender: No OFD packet to send [22:27:39]OFD Sender: No OFD packet to send [22:27:44]OFD Sender: No OFD packet to send [22:27:49]OFD Sender: No OFD packet to send [22:27:54]OFD Sender: No OFD packet to send [22:27:59]OFD Sender: No OFD packet to send [22:28:04]OFD Sender: No OFD packet to send [22:28:09]OFD Sender: No OFD packet to send [22:28:14]OFD Sender: No OFD packet to send [22:28:19]OFD Sender: No OFD packet to send [22:28:24]OFD Sender: No OFD packet to send [22:28:29]OFD Sender: No OFD packet to send [22:28:34]OFD Sender: No OFD packet to send [22:28:39]OFD Sender: No OFD packet to send [22:28:44]OFD Sender: No OFD packet to send [22:28:49]OFD Sender: No OFD packet to send [22:28:54]OFD Sender: No OFD packet to send [22:28:59]OFD Sender: No OFD packet to send [22:29:04]OFD Sender: No OFD packet to send [22:29:09]OFD Sender: No OFD packet to send [22:29:14]OFD Sender: No OFD packet to send [22:29:19]OFD Sender: No OFD packet to send [22:29:24]OFD Sender: No OFD packet to send [22:29:29]OFD Sender: No OFD packet to send [22:29:34]OFD Sender: No OFD packet to send [22:29:39]OFD Sender: No OFD packet to send [22:29:44]OFD Sender: No OFD packet to send [22:29:49]OFD Sender: No OFD packet to send [22:29:54]OFD Sender: No OFD packet to send [22:29:59]OFD Sender: No OFD packet to send [22:30:04]OFD Sender: No OFD packet to send [22:30:09]OFD Sender: No OFD packet to send [22:30:14]OFD Sender: No OFD packet to send [22:30:19]OFD Sender: No OFD packet to send [22:30:24]OFD Sender: No OFD packet to send [22:30:29]OFD Sender: No OFD packet to send [22:30:34]OFD Sender: No OFD packet to send [22:30:39]OFD Sender: No OFD packet to send [22:30:44]OFD Sender: No OFD packet to send [22:30:49]OFD Sender: No OFD packet to send [22:30:54]OFD Sender: No OFD packet to send [22:30:59]OFD Sender: No OFD packet to send [22:31:04]OFD Sender: No OFD packet to send [22:31:09]OFD Sender: No OFD packet to send [22:31:14]OFD Sender: No OFD packet to send [22:31:19]OFD Sender: No OFD packet to send [22:31:24]OFD Sender: No OFD packet to send [22:31:29]OFD Sender: No OFD packet to send [22:31:34]OFD Sender: No OFD packet to send [22:31:39]OFD Sender: No OFD packet to send [22:31:44]OFD Sender: No OFD packet to send [22:31:49]OFD Sender: No OFD packet to send [22:31:54]OFD Sender: No OFD packet to send [22:31:59]OFD Sender: No OFD packet to send [22:32:04]OFD Sender: No OFD packet to send [22:32:09]OFD Sender: No OFD packet to send [22:32:14]OFD Sender: No OFD packet to send [22:32:19]OFD Sender: No OFD packet to send [22:32:24]OFD Sender: No OFD packet to send [22:32:29]OFD Sender: No OFD packet to send [22:32:34]OFD Sender: No OFD packet to send [22:32:39]OFD Sender: No OFD packet to send [22:32:44]OFD Sender: No OFD packet to send [22:32:49]OFD Sender: No OFD packet to send [22:32:54]OFD Sender: No OFD packet to send [22:32:59]OFD Sender: No OFD packet to send [22:33:04]OFD Sender: No OFD packet to send [22:33:09]OFD Sender: No OFD packet to send [22:33:14]OFD Sender: No OFD packet to send [22:33:19]OFD Sender: No OFD packet to send [22:33:24]OFD Sender: No OFD packet to send [22:33:29]OFD Sender: No OFD packet to send [22:33:34]OFD Sender: No OFD packet to send [22:33:39]OFD Sender: No OFD packet to send [22:33:44]OFD Sender: No OFD packet to send [22:33:49]OFD Sender: No OFD packet to send [22:33:54]OFD Sender: No OFD packet to send [22:33:59]OFD Sender: No OFD packet to send [22:34:04]OFD Sender: No OFD packet to send [22:34:09]OFD Sender: No OFD packet to send [22:34:14]OFD Sender: No OFD packet to send [22:34:19]OFD Sender: No OFD packet to send [22:34:24]OFD Sender: No OFD packet to send [22:34:29]OFD Sender: No OFD packet to send [22:34:34]OFD Sender: No OFD packet to send [22:34:39]OFD Sender: No OFD packet to send [22:34:44]OFD Sender: No OFD packet to send [22:34:49]OFD Sender: No OFD packet to send [22:34:54]OFD Sender: No OFD packet to send [22:34:59]OFD Sender: No OFD packet to send [22:35:04]OFD Sender: No OFD packet to send [22:35:09]OFD Sender: No OFD packet to send [22:35:14]OFD Sender: No OFD packet to send [22:35:19]OFD Sender: No OFD packet to send [22:35:24]OFD Sender: No OFD packet to send [22:35:29]OFD Sender: No OFD packet to send [22:35:34]OFD Sender: No OFD packet to send [22:35:39]OFD Sender: No OFD packet to send [22:35:44]OFD Sender: No OFD packet to send [22:35:49]OFD Sender: No OFD packet to send [22:35:54]OFD Sender: No OFD packet to send [22:35:59]OFD Sender: No OFD packet to send [22:36:04]OFD Sender: No OFD packet to send [22:36:09]OFD Sender: No OFD packet to send [22:36:14]OFD Sender: No OFD packet to send [22:36:19]OFD Sender: No OFD packet to send [22:36:24]OFD Sender: No OFD packet to send [22:36:29]OFD Sender: No OFD packet to send [22:36:34]OFD Sender: No OFD packet to send [22:36:39]OFD Sender: No OFD packet to send [22:36:44]OFD Sender: No OFD packet to send [22:36:49]OFD Sender: No OFD packet to send [22:36:54]OFD Sender: No OFD packet to send [22:36:59]OFD Sender: No OFD packet to send [22:37:04]OFD Sender: No OFD packet to send [22:37:09]OFD Sender: No OFD packet to send [22:37:14]OFD Sender: No OFD packet to send [22:37:19]OFD Sender: No OFD packet to send [22:37:24]OFD Sender: No OFD packet to send [22:37:29]OFD Sender: No OFD packet to send [22:37:34]OFD Sender: No OFD packet to send [22:37:39]OFD Sender: No OFD packet to send [22:37:44]OFD Sender: No OFD packet to send [22:37:49]OFD Sender: No OFD packet to send [22:37:54]OFD Sender: No OFD packet to send [22:37:59]OFD Sender: No OFD packet to send [22:38:04]OFD Sender: No OFD packet to send [22:38:09]OFD Sender: No OFD packet to send [22:38:14]OFD Sender: No OFD packet to send [22:38:19]OFD Sender: No OFD packet to send [22:38:24]OFD Sender: No OFD packet to send [22:38:29]OFD Sender: No OFD packet to send [22:38:34]OFD Sender: No OFD packet to send [22:38:39]OFD Sender: No OFD packet to send [22:38:44]OFD Sender: No OFD packet to send [22:38:49]OFD Sender: No OFD packet to send [22:38:54]OFD Sender: No OFD packet to send [22:38:59]OFD Sender: No OFD packet to send [22:39:04]OFD Sender: No OFD packet to send [22:39:09]OFD Sender: No OFD packet to send [22:39:14]OFD Sender: No OFD packet to send [22:39:19]OFD Sender: No OFD packet to send [22:39:24]OFD Sender: No OFD packet to send [22:39:29]OFD Sender: No OFD packet to send [22:39:34]OFD Sender: No OFD packet to send [22:39:39]OFD Sender: No OFD packet to send [22:39:44]OFD Sender: No OFD packet to send [22:39:49]OFD Sender: No OFD packet to send [22:39:54]OFD Sender: No OFD packet to send [22:39:59]OFD Sender: No OFD packet to send [22:40:04]OFD Sender: No OFD packet to send [22:40:09]OFD Sender: No OFD packet to send [22:40:14]OFD Sender: No OFD packet to send [22:40:19]OFD Sender: No OFD packet to send [22:40:24]OFD Sender: No OFD packet to send [22:40:29]OFD Sender: No OFD packet to send [22:40:34]OFD Sender: No OFD packet to send [22:40:39]OFD Sender: No OFD packet to send [22:40:44]OFD Sender: No OFD packet to send [22:40:49]OFD Sender: No OFD packet to send [22:40:54]OFD Sender: No OFD packet to send [22:40:59]OFD Sender: No OFD packet to send [22:41:04]OFD Sender: No OFD packet to send [22:41:09]OFD Sender: No OFD packet to send [22:41:14]OFD Sender: No OFD packet to send [22:41:19]OFD Sender: No OFD packet to send [22:41:24]OFD Sender: No OFD packet to send [22:41:29]OFD Sender: No OFD packet to send [22:41:34]OFD Sender: No OFD packet to send [22:41:39]OFD Sender: No OFD packet to send [22:41:44]OFD Sender: No OFD packet to send [22:41:49]OFD Sender: No OFD packet to send [22:41:54]OFD Sender: No OFD packet to send [22:41:59]OFD Sender: No OFD packet to send [22:42:04]OFD Sender: No OFD packet to send [22:42:09]OFD Sender: No OFD packet to send [22:42:14]OFD Sender: No OFD packet to send [22:42:19]OFD Sender: No OFD packet to send [22:42:24]OFD Sender: No OFD packet to send [22:42:29]OFD Sender: No OFD packet to send [22:42:34]OFD Sender: No OFD packet to send [22:42:39]OFD Sender: No OFD packet to send [22:42:44]OFD Sender: No OFD packet to send [22:42:49]OFD Sender: No OFD packet to send [22:42:54]OFD Sender: No OFD packet to send [22:42:59]OFD Sender: No OFD packet to send [22:43:04]OFD Sender: No OFD packet to send [22:43:09]OFD Sender: No OFD packet to send [22:43:14]OFD Sender: No OFD packet to send [22:43:19]OFD Sender: No OFD packet to send [22:43:24]OFD Sender: No OFD packet to send [22:43:29]OFD Sender: No OFD packet to send [22:43:34]OFD Sender: No OFD packet to send [22:43:39]OFD Sender: No OFD packet to send [22:43:44]OFD Sender: No OFD packet to send [22:43:49]OFD Sender: No OFD packet to send [22:43:54]OFD Sender: No OFD packet to send [22:43:59]OFD Sender: No OFD packet to send [22:44:04]OFD Sender: No OFD packet to send [22:44:09]OFD Sender: No OFD packet to send [22:44:14]OFD Sender: No OFD packet to send [22:44:19]OFD Sender: No OFD packet to send [22:44:24]OFD Sender: No OFD packet to send [22:44:29]OFD Sender: No OFD packet to send [22:44:34]OFD Sender: No OFD packet to send [22:44:39]OFD Sender: No OFD packet to send [22:44:44]OFD Sender: No OFD packet to send [22:44:49]OFD Sender: No OFD packet to send [22:44:54]OFD Sender: No OFD packet to send [22:44:59]OFD Sender: No OFD packet to send [22:45:04]OFD Sender: No OFD packet to send [22:45:09]OFD Sender: No OFD packet to send [22:45:14]OFD Sender: No OFD packet to send [22:45:19]OFD Sender: No OFD packet to send [22:45:24]OFD Sender: No OFD packet to send [22:45:29]OFD Sender: No OFD packet to send [22:45:34]OFD Sender: No OFD packet to send [22:45:39]OFD Sender: No OFD packet to send [22:45:44]OFD Sender: No OFD packet to send [22:45:49]OFD Sender: No OFD packet to send [22:45:54]OFD Sender: No OFD packet to send [22:45:59]OFD Sender: No OFD packet to send [22:46:04]OFD Sender: No OFD packet to send [22:46:09]OFD Sender: No OFD packet to send [22:46:14]OFD Sender: No OFD packet to send [22:46:19]OFD Sender: No OFD packet to send [22:46:24]OFD Sender: No OFD packet to send [22:46:29]OFD Sender: No OFD packet to send [22:46:34]OFD Sender: No OFD packet to send [22:46:39]OFD Sender: No OFD packet to send [22:46:44]OFD Sender: No OFD packet to send [22:46:49]OFD Sender: No OFD packet to send [22:46:54]OFD Sender: No OFD packet to send [22:46:59]OFD Sender: No OFD packet to send [22:47:04]OFD Sender: No OFD packet to send [22:47:09]OFD Sender: No OFD packet to send [22:47:14]OFD Sender: No OFD packet to send [22:47:19]OFD Sender: No OFD packet to send [22:47:24]OFD Sender: No OFD packet to send [22:47:29]OFD Sender: No OFD packet to send [22:47:34]OFD Sender: No OFD packet to send [22:47:39]OFD Sender: No OFD packet to send [22:47:44]OFD Sender: No OFD packet to send [22:47:49]OFD Sender: No OFD packet to send [22:47:54]OFD Sender: No OFD packet to send [22:47:59]OFD Sender: No OFD packet to send [22:48:04]OFD Sender: No OFD packet to send [22:48:09]OFD Sender: No OFD packet to send [22:48:14]OFD Sender: No OFD packet to send [22:48:19]OFD Sender: No OFD packet to send [22:48:24]OFD Sender: No OFD packet to send [22:48:29]OFD Sender: No OFD packet to send [22:48:34]OFD Sender: No OFD packet to send [22:48:39]OFD Sender: No OFD packet to send [22:48:44]OFD Sender: No OFD packet to send [22:48:49]OFD Sender: No OFD packet to send [22:48:54]OFD Sender: No OFD packet to send [22:49:00]OFD Sender: No OFD packet to send [22:49:05]OFD Sender: No OFD packet to send [22:49:10]OFD Sender: No OFD packet to send [22:49:15]OFD Sender: No OFD packet to send [22:49:20]OFD Sender: No OFD packet to send [22:49:25]OFD Sender: No OFD packet to send [22:49:30]OFD Sender: No OFD packet to send [22:49:35]OFD Sender: No OFD packet to send [22:49:40]OFD Sender: No OFD packet to send [22:49:45]OFD Sender: No OFD packet to send [22:49:50]OFD Sender: No OFD packet to send [22:49:55]OFD Sender: No OFD packet to send [22:50:00]OFD Sender: No OFD packet to send [22:50:05]OFD Sender: No OFD packet to send [22:50:10]OFD Sender: No OFD packet to send [22:50:15]OFD Sender: No OFD packet to send [22:50:20]OFD Sender: No OFD packet to send [22:50:25]OFD Sender: No OFD packet to send [22:50:30]OFD Sender: No OFD packet to send [22:50:35]OFD Sender: No OFD packet to send [22:50:40]OFD Sender: No OFD packet to send [22:50:45]OFD Sender: No OFD packet to send [22:50:50]OFD Sender: No OFD packet to send [22:50:55]OFD Sender: No OFD packet to send [22:51:00]OFD Sender: No OFD packet to send [22:51:05]OFD Sender: No OFD packet to send [22:51:10]OFD Sender: No OFD packet to send [22:51:15]OFD Sender: No OFD packet to send [22:51:20]OFD Sender: No OFD packet to send [22:51:25]OFD Sender: No OFD packet to send [22:51:30]OFD Sender: No OFD packet to send [22:51:35]OFD Sender: No OFD packet to send [22:51:40]OFD Sender: No OFD packet to send [22:51:45]OFD Sender: No OFD packet to send [22:51:50]OFD Sender: No OFD packet to send [22:51:55]OFD Sender: No OFD packet to send [22:52:00]OFD Sender: No OFD packet to send [22:52:05]OFD Sender: No OFD packet to send [22:52:10]OFD Sender: No OFD packet to send [22:52:15]OFD Sender: No OFD packet to send [22:52:20]OFD Sender: No OFD packet to send [22:52:25]OFD Sender: No OFD packet to send [22:52:30]OFD Sender: No OFD packet to send [22:52:35]OFD Sender: No OFD packet to send [22:52:40]OFD Sender: No OFD packet to send [22:52:45]OFD Sender: No OFD packet to send [22:52:50]OFD Sender: No OFD packet to send [22:52:55]OFD Sender: No OFD packet to send [22:53:00]OFD Sender: No OFD packet to send [22:53:05]OFD Sender: No OFD packet to send [22:53:10]OFD Sender: No OFD packet to send [22:53:15]OFD Sender: No OFD packet to send [22:53:20]OFD Sender: No OFD packet to send [22:53:25]OFD Sender: No OFD packet to send [22:53:30]OFD Sender: No OFD packet to send [22:53:35]OFD Sender: No OFD packet to send [22:53:40]OFD Sender: No OFD packet to send [22:53:45]OFD Sender: No OFD packet to send [22:53:50]OFD Sender: No OFD packet to send [22:53:55]OFD Sender: No OFD packet to send [22:54:00]OFD Sender: No OFD packet to send [22:54:05]OFD Sender: No OFD packet to send [22:54:10]OFD Sender: No OFD packet to send [22:54:15]OFD Sender: No OFD packet to send [22:54:20]OFD Sender: No OFD packet to send [22:54:25]OFD Sender: No OFD packet to send [22:54:30]OFD Sender: No OFD packet to send [22:54:35]OFD Sender: No OFD packet to send [22:54:40]OFD Sender: No OFD packet to send [22:54:45]OFD Sender: No OFD packet to send [22:54:50]OFD Sender: No OFD packet to send [22:54:55]OFD Sender: No OFD packet to send [22:55:00]OFD Sender: No OFD packet to send [22:55:05]OFD Sender: No OFD packet to send [22:55:10]OFD Sender: No OFD packet to send [22:55:15]OFD Sender: No OFD packet to send [22:55:20]OFD Sender: No OFD packet to send [22:55:25]OFD Sender: No OFD packet to send [22:55:30]OFD Sender: No OFD packet to send [22:55:35]OFD Sender: No OFD packet to send [22:55:40]OFD Sender: No OFD packet to send [22:55:45]OFD Sender: No OFD packet to send [22:55:50]OFD Sender: No OFD packet to send [22:55:55]OFD Sender: No OFD packet to send [22:56:00]OFD Sender: No OFD packet to send [22:56:05]OFD Sender: No OFD packet to send [22:56:10]OFD Sender: No OFD packet to send [22:56:15]OFD Sender: No OFD packet to send [22:56:20]OFD Sender: No OFD packet to send [22:56:25]OFD Sender: No OFD packet to send [22:56:30]OFD Sender: No OFD packet to send [22:56:35]OFD Sender: No OFD packet to send [22:56:40]OFD Sender: No OFD packet to send [22:56:45]OFD Sender: No OFD packet to send [22:56:50]OFD Sender: No OFD packet to send [22:56:55]OFD Sender: No OFD packet to send [22:57:00]OFD Sender: No OFD packet to send [22:57:05]OFD Sender: No OFD packet to send [22:57:10]OFD Sender: No OFD packet to send [22:57:15]OFD Sender: No OFD packet to send [22:57:20]OFD Sender: No OFD packet to send [22:57:25]OFD Sender: No OFD packet to send [22:57:30]OFD Sender: No OFD packet to send [22:57:35]OFD Sender: No OFD packet to send [22:57:40]OFD Sender: No OFD packet to send [22:57:45]OFD Sender: No OFD packet to send [22:57:50]OFD Sender: No OFD packet to send [22:57:55]OFD Sender: No OFD packet to send [22:58:00]OFD Sender: No OFD packet to send [22:58:05]OFD Sender: No OFD packet to send [22:58:10]OFD Sender: No OFD packet to send [22:58:15]OFD Sender: No OFD packet to send [22:58:20]OFD Sender: No OFD packet to send [22:58:25]OFD Sender: No OFD packet to send [22:58:30]OFD Sender: No OFD packet to send [22:58:35]OFD Sender: No OFD packet to send [22:58:40]OFD Sender: No OFD packet to send [22:58:45]OFD Sender: No OFD packet to send [22:58:50]OFD Sender: No OFD packet to send [22:58:55]OFD Sender: No OFD packet to send [22:59:00]OFD Sender: No OFD packet to send [22:59:05]OFD Sender: No OFD packet to send [22:59:10]OFD Sender: No OFD packet to send [22:59:15]OFD Sender: No OFD packet to send [22:59:20]OFD Sender: No OFD packet to send [22:59:25]OFD Sender: No OFD packet to send [22:59:30]OFD Sender: No OFD packet to send [22:59:35]OFD Sender: No OFD packet to send [22:59:40]OFD Sender: No OFD packet to send [22:59:45]OFD Sender: No OFD packet to send [22:59:50]OFD Sender: No OFD packet to send [22:59:55]OFD Sender: No OFD packet to send [23:00:00]OFD Sender: No OFD packet to send [23:00:05]OFD Sender: No OFD packet to send [23:00:10]OFD Sender: No OFD packet to send [23:00:15]OFD Sender: No OFD packet to send [23:00:20]OFD Sender: No OFD packet to send [23:00:25]OFD Sender: No OFD packet to send [23:00:30]OFD Sender: No OFD packet to send [23:00:35]OFD Sender: No OFD packet to send [23:00:40]OFD Sender: No OFD packet to send [23:00:45]OFD Sender: No OFD packet to send [23:00:50]OFD Sender: No OFD packet to send [23:00:55]OFD Sender: No OFD packet to send [23:01:00]OFD Sender: No OFD packet to send [23:01:05]OFD Sender: No OFD packet to send [23:01:10]OFD Sender: No OFD packet to send [23:01:15]OFD Sender: No OFD packet to send [23:01:20]OFD Sender: No OFD packet to send [23:01:25]OFD Sender: No OFD packet to send [23:01:30]OFD Sender: No OFD packet to send [23:01:35]OFD Sender: No OFD packet to send [23:01:40]OFD Sender: No OFD packet to send [23:01:45]OFD Sender: No OFD packet to send [23:01:50]OFD Sender: No OFD packet to send [23:01:55]OFD Sender: No OFD packet to send [23:02:00]OFD Sender: No OFD packet to send [23:02:05]OFD Sender: No OFD packet to send [23:02:10]OFD Sender: No OFD packet to send [23:02:15]OFD Sender: No OFD packet to send [23:02:20]OFD Sender: No OFD packet to send [23:02:25]OFD Sender: No OFD packet to send [23:02:30]OFD Sender: No OFD packet to send [23:02:35]OFD Sender: No OFD packet to send [23:02:40]OFD Sender: No OFD packet to send [23:02:45]OFD Sender: No OFD packet to send [23:02:50]OFD Sender: No OFD packet to send [23:02:55]OFD Sender: No OFD packet to send [23:03:00]OFD Sender: No OFD packet to send [23:03:05]OFD Sender: No OFD packet to send [23:03:10]OFD Sender: No OFD packet to send [23:03:15]OFD Sender: No OFD packet to send [23:03:20]OFD Sender: No OFD packet to send [23:03:25]OFD Sender: No OFD packet to send [23:03:30]OFD Sender: No OFD packet to send [23:03:35]OFD Sender: No OFD packet to send [23:03:40]OFD Sender: No OFD packet to send [23:03:45]OFD Sender: No OFD packet to send [23:03:50]OFD Sender: No OFD packet to send [23:03:55]OFD Sender: No OFD packet to send [23:04:00]OFD Sender: No OFD packet to send [23:04:05]OFD Sender: No OFD packet to send [23:04:10]OFD Sender: No OFD packet to send [23:04:15]OFD Sender: No OFD packet to send [23:04:20]OFD Sender: No OFD packet to send [23:04:25]OFD Sender: No OFD packet to send [23:04:30]OFD Sender: No OFD packet to send [23:04:35]OFD Sender: No OFD packet to send [23:04:40]OFD Sender: No OFD packet to send [23:04:45]OFD Sender: No OFD packet to send [23:04:50]OFD Sender: No OFD packet to send [23:04:55]OFD Sender: No OFD packet to send [23:05:00]OFD Sender: No OFD packet to send [23:05:05]OFD Sender: No OFD packet to send [23:05:10]OFD Sender: No OFD packet to send [23:05:15]OFD Sender: No OFD packet to send [23:05:20]OFD Sender: No OFD packet to send [23:05:25]OFD Sender: No OFD packet to send [23:05:30]OFD Sender: No OFD packet to send [23:05:35]OFD Sender: No OFD packet to send [23:05:40]OFD Sender: No OFD packet to send [23:05:45]OFD Sender: No OFD packet to send [23:05:50]OFD Sender: No OFD packet to send [23:05:52]accept exits with 8 [23:05:52]New connection [23:05:52]New thread 3067370852 created [23:05:52]Thread 3067227492 joined [23:05:52]Waiting for new connection... [23:05:52] Sock 8.Parse request [23:05:52]Sock 8.Check first char [23:05:52]Sock 8.First char is OK [23:05:52]request: POST /json_proto HTTP/1.0 [23:05:52]Method: POST [23:05:52]URL: /json_proto [23:05:52]Method is POST - this is cgi request [23:05:52]url: /json_proto [23:05:52]query_string will be loaded in cgi processing [23:05:52]execute_cgi json_proto POST (null) [23:05:52]execute_cgi path=json_proto method=POST [23:05:52]POST find Content-Length [23:05:52]Host: 172.17.56.68:8080 [23:05:52]Content-Length: 667 [23:05:52]Content-Type: application/json [23:05:52] [23:05:52]POST finish read [23:05:52]Found Content-Length = 667 [23:05:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4393", "tax_sys" : 0, "items" : [ { "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:05:52]execute_script... [23:05:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4393", "tax_sys" : 0, "items" : [ { "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:05:52]POST & json_proto [23:05:52]process_json_proto [23:05:52]json parsed OK: [23:05:52]protocol is kg_v1.0 [23:05:52]action value=close_receipt [23:05:52]process_action close_receipt [23:05:52]cmd_close_receipt [23:05:52]MH_GetDate [23:05:52]Write to MH i2c: F0 00 00 9E 26 B3 [23:05:52]Write i2c OK [23:05:52]MH_I2C_Read... [23:05:52]Read from MH i2c: F0 [23:05:52]MH_I2C_Read... [23:05:52]Read from MH i2c: F0 09 00 [23:05:52]MH_I2C_Read... [23:05:52]Read from MH i2c: F0 09 00 9E 26 00 DC 9D 5F 66 42 69 5C 66 67 [23:05:52]GetLastDocTimeStamp 1717535203 [23:05:52]current date 1717542364 [23:05:52]FM_GetShiftState [23:05:52]SAM_PROTO_GetShiftState [23:05:52]wFMCommunicate request_size=4 [23:05:52]MH_SAM_APDU [23:05:52]CAPDU: 80 13 01 00 [23:05:52]Write to MH i2c: E2 08 00 9F 26 80 13 01 00 00 00 00 00 42 [23:05:52]Write i2c OK [23:05:52]MH_I2C_Read... [23:05:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:05:52]Read from MH i2c: E2 [23:05:52]MH_I2C_Read... [23:05:52]Read from MH i2c: E2 0E 00 [23:05:52]MH_I2C_Read... [23:05:52]Read from MH i2c: E2 0E 00 9F 26 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 DB [23:05:52]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [23:05:52]wFMCommunicate OK [23:05:52]SAM_PROTO_GetShiftState done [23:05:52]FM_GetShiftState done [23:05:52]opened in 1717459822 [23:05:52]opened+sec_in_day 1717546222 [23:05:52]quantity*price = 5000 [23:05:52]sum+1 = 5001 [23:05:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 56 04.06.2024 23:06 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4139 ФПД: 112458803100025 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T230604&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4139&fm=112458803100025&tin=02508201610067®Number=0000000000145775&sum=5000 0 [23:05:54]StoreToDocumentArchive [23:05:54]shift 83 fd 4139 [23:05:54]save to /storage/0083/doc_00004139 [23:05:54]save last doc name /storage/0083/doc_00004139 to /storage/kkm_last_doc_name [23:05:54]save OK [23:05:54]Clear old archive folders... [23:05:54]ProcessDocumentItem done err = 0, tmpTLVsize=292 [23:05:54]tlvbuf is 0077AA00 [23:05:54]SAM_PROTO_ClearQueue [23:05:54]wFMCommunicate request_size=4 [23:05:54]MH_SAM_APDU [23:05:54]CAPDU: 80 09 00 00 [23:05:54]Write to MH i2c: E2 08 00 AC 26 80 09 00 00 00 00 00 00 44 [23:05:54]Write i2c OK [23:05:54]MH_I2C_Read... [23:05:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:05:54]Read from MH i2c: E2 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: E2 03 00 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: E2 03 00 AC 26 00 90 00 46 [23:05:54]RAPDU: 90 00 [23:05:54]wFMCommunicate OK [23:05:54]SAM_PROTO_ClearQueue done [23:05:54]KKMCreateOFDPacket [23:05:54]OFDProtocolAddRootSTLVToBuf [23:05:54]FM_MakeSignedData [23:05:54]FM_MakeSignedData [23:05:54]SAM_PROTO_SignData [23:05:54]wFMCommunicate request_size=4 [23:05:54]MH_SAM_APDU [23:05:54]CAPDU: 80 0D 01 02 [23:05:54]Write to MH i2c: E2 08 00 AD 26 80 0D 01 02 00 00 00 00 4C [23:05:54]Write i2c OK [23:05:54]MH_I2C_Read... [23:05:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:05:54]Read from MH i2c: E2 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: E2 03 00 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: E2 03 00 AD 26 00 90 00 47 [23:05:54]RAPDU: 90 00 [23:05:54]wFMCommunicate OK [23:05:54]wFMCommunicate request_size=255 [23:05:54]MH_SAM_APDU [23:05:54]CAPDU: 80 0D 02 02 FA 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 DC 9D 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [23:05:54]Write to MH i2c: E2 02 01 AE 26 80 0D 02 02 FA 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 DC 9D 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 66 [23:05:54]Write i2c OK [23:05:54]MH_I2C_Read... [23:05:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:05:54]Read from MH i2c: E2 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: E2 03 00 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: E2 03 00 AE 26 00 90 00 48 [23:05:54]RAPDU: 90 00 [23:05:54]wFMCommunicate OK [23:05:54]wFMCommunicate request_size=51 [23:05:54]MH_SAM_APDU [23:05:54]CAPDU: 80 0D 02 02 2E 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2B 10 00 00 35 04 06 00 66 47 DB 02 B9 79 [23:05:54]Write to MH i2c: E2 36 00 AF 26 80 0D 02 02 2E 00 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2B 10 00 00 35 04 06 00 66 47 DB 02 B9 79 00 00 DB [23:05:54]Write i2c OK [23:05:54]MH_I2C_Read... [23:05:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:05:54]Read from MH i2c: E2 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: E2 03 00 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: E2 03 00 AF 26 00 90 00 49 [23:05:54]RAPDU: 90 00 [23:05:54]wFMCommunicate OK [23:05:54]wFMCommunicate request_size=4 [23:05:54]MH_SAM_APDU [23:05:54]CAPDU: 80 0D 03 02 [23:05:54]Write to MH i2c: E2 08 00 B0 26 80 0D 03 02 00 00 00 00 51 [23:05:54]Write i2c OK [23:05:54]MH_I2C_Read... [23:05:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:05:54]Read from MH i2c: E2 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: E2 0B 00 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: E2 0B 00 B0 26 00 27 8B D7 8E 10 19 16 7D 90 00 25 [23:05:54]RAPDU: 27 8B D7 8E 10 19 16 7D 90 00 [23:05:54]wFMCommunicate OK [23:05:54]SAM_PROTO_SignData done [23:05:54]FM_MakeSignedData done [23:05:54]CreateOFDProtocolMessage [23:05:54]wFMCommunicate request_size=4 [23:05:54]MH_SAM_APDU [23:05:54]CAPDU: 80 11 00 00 [23:05:54]Write to MH i2c: E2 08 00 B1 26 80 11 00 00 00 00 00 00 51 [23:05:54]Write i2c OK [23:05:54]MH_I2C_Read... [23:05:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:05:54]Read from MH i2c: E2 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: E2 17 00 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: E2 17 00 B1 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 A4 [23:05:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:05:54]wFMCommunicate OK [23:05:54]CreateOFDProtocolMessage done [23:05:54]OFDSenderStorePacket 4139 [23:05:54]StoreOFDPacket docnum=4139 [23:05:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 38 01 00 00 68 B1 30 01 C0 C9 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 DC 9D 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2B 10 00 00 35 04 06 00 66 47 DB 02 B9 79 27 8B D7 8E 10 19 16 7D [23:05:54]CheckFolder [23:05:54]dirname=/storage/ofd_packets [23:05:54]CheckFolder done [23:05:54]ProducePacketName [23:05:54]name=ofd_packets/00004139 [23:05:54]NVStorageSaveData ofd_packets/00004139 [23:05:54]File name is /storage/ofd_packets/00004139 [23:05:54]Write 342 bytes [23:05:54]NVStorageSaveData done [23:05:54]OFDSenderStorePacket done [23:05:54]KKMCreateOFDPacket done [23:05:54]NVStorageSaveData kkm_last_timestamp [23:05:54]File name is /storage/kkm_last_timestamp [23:05:54]Write 4 bytes [23:05:54]NVStorageSaveData done [23:05:54]ExternCall_PrintAddStr [23:05:54]wPrintStart [23:05:54]Write to MH i2c: 01 00 00 B2 26 D8 [23:05:54]Write i2c OK [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: 01 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: 01 07 00 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: 01 07 00 B2 26 00 00 00 00 00 FF 0F ED [23:05:54]RasterBufferAndPrint [23:05:54]line Счет N : (3)4393 [23:05:54]line ИНН: 02508201610067 [23:05:54]line Контрольно-Кассовый Чек [23:05:54]line ПРОДАЖА [23:05:54]line Товар: 4700003010018 [23:05:54]line Чай хол Let`s Go! зел лим ПЭТ 0,5л [23:05:54]line 1.000 * 50.00 [23:05:54]line = 50.00 [23:05:54]line НДС 12% НСП 1% [23:05:54]line > о реализуемом товаре [23:05:54]line ИТОГО: 50.00 [23:05:54]line НСП 1% : 0.44 [23:05:54]line НДС 12% : 5.31 [23:05:54]line Наличными: 50.00 [23:05:54]line Безнал.: 0.00 [23:05:54]line Место: АЗС № 116 "Партнер Нефть" [23:05:54]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [23:05:54]line СНО: Общий режим [23:05:54]line Чек 56 04.06.2024 23:06 [23:05:54]line Смена: 83 ФФД: 1.0 [23:05:54]line ЗНМ: 0300000233 [23:05:54]line РНМ: 0000000000145775 [23:05:54]line Версия ККМ: v1.0 [23:05:54]line ФМ: 0000000000959360 [23:05:54]line ФД: 4139 [23:05:54]line ФПД: 112458803100025 [23:05:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T230604&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4139&fm=112458803100025&tin=02508201610067®Number=0000000000145775&sum=5000 [23:05:55]line 0 [23:05:55]OFD Sender: Processing packet 4139 [packets to send 2, broken 1] [23:05:55]ProducePacketName [23:05:55]name=ofd_packets/00004139 [23:05:55]OFD Sender: To server: pG, [23:05:55]CommunicateWithHost lk.salyk.kg:30040 [23:05:55]ConnectInit lk.salyk.kg [23:05:55]written 0, free lines is 4095 [23:05:55]Connected sock=10 [23:05:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 38 01 00 00 68 B1 30 01 C0 C9 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 DC 9D 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2B 10 00 00 35 04 06 00 66 47 DB 02 B9 79 27 8B D7 8E 10 19 16 7D [23:05:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 E9 01 47 00 9F E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2B 10 00 00 F4 03 04 00 DB 49 5F 66 B6 04 01 00 00 DE 6C A8 9F 66 B0 8A A7 [23:05:55]CommunicateWithHost err = 0 [23:05:55]CheckOFDResponse [23:05:55]1017 (14) - 77093643461234 [23:05:55]1041 (16) - 0000000000959360 [23:05:55]1040 (4) - 4139 [23:05:55]1012 (4) - 04.06.2024 17:07 [23:05:55]1206 (1) - 0 [23:05:55]OFD Sender: Remove packet 4139 [23:05:55]ProducePacketName [23:05:55]name=ofd_packets/00004139 [23:05:55]NVStorageDeleteData [23:05:55]Write to MH i2c: 01 00 00 DB 26 01 [23:05:55]Write i2c OK [23:05:55]MH_I2C_Read... [23:05:55]Read from MH i2c: 01 [23:05:55]MH_I2C_Read... [23:05:55]Read from MH i2c: 01 07 00 [23:05:55]MH_I2C_Read... [23:05:55]Read from MH i2c: 01 07 00 DB 26 00 00 00 00 00 B0 0C C4 [23:05:55]RasterBufferAndPrint [23:05:55]line [23:05:55]line [23:05:55]line [23:05:55]line [23:05:55]line [23:05:55]written 0, free lines is 3253 [23:05:55]MH_Cut [23:05:55]Write to MH i2c: D1 01 00 E2 26 01 DA [23:05:55]Write i2c OK [23:05:55]MH_I2C_Read... [23:05:55]Read from MH i2c: D1 [23:05:55]MH_I2C_Read... [23:05:55]Read from MH i2c: D1 01 00 [23:05:55]MH_I2C_Read... [23:05:55]Read from MH i2c: D1 01 00 E2 26 00 D9 [23:05:55]Write to MH i2c: 01 00 00 E3 26 09 [23:05:55]Write i2c OK [23:05:55]MH_I2C_Read... [23:05:55]OFD Sender: No OFD packet to send [23:05:56]*** Cut start [23:05:56]*** Partial cut [23:05:56]*** CUTSNS_PIN = 1 [23:05:56]*** CUTSNS_PIN = 0 [23:05:56]*** Brake cut motor [23:05:56]Read from MH i2c: 01 [23:05:56]MH_I2C_Read... [23:05:56]*** Stop cut motor [23:05:56]*** Cut end [23:05:56]Read from MH i2c: 01 07 00 [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: 01 07 00 E3 26 00 00 00 00 00 FF 0F 1E [23:05:56]process_action close_receipt done [23:05:56]requested_data is exist [23:05:56]produce_requested_data [23:05:56]requested_item fm.sn is exist - process it [23:05:56]wFMCommunicate request_size=4 [23:05:56]MH_SAM_APDU [23:05:56]CAPDU: 80 11 00 00 [23:05:56]Write to MH i2c: E2 08 00 E4 26 80 11 00 00 00 00 00 00 84 [23:05:56]Write i2c OK [23:05:56]MH_I2C_Read... [23:05:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:05:57]Read from MH i2c: E2 [23:05:57]MH_I2C_Read... [23:05:57]Read from MH i2c: E2 17 00 [23:05:57]MH_I2C_Read... [23:05:57]Read from MH i2c: E2 17 00 E4 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D7 [23:05:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:05:57]wFMCommunicate OK [23:05:57]requested_item fd.num is exist - process it [23:05:57]SAM_PROTO_GetFieldsCounters [23:05:57]wFMCommunicate request_size=4 [23:05:57]MH_SAM_APDU [23:05:57]CAPDU: 80 13 00 00 [23:05:57]Write to MH i2c: E2 08 00 E5 26 80 13 00 00 00 00 00 00 87 [23:05:57]Write i2c OK [23:05:57]MH_I2C_Read... [23:05:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:05:57]Read from MH i2c: E2 [23:05:57]MH_I2C_Read... [23:05:57]Read from MH i2c: E2 62 00 [23:05:57]MH_I2C_Read... [23:05:57]Read from MH i2c: E2 62 00 E5 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2B 10 00 00 0E 04 04 00 53 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 E2 [23:05:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2B 10 00 00 0E 04 04 00 53 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 [23:05:57]wFMCommunicate OK [23:05:57]SAM_PROTO_GetFieldsCounters done [23:05:57]requested_item shift.num is exist - process it [23:05:57]requested_item shift.opened is exist - process it [23:05:57]req_shift_opened [23:05:57]FM_GetShiftState [23:05:57]SAM_PROTO_GetShiftState [23:05:57]wFMCommunicate request_size=4 [23:05:57]MH_SAM_APDU [23:05:57]CAPDU: 80 13 01 00 [23:05:57]Write to MH i2c: E2 08 00 E6 26 80 13 01 00 00 00 00 00 89 [23:05:57]Write i2c OK [23:05:57]MH_I2C_Read... [23:05:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:05:57]Read from MH i2c: E2 [23:05:57]MH_I2C_Read... [23:05:57]Read from MH i2c: E2 0E 00 [23:05:57]MH_I2C_Read... [23:05:57]Read from MH i2c: E2 0E 00 E6 26 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 22 [23:05:57]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [23:05:57]wFMCommunicate OK [23:05:57]SAM_PROTO_GetShiftState done [23:05:57]FM_GetShiftState done [23:05:57]req_shift_opened done [23:05:57]requested_item shift.open_date is exist - process it [23:05:57]req_shift_open_date [23:05:57]req_shift_open_date done [23:05:57]produce_requested_data done [23:05:57]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4139,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [23:05:57]process_action_free close_receipt [23:05:57]json_value_free [23:05:57]json_value_free done [23:05:57]process_json_proto returns [23:05:57]Send response to host [23:05:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4139,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [23:05:57]free response buf [23:05:57]execute_script done [23:05:57]execute_script returns [23:05:57]free content buf [23:05:57]Sock 8.Close socket [23:05:57]Sock 8.Thread stoped [23:06:00]OFD Sender: No OFD packet to send [23:06:05]OFD Sender: No OFD packet to send [23:06:10]OFD Sender: No OFD packet to send [23:06:15]OFD Sender: No OFD packet to send [23:06:20]OFD Sender: No OFD packet to send [23:06:25]OFD Sender: No OFD packet to send [23:06:30]OFD Sender: No OFD packet to send [23:06:35]OFD Sender: No OFD packet to send [23:06:40]OFD Sender: No OFD packet to send [23:06:45]OFD Sender: No OFD packet to send [23:06:50]OFD Sender: No OFD packet to send [23:06:55]OFD Sender: No OFD packet to send [23:07:00]OFD Sender: No OFD packet to send [23:07:05]OFD Sender: No OFD packet to send [23:07:10]OFD Sender: No OFD packet to send [23:07:15]OFD Sender: No OFD packet to send [23:07:20]OFD Sender: No OFD packet to send [23:07:25]OFD Sender: No OFD packet to send [23:07:30]OFD Sender: No OFD packet to send [23:07:35]OFD Sender: No OFD packet to send [23:07:40]OFD Sender: No OFD packet to send [23:07:45]OFD Sender: No OFD packet to send [23:07:50]OFD Sender: No OFD packet to send [23:07:55]OFD Sender: No OFD packet to send [23:08:00]OFD Sender: No OFD packet to send [23:08:05]OFD Sender: No OFD packet to send [23:08:10]OFD Sender: No OFD packet to send [23:08:15]OFD Sender: No OFD packet to send [23:08:20]OFD Sender: No OFD packet to send [23:08:25]OFD Sender: No OFD packet to send [23:08:30]OFD Sender: No OFD packet to send [23:08:35]OFD Sender: No OFD packet to send [23:08:40]OFD Sender: No OFD packet to send [23:08:45]OFD Sender: No OFD packet to send [23:08:50]OFD Sender: No OFD packet to send [23:08:55]OFD Sender: No OFD packet to send [23:09:00]OFD Sender: No OFD packet to send [23:09:05]OFD Sender: No OFD packet to send [23:09:10]OFD Sender: No OFD packet to send [23:09:15]OFD Sender: No OFD packet to send [23:09:20]OFD Sender: No OFD packet to send [23:09:25]OFD Sender: No OFD packet to send [23:09:30]OFD Sender: No OFD packet to send [23:09:35]OFD Sender: No OFD packet to send [23:09:40]OFD Sender: No OFD packet to send [23:09:45]OFD Sender: No OFD packet to send [23:09:50]OFD Sender: No OFD packet to send [23:09:55]OFD Sender: No OFD packet to send [23:10:00]OFD Sender: No OFD packet to send [23:10:06]OFD Sender: No OFD packet to send [23:10:11]OFD Sender: No OFD packet to send [23:10:16]OFD Sender: No OFD packet to send [23:10:21]OFD Sender: No OFD packet to send [23:10:26]OFD Sender: No OFD packet to send [23:10:31]OFD Sender: No OFD packet to send [23:10:36]OFD Sender: No OFD packet to send [23:10:41]OFD Sender: No OFD packet to send [23:10:46]OFD Sender: No OFD packet to send [23:10:51]OFD Sender: No OFD packet to send [23:10:56]OFD Sender: No OFD packet to send [23:11:01]OFD Sender: No OFD packet to send [23:11:06]OFD Sender: No OFD packet to send [23:11:11]OFD Sender: No OFD packet to send [23:11:16]OFD Sender: No OFD packet to send [23:11:21]OFD Sender: No OFD packet to send [23:11:26]OFD Sender: No OFD packet to send [23:11:31]OFD Sender: No OFD packet to send [23:11:36]OFD Sender: No OFD packet to send [23:11:41]OFD Sender: No OFD packet to send [23:11:46]OFD Sender: No OFD packet to send [23:11:51]OFD Sender: No OFD packet to send [23:11:56]OFD Sender: No OFD packet to send [23:12:01]OFD Sender: No OFD packet to send [23:12:06]OFD Sender: No OFD packet to send [23:12:11]OFD Sender: No OFD packet to send [23:12:16]OFD Sender: No OFD packet to send [23:12:21]OFD Sender: No OFD packet to send [23:12:26]OFD Sender: No OFD packet to send [23:12:31]OFD Sender: No OFD packet to send [23:12:36]OFD Sender: No OFD packet to send [23:12:41]OFD Sender: No OFD packet to send [23:12:46]OFD Sender: No OFD packet to send [23:12:51]OFD Sender: No OFD packet to send [23:12:56]OFD Sender: No OFD packet to send [23:13:01]OFD Sender: No OFD packet to send [23:13:06]OFD Sender: No OFD packet to send [23:13:11]OFD Sender: No OFD packet to send [23:13:16]OFD Sender: No OFD packet to send [23:13:21]OFD Sender: No OFD packet to send [23:13:26]OFD Sender: No OFD packet to send [23:13:31]OFD Sender: No OFD packet to send [23:13:36]OFD Sender: No OFD packet to send [23:13:41]OFD Sender: No OFD packet to send [23:13:46]OFD Sender: No OFD packet to send [23:13:51]OFD Sender: No OFD packet to send [23:13:56]OFD Sender: No OFD packet to send [23:14:01]OFD Sender: No OFD packet to send [23:14:06]OFD Sender: No OFD packet to send [23:14:11]OFD Sender: No OFD packet to send [23:14:16]OFD Sender: No OFD packet to send [23:14:21]OFD Sender: No OFD packet to send [23:14:26]OFD Sender: No OFD packet to send [23:14:31]OFD Sender: No OFD packet to send [23:14:36]OFD Sender: No OFD packet to send [23:14:41]OFD Sender: No OFD packet to send [23:14:46]OFD Sender: No OFD packet to send [23:14:51]OFD Sender: No OFD packet to send [23:14:56]OFD Sender: No OFD packet to send [23:15:01]OFD Sender: No OFD packet to send [23:15:06]OFD Sender: No OFD packet to send [23:15:11]OFD Sender: No OFD packet to send [23:15:16]OFD Sender: No OFD packet to send [23:15:21]OFD Sender: No OFD packet to send [23:15:26]OFD Sender: No OFD packet to send [23:15:31]OFD Sender: No OFD packet to send [23:15:36]OFD Sender: No OFD packet to send [23:15:41]OFD Sender: No OFD packet to send [23:15:46]OFD Sender: No OFD packet to send [23:15:51]OFD Sender: No OFD packet to send [23:15:56]OFD Sender: No OFD packet to send [23:16:01]OFD Sender: No OFD packet to send [23:16:06]OFD Sender: No OFD packet to send [23:16:11]OFD Sender: No OFD packet to send [23:16:16]OFD Sender: No OFD packet to send [23:16:21]OFD Sender: No OFD packet to send [23:16:26]OFD Sender: No OFD packet to send [23:16:31]OFD Sender: No OFD packet to send [23:16:36]OFD Sender: No OFD packet to send [23:16:41]OFD Sender: No OFD packet to send [23:16:46]OFD Sender: No OFD packet to send [23:16:51]OFD Sender: No OFD packet to send [23:16:56]OFD Sender: No OFD packet to send [23:17:01]OFD Sender: No OFD packet to send [23:17:06]OFD Sender: No OFD packet to send [23:17:11]OFD Sender: No OFD packet to send [23:17:16]OFD Sender: No OFD packet to send [23:17:21]OFD Sender: No OFD packet to send [23:17:26]OFD Sender: No OFD packet to send [23:17:31]OFD Sender: No OFD packet to send [23:17:36]OFD Sender: No OFD packet to send [23:17:41]OFD Sender: No OFD packet to send [23:17:46]OFD Sender: No OFD packet to send [23:17:51]OFD Sender: No OFD packet to send [23:17:56]OFD Sender: No OFD packet to send [23:18:01]OFD Sender: No OFD packet to send [23:18:06]OFD Sender: No OFD packet to send [23:18:11]OFD Sender: No OFD packet to send [23:18:16]OFD Sender: No OFD packet to send [23:18:21]OFD Sender: No OFD packet to send [23:18:26]OFD Sender: No OFD packet to send [23:18:31]OFD Sender: No OFD packet to send [23:18:36]OFD Sender: No OFD packet to send [23:18:41]OFD Sender: No OFD packet to send [23:18:46]OFD Sender: No OFD packet to send [23:18:51]OFD Sender: No OFD packet to send [23:18:56]OFD Sender: No OFD packet to send [23:19:01]OFD Sender: No OFD packet to send [23:19:06]OFD Sender: No OFD packet to send [23:19:11]OFD Sender: No OFD packet to send [23:19:16]OFD Sender: No OFD packet to send [23:19:21]OFD Sender: No OFD packet to send [23:19:26]OFD Sender: No OFD packet to send [23:19:31]OFD Sender: No OFD packet to send [23:19:36]OFD Sender: No OFD packet to send [23:19:41]OFD Sender: No OFD packet to send [23:19:46]OFD Sender: No OFD packet to send [23:19:51]OFD Sender: No OFD packet to send [23:19:56]OFD Sender: No OFD packet to send [23:20:01]OFD Sender: No OFD packet to send [23:20:06]OFD Sender: No OFD packet to send [23:20:11]OFD Sender: No OFD packet to send [23:20:16]OFD Sender: No OFD packet to send [23:20:21]OFD Sender: No OFD packet to send [23:20:26]OFD Sender: No OFD packet to send [23:20:31]OFD Sender: No OFD packet to send [23:20:36]OFD Sender: No OFD packet to send [23:20:41]OFD Sender: No OFD packet to send [23:20:46]OFD Sender: No OFD packet to send [23:20:51]OFD Sender: No OFD packet to send [23:20:56]OFD Sender: No OFD packet to send [23:21:01]OFD Sender: No OFD packet to send [23:21:06]OFD Sender: No OFD packet to send [23:21:11]OFD Sender: No OFD packet to send [23:21:16]OFD Sender: No OFD packet to send [23:21:21]OFD Sender: No OFD packet to send [23:21:26]OFD Sender: No OFD packet to send [23:21:31]OFD Sender: No OFD packet to send [23:21:36]OFD Sender: No OFD packet to send [23:21:41]OFD Sender: No OFD packet to send [23:21:46]OFD Sender: No OFD packet to send [23:21:51]OFD Sender: No OFD packet to send [23:21:56]OFD Sender: No OFD packet to send [23:22:01]OFD Sender: No OFD packet to send [23:22:06]OFD Sender: No OFD packet to send [23:22:11]OFD Sender: No OFD packet to send [23:22:16]OFD Sender: No OFD packet to send [23:22:21]OFD Sender: No OFD packet to send [23:22:26]OFD Sender: No OFD packet to send [23:22:31]OFD Sender: No OFD packet to send [23:22:36]OFD Sender: No OFD packet to send [23:22:41]OFD Sender: No OFD packet to send [23:22:46]OFD Sender: No OFD packet to send [23:22:51]OFD Sender: No OFD packet to send [23:22:56]OFD Sender: No OFD packet to send [23:23:01]OFD Sender: No OFD packet to send [23:23:06]OFD Sender: No OFD packet to send [23:23:11]OFD Sender: No OFD packet to send [23:23:16]OFD Sender: No OFD packet to send [23:23:21]OFD Sender: No OFD packet to send [23:23:26]OFD Sender: No OFD packet to send [23:23:31]OFD Sender: No OFD packet to send [23:23:36]OFD Sender: No OFD packet to send [23:23:41]OFD Sender: No OFD packet to send [23:23:46]OFD Sender: No OFD packet to send [23:23:51]OFD Sender: No OFD packet to send [23:23:56]OFD Sender: No OFD packet to send [23:24:01]OFD Sender: No OFD packet to send [23:24:06]OFD Sender: No OFD packet to send [23:24:11]OFD Sender: No OFD packet to send [23:24:16]OFD Sender: No OFD packet to send [23:24:21]OFD Sender: No OFD packet to send [23:24:26]OFD Sender: No OFD packet to send [23:24:31]OFD Sender: No OFD packet to send [23:24:36]OFD Sender: No OFD packet to send [23:24:41]OFD Sender: No OFD packet to send [23:24:46]OFD Sender: No OFD packet to send [23:24:51]OFD Sender: No OFD packet to send [23:24:56]OFD Sender: No OFD packet to send [23:25:01]OFD Sender: No OFD packet to send [23:25:06]OFD Sender: No OFD packet to send [23:25:11]OFD Sender: No OFD packet to send [23:25:16]OFD Sender: No OFD packet to send [23:25:21]OFD Sender: No OFD packet to send [23:25:26]OFD Sender: No OFD packet to send [23:25:31]OFD Sender: No OFD packet to send [23:25:36]OFD Sender: No OFD packet to send [23:25:41]OFD Sender: No OFD packet to send [23:25:46]OFD Sender: No OFD packet to send [23:25:51]OFD Sender: No OFD packet to send [23:25:56]OFD Sender: No OFD packet to send [23:26:01]OFD Sender: No OFD packet to send [23:26:06]OFD Sender: No OFD packet to send [23:26:11]OFD Sender: No OFD packet to send [23:26:16]OFD Sender: No OFD packet to send [23:26:21]OFD Sender: No OFD packet to send [23:26:26]OFD Sender: No OFD packet to send [23:26:31]OFD Sender: No OFD packet to send [23:26:36]OFD Sender: No OFD packet to send [23:26:41]OFD Sender: No OFD packet to send [23:26:46]OFD Sender: No OFD packet to send [23:26:51]OFD Sender: No OFD packet to send [23:26:56]OFD Sender: No OFD packet to send [23:27:01]OFD Sender: No OFD packet to send [23:27:06]OFD Sender: No OFD packet to send [23:27:11]OFD Sender: No OFD packet to send [23:27:16]OFD Sender: No OFD packet to send [23:27:21]OFD Sender: No OFD packet to send [23:27:26]OFD Sender: No OFD packet to send [23:27:31]OFD Sender: No OFD packet to send [23:27:36]OFD Sender: No OFD packet to send [23:27:41]OFD Sender: No OFD packet to send [23:27:46]OFD Sender: No OFD packet to send [23:27:51]OFD Sender: No OFD packet to send [23:27:56]OFD Sender: No OFD packet to send [23:28:01]OFD Sender: No OFD packet to send [23:28:06]OFD Sender: No OFD packet to send [23:28:11]OFD Sender: No OFD packet to send [23:28:16]OFD Sender: No OFD packet to send [23:28:21]OFD Sender: No OFD packet to send [23:28:26]OFD Sender: No OFD packet to send [23:28:31]OFD Sender: No OFD packet to send [23:28:36]OFD Sender: No OFD packet to send [23:28:41]OFD Sender: No OFD packet to send [23:28:46]OFD Sender: No OFD packet to send [23:28:51]OFD Sender: No OFD packet to send [23:28:56]OFD Sender: No OFD packet to send [23:29:01]OFD Sender: No OFD packet to send [23:29:06]OFD Sender: No OFD packet to send [23:29:11]OFD Sender: No OFD packet to send [23:29:16]OFD Sender: No OFD packet to send [23:29:21]OFD Sender: No OFD packet to send [23:29:26]OFD Sender: No OFD packet to send [23:29:31]OFD Sender: No OFD packet to send [23:29:36]OFD Sender: No OFD packet to send [23:29:41]OFD Sender: No OFD packet to send [23:29:46]OFD Sender: No OFD packet to send [23:29:51]OFD Sender: No OFD packet to send [23:29:56]OFD Sender: No OFD packet to send [23:30:01]OFD Sender: No OFD packet to send [23:30:06]OFD Sender: No OFD packet to send [23:30:11]OFD Sender: No OFD packet to send [23:30:16]OFD Sender: No OFD packet to send [23:30:21]OFD Sender: No OFD packet to send [23:30:26]OFD Sender: No OFD packet to send [23:30:31]OFD Sender: No OFD packet to send [23:30:36]OFD Sender: No OFD packet to send [23:30:41]OFD Sender: No OFD packet to send [23:30:46]OFD Sender: No OFD packet to send [23:30:51]OFD Sender: No OFD packet to send [23:30:56]OFD Sender: No OFD packet to send [23:31:01]OFD Sender: No OFD packet to send [23:31:06]OFD Sender: No OFD packet to send [23:31:11]OFD Sender: No OFD packet to send [23:31:16]OFD Sender: No OFD packet to send [23:31:21]OFD Sender: No OFD packet to send [23:31:26]OFD Sender: No OFD packet to send [23:31:31]OFD Sender: No OFD packet to send [23:31:36]OFD Sender: No OFD packet to send [23:31:41]OFD Sender: No OFD packet to send [23:31:46]OFD Sender: No OFD packet to send [23:31:51]OFD Sender: No OFD packet to send [23:31:56]OFD Sender: No OFD packet to send [23:32:01]OFD Sender: No OFD packet to send [23:32:06]OFD Sender: No OFD packet to send [23:32:11]OFD Sender: No OFD packet to send [23:32:17]OFD Sender: No OFD packet to send [23:32:22]OFD Sender: No OFD packet to send [23:32:27]OFD Sender: No OFD packet to send [23:32:32]OFD Sender: No OFD packet to send [23:32:37]OFD Sender: No OFD packet to send [23:32:42]OFD Sender: No OFD packet to send [23:32:47]OFD Sender: No OFD packet to send [23:32:52]OFD Sender: No OFD packet to send [23:32:57]OFD Sender: No OFD packet to send [23:33:02]OFD Sender: No OFD packet to send [23:33:07]OFD Sender: No OFD packet to send [23:33:12]OFD Sender: No OFD packet to send [23:33:17]OFD Sender: No OFD packet to send [23:33:22]OFD Sender: No OFD packet to send [23:33:27]OFD Sender: No OFD packet to send [23:33:32]OFD Sender: No OFD packet to send [23:33:37]OFD Sender: No OFD packet to send [23:33:42]OFD Sender: No OFD packet to send [23:33:47]OFD Sender: No OFD packet to send [23:33:52]OFD Sender: No OFD packet to send [23:33:57]OFD Sender: No OFD packet to send [23:34:02]OFD Sender: No OFD packet to send [23:34:07]OFD Sender: No OFD packet to send [23:34:12]OFD Sender: No OFD packet to send [23:34:17]OFD Sender: No OFD packet to send [23:34:22]OFD Sender: No OFD packet to send [23:34:27]OFD Sender: No OFD packet to send [23:34:32]OFD Sender: No OFD packet to send [23:34:37]OFD Sender: No OFD packet to send [23:34:42]OFD Sender: No OFD packet to send [23:34:47]OFD Sender: No OFD packet to send [23:34:52]OFD Sender: No OFD packet to send [23:34:57]OFD Sender: No OFD packet to send [23:35:02]OFD Sender: No OFD packet to send [23:35:07]OFD Sender: No OFD packet to send [23:35:12]OFD Sender: No OFD packet to send [23:35:17]OFD Sender: No OFD packet to send [23:35:22]OFD Sender: No OFD packet to send [23:35:27]OFD Sender: No OFD packet to send [23:35:32]OFD Sender: No OFD packet to send [23:35:37]OFD Sender: No OFD packet to send [23:35:42]OFD Sender: No OFD packet to send [23:35:47]OFD Sender: No OFD packet to send [23:35:52]OFD Sender: No OFD packet to send [23:35:57]OFD Sender: No OFD packet to send [23:36:02]OFD Sender: No OFD packet to send [23:36:07]OFD Sender: No OFD packet to send [23:36:12]OFD Sender: No OFD packet to send [23:36:17]OFD Sender: No OFD packet to send [23:36:22]OFD Sender: No OFD packet to send [23:36:27]OFD Sender: No OFD packet to send [23:36:32]OFD Sender: No OFD packet to send [23:36:37]OFD Sender: No OFD packet to send [23:36:42]OFD Sender: No OFD packet to send [23:36:47]OFD Sender: No OFD packet to send [23:36:52]OFD Sender: No OFD packet to send [23:36:57]OFD Sender: No OFD packet to send [23:37:02]OFD Sender: No OFD packet to send [23:37:07]OFD Sender: No OFD packet to send [23:37:12]OFD Sender: No OFD packet to send [23:37:17]OFD Sender: No OFD packet to send [23:37:22]OFD Sender: No OFD packet to send [23:37:27]OFD Sender: No OFD packet to send [23:37:32]OFD Sender: No OFD packet to send [23:37:37]OFD Sender: No OFD packet to send [23:37:42]OFD Sender: No OFD packet to send [23:37:47]OFD Sender: No OFD packet to send [23:37:52]OFD Sender: No OFD packet to send [23:37:57]OFD Sender: No OFD packet to send [23:38:02]OFD Sender: No OFD packet to send [23:38:07]OFD Sender: No OFD packet to send [23:38:12]OFD Sender: No OFD packet to send [23:38:17]OFD Sender: No OFD packet to send [23:38:22]OFD Sender: No OFD packet to send [23:38:27]OFD Sender: No OFD packet to send [23:38:32]OFD Sender: No OFD packet to send [23:38:37]OFD Sender: No OFD packet to send [23:38:42]OFD Sender: No OFD packet to send [23:38:47]OFD Sender: No OFD packet to send [23:38:52]OFD Sender: No OFD packet to send [23:38:57]OFD Sender: No OFD packet to send [23:39:02]OFD Sender: No OFD packet to send [23:39:07]OFD Sender: No OFD packet to send [23:39:12]OFD Sender: No OFD packet to send [23:39:17]OFD Sender: No OFD packet to send [23:39:22]OFD Sender: No OFD packet to send [23:39:27]OFD Sender: No OFD packet to send [23:39:32]OFD Sender: No OFD packet to send [23:39:37]OFD Sender: No OFD packet to send [23:39:42]OFD Sender: No OFD packet to send [23:39:47]OFD Sender: No OFD packet to send [23:39:52]OFD Sender: No OFD packet to send [23:39:57]OFD Sender: No OFD packet to send [23:40:02]OFD Sender: No OFD packet to send [23:40:07]OFD Sender: No OFD packet to send [23:40:12]OFD Sender: No OFD packet to send [23:40:17]OFD Sender: No OFD packet to send [23:40:22]OFD Sender: No OFD packet to send [23:40:27]OFD Sender: No OFD packet to send [23:40:32]OFD Sender: No OFD packet to send [23:40:37]OFD Sender: No OFD packet to send [23:40:42]OFD Sender: No OFD packet to send [23:40:47]OFD Sender: No OFD packet to send [23:40:52]OFD Sender: No OFD packet to send [23:40:57]OFD Sender: No OFD packet to send [23:41:02]OFD Sender: No OFD packet to send [23:41:07]OFD Sender: No OFD packet to send [23:41:12]OFD Sender: No OFD packet to send [23:41:17]OFD Sender: No OFD packet to send [23:41:22]OFD Sender: No OFD packet to send [23:41:27]OFD Sender: No OFD packet to send [23:41:32]OFD Sender: No OFD packet to send [23:41:37]OFD Sender: No OFD packet to send [23:41:42]OFD Sender: No OFD packet to send [23:41:47]OFD Sender: No OFD packet to send [23:41:52]OFD Sender: No OFD packet to send [23:41:57]OFD Sender: No OFD packet to send [23:42:02]OFD Sender: No OFD packet to send [23:42:07]OFD Sender: No OFD packet to send [23:42:12]OFD Sender: No OFD packet to send [23:42:17]OFD Sender: No OFD packet to send [23:42:22]OFD Sender: No OFD packet to send [23:42:27]OFD Sender: No OFD packet to send [23:42:32]OFD Sender: No OFD packet to send [23:42:37]OFD Sender: No OFD packet to send [23:42:42]OFD Sender: No OFD packet to send [23:42:47]OFD Sender: No OFD packet to send [23:42:52]OFD Sender: No OFD packet to send [23:42:57]OFD Sender: No OFD packet to send [23:43:02]OFD Sender: No OFD packet to send [23:43:07]OFD Sender: No OFD packet to send [23:43:12]OFD Sender: No OFD packet to send [23:43:17]OFD Sender: No OFD packet to send [23:43:22]OFD Sender: No OFD packet to send [23:43:27]OFD Sender: No OFD packet to send [23:43:32]OFD Sender: No OFD packet to send [23:43:37]OFD Sender: No OFD packet to send [23:43:42]OFD Sender: No OFD packet to send [23:43:47]OFD Sender: No OFD packet to send [23:43:52]OFD Sender: No OFD packet to send [23:43:57]OFD Sender: No OFD packet to send [23:44:02]OFD Sender: No OFD packet to send [23:44:07]OFD Sender: No OFD packet to send [23:44:12]OFD Sender: No OFD packet to send [23:44:17]OFD Sender: No OFD packet to send [23:44:22]OFD Sender: No OFD packet to send [23:44:27]OFD Sender: No OFD packet to send [23:44:32]OFD Sender: No OFD packet to send [23:44:37]OFD Sender: No OFD packet to send [23:44:42]OFD Sender: No OFD packet to send [23:44:47]OFD Sender: No OFD packet to send [23:44:52]OFD Sender: No OFD packet to send [23:44:57]OFD Sender: No OFD packet to send [23:45:02]OFD Sender: No OFD packet to send [23:45:07]OFD Sender: No OFD packet to send [23:45:12]OFD Sender: No OFD packet to send [23:45:17]OFD Sender: No OFD packet to send [23:45:22]OFD Sender: No OFD packet to send [23:45:27]OFD Sender: No OFD packet to send [23:45:32]OFD Sender: No OFD packet to send [23:45:37]OFD Sender: No OFD packet to send [23:45:42]OFD Sender: No OFD packet to send [23:45:47]OFD Sender: No OFD packet to send [23:45:52]OFD Sender: No OFD packet to send [23:45:57]OFD Sender: No OFD packet to send [23:46:02]OFD Sender: No OFD packet to send [23:46:07]OFD Sender: No OFD packet to send [23:46:12]OFD Sender: No OFD packet to send [23:46:17]OFD Sender: No OFD packet to send [23:46:22]OFD Sender: No OFD packet to send [23:46:27]OFD Sender: No OFD packet to send [23:46:32]OFD Sender: No OFD packet to send [23:46:37]OFD Sender: No OFD packet to send [23:46:42]OFD Sender: No OFD packet to send [23:46:47]OFD Sender: No OFD packet to send [23:46:52]OFD Sender: No OFD packet to send [23:46:57]OFD Sender: No OFD packet to send [23:47:02]OFD Sender: No OFD packet to send [23:47:07]OFD Sender: No OFD packet to send [23:47:12]OFD Sender: No OFD packet to send [23:47:17]OFD Sender: No OFD packet to send [23:47:22]OFD Sender: No OFD packet to send [23:47:27]OFD Sender: No OFD packet to send [23:47:30]accept exits with 9 [23:47:30]New connection [23:47:30]New thread 3067227492 created [23:47:30]Thread 3067370852 joined [23:47:30]Waiting for new connection... [23:47:30] Sock 9.Parse request [23:47:30]Sock 9.Check first char [23:47:30]Sock 9.First char is OK [23:47:30]request: POST /json_proto HTTP/1.0 [23:47:30]Method: POST [23:47:30]URL: /json_proto [23:47:30]Method is POST - this is cgi request [23:47:30]url: /json_proto [23:47:30]query_string will be loaded in cgi processing [23:47:30]execute_cgi json_proto POST (null) [23:47:30]execute_cgi path=json_proto method=POST [23:47:30]POST find Content-Length [23:47:30]Host: 172.17.56.68:8080 [23:47:30]Content-Length: 914 [23:47:30]Content-Type: application/json [23:47:30] [23:47:30]POST finish read [23:47:30]Found Content-Length = 914 [23:47:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4394", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.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 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:47:30]execute_script... [23:47:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4394", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.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 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:47:30]POST & json_proto [23:47:30]process_json_proto [23:47:30]json parsed OK: [23:47:30]protocol is kg_v1.0 [23:47:30]action value=close_receipt [23:47:30]process_action close_receipt [23:47:30]cmd_close_receipt [23:47:30]MH_GetDate [23:47:30]Write to MH i2c: F0 00 00 E7 26 FC [23:47:30]Write i2c OK [23:47:30]MH_I2C_Read... [23:47:30]Read from MH i2c: F0 [23:47:30]MH_I2C_Read... [23:47:30]Read from MH i2c: F0 09 00 [23:47:30]MH_I2C_Read... [23:47:30]Read from MH i2c: F0 09 00 E7 26 00 9E A7 5F 66 42 69 5C 66 7C [23:47:30]GetLastDocTimeStamp 1717542364 [23:47:30]current date 1717544862 [23:47:30]FM_GetShiftState [23:47:30]SAM_PROTO_GetShiftState [23:47:30]wFMCommunicate request_size=4 [23:47:30]MH_SAM_APDU [23:47:30]CAPDU: 80 13 01 00 [23:47:30]Write to MH i2c: E2 08 00 E8 26 80 13 01 00 00 00 00 00 8B [23:47:30]Write i2c OK [23:47:30]MH_I2C_Read... [23:47:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:47:30]Read from MH i2c: E2 [23:47:30]MH_I2C_Read... [23:47:30]Read from MH i2c: E2 0E 00 [23:47:30]MH_I2C_Read... [23:47:30]Read from MH i2c: E2 0E 00 E8 26 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 24 [23:47:30]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [23:47:30]wFMCommunicate OK [23:47:30]SAM_PROTO_GetShiftState done [23:47:30]FM_GetShiftState done [23:47:30]opened in 1717459822 [23:47:30]opened+sec_in_day 1717546222 [23:47:30]quantity*price = 11000 [23:47:30]sum+1 = 11001 [23:47:30]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036210013 Кофе Капучино (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 57 04.06.2024 23:47 Смена: 83 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4140 ФПД: 18523479245324 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T234742&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4140&fm=18523479245324&tin=02508201610067®Number=0000000000145775&sum=22500 0 [23:47:32]StoreToDocumentArchive [23:47:32]shift 83 fd 4140 [23:47:32]save to /storage/0083/doc_00004140 [23:47:32]save last doc name /storage/0083/doc_00004140 to /storage/kkm_last_doc_name [23:47:32]save OK [23:47:32]Clear old archive folders... [23:47:32]ProcessDocumentItem done err = 0, tmpTLVsize=394 [23:47:32]tlvbuf is 007FF600 [23:47:32]SAM_PROTO_ClearQueue [23:47:32]wFMCommunicate request_size=4 [23:47:32]MH_SAM_APDU [23:47:32]CAPDU: 80 09 00 00 [23:47:32]Write to MH i2c: E2 08 00 F5 26 80 09 00 00 00 00 00 00 8D [23:47:32]Write i2c OK [23:47:32]MH_I2C_Read... [23:47:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:47:32]Read from MH i2c: E2 [23:47:32]MH_I2C_Read... [23:47:32]Read from MH i2c: E2 03 00 [23:47:32]MH_I2C_Read... [23:47:32]Read from MH i2c: E2 03 00 F5 26 00 90 00 8F [23:47:32]RAPDU: 90 00 [23:47:32]wFMCommunicate OK [23:47:32]SAM_PROTO_ClearQueue done [23:47:32]KKMCreateOFDPacket [23:47:32]OFDProtocolAddRootSTLVToBuf [23:47:32]FM_MakeSignedData [23:47:32]FM_MakeSignedData [23:47:32]SAM_PROTO_SignData [23:47:32]wFMCommunicate request_size=4 [23:47:32]MH_SAM_APDU [23:47:32]CAPDU: 80 0D 01 02 [23:47:32]Write to MH i2c: E2 08 00 F6 26 80 0D 01 02 00 00 00 00 95 [23:47:32]Write i2c OK [23:47:32]MH_I2C_Read... [23:47:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:47:32]Read from MH i2c: E2 [23:47:32]MH_I2C_Read... [23:47:32]Read from MH i2c: E2 03 00 [23:47:32]MH_I2C_Read... [23:47:32]Read from MH i2c: E2 03 00 F6 26 00 90 00 90 [23:47:32]RAPDU: 90 00 [23:47:32]wFMCommunicate OK [23:47:32]wFMCommunicate request_size=255 [23:47:32]MH_SAM_APDU [23:47:32]CAPDU: 80 0D 02 02 FA 03 00 8A 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 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 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F [23:47:32]Write to MH i2c: E2 02 01 F7 26 80 0D 02 02 FA 00 03 00 8A 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 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 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 0C [23:47:32]Write i2c OK [23:47:32]MH_I2C_Read... [23:47:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:47:32]Read from MH i2c: E2 [23:47:32]MH_I2C_Read... [23:47:32]Read from MH i2c: E2 03 00 [23:47:32]MH_I2C_Read... [23:47:32]Read from MH i2c: E2 03 00 F7 26 00 90 00 91 [23:47:32]RAPDU: 90 00 [23:47:32]wFMCommunicate OK [23:47:32]wFMCommunicate request_size=153 [23:47:32]MH_SAM_APDU [23:47:32]CAPDU: 80 0D 02 02 94 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 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 9E A7 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2C 10 00 00 35 04 06 00 10 D8 D5 66 82 0C [23:47:32]Write to MH i2c: E2 9C 00 F8 26 80 0D 02 02 94 00 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 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 9E A7 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2C 10 00 00 35 04 06 00 10 D8 D5 66 82 0C 00 00 CF [23:47:32]Write i2c OK [23:47:32]MH_I2C_Read... [23:47:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:47:32]Read from MH i2c: E2 [23:47:32]MH_I2C_Read... [23:47:32]Read from MH i2c: E2 03 00 [23:47:32]MH_I2C_Read... [23:47:32]Read from MH i2c: E2 03 00 F8 26 00 90 00 92 [23:47:32]RAPDU: 90 00 [23:47:32]wFMCommunicate OK [23:47:32]wFMCommunicate request_size=4 [23:47:32]MH_SAM_APDU [23:47:32]CAPDU: 80 0D 03 02 [23:47:32]Write to MH i2c: E2 08 00 F9 26 80 0D 03 02 00 00 00 00 9A [23:47:32]Write i2c OK [23:47:32]MH_I2C_Read... [23:47:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:47:32]OFD Sender: No OFD packet to send [23:47:32]Read from MH i2c: E2 [23:47:32]MH_I2C_Read... [23:47:32]Read from MH i2c: E2 0B 00 [23:47:32]MH_I2C_Read... [23:47:32]Read from MH i2c: E2 0B 00 F9 26 00 94 8A FD 42 0D ED E6 9F 90 00 77 [23:47:32]RAPDU: 94 8A FD 42 0D ED E6 9F 90 00 [23:47:32]wFMCommunicate OK [23:47:32]SAM_PROTO_SignData done [23:47:32]FM_MakeSignedData done [23:47:32]CreateOFDProtocolMessage [23:47:32]wFMCommunicate request_size=4 [23:47:32]MH_SAM_APDU [23:47:32]CAPDU: 80 11 00 00 [23:47:32]Write to MH i2c: E2 08 00 FA 26 80 11 00 00 00 00 00 00 9A [23:47:32]Write i2c OK [23:47:32]MH_I2C_Read... [23:47:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:47:32]Read from MH i2c: E2 [23:47:32]MH_I2C_Read... [23:47:32]Read from MH i2c: E2 17 00 [23:47:32]MH_I2C_Read... [23:47:32]Read from MH i2c: E2 17 00 FA 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 ED [23:47:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:47:32]wFMCommunicate OK [23:47:32]CreateOFDProtocolMessage done [23:47:32]OFDSenderStorePacket 4140 [23:47:32]StoreOFDPacket docnum=4140 [23:47:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9E 01 00 00 37 93 96 01 D9 88 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 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 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 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 9E A7 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2C 10 00 00 35 04 06 00 10 D8 D5 66 82 0C 94 8A FD 42 0D ED E6 9F [23:47:32]CheckFolder [23:47:32]dirname=/storage/ofd_packets [23:47:32]CheckFolder done [23:47:32]ProducePacketName [23:47:32]name=ofd_packets/00004140 [23:47:32]NVStorageSaveData ofd_packets/00004140 [23:47:32]File name is /storage/ofd_packets/00004140 [23:47:32]Write 444 bytes [23:47:32]NVStorageSaveData done [23:47:32]OFDSenderStorePacket done [23:47:32]KKMCreateOFDPacket done [23:47:32]NVStorageSaveData kkm_last_timestamp [23:47:32]File name is /storage/kkm_last_timestamp [23:47:32]Write 4 bytes [23:47:32]NVStorageSaveData done [23:47:32]ExternCall_PrintAddStr [23:47:32]wPrintStart [23:47:32]Write to MH i2c: 01 00 00 FB 26 21 [23:47:32]Write i2c OK [23:47:32]MH_I2C_Read... [23:47:32]Read from MH i2c: 01 [23:47:32]MH_I2C_Read... [23:47:32]Read from MH i2c: 01 07 00 [23:47:33]MH_I2C_Read... [23:47:33]OFD Sender: Processing packet 4140 [packets to send 2, broken 1] [23:47:33]ProducePacketName [23:47:33]name=ofd_packets/00004140 [23:47:33]Read from MH i2c: 01 07 00 OFD Sender: To server: pG, [23:47:33]FB CommunicateWithHost lk.salyk.kg:30040 [23:47:33]26 ConnectInit lk.salyk.kg [23:47:33]00 00 00 00 00 FF 0F 36 [23:47:33]RasterBufferAndPrint [23:47:33]line Счет N : (3)4394 [23:47:33]line ИНН: 02508201610067 [23:47:33]line Контрольно-Кассовый Чек [23:47:33]line ПРОДАЖА [23:47:33]line Товар: 2000034250011 [23:47:33]line Горячий шоколад (GABB trade) [23:47:33]line 1.000 * 110.00 [23:47:33]line = 110.00 [23:47:33]line НДС 12% НСП 1% [23:47:33]line > о реализуемом товаре [23:47:33]line Товар: 2000036210013 [23:47:33]line Кофе Капучино (GABB TRADE) [23:47:33]line 1.000 * 115.00 [23:47:33]line = 115.00 [23:47:33]line НДС 12% НСП 1% [23:47:33]line > о реализуемом товаре [23:47:33]line ИТОГО: 225.00 [23:47:33]line НСП 1% : 1.99 [23:47:33]line НДС 12% : 23.89 [23:47:33]line Наличными: 225.00 [23:47:33]line Безнал.: 0.00 [23:47:33]line Место: АЗС № 116 "Партнер Нефть" [23:47:33]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [23:47:33]line СНО: Общий режим [23:47:33]line Чек 57 04.06.2024 23:47 [23:47:33]line Смена: 83 ФФД: 1.0 [23:47:33]line ЗНМ: 0300000233 [23:47:33]line РНМ: 0000000000145775 [23:47:33]line Версия ККМ: v1.0 [23:47:33]line ФМ: 0000000000959360 [23:47:33]line ФД: 4140 [23:47:33]line ФПД: 18523479245324 [23:47:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T234742&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4140&fm=18523479245324&tin=02508201610067®Number=0000000000145775&sum=22500 [23:47:33]line 0 [23:47:33]written 0, free lines is 4095 [23:47:33]Connected sock=10 [23:47:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9E 01 00 00 37 93 96 01 D9 88 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 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 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 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 9E A7 5F 66 0E 04 04 00 53 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2C 10 00 00 35 04 06 00 10 D8 D5 66 82 0C 94 8A FD 42 0D ED E6 9F [23:47:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 0A CF 47 00 C6 9B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2C 10 00 00 F4 03 04 00 9D 53 5F 66 B6 04 01 00 00 EC E1 6A BD D3 AE C4 A6 [23:47:33]CommunicateWithHost err = 0 [23:47:33]CheckOFDResponse [23:47:33]1017 (14) - 77093643461234 [23:47:33]1041 (16) - 0000000000959360 [23:47:33]1040 (4) - 4140 [23:47:33]1012 (4) - 04.06.2024 17:49 [23:47:33]1206 (1) - 0 [23:47:33]OFD Sender: Remove packet 4140 [23:47:33]ProducePacketName [23:47:33]name=ofd_packets/00004140 [23:47:33]NVStorageDeleteData [23:47:33]Write to MH i2c: 01 00 00 2A 27 51 [23:47:33]Write i2c OK [23:47:33]MH_I2C_Read... [23:47:33]Read from MH i2c: 01 [23:47:33]MH_I2C_Read... [23:47:33]Read from MH i2c: 01 07 00 [23:47:33]MH_I2C_Read... [23:47:33]Read from MH i2c: 01 07 00 2A 27 00 00 00 00 00 41 0C A5 [23:47:33]RasterBufferAndPrint [23:47:33]line [23:47:33]line [23:47:33]line [23:47:33]line [23:47:33]line [23:47:33]written 0, free lines is 3143 [23:47:33]MH_Cut [23:47:33]Write to MH i2c: D1 01 00 31 27 01 2A [23:47:33]Write i2c OK [23:47:33]MH_I2C_Read... [23:47:33]Read from MH i2c: D1 [23:47:33]MH_I2C_Read... [23:47:33]Read from MH i2c: D1 01 00 [23:47:33]MH_I2C_Read... [23:47:33]Read from MH i2c: D1 01 00 31 27 00 29 [23:47:33]Write to MH i2c: 01 00 00 32 27 59 [23:47:33]Write i2c OK [23:47:33]MH_I2C_Read... [23:47:33]OFD Sender: No OFD packet to send [23:47:34]*** Cut start [23:47:34]*** Partial cut [23:47:34]*** CUTSNS_PIN = 1 [23:47:34]*** CUTSNS_PIN = 0 [23:47:34]*** Brake cut motor [23:47:35]Read from MH i2c: 01 [23:47:35]MH_I2C_Read... [23:47:35]*** Stop cut motor [23:47:35]*** Cut end [23:47:35]Read from MH i2c: 01 07 00 [23:47:35]MH_I2C_Read... [23:47:35]Read from MH i2c: 01 07 00 32 27 00 00 00 00 00 FF 0F 6E [23:47:35]process_action close_receipt done [23:47:35]requested_data is exist [23:47:35]produce_requested_data [23:47:35]requested_item fm.sn is exist - process it [23:47:35]wFMCommunicate request_size=4 [23:47:35]MH_SAM_APDU [23:47:35]CAPDU: 80 11 00 00 [23:47:35]Write to MH i2c: E2 08 00 33 27 80 11 00 00 00 00 00 00 D4 [23:47:35]Write i2c OK [23:47:35]MH_I2C_Read... [23:47:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:47:35]Read from MH i2c: E2 [23:47:35]MH_I2C_Read... [23:47:35]Read from MH i2c: E2 17 00 [23:47:35]MH_I2C_Read... [23:47:35]Read from MH i2c: E2 17 00 33 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 27 [23:47:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:47:35]wFMCommunicate OK [23:47:35]requested_item fd.num is exist - process it [23:47:35]SAM_PROTO_GetFieldsCounters [23:47:35]wFMCommunicate request_size=4 [23:47:35]MH_SAM_APDU [23:47:35]CAPDU: 80 13 00 00 [23:47:35]Write to MH i2c: E2 08 00 34 27 80 13 00 00 00 00 00 00 D7 [23:47:35]Write i2c OK [23:47:35]MH_I2C_Read... [23:47:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:47:35]Read from MH i2c: E2 [23:47:35]MH_I2C_Read... [23:47:35]Read from MH i2c: E2 62 00 [23:47:35]MH_I2C_Read... [23:47:35]Read from MH i2c: E2 62 00 34 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2C 10 00 00 0E 04 04 00 53 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 36 [23:47:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2C 10 00 00 0E 04 04 00 53 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 [23:47:35]wFMCommunicate OK [23:47:35]SAM_PROTO_GetFieldsCounters done [23:47:35]requested_item shift.num is exist - process it [23:47:35]requested_item shift.opened is exist - process it [23:47:35]req_shift_opened [23:47:35]FM_GetShiftState [23:47:35]SAM_PROTO_GetShiftState [23:47:35]wFMCommunicate request_size=4 [23:47:35]MH_SAM_APDU [23:47:35]CAPDU: 80 13 01 00 [23:47:35]Write to MH i2c: E2 08 00 35 27 80 13 01 00 00 00 00 00 D9 [23:47:35]Write i2c OK [23:47:35]MH_I2C_Read... [23:47:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:47:35]Read from MH i2c: E2 [23:47:35]MH_I2C_Read... [23:47:35]Read from MH i2c: E2 0E 00 [23:47:35]MH_I2C_Read... [23:47:35]Read from MH i2c: E2 0E 00 35 27 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 72 [23:47:35]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [23:47:35]wFMCommunicate OK [23:47:35]SAM_PROTO_GetShiftState done [23:47:35]FM_GetShiftState done [23:47:35]req_shift_opened done [23:47:35]requested_item shift.open_date is exist - process it [23:47:35]req_shift_open_date [23:47:35]req_shift_open_date done [23:47:35]produce_requested_data done [23:47:35]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4140,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [23:47:35]process_action_free close_receipt [23:47:35]json_value_free [23:47:35]json_value_free done [23:47:35]process_json_proto returns [23:47:35]Send response to host [23:47:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4140,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [23:47:35]free response buf [23:47:35]execute_script done [23:47:35]execute_script returns [23:47:35]free content buf [23:47:35]Sock 9.Close socket [23:47:35]Sock 9.Thread stoped [23:47:38]OFD Sender: No OFD packet to send [23:47:43]OFD Sender: No OFD packet to send [23:47:48]OFD Sender: No OFD packet to send [23:47:53]OFD Sender: No OFD packet to send [23:47:58]OFD Sender: No OFD packet to send [23:48:03]OFD Sender: No OFD packet to send [23:48:08]OFD Sender: No OFD packet to send [23:48:13]OFD Sender: No OFD packet to send [23:48:18]OFD Sender: No OFD packet to send [23:48:23]OFD Sender: No OFD packet to send [23:48:28]OFD Sender: No OFD packet to send [23:48:33]OFD Sender: No OFD packet to send [23:48:38]OFD Sender: No OFD packet to send [23:48:43]OFD Sender: No OFD packet to send [23:48:48]OFD Sender: No OFD packet to send [23:48:53]OFD Sender: No OFD packet to send [23:48:58]OFD Sender: No OFD packet to send [23:49:03]OFD Sender: No OFD packet to send [23:49:08]OFD Sender: No OFD packet to send [23:49:13]OFD Sender: No OFD packet to send [23:49:18]OFD Sender: No OFD packet to send [23:49:23]OFD Sender: No OFD packet to send [23:49:28]OFD Sender: No OFD packet to send [23:49:33]OFD Sender: No OFD packet to send [23:49:38]OFD Sender: No OFD packet to send [23:49:43]OFD Sender: No OFD packet to send [23:49:49]OFD Sender: No OFD packet to send [23:49:54]OFD Sender: No OFD packet to send [23:49:59]OFD Sender: No OFD packet to send [23:50:04]OFD Sender: No OFD packet to send [23:50:09]OFD Sender: No OFD packet to send [23:50:14]OFD Sender: No OFD packet to send [23:50:19]OFD Sender: No OFD packet to send [23:50:24]OFD Sender: No OFD packet to send [23:50:29]OFD Sender: No OFD packet to send [23:50:34]OFD Sender: No OFD packet to send [23:50:39]OFD Sender: No OFD packet to send [23:50:44]OFD Sender: No OFD packet to send [23:50:49]OFD Sender: No OFD packet to send [23:50:54]OFD Sender: No OFD packet to send [23:50:59]OFD Sender: No OFD packet to send [23:51:04]OFD Sender: No OFD packet to send [23:51:09]OFD Sender: No OFD packet to send [23:51:14]OFD Sender: No OFD packet to send [23:51:19]OFD Sender: No OFD packet to send [23:51:24]OFD Sender: No OFD packet to send [23:51:29]OFD Sender: No OFD packet to send [23:51:34]OFD Sender: No OFD packet to send [23:51:39]OFD Sender: No OFD packet to send [23:51:44]OFD Sender: No OFD packet to send [23:51:49]OFD Sender: No OFD packet to send [23:51:54]OFD Sender: No OFD packet to send [23:51:59]OFD Sender: No OFD packet to send [23:52:04]OFD Sender: No OFD packet to send [23:52:09]OFD Sender: No OFD packet to send [23:52:14]OFD Sender: No OFD packet to send [23:52:19]OFD Sender: No OFD packet to send [23:52:24]OFD Sender: No OFD packet to send [23:52:29]OFD Sender: No OFD packet to send [23:52:34]OFD Sender: No OFD packet to send [23:52:39]OFD Sender: No OFD packet to send [23:52:44]OFD Sender: No OFD packet to send [23:52:49]OFD Sender: No OFD packet to send [23:52:54]OFD Sender: No OFD packet to send [23:52:59]OFD Sender: No OFD packet to send [23:53:04]OFD Sender: No OFD packet to send [23:53:09]OFD Sender: No OFD packet to send [23:53:14]OFD Sender: No OFD packet to send [23:53:19]OFD Sender: No OFD packet to send [23:53:24]OFD Sender: No OFD packet to send [23:53:29]OFD Sender: No OFD packet to send [23:53:34]OFD Sender: No OFD packet to send [23:53:39]OFD Sender: No OFD packet to send [23:53:44]OFD Sender: No OFD packet to send [23:53:49]OFD Sender: No OFD packet to send [23:53:54]OFD Sender: No OFD packet to send [23:53:59]OFD Sender: No OFD packet to send [23:54:04]OFD Sender: No OFD packet to send [23:54:09]OFD Sender: No OFD packet to send [23:54:14]OFD Sender: No OFD packet to send [23:54:19]OFD Sender: No OFD packet to send [23:54:24]OFD Sender: No OFD packet to send [23:54:29]OFD Sender: No OFD packet to send [23:54:34]OFD Sender: No OFD packet to send [23:54:39]OFD Sender: No OFD packet to send [23:54:40]accept exits with 8 [23:54:40]New connection [23:54:40]New thread 3067370852 created [23:54:40]Thread 3067227492 joined [23:54:40]Waiting for new connection... [23:54:40] Sock 8.Parse request [23:54:40]Sock 8.Check first char [23:54:40]Sock 8.First char is OK [23:54:40]request: POST /json_proto HTTP/1.0 [23:54:40]Method: POST [23:54:40]URL: /json_proto [23:54:40]Method is POST - this is cgi request [23:54:40]url: /json_proto [23:54:40]query_string will be loaded in cgi processing [23:54:40]execute_cgi json_proto POST (null) [23:54:40]execute_cgi path=json_proto method=POST [23:54:40]POST find Content-Length [23:54:40]Host: 172.17.56.68:8080 [23:54:40]Content-Length: 215 [23:54:40]Content-Type: application/json [23:54:40] [23:54:40]POST finish read [23:54:40]Found Content-Length = 215 [23:54:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:40]execute_script... [23:54:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:40]POST & json_proto [23:54:40]process_json_proto [23:54:40]json parsed OK: [23:54:40]protocol is kg_v1.0 [23:54:40]action value=get_value [23:54:40]process_action get_value [23:54:40]cmd_get_value [23:54:40]process_action get_value done [23:54:40]requested_data is exist [23:54:40]produce_requested_data [23:54:40]requested_item kkm.sn is exist - process it [23:54:40]requested_item kkm.ver is exist - process it [23:54:40]requested_item fm.sn is exist - process it [23:54:40]wFMCommunicate request_size=4 [23:54:40]MH_SAM_APDU [23:54:40]CAPDU: 80 11 00 00 [23:54:40]Write to MH i2c: E2 08 00 36 27 80 11 00 00 00 00 00 00 D7 [23:54:40]Write i2c OK [23:54:40]MH_I2C_Read... [23:54:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:54:40]Read from MH i2c: E2 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 17 00 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 17 00 36 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 2A [23:54:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:54:40]wFMCommunicate OK [23:54:40]requested_item fd.num is exist - process it [23:54:40]SAM_PROTO_GetFieldsCounters [23:54:40]wFMCommunicate request_size=4 [23:54:40]MH_SAM_APDU [23:54:40]CAPDU: 80 13 00 00 [23:54:40]Write to MH i2c: E2 08 00 37 27 80 13 00 00 00 00 00 00 DA [23:54:40]Write i2c OK [23:54:40]MH_I2C_Read... [23:54:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:40]Read from MH i2c: E2 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 62 00 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 62 00 37 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2C 10 00 00 0E 04 04 00 53 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 39 [23:54:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2C 10 00 00 0E 04 04 00 53 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 [23:54:40]wFMCommunicate OK [23:54:40]SAM_PROTO_GetFieldsCounters done [23:54:40]requested_item shift.num is exist - process it [23:54:40]requested_item shift.opened is exist - process it [23:54:40]req_shift_opened [23:54:40]FM_GetShiftState [23:54:40]SAM_PROTO_GetShiftState [23:54:40]wFMCommunicate request_size=4 [23:54:40]MH_SAM_APDU [23:54:40]CAPDU: 80 13 01 00 [23:54:40]Write to MH i2c: E2 08 00 38 27 80 13 01 00 00 00 00 00 DC [23:54:40]Write i2c OK [23:54:40]MH_I2C_Read... [23:54:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:40]Read from MH i2c: E2 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 0E 00 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 0E 00 38 27 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 75 [23:54:40]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [23:54:40]wFMCommunicate OK [23:54:40]SAM_PROTO_GetShiftState done [23:54:40]FM_GetShiftState done [23:54:40]req_shift_opened done [23:54:40]requested_item shift.open_date is exist - process it [23:54:40]req_shift_open_date [23:54:40]req_shift_open_date done [23:54:40]produce_requested_data done [23:54:40]produce_requested_data return {"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4140,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [23:54:40]process_action_free get_value [23:54:40]json_value_free [23:54:40]json_value_free done [23:54:40]process_json_proto returns [23:54:40]Send response to host [23:54:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4140,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [23:54:40]free response buf [23:54:40]execute_script done [23:54:40]execute_script returns [23:54:40]free content buf [23:54:40]Sock 8.Close socket [23:54:40]Sock 8.Thread stoped [23:54:40]accept exits with 9 [23:54:40]New connection [23:54:40]New thread 3067227492 created [23:54:40]Thread 3067370852 joined [23:54:40]Waiting for new connection... [23:54:40] Sock 9.Parse request [23:54:40]Sock 9.Check first char [23:54:40]Sock 9.First char is OK [23:54:40]request: POST /json_proto HTTP/1.0 [23:54:40]Method: POST [23:54:40]URL: /json_proto [23:54:40]Method is POST - this is cgi request [23:54:40]url: /json_proto [23:54:40]query_string will be loaded in cgi processing [23:54:40]execute_cgi json_proto POST (null) [23:54:40]execute_cgi path=json_proto method=POST [23:54:40]POST find Content-Length [23:54:40]Host: 172.17.56.68:8080 [23:54:40]Content-Length: 331 [23:54:40]Content-Type: application/json [23:54:40] [23:54:40]POST finish read [23:54:40]Found Content-Length = 331 [23:54:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:54:40]execute_script... [23:54:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [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=get_value [23:54:41]process_action get_value [23:54:41]cmd_get_value [23:54:41]process_action get_value done [23:54:41]requested_data is exist [23:54:41]produce_requested_data [23:54:41]requested_item fm.sale.total is exist - process it [23:54:41]SAM_PROTO_GetFMData [23:54:41]wFMCommunicate request_size=4 [23:54:41]MH_SAM_APDU [23:54:41]CAPDU: 80 13 03 00 [23:54:41]Write to MH i2c: E2 08 00 39 27 80 13 03 00 00 00 00 00 DF [23:54:41]Write i2c OK [23:54:41]MH_I2C_Read... [23:54:41]*** iso7816_exchange 80 13 03 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 39 27 00 BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 66 [23:54:41]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:54:41]wFMCommunicate OK [23:54:41]wFMCommunicate request_size=4 [23:54:41]MH_SAM_APDU [23:54:41]CAPDU: 80 17 00 00 [23:54:41]Write to MH i2c: E2 08 00 3A 27 80 17 00 00 00 00 00 00 E1 [23:54:41]Write i2c OK [23:54:41]MH_I2C_Read... [23:54:41]*** iso7816_exchange 80 17 00 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:42]Read from MH i2c: E2 FD 00 3A 27 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A9 [23:54:42]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 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 3B 27 80 17 00 00 00 00 00 00 E2 [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 3B 27 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0E [23:54:42]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 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 3C 27 80 17 00 00 00 00 00 00 E3 [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 3C 27 00 00 00 EF 03 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 90 00 58 [23:54:42]RAPDU: 00 00 EF 03 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 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 3D 27 80 17 00 00 00 00 00 00 E4 [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 = 213! [23:54:42]Read from MH i2c: E2 [23:54:42]MH_I2C_Read... [23:54:42]Read from MH i2c: E2 D8 00 [23:54:42]MH_I2C_Read... [23:54:42]Read from MH i2c: E2 D8 00 3D 27 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 CB [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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:42]wFMCommunicate OK [23:54:42]SAM_PROTO_GetFMData done [23:54:42]requested_item fm.sale_refund.total is exist - process it [23:54:42]requested_item fm.buy.total is exist - process it [23:54:42]requested_item shift.sale.total is exist - process it [23:54:42]SAM_PROTO_GetShiftData [23:54:42]wFMCommunicate request_size=4 [23:54:42]MH_SAM_APDU [23:54:42]CAPDU: 80 13 02 00 [23:54:42]Write to MH i2c: E2 08 00 3E 27 80 13 02 00 00 00 00 00 E3 [23:54:42]Write i2c OK [23:54:42]MH_I2C_Read... [23:54:43]*** iso7816_exchange 80 13 02 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 3E 27 00 AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 E7 [23:54:43]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [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 3F 27 80 17 00 00 00 00 00 00 E6 [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 = 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 3F 27 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 08 [23:54:43]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [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 40 27 80 17 00 00 00 00 00 00 E7 [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 = 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 40 27 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E [23:54:43]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [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 41 27 80 17 00 00 00 00 00 00 E8 [23:54:43]Write i2c OK [23:54:43]MH_I2C_Read... [23:54:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:44]Read from MH i2c: E2 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: E2 FD 00 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: E2 FD 00 41 27 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 5A [23:54:44]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:54:44]wFMCommunicate OK [23:54:44]wFMCommunicate request_size=4 [23:54:44]MH_SAM_APDU [23:54:44]CAPDU: 80 17 00 00 [23:54:44]Write to MH i2c: E2 08 00 42 27 80 17 00 00 00 00 00 00 E9 [23:54:44]Write i2c OK [23:54:44]MH_I2C_Read... [23:54:44]OFD Sender: No OFD packet to send [23:54:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:54:44]Read from MH i2c: E2 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: E2 CB 00 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: E2 CB 00 42 27 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 D2 [23:54:44]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:44]wFMCommunicate OK [23:54:44]SAM_PROTO_GetShiftData done [23:54:44]requested_item shift.sale.total_cash is exist - process it [23:54:44]requested_item shift.sale_refund.total is exist - process it [23:54:44]requested_item shift.sale_refund.total_cash is exist - process it [23:54:44]requested_item shift.buy.total is exist - process it [23:54:44]requested_item shift.buy.total_cash is exist - process it [23:54:44]produce_requested_data done [23:54:44]produce_requested_data return {"fm.sale.total":925327.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":10108.00,"shift.sale.total_cash":7732.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:44]process_action_free get_value [23:54:44]json_value_free [23:54:44]json_value_free done [23:54:44]process_json_proto returns [23:54:44]Send response to host [23:54:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":925327.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":10108.00,"shift.sale.total_cash":7732.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:44]free response buf [23:54:44]execute_script done [23:54:44]execute_script returns [23:54:44]free content buf [23:54:44]Sock 9.Close socket [23:54:44]Sock 9.Thread stoped [23:54:44]accept exits with 8 [23:54:44]New connection [23:54:44]New thread 3067370852 created [23:54:44]Thread 3067227492 joined [23:54:44]Waiting for new connection... [23:54:44] Sock 8.Parse request [23:54:44]Sock 8.Check first char [23:54:44]Sock 8.First char is OK [23:54:44]request: POST /json_proto HTTP/1.0 [23:54:44]Method: POST [23:54:44]URL: /json_proto [23:54:44]Method is POST - this is cgi request [23:54:44]url: /json_proto [23:54:44]query_string will be loaded in cgi processing [23:54:44]execute_cgi json_proto POST (null) [23:54:44]execute_cgi path=json_proto method=POST [23:54:44]POST find Content-Length [23:54:44]Host: 172.17.56.68:8080 [23:54:44]Content-Length: 331 [23:54:44]Content-Type: application/json [23:54:44] [23:54:44]POST finish read [23:54:44]Found Content-Length = 331 [23:54:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:54:44]execute_script... [23:54:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:54:44]POST & json_proto [23:54:44]process_json_proto [23:54:44]json parsed OK: [23:54:44]protocol is kg_v1.0 [23:54:44]action value=get_value [23:54:44]process_action get_value [23:54:44]cmd_get_value [23:54:44]process_action get_value done [23:54:44]requested_data is exist [23:54:44]produce_requested_data [23:54:44]requested_item fm.sale.total is exist - process it [23:54:44]SAM_PROTO_GetFMData [23:54:44]wFMCommunicate request_size=4 [23:54:44]MH_SAM_APDU [23:54:44]CAPDU: 80 13 03 00 [23:54:44]Write to MH i2c: E2 08 00 43 27 80 13 03 00 00 00 00 00 E9 [23:54:44]Write i2c OK [23:54:44]MH_I2C_Read... [23:54:44]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:54:44]Read from MH i2c: E2 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: E2 FD 00 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: E2 FD 00 43 27 00 BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 70 [23:54:45]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 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 44 27 80 17 00 00 00 00 00 00 EB [23:54:45]Write i2c OK [23:54:45]MH_I2C_Read... [23:54:45]*** iso7816_exchange 80 17 00 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 44 27 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B3 [23:54:45]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 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 45 27 80 17 00 00 00 00 00 00 EC [23:54:45]Write i2c OK [23:54:45]MH_I2C_Read... [23:54:45]*** iso7816_exchange 80 17 00 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 45 27 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 18 [23:54:45]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 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 46 27 80 17 00 00 00 00 00 00 ED [23:54:45]Write i2c OK [23:54:45]MH_I2C_Read... [23:54:45]*** 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 46 27 00 00 00 EF 03 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 90 00 62 [23:54:46]RAPDU: 00 00 EF 03 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 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 47 27 80 17 00 00 00 00 00 00 EE [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 = 213! [23:54:46]Read from MH i2c: E2 [23:54:46]MH_I2C_Read... [23:54:46]Read from MH i2c: E2 D8 00 [23:54:46]MH_I2C_Read... [23:54:46]Read from MH i2c: E2 D8 00 47 27 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D5 [23:54:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:46]wFMCommunicate OK [23:54:46]SAM_PROTO_GetFMData done [23:54:46]requested_item fm.sale_refund.total is exist - process it [23:54:46]requested_item fm.buy.total is exist - process it [23:54:46]requested_item shift.sale.total is exist - process it [23:54:46]SAM_PROTO_GetShiftData [23:54:46]wFMCommunicate request_size=4 [23:54:46]MH_SAM_APDU [23:54:46]CAPDU: 80 13 02 00 [23:54:46]Write to MH i2c: E2 08 00 48 27 80 13 02 00 00 00 00 00 ED [23:54:46]Write i2c OK [23:54:46]MH_I2C_Read... [23:54:46]*** iso7816_exchange 80 13 02 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 48 27 00 AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 F1 [23:54:47]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [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 49 27 80 17 00 00 00 00 00 00 F0 [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 = 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 49 27 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 12 [23:54:47]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: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 4A 27 80 17 00 00 00 00 00 00 F1 [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 = 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 4A 27 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A8 [23:54:47]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [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 4B 27 80 17 00 00 00 00 00 00 F2 [23:54:47]Write i2c OK [23:54:47]MH_I2C_Read... [23:54:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:48]Read from MH i2c: E2 [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: E2 FD 00 [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: E2 FD 00 4B 27 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 64 [23:54:48]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:48]wFMCommunicate OK [23:54:48]wFMCommunicate request_size=4 [23:54:48]MH_SAM_APDU [23:54:48]CAPDU: 80 17 00 00 [23:54:48]Write to MH i2c: E2 08 00 4C 27 80 17 00 00 00 00 00 00 F3 [23:54:48]Write i2c OK [23:54:48]MH_I2C_Read... [23:54:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:54:48]Read from MH i2c: E2 [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: E2 CB 00 [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: E2 CB 00 4C 27 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 DC [23:54:48]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:48]wFMCommunicate OK [23:54:48]SAM_PROTO_GetShiftData done [23:54:48]requested_item shift.sale.total_cash is exist - process it [23:54:48]requested_item shift.sale_refund.total is exist - process it [23:54:48]requested_item shift.sale_refund.total_cash is exist - process it [23:54:48]requested_item shift.buy.total is exist - process it [23:54:48]requested_item shift.buy.total_cash is exist - process it [23:54:48]produce_requested_data done [23:54:48]produce_requested_data return {"fm.sale.total":925327.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":10108.00,"shift.sale.total_cash":7732.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:48]process_action_free get_value [23:54:48]json_value_free [23:54:48]json_value_free done [23:54:48]process_json_proto returns [23:54:48]Send response to host [23:54:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":925327.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":10108.00,"shift.sale.total_cash":7732.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:48]free response buf [23:54:48]execute_script done [23:54:48]execute_script returns [23:54:48]free content buf [23:54:48]Sock 8.Close socket [23:54:48]Sock 8.Thread stoped [23:54:48]accept exits with 9 [23:54:48]New connection [23:54:48]New thread 3067227492 created [23:54:48]Thread 3067370852 joined [23:54:48]Waiting for new connection... [23:54:48] Sock 9.Parse request [23:54:48]Sock 9.Check first char [23:54:48]Sock 9.First char is OK [23:54:48]request: POST /json_proto HTTP/1.0 [23:54:48]Method: POST [23:54:48]URL: /json_proto [23:54:48]Method is POST - this is cgi request [23:54:48]url: /json_proto [23:54:48]query_string will be loaded in cgi processing [23:54:48]execute_cgi json_proto POST (null) [23:54:48]execute_cgi path=json_proto method=POST [23:54:48]POST find Content-Length [23:54:48]Host: 172.17.56.68:8080 [23:54:48]Content-Length: 277 [23:54:48]Content-Type: application/json [23:54:48] [23:54:48]POST finish read [23:54:48]Found Content-Length = 277 [23:54:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041D\u0435\u043C\u0430\u0442\u0442\u0438\u043B\u043B\u0430 \u043A. \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:48]execute_script... [23:54:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041D\u0435\u043C\u0430\u0442\u0442\u0438\u043B\u043B\u0430 \u043A. \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:48]POST & json_proto [23:54:48]process_json_proto [23:54:48]json parsed OK: [23:54:48]protocol is kg_v1.0 [23:54:48]action value=x_report [23:54:48]process_action x_report [23:54:48]cmd_x_report [23:54:48]MH_GetDate [23:54:48]Write to MH i2c: F0 00 00 4D 27 63 [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 4D 27 00 54 A9 5F 66 42 69 5C 66 9B [23:54:48]GetLastDocTimeStamp 1717544862 [23:54:48]current date 1717545300 [23:54:48]FM_GetShiftState [23:54:48]SAM_PROTO_GetShiftState [23:54:48]wFMCommunicate request_size=4 [23:54:48]MH_SAM_APDU [23:54:48]CAPDU: 80 13 01 00 [23:54:48]Write to MH i2c: E2 08 00 4E 27 80 13 01 00 00 00 00 00 F2 [23:54:48]Write i2c OK [23:54:48]MH_I2C_Read... [23:54:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:48]Read from MH i2c: E2 [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: E2 0E 00 [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: E2 0E 00 4E 27 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 8B [23:54:48]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [23:54:48]wFMCommunicate OK [23:54:48]SAM_PROTO_GetShiftState done [23:54:48]FM_GetShiftState done [23:54:48]KKMCreateXReportDocument [23:54:48]Load OK [23:54:48]Malloc new data [23:54:48]MH_GetDate [23:54:48]Write to MH i2c: F0 00 00 4F 27 65 [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 4F 27 00 54 A9 5F 66 42 69 5C 66 9D [23:54:48]Malloc new data [23:54:48]Malloc new data [23:54:48]wFMCommunicate request_size=4 [23:54:48]MH_SAM_APDU [23:54:48]CAPDU: 80 11 00 00 [23:54:48]Write to MH i2c: E2 08 00 50 27 80 11 00 00 00 00 00 00 F1 [23:54:48]Write i2c OK [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: E2 [23:54:48]MH_I2C_Read... [23:54:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:54:48]Read from MH i2c: E2 17 00 [23:54:48]MH_I2C_Read... [23:54:48]Read from MH i2c: E2 17 00 50 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 44 [23:54:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:54:49]wFMCommunicate OK [23:54:49]SAM_PROTO_GetFieldsCounters [23:54:49]wFMCommunicate request_size=4 [23:54:49]MH_SAM_APDU [23:54:49]CAPDU: 80 13 00 00 [23:54:49]Write to MH i2c: E2 08 00 51 27 80 13 00 00 00 00 00 00 F4 [23:54:49]Write i2c OK [23:54:49]MH_I2C_Read... [23:54:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:49]Read from MH i2c: E2 [23:54:49]MH_I2C_Read... [23:54:49]Read from MH i2c: E2 62 00 [23:54:49]MH_I2C_Read... [23:54:49]Read from MH i2c: E2 62 00 51 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2C 10 00 00 0E 04 04 00 53 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 53 [23:54:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2C 10 00 00 0E 04 04 00 53 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 [23:54:49]wFMCommunicate OK [23:54:49]SAM_PROTO_GetFieldsCounters done [23:54:49]Malloc new data [23:54:49]Malloc new data [23:54:49]Malloc new data [23:54:49]KKMCreateXReportDocument OK [23:54:49]KKMSetXReportData OK [23:54:49]KKMPrepareXReportFMData [23:54:49]SAM_PROTO_GetShiftData [23:54:49]wFMCommunicate request_size=4 [23:54:49]MH_SAM_APDU [23:54:49]CAPDU: 80 13 02 00 [23:54:49]Write to MH i2c: E2 08 00 52 27 80 13 02 00 00 00 00 00 F7 [23:54:49]Write i2c OK [23:54:49]MH_I2C_Read... [23:54:49]OFD Sender: No OFD packet to send [23:54:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:54:49]Read from MH i2c: E2 [23:54:49]MH_I2C_Read... [23:54:49]Read from MH i2c: E2 FD 00 [23:54:49]MH_I2C_Read... [23:54:49]Read from MH i2c: E2 FD 00 52 27 00 AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 FB [23:54:49]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:54:49]wFMCommunicate OK [23:54:49]wFMCommunicate request_size=4 [23:54:49]MH_SAM_APDU [23:54:49]CAPDU: 80 17 00 00 [23:54:49]Write to MH i2c: E2 08 00 53 27 80 17 00 00 00 00 00 00 FA [23:54:49]Write i2c OK [23:54:49]MH_I2C_Read... [23:54:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:50]Read from MH i2c: E2 [23:54:50]MH_I2C_Read... [23:54:50]Read from MH i2c: E2 FD 00 [23:54:50]MH_I2C_Read... [23:54:50]Read from MH i2c: E2 FD 00 53 27 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 1C [23:54:50]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:50]wFMCommunicate OK [23:54:50]wFMCommunicate request_size=4 [23:54:50]MH_SAM_APDU [23:54:50]CAPDU: 80 17 00 00 [23:54:50]Write to MH i2c: E2 08 00 54 27 80 17 00 00 00 00 00 00 FB [23:54:50]Write i2c OK [23:54:50]MH_I2C_Read... [23:54:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:50]Read from MH i2c: E2 [23:54:50]MH_I2C_Read... [23:54:50]Read from MH i2c: E2 FD 00 [23:54:50]MH_I2C_Read... [23:54:50]Read from MH i2c: E2 FD 00 54 27 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B2 [23:54:50]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:50]wFMCommunicate OK [23:54:50]wFMCommunicate request_size=4 [23:54:50]MH_SAM_APDU [23:54:50]CAPDU: 80 17 00 00 [23:54:50]Write to MH i2c: E2 08 00 55 27 80 17 00 00 00 00 00 00 FC [23:54:50]Write i2c OK [23:54:50]MH_I2C_Read... [23:54:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:50]Read from MH i2c: E2 [23:54:50]MH_I2C_Read... [23:54:50]Read from MH i2c: E2 FD 00 [23:54:50]MH_I2C_Read... [23:54:51]Read from MH i2c: E2 FD 00 55 27 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 6E [23:54:51]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:51]wFMCommunicate OK [23:54:51]wFMCommunicate request_size=4 [23:54:51]MH_SAM_APDU [23:54:51]CAPDU: 80 17 00 00 [23:54:51]Write to MH i2c: E2 08 00 56 27 80 17 00 00 00 00 00 00 FD [23:54:51]Write i2c OK [23:54:51]MH_I2C_Read... [23:54:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:54:51]Read from MH i2c: E2 [23:54:51]MH_I2C_Read... [23:54:51]Read from MH i2c: E2 CB 00 [23:54:51]MH_I2C_Read... [23:54:51]Read from MH i2c: E2 CB 00 56 27 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 E6 [23:54:51]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:51]wFMCommunicate OK [23:54:51]SAM_PROTO_GetShiftData done [23:54:51]1194 (1194) - счетчики итогов смены [23:54:51] 1134 (4) - 57 - количество чеков со всеми признаками расчетов [23:54:51] 1129 (155) - счетчики операций «приход» [23:54:51] 1135 (4) - 57 - количество чеков по признаку расчетов [23:54:51] 1201 (3) - 10108.00 - общая итоговая сумма в чеках [23:54:51] 1136 (3) - 7732.00 - итоговая сумма в чеках наличными [23:54:51] 1138 (3) - 2376.00 - итоговая сумма в чеках безналичными [23:54:51] 1024 (122) - суммы налогов [23:54:51] 1006 (9) - суммы НДС [23:54:51] 1010 (1) - 0% - код ставки НДС [23:54:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:51] 1006 (12) - суммы НДС [23:54:51] 1010 (1) - 12% - код ставки НДС [23:54:51] 1011 (3) - 1073.36 - сумма НДС по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 0% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (11) - суммы НСП [23:54:51] 1014 (1) - 1% - код ставки НСП [23:54:51] 1015 (2) - 89.42 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 2% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 3% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 5% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 0,50% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 1,50% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1130 (141) - счетчики операций «возврат прихода» [23:54:51] 1135 (4) - 0 - количество чеков по признаку расчетов [23:54:51] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:54:51] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:54:51] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:54:51] 1024 (117) - суммы налогов [23:54:51] 1006 (9) - суммы НДС [23:54:51] 1010 (1) - 0% - код ставки НДС [23:54:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:51] 1006 (9) - суммы НДС [23:54:51] 1010 (1) - 12% - код ставки НДС [23:54:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 0% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 1% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 2% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 3% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 5% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 0,50% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 1,50% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1131 (141) - счетчики операций «расход» [23:54:51] 1135 (4) - 0 - количество чеков по признаку расчетов [23:54:51] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:54:51] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:54:51] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:54:51] 1024 (117) - суммы налогов [23:54:51] 1006 (9) - суммы НДС [23:54:51] 1010 (1) - 0% - код ставки НДС [23:54:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:51] 1006 (9) - суммы НДС [23:54:51] 1010 (1) - 12% - код ставки НДС [23:54:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 0% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 1% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 2% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 3% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 5% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 0,50% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 1,50% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1132 (141) - счетчики операций «возврат расхода» [23:54:51] 1135 (4) - 0 - количество чеков по признаку расчетов [23:54:51] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:54:51] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:54:51] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:54:51] 1024 (117) - суммы налогов [23:54:51] 1006 (9) - суммы НДС [23:54:51] 1010 (1) - 0% - код ставки НДС [23:54:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:51] 1006 (9) - суммы НДС [23:54:51] 1010 (1) - 12% - код ставки НДС [23:54:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 0% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 1% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 2% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 3% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 5% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 0,50% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1007 (9) - суммы НСП [23:54:51] 1014 (1) - 1,50% - код ставки НСП [23:54:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:51] 1133 (588) - - счетчики коррекции - не используются [23:54:51]SetTLVBufToDocument [23:54:51]Processing tag 1194 (04AA) [23:54:51]Load OK [23:54:51]SetTLVBufToDocument [23:54:51]Processing tag 1134 (046E) [23:54:51]Malloc new data [23:54:51]Processing tag 1129 (0469) [23:54:51]Load OK [23:54:51]SetTLVBufToDocument [23:54:51]Processing tag 1135 (046F) [23:54:51]Malloc new data [23:54:51]Processing tag 1201 (04B1) [23:54:51]Malloc new data [23:54:51]Processing tag 1136 (0470) [23:54:51]Malloc new data [23:54:51]Processing tag 1138 (0472) [23:54:51]Malloc new data [23:54:51]Processing tag 1024 (0400) [23:54:51]Load OK [23:54:51]SetTLVBufToDocument [23:54:51]Processing tag 1006 (03EE) [23:54:51]Load OK [23:54:51]SetTLVBufToDocument [23:54:51]Processing tag 1010 (03F2) [23:54:52]Malloc new data [23:54:52]Processing tag 1011 (03F3) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1006 (03EE) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1010 (03F2) [23:54:52]Malloc new data [23:54:52]Processing tag 1011 (03F3) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]SetTLVBufToDocument err=0 [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1130 (046A) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1135 (046F) [23:54:52]Malloc new data [23:54:52]Processing tag 1201 (04B1) [23:54:52]Malloc new data [23:54:52]Processing tag 1136 (0470) [23:54:52]Malloc new data [23:54:52]Processing tag 1138 (0472) [23:54:52]Malloc new data [23:54:52]Processing tag 1024 (0400) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1006 (03EE) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1010 (03F2) [23:54:52]Malloc new data [23:54:52]Processing tag 1011 (03F3) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1006 (03EE) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1010 (03F2) [23:54:52]Malloc new data [23:54:52]Processing tag 1011 (03F3) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]SetTLVBufToDocument err=0 [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1131 (046B) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1135 (046F) [23:54:52]Malloc new data [23:54:52]Processing tag 1201 (04B1) [23:54:52]Malloc new data [23:54:52]Processing tag 1136 (0470) [23:54:52]Malloc new data [23:54:52]Processing tag 1138 (0472) [23:54:52]Malloc new data [23:54:52]Processing tag 1024 (0400) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1006 (03EE) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1010 (03F2) [23:54:52]Malloc new data [23:54:52]Processing tag 1011 (03F3) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1006 (03EE) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1010 (03F2) [23:54:52]Malloc new data [23:54:52]Processing tag 1011 (03F3) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]SetTLVBufToDocument err=0 [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1132 (046C) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1135 (046F) [23:54:52]Malloc new data [23:54:52]Processing tag 1201 (04B1) [23:54:52]Malloc new data [23:54:52]Processing tag 1136 (0470) [23:54:52]Malloc new data [23:54:52]Processing tag 1138 (0472) [23:54:52]Malloc new data [23:54:52]Processing tag 1024 (0400) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1006 (03EE) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1010 (03F2) [23:54:52]Malloc new data [23:54:52]Processing tag 1011 (03F3) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1006 (03EE) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1010 (03F2) [23:54:52]Malloc new data [23:54:52]Processing tag 1011 (03F3) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1007 (03EF) [23:54:52]Load OK [23:54:52]SetTLVBufToDocument [23:54:52]Processing tag 1014 (03F6) [23:54:52]Malloc new data [23:54:52]Processing tag 1015 (03F7) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]SetTLVBufToDocument err=0 [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Processing tag 1133 (046D) [23:54:52]Malloc new data [23:54:52]SetTLVBufToDocument err=0 [23:54:52]SetTLVBufToDocument err=0 [23:54:52]Malloc new data [23:54:52]SAM_PROTO_GetFMData [23:54:52]wFMCommunicate request_size=4 [23:54:52]MH_SAM_APDU [23:54:52]CAPDU: 80 13 03 00 [23:54:52]Write to MH i2c: E2 08 00 57 27 80 13 03 00 00 00 00 00 FD [23:54:52]Write i2c OK [23:54:52]MH_I2C_Read... [23:54:53]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:54:53]Read from MH i2c: E2 [23:54:53]MH_I2C_Read... [23:54:53]Read from MH i2c: E2 FD 00 [23:54:53]MH_I2C_Read... [23:54:53]Read from MH i2c: E2 FD 00 57 27 00 BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 84 [23:54:53]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:54:53]wFMCommunicate OK [23:54:53]wFMCommunicate request_size=4 [23:54:53]MH_SAM_APDU [23:54:53]CAPDU: 80 17 00 00 [23:54:53]Write to MH i2c: E2 08 00 58 27 80 17 00 00 00 00 00 00 FF [23:54:53]Write i2c OK [23:54:53]MH_I2C_Read... [23:54:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:53]Read from MH i2c: E2 [23:54:53]MH_I2C_Read... [23:54:53]Read from MH i2c: E2 FD 00 [23:54:53]MH_I2C_Read... [23:54:53]Read from MH i2c: E2 FD 00 58 27 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C7 [23:54:53]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:54]wFMCommunicate OK [23:54:54]wFMCommunicate request_size=4 [23:54:54]MH_SAM_APDU [23:54:54]CAPDU: 80 17 00 00 [23:54:54]Write to MH i2c: E2 08 00 59 27 80 17 00 00 00 00 00 00 00 [23:54:54]Write i2c OK [23:54:54]MH_I2C_Read... [23:54:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:54]Read from MH i2c: E2 [23:54:54]MH_I2C_Read... [23:54:54]Read from MH i2c: E2 FD 00 [23:54:54]MH_I2C_Read... [23:54:54]Read from MH i2c: E2 FD 00 59 27 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2C [23:54:54]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:54:54]wFMCommunicate OK [23:54:54]wFMCommunicate request_size=4 [23:54:54]MH_SAM_APDU [23:54:54]CAPDU: 80 17 00 00 [23:54:54]Write to MH i2c: E2 08 00 5A 27 80 17 00 00 00 00 00 00 01 [23:54:54]OFD Sender: No OFD packet to send [23:54:54]Write i2c OK [23:54:54]MH_I2C_Read... [23:54:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:55]Read from MH i2c: E2 [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: E2 FD 00 [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: E2 FD 00 5A 27 00 00 00 EF 03 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 90 00 76 [23:54:55]RAPDU: 00 00 EF 03 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 90 00 [23:54:55]wFMCommunicate OK [23:54:55]wFMCommunicate request_size=4 [23:54:55]MH_SAM_APDU [23:54:55]CAPDU: 80 17 00 00 [23:54:55]Write to MH i2c: E2 08 00 5B 27 80 17 00 00 00 00 00 00 02 [23:54:55]Write i2c OK [23:54:55]MH_I2C_Read... [23:54:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:54:55]Read from MH i2c: E2 [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: E2 D8 00 [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: E2 D8 00 5B 27 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E9 [23:54:55]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:55]wFMCommunicate OK [23:54:55]SAM_PROTO_GetFMData done [23:54:55]FM_GetFMData:85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 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 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:56]oper:6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:56]total:FB EF 83 05 [23:54:56]Malloc new data [23:54:56]oper:6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 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 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:56]total:10 B1 02 [23:54:56]Malloc new data [23:54:56]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:56]total: [23:54:56]Malloc new data [23:54:56]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:56]total: [23:54:56]Malloc new data [23:54:56]KKMPrepareXReportFMData err=0 [23:54:56]Х отчет ИНН: 02508201610067 Кассир: Нематтилла к. А. 04.06.2024 23:55 Смена: 10 РНМ: 0000000000145775 ЗНМ: 0300000233 СНО: Общий режим Всего чеков: 57 ИТОГИ ПРИХОД Чеков: 57 Общий итог: 10108.00 Итого наличными: 7732.00 Итого безнал.: 2376.00 НДС 0% : 0.00 НДС 12% : 1073.36 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 89.42 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 7732.00 НС Приход: 925327.31 НС Возвр.Прихода: 1764.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000959360 [23:54:56]StoreToDocumentArchive [23:54:56]MH_GetDate [23:54:56]Write to MH i2c: F0 00 00 5C 27 72 [23:54:56]Write i2c OK [23:54:56]MH_I2C_Read... [23:54:56]Read from MH i2c: F0 [23:54:56]MH_I2C_Read... [23:54:56]Read from MH i2c: F0 09 00 [23:54:56]MH_I2C_Read... [23:54:56]Read from MH i2c: F0 09 00 5C 27 00 5B A9 5F 66 42 69 5C 66 B1 [23:54:56]shift 10 fd 1717545307 [23:54:56]Create dir for shift 0010 [23:54:56]save to /storage/0010/doc_1717545307 [23:54:56]save last doc name /storage/0010/doc_1717545307 to /storage/kkm_last_doc_name [23:54:56]save OK [23:54:56]Clear old archive folders... [23:54:56]NVStorageSaveData kkm_last_timestamp [23:54:56]File name is /storage/kkm_last_timestamp [23:54:56]Write 4 bytes [23:54:56]NVStorageSaveData done [23:54:56]ExternCall_PrintAddStr [23:54:56]wPrintStart [23:54:56]Write to MH i2c: 01 00 00 5D 27 84 [23:54:56]Write i2c OK [23:54:56]MH_I2C_Read... [23:54:56]Read from MH i2c: 01 [23:54:56]MH_I2C_Read... [23:54:56]Read from MH i2c: 01 07 00 [23:54:56]MH_I2C_Read... [23:54:56]Read from MH i2c: 01 07 00 5D 27 00 00 00 00 00 FF 0F 99 [23:54:56]RasterBufferAndPrint [23:54:56]line Х отчет [23:54:56]line ИНН: 02508201610067 [23:54:56]line Кассир: Нематтилла к. А. [23:54:56]line 04.06.2024 23:55 [23:54:56]line Смена: 10 [23:54:56]line РНМ: 0000000000145775 [23:54:56]line ЗНМ: 0300000233 [23:54:56]line СНО: Общий режим [23:54:56]line Всего чеков: 57 [23:54:56]line ИТОГИ ПРИХОД [23:54:56]line Чеков: 57 [23:54:56]line Общий итог: 10108.00 [23:54:56]line Итого наличными: 7732.00 [23:54:56]line Итого безнал.: 2376.00 [23:54:56]line НДС 0% : 0.00 [23:54:56]line НДС 12% : 1073.36 [23:54:56]line НСП 0% : 0.00 [23:54:56]line НСП 1,50% : 0.00 [23:54:56]line НСП 0,50% : 0.00 [23:54:56]line НСП 5% : 0.00 [23:54:56]line НСП 3% : 0.00 [23:54:56]line НСП 2% : 0.00 [23:54:56]line НСП 1% : 89.42 [23:54:56]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:54:56]line Чеков: 0 [23:54:56]line Общий итог: 0.00 [23:54:56]line Итого наличными: 0.00 [23:54:56]line Итого безнал.: 0.00 [23:54:56]line НДС 0% : 0.00 [23:54:56]line НДС 12% : 0.00 [23:54:56]line НСП 0% : 0.00 [23:54:56]line НСП 1,50% : 0.00 [23:54:56]line НСП 0,50% : 0.00 [23:54:56]line НСП 5% : 0.00 [23:54:56]line НСП 3% : 0.00 [23:54:56]line НСП 2% : 0.00 [23:54:56]line НСП 1% : 0.00 [23:54:56]line ИТОГИ РАСХОД [23:54:56]line Чеков: 0 [23:54:56]line Общий итог: 0.00 [23:54:56]line Итого наличными: 0.00 [23:54:56]line Итого безнал.: 0.00 [23:54:56]line НДС 0% : 0.00 [23:54:56]line НДС 12% : 0.00 [23:54:56]line НСП 0% : 0.00 [23:54:56]line НСП 1,50% : 0.00 [23:54:56]line НСП 0,50% : 0.00 [23:54:56]line НСП 5% : 0.00 [23:54:56]line НСП 3% : 0.00 [23:54:56]line НСП 2% : 0.00 [23:54:56]line НСП 1% : 0.00 [23:54:56]line ИТОГИ ВОЗВРАТ РАСХОДА [23:54:56]line Чеков: 0 [23:54:56]line Общий итог: 0.00 [23:54:56]line Итого наличными: 0.00 [23:54:56]line Итого безнал.: 0.00 [23:54:56]line НДС 0% : 0.00 [23:54:56]line НДС 12% : 0.00 [23:54:56]line НСП 0% : 0.00 [23:54:56]line НСП 1,50% : 0.00 [23:54:56]line НСП 0,50% : 0.00 [23:54:56]line НСП 5% : 0.00 [23:54:56]line НСП 3% : 0.00 [23:54:56]line НСП 2% : 0.00 [23:54:56]line НСП 1% : 0.00 [23:54:56]line Сумма внесений: 0.00 [23:54:56]line Сумма выплат: 0.00 [23:54:56]line Нал. в кассе: 7732.00 [23:54:56]line НС Приход: 925327.31 [23:54:56]line НС Возвр.Прихода: 1764.00 [23:54:56]line НС Расход: 0.00 [23:54:56]line НС Возвр.Расхода: 0.00 [23:54:56]line ФМ: 0000000000959360 [23:54:56]written 0, free lines is 4095 [23:54:57]Write to MH i2c: 01 00 00 A8 27 CF [23:54:57]Write i2c OK [23:54:57]MH_I2C_Read... [23:54:57]Read from MH i2c: 01 [23:54:57]MH_I2C_Read... [23:54:57]Read from MH i2c: 01 07 00 [23:54:57]MH_I2C_Read... [23:54:57]Read from MH i2c: 01 07 00 A8 27 00 00 00 00 00 28 0A 08 [23:54:57]RasterBufferAndPrint [23:54:57]line [23:54:57]line [23:54:57]line [23:54:57]line [23:54:57]line [23:54:57]written 0, free lines is 2625 [23:54:57]MH_Cut [23:54:57]Write to MH i2c: D1 01 00 AF 27 01 A8 [23:54:57]Write i2c OK [23:54:57]MH_I2C_Read... [23:54:57]Read from MH i2c: D1 [23:54:57]MH_I2C_Read... [23:54:57]Read from MH i2c: D1 01 00 [23:54:57]MH_I2C_Read... [23:54:57]Read from MH i2c: D1 01 00 AF 27 00 A7 [23:54:57]Write to MH i2c: 01 00 00 B0 27 D7 [23:54:57]Write i2c OK [23:54:57]MH_I2C_Read... [23:54:58]*** Cut start [23:54:58]*** Partial cut [23:54:58]*** CUTSNS_PIN = 1 [23:54:58]*** CUTSNS_PIN = 0 [23:54:59]*** Brake cut motor [23:54:59]Read from MH i2c: 01 [23:54:59]MH_I2C_Read... [23:54:59]*** Stop cut motor [23:54:59]*** Cut end [23:54:59]Read from MH i2c: 01 07 00 [23:54:59]MH_I2C_Read... [23:54:59]Read from MH i2c: 01 07 00 B0 27 00 00 00 00 00 FF 0F EC [23:54:59]process_action x_report done [23:54:59]requested_data is exist [23:54:59]produce_requested_data [23:54:59]requested_item fd.num is exist - process it [23:54:59]SAM_PROTO_GetFieldsCounters [23:54:59]wFMCommunicate request_size=4 [23:54:59]MH_SAM_APDU [23:54:59]CAPDU: 80 13 00 00 [23:54:59]Write to MH i2c: E2 08 00 B1 27 80 13 00 00 00 00 00 00 54 [23:54:59]Write i2c OK [23:54:59]MH_I2C_Read... [23:54:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:59]Read from MH i2c: E2 [23:54:59]MH_I2C_Read... [23:54:59]Read from MH i2c: E2 62 00 [23:54:59]MH_I2C_Read... [23:54:59]Read from MH i2c: E2 62 00 B1 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2C 10 00 00 0E 04 04 00 53 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 B3 [23:54:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2C 10 00 00 0E 04 04 00 53 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 [23:54:59]wFMCommunicate OK [23:54:59]SAM_PROTO_GetFieldsCounters done [23:54:59]requested_item shift.num is exist - process it [23:54:59]requested_item shift.opened is exist - process it [23:54:59]req_shift_opened [23:54:59]FM_GetShiftState [23:54:59]SAM_PROTO_GetShiftState [23:54:59]wFMCommunicate request_size=4 [23:54:59]MH_SAM_APDU [23:54:59]CAPDU: 80 13 01 00 [23:54:59]Write to MH i2c: E2 08 00 B2 27 80 13 01 00 00 00 00 00 56 [23:54:59]OFD Sender: No OFD packet to send [23:54:59]Write i2c OK [23:54:59]MH_I2C_Read... [23:54:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:59]Read from MH i2c: E2 [23:54:59]MH_I2C_Read... [23:54:59]Read from MH i2c: E2 0E 00 [23:54:59]MH_I2C_Read... [23:54:59]Read from MH i2c: E2 0E 00 B2 27 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 EF [23:54:59]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [23:54:59]wFMCommunicate OK [23:54:59]SAM_PROTO_GetShiftState done [23:54:59]FM_GetShiftState done [23:54:59]req_shift_opened done [23:54:59]requested_item shift.open_date is exist - process it [23:54:59]req_shift_open_date [23:54:59]req_shift_open_date done [23:54:59]produce_requested_data done [23:54:59]produce_requested_data return {"fd.num":4140,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [23:54:59]process_action_free x_report [23:54:59]json_value_free [23:54:59]json_value_free done [23:54:59]process_json_proto returns [23:54:59]Send response to host [23:54:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":4140,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [23:54:59]free response buf [23:54:59]execute_script done [23:54:59]execute_script returns [23:54:59]free content buf [23:54:59]Sock 9.Close socket [23:54:59]Sock 9.Thread stoped [23:55:04]OFD Sender: No OFD packet to send [23:55:09]OFD Sender: No OFD packet to send [23:55:14]OFD Sender: No OFD packet to send [23:55:19]OFD Sender: No OFD packet to send [23:55:24]OFD Sender: No OFD packet to send [23:55:29]OFD Sender: No OFD packet to send [23:55:32]accept exits with 8 [23:55:32]New connection [23:55:32]New thread 3067370852 created [23:55:32]Thread 3067227492 joined [23:55:32]Waiting for new connection... [23:55:32] Sock 8.Parse request [23:55:32]Sock 8.Check first char [23:55:32]Sock 8.First char is OK [23:55:32]request: POST /json_proto HTTP/1.0 [23:55:32]Method: POST [23:55:32]URL: /json_proto [23:55:32]Method is POST - this is cgi request [23:55:32]url: /json_proto [23:55:32]query_string will be loaded in cgi processing [23:55:32]execute_cgi json_proto POST (null) [23:55:32]execute_cgi path=json_proto method=POST [23:55:32]POST find Content-Length [23:55:32]Host: 172.17.56.68:8080 [23:55:32]Content-Length: 215 [23:55:32]Content-Type: application/json [23:55:32] [23:55:32]POST finish read [23:55:32]Found Content-Length = 215 [23:55: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:55:32]execute_script... [23:55: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:55:32]POST & json_proto [23:55:32]process_json_proto [23:55:32]json parsed OK: [23:55:32]protocol is kg_v1.0 [23:55:32]action value=get_value [23:55:32]process_action get_value [23:55:32]cmd_get_value [23:55:32]process_action get_value done [23:55:32]requested_data is exist [23:55:32]produce_requested_data [23:55:32]requested_item kkm.sn is exist - process it [23:55:32]requested_item kkm.ver is exist - process it [23:55:32]requested_item fm.sn is exist - process it [23:55:32]wFMCommunicate request_size=4 [23:55:32]MH_SAM_APDU [23:55:32]CAPDU: 80 11 00 00 [23:55:32]Write to MH i2c: E2 08 00 B3 27 80 11 00 00 00 00 00 00 54 [23:55:32]Write i2c OK [23:55:32]MH_I2C_Read... [23:55:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:32]Read from MH i2c: E2 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 17 00 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 17 00 B3 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 A7 [23:55:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:55:32]wFMCommunicate OK [23:55:32]requested_item fd.num is exist - process it [23:55:32]SAM_PROTO_GetFieldsCounters [23:55:32]wFMCommunicate request_size=4 [23:55:32]MH_SAM_APDU [23:55:32]CAPDU: 80 13 00 00 [23:55:32]Write to MH i2c: E2 08 00 B4 27 80 13 00 00 00 00 00 00 57 [23:55:32]Write i2c OK [23:55:32]MH_I2C_Read... [23:55:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:55:32]Read from MH i2c: E2 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 62 00 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 62 00 B4 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2C 10 00 00 0E 04 04 00 53 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 B6 [23:55:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2C 10 00 00 0E 04 04 00 53 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 [23:55:32]wFMCommunicate OK [23:55:32]SAM_PROTO_GetFieldsCounters done [23:55:32]requested_item shift.num is exist - process it [23:55:32]requested_item shift.opened is exist - process it [23:55:32]req_shift_opened [23:55:32]FM_GetShiftState [23:55:32]SAM_PROTO_GetShiftState [23:55:32]wFMCommunicate request_size=4 [23:55:32]MH_SAM_APDU [23:55:32]CAPDU: 80 13 01 00 [23:55:32]Write to MH i2c: E2 08 00 B5 27 80 13 01 00 00 00 00 00 59 [23:55:32]Write i2c OK [23:55:32]MH_I2C_Read... [23:55:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:32]Read from MH i2c: E2 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 0E 00 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 0E 00 B5 27 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 F2 [23:55:32]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [23:55:32]wFMCommunicate OK [23:55:32]SAM_PROTO_GetShiftState done [23:55:32]FM_GetShiftState done [23:55:32]req_shift_opened done [23:55:32]requested_item shift.open_date is exist - process it [23:55:32]req_shift_open_date [23:55:32]req_shift_open_date done [23:55:32]produce_requested_data done [23:55:32]produce_requested_data return {"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4140,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [23:55:32]process_action_free get_value [23:55:32]json_value_free [23:55:32]json_value_free done [23:55:32]process_json_proto returns [23:55:32]Send response to host [23:55:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4140,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [23:55:32]free response buf [23:55:32]execute_script done [23:55:32]execute_script returns [23:55:32]free content buf [23:55:32]Sock 8.Close socket [23:55:32]Sock 8.Thread stoped [23:55:32]accept exits with 9 [23:55:32]New connection [23:55:32]New thread 3067227492 created [23:55:32]Thread 3067370852 joined [23:55:32]Waiting for new connection... [23:55:32] Sock 9.Parse request [23:55:32]Sock 9.Check first char [23:55:32]Sock 9.First char is OK [23:55:32]request: POST /json_proto HTTP/1.0 [23:55:32]Method: POST [23:55:32]URL: /json_proto [23:55:32]Method is POST - this is cgi request [23:55:32]url: /json_proto [23:55:32]query_string will be loaded in cgi processing [23:55:32]execute_cgi json_proto POST (null) [23:55:32]execute_cgi path=json_proto method=POST [23:55:32]POST find Content-Length [23:55:32]Host: 172.17.56.68:8080 [23:55:32]Content-Length: 331 [23:55:32]Content-Type: application/json [23:55:32] [23:55:32]POST finish read [23:55:32]Found Content-Length = 331 [23:55:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:55:32]execute_script... [23:55:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:55:32]POST & json_proto [23:55:32]process_json_proto [23:55:32]json parsed OK: [23:55:32]protocol is kg_v1.0 [23:55:32]action value=get_value [23:55:33]process_action get_value [23:55:33]cmd_get_value [23:55:33]process_action get_value done [23:55:33]requested_data is exist [23:55:33]produce_requested_data [23:55:33]requested_item fm.sale.total is exist - process it [23:55:33]SAM_PROTO_GetFMData [23:55:33]wFMCommunicate request_size=4 [23:55:33]MH_SAM_APDU [23:55:33]CAPDU: 80 13 03 00 [23:55:33]Write to MH i2c: E2 08 00 B6 27 80 13 03 00 00 00 00 00 5C [23:55:33]Write i2c OK [23:55:33]MH_I2C_Read... [23:55:33]*** iso7816_exchange 80 13 03 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 B6 27 00 BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 E3 [23:55:33]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 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 B7 27 80 17 00 00 00 00 00 00 5E [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 B7 27 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 26 [23:55:33]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 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 B8 27 80 17 00 00 00 00 00 00 5F [23:55:33]Write i2c OK [23:55:33]MH_I2C_Read... [23:55:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:34]Read from MH i2c: E2 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 FD 00 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 FD 00 B8 27 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8B [23:55:34]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 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 B9 27 80 17 00 00 00 00 00 00 60 [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 = 250! [23:55:34]Read from MH i2c: E2 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 FD 00 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 FD 00 B9 27 00 00 00 EF 03 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 90 00 D5 [23:55:34]RAPDU: 00 00 EF 03 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 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 BA 27 80 17 00 00 00 00 00 00 61 [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 = 213! [23:55:34]Read from MH i2c: E2 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 D8 00 [23:55:34]MH_I2C_Read... [23:55:34]Read from MH i2c: E2 D8 00 BA 27 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 48 [23:55:34]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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_GetFMData done [23:55:34]requested_item fm.sale_refund.total is exist - process it [23:55:34]requested_item fm.buy.total is exist - process it [23:55:34]requested_item shift.sale.total is exist - process it [23:55:34]SAM_PROTO_GetShiftData [23:55:34]wFMCommunicate request_size=4 [23:55:34]MH_SAM_APDU [23:55:34]CAPDU: 80 13 02 00 [23:55:34]Write to MH i2c: E2 08 00 BB 27 80 13 02 00 00 00 00 00 60 [23:55:34]Write i2c OK [23:55:34]MH_I2C_Read... [23:55:34]OFD Sender: No OFD packet to send [23:55:35]*** iso7816_exchange 80 13 02 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 BB 27 00 AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 64 [23:55:35]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:55:35]wFMCommunicate OK [23:55:35]wFMCommunicate request_size=4 [23:55:35]MH_SAM_APDU [23:55:35]CAPDU: 80 17 00 00 [23:55:35]Write to MH i2c: E2 08 00 BC 27 80 17 00 00 00 00 00 00 63 [23:55:35]Write i2c OK [23:55:35]MH_I2C_Read... [23:55:35]*** iso7816_exchange 80 17 00 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 BC 27 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 85 [23:55: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:55:35]wFMCommunicate OK [23:55:35]wFMCommunicate request_size=4 [23:55:35]MH_SAM_APDU [23:55:35]CAPDU: 80 17 00 00 [23:55:35]Write to MH i2c: E2 08 00 BD 27 80 17 00 00 00 00 00 00 64 [23:55:35]Write i2c OK [23:55:35]MH_I2C_Read... [23:55:35]*** iso7816_exchange 80 17 00 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 BD 27 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1B [23:55: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:55:35]wFMCommunicate OK [23:55:35]wFMCommunicate request_size=4 [23:55:35]MH_SAM_APDU [23:55:35]CAPDU: 80 17 00 00 [23:55:35]Write to MH i2c: E2 08 00 BE 27 80 17 00 00 00 00 00 00 65 [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 BE 27 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 D7 [23:55: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:55:36]wFMCommunicate OK [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 BF 27 80 17 00 00 00 00 00 00 66 [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 = 200! [23:55:36]Read from MH i2c: E2 [23:55:36]MH_I2C_Read... [23:55:36]Read from MH i2c: E2 CB 00 [23:55:36]MH_I2C_Read... [23:55:36]Read from MH i2c: E2 CB 00 BF 27 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 4F [23:55: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:55:36]wFMCommunicate OK [23:55:36]SAM_PROTO_GetShiftData done [23:55:36]requested_item shift.sale.total_cash is exist - process it [23:55:36]requested_item shift.sale_refund.total is exist - process it [23:55:36]requested_item shift.sale_refund.total_cash is exist - process it [23:55:36]requested_item shift.buy.total is exist - process it [23:55:36]requested_item shift.buy.total_cash is exist - process it [23:55:36]produce_requested_data done [23:55:36]produce_requested_data return {"fm.sale.total":925327.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":10108.00,"shift.sale.total_cash":7732.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:36]process_action_free get_value [23:55:36]json_value_free [23:55:36]json_value_free done [23:55:36]process_json_proto returns [23:55:36]Send response to host [23:55:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":925327.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":10108.00,"shift.sale.total_cash":7732.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:36]free response buf [23:55:36]execute_script done [23:55:36]execute_script returns [23:55:36]free content buf [23:55:36]Sock 9.Close socket [23:55:36]Sock 9.Thread stoped [23:55:36]accept exits with 8 [23:55:36]New connection [23:55:36]New thread 3067370852 created [23:55:36]Thread 3067227492 joined [23:55:36]Waiting for new connection... [23:55:36] Sock 8.Parse request [23:55:36]Sock 8.Check first char [23:55:36]Sock 8.First char is OK [23:55:36]request: POST /json_proto HTTP/1.0 [23:55:36]Method: POST [23:55:36]URL: /json_proto [23:55:36]Method is POST - this is cgi request [23:55:36]url: /json_proto [23:55:36]query_string will be loaded in cgi processing [23:55:36]execute_cgi json_proto POST (null) [23:55:36]execute_cgi path=json_proto method=POST [23:55:36]POST find Content-Length [23:55:36]Host: 172.17.56.68:8080 [23:55:36]Content-Length: 331 [23:55:36]Content-Type: application/json [23:55:36] [23:55:36]POST finish read [23:55:36]Found Content-Length = 331 [23:55: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:55:36]execute_script... [23:55: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:55:36]POST & json_proto [23:55:36]process_json_proto [23:55:36]json parsed OK: [23:55:36]protocol is kg_v1.0 [23:55:36]action value=get_value [23:55:36]process_action get_value [23:55:36]cmd_get_value [23:55:36]process_action get_value done [23:55:36]requested_data is exist [23:55:36]produce_requested_data [23:55:36]requested_item fm.sale.total is exist - process it [23:55:36]SAM_PROTO_GetFMData [23:55:36]wFMCommunicate request_size=4 [23:55:36]MH_SAM_APDU [23:55:36]CAPDU: 80 13 03 00 [23:55:36]Write to MH i2c: E2 08 00 C0 27 80 13 03 00 00 00 00 00 66 [23:55:36]Write i2c OK [23:55:36]MH_I2C_Read... [23:55:37]*** iso7816_exchange 80 13 03 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 C0 27 00 BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 ED [23:55:37]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:55:37]wFMCommunicate OK [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 C1 27 80 17 00 00 00 00 00 00 68 [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 C1 27 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 30 [23:55:37]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:55:37]wFMCommunicate OK [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 C2 27 80 17 00 00 00 00 00 00 69 [23:55:37]Write i2c OK [23:55:37]MH_I2C_Read... [23:55:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:38]Read from MH i2c: E2 [23:55:38]MH_I2C_Read... [23:55:38]Read from MH i2c: E2 FD 00 [23:55:38]MH_I2C_Read... [23:55:38]Read from MH i2c: E2 FD 00 C2 27 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 95 [23:55:38]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:55:38]wFMCommunicate OK [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 C3 27 80 17 00 00 00 00 00 00 6A [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 = 250! [23:55:38]Read from MH i2c: E2 [23:55:38]MH_I2C_Read... [23:55:38]Read from MH i2c: E2 FD 00 [23:55:38]MH_I2C_Read... [23:55:38]Read from MH i2c: E2 FD 00 C3 27 00 00 00 EF 03 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 90 00 DF [23:55:38]RAPDU: 00 00 EF 03 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 90 00 [23:55:38]wFMCommunicate OK [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 C4 27 80 17 00 00 00 00 00 00 6B [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 = 213! [23:55:38]Read from MH i2c: E2 [23:55:38]MH_I2C_Read... [23:55:38]Read from MH i2c: E2 D8 00 [23:55:38]MH_I2C_Read... [23:55:38]Read from MH i2c: E2 D8 00 C4 27 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 52 [23:55:38]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:38]wFMCommunicate OK [23:55:38]SAM_PROTO_GetFMData done [23:55:38]requested_item fm.sale_refund.total is exist - process it [23:55:38]requested_item fm.buy.total is exist - process it [23:55:38]requested_item shift.sale.total is exist - process it [23:55:38]SAM_PROTO_GetShiftData [23:55:38]wFMCommunicate request_size=4 [23:55:38]MH_SAM_APDU [23:55:38]CAPDU: 80 13 02 00 [23:55:38]Write to MH i2c: E2 08 00 C5 27 80 13 02 00 00 00 00 00 6A [23:55:38]Write i2c OK [23:55:38]MH_I2C_Read... [23:55:39]*** iso7816_exchange 80 13 02 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 C5 27 00 AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 6E [23:55:39]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:55:39]wFMCommunicate OK [23:55:39]wFMCommunicate request_size=4 [23:55:39]MH_SAM_APDU [23:55:39]CAPDU: 80 17 00 00 [23:55:39]Write to MH i2c: E2 08 00 C6 27 80 17 00 00 00 00 00 00 6D [23:55:39]Write i2c OK [23:55:39]MH_I2C_Read... [23:55:39]*** iso7816_exchange 80 17 00 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 C6 27 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 8F [23:55:40]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 OFD Sender: No OFD packet to send [23:55:40]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: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 C7 27 80 17 00 00 00 00 00 00 6E [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 C7 27 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 25 [23:55: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: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 C8 27 80 17 00 00 00 00 00 00 6F [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 C8 27 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 E1 [23:55: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: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 C9 27 80 17 00 00 00 00 00 00 70 [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 = 200! [23:55:41]Read from MH i2c: E2 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 CB 00 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 CB 00 C9 27 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 59 [23:55:41]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:41]wFMCommunicate OK [23:55:41]SAM_PROTO_GetShiftData done [23:55:41]requested_item shift.sale.total_cash is exist - process it [23:55:41]requested_item shift.sale_refund.total is exist - process it [23:55:41]requested_item shift.sale_refund.total_cash is exist - process it [23:55:41]requested_item shift.buy.total is exist - process it [23:55:41]requested_item shift.buy.total_cash is exist - process it [23:55:41]produce_requested_data done [23:55:41]produce_requested_data return {"fm.sale.total":925327.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":10108.00,"shift.sale.total_cash":7732.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:41]process_action_free get_value [23:55:41]json_value_free [23:55:41]json_value_free done [23:55:41]process_json_proto returns [23:55:41]Send response to host [23:55:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":925327.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":10108.00,"shift.sale.total_cash":7732.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:41]free response buf [23:55:41]execute_script done [23:55:41]execute_script returns [23:55:41]free content buf [23:55:41]Sock 8.Close socket [23:55:41]Sock 8.Thread stoped [23:55:41]accept exits with 9 [23:55:41]New connection [23:55:41]New thread 3067227492 created [23:55:41]Thread 3067370852 joined [23:55:41]Waiting for new connection... [23:55:41] Sock 9.Parse request [23:55:41]Sock 9.Check first char [23:55:41]Sock 9.First char is OK [23:55:41]request: POST /json_proto HTTP/1.0 [23:55:41]Method: POST [23:55:41]URL: /json_proto [23:55:41]Method is POST - this is cgi request [23:55:41]url: /json_proto [23:55:41]query_string will be loaded in cgi processing [23:55:41]execute_cgi json_proto POST (null) [23:55:41]execute_cgi path=json_proto method=POST [23:55:41]POST find Content-Length [23:55:41]Host: 172.17.56.68:8080 [23:55:41]Content-Length: 280 [23:55:41]Content-Type: application/json [23:55:41] [23:55:41]POST finish read [23:55:41]Found Content-Length = 280 [23:55:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041D\u0435\u043C\u0430\u0442\u0442\u0438\u043B\u043B\u0430 \u043A. \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:41]execute_script... [23:55:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041D\u0435\u043C\u0430\u0442\u0442\u0438\u043B\u043B\u0430 \u043A. \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:41]POST & json_proto [23:55:41]process_json_proto [23:55:41]json parsed OK: [23:55:41]protocol is kg_v1.0 [23:55:41]action value=close_shift [23:55:41]process_action close_shift [23:55:41]cmd_close_shift [23:55:41]MH_GetDate [23:55:41]Write to MH i2c: F0 00 00 CA 27 E0 [23:55:41]Write i2c OK [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: F0 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: F0 09 00 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: F0 09 00 CA 27 00 88 A9 5F 66 42 69 5C 66 4C [23:55:41]GetLastDocTimeStamp 1717545300 [23:55:41]current date 1717545352 [23:55:41]FM_GetShiftState [23:55:41]SAM_PROTO_GetShiftState [23:55:41]wFMCommunicate request_size=4 [23:55:41]MH_SAM_APDU [23:55:41]CAPDU: 80 13 01 00 [23:55:41]Write to MH i2c: E2 08 00 CB 27 80 13 01 00 00 00 00 00 6F [23:55:41]Write i2c OK [23:55:41]MH_I2C_Read... [23:55:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:41]Read from MH i2c: E2 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 0E 00 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 0E 00 CB 27 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 08 [23:55:41]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [23:55:41]wFMCommunicate OK [23:55:41]SAM_PROTO_GetShiftState done [23:55:41]FM_GetShiftState done [23:55:41]KKMCreateCloseShiftDocument [23:55:41]Load OK [23:55:41]Malloc new data [23:55:41]MH_GetDate [23:55:41]Write to MH i2c: F0 00 00 CC 27 E2 [23:55:41]Write i2c OK [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: F0 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: F0 09 00 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: F0 09 00 CC 27 00 88 A9 5F 66 42 69 5C 66 4E [23:55:41]Malloc new data [23:55:41]Malloc new data [23:55:41]Malloc new data [23:55:41]Malloc new data [23:55:41]KKMCreateCloseShiftDocument OK [23:55:41]KKMSetCloseShiftData OK [23:55:41]ProcessDocumentItem done err = 0, tmpTLVsize=79 [23:55:41]tlvbuf is 008CA4D0 [23:55:41]KKMLoadAndSignCloseShiftData [23:55:41]SAM_PROTO_ProcessDocument [23:55:41]wFMCommunicate request_size=9 [23:55:41]MH_SAM_APDU [23:55:41]CAPDU: 80 15 01 00 04 05 00 4F 00 [23:55:41]Write to MH i2c: E2 0C 00 CD 27 80 15 01 00 04 00 05 00 4F 00 00 00 CF [23:55:41]Write i2c OK [23:55:41]MH_I2C_Read... [23:55:41]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:55:41]Read from MH i2c: E2 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 03 00 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 03 00 CD 27 00 90 00 68 [23:55:41]RAPDU: 90 00 [23:55:41]wFMCommunicate OK [23:55:41]wFMCommunicate request_size=23 [23:55:41]MH_SAM_APDU [23:55:41]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:41]Write to MH i2c: E2 1A 00 CE 27 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 6A [23:55:41]Write i2c OK [23:55:41]MH_I2C_Read... [23:55:41]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:55:41]Read from MH i2c: E2 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 03 00 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 03 00 CE 27 00 90 00 69 [23:55:41]RAPDU: 90 00 [23:55:41]wFMCommunicate OK [23:55:41]wFMCommunicate request_size=38 [23:55:41]MH_SAM_APDU [23:55:41]CAPDU: 80 15 02 00 21 FD 03 1D 00 D0 9D D0 B5 D0 BC D0 B0 D1 82 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 BA 2E 20 D0 90 2E 20 [23:55:41]Write to MH i2c: E2 29 00 CF 27 80 15 02 00 21 00 FD 03 1D 00 D0 9D D0 B5 D0 BC D0 B0 D1 82 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 BA 2E 20 D0 90 2E 20 00 00 3D [23:55:41]Write i2c OK [23:55:41]MH_I2C_Read... [23:55:41]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:55:41]Read from MH i2c: E2 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 03 00 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 03 00 CF 27 00 90 00 6A [23:55:41]RAPDU: 90 00 [23:55:41]wFMCommunicate OK [23:55:41]wFMCommunicate request_size=13 [23:55:41]MH_SAM_APDU [23:55:41]CAPDU: 80 15 02 00 08 F4 03 04 00 88 A9 5F 66 [23:55:41]Write to MH i2c: E2 10 00 D0 27 80 15 02 00 08 00 F4 03 04 00 88 A9 5F 66 00 00 78 [23:55:42]Write i2c OK [23:55:42]MH_I2C_Read... [23:55:42]*** iso7816_exchange 80 15 02 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 D0 27 00 90 00 6B [23:55:42]RAPDU: 90 00 [23:55:42]wFMCommunicate OK [23:55:42]wFMCommunicate request_size=25 [23:55:42]MH_SAM_APDU [23:55:42]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 [23:55:42]Write to MH i2c: E2 1C 00 D1 27 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 00 00 DE [23:55:42]Write i2c OK [23:55:42]MH_I2C_Read... [23:55:42]*** iso7816_exchange 80 15 02 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 D1 27 00 90 00 6C [23:55:42]RAPDU: 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 15 03 00 [23:55:42]Write to MH i2c: E2 08 00 D2 27 80 15 03 00 00 00 00 00 7A [23:55:42]Write i2c OK [23:55:42]MH_I2C_Read... [23:55:42]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:55:42]Read from MH i2c: E2 [23:55:42]MH_I2C_Read... [23:55:42]Read from MH i2c: E2 FD 00 [23:55:42]MH_I2C_Read... [23:55:42]Read from MH i2c: E2 FD 00 D2 27 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2D 10 00 00 0E 04 04 00 53 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 21 [23:55:42]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2D 10 00 00 0E 04 04 00 53 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [23:55:42]wFMCommunicate OK [23:55:42]SAM_PROTO_ProcessDocument answer len = 1265 [23:55:42]SAM_PROTO_ProcessDocument remain to read = 1017 [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 D3 27 80 17 00 00 00 00 00 00 7A [23:55:42]Write i2c OK [23:55:42]MH_I2C_Read... [23:55:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:43]Read from MH i2c: E2 [23:55:43]MH_I2C_Read... [23:55:43]Read from MH i2c: E2 FD 00 [23:55:43]MH_I2C_Read... [23:55:43]Read from MH i2c: E2 FD 00 D3 27 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C3 [23:55:43]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:43]wFMCommunicate OK [23:55:43]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:43]SAM_PROTO_ProcessDocument remain to read = 767 [23:55:43]wFMCommunicate request_size=4 [23:55:43]MH_SAM_APDU [23:55:43]CAPDU: 80 17 00 00 [23:55:43]Write to MH i2c: E2 08 00 D4 27 80 17 00 00 00 00 00 00 7B [23:55:43]Write i2c OK [23:55:43]MH_I2C_Read... [23:55:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:43]Read from MH i2c: E2 [23:55:43]MH_I2C_Read... [23:55:43]Read from MH i2c: E2 FD 00 [23:55:43]MH_I2C_Read... [23:55:43]Read from MH i2c: E2 FD 00 D4 27 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 DD [23:55:43]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:43]wFMCommunicate OK [23:55:43]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:43]SAM_PROTO_ProcessDocument remain to read = 517 [23:55:43]wFMCommunicate request_size=4 [23:55:43]MH_SAM_APDU [23:55:43]CAPDU: 80 17 00 00 [23:55:43]Write to MH i2c: E2 08 00 D5 27 80 17 00 00 00 00 00 00 7C [23:55:43]Write i2c OK [23:55:43]MH_I2C_Read... [23:55:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:44]Read from MH i2c: E2 [23:55:44]MH_I2C_Read... [23:55:44]Read from MH i2c: E2 FD 00 [23:55:44]MH_I2C_Read... [23:55:44]Read from MH i2c: E2 FD 00 D5 27 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 06 [23:55:44]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:44]wFMCommunicate OK [23:55:44]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:44]SAM_PROTO_ProcessDocument remain to read = 267 [23:55:44]wFMCommunicate request_size=4 [23:55:44]MH_SAM_APDU [23:55:44]CAPDU: 80 17 00 00 [23:55:44]Write to MH i2c: E2 08 00 D6 27 80 17 00 00 00 00 00 00 7D [23:55:44]Write i2c OK [23:55:44]MH_I2C_Read... [23:55:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:44]Read from MH i2c: E2 [23:55:44]MH_I2C_Read... [23:55:44]Read from MH i2c: E2 FD 00 [23:55:44]MH_I2C_Read... [23:55:44]Read from MH i2c: E2 FD 00 D6 27 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 45 [23:55:44]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:45]wFMCommunicate OK [23:55:45]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:45]SAM_PROTO_ProcessDocument remain to read = 17 [23:55:45]wFMCommunicate request_size=4 [23:55:45]MH_SAM_APDU [23:55:45]CAPDU: 80 17 00 00 [23:55:45]Write to MH i2c: E2 08 00 D7 27 80 17 00 00 00 00 00 00 7E [23:55:45]Write i2c OK [23:55:45]MH_I2C_Read... [23:55:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [23:55:45]Read from MH i2c: E2 [23:55:45]MH_I2C_Read... [23:55:45]Read from MH i2c: E2 14 00 [23:55:45]MH_I2C_Read... [23:55:45]Read from MH i2c: E2 14 00 D7 27 00 01 00 06 F7 03 00 00 35 04 06 00 C6 B7 D6 98 23 41 90 00 12 [23:55:45]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 C6 B7 D6 98 23 41 90 00 [23:55:45]wFMCommunicate OK [23:55:45]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [23:55:45]SAM_PROTO_ProcessDocument done [23:55:45]1209 (1) - 1.0 - номер версии ФФД [23:55:45]1041 (16) - 0000000000959360 - номер ФМ [23:55:45]1040 (4) - 4141 - номер ФД [23:55:45]1038 (4) - 83 - номер смены [23:55:45]1118 (4) - 57 - количество кассовых чеков за смену [23:55:45]1111 (4) - 59 - общее количество ФД за смену [23:55:45]1194 (1194) - счетчики итогов смены [23:55:45] 1134 (4) - 57 - количество чеков со всеми признаками расчетов [23:55:45] 1129 (155) - счетчики операций «приход» [23:55:45] 1135 (4) - 57 - количество чеков по признаку расчетов [23:55:45] 1201 (3) - 10108.00 - общая итоговая сумма в чеках [23:55:45] 1136 (3) - 7732.00 - итоговая сумма в чеках наличными [23:55:45] 1138 (3) - 2376.00 - итоговая сумма в чеках безналичными [23:55:45] 1024 (122) - суммы налогов [23:55:45] 1006 (9) - суммы НДС [23:55:45] 1010 (1) - 0% - код ставки НДС [23:55:45] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:45] 1006 (12) - суммы НДС [23:55:45] 1010 (1) - 12% - код ставки НДС [23:55:45] 1011 (3) - 1073.36 - сумма НДС по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 0% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (11) - суммы НСП [23:55:45] 1014 (1) - 1% - код ставки НСП [23:55:45] 1015 (2) - 89.42 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 2% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 3% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 5% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 0,50% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 1,50% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1130 (141) - счетчики операций «возврат прихода» [23:55:45] 1135 (4) - 0 - количество чеков по признаку расчетов [23:55:45] 1201 (0) - 0.00OFD Sender: No OFD packet to send [23:55:45] - общая итоговая сумма в чеках [23:55:45] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:55:45] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:55:45] 1024 (117) - суммы налогов [23:55:45] 1006 (9) - суммы НДС [23:55:45] 1010 (1) - 0% - код ставки НДС [23:55:45] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:45] 1006 (9) - суммы НДС [23:55:45] 1010 (1) - 12% - код ставки НДС [23:55:45] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 0% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 1% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 2% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 3% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 5% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 0,50% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 1,50% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1131 (141) - счетчики операций «расход» [23:55:45] 1135 (4) - 0 - количество чеков по признаку расчетов [23:55:45] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:55:45] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:55:45] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:55:45] 1024 (117) - суммы налогов [23:55:45] 1006 (9) - суммы НДС [23:55:45] 1010 (1) - 0% - код ставки НДС [23:55:45] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:45] 1006 (9) - суммы НДС [23:55:45] 1010 (1) - 12% - код ставки НДС [23:55:45] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 0% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 1% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 2% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 3% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 5% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 0,50% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 1,50% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1132 (141) - счетчики операций «возврат расхода» [23:55:45] 1135 (4) - 0 - количество чеков по признаку расчетов [23:55:45] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:55:45] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:55:45] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:55:45] 1024 (117) - суммы налогов [23:55:45] 1006 (9) - суммы НДС [23:55:45] 1010 (1) - 0% - код ставки НДС [23:55:45] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:45] 1006 (9) - суммы НДС [23:55:45] 1010 (1) - 12% - код ставки НДС [23:55:45] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 0% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 1% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 2% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 3% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 5% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 0,50% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1007 (9) - суммы НСП [23:55:45] 1014 (1) - 1,50% - код ставки НСП [23:55:45] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:45] 1133 (588) - - счетчики коррекции - не используются [23:55:45]1077 (6) - 218492881609537 - ФПД [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1209 (04B9) [23:55:45]Malloc new data [23:55:45]Processing tag 1041 (0411) [23:55:45]Processing tag 1040 (0410) [23:55:45]Malloc new data [23:55:45]Processing tag 1038 (040E) [23:55:45]Malloc new data [23:55:45]Processing tag 1118 (045E) [23:55:45]Malloc new data [23:55:45]Processing tag 1111 (0457) [23:55:45]Malloc new data [23:55:45]Processing tag 1194 (04AA) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1134 (046E) [23:55:45]Malloc new data [23:55:45]Processing tag 1129 (0469) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1135 (046F) [23:55:45]Malloc new data [23:55:45]Processing tag 1201 (04B1) [23:55:45]Malloc new data [23:55:45]Processing tag 1136 (0470) [23:55:45]Malloc new data [23:55:45]Processing tag 1138 (0472) [23:55:45]Malloc new data [23:55:45]Processing tag 1024 (0400) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1006 (03EE) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1010 (03F2) [23:55:45]Malloc new data [23:55:45]Processing tag 1011 (03F3) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1006 (03EE) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1010 (03F2) [23:55:45]Malloc new data [23:55:45]Processing tag 1011 (03F3) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1007 (03EF) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1014 (03F6) [23:55:45]Malloc new data [23:55:45]Processing tag 1015 (03F7) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1007 (03EF) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1014 (03F6) [23:55:45]Malloc new data [23:55:45]Processing tag 1015 (03F7) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1007 (03EF) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1014 (03F6) [23:55:45]Malloc new data [23:55:45]Processing tag 1015 (03F7) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1007 (03EF) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1014 (03F6) [23:55:45]Malloc new data [23:55:45]Processing tag 1015 (03F7) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1007 (03EF) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1014 (03F6) [23:55:45]Malloc new data [23:55:45]Processing tag 1015 (03F7) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1007 (03EF) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1014 (03F6) [23:55:45]Malloc new data [23:55:45]Processing tag 1015 (03F7) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1007 (03EF) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1014 (03F6) [23:55:45]Malloc new data [23:55:45]Processing tag 1015 (03F7) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]SetTLVBufToDocument err=0 [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1130 (046A) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1135 (046F) [23:55:45]Malloc new data [23:55:45]Processing tag 1201 (04B1) [23:55:45]Malloc new data [23:55:45]Processing tag 1136 (0470) [23:55:45]Malloc new data [23:55:45]Processing tag 1138 (0472) [23:55:45]Malloc new data [23:55:45]Processing tag 1024 (0400) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1006 (03EE) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1010 (03F2) [23:55:45]Malloc new data [23:55:45]Processing tag 1011 (03F3) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1006 (03EE) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1010 (03F2) [23:55:45]Malloc new data [23:55:45]Processing tag 1011 (03F3) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1007 (03EF) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1014 (03F6) [23:55:45]Malloc new data [23:55:45]Processing tag 1015 (03F7) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1007 (03EF) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1014 (03F6) [23:55:45]Malloc new data [23:55:45]Processing tag 1015 (03F7) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1007 (03EF) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1014 (03F6) [23:55:45]Malloc new data [23:55:45]Processing tag 1015 (03F7) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1007 (03EF) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1014 (03F6) [23:55:45]Malloc new data [23:55:45]Processing tag 1015 (03F7) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1007 (03EF) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1014 (03F6) [23:55:45]Malloc new data [23:55:45]Processing tag 1015 (03F7) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1007 (03EF) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1014 (03F6) [23:55:45]Malloc new data [23:55:45]Processing tag 1015 (03F7) [23:55:45]Malloc new data [23:55:45]SetTLVBufToDocument err=0 [23:55:45]Processing tag 1007 (03EF) [23:55:45]Load OK [23:55:45]SetTLVBufToDocument [23:55:45]Processing tag 1014 (03F6) [23:55:45]Malloc new data [23:55:45]Processing tag 1015 (03F7) [23:55:45]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]SetTLVBufToDocument err=0 [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1131 (046B) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1135 (046F) [23:55:46]Malloc new data [23:55:46]Processing tag 1201 (04B1) [23:55:46]Malloc new data [23:55:46]Processing tag 1136 (0470) [23:55:46]Malloc new data [23:55:46]Processing tag 1138 (0472) [23:55:46]Malloc new data [23:55:46]Processing tag 1024 (0400) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1006 (03EE) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1010 (03F2) [23:55:46]Malloc new data [23:55:46]Processing tag 1011 (03F3) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1006 (03EE) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1010 (03F2) [23:55:46]Malloc new data [23:55:46]Processing tag 1011 (03F3) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1007 (03EF) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1014 (03F6) [23:55:46]Malloc new data [23:55:46]Processing tag 1015 (03F7) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1007 (03EF) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1014 (03F6) [23:55:46]Malloc new data [23:55:46]Processing tag 1015 (03F7) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1007 (03EF) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1014 (03F6) [23:55:46]Malloc new data [23:55:46]Processing tag 1015 (03F7) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1007 (03EF) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1014 (03F6) [23:55:46]Malloc new data [23:55:46]Processing tag 1015 (03F7) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1007 (03EF) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1014 (03F6) [23:55:46]Malloc new data [23:55:46]Processing tag 1015 (03F7) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1007 (03EF) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1014 (03F6) [23:55:46]Malloc new data [23:55:46]Processing tag 1015 (03F7) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1007 (03EF) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1014 (03F6) [23:55:46]Malloc new data [23:55:46]Processing tag 1015 (03F7) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]SetTLVBufToDocument err=0 [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1132 (046C) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1135 (046F) [23:55:46]Malloc new data [23:55:46]Processing tag 1201 (04B1) [23:55:46]Malloc new data [23:55:46]Processing tag 1136 (0470) [23:55:46]Malloc new data [23:55:46]Processing tag 1138 (0472) [23:55:46]Malloc new data [23:55:46]Processing tag 1024 (0400) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1006 (03EE) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1010 (03F2) [23:55:46]Malloc new data [23:55:46]Processing tag 1011 (03F3) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1006 (03EE) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1010 (03F2) [23:55:46]Malloc new data [23:55:46]Processing tag 1011 (03F3) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1007 (03EF) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1014 (03F6) [23:55:46]Malloc new data [23:55:46]Processing tag 1015 (03F7) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1007 (03EF) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1014 (03F6) [23:55:46]Malloc new data [23:55:46]Processing tag 1015 (03F7) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1007 (03EF) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1014 (03F6) [23:55:46]Malloc new data [23:55:46]Processing tag 1015 (03F7) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1007 (03EF) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1014 (03F6) [23:55:46]Malloc new data [23:55:46]Processing tag 1015 (03F7) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1007 (03EF) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1014 (03F6) [23:55:46]Malloc new data [23:55:46]Processing tag 1015 (03F7) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1007 (03EF) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1014 (03F6) [23:55:46]Malloc new data [23:55:46]Processing tag 1015 (03F7) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1007 (03EF) [23:55:46]Load OK [23:55:46]SetTLVBufToDocument [23:55:46]Processing tag 1014 (03F6) [23:55:46]Malloc new data [23:55:46]Processing tag 1015 (03F7) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]SetTLVBufToDocument err=0 [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1133 (046D) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Processing tag 1077 (0435) [23:55:46]Malloc new data [23:55:46]SetTLVBufToDocument err=0 [23:55:46]Malloc new data [23:55:46]SAM_PROTO_GetFMData [23:55:46]wFMCommunicate request_size=4 [23:55:46]MH_SAM_APDU [23:55:46]CAPDU: 80 13 03 00 [23:55:46]Write to MH i2c: E2 08 00 D8 27 80 13 03 00 00 00 00 00 7E [23:55:46]Write i2c OK [23:55:46]MH_I2C_Read... [23:55:46]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:55:46]Read from MH i2c: E2 [23:55:46]MH_I2C_Read... [23:55:46]Read from MH i2c: E2 FD 00 [23:55:46]MH_I2C_Read... [23:55:46]Read from MH i2c: E2 FD 00 D8 27 00 BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 05 [23:55:46]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:55:47]wFMCommunicate OK [23:55:47]wFMCommunicate request_size=4 [23:55:47]MH_SAM_APDU [23:55:47]CAPDU: 80 17 00 00 [23:55:47]Write to MH i2c: E2 08 00 D9 27 80 17 00 00 00 00 00 00 80 [23:55:47]Write i2c OK [23:55:47]MH_I2C_Read... [23:55:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:47]Read from MH i2c: E2 [23:55:47]MH_I2C_Read... [23:55:47]Read from MH i2c: E2 FD 00 [23:55:47]MH_I2C_Read... [23:55:47]Read from MH i2c: E2 FD 00 D9 27 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 48 [23:55:47]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:55:47]wFMCommunicate OK [23:55:47]wFMCommunicate request_size=4 [23:55:47]MH_SAM_APDU [23:55:47]CAPDU: 80 17 00 00 [23:55:47]Write to MH i2c: E2 08 00 DA 27 80 17 00 00 00 00 00 00 81 [23:55:47]Write i2c OK [23:55:47]MH_I2C_Read... [23:55:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:47]Read from MH i2c: E2 [23:55:47]MH_I2C_Read... [23:55:47]Read from MH i2c: E2 FD 00 [23:55:47]MH_I2C_Read... [23:55:47]Read from MH i2c: E2 FD 00 DA 27 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AD [23:55:48]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:55:48]wFMCommunicate OK [23:55:48]wFMCommunicate request_size=4 [23:55:48]MH_SAM_APDU [23:55:48]CAPDU: 80 17 00 00 [23:55:48]Write to MH i2c: E2 08 00 DB 27 80 17 00 00 00 00 00 00 82 [23:55:48]Write i2c OK [23:55:48]MH_I2C_Read... [23:55:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:48]Read from MH i2c: E2 [23:55:48]MH_I2C_Read... [23:55:48]Read from MH i2c: E2 FD 00 [23:55:48]MH_I2C_Read... [23:55:48]Read from MH i2c: E2 FD 00 DB 27 00 00 00 EF 03 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 90 00 F7 [23:55:48]RAPDU: 00 00 EF 03 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 90 00 [23:55:48]wFMCommunicate OK [23:55:48]wFMCommunicate request_size=4 [23:55:48]MH_SAM_APDU [23:55:48]CAPDU: 80 17 00 00 [23:55:48]Write to MH i2c: E2 08 00 DC 27 80 17 00 00 00 00 00 00 83 [23:55:48]Write i2c OK [23:55:48]MH_I2C_Read... [23:55:49]Read from MH i2c: E2 [23:55:49]MH_I2C_Read... [23:55:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:55:49]Read from MH i2c: E2 D8 00 [23:55:49]MH_I2C_Read... [23:55:49]Read from MH i2c: E2 D8 00 DC 27 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 6A [23:55:49]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:49]wFMCommunicate OK [23:55:49]SAM_PROTO_GetFMData done [23:55:49]Malloc new data [23:55:49]Malloc new data [23:55:49]Malloc new data [23:55:49]Malloc new data [23:55:49]KKMLoadAndSignCloseShiftData err=0 [23:55:49]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Нематтилла к. А. 04.06.2024 23:55 Смена: 83 РНМ: 0000000000145775 ЗНМ: 0300000233 СНО: Общий режим Чеков за смену: 57 ФД за смену: 59 Всего чеков: 57 ИТОГИ ПРИХОД Чеков: 57 Общий итог: 10108.00 Итого наличными: 7732.00 Итого безнал.: 2376.00 НДС 0% : 0.00 НДС 12% : 1073.36 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 89.42 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 7732.00 НС Приход: 925327.31 НС Возвр.Прихода: 1764.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 4141 ФМ: 0000000000959360 ФПД: 218492881609537 [23:55:49]StoreToDocumentArchive [23:55:49]shift 83 fd 4141 [23:55:49]save to /storage/0083/doc_00004141 [23:55:49]save last doc name /storage/0083/doc_00004141 to /storage/kkm_last_doc_name [23:55:49]save OK [23:55:49]Clear old archive folders... [23:55:49]Remove dir /storage/0010 [23:55:49]opendir ok [23:55:49]file . [23:55:49]file .. [23:55:49]file doc_1717545307 [23:55:49]remove file /storage/0010/doc_1717545307 [23:55:49]remove dir /storage/0010 [23:55:49]NVStorageSaveData kkm_registers [23:55:49]File name is /storage/kkm_registers [23:55:49]Write 24 bytes [23:55:49]NVStorageSaveData done [23:55:49]NVStorageSaveData kkm_registers [23:55:49]File name is /storage/kkm_registers [23:55:49]Write 24 bytes [23:55:49]NVStorageSaveData done [23:55:49]ProcessDocumentItem done err = 0, tmpTLVsize=1387 [23:55:49]tlvbuf is 0083B300 [23:55:49]SAM_PROTO_ClearQueue [23:55:49]wFMCommunicate request_size=4 [23:55:49]MH_SAM_APDU [23:55:49]CAPDU: 80 09 00 00 [23:55:49]Write to MH i2c: E2 08 00 DD 27 80 09 00 00 00 00 00 00 76 [23:55:49]Write i2c OK [23:55:49]MH_I2C_Read... [23:55:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:55:49]Read from MH i2c: E2 [23:55:49]MH_I2C_Read... [23:55:49]Read from MH i2c: E2 03 00 [23:55:49]MH_I2C_Read... [23:55:49]Read from MH i2c: E2 03 00 DD 27 00 90 00 78 [23:55:49]RAPDU: 90 00 [23:55:49]wFMCommunicate OK [23:55:49]SAM_PROTO_ClearQueue done [23:55:49]KKMCreateOFDPacket [23:55:49]OFDProtocolAddRootSTLVToBuf [23:55:49]FM_MakeSignedData [23:55:49]FM_MakeSignedData [23:55:49]SAM_PROTO_SignData [23:55:49]wFMCommunicate request_size=4 [23:55:49]MH_SAM_APDU [23:55:49]CAPDU: 80 0D 01 02 [23:55:49]Write to MH i2c: E2 08 00 DE 27 80 0D 01 02 00 00 00 00 7E [23:55:49]Write i2c OK [23:55:49]MH_I2C_Read... [23:55:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:55:49]Read from MH i2c: E2 [23:55:49]MH_I2C_Read... [23:55:49]Read from MH i2c: E2 03 00 [23:55:49]MH_I2C_Read... [23:55:49]Read from MH i2c: E2 03 00 DE 27 00 90 00 79 [23:55:49]RAPDU: 90 00 [23:55:49]wFMCommunicate OK [23:55:49]wFMCommunicate request_size=255 [23:55:49]MH_SAM_APDU [23:55:49]CAPDU: 80 0D 02 02 FA 05 00 6B 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 1D 00 D0 9D D0 B5 D0 BC D0 B0 D1 82 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 BA 2E 20 D0 90 2E 20 F4 03 04 00 88 A9 5F 66 0E 04 04 00 53 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 AA 04 D5 04 6E 04 04 00 39 00 00 00 69 04 A2 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A [23:55:49]Write to MH i2c: E2 02 01 DF 27 80 0D 02 02 FA 00 05 00 6B 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 1D 00 D0 9D D0 B5 D0 BC D0 B0 D1 82 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 BA 2E 20 D0 90 2E 20 F4 03 04 00 88 A9 5F 66 0E 04 04 00 53 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 AA 04 D5 04 6E 04 04 00 39 00 00 00 69 04 A2 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 00 57 [23:55:49]Write i2c OK [23:55:49]MH_I2C_Read... [23:55:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:50]Read from MH i2c: E2 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: E2 03 00 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: E2 03 00 DF 27 00 90 00 7A [23:55:50]RAPDU: 90 00 [23:55:50]wFMCommunicate OK [23:55:50]wFMCommunicate request_size=255 [23:55:50]MH_SAM_APDU [23:55:50]CAPDU: 80 0D 02 02 FA 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 EE 22 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 [23:55:50]Write to MH i2c: E2 02 01 E0 27 80 0D 02 02 FA 00 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 EE 22 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 OFD Sender: No OFD packet to send [23:55:50]00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 00 00 00 [23:55:50]Write i2c OK [23:55:50]MH_I2C_Read... [23:55:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:50]Read from MH i2c: E2 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: E2 03 00 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: E2 03 00 E0 27 00 90 00 7B [23:55:50]RAPDU: 90 00 [23:55:50]wFMCommunicate OK [23:55:50]wFMCommunicate request_size=255 [23:55:50]MH_SAM_APDU [23:55:50]CAPDU: 80 0D 02 02 FA 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 [23:55:51]Write to MH i2c: E2 02 01 E1 27 80 0D 02 02 FA 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 00 46 [23:55:51]Write i2c OK [23:55:51]MH_I2C_Read... [23:55:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:51]Read from MH i2c: E2 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: E2 03 00 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: E2 03 00 E1 27 00 90 00 7C [23:55:51]RAPDU: 90 00 [23:55:51]wFMCommunicate OK [23:55:51]wFMCommunicate request_size=255 [23:55:51]MH_SAM_APDU [23:55:51]CAPDU: 80 0D 02 02 FA 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 [23:55:51]Write to MH i2c: E2 02 01 E2 27 80 0D 02 02 FA 00 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 00 00 3F [23:55:51]Write i2c OK [23:55:51]MH_I2C_Read... [23:55:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:52]Read from MH i2c: E2 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 03 00 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 03 00 E2 27 00 90 00 7D [23:55:52]RAPDU: 90 00 [23:55:52]wFMCommunicate OK [23:55:52]wFMCommunicate request_size=255 [23:55:52]MH_SAM_APDU [23:55:52]CAPDU: 80 0D 02 02 FA 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE [23:55:52]Write to MH i2c: E2 02 01 E3 27 80 0D 02 02 FA 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 00 00 10 [23:55:52]Write i2c OK [23:55:52]MH_I2C_Read... [23:55:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:52]Read from MH i2c: E2 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 03 00 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 03 00 E3 27 00 90 00 7E [23:55:52]RAPDU: 90 00 [23:55:52]wFMCommunicate OK [23:55:52]wFMCommunicate request_size=146 [23:55:52]MH_SAM_APDU [23:55:52]CAPDU: 80 0D 02 02 8D 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2D 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 C6 B7 D6 98 23 41 [23:55:52]Write to MH i2c: E2 95 00 E4 27 80 0D 02 02 8D 00 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2D 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 C6 B7 D6 98 23 41 00 00 5E [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:53]Read from MH i2c: E2 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 03 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 03 00 E4 27 00 90 00 7F [23:55:53]RAPDU: 90 00 [23:55:53]wFMCommunicate OK [23:55:53]wFMCommunicate request_size=4 [23:55:53]MH_SAM_APDU [23:55:53]CAPDU: 80 0D 03 02 [23:55:53]Write to MH i2c: E2 08 00 E5 27 80 0D 03 02 00 00 00 00 87 [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:55:53]Read from MH i2c: E2 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 0B 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 0B 00 E5 27 00 E5 4C E3 F8 28 82 03 37 90 00 78 [23:55:53]RAPDU: E5 4C E3 F8 28 82 03 37 90 00 [23:55:53]wFMCommunicate OK [23:55:53]SAM_PROTO_SignData done [23:55:53]FM_MakeSignedData done [23:55:53]CreateOFDProtocolMessage [23:55:53]wFMCommunicate request_size=4 [23:55:53]MH_SAM_APDU [23:55:53]CAPDU: 80 11 00 00 [23:55:53]Write to MH i2c: E2 08 00 E6 27 80 11 00 00 00 00 00 00 87 [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:53]Read from MH i2c: E2 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 17 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 17 00 E6 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 DA [23:55:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:55:53]wFMCommunicate OK [23:55:53]CreateOFDProtocolMessage done [23:55:53]OFDSenderStorePacket 4141 [23:55:53]StoreOFDPacket docnum=4141 [23:55:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 7F 05 00 00 8D 65 77 05 AD B7 5A 05 01 00 05 00 6B 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 1D 00 D0 9D D0 B5 D0 BC D0 B0 D1 82 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 BA 2E 20 D0 90 2E 20 F4 03 04 00 88 A9 5F 66 0E 04 04 00 53 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 AA 04 D5 04 6E 04 04 00 39 00 00 00 69 04 A2 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 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 2D 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 C6 B7 D6 98 23 41 E5 4C E3 F8 28 82 03 37 [23:55:53]CheckFolder [23:55:53]dirname=/storage/ofd_packets [23:55:53]CheckFolder done [23:55:53]ProducePacketName [23:55:53]name=ofd_packets/00004141 [23:55:53]NVStorageSaveData ofd_packets/00004141 [23:55:53]File name is /storage/ofd_packets/00004141 [23:55:53]Write 1437 bytes [23:55:53]NVStorageSaveData done [23:55:53]OFDSenderStorePacket done [23:55:53]KKMCreateOFDPacket done [23:55:53]NVStorageSaveData kkm_last_timestamp [23:55:53]File name is /storage/kkm_last_timestamp [23:55:53]Write 4 bytes [23:55:53]NVStorageSaveData done [23:55:53]ExternCall_PrintAddStr [23:55:53]wPrintStart [23:55:53]Write to MH i2c: 01 00 00 E7 27 0E [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: 01 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: 01 07 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: 01 07 00 E7 27 00 00 00 00 00 FF 0F 23 [23:55:53]RasterBufferAndPrint [23:55:53]line Отчет о закрытии смены [23:55:53]line ФФД: 1.0 [23:55:53]line ИНН: 02508201610067 [23:55:53]line Кассир: Нематтилла к. А. [23:55:53]line 04.06.2024 23:55 [23:55:53]line Смена: 83 [23:55:53]line РНМ: 0000000000145775 [23:55:53]line ЗНМ: 0300000233 [23:55:53]line СНО: Общий режим [23:55:53]line Чеков за смену: 57 [23:55:53]line ФД за смену: 59 [23:55:53]line Всего чеков: 57 [23:55:53]line ИТОГИ ПРИХОД [23:55:53]line Чеков: 57 [23:55:53]line Общий итог: 10108.00 [23:55:53]line Итого наличными: 7732.00 [23:55:53]line Итого безнал.: 2376.00 [23:55:53]line НДС 0% : 0.00 [23:55:53]line НДС 12% : 1073.36 [23:55:53]line НСП 0% : 0.00 [23:55:53]line НСП 1,50% : 0.00 [23:55:53]line НСП 0,50% : 0.00 [23:55:53]line НСП 5% : 0.00 [23:55:53]line НСП 3% : 0.00 [23:55:53]line НСП 2% : 0.00 [23:55:53]line НСП 1% : 89.42 [23:55:53]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:55:53]line Чеков: 0 [23:55:53]line Общий итог: 0.00 [23:55:53]line Итого наличными: 0.00 [23:55:53]line Итого безнал.: 0.00 [23:55:53]line НДС 0% : 0.00 [23:55:53]line НДС 12% : 0.00 [23:55:53]line НСП 0% : 0.00 [23:55:53]line НСП 1,50% : 0.00 [23:55:53]line НСП 0,50% : 0.00 [23:55:53]line НСП 5% : 0.00 [23:55:53]line НСП 3% : 0.00 [23:55:53]line НСП 2% : 0.00 [23:55:53]line НСП 1% : 0.00 [23:55:53]line ИТОГИ РАСХОД [23:55:53]line Чеков: 0 [23:55:53]line Общий итог: 0.00 [23:55:53]line Итого наличными: 0.00 [23:55:53]line Итого безнал.: 0.00 [23:55:53]line НДС 0% : 0.00 [23:55:53]line НДС 12% : 0.00 [23:55:53]line НСП 0% : 0.00 [23:55:53]line НСП 1,50% : 0.00 [23:55:53]line НСП 0,50% : 0.00 [23:55:53]line НСП 5% : 0.00 [23:55:53]line НСП 3% : 0.00 [23:55:53]line НСП 2% : 0.00 [23:55:53]line НСП 1% : 0.00 [23:55:53]line ИТОГИ ВОЗВРАТ РАСХОДА [23:55:53]line Чеков: 0 [23:55:53]line Общий итог: 0.00 [23:55:53]line Итого наличными: 0.00 [23:55:53]line Итого безнал.: 0.00 [23:55:53]line НДС 0% : 0.00 [23:55:53]line НДС 12% : 0.00 [23:55:53]line НСП 0% : 0.00 [23:55:53]line НСП 1,50% : 0.00 [23:55:53]line НСП 0,50% : 0.00 [23:55:53]line НСП 5% : 0.00 [23:55:53]line НСП 3% : 0.00 [23:55:53]line НСП 2% : 0.00 [23:55:53]line НСП 1% : 0.00 [23:55:53]line Сумма внесений: 0.00 [23:55:53]line Сумма выплат: 0.00 [23:55:53]line Нал. в кассе: 7732.00 [23:55:53]line НС Приход: 925327.31 [23:55:53]line НС Возвр.Прихода: 1764.00 [23:55:53]line НС Расход: 0.00 [23:55:53]line НС Возвр.Расхода: 0.00 [23:55:53]line ФД: 4141 [23:55:53]line ФМ: 0000000000959360 [23:55:53]line ФПД: 218492881609537 [23:55:53]OFD Sender: Processing packet 4141 [packets to send 2, broken 1] [23:55:53]ProducePacketName [23:55:53]name=ofd_packets/00004141 [23:55:53]OFD Sender: To server: pG, [23:55:53]CommunicateWithHost lk.salyk.kg:30040 [23:55:53]ConnectInit lk.salyk.kg [23:55:53]written 0, free lines is 4095 [23:55:53]Connected sock=10 [23:55:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 7F 05 00 00 8D 65 77 05 AD B7 5A 05 01 00 05 00 6B 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 1D 00 D0 9D D0 B5 D0 BC D0 B0 D1 82 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 BA 2E 20 D0 90 2E 20 F4 03 04 00 88 A9 5F 66 0E 04 04 00 53 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 AA 04 D5 04 6E 04 04 00 39 00 00 00 69 04 A2 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 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 Write to MH i2c: EF 01 03 00 0A 00 00 37 F6 28 03 5F [23:55:54]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 Write i2c OK [23:55:54]03 MH_I2C_Read... [23:55:54]00 Read from MH i2c: 00 01 EE [23:55:54]03 MH_I2C_Read... [23:55:54]09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 Read from MH i2c: 01 01 00 07 00 00 F7 [23:55:54]03 MH_I2C_Read... [23:55:54]00 Read from MH i2c: 00 01 EF 07 00 03 37 09 28 00 00 F6 00 03 00 01 00 00 00 26 0A 96 [23:55:54]RasterBufferAndPrint [23:55:54]line [23:55:54]line [23:55:54]line [23:55:54]line [23:55:54]01 line [23:55:54]F7 03 written 0, free lines is 2747 [23:55:54]00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 MH_Cut [23:55:54]00 Write to MH i2c: EF D1 03 01 09 00 3E 00 28 F6 01 03 38 [23:55:54]01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 Write i2c OK [23:55:54]F7 MH_I2C_Read... [23:55:54]03 Read from MH i2c: 00 D1 00 [23:55:54]EF MH_I2C_Read... [23:55:54]03 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 Read from MH i2c: 04 D1 75 01 00 00 EE [23:55:54]03 MH_I2C_Read... [23:55:54]09 00 F2 03 01 00 00 F3 03 00 00 Read from MH i2c: EE D1 03 01 09 00 00 3E F2 28 03 00 01 00 01 F3 03 00 00 EF 37 03 [23:55:54]09 Write to MH i2c: 00 01 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 00 00 01 3F F7 28 03 67 00 [23:55:54]00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 Write i2c OK [23:55:54]F6 MH_I2C_Read... [23:55:54]03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2D 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 C6 B7 D6 98 23 41 E5 4C E3 F8 28 82 03 37 [23:55:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 AD 58 47 00 B7 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 30 39 35 39 33 36 30 10 04 04 00 2D 10 00 00 F4 03 04 00 93 55 5F 66 B6 04 01 00 00 08 29 30 60 42 E1 25 D5 [23:55:55]CommunicateWithHost err = 0 [23:55:55]CheckOFDResponse [23:55:55]1017 (14) - 77093643461234 [23:55:55]1041 (16) - 0000000000959360 [23:55:55]1040 (4) - 4141 [23:55:55]1012 (4) - 04.06.2024 17:57 [23:55:55]1206 (1) - 0 [23:55:55]OFD Sender: Remove packet 4141 [23:55:55]ProducePacketName [23:55:55]name=ofd_packets/00004141 [23:55:55]NVStorageDeleteData [23:55:55]*** Cut start [23:55:55]*** Partial cut [23:55:55]*** CUTSNS_PIN = 1 [23:55:56]*** CUTSNS_PIN = 0 [23:55:56]OFD Sender: No OFD packet to send [23:55:56]*** Brake cut motor [23:55:56]Read from MH i2c: 01 [23:55:56]MH_I2C_Read... [23:55:56]*** Stop cut motor [23:55:56]*** Cut end [23:55:56]Read from MH i2c: 01 07 00 [23:55:56]MH_I2C_Read... [23:55:56]Read from MH i2c: 01 07 00 3F 28 00 00 00 00 00 FF 0F 7C [23:55:56]process_action close_shift done [23:55:56]requested_data is exist [23:55:56]produce_requested_data [23:55:56]requested_item fd.num is exist - process it [23:55:56]SAM_PROTO_GetFieldsCounters [23:55:56]wFMCommunicate request_size=4 [23:55:56]MH_SAM_APDU [23:55:56]CAPDU: 80 13 00 00 [23:55:56]Write to MH i2c: E2 08 00 40 28 80 13 00 00 00 00 00 00 E4 [23:55:56]Write i2c OK [23:55:56]MH_I2C_Read... [23:55:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:55:56]Read from MH i2c: E2 [23:55:56]MH_I2C_Read... [23:55:56]Read from MH i2c: E2 62 00 [23:55:56]MH_I2C_Read... [23:55:56]Read from MH i2c: E2 62 00 40 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2D 10 00 00 0E 04 04 00 53 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 45 [23:55:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2D 10 00 00 0E 04 04 00 53 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:55:56]wFMCommunicate OK [23:55:56]SAM_PROTO_GetFieldsCounters done [23:55:56]requested_item shift.num is exist - process it [23:55:56]requested_item shift.opened is exist - process it [23:55:56]req_shift_opened [23:55:56]FM_GetShiftState [23:55:56]SAM_PROTO_GetShiftState [23:55:56]wFMCommunicate request_size=4 [23:55:56]MH_SAM_APDU [23:55:56]CAPDU: 80 13 01 00 [23:55:56]Write to MH i2c: E2 08 00 41 28 80 13 01 00 00 00 00 00 E6 [23:55:56]Write i2c OK [23:55:56]MH_I2C_Read... [23:55:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:57]Read from MH i2c: E2 [23:55:57]MH_I2C_Read... [23:55:57]Read from MH i2c: E2 0E 00 [23:55:57]MH_I2C_Read... [23:55:57]Read from MH i2c: E2 0E 00 41 28 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F1 [23:55:57]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:55:57]wFMCommunicate OK [23:55:57]SAM_PROTO_GetShiftState done [23:55:57]FM_GetShiftState done [23:55:57]req_shift_opened done [23:55:57]requested_item shift.open_date is exist - process it [23:55:57]req_shift_open_date [23:55:57]FM_GetShiftState [23:55:57]SAM_PROTO_GetShiftState [23:55:57]wFMCommunicate request_size=4 [23:55:57]MH_SAM_APDU [23:55:57]CAPDU: 80 13 01 00 [23:55:57]Write to MH i2c: E2 08 00 42 28 80 13 01 00 00 00 00 00 E7 [23:55:57]Write i2c OK [23:55:57]MH_I2C_Read... [23:55:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:57]Read from MH i2c: E2 [23:55:57]MH_I2C_Read... [23:55:57]Read from MH i2c: E2 0E 00 [23:55:57]MH_I2C_Read... [23:55:57]Read from MH i2c: E2 0E 00 42 28 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F2 [23:55:57]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:55:57]wFMCommunicate OK [23:55:57]SAM_PROTO_GetShiftState done [23:55:57]FM_GetShiftState done [23:55:57]req_shift_open_date done [23:55:57]produce_requested_data done [23:55:57]produce_requested_data return {"fd.num":4141,"shift.num":83,"shift.opened":0,"shift.open_date":0} [23:55:57]process_action_free close_shift [23:55:57]json_value_free [23:55:57]json_value_free done [23:55:57]process_json_proto returns [23:55:57]Send response to host [23:55:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":4141,"shift.num":83,"shift.opened":0,"shift.open_date":0}}} [23:55:57]free response buf [23:55:57]execute_script done [23:55:57]execute_script returns [23:55:57]free content buf [23:55:57]Sock 9.Close socket [23:55:57]Sock 9.Thread stoped [23:56:01]OFD Sender: No OFD packet to send [23:56:06]OFD Sender: No OFD packet to send [23:56:11]OFD Sender: No OFD packet to send [23:56:16]OFD Sender: No OFD packet to send [23:56:21]OFD Sender: No OFD packet to send [23:56:26]OFD Sender: No OFD packet to send [23:56:31]OFD Sender: No OFD packet to send [23:56:36]OFD Sender: No OFD packet to send [23:56:41]OFD Sender: No OFD packet to send [23:56:46]OFD Sender: No OFD packet to send [23:56:51]OFD Sender: No OFD packet to send [23:56:56]OFD Sender: No OFD packet to send [23:57:01]OFD Sender: No OFD packet to send [23:57:06]OFD Sender: No OFD packet to send [23:57:11]OFD Sender: No OFD packet to send [23:57:16]OFD Sender: No OFD packet to send [23:57:21]OFD Sender: No OFD packet to send [23:57:26]OFD Sender: No OFD packet to send [23:57:31]OFD Sender: No OFD packet to send [23:57:36]OFD Sender: No OFD packet to send [23:57:41]OFD Sender: No OFD packet to send [23:57:46]OFD Sender: No OFD packet to send [23:57:51]OFD Sender: No OFD packet to send [23:57:56]OFD Sender: No OFD packet to send [23:58:01]OFD Sender: No OFD packet to send [23:58:06]OFD Sender: No OFD packet to send [23:58:11]OFD Sender: No OFD packet to send [23:58:16]OFD Sender: No OFD packet to send [23:58:21]OFD Sender: No OFD packet to send [23:58:26]OFD Sender: No OFD packet to send [23:58:31]OFD Sender: No OFD packet to send [23:58:36]OFD Sender: No OFD packet to send [23:58:41]OFD Sender: No OFD packet to send [23:58:46]OFD Sender: No OFD packet to send [23:58:51]OFD Sender: No OFD packet to send [23:58:56]OFD Sender: No OFD packet to send [23:59:01]OFD Sender: No OFD packet to send [23:59:06]OFD Sender: No OFD packet to send [23:59:11]OFD Sender: No OFD packet to send [23:59:16]OFD Sender: No OFD packet to send [23:59:21]OFD Sender: No OFD packet to send [23:59:26]OFD Sender: No OFD packet to send [23:59:31]OFD Sender: No OFD packet to send [23:59:36]OFD Sender: No OFD packet to send [23:59:41]OFD Sender: No OFD packet to send [23:59:46]OFD Sender: No OFD packet to send [23:59:51]OFD Sender: No OFD packet to send [23:59:56]OFD Sender: No OFD packet to send [00:00:01]OFD Sender: No OFD packet to send [00:00:06]OFD Sender: No OFD packet to send [00:00:11]OFD Sender: No OFD packet to send [00:00:16]OFD Sender: No OFD packet to send [00:00:21]OFD Sender: No OFD packet to send [00:00:26]OFD Sender: No OFD packet to send [00:00:31]OFD Sender: No OFD packet to send [00:00:36]OFD Sender: No OFD packet to send [00:00:41]OFD Sender: No OFD packet to send [00:00:46]OFD Sender: No OFD packet to send [00:00:51]OFD Sender: No OFD packet to send [00:00:56]OFD Sender: No OFD packet to send [00:01:01]OFD Sender: No OFD packet to send [00:01:06]OFD Sender: No OFD packet to send [00:01:11]OFD Sender: No OFD packet to send [00:01:16]OFD Sender: No OFD packet to send [00:01:21]OFD Sender: No OFD packet to send [00:01:26]OFD Sender: No OFD packet to send [00:01:31]OFD Sender: No OFD packet to send [00:01:36]OFD Sender: No OFD packet to send [00:01:41]OFD Sender: No OFD packet to send [00:01:46]OFD Sender: No OFD packet to send [00:01:51]OFD Sender: No OFD packet to send [00:01:56]OFD Sender: No OFD packet to send [00:02:01]OFD Sender: No OFD packet to send [00:02:06]OFD Sender: No OFD packet to send [00:02:11]OFD Sender: No OFD packet to send [00:02:16]OFD Sender: No OFD packet to send [00:02:21]OFD Sender: No OFD packet to send [00:02:26]OFD Sender: No OFD packet to send [00:02:30]accept exits with 8 [00:02:30]New connection [00:02:30]New thread 3067370852 created [00:02:30]Thread 3067227492 joined [00:02:30]Waiting for new connection... [00:02:30] Sock 8.Parse request [00:02:30]Sock 8.Check first char [00:02:30]Sock 8.First char is OK [00:02:30]request: POST /json_proto HTTP/1.0 [00:02:30]Method: POST [00:02:30]URL: /json_proto [00:02:30]Method is POST - this is cgi request [00:02:30]url: /json_proto [00:02:30]query_string will be loaded in cgi processing [00:02:30]execute_cgi json_proto POST (null) [00:02:30]execute_cgi path=json_proto method=POST [00:02:30]POST find Content-Length [00:02:30]Host: 172.17.56.68:8080 [00:02:30]Content-Length: 215 [00:02:30]Content-Type: application/json [00:02:30] [00:02:30]POST finish read [00:02:30]Found Content-Length = 215 [00:02:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:30]execute_script... [00:02:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:30]POST & json_proto [00:02:30]process_json_proto [00:02:30]json parsed OK: [00:02:30]protocol is kg_v1.0 [00:02:30]action value=get_value [00:02:30]process_action get_value [00:02:30]cmd_get_value [00:02:30]process_action get_value done [00:02:30]requested_data is exist [00:02:30]produce_requested_data [00:02:30]requested_item kkm.sn is exist - process it [00:02:30]requested_item kkm.ver is exist - process it [00:02:30]requested_item fm.sn is exist - process it [00:02:30]wFMCommunicate request_size=4 [00:02:30]MH_SAM_APDU [00:02:30]CAPDU: 80 11 00 00 [00:02:30]Write to MH i2c: E2 08 00 43 28 80 11 00 00 00 00 00 00 E5 [00:02:30]Write i2c OK [00:02:30]MH_I2C_Read... [00:02:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:30]Read from MH i2c: E2 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 17 00 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 17 00 43 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 38 [00:02:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [00:02:30]wFMCommunicate OK [00:02:30]requested_item fd.num is exist - process it [00:02:30]SAM_PROTO_GetFieldsCounters [00:02:30]wFMCommunicate request_size=4 [00:02:30]MH_SAM_APDU [00:02:30]CAPDU: 80 13 00 00 [00:02:30]Write to MH i2c: E2 08 00 44 28 80 13 00 00 00 00 00 00 E8 [00:02:30]Write i2c OK [00:02:30]MH_I2C_Read... [00:02:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:02:30]Read from MH i2c: E2 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 62 00 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 62 00 44 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2D 10 00 00 0E 04 04 00 53 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 49 [00:02:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2D 10 00 00 0E 04 04 00 53 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:02:30]wFMCommunicate OK [00:02:30]SAM_PROTO_GetFieldsCounters done [00:02:30]requested_item shift.num is exist - process it [00:02:30]requested_item shift.opened is exist - process it [00:02:30]req_shift_opened [00:02:30]FM_GetShiftState [00:02:30]SAM_PROTO_GetShiftState [00:02:30]wFMCommunicate request_size=4 [00:02:30]MH_SAM_APDU [00:02:30]CAPDU: 80 13 01 00 [00:02:30]Write to MH i2c: E2 08 00 45 28 80 13 01 00 00 00 00 00 EA [00:02:30]Write i2c OK [00:02:30]MH_I2C_Read... [00:02:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:30]Read from MH i2c: E2 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 0E 00 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 0E 00 45 28 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F5 [00:02:30]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:02:30]wFMCommunicate OK [00:02:30]SAM_PROTO_GetShiftState done [00:02:30]FM_GetShiftState done [00:02:30]req_shift_opened done [00:02:30]requested_item shift.open_date is exist - process it [00:02:30]req_shift_open_date [00:02:30]FM_GetShiftState [00:02:30]SAM_PROTO_GetShiftState [00:02:30]wFMCommunicate request_size=4 [00:02:30]MH_SAM_APDU [00:02:30]CAPDU: 80 13 01 00 [00:02:30]Write to MH i2c: E2 08 00 46 28 80 13 01 00 00 00 00 00 EB [00:02:30]Write i2c OK [00:02:30]MH_I2C_Read... [00:02:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:30]Read from MH i2c: E2 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 0E 00 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 0E 00 46 28 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F6 [00:02:30]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:02:30]wFMCommunicate OK [00:02:30]SAM_PROTO_GetShiftState done [00:02:30]FM_GetShiftState done [00:02:30]req_shift_open_date done [00:02:30]produce_requested_data done [00:02:30]produce_requested_data return {"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4141,"shift.num":83,"shift.opened":0,"shift.open_date":0} [00:02:30]process_action_free get_value [00:02:30]json_value_free [00:02:30]json_value_free done [00:02:30]process_json_proto returns [00:02:30]Send response to host [00:02:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4141,"shift.num":83,"shift.opened":0,"shift.open_date":0}}} [00:02:30]free response buf [00:02:30]execute_script done [00:02:30]execute_script returns [00:02:30]free content buf [00:02:30]Sock 8.Close socket [00:02:30]Sock 8.Thread stoped [00:02:30]accept exits with 9 [00:02:30]New connection [00:02:30]New thread 3067227492 created [00:02:30]Thread 3067370852 joined [00:02:30]Waiting for new connection... [00:02:30] Sock 9.Parse request [00:02:30]Sock 9.Check first char [00:02:30]Sock 9.First char is OK [00:02:30]request: POST /json_proto HTTP/1.0 [00:02:30]Method: POST [00:02:30]URL: /json_proto [00:02:30]Method is POST - this is cgi request [00:02:30]url: /json_proto [00:02:30]query_string will be loaded in cgi processing [00:02:30]execute_cgi json_proto POST (null) [00:02:30]execute_cgi path=json_proto method=POST [00:02:30]POST find Content-Length [00:02:30]Host: 172.17.56.68:8080 [00:02:30]Content-Length: 331 [00:02:30]Content-Type: application/json [00:02:30] [00:02:30]POST finish read [00:02:30]Found Content-Length = 331 [00:02:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:02:30]execute_script... [00:02:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:02:30]POST & json_proto [00:02:30]process_json_proto [00:02:30]json parsed OK: [00:02:30]protocol is kg_v1.0 [00:02:30]action value=get_value [00:02:30]process_action get_value [00:02:30]cmd_get_value [00:02:30]process_action get_value done [00:02:30]requested_data is exist [00:02:30]produce_requested_data [00:02:30]requested_item fm.sale.total is exist - process it [00:02:30]SAM_PROTO_GetFMData [00:02:30]wFMCommunicate request_size=4 [00:02:30]MH_SAM_APDU [00:02:30]CAPDU: 80 13 03 00 [00:02:30]Write to MH i2c: E2 08 00 47 28 80 13 03 00 00 00 00 00 EE [00:02:30]Write i2c OK [00:02:30]MH_I2C_Read... [00:02:31]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:02:31]Read from MH i2c: E2 [00:02:31]MH_I2C_Read... [00:02:31]Read from MH i2c: E2 FD 00 [00:02:31]MH_I2C_Read... [00:02:31]Read from MH i2c: E2 FD 00 47 28 00 BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 75 [00:02:31]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:02:31]wFMCommunicate OK [00:02:31]wFMCommunicate request_size=4 [00:02:31]MH_SAM_APDU [00:02:31]CAPDU: 80 17 00 00 [00:02:31]Write to MH i2c: E2 08 00 48 28 80 17 00 00 00 00 00 00 F0 [00:02:31]Write i2c OK [00:02:31]MH_I2C_Read... [00:02:31]OFD Sender: No OFD packet to send [00:02:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:31]Read from MH i2c: E2 [00:02:31]MH_I2C_Read... [00:02:31]Read from MH i2c: E2 FD 00 [00:02:31]MH_I2C_Read... [00:02:31]Read from MH i2c: E2 FD 00 48 28 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B8 [00:02:31]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:02:31]wFMCommunicate OK [00:02:31]wFMCommunicate request_size=4 [00:02:31]MH_SAM_APDU [00:02:31]CAPDU: 80 17 00 00 [00:02:31]Write to MH i2c: E2 08 00 49 28 80 17 00 00 00 00 00 00 F1 [00:02:31]Write i2c OK [00:02:31]MH_I2C_Read... [00:02:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:31]Read from MH i2c: E2 [00:02:31]MH_I2C_Read... [00:02:31]Read from MH i2c: E2 FD 00 [00:02:31]MH_I2C_Read... [00:02:31]Read from MH i2c: E2 FD 00 49 28 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1D [00:02:31]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:02:31]wFMCommunicate OK [00:02:31]wFMCommunicate request_size=4 [00:02:31]MH_SAM_APDU [00:02:31]CAPDU: 80 17 00 00 [00:02:31]Write to MH i2c: E2 08 00 4A 28 80 17 00 00 00 00 00 00 F2 [00:02:31]Write i2c OK [00:02:31]MH_I2C_Read... [00:02:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:32]Read from MH i2c: E2 [00:02:32]MH_I2C_Read... [00:02:32]Read from MH i2c: E2 FD 00 [00:02:32]MH_I2C_Read... [00:02:32]Read from MH i2c: E2 FD 00 4A 28 00 00 00 EF 03 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 90 00 67 [00:02:32]RAPDU: 00 00 EF 03 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 90 00 [00:02:32]wFMCommunicate OK [00:02:32]wFMCommunicate request_size=4 [00:02:32]MH_SAM_APDU [00:02:32]CAPDU: 80 17 00 00 [00:02:32]Write to MH i2c: E2 08 00 4B 28 80 17 00 00 00 00 00 00 F3 [00:02:32]Write i2c OK [00:02:32]MH_I2C_Read... [00:02:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:02:32]Read from MH i2c: E2 [00:02:32]MH_I2C_Read... [00:02:32]Read from MH i2c: E2 D8 00 [00:02:32]MH_I2C_Read... [00:02:32]Read from MH i2c: E2 D8 00 4B 28 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DA [00:02:32]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:02:32]wFMCommunicate OK [00:02:32]SAM_PROTO_GetFMData done [00:02:32]requested_item fm.sale_refund.total is exist - process it [00:02:32]requested_item fm.buy.total is exist - process it [00:02:32]requested_item shift.sale.total is exist - process it [00:02:32]SAM_PROTO_GetShiftData [00:02:32]wFMCommunicate request_size=4 [00:02:32]MH_SAM_APDU [00:02:32]CAPDU: 80 13 02 00 [00:02:32]Write to MH i2c: E2 08 00 4C 28 80 13 02 00 00 00 00 00 F2 [00:02:32]Write i2c OK [00:02:32]MH_I2C_Read... [00:02:32]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:02:32]Read from MH i2c: E2 [00:02:32]MH_I2C_Read... [00:02:32]Read from MH i2c: E2 FD 00 [00:02:32]MH_I2C_Read... [00:02:32]Read from MH i2c: E2 FD 00 4C 28 00 AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 F6 [00:02:32]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 70 6C 0F 70 04 03 00 50 CC 0B 72 04 03 00 20 A0 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 48 A3 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:02:32]wFMCommunicate OK [00:02:32]wFMCommunicate request_size=4 [00:02:32]MH_SAM_APDU [00:02:32]CAPDU: 80 17 00 00 [00:02:32]Write to MH i2c: E2 08 00 4D 28 80 17 00 00 00 00 00 00 F5 [00:02:32]Write i2c OK [00:02:32]MH_I2C_Read... [00:02:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:33]Read from MH i2c: E2 [00:02:33]MH_I2C_Read... [00:02:33]Read from MH i2c: E2 FD 00 [00:02:33]MH_I2C_Read... [00:02:33]Read from MH i2c: E2 FD 00 4D 28 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 17 [00:02: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 [00:02:33]wFMCommunicate OK [00:02:33]wFMCommunicate request_size=4 [00:02:33]MH_SAM_APDU [00:02:33]CAPDU: 80 17 00 00 [00:02:33]Write to MH i2c: E2 08 00 4E 28 80 17 00 00 00 00 00 00 F6 [00:02:33]Write i2c OK [00:02:33]MH_I2C_Read... [00:02:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:33]Read from MH i2c: E2 [00:02:33]MH_I2C_Read... [00:02:33]Read from MH i2c: E2 FD 00 [00:02:33]MH_I2C_Read... [00:02:33]Read from MH i2c: E2 FD 00 4E 28 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 AD [00:02: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 [00:02:33]wFMCommunicate OK [00:02:33]wFMCommunicate request_size=4 [00:02:33]MH_SAM_APDU [00:02:33]CAPDU: 80 17 00 00 [00:02:33]Write to MH i2c: E2 08 00 4F 28 80 17 00 00 00 00 00 00 F7 [00:02:33]Write i2c OK [00:02:33]MH_I2C_Read... [00:02:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:33]Read from MH i2c: E2 [00:02:33]MH_I2C_Read... [00:02:33]Read from MH i2c: E2 FD 00 [00:02:33]MH_I2C_Read... [00:02:33]Read from MH i2c: E2 FD 00 4F 28 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 69 [00:02:33]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:02:33]wFMCommunicate OK [00:02:33]wFMCommunicate request_size=4 [00:02:33]MH_SAM_APDU [00:02:33]CAPDU: 80 17 00 00 [00:02:33]Write to MH i2c: E2 08 00 50 28 80 17 00 00 00 00 00 00 F8 [00:02:33]Write i2c OK [00:02:33]MH_I2C_Read... [00:02:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:02:33]Read from MH i2c: E2 [00:02:33]MH_I2C_Read... [00:02:33]Read from MH i2c: E2 CB 00 [00:02:33]MH_I2C_Read... [00:02:33]Read from MH i2c: E2 CB 00 50 28 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 E1 [00:02: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 [00:02:34]wFMCommunicate OK [00:02:34]SAM_PROTO_GetShiftData done [00:02:34]requested_item shift.sale.total_cash is exist - process it [00:02:34]requested_item shift.sale_refund.total is exist - process it [00:02:34]requested_item shift.sale_refund.total_cash is exist - process it [00:02:34]requested_item shift.buy.total is exist - process it [00:02:34]requested_item shift.buy.total_cash is exist - process it [00:02:34]produce_requested_data done [00:02:34]produce_requested_data return {"fm.sale.total":925327.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":10108.00,"shift.sale.total_cash":7732.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:02:34]process_action_free get_value [00:02:34]json_value_free [00:02:34]json_value_free done [00:02:34]process_json_proto returns [00:02:34]Send response to host [00:02:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":925327.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":10108.00,"shift.sale.total_cash":7732.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:02:34]free response buf [00:02:34]execute_script done [00:02:34]execute_script returns [00:02:34]free content buf [00:02:34]Sock 9.Close socket [00:02:34]Sock 9.Thread stoped [00:02:34]accept exits with 8 [00:02:34]New connection [00:02:34]New thread 3067370852 created [00:02:34]Thread 3067227492 joined [00:02:34]Waiting for new connection... [00:02:34] Sock 8.Parse request [00:02:34]Sock 8.Check first char [00:02:34]Sock 8.First char is OK [00:02:34]request: POST /json_proto HTTP/1.0 [00:02:34]Method: POST [00:02:34]URL: /json_proto [00:02:34]Method is POST - this is cgi request [00:02:34]url: /json_proto [00:02:34]query_string will be loaded in cgi processing [00:02:34]execute_cgi json_proto POST (null) [00:02:34]execute_cgi path=json_proto method=POST [00:02:34]POST find Content-Length [00:02:34]Host: 172.17.56.68:8080 [00:02:34]Content-Length: 259 [00:02:34]Content-Type: application/json [00:02:34] [00:02:34]POST finish read [00:02:34]Found Content-Length = 259 [00:02:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0421\u0443\u043B\u0442\u0430\u043D\u043E\u0432 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:34]execute_script... [00:02:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0421\u0443\u043B\u0442\u0430\u043D\u043E\u0432 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:34]POST & json_proto [00:02:34]process_json_proto [00:02:34]json parsed OK: [00:02:34]protocol is kg_v1.0 [00:02:34]action value=open_shift [00:02:34]process_action open_shift [00:02:34]cmd_open_shift [00:02:34]MH_GetDate [00:02:34]Write to MH i2c: F0 00 00 51 28 68 [00:02:34]Write i2c OK [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: F0 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: F0 09 00 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: F0 09 00 51 28 00 25 AB 5F 66 42 69 5C 66 73 [00:02:34]GetLastDocTimeStamp 1717545352 [00:02:34]current date 1717545765 [00:02:34]FM_GetShiftState [00:02:34]SAM_PROTO_GetShiftState [00:02:34]wFMCommunicate request_size=4 [00:02:34]MH_SAM_APDU [00:02:34]CAPDU: 80 13 01 00 [00:02:34]Write to MH i2c: E2 08 00 52 28 80 13 01 00 00 00 00 00 F7 [00:02:34]Write i2c OK [00:02:34]MH_I2C_Read... [00:02:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:34]Read from MH i2c: E2 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 0E 00 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 0E 00 52 28 00 09 00 00 00 00 00 00 00 00 00 00 90 00 02 [00:02:34]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:02:34]wFMCommunicate OK [00:02:34]SAM_PROTO_GetShiftState done [00:02:34]FM_GetShiftState done [00:02:34]KKMCreateOpenShiftDocument [00:02:34]Load OK [00:02:34]Malloc new data [00:02:34]MH_GetDate [00:02:34]Write to MH i2c: F0 00 00 53 28 6A [00:02:34]Write i2c OK [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: F0 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: F0 09 00 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: F0 09 00 53 28 00 25 AB 5F 66 42 69 5C 66 75 [00:02:34]Malloc new data [00:02:34]KKMCreateOpenShiftDocument OK [00:02:34]KKMSetOpenShiftData OK [00:02:34]ProcessDocumentItem done err = 0, tmpTLVsize=225 [00:02:34]tlvbuf is 008612E0 [00:02:34]KKMLoadAndSignOpenShiftData [00:02:34]SAM_PROTO_ProcessDocument [00:02:34]wFMCommunicate request_size=9 [00:02:34]MH_SAM_APDU [00:02:34]CAPDU: 80 15 01 00 04 02 00 E1 00 [00:02:34]Write to MH i2c: E2 0C 00 54 28 80 15 01 00 04 00 02 00 E1 00 00 00 E6 [00:02:34]Write i2c OK [00:02:34]MH_I2C_Read... [00:02:34]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:02:34]Read from MH i2c: E2 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 03 00 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 03 00 54 28 00 90 00 F0 [00:02:34]RAPDU: 90 00 [00:02:34]wFMCommunicate OK [00:02:34]wFMCommunicate request_size=23 [00:02:34]MH_SAM_APDU [00:02: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 [00:02:34]Write to MH i2c: E2 1A 00 55 28 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 F2 [00:02:34]Write i2c OK [00:02:34]MH_I2C_Read... [00:02:34]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:02:34]Read from MH i2c: E2 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 03 00 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 03 00 55 28 00 90 00 F1 [00:02:34]RAPDU: 90 00 [00:02:34]wFMCommunicate OK [00:02:34]wFMCommunicate request_size=30 [00:02:34]MH_SAM_APDU [00:02:34]CAPDU: 80 15 02 00 19 FD 03 15 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD D0 BE D0 B2 20 D0 91 2E 20 [00:02:34]Write to MH i2c: E2 21 00 56 28 80 15 02 00 19 00 FD 03 15 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD D0 BE D0 B2 20 D0 91 2E 20 00 00 D4 [00:02:34]Write i2c OK [00:02:34]MH_I2C_Read... [00:02:34]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:02:34]Read from MH i2c: E2 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 03 00 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 03 00 56 28 00 90 00 F2 [00:02:34]RAPDU: 90 00 [00:02:34]wFMCommunicate OK [00:02:34]wFMCommunicate request_size=113 [00:02:34]MH_SAM_APDU [00:02:34]CAPDU: 80 15 02 00 6C F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 [00:02:34]Write to MH i2c: E2 74 00 57 28 80 15 02 00 6C 00 F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 00 00 19 [00:02:34]Write i2c OK [00:02:34]MH_I2C_Read... [00:02:34]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:02:34]Read from MH i2c: E2 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 03 00 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 03 00 57 28 00 90 00 F3 [00:02:34]RAPDU: 90 00 [00:02:34]wFMCommunicate OK [00:02:34]wFMCommunicate request_size=51 [00:02:34]MH_SAM_APDU [00:02:34]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:02:34]Write to MH i2c: E2 36 00 58 28 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 AA [00:02:34]Write i2c OK [00:02:34]MH_I2C_Read... [00:02:34]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:02:34]Read from MH i2c: E2 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 03 00 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 03 00 58 28 00 90 00 F4 [00:02:34]RAPDU: 90 00 [00:02:34]wFMCommunicate OK [00:02:34]wFMCommunicate request_size=13 [00:02:34]MH_SAM_APDU [00:02:34]CAPDU: 80 15 02 00 08 F4 03 04 00 25 AB 5F 66 [00:02:34]Write to MH i2c: E2 10 00 59 28 80 15 02 00 08 00 F4 03 04 00 25 AB 5F 66 00 00 A1 [00:02:34]Write i2c OK [00:02:34]MH_I2C_Read... [00:02:34]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:02:34]Read from MH i2c: E2 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 03 00 [00:02:34]MH_I2C_Read... [00:02:34]Read from MH i2c: E2 03 00 59 28 00 90 00 F5 [00:02:34]RAPDU: 90 00 [00:02:34]wFMCommunicate OK [00:02:34]wFMCommunicate request_size=25 [00:02:34]MH_SAM_APDU [00:02:34]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 [00:02:34]Write to MH i2c: E2 1C 00 5A 28 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 00 00 68 [00:02:34]Write i2c OK [00:02:34]MH_I2C_Read... [00:02:35]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:02:35]Read from MH i2c: E2 [00:02:35]MH_I2C_Read... [00:02:35]Read from MH i2c: E2 03 00 [00:02:35]MH_I2C_Read... [00:02:35]Read from MH i2c: E2 03 00 5A 28 00 90 00 F6 [00:02:35]RAPDU: 90 00 [00:02:35]wFMCommunicate OK [00:02:35]wFMCommunicate request_size=4 [00:02:35]MH_SAM_APDU [00:02:35]CAPDU: 80 15 03 00 [00:02:35]Write to MH i2c: E2 08 00 5B 28 80 15 03 00 00 00 00 00 04 [00:02:35]Write i2c OK [00:02:35]MH_I2C_Read... [00:02:35]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:02:35]Read from MH i2c: E2 [00:02:35]MH_I2C_Read... [00:02:35]Read from MH i2c: E2 38 00 [00:02:35]MH_I2C_Read... [00:02:35]Read from MH i2c: E2 38 00 5B 28 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2E 10 00 00 0E 04 04 00 54 00 00 00 35 04 06 00 E6 94 86 EC 5F 01 90 00 AE [00:02:35]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2E 10 00 00 0E 04 04 00 54 00 00 00 35 04 06 00 E6 94 86 EC 5F 01 90 00 [00:02:35]wFMCommunicate OK [00:02:35]SAM_PROTO_ProcessDocument answer len = 51 [00:02:35]SAM_PROTO_ProcessDocument done [00:02:35]SetTLVBufToDocument [00:02:35]Processing tag 1209 (04B9) [00:02:35]Malloc new data [00:02:35]Processing tag 1041 (0411) [00:02:35]Processing tag 1040 (0410) [00:02:35]Malloc new data [00:02:35]Processing tag 1038 (040E) [00:02:35]Malloc new data [00:02:35]Processing tag 1077 (0435) [00:02:35]Malloc new data [00:02:35]SetTLVBufToDocument err=0 [00:02:35]KKMLoadAndSignOpenShiftData store KKM data [00:02:35]KKMLoadAndSignOpenShiftData err=0 [00:02:35]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Султанов Б. Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 Место: АЗС № 116 "Партнер Нефть" 05.06.2024 00:02 Смена: 84 РНМ: 0000000000145775 ЗНМ: 0300000233 ФД: 4142 ФМ: 0000000000959360 ФПД: 253525593186049 [00:02:35]StoreToDocumentArchive [00:02:35]shift 84 fd 4142 [00:02:35]Create dir for shift 0084 [00:02:35]save to /storage/0084/doc_00004142 [00:02:35]save last doc name /storage/0084/doc_00004142 to /storage/kkm_last_doc_name [00:02:35]save OK [00:02:35]Clear old archive folders... [00:02:35]Remove dir /storage/0083 [00:02:35]opendir ok [00:02:35]file . [00:02:35]file .. [00:02:35]file doc_00004083 [00:02:35]remove file /storage/0083/doc_00004083 [00:02:35]file doc_00004084 [00:02:35]remove file /storage/0083/doc_00004084 [00:02:35]file doc_00004085 [00:02:35]remove file /storage/0083/doc_00004085 [00:02:35]file doc_00004086 [00:02:35]remove file /storage/0083/doc_00004086 [00:02:35]file doc_00004087 [00:02:35]remove file /storage/0083/doc_00004087 [00:02:35]file doc_00004088 [00:02:35]remove file /storage/0083/doc_00004088 [00:02:35]file doc_00004089 [00:02:35]remove file /storage/0083/doc_00004089 [00:02:35]file doc_00004090 [00:02:35]remove file /storage/0083/doc_00004090 [00:02:35]file doc_00004091 [00:02:35]remove file /storage/0083/doc_00004091 [00:02:35]file doc_00004092 [00:02:35]remove file /storage/0083/doc_00004092 [00:02:35]file doc_00004093 [00:02:35]remove file /storage/0083/doc_00004093 [00:02:35]file doc_00004094 [00:02:35]remove file /storage/0083/doc_00004094 [00:02:35]file doc_00004095 [00:02:35]remove file /storage/0083/doc_00004095 [00:02:35]file doc_00004096 [00:02:35]remove file /storage/0083/doc_00004096 [00:02:35]file doc_00004097 [00:02:35]remove file /storage/0083/doc_00004097 [00:02:35]file doc_00004098 [00:02:35]remove file /storage/0083/doc_00004098 [00:02:35]file doc_00004099 [00:02:35]remove file /storage/0083/doc_00004099 [00:02:35]file doc_00004100 [00:02:35]remove file /storage/0083/doc_00004100 [00:02:35]file doc_00004101 [00:02:35]remove file /storage/0083/doc_00004101 [00:02:35]file doc_00004102 [00:02:35]remove file /storage/0083/doc_00004102 [00:02:35]file doc_00004103 [00:02:35]remove file /storage/0083/doc_00004103 [00:02:35]file doc_00004104 [00:02:35]remove file /storage/0083/doc_00004104 [00:02:35]file doc_00004105 [00:02:35]remove file /storage/0083/doc_00004105 [00:02:35]file doc_00004106 [00:02:35]remove file /storage/0083/doc_00004106 [00:02:35]file doc_00004107 [00:02:35]remove file /storage/0083/doc_00004107 [00:02:35]file doc_00004108 [00:02:35]remove file /storage/0083/doc_00004108 [00:02:35]file doc_00004109 [00:02:35]remove file /storage/0083/doc_00004109 [00:02:35]file doc_00004110 [00:02:35]remove file /storage/0083/doc_00004110 [00:02:35]file doc_00004111 [00:02:35]remove file /storage/0083/doc_00004111 [00:02:35]file doc_00004112 [00:02:35]remove file /storage/0083/doc_00004112 [00:02:35]file doc_00004113 [00:02:35]remove file /storage/0083/doc_00004113 [00:02:35]file doc_00004114 [00:02:35]remove file /storage/0083/doc_00004114 [00:02:35]file doc_00004115 [00:02:35]remove file /storage/0083/doc_00004115 [00:02:35]file doc_00004116 [00:02:35]remove file /storage/0083/doc_00004116 [00:02:35]file doc_00004117 [00:02:35]remove file /storage/0083/doc_00004117 [00:02:35]file doc_00004118 [00:02:35]remove file /storage/0083/doc_00004118 [00:02:35]file doc_00004119 [00:02:35]remove file /storage/0083/doc_00004119 [00:02:35]file doc_00004120 [00:02:35]remove file /storage/0083/doc_00004120 [00:02:35]file doc_00004121 [00:02:35]remove file /storage/0083/doc_00004121 [00:02:35]file doc_00004122 [00:02:35]remove file /storage/0083/doc_00004122 [00:02:35]file doc_00004123 [00:02:35]remove file /storage/0083/doc_00004123 [00:02:35]file doc_00004124 [00:02:35]remove file /storage/0083/doc_00004124 [00:02:35]file doc_00004125 [00:02:35]remove file /storage/0083/doc_00004125 [00:02:35]file doc_00004126 [00:02:35]remove file /storage/0083/doc_00004126 [00:02:35]file doc_00004127 [00:02:35]remove file /storage/0083/doc_00004127 [00:02:35]file doc_00004128 [00:02:35]remove file /storage/0083/doc_00004128 [00:02:35]file doc_00004129 [00:02:35]remove file /storage/0083/doc_00004129 [00:02:35]file doc_00004130 [00:02:35]remove file /storage/0083/doc_00004130 [00:02:35]file doc_00004131 [00:02:35]remove file /storage/0083/doc_00004131 [00:02:35]file doc_00004132 [00:02:35]remove file /storage/0083/doc_00004132 [00:02:35]file doc_00004133 [00:02:35]remove file /storage/0083/doc_00004133 [00:02:35]file doc_00004134 [00:02:35]remove file /storage/0083/doc_00004134 [00:02:35]file doc_00004135 [00:02:35]remove file /storage/0083/doc_00004135 [00:02:35]file doc_00004136 [00:02:35]remove file /storage/0083/doc_00004136 [00:02:35]file doc_00004137 [00:02:35]remove file /storage/0083/doc_00004137 [00:02:35]file doc_00004138 [00:02:35]remove file /storage/0083/doc_00004138 [00:02:35]file doc_00004139 [00:02:35]remove file /storage/0083/doc_00004139 [00:02:35]file doc_00004140 [00:02:35]remove file /storage/0083/doc_00004140 [00:02:35]file doc_00004141 [00:02:35]remove file /storage/0083/doc_00004141 [00:02:35]remove dir /storage/0083 [00:02:35]ProcessDocumentItem done err = 0, tmpTLVsize=276 [00:02:35]tlvbuf is 00766530 [00:02:35]SAM_PROTO_ClearQueue [00:02:35]wFMCommunicate request_size=4 [00:02:35]MH_SAM_APDU [00:02:35]CAPDU: 80 09 00 00 [00:02:35]Write to MH i2c: E2 08 00 5C 28 80 09 00 00 00 00 00 00 F6 [00:02:35]Write i2c OK [00:02:35]MH_I2C_Read... [00:02:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:02:35]Read from MH i2c: E2 [00:02:35]MH_I2C_Read... [00:02:35]Read from MH i2c: E2 03 00 [00:02:35]MH_I2C_Read... [00:02:35]Read from MH i2c: E2 03 00 5C 28 00 90 00 F8 [00:02:35]RAPDU: 90 00 [00:02:35]wFMCommunicate OK [00:02:35]SAM_PROTO_ClearQueue done [00:02:35]KKMCreateOFDPacket [00:02:35]OFDProtocolAddRootSTLVToBuf [00:02:35]FM_MakeSignedData [00:02:35]FM_MakeSignedData [00:02:35]SAM_PROTO_SignData [00:02:35]wFMCommunicate request_size=4 [00:02:35]MH_SAM_APDU [00:02:35]CAPDU: 80 0D 01 02 [00:02:35]Write to MH i2c: E2 08 00 5D 28 80 0D 01 02 00 00 00 00 FE [00:02:35]Write i2c OK [00:02:35]MH_I2C_Read... [00:02:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:02:35]Read from MH i2c: E2 [00:02:35]MH_I2C_Read... [00:02:35]Read from MH i2c: E2 03 00 [00:02:35]MH_I2C_Read... [00:02:35]Read from MH i2c: E2 03 00 5D 28 00 90 00 F9 [00:02:35]RAPDU: 90 00 [00:02:35]wFMCommunicate OK [00:02:35]wFMCommunicate request_size=255 [00:02:35]MH_SAM_APDU [00:02:35]CAPDU: 80 0D 02 02 FA 02 00 14 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 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD D0 BE D0 B2 20 D0 91 2E 20 F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 25 AB 5F 66 0E 04 04 00 54 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2E 10 00 00 [00:02:35]Write to MH i2c: E2 02 01 5E 28 80 0D 02 02 FA 00 02 00 14 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 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD D0 BE D0 B2 20 D0 91 2E 20 F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 25 AB 5F 66 0E 04 04 00 54 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2E 10 00 00 00 00 5E [00:02:35]Write i2c OK [00:02:35]MH_I2C_Read... [00:02:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:02:36]Read from MH i2c: E2 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: E2 03 00 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: E2 03 00 5E 28 00 90 00 FA [00:02:36]RAPDU: 90 00 [00:02:36]wFMCommunicate OK [00:02:36]wFMCommunicate request_size=35 [00:02:36]MH_SAM_APDU [00:02:36]CAPDU: 80 0D 02 02 1E 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 E6 94 86 EC 5F 01 [00:02:36]Write to MH i2c: E2 26 00 5F 28 80 0D 02 02 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 E6 94 86 EC 5F 01 00 00 0D [00:02:36]Write i2c OK [00:02:36]MH_I2C_Read... [00:02:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:02:36]Read from MH i2c: E2 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: E2 03 00 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: E2 03 00 5F 28 00 90 00 FB [00:02:36]RAPDU: 90 00 [00:02:36]wFMCommunicate OK [00:02:36]wFMCommunicate request_size=4 [00:02:36]MH_SAM_APDU [00:02:36]CAPDU: 80 0D 03 02 [00:02:36]Write to MH i2c: E2 08 00 60 28 80 0D 03 02 00 00 00 00 03 [00:02:36]Write i2c OK [00:02:36]MH_I2C_Read... [00:02:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:02:36]Read from MH i2c: E2 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: E2 0B 00 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: E2 0B 00 60 28 00 10 77 C8 12 BD F7 82 73 90 00 0E [00:02:36]RAPDU: 10 77 C8 12 BD F7 82 73 90 00 [00:02:36]wFMCommunicate OK [00:02:36]SAM_PROTO_SignData done [00:02:36]FM_MakeSignedData done [00:02:36]CreateOFDProtocolMessage [00:02:36]wFMCommunicate request_size=4 [00:02:36]MH_SAM_APDU [00:02:36]CAPDU: 80 11 00 00 [00:02:36]Write to MH i2c: E2 08 00 61 28 80 11 00 00 00 00 00 00 03 [00:02:36]Write i2c OK [00:02:36]MH_I2C_Read... [00:02:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:36]Read from MH i2c: E2 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: E2 17 00 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: E2 17 00 61 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 56 [00:02:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [00:02:36]wFMCommunicate OK [00:02:36]CreateOFDProtocolMessage done [00:02:36]OFDSenderStorePacket 4142 [00:02:36]StoreOFDPacket docnum=4142 [00:02:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 28 01 00 00 ED E7 20 01 EF 24 5A 02 01 00 02 00 14 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 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD D0 BE D0 B2 20 D0 91 2E 20 F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 25 AB 5F 66 0E 04 04 00 54 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2E 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 E6 94 86 EC 5F 01 10 77 C8 12 BD F7 82 73 [00:02:36]CheckFolder [00:02:36]dirname=/storage/ofd_packets [00:02:36]CheckFolder done [00:02:36]ProducePacketName [00:02:36]name=ofd_packets/00004142 [00:02:36]NVStorageSaveData ofd_packets/00004142 [00:02:36]File name is /storage/ofd_packets/00004142 [00:02:36]Write 326 bytes [00:02:36]NVStorageSaveData done [00:02:36]OFDSenderStorePacket done [00:02:36]KKMCreateOFDPacket done [00:02:36]NVStorageSaveData kkm_last_timestamp [00:02:36]File name is /storage/kkm_last_timestamp [00:02:36]Write 4 bytes [00:02:36]NVStorageSaveData done [00:02:36]ExternCall_PrintAddStr [00:02:36]wPrintStart [00:02:36]Write to MH i2c: 01 00 00 62 28 8A [00:02:36]Write i2c OK [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: 01 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: 01 07 00 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: 01 07 00 62 28 00 00 00 00 00 FF 0F 9F [00:02:36]RasterBufferAndPrint [00:02:36]line Отчет об открытии смены [00:02:36]line ФФД: 1.0 [00:02:36]line ИНН: 02508201610067 [00:02:36]line Кассир: Султанов Б. [00:02:36]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [00:02:36]line Место: АЗС № 116 "Партнер Нефть" [00:02:36]line 05.06.2024 00:02 [00:02:36]line Смена: 84 [00:02:36]line РНМ: 0000000000145775 [00:02:36]line ЗНМ: 0300000233 [00:02:36]line ФД: 4142 [00:02:36]line ФМ: 0000000000959360 [00:02:36]line ФПД: 253525593186049 [00:02:36]written 0, free lines is 4095 [00:02:36]OFD Sender: Processing packet 4142 [packets to send 2, broken 1] [00:02:36]ProducePacketName [00:02:36]name=ofd_packets/00004142 [00:02:36]OFD Sender: To server: pG, [00:02:36]CommunicateWithHost lk.salyk.kg:30040 [00:02:36]ConnectInit lk.salyk.kg [00:02:36]Connected sock=10 [00:02:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 28 01 00 00 ED E7 20 01 EF 24 5A 02 01 00 02 00 14 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 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD D0 BE D0 B2 20 D0 91 2E 20 F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 25 AB 5F 66 0E 04 04 00 54 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2E 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 E6 94 86 EC 5F 01 10 77 C8 12 BD F7 82 73 [00:02:36]Write to MH i2c: 01 00 00 74 28 9C [00:02:36]Write i2c OK [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: 01 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: 01 07 00 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: 01 07 00 74 28 00 00 00 00 00 6F 0E 20 [00:02:36]RasterBufferAndPrint [00:02:36]line [00:02:36]line [00:02:36]line [00:02:36]line [00:02:36]line [00:02:36]written 0, free lines is 3710 [00:02:36]MH_Cut [00:02:36]Write to MH i2c: D1 01 00 7B 28 01 75 [00:02:36]Write i2c OK [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: D1 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: D1 01 00 [00:02:36]MH_I2C_Read... [00:02:36]Read from MH i2c: D1 01 00 7B 28 00 74 [00:02:36]Write to MH i2c: 01 00 00 7C 28 A4 [00:02:36]Write i2c OK [00:02:36]MH_I2C_Read... [00:02:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 A4 CD 47 00 D2 F2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2E 10 00 00 F4 03 04 00 25 57 5F 66 B6 04 01 00 00 DC F0 EC 22 9F 04 7E D5 [00:02:36]CommunicateWithHost err = 0 [00:02:36]CheckOFDResponse [00:02:36]1017 (14) - 77093643461234 [00:02:36]1041 (16) - 0000000000959360 [00:02:36]1040 (4) - 4142 [00:02:36]1012 (4) - 04.06.2024 18:04 [00:02:36]1206 (1) - 0 [00:02:36]OFD Sender: Remove packet 4142 [00:02:36]ProducePacketName [00:02:36]name=ofd_packets/00004142 [00:02:36]NVStorageDeleteData [00:02:37]*** Cut start [00:02:37]*** Partial cut [00:02:37]*** CUTSNS_PIN = 1 [00:02:37]*** CUTSNS_PIN = 0 [00:02:37]OFD Sender: No OFD packet to send [00:02:37]*** Brake cut motor [00:02:37]Read from MH i2c: 01 [00:02:37]MH_I2C_Read... [00:02:37]*** Stop cut motor [00:02:37]*** Cut end [00:02:37]Read from MH i2c: 01 07 00 [00:02:37]MH_I2C_Read... [00:02:37]Read from MH i2c: 01 07 00 7C 28 00 00 00 00 00 FF 0F B9 [00:02:37]process_action open_shift done [00:02:37]requested_data is exist [00:02:37]produce_requested_data [00:02:37]requested_item fd.num is exist - process it [00:02:37]SAM_PROTO_GetFieldsCounters [00:02:37]wFMCommunicate request_size=4 [00:02:37]MH_SAM_APDU [00:02:37]CAPDU: 80 13 00 00 [00:02:37]Write to MH i2c: E2 08 00 7D 28 80 13 00 00 00 00 00 00 21 [00:02:37]Write i2c OK [00:02:37]MH_I2C_Read... [00:02:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:02:37]Read from MH i2c: E2 [00:02:37]MH_I2C_Read... [00:02:37]Read from MH i2c: E2 62 00 [00:02:37]MH_I2C_Read... [00:02:37]Read from MH i2c: E2 62 00 7D 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2E 10 00 00 0E 04 04 00 54 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 D8 [00:02:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2E 10 00 00 0E 04 04 00 54 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:02:38]wFMCommunicate OK [00:02:38]SAM_PROTO_GetFieldsCounters done [00:02:38]requested_item shift.num is exist - process it [00:02:38]requested_item shift.opened is exist - process it [00:02:38]req_shift_opened [00:02:38]FM_GetShiftState [00:02:38]SAM_PROTO_GetShiftState [00:02:38]wFMCommunicate request_size=4 [00:02:38]MH_SAM_APDU [00:02:38]CAPDU: 80 13 01 00 [00:02:38]Write to MH i2c: E2 08 00 7E 28 80 13 01 00 00 00 00 00 23 [00:02:38]Write i2c OK [00:02:38]MH_I2C_Read... [00:02:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:38]Read from MH i2c: E2 [00:02:38]MH_I2C_Read... [00:02:38]Read from MH i2c: E2 0E 00 [00:02:38]MH_I2C_Read... [00:02:38]Read from MH i2c: E2 0E 00 7E 28 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 C4 [00:02:38]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [00:02:38]wFMCommunicate OK [00:02:38]SAM_PROTO_GetShiftState done [00:02:38]FM_GetShiftState done [00:02:38]req_shift_opened done [00:02:38]requested_item shift.open_date is exist - process it [00:02:38]req_shift_open_date [00:02:38]req_shift_open_date done [00:02:38]produce_requested_data done [00:02:38]produce_requested_data return {"fd.num":4142,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [00:02:38]process_action_free open_shift [00:02:38]json_value_free [00:02:38]json_value_free done [00:02:38]process_json_proto returns [00:02:38]Send response to host [00:02:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":4142,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [00:02:38]free response buf [00:02:38]execute_script done [00:02:38]execute_script returns [00:02:38]free content buf [00:02:38]Sock 8.Close socket [00:02:38]Sock 8.Thread stoped [00:02:38]accept exits with 9 [00:02:38]New connection [00:02:38]New thread 3067227492 created [00:02:38]Thread 3067370852 joined [00:02:38]Waiting for new connection... [00:02:38] Sock 9.Parse request [00:02:38]Sock 9.Check first char [00:02:38]Sock 9.First char is OK [00:02:38]request: POST /json_proto HTTP/1.0 [00:02:38]Method: POST [00:02:38]URL: /json_proto [00:02:38]Method is POST - this is cgi request [00:02:38]url: /json_proto [00:02:38]query_string will be loaded in cgi processing [00:02:38]execute_cgi json_proto POST (null) [00:02:38]execute_cgi path=json_proto method=POST [00:02:38]POST find Content-Length [00:02:38]Host: 172.17.56.68:8080 [00:02:38]Content-Length: 331 [00:02:38]Content-Type: application/json [00:02:38] [00:02:38]POST finish read [00:02:38]Found Content-Length = 331 [00:02:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:02:38]execute_script... [00:02:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:02:38]POST & json_proto [00:02:38]process_json_proto [00:02:38]json parsed OK: [00:02:38]protocol is kg_v1.0 [00:02:38]action value=get_value [00:02:38]process_action get_value [00:02:38]cmd_get_value [00:02:38]process_action get_value done [00:02:38]requested_data is exist [00:02:38]produce_requested_data [00:02:38]requested_item fm.sale.total is exist - process it [00:02:38]SAM_PROTO_GetFMData [00:02:38]wFMCommunicate request_size=4 [00:02:38]MH_SAM_APDU [00:02:38]CAPDU: 80 13 03 00 [00:02:38]Write to MH i2c: E2 08 00 7F 28 80 13 03 00 00 00 00 00 26 [00:02:38]Write i2c OK [00:02:38]MH_I2C_Read... [00:02:38]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:02:38]Read from MH i2c: E2 [00:02:38]MH_I2C_Read... [00:02:38]Read from MH i2c: E2 FD 00 [00:02:38]MH_I2C_Read... [00:02:38]Read from MH i2c: E2 FD 00 7F 28 00 BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 AD [00:02:38]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 86 0F 00 00 69 04 9E 00 6F 04 04 00 7D 0F 00 00 B1 04 04 00 FB EF 83 05 70 04 04 00 4C 6F 9A 04 72 04 03 00 AF 80 E9 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 EF 95 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 C6 7C 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:02:38]wFMCommunicate OK [00:02:38]wFMCommunicate request_size=4 [00:02:38]MH_SAM_APDU [00:02:38]CAPDU: 80 17 00 00 [00:02:38]Write to MH i2c: E2 08 00 80 28 80 17 00 00 00 00 00 00 28 [00:02:38]Write i2c OK [00:02:38]MH_I2C_Read... [00:02:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:39]Read from MH i2c: E2 [00:02:39]MH_I2C_Read... [00:02:39]Read from MH i2c: E2 FD 00 [00:02:39]MH_I2C_Read... [00:02:39]Read from MH i2c: E2 FD 00 80 28 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F0 [00:02:39]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:02:39]wFMCommunicate OK [00:02:39]wFMCommunicate request_size=4 [00:02:39]MH_SAM_APDU [00:02:39]CAPDU: 80 17 00 00 [00:02:39]Write to MH i2c: E2 08 00 81 28 80 17 00 00 00 00 00 00 29 [00:02:39]Write i2c OK [00:02:39]MH_I2C_Read... [00:02:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:39]Read from MH i2c: E2 [00:02:39]MH_I2C_Read... [00:02:39]Read from MH i2c: E2 FD 00 [00:02:39]MH_I2C_Read... [00:02:39]Read from MH i2c: E2 FD 00 81 28 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 55 [00:02:39]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:02:39]wFMCommunicate OK [00:02:39]wFMCommunicate request_size=4 [00:02:39]MH_SAM_APDU [00:02:39]CAPDU: 80 17 00 00 [00:02:39]Write to MH i2c: E2 08 00 82 28 80 17 00 00 00 00 00 00 2A [00:02:39]Write i2c OK [00:02:39]MH_I2C_Read... [00:02:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:39]Read from MH i2c: E2 [00:02:39]MH_I2C_Read... [00:02:39]Read from MH i2c: E2 FD 00 [00:02:39]MH_I2C_Read... [00:02:39]Read from MH i2c: E2 FD 00 82 28 00 00 00 EF 03 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 90 00 9F [00:02:40]RAPDU: 00 00 EF 03 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 90 00 [00:02:40]wFMCommunicate OK [00:02:40]wFMCommunicate request_size=4 [00:02:40]MH_SAM_APDU [00:02:40]CAPDU: 80 17 00 00 [00:02:40]Write to MH i2c: E2 08 00 83 28 80 17 00 00 00 00 00 00 2B [00:02:40]Write i2c OK [00:02:40]MH_I2C_Read... [00:02:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:02:40]Read from MH i2c: E2 [00:02:40]MH_I2C_Read... [00:02:40]Read from MH i2c: E2 D8 00 [00:02:40]MH_I2C_Read... [00:02:40]Read from MH i2c: E2 D8 00 83 28 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 12 [00:02:40]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:02:40]wFMCommunicate OK [00:02:40]SAM_PROTO_GetFMData done [00:02:40]requested_item fm.sale_refund.total is exist - process it [00:02:40]requested_item fm.buy.total is exist - process it [00:02:40]requested_item shift.sale.total is exist - process it [00:02:40]SAM_PROTO_GetShiftData [00:02:40]wFMCommunicate request_size=4 [00:02:40]MH_SAM_APDU [00:02:40]CAPDU: 80 13 02 00 [00:02:40]Write to MH i2c: E2 08 00 84 28 80 13 02 00 00 00 00 00 2A [00:02:40]Write i2c OK [00:02:40]MH_I2C_Read... [00:02:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:02:41]Read from MH i2c: E2 [00:02:41]MH_I2C_Read... [00:02:41]Read from MH i2c: E2 FD 00 [00:02:41]MH_I2C_Read... [00:02:41]Read from MH i2c: E2 FD 00 84 28 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 9D [00:02:41]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:02:41]wFMCommunicate OK [00:02:41]wFMCommunicate request_size=4 [00:02:41]MH_SAM_APDU [00:02:41]CAPDU: 80 17 00 00 [00:02:41]Write to MH i2c: E2 08 00 85 28 80 17 00 00 00 00 00 00 2D [00:02:41]Write i2c OK [00:02:41]MH_I2C_Read... [00:02:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:41]Read from MH i2c: E2 [00:02:41]MH_I2C_Read... [00:02:41]Read from MH i2c: E2 FD 00 [00:02:41]MH_I2C_Read... [00:02:41]Read from MH i2c: E2 FD 00 85 28 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 35 [00:02:41]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:02:41]wFMCommunicate OK [00:02:41]wFMCommunicate request_size=4 [00:02:41]MH_SAM_APDU [00:02:41]CAPDU: 80 17 00 00 [00:02:41]Write to MH i2c: E2 08 00 86 28 80 17 00 00 00 00 00 00 2E [00:02:41]Write i2c OK [00:02:41]MH_I2C_Read... [00:02:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:41]Read from MH i2c: E2 [00:02:41]MH_I2C_Read... [00:02:41]Read from MH i2c: E2 FD 00 [00:02:41]MH_I2C_Read... [00:02:41]Read from MH i2c: E2 FD 00 86 28 00 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 00 [00:02:42]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:02:42]wFMCommunicate OK [00:02:42]wFMCommunicate request_size=4 [00:02:42]MH_SAM_APDU [00:02:42]CAPDU: 80 17 00 00 [00:02:42]Write to MH i2c: E2 08 00 87 28 80 17 00 00 00 00 00 00 2F [00:02:42]Write i2c OK [00:02:42]MH_I2C_Read... [00:02:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:42]Read from MH i2c: E2 [00:02:42]MH_I2C_Read... [00:02:42]Read from MH i2c: E2 FD 00 [00:02:42]MH_I2C_Read... [00:02:42]Read from MH i2c: E2 FD 00 87 28 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 A1 [00:02:42]RAPDU: OFD Sender: No OFD packet to send [00:02:42]00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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:02:42]wFMCommunicate OK [00:02:42]wFMCommunicate request_size=4 [00:02:42]MH_SAM_APDU [00:02:42]CAPDU: 80 17 00 00 [00:02:42]Write to MH i2c: E2 08 00 88 28 80 17 00 00 00 00 00 00 30 [00:02:42]Write i2c OK [00:02:42]MH_I2C_Read... [00:02:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:02:42]Read from MH i2c: E2 [00:02:42]MH_I2C_Read... [00:02:42]Read from MH i2c: E2 BD 00 [00:02:42]MH_I2C_Read... [00:02:42]Read from MH i2c: E2 BD 00 88 28 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 16 [00:02:42]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:02:43]wFMCommunicate OK [00:02:43]SAM_PROTO_GetShiftData done [00:02:43]requested_item shift.sale.total_cash is exist - process it [00:02:43]requested_item shift.sale_refund.total is exist - process it [00:02:43]requested_item shift.sale_refund.total_cash is exist - process it [00:02:43]requested_item shift.buy.total is exist - process it [00:02:43]requested_item shift.buy.total_cash is exist - process it [00:02:43]produce_requested_data done [00:02:43]produce_requested_data return {"fm.sale.total":925327.31,"fm.sale_refund.total":1764.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:02:43]process_action_free get_value [00:02:43]json_value_free [00:02:43]json_value_free done [00:02:43]process_json_proto returns [00:02:43]Send response to host [00:02:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":925327.31,"fm.sale_refund.total":1764.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:02:43]free response buf [00:02:43]execute_script done [00:02:43]execute_script returns [00:02:43]free content buf [00:02:43]Sock 9.Close socket [00:02:43]Sock 9.Thread stoped [00:02:47]OFD Sender: No OFD packet to send [00:02:52]OFD Sender: No OFD packet to send [00:02:57]OFD Sender: No OFD packet to send [00:03:02]OFD Sender: No OFD packet to send [00:03:07]OFD Sender: No OFD packet to send [00:03:12]OFD Sender: No OFD packet to send [00:03:17]OFD Sender: No OFD packet to send [00:03:22]OFD Sender: No OFD packet to send [00:03:27]OFD Sender: No OFD packet to send [00:03:32]OFD Sender: No OFD packet to send [00:03:37]OFD Sender: No OFD packet to send [00:03:42]OFD Sender: No OFD packet to send [00:03:47]OFD Sender: No OFD packet to send [00:03:52]OFD Sender: No OFD packet to send [00:03:57]OFD Sender: No OFD packet to send [00:04:02]OFD Sender: No OFD packet to send [00:04:07]OFD Sender: No OFD packet to send [00:04:12]OFD Sender: No OFD packet to send [00:04:17]OFD Sender: No OFD packet to send [00:04:22]OFD Sender: No OFD packet to send [00:04:27]OFD Sender: No OFD packet to send [00:04:32]OFD Sender: No OFD packet to send [00:04:37]OFD Sender: No OFD packet to send [00:04:42]OFD Sender: No OFD packet to send [00:04:47]OFD Sender: No OFD packet to send [00:04:52]OFD Sender: No OFD packet to send [00:04:57]OFD Sender: No OFD packet to send [00:05:02]OFD Sender: No OFD packet to send [00:05:07]OFD Sender: No OFD packet to send [00:05:12]OFD Sender: No OFD packet to send [00:05:17]OFD Sender: No OFD packet to send [00:05:22]OFD Sender: No OFD packet to send [00:05:27]OFD Sender: No OFD packet to send [00:05:32]OFD Sender: No OFD packet to send [00:05:37]OFD Sender: No OFD packet to send [00:05:42]OFD Sender: No OFD packet to send [00:05:47]OFD Sender: No OFD packet to send [00:05:52]OFD Sender: No OFD packet to send [00:05:57]OFD Sender: No OFD packet to send [00:06:02]OFD Sender: No OFD packet to send [00:06:07]OFD Sender: No OFD packet to send [00:06:12]OFD Sender: No OFD packet to send [00:06:17]OFD Sender: No OFD packet to send [00:06:22]OFD Sender: No OFD packet to send [00:06:27]OFD Sender: No OFD packet to send [00:06:32]OFD Sender: No OFD packet to send [00:06:37]OFD Sender: No OFD packet to send [00:06:42]OFD Sender: No OFD packet to send [00:06:47]OFD Sender: No OFD packet to send [00:06:52]OFD Sender: No OFD packet to send [00:06:57]OFD Sender: No OFD packet to send [00:07:02]OFD Sender: No OFD packet to send [00:07:07]OFD Sender: No OFD packet to send [00:07:12]OFD Sender: No OFD packet to send [00:07:17]OFD Sender: No OFD packet to send [00:07:22]OFD Sender: No OFD packet to send [00:07:27]OFD Sender: No OFD packet to send [00:07:32]OFD Sender: No OFD packet to send [00:07:37]OFD Sender: No OFD packet to send [00:07:42]OFD Sender: No OFD packet to send [00:07:47]OFD Sender: No OFD packet to send [00:07:52]OFD Sender: No OFD packet to send [00:07:57]OFD Sender: No OFD packet to send [00:08:02]OFD Sender: No OFD packet to send [00:08:07]OFD Sender: No OFD packet to send [00:08:12]OFD Sender: No OFD packet to send [00:08:17]OFD Sender: No OFD packet to send [00:08:22]OFD Sender: No OFD packet to send [00:08:27]OFD Sender: No OFD packet to send [00:08:32]OFD Sender: No OFD packet to send [00:08:37]OFD Sender: No OFD packet to send [00:08:42]OFD Sender: No OFD packet to send [00:08:47]OFD Sender: No OFD packet to send [00:08:52]OFD Sender: No OFD packet to send [00:08:57]OFD Sender: No OFD packet to send [00:09:02]OFD Sender: No OFD packet to send [00:09:07]OFD Sender: No OFD packet to send [00:09:12]OFD Sender: No OFD packet to send [00:09:17]OFD Sender: No OFD packet to send [00:09:22]OFD Sender: No OFD packet to send [00:09:27]OFD Sender: No OFD packet to send [00:09:32]OFD Sender: No OFD packet to send [00:09:37]OFD Sender: No OFD packet to send [00:09:42]OFD Sender: No OFD packet to send [00:09:47]OFD Sender: No OFD packet to send [00:09:52]OFD Sender: No OFD packet to send [00:09:57]OFD Sender: No OFD packet to send [00:10:02]OFD Sender: No OFD packet to send [00:10:07]OFD Sender: No OFD packet to send [00:10:12]OFD Sender: No OFD packet to send [00:10:17]OFD Sender: No OFD packet to send [00:10:22]OFD Sender: No OFD packet to send [00:10:27]OFD Sender: No OFD packet to send [00:10:32]OFD Sender: No OFD packet to send [00:10:37]OFD Sender: No OFD packet to send [00:10:42]OFD Sender: No OFD packet to send [00:10:47]OFD Sender: No OFD packet to send [00:10:52]OFD Sender: No OFD packet to send [00:10:57]OFD Sender: No OFD packet to send [00:11:02]OFD Sender: No OFD packet to send [00:11:07]OFD Sender: No OFD packet to send [00:11:12]OFD Sender: No OFD packet to send [00:11:17]OFD Sender: No OFD packet to send [00:11:22]OFD Sender: No OFD packet to send [00:11:27]OFD Sender: No OFD packet to send [00:11:32]OFD Sender: No OFD packet to send [00:11:37]OFD Sender: No OFD packet to send [00:11:42]OFD Sender: No OFD packet to send [00:11:47]OFD Sender: No OFD packet to send [00:11:53]OFD Sender: No OFD packet to send [00:11:58]OFD Sender: No OFD packet to send [00:12:03]OFD Sender: No OFD packet to send [00:12:08]OFD Sender: No OFD packet to send [00:12:13]OFD Sender: No OFD packet to send [00:12:18]OFD Sender: No OFD packet to send [00:12:23]OFD Sender: No OFD packet to send [00:12:28]OFD Sender: No OFD packet to send [00:12:33]OFD Sender: No OFD packet to send [00:12:38]OFD Sender: No OFD packet to send [00:12:43]OFD Sender: No OFD packet to send [00:12:48]OFD Sender: No OFD packet to send [00:12:53]OFD Sender: No OFD packet to send [00:12:58]OFD Sender: No OFD packet to send [00:13:03]OFD Sender: No OFD packet to send [00:13:08]OFD Sender: No OFD packet to send [00:13:13]OFD Sender: No OFD packet to send [00:13:18]OFD Sender: No OFD packet to send [00:13:23]OFD Sender: No OFD packet to send [00:13:28]OFD Sender: No OFD packet to send [00:13:33]OFD Sender: No OFD packet to send [00:13:38]OFD Sender: No OFD packet to send [00:13:43]OFD Sender: No OFD packet to send [00:13:48]OFD Sender: No OFD packet to send [00:13:53]OFD Sender: No OFD packet to send [00:13:58]OFD Sender: No OFD packet to send [00:14:03]OFD Sender: No OFD packet to send [00:14:08]OFD Sender: No OFD packet to send [00:14:13]OFD Sender: No OFD packet to send [00:14:18]OFD Sender: No OFD packet to send [00:14:23]OFD Sender: No OFD packet to send [00:14:28]OFD Sender: No OFD packet to send [00:14:33]OFD Sender: No OFD packet to send [00:14:38]OFD Sender: No OFD packet to send [00:14:43]OFD Sender: No OFD packet to send [00:14:48]OFD Sender: No OFD packet to send [00:14:53]OFD Sender: No OFD packet to send [00:14:58]OFD Sender: No OFD packet to send [00:15:03]OFD Sender: No OFD packet to send [00:15:08]OFD Sender: No OFD packet to send [00:15:13]OFD Sender: No OFD packet to send [00:15:18]OFD Sender: No OFD packet to send [00:15:23]OFD Sender: No OFD packet to send [00:15:28]OFD Sender: No OFD packet to send [00:15:33]OFD Sender: No OFD packet to send [00:15:38]OFD Sender: No OFD packet to send [00:15:43]OFD Sender: No OFD packet to send [00:15:48]OFD Sender: No OFD packet to send [00:15:53]OFD Sender: No OFD packet to send [00:15:58]OFD Sender: No OFD packet to send [00:16:03]OFD Sender: No OFD packet to send [00:16:08]OFD Sender: No OFD packet to send [00:16:13]OFD Sender: No OFD packet to send [00:16:18]OFD Sender: No OFD packet to send [00:16:23]OFD Sender: No OFD packet to send [00:16:28]OFD Sender: No OFD packet to send [00:16:33]OFD Sender: No OFD packet to send [00:16:38]OFD Sender: No OFD packet to send [00:16:43]OFD Sender: No OFD packet to send [00:16:48]OFD Sender: No OFD packet to send [00:16:53]OFD Sender: No OFD packet to send [00:16:58]OFD Sender: No OFD packet to send [00:17:03]OFD Sender: No OFD packet to send [00:17:08]OFD Sender: No OFD packet to send [00:17:13]OFD Sender: No OFD packet to send [00:17:18]OFD Sender: No OFD packet to send [00:17:23]OFD Sender: No OFD packet to send [00:17:28]OFD Sender: No OFD packet to send [00:17:33]OFD Sender: No OFD packet to send [00:17:38]OFD Sender: No OFD packet to send [00:17:43]OFD Sender: No OFD packet to send [00:17:48]OFD Sender: No OFD packet to send [00:17:53]OFD Sender: No OFD packet to send [00:17:58]OFD Sender: No OFD packet to send [00:18:03]OFD Sender: No OFD packet to send [00:18:08]OFD Sender: No OFD packet to send [00:18:13]OFD Sender: No OFD packet to send [00:18:18]OFD Sender: No OFD packet to send [00:18:23]OFD Sender: No OFD packet to send [00:18:28]OFD Sender: No OFD packet to send [00:18:33]OFD Sender: No OFD packet to send [00:18:38]OFD Sender: No OFD packet to send [00:18:43]OFD Sender: No OFD packet to send [00:18:48]OFD Sender: No OFD packet to send [00:18:53]OFD Sender: No OFD packet to send [00:18:58]OFD Sender: No OFD packet to send [00:19:03]OFD Sender: No OFD packet to send [00:19:08]OFD Sender: No OFD packet to send [00:19:13]OFD Sender: No OFD packet to send [00:19:18]OFD Sender: No OFD packet to send [00:19:23]OFD Sender: No OFD packet to send [00:19:28]OFD Sender: No OFD packet to send [00:19:33]OFD Sender: No OFD packet to send [00:19:38]OFD Sender: No OFD packet to send [00:19:43]OFD Sender: No OFD packet to send [00:19:48]OFD Sender: No OFD packet to send [00:19:53]OFD Sender: No OFD packet to send [00:19:58]OFD Sender: No OFD packet to send [00:20:03]OFD Sender: No OFD packet to send [00:20:08]OFD Sender: No OFD packet to send [00:20:13]OFD Sender: No OFD packet to send [00:20:18]OFD Sender: No OFD packet to send [00:20:23]OFD Sender: No OFD packet to send [00:20:28]OFD Sender: No OFD packet to send [00:20:33]OFD Sender: No OFD packet to send [00:20:38]OFD Sender: No OFD packet to send [00:20:43]OFD Sender: No OFD packet to send [00:20:48]OFD Sender: No OFD packet to send [00:20:53]OFD Sender: No OFD packet to send [00:20:58]OFD Sender: No OFD packet to send [00:21:03]OFD Sender: No OFD packet to send [00:21:08]OFD Sender: No OFD packet to send [00:21:13]OFD Sender: No OFD packet to send [00:21:18]OFD Sender: No OFD packet to send [00:21:23]OFD Sender: No OFD packet to send [00:21:28]OFD Sender: No OFD packet to send [00:21:33]OFD Sender: No OFD packet to send [00:21:38]OFD Sender: No OFD packet to send [00:21:43]OFD Sender: No OFD packet to send [00:21:48]OFD Sender: No OFD packet to send [00:21:53]OFD Sender: No OFD packet to send [00:21:58]OFD Sender: No OFD packet to send [00:22:03]OFD Sender: No OFD packet to send [00:22:08]OFD Sender: No OFD packet to send [00:22:13]OFD Sender: No OFD packet to send [00:22:18]OFD Sender: No OFD packet to send [00:22:23]OFD Sender: No OFD packet to send [00:22:28]OFD Sender: No OFD packet to send [00:22:32]accept exits with 8 [00:22:32]New connection [00:22:32]New thread 3067370852 created [00:22:32]Thread 3067227492 joined [00:22:32]Waiting for new connection... [00:22:32] Sock 8.Parse request [00:22:32]Sock 8.Check first char [00:22:32]Sock 8.First char is OK [00:22:32]request: POST /json_proto HTTP/1.0 [00:22:32]Method: POST [00:22:32]URL: /json_proto [00:22:32]Method is POST - this is cgi request [00:22:32]url: /json_proto [00:22:32]query_string will be loaded in cgi processing [00:22:32]execute_cgi json_proto POST (null) [00:22:32]execute_cgi path=json_proto method=POST [00:22:32]POST find Content-Length [00:22:32]Host: 172.17.56.68:8080 [00:22:32]Content-Length: 612 [00:22:32]Content-Type: application/json [00:22:32] [00:22:32]POST finish read [00:22:32]Found Content-Length = 612 [00:22:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4396", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:22:32]execute_script... [00:22:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4396", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:22:32]POST & json_proto [00:22:32]process_json_proto [00:22:32]json parsed OK: [00:22:32]protocol is kg_v1.0 [00:22:32]action value=close_receipt [00:22:32]process_action close_receipt [00:22:32]cmd_close_receipt [00:22:32]MH_GetDate [00:22:32]Write to MH i2c: F0 00 00 89 28 A0 [00:22:32]Write i2c OK [00:22:32]MH_I2C_Read... [00:22:32]Read from MH i2c: F0 [00:22:32]MH_I2C_Read... [00:22:32]Read from MH i2c: F0 09 00 [00:22:32]MH_I2C_Read... [00:22:32]Read from MH i2c: F0 09 00 89 28 00 D3 AF 5F 66 42 69 5C 66 5D [00:22:32]GetLastDocTimeStamp 1717545765 [00:22:32]current date 1717546963 [00:22:32]FM_GetShiftState [00:22:32]SAM_PROTO_GetShiftState [00:22:32]wFMCommunicate request_size=4 [00:22:32]MH_SAM_APDU [00:22:32]CAPDU: 80 13 01 00 [00:22:32]Write to MH i2c: E2 08 00 8A 28 80 13 01 00 00 00 00 00 2F [00:22:32]Write i2c OK [00:22:32]MH_I2C_Read... [00:22:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:22:32]Read from MH i2c: E2 [00:22:32]MH_I2C_Read... [00:22:32]Read from MH i2c: E2 0E 00 [00:22:32]MH_I2C_Read... [00:22:32]Read from MH i2c: E2 0E 00 8A 28 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 D0 [00:22:32]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [00:22:32]wFMCommunicate OK [00:22:32]SAM_PROTO_GetShiftState done [00:22:32]FM_GetShiftState done [00:22:32]opened in 1717545765 [00:22:32]opened+sec_in_day 1717632165 [00:22:32]quantity*price = 11000 [00:22:32]sum+1 = 11001 [00:22:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 1 05.06.2024 00:22 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4143 ФПД: 44083179195500 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T002243&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4143&fm=44083179195500&tin=02508201610067®Number=0000000000145775&sum=11000 0 [00:22:33]StoreToDocumentArchive [00:22:33]shift 84 fd 4143 [00:22:33]save to /storage/0084/doc_00004143 [00:22:33]save last doc name /storage/0084/doc_00004143 to /storage/kkm_last_doc_name [00:22:33]save OK [00:22:33]Clear old archive folders... [00:22:33]ProcessDocumentItem done err = 0, tmpTLVsize=266 [00:22:33]tlvbuf is 007E84F0 [00:22:33]SAM_PROTO_ClearQueue [00:22:33]wFMCommunicate request_size=4 [00:22:33]MH_SAM_APDU [00:22:33]CAPDU: 80 09 00 00 [00:22:33]Write to MH i2c: E2 08 00 97 28 80 09 00 00 00 00 00 00 31 [00:22:33]Write i2c OK [00:22:33]MH_I2C_Read... [00:22:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:22:33]Read from MH i2c: E2 [00:22:33]MH_I2C_Read... [00:22:33]Read from MH i2c: E2 03 00 [00:22:33]MH_I2C_Read... [00:22:33]Read from MH i2c: E2 03 00 97 28 00 90 00 33 [00:22:33]RAPDU: 90 00 [00:22:33]wFMCommunicate OK [00:22:33]SAM_PROTO_ClearQueue done [00:22:33]KKMCreateOFDPacket [00:22:33]OFDProtocolAddRootSTLVToBuf [00:22:33]FM_MakeSignedData [00:22:33]FM_MakeSignedData [00:22:33]SAM_PROTO_SignData [00:22:33]wFMCommunicate request_size=4 [00:22:33]MH_SAM_APDU [00:22:33]CAPDU: 80 0D 01 02 [00:22:33]Write to MH i2c: E2 08 00 98 28 80 0D 01 02 00 00 00 00 39 [00:22:33]Write i2c OK [00:22:33]MH_I2C_Read... [00:22:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:22:33]Read from MH i2c: E2 [00:22:33]MH_I2C_Read... [00:22:33]OFD Sender: No OFD packet to send [00:22:33]Read from MH i2c: E2 03 00 [00:22:33]MH_I2C_Read... [00:22:33]Read from MH i2c: E2 03 00 98 28 00 90 00 34 [00:22:33]RAPDU: 90 00 [00:22:33]wFMCommunicate OK [00:22:33]wFMCommunicate request_size=255 [00:22:33]MH_SAM_APDU [00:22:33]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 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 D3 AF 5F 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 [00:22:33]Write to MH i2c: E2 02 01 99 28 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 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 D3 AF 5F 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 00 00 52 [00:22:33]Write i2c OK [00:22:33]MH_I2C_Read... [00:22:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:22:34]Read from MH i2c: E2 [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: E2 03 00 [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: E2 03 00 99 28 00 90 00 35 [00:22:34]RAPDU: 90 00 [00:22:34]wFMCommunicate OK [00:22:34]wFMCommunicate request_size=25 [00:22:34]MH_SAM_APDU [00:22:34]CAPDU: 80 0D 02 02 14 36 30 10 04 04 00 2F 10 00 00 35 04 06 00 28 17 EA 3C 8C 6C [00:22:34]Write to MH i2c: E2 1C 00 9A 28 80 0D 02 02 14 00 36 30 10 04 04 00 2F 10 00 00 35 04 06 00 28 17 EA 3C 8C 6C 00 00 BD [00:22:34]Write i2c OK [00:22:34]MH_I2C_Read... [00:22:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:22:34]Read from MH i2c: E2 [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: E2 03 00 [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: E2 03 00 9A 28 00 90 00 36 [00:22:34]RAPDU: 90 00 [00:22:34]wFMCommunicate OK [00:22:34]wFMCommunicate request_size=4 [00:22:34]MH_SAM_APDU [00:22:34]CAPDU: 80 0D 03 02 [00:22:34]Write to MH i2c: E2 08 00 9B 28 80 0D 03 02 00 00 00 00 3E [00:22:34]Write i2c OK [00:22:34]MH_I2C_Read... [00:22:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:22:34]Read from MH i2c: E2 [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: E2 0B 00 [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: E2 0B 00 9B 28 00 68 61 07 05 E2 FD 6D 3A 90 00 9A [00:22:34]RAPDU: 68 61 07 05 E2 FD 6D 3A 90 00 [00:22:34]wFMCommunicate OK [00:22:34]SAM_PROTO_SignData done [00:22:34]FM_MakeSignedData done [00:22:34]CreateOFDProtocolMessage [00:22:34]wFMCommunicate request_size=4 [00:22:34]MH_SAM_APDU [00:22:34]CAPDU: 80 11 00 00 [00:22:34]Write to MH i2c: E2 08 00 9C 28 80 11 00 00 00 00 00 00 3E [00:22:34]Write i2c OK [00:22:34]MH_I2C_Read... [00:22:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:22:34]Read from MH i2c: E2 [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: E2 17 00 [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: E2 17 00 9C 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 91 [00:22:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [00:22:34]wFMCommunicate OK [00:22:34]CreateOFDProtocolMessage done [00:22:34]OFDSenderStorePacket 4143 [00:22:34]StoreOFDPacket docnum=4143 [00:22:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 C1 85 16 01 F5 79 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 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 D3 AF 5F 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2F 10 00 00 35 04 06 00 28 17 EA 3C 8C 6C 68 61 07 05 E2 FD 6D 3A [00:22:34]CheckFolder [00:22:34]dirname=/storage/ofd_packets [00:22:34]CheckFolder done [00:22:34]ProducePacketName [00:22:34]name=ofd_packets/00004143 [00:22:34]NVStorageSaveData ofd_packets/00004143 [00:22:34]File name is /storage/ofd_packets/00004143 [00:22:34]Write 316 bytes [00:22:34]NVStorageSaveData done [00:22:34]OFDSenderStorePacket done [00:22:34]KKMCreateOFDPacket done [00:22:34]NVStorageSaveData kkm_last_timestamp [00:22:34]File name is /storage/kkm_last_timestamp [00:22:34]Write 4 bytes [00:22:34]NVStorageSaveData done [00:22:34]ExternCall_PrintAddStr [00:22:34]wPrintStart [00:22:34]Write to MH i2c: 01 00 00 9D 28 C5 [00:22:34]Write i2c OK [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: 01 [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: 01 07 00 [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: 01 07 00 9D 28 00 00 00 00 00 FF 0F DA [00:22:34]RasterBufferAndPrint [00:22:34]line Счет N : (3)4396 [00:22:34]line ИНН: 02508201610067 [00:22:34]line Контрольно-Кассовый Чек [00:22:34]line ПРОДАЖА [00:22:34]line Товар: 4870001570071 [00:22:34]line Напиток Pepsi 1л [00:22:34]line 1.000 * 110.00 [00:22:34]line = 110.00 [00:22:34]line НДС 12% НСП 1% [00:22:34]line > о реализуемом товаре [00:22:34]line ИТОГО: 110.00 [00:22:34]line НСП 1% : 0.97 [00:22:34]line НДС 12% : 11.68 [00:22:34]line Наличными: 110.00 [00:22:34]line Безнал.: 0.00 [00:22:34]line Место: АЗС № 116 "Партнер Нефть" [00:22:34]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [00:22:34]line СНО: Общий режим [00:22:34]line Чек 1 05.06.2024 00:22 [00:22:34]line Смена: 84 ФФД: 1.0 [00:22:34]line ЗНМ: 0300000233 [00:22:34]line РНМ: 0000000000145775 [00:22:34]line Версия ККМ: v1.0 [00:22:34]line ФМ: 0000000000959360 [00:22:34]line ФД: 4143 [00:22:34]line ФПД: 44083179195500 [00:22:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T002243&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4143&fm=44083179195500&tin=02508201610067®Number=0000000000145775&sum=11000 [00:22:34]line 0 [00:22:34]written 0, free lines is 4095 [00:22:34]OFD Sender: Processing packet 4143 [packets to send 2, broken 1] [00:22:34]ProducePacketName [00:22:34]name=ofd_packets/00004143 [00:22:34]OFD Sender: To server: pG, [00:22:34]CommunicateWithHost lk.salyk.kg:30040 [00:22:34]ConnectInit lk.salyk.kg [00:22:34]Connected sock=10 [00:22:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 C1 85 16 01 F5 79 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 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 D3 AF 5F 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2F 10 00 00 35 04 06 00 28 17 EA 3C 8C 6C 68 61 07 05 E2 FD 6D 3A [00:22:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 4B 39 47 00 85 EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 2F 10 00 00 F4 03 04 00 D2 5B 5F 66 B6 04 01 00 00 A9 D4 D5 9A 1E 25 7E 4C [00:22:34]CommunicateWithHost err = 0 [00:22:34]CheckOFDResponse [00:22:34]1017 (14) - 77093643461234 [00:22:34]1041 (16) - 0000000000959360 [00:22:34]1040 (4) - 4143 [00:22:34]1012 (4) - 04.06.2024 18:24 [00:22:34]1206 (1) - 0 [00:22:34]OFD Sender: Remove packet 4143 [00:22:34]ProducePacketName [00:22:34]name=ofd_packets/00004143 [00:22:34]NVStorageDeleteData [00:22:34]Write to MH i2c: 01 00 00 C5 28 ED [00:22:34]Write i2c OK [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: 01 [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: 01 07 00 [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: 01 07 00 C5 28 00 00 00 00 00 BB 0C BB [00:22:34]RasterBufferAndPrint [00:22:34]line [00:22:34]line [00:22:34]line [00:22:34]line [00:22:34]line [00:22:34]written 0, free lines is 3263 [00:22:34]MH_Cut [00:22:34]Write to MH i2c: D1 01 00 CC 28 01 C6 [00:22:34]Write i2c OK [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: D1 [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: D1 01 00 [00:22:34]MH_I2C_Read... [00:22:34]Read from MH i2c: D1 01 00 CC 28 00 C5 [00:22:34]Write to MH i2c: 01 00 00 CD 28 F5 [00:22:34]Write i2c OK [00:22:34]MH_I2C_Read... [00:22:35]OFD Sender: No OFD packet to send [00:22:35]*** Cut start [00:22:35]*** Partial cut [00:22:35]*** CUTSNS_PIN = 1 [00:22:35]*** CUTSNS_PIN = 0 [00:22:35]*** Brake cut motor [00:22:36]Read from MH i2c: 01 [00:22:36]MH_I2C_Read... [00:22:36]*** Stop cut motor [00:22:36]*** Cut end [00:22:36]Read from MH i2c: 01 07 00 [00:22:36]MH_I2C_Read... [00:22:36]Read from MH i2c: 01 07 00 CD 28 00 00 00 00 00 FF 0F 0A [00:22:36]process_action close_receipt done [00:22:36]requested_data is exist [00:22:36]produce_requested_data [00:22:36]requested_item fm.sn is exist - process it [00:22:36]wFMCommunicate request_size=4 [00:22:36]MH_SAM_APDU [00:22:36]CAPDU: 80 11 00 00 [00:22:36]Write to MH i2c: E2 08 00 CE 28 80 11 00 00 00 00 00 00 70 [00:22:36]Write i2c OK [00:22:36]MH_I2C_Read... [00:22:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:22:36]Read from MH i2c: E2 [00:22:36]MH_I2C_Read... [00:22:36]Read from MH i2c: E2 17 00 [00:22:36]MH_I2C_Read... [00:22:36]Read from MH i2c: E2 17 00 CE 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C3 [00:22:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [00:22:36]wFMCommunicate OK [00:22:36]requested_item fd.num is exist - process it [00:22:36]SAM_PROTO_GetFieldsCounters [00:22:36]wFMCommunicate request_size=4 [00:22:36]MH_SAM_APDU [00:22:36]CAPDU: 80 13 00 00 [00:22:36]Write to MH i2c: E2 08 00 CF 28 80 13 00 00 00 00 00 00 73 [00:22:36]Write i2c OK [00:22:36]MH_I2C_Read... [00:22:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:22:36]Read from MH i2c: E2 [00:22:36]MH_I2C_Read... [00:22:36]Read from MH i2c: E2 62 00 [00:22:36]MH_I2C_Read... [00:22:36]Read from MH i2c: E2 62 00 CF 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2F 10 00 00 0E 04 04 00 54 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 2E [00:22:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 2F 10 00 00 0E 04 04 00 54 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:22:36]wFMCommunicate OK [00:22:36]SAM_PROTO_GetFieldsCounters done [00:22:36]requested_item shift.num is exist - process it [00:22:36]requested_item shift.opened is exist - process it [00:22:36]req_shift_opened [00:22:36]FM_GetShiftState [00:22:36]SAM_PROTO_GetShiftState [00:22:36]wFMCommunicate request_size=4 [00:22:36]MH_SAM_APDU [00:22:36]CAPDU: 80 13 01 00 [00:22:36]Write to MH i2c: E2 08 00 D0 28 80 13 01 00 00 00 00 00 75 [00:22:36]Write i2c OK [00:22:36]MH_I2C_Read... [00:22:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:22:36]Read from MH i2c: E2 [00:22:36]MH_I2C_Read... [00:22:36]Read from MH i2c: E2 0E 00 [00:22:36]MH_I2C_Read... [00:22:36]Read from MH i2c: E2 0E 00 D0 28 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 16 [00:22:36]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [00:22:36]wFMCommunicate OK [00:22:36]SAM_PROTO_GetShiftState done [00:22:36]FM_GetShiftState done [00:22:36]req_shift_opened done [00:22:36]requested_item shift.open_date is exist - process it [00:22:36]req_shift_open_date [00:22:36]req_shift_open_date done [00:22:36]produce_requested_data done [00:22:36]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4143,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [00:22:36]process_action_free close_receipt [00:22:36]json_value_free [00:22:36]json_value_free done [00:22:36]process_json_proto returns [00:22:36]Send response to host [00:22:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4143,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [00:22:36]free response buf [00:22:36]execute_script done [00:22:36]execute_script returns [00:22:36]free content buf [00:22:36]Sock 8.Close socket [00:22:36]Sock 8.Thread stoped [00:22:40]OFD Sender: No OFD packet to send [00:22:45]OFD Sender: No OFD packet to send [00:22:50]OFD Sender: No OFD packet to send [00:22:55]OFD Sender: No OFD packet to send [00:23:00]OFD Sender: No OFD packet to send [00:23:05]OFD Sender: No OFD packet to send [00:23:10]OFD Sender: No OFD packet to send [00:23:15]OFD Sender: No OFD packet to send [00:23:20]OFD Sender: No OFD packet to send [00:23:25]OFD Sender: No OFD packet to send [00:23:30]OFD Sender: No OFD packet to send [00:23:35]OFD Sender: No OFD packet to send [00:23:40]OFD Sender: No OFD packet to send [00:23:45]OFD Sender: No OFD packet to send [00:23:50]OFD Sender: No OFD packet to send [00:23:55]OFD Sender: No OFD packet to send [00:24:00]OFD Sender: No OFD packet to send [00:24:05]OFD Sender: No OFD packet to send [00:24:10]OFD Sender: No OFD packet to send [00:24:15]OFD Sender: No OFD packet to send [00:24:20]OFD Sender: No OFD packet to send [00:24:25]OFD Sender: No OFD packet to send [00:24:30]OFD Sender: No OFD packet to send [00:24:35]OFD Sender: No OFD packet to send [00:24:40]OFD Sender: No OFD packet to send [00:24:45]OFD Sender: No OFD packet to send [00:24:50]OFD Sender: No OFD packet to send [00:24:55]OFD Sender: No OFD packet to send [00:25:00]OFD Sender: No OFD packet to send [00:25:05]OFD Sender: No OFD packet to send [00:25:10]OFD Sender: No OFD packet to send [00:25:15]OFD Sender: No OFD packet to send [00:25:20]OFD Sender: No OFD packet to send [00:25:25]OFD Sender: No OFD packet to send [00:25:30]OFD Sender: No OFD packet to send [00:25:35]OFD Sender: No OFD packet to send [00:25:40]OFD Sender: No OFD packet to send [00:25:45]OFD Sender: No OFD packet to send [00:25:50]OFD Sender: No OFD packet to send [00:25:55]OFD Sender: No OFD packet to send [00:26:00]OFD Sender: No OFD packet to send [00:26:05]OFD Sender: No OFD packet to send [00:26:10]OFD Sender: No OFD packet to send [00:26:15]OFD Sender: No OFD packet to send [00:26:20]OFD Sender: No OFD packet to send [00:26:25]OFD Sender: No OFD packet to send [00:26:30]OFD Sender: No OFD packet to send [00:26:35]OFD Sender: No OFD packet to send [00:26:40]OFD Sender: No OFD packet to send [00:26:45]OFD Sender: No OFD packet to send [00:26:50]OFD Sender: No OFD packet to send [00:26:55]OFD Sender: No OFD packet to send [00:27:00]OFD Sender: No OFD packet to send [00:27:05]OFD Sender: No OFD packet to send [00:27:10]OFD Sender: No OFD packet to send [00:27:15]OFD Sender: No OFD packet to send [00:27:20]OFD Sender: No OFD packet to send [00:27:25]OFD Sender: No OFD packet to send [00:27:30]OFD Sender: No OFD packet to send [00:27:35]OFD Sender: No OFD packet to send [00:27:40]OFD Sender: No OFD packet to send [00:27:45]OFD Sender: No OFD packet to send [00:27:50]OFD Sender: No OFD packet to send [00:27:55]OFD Sender: No OFD packet to send [00:28:00]OFD Sender: No OFD packet to send [00:28:05]OFD Sender: No OFD packet to send [00:28:10]OFD Sender: No OFD packet to send [00:28:15]OFD Sender: No OFD packet to send [00:28:20]OFD Sender: No OFD packet to send [00:28:25]OFD Sender: No OFD packet to send [00:28:30]OFD Sender: No OFD packet to send [00:28:35]OFD Sender: No OFD packet to send [00:28:40]OFD Sender: No OFD packet to send [00:28:45]OFD Sender: No OFD packet to send [00:28:50]OFD Sender: No OFD packet to send [00:28:55]OFD Sender: No OFD packet to send [00:29:00]OFD Sender: No OFD packet to send [00:29:05]OFD Sender: No OFD packet to send [00:29:10]OFD Sender: No OFD packet to send [00:29:15]OFD Sender: No OFD packet to send [00:29:20]OFD Sender: No OFD packet to send [00:29:25]OFD Sender: No OFD packet to send [00:29:30]OFD Sender: No OFD packet to send [00:29:35]OFD Sender: No OFD packet to send [00:29:40]OFD Sender: No OFD packet to send [00:29:45]OFD Sender: No OFD packet to send [00:29:50]OFD Sender: No OFD packet to send [00:29:55]OFD Sender: No OFD packet to send [00:30:00]OFD Sender: No OFD packet to send [00:30:05]OFD Sender: No OFD packet to send [00:30:10]OFD Sender: No OFD packet to send [00:30:15]OFD Sender: No OFD packet to send [00:30:20]OFD Sender: No OFD packet to send [00:30:25]OFD Sender: No OFD packet to send [00:30:30]OFD Sender: No OFD packet to send [00:30:35]OFD Sender: No OFD packet to send [00:30:40]OFD Sender: No OFD packet to send [00:30:45]OFD Sender: No OFD packet to send [00:30:50]OFD Sender: No OFD packet to send [00:30:55]OFD Sender: No OFD packet to send [00:31:00]OFD Sender: No OFD packet to send [00:31:05]OFD Sender: No OFD packet to send [00:31:10]OFD Sender: No OFD packet to send [00:31:15]OFD Sender: No OFD packet to send [00:31:20]OFD Sender: No OFD packet to send [00:31:25]OFD Sender: No OFD packet to send [00:31:30]OFD Sender: No OFD packet to send [00:31:35]OFD Sender: No OFD packet to send [00:31:40]OFD Sender: No OFD packet to send [00:31:45]OFD Sender: No OFD packet to send [00:31:50]OFD Sender: No OFD packet to send [00:31:55]OFD Sender: No OFD packet to send [00:32:00]OFD Sender: No OFD packet to send [00:32:05]OFD Sender: No OFD packet to send [00:32:10]OFD Sender: No OFD packet to send [00:32:15]OFD Sender: No OFD packet to send [00:32:20]OFD Sender: No OFD packet to send [00:32:25]OFD Sender: No OFD packet to send [00:32:30]OFD Sender: No OFD packet to send [00:32:35]OFD Sender: No OFD packet to send [00:32:40]OFD Sender: No OFD packet to send [00:32:45]OFD Sender: No OFD packet to send [00:32:50]OFD Sender: No OFD packet to send [00:32:55]OFD Sender: No OFD packet to send [00:33:00]OFD Sender: No OFD packet to send [00:33:05]OFD Sender: No OFD packet to send [00:33:10]OFD Sender: No OFD packet to send [00:33:15]OFD Sender: No OFD packet to send [00:33:20]OFD Sender: No OFD packet to send [00:33:25]OFD Sender: No OFD packet to send [00:33:30]OFD Sender: No OFD packet to send [00:33:35]OFD Sender: No OFD packet to send [00:33:40]OFD Sender: No OFD packet to send [00:33:45]OFD Sender: No OFD packet to send [00:33:50]OFD Sender: No OFD packet to send [00:33:55]OFD Sender: No OFD packet to send [00:34:00]OFD Sender: No OFD packet to send [00:34:05]OFD Sender: No OFD packet to send [00:34:10]OFD Sender: No OFD packet to send [00:34:15]OFD Sender: No OFD packet to send [00:34:20]OFD Sender: No OFD packet to send [00:34:25]OFD Sender: No OFD packet to send [00:34:30]OFD Sender: No OFD packet to send [00:34:35]OFD Sender: No OFD packet to send [00:34:40]OFD Sender: No OFD packet to send [00:34:45]OFD Sender: No OFD packet to send [00:34:50]OFD Sender: No OFD packet to send [00:34:55]OFD Sender: No OFD packet to send [00:35:00]OFD Sender: No OFD packet to send [00:35:05]OFD Sender: No OFD packet to send [00:35:10]OFD Sender: No OFD packet to send [00:35:15]OFD Sender: No OFD packet to send [00:35:20]OFD Sender: No OFD packet to send [00:35:25]OFD Sender: No OFD packet to send [00:35:30]OFD Sender: No OFD packet to send [00:35:35]OFD Sender: No OFD packet to send [01:38:41]ConnectInit Can't connect to host [01:38:43]OFD Sender: No OFD packet to send [01:38:48]OFD Sender: No OFD packet to send [01:38:53]OFD Sender: No OFD packet to send [01:38:58]OFD Sender: No OFD packet to send [01:39:03]OFD Sender: No OFD packet to send [01:39:08]OFD Sender: No OFD packet to send [01:39:13]OFD Sender: No OFD packet to send [01:39:18]OFD Sender: No OFD packet to send [01:39:23]OFD Sender: No OFD packet to send [01:39:28]OFD Sender: No OFD packet to send [01:39:33]OFD Sender: No OFD packet to send [01:39:38]OFD Sender: No OFD packet to send [01:39:43]OFD Sender: No OFD packet to send [01:39:48]OFD Sender: No OFD packet to send [01:39:53]OFD Sender: No OFD packet to send [01:39:58]OFD Sender: No OFD packet to send [01:40:03]OFD Sender: No OFD packet to send [01:40:08]OFD Sender: No OFD packet to send [01:40:13]OFD Sender: No OFD packet to send [01:40:18]OFD Sender: No OFD packet to send [01:40:23]OFD Sender: No OFD packet to send [01:40:28]OFD Sender: No OFD packet to send [01:40:33]OFD Sender: No OFD packet to send [01:40:38]OFD Sender: No OFD packet to send [01:40:43]OFD Sender: No OFD packet to send [01:40:48]OFD Sender: No OFD packet to send [01:40:53]OFD Sender: No OFD packet to send [01:40:58]OFD Sender: No OFD packet to send [01:41:03]OFD Sender: No OFD packet to send [01:41:08]OFD Sender: No OFD packet to send [01:41:13]OFD Sender: No OFD packet to send [01:41:18]OFD Sender: No OFD packet to send [01:41:23]OFD Sender: No OFD packet to send [01:41:28]OFD Sender: No OFD packet to send [01:41:33]OFD Sender: No OFD packet to send [01:41:38]OFD Sender: No OFD packet to send [01:41:43]OFD Sender: No OFD packet to send [01:41:48]OFD Sender: No OFD packet to send [01:41:53]OFD Sender: No OFD packet to send [01:41:58]OFD Sender: No OFD packet to send [01:42:03]OFD Sender: No OFD packet to send [01:42:08]OFD Sender: No OFD packet to send [01:42:13]OFD Sender: No OFD packet to send [01:42:18]OFD Sender: No OFD packet to send [01:42:23]OFD Sender: No OFD packet to send [01:42:28]OFD Sender: No OFD packet to send [01:42:33]OFD Sender: No OFD packet to send [01:42:38]OFD Sender: No OFD packet to send [01:42:43]OFD Sender: No OFD packet to send [01:42:48]OFD Sender: No OFD packet to send [01:42:53]OFD Sender: No OFD packet to send [01:42:58]OFD Sender: No OFD packet to send [01:43:03]OFD Sender: No OFD packet to send [01:43:08]OFD Sender: No OFD packet to send [01:43:13]OFD Sender: No OFD packet to send [01:43:18]OFD Sender: No OFD packet to send [01:43:23]OFD Sender: No OFD packet to send [01:43:28]OFD Sender: No OFD packet to send [01:43:33]OFD Sender: No OFD packet to send [01:43:38]OFD Sender: No OFD packet to send [01:43:43]OFD Sender: No OFD packet to send [01:43:48]OFD Sender: No OFD packet to send [01:43:53]OFD Sender: No OFD packet to send [01:43:58]OFD Sender: No OFD packet to send [01:44:03]OFD Sender: No OFD packet to send [01:44:08]OFD Sender: No OFD packet to send [01:44:13]OFD Sender: No OFD packet to send [01:44:18]OFD Sender: No OFD packet to send [01:44:23]OFD Sender: No OFD packet to send [01:44:28]OFD Sender: No OFD packet to send [01:44:33]OFD Sender: No OFD packet to send [01:44:38]OFD Sender: No OFD packet to send [01:44:43]OFD Sender: No OFD packet to send [01:44:48]OFD Sender: No OFD packet to send [01:44:53]OFD Sender: No OFD packet to send [01:44:58]OFD Sender: No OFD packet to send [01:45:03]OFD Sender: No OFD packet to send [01:45:08]OFD Sender: No OFD packet to send [01:45:13]OFD Sender: No OFD packet to send [01:45:18]OFD Sender: No OFD packet to send [01:45:23]OFD Sender: No OFD packet to send [01:45:28]OFD Sender: No OFD packet to send [01:45:33]OFD Sender: No OFD packet to send [01:45:38]OFD Sender: No OFD packet to send [01:45:43]OFD Sender: No OFD packet to send [01:45:48]OFD Sender: No OFD packet to send [01:45:53]OFD Sender: No OFD packet to send [01:45:58]OFD Sender: No OFD packet to send [01:46:03]OFD Sender: No OFD packet to send [01:46:08]OFD Sender: No OFD packet to send [01:46:13]OFD Sender: No OFD packet to send [01:46:18]OFD Sender: No OFD packet to send [01:46:23]OFD Sender: No OFD packet to send [01:46:28]OFD Sender: No OFD packet to send [01:46:33]OFD Sender: No OFD packet to send [01:46:38]OFD Sender: No OFD packet to send [01:46:43]OFD Sender: No OFD packet to send [01:46:48]OFD Sender: No OFD packet to send [01:46:53]OFD Sender: No OFD packet to send [01:46:58]OFD Sender: No OFD packet to send [01:47:03]OFD Sender: No OFD packet to send [01:47:08]OFD Sender: No OFD packet to send [01:47:13]OFD Sender: No OFD packet to send [01:47:18]OFD Sender: No OFD packet to send [01:47:23]OFD Sender: No OFD packet to send [01:47:28]OFD Sender: No OFD packet to send [01:47:33]OFD Sender: No OFD packet to send [01:47:38]OFD Sender: No OFD packet to send [01:47:43]OFD Sender: No OFD packet to send [01:47:48]OFD Sender: No OFD packet to send [01:47:53]OFD Sender: No OFD packet to send [01:47:58]OFD Sender: No OFD packet to send [01:48:03]OFD Sender: No OFD packet to send [01:48:08]OFD Sender: No OFD packet to send [01:48:13]OFD Sender: No OFD packet to send [01:48:19]OFD Sender: No OFD packet to send [01:48:24]OFD Sender: No OFD packet to send [01:48:29]OFD Sender: No OFD packet to send [01:48:34]OFD Sender: No OFD packet to send [01:48:39]OFD Sender: No OFD packet to send [01:48:44]OFD Sender: No OFD packet to send [01:48:49]OFD Sender: No OFD packet to send [01:48:54]OFD Sender: No OFD packet to send [01:48:59]OFD Sender: No OFD packet to send [01:49:04]OFD Sender: No OFD packet to send [01:49:09]OFD Sender: No OFD packet to send [01:49:14]OFD Sender: No OFD packet to send [01:49:19]OFD Sender: No OFD packet to send [01:49:24]OFD Sender: No OFD packet to send [01:49:29]OFD Sender: No OFD packet to send [01:49:34]OFD Sender: No OFD packet to send [01:49:39]OFD Sender: No OFD packet to send [01:49:44]OFD Sender: No OFD packet to send [01:49:49]OFD Sender: No OFD packet to send [01:49:54]OFD Sender: No OFD packet to send [01:49:59]OFD Sender: No OFD packet to send [01:50:04]OFD Sender: No OFD packet to send [01:50:09]OFD Sender: No OFD packet to send [01:50:14]OFD Sender: No OFD packet to send [01:50:19]OFD Sender: No OFD packet to send [01:50:24]OFD Sender: No OFD packet to send [01:50:29]OFD Sender: No OFD packet to send [01:50:34]OFD Sender: No OFD packet to send [01:50:39]OFD Sender: No OFD packet to send [01:50:44]OFD Sender: No OFD packet to send [01:50:49]OFD Sender: No OFD packet to send [01:50:54]OFD Sender: No OFD packet to send [01:50:59]OFD Sender: No OFD packet to send [01:51:04]OFD Sender: No OFD packet to send [01:51:09]OFD Sender: No OFD packet to send [01:51:09]accept exits with 9 [01:51:09]New connection [01:51:09]New thread 3067227492 created [01:51:09]Thread 3067370852 joined [01:51:09]Waiting for new connection... [01:51:09] Sock 9.Parse request [01:51:09]Sock 9.Check first char [01:51:09]Sock 9.First char is OK [01:51:09]request: POST /json_proto HTTP/1.0 [01:51:09]Method: POST [01:51:09]URL: /json_proto [01:51:09]Method is POST - this is cgi request [01:51:09]url: /json_proto [01:51:09]query_string will be loaded in cgi processing [01:51:09]execute_cgi json_proto POST (null) [01:51:09]execute_cgi path=json_proto method=POST [01:51:09]POST find Content-Length [01:51:09]Host: 172.17.56.68:8080 [01:51:09]Content-Length: 1364 [01:51:09]Content-Type: application/json [01:51:09] [01:51:09]POST finish read [01:51:09]Found Content-Length = 1364 [01:51:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4397", "tax_sys" : 0, "items" : [ { "code": "5000159381178", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 \u0422\u0440\u0438\u043E 82,5\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 162.00, "quantity" : 1.000, "sum" : 162.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" : 391.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:51:09]execute_script... [01:51: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)4397", "tax_sys" : 0, "items" : [ { "code": "5000159381178", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 \u0422\u0440\u0438\u043E 82,5\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 162.00, "quantity" : 1.000, "sum" : 162.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" : 391.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:51:09]POST & json_proto [01:51:09]process_json_proto [01:51:09]json parsed OK: [01:51:09]protocol is kg_v1.0 [01:51:09]action value=close_receipt [01:51:09]process_action close_receipt [01:51:09]cmd_close_receipt [01:51:09]MH_GetDate [01:51:09]Write to MH i2c: F0 00 00 D1 28 E8 [01:51:09]Write i2c OK [01:51:09]MH_I2C_Read... [01:51:09]Read from MH i2c: F0 [01:51:09]MH_I2C_Read... [01:51:09]Read from MH i2c: F0 09 00 [01:51:09]MH_I2C_Read... [01:51:09]Read from MH i2c: F0 09 00 D1 28 00 99 C4 5F 66 42 69 5C 66 80 [01:51:09]GetLastDocTimeStamp 1717546963 [01:51:09]current date 1717552281 [01:51:09]FM_GetShiftState [01:51:09]SAM_PROTO_GetShiftState [01:51:09]wFMCommunicate request_size=4 [01:51:09]MH_SAM_APDU [01:51:09]CAPDU: 80 13 01 00 [01:51:09]Write to MH i2c: E2 08 00 D2 28 80 13 01 00 00 00 00 00 77 [01:51:09]Write i2c OK [01:51:09]MH_I2C_Read... [01:51:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:51:09]Read from MH i2c: E2 [01:51:09]MH_I2C_Read... [01:51:09]Read from MH i2c: E2 0E 00 [01:51:09]MH_I2C_Read... [01:51:09]Read from MH i2c: E2 0E 00 D2 28 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 18 [01:51:09]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [01:51:09]wFMCommunicate OK [01:51:09]SAM_PROTO_GetShiftState done [01:51:09]FM_GetShiftState done [01:51:09]opened in 1717545765 [01:51:09]opened+sec_in_day 1717632165 [01:51:09]quantity*price = 8900 [01:51:09]sum+1 = 8901 [01:51:09]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480517 Пиво Живое 1л ПЭТ 1.000 * 162.00 = 162.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 391.00 НСП 1% : 3.46 НДС 12% : 41.52 Наличными: 0.00 Безнал.: 391.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 2 05.06.2024 01:51 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959360 ФД: 4144 ФПД: 116263249135371 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T015121&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4144&fm=116263249135371&tin=02508201610067®Number=0000000000145775&sum=39100 0 [01:51:10]StoreToDocumentArchive [01:51:10]shift 84 fd 4144 [01:51:10]save to /storage/0084/doc_00004144 [01:51:10]save last doc name /storage/0084/doc_00004144 to /storage/kkm_last_doc_name [01:51:10]save OK [01:51:10]Clear old archive folders... [01:51:10]ProcessDocumentItem done err = 0, tmpTLVsize=499 [01:51:10]tlvbuf is 008340D0 [01:51:10]SAM_PROTO_ClearQueue [01:51:10]wFMCommunicate request_size=4 [01:51:10]MH_SAM_APDU [01:51:10]CAPDU: 80 09 00 00 [01:51:10]Write to MH i2c: E2 08 00 DF 28 80 09 00 00 00 00 00 00 79 [01:51:10]Write i2c OK [01:51:10]MH_I2C_Read... [01:51:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:51:10]Read from MH i2c: E2 [01:51:10]MH_I2C_Read... [01:51:10]Read from MH i2c: E2 03 00 [01:51:10]MH_I2C_Read... [01:51:10]Read from MH i2c: E2 03 00 DF 28 00 90 00 7B [01:51:10]RAPDU: 90 00 [01:51:10]wFMCommunicate OK [01:51:10]SAM_PROTO_ClearQueue done [01:51:10]KKMCreateOFDPacket [01:51:10]OFDProtocolAddRootSTLVToBuf [01:51:10]FM_MakeSignedData [01:51:10]FM_MakeSignedData [01:51:10]SAM_PROTO_SignData [01:51:10]wFMCommunicate request_size=4 [01:51:10]MH_SAM_APDU [01:51:10]CAPDU: 80 0D 01 02 [01:51:10]Write to MH i2c: E2 08 00 E0 28 80 0D 01 02 00 00 00 00 81 [01:51:10]Write i2c OK [01:51:10]MH_I2C_Read... [01:51:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:51:10]Read from MH i2c: E2 [01:51:10]MH_I2C_Read... [01:51:10]Read from MH i2c: E2 03 00 [01:51:10]MH_I2C_Read... [01:51:10]Read from MH i2c: E2 03 00 E0 28 00 90 00 7C [01:51:10]RAPDU: 90 00 [01:51:10]wFMCommunicate OK [01:51:10]wFMCommunicate request_size=255 [01:51:10]MH_SAM_APDU [01:51:10]CAPDU: 80 0D 02 02 FA 03 00 F3 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 [01:51:11]Write to MH i2c: E2 02 01 E1 28 80 0D 02 02 FA 00 03 00 F3 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 00 00 EB [01:51:11]Write i2c OK [01:51:11]MH_I2C_Read... [01:51:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:51:11]Read from MH i2c: E2 [01:51:11]MH_I2C_Read... [01:51:11]Read from MH i2c: E2 03 00 [01:51:11]MH_I2C_Read... [01:51:11]Read from MH i2c: E2 03 00 E1 28 00 90 00 7D [01:51:11]RAPDU: 90 00 [01:51:11]wFMCommunicate OK [01:51:11]wFMCommunicate request_size=255 [01:51:11]MH_SAM_APDU [01:51:11]CAPDU: 80 0D 02 02 FA 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 98 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 99 C4 5F 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 30 10 00 00 35 04 06 00 69 BD A5 [01:51:11]Write to MH i2c: E2 02 01 E2 28 80 0D 02 02 FA 00 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 98 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 99 C4 5F 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 30 10 00 00 35 04 06 00 69 BD A5 00 00 3A [01:51:11]Write i2c OK [01:51:11]MH_I2C_Read... [01:51:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:51:11]Read from MH i2c: E2 [01:51:11]MH_I2C_Read... [01:51:11]Read from MH i2c: E2 03 00 [01:51:11]MH_I2C_Read... [01:51:11]Read from MH i2c: E2 03 00 E2 28 00 90 00 7E [01:51:11]RAPDU: 90 00 [01:51:11]wFMCommunicate OK [01:51:11]wFMCommunicate request_size=8 [01:51:11]MH_SAM_APDU [01:51:11]CAPDU: 80 0D 02 02 03 AA 47 0B [01:51:11]Write to MH i2c: E2 0B 00 E3 28 80 0D 02 02 03 00 AA 47 0B 00 00 87 [01:51:11]Write i2c OK [01:51:11]MH_I2C_Read... [01:51:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:51:11]Read from MH i2c: E2 [01:51:11]MH_I2C_Read... [01:51:11]Read from MH i2c: E2 03 00 [01:51:11]MH_I2C_Read... [01:51:11]Read from MH i2c: E2 03 00 E3 28 00 90 00 7F [01:51:11]RAPDU: 90 00 [01:51:11]wFMCommunicate OK [01:51:11]wFMCommunicate request_size=4 [01:51:11]MH_SAM_APDU [01:51:11]CAPDU: 80 0D 03 02 [01:51:11]Write to MH i2c: E2 08 00 E4 28 80 0D 03 02 00 00 00 00 87 [01:51:11]Write i2c OK [01:51:11]MH_I2C_Read... [01:51:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:51:11]Read from MH i2c: E2 [01:51:11]MH_I2C_Read... [01:51:11]Read from MH i2c: E2 0B 00 [01:51:11]MH_I2C_Read... [01:51:11]Read from MH i2c: E2 0B 00 E4 28 00 37 D5 D3 56 97 B3 5C 0A 90 00 6D [01:51:11]RAPDU: 37 D5 D3 56 97 B3 5C 0A 90 00 [01:51:11]wFMCommunicate OK [01:51:11]SAM_PROTO_SignData done [01:51:11]FM_MakeSignedData done [01:51:11]CreateOFDProtocolMessage [01:51:11]wFMCommunicate request_size=4 [01:51:11]MH_SAM_APDU [01:51:11]CAPDU: 80 11 00 00 [01:51:11]Write to MH i2c: E2 08 00 E5 28 80 11 00 00 00 00 00 00 87 [01:51:11]Write i2c OK [01:51:11]MH_I2C_Read... [01:51:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:51:11]Read from MH i2c: E2 [01:51:11]MH_I2C_Read... [01:51:11]Read from MH i2c: E2 17 00 [01:51:11]MH_I2C_Read... [01:51:11]Read from MH i2c: E2 17 00 E5 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 DA [01:51:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [01:51:11]wFMCommunicate OK [01:51:11]CreateOFDProtocolMessage done [01:51:11]OFDSenderStorePacket 4144 [01:51:11]StoreOFDPacket docnum=4144 [01:51:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 07 02 00 00 3F 79 FF 01 04 F2 5A 03 01 00 03 00 F3 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 98 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 99 C4 5F 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 30 10 00 00 35 04 06 00 69 BD A5 AA 47 0B 37 D5 D3 56 97 B3 5C 0A [01:51:11]CheckFolder [01:51:11]dirname=/storage/ofd_packets [01:51:11]CheckFolder done [01:51:11]ProducePacketName [01:51:11]name=ofd_packets/00004144 [01:51:11]NVStorageSaveData ofd_packets/00004144 [01:51:11]File name is /storage/ofd_packets/00004144 [01:51:11]Write 549 bytes [01:51:11]NVStorageSaveData done [01:51:11]OFDSenderStorePacket done [01:51:11]KKMCreateOFDPacket done [01:51:11]NVStorageSaveData kkm_last_timestamp [01:51:11]File name is /storage/kkm_last_timestamp [01:51:11]Write 4 bytes [01:51:11]NVStorageSaveData done [01:51:11]ExternCall_PrintAddStr [01:51:11]wPrintStart [01:51:11]Write to MH i2c: 01 00 00 E6 28 0E [01:51:11]Write i2c OK [01:51:11]MH_I2C_Read... [01:51:11]Read from MH i2c: 01 [01:51:11]MH_I2C_Read... [01:51:11]Read from MH i2c: 01 07 00 [01:51:11]MH_I2C_Read... [01:51:11]Read from MH i2c: 01 07 00 E6 28 00 00 00 00 00 FF 0F 23 [01:51:11]RasterBufferAndPrint [01:51:11]line Счет N : (3)4397 [01:51:11]line ИНН: 02508201610067 [01:51:11]line Контрольно-Кассовый Чек [01:51:11]line ПРОДАЖА [01:51:11]line Товар: 5000159381178 [01:51:11]line Шок Батончик Баунти Трио 82,5г [01:51:11]line 1.000 * 89.00 [01:51:11]line = 89.00 [01:51:11]line НДС 12% НСП 1% [01:51:11]line > о реализуемом товаре [01:51:11]line Товар: 48743570 [01:51:11]line Сигареты Winston XStyle Blue [01:51:11]line 1.000 * 140.00 [01:51:11]line = 140.00 [01:51:11]line НДС 12% НСП 1% [01:51:11]line > о реализуемом товаре [01:51:11]line Товар: 4700000480517 [01:51:11]line Пиво Живое 1л ПЭТ [01:51:11]line 1.000 * 162.00 [01:51:11]line = 162.00 [01:51:11]line НДС 12% НСП 1% [01:51:11]line > о реализуемом товаре [01:51:11]line ИТОГО: 391.00 [01:51:11]line НСП 1% : 3.46 [01:51:11]line НДС 12% : 41.52 [01:51:11]line Наличными: 0.00 [01:51:11]line Безнал.: 391.00 [01:51:11]line Место: АЗС № 116 "Партнер Нефть" [01:51:11]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [01:51:11]line СНО: Общий режим [01:51:11]line Чек 2 05.06.2024 01:51 [01:51:11]line Смена: 84 ФФД: 1.0 [01:51:11]line ЗНМ: 0300000233 [01:51:11]line РНМ: 0000000000145775 [01:51:11]line Версия ККМ: v1.0 [01:51:11]line Платежная система: Бакай Банк [01:51:11]line ФМ: 0000000000959360 [01:51:11]line ФД: 4144 [01:51:11]line ФПД: 116263249135371 [01:51:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T015121&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4144&fm=116263249135371&tin=02508201610067®Number=0000000000145775&sum=39100 [01:51:12]line 0 [01:51:12]OFD Sender: Processing packet 4144 [packets to send 2, broken 1] [01:51:12]ProducePacketName [01:51:12]name=ofd_packets/00004144 [01:51:12]OFD Sender: To server: pG, [01:51:12]CommunicateWithHost lk.salyk.kg:30040 [01:51:12]ConnectInit lk.salyk.kg [01:51:12]written 0, free lines is 4095 [01:51:12]Connected sock=10 [01:51:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 07 02 00 00 3F 79 FF 01 04 F2 5A 03 01 00 03 00 F3 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 98 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 99 C4 5F 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 30 10 00 00 35 04 06 00 69 BD A5 AA 47 0B 37 D5 D3 56 97 B3 5C 0A [01:51:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 3F B4 47 00 6E 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 30 10 00 00 F4 03 04 00 98 70 5F 66 B6 04 01 00 00 80 3B 3B 16 B7 F0 92 BE [01:51:12]CommunicateWithHost err = 0 [01:51:12]CheckOFDResponse [01:51:12]1017 (14) - 77093643461234 [01:51:12]1041 (16) - 0000000000959360 [01:51:12]1040 (4) - 4144 [01:51:12]1012 (4) - 04.06.2024 19:52 [01:51:12]1206 (1) - 0 [01:51:12]OFD Sender: Remove packet 4144 [01:51:12]ProducePacketName [01:51:12]name=ofd_packets/00004144 [01:51:12]NVStorageDeleteData [01:51:12]Write to MH i2c: 01 00 00 1D 29 46 [01:51:12]Write i2c OK [01:51:12]MH_I2C_Read... [01:51:12]Read from MH i2c: 01 [01:51:12]MH_I2C_Read... [01:51:12]Read from MH i2c: 01 07 00 [01:51:12]MH_I2C_Read... [01:51:12]Read from MH i2c: 01 07 00 1D 29 00 00 00 00 00 BF 0B 17 [01:51:12]RasterBufferAndPrint [01:51:12]line [01:51:12]line [01:51:12]line [01:51:12]line [01:51:12]line [01:51:12]written 0, free lines is 3012 [01:51:12]MH_Cut [01:51:12]Write to MH i2c: D1 01 00 24 29 01 1F [01:51:12]Write i2c OK [01:51:12]MH_I2C_Read... [01:51:12]Read from MH i2c: D1 [01:51:12]MH_I2C_Read... [01:51:12]Read from MH i2c: D1 01 00 [01:51:12]MH_I2C_Read... [01:51:12]Read from MH i2c: D1 01 00 24 29 00 1E [01:51:12]Write to MH i2c: 01 00 00 25 29 4E [01:51:12]Write i2c OK [01:51:12]MH_I2C_Read... [01:51:13]OFD Sender: No OFD packet to send [01:51:13]*** Cut start [01:51:13]*** Partial cut [01:51:13]*** CUTSNS_PIN = 1 [01:51:14]*** CUTSNS_PIN = 0 [01:51:14]*** Brake cut motor [01:51:14]Read from MH i2c: 01 [01:51:14]MH_I2C_Read... [01:51:14]*** Stop cut motor [01:51:14]*** Cut end [01:51:14]Read from MH i2c: 01 07 00 [01:51:14]MH_I2C_Read... [01:51:14]Read from MH i2c: 01 07 00 25 29 00 00 00 00 00 FF 0F 63 [01:51:14]process_action close_receipt done [01:51:14]requested_data is exist [01:51:14]produce_requested_data [01:51:14]requested_item fm.sn is exist - process it [01:51:14]wFMCommunicate request_size=4 [01:51:14]MH_SAM_APDU [01:51:14]CAPDU: 80 11 00 00 [01:51:14]Write to MH i2c: E2 08 00 26 29 80 11 00 00 00 00 00 00 C9 [01:51:14]Write i2c OK [01:51:14]MH_I2C_Read... [01:51:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:51:14]Read from MH i2c: E2 [01:51:14]MH_I2C_Read... [01:51:14]Read from MH i2c: E2 17 00 [01:51:14]MH_I2C_Read... [01:51:14]Read from MH i2c: E2 17 00 26 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 1C [01:51:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [01:51:14]wFMCommunicate OK [01:51:14]requested_item fd.num is exist - process it [01:51:14]SAM_PROTO_GetFieldsCounters [01:51:14]wFMCommunicate request_size=4 [01:51:14]MH_SAM_APDU [01:51:14]CAPDU: 80 13 00 00 [01:51:14]Write to MH i2c: E2 08 00 27 29 80 13 00 00 00 00 00 00 CC [01:51:14]Write i2c OK [01:51:14]MH_I2C_Read... [01:51:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:51:14]Read from MH i2c: E2 [01:51:14]MH_I2C_Read... [01:51:14]Read from MH i2c: E2 62 00 [01:51:14]MH_I2C_Read... [01:51:14]Read from MH i2c: E2 62 00 27 29 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 30 10 00 00 0E 04 04 00 54 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 8B [01:51:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 30 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:51:14]wFMCommunicate OK [01:51:14]SAM_PROTO_GetFieldsCounters done [01:51:14]requested_item shift.num is exist - process it [01:51:14]requested_item shift.opened is exist - process it [01:51:14]req_shift_opened [01:51:14]FM_GetShiftState [01:51:14]SAM_PROTO_GetShiftState [01:51:14]wFMCommunicate request_size=4 [01:51:14]MH_SAM_APDU [01:51:14]CAPDU: 80 13 01 00 [01:51:14]Write to MH i2c: E2 08 00 28 29 80 13 01 00 00 00 00 00 CE [01:51:14]Write i2c OK [01:51:14]MH_I2C_Read... [01:51:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:51:14]Read from MH i2c: E2 [01:51:14]MH_I2C_Read... [01:51:14]Read from MH i2c: E2 0E 00 [01:51:14]MH_I2C_Read... [01:51:14]Read from MH i2c: E2 0E 00 28 29 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 6F [01:51:14]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [01:51:14]wFMCommunicate OK [01:51:14]SAM_PROTO_GetShiftState done [01:51:14]FM_GetShiftState done [01:51:14]req_shift_opened done [01:51:14]requested_item shift.open_date is exist - process it [01:51:14]req_shift_open_date [01:51:14]req_shift_open_date done [01:51:14]produce_requested_data done [01:51:14]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4144,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [01:51:14]process_action_free close_receipt [01:51:14]json_value_free [01:51:14]json_value_free done [01:51:14]process_json_proto returns [01:51:14]Send response to host [01:51:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4144,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [01:51:14]free response buf [01:51:14]execute_script done [01:51:14]execute_script returns [01:51:14]free content buf [01:51:14]Sock 9.Close socket [01:51:14]Sock 9.Thread stoped [01:51:18]OFD Sender: No OFD packet to send [01:51:23]OFD Sender: No OFD packet to send [01:51:28]OFD Sender: No OFD packet to send [01:51:33]OFD Sender: No OFD packet to send [01:51:38]OFD Sender: No OFD packet to send [01:51:43]OFD Sender: No OFD packet to send [01:51:48]OFD Sender: No OFD packet to send [01:51:53]OFD Sender: No OFD packet to send [01:51:58]OFD Sender: No OFD packet to send [01:52:03]OFD Sender: No OFD packet to send [01:52:08]OFD Sender: No OFD packet to send [01:52:13]OFD Sender: No OFD packet to send [01:52:18]OFD Sender: No OFD packet to send [01:52:23]OFD Sender: No OFD packet to send [01:52:28]OFD Sender: No OFD packet to send [01:52:33]OFD Sender: No OFD packet to send [01:52:38]OFD Sender: No OFD packet to send [01:52:43]OFD Sender: No OFD packet to send [01:52:48]OFD Sender: No OFD packet to send [01:52:53]OFD Sender: No OFD packet to send [01:52:58]OFD Sender: No OFD packet to send [01:53:03]OFD Sender: No OFD packet to send [01:53:08]OFD Sender: No OFD packet to send [01:53:13]OFD Sender: No OFD packet to send [01:53:18]OFD Sender: No OFD packet to send [01:53:23]OFD Sender: No OFD packet to send [01:53:28]OFD Sender: No OFD packet to send [01:53:33]OFD Sender: No OFD packet to send [01:53:38]OFD Sender: No OFD packet to send [01:53:43]OFD Sender: No OFD packet to send [01:53:48]OFD Sender: No OFD packet to send [01:53:53]OFD Sender: No OFD packet to send [01:53:58]OFD Sender: No OFD packet to send [01:54:03]OFD Sender: No OFD packet to send [01:54:08]OFD Sender: No OFD packet to send [01:54:13]OFD Sender: No OFD packet to send [01:54:18]OFD Sender: No OFD packet to send [01:54:23]OFD Sender: No OFD packet to send [01:54:28]OFD Sender: No OFD packet to send [01:54:33]OFD Sender: No OFD packet to send [01:54:38]OFD Sender: No OFD packet to send [01:54:43]OFD Sender: No OFD packet to send [01:54:48]OFD Sender: No OFD packet to send [01:54:53]OFD Sender: No OFD packet to send [01:54:58]OFD Sender: No OFD packet to send [01:55:03]OFD Sender: No OFD packet to send [01:55:08]OFD Sender: No OFD packet to send [01:55:13]OFD Sender: No OFD packet to send [01:55:18]OFD Sender: No OFD packet to send [01:55:23]OFD Sender: No OFD packet to send [01:55:28]OFD Sender: No OFD packet to send [01:55:33]OFD Sender: No OFD packet to send [01:55:38]OFD Sender: No OFD packet to send [01:55:43]OFD Sender: No OFD packet to send [01:55:48]OFD Sender: No OFD packet to send [01:55:53]OFD Sender: No OFD packet to send [01:55:58]OFD Sender: No OFD packet to send [01:56:03]OFD Sender: No OFD packet to send [01:56:08]OFD Sender: No OFD packet to send [01:56:13]OFD Sender: No OFD packet to send [01:56:18]OFD Sender: No OFD packet to send [01:56:23]OFD Sender: No OFD packet to send [01:56:28]OFD Sender: No OFD packet to send [01:56:33]OFD Sender: No OFD packet to send [01:56:38]OFD Sender: No OFD packet to send [01:56:43]OFD Sender: No OFD packet to send [01:56:48]OFD Sender: No OFD packet to send [01:56:53]OFD Sender: No OFD packet to send [01:56:58]OFD Sender: No OFD packet to send [01:57:03]OFD Sender: No OFD packet to send [01:57:08]OFD Sender: No OFD packet to send [01:57:13]OFD Sender: No OFD packet to send [01:57:18]OFD Sender: No OFD packet to send [01:57:23]OFD Sender: No OFD packet to send [01:57:28]OFD Sender: No OFD packet to send [01:57:33]OFD Sender: No OFD packet to send [01:57:38]OFD Sender: No OFD packet to send [01:57:43]OFD Sender: No OFD packet to send [01:57:48]OFD Sender: No OFD packet to send [01:57:53]OFD Sender: No OFD packet to send [01:57:58]OFD Sender: No OFD packet to send [01:58:03]OFD Sender: No OFD packet to send [01:58:08]OFD Sender: No OFD packet to send [01:58:13]OFD Sender: No OFD packet to send [01:58:18]OFD Sender: No OFD packet to send [01:58:23]OFD Sender: No OFD packet to send [01:58:28]OFD Sender: No OFD packet to send [01:58:33]OFD Sender: No OFD packet to send [01:58:38]OFD Sender: No OFD packet to send [01:58:43]OFD Sender: No OFD packet to send [01:58:48]OFD Sender: No OFD packet to send [01:58:53]OFD Sender: No OFD packet to send [01:58:58]OFD Sender: No OFD packet to send [01:59:03]OFD Sender: No OFD packet to send [01:59:08]OFD Sender: No OFD packet to send [01:59:13]OFD Sender: No OFD packet to send [01:59:18]OFD Sender: No OFD packet to send [01:59:23]OFD Sender: No OFD packet to send [01:59:28]OFD Sender: No OFD packet to send [01:59:33]OFD Sender: No OFD packet to send [01:59:38]OFD Sender: No OFD packet to send [01:59:43]OFD Sender: No OFD packet to send [01:59:48]OFD Sender: No OFD packet to send [01:59:53]OFD Sender: No OFD packet to send [01:59:58]OFD Sender: No OFD packet to send [02:00:03]OFD Sender: No OFD packet to send [02:00:08]OFD Sender: No OFD packet to send [02:00:13]OFD Sender: No OFD packet to send [02:00:18]OFD Sender: No OFD packet to send [02:00:23]OFD Sender: No OFD packet to send [02:00:28]OFD Sender: No OFD packet to send [02:00:33]OFD Sender: No OFD packet to send [02:00:38]OFD Sender: No OFD packet to send [02:00:43]OFD Sender: No OFD packet to send [02:00:48]OFD Sender: No OFD packet to send [02:00:53]OFD Sender: No OFD packet to send [02:00:58]OFD Sender: No OFD packet to send [02:01:03]OFD Sender: No OFD packet to send [02:01:08]OFD Sender: No OFD packet to send [02:01:13]OFD Sender: No OFD packet to send [02:01:18]OFD Sender: No OFD packet to send [02:01:23]OFD Sender: No OFD packet to send [02:01:28]OFD Sender: No OFD packet to send [02:01:33]OFD Sender: No OFD packet to send [02:01:38]OFD Sender: No OFD packet to send [02:01:43]OFD Sender: No OFD packet to send [02:01:48]OFD Sender: No OFD packet to send [02:01:53]OFD Sender: No OFD packet to send [02:01:58]OFD Sender: No OFD packet to send [02:02:03]OFD Sender: No OFD packet to send [02:02:08]OFD Sender: No OFD packet to send [02:02:13]OFD Sender: No OFD packet to send [02:02:18]OFD Sender: No OFD packet to send [02:02:23]OFD Sender: No OFD packet to send [02:02:28]OFD Sender: No OFD packet to send [02:02:33]OFD Sender: No OFD packet to send [02:02:38]OFD Sender: No OFD packet to send [02:02:43]OFD Sender: No OFD packet to send [02:02:48]OFD Sender: No OFD packet to send [02:02:53]OFD Sender: No OFD packet to send [02:02:58]OFD Sender: No OFD packet to send [02:03:03]OFD Sender: No OFD packet to send [02:03:08]OFD Sender: No OFD packet to send [02:03:13]OFD Sender: No OFD packet to send [02:03:18]OFD Sender: No OFD packet to send [02:03:23]OFD Sender: No OFD packet to send [02:03:28]OFD Sender: No OFD packet to send [02:03:33]OFD Sender: No OFD packet to send [02:03:38]OFD Sender: No OFD packet to send [02:03:43]OFD Sender: No OFD packet to send [02:03:48]OFD Sender: No OFD packet to send [02:03:53]OFD Sender: No OFD packet to send [02:03:58]OFD Sender: No OFD packet to send [02:04:03]OFD Sender: No OFD packet to send [02:04:08]OFD Sender: No OFD packet to send [02:04:13]OFD Sender: No OFD packet to send [02:04:18]OFD Sender: No OFD packet to send [02:04:23]OFD Sender: No OFD packet to send [02:04:28]OFD Sender: No OFD packet to send [02:04:33]OFD Sender: No OFD packet to send [02:04:38]OFD Sender: No OFD packet to send [02:04:43]OFD Sender: No OFD packet to send [02:04:48]OFD Sender: No OFD packet to send [02:04:53]OFD Sender: No OFD packet to send [02:04:58]OFD Sender: No OFD packet to send [02:05:03]OFD Sender: No OFD packet to send [02:05:08]OFD Sender: No OFD packet to send [02:05:13]OFD Sender: No OFD packet to send [02:05:18]OFD Sender: No OFD packet to send [02:05:23]OFD Sender: No OFD packet to send [02:05:28]OFD Sender: No OFD packet to send [02:05:33]OFD Sender: No OFD packet to send [02:05:38]OFD Sender: No OFD packet to send [02:05:43]OFD Sender: No OFD packet to send [02:05:48]OFD Sender: No OFD packet to send [02:05:53]OFD Sender: No OFD packet to send [02:05:58]OFD Sender: No OFD packet to send [02:06:03]OFD Sender: No OFD packet to send [02:06:08]OFD Sender: No OFD packet to send [02:06:13]OFD Sender: No OFD packet to send [02:06:18]OFD Sender: No OFD packet to send [02:06:23]OFD Sender: No OFD packet to send [02:06:28]OFD Sender: No OFD packet to send [02:06:33]OFD Sender: No OFD packet to send [02:06:38]OFD Sender: No OFD packet to send [02:06:43]OFD Sender: No OFD packet to send [02:06:48]OFD Sender: No OFD packet to send [02:06:53]OFD Sender: No OFD packet to send [02:06:58]OFD Sender: No OFD packet to send [02:07:03]OFD Sender: No OFD packet to send [02:07:08]OFD Sender: No OFD packet to send [02:07:13]OFD Sender: No OFD packet to send [02:07:18]OFD Sender: No OFD packet to send [02:07:23]OFD Sender: No OFD packet to send [02:07:28]OFD Sender: No OFD packet to send [02:07:33]OFD Sender: No OFD packet to send [02:07:38]OFD Sender: No OFD packet to send [02:07:43]OFD Sender: No OFD packet to send [02:07:48]OFD Sender: No OFD packet to send [02:07:53]OFD Sender: No OFD packet to send [02:07:58]OFD Sender: No OFD packet to send [02:08:03]OFD Sender: No OFD packet to send [02:08:08]OFD Sender: No OFD packet to send [02:08:13]OFD Sender: No OFD packet to send [02:08:18]OFD Sender: No OFD packet to send [02:08:23]OFD Sender: No OFD packet to send [02:08:28]OFD Sender: No OFD packet to send [02:08:33]OFD Sender: No OFD packet to send [02:08:38]OFD Sender: No OFD packet to send [02:08:43]OFD Sender: No OFD packet to send [02:08:48]OFD Sender: No OFD packet to send [02:08:53]OFD Sender: No OFD packet to send [02:08:58]OFD Sender: No OFD packet to send [02:09:03]OFD Sender: No OFD packet to send [02:09:08]OFD Sender: No OFD packet to send [02:09:13]OFD Sender: No OFD packet to send [02:09:18]OFD Sender: No OFD packet to send [02:09:23]OFD Sender: No OFD packet to send [02:09:28]OFD Sender: No OFD packet to send [02:09:33]OFD Sender: No OFD packet to send [02:09:38]OFD Sender: No OFD packet to send [02:09:43]OFD Sender: No OFD packet to send [02:09:48]OFD Sender: No OFD packet to send [02:09:53]OFD Sender: No OFD packet to send [02:09:58]OFD Sender: No OFD packet to send [02:10:03]OFD Sender: No OFD packet to send [02:10:08]OFD Sender: No OFD packet to send [02:10:13]OFD Sender: No OFD packet to send [02:10:18]OFD Sender: No OFD packet to send [02:10:23]OFD Sender: No OFD packet to send [02:10:28]OFD Sender: No OFD packet to send [02:10:33]OFD Sender: No OFD packet to send [02:10:38]OFD Sender: No OFD packet to send [02:10:43]OFD Sender: No OFD packet to send [02:10:48]OFD Sender: No OFD packet to send [02:10:53]OFD Sender: No OFD packet to send [02:10:58]OFD Sender: No OFD packet to send [02:11:03]OFD Sender: No OFD packet to send [02:11:08]OFD Sender: No OFD packet to send [02:11:13]OFD Sender: No OFD packet to send [02:11:18]OFD Sender: No OFD packet to send [02:11:23]OFD Sender: No OFD packet to send [02:11:28]OFD Sender: No OFD packet to send [02:11:33]OFD Sender: No OFD packet to send [02:11:38]OFD Sender: No OFD packet to send [02:11:43]OFD Sender: No OFD packet to send [02:11:48]OFD Sender: No OFD packet to send [02:11:53]OFD Sender: No OFD packet to send [02:11:58]OFD Sender: No OFD packet to send [02:12:03]OFD Sender: No OFD packet to send [02:12:08]OFD Sender: No OFD packet to send [02:12:14]OFD Sender: No OFD packet to send [02:12:19]OFD Sender: No OFD packet to send [02:12:24]OFD Sender: No OFD packet to send [02:12:29]OFD Sender: No OFD packet to send [02:12:34]OFD Sender: No OFD packet to send [02:12:39]OFD Sender: No OFD packet to send [02:12:44]OFD Sender: No OFD packet to send [02:12:49]OFD Sender: No OFD packet to send [02:12:54]OFD Sender: No OFD packet to send [02:12:59]OFD Sender: No OFD packet to send [02:13:04]OFD Sender: No OFD packet to send [02:13:09]OFD Sender: No OFD packet to send [02:13:14]OFD Sender: No OFD packet to send [02:13:19]OFD Sender: No OFD packet to send [02:13:24]OFD Sender: No OFD packet to send [02:13:29]OFD Sender: No OFD packet to send [02:13:34]OFD Sender: No OFD packet to send [02:13:39]OFD Sender: No OFD packet to send [02:13:44]OFD Sender: No OFD packet to send [02:13:49]OFD Sender: No OFD packet to send [02:13:54]OFD Sender: No OFD packet to send [02:13:59]OFD Sender: No OFD packet to send [02:14:04]OFD Sender: No OFD packet to send [02:14:09]OFD Sender: No OFD packet to send [02:14:14]OFD Sender: No OFD packet to send [02:14:19]OFD Sender: No OFD packet to send [02:14:24]OFD Sender: No OFD packet to send [02:14:29]OFD Sender: No OFD packet to send [02:14:34]OFD Sender: No OFD packet to send [02:14:39]OFD Sender: No OFD packet to send [02:14:44]OFD Sender: No OFD packet to send [02:14:49]OFD Sender: No OFD packet to send [02:14:54]OFD Sender: No OFD packet to send [02:14:59]OFD Sender: No OFD packet to send [02:15:04]OFD Sender: No OFD packet to send [02:15:09]OFD Sender: No OFD packet to send [02:15:14]OFD Sender: No OFD packet to send [02:15:19]OFD Sender: No OFD packet to send [02:15:24]OFD Sender: No OFD packet to send [02:15:29]OFD Sender: No OFD packet to send [02:15:34]OFD Sender: No OFD packet to send [02:15:39]OFD Sender: No OFD packet to send [02:15:44]OFD Sender: No OFD packet to send [02:15:49]OFD Sender: No OFD packet to send [02:15:54]OFD Sender: No OFD packet to send [02:15:59]OFD Sender: No OFD packet to send [02:16:04]OFD Sender: No OFD packet to send [02:16:09]OFD Sender: No OFD packet to send [02:16:14]OFD Sender: No OFD packet to send [02:16:19]OFD Sender: No OFD packet to send [02:16:24]OFD Sender: No OFD packet to send [02:16:29]OFD Sender: No OFD packet to send [02:16:34]OFD Sender: No OFD packet to send [02:16:39]OFD Sender: No OFD packet to send [02:16:44]OFD Sender: No OFD packet to send [02:16:49]OFD Sender: No OFD packet to send [02:16:54]OFD Sender: No OFD packet to send [02:16:59]OFD Sender: No OFD packet to send [02:17:04]OFD Sender: No OFD packet to send [02:17:09]OFD Sender: No OFD packet to send [02:17:14]OFD Sender: No OFD packet to send [02:17:19]OFD Sender: No OFD packet to send [02:17:24]OFD Sender: No OFD packet to send [02:17:29]OFD Sender: No OFD packet to send [02:17:34]OFD Sender: No OFD packet to send [02:17:39]OFD Sender: No OFD packet to send [02:17:44]OFD Sender: No OFD packet to send [02:17:49]OFD Sender: No OFD packet to send [02:17:54]OFD Sender: No OFD packet to send [02:17:59]OFD Sender: No OFD packet to send [02:18:04]OFD Sender: No OFD packet to send [02:18:09]OFD Sender: No OFD packet to send [02:18:14]OFD Sender: No OFD packet to send [02:18:19]OFD Sender: No OFD packet to send [02:18:24]OFD Sender: No OFD packet to send [02:18:29]OFD Sender: No OFD packet to send [02:18:34]OFD Sender: No OFD packet to send [02:18:39]OFD Sender: No OFD packet to send [02:18:44]OFD Sender: No OFD packet to send [02:18:49]OFD Sender: No OFD packet to send [02:18:54]OFD Sender: No OFD packet to send [02:18:59]OFD Sender: No OFD packet to send [02:19:04]OFD Sender: No OFD packet to send [02:19:09]OFD Sender: No OFD packet to send [02:19:14]OFD Sender: No OFD packet to send [02:19:19]OFD Sender: No OFD packet to send [02:19:24]OFD Sender: No OFD packet to send [02:19:29]OFD Sender: No OFD packet to send [02:19:34]OFD Sender: No OFD packet to send [02:19:39]OFD Sender: No OFD packet to send [02:19:44]OFD Sender: No OFD packet to send [02:19:49]OFD Sender: No OFD packet to send [02:19:54]OFD Sender: No OFD packet to send [02:19:59]OFD Sender: No OFD packet to send [02:20:04]OFD Sender: No OFD packet to send [02:20:09]OFD Sender: No OFD packet to send [02:20:14]OFD Sender: No OFD packet to send [02:20:19]OFD Sender: No OFD packet to send [02:20:24]OFD Sender: No OFD packet to send [02:20:29]OFD Sender: No OFD packet to send [02:20:34]OFD Sender: No OFD packet to send [02:20:39]OFD Sender: No OFD packet to send [02:20:44]OFD Sender: No OFD packet to send [02:20:49]OFD Sender: No OFD packet to send [02:20:54]OFD Sender: No OFD packet to send [02:20:59]OFD Sender: No OFD packet to send [02:21:04]OFD Sender: No OFD packet to send [02:21:09]OFD Sender: No OFD packet to send [02:21:14]OFD Sender: No OFD packet to send [02:21:19]OFD Sender: No OFD packet to send [02:21:24]OFD Sender: No OFD packet to send [02:21:29]OFD Sender: No OFD packet to send [02:21:34]OFD Sender: No OFD packet to send [02:21:39]OFD Sender: No OFD packet to send [02:21:44]OFD Sender: No OFD packet to send [02:21:49]OFD Sender: No OFD packet to send [02:21:54]OFD Sender: No OFD packet to send [02:21:59]OFD Sender: No OFD packet to send [02:22:04]OFD Sender: No OFD packet to send [02:22:09]OFD Sender: No OFD packet to send [02:22:14]OFD Sender: No OFD packet to send [02:22:19]OFD Sender: No OFD packet to send [02:22:24]OFD Sender: No OFD packet to send [02:22:29]OFD Sender: No OFD packet to send [02:22:34]OFD Sender: No OFD packet to send [02:22:39]OFD Sender: No OFD packet to send [02:22:44]OFD Sender: No OFD packet to send [02:22:49]OFD Sender: No OFD packet to send [02:22:54]OFD Sender: No OFD packet to send [02:22:59]OFD Sender: No OFD packet to send [02:23:04]OFD Sender: No OFD packet to send [02:23:09]OFD Sender: No OFD packet to send [02:23:14]OFD Sender: No OFD packet to send [02:23:19]OFD Sender: No OFD packet to send [02:23:24]OFD Sender: No OFD packet to send [02:23:29]OFD Sender: No OFD packet to send [02:23:34]OFD Sender: No OFD packet to send [02:23:39]OFD Sender: No OFD packet to send [02:23:44]OFD Sender: No OFD packet to send [02:23:49]OFD Sender: No OFD packet to send [02:23:54]OFD Sender: No OFD packet to send [02:23:59]OFD Sender: No OFD packet to send [02:24:04]OFD Sender: No OFD packet to send [02:24:09]OFD Sender: No OFD packet to send [02:24:14]OFD Sender: No OFD packet to send [02:24:19]OFD Sender: No OFD packet to send [02:24:24]OFD Sender: No OFD packet to send [02:24:29]OFD Sender: No OFD packet to send [02:24:34]OFD Sender: No OFD packet to send [02:24:39]OFD Sender: No OFD packet to send [02:24:44]OFD Sender: No OFD packet to send [02:24:49]OFD Sender: No OFD packet to send [02:24:54]OFD Sender: No OFD packet to send [02:24:59]OFD Sender: No OFD packet to send [02:25:04]OFD Sender: No OFD packet to send [02:25:09]OFD Sender: No OFD packet to send [02:25:14]OFD Sender: No OFD packet to send [02:25:19]OFD Sender: No OFD packet to send [02:25:24]OFD Sender: No OFD packet to send [02:25:29]OFD Sender: No OFD packet to send [02:25:34]OFD Sender: No OFD packet to send [02:25:39]OFD Sender: No OFD packet to send [02:25:44]OFD Sender: No OFD packet to send [02:25:49]OFD Sender: No OFD packet to send [02:25:54]OFD Sender: No OFD packet to send [02:25:59]OFD Sender: No OFD packet to send [02:26:04]OFD Sender: No OFD packet to send [02:26:09]OFD Sender: No OFD packet to send [02:26:14]OFD Sender: No OFD packet to send [02:26:19]OFD Sender: No OFD packet to send [02:26:24]OFD Sender: No OFD packet to send [02:26:29]OFD Sender: No OFD packet to send [02:26:34]OFD Sender: No OFD packet to send [02:26:39]OFD Sender: No OFD packet to send [02:26:44]OFD Sender: No OFD packet to send [02:26:49]OFD Sender: No OFD packet to send [02:26:54]OFD Sender: No OFD packet to send [02:26:59]OFD Sender: No OFD packet to send [02:27:04]OFD Sender: No OFD packet to send [02:27:09]OFD Sender: No OFD packet to send [02:27:14]OFD Sender: No OFD packet to send [02:27:19]OFD Sender: No OFD packet to send [02:27:24]OFD Sender: No OFD packet to send [02:27:29]OFD Sender: No OFD packet to send [02:27:34]OFD Sender: No OFD packet to send [02:27:39]OFD Sender: No OFD packet to send [02:27:44]OFD Sender: No OFD packet to send [02:27:49]OFD Sender: No OFD packet to send [02:27:54]OFD Sender: No OFD packet to send [02:27:59]OFD Sender: No OFD packet to send [02:28:04]OFD Sender: No OFD packet to send [02:28:09]OFD Sender: No OFD packet to send [02:28:14]OFD Sender: No OFD packet to send [02:28:19]OFD Sender: No OFD packet to send [02:28:24]OFD Sender: No OFD packet to send [02:28:29]OFD Sender: No OFD packet to send [02:28:34]OFD Sender: No OFD packet to send [02:28:39]OFD Sender: No OFD packet to send [02:28:44]OFD Sender: No OFD packet to send [02:28:49]OFD Sender: No OFD packet to send [02:28:54]OFD Sender: No OFD packet to send [02:28:59]OFD Sender: No OFD packet to send [02:29:04]OFD Sender: No OFD packet to send [02:29:09]OFD Sender: No OFD packet to send [02:29:14]OFD Sender: No OFD packet to send [02:29:19]OFD Sender: No OFD packet to send [02:29:24]OFD Sender: No OFD packet to send [02:29:29]OFD Sender: No OFD packet to send [02:29:34]OFD Sender: No OFD packet to send [02:29:39]OFD Sender: No OFD packet to send [02:29:44]OFD Sender: No OFD packet to send [02:29:49]OFD Sender: No OFD packet to send [02:29:54]OFD Sender: No OFD packet to send [02:29:59]OFD Sender: No OFD packet to send [02:30:04]OFD Sender: No OFD packet to send [02:30:09]OFD Sender: No OFD packet to send [02:30:14]OFD Sender: No OFD packet to send [02:30:19]OFD Sender: No OFD packet to send [02:30:24]OFD Sender: No OFD packet to send [02:30:29]OFD Sender: No OFD packet to send [02:30:34]OFD Sender: No OFD packet to send [02:30:39]OFD Sender: No OFD packet to send [02:30:44]OFD Sender: No OFD packet to send [02:30:49]OFD Sender: No OFD packet to send [02:30:54]OFD Sender: No OFD packet to send [02:30:59]OFD Sender: No OFD packet to send [02:31:04]OFD Sender: No OFD packet to send [02:31:09]OFD Sender: No OFD packet to send [02:31:14]OFD Sender: No OFD packet to send [02:31:19]OFD Sender: No OFD packet to send [02:31:24]OFD Sender: No OFD packet to send [02:31:29]OFD Sender: No OFD packet to send [02:31:34]OFD Sender: No OFD packet to send [02:31:39]OFD Sender: No OFD packet to send [02:31:44]OFD Sender: No OFD packet to send [02:31:49]OFD Sender: No OFD packet to send [02:31:54]OFD Sender: No OFD packet to send [02:31:59]OFD Sender: No OFD packet to send [02:32:04]OFD Sender: No OFD packet to send [02:32:09]OFD Sender: No OFD packet to send [02:32:14]OFD Sender: No OFD packet to send [02:32:19]OFD Sender: No OFD packet to send [02:32:24]OFD Sender: No OFD packet to send [02:32:29]OFD Sender: No OFD packet to send [02:32:34]OFD Sender: No OFD packet to send [02:32:39]OFD Sender: No OFD packet to send [02:32:44]OFD Sender: No OFD packet to send [02:32:49]OFD Sender: No OFD packet to send [02:32:54]OFD Sender: No OFD packet to send [02:32:59]OFD Sender: No OFD packet to send [02:33:04]OFD Sender: No OFD packet to send [02:33:09]OFD Sender: No OFD packet to send [02:33:14]OFD Sender: No OFD packet to send [02:33:19]OFD Sender: No OFD packet to send [02:33:24]OFD Sender: No OFD packet to send [02:33:29]OFD Sender: No OFD packet to send [02:33:34]OFD Sender: No OFD packet to send [02:33:39]OFD Sender: No OFD packet to send [02:33:44]OFD Sender: No OFD packet to send [02:33:49]OFD Sender: No OFD packet to send [02:33:55]OFD Sender: No OFD packet to send [02:34:00]OFD Sender: No OFD packet to send [02:34:05]OFD Sender: No OFD packet to send [02:34:10]OFD Sender: No OFD packet to send [02:34:15]OFD Sender: No OFD packet to send [02:34:20]OFD Sender: No OFD packet to send [02:34:25]OFD Sender: No OFD packet to send [02:34:30]OFD Sender: No OFD packet to send [02:34:35]OFD Sender: No OFD packet to send [02:34:40]OFD Sender: No OFD packet to send [02:34:45]OFD Sender: No OFD packet to send [02:34:50]OFD Sender: No OFD packet to send [02:34:55]OFD Sender: No OFD packet to send [02:35:00]OFD Sender: No OFD packet to send [02:35:05]OFD Sender: No OFD packet to send [02:35:10]OFD Sender: No OFD packet to send [02:35:15]OFD Sender: No OFD packet to send [02:35:20]OFD Sender: No OFD packet to send [02:35:25]OFD Sender: No OFD packet to send [02:35:30]OFD Sender: No OFD packet to send [02:35:35]OFD Sender: No OFD packet to send [02:35:40]OFD Sender: No OFD packet to send [02:35:45]OFD Sender: No OFD packet to send [02:35:50]OFD Sender: No OFD packet to send [02:35:55]OFD Sender: No OFD packet to send [02:36:00]OFD Sender: No OFD packet to send [02:36:05]OFD Sender: No OFD packet to send [02:36:10]OFD Sender: No OFD packet to send [02:36:15]OFD Sender: No OFD packet to send [02:36:20]OFD Sender: No OFD packet to send [02:36:25]OFD Sender: No OFD packet to send [02:36:30]OFD Sender: No OFD packet to send [02:36:35]OFD Sender: No OFD packet to send [02:36:40]OFD Sender: No OFD packet to send [02:36:45]OFD Sender: No OFD packet to send [02:36:50]OFD Sender: No OFD packet to send [02:36:55]OFD Sender: No OFD packet to send [02:37:00]OFD Sender: No OFD packet to send [02:37:05]OFD Sender: No OFD packet to send [02:37:10]OFD Sender: No OFD packet to send [02:37:15]OFD Sender: No OFD packet to send [02:37:20]OFD Sender: No OFD packet to send [02:37:25]OFD Sender: No OFD packet to send [02:37:30]OFD Sender: No OFD packet to send [02:37:35]OFD Sender: No OFD packet to send [02:37:40]OFD Sender: No OFD packet to send [02:37:45]OFD Sender: No OFD packet to send [02:37:50]OFD Sender: No OFD packet to send [02:37:55]OFD Sender: No OFD packet to send [02:38:00]OFD Sender: No OFD packet to send [02:38:05]OFD Sender: No OFD packet to send [02:38:10]OFD Sender: No OFD packet to send [02:38:15]OFD Sender: No OFD packet to send [02:38:20]OFD Sender: No OFD packet to send [02:38:25]OFD Sender: No OFD packet to send [02:38:30]OFD Sender: No OFD packet to send [02:38:35]OFD Sender: No OFD packet to send [02:38:40]OFD Sender: No OFD packet to send [02:38:45]OFD Sender: No OFD packet to send [02:38:50]OFD Sender: No OFD packet to send [02:38:55]OFD Sender: No OFD packet to send [02:39:00]OFD Sender: No OFD packet to send [02:39:05]OFD Sender: No OFD packet to send [02:39:10]OFD Sender: No OFD packet to send [02:39:15]OFD Sender: No OFD packet to send [02:39:20]OFD Sender: No OFD packet to send [02:39:25]OFD Sender: No OFD packet to send [02:39:30]OFD Sender: No OFD packet to send [02:39:35]OFD Sender: No OFD packet to send [02:39:40]OFD Sender: No OFD packet to send [02:39:45]OFD Sender: No OFD packet to send [02:39:50]OFD Sender: No OFD packet to send [02:39:55]OFD Sender: No OFD packet to send [02:40:00]OFD Sender: No OFD packet to send [02:40:05]OFD Sender: No OFD packet to send [02:40:10]OFD Sender: No OFD packet to send [02:40:15]OFD Sender: No OFD packet to send [02:40:20]OFD Sender: No OFD packet to send [02:40:25]OFD Sender: No OFD packet to send [02:40:30]OFD Sender: No OFD packet to send [02:40:35]OFD Sender: No OFD packet to send [02:40:40]OFD Sender: No OFD packet to send [02:40:45]OFD Sender: No OFD packet to send [02:40:50]OFD Sender: No OFD packet to send [02:40:55]OFD Sender: No OFD packet to send [02:41:00]OFD Sender: No OFD packet to send [02:41:05]OFD Sender: No OFD packet to send [02:41:10]OFD Sender: No OFD packet to send [02:41:15]OFD Sender: No OFD packet to send [02:41:20]OFD Sender: No OFD packet to send [02:41:25]OFD Sender: No OFD packet to send [02:41:30]OFD Sender: No OFD packet to send [02:41:35]OFD Sender: No OFD packet to send [02:41:40]OFD Sender: No OFD packet to send [02:41:45]OFD Sender: No OFD packet to send [02:41:50]OFD Sender: No OFD packet to send [02:41:55]OFD Sender: No OFD packet to send [02:42:00]OFD Sender: No OFD packet to send [02:42:05]OFD Sender: No OFD packet to send [02:42:10]OFD Sender: No OFD packet to send [02:42:15]OFD Sender: No OFD packet to send [02:42:20]OFD Sender: No OFD packet to send [02:42:25]OFD Sender: No OFD packet to send [02:42:30]OFD Sender: No OFD packet to send [02:42:35]OFD Sender: No OFD packet to send [02:42:40]OFD Sender: No OFD packet to send [02:42:45]OFD Sender: No OFD packet to send [02:42:50]OFD Sender: No OFD packet to send [02:42:55]OFD Sender: No OFD packet to send [02:43:00]OFD Sender: No OFD packet to send [02:43:05]OFD Sender: No OFD packet to send [02:43:10]OFD Sender: No OFD packet to send [02:43:15]OFD Sender: No OFD packet to send [02:43:20]OFD Sender: No OFD packet to send [02:43:25]OFD Sender: No OFD packet to send [02:43:30]OFD Sender: No OFD packet to send [02:43:35]OFD Sender: No OFD packet to send [02:43:40]OFD Sender: No OFD packet to send [02:43:45]OFD Sender: No OFD packet to send [02:43:50]OFD Sender: No OFD packet to send [02:43:55]OFD Sender: No OFD packet to send [02:44:00]OFD Sender: No OFD packet to send [02:44:05]OFD Sender: No OFD packet to send [02:44:10]OFD Sender: No OFD packet to send [02:44:15]OFD Sender: No OFD packet to send [02:44:20]OFD Sender: No OFD packet to send [02:44:25]OFD Sender: No OFD packet to send [02:44:30]OFD Sender: No OFD packet to send [02:44:35]OFD Sender: No OFD packet to send [02:44:40]OFD Sender: No OFD packet to send [02:44:45]OFD Sender: No OFD packet to send [02:44:50]OFD Sender: No OFD packet to send [02:44:55]OFD Sender: No OFD packet to send [02:45:00]OFD Sender: No OFD packet to send [02:45:05]OFD Sender: No OFD packet to send [02:45:10]OFD Sender: No OFD packet to send [02:45:15]OFD Sender: No OFD packet to send [02:45:20]OFD Sender: No OFD packet to send [02:45:25]OFD Sender: No OFD packet to send [02:45:30]OFD Sender: No OFD packet to send [02:45:35]OFD Sender: No OFD packet to send [02:45:40]OFD Sender: No OFD packet to send [02:45:45]OFD Sender: No OFD packet to send [02:45:50]OFD Sender: No OFD packet to send [02:45:55]OFD Sender: No OFD packet to send [02:46:00]OFD Sender: No OFD packet to send [02:46:05]OFD Sender: No OFD packet to send [02:46:10]OFD Sender: No OFD packet to send [02:46:15]OFD Sender: No OFD packet to send [02:46:20]OFD Sender: No OFD packet to send [02:46:25]OFD Sender: No OFD packet to send [02:46:30]OFD Sender: No OFD packet to send [02:46:35]OFD Sender: No OFD packet to send [02:46:40]OFD Sender: No OFD packet to send [02:46:45]OFD Sender: No OFD packet to send [02:46:50]OFD Sender: No OFD packet to send [02:46:55]OFD Sender: No OFD packet to send [02:47:00]OFD Sender: No OFD packet to send [02:47:05]OFD Sender: No OFD packet to send [02:47:10]OFD Sender: No OFD packet to send [02:47:15]OFD Sender: No OFD packet to send [02:47:20]OFD Sender: No OFD packet to send [02:47:25]OFD Sender: No OFD packet to send [02:47:30]OFD Sender: No OFD packet to send [02:47:35]OFD Sender: No OFD packet to send [02:47:40]OFD Sender: No OFD packet to send [02:47:45]OFD Sender: No OFD packet to send [02:47:50]OFD Sender: No OFD packet to send [02:47:55]OFD Sender: No OFD packet to send [02:48:00]OFD Sender: No OFD packet to send [02:48:05]OFD Sender: No OFD packet to send [02:48:10]OFD Sender: No OFD packet to send [02:48:15]OFD Sender: No OFD packet to send [02:48:20]OFD Sender: No OFD packet to send [02:48:25]OFD Sender: No OFD packet to send [02:48:30]OFD Sender: No OFD packet to send [02:48:35]OFD Sender: No OFD packet to send [02:48:40]OFD Sender: No OFD packet to send [02:48:45]OFD Sender: No OFD packet to send [02:48:50]OFD Sender: No OFD packet to send [02:48:55]OFD Sender: No OFD packet to send [02:49:00]OFD Sender: No OFD packet to send [02:49:05]OFD Sender: No OFD packet to send [02:49:10]OFD Sender: No OFD packet to send [02:49:15]OFD Sender: No OFD packet to send [02:49:20]OFD Sender: No OFD packet to send [02:49:25]OFD Sender: No OFD packet to send [02:49:30]OFD Sender: No OFD packet to send [02:49:35]OFD Sender: No OFD packet to send [02:49:40]OFD Sender: No OFD packet to send [02:49:45]OFD Sender: No OFD packet to send [02:49:50]OFD Sender: No OFD packet to send [02:49:55]OFD Sender: No OFD packet to send [02:50:00]OFD Sender: No OFD packet to send [02:50:05]OFD Sender: No OFD packet to send [02:50:10]OFD Sender: No OFD packet to send [02:50:15]OFD Sender: No OFD packet to send [02:50:20]OFD Sender: No OFD packet to send [02:50:25]OFD Sender: No OFD packet to send [02:50:30]OFD Sender: No OFD packet to send [02:50:35]OFD Sender: No OFD packet to send [02:50:40]OFD Sender: No OFD packet to send [02:50:45]OFD Sender: No OFD packet to send [02:50:50]OFD Sender: No OFD packet to send [02:50:55]OFD Sender: No OFD packet to send [02:51:00]OFD Sender: No OFD packet to send [02:51:05]OFD Sender: No OFD packet to send [02:51:10]OFD Sender: No OFD packet to send [02:51:15]OFD Sender: No OFD packet to send [02:51:20]OFD Sender: No OFD packet to send [02:51:25]OFD Sender: No OFD packet to send [02:51:30]OFD Sender: No OFD packet to send [02:51:35]OFD Sender: No OFD packet to send [02:51:40]OFD Sender: No OFD packet to send [02:51:45]OFD Sender: No OFD packet to send [02:51:50]OFD Sender: No OFD packet to send [02:51:55]OFD Sender: No OFD packet to send [02:52:00]OFD Sender: No OFD packet to send [02:52:05]OFD Sender: No OFD packet to send [02:52:10]OFD Sender: No OFD packet to send [02:52:15]OFD Sender: No OFD packet to send [02:52:20]OFD Sender: No OFD packet to send [02:52:25]OFD Sender: No OFD packet to send [02:52:30]OFD Sender: No OFD packet to send [02:52:35]OFD Sender: No OFD packet to send [02:52:40]OFD Sender: No OFD packet to send [02:52:45]OFD Sender: No OFD packet to send [02:52:50]OFD Sender: No OFD packet to send [02:52:55]OFD Sender: No OFD packet to send [02:53:00]OFD Sender: No OFD packet to send [02:53:05]OFD Sender: No OFD packet to send [02:53:10]OFD Sender: No OFD packet to send [02:53:15]OFD Sender: No OFD packet to send [02:53:20]OFD Sender: No OFD packet to send [02:53:25]OFD Sender: No OFD packet to send [02:53:30]OFD Sender: No OFD packet to send [02:53:35]OFD Sender: No OFD packet to send [02:53:40]OFD Sender: No OFD packet to send [02:53:45]OFD Sender: No OFD packet to send [02:53:50]OFD Sender: No OFD packet to send [02:53:55]OFD Sender: No OFD packet to send [02:54:00]OFD Sender: No OFD packet to send [02:54:05]OFD Sender: No OFD packet to send [02:54:10]OFD Sender: No OFD packet to send [02:54:15]OFD Sender: No OFD packet to send [02:54:20]OFD Sender: No OFD packet to send [02:54:25]OFD Sender: No OFD packet to send [02:54:30]OFD Sender: No OFD packet to send [02:54:35]OFD Sender: No OFD packet to send [02:54:40]OFD Sender: No OFD packet to send [02:54:45]OFD Sender: No OFD packet to send [02:54:50]OFD Sender: No OFD packet to send [02:54:55]OFD Sender: No OFD packet to send [02:55:00]OFD Sender: No OFD packet to send [02:55:05]OFD Sender: No OFD packet to send [02:55:10]OFD Sender: No OFD packet to send [02:55:15]OFD Sender: No OFD packet to send [02:55:20]OFD Sender: No OFD packet to send [02:55:26]OFD Sender: No OFD packet to send [02:55:31]OFD Sender: No OFD packet to send [02:55:36]OFD Sender: No OFD packet to send [02:55:41]OFD Sender: No OFD packet to send [02:55:46]OFD Sender: No OFD packet to send [02:55:51]OFD Sender: No OFD packet to send [02:55:56]OFD Sender: No OFD packet to send [02:56:01]OFD Sender: No OFD packet to send [02:56:06]OFD Sender: No OFD packet to send [02:56:11]OFD Sender: No OFD packet to send [02:56:16]OFD Sender: No OFD packet to send [02:56:21]OFD Sender: No OFD packet to send [02:56:26]OFD Sender: No OFD packet to send [02:56:31]OFD Sender: No OFD packet to send [02:56:36]OFD Sender: No OFD packet to send [02:56:41]OFD Sender: No OFD packet to send [02:56:46]OFD Sender: No OFD packet to send [02:56:51]OFD Sender: No OFD packet to send [02:56:56]OFD Sender: No OFD packet to send [02:57:01]OFD Sender: No OFD packet to send [02:57:06]OFD Sender: No OFD packet to send [02:57:11]OFD Sender: No OFD packet to send [02:57:16]OFD Sender: No OFD packet to send [02:57:21]OFD Sender: No OFD packet to send [02:57:26]OFD Sender: No OFD packet to send [02:57:31]OFD Sender: No OFD packet to send [02:57:36]OFD Sender: No OFD packet to send [02:57:41]OFD Sender: No OFD packet to send [02:57:46]OFD Sender: No OFD packet to send [02:57:51]OFD Sender: No OFD packet to send [02:57:56]OFD Sender: No OFD packet to send [02:58:01]OFD Sender: No OFD packet to send [02:58:06]OFD Sender: No OFD packet to send [02:58:11]OFD Sender: No OFD packet to send